1
0
Commit Graph

156 Commits

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