Commit graph

5 commits

Author SHA1 Message Date
antanst
1a500663ed Merge branch 'cleanups' into pro/user-perms 2025-10-02 15:42:42 +03:00
Antonis
c9f7fbb522
Fix notes.js & areas.js UID usage and remove IDs. (#355)
* Add logging placeholder functions, fix notes.js uids

* Fix areas.js uids and remove ids

* Add UIDs to inbox items. Includes migration.

* id -> uid for task-events.js

---------

Co-authored-by: antanst <>
2025-09-29 16:03:46 +03:00
antanst
a24a4688eb notes,tasks: standardize forbidden responses and centralize access checks
- Add hasAccess middleware to note/task GET by id endpoints
- Ensure 403 Forbidden when user lacks access to existing resources
- Preserve 404 for genuinely missing IDs
- Update list queries to include shared items via ownershipOrPermissionWhere
- Align subtasks endpoint to return 403 when parent not accessible
- Update integration tests accordingly
2025-09-22 15:20:46 +03:00
Antonis Anastasiadis
e594d1075b
Linting cleanup (#99)
* Add eslint and prettier dependencies and configs

* Lint project.
2025-07-01 11:40:09 +03:00
Chris
3c1209a5a9
Express migration (#80)
* Initial migration

* Cleanup and create migration scripts

* Introduce test suite

* Fix test issues

* Correct CORS issue and update paths

* Update README
2025-06-16 21:50:44 +03:00