Commit graph

1461 commits

Author SHA1 Message Date
kolaente
c8605d6b3d
Enable upload backgrounds by default 2020-06-23 22:53:23 +02:00
kolaente
caee123f9d
Add better errors if the sqlite db file is not writable 2020-06-23 11:21:42 +02:00
renovate
7b31301f09 Update golang.org/x/crypto commit hash to 75b2880 (#596)
Update golang.org/x/crypto commit hash to 75b2880

Reviewed-on: https://kolaente.dev/vikunja/api/pulls/596
2020-06-23 05:55:37 +00:00
kolaente
f2025c2658
Fix sqlite path in default config 2020-06-22 23:13:41 +02:00
kolaente
f324e3fb28
Fix docker multiarch build 2020-06-22 21:33:55 +02:00
kolaente
894d35e4fe
Fix docker manifest build 2020-06-22 20:54:38 +02:00
kolaente
1d9cd82d68
Simplify pipeline & add docker manifest step 2020-06-22 19:23:52 +02:00
kolaente
2bc26fe4fa
Make sure docker images are only built when tests pass 2020-06-22 16:40:41 +02:00
kolaente
4168b9ac26
Add seperate docker pipeline for amd64 and arm 2020-06-22 16:16:19 +02:00
leggettc18
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: https://kolaente.dev/vikunja/api/pulls/595
Reviewed-by: konrad <konrad@kola-entertainments.de>
2020-06-22 04:48:00 +00:00
kolaente
150c3f032c
Prevent crashing when trying to register with an empty payload 2020-06-21 20:54:46 +02:00
kolaente
bfc4dd05ed
Add docs for restore 2020-06-21 17:34:34 +02:00
kolaente
cd812b4232
update theme 2020-06-21 17:32:38 +02:00
konrad
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
kolaente
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
kolaente
c12bac0c96
Return errors when dumping 2020-06-20 11:37:51 +02:00
konrad
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
konrad
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
renovate
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
kolaente
021e3e307b
Remove build date from binary 2020-06-18 19:26:53 +02:00
kolaente
b4cdb75d15
Update xorm.io/xorm 1.0.1 -> 1.0.2 2020-06-18 19:22:58 +02:00
kolaente
ad6ef03c0c
Update xorm.io/xorm 1.0.1 -> 1.0.2 2020-06-18 19:22:43 +02:00
kolaente
5930d5aabf
Update web handler 2020-06-18 18:48:48 +02:00
kolaente
3c5925c827
Add plausible to docs 2020-06-18 18:33:30 +02:00
renovate
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
renovate
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
kolaente
525a547500
Remove min length for labels, lists, namespaces, tasks and teams 2020-06-17 18:52:23 +02:00
kolaente
ca4d5000ed
Add list background information when getting all lists 2020-06-16 18:57:08 +02:00
kolaente
24c1098736
Fix resetting list, label & namespace colors 2020-06-15 11:32:07 +02:00
konrad
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
kolaente
3ba26ce67e
Fix docs theme build 2020-06-13 23:44:05 +02:00
konrad
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
konrad
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
kolaente
f5e44d9eb3
Reorganize cmd init functions 2020-06-13 19:44:45 +02:00
kolaente
d9d00ba60c
Fix migration 20200516123847 2020-06-13 19:33:48 +02:00
kolaente
a15b1bebba
Fix migration 20200425182634 2020-06-13 19:27:12 +02:00
kolaente
980be0e4e0
update theme 2020-06-12 23:37:47 +02:00
konrad
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
renovate
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
kolaente
32a5dff78d
Fix migration to add position to task
Signed-off-by: kolaente <k@knt.li>
2020-06-07 18:28:49 +02:00
renovate
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
renovate
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
renovate
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
renovate
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
renovate
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
renovate
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
renovate
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
kolaente
d63666cece
Fix getting unsplash thumbnails for non "photo-*" urls 2020-05-31 22:40:27 +02:00
kolaente
d8a6acda96
Fix proxying unsplash images (security) 2020-05-31 22:36:25 +02:00
kolaente
03ef48a0ae
Properly ping unsplash when using unsplash images 2020-05-31 22:06:59 +02:00