feat(caldav): Add support for subtasks in CalDAV. #4

Open
zewaren wants to merge 424 commits from feature/caldav-subtasks into main
Owner

When exporting tasks with CalDAV, export their relationship to their
parent tasks.
When creating/updating tasks from CalDAV, create/maintain their parent
relationship using task relations.

When exporting tasks with CalDAV, export their relationship to their parent tasks. When creating/updating tasks from CalDAV, create/maintain their parent relationship using task relations.
zewaren added 1 commit 2023-03-22 19:51:08 +00:00
0eda1d9785 feat(caldav): Add support for subtasks in CalDAV.
When exporting tasks with CalDAV, export their relationship to their
parent tasks.
When creating/updating tasks from CalDAV, create/maintain their parent
relationship using task relations.
zewaren added 1 commit 2023-03-22 20:20:10 +00:00
zewaren added 1 commit 2023-03-22 21:11:55 +00:00
zewaren added 279 commits 2023-09-10 15:45:42 +00:00
f6e6c5c8fc fix(deps): update module github.com/imdario/mergo to v0.3.15 (#1443)
Reviewed-on: vikunja/api#1443
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
5961e56d16 fix(caldav): Do not create label if it exists by title (#1444)
Resolves vikunja/api#1435

Co-authored-by: ce72 <christoph.ernst72@googlemail.com>
Reviewed-on: vikunja/api#1444
Co-authored-by: cernst <ce72@noreply.kolaente.de>
Co-committed-by: cernst <ce72@noreply.kolaente.de>
3f5252dc24 feat: Add relative Reminders (#1427)
Partially resolves #1416

Co-authored-by: ce72 <christoph.ernst72@googlemail.com>
Reviewed-on: vikunja/api#1427
Reviewed-by: konrad <k@knt.li>
Co-authored-by: cernst <ce72@noreply.kolaente.de>
Co-committed-by: cernst <ce72@noreply.kolaente.de>
f45648a6f7 feat(caldav): Sync Reminders / VALARM (#1415)
Co-authored-by: ce72 <christoph.ernst72@googlemail.com>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1415
Reviewed-by: konrad <k@knt.li>
Co-authored-by: cernst <ce72@noreply.kolaente.de>
Co-committed-by: cernst <ce72@noreply.kolaente.de>
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 vikunja/api#1453

Co-authored-by: ce72 <christoph.ernst72@googlemail.com>
Reviewed-on: vikunja/api#1455
Reviewed-by: konrad <k@knt.li>
Co-authored-by: cernst <ce72@noreply.kolaente.de>
Co-committed-by: cernst <ce72@noreply.kolaente.de>
ae5a3cf020 update prometheus docs for clarity (#1458)
Make it clearer that the `/metrics` endpoint is under `/api/v1`

Co-authored-by: Skyler Hawthorne <skyler@dead10ck.com>
Reviewed-on: vikunja/api#1458
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Skyler Hawthorne <dead10ck@noreply.kolaente.de>
Co-committed-by: Skyler Hawthorne <dead10ck@noreply.kolaente.de>
cf7423fc1a fix(api): license (#1457)
Reviewed-on: vikunja/api#1457
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
848f596636 feat(docs): change order of sections in nav (#1471)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/api#1471
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
cca430810d fix(image): json type of struct property (#1469)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1469
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
1c83b7b3c0 chore(deps): update goreleaser/nfpm docker tag to v2.28.0 (#1475)
Reviewed-on: vikunja/api#1475
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
55956f2b52 fix(deps): update src.techknowlogick.com/xgo digest to bff48e4 (#1474)
Reviewed-on: vikunja/api#1474
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
8d7825171f fix(docs): semver link (#1470)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: vikunja/api#1470
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
6cbaf5bbf9 fix(spelling): in config sample (#1489)
Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#1489
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
aaa0593289 feat(docs): various improvements
- removing spaces at end of line
- fixing spelling and grammar mistakes
- making sure 'Vikunja' is spelled the same way everywhere
- prefer using editors word wrap instead of hardcoding word wrap in markdown (reason: different word wrap per editor & end of line space)
- add newline add end where missing
- remove double colon at end of headlines
- remove unnecessary indention
- make sure code blocks and headlines etc always have an empty line around
9e5c95fd6d fix(docs): Added Keycloak OpenID example (#1521)
Reviewed-on: vikunja/api#1521
Reviewed-by: konrad <k@knt.li>
Co-authored-by: jontyms <jontyms@protonmail.com>
Co-committed-by: jontyms <jontyms@protonmail.com>
f2d5220625 chore(deps): update goreleaser/nfpm docker tag to v2.29.0 (#1528)
Reviewed-on: vikunja/api#1528
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
8c3ef34f75 fix(deps): update github.com/vectordotdev/go-datemath digest to 640a500 (#1532)
Reviewed-on: vikunja/api#1532
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
96620ce946 chore(deps): update klakegg/hugo docker tag to v0.110.0 (#1538)
Reviewed-on: vikunja/api#1538
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
a86518da71 chore(deps): update klakegg/hugo docker tag to v0.111.0 (#1539)
Reviewed-on: vikunja/api#1539
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
b03213c19e chore(deps): update klakegg/hugo docker tag to v0.111.3 (#1542)
Reviewed-on: vikunja/api#1542
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
456495ec30 chore(deps): update goreleaser/nfpm docker tag to v2.30.1 (#1540)
Reviewed-on: vikunja/api#1540
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
d83e3a0a03
chore: remove cache options
Cache was not working correctly, added more complexity and actually made response times slower. Because of this, I'm removing all cache options until we figure out a better solution.

Resolves vikunja/api#1496
Resolves vikunja/api#907
4a4ba041e0 chore: remove reminderDates after frontend is migrated to reminders (#1448)
Co-authored-by: ce72 <christoph.ernst72@googlemail.com>
Reviewed-on: vikunja/api#1448
Reviewed-by: konrad <k@knt.li>
Co-authored-by: cernst <ce72@noreply.kolaente.de>
Co-committed-by: cernst <ce72@noreply.kolaente.de>
1dc9c50d64 fix(deps): update module github.com/imdario/mergo to v1 (#1559)
Reviewed-on: vikunja/api#1559
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
665c046717 docs: Add Caddyfile to reverse proxies setup (#1580)
Reviewed-on: vikunja/api#1580
Co-authored-by: cr1xus <christoearth@gmail.com>
Co-committed-by: cr1xus <christoearth@gmail.com>
1b9c4204a8
fix(reminders): make sure reminders are only sent once per user
Previously, when a user was creator and assigned to a task, they would get two reminder notifications for the same task. This was caused by Vikunja first fetching all creators and then all assignees and not removing duplicates from that list.

Related: https://community.vikunja.io/t/duplicate-email-reminders/1505/3
b3a847e581 fix(kanban): create missing kanban buckets (#1601)
Co-authored-by: edel <edel.altares@pm.me>
Reviewed-on: vikunja/api#1601
Co-authored-by: kolaente <k@knt.li>
Co-committed-by: kolaente <k@knt.li>
3865219e6e Merge branch 'main' into feature/caldav-subtasks
# Conflicts:
#	go.mod
#	pkg/caldav/caldav.go
#	pkg/caldav/caldav_test.go
#	pkg/caldav/parsing.go
#	pkg/caldav/parsing_test.go
#	pkg/db/fixtures/projects.yml
#	pkg/integrations/caldav_test.go
zewaren added 42 commits 2023-09-17 17:53:35 +00:00
bfb01898c2
fix(api tokens)!: make sure task create routes are available to use with the api
BREAKING CHANGE: The api route to create a new task is now /projects/:project/tasks instead of /projects/:project
zewaren added 99 commits 2023-10-29 20:17:30 +00:00
feacbbff74 fix(caldav): do not update dates of tasks when repositioning them (#1605)
When a task is updated, the position of the tasks of the whole project/bucket are updated. This leads to column "updated" of model Task to be updated quite often. However, that column is used for the ETag field of CALDAV.
Thus, changing a task marks all the other tasks as updated, which prevents clients from synchronizing their edited tasks.

Co-authored-by: Erwan Martin <erwan@pepper.com>
Reviewed-on: vikunja/api#1605
Co-authored-by: Erwan Martin <public@fzwte.net>
Co-committed-by: Erwan Martin <public@fzwte.net>
ad04d302af chore: reverse the coupling of module log and config (#1606)
This way the config module can already use the log module with the same result (default logging to StdOut with Level INFO, same output as before) but ENV variables can already change the logging of config file related log output). It is now possible to dump as a cronjob without having to filter the default log about the used config file.

Also:
- all logging modules are now configurable when initializing which makes testing easier
- viper dependency removed from logging
- log correct settings when configured error level is invalid
- deprecation of value "false" for log.standard and log.events (already not mentioned in https://vikunja.io/docs/config-options/)

Co-authored-by: Berengar W. Lehr <Berengar.Lehr@uni-jena.de>
Reviewed-on: vikunja/api#1606
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Peter H0ffmann <hoffmannp@noreply.kolaente.de>
Co-committed-by: Peter H0ffmann <hoffmannp@noreply.kolaente.de>
4f53a608a7
fix(deps): update src.techknowlogick.com/xgo digest to 1510ee0
(cherry picked from commit b555b010fd339e680dab93b80c7575c886cd3f89)
367a35912b
fix(deps): update module github.com/yuin/goldmark to v1.5.6
(cherry picked from commit 635351d0a2bd2124d98af7b5f7c78f6b21632916)
7c008b1693
fix(deps): update module xorm.io/xorm to v1.3.3
(cherry picked from commit f3fe371f03adb6b17c1a98bfeda04834d333f020)
6e41567f9e
fix(deps): update module github.com/jinzhu/copier to v0.4.0
(cherry picked from commit a5ee64466b5a6bf9f98a08fa9ab8dbe2ee2ca29f)
30e8dc53e5
fix(deps): update module github.com/redis/go-redis/v9 to v9.2.1
(cherry picked from commit a60158998539d43fe43a6a49652c868c891626db)
33af96265b
fix(deps): update module github.com/threedotslabs/watermill to v1.3.5
(cherry picked from commit 9cccf7387ce62f38f07375f62533429e886037f6)
ac91a8a3a8
fix(deps): update module golang.org/x/oauth2 to v0.13.0
(cherry picked from commit 8b714eee7fa11a686e2bf543f7652bff6bdeb965)
4c8712c70d
fix(deps): update github.com/dustinkirkland/golang-petname digest to 6a283f1
(cherry picked from commit 4bc3d50349a2c5c10d3beba91529dda3dedb72b2)
75085302c9
fix(deps): update module github.com/prometheus/client_golang to v1.17.0
(cherry picked from commit f8c5b666859ae06979f3af388b04afc7f39632f4)
7ce18860a6
fix(deps): update src.techknowlogick.com/xgo digest to 6fc6b16
(cherry picked from commit 95c5743438c5ed695d483545c618fac4ec6af44d)
ea476e738c
fix(deps): update module github.com/getsentry/sentry-go to v0.25.0
(cherry picked from commit ef3d658f2c5dc98ea23f414748dcb634983fb9bb)
5b7bb9f983
fix(deps): update module github.com/spf13/viper to v1.17.0
(cherry picked from commit 33ed4b71add0166b4a552c98edaf0475dffb7f6f)
eef4f0afa2
fix(deps): update module github.com/spf13/afero to v1.10.0
(cherry picked from commit 4ede68d7a753d88c84869fe5caefc9bc7b75ebbd)
d30965554c
fix(deps): update module github.com/swaggo/swag to v1.16.2
(cherry picked from commit 52c21eb6d539d0e9d0737deb9015ea952d820756)
f5883db889
fix(deps): update module golang.org/x/image to v0.13.0
(cherry picked from commit aecd95bd8c159be5477e93d9ce10454ed5694dcb)
1019948216
fix(deps): update module golang.org/x/sync to v0.4.0
(cherry picked from commit 8bd5ab7f323b6ef02fe0821f795a496a794ca7f8)
83025fb527
fix(deps): update module github.com/labstack/echo/v4 to v4.11.2
(cherry picked from commit 365b46e14729689a55261f2bf6823c416455e4dd)
0449aaba0b chore(deps): update postgres docker tag to v16 (#1618)
Reviewed-on: vikunja/api#1618
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
3097336054 chore(deps): update goreleaser/nfpm docker tag to v2.33.1 (#1560)
Reviewed-on: vikunja/api#1560
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
9cdccd7005 chore(deps): update mariadb docker tag to v11 (#1544)
Reviewed-on: vikunja/api#1544
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
baa907f738
fix(deps): update module github.com/gabriel-vasile/mimetype to v1.4.3
(cherry picked from commit 29e55577d05d296095f1972014b03d0d4ef0184f)
78812e47b2
fix(deps): update module github.com/coreos/go-oidc/v3 to v3.7.0
(cherry picked from commit 8b59eef595ba764cddcf4a82dea65fb89087eae1)
edab83b7c5
fix(deps): update src.techknowlogick.com/xgo digest to ecfba3d
(cherry picked from commit 552cc1384a615b55beddc8b8a17a690daaea18ca)
8a4856ad87 feat: convert all markdown content to html (#1625)
Migration for vikunja/frontend#2222

Reviewed-on: vikunja/api#1625
Co-authored-by: kolaente <k@knt.li>
Co-committed-by: kolaente <k@knt.li>
70cec74239 fix(deps): update module src.techknowlogick.com/xormigrate to v1.6.0 (#1627)
Reviewed-on: vikunja/api#1627
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
f1a2028f59
fix(deps): update module github.com/google/uuid to v1.4.0
(cherry picked from commit 14e2842ceadf91bdf56012fc7862acbeb4f9b9c5)
ae77ee068b
fix(deps): update module src.techknowlogick.com/xormigrate to v1.7.0
(cherry picked from commit 468acf72d6388dd3f1e8dd70c1c83522c78b01fb)
66afe52afb fix(deps): update module xorm.io/xorm to v1.3.4 (#1630)
Reviewed-on: vikunja/api#1630
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
zewaren added 1 commit 2023-10-29 21:01:39 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b feature/caldav-subtasks main
git pull origin feature/caldav-subtasks

Step 2:

Merge the changes and update on Gitea.
git checkout main
git merge --no-ff feature/caldav-subtasks
git push origin main
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: zewaren/api#4
No description provided.