Commit graph

157 commits

Author SHA1 Message Date
konrad
85c9fba808
Added the ability to update a users password 2018-10-03 19:28:17 +02:00
konrad
e724aeb206 Added new checks (#2)
* added gocyclo-check
* Added new tests to drone
* Added new checks to makefile
2018-09-23 19:15:14 +00:00
konrad
06a4ede4a8
fmt 2018-09-22 11:06:39 +02:00
kolaente
6519c62ade
fixed a bug where xorm treid to insert something with an id wich already exist 2018-09-21 08:41:28 +02:00
kolaente
64d290bcae
Added endpoint to search for users 2018-09-20 19:42:01 +02:00
kolaente
8d27daccc6
Fixed lint & fmt 2018-09-20 07:31:36 +02:00
kolaente
5bb78a749e
Fixed list update not working 2018-09-19 08:45:23 +02:00
kolaente
aeff343a31
Fixed namespace update not working 2018-09-19 08:44:00 +02:00
kolaente
e93cba7108
Added logging 2018-09-19 08:35:53 +02:00
kolaente
067672dcb4
Added an endpoint to update a team <-> namespace relation 2018-09-19 08:16:04 +02:00
kolaente
aa40ab8eed
Added an endpoint to update a team <-> list relation 2018-09-19 08:08:41 +02:00
kolaente
5e8597699d
Added endpoint to update a user <-> namespace relation 2018-09-19 08:03:39 +02:00
kolaente
1e993f1e5c
Fixed a bug where it was not possible to give a user access to a namespace 2018-09-19 08:03:05 +02:00
kolaente
4f538abc83
Added endpoint to update a users right for a list 2018-09-19 07:54:47 +02:00
kolaente
5fbf63bddc
/namespaces/{namespaceID}/teams now also returns the team right 2018-09-18 08:17:18 +02:00
kolaente
f93a27d67d
fmt 2018-09-17 19:46:31 +02:00
kolaente
0a06e5a246
/lists/{listID}/teams now also returns the user right 2018-09-17 19:45:18 +02:00
kolaente
cf6577445d
/namepspaces/{namespacesID}/users now also returns the user right 2018-09-17 19:39:14 +02:00
kolaente
b1564659c4
/lists/{listID}/users now also returns the user right 2018-09-17 19:36:44 +02:00
kolaente
5a83ce1216
/namespaces now also gets lists 2018-09-17 07:27:49 +02:00
kolaente
3707f4d3c5
fmt 2018-09-13 22:14:53 +02:00
kolaente
382daac0dd
when ID = 0 is passed to a 'GetSthByID'-function, it now returns a 'not exist' error 2018-09-13 20:07:11 +02:00
kolaente
416745ddab
added options to configure cache 2018-09-13 19:53:03 +02:00
kolaente
7d8e3f1bae
Updated tests 2018-09-13 19:24:40 +02:00
kolaente
c018589749
fixed lint + fmt 2018-09-12 21:45:30 +02:00
kolaente
1f3f8afa85
Fixed a bug where it was not possible for a user to see a namespace which could be access by a team the user was in 2018-09-12 20:13:00 +02:00
kolaente
e85d3c4f36
Fixed a bug where a user didn't had access to lists which are not his own, but part of a namespace he owns 2018-09-12 19:56:07 +02:00
kolaente
31a850c28e
Fixed un-setting a task as done not working 2018-09-10 19:38:35 +02:00
kolaente
431564d63c
When updating a list task, all relevant values are now updated. 2018-09-10 19:34:34 +02:00
kolaente
0da1bb74e0
Fixed lint 2018-09-10 19:22:00 +02:00
kolaente
8ed1fb304e
Fixed task update function not updating when marking a task as done 2018-09-10 07:59:45 +02:00
kolaente
b91d9eb712
Fixed task update function to be able to update a task with minimal informaton 2018-09-10 07:41:39 +02:00
kolaente
d48f3f9737
fixed crashing when no config was found 2018-09-08 16:43:37 +02:00
konrad
82c098aa0d
Updated config to not hard fail when no config file is found. 2018-09-08 16:10:46 +02:00
konrad
f45c8aa0ce
Fixed lint 2018-09-08 13:31:13 +02:00
konrad
427f752990
Vikunja now uses viper to handle config 2018-09-08 13:29:35 +02:00
konrad
fc8c6c97fd
Updated todo 2018-09-06 19:01:13 +02:00
kolaente
37de3ef232
Fixed user_namespace relation not working 2018-09-06 18:52:10 +02:00
kolaente
6d971c5fe1
fmt 2018-09-06 08:46:47 +02:00
kolaente
c43db9929b
Namespaces now respect user rights 2018-09-06 08:46:34 +02:00
konrad
521e7c3bef
List rights are now respected 2018-09-06 08:42:18 +02:00
konrad
92174aac08
Fixed a bug where a user could see every namespace 2018-09-06 08:39:05 +02:00
konrad
f2758e239c
Added namespace user rights 2018-09-04 20:15:24 +02:00
konrad
422662e3e1
updated featurecreep 2018-09-04 19:54:15 +02:00
konrad
245259216f
Fixed creating of new users 2018-09-04 19:39:31 +02:00
konrad
76f3357a0c
fmt 2018-08-30 19:14:16 +02:00
konrad
478c98fb8d
Refactor GetUser & GetUserByID 2018-08-30 19:14:02 +02:00
konrad
aeb1521cc4
Cleanup/fixing methods 2018-08-30 19:00:27 +02:00
konrad
efaa277751
Added methods to revoke a users access to a list 2018-08-30 18:52:12 +02:00
konrad
b1c3e92f66
Added methods to give users access to a list 2018-08-30 08:58:09 +02:00