1
0
Commit Graph

2300 Commits

Author SHA1 Message Date
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: https://kolaente.dev/vikunja/api/pulls/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: https://kolaente.dev/vikunja/api/pulls/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: https://kolaente.dev/vikunja/api/pulls/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: https://kolaente.dev/vikunja/api/pulls/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: https://kolaente.dev/vikunja/api/pulls/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: https://kolaente.dev/vikunja/api/pulls/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: https://kolaente.dev/vikunja/api/pulls/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: https://kolaente.dev/vikunja/api/pulls/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: https://kolaente.dev/vikunja/api/pulls/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: https://kolaente.dev/vikunja/api/pulls/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: https://kolaente.dev/vikunja/api/pulls/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: https://kolaente.dev/vikunja/api/pulls/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: https://kolaente.dev/vikunja/api/pulls/579
2020-06-05 13:26:35 +00:00
966acf51d8 Update golang.org/x/crypto commit hash to 70a84ac (#578)
Update golang.org/x/crypto commit hash to 70a84ac

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/578
2020-06-05 13:26:21 +00:00
b5b84e6bbd Update golang.org/x/crypto commit hash to 279210d (#577)
Update golang.org/x/crypto commit hash to 279210d

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/577
2020-06-03 08:53:09 +00:00
f72aa4e52f Update src.techknowlogick.com/xgo commit hash to a09175e (#576)
Update src.techknowlogick.com/xgo commit hash to a09175e

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/576
2020-06-02 07:33:43 +00:00
d9f1d456d3 Update src.techknowlogick.com/xgo commit hash to eeb7c0a (#575)
Update src.techknowlogick.com/xgo commit hash to eeb7c0a

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/575
2020-06-02 06:39:25 +00:00
67f4c9f941 Update module src.techknowlogick.com/xormigrate to v1.2.1 (#574)
Update module src.techknowlogick.com/xormigrate to v1.2.1

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/574
2020-06-01 10:33:58 +00:00
d63666cece Fix getting unsplash thumbnails for non "photo-*" urls 2020-05-31 22:40:27 +02:00
d8a6acda96 Fix proxying unsplash images (security) 2020-05-31 22:36:25 +02:00
03ef48a0ae Properly ping unsplash when using unsplash images 2020-05-31 22:06:59 +02:00
8f35b9d579 Set unsplash empty collection caching to one hour 2020-05-31 20:50:51 +02:00
ebfa982c72 Fix misspell 2020-05-31 18:12:32 +02:00
2fa4fcc202 Fix caching of initial unsplash results per page 2020-05-31 18:09:46 +02:00
ad67154e26 Add cache for initial unsplash collection 2020-05-31 17:59:39 +02:00
250c45d1b9 Remove migration dependency to models 2020-05-30 17:09:35 +02:00
dc036d44db Update theme 2020-05-30 17:00:52 +02:00
9c4c265767 Update alpine Docker tag to v3.12 (#573)
Update alpine Docker tag to v3.12

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/573
2020-05-29 21:44:01 +00:00
a525787ab7 Update and fix staticcheck 2020-05-29 22:15:21 +02:00
aae1bc3cab Load the list when setting a background 2020-05-29 22:12:16 +02:00
42ddee8d6f Add logging if downloading an image from unsplash fails 2020-05-29 22:11:49 +02:00
54b18b3c59 Update module lib/pq to v1.6.0 (#572)
Update module lib/pq to v1.6.0

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/572
2020-05-29 17:47:28 +00:00