Commit Graph

6857 Commits

Author SHA1 Message Date
mateuswetah 375a17697f Several updates to make $section_id be passed correctly to the template functions. #566. 2022-10-21 11:26:37 -03:00
mateuswetah a5c8b0a1c2 Fixes snackbar display for onSuccess state. #734. 2022-10-20 11:04:05 -03:00
mateuswetah c3a3ecebb3 Uses new endpoint to load item metadata from a specific section. #566. 2022-10-20 10:44:57 -03:00
mateuswetah 155d344bca Merge branch 'develop' into feature/566 2022-10-20 10:23:21 -03:00
mateuswetah d70e471002 Adds snackbar to success and error situations from collectionPresets 2022-10-20 10:08:00 -03:00
mateuswetah b3d659e3f5 Fixes hideHomeCollectionCreateNewButton variable. 2022-10-18 15:20:37 -03:00
mateuswetah 54fc377ab9 Fixes related items link for subdirectory sites. 2022-10-18 15:00:17 -03:00
mateuswetah 937a24ddcb Adds new admin options hideHomeCollectionCreateNewButton & hideCollectionsListCreationDropdown. 2022-10-18 14:46:11 -03:00
mateuswetah 13b0a366dc Adds `tainacan-admin-extra-request-options` PHP filter to receive extra params to every request header. 2022-10-18 14:19:58 -03:00
mateuswetah 090f65a467 Larger font to tainacan header extra label. 2022-10-17 10:51:08 -03:00
mateuswetah 0a499cf3e7 Adds option to add extra label to Tainacan Admin header. 2022-10-17 10:39:11 -03:00
vnmedeiros d085e7b202 feat: add new endpoint `item/<id_item>/metadatasection/<id_metasection>` 2022-10-16 17:57:45 -03:00
mateuswetah a00e8fb11e Adds order option to related items query in the theme helper function. 2022-10-14 12:05:37 -03:00
mateuswetah 307d9d48f5 Fixes related items block not rendering proper thumbnail size in list view. 2022-10-14 11:21:57 -03:00
mateuswetah b70b35fd1c Begins conversion of save functions to php side. #566. 2022-10-14 10:59:06 -03:00
vnmedeiros 78e8c29833 fix: for relationship metadata do not allow the same item to be present more than once in the value. 2022-10-08 11:12:35 -03:00
mateuswetah 19f2f83e78 Merge branch 'develop' into feature/566 2022-10-06 10:04:32 -03:00
vnmedeiros 392184512d feat: exclude default metadata section if present in `post__not_in` 2022-10-05 11:00:37 -03:00
mateuswetah 497b5f98db Checks presets earlier on collection creation modal component. #734. 2022-10-05 10:19:14 -03:00
mateuswetah 0e07408852 Perform request to absolute endpoint. #734. 2022-10-04 11:36:23 -03:00
mateuswetah 927873a78e Fixes small flow issue in preset selection. #734. 2022-10-04 11:23:01 -03:00
mateuswetah 4b2fc1773c Adds filter for collections presets. #734. 2022-10-04 10:21:07 -03:00
vnmedeiros 61d570f0e6 fix: test if `post_status` is empty 2022-10-04 09:26:21 -03:00
vnmedeiros 4b5bafd43d fix: add status on request items 2022-10-04 09:25:55 -03:00
mateuswetah bfd57dafed Creates a modal for collection creation from presets. #734. 2022-10-03 12:18:20 -03:00
mateuswetah ff2a4e845b Trully hides metadata section if not item metadatum is present. #733. 2022-09-30 11:57:11 -03:00
mateuswetah 1e2166ad8f Creates metadata section description block. #566. 2022-09-23 15:41:31 -03:00
mateuswetah ffef58e417 More and more improvements to new metadata section blocks. #566. 2022-09-23 12:09:05 -03:00
mateuswetah 0eda0da01d Efforts for making datasource parent and template work alongside in metadata blocks. #566. 2022-09-23 09:20:38 -03:00
mateuswetah f6e6faac9b Fixes to several gutenberg modal css issues with 6.1. #566. 2022-09-22 15:35:09 -03:00
mateuswetah ff9890bd62 Merge branch 'develop' into feature/566 2022-09-22 09:37:03 -03:00
mateuswetah c39a941fe6 Safer usage of wp.hooks. Fix #732. 2022-09-22 09:33:14 -03:00
mateuswetah ac00259fb9 Fixes typo bellow -> below where possible. Fix #731. 2022-09-22 09:22:13 -03:00
mateuswetah 8d7fc7c92b Begins creation of metatada section block. #566. 2022-09-22 09:17:39 -03:00
mateuswetah 460ee41f30 Adds metadata sections to item metadata block. #566. 2022-09-20 10:48:56 -03:00
mateuswetah 2672734c20 Merge branch 'develop' of github.com:tainacan/tainacan into develop 2022-09-19 10:58:48 -03:00
mateuswetah f54f384e0d Fixes usage of block wrapper function where a block instance did not exists. 2022-09-19 10:58:42 -03:00
mateuswetah abc5b67144 Continues implementation of item metadata blocks. #566. 2022-09-19 10:32:05 -03:00
vnmedeiros 1cb80921ca fix: delete post query status #729 2022-09-15 15:56:08 -03:00
vnmedeiros f727a8d691 fix: test if `post_status` is array #729 2022-09-15 15:35:13 -03:00
vnmedeiros 8f078f0453 release: update version 2022-09-09 14:31:17 -03:00
mateuswetah d653ddf4d6 Safe checking of metadtumList in item page. 2022-09-08 10:04:17 -03:00
mateuswetah 973ec2cd34 Continues implementation of item metadata block. 2022-09-08 09:54:50 -03:00
vnmedeiros 2ae1ef8d56 fix: add `nopaging` on metadata section list 2022-09-06 12:10:30 -03:00
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