kolaente
62799c129b
fix(caldav): do not assume the first element is the VTODO component
...
Cherry-Picked from https://github.com/go-vikunja/vikunja/pull/748#issuecomment-3649092134
2025-12-13 15:30:22 +01:00
kolaente
112df4a752
fix(caldav): init logger in tests
2025-12-04 11:10:19 +01:00
kolaente
da0822c3f4
feat(caldav): add more error logging
2025-12-04 10:54:31 +01:00
kolaente
31c1f98270
fix(caldav): remove METHOD:PUBLISH from caldav exports ( #1576 )
2025-09-30 18:16:07 +00:00
kolaente
0a44f53759
feat(caldav): return proper caldav intervals instead of FREQ=SECONDLY ( #1230 )
2025-08-04 13:41:28 +02:00
Dominik Pschenitschni
296577a875
fix: correct license header references ( #882 )
...
See originals:
- https://www.gnu.org/licenses/agpl-3.0.txt
- https://www.gnu.org/licenses/gpl-3.0.txt
2025-06-10 12:18:38 +02:00
kolaente
d081cf80fc
chore(caldav): refactor fetching projects
2024-10-30 08:37:27 +01:00
kolaente
ffcc48ec87
fix(caldav): make sure colors are correctly saved and returned
...
Resolves https://community.vikunja.io/t/caldav-sync-tasks-org-strips-colour-and-end-date-values/2753/2
2024-09-04 23:08:29 +02:00
kolaente
00a96663ba
fix(caldav): check if vtodo contains any components
...
Resolves https://vikunja.sentry.io/share/issue/1ae2fd1601aa40dea4aee41927cfcf78/
2024-04-25 13:40:23 +02:00
Miguel Arroyo
225d65268d
feat(caldav): Add support for subtasks (i.e. RELATED-TO property) in CalDAV ( #1634 )
...
As I mentioned [here](https://kolaente.dev/vikunja/api/pulls/1442#issuecomment-55215 ), this is mainly a cleanup of @zewaren 's original [PR](https://kolaente.dev/vikunja/api/pulls/1442 ).
It adds support for the `RELATED-TO` property in CalDAV's `VTODO` and the `RELTYPE=PARENT` and `RELTYPE=CHILD` relationships. In other words, it allows for `ParentTask->SubTask` relations to be handled supported through CalDAV.
In addition to the included tests, this has been tested by both @zewaren & myself with DAVx5 & Tasks (Android) and it's been working great.
Resolves https://kolaente.dev/vikunja/api/issues/1345
Co-authored-by: Miguel A. Arroyo <miguel@codeheads.dev >
Co-authored-by: Erwan Martin <public@fzwte.net >
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1634
Reviewed-by: konrad <k@knt.li >
Co-authored-by: Miguel Arroyo <mayanez@noreply.kolaente.de >
Co-committed-by: Miguel Arroyo <mayanez@noreply.kolaente.de >
2023-11-10 22:44:03 +00:00
kolaente
e34f503674
fix: lint
2023-09-07 11:31:35 +02:00
kolaente
bfcefa0217
fix(caldav): check for related tasks synced back from a caldav client
...
Related discussion https://community.vikunja.io/t/tasks-org-subtask-syncing-issue/737/9
2023-09-07 11:29:44 +02:00
kolaente
e518fb1191
chore: remove year from copyright headers
...
Resolves https://kolaente.dev/vikunja/api/pulls/1483
2023-09-01 08:32:28 +02:00
Dominik Pschenitschni
eb3b4e9ed9
fix(CalDAV): naming
2023-04-11 11:21:40 +00:00
cernst
1cffef6908
fix(caldav): Incoming tasks do not get correct time zone ( #1455 )
...
Dates from tasks.org may be formatted like DUE;TZID=Europe/Berlin:20230402T150000
After this fix the parameter TZID is no longer ignored and the Vikunja task gets a DueDate of 13:00 UTC, which corresponds to 15:00 in Europe/Berlin. Before this fix, the time was parsed to 15:00 UTC.
Resolves https://kolaente.dev/vikunja/api/issues/1453
Co-authored-by: ce72 <christoph.ernst72@googlemail.com >
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1455
Reviewed-by: konrad <k@knt.li >
Co-authored-by: cernst <ce72@noreply.kolaente.de >
Co-committed-by: cernst <ce72@noreply.kolaente.de >
2023-04-02 12:31:31 +00:00
cernst
f45648a6f7
feat(caldav): Sync Reminders / VALARM ( #1415 )
...
Co-authored-by: ce72 <christoph.ernst72@googlemail.com >
Co-authored-by: kolaente <k@knt.li >
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1415
Reviewed-by: konrad <k@knt.li >
Co-authored-by: cernst <ce72@noreply.kolaente.de >
Co-committed-by: cernst <ce72@noreply.kolaente.de >
2023-04-01 11:09:11 +00:00
kolaente
7a9611c2da
chore: cleanup
2023-03-13 14:28:36 +01:00
kolaente
349e6a5905
feat: rename lists to projects
2023-03-13 14:28:06 +01:00
cernst
a62b57ac62
feat(caldav): import caldav categories as Labels ( #1413 )
...
Resolves #1274
Co-authored-by: ce72 <christoph.ernst72@googlemail.com >
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1413
Reviewed-by: konrad <k@knt.li >
Co-authored-by: cernst <ce72@noreply.kolaente.de >
Co-committed-by: cernst <ce72@noreply.kolaente.de >
2023-03-02 15:25:26 +00:00
cernst
53197b85e3
feat(caldav): Export Labels to Caldav ( #1409 )
...
Partially resolves https://kolaente.dev/vikunja/api/issues/1274
Co-authored-by: ce72 <christoph.ernst72@googlemail.com >
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1409
Reviewed-by: konrad <k@knt.li >
Co-authored-by: cernst <ce72@noreply.kolaente.de >
Co-committed-by: cernst <ce72@noreply.kolaente.de >
2023-02-27 11:22:42 +00:00
kolaente
897a6e5d5c
fix(caldav): use const for repeat modes
2022-12-24 14:34:59 +01:00
kolaente
c5327845ee
feat(caldav): add support for repeating tasks
...
Resolves https://github.com/go-vikunja/api/issues/57#issuecomment-1364373103
2022-12-24 12:19:51 +01:00
kolaente
f93317bf5d
fix(caldav): add Z suffix to dates make it clear dates are in UTC
2022-12-04 21:01:04 +01:00
kolaente
aaeffe925e
fix(caldav): make sure duration and due date follow rfc5545
...
Related discussion: https://community.vikunja.io/t/error-with-davx-synchronization/810
2022-09-07 15:39:40 +02:00
kolaente
ac92499b7d
fix(caldav): make sure description is parsed correctly when multiline
...
Resolves https://github.com/go-vikunja/api/issues/35
2022-07-13 22:47:25 +02:00
kolaente
2b074c60a7
fix(caldav): properly parse durations when returning VTODOs
...
Resolves https://github.com/go-vikunja/frontend/issues/55
2022-07-07 23:20:37 +02:00
konrad
90146aea5b
User Data Export and import ( #967 )
...
Co-authored-by: kolaente <k@knt.li >
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/967
Co-authored-by: konrad <k@knt.li >
Co-committed-by: konrad <k@knt.li >
2021-09-04 19:26:31 +00:00
kolaente
e21a3904ff
Fix mapping task priorities from Vikunja to calDAV
...
Resolves #866
2021-07-11 15:03:50 +02:00
kolaente
c4a71016b8
Update copyright year
2021-02-02 20:19:13 +01:00
kolaente
9baf6d39bd
Change license to AGPLv3
2020-12-23 16:41:52 +01:00
konrad
969e467f48
Add colors for caldav ( #738 )
...
Add colors for caldav
Co-authored-by: kolaente <k@knt.li >
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/738
Co-Authored-By: konrad <konrad@kola-entertainments.de >
Co-Committed-By: konrad <konrad@kola-entertainments.de >
2020-12-18 12:04:27 +00:00
freaktechnik
ffce9b51cc
Fix completion status in DAV for OpenTasks and multiline descriptions ( #697 )
...
Add tests for multiline descriptions and completed state
Fix caldav descriptions
Fix caldav task complete status for OpenTasks
Co-authored-by: Martin Giger <martin@humanoids.be >
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/697
Co-Authored-By: freaktechnik <martin@humanoids.be >
Co-Committed-By: freaktechnik <martin@humanoids.be >
2020-10-21 21:03:19 +00:00
freaktechnik
214f2f008e
Support absolute iCal timestamps in CalDAV requests ( #691 )
...
no need to export from there I think
parse absolute ical timestamps
Co-authored-by: konrad <konrad@kola-entertainments.de >
Co-authored-by: Martin Giger <martin@humanoids.be >
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/691
Co-Authored-By: freaktechnik <martin@humanoids.be >
Co-Committed-By: freaktechnik <martin@humanoids.be >
2020-10-19 09:11:15 +00:00
konrad
699d3d6060
Add Golangci Lint ( #676 )
...
Increase golangci timeout
Fix installing golangci-lint in ci
Remove mage targets replaced by golangci
Run golint in ci
Add goheader linter
Enable & fix more linters
Fix lint issues
Add mage target to automagically fix issues found by golangci
golangci-lint run --fix
Add golangci config
Add golangci mage target
Co-authored-by: kolaente <k@knt.li >
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/676
Co-Authored-By: konrad <konrad@kola-entertainments.de >
Co-Committed-By: konrad <konrad@kola-entertainments.de >
2020-10-11 20:10:03 +00:00
konrad
08205008e7
Migrate all timestamps to real iso dates ( #594 )
...
Fix query param name
Add option to include null results when filtering
Always set db time to gmt
Fix null filter
Fix timezone setting for todoist parsing
Fix timezone setting for wunderlist parsing
Fix import
Fix caldav reminder parsing
Use timezone from config
Add error and test for invalid filter values
Fix integration tests
Remove task collection date hack
Fix task filter
Fix lint
Fix tests and fixtures for date timezone stuff
Properly set timezone
Change fixtures time zone to gmt
Set db timezone
Set created and updated timestamps for all fixtures
Fix lint
Fix test fixtures
Fix misspell
Fix test fixtures
Partially fix tests
Remove timeutil package
Remove adding _unix suffix hack
Remove _unix suffix
Move all timeutil.TimeStamp to time.Time
Remove all Unix suffixes in field names
Add better error messages when running migrations
Make sure to not migrate 0 unix timestamps to 1970 iso dates
Add migration script for sqlite
Add converting sqlite values
Convert 0 unix timestamps to null in postgres
Convert 0 to null in timestamps
Automatically rename _unix suffix
Add all tables and columns for migration
Fix sql migration query for mysql
Fail with an error if trying to use an unsupported dbms
Co-authored-by: kolaente <k@knt.li >
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/594
2020-06-27 17:04:01 +00:00
konrad
db2d868eed
Return iso dates for everything date related from the api ( #130 )
...
Remove traces of unix timestamp
Revert renaming reminder table column
Fix staticcheck
Remove unused table call
Add migration for renaming reminders table
Fix issues with using TimeStamp
Fix lint
Updated all created / updated fields to use TimeStamps
Add comments
Convert all created / updated fields to datetime
Add time util package
Co-authored-by: kolaente <k@knt.li >
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/130
2020-02-08 12:48:49 +00:00
kolaente
1f99238019
Update copyright header
2020-02-07 17:27:45 +01:00
konrad
7e9446ea07
Refactor User and DB handling ( #123 )
...
fix copyright date
Add more user tests
More user tests
More user tests
Start refactoring user tests
Docs
Fix lint
Fix db fixtures init in tests
Fix models test
Fix loading fixtures
Fix ineffasign
Fix lint
Fix integration tests
Fix init of test engine creation
Fix user related tests
Better handling of creating test enging
Moved all fixtures to db package
Moved all fixtures to db package
Moved user related stuff to seperate package
Co-authored-by: kolaente <k@knt.li >
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/123
2020-01-26 17:08:06 +00:00
konrad
a0c5e4e985
Update copyright year ( #118 )
2020-01-09 17:33:22 +00:00
shilch
e890001ee1
Consistent copyright text in file headers ( #112 )
2019-12-04 19:39:56 +00:00
konrad
7107d030fc
Better caldav support ( #73 )
2019-05-22 17:48:48 +00:00
konrad
777d63dff1
More unit tests ( #34 )
2018-12-16 13:21:32 +00:00
konrad
3f44e3b83e
Change License to GPLv3 ( #26 )
2018-11-26 20:17:33 +00:00
konrad
d03fca801b
CalDAV support ( #15 )
2018-11-03 15:05:45 +00:00