Commit Graph

929 Commits

Author SHA1 Message Date
6da137cd4a
Remove go mod vendor todo from pr template now that we don't keep dependencies in the repo anymore
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-30 17:09:18 +02:00
9750a23dbe
Make the db timezone migration mysql compatible
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-30 11:29:47 +02:00
1c93aab7e0
Fix not loading timezones on all operating systems
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-30 09:55:46 +02:00
53c4637fb6 Update module spf13/afero to v1.3.1 (#602)
All checks were successful
continuous-integration/drone/push Build is passing
Update module spf13/afero to v1.3.1

Reviewed-on: vikunja/api#602
2020-06-28 18:25:51 +00:00
3b2289c8fa
Fix swagger docs
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-28 16:25:46 +02:00
b55b21373c Update module swaggo/swag to v1.6.7 (#601)
All checks were successful
continuous-integration/drone/push Build is passing
Update module swaggo/swag to v1.6.7

Reviewed-on: vikunja/api#601
2020-06-28 14:11:17 +00:00
53cfa99912
Remove vendored dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-28 14:00:10 +02:00
f30e720c7b
Update dependency github.com/mattn/go-sqlite3 to v1.14.0
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2020-06-28 13:05:33 +02:00
57c84f3adc Update module go-testfixtures/testfixtures/v3 to v3.3.0 (#600)
All checks were successful
continuous-integration/drone/push Build is passing
Update module go-testfixtures/testfixtures/v3 to v3.3.0

Reviewed-on: vikunja/api#600
2020-06-28 07:23:55 +00:00
2820d92ab3
Expose namespace id when querying lists
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-27 23:00:15 +02:00
780a654f65 Update github.com/shurcooL/vfsgen commit hash to 92b8a71 (#599)
Some checks reported errors
continuous-integration/drone/push Build was killed
Update github.com/shurcooL/vfsgen commit hash to 92b8a71

Reviewed-on: vikunja/api#599
2020-06-27 18:50:08 +00:00
08205008e7 Migrate all timestamps to real iso dates (#594)
All checks were successful
continuous-integration/drone/push Build is passing
Fix query param name

Add option to include null results when filtering

Always set db time to gmt

Fix null filter

Fix timezone setting for todoist parsing

Fix timezone setting for wunderlist parsing

Fix import

Fix caldav reminder parsing

Use timezone from config

Add error and test for invalid filter values

Fix integration tests

Remove task collection date hack

Fix task filter

Fix lint

Fix tests and fixtures for date timezone stuff

Properly set timezone

Change fixtures time zone to gmt

Set db timezone

Set created and updated timestamps for all fixtures

Fix lint

Fix test fixtures

Fix misspell

Fix test fixtures

Partially fix tests

Remove timeutil package

Remove adding _unix suffix hack

Remove _unix suffix

Move all timeutil.TimeStamp to time.Time

Remove all Unix suffixes in field names

Add better error messages when running migrations

Make sure to not migrate 0 unix timestamps to 1970 iso dates

Add migration script for sqlite

Add converting sqlite values

Convert 0 unix timestamps to null in postgres

Convert 0 to null in timestamps

Automatically rename _unix suffix

Add all tables and columns for migration

Fix sql migration query for mysql

Fail with an error if trying to use an unsupported dbms

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#594
2020-06-27 17:04:01 +00:00
e17cac854a
Fix removing existing sqlite files
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-27 16:34:53 +02:00
974d028e51
Fix sqlite db not working when creating a new one
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-26 19:45:19 +02:00
be11362533
Fix searching for unsplash pictures with words that contain a space
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-26 00:37:10 +02:00
912abb3a10
Fix namespace title not being updated
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2020-06-26 00:03:28 +02:00
0add1dce01
Add go version to version command
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-25 15:59:06 +02:00
922c41236c Update module prometheus/client_golang to v1.7.1 (#597)
All checks were successful
continuous-integration/drone/push Build is passing
Update module prometheus/client_golang to v1.7.1

Reviewed-on: vikunja/api#597
2020-06-24 05:41:09 +00:00
c8605d6b3d
Enable upload backgrounds by default
Some checks failed
continuous-integration/drone/push Build is failing
2020-06-23 22:53:23 +02:00
caee123f9d
Add better errors if the sqlite db file is not writable
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-23 11:21:42 +02:00
7b31301f09 Update golang.org/x/crypto commit hash to 75b2880 (#596)
All checks were successful
continuous-integration/drone/push Build is passing
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
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-22 23:13:41 +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
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
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