Commit Graph

6863 Commits

Author SHA1 Message Date
mateuswetah 0ab43bb133 Merge branch 'develop' into feature/566 2022-09-05 15:35:02 -03:00
mateuswetah 68279791f5 Fixes wrongfull check for metadatum object as instance of metadata. 2022-09-05 15:34:29 -03:00
mateuswetah 3bd79116df Checks for empty array before setting conditionals of repository metatada inside sections. 2022-09-05 10:50:15 -03:00
vnmedeiros 396dbe549f fix: overwrite can_edit of the metadata section 2022-09-04 11:40:54 -03:00
vnmedeiros 2ec4fbe3d5 fix: get number instead array on metadata collection level 2022-09-01 15:23:29 -03:00
vnmedeiros 35d0ceba8a fix: esc_attibutes on theme helper print blocks to related items list 2022-09-01 11:19:52 -03:00
mateuswetah e159dc64ae Merge branch 'develop' into feature/566 2022-09-01 11:04:18 -03:00
vnmedeiros e6f64beeee fix: test if `get_collection()` is not null 2022-08-31 22:11:46 -03:00
vnmedeiros e85cb6b3af fix: repository metadata are not changing sections #722 2022-08-31 16:59:02 -03:00
mateuswetah 03ba38c2be Fixes undefined element on filter tags. 2022-08-26 17:14:30 -03:00
mateuswetah 5e5facbb0a Fixes undefined value in relationship inside bulk edition modal. #726. 2022-08-26 11:41:09 -03:00
mateuswetah e9fabea785 Fixes collapses not obeying sequence edit order. #727. 2022-08-26 11:34:00 -03:00
mateuswetah c24a4858f6 Align numeric values label to the right #725. 2022-08-25 10:39:59 -03:00
vnmedeiros ac5b6b17fd fix: add `type` in `meta_query` according to the filter type #700 2022-08-24 12:44:35 -03:00
mateuswetah 0feccec628 Fixes error on fitlers saving action. 2022-08-24 10:34:37 -03:00
vnmedeiros 132974597d release: update version 2022-08-23 12:04:33 -03:00
mateuswetah 1dc9340b5d Checks if metadata is repository level before deleting it on store. 2022-08-23 11:40:28 -03:00
mateuswetah b080a40111 CSS fixes pre release. 2022-08-23 11:09:04 -03:00
vnmedeiros 4eaab2cb1b Merge branch 'release/0.19' of github.com:tainacan/tainacan into release/0.19 2022-08-23 09:04:19 -03:00
vnmedeiros 26dd75f8f2 fix: validate on metadata collection key 2022-08-23 09:04:05 -03:00
mateuswetah aa76cedfb9 Prevents information as "no permission to see this collection" to appear before collection basics are loaded. 2022-08-22 17:44:47 -03:00
mateuswetah 4d2a2d687e Merge branch 'release/0.19' of github.com:tainacan/tainacan into release/0.19 2022-08-22 16:26:16 -03:00
mateuswetah 273875d3f4 Standartize some filter names. Adds link to docs. Removes unused cypress.json. 2022-08-22 16:26:09 -03:00
vnmedeiros 60b0cf6514 feat: add migration 2022-08-22 09:09:40 -03:00
vnmedeiros 464f1c0b42 Merge branch 'release/0.19' of github.com:tainacan/tainacan into release/0.19 2022-08-18 15:43:11 -03:00
vnmedeiros 7d97c3ef1e fix: test if compound metadata child is trashed 2022-08-18 15:42:57 -03:00
mateuswetah 215cd2555c Checks for undefined value in totalMetadata calculation. 2022-08-18 11:36:29 -03:00
mateuswetah 2c61ce2338 Adds loading state to metadata and section forms. 2022-08-18 08:58:09 -03:00
mateuswetah 83eaef151f Shows repository header buttons label on desktop. 2022-08-17 15:23:23 -03:00
mateuswetah 9865edea82 Skeeps equal metadatum value check if there is an error on the form. 2022-08-17 15:06:17 -03:00
vnmedeiros 127db4a14f fix: escape html values when inside relationship metadata #721 2022-08-17 09:42:30 -03:00
vnmedeiros 5ce3bb165e fix: escape html values when inside compound metadata #721 2022-08-17 09:00:51 -03:00
vnmedeiros 0a1be6e3b3 fix: duplicate item adding support for copying compound metadata #751 2022-08-16 23:59:05 -03:00
vnmedeiros 8c7d7f5e9c fix: skipping metadata childre if the metadata coumpound is disabled #688 2022-08-16 16:35:00 -03:00
vnmedeiros 4bbc958d3a fix: undefined variables 2022-08-16 15:31:00 -03:00
vnmedeiros 73679153b2 fix: include disabled maetadata on metadata sections list #184 2022-08-16 12:12:46 -03:00
vnmedeiros 3c6ba76964 fix: get before and after description in `get_metadata_section_as_html` 2022-08-16 11:42:01 -03:00
mateuswetah f130d97709 Fixes gallery block not displaying item thumbnail for document. 2022-08-16 11:08:05 -03:00
mateuswetah d55929cd16 Move comments section to footer and fixes scroll issue in collection level pages. 2022-08-16 10:37:41 -03:00
mateuswetah 8ecd5108b6 Adds more information related to status in the item page. 2022-08-15 17:57:50 -03:00
mateuswetah 255e533a70 Fixes action being set when child metadata are inserted in repository metadata. 2022-08-15 10:06:37 -03:00
vnmedeiros d991cc500b fix: get metada of the public metadata section #184 2022-08-12 18:36:19 -03:00
vnmedeiros f3ace67c74 update version to 0.19RC 2022-08-12 16:00:26 -03:00
vnmedeiros 676b1e0b92 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2022-08-12 15:39:32 -03:00
vnmedeiros 554c462290 fix: can read for metadata section #184 2022-08-12 15:39:26 -03:00
mateuswetah 45e9f73b5f Add tooltip to metadata section inserter button. 2022-08-12 14:50:18 -03:00
vnmedeiros 6fe458b1e3 feat: add option to edit properties of the metadata section #184 2022-08-12 11:40:30 -03:00
mateuswetah c5ec733c2c Hides status options to default metadata edition form. #184. 2022-08-12 09:45:14 -03:00
mateuswetah d343030e78 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2022-08-11 16:14:47 -03:00
mateuswetah 4f792123c7 Removes redundant comment. 2022-08-11 16:14:42 -03:00
vnmedeiros 4b04575dab Merge branch 'develop' of github.com:tainacan/tainacan into develop 2022-08-11 11:33:48 -03:00
vnmedeiros f7e0481ec9 fix: fetch metadatas by metadata section considering order #184 2022-08-11 11:33:04 -03:00
mateuswetah 38968ebc6d Merge branch 'develop' of github.com:tainacan/tainacan into develop 2022-08-09 15:47:54 -03:00
mateuswetah 19bcbcd50f Fix error while deling sections and overlaping sections. 2022-08-09 15:47:46 -03:00
mateuswetah 904aae2dc7 Auto selects first or title metadata as search option on relationship. 2022-08-09 15:47:28 -03:00
vnmedeiros 32c8aea7ff fix: get metadata on private section #184 2022-08-09 15:20:28 -03:00
vnmedeiros 00a9fc0cbb fix: add capabilities to metadata sections #184 2022-08-09 14:24:03 -03:00
mateuswetah 19728318a2 Adds filters to all items list. 2022-08-08 16:03:41 -03:00
mateuswetah 3e747d502f Fixes to new masonry right-click selection. 2022-08-08 11:33:25 -03:00
mateuswetah ee74e63c8f Passes item as return of deleteItem action. 2022-08-07 19:46:50 -03:00
mateuswetah cadff8342f Css ajustment to fit document width auto in item edition page. 2022-08-07 09:35:40 -03:00
mateuswetah 82f4ec957b Merge branch 'develop' of github.com:tainacan/tainacan into develop 2022-08-06 19:36:06 -03:00
mateuswetah dc991d1659 Fixes metadata as html class option. 2022-08-06 19:35:59 -03:00
vnmedeiros 33e7ae303b fix: update metadata section permissions check #184 2022-08-05 11:31:26 -03:00
vnmedeiros 46e12d61ec Merge branch 'develop' of github.com:tainacan/tainacan into develop 2022-08-03 15:19:48 -03:00
vnmedeiros eda15fdc40 fix: return metadata section on delete 2022-08-03 15:19:16 -03:00
mateuswetah f9a9b7c115 Fixes text type document insertion flow. 2022-08-02 11:59:25 -03:00
mateuswetah f68f3fafe8 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2022-08-02 11:41:29 -03:00
vnmedeiros 3b88491708 fix: add require_once to `file.php` 2022-08-02 11:37:09 -03:00
mateuswetah 97e6222b89 Updates thumbnail_alt flow on item edition. 2022-08-02 11:33:06 -03:00
mateuswetah 7e01e39d13 Fixes scrolling on item edition page hidding collection subheader. 2022-08-01 17:17:46 -03:00
mateuswetah 705494008a wp_kses_post instead of esc_attr for media gallery wrapper_attributes. 2022-08-01 16:52:58 -03:00
mateuswetah 845b12a231 Disables metadata navigation when textual or requied filter is applied and vice versa. 2022-08-01 16:52:20 -03:00
mateuswetah 7604d6c2ef In the item gallery, prevents event propagation on document download link. 2022-08-01 11:51:46 -03:00
mateuswetah e576470b83 Adds target _blank to item download button. 2022-08-01 10:54:27 -03:00
mateuswetah a280d91bc6 Solves padding ccs conflict on taxonomy input. 2022-08-01 10:18:45 -03:00
mateuswetah ec4b2eb726 Adds tooltip to file name in attachments list. 2022-08-01 10:18:25 -03:00
mateuswetah 355d9ea03c Fixes empty list warning on main tab. 2022-08-01 10:18:02 -03:00
mateuswetah 6e5fd7d30c Removes unused component (three-state-toggle-button). 2022-08-01 09:11:39 -03:00
mateuswetah 2e02cc616a Css adjustments for some sticky subheaders and panels. 2022-07-29 17:31:26 -03:00
mateuswetah e2b91b72e9 Fixes masonry initialization error when switching view modes. 2022-07-29 12:16:48 -03:00
mateuswetah d17fcb7532 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2022-07-29 11:40:11 -03:00
mateuswetah 6f1c533fa7 Allows compound metadata inside relationship metadata. #719. 2022-07-29 11:40:05 -03:00
vnmedeiros 564b688ee4 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2022-07-29 11:32:53 -03:00
vnmedeiros 9f3ce863a0 fix: delete metadata section #184 2022-07-29 11:32:22 -03:00
vnmedeiros 6d8c75f640 fix: space formatting 2022-07-29 11:31:46 -03:00
vnmedeiros 28ddf605b1 feat: add hook `hook_metadata_update_order` to fix ordination #184 2022-07-29 11:31:10 -03:00
vnmedeiros ca3ab329d6 feat add funciton `tainacan_metadata_sections` #184 2022-07-29 11:29:49 -03:00
mateuswetah 589847272c Fixes undefined prop on attachment list. 2022-07-28 15:51:33 -03:00
mateuswetah b0055cc851 Fixes repository-level icon on collection metadata list. #184. 2022-07-28 14:05:18 -03:00
mateuswetah a673b22a28 Small spacing between sections in item page. 2022-07-26 11:58:03 -03:00
mateuswetah 1c0b644624 Adds admin options to hide focus mode and required-only switch. 2022-07-26 11:46:51 -03:00
mateuswetah 2d9a25abb6 Option to focus required metadata. #653. 2022-07-26 11:32:36 -03:00
Mateus Machado Luna 599e10c2d1
Merge pull request #718 from tainacan/feature/184
Metadata Sections #184
2022-07-26 10:30:29 -03:00
mateuswetah c662eda61d Adds margin bottom do metadata sections. 2022-07-26 09:59:56 -03:00
mateuswetah 4dfa609751 Syncs attachment when document is changed. 2022-07-26 09:52:45 -03:00
mateuswetah 24aab85677 Changes tag opacity and prevents document deletion from attachments list. 2022-07-26 09:34:01 -03:00
mateuswetah f92d9f41c0 Adds label to indicate document among attachments. #709. 2022-07-25 14:51:51 -03:00
mateuswetah 4cb14af93b Adds default section to metadata section as html. #184. 2022-07-25 11:32:13 -03:00
mateuswetah 22cf3f82e8 Updates enabled state on vuex even for Metadata inside sections. 2022-07-25 11:04:35 -03:00
mateuswetah 1b2243c74a More adjustments to single item page on admin. 2022-07-22 14:35:09 -03:00
mateuswetah f6d12932a4 Adapts tabs and footer buttons to mobile app mode. 2022-07-22 11:36:33 -03:00
mateuswetah 6e45845dd7 Several tweaks to new item edition dropdown button. 2022-07-21 17:45:43 -03:00
mateuswetah 9d40dc4541 Merge branch 'feature/184' of github.com:tainacan/tainacan into feature/184 2022-07-19 15:34:59 -03:00
mateuswetah e942a06ed1 Migrate item edition form buttons to a separate component. 2022-07-19 15:34:51 -03:00
vnmedeiros a500f57bbd Merge branch 'feature/184' of github.com:tainacan/tainacan into feature/184 2022-07-18 08:30:24 -03:00
vnmedeiros bbc18797cf feat: update metadata order for default section 2022-07-18 08:28:24 -03:00
mateuswetah 34dadf8c1f Improves mobile layout of item edition page. 2022-07-15 17:20:18 -03:00
mateuswetah 02f333065c Fixes padding of attachments list inside item edition form. 2022-07-15 10:55:17 -03:00
mateuswetah 750939b0ef Adds admin options to show document and attachments inside tabs. 2022-07-15 10:27:31 -03:00
mateuswetah 5fdd875031 Fixes error on accessing header buttons in collection edition form. 2022-07-14 15:18:23 -03:00
mateuswetah 12a7823e93 Adds shortcuts to mobile app header/panel. 2022-07-14 12:09:39 -03:00
vnmedeiros a308ffaa2c fix: add error_log to print the caught exception 2022-07-13 09:30:27 -03:00
mateuswetah 3b6b9ebb57 Merge branch 'develop' into feature/184 2022-07-08 17:36:39 -03:00
mateuswetah de09af57b6 Checks window width change on resize to fix mobile filters menu appearing every scroll. 2022-07-08 17:36:10 -03:00
mateuswetah fcc9293bef Merge branch 'develop' into feature/184 2022-07-08 16:01:23 -03:00
mateuswetah da602a169d More tweaks to make sure carousels initialization goes well. 2022-07-08 16:01:00 -03:00
mateuswetah 0967a88304 Fixes error with collection and items carousel initialization. 2022-07-08 15:16:09 -03:00
mateuswetah de73161e2d Styles Tainacan Mobile App page. 2022-07-04 16:30:32 -03:00
mateuswetah d519745114 Begins implementation of mobile app header. 2022-07-04 10:56:27 -03:00
mateuswetah 5e826e74dc Merge branch 'develop' into feature/184 2022-06-30 14:25:05 -03:00
mateuswetah 0c56b19b6a Creates tainacan_mobile_app page and emits events to mobile app. (https://github.com/tainacan/tainacan-mobile/issues/17) 2022-06-30 12:18:12 -03:00
mateuswetah dcebe2f77d Passes slash inside esc_url do avoid https prepend. 2022-06-28 10:08:47 -03:00
mateuswetah c427609e64 Adds padding to close icon in chromes search input. 2022-06-27 12:08:38 -03:00
mateuswetah 20026e55a0 Checks if search param changed to reload facets. #713. 2022-06-27 10:35:06 -03:00
mateuswetah 1fa6ef3c8a Merge branch 'develop' of github.com:tainacan/tainacan into develop 2022-06-24 09:24:49 -03:00
mateuswetah 9231341fd6 More esc_url when comparing results from autoembeds. 2022-06-24 09:24:41 -03:00
vnmedeiros 4e70a06455 fix: optional function params 2022-06-22 15:52:32 -03:00
mateuswetah 159c362c10 Merge branch 'develop' into feature/184 2022-06-22 14:23:18 -03:00
Mateus Machado Luna 2a4c221198
Merge pull request #710 from tainacan/feature/498
Adds tainacan-large-full size and wider masonry cols. #498
2022-06-22 11:15:41 -03:00
mateuswetah 58bb853757 Escapes document url before comparing with embeded on document_as_html. 2022-06-22 10:01:36 -03:00
mateuswetah 930d071db1 Adds filter to allow using legacy masonry layout. #498. 2022-06-22 09:59:16 -03:00
mateuswetah d46910ac9a Wider masonry columns. #498. 2022-06-21 16:29:12 -03:00
mateuswetah 635bf19546 Removes dependency of vue-masonry-css. #498. 2022-06-19 19:22:14 -03:00
mateuswetah 72c2a9c001 Uses Masonry on records view mode. #498. 2022-06-17 16:58:55 -03:00
mateuswetah 72dc4cf205 Uses Masonry plugin in Masonry view modes. #498. 2022-06-17 15:06:41 -03:00
mateuswetah 8067dcd03b First exeperiments with Desandro Masonry. 2022-06-16 10:18:01 -03:00
mateuswetah 21fe42bcb2 Adds Tainacan large-full media size #498. 2022-06-15 14:03:56 -03:00
mateuswetah 08f1d7361c Function getRelativeRetinaSize now decides which size to show on retina display. 2022-06-15 10:09:13 -03:00
mateuswetah 1b2b79ec23 Catches modulo import errors and display error messages on screen. 2022-06-10 17:14:02 -03:00
mateuswetah 1846720944 Changes lodash functions import to fix conflict with underscore. 2022-06-10 11:55:57 -03:00
vnmedeiros 6feb5de151 fix: using `wp_kses_tainacan` to escape the return of the exposers 2022-06-09 15:18:07 -03:00
mateuswetah c07d3c4f5e Updates PDFJS to version 2.14.305. 2022-06-07 11:08:15 -03:00
mateuswetah aa1077b826 Small css adjustments to gutenberg blocks. 2022-06-06 11:26:50 -03:00
mateuswetah 8c0c5ef17a Loading indicator and metadata reloading on metadata mapping list. 2022-06-06 11:26:36 -03:00
mateuswetah e7fc817e14 Better classes for some search control items. 2022-06-05 13:55:31 -03:00
mateuswetah 3e1616112e Merge branch 'develop' of github.com:tainacan/tainacan into develop 2022-06-02 17:48:54 -03:00
mateuswetah 7368f031c6 Reinforces type defaults in some blocks. 2022-06-02 17:48:48 -03:00
vnmedeiros 51810c5ebf update version 2022-06-02 16:52:09 -03:00
mateuswetah f79663d7b2 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2022-06-02 16:51:39 -03:00