Commit Graph

842 Commits

Author SHA1 Message Date
23f67eb435
Add comment about test
Some checks reported errors
continuous-integration/drone/pr Build was killed
2020-06-30 17:07:20 +02:00
bfc5577e9e
Make duplicating actually work 2020-06-30 17:05:51 +02:00
babce6a327
Add copying link shares 2020-06-30 16:57:42 +02:00
0bfbc1082b
Add copying list shares 2020-06-30 16:55:36 +02:00
2089fd3da3
Add copying list backgrounds 2020-06-30 11:48:02 +02:00
ccebb888a1
Merge branch 'master' into feature/duplicate-lists 2020-06-30 11:37:55 +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
c9b8ff64ef
Merge branch 'master' into feature/duplicate-lists 2020-06-30 09:56:20 +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
fac0046f12
Add copying task relations 2020-06-29 22:35:28 +02:00
01d1c8f6e9
Add copying task comments 2020-06-29 22:30:02 +02:00
28a4944dd3
Add copying assignees 2020-06-29 22:27:45 +02:00
7e4cd207c2
Add copying task task label relations 2020-06-29 22:20:28 +02:00
9556bb3918
Add copying task attachments 2020-06-29 22:14:50 +02:00
559c2cf0d1
Add duplicating tasks 2020-06-29 21:32:42 +02:00
d10e58b37c
Add basic struct and methods 2020-06-29 11:43:48 +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