Migrate all timestamps to real iso dates #594

Merged
konrad merged 50 commits from feature/datetime into master 2020-06-27 17:04:18 +00:00
Owner

Description

Currently, unix timestamps are used everywhere. These should be real iso timestamps, not those fake timeutil.Timestamp stuff.

Todo

  • Better error messages for failed migration steps to tell about what went wrong
  • Migrations for sqlite
  • Change the names of _unix fields in structs
    • Remove suffix adding hacks in filters and such
  • Change definitions to use time.Time everywhere instead of the hacky timestamp thingy
  • Remove timeutil
  • Make sure all tests still pass
# Description Currently, unix timestamps are used everywhere. These should be real iso timestamps, not those fake `timeutil.Timestamp` stuff. # Todo * [x] Better error messages for failed migration steps to tell about what went wrong * [x] Migrations for sqlite * [x] Change the names of `_unix` fields in structs * [x] Remove suffix adding hacks in filters and such * [x] Change definitions to use `time.Time` everywhere instead of the hacky timestamp thingy * [x] Remove timeutil * [x] Make sure all tests still pass
konrad added 3 commits 2020-06-21 21:22:53 +00:00
konrad added 3 commits 2020-06-22 19:38:06 +00:00
konrad added 1 commit 2020-06-22 19:56:41 +00:00
Add all tables and columns for migration
Some checks reported errors
continuous-integration/drone/pr Build was killed
78757162ab
konrad added 2 commits 2020-06-22 20:20:31 +00:00
Convert 0 to null in timestamps
Some checks reported errors
continuous-integration/drone/pr Build was killed
f45ed9453d
konrad added 3 commits 2020-06-22 20:57:43 +00:00
konrad added 1 commit 2020-06-23 21:26:31 +00:00
Add migration script for sqlite
Some checks reported errors
continuous-integration/drone/pr Build was killed
e3e27ab94b
konrad added 1 commit 2020-06-23 21:36:07 +00:00
Make sure to not migrate 0 unix timestamps to 1970 iso dates
Some checks reported errors
continuous-integration/drone/pr Build was killed
0bbe6b93b5
konrad added 1 commit 2020-06-23 21:38:21 +00:00
Add better error messages when running migrations
Some checks failed
continuous-integration/drone/pr Build is failing
11df4b85e8
konrad added 5 commits 2020-06-25 15:39:15 +00:00
Fix sqlite path in default config
All checks were successful
continuous-integration/drone/push Build is passing
f2025c2658
Update golang.org/x/crypto commit hash to 75b2880 (#596)
All checks were successful
continuous-integration/drone/push Build is passing
7b31301f09
Update golang.org/x/crypto commit hash to 75b2880

Reviewed-on: vikunja/api#596
Add better errors if the sqlite db file is not writable
All checks were successful
continuous-integration/drone/push Build is passing
caee123f9d
Enable upload backgrounds by default
Some checks failed
continuous-integration/drone/push Build is failing
c8605d6b3d
Merge branch 'master' into feature/datetime
Some checks failed
continuous-integration/drone/pr Build is failing
6ef4a915b1
konrad added 1 commit 2020-06-25 22:08:54 +00:00
Merge branch 'master' into feature/datetime
Some checks failed
continuous-integration/drone/pr Build is failing
0443863b8b
konrad added 1 commit 2020-06-25 22:39:43 +00:00
Merge branch 'master' into feature/datetime
Some checks failed
continuous-integration/drone/pr Build is failing
ff152e4d0d
konrad added 4 commits 2020-06-26 15:36:20 +00:00
konrad added 1 commit 2020-06-26 15:37:49 +00:00
Remove timeutil package
Some checks failed
continuous-integration/drone/pr Build is failing
65ec94786a
konrad added 1 commit 2020-06-26 16:36:44 +00:00
Partially fix tests
Some checks reported errors
continuous-integration/drone/pr Build was killed
09c9780bb9
konrad added 3 commits 2020-06-26 17:49:12 +00:00
Fix misspell
Some checks reported errors
continuous-integration/drone/pr Build was killed
9137c549d2
konrad added 1 commit 2020-06-26 17:55:39 +00:00
Fix test fixtures
Some checks reported errors
continuous-integration/drone/pr Build was killed
831242c4ff
konrad added 1 commit 2020-06-26 17:59:26 +00:00
Fix lint
Some checks failed
continuous-integration/drone/pr Build is failing
6ae9ea3bee
konrad added 1 commit 2020-06-26 20:27:28 +00:00
Set created and updated timestamps for all fixtures
Some checks failed
continuous-integration/drone/pr Build is failing
d55e9f5d9a
konrad added 2 commits 2020-06-26 22:27:29 +00:00
Change fixtures time zone to gmt
Some checks failed
continuous-integration/drone/pr Build is failing
58e044bb36
konrad added 1 commit 2020-06-26 22:48:34 +00:00
Properly set timezone
Some checks failed
continuous-integration/drone/pr Build is failing
85babcbbb3
konrad added 1 commit 2020-06-27 10:38:43 +00:00
Fix tests and fixtures for date timezone stuff
Some checks failed
continuous-integration/drone/pr Build is failing
4853fc7824
konrad added 2 commits 2020-06-27 11:05:15 +00:00
Fix task filter
Some checks failed
continuous-integration/drone/pr Build is failing
a65e2e15b5
konrad added 2 commits 2020-06-27 11:26:07 +00:00
Fix integration tests
Some checks reported errors
continuous-integration/drone/pr Build was killed
139d2a4723
konrad added 1 commit 2020-06-27 11:47:39 +00:00
Add error and test for invalid filter values
Some checks failed
continuous-integration/drone/pr Build is failing
d4e0dac28b
konrad added 2 commits 2020-06-27 13:59:10 +00:00
Fix caldav reminder parsing
Some checks failed
continuous-integration/drone/pr Build is failing
1da298f3fe
konrad added 2 commits 2020-06-27 14:06:02 +00:00
Fix timezone setting for wunderlist parsing
Some checks failed
continuous-integration/drone/pr Build is failing
9f670194f2
konrad added 1 commit 2020-06-27 14:19:18 +00:00
Fix timezone setting for todoist parsing
Some checks failed
continuous-integration/drone/pr Build is failing
0eae995316
konrad added 1 commit 2020-06-27 14:36:47 +00:00
Merge branch 'master' into feature/datetime
Some checks reported errors
continuous-integration/drone/pr Build was killed
12d73063d0
konrad added 1 commit 2020-06-27 14:52:51 +00:00
Fix null filter
Some checks failed
continuous-integration/drone/pr Build is failing
0f6fac2e56
konrad added 1 commit 2020-06-27 15:39:28 +00:00
Always set db time to gmt
Some checks failed
continuous-integration/drone/pr Build is failing
e4bb42b46c
konrad added 1 commit 2020-06-27 16:10:47 +00:00
Add option to include null results when filtering
Some checks failed
continuous-integration/drone/pr Build is failing
cc688f0594
konrad added 2 commits 2020-06-27 16:27:37 +00:00
"fix" gocyclo
All checks were successful
continuous-integration/drone/pr Build is passing
f945d6b74a
konrad merged commit 08205008e7 into master 2020-06-27 17:04:06 +00:00
konrad deleted branch feature/datetime 2020-06-27 17:04:24 +00:00
Sign in to join this conversation.
No description provided.