Commit Graph

53 Commits

Author SHA1 Message Date
konrad 1181039249 Duplicate Lists (#603)
continuous-integration/drone/push Build is passing Details
Fix buckets not being duplicated correctly

Fix list id param not working

Add api endpoint

Add swagger docs

Add comment about test

Make duplicating actually work

Add copying link shares

Add copying list backgrounds

Add copying task relations

Add copying task comments

Add copying assignees

Add copying task task label relations

Add copying task attachments

Add duplicating tasks

Add basic struct and methods

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#603
2020-06-30 20:53:14 +00:00
kolaente 3b2289c8fa
Fix swagger docs
continuous-integration/drone/push Build is passing Details
2020-06-28 16:25:46 +02:00
kolaente 53cfa99912
Remove vendored dependencies
continuous-integration/drone/push Build is passing Details
2020-06-28 14:00:10 +02:00
konrad 08205008e7 Migrate all timestamps to real iso dates (#594)
continuous-integration/drone/push Build is passing Details
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
kolaente 021e3e307b
Remove build date from binary
continuous-integration/drone/push Build is passing Details
2020-06-18 19:26:53 +02:00
kolaente cc47d11792
"fix" gocyclo check
continuous-integration/drone/push Build is passing Details
2020-05-19 17:41:37 +02:00
konrad 8758fb6ac5 Fix case-insensitive task search for postgresql (#524)
continuous-integration/drone/push Build is passing Details
"Fix" gocyclo

Fix case-insensitive task search for postgresql

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#524
2020-05-15 14:12:20 +00:00
konrad 8ac158cdb4 Task Filter Fixes (#495)
continuous-integration/drone/push Build is passing Details
Fix gocyclo

Fix misspell

Error codes docs

Filter fixes

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#495
2020-05-09 15:48:56 +00:00
kolaente b8d7c97eb7
Add gosec static analysis
continuous-integration/drone/push Build is failing Details
2020-04-13 22:30:09 +02:00
kolaente 7de26a462f
Add build time to compile flags
continuous-integration/drone/push Build is passing Details
2020-03-02 20:24:26 +01:00
jtojnar ce5be947b4 Add postgres support (#135)
continuous-integration/drone/push Build is passing Details
Revert fixture fixes for postgres

Use postgres connection string with spaces instead of url

Fix label order

Make postgres tests in ci less verbose

Add sequence update script

Skip resets in postgres

Remove option to skip resets in postgres

Make postgres tests in ci verboseq

Update test fixtures database

Fix file tests on postgres

Add postgres options to sample config

Make sure tests init test fixtures before running the actual tests

Fix issues with IDs too big to fit in an int

Fix duplicate auto incremented IDs

Refactor / Fix team tests

Refactor team member tests

Fix team member create

Fix label test

Fix getting labels

Fix test fixtures for postgresql

Fix connection string params

Disable ssl mode on postgres integration tests

Disable ssl mode on postgres tests

Use sprintf to create the connection string for postgresql

fixup! Add postgres support

Add postgres support

Added generate as a make dependency for make build

Clarify docs on building

Co-authored-by: kolaente <k@knt.li>
Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
Reviewed-on: vikunja/api#135
2020-02-16 21:42:04 +00:00
kolaente 7e42724439
Added generate as a make dependency for make build
continuous-integration/drone/push Build is passing Details
Clarify docs on building

Signed-off-by: kolaente <k@knt.li>
2020-02-15 11:35:24 +01:00
konrad 3081338a37 Use redis INCRBY and DECRBY when updating metrics values (#121)
continuous-integration/drone/push Build is passing Details
Move test coverage processing to a seperate command

Use redis INCRBY and DECRBY when updating metrics values

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#121
2020-01-19 17:26:26 +00:00
konrad 720df3cbed Add task identifier (#115)
continuous-integration/drone/push Build is passing Details
2019-12-07 22:28:45 +00:00
konrad 2169464983 Task Attachments (#104)
continuous-integration/drone/push Build is failing Details
2019-10-16 20:52:29 +00:00
konrad 8fe33fd616 Task Relations (#103)
continuous-integration/drone/push Build is passing Details
2019-09-25 18:44:41 +00:00
konrad e2d9de191d /info endpoint (#85)
continuous-integration/drone/push Build is passing Details
2019-07-15 22:54:38 +00:00
konrad 50ca8bd28e Statically compile templates in the final binary (#84)
continuous-integration/drone/push Build is failing Details
2019-07-11 19:10:42 +00:00
konrad 9930f98f8e Compress binaries after building them (#81)
continuous-integration/drone/push Build is passing Details
2019-06-22 22:07:58 +00:00
kolaente 10f80c190b
Switched to techknowlogick/xgo
continuous-integration/drone/push Build is passing Details
2019-04-22 14:02:18 +02:00
konrad 3872d1d8a7 Integration tests (#71)
continuous-integration/drone/push Build is passing Details
2019-04-21 18:18:17 +00:00
konrad 8d78e473f5 Added cli for general usage of Vikunja (#66)
continuous-integration/drone/push Build is passing Details
2019-03-24 17:15:44 +00:00
konrad 47352d3ed4 Let rights methods return errors (#64)
continuous-integration/drone/push Build is passing Details
2019-03-24 12:35:50 +00:00
konrad 1b84292332 Fix lint errs (#59)
continuous-integration/drone/push Build is passing Details
2019-02-18 19:32:41 +00:00
konrad 2d88fad5b1 Huge improvements for docs (#58)
continuous-integration/drone/push Build is passing Details
2019-02-17 19:53:04 +00:00
kolaente 01e7540530
Fix makefile
continuous-integration/drone/push Build is passing Details
2019-01-22 13:13:11 +01:00
konrad eedc19a49e Build debian packages (#56)
continuous-integration/drone/push Build was killed Details
2019-01-21 21:52:26 +00:00
konrad c07e2b6cd4
remove unused makefile variable
continuous-integration/drone/push Build is passing Details
2019-01-20 18:43:38 +01:00
konrad 07bc4f3f01
Added debugging for ci
continuous-integration/drone/push Build encountered an error Details
2019-01-14 17:40:42 +01:00
konrad d5e68ee037 Update drone to version 1 (#49)
continuous-integration/drone/push Build is passing Details
2019-01-11 22:46:51 +00:00
kolaente 31c39388f1
Fixed the generated version by the makefile to be more verbose
the build was successful Details
2019-01-03 23:51:16 +01:00
konrad 607dbd6ae8 API Docs improvements (#46)
the build was successful Details
2019-01-03 22:22:06 +00:00
konrad 018dd8164c [CI] Add more checks (#43)
the build was successful Details
2018-12-28 22:15:05 +00:00
konrad 7322bfafb3 Fix swaggerdocs generation to produce actually valid output (#39)
the build was successful Details
2018-12-21 21:30:43 +00:00
konrad 97febdb397 Tests can now use config files (#36)
the build was successful Details
2018-12-18 16:01:46 +00:00
konrad 553055f073
Fixed build
the build was successful Details
2018-12-13 16:09:00 +01:00
konrad 373bbd2202 Migrate to new swagger docs generation (#18)
the build was successful Details
2018-11-12 15:46:35 +00:00
konrad 321c0f2404 Fix build when using go modules (#6)
the build failed Details
2018-10-28 16:11:13 +00:00
konrad 0cfea682ea Add password reset (#3)
the build failed Details
2018-10-27 09:33:28 +00:00
kolaente 206705d2e9
updated makefile to use new golint url
the build was successful Details
2018-10-15 12:54:39 +02:00
konrad e724aeb206 Added new checks (#2)
the build was successful Details
* added gocyclo-check
* Added new tests to drone
* Added new checks to makefile
2018-09-23 19:15:14 +00:00
kolaente 3401d7ab2c
Fixed makefile
the build was successful Details
2018-09-20 07:36:58 +02:00
konrad 4c96ee4263
updated makefile
the build was successful Details
2018-09-15 16:11:28 +02:00
konrad 9d83293590
Updated makefile 2018-09-08 15:18:15 +02:00
kolaente 261136c2bc
Added tests for team members
the build failed Details
2018-07-27 19:20:49 +02:00
kolaente f7bc88c825
Added tests for listitems 2018-07-27 14:47:52 +02:00
kolaente 8f2a24298d
fixed makefile
the build was successful Details
+ lint & fmt
2018-07-25 17:30:29 +02:00
kolaente 32b369e2e4
Added drone
the build failed Details
2018-07-25 17:28:54 +02:00
kolaente 01aa1910ef
Renamed all packages 2018-07-25 16:26:32 +02:00
kolaente 6141956847
Added swagger UI 2018-06-14 14:19:19 +02:00