Commit Graph

8561 Commits

Author SHA1 Message Date
Jacson Passold e4d7fba82f add Item db sufix "_item" to post_type 2018-01-18 17:05:51 -02:00
Jacson Passold acba18d245 avoid set cap on Item that do not have collection, maybe throw exception later 2018-01-18 12:42:33 -02:00
Jacson Passold 2301029bf8 Merge branch 'master' of github.com:tainacan/tainacan 2018-01-18 12:34:23 -02:00
Jacson Passold 44aebc95ea better caps test and test moderators_ids is stored 2018-01-18 12:34:08 -02:00
Jacson Passold e8462872e1 test item permissions 2018-01-18 12:30:57 -02:00
Jacson Passold 497c968746 dinamic update cap object for collection items 2018-01-18 12:29:27 -02:00
Jacson Passold 87df13cbc7 doc fix 2018-01-18 12:28:51 -02:00
Jacson Passold 221adb35e6 add some documentation 2018-01-18 12:28:20 -02:00
Jacson Passold 9788debde2 return post_type object after registration 2018-01-18 12:24:35 -02:00
Jacson Passold 14a7c2651f set collection items creation caps 2018-01-18 12:23:13 -02:00
weryques 15612ef35a Fetch a Term 2018-01-18 11:38:31 -02:00
weryques a37e56e424 Get a filter 2018-01-18 11:23:16 -02:00
weryques ab081cc992 Fetch all terms of a taxonomy 2018-01-18 10:45:31 -02:00
weryques 027fd43030 Fetch filters 2018-01-17 15:48:44 -02:00
weryques b3d92b7abb Update terms 2018-01-17 12:33:28 -02:00
weryques e37d4a6465 Update taxonomies 2018-01-17 10:02:22 -02:00
leogermani 4b2103f800
replacing correct primitive capability read 2018-01-16 13:39:22 -02:00
Jacson Passold 1fe8971866 Merge branch 'master' of github.com:tainacan/tainacan 2018-01-16 13:27:59 -02:00
Jacson Passold 36ff140ee0 Merge branch 'master' of github.com:tainacan/tainacan 2018-01-16 11:41:27 -02:00
weryques 036d5e2661 Update filter 2018-01-16 11:41:24 -02:00
weryques e961943e8c Update item 2018-01-16 10:47:29 -02:00
weryques ec07dd9cd2 Update collection 2018-01-16 10:31:52 -02:00
Jacson Passold f075a1a002 refactoring two similar functions 2018-01-15 23:38:24 -02:00
Jacson Passold 241ee158cc add capability config class, create a static function to get Entity by post_type 2018-01-15 23:20:48 -02:00
weryques eac7db72c4 Delete Term 2018-01-15 17:47:27 -02:00
Weryques 533f07f965
Update tainacan-api.md 2018-01-15 14:42:44 -02:00
weryques 387169d2ee Merge branch 'master' of https://github.com/tainacan/tainacan 2018-01-15 11:53:50 -02:00
weryques a2d6c38c13 Delete filter 2018-01-15 09:15:21 -02:00
Jacson Passold 7c3042f4b0 missing semicolon 2018-01-12 19:15:15 -02:00
Jacson Passold 1f372e9641 Merge branch 'master' of github.com:tainacan/tainacan 2018-01-12 18:35:12 -02:00
Jacson Passold 181c5b493f revert to capability_type config 2018-01-12 18:35:01 -02:00
Leo Germani 9dcac1d490 Merge branch 'master' of github.com:tainacan/tainacan 2018-01-12 18:29:07 -02:00
Leo Germani 836878092a starting to develop all the features for collections moderators 2018-01-12 18:28:49 -02:00
Leo Germani 73b27ac97a Replace loop for a correct fetch call 2018-01-12 16:36:21 -02:00
weryques 43b15b55ba Test for filters delete or trash and started delete endpoint 2018-01-12 14:17:52 -02:00
Weryques 225249adc8
Update tainacan-api.md 2018-01-12 14:02:30 -02:00
Jacson Passold ae8f2f7dde can_publish test 2018-01-10 21:42:51 -02:00
Jacson Passold 600f9a75d4 better doc user param and implement can_publish 2018-01-10 21:42:29 -02:00
Jacson Passold bf9ec334e9 add caps helper funtions to entity 2018-01-10 21:41:53 -02:00
Jacson Passold dd44e2682e helper functions using map_meta_cap 2018-01-10 21:15:38 -02:00
Jacson Passold 1b8c7f63ca Merge branch 'master' of github.com:tainacan/tainacan 2018-01-10 21:09:48 -02:00
Jacson Passold 6ba5122dfe simple perm test using map 2018-01-10 21:09:41 -02:00
Jacson Passold a1447bcd5b using map_meta_cap 2018-01-10 21:08:51 -02:00
Weryques 69f6fb9a03
Update tainacan-api.md 2018-01-10 14:05:16 -02:00
weryques 0541d78b5f Create endpoint to POST filters and your test. 2018-01-10 13:56:55 -02:00
weryques 6222feca03 Merge branch 'master' of https://github.com/tainacan/tainacan 2018-01-09 13:03:05 -02:00
weryques 831a109287 Capabilities added in API 2018-01-09 12:57:10 -02:00
Jacson Passold 9d8eb97a9d removing perm check 2018-01-09 10:42:14 -02:00
Jacson Passold b95161792b Merge branch 'master' of github.com:tainacan/tainacan 2018-01-08 19:53:20 -02:00
Jacson Passold 3fc7bc00ba chekc if user can delete a collection 2018-01-08 19:53:10 -02:00