1
0
Commit Graph

1078 Commits

Author SHA1 Message Date
006f932dc4 feat(views)!: decouple bucket CRUD from projects 2024-03-19 00:47:47 +01:00
0a3f45ab11 feat(views): decouple buckets from projects 2024-03-19 00:47:47 +01:00
d1d07f462c feat(views): sort tasks by their position relative to the view they're in 2024-03-19 00:47:46 +01:00
2502776460 feat(views)!: move task position handling to its own crud entity
BREAKING CHANGE: the position of tasks now can't be updated anymore via the task update endpoint. Instead, there is a new endpoint which takes the project view into account as well.
2024-03-19 00:47:46 +01:00
238baf86f7 feat(views)!: return tasks in buckets by view
BREAKING CHANGE: tasks in their bucket are now only retrievable via their view. The /project/:id/buckets endpoint now only returns the buckets for that project, which is more in line with the other endpoints
2024-03-19 00:47:46 +01:00
652bf4b4ed feat(views): (un)marshal custom project view mode types 2024-03-19 00:47:46 +01:00
a9020e976d feat(views): add bucket configuration mode 2024-03-19 00:47:46 +01:00
38457aaca5 feat(views): use project id when fetching views 2024-03-19 00:47:46 +01:00
98b7cc9254 feat(views): do not override filters in view 2024-03-19 00:47:46 +01:00
4149ebed3a feat(views): create default views when creating a filter 2024-03-19 00:47:46 +01:00
2096fc5274 feat(views): return tasks in a view 2024-03-19 00:47:46 +01:00
e4b1a5d2db feat(views): create default 4 default view for projects 2024-03-19 00:47:46 +01:00
2fa3e2c2f5 feat(views): return views with their projects 2024-03-19 00:47:46 +01:00
ee228106fc feat(views): add new default views for filters 2024-03-19 00:47:45 +01:00
b39c5580c2 feat(views): add crud handlers and routes for views 2024-03-19 00:47:45 +01:00
6bdb33fb46 feat(views): add new model and migration 2024-03-19 00:47:45 +01:00
8c826c44d2 fix(webhooks): fire webhooks set on parent projects as well 2024-03-13 19:41:34 +01:00
5b2b7f7bdc fix(kanban): reset done and default bucket when the bucket itself is deleted
Resolves https://github.com/go-vikunja/vikunja/issues/234
2024-03-12 22:23:35 +01:00
792bf88dcf [skip ci] Updated swagger docs 2024-03-12 19:47:16 +00:00
a5c51d4b1e feat: emoji reactions for tasks and comments (#2196)
This PR adds reactions for tasks and comments, similar to what you can do on Gitea, GitHub, Slack and plenty of other tools.

Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2196
Co-authored-by: kolaente <k@knt.li>
Co-committed-by: kolaente <k@knt.li>
2024-03-12 19:25:58 +00:00
3f380e0d61 [skip ci] Updated swagger docs 2024-03-11 16:41:16 +00:00
0910d5d2f2 chore(auth): refactor removing empty openid teams to cron job 2024-03-11 17:20:05 +01:00
09d5128050 fix(filters): don't escape valid escaped in queries 2024-03-11 17:02:04 +01:00
a66e26678e feat(filters): pass timezone down when filtering with relative date math
Resolves https://community.vikunja.io/t/my-vikunja-instance-creates-tasks-with-due-date-time-of-9am-for-tasks-with-the-word-today-word-in-it/2105/8
2024-03-11 16:28:25 +01:00
6fc3d1e98f fix: lint 2024-03-11 15:42:09 +01:00
3896c680d3 fix(filters): do not require string for in comparator 2024-03-11 14:36:59 +01:00
6c98052176 fix(teams): fix duplicate teams being shown when new public team visibility feature is enabled (#2187)
Due to the `INNER JOIN` on the `team_members` table and the new `OR` conditions allowing teams with the `isPublic` flag set to `true`, teams are returned multiple times. As we're only after the teams, a simple distinct query should fix the issue.

Co-authored-by: Daniel Herrmann <daniel.herrmann1@gmail.com>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2187
Co-authored-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
Co-committed-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
2024-03-10 21:42:34 +00:00
0057ac5836 fix(migration): only download uploaded attachments 2024-03-10 18:41:37 +01:00
ca0de680ad fix(migration): import card covers when migrating from Trello 2024-03-10 16:30:06 +01:00
ffa82556e0 feat(teams): add public flags to teams to allow easier sharing with other teams (#2179)
Resolves #2173
Co-authored-by: Daniel Herrmann <daniel.herrmann1@gmail.com>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2179
Reviewed-by: konrad <k@knt.li>
Co-authored-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
Co-committed-by: waza-ari <daniel.herrmann@makerspace-darmstadt.de>
2024-03-10 14:04:32 +00:00
d7fdefcead chore(deps): update golangci/golangci-lint docker tag to v1.56.2 (#2099)
Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2099
Co-authored-by: renovate <renovatebot@kolaente.de>
Co-committed-by: renovate <renovatebot@kolaente.de>
2024-03-10 13:47:19 +00:00
116b909d31 [skip ci] Updated swagger docs 2024-03-10 12:18:34 +00:00
e95159a33c feat(filters): query-based filter logic (#2177)
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2177
2024-03-10 12:01:47 +00:00
c5e8ff66fb fix(migration): updated Trello color map to import all labels (#2178)
Trello has [added 20 color variants](https://www.atlassian.com/blog/trello/20-new-trello-label-colors) that were not imported, added them. Also added a fallback to save labels even if the color is not mapped yet.

Resolves https://community.vikunja.io/t/get-info-about-importation-trello/1968/16
Reviewed-on: https://kolaente.dev/vikunja/vikunja/pulls/2178
Reviewed-by: konrad <k@knt.li>
Co-authored-by: Hangya <ronkayj@gmail.com>
Co-committed-by: Hangya <ronkayj@gmail.com>
2024-03-10 11:23:38 +00:00
654e95d99f fix(filters): test fixture 2024-03-09 20:21:05 +01:00
4e6e0608c7 fix(filters): lint 2024-03-09 20:08:17 +01:00
32e1a2018a chore: generate swagger docs 2024-03-09 19:07:31 +01:00
05d3bb4fb6 fix(filters): swagger docs for kanban buckets 2024-03-09 19:07:31 +01:00
d0b762d761 docs(filter): add filter query explanation 2024-03-09 19:07:31 +01:00
28fa2c517a feat(filters): make new filter syntax work with Typesense 2024-03-09 19:06:48 +01:00
bc6d812eb0 fix(filters): lint 2024-03-09 19:06:35 +01:00
87c027aafd chore(filters): cleanup old variables 2024-03-09 19:06:35 +01:00
65e1357705 fix(tests): make filter tests work again 2024-03-09 19:06:35 +01:00
eebfee73d3 fix(filter): correctly filter for buckets 2024-03-09 19:06:35 +01:00
ef1cc9720c feat(filter): add in keyword 2024-03-09 19:06:35 +01:00
c6b682507a feat(filter): add better error message when passing an invalid filter expression 2024-03-09 19:06:35 +01:00
9d3fb6f81d chore(filter): cleanup 2024-03-09 19:06:35 +01:00
3ea81db836 feat(filter): migrate existing saved filters 2024-03-09 19:06:35 +01:00
76ed2cff5f feat(filter): nesting 2024-03-09 19:06:35 +01:00
e43349618b feat(filter): more tests 2024-03-09 19:06:35 +01:00