Commit Graph

164 Commits

Author SHA1 Message Date
weryques b433cf3d60 Improvements on catch errors 2017-12-05 10:28:38 -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
Jacson Passold 185e0dd5ea manualy set metadata status to publish 2017-12-01 00:54:14 -02:00
Jacson Passold c7394be0b5 check if a new created collection is draft by default 2017-12-01 00:53:20 -02:00
Jacson Passold eba6eb55e2 check if last log is a log 2017-12-01 00:52:26 -02:00
Jacson Passold 4feca2a9cd filter maps and logs using new fetch function for get last log 2017-12-01 00:51:51 -02:00
Jacson Passold 3b7d7e46e3 set log status always publish 2017-12-01 00:50:37 -02:00
Jacson Passold 4c078ce953 add default property status 2017-12-01 00:48:43 -02:00
Jacson Passold 687740223f Merge branch 'master' of github.com:tainacan/tainacan 2017-11-30 23:34:32 -02:00
Jacson Passold 15bf4c0f1c doc get_map 2017-11-30 23:34:10 -02:00
Leo Germani 0124e57c07 forçando entidades a serem validadas antes de salvar 2017-11-30 16:00:25 -02:00
Jacson Passold 1eb0dad205 remove default value for compatibility with item meta fetch 2017-11-30 15:24:12 -02:00
Jacson Passold 1f8e87d8c8 Merge branch 'master' of github.com:tainacan/tainacan 2017-11-30 14:45:24 -02:00
Jacson Passold f9d10e97c4 remove default value for compatibility with item meta fetch 2017-11-30 14:45:10 -02:00
Leo Germani 23631665b5 Merge branch 'master' of github.com:tainacan/tainacan 2017-11-30 14:42:22 -02:00
Leo Germani 6676d03aa0 improving fetch! 2017-11-30 14:42:11 -02:00
Jacson Passold 37f1d03bfe update abstract function assinature 2017-11-30 14:17:41 -02:00