Commit Graph

217 Commits

Author SHA1 Message Date
Giuseppe Digilio
e0edcd64d2 Fix wrong visualization of bitstream access condition form within submission form 2021-05-19 15:35:37 +02:00
Bruno Roemers
59560b993c 78407: Allow html in submission license section 2021-04-14 10:45:43 +02:00
Tim Donohue
e74c8f4daf Merge pull request #1004 from atmire/w2p-76150_Add-a-bitstream-download-page
Bitstream download page
2021-04-08 12:23:43 -05:00
Yana De Pauw
3137f3e6c1 76150: Implement feedback 2021-04-06 16:46:21 +02:00
lotte
3482db0686 Unreverted changes from #1053 2021-04-06 13:27:33 +02:00
Tim Donohue
d7bd3f6f54 Revert "Submission dropzone issues" 2021-04-02 16:28:40 -05:00
Tim Donohue
335d6fb339 Merge pull request #1053 from atmire/w2p-77631_dropzone-issues
Submission dropzone issues
2021-04-02 10:19:16 -05:00
Giuseppe
7402286954 #728 accessibility theming (#1057)
* [CST-3763] Change base theme colors

* [CST-3763] added new custom variables

* [CST-3763] applied changes to the header in order to have two different navbar

* [CST-3763] applied changes to breadcrumbs navbar

* [CST-3763] fix sidebar colors

* [CST-3763] applied changes footer in order to have two different sections

* [CST-3763] change home news jumbotron background color

* [CST-3763] fix issue with search-navbar.component z-index

* [CST-3763] fix issue with search-form.component that didn't use the brand colo parameter

* [CST-3763] fix issue with menu navbar on small window view

* [CST-3763] changed position for browse all button in the access control pages

* [CST-3763] Change form.component in order to have possibilities to display better additional form buttons

* [CST-3763] Change confirmation-modal.component in order to allow different colors and icons for confirm button

* [CST-3763] added confirmation icon

* [CST-3763] fixed accessibility for admin access control components

* [CST-3763] Added placeholder for search boxes

* [CST-3763] Added repository logo alt label

* [CST-3763] Adjust notification icons

* [CST-3763] Fix issue with hideReturnButton param in edit-comcol-page.component that was not initialized on page refresh

* Accessibility fix

* [CST-3763] Adjust usability for community/collection edit

* [CST-3763] fix error while running test

* [CST-3763] Added dynamically a title prefix to all dspace page

* [CST-3763] add breadcrumbs to the page where are missing

* [CST-3763] fixed failed tests

* [CST-3763] fixed failed e2e test

* [CST-3763] fixed failed e2e test

* Buttons fixes for accessibility

* [CST-3973] fixed issue with redirect after changing language

* Buttons and sections fixes for accessibility

* Buttons and sections fixes for accessibility

* [CST-3763] fixed colors for chips component

* [CST-3977] fixed issue with selecting a tag submission field

* [CST-3763] add breadcrumbs to the page where are missing

* [CST-3763] fixed edit workflowitem buttons color

* [CST-3977] removed unintentional committed log

* [CST-3763] Fix issue with tab selection in item edit page

* [CST-3763] Fix position of back button in the item edit page

* [CST-3763] icon and colors for search and browse all buttons

* [CST-3763] added atkinson font

* [CST-3763] remove dspace logo from home news

* [CST-3763] fix buttons colors for administrative search

* [CST-3763] Change background color for user menu

* [CST-3763] remove gradient from home page news component

* [CST-3763] fix issue with edit dso button

* [CST-3763] revert color schema

* [CST-3763] remove Atkinson-Hyperlegible font

* [CST-3763] fix use of header-logo-height variable

* [CST-3763] fix homepage link color

* [CST-3763] fix contrast color issue for navbar menu entries

* [CST-3763] add variable to show/hide top footer container

* [CST-3763] change dso edit button style

* [CST-3763] ensure to use "back" and "save" labels

* [CST-3763] Remove border from header

* [CST-3763] Change header in order to have only navigation bar in a single row

* Update src/app/root/root.component.html

Co-authored-by: Art Lowel <art.lowel@gmail.com>

