Commit Graph

136 Commits

Author SHA1 Message Date
Alan Orth
af71c152c1 Use node: for Node.js builtin modules
Use the the `node:` protocol when importing Node.js builtin modules
and enable rule in eslint to enforce.

The `node:` protocol for Node.js builtin modules has been available
since Node.js v14.

See: https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/enforce-node-protocol-usage.md
2025-08-09 11:06:09 +03:00
Alexandre Vryghem
a59dc5adb0 Merge branch 'bootstrap-issues_contribute-9.0' into bootstrap-issues_contribute-main 2025-07-08 18:40:30 +02:00
Tim Donohue
f807f5ae77 Merge pull request #4291 from oscar-escire/Issue/3989
Improve community list e2e tests
2025-06-27 11:13:58 -05:00
Andreas Awouters
e9b8b25da5 Merge remote-tracking branch 'dspace/main' into accessibility-settings-main
# Conflicts:
#	cypress/support/e2e.ts
#	src/app/core/auth/auth.service.ts
#	src/app/footer/footer.component.html
2025-05-16 08:21:14 +02:00
Andrea Barbasso
87e4a33621 Merge branch 'main' into task/main/DURACOM-309_from-community-main
# Conflicts:
#	src/app/footer/footer.component.ts
2025-05-15 12:17:27 +02:00
Alexandre Vryghem
aba3a9439d 129964: Fixed the header role structure being invalid in the custom theme
- Replaced the menubar role from the parent of all the header buttons like lang switch, auth menu & help toggle with toolbar
- Replaced the remaining `<a>` buttons in the header with `<button>` to make them expandable with space
- Fixed accessibility issues flagged by axe DevTools in the user menu dropdown
2025-05-14 16:55:07 +02:00
Oscar Chacón
492023ce22 removed unnecessary class on name/span validation 2025-05-14 00:41:10 -06:00
Art Lowel
149feee93a wait for loading components to disappear before running a11y test 2025-05-06 17:06:37 +02:00
Andreas Awouters
25d6809e1c 119602: Update e2e cookieContent 2025-05-06 10:05:16 +02:00
Andreas Awouters
bcd9bfd607 Revert "click orejime popup accept after login"
This reverts commit 33062214da.
2025-05-06 10:03:07 +02:00
Andrea Barbasso
ea265075c8 [DURACOM-309] disable orejime during e2e tests 2025-05-06 09:25:09 +02:00
Oscar Chacón
a2dd3d185d improved community-list e2e tests 2025-05-02 16:57:40 -06:00
Andreas Awouters
b9e2ec15ed Merge remote-tracking branch 'dspace/main' into accessibility-settings-main
# Conflicts:
#	config/config.example.yml
#	src/config/app-config.interface.ts
#	src/config/default-app-config.ts
#	src/environments/environment.test.ts
2025-04-16 10:56:51 +02:00
Yana De Pauw
a16ea97b53 Merge remote-tracking branch 'upstream/main' into refactor-menu-resolvers-9.0 2025-03-28 18:10:02 +01:00
Art Lowel
d3c0ef501c move intercepts to before the login, otherwise they're not always early enough 2025-03-22 11:32:17 +01:00
Art Lowel
33062214da click orejime popup accept after login 2025-03-21 17:54:23 +01:00
Andreas Awouters
94dd8e7206 Merge remote-tracking branch 'dspace/main' into accessibility-settings-main
# Conflicts:
#	src/app/footer/footer.component.html
#	src/app/profile-page/profile-page.component.html
2025-03-21 13:03:30 +01:00
Tim Donohue
b44b7a66c1 Merge pull request #4069 from tdonohue/fix_e2e_tests
Minor fixes to Cypress e2e tests
2025-03-12 16:33:43 -05:00
Yana De Pauw
c53d7187c7 Merge remote-tracking branch 'upstream/main' into refactor-menu-resolvers-9.0 2025-03-12 12:42:34 +01:00
Tim Donohue
308f0751cf Fix issues in IDEs (especially VS Code) with recognizing Cypress Typescript files. 2025-03-10 14:23:05 -05:00
Tim Donohue
b6a507d2a2 Reenable accessibility test which is now fixed 2025-03-10 14:22:47 -05:00
Andreas Awouters
c90b05650a 120243: Disable 'aria-valid-attr-value' for community-list e2e test 2025-03-10 16:47:47 +01:00
Andreas Awouters
0567ea7a2d Merge remote-tracking branch 'dspace/main' into accessibility-settings-main
# Conflicts:
#	src/app/profile-page/profile-page.component.html
2025-03-07 13:45:37 +01:00
Andreas Awouters
a2882b0644 119602: Set all cookies before e2e specs 2025-03-07 13:09:47 +01:00
Andreas Awouters
4cea196eb2 Revert "119602: Accept cookies in specs where cookie window covers other elements"
This reverts commit c9b2717344.
2025-03-07 13:09:22 +01:00
Wout-atmire
e0240259ec Upgrade to Bootstrap 5 & realign themes (#3506)
* 117631: upgraded bootstrap, ng-bootstrap and installed popper.js

* 117631: SASS to CSS variables

* 117631: Bootstrap 4 to 5 html/css fixes

* 117631: Theming fixes after bootstrap upgrade

* 117631: More theming fixes: accordions, spacing, search components etc

* 117631: Fixed tests

* 117631: Fixed offset issues

* 117631: Fixed contrast ratio issue

* 117631: Fixed variables, removed unnecessary mapping, fixed tables, upgraded to Bootstrap 5.3.3

* 118113: vertical footer deviders

* 118113: remove button shadow

* 118113: old checkboxes

* 118113: Custom icons font-family

* 118113: accordion color

* 118113: table striped customizable background-color

* 118113: revert vertical deviders in footer bs-secondary change

* 118113: modal close button

* 118113: add w-100 to btn-block elements

* 118113: border radius

* 118113: The date selector on the submission page gets squished to the side of its label fix

* 118113: adding margins to dynamic-form-control-containers

* 118113: adding gaps between sections of item submission form

* 118113: icon font-family removed !important

* 118113: removed !important from #legend_dc_date_issued

* 118113: move --bs-border-radius to $bs-border-radius

* 118113: remove new SCSS variable

* 118113: reduce size for Item type labels

* 118113: date picker border - transparent

* 118113: drag-item-container elements on same line

* 118113: specific border color for ds-number-picker buttons

* Simplify variables & styles

* 118627: html files

* Fix new SCSS compile issues, remove yarn.lock

* 118627: remove footer button shadow

* 118627: custom login button radius

* 118627: success button - white text

* 118627: table alternate colors

* Fix ghostly Bootstrap version, again

* Override (ng-)bootstrap versions for @ng-dynamic-forms

* 118627: Feedback - fix login button radius

* 118627: Feedback - fix footer button shadows

* 118627: Feedback - login border radius use $bs-border-radius-lg + change to rem

* 118627: Tooltip issue

* 118627: Metadata white authority badge

* 118627: Align Back button

* 118627: Bitstreams under Item's Metadata issue fix

* 118627: select on edit collection page "arrow icon"

* 118627: fix alignment issues

* 118627: fix admin sidebar "Managment" label

* 118627: Feedback - login button

* 118627: Line above table heads

* 118627: Remove HMTL accordion expandable arrow

* 118627: bitstream table

* 118627: notification "close button"

* 118627: faint border/shadow around the expand buttons on hierarchical browse pages

* 118627: tooltip margin

* 118627: Bootstrap 5 changed the default gutter size to 24px

* 118627: custom-aligning -> custom-alignment

* 118627: lint-fix

* 118627: lint fix

* 118627: e2e Fix with new "btn-close"

* 118627: e2e Fix heading order for access-control-form-container

* 118627: access-control-form-container mr-4 to me-4

* 118627: update mr to me & ml to ms & pr to ps & pl to ps

* 118627: Access Control "Mode" radiobuttons under Text

* 118627: Item submission Publisher select icon positioning

* 118627: resolved merge conflict with main (and npm install)

* 118627: cherrypicking 3553 commits

* Remove unused angular-idle-preload

(cherry picked from commit fef5dd72b3)

* 118627: npm install - to fix package-lock.json

* 120594: hamberger menu not showing fix

* 120594: big logo header issue

* 120594: remove faint shadow

* 120594: btn-transparent class

* 120594: badge-* to bg-*

* 120594: add padding-right & -left for rounded-pill

* 120594: update test variables to fit the new bootstrap variables

* 120594: add missing rss conditions

* 120594: fix white badges

* 118627: remove shadow on number-picker

* 120594: revert white badge fix

* 120594: re-add dropdown-button in dynamic-lookup-relation-search-tab

* 120594: remove default radio button styling

* 120594: full width radio buttons

* 120594: edit collection page alignment

* 120594: bg -> bg-primary

* 120594: revert to old info color

* 120594: revert media breakpoints

* 120594: recover PR 3227 rss

* 120594: remove login & logout from PR

* 120594: ds-filter input & label gap

* 120594: ds-filter aligning rows

* 120594: remove navbar.module.ts

* 120594: remove item-edit-bitstream.component.html

* 120594: remove item-edit-bitstream-drag-handle.component.html

* 120594: Fix vocabulary-treeview styling

* 120594: Remove unused browse-by-metadata-page.component.html

* 120594: red invalid input label

* 120594: use old link color for number-picker: #1f7293

* 120594: move $theme-colors to sass override

* 120594: spacing for upload icon

* 120594: decrease media-breakpoint-down

* 120594: PR 3227 rss

* 120594: merge in main bootstrap variable mappings

* 120594: restore all mapped variable that have a value

* 120594: fix unset variable item-edit-bitstream-bundle.component.scss

* 120594: old tooltip color

* 120594: edit bitstream render text inline with the icon

* Revert "120594: merge in main bootstrap variable mappings"

This reverts commit 4e61b5fb

* 120594: add non-default mapped variables with references

* 120594: add docs in _bootstrap_variables_mapping.scss

* 120594: use bootstrap variables instead of hardcoded values

---------

Co-authored-by: lotte <lotte_hofstede@hotmail.com>
Co-authored-by: Yura Bondarenko <yura.bondarenko@atmire.com>
Co-authored-by: Yury Bondarenko <ybnd@tuta.io>
Co-authored-by: Tim Donohue <tim.donohue@lyrasis.org>
2025-03-05 12:15:51 -06:00
Yana De Pauw
4b3215412f Move server init menus after authentication is ready 2025-03-05 16:45:45 +01:00
Andreas Awouters
c9b2717344 119602: Accept cookies in specs where cookie window covers other elements 2025-02-25 15:51:12 +01:00
Andreas Awouters
958b3b8c05 119602: Add new cookie setting to e2e tests 2025-02-24 10:14:49 +01:00
Yana De Pauw
43e4f9de49 Fix e2e issues 2025-02-21 14:36:04 +01:00
Tim Donohue
5c50faa319 Ensure admin menu e2e tests hover over admin menu before clicking on it. Attempt to stabilize tests which open this menu. 2025-01-22 09:38:38 -06:00
Tim Donohue
7feb9fc617 Ensure Item Edit page tab is visible before & after clicking it. 2025-01-15 10:37:30 -06:00
Tim Donohue
5623cc9221 Ensure Admin sidebar link is visible before clicking links 2025-01-15 10:30:46 -06:00
Alexandre Vryghem
5c9f494f76 120109: Updated the route configuration to only resolve the dsoEditMenuResolver on pages who use the DsoEditMenuComponent 2024-11-20 14:46:44 +01:00
Andrea Barbasso
5bd99a1216 [CST-15593] fix authenticated orejime cookie encoding 2024-11-04 12:40:45 +01:00
Andrea Barbasso
6257718377 [CST-15593] improve tests reliability 2024-10-31 13:00:21 +01:00
Andrea Barbasso
e516ae8653 [CST-15593] go back to orejime-anonymous cookie 2024-10-31 11:32:54 +01:00
Andrea Barbasso
0ab4d903d9 [CST-15593] fix orejime cookie name, a11y issues and package-lock 2024-10-31 10:54:03 +01:00
Andrea Barbasso
8c70ee800b Merge branch 'main' into task/main/CST-15593
# Conflicts:
#	package-lock.json
#	package.json
#	src/assets/i18n/ar.json5
2024-10-24 10:12:18 +02:00
Tim Donohue
a74cd848fe Add basic e2e testing for i18n 2024-10-16 16:45:43 -05:00
Tim Donohue
a012e4cea2 Test stability fixes. Ensure Item Edit tests wait on tabs to load by testing if tab is active. Fix small bug in login-modal test. 2024-10-09 09:42:30 -05:00
Tim Donohue
968c5bda71 Simplify login CSS selectors 2024-10-09 09:42:30 -05:00
Tim Donohue
7aba69edd6 Minor changes to login-modal.cy.ts to cleanup CSS selectors 2024-10-09 09:42:30 -05:00
FrancescoMolinaro
9e985cf2d4 [CST-15592] remove interceptor for edit group 2024-10-09 15:13:14 +02:00
FrancescoMolinaro
2b466bb382 [CST-15592] add interceptor for edit group, fix landmark-unique accessibility issue in pagination component 2024-10-09 14:16:47 +02:00
FrancescoMolinaro
55ab43f132 [CST-15592] add interceptor for item edit page 2024-10-09 13:15:07 +02:00
FrancescoMolinaro
0e5b924f42 [CST-15592] add interceptor to prevent sudden timeout failure 2024-10-09 11:44:44 +02:00
FrancescoMolinaro
f131ae2f6b [CST-15592] refine health page tests 2024-10-09 11:44:44 +02:00
FrancescoMolinaro
2369b27178 [CST-15592] change health page test target for second tab 2024-10-09 11:44:44 +02:00
FrancescoMolinaro
69f618e856 [CST-15592] improve tests, add attributes for testing, fix wrong references 2024-10-09 11:44:44 +02:00