Commit graph

17 commits

Author SHA1 Message Date
Chris
0265f6e70c
fix: prevent task name truncation when creating from inbox (#1020)
* fix: prevent Telegram polling errors from blocking container startup (#989)

This fix addresses the issue where the container gets stuck in an endless
loop of Telegram connection errors when the bot is configured but Telegram
is unreachable during startup.

Changes:
- Add 10-second startup delay before initializing Telegram polling to allow
  the system to settle
- Implement exponential backoff (5s to 5min) when Telegram connection fails
- Add rate-limited error logging (max once per minute per user) to reduce
  log spam and prevent event loop blocking
- Track error state per user to manage backoff independently
- Auto-reset error state on successful connection
- Update tests to account for new error state tracking

Fixes #989

* fix: prevent task name truncation when creating from inbox

Changes:
- Change task.name from VARCHAR(255) to TEXT to prevent any potential truncation
- Change inbox_items.title and cleaned_content from VARCHAR(255) to TEXT
- Add integration test to verify long task names are preserved
- Add unit test to verify cleaned_content doesn't truncate

While investigation showed no actual truncation occurring in the codebase,
this defensive fix ensures unlimited text length for task names and inbox
content, eliminating any possibility of truncation at the database level.

Fixes #1016
2026-04-13 23:14:52 +03:00
Chris
e73c354e7e
Fix bug 733 (#735)
* Refactor today

* fixup! Refactor today

* fixup! fixup! Refactor today
2025-12-27 21:00:52 +02:00
Chris
ad8ab3ec72
Fix refactor pt2 (#734)
* Cleanup task routes

* Cleanup frontend tasks

* Clean tasks

* Cleanup project uid

* Cleanup quick capture old modal

* Cleanup taskmodal

* Move all icons to shared components

* Test inbox flow

* fixup! Test inbox flow
2025-12-27 17:46:34 +02:00
Chris
270a80f71b
Fix an issue with tasks appearing in today without a flag (#640) 2025-12-03 16:48:47 +02:00
Chris
bfeffa069f
Fix an issue with task not completing in TaskDetails view (#620)
* Fix test issues

* Fix uid issue

* Fix id wrong param

* Fix test issues

* fixup! Fix test issues

* fixup! fixup! Fix test issues

* fixup! fixup! fixup! Fix test issues

* fixup! fixup! fixup! fixup! Fix test issues
2025-11-30 14:51:49 +02:00
Chris
a1b9095bce
Fix tag hides task (#586)
* Fix limited tags fetch

* fixup! Fix limited tags fetch
2025-11-21 19:13:31 +02: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
Chris Veleris
f5b40b70b5 Revert "Fix search for recurring"
This reverts commit d86b340128.
2025-09-13 23:04:57 +03:00
Chris Veleris
d86b340128 Fix search for recurring 2025-09-12 23:23:15 +03:00
Chris Veleris
06ebdd2e63 Bump version 2025-09-12 12:59:30 +03:00
Chris Veleris
5837184d2a Tweak including instances for recurring tasks 2025-09-12 12:58:46 +03:00
Chris
d8cd794a0c
Small fixes (#320)
* Fix upcoming view

* Fix to show areas projects

* fixup! Fix to show areas projects

* Fix symbol validation for tags

* Add hash to allowed characters for tag names

* Fix project deletion constraints

* fixup! Fix project deletion constraints

* Fix search functionality in All Tasks view

* fixup! Fix search functionality in All Tasks view

* Fix task save not refreshing list
2025-09-12 12:39:03 +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
39776acf13 Fix test issues 2025-07-12 21:34:47 +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