Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock/download preview #389

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1602 commits
Select commit Hold shift + click to select a range
6cdcfb5
Merge pull request #8626 from 4Science/CST-7604
tdonohue Jan 11, 2023
3756b19
98433: Refactoring SingleUserReviewAction & general refactoring in Ac…
MarieVerdonck Jan 12, 2023
a24d383
98433: IT fixes now that access rights are now moved to selected revi…
MarieVerdonck Jan 12, 2023
d0c507d
98433: Refactoring SingleUserReviewAction & general refactoring in Ac…
MarieVerdonck Jan 12, 2023
282d474
Merge branch 'main' into issue-815-controlled-vocabulary-hierarchical…
jensvannerum Jan 12, 2023
96ee82a
[CST-7756] removed unused param
Micheleboychuk Jan 12, 2023
bccd39b
Merge branch 'main' into CST-7756-SubscriptionFeature
Micheleboychuk Jan 12, 2023
3579026
98462: Use discovery configurations in browse
YanaDePauw Jan 12, 2023
902141d
Merge tag 'dspace-7.4' into w2p-98462_Use-discovery-config-in-browse-7.4
YanaDePauw Jan 12, 2023
a29b703
Merge remote-tracking branch 'upstream/main' into w2p-98462_Use-disco…
YanaDePauw Jan 12, 2023
a9c5a2c
[DURACOM-113] add jfif extension on bitstream formats
francescopioscognamiglio Jan 12, 2023
d181209
98462: Refactor change and add admin tests
YanaDePauw Jan 12, 2023
d53d305
Merge branch 'w2p-98462_Use-discovery-config-in-browse-7.2' into w2p-…
YanaDePauw Jan 12, 2023
4e9a6f0
Merge pull request #8631 from 4Science/DURACOM-113
tdonohue Jan 12, 2023
237cad1
Merge pull request #8625 from atmire/Add-Range-CORS-header
tdonohue Jan 12, 2023
98425b8
Merge branch 'main' into issue-815-controlled-vocabulary-hierarchical…
jensvannerum Jan 13, 2023
ce9f4ca
Merge remote-tracking branch 'upstream/main' into issue-1712_w2p-9708…
nona-luypaert Jan 13, 2023
f83c82e
97538: The search rest method should be public
Jan 13, 2023
b7626dd
97538: Alter IT for public vocabulary search method
Jan 13, 2023
4cd3c3a
Merge pull request #8319 from mwoodiupui/8304
tdonohue Jan 13, 2023
9d7e9ee
Merge branch 'main' into issue-815-controlled-vocabulary-hierarchical…
jensvannerum Jan 16, 2023
9534b78
97183 Tests for findItemsWithEdit and countItemsWithEdit methods of I…
Jan 17, 2023
3ac5d56
Merge pull request #8600 from atmire/issue-815-controlled-vocabulary-…
tdonohue Jan 18, 2023
702ce81
Merge branch 'main' into CST-7756-SubscriptionFeature
Micheleboychuk Jan 19, 2023
2c155cb
97080: #8613 - Doc for the prefix solr field
MarieVerdonck Jan 19, 2023
465a15f
Merge branch 'issue-1712_w2p-97080_facet-search-all-words-7.2' into i…
MarieVerdonck Jan 20, 2023
e0e587c
Merge branch 'main' into issue-1712_w2p-97080_facet-search-all-words-…
MarieVerdonck Jan 20, 2023
1f06e29
Implemented community feedbacks
Micheleboychuk Jan 20, 2023
536e8cb
Merge pull request #8613 from atmire/issue-1712_w2p-97080_facet-searc…
tdonohue Jan 20, 2023
51424cb
97425: Fix issue with sessions null value
YanaDePauw Jan 23, 2023
f1af02c
97061: type request param name change to avoid confusion with rest ob…
MarieVerdonck Jan 25, 2023
5a2f2ed
Merge branch 'w2p-97298_issue-3281_self-register-issue-7.2' into w2p-…
MarieVerdonck Jan 25, 2023
f4ca595
[CST-7756] refactoring & added missing JavaDoc
Micheleboychuk Jan 25, 2023
08259ec
[CST-7756] removed unused service bean
Micheleboychuk Jan 26, 2023
0867a05
[CST-7756] minor refactoring according to the rest contract
Micheleboychuk Jan 26, 2023
871bac5
PR #8619: Removed dependency spring-context-support, not needed in main
MarieVerdonck Jan 26, 2023
600a194
[CST-7756] fixed failed tests
Micheleboychuk Jan 26, 2023
9ff712c
Merge branch 'main' into CST-7756-SubscriptionFeature
Micheleboychuk Jan 26, 2023
20231fd
[CST-7756] refactoring
Micheleboychuk Jan 26, 2023
d3c5e7d
[CST-7756] added tests to valid subscription parameters
Micheleboychuk Jan 27, 2023
c59438b
[CST-7756] added validation logic of params
Micheleboychuk Jan 27, 2023
f5c1690
[CST-7756] renamed some methods & class
Micheleboychuk Jan 27, 2023
cb4fd99
[CST-7756] minor fix
Micheleboychuk Jan 27, 2023
1593e1a
[CST-7756] refactored CanSubscribeFeatureIT
Micheleboychuk Jan 30, 2023
9354244
Merge pull request #8578 from tdonohue/update_bcel
tdonohue Jan 30, 2023
8b739d4
Merge pull request #8642 from atmire/w2p-98462_Use-discovery-config-i…
tdonohue Jan 30, 2023
659382f
97425: Implement feedback
YanaDePauw Jan 31, 2023
d470c75
Merge remote-tracking branch 'upstream/main' into w2p-97425_System-wi…
YanaDePauw Jan 31, 2023
0944f59
[CST-7756] minor update
Micheleboychuk Feb 1, 2023
7a807f6
[CST-7756] added missing index field
Micheleboychuk Feb 1, 2023
de44d9d
[CST-7756] added template for subscription content email
Micheleboychuk Feb 1, 2023
da28157
[CST-7754] removed old code of supervision orders
Feb 1, 2023
6a02994
[CST-7756] refactoring
Micheleboychuk Feb 1, 2023
22ebb04
Merge branch 'main' into CST-7756-SubscriptionFeature
Micheleboychuk Feb 1, 2023
7197767
Merge remote-tracking branch 'origin/main' into CST-7754
Feb 1, 2023
7267e15
Remove statusFilter added to Solr browse indexes queries to solve an …
toniprieto Feb 1, 2023
de7d173
[CST-7756] monor fix
Micheleboychuk Feb 2, 2023
0d872b5
[CST-7756] added unit tests covering methods with business logic
Feb 2, 2023
f0acbb9
[CST-7756] sub-daily command and its referred class removed, as subsc…
Feb 2, 2023
6069e32
[CST-7756] updated license header
Feb 2, 2023
8077139
97425: Fix minor issues
YanaDePauw Feb 2, 2023
8f1ba7b
Merge pull request #8607 from atmire/w2p-97183_fix-user-authorization…
tdonohue Feb 2, 2023
b4f7ebf
[CST-7756] added instructions to migrate subscriptions from previous …
Feb 2, 2023
83649f6
Merge branch 'main' into CST-7756-SubscriptionFeature
Feb 2, 2023
0edaba6
[CST-7756] after merge checkstyle fix
Feb 2, 2023
d3c79bd
[CST-7756] extended abstract test
Feb 2, 2023
edcb771
[CST-7756] updated script
Feb 2, 2023
54f6ba9
99053: Add return_to_pool option to all ProcessingAction except Singl…
alexandrevryghem Feb 2, 2023
98ee5cb
Reinstate config accidentally deleted, added in 30f923a080aa0d927036e…
MarieVerdonck Feb 2, 2023
00b5392
[CST-7756] removed subscriptions for items
Micheleboychuk Feb 2, 2023
80a7119
[CST-7756] minor fix
Micheleboychuk Feb 2, 2023
611be00
[CST-7756] extended SubscribeServiceTest in order to use service inst…
Feb 2, 2023
c297e49
Merge remote-tracking branch 'origin/CST-7756-SubscriptionFeature' in…
Feb 2, 2023
4fd8eee
[CST-7756] added missing JavaDoc
Micheleboychuk Feb 3, 2023
669442e
[CST-7756] code refactoring
Feb 3, 2023
dca79c1
[CST-7756] renamed test class in order to reflect its actual behavior
Feb 3, 2023
ad6d514
[CST-7756] removed mail template used by previous script
Feb 3, 2023
2c2c037
[CST-7756] code refactoring
Feb 3, 2023
a26790f
[CST-7756] removed Items section
Feb 3, 2023
9fe1953
[CST-7756] added missing IT
Micheleboychuk Feb 3, 2023
9558330
[CST-7754] updated javadoc
Feb 3, 2023
920b36e
[CST-7754] updated comment
Feb 3, 2023
744748a
[CST-7754] withdrawn item should not allow supervision order
Feb 3, 2023
a1550f3
[CST-7754] moved supervision orders test on workflow items to Supervi…
Feb 3, 2023
fc548e6
Merge branch 'main' into CST-7754
Feb 3, 2023
3fe4fd1
[TLC-380] Browse links and "by regex" links in item display
kshepherd Nov 16, 2022
14b5f0e
[TLC-380] Fix checkstyle and duplicate code
kshepherd Nov 22, 2022
9f67c6a
[TLC-380] Further checkstyle fixes
kshepherd Nov 22, 2022
1353858
[TLC-380] Further checkstyle fixes
kshepherd Nov 22, 2022
d85de89
[TLC-380] Refactor browses endpoint for browse link usage
kshepherd Jan 25, 2023
1c2a153
[TLC-249] Improve 'findByFields' browse refactor
kshepherd Jan 26, 2023
18609c0
[TLC-380] Fix browse resource byFields IT
kshepherd Jan 26, 2023
56ed4aa
[TLC-380] Remove unused methods, add ITs
kshepherd Feb 6, 2023
450956d
#8629: Make sure temporary worfklow groups of reviewers get deleted
MarieVerdonck Feb 3, 2023
07bc6d3
#8629: PR feedback refactor
MarieVerdonck Feb 3, 2023
da53eba
Merge branch 'w2p-97414_advanced_workflow_actions-7.2' into w2p-97414…
MarieVerdonck Feb 6, 2023
b4db57f
[CST-7756] implemented community feedbacks
Micheleboychuk Feb 7, 2023
8e7cf16
[CST-7756] added test that proves what happens if an object is access…
Micheleboychuk Feb 7, 2023
951c755
[CST-7756] renamed a method
Micheleboychuk Feb 7, 2023
4ff1194
[CST-7756] updated subscriptions migration scripts
Micheleboychuk Feb 7, 2023
9286a69
[CST-7756] removed 'lastModified_dt' index field
Micheleboychuk Feb 7, 2023
f696712
[CST-7756] minor refactoring
Micheleboychuk Feb 7, 2023
3584633
[CST-7756] added email subject
Feb 7, 2023
31bd28e
[CST-7756] added dissemination for generic DSpace Item
Feb 7, 2023
6190e33
[CST-7756] If no crosswalk is defined for the Item's entity type, def…
Feb 7, 2023
b403a01
Merge pull request #8589 from the-library-code/TLC-380_browse_link_co…
tdonohue Feb 7, 2023
9aefeeb
IT fix: ReviewManagers repository wide group, not collection workflow…
MarieVerdonck Feb 7, 2023
1e76abd
Merge branch 'w2p-97414_advanced_workflow_actions-7.2' into w2p-97414…
MarieVerdonck Feb 7, 2023
2516460
Test IT without drop constraint
MarieVerdonck Feb 6, 2023
e1fd7e2
Merge branch 'w2p-97414_advanced_workflow_actions-7.2' into w2p-97414…
MarieVerdonck Feb 7, 2023
9b0c592
Merge pull request #8653 from toniprieto/remove-status-filter
tdonohue Feb 7, 2023
ae919d6
[CST-7756] restores security check as was originaly
Micheleboychuk Feb 8, 2023
a00295a
[CST-7756] described beans
Micheleboychuk Feb 8, 2023
f5dc078
Merge branch 'main' into CST-7756-SubscriptionFeature
Feb 8, 2023
1c4a27b
Merge pull request #8619 from atmire/w2p-97298_issue-3281_self-regist…
tdonohue Feb 8, 2023
cef47de
#8628: Remove GET shortlivedtokens endpoint & related IT
MarieVerdonck Feb 8, 2023
e7f2172
Merge pull request #8628 from atmire/w2p-94479_issue-1809_restricted-…
tdonohue Feb 8, 2023
c93e6e4
[TLC-249] Show Identifier Step, pre-register identifiers
kshepherd Dec 14, 2021
ef6af28
[TLC-249] Remove unused import in WorkspaceItemServiceImpl
kshepherd Jul 26, 2022
8fcda7f
[TLC-249] Update section count test in SubmissionDefinitionsControllerIT
kshepherd Jul 26, 2022
20aeedf
[TLC-249] Refactor to support better filter usage, PENDING and MINTED…
kshepherd Aug 15, 2022
dcdbad7
[TLC-249] Add and expose config for enabling register DOI
kshepherd Aug 25, 2022
73406b7
[TLC-249] REST backend for identifier config
kshepherd Aug 25, 2022
3373cf3
[TLC-249] Better status return for new DOIs, write new integration tests
kshepherd Aug 31, 2022
4140470
[TLC-249] Integration tests, keep GET handling in controller
kshepherd Aug 31, 2022
12dba51
[TLC-249] Move GET handling back to ItemIdentifierController
kshepherd Sep 7, 2022
7926021
[TLC-249] Checkstyle fixes
kshepherd Sep 15, 2022
abf65cd
[TLC-249] Licence header fixes
kshepherd Sep 15, 2022
43c2b20
[TLC-249] Further checkstyle fixes
kshepherd Sep 15, 2022
03fb419
[TLC-249] Fix tests, Refactor things to use a LinkRestRepository for …
kshepherd Oct 19, 2022
9a95627
[TLC-249] Further IT fix for identifiers
kshepherd Oct 30, 2022
6595253
[TLC-249] Licence header fix
kshepherd Oct 30, 2022
e82ff5e
[TLC-249] Address review feedback
kshepherd Jan 19, 2023
6737a21
[TLC-249] Lint fixes
kshepherd Jan 19, 2023
d376f45
[TLC-249] Improve model for identifier step data
kshepherd Jan 25, 2023
9c7729e
[TLC-249] Update configuration identifiers.cfg
kshepherd Jan 25, 2023
dbcd1b9
[TLC-249] Remove unused subclass DataIdentifier
kshepherd Jan 25, 2023
94f7be0
[TLC-249] Update identifier section IT
kshepherd Jan 25, 2023
7dafb1e
[TLC-249] Update integration tests for identifier controller
kshepherd Jan 26, 2023
243df36
[TLC-249] Fix submission controller IT
kshepherd Jan 26, 2023
0f77f1d
[TLC-249] Update canRegisterDOIFeature to check for cfg enabled
kshepherd Jan 31, 2023
f9ffceb
[TLC-249] Refactor identifiers create endpoint
kshepherd Feb 1, 2023
074233c
[TLC-249] Refactor, include controller 'find DSO' operation
kshepherd Feb 6, 2023
c2f0159
[TLC-249] Throw not implemented for findOne and findAll
kshepherd Feb 6, 2023
b732764
[TLC-249] Fixes and improvements as per review feedback
kshepherd Feb 6, 2023
18ea2f8
[TLC-249] Checkstyle fix
kshepherd Feb 6, 2023
b13f361
[TLC-249] return value as id for IdentifierRest
kshepherd Feb 6, 2023
e63727e
[TLC-249] Fix category type in IdentifierRest
kshepherd Feb 7, 2023
4997954
[TLC-249] Update integration tests for IdentifierRestRepository
kshepherd Feb 7, 2023
dd0a7d7
[TLC-249] Refactor TrueFilter to get instantiated as singleton
kshepherd Feb 7, 2023
cb3c9b1
[TLC-249] Construct canonical handle URL in identifier item link
kshepherd Feb 8, 2023
94cb0c7
[TL-249] Remove example-doi_filter from config, add singleton attr to…
kshepherd Feb 8, 2023
d0c2020
[TL-249] Add always_true_filter to test REST identifier-service.xml c…
kshepherd Feb 8, 2023
b156bad
[TL-249] Add identifiers.cfg and item-filters.xml config to test data
kshepherd Feb 8, 2023
7efb70a
[TL-249] Fix imports
kshepherd Feb 8, 2023
2b957e2
[TL-249] Revert accidental commit to RestResourceController
kshepherd Feb 8, 2023
555363e
[TL-249] Javadoc and other small fixes, DOI unit tests
kshepherd Feb 8, 2023
c4af5f2
[TL-249] Javadoc and other small fixes
kshepherd Feb 8, 2023
943bdb1
[TL-249] Checkstyle fix
kshepherd Feb 8, 2023
9a9dff4
Merge branch 'main' into CST-7756-SubscriptionFeature
Micheleboychuk Feb 9, 2023
c2845e9
99200: Delete items after copies have been requested fix
Feb 9, 2023
27f75e9
[CST-7756] added security check into 'subscription-send' script
Micheleboychuk Feb 9, 2023
0bafbb6
Alternate way to restart workflow in case of decline
MarieVerdonck Feb 9, 2023
d8f5ae9
Fix for decline when the delete doesn't persist in context before wfi…
MarieVerdonck Feb 9, 2023
93f328b
Merge branch 'w2p-97414_advanced_workflow_actions-7.2' into w2p-97414…
MarieVerdonck Feb 9, 2023
2331db3
[CST-7754] supervising user can perform operations on Workspace item …
Feb 9, 2023
1fcbd66
[DURACOM-116] process sorted alphabetically
Jan 10, 2023
5940500
[TLC-249] Test abandoning of a pending DOI and minting afterwards
pnbecker Feb 9, 2023
94c5450
[TLC-249] Ensure property identifiers.item-status.register-doi is set
pnbecker Feb 9, 2023
ec514b5
Merge pull request #8624 from atmire/w2p-97425_System-wide-alerts
tdonohue Feb 9, 2023
86d7902
Added missing commit in cleanup method
amgciadev Feb 10, 2023
5c1dbb0
Merge branch 'main' into CST-7756-SubscriptionFeature
Micheleboychuk Feb 10, 2023
b76df48
Merge branch 'main' into CST-7754
Feb 10, 2023
1a4e203
Merge pull request #8423 from the-library-code/TLC-249_identifiers_su…
tdonohue Feb 10, 2023
e170079
Merge branch 'main' into CST-7754
Feb 10, 2023
f1a43cd
Merge branch 'main' into fix-8649
amgciadev Feb 10, 2023
2208a6b
Update BitstreamStorageServiceImpl.java
amgciadev Feb 10, 2023
dd6b03b
Merge branch 'main' into CST-7756-SubscriptionFeature
Micheleboychuk Feb 10, 2023
cc15378
Merge pull request #8664 from amgciadev/fix-8649
tdonohue Feb 10, 2023
f788daa
Merge branch 'main' into w2p-97414_advanced_workflow_actions-main
MarieVerdonck Feb 10, 2023
3726210
Merge pull request #8629 from atmire/w2p-97414_advanced_workflow_acti…
tdonohue Feb 10, 2023
c34c14f
Merge branch 'main' into CST-7756-SubscriptionFeature
Micheleboychuk Feb 10, 2023
3b1d930
[CST-7756] Non-Discoverable and withdrawn items must be excluded from…
Micheleboychuk Feb 13, 2023
a374037
[DURACOM-116] moved sorting to service
Feb 13, 2023
bcdf493
Merge pull request #8620 from 4Science/CST-7756-SubscriptionFeature
tdonohue Feb 13, 2023
c729fc3
Merge branch 'main' into CST-7754
Feb 13, 2023
58a010d
Merge branch 'main' into CST-7754
Feb 13, 2023
9c5a197
Merge pull request #8663 from 4Science/DURACOM-116
tdonohue Feb 13, 2023
a8a886b
removed the log info
Raf-atmire Feb 14, 2023
9bf9ba0
Merge branch 'main' into w2p-99200_request-copy-bugfix
jensvannerum Feb 14, 2023
0be1464
Merge pull request #8621 from 4Science/CST-7754
tdonohue Feb 14, 2023
dbbec3c
Merge pull request #8660 from atmire/w2p-99200_request-copy-bugfix
tdonohue Feb 14, 2023
9e8276d
CST-8936 fix permission for bitstream generated by media-filter
abollini Feb 15, 2023
b2d64c5
Merge pull request #8669 from 4Science/CST-8936
tdonohue Feb 15, 2023
055e5a3
Updates to LICENSES_THIRD_PARTY for 7.5
tdonohue Feb 17, 2023
654520e
[maven-release-plugin] prepare release dspace-7.5
tdonohue Feb 17, 2023
338ebb6
Fixed merge conflicts
milanmajchrak May 4, 2023
eb00c7f
Fixed some compile errors
milanmajchrak May 4, 2023
5a2a46b
Fixed some compile errors
milanmajchrak May 4, 2023
8c7e905
Fixed some compile errors
milanmajchrak May 4, 2023
1d82030
Fixed errors which causes tomcat starting errors
milanmajchrak May 5, 2023
fcc12c8
Ignored failing test
milanmajchrak May 12, 2023
dc0ac8b
Fixed MetadataExportSearchIT - the dateIssued search filter was comme…
milanmajchrak May 16, 2023
501a381
Added a new action which push test image for FE integration tests.
milanmajchrak May 22, 2023
f90a837
Updated creating of the docker
milanmajchrak May 22, 2023
6961791
changed to proper dependency
MajoBerger Jun 5, 2023
b20bb71
Updated cfg, fixed error because rest.properties.exposed was defined …
milanmajchrak Jun 6, 2023
e644489
Merge remote-tracking branch 'origin/migrate-to-7.5' into migrate-to-7.5
milanmajchrak Jun 6, 2023
beed2be
fixed cfg for tests
MajoBerger Jun 7, 2023
988eecf
Copied fixes for the PRs: 277, 279, 281, 273, 284, 286, 296, 300, 308
milanmajchrak Jun 8, 2023
d095df7
Push docker only to migrate-to-7.5 and not to dtq-dev-7.5
milanmajchrak Jun 9, 2023
38176aa
Update migrate-docker.yml
milanmajchrak Jun 9, 2023
b30a7a9
Updated IT test for Shibboleth auth
milanmajchrak Jun 9, 2023
d3f7d5b
Copied ClarinLicenseImportRestController from another branch
milanmajchrak Jun 13, 2023
2753218
Shibboleth autologin error solved - new header must be added into All…
milanmajchrak Jun 16, 2023
3f121dd
Fixed checkstyle issues.
milanmajchrak Jun 16, 2023
41d5a1a
Internal/fix integration tests 75 (#311)
MajoBerger Jun 22, 2023
f2ce601
enable different endpoint to S3 bitstorage (#338)
MajoBerger Jun 22, 2023
8d8366d
Migrate to 7.5 (#274)
milanmajchrak Jun 23, 2023
3a038ba
Copied fix from 303
milanmajchrak Jun 23, 2023
e5ad3d0
Copied fix from 302, 319, 314
milanmajchrak Jun 23, 2023
1922e6f
Copied fix from 331
milanmajchrak Jun 23, 2023
2ed4f61
Copied fix from 295
milanmajchrak Jun 23, 2023
588576b
Copied fix from 337, 339
milanmajchrak Jun 23, 2023
fa89798
Removed ClarinLicenseImportRestController.java according to 273
milanmajchrak Jun 23, 2023
d252d09
Merge branch 'dtq-dev' into dtq-dev-7.5
milanmajchrak Jun 23, 2023
4e8c316
Eperson.hasPasswordSet was missing and one checkstyle violation as oc…
milanmajchrak Jun 23, 2023
bd0fbbd
Docker image should be generated.
milanmajchrak Jun 23, 2023
e3afb2b
Full BE customization for TUL (#329)
milanmajchrak Jun 23, 2023
84cfd3d
Temp file
milanmajchrak Jun 23, 2023
644d182
Merge branch 'dtq-dev-7.5' into migrate-to-7.5
milanmajchrak Jun 23, 2023
39667be
Migrate to 7.5 (#343)
milanmajchrak Jun 23, 2023
5d34fe7
Merge remote-tracking branch 'origin/dtq-dev-7.5' into dtq-dev-7.5
milanmajchrak Jun 23, 2023
66c40a4
Removed unused class
milanmajchrak Jun 23, 2023
190d19f
Updated docker.yml
milanmajchrak Jun 23, 2023
d972002
Updated cfg (#348)
milanmajchrak Jun 27, 2023
cd1218e
Fixed from port 4000 to 8080 (#350)
milanmajchrak Jun 29, 2023
0434f97
add redeploy to dev-5 -> curl call to deploy action
MajoBerger Jun 30, 2023
93d25bc
add redeploy to dev-5 -> curl call to deploy action
MajoBerger Jun 30, 2023
07321ea
correct redeploy branch in github action
MajoBerger Jun 30, 2023
b4c05e8
Removed duplicate definition of the property (#353)
milanmajchrak Jul 3, 2023
43242ae
Merge branch 'dtq-dev' into dtq-dev-7.5
milanmajchrak Jul 3, 2023
db9bde0
internal/shibboleth-missing-one-error-page
milanmajchrak Jul 3, 2023
3b415ae
migrated-7.5/oai-is-not-working (#355)
milanmajchrak Jul 4, 2023
90f6e82
Merge branch 'customer/TUL' into dtq-dev-7.5
milanmajchrak Jul 6, 2023
6156b1e
Commented out TUL properties (#359)
milanmajchrak Jul 6, 2023
aafffef
trigger docker images on correct branch
MajoBerger Jul 6, 2023
d025955
internal/fix-discojuice-issues (#371)
milanmajchrak Jul 18, 2023
ab039e5
Merge branch 'dtq-dev' into dtq-dev-7.5
milanmajchrak Aug 4, 2023
635d74a
Ufal 325/be preview files from zip (#388)
milanmajchrak Aug 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
17 changes: 7 additions & 10 deletions .github/disabled-workflows/issue_opened.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,22 @@ on:
issues:
types: [opened]

permissions: {}
jobs:
automation:
runs-on: ubuntu-latest
steps:
# Add the new issue to a project board, if it needs triage
# See https://github.com/marketplace/actions/create-project-card-action
- name: Add issue to project board
# See https://github.com/actions/add-to-project
- name: Add issue to triage board
# Only add to project board if issue is flagged as "needs triage" or has no labels
# NOTE: By default we flag new issues as "needs triage" in our issue template
if: (contains(github.event.issue.labels.*.name, 'needs triage') || join(github.event.issue.labels.*.name) == '')
uses: technote-space/create-project-card-action@v1
uses: actions/[email protected]
# Note, the authentication token below is an ORG level Secret.
# It must be created/recreated manually via a personal access token with "public_repo" and "admin:org" permissions
# It must be created/recreated manually via a personal access token with admin:org, project, public_repo permissions
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token#permissions-for-the-github_token
# This is necessary because the "DSpace Backlog" project is an org level project (i.e. not repo specific)
with:
GITHUB_TOKEN: ${{ secrets.ORG_PROJECT_TOKEN }}
PROJECT: DSpace Backlog
COLUMN: Triage
CHECK_ORG_PROJECT: true
# Ignore errors.
continue-on-error: true
github-token: ${{ secrets.TRIAGE_PROJECT_TOKEN }}
project-url: https://github.com/orgs/DSpace/projects/24
27 changes: 19 additions & 8 deletions .github/disabled-workflows/label_merge_conflicts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,32 @@ name: Check for merge conflicts
# NOTE: This means merge conflicts are only checked for when a PR is merged to main.
on:
push:
branches:
- main
branches: [ main ]
# So that the `conflict_label_name` is removed if conflicts are resolved,
# we allow this to run for `pull_request_target` so that github secrets are available.
pull_request_target:
types: [ synchronize ]

permissions: {}

jobs:
triage:
# Ensure this job never runs on forked repos. It's only executed for 'dspace/dspace'
if: github.repository == 'dspace/dspace'
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
# See: https://github.com/mschilde/auto-label-merge-conflicts/
# See: https://github.com/prince-chrismc/label-merge-conflicts-action
- name: Auto-label PRs with merge conflicts
uses: mschilde/auto-label-merge-conflicts@v2.0
uses: prince-chrismc/label-merge-conflicts-action@v2
# Add "merge conflict" label if a merge conflict is detected. Remove it when resolved.
# Note, the authentication token is created automatically
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token
with:
CONFLICT_LABEL_NAME: 'merge conflict'
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Ignore errors
continue-on-error: true
conflict_label_name: 'merge conflict'
github_token: ${{ secrets.GITHUB_TOKEN }}
conflict_comment: |
Hi @${author},
Conflicts have been detected against the base branch.
Please [resolve these conflicts](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/addressing-merge-conflicts/about-merge-conflicts) as soon as you can. Thanks!
21 changes: 11 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,21 @@
name: Build

# Run this Build for pushes to our main and all PRs
on:
on:
push:
branches:
- dtq-dev
pull_request:

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
tests:
runs-on: ubuntu-latest
env:
# Give Maven 1GB of memory to work with
# Suppress all Maven "downloading" messages in logs (see https://stackoverflow.com/a/35653426)
# This also slightly speeds builds, as there is less logging
MAVEN_OPTS: "-Xmx1024M -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn"
MAVEN_OPTS: "-Xmx1024M"
strategy:
# Create a matrix of two separate configurations for Unit vs Integration Tests
# This will ensure those tasks are run in parallel
Expand Down Expand Up @@ -48,18 +49,18 @@ jobs:
steps:
# https://github.com/actions/checkout
- name: Checkout codebase
uses: actions/checkout@v2
uses: actions/checkout@v3

# https://github.com/actions/setup-java
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'

# https://github.com/actions/cache
- name: Cache Maven dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
# Cache entire ~/.m2/repository
path: ~/.m2/repository
Expand All @@ -71,19 +72,19 @@ jobs:
- name: Run Maven ${{ matrix.type }}
env:
TEST_FLAGS: ${{ matrix.mvnflags }}
run: mvn install -B -V -P-assembly -Pcoverage-report $TEST_FLAGS
run: mvn --no-transfer-progress -V install -P-assembly -Pcoverage-report $TEST_FLAGS

# If previous step failed, save results of tests to downloadable artifact for this job
# (This artifact is downloadable at the bottom of any job's summary page)
- name: Upload Results of ${{ matrix.type }} to Artifact
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.type }} results
path: ${{ matrix.resultsdir }}

# https://github.com/codecov/codecov-action
- name: Upload coverage to Codecov.io
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
59 changes: 59 additions & 0 deletions .github/workflows/codescan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# DSpace CodeQL code scanning configuration for GitHub
# https://docs.github.com/en/code-security/code-scanning
#
# NOTE: Code scanning must be run separate from our default build.yml
# because CodeQL requires a fresh build with all tests *disabled*.
name: "Code Scanning"

# Run this code scan for all pushes / PRs to main branch. Also run once a week.
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Don't run if PR is only updating static documentation
paths-ignore:
- '**/*.md'
- '**/*.txt'
schedule:
- cron: "37 0 * * 1"

jobs:
analyze:
name: Analyze Code
runs-on: ubuntu-latest
# Limit permissions of this GitHub action. Can only write to security-events
permissions:
actions: read
contents: read
security-events: write

steps:
# https://github.com/actions/checkout
- name: Checkout repository
uses: actions/checkout@v3

# https://github.com/actions/setup-java
- name: Install JDK
uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'

# Initializes the CodeQL tools for scanning.
# https://github.com/github/codeql-action
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
# Codescan Javascript as well since a few JS files exist in REST API's interface
languages: java, javascript

# Autobuild attempts to build any compiled languages
# NOTE: Based on testing, this autobuild process works well for DSpace. A custom
# DSpace build w/caching (like in build.yml) was about the same speed as autobuild.
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# Perform GitHub Code Scanning.
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
42 changes: 29 additions & 13 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
pull_request:
workflow_dispatch:

permissions:
contents: read # to fetch code (actions/checkout)

jobs:
docker:
# Ensure this job never runs on forked repos. It's only executed for our repo
Expand All @@ -29,21 +32,30 @@ jobs:
# We turn off 'latest' tag by default.
TAGS_FLAVOR: |
latest=false
# Architectures / Platforms for which we will build Docker images
# If this is a PR, we ONLY build for AMD64. For PRs we only do a sanity check test to ensure Docker builds work.
# If this is NOT a PR (e.g. a tag or merge commit), also build for ARM64. NOTE: The ARM64 build takes MUCH
# longer (around 45mins or so) which is why we only run it when pushing a new Docker image.
PLATFORMS: linux/amd64${{ github.event_name != 'pull_request' && ', linux/arm64' || '' }}

steps:
# https://github.com/actions/checkout
- name: Checkout codebase
uses: actions/checkout@v2
uses: actions/checkout@v3

# https://github.com/docker/setup-buildx-action
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v2

# https://github.com/docker/setup-qemu-action
- name: Set up QEMU emulation to build for multiple architectures
uses: docker/setup-qemu-action@v2

# https://github.com/docker/login-action
- name: Login to DockerHub
# Only login if not a PR, as PRs only trigger a Docker build and not a push
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_ACCESS_TOKEN }}
Expand All @@ -55,7 +67,7 @@ jobs:
# Get Metadata for docker_build_deps step below
- name: Sync metadata (tags, labels) from GitHub to Docker for 'dspace-dependencies' image
id: meta_build_deps
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: dataquest/dspace-dependencies
tags: ${{ env.IMAGE_TAGS }}
Expand All @@ -64,10 +76,11 @@ jobs:
# https://github.com/docker/build-push-action
- name: Build and push 'dspace-dependencies' image
id: docker_build_deps
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile.dependencies
platforms: ${{ env.PLATFORMS }}
# For pull requests, we run the Docker build (to ensure no PR changes break the build),
# but we ONLY do an image push to DockerHub if it's NOT a PR
push: ${{ github.event_name != 'pull_request' }}
Expand All @@ -81,18 +94,19 @@ jobs:
# Get Metadata for docker_build step below
- name: Sync metadata (tags, labels) from GitHub to Docker for 'dspace' image
id: meta_build
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: dataquest/dspace
tags: ${{ env.IMAGE_TAGS }}
flavor: ${{ env.TAGS_FLAVOR }}

- name: Build and push 'dspace' image
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
platforms: ${{ env.PLATFORMS }}
# For pull requests, we run the Docker build (to ensure no PR changes break the build),
# but we ONLY do an image push to DockerHub if it's NOT a PR
push: ${{ github.event_name != 'pull_request' }}
Expand All @@ -106,7 +120,7 @@ jobs:
# Get Metadata for docker_build_test step below
- name: Sync metadata (tags, labels) from GitHub to Docker for 'dspace-test' image
id: meta_build_test
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: dataquest/dspace
tags: ${{ env.IMAGE_TAGS }}
Expand All @@ -117,10 +131,11 @@ jobs:

- name: Build and push 'dspace-test' image
id: docker_build_test
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile.test
platforms: ${{ env.PLATFORMS }}
# For pull requests, we run the Docker build (to ensure no PR changes break the build),
# but we ONLY do an image push to DockerHub if it's NOT a PR
push: ${{ github.event_name != 'pull_request' }}
Expand All @@ -134,25 +149,26 @@ jobs:
# Get Metadata for docker_build_test step below
- name: Sync metadata (tags, labels) from GitHub to Docker for 'dspace-cli' image
id: meta_build_cli
uses: docker/metadata-action@v3
uses: docker/metadata-action@v4
with:
images: dataquest/dspace-cli
tags: ${{ env.IMAGE_TAGS }}
flavor: ${{ env.TAGS_FLAVOR }}

- name: Build and push 'dspace-cli' image
id: docker_build_cli
uses: docker/build-push-action@v2
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile.cli
platforms: ${{ env.PLATFORMS }}
# For pull requests, we run the Docker build (to ensure no PR changes break the build),
# but we ONLY do an image push to DockerHub if it's NOT a PR
push: ${{ github.event_name != 'pull_request' }}
# Use tags / labels provided by 'docker/metadata-action' above
tags: ${{ steps.meta_build_cli.outputs.tags }}
labels: ${{ steps.meta_build_cli.outputs.labels }}

- name: redeploy
if: 'false'
run: |
Expand All @@ -161,4 +177,4 @@ jobs:
--request POST \
https://api.github.com/repos/dataquest-dev/\
dspace-angular/actions/workflows/deploy.yml/dispatches \
--data "{\"ref\":\"refs/heads/dtq-dev\"}"
--data "{\"ref\":\"refs/heads/dtq-dev-7.5\"}"
Loading