Commit Graph

5371 Commits

Author SHA1 Message Date
mateuswetah 51d605b1b3 Fixes 404 error when loading attachments if the document is a text or URL. 2020-03-19 16:37:08 -03:00
mateuswetah 62e176f4ad Merge branch 'feature/compount-metadata-type-refactor' of https://github.com/tainacan/tainacan into feature/compount-metadata-type-refactor 2020-03-19 16:25:28 -03:00
mateuswetah 27b7e7c867 Removes enabled-related from the child metadata list. #17. 2020-03-19 16:25:10 -03:00
vnmedeiros b0e5c8aea7 add `current_user_can_edit` and `current_user_can_delete` on children_objects #17 2020-03-19 16:20:24 -03:00
mateuswetah 877198a1c6 Metadata sorting works. Finally. #17. 2020-03-19 14:49:03 -03:00
mateuswetah 7eda8bce8d Updates deleteMetadatum mutation to check for children_objects. 2020-03-19 12:31:24 -03:00
mateuswetah 8b2ae1eefb Do not update parent object locally when updting children order. #17 2020-03-19 12:25:20 -03:00
mateuswetah e5121e2da7 Merge branch 'feature/compount-metadata-type-refactor' of https://github.com/tainacan/tainacan into feature/compount-metadata-type-refactor 2020-03-19 12:12:50 -03:00
mateuswetah 6b784b7bf5 Store management of children_objects on metadatum update. #17 2020-03-19 12:12:45 -03:00
vnmedeiros 2fd7756b76 remove the key `children_objects` on not ordinate objects #17 2020-03-19 12:11:41 -03:00
mateuswetah 67e2f8e4ac Continues refactor of Compound itemMetadata component. #17. 2020-03-19 10:49:00 -03:00
mateuswetah 6207f2b276 Merge branch 'feature/compount-metadata-type-refactor' of https://github.com/tainacan/tainacan into feature/compount-metadata-type-refactor 2020-03-18 18:03:32 -03:00
mateuswetah e526b827e5 Begins new strategy for displaying child item metadata. #17. 2020-03-18 18:02:44 -03:00
vnmedeiros 5e49ba622c Merge branch 'feature/compount-metadata-type-refactor' of https://github.com/tainacan/tainacan into feature/compount-metadata-type-refactor 2020-03-18 14:56:46 -03:00
vnmedeiros 0333af56f7 add order in `children_objects` of metadata #17 2020-03-18 14:56:28 -03:00
mateuswetah 85d7f5b899 Updates child metadata reordering logic. #17. 2020-03-18 13:35:01 -03:00
vnmedeiros 3bc2b2ec96 add children_order in options #17 2020-03-18 11:55:36 -03:00
mateuswetah 2e0dc2b40c Solves child metadatum form not updating 'saved' label. #17. 2020-03-17 16:50:10 -03:00
mateuswetah f7bc57458e Renames remaining references of item metadatum store variables for itemMetadata. #17. 2020-03-17 11:53:16 -03:00
mateuswetah 0dedce8f2f Simplified and hopefully more clear 'performValueChange' function for tainacan-form-item #17. 2020-03-16 23:07:38 -03:00
mateuswetah 05912f59b5 Readability improvements to tainacan-form-item: 'inputs' variable is now 'values' and metadataTypeMessage computed no longer exists. #17. 2020-03-16 21:52:28 -03:00
mateuswetah e9812ea0cb Renames most of metadatum objects as itemMetadatum when it comes from item itemMetadata endpoint. #17. 2020-03-16 20:11:11 -03:00
mateuswetah 3a290bd970 Merge branch 'feature/compount-metadata-type-refactor' of https://github.com/tainacan/tainacan into feature/compount-metadata-type-refactor 2020-03-16 18:27:01 -03:00
mateuswetah f0eda32831 Updates inner object of metadatumItem on vuex store after parent_meta_id is created. #17 2020-03-16 18:26:54 -03:00
vnmedeiros e48861fd3e cast the parent_meta_id type of string to int # 17 2020-03-16 16:21:14 -03:00
mateuswetah 13379b8b1e Merge branch 'develop' into feature/compount-metadata-type-refactor 2020-03-16 11:11:43 -03:00
mateuswetah 3779fe8f19 Fixes hover color for item edition form buttons. 2020-03-16 11:11:04 -03:00
mateuswetah e31b94f995 Renders multiple inputs on item edition form for Compound #17. 2020-03-16 10:59:34 -03:00
mateuswetah eb6f0c89f0 Merge branch 'feature/compount-metadata-type-refactor' of https://github.com/tainacan/tainacan into feature/compount-metadata-type-refactor 2020-03-16 09:12:39 -03:00
vnmedeiros 41dea9f2e6 fix tests compound metadatum order #17 2020-03-14 00:50:35 -03:00
vnmedeiros dbed32b98d fix test instanceof Item_Metadata_Entity #17 2020-03-14 00:24:08 -03:00
mateuswetah 3597e0cf29 Fixes term edition form not opening on the right place on terms list. 2020-03-13 17:22:09 -03:00
mateuswetah df4ffec561 Continues compound child inputs #17. 2020-03-13 17:08:06 -03:00
vnmedeiros 875b828eea remove `validate_metadata_order` #17 2020-03-13 14:22:00 -03:00
mateuswetah 3a793a70db Merge branch 'feature/compount-metadata-type-refactor' of https://github.com/tainacan/tainacan into feature/compount-metadata-type-refactor 2020-03-13 12:09:22 -03:00
mateuswetah 4802ca95f9 Fixes local array management when adding or removing children metadata. #17. 2020-03-13 12:09:07 -03:00
vnmedeiros a4ce5fb99c Merge branch 'feature/compount-metadata-type-refactor' of https://github.com/tainacan/tainacan into feature/compount-metadata-type-refactor 2020-03-13 12:07:50 -03:00
vnmedeiros 9e89b7420b update functions `save_children` and `delete_children` #17 2020-03-13 12:07:18 -03:00
mateuswetah adf5d57072 Merge branch 'develop' into feature/compount-metadata-type-refactor 2020-03-13 11:17:09 -03:00
mateuswetah e7b5d9983e Css fixes to compound metadata area. #17. 2020-03-13 11:17:01 -03:00
mateuswetah 8f24af88bb Registers compound metadata form. #17. 2020-03-13 10:55:23 -03:00
mateuswetah 8ba0c28427 Prevents creation of some metadata types as coumpund childs. #17. 2020-03-13 10:34:58 -03:00
mateuswetah 0a6eb542d9 Drops vuex childrenMetadatum strategy, uses local data instead #17. 2020-03-13 09:07:56 -03:00
mateuswetah 6d8d2ceaae Updates buefy to version 0.8.13 2020-03-12 16:27:01 -03:00
Mateus Machado Luna 24e30f6632 First steps to allow multiple children compound to be displayed at the same time. #17. 2020-03-12 09:05:20 -03:00
Mateus Machado Luna 4b1e50a612 Creates ChildMetadataList component to handle compound children creation. #17. 2020-03-11 12:27:26 -03:00
Mateus Machado Luna dec4e96178 Updates TainacanIcons and more WP 5.4 adjustments #372. 2020-03-11 10:08:04 -03:00
Mateus Machado Luna eb6ca44504 More css adjustments to WP 5.4 compatibility. #372 2020-03-11 09:03:08 -03:00
Mateus Machado Luna 9e2d5b6660 Several adjustments to Gutenberg blocks for WP 5.4 compatibility. #372. 2020-03-10 15:15:28 -03:00
vnmedeiros 98215e86ff Merge branch 'develop' into feature/compount-metadata-type-refactor 2020-03-10 13:55:34 -03:00