Commit Graph

7446 Commits

Author SHA1 Message Date
mateuswetah 00cade5740 View modes adjustments and checkbox filter fixes for #794. 2024-01-31 17:35:07 -03:00
mateuswetah c71129a597 Breaks several components into async imported ones. #794. 2024-01-31 15:42:58 -03:00
mateuswetah 3d77ee8266 More tweaks for async import of components #794. 2024-01-31 11:56:15 -03:00
mateuswetah 95d58e5055 Fixes filters due to changes on Draggable library and other tweaks for #794. 2024-01-30 16:42:46 -03:00
mateuswetah e963a9acd3 Fixes some new Vue3BlurHash issues. #794. 2024-01-30 16:42:04 -03:00
mateuswetah 24f966b67a Temporarily disables Snackbar error messages. #794. 2024-01-30 16:41:23 -03:00
mateuswetah 6e73f28f24 Fixes v-model for filter forms and other tweaks for #794. 2024-01-29 16:49:42 -03:00
mateuswetah e9e3370504 Removes unused Date Filter options. 2024-01-29 16:32:20 -03:00
mateuswetah ab3207e4e2 Lazy loads Admin routes #794. 2024-01-26 15:59:01 -03:00
mateuswetah 230f974f68 Fixes routing issues caused by Vue 3 Migration #794. 2024-01-26 14:31:20 -03:00
mateuswetah 9738ac7dc2 Fixes more v-model issues due to Vue3 migration #794. 2024-01-26 14:30:49 -03:00
mateuswetah a186bf76b4 Brings URL metadata type to core #689 and refactor it for Vue3 #794. 2024-01-25 11:54:47 -03:00
mateuswetah 815329f478 Continues migration to Vue3. #794. 2024-01-24 11:49:41 -03:00
mateuswetah dd484a7c7f Fixes several metadata edition form errors #794. 2024-01-24 10:11:38 -03:00
mateuswetah 59aa6340ee Fixes issues with Swiper update and parent communication on sldieshow. #794. 2024-01-23 17:27:03 -03:00
mateuswetah 2d949364eb Fixes styling issues of slideshow component in Vue3 #794. 2024-01-23 11:27:42 -03:00
vnmedeiros a5319d8c91 fix: remove NULL on `post_title` and `post_content` to wp_insert_post 2024-01-23 09:49:06 -03:00
vnmedeiros 475affd462 php 8.3: fix call function and fix tests 2024-01-23 01:10:20 -03:00
mateuswetah 774e1fb063 Continues migration to Vue 3. #794. 2024-01-22 17:51:41 -03:00
mateuswetah c6be4fcd5d Merge branch 'develop' into feature/794 2024-01-22 15:13:15 -03:00
vnmedeiros 368b8d81a0 fix: allow dynamic properties 2024-01-17 17:59:00 -03:00
vnmedeiros 233343220a fix: undeclared attributes 2024-01-17 16:18:08 -03:00
mateuswetah 9bb4519ddb Adds warning message to clarify auto-draft status of updates. 2024-01-08 11:32:40 -03:00
mateuswetah 220a230ea8 Corrects item edit link on activities modal #837. 2024-01-08 10:39:03 -03:00
mateuswetah 6765a310ef Enqueues Item Submission block extra scripts only when necessary. 2024-01-08 09:14:22 -03:00
mateuswetah f4ae150261 Removes Roboto font enqueue from theme-side, enqueues only on admin. 2024-01-05 18:09:19 -03:00
mateuswetah 39a037d012 Adds greater specificity to photoswipe styling rules. 2024-01-03 09:54:59 -03:00
mateuswetah 76833bc9d9 Type checking on some gutenberg blocks and removal of 'content' attribute. 2024-01-02 17:27:00 -03:00
mateuswetah abdbf2fb4e Checks for loaded collection on item submission form. 2024-01-02 16:28:26 -03:00
mateuswetah 5a8617552d More and more tweaks for #794. 2024-01-02 09:54:40 -03:00
vnmedeiros f3d1f8f798 feat: implements metadata values conditional for terms 2023-12-22 15:33:19 -03:00
vnmedeiros ba74daf398 fix: set `wp_set_current_user` on BG exporter 2023-12-22 15:32:37 -03:00
mateuswetah 15fff05230 Enables vue/singleline-html-element-content-newline rule in eslint. 2023-12-18 18:50:17 -03:00
mateuswetah 9569834329 Updates esling to vue 3 rules and enables more rules. #794. 2023-12-18 18:19:30 -03:00
mateuswetah f40979288d Uses eslint autofix to support `vue/html-closing-bracket-spacing` rule. 2023-12-18 11:39:16 -03:00
mateuswetah fb7670f86f Uses autofix to accept new vue/attributes-order eslint rule. 2023-12-18 11:22:31 -03:00
mateuswetah a67b7f7b67 Migrates faceted search block to new data- attribute strategy. #794. 2023-12-15 17:14:19 -03:00
mateuswetah ecb69eeb5e Moves item submission form to new data- attribute strategy. #794. 2023-12-15 11:58:53 -03:00
mateuswetah 8b9bf0df95 Migrates dynamic items list block and facets list block to new data- attrbiute strategy. #794. 2023-12-14 18:20:01 -03:00
mateuswetah 2c933b6192 Moves terms carousel block to new data- attribute strategy. 2023-12-13 14:46:56 -03:00
mateuswetah a53ed64fd7 Moves Items and Collections carousel to new data- attributes logic. 2023-12-12 16:17:23 -03:00
mateuswetah a2fd2f3dce Merge branch 'develop' into feature/794. 2023-12-12 10:12:39 -03:00
mateuswetah d436e77a35 Changes enabledMetadata attribute from array to object of ids in Item Submission Block. #830. 2023-12-11 16:34:51 -03:00
mateuswetah fb9e1a95d2 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2023-12-11 11:33:27 -03:00
mateuswetah d17614a044 Add filter to tweak attachments html. 2023-12-11 11:33:20 -03:00
mateuswetah 3a874a346e Proposes some changes to readme. 2023-12-06 15:16:36 -03:00
mateuswetah 6db681a1f3 Continues refactor of Vue components logic for #794. 2023-12-06 15:09:41 -03:00
vnmedeiros 7b91c6ba0e release: update version to 0.20.6 2023-12-06 15:07:50 -03:00
mateuswetah 04d282af1a Basic item form and items list tweaks to follow on #794. 2023-12-04 16:02:52 -03:00
mateuswetah 7bb01d64e9 Merge branch 'develop' into feature/794. 2023-12-04 11:19:45 -03:00
mateuswetah c55e79cedc Prevents error when updating taxomy collections list if a taxonomy is removed. 2023-11-29 21:42:44 -03:00
mateuswetah aa7b442079 Better alignment of filter menu compress button. 2023-11-28 08:48:58 -03:00
mateuswetah 985fa400ba Avoids filter sidebar opening right after advanced search is closed on mobile. 2023-11-28 08:22:52 -03:00
mateuswetah 156fabb6ed Improves responsiveness of advanced search. 2023-11-27 14:56:12 -03:00
mateuswetah 303d36c39d Fixes filters panel hidding on mobile after opening autocomplete filter. 2023-11-27 11:46:46 -03:00
mateuswetah 406fe390ec Fixes term creation modal not loading. 2023-11-27 08:59:50 -03:00
mateuswetah a5a2807896 Fixes typo in the facets controller. 2023-11-23 10:07:48 -03:00
mateuswetah 8aebc72636 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2023-11-23 10:07:16 -03:00
mateuswetah 5b37f97a94 Adds slug class to child metadata of compound. 2023-11-23 10:07:06 -03:00
vnmedeiros d5d8b214a3 Merge tag '0.20.5' into develop
release 0.20.5
2023-11-22 17:01:04 -03:00
mateuswetah 54e818be0b Fixes private metadata section capability name 2023-11-22 14:51:38 -03:00
vnmedeiros 68b995574d release: update tested up 2023-11-21 11:06:41 -03:00
vnmedeiros 8a453d7cd0 release: update tainacan version 2023-11-21 10:40:52 -03:00
vnmedeiros 20248f4c41 fix: add `type` interger in key properties 2023-11-20 18:33:57 -03:00
vnmedeiros 46ffaab554 fix: add `query_field_scaped` to sanitize specificed params 2023-11-20 18:23:02 -03:00
vnmedeiros 4be287e6f3 fix: using `sanitize_text_field` on `prepare_meta` values 2023-11-20 17:29:35 -03:00
mateuswetah 19e1f52917 Final adjustments to conditinal metadata section handling arrays. 2023-11-20 15:00:00 -03:00
mateuswetah f60755ed92 Avoid duplicated borders in taginput. 2023-11-20 12:22:32 -03:00
mateuswetah 2d5c02f570 Several css tweaks for better input customization via css variables. 2023-11-20 12:06:44 -03:00
mateuswetah edbd91b88d Creates htmlSanitizer admin Vue plugin to unifiy sanitization logic on js side. 2023-11-20 10:41:06 -03:00
mateuswetah ff12ea619f Continues cleaning of edit or update attachments label. 2023-11-20 10:21:54 -03:00
mateuswetah 0dbf321e8d Simplifies edit or update attachments label. 2023-11-20 10:21:32 -03:00
mateuswetah 9fc2479eb4 Tweaks confusing label for plural of attachments. 2023-11-20 10:21:18 -03:00
mateuswetah fa6f9072ab Removes logic for displaying metadata search bar based on numer of metadata. 2023-11-20 10:20:58 -03:00
mateuswetah e24c287efc Makes view modes descriptions translatable. 2023-11-20 09:16:05 -03:00
mateuswetah 45b1cde110 Datepicker css variables to customize its dropdown. 2023-11-20 03:23:57 -03:00
mateuswetah baafbccec5 Uses more css variables to allow better items list customization. 2023-11-20 03:13:47 -03:00
mateuswetah bba1164b39 Removes unecessary computed property. 2023-11-20 03:13:17 -03:00
mateuswetah 039efa572d Fixes relative order of metadata enumeration inside sections. #827. 2023-11-18 19:47:25 -03:00
mateuswetah 14898b962f Sanitizes a few snackbar messages for safety. 2023-11-17 17:11:45 -03:00
mateuswetah c9c0e0db2a Better id for close button in file preview modal. 2023-11-17 16:57:53 -03:00
mateuswetah 6a63243ddf Fixes usage of v-html in metadata and metadata section forms that could lead to XSS attack. 2023-11-17 16:32:53 -03:00
mateuswetah f1609205d5 Removes unsafe usage of v-html that could lead to XSS attack. 2023-11-17 16:04:16 -03:00
mateuswetah 6ec7eea1b1 Removes default background-color from .button 2023-11-17 12:05:49 -03:00
mateuswetah 3470553840 Adds several css border-radius variables to form components. 2023-11-17 11:10:53 -03:00
mateuswetah b37a11610f Fixes preload issue of conditional metadata sections in taxonomies. 2023-11-16 19:53:41 -03:00
mateuswetah c01b9e336c Adds enumeration to item submission block. Wraps enumerations in classes. #827. 2023-11-16 19:07:50 -03:00
mateuswetah eda24e73e3 Adds "item_enable_metadata_enumeration" option to collection. #827. 2023-11-16 18:20:32 -03:00
mateuswetah 3bad3bd8f9 Shows terms description in term checkbox input inside a tooltip. #817. 2023-11-16 11:22:14 -03:00
mateuswetah 750b847b3b Removal of wrong ;; typo 2023-11-16 09:17:54 -03:00
mateuswetah dacc44db24 Do not display "item hidding due to sorting" when entering items list. 2023-11-14 17:48:49 -03:00
mateuswetah 93233329bc Removes RegExp info from masks for now. 2023-11-14 16:24:58 -03:00
mateuswetah d2d3ccb844 Fixes translation string. 2023-11-14 16:16:33 -03:00
mateuswetah bfa36b9391 Shows items list option opened by default in collection edition form. 2023-11-13 17:14:49 -03:00
mateuswetah 3b6243b00c Avoids extra request for repository level filters. #824. 2023-11-13 16:36:11 -03:00
mateuswetah ef654c3000 Merge branch 'develop' into feature/824 2023-11-13 16:09:59 -03:00
mateuswetah dc6f0fd935 Improves loading state identification on repository level filters. #824. 2023-11-13 16:05:15 -03:00
vnmedeiros 1b462d8173 fix: order of update taxonomy metadatum 2023-11-12 14:51:06 -03:00
vnmedeiros b4252e90c3 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2023-11-12 11:14:43 -03:00
vnmedeiros 7ac67a4542 refactoring: improvements efficiency of the `register_taxonomies_for_all_collections` 2023-11-12 11:14:28 -03:00
mateuswetah f56fb61fd4 Hides collection filters bty default in repository level lists and adds option to enable them #824. 2023-11-10 19:10:58 -03:00
mateuswetah e6d64ac122 Fixes max-height issue of document type text. 2023-11-10 16:04:23 -03:00
mateuswetah 6a17865905 Uses background color variable in selection controls. 2023-11-10 12:25:58 -03:00
mateuswetah dea291f317 Checks initial state of conditional values when defining metadata sections as disabled. #819. 2023-11-10 10:53:06 -03:00
mateuswetah 2b798f467d Fixes issue when changing metadata without changing value in conditional metadata for metadata sections. 2023-11-10 10:28:10 -03:00
mateuswetah e5bda08e77 Merge branch 'develop' into feature/819 2023-11-10 09:21:35 -03:00
mateuswetah 51c802ea30 Fixes to loading order and loading state display in items list. 2023-11-10 09:04:48 -03:00
mateuswetah 5db7f6bf67 Refactor several parts of Taxonomy Tag Input to use it properly in metadata section form as conditional value. #819. 2023-11-09 16:22:05 -03:00
mateuswetah 5d8376fafd Accepts taxonomy type metadata in conditional metadata form settings. #819. 2023-11-07 11:09:49 -03:00
mateuswetah 20eaf4e8f4 Updates to collection form CSS. 2023-11-07 11:08:26 -03:00
mateuswetah 2e37e175d8 Removes unecessary action. 2023-11-07 10:31:50 -03:00
mateuswetah 605c068cca CSS to center some elements in item gallery. 2023-11-07 10:31:29 -03:00
mateuswetah 0ab2499f81 Removes unecessary closing tag. 2023-10-26 14:59:46 -03:00
Mateus Machado Luna 50f503ce02
Merge pull request #823 from tainacan/feature/809
Adds author filter to collections list #809
2023-10-26 10:50:44 -03:00
mateuswetah 2741bcca58 Implements author filter using a switch. #809 2023-10-26 10:34:07 -03:00
mateuswetah 1877f12d76 CSS improvements to tables and repository level menu. #809. 2023-10-26 09:27:44 -03:00
mateuswetah b48f5572ab Adds author filter to collection page. #809. 2023-10-26 08:09:26 -03:00
mateuswetah ff9358dfb0 Fixes error in sequence edit parameters. 2023-10-25 16:58:08 -03:00
mateuswetah 407dfcd004 Open CSV exporter results in a new tab. 2023-10-25 16:35:37 -03:00
mateuswetah 6fe290c306 Disables mask when using autocomplete. #818. 2023-10-23 15:25:36 -03:00
mateuswetah 23263ef26d Adds min and max validation for numeric metadata. Adds maximum length validation for textarea. #276. 2023-10-23 12:07:28 -03:00
mateuswetah 2cd8859ae2 Adds basic pattern mask option. #818 2023-10-20 18:03:06 -03:00
mateuswetah 72d5ea31ac Open child terms when clicking term option in taxonomy metadata and filter. 2023-10-20 16:17:30 -03:00
mateuswetah fef4c1b9ad Hides item thumbnail swith step if all document options are disabled in item submission form. #808. 2023-10-17 19:39:27 -03:00
mateuswetah 02531b35aa Adds links to item, collection, taxonomy and terms on website from admin lists. #814. 2023-10-17 18:49:50 -03:00
mateuswetah 58c91bcf39 Replaces "eye" icon by "openurl" for better clarity. 2023-10-17 15:44:03 -03:00
Mateus Machado Luna d25cea3479
Merge pull request #813 from tainacan/feature/803
Relationship metadata option to only list items authored by current user. #803
2023-10-17 15:33:52 -03:00
mateuswetah eb77585726 Filters possible relationship items by author. #803. 2023-10-17 15:11:34 -03:00
mateuswetah dcee8c4bd2 Begins implementation of relationship only by current author #803. 2023-10-17 08:38:40 -03:00
vnmedeiros 6c39ca9a73 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2023-10-16 17:22:31 -03:00
vnmedeiros 4839bd33ff fix: change `$_SERVER['SERVER_NAME']` to `$_SERVER['HTTP_HOST']` 2023-10-16 17:22:17 -03:00
mateuswetah 51f39da3b7 Also adds option to hide thumbnail section. #811. 2023-10-16 11:21:19 -03:00
mateuswetah 5e4c159935 Final touches to new collection form. #811. 2023-10-11 16:53:53 -03:00
mateuswetah 176109eb34 Puts items list options in a sub section of the collection form. #811. 2023-10-11 16:41:18 -03:00
mateuswetah 961ab09ad1 Adds more options to tweak item edition form options. #811. 2023-10-11 16:32:36 -03:00
mateuswetah c08ae9a742 Adds options to hide certain elements of the item edition form and change labels. #811. 2023-10-10 16:52:41 -03:00
mateuswetah 2fb84e6d78 Removes abandoned filter on item edition form to redriect after submit. 2023-10-10 11:20:36 -03:00
mateuswetah bce789ff64 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2023-10-09 15:13:06 -03:00
mateuswetah 8c958127d4 Checks if user can edit taxonomy before displaying add new term button. 2023-10-09 15:13:00 -03:00
Vinícius Nunes Medeiros 5882c6dd75
fix: remove echo
re
2023-10-05 10:53:58 -03:00
vnmedeiros cd44dc5bca fix: get `comment_status` for item 2023-10-03 10:04:36 -03:00
vnmedeiros c33270e22e fix: add the TAINACAN_INDEX_PDF_CONTENT in public search 2023-10-03 09:09:08 -03:00
vnmedeiros 16434d0719 fix: remove the sanitize text file name on 404 `template_redirect` 2023-10-03 09:07:31 -03:00
mateuswetah 47b53631f1 Add filter to set the thumbnail placeholder. #319. 2023-10-02 10:49:18 -03:00
mateuswetah 57316126bc Sets maximum size for search bar in desktop. 2023-09-26 10:21:54 -03:00
mateuswetah 8ff5470145 Continues migration to Vue 3. #794. 2023-09-21 16:26:59 -03:00
mateuswetah 84fa0e3f2c Merge branch 'develop' into feature/794 2023-09-20 08:52:21 -03:00
mateuswetah 524adfdb56 Updates to gallery block to sync better thumbnails. 2023-09-20 08:48:46 -03:00
mateuswetah 1a89d67d95 Prepends non-published metadata with the status label. #806. 2023-09-18 11:13:54 -03:00
Mateus Machado Luna 63e77ea0c3
Merge pull request #807 from Ambrosiani/develop
fixing some typos (wether → whether, itens → items, transitens → transients)
2023-09-18 10:29:29 -03:00