Eduardo humberto
1bd56947be
adapting web components for dev interface
2018-02-05 12:04:12 -02:00
weryques
a55e15865e
Now simple query are working and meta and date query are started
2018-02-02 16:05:59 -02:00
Eduardo humberto
fb4149c476
add Element UI css in dev interface
2018-02-02 12:36:46 -02:00
Eduardo humberto
d5741b316b
add property for ordinate fields in entity and ordinate result from fetch by collection
2018-02-02 10:06:34 -02:00
mateuswetah
ffb1045754
Fixes Item Getter. Adds ItemPage with computed property..
2018-02-01 16:12:29 -02:00
mateuswetah
b24c08c471
Merge branch 'develop' of https://github.com/tainacan/tainacan into develop
2018-02-01 14:52:27 -02:00
mateuswetah
1c27a15f84
Adds logic for handling create x edit actions in Item Creation Page. Fews tweaks coming up on next commit.
2018-02-01 14:52:22 -02:00
weryques
fcaaaf0438
Now the routes accept queries
2018-02-01 14:51:38 -02:00
weryques
9675dd8b90
Fixes CSS
2018-02-01 13:28:16 -02:00
weryques
9ef5d3ad6e
Refactoring API
...
New routes
Update methods refactored
Log Controller created and it test
2018-02-01 13:17:23 -02:00
Eduardo humberto
695ada466e
Finishing web components
2018-02-01 13:03:50 -02:00
Eduardo humberto
219c00a52d
begin adapt web components for Element UI
2018-01-31 16:39:24 -02:00
Eduardo humberto
f008e3a208
Fix multiple field error on blur action
2018-01-31 15:41:16 -02:00
mateuswetah
1c507aad8c
Remove props from TainacanFormItem component to pass only a single Field object.
2018-01-31 14:47:13 -02:00
mateuswetah
5d4deb79a8
Merge branch 'develop' of https://github.com/tainacan/tainacan into develop
2018-01-31 14:31:32 -02:00
mateuswetah
59aca32105
Finishes basic implementaition of new Text.vue using TainacanFormItem logic.
2018-01-31 14:31:28 -02:00
weryques
0717917307
Remove create method from item metadata controller
2018-01-31 13:56:08 -02:00
mateuswetah
7dfa599f57
Merge branch 'develop' of https://github.com/tainacan/tainacan into develop
2018-01-31 13:54:03 -02:00
weryques
1e2c2a4321
New routes - Item Metadata
2018-01-31 13:50:10 -02:00
weryques
f721b2d841
Chaging metadata to field
2018-01-31 12:59:50 -02:00
mateuswetah
a46ccc7cae
Merge conflicts after metadata refactoring.
2018-01-31 12:56:33 -02:00
mateuswetah
38489f2109
Begins transition to TaincanFormItem model of custom components.
2018-01-31 12:53:06 -02:00
Eduardo humberto
722b5387d1
Alter Metadata to Fields/Field (Big changes)
2018-01-31 12:51:43 -02:00
weryques
095d192d6d
Show collection image
2018-01-31 12:45:25 -02:00
weryques
9eea456f74
Fixes permission
2018-01-31 11:20:48 -02:00
weryques
0a6448dd76
Fix create filter permissions check
2018-01-31 11:17:31 -02:00
weryques
b0cc5c10c1
Merge branch 'develop' of https://github.com/tainacan/tainacan into develop
2018-01-31 11:07:11 -02:00
weryques
73d86d59bf
Refactoring capabilities
2018-01-31 11:06:46 -02:00
mateuswetah
7d1b1baea8
Adds ItemPage, changes routes and actions to receive new page. Begins adaptation for ItemCreationPage being same page as for Item Edition.
2018-01-30 16:34:32 -02:00
mateuswetah
fcc97960d5
Updates Actions to reflect API endpoint changes. Edits heavily Text.vue logic to provide and example of multiple values inside custom component (this needs more discussion).
2018-01-30 16:07:41 -02:00
weryques
60bd3753c4
Refactoring some controllers
2018-01-30 15:33:06 -02:00
Leo Germani
bd0b34cd2c
Merge branch 'master' into develop
2018-01-30 12:01:24 -02:00
Jacson Passold
6aecb0af57
using isset to check if cap is set
2018-01-29 18:36:40 -02:00
Jacson Passold
0e01a2bff7
Merge branch 'Item_moderation' of github.com:tainacan/tainacan into Item_moderation
2018-01-29 18:22:56 -02:00
Jacson Passold
8f439e7557
using read and not read_post, check if cap has been initialized
2018-01-29 18:18:08 -02:00
Jacson Passold
31360eef22
do not register post, throw exp and better post_type item check
2018-01-29 18:16:49 -02:00
Jacson Passold
efe9cdc6b2
doc function return
2018-01-29 18:15:16 -02:00
Leo Germani
1bd548c138
fetch returns empty array if invalid ID is passed
2018-01-29 17:34:34 -02:00
Leo Germani
7d616c5cca
fixing terms api permission checks
2018-01-29 17:30:01 -02:00
Leo Germani
0b10630a2d
Starting to fix can_edit() and related repository methods
2018-01-29 17:29:41 -02:00
Leo Germani
764ec9b681
removing endpoint tha needs refactoring
2018-01-29 17:08:34 -02:00
Leo Germani
671779c5e9
fixing Items API permission check
2018-01-29 17:07:44 -02:00
mateuswetah
4abdfae26f
Merge branch 'feature/user-admin-interface' of https://github.com/tainacan/tainacan into feature/user-admin-interface
2018-01-29 16:43:17 -02:00
mateuswetah
008cf52f28
Adds temporary method extractFieldType to allow dinamic rendering of field_types while string passed has classes.
2018-01-29 16:43:11 -02:00
Eduardo humberto
27825696df
begin error message web component
2018-01-29 16:30:49 -02:00
weryques
6a7d540a2c
Added hook to change the titles of the pages
2018-01-29 16:29:28 -02:00
Jacson Passold
3cd563c529
remove already implemented get
2018-01-29 16:22:32 -02:00
Jacson Passold
bec1a17372
miss spell namespace
2018-01-29 16:21:49 -02:00
Jacson Passold
c251618100
entity id, not the object
2018-01-29 16:21:15 -02:00
Eduardo humberto
9813723077
adapt web component for admin
2018-01-29 16:08:59 -02:00
mateuswetah
0afaa61b0b
Fixes wrong item list loading from Actions.
2018-01-29 16:06:51 -02:00
mateuswetah
928175b0be
Merge branch 'feature/user-admin-interface' of https://github.com/tainacan/tainacan into feature/user-admin-interface
2018-01-29 15:28:58 -02:00
mateuswetah
cf400ccf37
Adds proper fetchItems to actions. Begins usage of ItemsList component on Collection page.
2018-01-29 15:28:32 -02:00
weryques
a3cc7dddd7
Build.sh more inteligent
2018-01-29 15:24:51 -02:00
weryques
33d3f06651
Fixes thumnail exhibition, Implements UpdateMetadata
2018-01-29 14:42:59 -02:00
mateuswetah
badfb6e655
Aumatically creates draft Item on ItemCreationPage. Loads Metadata with custom fields dynamically. Adds spinning loader to async actions in ItemCreationPage.
2018-01-29 11:48:30 -02:00
weryques
cf5cb62d21
Allow insert draft Items
2018-01-29 11:09:44 -02:00
Leo Germani
1b54969c4d
Improves capabilities tests and fixes set_items_capabilities
2018-01-28 23:34:12 -02:00
Leo Germani
979c80eb92
fix permissions for moderators. still have to fix can_* methods in repoitory
2018-01-27 00:23:25 -02:00
Jacson Passold
11cf82fb9b
item does not have a fixed post_type
2018-01-26 16:42:03 -02:00
Jacson Passold
1cd21a3080
support metadata data moderator
2018-01-26 16:41:04 -02:00
Jacson Passold
e71a1a5079
get metadata collection
2018-01-26 16:40:24 -02:00
weryques
f8d7393e2f
Merge branch 'master' into feature/user-admin-interface
2018-01-26 14:23:32 -02:00
weryques
7c76b23ff9
Fixes Element Form Validation
2018-01-26 12:17:30 -02:00
mateuswetah
c04000f59d
Adds Taincan custom components in Admin and exemplifies their use on Item creation page.
2018-01-26 11:28:50 -02:00
mateuswetah
81e54a9dcf
Adds item creation via api to Item Creation Page.
2018-01-26 10:25:14 -02:00
weryques
b43f281e9e
Merge branch 'master' of https://github.com/tainacan/tainacan
2018-01-25 13:10:10 -02:00
weryques
961ed8debd
Merge branch 'feature/user-admin-interface' of https://github.com/tainacan/tainacan into feature/user-admin-interface
2018-01-25 11:47:48 -02:00
weryques
01f42d5c0c
API routes changed
2018-01-25 11:47:09 -02:00
mateuswetah
31d1c10b57
Merge branch 'feature/user-admin-interface' of https://github.com/tainacan/tainacan into feature/user-admin-interface
2018-01-25 11:32:17 -02:00
mateuswetah
07cda97dd4
Adds thumbnail to collection list.
2018-01-25 11:32:09 -02:00
weryques
115d84e63f
Deleted unnecessary files
2018-01-25 11:21:35 -02:00
weryques
5e2e6ac3ae
Itens endpoint
...
Image are now returned;
In case of GET all Itens the quantity of attibutes are limited;
Now all endpoints Extends TAINACAN_REST_Controller
2018-01-25 11:14:20 -02:00
mateuswetah
7094f96bc2
Fixes dropdown not appearing due to main div high z-index.
2018-01-25 10:46:33 -02:00
mateuswetah
548f63d9ff
Remove vue-material-design-icons and uses iconfont instead.
2018-01-25 09:39:43 -02:00
Jacson Passold
869febcfc8
collection moderator
2018-01-24 17:31:05 -02:00
weryques
c3366e7d15
Fix autoload error of Capabilities
2018-01-24 17:25:19 -02:00
weryques
2aa0a679c3
Fix element icons not found
2018-01-24 16:16:35 -02:00
mateuswetah
62e7069088
Merge branch 'feature/user-admin-interface' of https://github.com/tainacan/tainacan into feature/user-admin-interface
2018-01-24 14:37:13 -02:00
mateuswetah
952f41218a
Creates Item Creation Page (only form, no actions so far).
2018-01-24 14:37:08 -02:00
weryques
49df60f989
Limitation of attributes returned from API GET Collections
2018-01-24 14:08:17 -02:00
weryques
fe041b17da
Fix autoload error of Capabilities
2018-01-24 13:34:40 -02:00
weryques
888f924e84
Add more attributes to object Collection
...
Autho
Creation Date
Modification Date
Thumbnail URL
Post URL
2018-01-24 11:41:01 -02:00
mateuswetah
2f870e74d0
Replaces cards with tables in Collection and Items list. Adds vue-material-icons.
2018-01-24 11:40:10 -02:00
mateuswetah
e8b649facf
Replaces cards with tables in Collection and Items list. Adds vue-material-icons.
2018-01-24 11:38:34 -02:00
weryques
bf7a790fe6
Modify el-button style
2018-01-24 09:28:41 -02:00
weryques
4901c542c8
Fix card style
2018-01-23 16:37:23 -02:00
mateuswetah
fd1ec45281
Adds CollectionPage and navigation to it from CollectionsList.
2018-01-23 15:07:27 -02:00
mateuswetah
8a10310763
Adds router to admin with first routes.
2018-01-23 14:09:48 -02:00
weryques
8e4ea8643a
Initiated user admin
2018-01-23 12:42:01 -02:00
weryques
1d473b1b6c
Merge branch 'master' of https://github.com/tainacan/tainacan
2018-01-22 09:50:31 -02:00
weryques
f91d19abbb
Fix build for macOS and Fix autoload for uppercase directories
2018-01-22 09:48:51 -02:00
Jacson Passold
7c6932ac1f
Merge branch 'master' of github.com:tainacan/tainacan
2018-01-19 20:46:08 -02:00
Jacson Passold
3a21a7ff1b
move moderator meta_cap filter to collections for now and disable it because of post_type error
2018-01-19 20:45:51 -02:00
Jacson Passold
8c740ee5f7
set controller entity prop at init, not at _construct, because we need post_type registered
2018-01-19 20:43:51 -02:00
weryques
856ea0b4a7
Update collection metadata
2018-01-19 14:56:36 -02:00
Jacson Passold
93af8fc5c2
revert Collection test on wrong place
2018-01-19 14:45:44 -02:00
weryques
00584c08e4
Merge branch 'master' of https://github.com/tainacan/tainacan
2018-01-19 12:56:05 -02:00
weryques
814884b404
Update Item Metadata
2018-01-19 12:55:39 -02:00
Leo Germani
4405b53a32
Starting admin
2018-01-19 11:33:24 -02:00
Jacson Passold
bead442bda
do not load cap when entity do not have a post
2018-01-18 19:08:39 -02:00
Jacson Passold
e4d7fba82f
add Item db sufix "_item" to post_type
2018-01-18 17:05:51 -02:00
Jacson Passold
acba18d245
avoid set cap on Item that do not have collection, maybe throw exception later
2018-01-18 12:42:33 -02:00
Jacson Passold
2301029bf8
Merge branch 'master' of github.com:tainacan/tainacan
2018-01-18 12:34:23 -02:00
Jacson Passold
497c968746
dinamic update cap object for collection items
2018-01-18 12:29:27 -02:00
Jacson Passold
221adb35e6
add some documentation
2018-01-18 12:28:20 -02:00
Jacson Passold
9788debde2
return post_type object after registration
2018-01-18 12:24:35 -02:00
Jacson Passold
14a7c2651f
set collection items creation caps
2018-01-18 12:23:13 -02:00
weryques
15612ef35a
Fetch a Term
2018-01-18 11:38:31 -02:00
weryques
a37e56e424
Get a filter
2018-01-18 11:23:16 -02:00
weryques
ab081cc992
Fetch all terms of a taxonomy
2018-01-18 10:45:31 -02:00
weryques
027fd43030
Fetch filters
2018-01-17 15:48:44 -02:00
weryques
b3d92b7abb
Update terms
2018-01-17 12:33:28 -02:00
weryques
e37d4a6465
Update taxonomies
2018-01-17 10:02:22 -02:00
leogermani
4b2103f800
replacing correct primitive capability read
2018-01-16 13:39:22 -02:00
Jacson Passold
1fe8971866
Merge branch 'master' of github.com:tainacan/tainacan
2018-01-16 13:27:59 -02:00
Jacson Passold
36ff140ee0
Merge branch 'master' of github.com:tainacan/tainacan
2018-01-16 11:41:27 -02:00
weryques
036d5e2661
Update filter
2018-01-16 11:41:24 -02:00
weryques
e961943e8c
Update item
2018-01-16 10:47:29 -02:00
weryques
ec07dd9cd2
Update collection
2018-01-16 10:31:52 -02:00
Jacson Passold
f075a1a002
refactoring two similar functions
2018-01-15 23:38:24 -02:00
Jacson Passold
241ee158cc
add capability config class, create a static function to get Entity by post_type
2018-01-15 23:20:48 -02:00
weryques
eac7db72c4
Delete Term
2018-01-15 17:47:27 -02:00
weryques
387169d2ee
Merge branch 'master' of https://github.com/tainacan/tainacan
2018-01-15 11:53:50 -02:00
weryques
a2d6c38c13
Delete filter
2018-01-15 09:15:21 -02:00
Jacson Passold
7c3042f4b0
missing semicolon
2018-01-12 19:15:15 -02:00
Jacson Passold
1f372e9641
Merge branch 'master' of github.com:tainacan/tainacan
2018-01-12 18:35:12 -02:00
Jacson Passold
181c5b493f
revert to capability_type config
2018-01-12 18:35:01 -02:00
Leo Germani
9dcac1d490
Merge branch 'master' of github.com:tainacan/tainacan
2018-01-12 18:29:07 -02:00
Leo Germani
836878092a
starting to develop all the features for collections moderators
2018-01-12 18:28:49 -02:00
Leo Germani
73b27ac97a
Replace loop for a correct fetch call
2018-01-12 16:36:21 -02:00
weryques
43b15b55ba
Test for filters delete or trash and started delete endpoint
2018-01-12 14:17:52 -02:00
Jacson Passold
600f9a75d4
better doc user param and implement can_publish
2018-01-10 21:42:29 -02:00
Jacson Passold
bf9ec334e9
add caps helper funtions to entity
2018-01-10 21:41:53 -02:00
Jacson Passold
dd44e2682e
helper functions using map_meta_cap
2018-01-10 21:15:38 -02:00
Jacson Passold
1b8c7f63ca
Merge branch 'master' of github.com:tainacan/tainacan
2018-01-10 21:09:48 -02:00
Jacson Passold
a1447bcd5b
using map_meta_cap
2018-01-10 21:08:51 -02:00
weryques
0541d78b5f
Create endpoint to POST filters and your test.
2018-01-10 13:56:55 -02:00
weryques
6222feca03
Merge branch 'master' of https://github.com/tainacan/tainacan
2018-01-09 13:03:05 -02:00
weryques
831a109287
Capabilities added in API
2018-01-09 12:57:10 -02:00
Jacson Passold
9d8eb97a9d
removing perm check
2018-01-09 10:42:14 -02:00
Jacson Passold
b95161792b
Merge branch 'master' of github.com:tainacan/tainacan
2018-01-08 19:53:20 -02:00
Jacson Passold
3fc7bc00ba
chekc if user can delete a collection
2018-01-08 19:53:10 -02:00
Jacson Passold
2f1b9a3815
rewrite permission check using cap object, fix some caps names and get_entity_by_post support int and array as post param and return entity if a entity is given
2018-01-08 19:51:49 -02:00
Jacson Passold
4457ddf9b8
add primitivy cap array
2018-01-08 19:49:41 -02:00
Jacson Passold
6c98aeb5f3
remove old __constructor
2018-01-08 19:31:11 -02:00
weryques
a9edd8ef19
Create term in a taxonomy and test that creation.
2018-01-08 15:33:47 -02:00
Jacson Passold
aac62df69d
edit cap test, fix for database errors, WordPress like initial caps
2018-01-03 17:31:18 -02:00
Jacson Passold
fcbd453e94
post_content can not be null
2018-01-03 17:18:44 -02:00
Jacson Passold
9031a72580
Merge branch 'master' of github.com:tainacan/tainacan
2017-12-26 20:08:21 -02:00
Jacson Passold
b1f8759a6b
funtion to check read and write perm and read test
2017-12-26 20:08:15 -02:00
weryques
7125a042f3
Taxonomies will be unregistered if only it deleted permanently
2017-12-21 10:59:20 -02:00
weryques
f0123dd4e0
Now taxonomies can be trashed and deleted.
2017-12-21 10:52:01 -02:00
Jacson Passold
c89a5743a5
Merge branch 'master' of github.com:tainacan/tainacan
2017-12-20 22:15:09 -02:00
Jacson Passold
b2e4639e43
simple capabilities ecosystem
2017-12-20 22:13:33 -02:00
Eduardo humberto
31feccee1a
allow external web components
2017-12-20 10:00:30 -02:00
Eduardo humberto
5d2f121159
remove parse from api response
2017-12-19 16:23:17 -02:00
weryques
167867620e
Api updates
...
Created taxonomies Controller;
Now the entities have the method __toArray();
Created test for taxonomies Controller;
Added more exceptions treatments;
terms Controller was initiated;
And other improvements.
2017-12-19 14:24:30 -02:00
Eduardo humberto
6eb70b515d
add support for web components in firefox
2017-12-19 11:08:06 -02:00
Eduardo humberto
9741e3c234
listen to errors
2017-12-19 09:39:19 -02:00
Eduardo humberto
55b5a27635
test Eventbus with store in numeric component
2017-12-18 17:19:50 -02:00
weryques
96aa29d61b
Now the basic user capabilities are working
2017-12-18 10:52:45 -02:00
Eduardo humberto
6205447e31
using Text component to test store structure and show errors
2017-12-14 12:58:07 -02:00
weryques
9506f3107f
Change to correct variable
2017-12-14 10:06:46 -02:00
weryques
f4d4d0312a
Message improves
2017-12-13 14:17:54 -02:00
weryques
e4175f83ab
Added error messages
2017-12-13 13:07:01 -02:00
Eduardo humberto
fbc84371c5
create method toJSON for item-metadata entity
2017-12-13 10:31:45 -02:00
Eduardo humberto
c6666accf0
[vue] begin collection store
2017-12-12 16:22:46 -02:00
Eduardo humberto
2ee73b7fe9
update store structure
2017-12-12 16:08:54 -02:00
Eduardo humberto
60c31ca2f5
update components Text, Selectbox,Checkbox to consume/request api
2017-12-12 15:33:43 -02:00
weryques
3550c8b614
Get item metadata and Get Collection metadata
2017-12-12 15:17:55 -02:00
Jacson Passold
1174fe329c
add contruct option to stdClass post and array post, used in deletion for example
2017-12-12 13:01:34 -02:00
weryques
c4f47882b4
Exception treatments
2017-12-12 09:59:50 -02:00
Eduardo humberto
48a79a24dd
init vuex and axios
2017-12-11 17:03:06 -02:00
Leo Germani
96e41721f5
[dev-interface] filter collections links
2017-12-11 15:10:11 -02:00
Leo Germani
87f67ec009
[dev-interface] Filters collections permalinks
2017-12-11 15:04:07 -02:00
weryques
3485669367
API and API Tests
...
Created Metadata controller;
Improved Item Controller;
Created Test for metadata controller
2017-12-11 14:46:26 -02:00
Jacson Passold
c10407f74b
move prop id to super class, check post_types on object creation, set some defaults props, abstract get_map fucntion, fix map filter for use only in the right entity, add initial objects tests
2017-12-11 12:25:28 -02:00
Jacson Passold
5670e5c134
Merge branch 'master' of github.com:tainacan/tainacan
2017-12-08 13:36:01 -02:00
Jacson Passold
e41a3407d8
get all collections db ids
2017-12-08 13:35:55 -02:00
Jacson Passold
3160ac9eb7
initial class check
2017-12-08 13:35:29 -02:00
Eduardo humberto
9e2819f44b
create initial components for metadata types
2017-12-08 13:15:09 -02:00
weryques
3b3cfda7fb
Collections API and Repository
...
Endpoint DELETE is working;
Method delete is implemented;
2017-12-08 13:09:36 -02:00
weryques
ecf8a171d3
Items Api and Repository
...
Endpoint DELETE is working;
Method delete is working;
A route was changed in Items Controller.
2017-12-08 12:53:55 -02:00
Eduardo humberto
1d53d99bb3
fix error on empty options in selectbox component
2017-12-07 15:41:01 -02:00
weryques
364b30cff6
Merge branch 'master' of https://github.com/tainacan/tainacan
2017-12-07 13:49:45 -02:00
weryques
d2495af712
Test delete or trash items and collections
2017-12-07 13:49:11 -02:00
Eduardo humberto
c710195e75
create options form date type and create radio button helper method
2017-12-07 13:32:00 -02:00
Eduardo humberto
246d577c87
create form for relationship metadata type
2017-12-07 12:10:26 -02:00
Leo Germani
dc40e2612f
[dev-interface] saves the value of metada on item edit
2017-12-07 11:53:05 -02:00
Leo Germani
57d31ea312
[dev-interface] using new method to save metadata
2017-12-07 11:53:05 -02:00
Leo Germani
57882cd665
separate insert metadata for entities form the insert method
2017-12-07 11:53:05 -02:00
weryques
b5a247e4e5
API
...
Test create item in a collection;
Implemented create item in Items controller;
Implemented prepare item for database in Item controller;
2017-12-07 10:46:31 -02:00
Eduardo humberto
79754af6cf
create helper html class
2017-12-06 16:40:13 -02:00
weryques
55e7acd95e
Removing //
2017-12-06 16:03:51 -02:00
weryques
a7e60976a5
API Getting all items for a especified collection
2017-12-06 15:56:16 -02:00
Eduardo humberto
3d2301d416
fix missing method form
2017-12-06 15:48:03 -02:00
weryques
04018132eb
Docs and __toString
...
Changed phpdocs to english;
toString now return the name of entity.
2017-12-06 10:23:09 -02:00
Jacson Passold
661e6a85ef
move entuty construct to parent class
2017-12-05 23:27:56 -02:00
Jacson Passold
1cbff4e511
get mapped property from repository
2017-12-05 22:59:12 -02:00
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