Commit Graph

819 Commits

Author SHA1 Message Date
Jonas Franz
b64bbcbd7e
Vendor dependencies 2020-06-26 11:11:27 +02:00
d2d6f8cacd
Remove JWT private key 2020-06-25 22:36:57 +02:00
ff16f2516f
Add oauth2 provider 2020-06-25 22:33:49 +02:00
16bd1543ad
Add oauth2 session 2020-06-25 21:54:13 +02:00
9bcfff5627
Use varchar instead of TEXT 2020-06-25 20:29:29 +02:00
ffb70e9879
Improve documentation 2020-06-25 20:25:23 +02:00
e1b4feef60
Implement blocked JTIs 2020-06-25 20:13:06 +02:00
321dd5d181
Remove writing default config 2020-06-25 08:56:39 +02:00
24a95c6d2e
Begin OAuth2 implementation 2020-06-25 08:51:31 +02:00
caee123f9d
Add better errors if the sqlite db file is not writable 2020-06-23 11:21:42 +02:00
7b31301f09 Update golang.org/x/crypto commit hash to 75b2880 (#596)
Update golang.org/x/crypto commit hash to 75b2880

Reviewed-on: vikunja/api#596
2020-06-23 05:55:37 +00:00
f2025c2658
Fix sqlite path in default config 2020-06-22 23:13:41 +02:00
f324e3fb28
Fix docker multiarch build 2020-06-22 21:33:55 +02:00
894d35e4fe
Fix docker manifest build 2020-06-22 20:54:38 +02:00
1d9cd82d68
Simplify pipeline & add docker manifest step 2020-06-22 19:23:52 +02:00
2bc26fe4fa
Make sure docker images are only built when tests pass 2020-06-22 16:40:41 +02:00
4168b9ac26
Add seperate docker pipeline for amd64 and arm 2020-06-22 16:16:19 +02:00
8b030135de Added section to full-docker-example.md for Caddy v2. (#595)
Fixed one more leftover formatting oddity.

Fixed some leftovers from copy-paste.

Added section to full-docker-example.md for Caddy v2.

Co-authored-by: Christopher Leggett <chris@leggett.dev>
Reviewed-on: vikunja/api#595
Reviewed-by: konrad <konrad@kola-entertainments.de>
2020-06-22 04:48:00 +00:00
150c3f032c
Prevent crashing when trying to register with an empty payload 2020-06-21 20:54:46 +02:00
bfc4dd05ed
Add docs for restore 2020-06-21 17:34:34 +02:00
cd812b4232
update theme 2020-06-21 17:32:38 +02:00
e4f150bbe3 Restore command (#593)
Add waiting for changes to config file

Add max size for config files

Restore files

Restore database file

Expose migrate to

Move init stuff to seperate package

Add restoring config file

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#593
2020-06-21 15:30:48 +00:00
db0126968a
Improve memory usage of dump by not loading all files in memory prior to adding them to the zip 2020-06-20 11:48:45 +02:00
c12bac0c96
Return errors when dumping 2020-06-20 11:37:51 +02:00
fba333866d Add dump command (#592)
Fix files location in dump

Fix gitignore

Add docs

Add dumps to gitignore

Move dump to seperate package

logging

Dump files

Dump version

Dump database

Dump config

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#592
2020-06-19 21:29:02 +00:00
d02d413c5e Sentry integration (#591)
Use sentry echo integration to send errors

Only capture errors not already handled by echo

Add sentry panic handler

Add sentry library

Add sentry init

Add sentry config

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#591
2020-06-19 18:47:15 +00:00
c51662c270 Update module src.techknowlogick.com/xormigrate to v1.3.0 (#590)
Update module src.techknowlogick.com/xormigrate to v1.3.0

Reviewed-on: vikunja/api#590
2020-06-18 18:51:06 +00:00
021e3e307b
Remove build date from binary 2020-06-18 19:26:53 +02:00
b4cdb75d15
Update xorm.io/xorm 1.0.1 -> 1.0.2 2020-06-18 19:22:58 +02:00
ad6ef03c0c
Update xorm.io/xorm 1.0.1 -> 1.0.2 2020-06-18 19:22:43 +02:00
5930d5aabf
Update web handler 2020-06-18 18:48:48 +02:00
3c5925c827
Add plausible to docs 2020-06-18 18:33:30 +02:00
b7c8c1f533 Update module prometheus/client_golang to v1.7.0 (#589)
Update module prometheus/client_golang to v1.7.0

Reviewed-on: vikunja/api#589
2020-06-17 21:24:13 +00:00
bf41b2ed9f Update module spf13/afero to v1.3.0 (#588)
Update module spf13/afero to v1.3.0

Reviewed-on: vikunja/api#588
2020-06-17 16:52:36 +00:00
525a547500
Remove min length for labels, lists, namespaces, tasks and teams 2020-06-17 18:52:23 +02:00
ca4d5000ed
Add list background information when getting all lists 2020-06-16 18:57:08 +02:00
24c1098736
Fix resetting list, label & namespace colors 2020-06-15 11:32:07 +02:00
47d7e713af Repeat tasks after completion (#587)
Fix integration tests

Add updating start and end date from current date

Add updating reminders from current date

Add updating reminders from current date

Add updating due date from current date

Add updating flag

Add tests

Add field to repeat a task after current date

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#587
2020-06-14 11:04:38 +00:00
3ba26ce67e
Fix docs theme build 2020-06-13 23:44:05 +02:00
ab1d58959f Ensure task dates are in the future if a task has a repeating interval (#586)
Ensure task dates are in the future if a task has a repeating interval

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#586
2020-06-13 21:32:31 +00:00
f17e378a93 Add migration test in drone (#585)
Add test migration for postgres & mysql

More logging

Set database type explicitly to sqlite

Only extract vikunja binary

Add seperate build step to speed up tests

Add migration test in drone

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#585
2020-06-13 20:45:18 +00:00
f5e44d9eb3
Reorganize cmd init functions 2020-06-13 19:44:45 +02:00
d9d00ba60c
Fix migration 20200516123847 2020-06-13 19:33:48 +02:00
a15b1bebba
Fix migration 20200425182634 2020-06-13 19:27:12 +02:00
980be0e4e0
update theme 2020-06-12 23:37:47 +02:00
a0ffe89056 List Background upload (#582)
Add filesize check when uploading a new file

Fix error 500 if the uploaded background was not an unsplash one

Add upload background setting to info endpoint

Add config docs

Fix lint

Return list background type if it was uploaded

Add file upload

Add docs

Save uploaded backgrounds as file

Add background upload handler

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#582
2020-06-11 17:31:37 +00:00
bd11c9650e Update module lib/pq to v1.7.0 (#581)
Update module lib/pq to v1.7.0

Reviewed-on: vikunja/api#581
2020-06-08 21:17:38 +00:00
32a5dff78d
Fix migration to add position to task
Signed-off-by: kolaente <k@knt.li>
2020-06-07 18:28:49 +02:00
8ef2da8f5f Update module stretchr/testify to v1.6.1 (#580)
Update module stretchr/testify to v1.6.1

Reviewed-on: vikunja/api#580
2020-06-05 13:26:48 +00:00
60e802d77f Update module go-redis/redis/v7 to v7.4.0 (#579)
Update module go-redis/redis/v7 to v7.4.0

Reviewed-on: vikunja/api#579
2020-06-05 13:26:35 +00:00