Commit Graph

3448 Commits

Author SHA1 Message Date
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
Jacson Passold 2f1b9a3815 rewrite permission check using cap object, fix some caps names and get_entity_by_post support int and array as post param and return entity if a entity is given 2018-01-08 19:51:49 -02:00
Jacson Passold 4457ddf9b8 add primitivy cap array 2018-01-08 19:49:41 -02:00
Jacson Passold 6c98aeb5f3 remove old __constructor 2018-01-08 19:31:11 -02:00
Jacson Passold 2851d8b545 user already set at super class 2018-01-08 19:30:26 -02:00
weryques a9edd8ef19 Create term in a taxonomy and test that creation. 2018-01-08 15:33:47 -02:00
weryques a3a8c10e4a Test delete or trash Taxonomy 2018-01-08 10:53:28 -02:00
Weryques 97344cbce8
Update tainacan-api.md 2018-01-08 08:08:03 -02:00
Jacson Passold 441d337f26 filter need names because post_title can not be null 2018-01-03 17:39:10 -02:00
Jacson Passold f0caa21bab setup test for user support 2018-01-03 17:38:00 -02:00
Jacson Passold aac62df69d edit cap test, fix for database errors, WordPress like initial caps 2018-01-03 17:31:18 -02:00
Jacson Passold fcbd453e94 post_content can not be null 2018-01-03 17:18:44 -02:00
Jacson Passold 9031a72580 Merge branch 'master' of github.com:tainacan/tainacan 2017-12-26 20:08:21 -02:00
Jacson Passold b1f8759a6b funtion to check read and write perm and read test 2017-12-26 20:08:15 -02:00