Mark H. Wood
63883e4123
[DS-2058] WIP: new test for workflow curation.
2021-05-26 09:53:16 -04:00
Mykhaylo
2a66d68a1a
added READ permission
2021-05-26 00:07:19 +02:00
Mykhaylo
64a3cc4276
Merge branch 'main' into CST-4122-ExposewWithdrawnItemsToAnonymousUsersFilteringOutTheMetadata
2021-05-25 17:45:34 +02:00
Mykhaylo
ceab663828
refactored tests
2021-05-25 16:55:35 +02:00
Mykhaylo
f549e74917
added new DSpaceRestPermission value STATUS to manage withdrawn items
2021-05-25 16:53:44 +02:00
Samuel
a1906e83b3
DS-3230 Browse by author broken if author name has special character - repair broken tests
2021-05-20 15:52:02 +02:00
Samuel
a47f8d9476
DS-3230 Browse by author broken if author name has special character - fix
2021-05-20 13:01:55 +02:00
Samuel
8795a568e6
DS-3230 Browse by author broken if author name has special character - add tests
2021-05-20 13:01:43 +02:00
Bruno Roemers
01f0eb8c74
79369: Revert to 404
...
Are the 401 and 403 with non-admin tokens expected?
2021-05-18 19:20:23 +02:00
Bruno Roemers
a44894b733
79369: Fix test that failed because commit a105b4a7e5
...
It seems that the original behavior of BundleServiceImpl#delete was buggy,
because the bitstreams were being deleted despite the ORIGINAL bundle of
the item still holding a reference to it.
2021-05-18 19:02:41 +02:00
Bruno Roemers
8bee98dc97
79369: Add deleteOneArchivedTestAsOtherCollectionAdmin
...
Also fixed a typo that was present in the upstream code.
TODO: check if the resulting status change is expected.
2021-05-17 17:26:27 +02:00
Bruno Roemers
b349c303f8
79369: Fix RelationshipDeleteRestRepositoryIT
...
Also added two new tests to check the abilities of collection admins.
2021-05-17 16:41:27 +02:00
Michael Spalti
0fad27535a
Merge branch 'main' into iiif-endpoint
2021-05-16 16:33:15 -07:00
Michael Spalti
77bed7571c
Added trackPages parameter to solr query that was introduced in solr-ocrhighlighing v 0.6.0.
...
This version was released 5 days ago and is not yet available via Maven.
2021-05-16 10:28:15 -07:00
Tim Donohue
d6b66dbaaa
Enable server.forward-headers-strategy by default and move to application.properties
2021-05-13 14:27:18 -05:00
Tim Donohue
3c1b90d603
Merge pull request #3266 from 4Science/CST-4123-RespondWith401InSteadThan403toInvalidOrExpiredJWT
...
If logged in through multiple devices, a logout results should result in a 401 on other devices.
2021-05-13 10:28:03 -05:00
Andrea Bollini
28ffbea276
Merge pull request #3268 from tdonohue/small_fix_to_hal_browser_login
...
HAL Browser fix: Ensure we check for CSRF changes after login failure.
2021-05-13 15:14:22 +02:00
Mykhaylo
92c22926ca
Merge branch 'main' into CST-4123-RespondWith401InSteadThan403toInvalidOrExpiredJWT
2021-05-13 15:08:55 +02:00
Mykhaylo
46a5bc2cab
fix comments
2021-05-13 12:50:22 +02:00
Bruno Roemers
db17c16dc5
79369: WIP: Test item delete by collection admin
...
issue: the collection admin is not yet able to delete any associated bitstreams.
2021-05-11 18:12:42 +02:00
Bruno Roemers
c375e13f52
79369: Allow collection admins to delete item
2021-05-11 17:21:10 +02:00
Tim Donohue
3a3cdb0f61
Ensure we check for CSRF changes after login failure.
2021-05-10 10:10:51 -05:00
Antoine Snyers
3ad67676c5
Fix LineLength errors
2021-05-07 13:31:11 +02:00
Antoine Snyers
edf4214e44
Filter on standard fields without appending _keyword
...
Related to https://github.com/DSpace/dspace-angular/issues/1115
2021-05-07 11:49:31 +02:00
Antoine Snyers
1719024796
Add test for Private/Withdrawn "equals" filters in Administrative Search
...
Related to https://github.com/DSpace/dspace-angular/issues/1115
2021-05-07 10:57:25 +02:00
Tim Donohue
0b3c52d4ee
Merge pull request #3241 from 4Science/CST-4060-SortOptionsAreNotReportedInTheProperOrder
...
Sort options are not reported in the proper order
2021-05-05 10:46:31 -05:00
Michael Spalti
e226ba954b
Correction to annotationlist generator.
2021-05-04 19:30:31 -07:00
Michael Spalti
62a815b92b
Changed incorrect inheritance.
2021-05-04 16:48:52 -07:00
Tim Donohue
78a3b4bf7f
Merge pull request #3252 from 4Science/CST-4088-EmbeddedListsDontHavePaginationOptionsInTheirSelfLink
...
Embedded lists don't have pagination options in their self link
2021-05-04 16:03:29 -05:00
Michael Spalti
4658b97ede
Merge branch 'main' into iiif-endpoint
2021-05-04 10:15:11 -07:00
Mykhaylo
d99fb55df1
user that is not admin can not see metadata of withdrawn items
2021-05-04 19:01:13 +02:00
Tim Donohue
cd79605290
Merge pull request #3240 from 4Science/CST-4059-featuresForTheEditItemPage
...
Features endpoint - features for the edit item page
2021-05-04 09:24:08 -05:00
Mykhaylo
0f38a8d0c8
added implementation that allows to see withdrawn items to anonynous groups
2021-05-04 11:36:11 +02:00
Mykhaylo
c1710cd95d
added tests for withdrawn item
2021-05-04 11:32:47 +02:00
Mykhaylo
fc066d9c13
fix tests
2021-05-03 11:56:15 +02:00
Mykhaylo
011eed4072
respond with 401 instead than 403 to invalid or expired JWT tokens
2021-05-03 10:43:54 +02:00
Mykhaylo
5a0e068094
removed duplicate value from sortFields list in personOrOrgunit bean and fix test
2021-04-29 17:05:37 +02:00
Tim Donohue
db0297d5c4
Make ITs model exact behavior of UI/Hal Browser. This pointed out a flaw in codebase logic which is fixed in this commit.
2021-04-27 12:00:39 -05:00
Mykhaylo
7c7a6e26cb
fix test
2021-04-27 12:43:16 +02:00
Mykhaylo
ba8ada13e3
fixed self link of embedded pagination
2021-04-26 17:35:08 +02:00
Mykhaylo
cb2012caf1
added test to verify that embedded lists have pagination options in their self-link
2021-04-26 17:31:09 +02:00
Tim Donohue
ea7df3b3a6
Test fix. Verify Authorization Cookie cleared after one usage.
2021-04-23 17:04:37 -05:00
Tim Donohue
f93d1ec004
Refactor HAL Browser login logic to work more like Angular UI & also ensure there's always at least one GET so that CSRF works properly
2021-04-23 15:21:33 -05:00
Tim Donohue
e5c7e0029c
Minor code refactoring. Ensure auth cookie invalidation resets CSRF token & that it happens immediately on first usage of cookie
2021-04-23 15:16:44 -05:00
Tim Donohue
015e4ff609
Fix bug and add a ton of code comments to better describe how Shibboleth auth works
2021-04-21 14:27:41 -05:00
Tim Donohue
11d32b4953
Enhance Shibboleth tests to be more accurate. Add (failing) tests to prove that CSRF Token is NOT being reset after Auth via Cookie
2021-04-21 14:10:16 -05:00
Mykhaylo
d4493b24d0
minor fix
2021-04-20 11:33:11 +02:00
Mykhaylo
4acdc4fb9f
implemented canManageMappingsFeature/canManageRelationshipsFeature and tests
2021-04-20 10:11:33 +02:00
Mykhaylo
3d16fca646
added tests for CanManageBitstreamBundlesFeature
2021-04-19 15:21:50 +02:00
Michael Spalti
e4a828a39c
Trial implementation of manifest caching.
...
Fixed style errors.
2021-04-17 15:05:42 -07:00