Commit Graph

907 Commits

Author SHA1 Message Date
994a59f1f7
Fix test command 2020-08-31 18:37:34 +02:00
681e5f2955
Start adding test command 2020-08-31 18:19:33 +02:00
67bb74abf4
Add clean target 2020-08-31 17:21:56 +02:00
2f1d58943b
Merge branch 'master' into feature/mage 2020-08-31 16:10:26 +02:00
79970ebb4a Update module labstack/echo/v4 to v4.1.17 (#646)
All checks were successful
continuous-integration/drone/push Build is passing
Update module labstack/echo/v4 to v4.1.17

Reviewed-on: vikunja/api#646
2020-08-31 09:19:49 +00:00
27b4086351 Update module iancoleman/strcase to v0.1.1 (#645)
All checks were successful
continuous-integration/drone/push Build is passing
Update module iancoleman/strcase to v0.1.1

Reviewed-on: vikunja/api#645
2020-08-30 08:18:18 +00:00
ae7eafd6ad Update module mattn/go-sqlite3 to v1.14.2 (#647)
All checks were successful
continuous-integration/drone/push Build is passing
Update module mattn/go-sqlite3 to v1.14.2

Reviewed-on: vikunja/api#647
2020-08-30 08:17:50 +00:00
21b5aee054 Update github.com/c2h5oh/datasize commit hash to 48ed595 (#644)
All checks were successful
continuous-integration/drone/push Build is passing
Update github.com/c2h5oh/datasize commit hash to 48ed595

Reviewed-on: vikunja/api#644
2020-08-25 16:06:32 +00:00
2b34a8d4e6 Update github.com/shurcooL/vfsgen commit hash to 0d455de (#642)
All checks were successful
continuous-integration/drone/push Build is passing
Update github.com/shurcooL/vfsgen commit hash to 0d455de

Reviewed-on: vikunja/api#642
2020-08-24 20:00:48 +00:00
b4771c1bce Update golang.org/x/crypto commit hash to 5c72a88 (#640)
All checks were successful
continuous-integration/drone/push Build is passing
Update golang.org/x/crypto commit hash to 5c72a88

Reviewed-on: vikunja/api#640
2020-08-20 23:09:04 +00:00
c83858bf7e Update module mattn/go-sqlite3 to v1.14.1 (#638)
All checks were successful
continuous-integration/drone/push Build is passing
Update module mattn/go-sqlite3 to v1.14.1

Reviewed-on: vikunja/api#638
2020-08-20 20:46:16 +00:00
08b8964b3d Update github.com/asaskevich/govalidator commit hash to 29e1ff8 (#639)
All checks were successful
continuous-integration/drone/push Build is passing
Update github.com/asaskevich/govalidator commit hash to 29e1ff8

Reviewed-on: vikunja/api#639
2020-08-20 12:10:36 +00:00
d88551e99d
Add dav proxy directions to example proxy configurations
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kolaente <k@knt.li>
2020-08-20 14:08:35 +02:00
ebd71d1f04 Update module iancoleman/strcase to v0.1.0 (#636)
All checks were successful
continuous-integration/drone/push Build is passing
Update module iancoleman/strcase to v0.1.0

Co-authored-by: konrad <konrad@kola-entertainments.de>
Reviewed-on: vikunja/api#636
2020-08-19 08:31:41 +00:00
7b2997bdb8
Add all functions as stubs 2020-08-18 21:27:33 +02:00
65cdb76d0f
Add all variables based on the makefile 2020-08-18 21:22:40 +02:00
1ff0fc6085
Print command 2020-08-18 21:09:25 +02:00
feacc1a323
Fix Version 2020-08-18 21:06:57 +02:00
fb8ac67d45
Add magefile 2020-08-18 21:03:28 +02:00
a61ab0c5cf Update github.com/asaskevich/govalidator commit hash to 50839af (#637)
All checks were successful
continuous-integration/drone/push Build is passing
Update github.com/asaskevich/govalidator commit hash to 50839af

Reviewed-on: vikunja/api#637
2020-08-18 18:07:45 +00:00
fa718e2576
Fix token renew for link shares
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: kolaente <k@knt.li>
2020-08-18 16:55:44 +02:00
c517a87b85
Don't add a subtask to the top level of tasks to not add it twice in the list
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-17 22:30:24 +02:00
28fd0e91ee
Mention client_max_body_size in nginx proxy settings
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-17 22:15:48 +02:00
14c27600d8 Update github.com/asaskevich/govalidator commit hash to df4adff (#552)
All checks were successful
continuous-integration/drone/push Build is passing
Update github.com/asaskevich/govalidator commit hash to df4adff

Reviewed-on: vikunja/api#552
2020-08-17 13:48:12 +00:00
dedce20780
"Fix" gocyclo
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-16 23:48:34 +02:00
a58b932743
Work around tasks with attachments not being duplicated
Some checks failed
continuous-integration/drone/push Build is failing
2020-08-16 23:44:16 +02:00
301bebf8d3
Only try to download attachments from todoist when there is a url
All checks were successful
continuous-integration/drone/push Build is passing
Credit: freaktechnik
2020-08-16 23:26:19 +02:00
d192c36c39
Add better tests for namespaces
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-15 22:16:36 +02:00
bdfb804bb2
Fix reading passwords on windows
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-13 17:59:10 +02:00
16dbcfda7e Manage users via cli (#632)
Some checks failed
continuous-integration/drone/push Build is failing
Add users cli commands to docs

Fix checking for changing username or user email

Add user status change command

Make sure only one user exists with a particular email when updating

Add password reset

Add user id to help

Remove user delete (too many possible side effects, postponed until later)

Make sure to fail on any errors

Fail if changing the username would result in duplicate users

Add user update command

Add user create command

Add command stubs for all commands

Render users in a beautiful table

Started adding user list command

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: vikunja/api#632
2020-08-13 15:34:02 +00: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
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