Commit Graph

14810 Commits

Author SHA1 Message Date
Kim Shepherd
f070dee931 Request-a-copy: Error handling (review feedback)
* New accessExpired flag can be checked along with
  acceptRequest, so expired or not-granted links
  will show an error and draw 'normal' download links
  instead of doing a hard 4xx redirect
* Old ItemWithSupplementaryData component removed
* Notifications moved to sub-component of item page
  and display a warning on valid access token, or a
  danger alert if expired or not-granted, with an
  appropriate error message
* Date formatted in messages as yyyy-MM-dd
2025-03-27 18:17:53 +01:00
Yana De Pauw
51127dc513 Fix accessibility issue 2025-03-27 17:09:20 +01:00
Tim Donohue
11e02c9504 Merge pull request #3355 from 4Science/task/main/CST-15074
ORCID Login flow for private emails
2025-03-26 14:53:46 -05:00
Vincenzo Mecca
ab9cbea7c3 [CST-18964] Fixes empty trackerId for bitstream download feature 2025-03-26 20:23:21 +01:00
Kim Shepherd
58cee5fb2e Request-a-copy: Replace +1WEEK -> +7DAYS delta 2025-03-26 17:08:10 +01:00
Kim Shepherd
7671595665 Request-a-copy: Review feedback addressed
* ALTCHA updated to 0.9.0 and tested
* Alt text for fas-lock-open images
* Typedoc added
* Comments/TODOs removed
* Better expiry date display on notification panel
2025-03-26 17:08:10 +01:00
Kim Shepherd
d8fb9f1195 Request-a-copy: Test fixes 2025-03-26 17:08:10 +01:00
Kim Shepherd
a1e7d653f2 Request-a-copy: Unit tests 2025-03-26 17:08:08 +01:00
Kim Shepherd
1fff3b5b86 Request-a-copy: Changes to support access expiry as delta/date storage - psql max 2025-03-26 17:07:29 +01:00
Kim Shepherd
57b618ce34 Request-a-copy: Changes to support access expiry as delta/date storage 2025-03-26 17:07:29 +01:00
Kim Shepherd
16451807f9 Request-a-copy: Using route only in place of wrapper item 2025-03-26 17:07:28 +01:00
Kim Shepherd
80fafbf2e1 Request-a-copy: Angular flow control changes 2025-03-26 17:06:41 +01:00
Kim Shepherd
d1bcb9fb2e Request-a-copy: Use wrapped ItemWithSupp.. and base item comps, except download link 2025-03-26 17:06:41 +01:00
Kim Shepherd
58d0e7f513 Request-a-copy: Using a resolver to grab the RequestItem 2025-03-26 17:06:41 +01:00
Kim Shepherd
ce93b847d2 Request-a-copy: Code cleanup and comments 2025-03-26 17:06:41 +01:00
Kim Shepherd
c9c2a774ea Request-a-copy: Merge recaptcha headers to generic x-captcha-payload 2025-03-26 17:06:41 +01:00
Kim Shepherd
e928eab96b Request-a-copy improv: altcha fixes 2025-03-26 17:06:41 +01:00
Kim Shepherd
bff5662116 Request-a-copy improv: Add altcha dependency to package.json 2025-03-26 17:06:41 +01:00
Kim Shepherd
585347b1a2 Request-a-copy improv: English i18n 2025-03-26 17:06:41 +01:00
Kim Shepherd
e736bbb9ec Request-a-copy improv: Altcha recaptcha component and service 2025-03-26 17:06:41 +01:00
Kim Shepherd
0c58a5bf05 Request-a-copy: Refactor for angular control flow changes 2025-03-26 17:06:41 +01:00
Kim Shepherd
60bbcf3420 Request-a-copy improv: Changes to bitstream page to support tests 2025-03-26 17:06:41 +01:00
Kim Shepherd
0de6481c24 Request-a-copy improv: Routing and module changes 2025-03-26 17:06:41 +01:00
Kim Shepherd
4281267cb6 Request-a-copy improv: Secure item view comps 2025-03-26 17:06:41 +01:00
Kim Shepherd
f3bb7327dc Request-a-copy improv: Secure file section and download links 2025-03-26 17:06:41 +01:00
Kim Shepherd
aea41d74ec Request-a-copy improv: Secure media and image viewers 2025-03-26 17:06:41 +01:00
abhinav
fa6b8cc21d 129641: Fix Export button is enabled wrongly
This fixes the export button being enabled when the second step is not active in bulk access edit. The tests have been updated accordingly
2025-03-26 15:47:17 +01:00
Tim Donohue
5a53cc9738 Merge pull request #3882 from nibou230/2413-bitstream-access-status
Display the access status (embargo) for the bitstream
2025-03-26 09:43:04 -05:00
Ricardo Saraiva
cadd1520ee Update pt-PT.json5
Minor updates and addition missing translation strings.
2025-03-25 15:52:37 +00:00
Nicolas Boulay
0976147d07 Replaced the call findItemAccessStatusFor for a resolveLink 2025-03-25 10:55:55 -04:00
Nicolas Boulay
fe3ae0e8b4 Add an input to show/hide the badge on file component 2025-03-25 10:55:55 -04:00
Nicolas Boulay
2c6754a647 Improve the description of the bitsream showAccessStatuses configuration 2025-03-25 10:55:55 -04:00
Nicolas Boulay
96b596491e Add unit tests for the badge on bitstreams 2025-03-25 10:55:55 -04:00
Nicolas Boulay
de512610b4 Merge embargo badge with the existing access-status badge 2025-03-25 10:55:55 -04:00
Nicolas Boulay
61576e94d0 Insert the bitstream access status badge before the element and increase margins 2025-03-25 10:55:54 -04:00
Nicolas Boulay
d72bc0d1bb Remove findBitstreamAccessStatusFor and replace it with followLink('accessStatus') 2025-03-25 10:55:54 -04:00
Nicolas Boulay
5f83139fcd Adding the new embargo badge on the file download component
Fixed lint no-trailing-spaces
2025-03-25 10:55:21 -04:00
jeffmorin
5b7d246f68 CSV export for Filtered Items content report (#4071)
* CSV export for Filtered Items content report

* Fixed lint errors

* Fixed lint errors

* Fixed lint errors

* Make variables for CSV export null-proof

* Attempt to fix unit tests

* Fixed styling errors

* Fixed script references in unit tests

* Fixed typo in script name

* Fixed test parameterization

* Parameterization attempt

* Parameterization test

* Parameterization rollback

* Fixed predicate encoding bug

* Parameterization test

* Fixed styling error

* Fixed query predicate parameter

* Fixed collection parameterization

* Centralized string representation of a predicate

* Fixed parameterization

* Fixed second export test

* Replaced null payload by an empty non-null one

* Requested changes

* Fixed remaining bugs

* Updated Angular control flow syntax

* Improved collection parameter handling

* Fixed styling error

* Updated config.yml to match the central dspace-angular repo

* Removed repeated content

* Cleaned up a now useless import

* Fixed collections loading and added warning message about CSV export

* Fixed styling error

* Forgot to clean up old code

---------

Co-authored-by: Jean-François Morin <jean-francois.morin@bibl.ulaval.ca>
2025-03-25 09:49:46 -05:00
Art Lowel
93fff41b8d Merge remote-tracking branch 'upstream/main' into accessibility-settings-main 2025-03-25 10:11:08 +01:00
Tim Donohue
fd59ca8053 Merge pull request #4017 from 4Science/task/main/CST-18016
OpenAlex Integration
2025-03-24 17:05:28 -05:00
Vincenzo Mecca
e4e5255a46 [CST-18964] Fixes spec failure 2025-03-24 21:26:10 +01:00
Vincenzo Mecca
6bd4f04174 [CST-18964] PR review 2025-03-24 19:16:50 +01:00
dependabot[bot]
6c11621d91 Bump isbot from 5.1.22 to 5.1.25
Bumps [isbot](https://github.com/omrilotan/isbot) from 5.1.22 to 5.1.25.
- [Changelog](https://github.com/omrilotan/isbot/blob/main/CHANGELOG.md)
- [Commits](https://github.com/omrilotan/isbot/compare/v5.1.22...v5.1.25)

---
updated-dependencies:
- dependency-name: isbot
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 02:47:30 +00:00
dependabot[bot]
4039198a4a Bump isbot from 5.1.23 to 5.1.25
Bumps [isbot](https://github.com/omrilotan/isbot) from 5.1.23 to 5.1.25.
- [Changelog](https://github.com/omrilotan/isbot/blob/main/CHANGELOG.md)
- [Commits](https://github.com/omrilotan/isbot/compare/v5.1.23...v5.1.25)

---
updated-dependencies:
- dependency-name: isbot
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 02:18:30 +00:00
Vincenzo Mecca
1316540765 [CST-15074] Fixes cyclic dependency issue 2025-03-23 22:33:27 +01:00
Vincenzo Mecca
c1b951b18c Merge remote-tracking branch 'github/main' into task/main/CST-15074
# Conflicts:
#	src/assets/i18n/en.json5
2025-03-23 15:44:38 +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
99c5506d7d 119602: Move to control-flow syntax 2025-03-21 13:57:50 +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