* [CST-3763] Fix issue with wrong grid-breakpoints that cause issue on navbar collapsing

* [CST-3763] Fix issue with language dropdown when navbar is collapsed

* [CST-3763] Fix issue after merging

Co-authored-by: Matteo Perelli <matteo.perelli@4science.it>
Co-authored-by: Art Lowel <art.lowel@gmail.com>
2021-04-02 09:14:56 -05:00
Giuseppe Digilio
13c239cbc3 Add isSectionTypeAvailable method and use it to check if upload section is available 2021-04-02 15:58:02 +02:00
Alessandro Martelli
08afa4723b [CST-3782] patch add entire array on item remove 2021-03-31 15:21:32 +02:00
Alessandro Martelli
052dbdaf1e [CST-3782] patch add full array in case of DynamicRowArrayModel 2021-03-31 12:26:45 +02:00
Alessandro Martelli
88556c40f6 Merge remote-tracking branch 'origin/main' into CST-3782-fix-repeatable-fields 2021-03-31 12:23:16 +02:00
Art Lowel
4280475364 Merge branch 'main' into Item-page-redirects 2021-03-12 18:19:11 +01:00
Giuseppe Digilio
b3afaa55c7 Merge remote-tracking branch 'origin/main' into CST-3782-fix-repeatable-fields
# Conflicts:
#	src/app/shared/form/builder/ds-dynamic-form-ui/models/array-group/dynamic-form-array.component.scss
2021-03-11 09:29:40 +01:00
Alessandro Martelli
5201b4a31d [CST-3782] qualdrop move restored 2021-03-04 18:26:03 +01:00
Alessandro Martelli
5eb0a8744f [CSTPER-3782] custom move events handled correctly 2021-03-04 12:36:57 +01:00
Art Lowel
5a6e4b1278 Add support for dynamic themes 2021-03-01 10:38:05 +01:00
Alessandro Martelli
975ef7ebd2 [CST-3782] Style refinements and qualdrop moves fixed 2021-02-24 15:34:21 +01:00
Giuseppe Digilio
42636c6f95 [CST-3782] Fix issue with dispatchOperationsFromRemoveEvent method 2021-02-18 09:58:06 +01:00
Alessandro Martelli
d208cf16fa [CST-3782] Drag drop restored 2021-02-17 17:57:29 +01:00
Giuseppe Digilio
151b02aeec [CST-3782] Make changes in order to remove template row in form's repeatable fields 2021-02-17 16:10:22 +01:00
Andrew Wood
f0a710a9fc fix #869 Submission embargo bug 2021-02-11 10:46:45 +01:00
Art Lowel
c66de4fe91 Cache redesign part 2 2021-01-20 17:43:40 +01:00
Giuseppe Digilio
e5af894077 Removed deprecated helper function async 2021-01-07 20:12:15 +01:00
Giuseppe Digilio
4d4e920f0d Merge remote-tracking branch 'origin/main' into upgrade_angular10
# Conflicts:
#	src/app/+admin/admin-access-control/epeople-registry/epeople-registry.component.spec.ts
#	src/app/+admin/admin-access-control/epeople-registry/epeople-registry.component.ts
#	src/app/+admin/admin-access-control/epeople-registry/eperson-form/eperson-form.component.spec.ts
#	src/app/+admin/admin-access-control/group-registry/group-form/group-form.component.spec.ts
#	src/app/+admin/admin-access-control/group-registry/group-form/members-list/members-list.component.spec.ts
#	src/app/+admin/admin-access-control/group-registry/group-form/subgroup-list/subgroups-list.component.spec.ts
#	src/app/+admin/admin-access-control/group-registry/groups-registry.component.ts
#	src/app/+admin/admin-import-metadata-page/metadata-import-page.component.ts
#	src/app/+admin/admin-registries/metadata-registry/metadata-registry.component.ts
#	src/app/+admin/admin-registries/metadata-schema/metadata-schema.component.ts
#	src/app/+admin/admin-search-page/admin-search-results/admin-search-result-grid-element/item-search-result/item-admin-search-result-grid-element.component.spec.ts
#	src/app/+admin/admin-search-page/admin-search-results/admin-search-result-list-element/item-search-result/item-admin-search-result-list-element.component.spec.ts
#	src/app/+bitstream-page/bitstream-page.resolver.ts
#	src/app/+bitstream-page/edit-bitstream-page/edit-bitstream-page.component.spec.ts
#	src/app/+bitstream-page/edit-bitstream-page/edit-bitstream-page.component.ts
#	src/app/+collection-page/collection-item-mapper/collection-item-mapper.component.ts
#	src/app/+collection-page/collection-page.component.ts
#	src/app/+collection-page/edit-collection-page/collection-roles/collection-roles.component.ts
#	src/app/+collection-page/edit-item-template-page/item-template-page.resolver.spec.ts
#	src/app/+collection-page/edit-item-template-page/item-template-page.resolver.ts
#	src/app/+item-page/edit-item-page/item-authorizations/item-authorizations.component.ts
#	src/app/+item-page/edit-item-page/item-bitstreams/item-bitstreams.component.spec.ts
#	src/app/+item-page/edit-item-page/item-bitstreams/item-bitstreams.component.ts
#	src/app/+item-page/edit-item-page/item-collection-mapper/item-collection-mapper.component.ts
#	src/app/+item-page/edit-item-page/item-private/item-private.component.ts
#	src/app/+item-page/edit-item-page/item-public/item-public.component.ts
#	src/app/+item-page/edit-item-page/item-reinstate/item-reinstate.component.ts
#	src/app/+item-page/edit-item-page/item-relationships/edit-relationship-list/edit-relationship-list.component.ts
#	src/app/+item-page/edit-item-page/item-relationships/item-relationships.component.ts
#	src/app/+item-page/edit-item-page/item-withdraw/item-withdraw.component.ts
#	src/app/+item-page/simple/item-types/shared/item-relationships-utils.ts
#	src/app/+my-dspace-page/collection-selector/collection-selector.component.spec.ts
#	src/app/+search-page/search-tracker.component.ts
#	src/app/app-routing.module.ts
#	src/app/community-list-page/community-list-service.ts
#	src/app/community-list-page/community-list.reducer.spec.ts
#	src/app/core/auth/auth-response-parsing.service.spec.ts
#	src/app/core/auth/auth.interceptor.spec.ts
#	src/app/core/browse/browse.service.spec.ts
#	src/app/core/browse/browse.service.ts
#	src/app/core/cache/builders/link.service.spec.ts
#	src/app/core/cache/builders/remote-data-build.service.ts
#	src/app/core/cache/object-cache.service.spec.ts
#	src/app/core/cache/response.models.ts
#	src/app/core/data/base-response-parsing.service.ts
#	src/app/core/data/bitstream-data.service.ts
#	src/app/core/data/bitstream-format-data.service.ts
#	src/app/core/data/bundle-data.service.spec.ts
#	src/app/core/data/bundle-data.service.ts
#	src/app/core/data/change-analyzer.ts
#	src/app/core/data/collection-data.service.spec.ts
#	src/app/core/data/collection-data.service.ts
#	src/app/core/data/comcol-data.service.spec.ts
#	src/app/core/data/comcol-data.service.ts
#	src/app/core/data/data.service.ts
#	src/app/core/data/entity-type-data.service.ts
#	src/app/core/data/entity-type.service.ts
#	src/app/core/data/feature-authorization/authorization-data.service.ts
#	src/app/core/data/feature-authorization/feature-data.service.ts
#	src/app/core/data/item-template-data.service.ts
#	src/app/core/data/license-data.service.ts
#	src/app/core/data/metadata-field-data.service.ts
#	src/app/core/data/processes/process-data.service.ts
#	src/app/core/data/processes/script-data.service.ts
#	src/app/core/data/relationship.service.spec.ts
#	src/app/core/data/relationship.service.ts
#	src/app/core/data/remote-data.ts
#	src/app/core/data/request.actions.ts
#	src/app/core/data/request.effects.ts
#	src/app/core/data/request.reducer.spec.ts
#	src/app/core/data/request.reducer.ts
#	src/app/core/data/request.service.spec.ts
#	src/app/core/data/request.service.ts
#	src/app/core/dspace-rest/dspace-rest.service.spec.ts
#	src/app/core/eperson/eperson-data.service.spec.ts
#	src/app/core/eperson/eperson-data.service.ts
#	src/app/core/eperson/group-data.service.spec.ts
#	src/app/core/eperson/group-data.service.ts
#	src/app/core/forward-client-ip/forward-client-ip.interceptor.spec.ts
#	src/app/core/index/index.reducer.ts
#	src/app/core/json-patch/json-patch-operations.service.spec.ts
#	src/app/core/json-patch/json-patch-operations.service.ts
#	src/app/core/locale/locale.interceptor.spec.ts
#	src/app/core/registry/registry.service.ts
#	src/app/core/resource-policy/resource-policy.service.ts
#	src/app/core/shared/operators.ts
#	src/app/core/shared/search/search.service.ts
#	src/app/core/submission/submission-object-data.service.ts
#	src/app/core/submission/submission-rest.service.ts
#	src/app/core/submission/vocabularies/vocabulary-entries-response-parsing.service.spec.ts
#	src/app/core/submission/vocabularies/vocabulary.service.spec.ts
#	src/app/core/submission/vocabularies/vocabulary.service.ts
#	src/app/core/submission/workflowitem-data.service.ts
#	src/app/core/tasks/tasks.service.ts
#	src/app/curation-form/curation-form.component.ts
#	src/app/process-page/process-page.resolver.ts
#	src/app/shared/collection-dropdown/collection-dropdown.component.spec.ts
#	src/app/shared/collection-dropdown/collection-dropdown.component.ts
#	src/app/shared/comcol-forms/create-comcol-page/create-comcol-page.component.spec.ts
#	src/app/shared/comcol-forms/create-comcol-page/create-comcol-page.component.ts
#	src/app/shared/comcol-forms/edit-comcol-page/comcol-metadata/comcol-metadata.component.spec.ts
#	src/app/shared/comcol-forms/edit-comcol-page/comcol-role/comcol-role.component.spec.ts
#	src/app/shared/comcol-forms/edit-comcol-page/comcol-role/comcol-role.component.ts
#	src/app/shared/dso-selector/dso-selector/dso-selector.component.ts
#	src/app/shared/dso-selector/modal-wrappers/export-metadata-selector/export-metadata-selector.component.ts
#	src/app/shared/form/builder/ds-dynamic-form-ui/relation-lookup-modal/relationship.effects.ts
#	src/app/shared/form/builder/form-builder.service.ts
#	src/app/shared/item/item-versions/item-versions.component.ts
#	src/app/shared/mocks/remote-data-build.service.mock.ts
#	src/app/shared/mydspace-actions/workspaceitem/workspaceitem-actions.component.ts
#	src/app/shared/object-detail/my-dspace-result-detail-element/item-detail-preview/item-detail-preview.component.spec.ts
#	src/app/shared/object-select/collection-select/collection-select.component.spec.ts
#	src/app/shared/object-select/item-select/item-select.component.spec.ts
#	src/app/shared/pagination-drag-and-drop/abstract-paginated-drag-and-drop-list.component.spec.ts
#	src/app/shared/pagination-drag-and-drop/abstract-paginated-drag-and-drop-list.component.ts
#	src/app/shared/resource-policies/form/eperson-group-list/eperson-group-list.component.ts
#	src/app/shared/search/search-query-response.model.ts
#	src/app/statistics/statistics.module.ts
#	src/app/submission/import-external/import-external-searchbar/submission-import-external-searchbar.component.spec.ts
#	src/app/submission/sections/form/section-form.component.ts
#	src/app/submission/sections/upload/section-upload.component.spec.ts
#	src/app/submission/sections/upload/section-upload.component.ts
#	src/app/submission/submission.service.spec.ts
#	src/app/submission/submission.service.ts
2021-01-07 19:17:19 +01:00
Alessandro Martelli
6cf6dee5e6 [835] Auto-save in new Item Submission form breaks the form
Fixed unused imports.
2020-12-22 08:33:23 +01:00
Alessandro Martelli
8e77fac638 [835] Auto-save in new Item Submission form breaks the form
Minor fixes and method computeSectionConfiguredMetadata tested
2020-12-21 19:21:49 +01:00
Alessandro Martelli
0794c50d19 [835] Auto-save in new Item Submission form breaks the form
Fixed unused imports.
2020-12-21 17:27:59 +01:00
Alessandro Martelli
0acaa3e57f [835] Auto-save in new Item Submission form breaks the form
Section metadata dispatched to the store and retrieved in subscription.
Added test case for hasMetadataEnrichment.
2020-12-21 17:23:03 +01:00
Alessandro Martelli
55bcdf0a25 [835] Auto-save in new Item Submission form breaks the form
Minor changes and cleanup.
2020-12-21 17:23:03 +01:00
Alessandro Martelli
999993734f [835] Auto-save in new Item Submission form breaks the form
Tests fixed.
2020-12-21 17:23:03 +01:00
Alessandro Martelli
875a43a14e [835] Auto-save in new Item Submission form breaks the form
Section formId added to the section state.
Error filtering during the parsing of the submission response.
2020-12-21 17:23:03 +01:00
Alessandro Martelli
8111bdd3ce [835] Auto-save in new Item Submission form breaks the form
Store additions:
1. Form AdditionalData: contains the list of the touched metadata
2. Submission metadata: contains the list of the metadata ids assignable for each section

