Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
175 commits
Select commit Hold shift + click to select a range
4835a25
Added README.md file
aryandas2911 Jan 11, 2026
46cf732
Update npm start command to npm run dev
aryandas2911 May 10, 2026
a504408
Updated README.md
aryandas2911 May 10, 2026
c115758
Merge branch 'main' of https://github.com/aryandas2911/DailyForge-MER…
aryandas2911 May 10, 2026
739ee37
Updated README.md
aryandas2911 May 10, 2026
2acfd93
CONTRIBUTING.md added
aryandas2911 May 10, 2026
3e3235a
Updated CONTRIBUTING.md
aryandas2911 May 10, 2026
935ed05
Updated README.md and CONTRIBUTING.md
aryandas2911 May 10, 2026
448a2c8
Added pull request template
aryandas2911 May 10, 2026
08caa63
Added CI Checks
aryandas2911 May 10, 2026
2753d78
Linting enabled
aryandas2911 May 10, 2026
6c67d49
CI pipeline optimized
aryandas2911 May 10, 2026
ca71421
Updated ci.yml
aryandas2911 May 10, 2026
5baa3c4
Fixed backend linting errors
aryandas2911 May 10, 2026
531929d
Frontend linting errors fixed
aryandas2911 May 10, 2026
343355b
Backend linting error fixed
aryandas2911 May 10, 2026
c8e6609
Added LICENSE.md file
aryandas2911 May 12, 2026
63ce5de
fix: resolve missing key prop warning in Dashboard (#35)
rajat552 May 15, 2026
1b9b677
fix: remove redundant useTasks call in TaskPreview (#47)
AdityaSekharDas May 15, 2026
0a83b27
docs: add security policy (#187)
KGFCH2 May 15, 2026
8f84db2
docs: add localhost CORS setup instructions (#165)
Ankit9997verma May 15, 2026
759a3c8
docs: add standardized JSDoc comments for all utility functions in fr…
Harish-SS56 May 15, 2026
a800e66
fix: add JWT expiration to prevent non-expiring tokens (#125)
Pratikshya32 May 15, 2026
1079620
fix: raise axios timeout and add user-friendly timeout error message …
Ishta-P-Jain May 15, 2026
8dcbd0c
feat: added optional description field to routines #62 (#104)
shreeiya17 May 15, 2026
a932e9f
Changed id error
aryandas2911 May 15, 2026
59916e0
fix: add logout confirmation dialog (#114)
amna-sehgal May 15, 2026
59005d9
Refactor frontend and backend environment configuration (#116)
Harshit-collab104 May 15, 2026
a3061a7
feat: add character counter to task description (#117)
Carol-here May 15, 2026
6e08542
fix: remove static updatedAt default in Routine model (#128)
abhinav-atul May 15, 2026
2be5e75
UI: Improve dashboard layout, spacing, and card consistency (#132)
rajat552 May 15, 2026
88066fd
refactor: extract overlap detection into utility function (#129)
karthikeya20012007 May 15, 2026
5e2e71c
issue fix: display task count in TaskLibrary header (#124)
adrish-mage May 15, 2026
c345e2b
fix: replace hardcoded weekly completion percentage with dynamic calc…
atulharshvardhan2006 May 15, 2026
e514a90
Feature: Added Task Timers and Current Time Display (#173)
Mradul-0605 May 15, 2026
06588ae
feat: add show password toggle to auth pages (#169)
Vaishnav-Hub9 May 15, 2026
2293929
feat: add EmptyState component with SVG illustrations (#80) (#164)
aaniya22 May 15, 2026
7e601d3
Fix upcoming deadlines (#64)
Rinika-Codes May 15, 2026
acf8a54
feat: add responsive mobile sidebar for navbar (#181)
KGFCH2 May 16, 2026
8c906a1
fix: add loading state handling to Signup form to prevent duplicate r…
ikshantshukla123 May 16, 2026
29d9206
fix db startup failure handling (#167)
saurabhhhcodes May 16, 2026
e813cf2
fix: prevent duplicate controller responses (#161)
jamunatg2006-sys May 16, 2026
9efa4fa
fix: add input sanitization to prevent stored XSS on task fields (#147)
Swaroop883 May 16, 2026
c0848b8
fix: return 401 for invalid jwt verification (#166)
Devexhhh May 16, 2026
ecf3ddc
Fix: dashboard hardcoded greeting (#162)
aditi25bce10868-blip May 16, 2026
2ba2305
enable keyboard navigation (#199)
shubh-gitpush May 16, 2026
655d384
Feature/bulk delete tasks (#294)
adrish-mage May 16, 2026
4c060be
Add authenticated navigation links with active route styling (#115)
surjeetkumar8006 May 16, 2026
888ae4d
Updated package.json
aryandas2911 May 16, 2026
37bc05a
Fix: add localhost fallback for CORS origin (#172)
yash-singh12 May 16, 2026
08e3c78
fix: reorder null check to prevent crash when items is undefined (#157)
Oggy441 May 16, 2026
abb2001
fix: return unauthorized for invalid token (#342)
jamunatg2006-sys May 16, 2026
062e3d2
feat: add about page with feature highlights (#323)
Lehana02 May 16, 2026
9603e30
fix: add 404 page for unknown routes (#387)
shivaanshii May 16, 2026
8b8568f
fix: use dueDate instead of createdAt in dashboard today and week fil…
vijaya0614 May 16, 2026
02d4df6
enhancement:add visual task categories and filtering (#330)
CodeSrushti-3105 May 16, 2026
4711f0a
style:add favicon (#310)
Raga1045 May 16, 2026
efd04d8
Showing logging error in UI (#370)
Jahaan-Boy May 16, 2026
4c21e82
fix: add validation for unrealistic future task dates (#451)
riddhisharma7905 May 16, 2026
ff73190
feat: improve due date picker UX with auto-open on click (#347)
Ushnika09 May 16, 2026
0a79021
feat: add delete button to remove scheduled tasks from weekly grid (#…
Hiteshree-Chauhan-it May 16, 2026
84f047a
Fix/task delete functionality (#293)
shshidhar18 May 16, 2026
d1252de
Implement premium dark mode toggle and theme persistence (#466)
rajat552 May 17, 2026
08b080a
Bug: Dashboard UI Not Updating After Completing Task #344 (#461)
pratyuxxhh May 17, 2026
aa6548e
fix-signup-validation (#212)
Harkiratcodess May 17, 2026
5c2fd48
feat: add scroll to top button (#248)
Subhash21022 May 17, 2026
4e3d464
Add motivational quotes to dashboard greeting (#366)
Shruti627 May 17, 2026
ec7a59b
feat: add responsive global footer section (#262)
ayush-bhatt-07 May 17, 2026
d976183
feat: Implement global React Error Boundary (#377) (#467)
surjeetkumar8006 May 17, 2026
b24d0b8
Fix: Replace non-semantic navigation with accessible Link components …
bhumishah2411 May 17, 2026
e12c598
fix: improve drag overlay behavior in routine builder (#452)
KrithikaVellingiri May 17, 2026
fbe8bd8
fix:API-CONSISTENCY (#513)
HarshaNaidu11 May 17, 2026
8911296
Fix: show duplicate signup error message in UI and duplicate task err…
Aditya-br May 18, 2026
28b429c
Fix: update UI colors and empty state styling (#605)
sambhavi0 May 18, 2026
99be6b5
fix: add missing SEO and OG meta tags to index.html (#654)
RUSHILPATEL33 May 18, 2026
61fe9cc
fix: remove duplicate password field and add confirm password validat…
saniya196 May 18, 2026
399abb4
Fix task description character limit mismatch (#429)
vipulreddyvemula May 18, 2026
c1fccdf
fix: add missing returns in controller (#402)
yuvraj-k-singh May 18, 2026
1845701
fix(auth): migrate from localStorage to HttpOnly cookies to prevent X…
isauravanand May 19, 2026
9e08c06
fix: show dynamic label on 404 page button based on auth state (#733)
Codewithpabitra May 19, 2026
2e6f0b0
Updated package_lock json
aryandas2911 May 19, 2026
7725e6e
feat: add duplicate routine action (#686)
Yash17705 May 19, 2026
b61f894
fix: refresh dashboard stats instantly after task completion (#672)
Bheemeswari497 May 19, 2026
1f010b4
fix(backend): add missing required validation to taskId in Routine sc…
shabnam311 May 19, 2026
2025158
Improve mobile responsiveness of weekly schedule (#649)
aayushirajesh May 19, 2026
2495ce8
Feat: add interactive saved routine lifecycle and dashboard integrati…
KrithikaVellingiri May 19, 2026
97cbfe6
fix: handle protected footer navigation (#753)
gitsofyash May 19, 2026
9862e20
fix: add accessible name to footer GitHub link (#755)
gitsofyash May 19, 2026
d63bdc3
UI fix: Upgrade dashboard CTA buttons with consistent styling and hov…
Himanshujha7 May 19, 2026
ffb64d0
Fix: modal scroll behavior (#711)
KrithikaVellingiri May 19, 2026
cef019c
fix(ui): use navigator.language instead of hardcoded en-IN locale in …
shabnam311 May 19, 2026
d75243c
Fix tasks page responsive layout and visual consistency (#659)
imuniqueshiv May 19, 2026
c3809c8
Fix/route controller (#789)
HarshaNaidu11 May 20, 2026
947889a
fix: add rate limiting to auth routes (#774)
anmolsah May 20, 2026
c0d8911
docs: improve README documentation (#773)
Hima451 May 20, 2026
38ac94b
Feature/task completion timer (#247)
Anubha0308 May 20, 2026
5c45236
feat: add user profile management feature (#241)
SAYALI8106 May 20, 2026
f96afd9
feat: add manual refresh button for saved routines (#250)
varsh00l May 20, 2026
1cd8ef5
Fix task creation and instant task list updates (#710)
sambhavi0 May 20, 2026
57715b2
Fix/update routine duration validation (#336)
SATYAM-PRATIBHAN May 20, 2026
ec356ed
feat: add predefined tag selector with Other input and normalize tag …
aryanpatil-07 May 20, 2026
b4d382e
fix: nextTask now respects active category filters in Tasks page (#642)
Priyanshi-untitled May 20, 2026
d9b6827
fix: conditionally apply min date constraint only on task creation no…
Priyanshi-untitled May 20, 2026
5a14967
fix(tasks): remove orphaned routine references after bulk delete (#551)
CyraTechZenith May 20, 2026
4574886
fix: prevent duplicate routine names with backend validation and fron…
shauryavardhan1307 May 20, 2026
3330444
fix: prevent routine task toggle from sending invalid task IDs (#831)
Soujanya-Mctrl May 20, 2026
5983861
Add CODE_OF_CONDUCT.md (#844)
faizakhtar-000 May 20, 2026
3a8c7ff
[BUG] Weekly grid schedule delete uses wrong day argument (#842)
Aditya8369 May 20, 2026
00462df
feat(auth): add Google Sign-In using Firebase (#832)
mohanteja781112 May 20, 2026
32c8012
fix: correct password visibility toggle icon behavior (#847)
nishitha011 May 20, 2026
5d0b4d6
fix: validate duedate before task creation (#667)
RadadiyaBrij May 20, 2026
b2c1a32
Update README.md (#395)
ityaaaa May 20, 2026
1990411
fix: remove items-center from main layout to prevent vertical centeri…
Codewithpabitra May 20, 2026
9d388bf
Feature/task due time (#754)
kaviyaa2511 May 20, 2026
f68b265
ui: improve the logout modal which pops up after clicking logout butt…
Codewithpabitra May 20, 2026
5636e74
feat: update global font to Outfit (#836)
Abhishek2005-ard May 21, 2026
aee1026
fix: improve JWT authentication error handling (#328)
PriyanAcharya May 21, 2026
7f8cd2a
Fix route validation and error handling in routineRouter (#465)
ANSHIKATYAGI30 May 21, 2026
c662731
fix: resolve Trash2 undefined runtime error (#590)
Madhanika-04 May 21, 2026
f8a606f
fix: return user object on signup/login to prevent me route failures …
shabnam311 May 21, 2026
87fffd2
improve and consolidate troubleshooting section (#878)
vaishnavi12075 May 21, 2026
ec7ec0d
style: enhance login and signup UI (#897)
priyansh00soni May 21, 2026
9250f2e
feat: add bulk edit priority and due date for selected tasks (#923)
adrish-mage May 22, 2026
fef9ddd
feat: Add Routine Analytics & Insights Dashboard (#865) (#917)
surjeetkumar8006 May 22, 2026
149c085
fix(auth): completely clear localStorage on logout to prevent data le…
shabnam311 May 22, 2026
e5f5820
fix(dashboard): fix negative countdown display for overdue tasks (#893)
shabnam311 May 22, 2026
b0d3320
Improve UI/UX and consistency across all routine routes (#978)
Abhishek2005-ard May 22, 2026
8821648
[SECURITY] Harden JWT cookie/session security (#884)
Aditya8369 May 22, 2026
6839db7
fix: remove duplicate TaskLibrary render in RoutineBuilder (#989)
Kavyan2804 May 22, 2026
9a97fe5
fix: add JWT_SECRET validation and improve token error handling (#876)
tharunika-19 May 22, 2026
d7a1200
feat: add export routine as PNG functionality (#872)
Abhishek2005-ard May 22, 2026
ba865db
fix(backend): run overlap check on duplicateRoutine without targetDay…
shabnam311 May 22, 2026
4992722
fix(ui): correct invalid SVG prop strokeLinedasharray to strokeDashar…
shabnam311 May 22, 2026
cd21a1c
feat: Add onboarding flow for first-time users #748 (#803)
shivani6420 May 22, 2026
6078b0c
Fix/navbar active state(login,signup) (#810)
ckprojects77 May 22, 2026
3387890
fix(tasks): preserve task status on edit to prevent reset (#886)
shabnam311 May 22, 2026
e9ef0ad
fix: replace hardcoded URLs with env variables, add .env.example file…
tharunika-19 May 22, 2026
e79bf35
accessibility(ui): add aria attributes to mobile menu and routine opt…
shabnam311 May 22, 2026
e3fe59b
fix: add 50 character limit on task title input with character counte…
RuntimeTerror001 May 22, 2026
48c7b9a
Stop propagation on duplicate button click (#920)
Rishabhjain610 May 22, 2026
13b5941
optimize: split frontend and backend CI tasks into parallel jobs (#1036)
nivedha2025cse-gif May 25, 2026
b9d101e
fix: unwanted y-axis scroll removed from Task Form Modal (#1102)
Ayontikapal May 25, 2026
9311de3
feat(dashboard): add productivity contribution heatmap (#935)
mohanteja781112 May 25, 2026
c0fd970
Feature/login dashboard ani (#918)
Subhash21022 May 25, 2026
a2b9fb4
feat: add interactive dashboard profile avatar preview (#1136)
Mradul-0605 May 25, 2026
62e9632
docs : update README (#447)
RehanAhmad25 May 25, 2026
e00898f
Implement Google Calendar Sync for DailyForge Routines Using Google I…
Abhishek2005-ard May 25, 2026
363a7b2
bug(frontend): filterTasksByDate should use dueDate not createdAt (#1…
Rudrasamadhiya May 25, 2026
0af7908
fix(auth): verify Firebase ID tokens securely (#924)
ionfwsrijan May 28, 2026
630bada
feat: Two-Factor Authentication (2FA) (#944)
aaniya22 May 28, 2026
229eff7
Fix auth cookie SameSite for deployed login (#1047)
Anubha0308 May 28, 2026
b635b64
Added Notes feature in Tasks section and enhanced some UI in Tasks (#…
SathvikaTalari May 28, 2026
3b927c5
fix(api): return 200 for empty task and routine lists (#648)
mayurigade-hub May 28, 2026
6327156
feat: Added separate due date and due time on TaskFormModal (#1183)
Ayontikapal May 28, 2026
c581188
fix: add route-level ErrorBoundaries for /dashboard, /tasks, /routine…
adrish-mage May 28, 2026
3feae6e
Fix routine save/duplicate flow and backend validation (#1239)
manishworkss May 28, 2026
ee86cc2
Add responsive navbar styles to index.html (#1216)
Dippp10-ally May 28, 2026
3f5f746
fix: parse startTime and duration as numbers to prevent string concat…
Midoriya-w May 28, 2026
654dadf
feat: add search functionality to tasks page (#1184)
bhumishah2411 May 28, 2026
50ca3b2
Fix routine validation to check items presence (#1250)
Midoriya-w May 28, 2026
aec235e
Fix/update routine whitelist (#1251)
Midoriya-w May 28, 2026
7d36182
Actual-duration modal TextColor change (#1064)
Anubha0308 May 28, 2026
3f5f1f8
Added adaptive habit difficulty and burnout prevention system (#1054)
suryansh24-coder May 28, 2026
fd7d566
feat: add task pagination (#515)
Divv1524 May 29, 2026
2702c78
Remove Duplicate Troubleshooting Section from README (#1038)
vaishnavi12075 May 29, 2026
e43d06e
feat : same task add on multiple button click (#1254)
Prashant-kumar-8312 May 29, 2026
c35f519
chore: Add .editorconfig for consistent coding styles (#1268)
Ashvin-KS May 29, 2026
b4e0bd4
Fix issue #1129
G-venkateswarlu May 30, 2026
26760d0
Remove sensitive console log statements
G-venkateswarlu May 31, 2026
ed93957
Merge branch 'main' into fix-issue-1129
G-venkateswarlu May 31, 2026
13c781f
Merge branch 'main' into fix-issue-1129
G-venkateswarlu Jun 4, 2026
b169e38
Merge branch 'main' into fix-issue-1129
G-venkateswarlu Jun 8, 2026
05e3a20
Merge branch 'main' into fix-issue-1129
aryandas2911 Jun 9, 2026
42dba44
Merge branch 'main' into fix-issue-1129
G-venkateswarlu Jun 19, 2026
7f0bffe
Delete backend/package-lock.json
G-venkateswarlu Jun 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions backend/middlewares/authMiddleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@ const JWT_ALGORITHM = process.env.JWT_ALGORITHM || 'HS256';

export const authMiddleware = (req, res, next) => {
// access the token from cookies
let token = req.cookies?.token;

const authHeader = req.headers.authorization;

if (!token && authHeader?.startsWith('Bearer ')) {
token = authHeader.split(' ')[1];
}

const token = req.cookies?.token;
if (!token) {
return res
.status(401)
Expand All @@ -29,8 +22,6 @@ if (!token && authHeader?.startsWith('Bearer ')) {

try {
// verify token using jwt key


const verify = jwt.verify(token, process.env.JWT_SECRET, {
algorithms: [JWT_ALGORITHM],
});
Expand Down
Loading