Commit graph

8812 commits

Author SHA1 Message Date
Johannes Millan
c19b3dbb0e feat(task): implement tag conflict resolution for parent and sub-tasks 2025-06-14 11:24:17 +02:00
Johannes Millan
9bf9d82d44 refactor(task): split up shared reducers tests 2025-06-14 11:08:04 +02:00
Johannes Millan
8bc7c94f83 refactor(task): split up shared reducers 2025-06-14 10:55:17 +02:00
Johannes Millan
50a46dcc44 test: fix 2 2025-06-14 10:17:53 +02:00
Johannes Millan
9b7ae2dbbb test: fix 2025-06-14 10:08:29 +02:00
Johannes Millan
72c3fd0a2e tmp hide failing tests for now 2025-06-13 23:42:44 +02:00
Johannes Millan
f1d843863f feat(task): optimize task scheduling logic to prevent unnecessary state updates 2025-06-13 23:38:43 +02:00
Johannes Millan
faaf75b6ff feat(webdav): tmp remove dev error 2025-06-13 23:24:55 +02:00
Johannes Millan
3517e672c8 feat(webdav): add dev error 2025-06-13 23:10:54 +02:00
Johannes Millan
387916c593 fix(webdav): also fix downloads of non meta models 2025-06-13 21:29:52 +02:00
Johannes Millan
dc5012333c refactor(task): beautify and simplify task-shared.reducer.ts
- Reorganized action handlers by functional domain (Task Management, Task Lifecycle, Task Scheduling, etc.)
- Added clear type definitions for ActionHandler and ActionHandlerMap
- Improved code organization with consistent handler structure
- Removed unused helper functions to fix lint errors
- Fixed prettier formatting issues
- Maintained functionality while improving maintainability

