Commit graph

101 commits

Author SHA1 Message Date
antanst
800d231a3a Hotfix start script 2025-08-07 15:18:19 +03:00
antanst
134f09e881 Better DB backups
The backup script has been updated with the new retention policy:
  1. Today's backups: Keeps maximum 4 backups
  2. Previous days (within a week): Keeps only the last backup for each day
  3. Older than one week: Deletes all backups
2025-08-06 19:49:27 +03:00
antanst
ade694da4c Deduplicate validateTagName function. 2025-08-06 19:49:27 +03:00
antanst
8ab473aaa0 Fix missing lodash import in tasks route
Add missing lodash import to resolve ReferenceError for _.isEmpty() function used in uid query parameter validation.
2025-08-06 15:54:45 +03:00
antanst
68578c47d6 Linting. 2025-08-06 15:54:45 +03:00
antanst
c3e8449a25 Standardize UID implementation across backend
- Add unified UID column migration for all entities
- Create centralized UID generation utility
- Update all models to use standardized UID hooks
- Fix route handlers to support UID-based lookups
- Update slug utilities for consistent UID extraction
- Fix tag tests to use query parameters instead of path params
- Configure Jest for better TypeScript support
2025-08-06 15:54:45 +03:00
Chris Veleris
172e7f4a3f Enable nanoid for project links on today page 2025-08-05 00:00:33 +03:00
Chris Veleris
3599bc2b60 Add nanoid 2025-08-04 23:50:53 +03:00
Chris Veleris
1f70be8387 Fix project modal issues 2025-08-01 18:06:50 +03:00
Chris Veleris
4055fde8e1 When task with no priority, set low default 2025-08-01 18:06:50 +03:00
Chris Veleris
c227c6cdb3 Fix an issue with moved away from tasks status 2025-08-01 18:06:50 +03:00
Chris Veleris
348b9e056d Fix an issue with moved away from tasks status 2025-08-01 18:06:50 +03:00
antanst
24c0354cbe Fix user service tests. 2025-07-31 14:02:42 +03:00
antanst
cfedc4d908 Cleanup leftover/unused files. 2025-07-31 14:02:42 +03:00
antanst
5b531743db Move backend/start.sh to backend/cmd/start-dev.sh 2025-07-31 14:02:42 +03:00
antanst
b46784b136 New user service 2025-07-31 14:02:42 +03:00
antanst
c81a3a7c20 Change user-create.js script to update user if existed 2025-07-31 14:02:42 +03:00
antanst
549236f2db Fix migration for duplicate column, fixes #202 2025-07-31 14:02:42 +03:00
antanst
b65d6eea5b Remove duplicate user creation (already in start.sh) 2025-07-31 14:02:42 +03:00
antanst
eeec7cb962 Remove dangerous DB sync from app.js 2025-07-31 14:02:42 +03:00
antanst
044fc1db1a Rip out inline JS from start.sh and use existing code 2025-07-31 14:02:42 +03:00
antanst
8c2435c952 Disable internal SSL
Users should use a TLS terminator if necessary.
2025-07-23 12:22:27 +03:00
antanst
f3c34ba6a7 Fix build error 2025-07-23 12:22:06 +03:00
Chris Veleris
f51f6143b2 Fix an issue with areas dropdown hidden 2025-07-23 12:22:06 +03:00
Chris Veleris
6f4df2ed5a Fix an issue with completed project tasks 2025-07-23 12:22:06 +03:00
Chris Veleris
3fdc31fb65 Fix an issue with check to done task not moving to completed 2025-07-23 12:22:06 +03:00
Chris Veleris
39fa47343e Fix lint issues
Fix test issues

Format fix
2025-07-23 12:22:06 +03:00
Chris Veleris
af653d2d2b Fix subtask issues on project view 2025-07-23 12:22:06 +03:00
Chris Veleris
f92d98da34 Fix an issue with due_date ambiguous name 2025-07-23 12:22:06 +03:00
Chris Veleris
8ce3993468 Fix lint issues
Fix lint issues

