Commit Graph

732 Commits

Author SHA1 Message Date
leogermani 51abff93a2 Methods and endpoints for Sequence edit (refs #139 and #69) 2018-10-03 17:47:36 -03:00
eduardohumberto 8b9916ae1a csv importer- start column for item ID (ref. #138) 2018-10-03 07:51:42 -03:00
eduardohumberto cb6fd738b0 csv importer - create special column for status and create tests (ref. #138) 2018-10-01 21:42:39 -03:00
weryques 8e66ce2c73 Fixes too few parameters errpr on wpdb prepare 2018-09-21 12:10:44 -03:00
Leo Germani 1d868802f9 fix tests 2018-09-18 14:16:10 -03:00
Leo Germani 887b74b16f fix Bulk edit API 2018-09-18 12:17:49 -03:00
Leo Germani ace115837a add validation to date metadata type 2018-09-18 10:20:25 -03:00
eduardohumberto 8036b7e8c1 test importer - verify connection 2018-09-13 22:37:07 -03:00
vnmedeiros 108cce551c add auto HTML link tag in text values #128 and HTML break line tag in textarea #116 2018-09-13 17:07:32 -03:00
Leo Germani 3e3063c448 bulk edit: replace method add new value only when old value is found (#18) 2018-09-05 15:57:00 -03:00
Jacson Passold 9cc01aa0c6 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2018-09-03 15:32:28 -03:00
Leo Germani 09e0ca0f54 fix item_metadata validation on bulk edit #69 2018-08-29 15:54:35 -03:00
Leo Germani a569a87ed6 fix bulk edit primary key violation adding terms #69 2018-08-29 15:54:35 -03:00
Jacson Passold add549b881 fix item comment open test 2018-08-28 00:20:04 -03:00
Leo Germani 507f33de32 set_status method in bulk edit api endpoint (#69) 2018-08-26 17:45:11 -03:00
eduardohumberto 8bc7a9c520 fix error multiple lines - csv import 2018-08-24 22:08:31 -03:00
Jacson Passold 9f6c111f83 Merge remote-tracking branch 'origin/develop' into issue-#92 2018-08-21 01:49:19 -03:00
Jacson Passold d721fd9d28 test comment status 2018-08-21 00:22:47 -03:00
Leo Germani 37586925ce register tax to poststypes considering inheritance of tax metadata #111 2018-08-17 17:01:10 -03:00
weryques 4c3d9c8375 Refactoring delete methods (issue #89) 2018-08-10 14:49:14 -03:00
Jacson Passold 0d64ed773a Merge remote-tracking branch 'origin/develop' into export
# Conflicts:
#	src/admin/class-tainacan-admin.php
#	src/admin/tainacan-admin-i18n.php
2018-08-07 20:58:27 -03:00
Jacson Passold 2ef913b184 test for #108 2018-08-07 20:50:51 -03:00
weryques 967bfc876e Removes useless code and creates a test for fetch items that have a metadata not filled (issue #104) 2018-08-07 09:43:17 -03:00
Leo Germani 5e545cdbca Text search also searches in relationship metadata (refs #100) 2018-08-06 15:22:42 -03:00
weryques 5b40cd1f71 Refactoring fetch all metadatatum value and fixes not removing of duplicated values 2018-08-06 13:42:31 -03:00
Leo Germani 5161747d46 CSV importer correctly handles attachments and documents 2018-08-02 11:01:13 -03:00
eduardohumberto 449234a86c csv importer - create attachments tests (ref. #86 ) 2018-07-31 20:57:22 -03:00
eduardohumberto 7fd2138485 csv importer - create tests for different document types and fix index error on process item 2018-07-30 21:57:01 -03:00
eduardohumberto df47e9dc59 csv importer - allow child importers execute method after item insert 2018-07-27 22:18:18 -03:00
Jacson Passold 3ea5ed42b6 Merge remote-tracking branch 'origin/develop' into issue-#24 2018-07-27 00:33:25 -03:00
Jacson Passold 587e2de121 fix test semantic_uri 2018-07-27 00:32:43 -03:00
Leo Germani abbad9bd42 add methods for bulk trash and delete #69 2018-07-26 14:52:30 -03:00
eduardohumberto ded79f7145 csv import - adapt process item method to skip special columns 2018-07-25 21:35:21 -03:00
eduardohumberto ecc99ebd61 csv import - special fields initial tests ( ref. #86 ) 2018-07-24 21:15:17 -03:00
Leo Germani 7d1f934795 add name to background processes #62 2018-07-20 11:05:27 -03:00
Leo Germani 74adde2255 new template tag to get initials from name 2018-07-19 15:16:35 -03:00
Leo Germani 38f1266855 refactor handling core metadata (refs #79) 2018-07-17 17:04:39 -03:00
weryques 666bfa5870 Merge branch 'develop' of https://github.com/tainacan/tainacan into develop 2018-07-17 12:56:17 -03:00
weryques daa9bbee65 Fixes metadata duplication on son collection (issue #79) 2018-07-17 12:51:59 -03:00
Jacson Passold 43e5a59cf4 Merge branch 'develop' into export 2018-07-16 11:58:31 -03:00
Leo Germani e36ac34936 disable compound metadata (refs #76) 2018-07-14 13:16:05 -03:00
Jacson Passold d0466cd2e7 refactoring exposer type and mapping params to use global const to easy
change names
2018-07-12 15:22:37 -03:00
Jacson Passold 94f02ce0cd prototype urls test, rewrite exposers to use exposer_type instead esposer_type and get all exposer urls 2018-07-10 04:11:35 -03:00
Jacson Passold 3c1d3fd5d9 remove debug info 2018-07-10 03:20:57 -03:00
Jacson Passold 2dc5d81371 right test json-dl 2018-07-10 03:20:14 -03:00
Jacson Passold 59ccca49b6 fix metadatum mapper custom meta 2018-07-10 01:05:56 -03:00
Jacson Passold 0d76dbcac7 support for custom metadatum->mapper->metadatum 2018-07-10 00:49:30 -03:00
Jacson Passold 831ec18fb9 Merge remote-tracking branch 'origin/develop' into field-mapping-interface
# Conflicts:
#	src/admin/tainacan-admin-i18n.php
2018-07-09 21:21:32 -03:00
Jacson Passold 45b2d718ff Merge branch 'export' into field-mapping-interface, fix some field from export and write array to exported file 2018-07-09 18:41:42 -03:00
Jacson Passold 118765ed95 add prototype of jsondl test case 2018-07-09 18:23:45 -03:00
Jacson Passold 7d38dc1cf2 check if is visible for api (show_ui) 2018-07-05 22:17:41 -03:00
Leo Germani 379f8c5f04 Buk edit API endpoints #69 2018-07-05 12:57:39 -03:00
eduardohumberto 0de09ad146 allow change csv enclosure and create test for iso8859 strings 2018-07-04 22:39:23 -03:00
eduardohumberto ffda7b4f53 create test for multivalued metadata in csv importer 2018-07-03 22:47:41 -03:00
Leo Germani c2d4912877 Bulk Edit backend and tests 2018-07-03 18:27:32 -03:00
Leo Germani 24d4106b37 Beginning of Bulk Edit Class 2018-07-01 18:35:51 -03:00
Jacson Passold c3e286b74e Merge branch 'develop' into field-mapping-interface
# Conflicts:
#	.travis.yml
#	src/admin/tainacan-admin-i18n.php
2018-06-29 14:41:39 -03:00
Leo Germani a98e5c012c fix importer test 2018-06-20 16:50:08 -03:00
Leo Germani f2fe699369 updating importer api endointis (refs #63) 2018-06-18 15:40:01 -03:00
eduardohumberto a17ed37cc8 add validations and start parse item 2018-06-15 23:35:28 -03:00
Leo Germani 8a3a610e22 Importer API endpoints (refs #63) 2018-06-15 17:01:33 -03:00
Leo Germani b209339daa Tests for fetch_only API param (fixes #54) 2018-06-15 09:35:34 -03:00
weryques 430b57c135 Rename category to taxonomy and categories to taxonomies 2018-06-13 09:29:54 -03:00
Jacson Passold b4d3bf7538 make a dummer test on do not have a import from settings 2018-06-12 15:15:24 -03:00
Jacson Passold 3a9484cfd6 sets and gets metadata on plural 2018-06-12 15:14:42 -03:00
Jacson Passold b5d832fb5d Merge remote-tracking branch 'origin/develop' into field-mapping-interface 2018-06-12 14:18:18 -03:00
Leo Germani 7e78668225 store core metadata values also in metadata table 2018-06-12 11:44:42 -03:00
Jacson Passold c5b97ce66e Merge remote-tracking branch 'origin/develop' into field-mapping-interface
# Conflicts:
#	src/admin/components/lists/metadata-list.vue
#	src/admin/tainacan-admin-i18n.php
#	src/js/store/modules/metadata/actions.js
#	tests/test-api-field-mappers.php
2018-06-11 23:53:18 -03:00
Jacson Passold 55a758387f refactoring exposer-map to exposer_map to be compatible with vue axios post 2018-06-11 21:13:35 -03:00
Leo Germani 83eada31c4 re-refactor metadata types name 2018-06-11 14:58:08 -03:00
weryques 8ba7478287 Changes field to metadatum and fields to metadata 2018-06-11 12:10:07 -03:00
Jacson Passold 97b8d42061 add update fields mappers fature to field-mappers api 2018-06-08 23:03:49 -03:00
eduardohumberto 9be7d8521a create step for tainacan old structure 2018-06-07 22:52:54 -03:00
Jacson Passold 9775c06b7f begin test of export all 2018-06-07 20:40:22 -03:00
Jacson Passold 608da65c9b Merge remote-tracking branch 'origin/develop' into new-mapped-collection
# Conflicts:
#	tests/test-api-export.php
2018-06-07 18:47:06 -03:00
eduardohumberto fca1d52b36 begin adapt old tainacan importer 2018-06-06 22:16:03 -03:00
Leo Germani 3653930f9a Refactor Importer Class 2018-06-06 19:38:38 -03:00
weryques 6859786e6f on entity factory and rest items controller On dev interface fixes PHP Parse error: syntax error, unexpected '::' (T_PAAMAYIM_NEKUDOTAYIM) 2018-06-06 12:45:25 -03:00
walisonjose 16c53fb411 Merge branch 'develop' into continuousintegration 2018-06-06 09:33:11 -03:00
weryques 8cae609ea7 Fixes conflicts and Merge branch 'develop' of https://github.com/tainacan/tainacan into develop 2018-06-06 09:30:23 -03:00
weryques 85d32e1a4a skip test if not web server available 2018-06-06 09:20:21 -03:00
walisonjose 73a923b65a Merge branch 'develop' into continuousintegration 2018-06-05 09:54:43 -03:00
Jacson Passold e817d2761b Merge branch 'develop' of github.com:tainacan/tainacan into develop 2018-06-04 22:22:50 -03:00
eduardohumberto 980ffa7c64 begin script file for import old tainacan 2018-06-04 21:41:14 -03:00
walisonjose 5ec1604416 Merge branch 'develop' into continuousintegration 2018-06-04 16:18:02 -03:00
Jacson Passold a08fdf0693 missing assert 2018-06-04 16:15:37 -03:00
Jacson Passold 59abfc6fb3 simple dependencies capabilities test 2018-06-04 15:53:03 -03:00
walisonjose fee9db084c
Update bootstrap-config-sample.php 2018-06-04 15:08:29 -03:00
walisonjose c2924b0087
Update bootstrap-config-sample.php 2018-06-04 14:40:58 -03:00
walisonjose cec067b9f5
Update and rename bootstrap-config.php to bootstrap-config-sample.php 2018-06-04 14:09:36 -03:00
eduardohumberto ca9b855522 begin tests on tainacan Old importer 2018-06-01 18:37:02 -03:00
Leo Germani 02527eef49 adds more methods to find core fields 2018-05-30 16:39:18 -03:00
Leo Germani 5d2a9f27ad add fetch_one method to repository 2018-05-30 16:39:18 -03:00
Jacson Passold a9698cb3f6 Merge remote-tracking branch 'origin/develop' into new-mapped-collection
# Conflicts:
#	src/admin/pages/lists/collections-page.vue
2018-05-29 20:19:56 -03:00
Jacson Passold 3beaced591 add support to detect mappers and types by slug 2018-05-29 20:15:52 -03:00
Jacson Passold 5af903a987 test api mapped collection creation 2018-05-29 19:26:09 -03:00
walisonjose 23864b6a85
Update bootstrap-config.php 2018-05-29 15:59:22 -03:00
walisonjose 9ae7cac4bb
Update bootstrap-config.php 2018-05-29 15:20:07 -03:00
walisonjose 2e5235ff7b
Update bootstrap-config.php 2018-05-29 15:16:47 -03:00
walisonjose 8a4d339e9c
Update bootstrap-config.php 2018-05-29 15:12:41 -03:00
walisonjose 0b223c2d6e
Update bootstrap-config.php 2018-05-29 13:46:23 -03:00
walisonjose a50c922fad
Update bootstrap-config.php 2018-05-29 13:01:37 -03:00
walisonjose 71fcde2b97
Update and rename bootstrap-config-sample.php to bootstrap-config.php 2018-05-29 10:13:34 -03:00
weryques 2c8def795d Fixes error on test api filters and changes the condition for delete a object to non strict 2018-05-29 10:04:37 -03:00
Jacson Passold 425fd89022 merge dropdown menu from develop with new dynamic, fix translation filter 2018-05-24 12:02:20 -03:00
Jacson Passold fd08babd04 add api list of mappers 2018-05-23 15:06:29 -03:00
Leo Germani f2ddc5b2c5 Fix filter test 2018-05-22 18:09:34 -03:00
weryques c410b3cfa8 Now tainacan is compatible with php 5.6 or greater 2018-05-21 13:56:50 -03:00
Jacson Passold e7ac1d567f Merge remote-tracking branch 'origin/develop' into export 2018-05-15 18:33:40 -03:00
Jacson Passold bfcefe1ed6 Merge branch 'develop' into export
# Conflicts:
#	src/api/endpoints/class-tainacan-rest-export-controller.php
#	tests/test-api-export.php
2018-05-15 18:33:16 -03:00
Jacson Passold d50ff6b959 add export simple test, only for foreground export 2018-05-15 18:29:17 -03:00
Leo Germani decbf64661 Do not allow core fields to be multiple #39 2018-05-11 17:43:22 -03:00
Jacson Passold 040bc1bcc7 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2018-05-11 14:35:52 -03:00
andre2ar 46bda70e9b Old Tainacan importer: Repository compounds 2018-05-07 09:40:36 -03:00
weryques 96154f4183 Cleaning the house 2018-05-04 19:06:54 -03:00
johanpdr f3fa288d5b Adequação de termos 2018-05-04 15:03:11 -03:00
andre2ar d7942e80da Old Tainacan importer: Collections pagination 2018-05-04 13:26:25 -03:00
andre2ar 241fa4497c Old Tainacan importer: setting categories 2018-05-04 09:06:41 -03:00
andre2ar 69a88e1b34 Old Tainacan importer: Create empty collections and repository metadata 2018-05-03 14:37:20 -03:00
andre2ar e79f154a7d Old Tainacan importer: Categories - adding old tainacan category ID 2018-05-03 10:53:15 -03:00
Jacson Passold 16d2b2a8ab Merge remote-tracking branch 'origin/develop' into export 2018-05-03 10:10:48 -03:00
Jacson Passold ad34740850 begin export xml 2018-05-03 10:04:41 -03:00
andre2ar 9cd25cf742 Old Tainacan importer: Categories 2018-05-03 08:48:52 -03:00
Jacson Passold 6d937a18a5 begin export xml 2018-05-02 21:55:41 -03:00
Leo Germani fc1daab3dd Force developers to use the correct method to set props to entities 2018-04-30 10:36:31 -03:00
Leo Germani e778fc5532 Avoid duplicate users in collections moderators list 2018-04-30 10:26:46 -03:00
andre2ar e2359f1790 Repository importer 2018-04-27 14:38:10 -03:00
andre2ar a3ce9230a0 Repository importer: first concept 2018-04-26 15:51:58 -03:00
andre2ar 2c450a6b47 Old Tainacan Importer: corrections 2018-04-24 13:15:19 -03:00
andre2ar f3a413a289 Importer fix 2018-04-24 10:21:18 -03:00
Jacson Passold c75c8585b2 Merge branch 'develop' into exposers 2018-04-23 15:51:52 -03:00
Jacson Passold 8bb1bae3f4 exposer mapper options 2018-04-23 15:50:56 -03:00
andre2ar 6bd41ee6d0 Old tainacan mapping 2018-04-23 14:43:47 -03:00
Leo Germani ca137175f2 fix validation of collection_key metadata 2018-04-22 18:39:54 -03:00
weryques c8b6c67ffe Fixes validation, Item repository now uses insert from parent, created actions for deletions, added tag style for attachment mime type 2018-04-19 16:12:30 -03:00
Jacson Passold 4a8b8a51f6 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2018-04-18 14:13:23 -03:00
Jacson Passold 5dd7254798 test only listed caps 2018-04-18 14:13:16 -03:00
weryques 69d4409c04 Merge branch 'develop' of https://github.com/tainacan/tainacan into develop 2018-04-17 16:22:27 -03:00
weryques 540369cc15 Refactoring events logs 2018-04-17 16:21:54 -03:00
andre2ar 44f184c07c Old tainacan mapping 2018-04-17 14:34:11 -03:00
Jacson Passold cf3c952b42 item exposer 2018-04-16 16:28:59 -03:00
Jacson Passold a23e61270b test value mapper 2018-04-13 15:14:28 -03:00
Jacson Passold 427ac007be Merge remote-tracking branch 'origin/develop' into exposers 2018-04-12 16:47:53 -03:00
Jacson Passold 7967702910 refactoing exposers, mappers has no function only props, class exposers do the mapping, some function modification for using on export feature, some fix and docs 2018-04-12 16:45:29 -03:00
Jacson Passold 38cdcd0b3f csv test 2018-04-11 16:13:19 -03:00
weryques a921b7467c Merge branch 'develop' of https://github.com/tainacan/tainacan into develop 2018-04-11 16:06:21 -03:00
weryques 53b165f45c Improves method diff, Improves method insert, Adds i18n, Fixes log tests, Removes column description from event list 2018-04-11 16:02:29 -03:00
Jacson Passold 6356fb4705 merge src/classes/repositories/class-tainacan-fields.php 2018-04-11 14:54:38 -03:00
Jacson Passold 0c6931f394 test forced mapper and begin of csv test 2018-04-11 14:47:56 -03:00
andre2ar 5e23b6eeff getIntance TO get_instance 2018-04-11 12:38:07 -03:00
andre2ar a7a3cef50b getIntance TO get_instance 2018-04-11 11:38:32 -03:00
andre2ar 105465ee06 getIntance TO get_instance 2018-04-11 11:26:52 -03:00
andre2ar 9e0f467db7 getIntance TO get_instance 2018-04-11 11:26:52 -03:00
Leo Germani 081c9b2e44 Compound field type validation 2018-04-10 23:13:26 -03:00
weryques 73f2520b11 Event page - diff color 2018-04-10 16:24:33 -03:00
weryques c80fa349fc Merge branch 'develop' of https://github.com/tainacan/tainacan into develop 2018-04-10 14:48:26 -03:00
weryques 3b48e373b1 Improves logs exhibition and pages when has no items 2018-04-10 14:47:32 -03:00
Leo Germani 3999690358 small fixes handling auto draft taxonomies 2018-04-10 14:39:38 -03:00
Leo Germani e2cd0d255e value as html for compound fields 2018-04-10 09:11:39 -03:00
weryques 7e1e0de7cc Merge branch 'develop' of https://github.com/tainacan/tainacan into develop 2018-04-09 12:50:52 -03:00
weryques dba92385a6 Logs and Tests
Updated action do insert logs
Fixes action of insert logs in all insert methods
Updated message of logs
Updated description of logs
Fixes some tests
2018-04-09 12:45:49 -03:00
Leo Germani 39c86691aa item metadata value_to_html() structure and applied to cat field type 2018-04-09 11:32:53 -03:00
weryques 81a81a8b53 Event page, log diff test, changes event module name, fetch_only in logs controller 2018-04-06 15:29:13 -03:00
Jacson Passold 75c7665a36 Merge remote-tracking branch 'origin/develop' into exposers 2018-04-05 18:00:02 -03:00
Jacson Passold 0742a4cede test html exposer 2018-04-05 13:16:31 -03:00
weryques a3a239a435 Fixes enabled of fields and fetch of logs 2018-04-04 10:47:31 -03:00
Jacson Passold 4b5bba10e0 Merge remote-tracking branch 'origin/develop' into exposers 2018-04-04 01:40:34 -03:00
Jacson Passold 8bdff539f8 begin html test 2018-04-04 01:40:17 -03:00
andre2ar a7a75cf71b Old tainacan import (pre-alfa) 2018-04-03 15:41:21 -03:00
Jacson Passold a40798ec02 Merge remote-tracking branch 'origin/develop' into exposers 2018-04-02 12:00:33 -03:00
Jacson Passold becba0fd2d add oai-pmh dublin core format support 2018-04-02 11:25:18 -03:00
Leo Germani 64c282ab13 new fetch_ids method in Items repository 2018-03-30 21:16:05 -03:00
Leo Germani d474711708 improvements in importer class and documentation 2018-03-30 16:34:46 -03:00
Jacson Passold 39331653f1 Merge remote-tracking branch 'origin/develop' into exposers 2018-03-28 20:42:58 -03:00
Leo Germani 142fce69fd compound clenaup and documenting next steps (validation) 2018-03-27 22:49:55 -03:00
Leo Germani d1b7587b2c Merge branch 'develop' into feature/compound 2018-03-27 22:25:36 -03:00
Leo Germani ab2d3d23a8 multiple compound field type. POC 2018-03-27 22:23:55 -03:00
weryques 444f78dad7 Update term 2018-03-27 14:54:28 -03:00
Jacson Passold f02637ced8 fix miss spell prop name 2018-03-27 12:48:53 -03:00
Jacson Passold 96af387526 test exposer, with error on dc:title 2018-03-27 12:44:23 -03:00
Leo Germani d9bcc0381d basic structure of compound field type 2018-03-27 00:53:51 -03:00
Jacson Passold e24b7639f0 Merge remote-tracking branch 'origin/develop' into exposers 2018-03-26 18:19:33 -03:00
weryques ec66b0b576 Delete category 2018-03-23 10:03:39 -03:00
Jacson Passold e744fc4635 Merge branch 'develop' into exposers 2018-03-22 21:39:45 -03:00
andre2ar e8835841a6 Solving errors 2018-03-21 09:20:00 -03:00
andre2ar 7555878a8f First try 2018-03-20 13:04:02 -03:00
weryques 3dd795d9d3 Refactoring of methods map 2018-03-19 10:12:32 -03:00
Jacson Passold 03bd77228e mapper test 2018-03-16 15:52:50 -03:00
weryques efa4d5cc7c Somes fixes on fetch all field values and fields controller args 2018-03-15 10:42:43 -03:00
Leo Germani 4325b9833d change property disabled_for_collection for enabled_for_collection 2018-03-14 16:24:19 -03:00
Jacson Passold fa646da2c8 add xml exposer prototype 2018-03-13 21:29:31 -03:00
weryques 0bf7d0054b Adds endpoint GET filter-types 2018-03-13 14:34:13 -03:00
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
weryques 60bd3753c4 Refactoring some controllers 2018-01-30 15:33:06 -02:00
Leo Germani bd0b34cd2c Merge branch 'master' into develop 2018-01-30 12:01:24 -02:00
Jacson Passold bf4f254df7 better debug 2018-01-29 18:36:15 -02:00
Jacson Passold 0e01a2bff7 Merge branch 'Item_moderation' of github.com:tainacan/tainacan into Item_moderation 2018-01-29 18:22:56 -02:00
Jacson Passold a9bcd0292a better handler response errors 2018-01-29 18:18:40 -02:00
Leo Germani 764ec9b681 removing endpoint tha needs refactoring 2018-01-29 17:08:34 -02:00
weryques cf5cb62d21 Allow insert draft Items 2018-01-29 11:09:44 -02:00
Leo Germani 1b54969c4d Improves capabilities tests and fixes set_items_capabilities 2018-01-28 23:34:12 -02:00
Leo Germani 979c80eb92 fix permissions for moderators. still have to fix can_* methods in repoitory 2018-01-27 00:23:25 -02:00
Jacson Passold 35ba99d882 test item moderation 2018-01-26 16:44:45 -02:00
weryques f8d7393e2f Merge branch 'master' into feature/user-admin-interface 2018-01-26 14:23:32 -02:00
weryques 01f42d5c0c API routes changed 2018-01-25 11:47:09 -02:00
Jacson Passold e1a54d96f4 test moderators and debug metas support 2018-01-24 17:32:06 -02:00
weryques 49df60f989 Limitation of attributes returned from API GET Collections 2018-01-24 14:08:17 -02:00
weryques 1d473b1b6c Merge branch 'master' of https://github.com/tainacan/tainacan 2018-01-22 09:50:31 -02:00
weryques f91d19abbb Fix build for macOS and Fix autoload for uppercase directories 2018-01-22 09:48:51 -02:00
Jacson Passold 7c6932ac1f Merge branch 'master' of github.com:tainacan/tainacan 2018-01-19 20:46:08 -02:00
Jacson Passold 86d45910d4 add test group "api" 2018-01-19 20:39:32 -02:00
weryques 856ea0b4a7 Update collection metadata 2018-01-19 14:56:36 -02:00
weryques 814884b404 Update Item Metadata 2018-01-19 12:55:39 -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 87df13cbc7 doc fix 2018-01-18 12:28:51 -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
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
weryques eac7db72c4 Delete Term 2018-01-15 17:47:27 -02:00
weryques a2d6c38c13 Delete filter 2018-01-15 09:15:21 -02:00
weryques 43b15b55ba Test for filters delete or trash and started delete endpoint 2018-01-12 14:17:52 -02:00
Jacson Passold ae8f2f7dde can_publish test 2018-01-10 21:42:51 -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
weryques 0541d78b5f Create endpoint to POST filters and your test. 2018-01-10 13:56:55 -02:00
Jacson Passold b95161792b Merge branch 'master' of github.com:tainacan/tainacan 2018-01-08 19:53:20 -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
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 b1f8759a6b funtion to check read and write perm and read test 2017-12-26 20:08:15 -02:00
Jacson Passold 5bbe4ebe7e move roles test from collections to a new file 2017-12-20 22:26:48 -02:00
Jacson Passold b2e4639e43 simple capabilities ecosystem 2017-12-20 22:13:33 -02:00
weryques 167867620e Api updates
Created taxonomies Controller;
Now the entities have the method __toArray();
Created test for taxonomies Controller;
Added more exceptions treatments;
terms Controller was initiated;
And other improvements.
2017-12-19 14:24:30 -02:00
weryques 96aa29d61b Now the basic user capabilities are working 2017-12-18 10:52:45 -02:00
weryques e4175f83ab Added error messages 2017-12-13 13:07:01 -02:00
weryques 3550c8b614 Get item metadata and Get Collection metadata 2017-12-12 15:17:55 -02:00
weryques 94d6ca8dc6 Removed unecessary verification 2017-12-12 12:16:17 -02:00
weryques 876bd47539 Removing duplicated validation 2017-12-12 12:11:50 -02:00
weryques b9ef55c21f Remove translations 2017-12-12 12:01:41 -02:00
Jacson Passold f04fb3d81c Merge branch 'master' of github.com:tainacan/tainacan 2017-12-12 11:46:50 -02:00
Jacson Passold 1f440bafad add publish to factory param 2017-12-12 11:40:01 -02:00