Commit Graph

134 Commits

Author SHA1 Message Date
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
Jacson Passold 21eaeb4878 move default message to Logs class 2017-11-27 22:12:12 -02:00
Jacson Passold 3bb4a63a47 remove log call, use action 2017-11-27 22:11:08 -02:00
weryques d318bd0d42 Test endpoint 'collections' 2017-11-27 12:32:03 -02:00
Leo Germani 9c0d1dd734 Documentation! 2017-11-26 19:17:51 -02:00
Jacson Passold 4f81ecb469 logging repository classes that does not insert using super class 2017-11-24 19:19:29 -02:00
Jacson Passold b94024b194 logging repository inserts using super class 2017-11-24 19:15:41 -02:00
Jacson Passold 1b0fe58702 item-metadata will not use using super class insert 2017-11-24 18:08:23 -02:00
Jacson Passold e9dbdd6a60 filters using super class insert 2017-11-24 18:05:53 -02:00
Jacson Passold d655d54900 term will not use using super class insert 2017-11-24 17:55:17 -02:00
Jacson Passold 31791f7aab taxonomies using super class insert 2017-11-24 17:51:51 -02:00
Jacson Passold a186b5ef81 Logs using super class insert 2017-11-24 17:40:51 -02:00
Jacson Passold 4e4b51cc60 constant CLASSES_DIR already defined at tainacan.php 2017-11-24 17:40:14 -02:00