Commit Graph

8129 Commits

Author SHA1 Message Date
weryques 04018132eb Docs and __toString
Changed phpdocs to english;
toString now return the name of entity.
2017-12-06 10:23:09 -02:00
Jacson Passold 661e6a85ef move entuty construct to parent class 2017-12-05 23:27:56 -02:00
Jacson Passold 1cbff4e511 get mapped property from repository 2017-12-05 22:59:12 -02:00
Eduardo humberto 8f595cb613 render components dynamic, create selectbox component 2017-12-05 17:01:08 -02:00
Eduardo humberto 68b25a3283 fix docs and allow set field type by name 2017-12-05 16:21:03 -02:00
weryques 917efc276a Merge branch 'master' of https://github.com/tainacan/tainacan 2017-12-05 16:08:29 -02:00
weryques 8e829de4e8 Styles 2017-12-05 16:08:13 -02:00
Eduardo humberto d688ae26ff Fix duplicate field types on register 2017-12-05 15:45:24 -02:00
Eduardo humberto 11a40ddee9 update field and filter type properties in entities, save options in database 2017-12-05 15:42:15 -02:00
Eduardo humberto 07bc1a6776 add function wp_slash on insert/update metas 2017-12-05 14:19:55 -02:00
Eduardo humberto a4c93b2ed9 get options saved values 2017-12-05 13:29:44 -02:00
weryques a77593cba4 Log map description 2017-12-05 12:37:01 -02:00
Eduardo humberto c3032df72a field types options 2017-12-05 11:35:18 -02:00
weryques ff0fd7ba8e Merge branch 'master' of https://github.com/tainacan/tainacan 2017-12-05 10:29:48 -02:00
weryques b433cf3d60 Improvements on catch errors 2017-12-05 10:28:38 -02:00
Eduardo humberto e9813b1592 add test new field type 2017-12-05 08:37:50 -02:00
Jacson Passold a6d39f7666 phpunit api group (phpunit --group api) 2017-12-04 17:01:34 -02:00
Jacson Passold 043a5a02a0 Merge branch 'master' of github.com:tainacan/tainacan 2017-12-04 16:47:46 -02:00
Jacson Passold fd63a432cd separate hoot test 2017-12-04 16:47:38 -02:00
Jacson Passold 9da2c61044 new api test method, using wordpress rest team form (https://github.com/WP-API/WP-API/blob/develop/tests/test-rest-posts-controller.php) 2017-12-04 16:46:56 -02:00
Jacson Passold a867901849 remove a not working forced plugin installation 2017-12-04 16:45:57 -02:00
Jacson Passold 440d433df3 call the parent setUp 2017-12-04 16:44:48 -02:00
Jacson Passold 3607d99181 add a base class for api test cases 2017-12-04 16:42:41 -02:00
Leo Germani 9ff4438236 only run npm build when js changes 2017-12-04 16:34:56 -02:00
Eduardo humberto ff09c7bf11 register default types on init 2017-12-04 16:30:58 -02:00
weryques 3b0d738fc2 Now factories are used in all tests 2017-12-04 16:20:49 -02:00
Eduardo humberto 0b00392f7a register field types 2017-12-04 15:50:53 -02:00
Jacson Passold ffd2d4e2fa Merge branch 'master' of github.com:tainacan/tainacan 2017-12-04 14:56:57 -02:00
Leo Germani 562e89b309 starting to test web components in admin 2017-12-04 14:52:24 -02:00
Jacson Passold e8aa9c3bd3 only validate ready posts 2017-12-04 14:27:02 -02:00
Leo Germani 7b4faa77fb remove compiled js from repository 2017-12-04 13:57:07 -02:00
Leo Germani 5456584f85 add js to docs and build 2017-12-04 13:56:21 -02:00
Eduardo humberto 4c8b94aa88 init vue structure and improve folder filter types 2017-12-04 13:37:21 -02:00
weryques ed0c3d9674 Factories and Test adaptations
Factories field and filter were created.
Tests from collection, filters and item metadata
were adapted it.
2017-12-04 12:58:19 -02:00
Leo Germani 0083f35f1d add post type supports arrays 2017-12-03 20:05:58 -02:00
Leo Germani e6cf022ffe Merge branch 'master' of github.com:tainacan/tainacan 2017-12-03 19:49:58 -02:00
Leo Germani 3f21743672 [dev-interface] display items metadata 2017-12-03 19:49:50 -02:00
weryques a17e647d52 Tainacan Entity Factory and other things
Added __toString in all entities;
Created Entity Factory;
Entity factory added in test add collection;
2017-12-03 18:33:16 -02:00
Leo Germani 764db51e97 [dev-interface] collections relations 2017-12-02 20:10:02 -02:00
Leo Germani 35d2daad9d [dev-interface] saving entities basic info 2017-12-02 19:42:53 -02:00
Leo Germani 9a8f36fda6 Starting the dev admin interface 2017-12-01 17:42:43 -02:00
Leo Germani 20b56854a3 Fix fetch with empty args to return everything 2017-12-01 16:57:15 -02:00
Leo Germani 4ac33d8819 fix register collections post types 2017-12-01 15:44:33 -02:00
Leo Germani f2e9322403 fix build script 2017-12-01 15:38:55 -02:00
Leo Germani cc50b70032 post types & taxonomies labels 2017-12-01 15:18:07 -02:00
Eduardo humberto f8b64edd6f insert validation methods in repositories mapping 2017-12-01 14:06:35 -02:00
Eduardo humberto d06e1a7135 show generic message on invalid entities 2017-12-01 11:16:33 -02:00
Eduardo humberto 420e4a311f display custom errors on validate insert and fix tests 2017-12-01 11:09:08 -02:00
Eduardo humberto f3ce4a4221 insert validations and texts for metadata mapping 2017-12-01 09:41:30 -02:00
weryques 5de5e4a936 Method toJSON
All entities inherit the method __toJSON()
2017-12-01 08:46:03 -02:00