Commit Graph

821 Commits

Author SHA1 Message Date
0bbe6b93b5
Make sure to not migrate 0 unix timestamps to 1970 iso dates
Some checks reported errors
continuous-integration/drone/pr Build was killed
2020-06-23 23:35:43 +02:00
e3e27ab94b
Add migration script for sqlite
Some checks reported errors
continuous-integration/drone/pr Build was killed
2020-06-23 23:25:25 +02:00
d9ba8b96c2
SQLite stub
Some checks failed
continuous-integration/drone/pr Build is failing
2020-06-22 22:57:30 +02:00
b756ffea19
Add converting sqlite values 2020-06-22 22:54:05 +02:00
5a94a18e02
Convert 0 unix timestamps to null in postgres 2020-06-22 22:33:50 +02:00
f45ed9453d
Convert 0 to null in timestamps
Some checks reported errors
continuous-integration/drone/pr Build was killed
2020-06-22 22:19:28 +02:00
6092fbd78d
Automatically rename _unix suffix 2020-06-22 22:11:01 +02:00
78757162ab
Add all tables and columns for migration
Some checks reported errors
continuous-integration/drone/pr Build was killed
2020-06-22 21:55:17 +02:00
c91a791a4d
Merge branch 'master' into feature/datetime
Some checks failed
continuous-integration/drone/pr Build is failing
2020-06-22 21:34:48 +02:00
f324e3fb28
Fix docker multiarch build
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-22 21:33:55 +02:00
155371a3fd
Fix sql migration query for mysql 2020-06-22 21:30:05 +02:00
557be7c334
Merge branch 'master' into feature/datetime 2020-06-22 21:00:13 +02:00
894d35e4fe
Fix docker manifest build
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-06-22 20:54:38 +02:00
1d9cd82d68
Simplify pipeline & add docker manifest step
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-22 19:23:52 +02:00
2bc26fe4fa
Make sure docker images are only built when tests pass
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-22 16:40:41 +02:00
4168b9ac26
Add seperate docker pipeline for amd64 and arm
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-06-22 16:16:19 +02:00
8b030135de Added section to full-docker-example.md for Caddy v2. (#595)
All checks were successful
continuous-integration/drone/push Build is passing
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
46003efc50
Fix sql statement for mysql
Some checks failed
continuous-integration/drone/pr Build is failing
2020-06-21 23:21:21 +02:00
d3cf78cb8d
Start adding migration for time.Time 2020-06-21 22:59:37 +02:00
1a5e245b9e
Fail with an error if trying to use an unsupported dbms 2020-06-21 22:59:13 +02:00
150c3f032c
Prevent crashing when trying to register with an empty payload
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-21 20:54:46 +02:00
bfc4dd05ed
Add docs for restore
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-21 17:34:34 +02:00
cd812b4232
update theme 2020-06-21 17:32:38 +02:00
e4f150bbe3 Restore command (#593)
Some checks failed
continuous-integration/drone/push Build is failing
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
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-20 11:48:45 +02:00
c12bac0c96
Return errors when dumping
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-20 11:37:51 +02:00
fba333866d Add dump command (#592)
All checks were successful
continuous-integration/drone/push Build is passing
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)
All checks were successful
continuous-integration/drone/push Build is passing
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)
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-18 19:26:53 +02:00
b4cdb75d15
Update xorm.io/xorm 1.0.1 -> 1.0.2
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-18 19:22:58 +02:00
ad6ef03c0c
Update xorm.io/xorm 1.0.1 -> 1.0.2
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-18 19:22:43 +02:00
5930d5aabf
Update web handler
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-18 18:48:48 +02:00
3c5925c827
Add plausible to docs
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2020-06-18 18:33:30 +02:00
b7c8c1f533 Update module prometheus/client_golang to v1.7.0 (#589)
All checks were successful
continuous-integration/drone/push Build is passing
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)
All checks were successful
continuous-integration/drone/push Build is passing
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
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-17 18:52:23 +02:00
ca4d5000ed
Add list background information when getting all lists
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-16 18:57:08 +02:00
24c1098736
Fix resetting list, label & namespace colors
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-15 11:32:07 +02:00
47d7e713af Repeat tasks after completion (#587)
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-13 23:44:05 +02:00
ab1d58959f Ensure task dates are in the future if a task has a repeating interval (#586)
All checks were successful
continuous-integration/drone/push Build is passing
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)
Some checks failed
continuous-integration/drone/push Build is failing
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
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-13 19:44:45 +02:00
d9d00ba60c
Fix migration 20200516123847
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-13 19:33:48 +02:00
a15b1bebba
Fix migration 20200425182634
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-13 19:27:12 +02:00
980be0e4e0
update theme
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-12 23:37:47 +02:00
a0ffe89056 List Background upload (#582)
All checks were successful
continuous-integration/drone/push Build is passing
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)
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kolaente <k@knt.li>
2020-06-07 18:28:49 +02:00