Commit Graph

526 Commits

Author SHA1 Message Date
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