Commit Graph

116 Commits

Author SHA1 Message Date
Yury Bondarenko
d0c74ed49f 96252: Clean up SharedModule & CoreModule 2022-12-08 16:12:30 +01:00
Yury Bondarenko
3739fa4121 96252: Move dynamic forms out of AppModule 2022-12-08 16:12:20 +01:00
Tim Donohue
e7dc5f8d14 Merge pull request #1797 from tdonohue/fix_line_endings
Force all code to use LF line endings in .gitattibutes
2022-09-08 08:35:59 -05:00
Tim Donohue
b891ae0237 End-of-line normalization for some files 2022-08-26 11:36:51 -05:00
Yura Bondarenko
4403555c29 Merge remote-tracking branch 'origin/main' into w2p-93219_Consolidate-all-initialization-in-a-single-Service 2022-07-29 16:42:21 +02:00
Yura Bondarenko
372cddfd5e 93219: Support Router in InitService
For Router to work properly, APP_BASE_HREF must be resolved _before_ the APP_INITIALIZER factory is called (otherwise Angular will attempt to initialize APP_BASE_HREF too soon)
To fix this we add a pre-initialization hook to APP_CONFIG so BrowserInitService can resolve it before APP_INITIALIZER
2022-07-22 14:25:22 +02:00
Yura Bondarenko
39c2aa85ec 93219: Move APP_INITIALIZER logic into InitService 2022-07-18 15:58:07 +02:00
William Welling
2db80022b5 Merge branch 'main' of github.com:harvard-lts/dspace-angular into 145-base-path-support 2022-05-19 09:03:11 -05:00
William Welling
9a433b50ff support base path 2022-05-06 14:32:44 -05:00
Yura Bondarenko
1522c36ed0 Merge remote-tracking branch 'origin/main' into w2p-90978_Improve-initial-page-load_PR 2022-04-28 13:49:39 +02:00
Art Lowel
3bc5ee0253 pages loading twice poc
Cherry-picked from original branch started from Angular 13 PR
2022-04-27 11:58:43 +02:00
Tim Donohue
2671a4cb83 Merge pull request #1599 from atmire/w2p-90797_issue-1430_redux-devtools-disable-support-in-prod-mode
Disable redux devtools support in prod mode
2022-04-20 09:06:15 -05:00
Alexandre Vryghem
743bbb6afe Merge branch 'main-atmire-github' into w2p-90797_issue-1430_redux-devtools-disable-support-in-prod-mode 2022-04-19 21:49:55 +02:00
Alexandre Vryghem
ffa61438f9 90797: Disable redux devtools in production mode 2022-04-19 21:35:16 +02:00
Art Lowel
a47d7dd846 Upgrade ng-dynamic forms 2022-04-08 17:57:15 +02:00
Yura Bondarenko
28cc54e3f8 Merge remote-tracking branch 'upstream/main' into w2p-84367_Various-small-changes 2022-02-09 16:43:14 +01:00
Giuseppe Digilio
4cfff33301 [CST-4880] Add ServerCheckGuard in order to show internal server error page when rest server is not available 2022-01-24 22:04:02 +01:00
Tim Donohue
e61de0682f Revert "Show an error page if the rest api is not available" 2022-01-21 11:50:08 -06:00
Tim Donohue
d75ab378ac Merge pull request #1407 from 4Science/DSC-287-Show-an-error-page-if-the-REST-API-is-not-available
Show an error page if the rest api is not available
2022-01-20 11:41:34 -06:00
Yura Bondarenko
fc059520a0 Fix LGTM issues 2021-12-23 17:09:44 +01:00
Art Lowel
2fe5587e02 move the correlation id to the ngrx store 2021-12-23 16:55:46 +01:00
William Welling
33488ccf40 extend environment and use injected app config 2021-12-07 10:12:27 -06:00
William Welling
71f5b46639 use standard environments 2021-12-06 12:25:37 -06:00
Yura Bondarenko
d982fe59b4 85042: Make AdminSidebarComponent themeable 2021-11-23 17:29:27 +01:00
Rezart Vata
fc6678515a [DSC-287] Created new page error 500, added guard to check for initial api request, redirect to page 500 2021-11-04 14:21:12 +01:00
Giuseppe Digilio
9c47583a0a [CST-4634] Change email validator in order to show error also on focus 2021-10-13 23:13:39 +02:00
Art Lowel
124845bee1 update folder structure based on style guide 2021-07-23 17:18:51 +02:00
Giuseppe Digilio
9607a5248b Merge remote-tracking branch 'origin/main' into #1248 2021-07-08 15:30:34 +02:00
Marie Verdonck
38387d1a0f 79700: Tracking idleness & idle modal 2021-07-01 15:52:12 +02:00
Giuseppe Digilio
75d641dc82 Create a new log interceptor with the scope to attach new X-CORRELATION-ID and X-REFERRER headers 2021-06-25 16:06:07 +02:00
Art Lowel
c756c68f28 move header changes to dspace theme 2021-06-11 17:08:29 +02: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
lotte
b12e616ff6 Added themable breadcrumbs 2021-03-18 15:46:53 +01:00
lotte
1d4c77e485 Added themable header, footer and navbar 2021-03-18 15:46:53 +01:00
Yana De Pauw
8b7a33bff2 77349: Add themeable components - pt. 1 2021-03-18 15:46:53 +01:00
Art Lowel
5a6e4b1278 Add support for dynamic themes 2021-03-01 10:38:05 +01:00
Tim Donohue
5b23ffa2dc Add custom XSRF interceptor which works with cross domain requests, using new DSPACE-XSRF-TOKEN header 2021-02-05 15:53:26 -06:00
Art Lowel
298250f654 fix issue where interceptors were executed multiple times for each request 2021-01-26 10:40:59 +01:00
Giuseppe Digilio
9aea3f20ea Fix issue with components that using a custom decorator are not loaded during CSR 2021-01-15 14:18:18 +01:00
Giuseppe Digilio
948e002225 Merge remote-tracking branch 'remotes/origin/main' into upgrade_angular10
# Conflicts:
#	package.json
#	server.ts
#	src/app/+admin/admin-access-control/epeople-registry/epeople-registry.component.ts
#	src/app/+admin/admin-access-control/group-registry/group-form/group-form.component.ts
#	src/app/+admin/admin-access-control/group-registry/groups-registry.component.spec.ts
#	src/app/+admin/admin-access-control/group-registry/groups-registry.component.ts
#	src/app/+collection-page/collection-page.component.ts
#	src/app/+item-page/edit-item-page/item-page-reinstate.guard.ts
#	src/app/+item-page/edit-item-page/item-page-withdraw.guard.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/item-page-administrator.guard.ts
#	src/app/app-routing.module.ts
#	src/app/community-list-page/community-list-service.ts
#	src/app/core/data/entity-type.service.ts
#	src/app/core/data/feature-authorization/feature-authorization-guard/dso-page-feature.guard.spec.ts
#	src/app/core/data/feature-authorization/feature-authorization-guard/feature-authorization.guard.spec.ts
#	src/app/core/data/feature-authorization/feature-authorization-guard/feature-authorization.guard.ts
#	src/app/core/data/feature-authorization/feature-authorization-guard/site-administrator.guard.ts
#	src/app/core/data/feature-authorization/feature-authorization-guard/site-register.guard.ts
#	src/app/core/data/object-updates/object-updates.reducer.ts
#	src/app/core/shared/operators.ts
#	src/app/process-page/detail/process-detail.component.ts
#	src/app/shared/comcol-forms/delete-comcol-page/delete-comcol-page.component.ts
#	src/app/shared/dso-selector/dso-selector/dso-selector.component.ts
#	src/app/shared/input-suggestions/filter-suggestions/filter-input-suggestions.component.ts
#	src/app/shared/object-grid/grid-thumbnail/grid-thumbnail.component.ts
#	src/app/shared/shared.module.ts
#	yarn.lock
2020-12-04 11:36:48 +01:00
Giuseppe Digilio
20b5721e3c Fixed lint errors and add lint fix script 2020-12-04 10:32:46 +01:00
Kristof De Langhe
411e2bd746 74612: Remove 401 pages and add login redirect to feature-authorization guards 2020-12-03 14:38:27 +01:00
Giuseppe Digilio
9336693cc7 Removed entry components from module definitions 2020-12-01 20:38:03 +01:00
Kristof De Langhe
ab755d3fd9 74612: 403 page + redirect to login on unauthorized 2020-11-18 14:05:36 +01:00
Art Lowel
724e5d1f12 add blocking state to make dealing with log in errors more user friendly 2020-09-01 10:10:39 +02:00
Kristof De Langhe
78a5bd5fce 71429: Unauthorized component 2020-06-24 14:22:28 +02:00
lotte
8bf241c182 angular cli 2020-03-18 16:03:40 +01:00
Tim Donohue
b2f0e9f620 Merge pull request #591 from atmire/w2p-68921_breadcrumbs
Breadcrumbs
2020-02-28 10:36:43 -06:00
Giuseppe Digilio
5d22ba7d36 Fixed Related Dynamic Form Controls functionality after Angular 8 upgrade 2020-02-27 13:08:09 +01:00
lotte
413f798f71 initial simple breadcrumb implementation 2020-02-24 16:27:19 +01:00