Commit Graph

4764 Commits

Author SHA1 Message Date
mateuswetah 8c08b2f1fc Experimental fixed pagination when hovering page bottom in items list. 2020-03-26 23:16:33 -03:00
mateuswetah 62fc0e44fa Adds moving form footer to item single page as well. 2020-03-26 17:39:46 -03:00
mateuswetah 21117b4f32 Merge branch 'develop' into feature/compount-metadata-type-refactor 2020-03-26 17:20:08 -03:00
mateuswetah 4ccb7680a1 Hides item edition footer bar while scrolling. 2020-03-26 17:17:10 -03:00
mateuswetah 273ba1ed91 Scrolls to opened metadatum form. #17. 2020-03-26 15:19:38 -03:00
mateuswetah b5dd4415f0 Adjustments to child metadatum on filters list. #17. 2020-03-26 14:37:55 -03:00
mateuswetah 826bc97d82 Parent label separator for child emtadatum in filters page. #17. 2020-03-26 11:54:59 -03:00
mateuswetah 3570805fdb Added child metadata to advanced search and some adjustments on it. #17 2020-03-26 11:16:08 -03:00
mateuswetah 91d76e6b29 Adds compound children to bulk edition modal. #17. 2020-03-26 10:38:04 -03:00
mateuswetah 3bb45a0443 Adapts recent changes on metadata and filters page to avoid importing varialbles sass file. 2020-03-25 19:12:06 -03:00
mateuswetah b94212207f Adapts recent changes on metadata and filters page to avoid importing varialbles sass file. 2020-03-25 18:47:56 -03:00
mateuswetah 171f007798 Merge conflicts from develop 2020-03-25 18:42:44 -03:00
mateuswetah 801fa8f481 Merge branch 'develop' of https://github.com/tainacan/tainacan into develop 2020-03-25 18:40:09 -03:00
mateuswetah 2f324f28b5 Small fix for full screen view mode play button. 2020-03-25 18:39:53 -03:00
mateuswetah 5e3ee32e81 Removes SEVERAL imports for variables file as css vars do not require importing inside vue componts as sass vars did. Adds '--tainacan-one-column' and '--tainacan-container-padding' css variables #338. 2020-03-25 18:25:10 -03:00
vnmedeiros 509865d65f Merge tag '0.15.2' into develop
fix CONCAT when field is null.
2020-03-25 17:37:02 -03:00
vnmedeiros 5c21db1efa add version 0.15.2 in readme.txt 2020-03-25 17:16:12 -03:00
vnmedeiros 6de4a3bf17 version 0.15.2 2020-03-25 17:13:24 -03:00
vnmedeiros ecd8aad437 [search engine] fix CONCAT when field is null. 2020-03-25 16:46:06 -03:00
mateuswetah 30c75dfb81 Moves metadata-list and filters-list inside of metadata-page and filters-page since beforeRouteLeaves hook only work in direct children of router-view. #374. 2020-03-25 16:25:48 -03:00
mateuswetah d37416c574 Merge branch 'develop' into feature/compount-metadata-type-refactor 2020-03-25 15:03:46 -03:00
mateuswetah 67b263a86c Removes console log from previous commit. #375. 2020-03-25 10:50:30 -03:00
mateuswetah 2be88b8fa4 Solves issue where page was reset to one after leaving items list. This was caused by the event bus, now the responsability of reseting the page when a filter is clicked is handled by each filter component. #375. 2020-03-25 10:48:46 -03:00
vnmedeiros 77946d1def add validation for item-metadata multiple and unique 2020-03-24 15:27:11 -03:00
mateuswetah 378c07e537 Do not lists compound metadata as an option for relationship metadata search settings. #17 2020-03-24 15:09:28 -03:00
mateuswetah cf68df2c94 Fixes multiple collapses on compound children #17. 2020-03-24 13:47:34 -03:00
mateuswetah 6ebc52ff18 More adjustments to multiple inputs itemMetadata #17. 2020-03-24 12:17:05 -03:00
mateuswetah 3a32c52f99 Changes api call to values instead of value #17. 2020-03-24 11:51:18 -03:00
mateuswetah 7ffedf6f01 Automatically passes empty value to first time a group is created on single valued compound item metadata. #17. 2020-03-24 11:15:29 -03:00
vnmedeiros 11adaad33e add validate unique on metadata multiple 2020-03-24 11:07:28 -03:00
mateuswetah 8c4415436f Merge branch 'feature/compount-metadata-type-refactor' of https://github.com/tainacan/tainacan into feature/compount-metadata-type-refactor 2020-03-24 09:22:27 -03:00
mateuswetah 8045189383 More updates to itemMetadatum update logic. #17 2020-03-24 09:22:18 -03:00
vnmedeiros 86a1bff22c Merge branch 'feature/compount-metadata-type-refactor' of https://github.com/tainacan/tainacan into feature/compount-metadata-type-refactor 2020-03-24 08:47:07 -03:00
vnmedeiros c08b6b32b7 add test create compound metadatum API fix validate #17 2020-03-24 08:46:28 -03:00
mateuswetah fc02e2bd59 Fixes multiple input style. 2020-03-23 11:16:15 -03:00
mateuswetah 79923cb36a Fixes single valued itemMetadata configuration when no input has parent_meta_id yet. #17. 2020-03-23 10:54:41 -03:00
vnmedeiros 3bc72a6fbd fix broken tests #17 2020-03-20 14:46:10 -03:00
vnmedeiros a44ac4a607 add order and metadatum_id on value of multiple compound #17 2020-03-20 14:10:25 -03:00
mateuswetah eeab34ce08 New group collapse strategy inside childItemMetadatum #17. 2020-03-20 13:38:13 -03:00
mateuswetah aa0451bba9 Adds function to remove item metadata group. #17. 2020-03-20 13:13:20 -03:00
mateuswetah bdface6343 Continues implementation of itemMetada edition form. #17. 2020-03-20 13:02:18 -03:00
mateuswetah 3587e5bd7d Displays compound parent name on child metadata displayed on filters page. #17. 2020-03-19 20:15:15 -03:00
mateuswetah bbf0dc9c24 Hides compound from available metadata list on filters page and better dragndrop placeholder. #17 2020-03-19 19:10:51 -03:00
mateuswetah 72950209b6 Proper store-side deletion of metadata and position absolute for dragndrop child palceholder. #17. 2020-03-19 18:21:58 -03:00
mateuswetah 42ec39ef60 Add multivalue-separator to html output #17. 2020-03-19 17:07:16 -03:00
mateuswetah 7f72c716f6 Merge branch 'develop' into feature/compount-metadata-type-refactor 2020-03-19 16:38:59 -03:00
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 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
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
Mateus Machado Luna 2161ba0905 Disables backdrop closing of modals when using iframe to prevent auto-closing error. 2020-03-10 12:05:41 -03:00
Mateus Machado Luna 082fb0fb83 Fixes error when re-selecting Collections to colleciton carousel block. #373. 2020-03-09 16:36:03 -03:00
Mateus Machado Luna 0f2f947cd5 Fixes error when re-selecting terms to term carousel block. #373. 2020-03-09 16:28:21 -03:00
Mateus Machado Luna 4739f69a63 Passes currentCollectionId properly to facets requests. #368. 2020-03-09 15:03:01 -03:00
Mateus Machado Luna c8ed4c3ada Adds line border indicating childs of compount. #17. 2020-03-06 12:25:14 -03:00
Mateus Machado Luna 38c429d353 Avoid conflict when two compounds are created #17. 2020-03-06 12:11:07 -03:00
Mateus Machado Luna 0f6110a430 Avoids insertion of relationship, taxonomy and compound metadata as a child of a compound metadata. #17. 2020-03-06 11:57:29 -03:00
Mateus Machado Luna 789df4435d Adds parent=any paramether to fetch all metadata on the edition list. #17. 2020-03-05 16:16:30 -03:00
vnmedeiros bb1d86e25c fix name variable `prepared_collection` #17 2020-03-05 16:02:59 -03:00
vnmedeiros 300e345620 Merge branch 'feature/compount-metadata-type-refactor' of https://github.com/tainacan/tainacan into feature/compount-metadata-type-refactor 2020-03-05 14:03:02 -03:00
vnmedeiros 966aa2adf1 add validate metadata order #17 2020-03-05 14:02:48 -03:00
Mateus Machado Luna b34f36d9a5 Limits metadata form options according to what had been discussed so far. #17 2020-03-05 13:58:34 -03:00
Mateus Machado Luna cef57eb8f8 First work on child metadata creation. #17. 2020-03-05 12:57:21 -03:00
Mateus Machado Luna c6abfb03d2 Merge branch 'develop' into feature/compount-metadata-type-refactor 2020-03-04 15:04:05 -03:00
Mateus Machado Luna 083e52cc81 Moves metadata mappings list to a separate component. 2020-03-04 14:56:15 -03:00
Mateus Machado Luna e321742929 Uses parent_meta_id info from metadatum object. #17 2020-03-04 13:57:32 -03:00
Mateus Machado Luna 6d14dfa8b1 Adds first version of component for compound metadata #17 2020-03-04 12:25:16 -03:00
Mateus Machado Luna 963d48fd9f Removes render and form functions from class-tainacan-compound, we don't use these anymore. 2020-03-04 12:25:16 -03:00
Mateus Machado Luna f46b47536a Small font size and spacing adjustments. 2020-03-04 09:48:41 -03:00
Mateus Machado Luna 20e92533a7 More css fixes to third party themes. #338. 2020-03-04 09:48:41 -03:00
Mateus Machado Luna 75c947fb81 Adds option to customize theme font family #338. Some other CSS adjustments. 2020-03-04 09:48:41 -03:00
vnmedeiros 83f4ba6681 fix position of metadata type desc when exporting csv 2020-03-04 09:48:40 -03:00
Mateus Machado Luna 15e7e3ca35 Interface automatically disable the 'Enable Cover Page' switch once the page is removed. #351. 2020-03-04 09:48:40 -03:00
Mateus Machado Luna 6fbc93cb82 Removes the render functions from the filter_type class, as it is not used anymore. 2020-03-04 09:48:40 -03:00
Mateus Machado Luna 14dd406d08 Removes console logs. 2020-03-04 09:48:40 -03:00
Mateus Machado Luna d8c38ea5c2 Registers extra vue components inside global variables of window. #349. 2020-03-04 09:48:40 -03:00
Mateus Machado Luna 603e8cb1b1 Small font size and spacing adjustments. 2020-03-04 09:44:57 -03:00
Mateus Machado Luna 7354acf38f More css fixes to third party themes. #338. 2020-03-03 15:29:25 -03:00
Mateus Machado Luna fcb7a866ae Adds option to customize theme font family #338. Some other CSS adjustments. 2020-03-03 12:25:05 -03:00
vnmedeiros b4639735a0 fix position of metadata type desc when exporting csv 2020-03-03 11:36:34 -03:00
vnmedeiros afd2939107 add register metadata compound #17 2020-03-03 11:04:25 -03:00
Mateus Machado Luna f5df44457d Interface automatically disable the 'Enable Cover Page' switch once the page is removed. #351. 2020-03-03 10:53:13 -03:00
Mateus Machado Luna 9b3400d752 Removes the render functions from the filter_type class, as it is not used anymore. 2020-03-02 17:58:03 -03:00
Mateus Machado Luna be38ce6f3e Removes console logs. 2020-03-02 17:15:14 -03:00
vnmedeiros f35a3d4b76 Merge branch 'develop' into feature/compount-metadata-type-refactor 2020-03-02 17:04:06 -03:00
Mateus Machado Luna cc079cf9e0 Registers extra vue components inside global variables of window. #349. 2020-03-02 16:54:44 -03:00
vnmedeiros 2c2ee72617 fix paramenrs `parent_meta_id` #17 2020-03-02 14:58:42 -03:00
vnmedeiros da2c71b3e5 fix priority on call action `tainacan-register-vuejs-component` 2020-03-02 12:08:06 -03:00
vnmedeiros 8a4beeacb4 create `nonce` only if user is logged in. 2020-03-02 11:38:48 -03:00
Mateus Machado Luna 31c97a2fe3 Verification for nonce presence on tainacan_blocks variable. 2020-03-02 09:44:05 -03:00
Mateus Machado Luna 4a9734e3b4 Verification for nonce presence on tainacan_plugin variable. 2020-03-02 09:43:16 -03:00
Mateus Machado Luna 67ddaa8fd0 Removes unused source font file. 2020-03-02 09:37:09 -03:00
Mateus Machado Luna cfb80d97e9 Adds Hook for registering VueJs plugins instead of Components. #349. 2020-02-29 12:21:57 -03:00
vnmedeiros 85bc6c996e add `parent_meta_id` on endpoint #17 2020-02-29 10:21:36 -03:00
Mateus Machado Luna ef0254957e Adds infinite scroll to autocomplete filter (relationship and plain text) 2020-02-29 10:14:30 -03:00
Mateus Machado Luna 37ce865f58 Adds Infinite Scroll to taginput filter (relationship and textual) #335. 2020-02-28 20:00:01 -03:00
Mateus Machado Luna 91b820ac70 Adds infinite scroll to taxnomy filter taginput #335. Removes unecessary mixin from checkbox and taginput filters. 2020-02-28 17:31:36 -03:00
Mateus Machado Luna df7804fe07 Adds infinite scroll to users autocomplete filter on ativities list #335. 2020-02-28 16:47:14 -03:00
Mateus Machado Luna 29802e14a1 Adds infinite scroll to add new term section of metadata edition form. 2020-02-28 16:07:20 -03:00
Mateus Machado Luna 470260ef3e Adds infinite scroll to parent term autocomplete on term edition form. 2020-02-28 15:58:32 -03:00
Mateus Machado Luna bed9ebe115 Adds infinite scroll to collection cover page autocomplete. #335. 2020-02-28 15:31:25 -03:00
Mateus Machado Luna 1a6a5eadf1 Add infinite scroll to Relationship metadata taginput. #335. 2020-02-28 14:49:47 -03:00
Mateus Machado Luna 31d85f1c1a Adds inifite scroll to Taxonomy Taginput metadata input. #335. 2020-02-27 17:18:24 -03:00
Mateus Machado Luna c7142a15e2 Merge branch 'develop' into feature/third-party-filter-types 2020-02-27 16:10:06 -03:00
Mateus Machado Luna 0d59132800 Adds option to show filters button inside search control to the block. #338. 2020-02-27 16:06:30 -03:00
Mateus Machado Luna 8f0ce920fb Adds showFiltersButtonInsideSearchControl Option #338 and #295. 2020-02-27 15:21:20 -03:00