Commit graph

21 commits

Author SHA1 Message Date
Chris
4a2cce8fde
Scaffold smtp service (#590)
* Scaffold smtp service

* fixup! Scaffold smtp service
2025-11-24 17:58:09 +02:00
Chris
c3bf5f5522
Feat add profile photo (#580)
* Add profile photo support

* Add translations

* fixup! Add translations
2025-11-19 09:00:58 +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
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 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
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
3cbe594588 merge fixes. 2025-10-03 14:16:01 +03:00
antanst
1a500663ed Merge branch 'cleanups' into pro/user-perms 2025-10-02 15:42:42 +03:00
antanst
228f16dcb8 Add UID to users. 2025-10-02 12:20:45 +03:00
antanst
c232d00d9a Admin user management: backend API and frontend UI.
- Add admin-only users API: list/create/delete (prevent self-delete and last-admin deletion).
- Include is_admin in auth responses.
- Frontend: /admin/users page with table, selection, remove, Add User modal.
- Show “Manage users” in user menu for admins and optional sidebar link.
- Add i18n strings for admin UI.
- Enhance create user script to grant admin via optional third arg.
- Minor: set dev bootstrap user as admin in start script.
2025-09-22 15:20:46 +03:00
antanst
f3c34ba6a7 Fix build error 2025-07-23 12:22:06 +03:00
Chris Veleris
35ac0d7852 Fix test issues 2025-07-23 12:22:06 +03:00
Antonis Anastasiadis
c24bff1882
Parallelize test running (#166)
* Allow specifying DB file explicitely.

* Export config getter/setter instead of object

Allows dynamically changing configuration

* Remove maxWorker Jest limit, parallelize tests

* Remove unnecessary slow step in Dockerfile.

* Correct error response during login

* Fix setting DB permissions in docker entrypoint

---------

Co-authored-by: antanst <>
2025-07-16 13:27:57 +03:00
Antonis Anastasiadis
c7c859f666
Merge package.json files into one (#160)
Co-authored-by: Chris Veleris <chrisveleris@gmail.com>
2025-07-15 10:45:29 +03:00
Chris Veleris
47eaf865ce Fix test issues 2025-07-05 07:49:32 +03:00
Chris Veleris
7c0bc7f34f Add about page 2025-07-05 00:28:35 +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 Veleris
f088fc9839 Fix test issues 2025-06-17 11:24:31 +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