Commit graph

216 commits

Author SHA1 Message Date
Chris
01ba863372
Prevent duplicate generation (#560) 2025-11-17 22:22:59 +02:00
Chris
2a1769bd72
Fix smart view pagination (#557)
* Add pagination to smart views

* fixup! Add pagination to smart views

* fixup! fixup! Add pagination to smart views

* fixup! fixup! fixup! Add pagination to smart views
2025-11-17 18:39:14 +02:00
Chris
9e3b389d42
Fix cyrillic search (#556)
* Fix cyrillic alphabet search case sensitive

* fixup! Fix cyrillic alphabet search case sensitive
2025-11-17 17:32:41 +02:00
Chris Veleris
1848abd113 Add tests for subtask handling 2025-11-17 13:11:28 +02:00
Chris Veleris
c90be27b4a Add tests for subtask handling 2025-11-17 13:09:56 +02:00
Chris
61ef6d7ac0
Add migration to fix subtasκ  ordering (#554)
* Add migration to fix subtasκ  ordering

* Fix test issues
2025-11-17 12:09:31 +02:00
Chris
ff304f53d5
Use commonJS version of nanoid (#551) 2025-11-16 23:03:30 +02:00
Chris
673a6a56ee
Fix static base path (#549) 2025-11-16 22:43:06 +02:00
Chris
b0041bafe1
Fix today recurring missing (#548)
* Expose today task from a recurring series

* fixup! Expose today task from a recurring series

* fixup! fixup! Expose today task from a recurring series
2025-11-16 18:00:39 +02:00
Chris
b6748aa0d7
Fix subtasks copy (#546) 2025-11-15 22:00:18 +02:00
Chris
6fb87ac80a
Feat refactor tasks pt1 (#536)
* Refactor swagger docs

* Scaffold refactor

* Refactor crud tasks

* fixup! Refactor crud tasks

* Break down task layout

* fixup! Break down task layout

* fixup! fixup! Break down task layout

* Cleanup comments

* fixup! Cleanup comments

* Cleanup obsolete code

* Remove helpers
2025-11-15 14:02:06 +02:00
Chris
ce14fbb517
Fix migrations listTables failing (#537) 2025-11-14 06:49:16 +02:00
Jean Bispo
a02ae8f850
Docs/api swagger (#505)
* fix: error in script beacause env absence

* feat: add swagger json and api docs

* feat: add BearerAuth in Swagger
2025-11-08 21:41:28 +02:00
Chris
286ca4299d
[TC] tasks cleanup (#503)
* Refactor: break down tasks routes into modular structure

* fixup! Refactor: break down tasks routes into modular structure

* Fix an issue with looping auth
2025-11-08 09:27:50 +02:00
Chris
f2bee4627a
Fix api issues (#499)
* Fix slow requests

* Enable API docs by default

* Add ipv6 to rate limiter
2025-11-07 20:33:31 +02:00
Chris
bdc6e1e71f
API Access (#495)
* Scaffold API docs

* fixup! Scaffold API docs

* Add versioning

* Scaffold API Access

* fixup! Scaffold API Access

* fixup! fixup! Scaffold API Access

* Remove DEBUG logs, add tests

* fixup! Remove DEBUG logs, add tests

* Add rate limiter

* Only enable swagger in development

* Update docs

* fixup! Update docs

* fixup! fixup! Update docs

* Fix issue with markdown table headers
2025-11-07 15:19:30 +02:00
Chris
72d0baeb75
Notes page revamp! (#487)
* Setup wide layout

* fixup! Setup wide layout

* Setup new layout
2025-11-06 17:59:30 +02:00
Chris
8bc951b0ff
Replace ?uid with /:uid (#482)
* Replace ?uid with /:uid

* fixup! Replace ?uid with /:uid
2025-11-04 14:29:31 +02:00
Chris
f5c3bf7e69
Prevent admin from seeing all tasks (#477)
* Prevent admin from seeing all tasks

* fixup! Prevent admin from seeing all tasks
2025-11-04 09:40:33 +02:00
Chris
9807a4eea2
Fix priority auto (#470)
* Make none as default priority for tasks and projects

* fixup! Make none as default priority for tasks and projects
2025-11-02 16:51:11 +02:00
Chris
00eda4b936
Fix/descriptive ai feat (#464)
* fix AI feature not working

* fixup! fix AI feature not working
2025-11-02 14:14:55 +02:00
Chris Veleris
c983ba42ba Fix an issue with completed tasks in views 2025-10-29 15:19:38 +02:00
Chris Veleris
a56852b350 Fix tags migration association 2025-10-28 14:44:10 +02:00
Chris Veleris
ddaae04978 Set first user role as admin 2025-10-25 21:48:28 +03:00
Chris
fe0266d70a
Fix tags issue (#450)
* Fix uniqueness issue for tags

* fixup! Fix uniqueness issue for tags
2025-10-25 05:07:43 +03:00
Chris
5cf662d028
Fix tags deletion (#447)
* Add tag title validation and show icons

* fixup! Add tag title validation and show icons
2025-10-23 23:28:56 +03:00
Chris
48ee54a12f
Fix universal search (#445)
* Fix tags not included in views

* fixup! Fix tags not included in views

* Show toaster when creating view

* Add more translations

* Fix test issues
2025-10-23 21:43:42 +03:00
Antonis
c7220c3060
Fix #291 (#444)
* Fix password validation on container restart

Only validate password for new users, not when updating existing users.
This prevents container crashes when TUDUDI_USER_PASSWORD is set but
doesn't meet current validation requirements for existing users.

* Fix entrypoint crash when app user doesn't exist

Check if app user exists before getting UID/GID to prevent
'id: unknown user app' error on restart. Fall back to build-time
defaults (APP_UID/APP_GID) if user is missing.

---------

Co-authored-by: antanst <>
2025-10-23 21:41:21 +03:00
Chris
02b493d61f
Universal search (#412)
* Global search scaffold

* Add search preview text

* Add generic fallback for preview text in search

* fixup! Add generic fallback for preview text in search

* Add more tweaks

* fixup! Add more tweaks

* Fix an issue with criteria

* fixup! Fix an issue with criteria

* fixup! fixup! Fix an issue with criteria

* fixup! fixup! fixup! Fix an issue with criteria

* Fix an issue with priority filter

* fixup! Fix an issue with priority filter

* Add sortable pins

* fixup! Add sortable pins

* Make options collapsed by default

* Tweak UI

* Add tests

* Add translations

* Add more translations

* fixup! Add more translations

* Add minor tweaks
2025-10-22 22:00:45 +03:00
Chris Veleris
180bdaef35 Fix an issue with task from shared project 2025-10-22 20:18:49 +03:00
Chris Veleris
08f56ceb44 fixup! Add tests 2025-10-22 16:28:13 +03:00
Chris Veleris
02633da704 Add tests 2025-10-22 15:56:48 +03:00
Chris Veleris
bbc4615ee3 Fix an issue with sharing permissions 2025-10-22 13:29:37 +03:00
Chris Veleris
dde704d764 Fix an issue with tasks permissions on shared project 2025-10-22 12:10:50 +03:00
antanst
4774331d07 Add migration to backfill roles for existing users
This migration backfills role entries for users that existed before the roles system was introduced.

- If no admins exist: Missing users become admins to prevent lockout
- If admins exist: Missing users become regular users (safe default)
- Idempotent: Safe to run multiple times
2025-10-20 14:43:42 +03:00
Chris Veleris
848296421e Add UIDs to database items missing 2025-10-18 23:05:34 +03:00
Chris Veleris
589aafa643 Add UIDs to database items missing 2025-10-18 23:04:27 +03:00
Chris Veleris
7178f3dccb Add user edit 2025-10-15 16:48:03 +03:00
Chris Veleris
2cd7d9abe4 Add translations 2025-10-15 13:05:57 +03:00
Chris Veleris
d60ed23f18 Improve migrations safe functions usage 2025-10-14 12:58:30 +03:00
Chris Veleris
4aa9220879 Fix showing edit/delete buttons for owners 2025-10-13 11:09:19 +03:00
Chris Veleris
5160ab6955 Tweak UI for feature 2025-10-13 11:09:19 +03:00
Chris
e134ad96dc
Merge branch 'main' into pro/user-perms 2025-10-11 14:46:14 +03:00
Chris Veleris
d03cb0c4ae Add user name and surname 2025-10-11 13:26:56 +03:00
Chris Veleris
db98b7be1b fixup! Fix an issue with user data persistance 2025-10-11 13:26:56 +03:00
Chris Veleris
167868d297 Fix an issue with user data persistance 2025-10-11 13:26:56 +03:00
Chris
a81ca2f2b6
Fix upcoming completed issue (#404)
* Fix upcoming completed issue

* fixup! Fix upcoming completed issue

* fixup! fixup! Fix upcoming completed issue

* Fix completed icon plscement

* fixup! Fix completed icon plscement

* Add upcoming section tests
2025-10-11 00:08:13 +03:00
antanst
5ae05a9e68 Linting. 2025-10-09 11:39:30 +03:00
antanst
f4214c40da Security fixes: Add auth to upload, fix SQL injection, improve error logging
Critical security improvements:
- Add requireAuth middleware to /api/upload/project-image endpoint (prevents unauthenticated file uploads)
- Fix SQL injection vulnerability in tasks.js DELETE route by whitelisting table names
- Add missing resource existence check in shares.js POST endpoint (prevents permissions on non-existent resources)

Code quality improvements:
- Replace all console.error with logError across all route files for consistent logging
- Import logError service in all route modules

All tests passing (597 passed).
2025-10-09 11:38:26 +03:00
antanst
1fa221db54 Merge chrisvel/main into pro/user-perms
- Keep :uid endpoints throughout (not :id)
- Keep hasAccess middleware for permission checks
- Keep logError instead of console.error
- Add Note orphaning in project deletion
- Merge area attributes (include uid)
- Merge project store update on delete
- Use uid in test data-testids
2025-10-09 11:15:02 +03:00