Commit Graph

157 Commits

Author SHA1 Message Date
Alan Orth
026703d170 Restrict SSR to paths in the sitemap
Because Angular SSR is not very efficient, after discussion with
the Google Scholar team we realized a compromise would be to only
use SSR for pages in the DSpace sitemap (and the home page).

(cherry picked from commit 5b3b3bfb9c)
2025-01-21 22:38:01 +00:00
Andreas Awouters
2249464abf Merge branch 'live-region-7.6' into live-region-8.0
# Conflicts:
#	config/config.example.yml
#	src/app/shared/shared.module.ts
#	src/config/app-config.interface.ts
#	src/config/default-app-config.ts
#	src/environments/environment.test.ts
2024-09-20 14:03:19 +02:00
Andreas Awouters
83a44ba924 118220: Add live-region service and component 2024-09-20 13:31:44 +02:00
Tim Donohue
ee174747c2 Disable inlineCriticalCss by default for better SSR performance 2024-04-15 16:13:41 -05:00
Tim Donohue
0a1764c65a Merge pull request #2934 from 4Science/DURACOM-248-ANGULAR-17
Upgrade to angular 17
2024-04-15 15:15:10 -05:00
Alexandre Vryghem
e10630f131 Added functionality to disable COAR notify support link in footer
Also fixed error that showed a blank page instead of a 404 when disabling EULA/Privacy Policy pages
2024-04-12 01:38:34 +02:00
Giuseppe Digilio
d7d8067006 [DURACOM-247] Refactoring SSR configuration in order to align it with new nomenclature 2024-04-11 18:14:34 +02:00
Yury Bondarenko
55573c5827 Merge remote-tracking branch 'origin/main' into disable-inline-css 2024-03-12 17:17:39 +01:00
Yury Bondarenko
3b48d9a26d Manually fix lint issues 2024-03-06 11:56:17 +01:00
Yury Bondarenko
dbf7fd67fd Merge remote-tracking branch 'origin/main' into more-eslint 2024-03-06 10:26:07 +01:00
frabacche
0f7965ea6e Merge remote-tracking branch 'github/main' into coar-notify-7-part-two 2024-03-04 17:26:17 +01:00
Kim Shepherd
911cf8905c [TLC-674] Hide empty duplicate section UNLESS config overrides
A new config property allows the user to force the duplicate
section to be displayed even if there are no duplicates
as sometimes this is useful information to a reviewer or
submitter
2024-03-04 11:49:24 +13:00
FrancescoMolinaro
0a3f884793 Resolve conflicts after merge of part 1 2024-02-29 15:13:53 +01:00
gaurav patel
91a419fb0f Advance search search page (#2608)
* Update homepage-config.interface.ts

change comment of homepage-config.interface.ts

* advance Search add

* slove error while unti test

* write unit test

* Ensures select element has an accessible name

* change data pass into url

* error resolve

* Search.Filters.Applied.F.Title given name as Title

* Advanced filters configurable in the User interface (in config.*.yml)

* turn on/off and add filters as a list

* remove currenturl

* resolve

* change envierment config and url pass data

* set enabled: false ,and remove debugger ,remove searchConfig

* expect clauses  add

* reslove conflict

* merge added

* remove  commented and design change advance search

* moving the "add" button to its own col-lg-12

* resolve conflict

* reslove error

* merge en.json5 file

* remove trailing spaces

* resolve Conflicts

* Fix typo. property is filter not filters

---------

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
2024-02-26 14:11:28 -06:00
gaurav patel
bfeeeac96f only add Display Search Facets to the Homepage (#2275)
* Update homepage-config.interface.ts

change comment of homepage-config.interface.ts

* advance Search add

* slove error while unti test

* write unit test

* Ensures select element has an accessible name

* change data pass into url

* error resolve

* Search.Filters.Applied.F.Title given name as Title

* Advanced filters configurable in the User interface (in config.*.yml)

* Search Facets on all Home, Community, Collection

* should pass accessibility tests error resolve

* change label name

* unique role or role/label/title

* remove same role name

* order of headings is semantically correct

* semantically correct advance search and global css

* URL pattern

* headings is semantically correct

* Merge branch 'Search-Facets-home-community-collection' of https://github.com/GauravD2t/Advanced-search into Search-Facets-home-community-collection

* change update

* change update

* remove advance search code from here

* removing all code relating to Community/Collection pages

* resolve  code conflict

* remove the space

* remove commented code

* add  'merge'

* resolve confilt

* remove back file

* add lable dynamic

* Update search-navbar.component.spec.ts

* Update search-filter.component.html

* showDiscoverFilters config in yml file

* Ensures the order of headings is semantically correct

* showDiscoverFilters change default to false

* Update homepage-config.interface.ts to use boolean instead of false

---------

Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
2024-02-23 16:01:36 -06:00
Toni Prieto
b4a9a0dd1e Add a new mode to AuthorityConfidenceStateDirective to configure use fontawesome icons instead of class defined in style property 2024-02-22 20:29:53 +01:00
Alexandre Vryghem
9ff3ed4351 Merge remote-tracking branch 'upstream/main' into added-recently-added-section-to-community-page_contribute-main
# Conflicts:
#	config/config.example.yml
#	src/app/shared/search-form/search-form.component.ts
#	src/assets/i18n/en.json5
#	src/config/default-app-config.ts
2024-02-18 15:32:39 +01:00
Alexandre Vryghem
7bf7ee0ba7 110889: Added config to disable community/collection sidebar 2024-02-18 02:00:51 +01:00
FrancescoMolinaro
ffd118abf9 align with github 2023-12-27 13:26:04 +01:00
frabacche
4106e438d6 CST-5249_suggestion test fixes 2023-12-22 12:18:58 +01:00
Yury Bondarenko
ca1d81048a Autofix lint issues 2023-12-19 13:35:51 +01:00
Yury Bondarenko
4a87c9a8b4 Merge remote-tracking branch 'origin/main' into more-eslint 2023-12-19 09:35:05 +01:00
FrancescoMolinaro
c386a4d505 adapt config for url search 2023-12-18 12:22:05 +01:00
FrancescoMolinaro
2d2ca2016a refactor 2023-12-18 11:40:09 +01:00
FrancescoMolinaro
f2be578d2a refactor config QA 2023-12-14 12:11:06 +01:00
FrancescoMolinaro
7fe81ec111 add quality assurance configuration 2023-12-13 17:00:24 +01:00
Yury Bondarenko
a11be65f95 ESlint: fix imports 2023-06-27 17:20:06 +02:00
Yury Bondarenko
917c36dbe7 ESLint: fix dangling commas 2023-06-27 17:19:58 +02:00
Giuseppe Digilio
2f06a7cb17 [CST-5729] Change in order to save header only if configured and existing 2023-06-14 18:26:55 +02:00
Tim Donohue
d0ccec9d0e Merge pull request #2126 from atmire/ensure-cookie-language-is-valid-main
Ensure cookie language is valid
2023-03-23 16:37:30 -05:00
Alexandre Vryghem
ed998f41ce Merge remote-tracking branch 'upstream/main' into ensure-cookie-language-is-valid-7.2 2023-02-26 21:49:51 +01:00
Alexandre Vryghem
92f5c6f427 Do not use disabled or non-existing languages from language cookie 2023-02-26 21:39:10 +01:00
aroman-arvo
742922dba0 DS-8408: Test cases and some fixes or comcol ordering 2023-02-13 19:32:47 +01:00
aroman-arvo
e2668cdf97 DS-8408 - lint errors 2023-02-13 12:22:07 +01:00
aroman-arvo
b015f682b4 Merge remote-tracking branch 'github/main' into DS-8408 2023-02-13 11:31:03 +01:00
aroman-arvo
eeda26e122 8408 - sort ordering is parametrized and used only when no text query is send. 2023-02-13 10:42:56 +01:00
Tim Donohue
c099bc468d Add "debug" config and "allowStale" configs 2023-02-07 12:22:32 -06:00
Tim Donohue
a150c64e2f Fix test configuration 2023-02-03 13:28:35 -06:00
Tim Donohue
ee0ebebf14 Add missing test configs 2023-02-02 15:09:31 -06:00
Yury Bondarenko
38a058d7af Add configuration option to disable inlined CSS in SSR HTML
When inlining CSS, Angular Universal needs to extract critical styles.
This seems to take up a significant chunk of processing time.

However, loading may appear less smooth when this feature is disabled.

Added to the configuration to make it easier to A/B test this without a full re-build.
2023-02-01 17:09:22 +01:00
Jens Vannerum
befdc56fca Merge remote-tracking branch 'dspaceMain/main' into issue-815-controlled-vocabulary-hierarchical-facets-7.4 2023-01-02 10:15:18 +01:00
Mark Cooper
9771d756b6 Enable / disable spellcheck for textarea inputs via config 2022-12-15 15:46:03 -08:00
Jens Vannerum
a642a02663 Merge remote-tracking branch 'dspaceMain/main' into issue-815-controlled-vocabulary-hierarchical-facets-7.4
# Conflicts:
#	config/config.example.yml
#	src/assets/i18n/en.json5
2022-12-08 17:08:52 +01:00
Jens Vannerum
d04ac74c6f Merge remote-tracking branch 'dspaceMain/main' into issue-815-controlled-vocabulary-hierarchical-facets-7.2
# Conflicts:
#	src/app/shared/search/search-filters/search-filter/search-hierarchy-filter/search-hierarchy-filter.component.spec.ts
#	src/app/shared/search/search-filters/search-filter/search-hierarchy-filter/search-hierarchy-filter.component.ts
#	src/app/shared/vocabulary-treeview/vocabulary-treeview.component.ts
#	src/assets/i18n/en.json5
#	src/config/app-config.interface.ts
#	src/config/default-app-config.ts
#	src/environments/environment.test.ts
2022-12-02 10:45:11 +01:00
Jens Vannerum
edc73d3585 97049: Refactor how to obtain vocabularies for filter (configurable) 2022-12-01 15:01:11 +01:00
Sergio Fernández Celorio
f7e78dccd1 Use the same property for both item pages 2022-11-07 19:27:54 +00:00
Sergio Fernández Celorio
2ed8f8bad8 Numbre of bitstreams in item page is now configurable 2022-11-04 10:40:29 +00:00
Tim Donohue
6f9d31034c Merge pull request #1851 from atmire/w2p-93963-Add_support_for_line_breaks_markdown_and_mathjax_in_metadata
Add support for line breaks markdown and mathjax in metadata
2022-09-29 14:28:20 -05:00
Tim Donohue
695ce3ab9e Merge pull request #1850 from atmire/use-x-forwarded-for-redirect
Use values from x-forwarded headers in getOrigin server side
2022-09-28 10:31:16 -05:00
Art Lowel
941e71a75b add useProxies config to support x-forwarded headers in express 2022-09-28 13:10:46 +02:00