Commit Graph

312 Commits

Author SHA1 Message Date
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
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
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 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
Eduardo humberto f8b64edd6f insert validation methods in repositories mapping 2017-12-01 14:06:35 -02:00
Eduardo humberto 420e4a311f display custom errors on validate insert and fix tests 2017-12-01 11:09:08 -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
Leo Germani 0124e57c07 forçando entidades a serem validadas antes de salvar 2017-11-30 16:00:25 -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
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
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
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 bec743c80a adding all collection properties 2017-11-28 18:49:20 -02:00
weryques d318bd0d42 Test endpoint 'collections' 2017-11-27 12:32:03 -02:00
Jacson Passold b94024b194 logging repository inserts using super class 2017-11-24 19:15:41 -02:00
Jacson Passold fdf2818f11 fix assert order 2017-11-24 16:54:52 -02:00
Jacson Passold 9d3e21c32f Merge branch 'master' of github.com:tainacan/tainacan 2017-11-24 16:03:25 -02:00
weryques 4f195b396b Tainacan API and two Endpoints: collections and collections/id 2017-11-24 15:32:27 -02:00
Jacson Passold 68672444f8 test init 2017-11-23 17:06:57 -02:00
Jacson Passold 6e619d7431 revert entity to abstract class, implement repository __construct and parcial insert 2017-11-22 22:30:48 -02:00
weryques 83aa26443a file name standards 2017-11-22 09:36:24 -02:00
weryques cbe4b093a9 Now metadata, term and taxonomy repos. implements repository 2017-11-21 09:15:44 -02:00
Jacson Passold 5c76b0ccf7 save user_id and blog_id 2017-11-20 23:31:46 -02:00
weryques 4270cd0a63 Now Tainacan logs implements Repository 2017-11-20 15:24:07 -02:00
weryques 6a4e2a024c Now Items implements Repository 2017-11-20 15:13:37 -02:00
weryques 3f0e7c5f8d Filters now implements Repository 2017-11-20 13:40:26 -02:00
weryques 05f5f97eb7 Repository Interface with collections 2017-11-20 12:41:54 -02:00
Jacson Passold c26f7e6d5e removed some classes sufix 2017-11-20 12:37:01 -02:00
Jacson Passold 7f001114d8 fix assert param order 2017-11-15 19:37:34 -02:00
Jacson Passold fbe81d8a7b namespace object is not saved right in metadata too 2017-11-15 19:09:01 -02:00
Jacson Passold a3716528bd fix expeted value 2017-11-15 18:03:47 -02:00
Jacson Passold f66ed5c3f1 convert code to namespaces basis 2017-11-15 16:50:11 -02:00
Leo Germani 65ab6e8708 avançando esquema de validação 2017-11-15 00:04:40 -02:00
Eduardo humberto f02893bb34 improve filters and metadata structure 2017-11-14 16:44:04 -02:00
Eduardo humberto b3cb374a27 testes dos filtros 2017-11-14 12:46:22 -02:00
Eduardo humberto 2a25057ecd adicionando tipos de campos - Tainacan 2017-11-14 08:17:32 -02:00
Jacson Passold ddc207ab8d begin log entity and save post type object 2017-11-13 21:23:13 -02:00
weryques fb6e5fb11e Convenção de nome de classes e autoload. 2017-11-13 14:03:04 -02:00
Leo Germani 21e71a8997 item & item_metadata 2017-11-12 21:14:47 -02:00
Leo Germani 15f6821293 organizando metodos de relações entre classes 2017-11-11 20:25:54 -02:00
Leo Germani d9694f7abb configuração de pasta de testes fora do git 2017-11-10 19:08:12 -02:00
weryques fb7732b06c Delete 2017-11-10 14:45:40 -02:00
Eduardo humberto 5b354a9139 criando a entidade Term 2017-11-10 14:39:27 -02:00
Eduardo humberto 7e2dd2c199 criando testes para criação de taxonomias e termos destas taxonomias 2017-11-10 13:23:02 -02:00
weryques 633144cfa3 Removendo chave 2017-11-09 14:10:56 -02:00
weryques 46a2e07b90 Merge branch 'master' of https://github.com/medialab-ufg/tainacan-test-repo 2017-11-09 14:09:46 -02:00
weryques de092fa4ff Estrutura diferente 2017-11-09 14:06:49 -02:00
Eduardo humberto 7bc5ef0dd1 começando taxonomias 2017-11-09 13:51:16 -02:00
Leo Germani e73c59ae71 Merge branch 'master' of github.com:medialab-ufg/tainacan-test-repo 2017-11-09 10:45:55 -02:00
Leo Germani c7215e5f30 itens 2017-11-09 10:44:52 -02:00
Eduardo humberto 0f57f52a06 criando e testando criação de metadado simples 2017-11-09 09:01:11 -02:00
Leo Germani 95d00ed9e1 prototipo da classe Collections e Items, com opcao para interface padrao WP 2017-11-03 18:23:41 -02:00
Leo Germani 007afeb2ea primeira versã odo repo com testes e build 2017-10-20 12:30:04 -02:00