Commit Graph

966 Commits

Author SHA1 Message Date
konrad dfb7730b63 More avatar providers (#622)
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
renovate c9117dd037 Update module spf13/afero to v1.3.3 (#623)
Update module spf13/afero to v1.3.3

Reviewed-on: vikunja/api#623
2020-08-02 14:11:50 +00:00
konrad e4539ef232 Use db sessions for task-related things (#621)
Use db sessions for task-related things

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#621
2020-08-01 16:54:38 +00:00
renovate 0ba6ae7a18 Update module spf13/viper to v1.7.1 (#620)
Update module spf13/viper to v1.7.1

Reviewed-on: vikunja/api#620
2020-08-01 06:24:46 +00:00
renovate 25ecc4a510 Update golang.org/x/crypto commit hash to 123391f (#619)
Update golang.org/x/crypto commit hash to 123391f

Reviewed-on: vikunja/api#619
2020-07-29 06:39:36 +00:00
renovate 259c2195dc Update module lib/pq to v1.8.0 (#618)
Update module lib/pq to v1.8.0

Reviewed-on: vikunja/api#618
2020-07-28 06:44:54 +00:00
kolaente 7bdc9dd428
Pin telegram notification plugin in drone 2020-07-24 18:32:18 +02:00
renovate 5f8872f8cc Update module getsentry/sentry-go to v0.7.0 (#617)
Update module getsentry/sentry-go to v0.7.0

Reviewed-on: vikunja/api#617
2020-07-21 13:02:45 +00:00
renovate 5794ede6f6 Update module lib/pq to v1.7.1 (#616)
Update module lib/pq to v1.7.1

Reviewed-on: vikunja/api#616
2020-07-20 17:37:08 +00:00
kolaente 41cf73a473
Add option to configure legal urls 2020-07-18 18:53:56 +02:00
renovate f8d84139fa Update module imdario/mergo to v0.3.10 (#615)
Update module imdario/mergo to v0.3.10

Reviewed-on: vikunja/api#615
2020-07-18 16:52:05 +00:00
kolaente d3964ff4bd
Update xgo to v1.0.0+1.14.6 2020-07-18 18:42:34 +02:00
kolaente 9acba7d3f0
Fix duplicating a list with background 2020-07-17 14:16:59 +02:00
kolaente 2d567bfe0f
Make sure lists which would have a duplicate identifier can still be duplicated
+ debug logging for duplicating lists
2020-07-17 13:26:49 +02:00
renovate 7207aa60fb Update module src.techknowlogick.com/xgo to v1 (#613)
Update module src.techknowlogick.com/xgo to v1

Reviewed-on: vikunja/api#613
2020-07-15 06:32:48 +00:00
renovate 2b9af951bf Update src.techknowlogick.com/xgo commit hash to 96de19c (#612)
Update src.techknowlogick.com/xgo commit hash to 96de19c

Reviewed-on: vikunja/api#612
2020-07-14 19:58:42 +00:00
renovate c84efcbbcc Update src.techknowlogick.com/xgo commit hash to 7c2e3c9 (#611)
Update src.techknowlogick.com/xgo commit hash to 7c2e3c9

Reviewed-on: vikunja/api#611
2020-07-14 17:59:50 +00:00
kolaente 092aae3260
Add config option to force ssl connections to connect with the mailer 2020-07-14 17:30:39 +02:00
renovate 222582fb0c Update module spf13/afero to v1.3.2 (#610)
Update module spf13/afero to v1.3.2

Reviewed-on: vikunja/api#610
2020-07-14 13:19:46 +00:00
kolaente a99367bc5f
Fix release trigger 2020-07-14 14:45:16 +02:00
kolaente c47d5c7228
Switch s3 release bucket to scaleway 2020-07-14 13:43:35 +02:00
kolaente 3d709e3bb7
Update docs with testmail command + reorder 2020-07-14 09:34:32 +02:00
renovate 3a9360a57b Update golang.org/x/crypto commit hash to 948cd5f (#609)
Update golang.org/x/crypto commit hash to 948cd5f

Reviewed-on: vikunja/api#609
2020-07-10 08:21:21 +00:00
renovate dd3c4cd032 Update golang.org/x/crypto commit hash to ab33eee (#608)
Update golang.org/x/crypto commit hash to ab33eee

Reviewed-on: vikunja/api#608
2020-07-08 07:12:16 +00:00
kolaente 2a4a622518
0.14.1 release preparations 2020-07-07 10:58:03 +02:00
konrad 4db06ba9a1 Fix creating lists with non ascii characters (#607)
Fix test name

Fix migrating lists with non utf-8 characters in their name

Fix creating lists with non utf-8 characters

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#607
2020-07-07 07:48:12 +00:00
kolaente 96f366f5e7
Add docs about using vikunja with utf-8 characters 2020-07-06 21:53:26 +02:00
kolaente 78791f31a4
Fix parsing todoist reminder dates 2020-07-05 20:49:29 +02:00
kolaente ec3fa9300b
Fix parsing todoist reminder dates 2020-07-05 17:48:36 +02:00
kolaente 9fa7e30a0a
update theme 2020-07-05 15:25:25 +02:00
jtojnar 158d98c2bd Makefile: make add EXTRA_GOFLAG to GOFLAGS (#605)
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
kolaente ae12871bd7
Fix decoding active users from redis 2020-07-02 23:19:03 +02:00
kolaente 7141050f8b
Make sure the metrics map accesses only happen explicitly 2020-07-02 21:16:39 +02:00
kolaente 5d900fd40d
0.14.0 release preparations 2020-07-01 17:12:49 +02:00
kolaente f57b7e989f
Fix updating the index when moving a task 2020-07-01 16:54:18 +02:00
kolaente 556ccd68c1
Set the list identifier when creating a new task 2020-07-01 11:17:18 +02:00
konrad 1181039249 Duplicate Lists (#603)
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 6da137cd4a
Remove go mod vendor todo from pr template now that we don't keep dependencies in the repo anymore 2020-06-30 17:09:18 +02:00
kolaente 9750a23dbe
Make the db timezone migration mysql compatible 2020-06-30 11:29:47 +02:00
kolaente 1c93aab7e0
Fix not loading timezones on all operating systems 2020-06-30 09:55:46 +02:00
renovate 53c4637fb6 Update module spf13/afero to v1.3.1 (#602)
Update module spf13/afero to v1.3.1

Reviewed-on: vikunja/api#602
2020-06-28 18:25:51 +00:00
kolaente 3b2289c8fa
Fix swagger docs 2020-06-28 16:25:46 +02:00
renovate b55b21373c Update module swaggo/swag to v1.6.7 (#601)
Update module swaggo/swag to v1.6.7

Reviewed-on: vikunja/api#601
2020-06-28 14:11:17 +00:00
kolaente 53cfa99912
Remove vendored dependencies 2020-06-28 14:00:10 +02:00
kolaente f30e720c7b
Update dependency github.com/mattn/go-sqlite3 to v1.14.0 2020-06-28 13:05:33 +02:00
renovate 57c84f3adc Update module go-testfixtures/testfixtures/v3 to v3.3.0 (#600)
Update module go-testfixtures/testfixtures/v3 to v3.3.0

Reviewed-on: vikunja/api#600
2020-06-28 07:23:55 +00:00
kolaente 2820d92ab3
Expose namespace id when querying lists 2020-06-27 23:00:15 +02:00
renovate 780a654f65 Update github.com/shurcooL/vfsgen commit hash to 92b8a71 (#599)
Update github.com/shurcooL/vfsgen commit hash to 92b8a71

Reviewed-on: vikunja/api#599
2020-06-27 18:50:08 +00:00
konrad 08205008e7 Migrate all timestamps to real iso dates (#594)
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 e17cac854a
Fix removing existing sqlite files 2020-06-27 16:34:53 +02:00