Commit Graph

3844 Commits

Author SHA1 Message Date
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
Eduardo humberto ff09c7bf11 register default types on init 2017-12-04 16:30:58 -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
Eduardo humberto 4c8b94aa88 init vue structure and improve folder filter types 2017-12-04 13:37:21 -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 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 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
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
Jacson Passold a7b2a034a6 remove commented insert function 2017-11-24 17:33:08 -02:00
Jacson Passold da31066493 Merge branch 'master' of github.com:tainacan/tainacan 2017-11-24 17:32:30 -02:00
Jacson Passold 473e268888 Metadatas using super class insert 2017-11-24 17:32:20 -02:00
Jacson Passold 9450512c11 false post_type when its not needed 2017-11-24 17:27:11 -02:00
weryques 8a84bcc4df Merge branch 'master' of https://github.com/tainacan/tainacan 2017-11-24 17:07:28 -02:00
weryques 9b309a1964 Creators 2017-11-24 17:06:37 -02:00
Jacson Passold 2773f01696 Items using super class insert 2017-11-24 16:55:55 -02:00
Jacson Passold 9120e11110 add support to insert with collection relation 2017-11-24 16:55:35 -02:00
weryques bcc6637a35 Endpoints 2017-11-24 15:36:39 -02:00
weryques 4f195b396b Tainacan API and two Endpoints: collections and collections/id 2017-11-24 15:32:27 -02:00
Jacson Passold 6e619d7431 revert entity to abstract class, implement repository __construct and parcial insert 2017-11-22 22:30:48 -02:00
Jacson Passold 05eefafb87 revert entity to abstract class, implement repository __construct and parcial insert 2017-11-22 22:30:35 -02:00
weryques c57d3121b1 Removed unnecessary return 2017-11-22 15:11:58 -02:00
weryques 83aa26443a file name standards 2017-11-22 09:36:24 -02:00
weryques a17f09c1f7 Refactoring:
Tainacan Entity Class now is a Trait, for concept and how it is realy used.

Other little refactorings.
2017-11-22 09:29:38 -02:00
weryques e3077eabca Using inheritance correctly 2017-11-21 14:30:37 -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
Leo Germani ad5ee31f5d adding comment to the code 2017-11-20 15:28:44 -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
weryques b18962df06 PHPDoc log 2017-11-17 12:10:35 -02:00
weryques 4f0bbb2fb0 PHPDoc Init 2017-11-17 10:52:02 -02:00
Jacson Passold 8e91501fed add some use causes to entities namespace 2017-11-16 22:44:55 -02:00
weryques e9f809c4b8 Coding standards 2017-11-16 17:40:24 -02:00
Leo Germani b4edbbbec3 Remove wrong attribute 2017-11-16 09:34:24 -02:00
Jacson Passold f8b78cd2b3 remove wrong collections functions and fix trait name 2017-11-15 20:01:27 -02:00
Jacson Passold 9686812d14 add temp collection prop 2017-11-15 19:32:39 -02:00
Jacson Passold 786c1cbab0 fix list of classes on filter type 2017-11-15 19:28:50 -02:00
Jacson Passold fbe81d8a7b namespace object is not saved right in metadata too 2017-11-15 19:09:01 -02:00
Jacson Passold 7cf39adbfc namespace object is not saved right 2017-11-15 18:39:53 -02:00
Jacson Passold 41b837d84b using global var 2017-11-15 18:03:21 -02:00
Jacson Passold f66ed5c3f1 convert code to namespaces basis 2017-11-15 16:50:11 -02:00
Leo Germani e444acf532 add comment 2017-11-15 00:05:52 -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
weryques 59d0518844 Validation init 2017-11-14 15:51:00 -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 d9e776c793 Coding standards 2017-11-13 15:11:56 -02:00
Eduardo humberto 307bf2de61 padronizando arquivos filtros 2017-11-13 14:36:18 -02:00
Eduardo humberto d7a9a840d1 filtros labels 2017-11-13 14:26:12 -02:00
Eduardo humberto 17611206b1 criando classes filtros 2017-11-13 14:26:12 -02:00
weryques 3612d37c81 Conveção de nomes de classes. 2017-11-13 14:05:11 -02:00
weryques fb6e5fb11e Convenção de nome de classes e autoload. 2017-11-13 14:03:04 -02:00
Eduardo humberto 7b64be6137 alteracoes reunião 2017-11-13 10:27:44 -02:00
Leo Germani 21e71a8997 item & item_metadata 2017-11-12 21:14:47 -02:00
Leo Germani 5f8e2b1a8e pequeno refactor do mapeamento 2017-11-12 11:39:46 -02:00
Leo Germani 15f6821293 organizando metodos de relações entre classes 2017-11-11 20:25:54 -02:00
Leo Germani d69aad435b Regitro de taxonomias 2017-11-10 19:10:50 -02:00
Eduardo humberto 0230de0935 iniciando atribuir valores nos metadados de item 2017-11-10 17:03:09 -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
Eduardo humberto f1ca439b04 registrando todas as taxonomias na criação do item 2017-11-10 09:39:45 -02:00
Eduardo humberto 3530d403d8 começando taxonomias 2017-11-09 14:51:12 -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 332acfb3ab Merge branch 'master' of github.com:medialab-ufg/tainacan-test-repo 2017-11-08 13:52:49 -02:00
Leo Germani a0200dcf86 mudando o mapeamento da entidade de lugar 2017-11-08 13:52:41 -02:00
Eduardo humberto c3031d2c41 ignorar .idea 2017-11-08 13:29:34 -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