We keep also track whether a section ha focused fields or not.
2020-12-21 17:22:33 +01:00
Art Lowel
4e18fa35ca Cache redesign part 1, and add support for alternative links 2020-12-14 16:09:33 +01:00
Giuseppe Digilio
20b5721e3c Fixed lint errors and add lint fix script 2020-12-04 10:32:46 +01:00
Giuseppe Digilio
587affd064 added missing decorator for classes that use Angular features 2020-12-04 10:30:45 +01:00
Giuseppe Digilio
10d0c2e518 fixed tests after angular 10 upgrade 2020-12-03 19:45:05 +01:00
Giuseppe Digilio
9f5204992d Replaced deprecated rxjs flatMap operator 2020-11-23 15:38:02 +01:00
Giuseppe Digilio
59a0263817 upgrade to angular 10 intermediate commit 2020-11-20 17:06:42 +01:00
Giuseppe Digilio
79285b203b Changed to use TestBed.inject method instead of deprecated TestBed.get 2020-11-20 15:21:34 +01:00
Giuseppe Digilio
764ad4a0c0 fix update of @ng-dynamic-forms libs 2020-11-19 18:29:40 +01:00
Giuseppe Digilio
1b21af3191 updated to the latest 9.x version 2020-11-18 19:02:55 +01:00
Giuseppe Digilio
b8138ee3b9 Fixed lint error 2020-09-03 12:27:55 +02:00
Giuseppe Digilio
7d22bcc59c Merge remote-tracking branch 'remotes/atmire/fix-entities-issue-pr-751' into authorities_and_controlled_vocabularies 2020-09-03 10:07:34 +02:00
Giuseppe Digilio
5ebd4fcbc8 Merge remote-tracking branch 'remotes/origin/main' into authorities_and_controlled_vocabularies
# Conflicts:
#	src/app/core/integration/models/authority.value.ts
#	src/app/shared/chips/models/chips-item.model.ts
#	src/app/shared/chips/models/chips.model.ts
#	src/app/shared/form/builder/ds-dynamic-form-ui/ds-dynamic-form-control-container.component.ts
#	src/app/shared/form/builder/ds-dynamic-form-ui/models/relation-group/dynamic-relation-group.components.ts
#	src/app/shared/form/builder/models/form-field-metadata-value.model.ts
2020-09-03 09:36:39 +02:00
Art Lowel
f167d5a629 fix issue where combining entities and authority control in the same field wouldn't work 2020-09-01 14:25:50 +02:00
Yana De Pauw
f222cd8b33 72741: Fix file upload to use section ID instead of 'upload' 2020-08-28 17:24:52 +02:00
ddinuzzo
3f8a670dcf Merge branch 'main' into authorities_and_controlled_vocabularies 2020-08-14 12:53:38 +02:00
Art Lowel
d560e08b20 only clone for add events 2020-08-05 16:03:51 +02:00
Art Lowel
c2fd019ebd fix exception when adding a field for a repeatable dropdown 2020-08-05 13:55:26 +02:00