Commit Graph

6740 Commits

Author SHA1 Message Date
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
weryques 7125a042f3 Taxonomies will be unregistered if only it deleted permanently 2017-12-21 10:59:20 -02:00
weryques f0123dd4e0 Now taxonomies can be trashed and deleted. 2017-12-21 10:52:01 -02:00
Jacson Passold 5bbe4ebe7e move roles test from collections to a new file 2017-12-20 22:26:48 -02:00
Jacson Passold c89a5743a5 Merge branch 'master' of github.com:tainacan/tainacan 2017-12-20 22:15:09 -02:00
Jacson Passold b2e4639e43 simple capabilities ecosystem 2017-12-20 22:13:33 -02:00
Eduardo humberto 31feccee1a allow external web components 2017-12-20 10:00:30 -02:00
Eduardo humberto 5d2f121159 remove parse from api response 2017-12-19 16:23:17 -02:00
Weryques 16dd7bfc4d
Update tainacan-api.md 2017-12-19 15:53:03 -02:00