Commit Graph

188 Commits

Author SHA1 Message Date
Tim Donohue
aabc0a199e Merge pull request #4436 from TexasDigitalLibrary/dspace-8_x-port-config-default-comcol-tab
[Port dspace-8_x] Make the default tab for browsing communities and collections configurable in DSpace 8
2025-07-03 15:37:41 -05:00
Andreas Awouters
9e39b01c6c Merge branch 'dspace-8_x' into accessibility-settings-8_x 2025-06-30 13:45:00 +02:00
nwoodward
8a3a2026da make the default tab for browsing communities and collections configurable 2025-06-05 09:23:26 -05:00
Tim Donohue
d2cc002af0 Remove stray comma
(cherry picked from commit bcd2081ee3)
2025-05-22 17:05:17 +00:00
FrancescoMolinaro
5cbec3719b [DURACOM-344] refactor solution to avoid double slashes
(cherry picked from commit c442d35505)
2025-05-12 19:11:55 +00:00
FrancescoMolinaro
d4231e0e3e [DURACOM-344] adapt patterns and example file, fix possible error from YAML
(cherry picked from commit 4c9638150a)
2025-05-12 19:11:55 +00:00
FrancescoMolinaro
4bb7b54be9 [DURACOM-344] Adapt SSR page filtering mechanism to a not allowed list
(cherry picked from commit b1c5460bbb)
2025-05-12 19:11:55 +00:00
Andreas Awouters
a5f68a3626 Merge branch 'dspace-8_x' into accessibility-settings-8_x 2025-02-21 13:40:53 +01:00
Tim Donohue
2108219711 Move performanceprofiler option to last in list
(cherry picked from commit a37bb6ade1)
2025-02-07 15:35:01 +00:00
Giuseppe Digilio
f3534537ea [DURACOM-288] Change properties description 2025-02-04 17:54:18 +01:00
Giuseppe Digilio
9bf1fbd219 [DURACOM-288] Add missing settings to config.example.yml 2025-02-04 17:53:12 +01:00
Tim Donohue
04695b2520 Ensure "/reload/" (hard reload) path is included in SSR paths.
(cherry picked from commit 83d24f8c21)
2025-02-03 11:11:09 +00:00
Tim Donohue
ea38669710 Fix syntax in config.example.yml
(cherry picked from commit cafe88a3b8)
2025-01-29 22:38:50 +00:00
FrancescoMolinaro
6a1e1bfa8b Exclude search and browse from Angular SSR (#3709)
* [DURACOM-303] prevent possibly long-lasting search and browse calls in SSR

* [DURACOM-303] implement skeleton component for search results

* [DURACOM-303] add skeleton loader for search results and filters

* [DURACOM-303] minor restyle of skeleton for mobile

* [DURACOM-303] fix lint and tests

* [DURACOM-303] adapt tests

* [DURACOM-303] restyle skeleton, add filter badge skeleton

* [DURACOM-303] add loop for filters count

* [DURACOM-303] add grid layout, make SSR enabling configurable, minor restyle of skeletons

* [DURACOM-303] refactor param, add example of configuration

* [DURACOM-303] rename variable, minor code refactor

* [DURACOM-303] add override possibility with input

* [DURACOM-303] fix SSR check on template and on components missing the environment config. Add descriptive comment for skeleton component. Fix JS error on SSR.

* [DURACOM-303] refactor thumbnail's skeleton style
2025-01-23 10:07:15 -06:00
Andreas Awouters
f4fb0b312d Merge remote-tracking branch 'dspace/dspace-8_x' into accessibility-settings-8_x
# Conflicts:
#	src/app/profile-page/profile-page.component.html
#	src/app/profile-page/profile-page.component.ts
#	src/app/shared/notifications/notifications-board/notifications-board.component.spec.ts
#	src/app/shared/notifications/notifications-board/notifications-board.component.ts
#	src/themes/custom/app/profile-page/profile-page.component.ts
2025-01-23 09:38:01 +01:00
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
Tim Donohue
7b9f1dcc69 Fix incorrect example. The setting category is called "ssr" and not "universal"
(cherry picked from commit 138c007f28)
2024-11-22 17:17:08 +00:00
Andreas Awouters
6319c9b300 Merge branch 'accessibility-settings-7.6' into accessibility-settings-8_x
# Conflicts:
#	src/app/core/auth/auth.service.ts
#	src/app/info/info-routing-paths.ts
#	src/app/info/info-routing.module.ts
#	src/app/info/info.module.ts
#	src/app/shared/live-region/live-region.service.spec.ts
#	src/app/shared/live-region/live-region.service.ts
#	src/app/shared/notifications/notifications-board/notifications-board.component.spec.ts
#	src/app/shared/notifications/notifications-board/notifications-board.component.ts
#	src/config/app-config.interface.ts
#	src/config/default-app-config.ts
2024-11-06 13:11:17 +01:00
Andreas Awouters
37455a8b6c 119602: Make AccessibilitySettings cookie expiration configurable 2024-11-06 10:53:41 +01: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
437cc5991e After English, reorder languages alphabetically by code 2024-05-03 15:08:11 -05:00
Mohamed Ali
159b0c29de Added Arabic Translation 2024-04-15 01:52:32 +02: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
Yury Bondarenko
4a39f33006 Add to config.example.yml 2024-03-22 16:23:39 +01:00
frabacche
0f7965ea6e Merge remote-tracking branch 'github/main' into coar-notify-7-part-two 2024-03-04 17:26:17 +01:00
FrancescoMolinaro
23cb4ca7b7 Add components descriptions, fix bug on navigation, align labels, add config example 2024-03-04 11:38:56 +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
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
b8555f53c3 add commented example 2024-01-26 11:53:56 +01:00
imilos
ad12e5a7f2 Added Serbian cyrilic translation and corrected Serbian latin translation. 2023-10-20 11:00:11 +02:00
Milos Ivanovic
cae831bd41 Serbian (Latin) translation (#2508)
Serbian (latin) translation added.
2023-09-26 08:29:17 +03:00
Alan Orth
9e46b5310b config/config.example.yml: fix example syntax
As of DSpace Angular 7.2 the syntax has changed from TypeScript to
YAML.
2023-08-24 15:01:37 +03:00
Tim Donohue
b51fd46536 Replace mentions of demo7.dspace.org and api7.dspace.org with demo or sandbox 2023-08-22 16:32:55 -05:00
Davide Negretti
134a808fba [DURACOM-99] Italian support added 2023-05-12 10:00:56 +02:00
Tim Donohue
fbfe55db35 Enable Vietnamese language pack 2023-05-09 16:37:33 -05:00
aroman-arvo
938bf33ad2 DS-8404 - fix config param name 2023-02-15 19:20:20 +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
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
bae63111e7 Refactor to two caches. One for bots and one for anonymous users 2023-02-03 12:59:13 -06:00
Tim Donohue
2a7aa2b5c1 Updates to defaults of cache.control setting and enhanced comments 2023-02-02 15:09:31 -06:00
Tim Donohue
0d4cf5e468 Update SSR caching to only work when unauthenticated. Enhance config comments 2023-02-02 15:09:31 -06:00
Tim Donohue
b0696a404d Add SSR caching via lru-cache. Update Cache-Control header to 1 week, but tell browsers not to cache index.html 2023-02-02 15:09:31 -06:00
Toni Prieto
f6a95e692f Enable Catalan language 2023-01-21 12:52:49 +01:00