Commit graph

175 commits

Author SHA1 Message Date
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
konrad
d31f16aff1
Renamed list items to tasks 2018-08-30 08:09:17 +02:00
konrad
bdff353e78
Added tests for team <-> list relations 2018-08-29 14:33:04 +02:00
konrad
98e3d3e884
Added tests for team <-> list relations 2018-08-29 08:50:52 +02:00
konrad
950533df21
Added tests for team namespace relationsk 2018-08-29 08:26:59 +02:00
kolaente
5db306bacc
fmt 2018-07-27 19:28:12 +02:00
kolaente
261136c2bc
Added tests for team members 2018-07-27 19:20:49 +02:00
kolaente
d556162591
fmt 2018-07-27 16:28:28 +02:00
kolaente
51064f3d8f
Added tests for teams 2018-07-27 16:28:09 +02:00
kolaente
62ac4c2a74
fmt 2018-07-27 15:53:01 +02:00
kolaente
628f3eee64
Added tests for namespaces 2018-07-27 15:52:50 +02:00
kolaente
ba606515d1
Improved tests for lists 2018-07-27 15:11:47 +02:00
kolaente
f7bc88c825
Added tests for listitems 2018-07-27 14:47:52 +02:00
kolaente
2c12797111
fmt 2018-07-26 10:50:03 +02:00
kolaente
c97a4d74cb
Added check if the namespace exists when creating a list 2018-07-26 10:49:33 +02:00
kolaente
6eeab7fe10
improved tests 2018-07-26 10:49:17 +02:00
kolaente
a78b333e3f
Added tests for list creation 2018-07-26 10:29:19 +02:00
kolaente
935aef8a38
Added check for list title when creating a new list 2018-07-26 10:29:09 +02:00
kolaente
a9094506fa
cleanup 2018-07-26 10:10:39 +02:00
kolaente
7b07137b67
fmt 2018-07-26 10:08:01 +02:00
kolaente
80e9021ba6
Fixed a bug where it was possible to add the same user multiple times to a team 2018-07-26 10:06:41 +02:00
konrad
9c451daf30
Added method to delete a user from a team 2018-07-26 09:58:48 +02:00
konrad
bc580e0115
Added method to add a user to a team 2018-07-26 09:53:32 +02:00
kolaente
e602914659
Implemented proper check for team rights on namespaces 2018-07-25 00:49:44 +02:00
kolaente
f36eeb662a
Implemented proper check for team rights on lists 2018-07-25 00:40:24 +02:00
konrad
7dc8699cbd
updated todo
+ fmt
2018-07-24 17:47:08 +02:00
kolaente
26c2ad078f
Fixed a bug where it was possible to add a team multiple times to a list/namespace 2018-07-24 17:46:32 +02:00
kolaente
9638f36788
implemented deletomg a team from a list 2018-07-24 17:32:08 +02:00
kolaente
227a2afd37
implemented viewing all teams of a list 2018-07-24 17:29:46 +02:00
kolaente
edf9b6f2c7
Implemented creating a team <-> list relation 2018-07-24 17:29:13 +02:00
konrad
0487889963
fmt + lint + docs 2018-07-21 15:28:09 +02:00
konrad
9979b7e321
implemented update method via param binder 2018-07-21 15:17:02 +02:00
konrad
9e75e9b73b
implemented readone with parambinder 2018-07-21 15:08:46 +02:00
konrad
935c99be45
implemented read all method for namespace teams 2018-07-18 22:06:29 +02:00
konrad
6618874441
Fixed parambinder 2018-07-18 21:54:04 +02:00
konrad
de95ff40bf
implemented creation of thing via parambinder 2018-07-18 08:56:19 +02:00
konrad
ebb5b332b6
implemented delete team <-> namespace relation 2018-07-18 08:16:15 +02:00
konrad
249128a46e
implemented binding url params directly to struct instead of passing them to the method for deleting items 2018-07-18 08:15:38 +02:00
konrad
7feb82702d
implemented create team <-> namespace relation 2018-07-17 08:44:21 +02:00
konrad
2e3c10be13
updated todo + cleanup 2018-07-17 08:16:04 +02:00
konrad
f6a816941b
implemented get all teams the user is part of 2018-07-16 08:52:16 +02:00
konrad
b11bd9f0b1
fixed lint 2018-07-16 08:45:38 +02:00
konrad
7dc4cd2173
Implemented Get one team method 2018-07-16 08:43:47 +02:00
konrad
8a06db5351
Implemented team delete method 2018-07-16 08:18:15 +02:00
konrad
4cf0cd233c
Implemented team update method 2018-07-14 18:29:24 +02:00
konrad
bcbd415529
Fixed a bug where a struct would have old values in it 2018-07-14 17:46:01 +02:00
konrad
a5552b8f9d
fixed lint + fmt 2018-07-14 17:37:46 +02:00
konrad
bc0e6da602
cleanup 2018-07-14 17:36:17 +02:00
konrad
e1c58843e9
implemented team create method 2018-07-14 17:34:59 +02:00
konrad
c5888093fe
Implemented deletion of namespaces 2018-07-12 23:33:37 +02:00
konrad
55c02bc973
Fixed CanDelete 2018-07-12 23:33:21 +02:00
konrad
b24b245f4d
Fixed creation of new namespaces 2018-07-12 23:22:02 +02:00
konrad
e5493965ff
Fixed creation of new lists 2018-07-12 23:18:50 +02:00
konrad
ddcc063b0b
Implemented CanCreate method 2018-07-12 23:16:32 +02:00
konrad
6fd2a97574
Implemented CanUpdate method 2018-07-12 23:07:03 +02:00
konrad
e3b996c383
Cleanup 2018-07-12 22:42:41 +02:00
konrad
4e503072a8
Implemented CanDelete method for lists and listitems 2018-07-12 21:20:24 +02:00
konrad
217208274e
cleanup 2018-07-12 21:10:58 +02:00
konrad
32fde286db
Optimized right checking
+ list.ReadAll now really gets all lists
2018-07-12 21:07:59 +02:00
konrad
bae9c7f35e
Added right check for namespaces 2018-07-12 13:43:42 +02:00
konrad
868b93dbbc
implemented get one namespace via interface mthod 2018-07-12 11:54:55 +02:00
konrad
6f5cf55e42
fmt + lint 2018-07-12 00:37:31 +02:00
konrad
261aaba315
implemented namespace update via interface method 2018-07-12 00:30:31 +02:00
konrad
0aa84e653f
implemented namespace creation via interface method 2018-07-12 00:09:16 +02:00
konrad
4213f3b08c
implemented get all namespaces via interface 2018-07-11 13:00:00 +02:00
konrad
5c4fb7ed73
implemented delete list item via CRUD 2018-07-11 11:44:17 +02:00
konrad
281e9c1cd0
fmt 2018-07-11 02:40:29 +02:00
konrad
ee4a904e35
Implemented create and update methods for items 2018-07-11 02:39:55 +02:00
konrad
592dc20af4
List item creation is now done via handler 2018-07-11 02:13:53 +02:00
konrad
237874eda6
Fixed lint + fmt 2018-07-10 14:02:23 +02:00
konrad
c8622b0029
Implemented Delete methods on list 2018-07-10 13:27:25 +02:00
kolaente
b1de837c4f
Implemented Create and Update methods on list 2018-07-09 23:17:19 +02:00
kolaente
9e8f13edf6
Getting all lists or one works now 2018-07-09 19:49:27 +02:00
kolaente
d5eb2f08e3
Implemented CRUD Helper, every struct needs its own methods 2018-07-08 22:50:01 +02:00
kolaente
490f32d46b
Added CRUD helper method 2018-07-07 14:19:34 +02:00
kolaente
2d0d074f89
small optimizations 2018-07-06 08:40:35 +02:00
kolaente
462dfc8868
Implemented method to add a list to a namespace 2018-07-05 08:52:05 +02:00
kolaente
93efaa95f8
Implemented method to delete a namespace 2018-07-04 19:21:04 +02:00
kolaente
f59917e721
Fixed getting all lists of one namespace 2018-07-04 08:56:52 +02:00
kolaente
b57ca9375a
Fixed namespace updates not working 2018-07-04 08:15:47 +02:00
kolaente
064e1cd3b7
Small fixes to manage namespaces 2018-07-03 08:48:28 +02:00
kolaente
e0244e28d7
Added method to show all lists in a namespace 2018-07-03 08:26:28 +02:00
kolaente
06cae09f77
Added method to show one namespace 2018-07-02 09:09:32 +02:00