Commit graph

176 commits

Author SHA1 Message Date
kolaente
990740fc19
fixed fmt 2018-10-28 17:35:48 +01:00
kolaente
960d72aa1b
Fixed tests 2018-10-28 17:30:10 +01:00
konrad
321c0f2404 Fix build when using go modules (#6) 2018-10-28 16:11:13 +00:00
konrad
738c22b5f9 Add user email verification when registering (#5) 2018-10-27 13:14:55 +00:00
konrad
d0c30cb089 Password reset with token only (#4) 2018-10-27 13:12:15 +00:00
konrad
0cfea682ea Add password reset (#3) 2018-10-27 09:33:28 +00:00
kolaente
522e647db0
Added config for database max connections 2018-10-11 18:39:53 +02:00
kolaente
224cebfd10
Fixed tests failing 2018-10-06 22:26:17 +02:00
kolaente
f4ac036f27
removed unused errors 2018-10-06 18:55:14 +02:00
kolaente
c626b05af6
Improved log error messages 2018-10-06 18:44:04 +02:00
kolaente
56dc781594
added docs for error codes 2018-10-06 18:32:33 +02:00
konrad
f969593c0a
Improved error handling 2018-10-06 15:04:14 +02:00
konrad
a4137b3d6f
Added more checks to not leave an error unpassed when checking for rights 2018-10-06 13:25:37 +02:00
konrad
06638fccc8
Fixed lint & misspell 2018-10-06 13:07:42 +02:00
konrad
a108ed689d
Added extra function to get a list without tasks or user objects 2018-10-06 13:05:29 +02:00
kolaente
53a7f2e6a7
cleanup 2018-10-05 19:17:39 +02:00
kolaente
cca677878d
Optimized used sql queries when getting lists or namespaces with lists 2018-10-05 19:16:14 +02:00
kolaente
a1a77a9b75
improved logging format 2018-10-05 18:49:56 +02:00
kolaente
358b569bf1
Addded indecies everywhere 2018-10-05 18:46:01 +02:00
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