Fix TS issues
2025-07-23 12:22:06 +03:00
Chris Veleris
9956352ff9 Move subtasks loading to global state 2025-07-23 12:22:06 +03:00
Chris Veleris
d617e38da2 Fix test timing out 2025-07-23 12:22:06 +03:00
antanst
5123ca95e9 Lint and formatting fixes 2025-07-23 12:22:06 +03:00
Chris Veleris
3cf9fbe22b Add tests 2025-07-23 12:22:06 +03:00
Chris Veleris
97daf25c78 Add completed tasks visibility 2025-07-23 12:22:06 +03:00
Chris Veleris
ed20341ded Improve subtasks 2025-07-23 12:22:06 +03:00
Chris Veleris
aab58f9718 Scaffold subtasks 2025-07-23 12:22:06 +03:00
Chris Veleris
35ac0d7852 Fix test issues 2025-07-23 12:22:06 +03:00
Antonis Anastasiadis
4051824e7a
Configurable upload path. (#191)
* Add necessary migrations for project model.

* Add a few tests for project model new columns.

* make upload location into a configurable

* fix uploadDir path

* use config in app.js

* Change upload env var naming

* Add upload env var to Docker files

---------

Co-authored-by: antanst <>
Co-authored-by: vhsdream <punk.sand7393@fastmail.com>
2025-07-22 15:23:03 +03:00
Antonis Anastasiadis
1e11ab5fa4
Add project sorting migration and a few tests (#192)
* Add necessary migrations for project model.

* Add a few tests for project model new columns.

---------

Co-authored-by: antanst <>
2025-07-22 13:10:10 +03:00
antanst
ffcab4caac Add 'dist' paths to git & prettier ignore. 2025-07-22 11:45:14 +03:00
Chris Veleris
84c29f7a12 Add missing migration 2025-07-22 10:41:37 +03:00
antanst
719f93bedf Backup database when starting up. 2025-07-21 23:02:37 +03:00
antanst
46ca4f2356 Remove obsolete and disabled calendar deps 2025-07-21 23:02:37 +03:00
Chris
bd6d176666
Add sorting projects (#175)
* Add sorting dropdown to projects list

* Fix lint issues

* fixup! Fix lint issues

* Fix new task space and completed expose

* Fix completed switch and filters

* Fix an issue with projects not appearing as links

* Fix an issue with modal appearing relative to task list

* Remove obsolete loads

* Fix list issues

* Fix mobile/desktop settings dropdown functionality

* Update project modal layout

* Realign project options

* Fix tags dropdown in Project modal

* Fix inbox amount sidebar layout

* Fix project banner tags listing

* Remove icons from titles

* Fix lint errors

* fixup! Fix lint errors

* fixup! fixup! Fix lint errors

* Beautify notes and areas

* Experiment with new notes layout

* fixup! Experiment with new notes layout

* fixup! fixup! Experiment with new notes layout

* Fix note layout

* fixup! Fix note layout

* Fix an issue with adding an area and refreshing
the area list

* Fix an issue with project edit delete menu

* fixup! Fix an issue with project edit delete menu

* Fix an issue with projects create

* Update interaction with Notes

* Update interaction with tags

* fixup! Update interaction with tags

* Fix lint issues

* Extract shared filter

* Add sorting dropdown translations

* fixup! Add sorting dropdown translations

* fixup! fixup! Add sorting dropdown translations
2025-07-21 18:41:11 +03:00
antanst
78fc2f2bea Linting 2025-07-20 22:38:15 +03:00
Antonis Anastasiadis
3cc9ec2191
Optimize tests, takes ~20% less (#184)
Co-authored-by: antanst <>
2025-07-20 16:33:58 +03:00
Chris
10d96397c3
Sorting fixes (#174)
* Update version

* Order Inbox items by creation timestamp, desc

* Fix input keyboard tab and enter handling

* Fix lint issues

* Move in progress items to the top of today list

* Make tags and projects clickable

* fixup! Make tags and projects clickable

* fixup! fixup! Make tags and projects clickable
2025-07-17 17:43:56 +03:00
antanst
b37457b574 Maximize Jest workers 2025-07-17 10:26:27 +03:00
Antonis Anastasiadis
a62d46a96d
Fix parallel test race condition (#168)
* Fix potential test race condition

* Fix setting Docker perms when user exists

---------

Co-authored-by: antanst <>
2025-07-16 14:57:14 +03:00