Commit Graph

170 Commits

Author SHA1 Message Date
522e647db0
Added config for database max connections 2018-10-11 18:39:53 +02:00
224cebfd10
Fixed tests failing 2018-10-06 22:26:17 +02:00
f4ac036f27
removed unused errors 2018-10-06 18:55:14 +02:00
c626b05af6
Improved log error messages 2018-10-06 18:44:04 +02:00
56dc781594
added docs for error codes 2018-10-06 18:32:33 +02:00
f969593c0a
Improved error handling 2018-10-06 15:04:14 +02:00
a4137b3d6f
Added more checks to not leave an error unpassed when checking for rights 2018-10-06 13:25:37 +02:00
06638fccc8
Fixed lint & misspell 2018-10-06 13:07:42 +02:00
a108ed689d
Added extra function to get a list without tasks or user objects 2018-10-06 13:05:29 +02:00
53a7f2e6a7
cleanup 2018-10-05 19:17:39 +02:00
cca677878d
Optimized used sql queries when getting lists or namespaces with lists 2018-10-05 19:16:14 +02:00
a1a77a9b75
improved logging format 2018-10-05 18:49:56 +02:00
358b569bf1
Addded indecies everywhere 2018-10-05 18:46:01 +02:00
85c9fba808
Added the ability to update a users password 2018-10-03 19:28:17 +02:00
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