Commit Graph

290 Commits

Author SHA1 Message Date
weryques 429a5587c4 Fixes set thumbnail 2018-03-13 13:47:31 -03:00
weryques 3b13c11acc Enpoint Filters
1. Create filter in collection without field association
2. Create filter in repository
3. Get filters from repository
4. Get filters from collection without field association
2018-03-13 10:01:53 -03:00
Eduardo humberto 5a33bb098a create stubs for all filter type 2018-03-12 16:04:24 -03:00
Leo Germani 495cd9b64b include disabled fields info in api response 2018-03-12 10:44:30 -03:00
Eduardo humberto 772890f193 Fix category field type tests 2018-03-12 10:18:05 -03:00
Leo Germani 315da0d91c create and translate custom Tainacan roles 2018-03-11 21:35:22 -03:00
Leo Germani 66481113d4 move initial capabilities from init hook to activation hook 2018-03-11 19:53:15 -03:00
weryques e49d29bb42 Fixes some tests 2018-03-09 13:28:44 -03:00
Eduardo humberto 8314fb993a remove radio field type and add options for select field type form 2018-03-09 11:12:21 -03:00
Eduardo humberto 868e0222b9 don't validate field taxonomy in itself and update test for field type relationship 2018-03-08 15:32:37 -03:00
Leo Germani 877fd32939 Add collection to taxonomy when a field type category is added 2018-03-08 12:44:29 -03:00
weryques 7869382789 Changes return of errors 2018-03-07 14:09:51 -03:00
weryques f9f5e831f3 Adds verification of capabilities to fetch all field values and modifies the response of invalid attributes on updates and posts 2018-03-07 12:57:12 -03:00
Jacson Passold f3cd952ca7 anonymous filed metadata suggestion test 2018-03-07 10:48:09 -03:00
weryques 0792e6ecef Fixes fields update 2018-03-06 11:01:35 -03:00
weryques d87e2363d2 Get a field from a collection 2018-03-05 16:23:28 -03:00
weryques d652cde744 Merge branch 'develop' of https://github.com/tainacan/tainacan into develop 2018-03-05 15:49:13 -03:00
weryques 6e75a3ed14 Get all fields from repository 2018-03-05 15:48:59 -03:00
Eduardo humberto 49087a6a35 create tests for filter types support 2018-03-05 15:41:37 -03:00
Leo Germani 65e2819ecc changing return of insert term repository for consistency 2018-03-05 13:06:09 -03:00
Leo Germani 2f23fd9d35 Finish category field type tests 2018-03-05 13:06:09 -03:00
Eduardo humberto b638a55409 alter the name Range filter type to Custom Interval, create the autocomplete filter type 2018-03-05 08:50:38 -03:00
Leo Germani fdd6203df2 category field type backend 2018-03-04 14:41:03 -03:00
Leo Germani e69f003de7 starting Category field type 2018-03-03 21:22:15 -03:00
weryques 9cff5a736d Fetch all values of a field from a collection in all it collection items 2018-03-02 11:42:19 -03:00
Leo Germani 97d2668078 test that items capabilities are set properly 2018-03-01 20:41:01 -03:00
Leo Germani bbb68d2c9f re-remove core field types from registry. the may not be used by users 2018-03-01 17:36:07 -03:00
Jacson Passold 77185872db test for item capabilities name 2018-03-01 15:58:13 -03:00
Jacson Passold 6de7c87557 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2018-03-01 15:19:53 -03:00
Jacson Passold 6d6e4fbe23 add get field value route, test aproved itemMetadata suggestion 2018-03-01 15:19:46 -03:00
weryques 84658b1981 Improves in prepare item for db from fields controller and in test api metadata 2018-03-01 15:02:53 -03:00
weryques 7bd8b3e00e Now the creation of default fields is possible through API 2018-03-01 14:46:21 -03:00
Jacson Passold fdbdf78fff right serialization test using WP version of serialize 2018-03-01 13:45:01 -03:00
Jacson Passold c2f50ff94f remove var_dump 2018-03-01 12:45:31 -03:00
Jacson Passold 6522030837 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2018-03-01 12:35:10 -03:00
Jacson Passold 87b5cd53f7 begin test of approve function 2018-03-01 12:34:53 -03:00
Jacson Passold 4f090a1864 test item serialization permissions 2018-03-01 12:34:04 -03:00
weryques d9416118da Revert some features 2018-02-28 15:20:14 -03:00
Leo Germani 483642d4eb remove uselesss registration and duplicated test 2018-02-28 12:56:10 -03:00
Jacson Passold 884db91197 Merge branch 'develop' into cap--with-notice 2018-02-27 16:47:40 -03:00
weryques 004979de7d Create Endpoint GET Field Types 2018-02-27 15:38:21 -03:00
Eduardo humberto e2941c0e2c alter filters structure folders 2018-02-27 09:03:34 -03:00
weryques 466c58e221 Now tax query is working 2018-02-26 15:10:58 -03:00
eduardohumberto 6e305d5a4a creating tests for csv import whole process 2018-02-23 16:20:23 -03:00
weryques 20570a64a0 Trash metadata 2018-02-23 11:59:13 -03:00
Leo Germani e5f4bc3b68 Validate Field optinos according to field type specific validation 2018-02-22 17:29:52 -03:00
Leo Germani 70c30127c0 fix test fields 2018-02-22 17:27:07 -03:00
Jacson Passold cefcb1ebf9 Merge branch 'develop' into cap--with-notice 2018-02-22 17:25:40 -03:00
Jacson Passold c28daf0d8b Merge branch 'develop' of github.com:tainacan/tainacan into develop 2018-02-22 17:11:01 -03:00
Jacson Passold ee95450891 test metadata api insert and suggest handler 2018-02-22 17:06:52 -03:00
weryques 4f4d048e4e Merge branch 'develop' of https://github.com/tainacan/tainacan into develop 2018-02-22 13:12:33 -03:00
weryques 048b95d652 Changes filters route 2018-02-22 13:12:06 -03:00
Eduardo humberto a731fe21f8 create set mapping and its tests 2018-02-22 12:13:25 -03:00
Leo Germani 97d2f503bd fix conflict 2018-02-21 14:09:34 -03:00
Leo Germani 2bf300eeca Merge branch 'develop' of github.com:tainacan/tainacan into develop 2018-02-21 14:08:02 -03:00
Leo Germani fa4a9c1182 remove debug 2018-02-21 14:04:56 -03:00
Leo Germani b23378ceff Add slug for fields and fix fields tests 2018-02-21 14:04:25 -03:00
Leo Germani 4825cc3469 fix collections api test and new test for unique slugs 2018-02-21 13:52:36 -03:00
weryques d3bb9a172b Merge branch 'develop' of https://github.com/tainacan/tainacan into develop 2018-02-21 13:43:40 -03:00
Eduardo humberto 8dd729092c create fetch form remote in importer 2018-02-21 13:38:51 -03:00
weryques 68ee1d4316 Merge branch 'develop' of https://github.com/tainacan/tainacan into develop 2018-02-21 12:49:11 -03:00
weryques c94faa619d Test meta query and date query 2018-02-21 12:06:11 -03:00
Eduardo humberto 91095aade2 add unique ID for each importer created 2018-02-21 09:41:56 -03:00
weryques 230814ac2d Merge branch 'develop' of https://github.com/tainacan/tainacan into develop 2018-02-20 16:06:41 -03:00
weryques fd6af15303 Initiated Meta Query Tests 2018-02-20 16:06:18 -03:00
Eduardo humberto 5440a41331 create upload function importer 2018-02-20 15:11:10 -03:00
Eduardo humberto 5452928b0a begin tainacan importer 2018-02-20 10:35:51 -03:00
Leo Germani fd36aa195b new tests for private objects 2018-02-19 14:10:21 -03:00
Eduardo humberto 783818bb5a fix error on save core field value - array values are not being save - and fix test metadata api - searching the specified field on array of fields 2018-02-19 13:29:43 -03:00
Eduardo humberto 16e8575fcf create test for ordinate fields in collection and allow disable fields 2018-02-19 11:20:17 -03:00
Jacson Passold 6f1d97fc23 begin test of api item_metadata relation 2018-02-16 20:41:43 -02:00
Leo Germani ab26bf6f53 fix api metadata test 2018-02-16 17:16:52 -02:00
Leo Germani f33d474bde fetch items returns items from private collections correctly 2018-02-16 16:48:58 -02:00
Leo Germani 853239c0cc Default fetch items return private items correctly 2018-02-16 16:48:58 -02:00
Eduardo humberto f173852c68 fix core fields tests 2018-02-16 15:50:28 -02:00
Eduardo humberto 6c8650ceda alter repository fields to create in each collection, update tests to support those new fields and remove hooks to create option for repostiory fields 2018-02-16 15:35:28 -02:00
Jacson Passold 5fb73b3b8e Merge branch 'develop' of github.com:tainacan/tainacan into develop 2018-02-16 13:18:19 -02:00
weryques ecd453b3cf Atributes for pagination are visible and initiated the refactoring of prepare item for response 2018-02-16 10:58:55 -02:00
Eduardo humberto 6437dd9939 creating on activate plugin the core fields (repository) 2018-02-15 16:29:46 -02:00
weryques 01a7c41d71 Field type object is now returned with item metadata 2018-02-15 11:27:45 -02:00
weryques 785a94690d Fixes API item metadata 2018-02-15 09:24:44 -02:00
weryques 195133a02c Fixes return of update metadata 2018-02-14 16:52:50 -02:00
weryques 60e362e624 Now metadata multiple and status of entities is working through API 2018-02-14 16:15:19 -02:00
Jacson Passold d7c58b17ca diff multi value 2018-02-14 15:23:46 -02:00
Jacson Passold 3666792e8d add field suggestion permition prop 2018-02-13 22:35:12 -02:00
Jacson Passold fb26ba456d Merge branch 'develop' of github.com:tainacan/tainacan into develop 2018-02-13 21:42:49 -02:00
Jacson Passold 6e13222ad1 do not get thumb from entity with no post ID, add diff function to entities and repositories, simple collection diff test 2018-02-13 21:41:06 -02:00
Leo Germani 74d0009609 Description core field type 2018-02-13 12:03:29 -02:00
Leo Germani 1c43769a9e first funcional commit of core field types 2018-02-10 00:36:57 -02:00
Leo Germani 0d10196abc various fixes in items api controller and permissions handling 2018-02-10 00:36:57 -02:00
Jacson Passold 1c52d84127 fix test group name 2018-02-09 16:59:57 -02:00
Leo Germani dbc3349d46 fix and test deleting entities attributes 2018-02-09 16:04:52 -02:00
Leo Germani 7a3188a572 fix collections test 2018-02-09 16:04:52 -02:00
Leo Germani 6fd5aa31b4 item metadata creation and testing improved 2018-02-08 16:28:45 -02:00
Eduardo humberto a80a9ad6e1 alter get_field to get_fields 2018-02-08 11:15:44 -02:00
weryques fcaaaf0438 Now the routes accept queries 2018-02-01 14:51:38 -02:00
weryques 9ef5d3ad6e Refactoring API
New routes
Update methods refactored
Log Controller created and it test
2018-02-01 13:17:23 -02:00
weryques 1e2c2a4321 New routes - Item Metadata 2018-01-31 13:50:10 -02:00
Eduardo humberto 722b5387d1 Alter Metadata to Fields/Field (Big changes) 2018-01-31 12:51:43 -02:00
weryques 73d86d59bf Refactoring capabilities 2018-01-31 11:06:46 -02:00