Commit Graph

1069 Commits

Author SHA1 Message Date
a7326252a2
Fix session in list duplication & routes 2020-12-23 01:54:11 +01:00
1921f80a4a
Use sessions in migration code 2020-12-23 01:52:28 +01:00
996a207590
Make sure the openid stuff uses a session 2020-12-23 01:43:44 +01:00
c3c7cab045
Add alias for db type in db package 2020-12-23 01:38:30 +01:00
4dce70ac0a
Use sessions for file 2020-12-23 01:36:34 +01:00
7088b64dc8
Use a session for everything in users 2020-12-23 01:32:41 +01:00
1cab1f63af
Use a session for everything in users 2020-12-23 01:32:33 +01:00
e3e7021c8c
Make sure to use a session everywhere in models 2020-12-23 01:13:52 +01:00
4d491701ca
Create new session from db 2020-12-23 01:10:38 +01:00
79731d66ed
Add session handling for user list 2020-12-23 01:06:54 +01:00
662593d4fd
Add session handling for unsplash 2020-12-23 01:05:44 +01:00
0cc2a4fbd1
Add session handling for teams and related 2020-12-23 01:05:23 +01:00
7b1d838997
Add session handling for tasks and related entities 2020-12-23 00:51:28 +01:00
1528e7d861
Add session handling for task reminders 2020-12-22 23:08:20 +01:00
bcbae6b9e4
Add session handling for task relations 2020-12-22 23:06:41 +01:00
19c5ce05f7
Add session handling for task comments 2020-12-22 22:54:56 +01:00
6321eeb300
Add session handling for task collections 2020-12-22 22:47:25 +01:00
7fdc5fc293
Add session handling for task attachments 2020-12-22 22:44:38 +01:00
2742530766
Add session handling for task assignees 2020-12-22 22:38:54 +01:00
5b76312004
Add session handling for saved filters 2020-12-22 21:26:19 +01:00
0dd519c9e9
Add session handling for namespace and related types 2020-12-22 21:15:43 +01:00
ce2d359714
Add session handling for namespace and related types 2020-12-22 21:15:37 +01:00
a62d222132
Add session handling for list users 2020-12-22 20:46:42 +01:00
ada332e87c
Add session handling for list tests 2020-12-22 18:39:48 +01:00
14cb1123e7
Add session handling to list teams and related entities 2020-12-22 18:25:36 +01:00
5758506e7c
Add session handling for link shares and related entities 2020-12-22 17:41:39 +01:00
9dabbab245
Add session handling for labels and related entities 2020-12-22 17:36:06 +01:00
b35e788ecf
Add session handling for kanban and related entities 2020-12-22 17:19:42 +01:00
6e247421c1
Add session handling for bulk task and related entities 2020-12-22 17:14:35 +01:00
025697f286
Add session handling for lists and related entities 2020-12-22 16:45:55 +01:00
106b9fe643
Add session configuration for web handler
Signed-off-by: kolaente <k@knt.li>
2020-12-22 16:39:27 +01:00
5361d6f8d2
Update web handler
Signed-off-by: kolaente <k@knt.li>
2020-12-22 15:23:18 +01:00
fa68e89c04
Add task filters for kanban
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kolaente <k@knt.li>
2020-12-22 12:38:05 +01:00
2d4e2e452c Add task filter for lists and namespaces (#748)
All checks were successful
continuous-integration/drone/push Build is passing
Add more tests for getting namespaces

Fix namespaces not found

Fix namespaces not found

Make like the default

Update docs & fix docs

Enable searching namespaces by their ids

Enable searching lists by their ids

Enable searching labels by their ids

Enable searching by user ids

Update docs

Add namespace filter

Add task filter for lists

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#748
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-21 23:13:15 +00:00
111efd5fae Update golang.org/x/crypto commit hash to eec23a3 (#749)
All checks were successful
continuous-integration/drone/push Build is passing
Update golang.org/x/crypto commit hash to eec23a3

Reviewed-on: vikunja/api#749
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-21 19:17:02 +00:00
03e4bf30c2 Add task filter for labels (#747)
All checks were successful
continuous-integration/drone/push Build is passing
Update docs

Add task filter for labels

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#747
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-20 12:41:36 +00:00
18325e964d Add task filter for assignees (#746)
All checks were successful
continuous-integration/drone/push Build is passing
Update docs

Add filter by assignee

Fix string values

Update docs

Update docs

Make "in" task filter actually work

Add "in" filter type

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#746
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-19 21:39:11 +00:00
92bcce3f7c Add task filter for reminders (#745)
All checks were successful
continuous-integration/drone/push Build is passing
Update swagger docs about reminders

Fix filter concat for reminders

Add task filter for reminders

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#745
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-19 15:14:20 +00:00
9508d0faee
Fix missing auto increments from b0d4902406 on mysql
All checks were successful
continuous-integration/drone/push Build is passing
Fixes #744
2020-12-19 15:04:30 +01:00
90817b6dae
Add "like" filter comparator
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-19 13:56:55 +01:00
b2e4fde63a Add email reminders (#743)
All checks were successful
continuous-integration/drone/push Build is passing
Fix tests

Expose email reminder setting through jwt

Set reminders on by default

Fix lint

Make user email configurable

Expose email reminder setting through /info

Don't try to send any reminders if none were found

More spacing for buttons

Fix db time format

Enable reminders by default

Make emails look more like the frontend

Add config to disable it

Add sending emaisl

Add getting all task users and reminding them

Add getting the next reminder in a cron

Move task reminder to separate file

Add cron

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#743
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-18 23:21:17 +00:00
7dc2abb8e5
Make the debian repo structure for buster instead of strech
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-18 23:33:23 +01:00
27c44d6d5e
Change avatar endpoint
Some checks failed
continuous-integration/drone/push Build is failing
2020-12-18 23:11:11 +01:00
8a6f8922f8 Update module go-redis/redis/v8 to v8.4.4 (#742)
All checks were successful
continuous-integration/drone/push Build is passing
Update module go-redis/redis/v8 to v8.4.4

Reviewed-on: vikunja/api#742
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-18 16:51:46 +00:00
b0d4902406 Make sure all int64 db fields are using bigint when actually storing the data (#741)
Some checks reported errors
continuous-integration/drone/push Build was killed
Fix lint

Fix migration query for postgres

Fix migration statements

Add migration to make all int(11) fields bigint by default

Make all int(11) fields bigint by default

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#741
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-18 16:51:22 +00:00
f15a8baee3 Update module ulule/limiter/v3 to v3.8.0 (#699)
All checks were successful
continuous-integration/drone/push Build is passing
fmt

Upgrade redis client to v8 everywhere

Update module ulule/limiter/v3 to v3.8.0

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#699
Co-Authored-By: renovate <renovatebot@kolaente.de>
Co-Committed-By: renovate <renovatebot@kolaente.de>
2020-12-18 15:21:21 +00:00
0bd2632d29 Add login via email (#740)
All checks were successful
continuous-integration/drone/push Build is passing
Add login via email

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#740
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-18 13:54:49 +00:00
8d739b2cf9 Refactor adding more details to tasks (#739)
All checks were successful
continuous-integration/drone/push Build is passing
Refactor adding more details to tasks

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#739
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-12-18 13:54:36 +00:00
ccfa019870
Don't create a list identifier by default
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-18 13:07:34 +01:00
969e467f48 Add colors for caldav (#738)
All checks were successful
continuous-integration/drone/push Build is passing
Add colors for caldav

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#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