Commit Graph

2296 Commits

Author SHA1 Message Date
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
weryques cd498f48a6 API, Docs and Tests config:
setup-local.md updated;
Collections Controller updated;
Items Controller implementation initiated;
Map in Collections updated;
PHPDoc in Collections Controller; and
other things.
2017-11-30 14:00:43 -02:00
Leo Germani 8bbc602774 small fix 2017-11-30 12:12:02 -02:00
Leo Germani 528141720f replacing deprecated method 2017-11-30 12:10:02 -02:00
Leo Germani e9929009cc better docs for fetch output 2017-11-30 12:09:12 -02:00
Eduardo humberto c15cb6464f allow change output in fetch methods 2017-11-30 11:44:43 -02:00
Leo Germani 023ef0f15a trabalhando na infra pra testes da API 2017-11-29 17:11:30 -02:00
Eduardo humberto 57b3e5586b refactor repositories fetch method 2017-11-29 16:06:22 -02:00
Jacson Passold 75d609e2b7 Merge branch 'master' of github.com:tainacan/tainacan 2017-11-29 14:16:09 -02:00
Jacson Passold 8e011eb827 update class docs 2017-11-29 14:16:01 -02:00
weryques 7c20ef7884 API, API Tests and Setup Doc.
Added API Tests,
Added API Endpoints,
Documentation modified
2017-11-29 11:45:30 -02:00
Leo Germani 9b02ecc101 Merge branch 'master' of github.com:medialab-ufg/tainacan-test-repo 2017-11-28 18:49:29 -02:00
Leo Germani bec743c80a adding all collection properties 2017-11-28 18:49:20 -02:00
Jacson Passold d6b8c01f73 logging items insert 2017-11-27 22:55:22 -02:00
Jacson Passold d4d7bf9a75 revert Item insert to use its custom method 2017-11-27 22:51:04 -02:00
Jacson Passold e4a0384a62 use filter to customize log message and update not post type classes insert 2017-11-27 22:46:19 -02:00
Jacson Passold 92d059c803 register the item post_type 2017-11-27 22:37:59 -02:00
Jacson Passold 60285252ad avoid log the log 2017-11-27 22:37:39 -02:00
Jacson Passold 160ec3d614 add action to log insertions 2017-11-27 22:12:42 -02:00