Commit Graph

587 Commits

Author SHA1 Message Date
leogermani e17c5241cf Merge branch 'feature/274' into develop 2019-12-16 16:00:53 -03:00
leogermani 453cc4b8a1 fix capablities list in roles retunr #274 2019-12-11 19:11:21 -03:00
leogermani a472915b11 fix capabilities validation api roles #274 2019-12-10 16:51:05 -03:00
leogermani 907d0df7b9 open context edit #274
context edit was basicaluu only hiding entity permissions.
No sensitive information. Removed cause needed in front-end
If sensitive info is added, check shoud be done when building response
2019-12-09 18:16:35 -03:00
leogermani 221e6b3ab8 return only tainacan caps on roles endpoint #274 2019-12-09 17:20:37 -03:00
leogermani 0b1460cd1a validate caps on roles endpoint #274 2019-12-06 16:53:49 -03:00
leogermani 5ce4707230 add capabilities param to POST and PATCH roles #274 2019-12-02 16:35:34 -03:00
leogermani f1dc8cc77e add secondary orderby ID to items query #337 2019-11-29 18:34:38 -03:00
leogermani fbd6e105ce always get fresh related collection #339 2019-11-29 17:27:47 -03:00
Vinícius Nunes c3b4a1517a add sort metadata on test duplicate items 2019-11-18 11:31:54 -03:00
Vinícius Nunes 014c9290cb add sort metadata on test duplicate items 2019-11-18 10:56:14 -03:00
leogermani 11f548999b fix tests for wp 5.3 2019-11-14 17:42:09 -03:00
leogermani 9a2078dd19 fix roles_inherited return #274 2019-11-11 14:57:30 -03:00
Mateus Machado Luna 8fac7ae028 Solving small merge conflicts from develop. 2019-11-07 14:40:34 -03:00
Vinícius Nunes 5e1a4732e0 add test for remove term taxonomy when value is empty 2019-11-06 11:33:40 -03:00
leogermani 7a8dc9c474 tnc_col_edit_users, get_capablities endpoint #274 2019-11-05 17:07:49 -03:00
leogermani 7747778a80 add test to get roles endpoint #274 2019-11-05 12:21:48 -03:00
leogermani 04ecefa297 admin always can tnc_rep_edit_users #274 2019-11-05 12:21:48 -03:00
leogermani 7f4298b3a5 new default roles #274 2019-11-04 18:55:40 -03:00
leogermani 59054f32f6 add endpoint to get a collection caps/roles #274 2019-11-04 15:38:04 -03:00
leogermani 166e92ac68 fix test #274 2019-11-04 12:10:47 -03:00
leogermani ca79ea94a8 only tainacan caps can be edited in api #274 2019-11-01 14:49:14 -03:00
leogermani b22db480f1 automatically add depencies caps #274 2019-11-01 14:35:56 -03:00
leogermani d536e1e992 terms meta capabilities #274 2019-10-31 17:45:20 -03:00
leogermani 2ec0bd1642 Items capabilities #274 2019-10-30 10:59:38 -03:00
leogermani f1a6385698 merge develop 2019-10-29 16:03:11 -03:00
leogermani 79813f79c9 test collections capabilites #274 2019-10-28 20:17:18 -03:00
leogermani 277f061512 separate delete from edit capabilities #274 2019-10-28 19:57:48 -03:00
leogermani c325725990 testing capabilities #274 2019-10-25 17:28:50 -03:00
leogermani fc2898f701 set taxmeta as private when tax turns private #274 2019-10-25 17:28:05 -03:00
leogermani 56b9e76aa1 Make WP update terms count for all items #318 2019-10-24 16:06:46 -03:00
vnmedeiros 678f69f26a remove `enabled_post_types` on declared taxonomy. 2019-10-24 16:06:39 -03:00
vnmedeiros f494a0dc11 add test for object post type of the taxonomies 2019-10-24 16:06:31 -03:00
leogermani f94426580b Remove Custom Interval filter and migrate to new ones #306 2019-10-23 17:29:16 -03:00
Leo Germani 6e7bd268ee refactor filters and meta fetch_by_collection considering perms #274 2019-10-21 19:11:41 -03:00
Leo Germani 6a5c60ed44 removing outdated tests #274 2019-10-21 19:10:10 -03:00
Leo Germani 31ef06a8dd remove collections moderators feature #274 2019-10-21 14:24:34 -03:00
Leo Germani 807fe2759d add tnc_col_all_* capabilities support #274 2019-10-21 11:44:26 -03:00
Leo Germani 7e91b4bd69 reorganizing capabilties #274 2019-10-18 20:44:53 -03:00
Leo Germani eea135a5d2 Structuring capabilities #274 2019-10-17 16:36:23 -03:00
vnmedeiros 86a7ff13e1 fix value of `filter_type` on test api filter 2019-10-16 17:09:29 -03:00
vnmedeiros 19a06adb6a fix test `test_get_filter_types` to get class name of filters 2019-10-16 16:23:42 -03:00
vnmedeiros f24ebfff66 fix test for api filters types 2019-10-16 14:39:20 -03:00
Leo Germani 9440f70551 test and fix metadata and filter type options in API response 2019-10-16 11:05:29 -03:00
Leo Germani 626e1cce60 removed unsed tests. these were migrated to test facets 2019-10-16 07:56:18 -03:00
Leo Germani efa02cda9f update filters count in tests 2019-10-15 17:17:42 -03:00
Leo Germani 89b1737215 Basic roles API endpoints working #274 2019-10-15 17:15:17 -03:00
Leo Germani cc392cf55a starting roles API endpoint #247 2019-10-11 23:14:18 -03:00
vnmedeiros 678a445a4d api-importes test improvements and replace a `$_SESSION` #313 2019-10-11 19:13:51 -03:00
vnmedeiros ff8528893b api-importes test improvements #313 2019-10-11 17:33:43 -03:00