Commit Graph

885 Commits

Author SHA1 Message Date
458a6645ee
Fail if changing the username would result in duplicate users 2020-08-13 16:15:04 +02:00
e2da1f8eaf
Merge branch 'master' into feature/cli-users 2020-08-13 16:08:14 +02:00
1b96a4ab2d
Add user update command
Signed-off-by: kolaente <k@knt.li>
2020-08-13 13:03:17 +02:00
48868983e8
Rename flags
Signed-off-by: kolaente <k@knt.li>
2020-08-13 12:48:47 +02:00
b09df25324
Add user create command
Signed-off-by: kolaente <k@knt.li>
2020-08-13 12:47:37 +02:00
efa052f8ad
Add command stubs for all commands
Signed-off-by: kolaente <k@knt.li>
2020-08-13 12:25:22 +02:00
99b0d311dd
Render users in a beautiful table
Signed-off-by: kolaente <k@knt.li>
2020-08-13 12:18:25 +02:00
0169ecc37e Update module 4d63.com/tz to v1.2.0 (#631)
All checks were successful
continuous-integration/drone/push Build is passing
Update module 4d63.com/tz to v1.2.0

Reviewed-on: vikunja/api#631
2020-08-13 08:38:01 +00:00
ed2ff62fd2
Started adding user list command
Signed-off-by: kolaente <k@knt.li>
2020-08-12 18:29:14 +02:00
4a70c81b33
Make sure to require admin rights when modifying list/namespace users to be consistent with teams
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kolaente <k@knt.li>
2020-08-12 18:20:47 +02:00
5e84ce639f Update module src.techknowlogick.com/xgo to v1.1.0+1.15.0 (#630)
All checks were successful
continuous-integration/drone/push Build is passing
Update module src.techknowlogick.com/xgo to v1.1.0+1.15.0

Reviewed-on: vikunja/api#630
2020-08-12 09:27:43 +00:00
6c45388da9 Update module imdario/mergo to v0.3.11 (#629)
All checks were successful
continuous-integration/drone/push Build is passing
Update module imdario/mergo to v0.3.11

Reviewed-on: vikunja/api#629
2020-08-11 20:12:50 +00:00
bd8c1c3bb7 Return rights when reading a single item (#626)
All checks were successful
continuous-integration/drone/push Build is passing
Fix lint

Update docs

Fix loading all rights (list & namespace)

Add tests

Update web framework

Make tests run again

Update all calls to CanRead methods

Update task attachment & task comment & task rights to return the max right

Update team rights to return the max right

Update namespace rights to return the max right

Update list rights to return the max right

Update link share rights to return the max right

Update label rights to return the max right

Update web dependency

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#626
2020-08-10 12:11:43 +00:00
28b8cabea5 Update module spf13/afero to v1.3.4 (#628)
All checks were successful
continuous-integration/drone/push Build is passing
Update module spf13/afero to v1.3.4

Reviewed-on: vikunja/api#628
2020-08-10 07:26:50 +00:00
7c91803056 Update module go-testfixtures/testfixtures/v3 to v3.4.0 (#627)
All checks were successful
continuous-integration/drone/push Build is passing
Update module go-testfixtures/testfixtures/v3 to v3.4.0

Reviewed-on: vikunja/api#627
2020-08-09 20:18:27 +00:00
b375e1d043 Update github.com/gordonklaus/ineffassign commit hash to e36bfde (#625)
All checks were successful
continuous-integration/drone/push Build is passing
Update github.com/gordonklaus/ineffassign commit hash to e36bfde

Reviewed-on: vikunja/api#625
2020-08-09 09:18:55 +00:00
d718d247c8
Fix users with disabled totp but not enrolled being unable to login
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-07 16:41:35 +02:00
6a82d4e2af
Fix updating team admin status
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-05 17:28:11 +02:00
11722bf029
Add update route to toggle team member admin status
Some checks failed
continuous-integration/drone/push Build is failing
2020-08-05 17:21:17 +02:00
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
c9117dd037 Update module spf13/afero to v1.3.3 (#623)
All checks were successful
continuous-integration/drone/push Build is passing
Update module spf13/afero to v1.3.3

Reviewed-on: vikunja/api#623
2020-08-02 14:11:50 +00:00
e4539ef232 Use db sessions for task-related things (#621)
All checks were successful
continuous-integration/drone/push Build is passing
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
0ba6ae7a18 Update module spf13/viper to v1.7.1 (#620)
All checks were successful
continuous-integration/drone/push Build is passing
Update module spf13/viper to v1.7.1

Reviewed-on: vikunja/api#620
2020-08-01 06:24:46 +00:00
25ecc4a510 Update golang.org/x/crypto commit hash to 123391f (#619)
All checks were successful
continuous-integration/drone/push Build is passing
Update golang.org/x/crypto commit hash to 123391f

Reviewed-on: vikunja/api#619
2020-07-29 06:39:36 +00:00
259c2195dc Update module lib/pq to v1.8.0 (#618)
All checks were successful
continuous-integration/drone/push Build is passing
Update module lib/pq to v1.8.0

Reviewed-on: vikunja/api#618
2020-07-28 06:44:54 +00:00
7bdc9dd428
Pin telegram notification plugin in drone
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-24 18:32:18 +02:00
5f8872f8cc Update module getsentry/sentry-go to v0.7.0 (#617)
Some checks failed
continuous-integration/drone/push Build is failing
Update module getsentry/sentry-go to v0.7.0

Reviewed-on: vikunja/api#617
2020-07-21 13:02:45 +00:00
5794ede6f6 Update module lib/pq to v1.7.1 (#616)
Some checks failed
continuous-integration/drone/push Build is failing
Update module lib/pq to v1.7.1

Reviewed-on: vikunja/api#616
2020-07-20 17:37:08 +00:00
41cf73a473
Add option to configure legal urls
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-18 18:53:56 +02:00
f8d84139fa Update module imdario/mergo to v0.3.10 (#615)
All checks were successful
continuous-integration/drone/push Build is passing
Update module imdario/mergo to v0.3.10

Reviewed-on: vikunja/api#615
2020-07-18 16:52:05 +00:00
d3964ff4bd
Update xgo to v1.0.0+1.14.6
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-18 18:42:34 +02:00
9acba7d3f0
Fix duplicating a list with background
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-17 14:16:59 +02: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
7207aa60fb Update module src.techknowlogick.com/xgo to v1 (#613)
All checks were successful
continuous-integration/drone/push Build is passing
Update module src.techknowlogick.com/xgo to v1

Reviewed-on: vikunja/api#613
2020-07-15 06:32:48 +00:00
2b9af951bf Update src.techknowlogick.com/xgo commit hash to 96de19c (#612)
All checks were successful
continuous-integration/drone/push Build is passing
Update src.techknowlogick.com/xgo commit hash to 96de19c

Reviewed-on: vikunja/api#612
2020-07-14 19:58:42 +00:00
c84efcbbcc Update src.techknowlogick.com/xgo commit hash to 7c2e3c9 (#611)
All checks were successful
continuous-integration/drone/push Build is passing
Update src.techknowlogick.com/xgo commit hash to 7c2e3c9

Reviewed-on: vikunja/api#611
2020-07-14 17:59:50 +00:00
092aae3260
Add config option to force ssl connections to connect with the mailer
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-14 17:30:39 +02:00
222582fb0c Update module spf13/afero to v1.3.2 (#610)
All checks were successful
continuous-integration/drone/push Build is passing
Update module spf13/afero to v1.3.2

Reviewed-on: vikunja/api#610
2020-07-14 13:19:46 +00:00
a99367bc5f
Fix release trigger
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-14 14:45:16 +02:00
c47d5c7228
Switch s3 release bucket to scaleway
Some checks failed
continuous-integration/drone/push Build is failing
2020-07-14 13:43:35 +02:00
3d709e3bb7
Update docs with testmail command + reorder
Some checks reported errors
continuous-integration/drone/push Build was killed
2020-07-14 09:34:32 +02:00
3a9360a57b Update golang.org/x/crypto commit hash to 948cd5f (#609)
All checks were successful
continuous-integration/drone/push Build is passing
Update golang.org/x/crypto commit hash to 948cd5f

Reviewed-on: vikunja/api#609
2020-07-10 08:21:21 +00:00
dd3c4cd032 Update golang.org/x/crypto commit hash to ab33eee (#608)
All checks were successful
continuous-integration/drone/push Build is passing
Update golang.org/x/crypto commit hash to ab33eee

Reviewed-on: vikunja/api#608
2020-07-08 07:12:16 +00:00
2a4a622518
0.14.1 release preparations
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-07 10:58:03 +02:00
4db06ba9a1 Fix creating lists with non ascii characters (#607)
All checks were successful
continuous-integration/drone/push Build is passing
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
96f366f5e7
Add docs about using vikunja with utf-8 characters
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-06 21:53:26 +02:00
78791f31a4
Fix parsing todoist reminder dates
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-05 20:49:29 +02:00
ec3fa9300b
Fix parsing todoist reminder dates
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-05 17:48:36 +02:00
9fa7e30a0a
update theme
All checks were successful
continuous-integration/drone/push Build is passing
2020-07-05 15:25:25 +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