All tests continue to pass with expected behavior preserved.
2025-06-13 21:17:31 +02:00
Johannes Millan
c625c553d8 test(task): add comprehensive tests for new task-shared handlers
- Add test coverage for PlannerActions.transferTask handler
- Add test coverage for PlannerActions.planTaskForDay handler
- Add test coverage for PlannerActions.moveBeforeTask handler
- Add test coverage for TaskSharedActions.moveTaskInTodayTagList handler
- Tests verify correct tag state updates for all migrated actions
- Total test coverage increased from 82 to 96 tests for task-shared reducer
2025-06-13 21:17:31 +02:00
Johannes Millan
cfba4c1f51 refactor(task): migrate remaining tag.reducer.ts logic to task-shared.reducer.ts
- Migrate PlannerActions.transferTask handler
- Migrate PlannerActions.planTaskForDay handler
- Migrate PlannerActions.moveBeforeTask handler
- Add moveTaskInTodayTagList action and handler to TaskSharedActions
- All tag-related task logic now centralized in task-shared meta-reducer
2025-06-13 21:17:31 +02:00
Johannes Millan
f3dc57534e fix(task): re-add missing task update for handleConvertToMainTask 2025-06-13 21:17:31 +02:00
Johannes Millan
55edb06a5a fix(task): re-add missing task update 2025-06-13 21:17:31 +02:00
Johannes Millan
60125fb0f1 refactor(task): replace direct task actions with TaskSharedActions for better organization 2025-06-13 21:17:31 +02:00
Johannes Millan
a1666f9793 refactor(task): migrate scheduling actions to TaskSharedActions and remove deprecated functions 2025-06-13 21:17:31 +02:00
Johannes Millan
fae4d7157e feat(webdav): make download work again 2025-06-13 21:09:14 +02:00
Johannes Millan
a19ff0a4eb feat(webdav): make upload work again 2025-06-13 21:04:53 +02:00
Johannes Millan
7ac22b1dfc feat(webdav): implement HEAD request for Android to improve file metadata retrieval 2025-06-13 20:53:10 +02:00
Johannes Millan
4e940fd1f1 fix: handle edge cases in sync status determination 2025-06-13 20:28:32 +02:00
Johannes Millan
b5176f6c00 test: correct test 2025-06-13 20:19:53 +02:00
Johannes Millan
cad925e1f8 test: make them work again 2025-06-13 19:59:20 +02:00
Johannes Millan
c8232d5062 feat(webdav): make webdav work again 2025-06-13 19:15:52 +02:00
Johannes Millan
6764e88310 feat(webdav): refine CapacitorHttp usage and improve error handling for file metadata retrieval 2025-06-13 19:07:42 +02:00
Johannes Millan
d83a367371 fix: missing directive 2025-06-13 18:44:34 +02:00
Johannes Millan
932ce2aed3 feat(webdav): disable CapacitorHttp for unsupported methods and use original fetch function 2025-06-13 18:44:21 +02:00
Johannes Millan
49f31e93fc feat(webdav): enhance error handling and support for creating parent directories during uploads 2025-06-13 18:27:33 +02:00
Johannes Millan
02def6d4fd feat(webdav): add unit tests for Webdav class and API interactions 2025-06-13 18:00:39 +02:00
Johannes Millan
27abef610a feat(webdav): implement CapacitorHttp support for non-standard methods on Android WebView 2025-06-13 16:51:39 +02:00
Johannes Millan
23c1a0af8e feat(webdav): remove redundant parent directory check and clarify directory creation logic 2025-06-13 15:33:02 +02:00
Johannes Millan
a1405e6fc7 fix(sync): data not being properly persisted during sync 2025-06-13 15:12:01 +02:00
Johannes Millan
b7ca328a8a feat(sync): improve conflict handling 2025-06-13 14:50:46 +02:00
Johannes Millan
7964a0b667 feat(sync): remove Is-None-Match check for downloads for now 2025-06-13 14:22:14 +02:00
Johannes Millan
b59ec110fb fix(sync): make dropbox sync work again as it should 2025-06-13 14:04:50 +02:00
Johannes Millan
d0db8741a4 feat(webdav): make it work for yandex 2025-06-13 12:49:53 +02:00
Johannes Millan
44ff01ee62 feat(webdav): make it work for yandex 2025-06-13 12:28:10 +02:00
Johannes Millan
6f51d1b90c feat(webdav): fifth draft of standard compliant webdav 2025-06-13 12:12:28 +02:00
Johannes Millan
9f7fafffb2 feat(webdav): fourth draft of standard compliant webdav 2025-06-13 12:11:56 +02:00
Johannes Millan
4025eb042c feat(webdav): third draft of standard compliant webdav 2025-06-13 12:11:56 +02:00
Johannes Millan
f729412ad9 feat(webdav): second draft of standard compliant webdav 2025-06-13 12:11:56 +02:00
Johannes Millan
0bdfa4f7ff feat(webdav): first draft of standard compliant webdav 2025-06-13 12:11:56 +02:00
Johannes Millan
b985795858 feat(date): utilize Angular's DatePipe for consistent date formatting in shortDate2 and shortPlannedAt pipes #4549 2025-06-13 12:08:14 +02:00
Johannes Millan
5f8a0ccf11 fix(duration): improve duration input handling and validation logic #4564 2025-06-13 12:08:13 +02:00
Johannes Millan
5bc5f8d046 feat(input): enhance duration input handling for zero values and race conditions 2025-06-13 12:07:39 +02:00
Johannes Millan
fb8c926ee9 fix: initial sync cfg dialog not shown 2025-06-13 12:03:35 +02:00
Johannes Millan
41717e7bdd refactor(pipe): enhance LocalDateStrPipe to use Angular's DatePipe for consistent date formatting #4549 2025-06-13 11:36:14 +02:00
Johannes Millan
33780fc1f0 test(input): add mock Renderer2 to input duration directive tests 2025-06-13 11:19:04 +02:00
Johannes Millan
ea2ea0360d feat(tags): add functionality to remove non-existent tags from tasks in repair script #4567 2025-06-13 10:57:47 +02:00
Johannes Millan
b856d72063 fix(duration): improve duration input handling and validation logic #4564 2025-06-13 10:45:47 +02:00