1
0
Commit Graph

322 Commits

Author SHA1 Message Date
c495096444 fix: make sure task indexes are calculated correctly when moving tasks between lists
Resolves https://github.com/go-vikunja/api/issues/52
2022-11-02 17:40:52 +01:00
9fc08a0790 fix(lists): return correct max right for lists where the user has created the namespace 2022-10-25 18:54:11 +02:00
b8769c746c feat: allow a user to remove themselves from a team 2022-10-09 16:39:40 +02:00
2fc690a783 fix: make sure list subscriptions are set correctly when their namespace has a subscription already 2022-10-07 14:18:36 +02:00
008908eb49 fix: make sure a user can only be assigned once to a task
See https://community.vikunja.io/t/task-can-be-assigned-twice-or-more-to-the-same-user/883
2022-10-06 18:22:19 +02:00
631a265d2d feat: add proper checks and errors to see if an attachment belongs to the task it's being used as cover image in 2022-10-05 15:12:29 +02:00
0eb47096db fix: make cover image id actually updatable 2022-10-05 15:12:29 +02:00
0e1904d50b fix: make cover image id actually updatable 2022-10-05 15:12:29 +02:00
b4b25499f2 feat(task): add cover image attachment id property 2022-10-05 15:12:29 +02:00
c5bd09702a chore(deps): update dependency golang to v1.19 (#1228)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1228
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2022-10-01 15:05:12 +00:00
878d19beb8 fix: make sure pseudo namespaces and lists always have the current user as owner 2022-10-01 15:19:46 +02:00
96ed1e33e3 fix: don't allow setting a list namespace to 0
See https://github.com/go-vikunja/app/issues/13
2022-10-01 15:02:17 +02:00
45defebcf4 fix: tasks with the same assignee as doer should not appear twice in overdue task mails 2022-09-30 18:35:40 +02:00
3adfeb3b34 fix(namespaces): add list subscriptions (#1254)
Add list subscriptions to namespaces call to enable frontend to show subscription state correctly.

Resolves https://github.com/go-vikunja/frontend/issues/75

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1254
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Luca Bernstein <luca@lucabernstein.com>
Co-committed-by: Luca Bernstein <luca@lucabernstein.com>
2022-09-29 09:49:24 +00:00
090c67138a fix: preserve dates for repeating tasks (#47)
Reviewed-At: https://github.com/go-vikunja/api/pull/47
2022-09-16 17:20:08 +02:00
0c8bed4054 fix: lint 2022-08-16 21:27:32 +00:00
9ddd7f4889 fix: only list all users when allowed 2022-08-16 21:27:32 +00:00
7f28865903 feat: search by assignee username instead of id 2022-08-16 21:27:32 +00:00
3ccc6365a6 fix: prevent moving a list into a pseudo namespace 2022-08-15 23:25:39 +02:00
c51ee94ad1 fix: return all users on a list when no search param was provided 2022-08-02 15:02:00 +02:00
382a7884be fix: make sure to use user discoverability settings when searching list users
Resolves https://kolaente.dev/vikunja/frontend/issues/2196
2022-08-02 13:26:42 +02:00
dd461746a6 fix: add validation for negative repeat after values
Partial fix for https://kolaente.dev/vikunja/frontend/issues/2179
2022-07-21 15:00:28 +02:00
5743a4afe5 fix: properly set tls config for mailer 2022-07-11 16:10:28 +02:00
62325de9cd feat: use actual uuids for tasks 2022-07-11 14:54:33 +02:00
5cc4927b9e fix: add missing error check 2022-07-07 23:23:15 +02:00
f5a4c136fb fix: cycles in tasks array when memory caching was enabled
Resolves #1119
2022-07-07 18:34:49 +02:00
01271c4c01 feat: allow only the authors of task comments to edit them 2022-06-16 17:38:27 +02:00
8869adfc27 feat: add setting to change overdue tasks reminder email time 2022-06-16 16:20:26 +02:00
7eb3b96a44 feat: send overdue tasks email notification at 9:00 in the user's time zone 2022-06-12 21:24:28 +02:00
e52c45d5aa fix: sort tasks logically and consistent across dbms (#1177)
This PR changes the behavoir of sorting tasks. Before, tasks were sorted with null values first. Now, null values are always sorted last which is usually what you want.

Partial fix for https://github.com/go-vikunja/frontend/issues/54

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1177
2022-05-30 20:53:58 +00:00
f83b09af59 feat: generate a BlurHash when uploading a new image 2022-03-30 16:36:07 +00:00
362706b38d feat: add migration to create BlurHash strings for all list backgrounds 2022-03-30 16:36:07 +00:00
0a1d8c9404 feat: add date math for filters (#1086)
This adds support for relative dates in filters, similar to the ones from [grafana](https://grafana.com/docs/grafana/latest/dashboards/time-range-controls) or [elasticsearch](https://www.elastic.co/guide/en/elasticsearch/reference/7.3/common-options.html#date-math).

In short, it allows you to filter for due dates by passing in dates like "now - 7d" to get a date from 7 days ago.

This is a very powerful addition for saved filters as they will allow you to create filters for all kinds of stuff where you previously only could use fixed dates. Now you can for example create a saved filter for "all tasks this week".

Frontend PR: https://kolaente.dev/vikunja/frontend/pulls/1342

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1086
2022-03-27 20:35:04 +00:00
5cf263a86f feat: upgrade golangci-lint to 1.45.2 2022-03-27 16:55:37 +02:00
b60c69c5a8 chore: cleanup namespace creation 2022-03-06 17:09:05 +01:00
f7a06e4644 Enable a list to be moved across namespaces (#1096)
Co-authored-by: Simon Hilchenbach <simon@hilchenba.ch>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1096
Reviewed-by: konrad <k@knt.li>
Co-authored-by: shilch <simon@hilchenba.ch>
Co-committed-by: shilch <simon@hilchenba.ch>
2022-01-23 12:59:43 +00:00
61d49c3a56 feat: add time zone setting for reminders (#1092)
Instead of naeveily checking for all reminders due in the next minute, we now check all reminders in all time zones in the next minutes. This essentially means checking for reminders due in the next 14 or past 12 hours. We then check for each user who would receive a reminder from that result if it is actually due in their time zone.

This should prevent issues where users would get the reminder in the time zone of their server, not in their own.

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/1092
Co-authored-by: konrad <k@knt.li>
Co-committed-by: konrad <k@knt.li>
2022-01-16 11:05:56 +00:00
5c88dfe88e fix: user deletion schedule 2021-12-12 12:29:05 +01:00
70e005e7ce fix: user not actually deleted 2021-12-12 12:28:18 +01:00
72d3c54efd fix: user deletion never happens
Resolves #1024
2021-12-12 12:04:17 +01:00
f8a0a7e953 fix: deleting users with no namespaces
resolves #984
2021-11-22 22:34:20 +01:00
57e5d10eee fix: sorting for saved filters
resolves #786
2021-11-14 21:03:55 +01:00
cf05de19b3 fix: updating a list might remove its background
resolves #1039
2021-11-13 17:52:14 +01:00
8f55af07c9 feat: add more debug logging when deleting users
related to #1021
2021-10-27 22:08:31 +02:00
50b65a517d fix: correctly load and pass the user when deleting it
Fixes #984
2021-10-16 17:00:48 +02:00
d7e47a28d4 fix: don't try to load the namespace of a list if it is a shared list 2021-10-16 16:50:16 +02:00
c2b6119434 fix: make sure the full task is available in notifications 2021-10-16 16:38:59 +02:00
465f6d90ab Fix tasks not exported 2021-09-08 18:40:54 +02:00
03d818fd9f Fix tmp export file created in the wrong path 2021-09-08 17:44:23 +02:00
f019ae42bb Fix exporting tasks from archived lists 2021-09-08 17:40:33 +02:00