Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1059 commits
Select commit Hold shift + click to select a range
5de7748
Merge remote-tracking branch 'community/main' into w2p-72326-Back-lin…
jonas-atmire Sep 30, 2020
24c0753
[Task 72956] fixing tests
Raf-atmire Sep 30, 2020
aa757cf
Redirecting to item edit page on the bitstream tab, instead of the it…
jonas-atmire Sep 30, 2020
e125595
Merge remote-tracking branch 'dspace/main' into w2p-72956_delete-eperson
Raf-atmire Sep 30, 2020
3e191bb
move info module paths to separate file
artlowel Sep 30, 2020
5615390
[Task 72956] fixed EPerson deletion issues with page not refreshing
Raf-atmire Sep 30, 2020
2621454
[Task 72956] fixed LGTM issue
Raf-atmire Sep 30, 2020
b4120f2
Update Codecov settings
tdonohue Sep 30, 2020
6511920
Merge pull request #868 from atmire/google-scholar-fixes
tdonohue Sep 30, 2020
4f16f21
remove remaining uses of /api in the rest namespace
artlowel Sep 30, 2020
098eb29
Merge pull request #878 from atmire/reomve-circular-dependencies-part-2
tdonohue Sep 30, 2020
03bba0f
Merge pull request #877 from atmire/remove-api-from-rest-config
tdonohue Sep 30, 2020
17caa77
[#879] Clarify the use of the production build script, and when confi…
mwoodiupui Sep 30, 2020
ce553e3
Fixing lint error(s)
jonas-atmire Oct 1, 2020
a45bc34
Small doc update
jonas-atmire Oct 1, 2020
be2bfbe
Fixing LGTM - Unused imports
jonas-atmire Oct 1, 2020
fbe6ec6
[Task 72956] applied feedback to the delete eperson error message
Raf-atmire Oct 2, 2020
bb935be
Merge pull request #866 from atmire/Metadata-edit-patch-error-fix
tdonohue Oct 6, 2020
d843230
Add statistics pages - fix link caching issue
samuelcambien Oct 7, 2020
5bf6d0f
Merge pull request #851 from atmire/usage-reports
tdonohue Oct 7, 2020
d9634a8
Merge pull request #874 from atmire/w2p-72956_delete-eperson
tdonohue Oct 8, 2020
6892efc
Merge branch 'main' into fix_com_col_refresh
corrad82-4s Oct 12, 2020
5e21bfa
74053: fix issue #865
Atmire-Kristof Oct 13, 2020
d4bd128
74053: Remove unused imports
Atmire-Kristof Oct 13, 2020
f8afc63
[CSTPER-138] Fixed issue that blocked route change within the import-…
atarix83 Oct 15, 2020
f1256b3
[CSTPER-138] Fixed issue with request pagination while retrieving ext…
atarix83 Oct 15, 2020
ed1e93f
[CSTPER-138] Fixed issue with infinite scroll within the dropdown of …
atarix83 Oct 15, 2020
7599938
[CSTPER-138] Added label for arXiv external providers
atarix83 Oct 15, 2020
988747e
[CSTPER-138] Fixed issue with request pagination while retrieving ext…
atarix83 Oct 15, 2020
f788349
Correct syntax for referencing related issues/PRs
tdonohue Oct 15, 2020
622871f
#895 fix grid layout
dsipos-dev Oct 16, 2020
3d1ffa6
#895 fix colums sorting
dsipos-dev Oct 16, 2020
9a324ba
#895 revert changes fix layout
dsipos-dev Oct 16, 2020
4e4ef36
bugfix of issue #904
saschaszott Oct 17, 2020
a2c5ddb
Merge branch 'main' into CSTPER-66
corrad82-4s Oct 19, 2020
6a016cd
74199: ItemResolver item to dso refactor
Atmire-Kristof Oct 20, 2020
ac44bb9
74199: Admin search dialogs - intermediate commit
Atmire-Kristof Oct 20, 2020
1dcfb72
fix issue where item search results would always have a shadow, inste…
artlowel Oct 21, 2020
c468711
add isCollapsed to mock TruncatableService
artlowel Oct 21, 2020
f79ea2b
74199: Admin search dialogs - sidebar search list element implementat…
Atmire-Kristof Oct 21, 2020
d103092
Merge pull request #901 from qultoltd/#895-search-grid-layout
tdonohue Oct 21, 2020
8b2b28d
74199: Infinite scrollable dso-selector + collection/community implem…
Atmire-Kristof Oct 21, 2020
826957a
[CSTPER-138] Fixed issue where results are the same when pagination c…
atarix83 Oct 21, 2020
1127b36
[CSTPER-66] function to get succeeded or no content response
corrad82-4s Oct 22, 2020
e1cce31
[CSTPER-66] utility method to check if remote data has no content
corrad82-4s Oct 22, 2020
20c7afc
[CSTPER-66] utility functions to create remote data object without co…
corrad82-4s Oct 22, 2020
be6a6a2
[CSTPER-66] when a community or a collection is created or deleted, a…
corrad82-4s Oct 22, 2020
5ef329f
[CSTPER-66] removed consecutive blank lines
corrad82-4s Oct 22, 2020
c374627
[CSTPER-138] Fixed failed test
atarix83 Oct 22, 2020
ade5eb5
74199: Infinite scroll size changes
Atmire-Kristof Oct 22, 2020
8424ab8
[CSTPER-66] provided RequestService in constructor and parent communi…
corrad82-4s Oct 22, 2020
d50d150
[CSTPER-66] provided RequestService
corrad82-4s Oct 22, 2020
564e4e0
[CSTPER-66] onSubmit test executed within a scheduler and provided _l…
corrad82-4s Oct 23, 2020
4bed16a
[CSTPER-66] onConfirm tests executed within a scheduler and provided …
corrad82-4s Oct 23, 2020
9658da4
[CSTPER-66] removed detectChanges in single tests, removed TranslateS…
corrad82-4s Oct 23, 2020
40891a3
74199: Admin search dialogs - Current DSO + context for new item/coll…
Atmire-Kristof Oct 23, 2020
418fe5c
Merge pull request #881 from jonas-atmire/w2p-72326-Back-link-on-bits…
tdonohue Oct 23, 2020
e3c4884
Merge pull request #913 from atmire/fix-item-grid-shadows
tdonohue Oct 23, 2020
892e7bd
74199: Tests
Atmire-Kristof Oct 26, 2020
0676949
74199: Edit current DSO button
Atmire-Kristof Oct 26, 2020
d7d527b
#0 fix thumbnail
dsipos-dev Oct 27, 2020
18577f0
74200: DsoPageEditButtonComponent test cases
Atmire-Kristof Oct 27, 2020
736704a
74053: redirectOn404Or401
Atmire-Kristof Oct 27, 2020
2d67b0b
74053: remove fdescribe + use consts for routing paths
Atmire-Kristof Oct 27, 2020
d52da29
74053: Fix double slash in route
Atmire-Kristof Oct 27, 2020
23c01b4
#0-remove
dsipos-dev Oct 28, 2020
0d80494
Merge branch 'main' into #0-fix-thumbnail
dsipos-dev Oct 28, 2020
0ea105c
#674 fix community and collection thumblogo
dsipos-dev Oct 28, 2020
371b8e7
#674 remove async
dsipos-dev Oct 28, 2020
7925e91
Revert "#674 remove async"
dsipos-dev Oct 28, 2020
09bdc7a
Merge pull request #891 from atmire/DSO-404-fix
tdonohue Oct 28, 2020
9ae7e81
74275: [Issue 2988]: Password (re)set for eperson with add PatchOpera…
MarieVerdonck Oct 29, 2020
77e7d0e
#674 remove consle logs
dsipos-dev Oct 29, 2020
431d884
Merge remote-tracking branch 'upstream/main' into #674-fix-thumbnail
dsipos-dev Oct 29, 2020
6f7a226
#674 refactore thumbnail
dsipos-dev Oct 29, 2020
71ca57a
#674 update other grid elements
dsipos-dev Oct 29, 2020
9a1b21a
#675 remove unused imports
dsipos-dev Oct 29, 2020
22fe184
#674 ad doctype
dsipos-dev Oct 29, 2020
17455a7
#674 add dock type
dsipos-dev Oct 29, 2020
9339cfa
#674 remove un used import
dsipos-dev Oct 29, 2020
48c7fff
add loading indicator to infinite scroll, few style tweaks
artlowel Oct 30, 2020
1e87f2b
Merge pull request #894 from 4Science/CSTPER-138
tdonohue Oct 30, 2020
96c31d8
support truncation on different backgrounds
artlowel Oct 30, 2020
f06c4a2
make breadcrumb home text i18nable
artlowel Oct 30, 2020
52ab6f8
74199: HoverClassDirective and Home parent
Atmire-Kristof Nov 2, 2020
b7aff58
Merge branch 'main' into w2p-74199_Admin-search-dialogs
Atmire-Kristof Nov 2, 2020
7bd7f38
74199: AuthorizedCollectionSelectorComponent current dso query fix
Atmire-Kristof Nov 4, 2020
5835c66
74199: Lint and LGTM fixes + HoverClassDirective JSDocs and tests
Atmire-Kristof Nov 4, 2020
a937579
Merge pull request #905 from saschaszott/issue-904
artlowel Nov 5, 2020
d73298d
fix issue where externalsource search results couldn't be rendered on…
MarieVerdonck Nov 5, 2020
ecb5641
Issue 867 - Missing labels added
MarieVerdonck Nov 5, 2020
4487e2b
Fix count results in external source relationship lookup tab label
MarieVerdonck Nov 5, 2020
5c62fb6
unused import removed and observableCombineLatest aligned with conven…
MarieVerdonck Nov 5, 2020
e4a1d71
Merge branch 'upstream-master' into Support-for-process-output
MarieVerdonck Nov 5, 2020
cba71fc
PR 545 Create relationships as an admin in edit item
samuelcambien Apr 9, 2020
06163ce
PR 545 Create relationships as an admin in edit item - feedback
samuelcambien Aug 6, 2020
1ac1a42
PR 545 Create relationships as an admin in edit item - fix lgtm issues
samuelcambien Aug 6, 2020
5ef7ae1
74348: Fix security issues reported by LGTM
YanaDePauw Nov 6, 2020
3a486f5
Update comment to be more clear
YanaDePauw Nov 6, 2020
653ceca
74354: Handle redirects don't work
YanaDePauw Nov 6, 2020
b10b972
Merge pull request #880 from mwoodiupui/879
tdonohue Nov 6, 2020
9b7eac6
Update Travis to only send coverage reports to codecov *once*
tdonohue Nov 6, 2020
9fc7320
Merge pull request #935 from tdonohue/fix_codecov
tdonohue Nov 6, 2020
61f2a3c
Missing key for button title added
MarieVerdonck Nov 9, 2020
042e9a0
Added authorizations edit page for community
atarix83 Nov 9, 2020
29df9c6
Added authorizations edit page for collections
atarix83 Nov 9, 2020
8b6f99e
Added i18n labels for communities/collections authorizations edit page
atarix83 Nov 9, 2020
317b61b
moved ResourcePolicyEditComponent and ResourcePolicyCreateComponent t…
atarix83 Nov 9, 2020
e0c4b83
Add route to create/edit a community policies
atarix83 Nov 9, 2020
926cce8
Add route to create/edit a collection policies
atarix83 Nov 9, 2020
db7514f
Fix issue where the creation of resource policies failed even if succ…
atarix83 Nov 10, 2020
0072486
Fix issue where the edit of resource policies failed even if successf…
atarix83 Nov 10, 2020
65516b3
[CSTPER-222] handle metadata reading for communities and collections
alemarte Oct 28, 2020
5c7a111
[CSTPER-222] handle metadata reading for communities and collections
alemarte Nov 10, 2020
fa113ba
[CSTPER-222] handle metadata reading for communities and collections
alemarte Nov 10, 2020
4a2fe76
[CSTPER-222] handle metadata reading for communities and collections
alemarte Nov 10, 2020
fa8ecd1
[CSTPER-222] handle metadata reading for communities and collections
alemarte Nov 10, 2020
ff173f1
Switch to using Codecov bash script instead of node module to upload …
tdonohue Nov 10, 2020
086449d
Remove 'codecov' node module
tdonohue Nov 10, 2020
2ee8159
Merge pull request #939 from tdonohue/use_codecov_bash_script
tdonohue Nov 10, 2020
0e05184
remove unused import
artlowel Nov 12, 2020
df5570c
Refactored to use process log bitstream
MarieVerdonck Nov 12, 2020
7b160cd
#674 revert eror throw and ad set/get for grid communities and collec…
dsipos-dev Nov 13, 2020
cb3131e
#674 remove un used imports
dsipos-dev Nov 13, 2020
bb1d863
#674 fix tests
dsipos-dev Nov 13, 2020
5923a97
#674 remove un used imports
dsipos-dev Nov 13, 2020
c377a3e
#674 fix
dsipos-dev Nov 13, 2020
82811eb
74348: Add comments and update rate limit config
YanaDePauw Nov 16, 2020
140f660
74345: Fix com/col tree issues (#899 & #908):
MarieVerdonck Nov 16, 2020
c40f312
[CSTPER-66] moved refreshCache function to common ComColDataService, …
corrad82-4s Nov 17, 2020
ffd0605
Merge branch 'main' into #674-fix-thumbnail
dsipos-dev Nov 17, 2020
55b6486
#674 fix
dsipos-dev Nov 17, 2020
0a0decf
74609: Fix TypeError on search pages
YanaDePauw Nov 17, 2020
9e4e5e4
Fix ping
YanaDePauw Nov 17, 2020
6f9e8bd
74606: Ensure the correct operators are used for filter queries
Atmire-Kristof Nov 17, 2020
aca0641
#674 fix
dsipos-dev Nov 17, 2020
3303094
#674 imort fix
dsipos-dev Nov 17, 2020
77ca0f0
74615: Remove workaround for baseUrl ending in /api
YanaDePauw Nov 17, 2020
05406e6
74606: Search Utils test cases + test fixes
Atmire-Kristof Nov 17, 2020
12da991
Merge pull request #932 from atmire/w2p-74356_Issue-867_Missing-label…
tdonohue Nov 17, 2020
8da8273
removed unused imports
corrad82-4s Nov 17, 2020
c2e65e2
removed unused import
corrad82-4s Nov 17, 2020
9056514
#945 Clean node at end to avoid rimraf error
cwilper Nov 17, 2020
dfc26ef
renamed private function
corrad82-4s Nov 18, 2020
2369892
[CSTPER-222] handle metadata reading for communities and collections
alemarte Nov 18, 2020
ab755d3
74612: 403 page + redirect to login on unauthorized
Atmire-Kristof Nov 18, 2020
cb6381f
74606: Move stripping of suggestions to SearchFacetFilter
Atmire-Kristof Nov 18, 2020
b70daaf
Merge pull request #930 from atmire/Admin-search-dialogs
tdonohue Nov 18, 2020
cdf26f1
Merge pull request #946 from atmire/GH-945_rimraf-clean
tdonohue Nov 18, 2020
1ed39d8
Merge pull request #545 from atmire/w2p-67685_Add-relationships-in-ed…
tdonohue Nov 18, 2020
8d44b5d
Merge pull request #934 from atmire/w2p-74354_Handle-redicts-fix
tdonohue Nov 18, 2020
963d72d
74348: Increase ratelimiter to 500
YanaDePauw Nov 19, 2020
c38cee7
74572: Separate components for untyped items
YanaDePauw Nov 17, 2020
c1fba05
74572: Fix typo
YanaDePauw Nov 19, 2020
bc8c0aa
Merge remote-tracking branch 'upstream/main' into 74609-Fix-type-erro…
YanaDePauw Nov 19, 2020
921fbe5
Merge pull request #926 from qultoltd/#674-fix-thumbnail
artlowel Nov 19, 2020
8bc85d5
Merge pull request #933 from atmire/w2p-74348_Fix-security-issues-LGTM
tdonohue Nov 19, 2020
de28b02
Switch patch checks to informational only
tdonohue Nov 19, 2020
c9f4baa
Merge pull request #916 from 4Science/CSTPER-66
tdonohue Nov 19, 2020
130e2e5
Merge pull request #944 from atmire/w2p-74345_Fix-comcol-tree-issues
tdonohue Nov 19, 2020
2fa24b5
Merge pull request #953 from DSpace/codecov_patch_info_mode
tdonohue Nov 19, 2020
c05f4fc
Merge pull request #942 from atmire/74615-Remove-baseUrl-api-workaround
tdonohue Nov 19, 2020
6c80f07
Merge remote-tracking branch 'upstream/main' into w2p-74199_Admin-sea…
YanaDePauw Nov 20, 2020
9c2ca90
Remove unused import
YanaDePauw Nov 20, 2020
6e0e5a8
Merge pull request #941 from atmire/74609-Fix-type-error-on-search-pages
tdonohue Nov 20, 2020
c5898b4
Merge pull request #929 from atmire/w2p-74275_Issue-2988_Reset-pw-epe…
tdonohue Nov 20, 2020
f1b1f81
Merge pull request #827 from atmire/Support-for-process-output
tdonohue Nov 20, 2020
f807605
replaced orcidV2 label keys with orcid
corrad82-4s Nov 23, 2020
d78549c
Merge pull request #938 from 4Science/CSTPER-222
tdonohue Nov 23, 2020
b2369b2
74612: Redirect bugfix
Atmire-Kristof Nov 24, 2020
c28af7d
Merge branch 'main' into w2p-74612_Ask-unauthenticated-users-to-log-in
Atmire-Kristof Nov 24, 2020
6b69f66
74572: Update type badge to not rely on constructor name
YanaDePauw Nov 24, 2020
8486fec
74612: Post-merge test fixes
Atmire-Kristof Nov 24, 2020
bc0b0a2
Initial GitHub Actions CI settings. Rename docker-compose-travis to d…
tdonohue Nov 24, 2020
8d526f0
Move codecov reports to last step
tdonohue Nov 24, 2020
b036c08
Try codecov bash uploader to see if it works
tdonohue Nov 24, 2020
e32b435
Remove .travis.yml Minor comment cleanup to build.yml
tdonohue Nov 24, 2020
d241d4e
Revert to checkout@v1 per https://community.codecov.io/t/codecov-stat…
tdonohue Nov 25, 2020
49effd1
Rename job to "tests". Space out steps to make it easier to read.
tdonohue Nov 25, 2020
3f1266e
Enable only for main branch pushes or PRs
tdonohue Nov 25, 2020
5e23a84
Merge pull request #956 from tdonohue/github_ci
tdonohue Nov 25, 2020
0bfa425
Update build status badge to point to GitHub
tdonohue Nov 25, 2020
96d7f9c
Update build.yml to not limit by branch
tdonohue Nov 30, 2020
4a6939f
Merge pull request #959 from DSpace/tdonohue-correct_build
tdonohue Nov 30, 2020
aa8feb0
Merge pull request #954 from 4Science/orcid_labels
tdonohue Nov 30, 2020
1903530
74179: Deleting groups notifications, authorisation check, button on …
MarieVerdonck Oct 19, 2020
bdd1a67
74179: Fix for no result message not shown if no search results epeop…
MarieVerdonck Oct 19, 2020
ab88dc3
74179: Test fixes after changes for empty results in eperson/group re…
MarieVerdonck Oct 22, 2020
e3578a6
74179: Edit group functionality added + test (fixes)
MarieVerdonck Oct 22, 2020
f8a8af3
74179: Delete group cache cleared, redirect & delete button moved on …
MarieVerdonck Oct 23, 2020
46defed
74179: Test fix
MarieVerdonck Oct 23, 2020
3c20cb7
fix positioning of group delete button and clearing of the cache on d…
artlowel Oct 28, 2020
1fcd4d6
74179: NameAlreadyInUse check removed since not correctly shown if th…
MarieVerdonck Nov 2, 2020
dfd7468
74179/PR#925: Groups with linked dso (workflow groups) => No edit/del…
MarieVerdonck Nov 17, 2020
dee3043
74179/PR#925: Test fixes
MarieVerdonck Nov 17, 2020
2243e8a
74848: Check so warn message not shown on new group form
MarieVerdonck Dec 1, 2020
e15b66a
Merge branch 'main' into w2p-74606_Ensure-the-correct-operators-are-u…
Atmire-Kristof Dec 1, 2020
67de653
74606: LGTM issue fixes
Atmire-Kristof Dec 1, 2020
4145f82
Merge branch 'main' into w2p-74612_Ask-unauthenticated-users-to-log-in
Atmire-Kristof Dec 1, 2020
411e2bd
74612: Remove 401 pages and add login redirect to feature-authorizati…
Atmire-Kristof Dec 3, 2020
c841a13
Merge remote-tracking branch 'remotes/origin/main' into comcol-resour…
atarix83 Dec 3, 2020
6e9c129
Merge pull request #955 from atmire/401-login-page-and-403-page
tdonohue Dec 3, 2020
32a29c4
Merge pull request #925 from atmire/w2p-74179_Deleting-groups
tdonohue Dec 3, 2020
30d4c6a
fixed tests
atarix83 Dec 4, 2020
0f77e5c
Merge remote-tracking branch 'remotes/origin/main' into comcol-resour…
atarix83 Dec 4, 2020
d50dd12
75058: Added Withdrawn and Private badges for item list/grid componen…
Atmire-Kristof Dec 7, 2020
1cc9349
Merge remote-tracking branch 'upstream/main' into w2p-74199_Admin-sea…
YanaDePauw Dec 8, 2020
fa36b35
75058: multiple badges fix, item alerts, tests
Atmire-Kristof Dec 8, 2020
52d1193
Fix issues with type badges in tests
YanaDePauw Dec 8, 2020
2087a20
75058: message fix, badge placement for entity types grid, alerts on …
Atmire-Kristof Dec 8, 2020
9e9c07b
Fixing an issue where the relationship query did a fuzzy query with U…
KevinVdV Dec 8, 2020
01d8178
Fixing an issue where the relationship query did a fuzzy query with U…
KevinVdV Dec 8, 2020
804905d
Sync Docker compose scripts with backend (DSpace/DSpace)
tdonohue Dec 9, 2020
39582c9
Merge pull request #969 from tdonohue/sync_docker_with_backend
tdonohue Dec 9, 2020
c0143c0
Merge remote-tracking branch 'dspace/main' into item-view-relationshi…
KevinVdV Dec 10, 2020
5323477
Merge remote-tracking branch 'upstream/main' into w2p-74199_Admin-sea…
YanaDePauw Dec 10, 2020
10e09b6
issue 964 properly impl getEntityTypeByLabel
AndrewZachWood Dec 7, 2020
06bb213
Issue 964 make solution synchronous
AndrewZachWood Dec 10, 2020
f587170
Merge pull request #951 from atmire/w2p-74199_Admin-search-dialogs
tdonohue Dec 10, 2020
ab9d5b4
Merge pull request #952 from atmire/Filter-queries-correct-operators
tdonohue Dec 10, 2020
63e0c2f
Merge pull request #967 from atmire/item-view-relationship-query-fix
tdonohue Dec 10, 2020
f86f95e
Merge remote-tracking branch 'remotes/origin/main' into comcol-resour…
atarix83 Dec 11, 2020
c2e0ba9
fixed issue with failed request of resource policy edit
atarix83 Dec 11, 2020
f485397
Merge pull request #937 from 4Science/comcol-resource-policies
tdonohue Dec 11, 2020
17ca2c4
Merge pull request #965 from atmire/Issue-964-getEntityTypeByLabel-impl
tdonohue Dec 11, 2020
c3bc730
Merge branch 'main' into w2p-75058_Private-Withdrawn-badges-for-items…
Atmire-Kristof Dec 14, 2020
4e18fa3
Cache redesign part 1, and add support for alternative links
artlowel Dec 11, 2020
e867bad
Merge pull request #961 from atmire/cache-redesign-part-1
tdonohue Dec 17, 2020
c9f4568
[835] Auto-save in new Item Submission form breaks the form
alemarte Nov 16, 2020
5ae649f
[835] Auto-save in new Item Submission form breaks the form
alemarte Nov 16, 2020
6136162
[835] Auto-save in new Item Submission form breaks the form
alemarte Nov 16, 2020
82b7b8a
[835] Auto-save in new Item Submission form breaks the form
alemarte Nov 16, 2020
8111bdd
[835] Auto-save in new Item Submission form breaks the form
alemarte Nov 19, 2020
9f33855
[835] Auto-save in new Item Submission form breaks the form
alemarte Nov 19, 2020
875a43a
[835] Auto-save in new Item Submission form breaks the form
alemarte Nov 20, 2020
9999937
[835] Auto-save in new Item Submission form breaks the form
alemarte Nov 20, 2020
55bcdf0
[835] Auto-save in new Item Submission form breaks the form
alemarte Nov 20, 2020
9b752b4
[835] Auto-save in new Item Submission form breaks the form
alemarte Nov 23, 2020
0acaa3e
[835] Auto-save in new Item Submission form breaks the form
alemarte Nov 23, 2020
eb144b1
[835] Auto-save in new Item Submission form breaks the form
alemarte Nov 23, 2020
d47f686
[835] Auto-save in new Item Submission form breaks the form
alemarte Nov 23, 2020
de37289
[835] Auto-save in new Item Submission form breaks the form
alemarte Nov 27, 2020
0794c50
[835] Auto-save in new Item Submission form breaks the form
alemarte Dec 3, 2020
451881e
[835] Auto-save in new Item Submission form breaks the form
alemarte Dec 15, 2020
e825592
[835] Auto-save in new Item Submission form breaks the form
alemarte Dec 15, 2020
042d2e7
[835] Auto-save in new Item Submission form breaks the form
alemarte Dec 15, 2020
8e77fac
[835] Auto-save in new Item Submission form breaks the form
alemarte Dec 21, 2020
6cf6dee
[835] Auto-save in new Item Submission form breaks the form
alemarte Dec 22, 2020
fd7aeac
Merge pull request #960 from 4Science/CSTPER-260
tdonohue Jan 4, 2021
8530357
Merge pull request #972 from atmire/Private-withdrawn-badges-for-item…
tdonohue Jan 4, 2021
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
  •  
  •  
  •  
28 changes: 28 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# DSpace configuration for Codecov.io coverage reports
# These override the default YAML settings at
# https://docs.codecov.io/docs/codecov-yaml#section-default-yaml
# Can be validated via instructions at:
# https://docs.codecov.io/docs/codecov-yaml#validate-your-repository-yaml

# Settings related to code coverage analysis
coverage:
status:
# Configuration for project-level checks. This checks how the PR changes overall coverage.
project:
default:
# For each PR, auto compare coverage to previous commit.
# Require that overall (project) coverage does NOT drop more than 0.5%
target: auto
threshold: 0.5%
# Configuration for patch-level checks. This checks the relative coverage of the new PR code ONLY.
patch:
default:
# Enable informational mode, which just provides info to reviewers & always passes
# https://docs.codecov.io/docs/commit-status#section-informational
informational: true

# Turn PR comments "off". This feature adds the code coverage summary as a
# comment on each PR. See https://docs.codecov.io/docs/pull-request-comments
# However, this same info is available from the Codecov checks in the PR's
# "Checks" tab in GitHub. So, the comment is unnecessary.
comment: false
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ trim_trailing_whitespace = true
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false

[*.ts]
quote_type = single
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug, needs triage
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is. Include the version(s) of DSpace where you've seen this problem & what *web browser* you were using. Link to examples if they are public.

**To Reproduce**
Steps to reproduce the behavior:
1. Do this
2. Then this...

**Expected behavior**
A clear and concise description of what you expected to happen.

**Related work**
Link to any related tickets or PRs here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest a new feature for this project
title: ''
labels: new feature, needs triage
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives or workarounds you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
26 changes: 26 additions & 0 deletions .github/disabled-workflows/pull_request_opened.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# This workflow runs whenever a new pull request is created
# TEMPORARILY DISABLED. Unfortunately this doesn't work for PRs created from forked repositories (which is how we tend to create PRs).
# There is no known workaround yet. See https://git.blink-cf.community/t/how-to-use-github-token-for-prs-from-forks/16818
name: Pull Request opened

# Only run for newly opened PRs against the "main" branch
on:
pull_request:
types: [opened]
branches:
- main

jobs:
automation:
runs-on: ubuntu-latest
steps:
# Assign the PR to whomever created it. This is useful for visualizing assignments on project boards
# See https://github.com/marketplace/actions/pull-request-assigner
- name: Assign PR to creator
uses: thomaseizinger/assign-pr-creator-action@v1.0.0
# Note, this authentication token is created automatically
# See: https://docs.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Ignore errors. It is possible the PR was created by someone who cannot be assigned
continue-on-error: true
14 changes: 6 additions & 8 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## References
_Add references/links to any related tickets or PRs. These may include:_
* Link to [Angular issue or PR](https://github.com/DSpace/dspace-angular/issues) related to this PR, if any
* Link to [JIRA](https://jira.lyrasis.org/projects/DS/summary) ticket(s), if any
_Add references/links to any related issues or PRs. These may include:_
* Fixes #[issue-number]
* Requires DSpace/DSpace#[pr-number] (if a REST API PR is required to test this)

## Description
Short summary of changes (1-2 sentences).
Expand All @@ -20,9 +20,7 @@ _This checklist provides a reminder of what we are going to look for when review

- [ ] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
- [ ] My PR passes [TSLint](https://palantir.github.io/tslint/) validation using `yarn run lint`
- [ ] My PR doesn't introduce circular dependencies
- [ ] My PR includes [TypeDoc](https://typedoc.org/) comments for _all new (or modified) public methods and classes_. It also includes TypeDoc for large or complex private methods.
- [ ] My PR passes all specs/tests and includes new/updated specs for any bug fixes, improvements or new features. A few reminders about what constitutes good tests:
* Include tests for different user types (if behavior differs), including: (1) Anonymous user, (2) Logged in user (non-admin), and (3) Administrator.
* Include tests for error scenarios, e.g. when errors/warnings should appear (or buttons should be disabled).
* For bug fixes, include a test that reproduces the bug and proves it is fixed. For clarity, it may be useful to provide the test in a separate commit from the bug fix.
- [ ] If my PR includes new, third-party dependencies (in `package.json`), I've made sure their licenses align with the [DSpace BSD License](https://github.com/DSpace/DSpace/blob/master/LICENSE) based on the [Licensing of Contributions](https://wiki.lyrasis.org/display/DSPACE/Code+Contribution+Guidelines#CodeContributionGuidelines-LicensingofContributions) documentation.
- [ ] My PR passes all specs/tests and includes new/updated specs or tests based on the [Code Testing Guide](https://wiki.lyrasis.org/display/DSPACE/Code+Testing+Guide).
- [ ] If my PR includes new, third-party dependencies (in `package.json`), I've made sure their licenses align with the [DSpace BSD License](https://github.com/DSpace/DSpace/blob/main/LICENSE) based on the [Licensing of Contributions](https://wiki.lyrasis.org/display/DSPACE/Code+Contribution+Guidelines#CodeContributionGuidelines-LicensingofContributions) documentation.
87 changes: 87 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# DSpace Continuous Integration/Build via GitHub Actions
# Concepts borrowed from
# https://docs.github.com/en/free-pro-team@latest/actions/guides/building-and-testing-nodejs
name: Build

# Run this Build for all pushes / PRs to current branch
on: [push, pull_request]

jobs:
tests:
runs-on: ubuntu-latest
env:
# The ci step will test the dspace-angular code against DSpace REST.
# Direct that step to utilize a DSpace REST service that has been started in docker.
DSPACE_REST_HOST: localhost
DSPACE_REST_PORT: 8080
DSPACE_REST_NAMESPACE: '/server'
DSPACE_REST_SSL: false
strategy:
# Create a matrix of Node versions to test against (in parallel)
matrix:
node-version: [10.x, 12.x]
# Do NOT exit immediately if one matrix job fails
fail-fast: false
# These are the actual CI steps to perform per job
steps:
# https://github.com/actions/checkout
- name: Checkout codebase
uses: actions/checkout@v1

# https://github.com/actions/setup-node
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install latest Chrome (for e2e tests)
run: |
sudo apt-get update
sudo apt-get --only-upgrade install google-chrome-stable -y
google-chrome --version

# https://github.com/actions/cache/blob/main/examples.md#node---yarn
- name: Get Yarn cache directory
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache Yarn dependencies
uses: actions/cache@v2
with:
# Cache entire Yarn cache directory (see previous step)
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
# Cache key is hash of yarn.lock. Therefore changes to yarn.lock will invalidate cache
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-

- name: Install Yarn dependencies
run: yarn install --frozen-lockfile

- name: Run lint
run: yarn run lint

- name: Run build
run: yarn run build:prod

- name: Run specs (unit tests)
run: yarn run test:headless

# NOTE: Angular CLI only supports code coverage for specs. See https://github.com/angular/angular-cli/issues/6286
# Upload coverage reports to Codecov (for Node v12 only)
# https://github.com/codecov/codecov-action
- name: Upload coverage to Codecov.io
uses: codecov/codecov-action@v1
if: matrix.node-version == '12.x'

# Using docker-compose start backend using CI configuration
# and load assetstore from a cached copy
- name: Start DSpace REST Backend via Docker (for e2e tests)
run: |
docker-compose -f ./docker/docker-compose-ci.yml up -d
docker-compose -f ./docker/cli.yml -f ./docker/cli.assetstore.yml run --rm dspace-cli
docker container ls

- name: Run e2e tests (integration tests)
run: yarn run e2e:ci

- name: Shutdown Docker containers
run: docker-compose -f ./docker/docker-compose-ci.yml down
29 changes: 29 additions & 0 deletions .github/workflows/issue_opened.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This workflow runs whenever a new issue is created
name: Issue opened

on:
issues:
types: [opened]

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
# 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
# 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
# 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
25 changes: 25 additions & 0 deletions .github/workflows/label_merge_conflicts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This workflow checks open PRs for merge conflicts and labels them when conflicts are found
name: Check for merge conflicts

# Run whenever the "main" branch is updated
# NOTE: This means merge conflicts are only checked for when a PR is merged to main.
on:
push:
branches:
- main

jobs:
triage:
runs-on: ubuntu-latest
steps:
# See: https://github.com/mschilde/auto-label-merge-conflicts/
- name: Auto-label PRs with merge conflicts
uses: mschilde/auto-label-merge-conflicts@v2.0
# 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ package-lock.json
.java-version

.env
/nbproject/
57 changes: 0 additions & 57 deletions .travis.yml

This file was deleted.

9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Build Status](https://travis-ci.org/DSpace/dspace-angular.svg?branch=master)](https://travis-ci.org/DSpace/dspace-angular) [![Coverage Status](https://coveralls.io/repos/github/DSpace/dspace-angular/badge.svg?branch=master)](https://coveralls.io/github/DSpace/dspace-angular?branch=master) [![Universal Angular](https://img.shields.io/badge/universal-angular2-brightgreen.svg?style=flat)](https://github.com/angular/universal)
[![Build Status](https://github.com/DSpace/dspace-angular/workflows/Build/badge.svg?branch=main)](https://github.com/DSpace/dspace-angular/actions?query=workflow%3ABuild) [![Coverage Status](https://codecov.io/gh/DSpace/dspace-angular/branch/main/graph/badge.svg)](https://codecov.io/gh/DSpace/dspace-angular) [![Universal Angular](https://img.shields.io/badge/universal-angular2-brightgreen.svg?style=flat)](https://github.com/angular/universal)

dspace-angular
==============
Expand Down Expand Up @@ -104,11 +104,12 @@ DSPACE_REST_SSL # Whether the angular REST uses SSL [true/false]

The same settings can also be overwritten by setting system environment variables instead, E.g.:
```bash
export DSPACE_HOST=https://dspace7.4science.cloud/server
export DSPACE_HOST=dspace7.4science.cloud
```

The priority works as follows: **environment variable** overrides **variable in `.env` file** overrides **`environment.(prod, dev or test).ts`** overrides **`environment.common.ts`**

These configuration sources are collected **at build time**, and written to `src/environments/environment.ts`. At runtime the configuration is fixed, and neither `.env` nor the process' environment will be consulted.

#### Using environment variables in code
To use environment variables in a UI component, use:
Expand All @@ -134,14 +135,14 @@ To build the app for production and start the server run:
```bash
yarn start
```
This will run the application in an instance of the Express server, which is included.

If you only want to build for production, without starting, run:

```bash
yarn run build:prod
```

This will build the application and put the result in the `dist` folder
This will build the application and put the result in the `dist` folder. You can copy this folder to wherever you need it for your application server. If you will be using the built-in Express server, you'll also need a copy of the `node_modules` folder tucked inside your copy of `dist`.


### Running the application with Docker
Expand Down
Loading