Commit Graph

56 Commits

Author SHA1 Message Date
dfb7730b63 More avatar providers (#622)
All checks were successful
continuous-integration/drone/push Build is passing
Don't fail if the last avatar file does not exist when deleting it

Fix lint

Remove old global avatar setting and update docs

Generate docs

Invalidate the avatar cache when uploading a new one

Add debug logs

Add caching for upload avatars

Add cache locks

Fix encoding

Resize the uploaded image to a max of 1024 pixels

Remove the old uploaded avatar if one already exists

Add mimetype check for images

Set avatar provider to upload when uploading an avatar

Add upload avatar provider

Make font size smaller to let the initials still look good in smaller sizes

Add debug log

Add cache and resizing of initials avatars

Make font size depend on avatar size

Add drawing initials avatar

Add initials provider

Make the initials avatar provider the default

Add routes

Add user avatar settings handler methods

Add user avatar provider field

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#622
2020-08-02 17:16:58 +00:00
2d567bfe0f
Make sure lists which would have a duplicate identifier can still be duplicated
All checks were successful
continuous-integration/drone/push Build is passing
+ debug logging for duplicating lists
2020-07-17 13:26:49 +02:00
158d98c2bd Makefile: make add EXTRA_GOFLAG to GOFLAGS (#605)
All checks were successful
continuous-integration/drone/push Build is passing
Makefile: make add EXTRA_GOFLAG to GOFLAGS

Some commands (`go generate`) only support taking `GOFLAGS` from the environment
but setting `GOFLAGS` environment variable is ineffectual because the variable
of the same name defined in the Makefile shadows it.

We also have a custom `EXTRA_GOFLAGS` variable but we only pass that to `go build`.

Let’s add `EXTRA_GOFLAGS` to the `GOFLAGS` variable in the Makefile to allow passing
custom flags to Go through `EXTRA_GOFLAGS` environment variable.

Co-authored-by: Jan Tojnar <jtojnar@gmail.com>
Reviewed-on: vikunja/api#605
Reviewed-by: konrad <konrad@kola-entertainments.de>
2020-07-04 16:55:45 +00:00
1181039249 Duplicate Lists (#603)
All checks were successful
continuous-integration/drone/push Build is passing
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
3b2289c8fa
Fix swagger docs
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-28 16:25:46 +02:00
53cfa99912
Remove vendored dependencies
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-28 14:00:10 +02: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
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
cc47d11792
"fix" gocyclo check
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-19 17:41:37 +02:00
8758fb6ac5 Fix case-insensitive task search for postgresql (#524)
All checks were successful
continuous-integration/drone/push Build is passing
"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
8ac158cdb4 Task Filter Fixes (#495)
All checks were successful
continuous-integration/drone/push Build is passing
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
b8d7c97eb7
Add gosec static analysis
Some checks failed
continuous-integration/drone/push Build is failing
2020-04-13 22:30:09 +02:00
7de26a462f
Add build time to compile flags
All checks were successful
continuous-integration/drone/push Build is passing
2020-03-02 20:24:26 +01:00
ce5be947b4 Add postgres support (#135)
All checks were successful
continuous-integration/drone/push Build is passing
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
7e42724439
Added generate as a make dependency for make build
All checks were successful
continuous-integration/drone/push Build is passing
Clarify docs on building

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