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

Combining relationships and metadata during submission #5

Open
wants to merge 1,185 commits into
base: reorder-name-variants
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1185 commits
Select commit Hold shift + click to select a range
03f910b
Ensuring environment.ts is present before sync-i18n-files invocation
bram-atmire May 18, 2020
b28f59f
Merge pull request #676 from bram-atmire/sync-i18n-fix
tdonohue May 18, 2020
ad26ece
Merge branch 'master' into Login-as-EPerson
Atmire-Kristof May 19, 2020
8b78ed3
68067: Fix adding/removing menu sections
Atmire-Kristof May 19, 2020
172d0d9
68067: JSON.stringify to compare menu section changes
Atmire-Kristof May 19, 2020
ff0750d
68067: Add menu sections through route data
Atmire-Kristof May 19, 2020
245cb45
CC License Submission Step
samuelcambien Apr 28, 2020
e802185
CC License Submission Step - fix tests
samuelcambien Apr 29, 2020
1071506
CC License Submission Step 2 - Storing the results
samuelcambien May 6, 2020
6d88381
68067: Route data menu sections - tests
Atmire-Kristof May 19, 2020
8761d0a
68067: Add unsubscribes on open subscriptions in menu component
Atmire-Kristof May 19, 2020
79eecc7
68067: Route menu data - menu ID
Atmire-Kristof May 19, 2020
59205b1
70834: refactor createOrUpdate methods to use existing data-service m…
Atmire-Kristof May 20, 2020
1800704
CC License Submission Step 2 - Storing the results - feedback
samuelcambien May 20, 2020
49bb61b
70834: Registry breadcrumbs
Atmire-Kristof May 20, 2020
b5d9259
Merge remote-tracking branch 'remotes/origin/master' into #601-resour…
atarix83 May 20, 2020
b70f8e1
Fixed merge with master
atarix83 May 20, 2020
e171675
Fixed build error
atarix83 May 20, 2020
09ee329
Fixed failed test
atarix83 May 21, 2020
51620df
Fixed issue with item edit page
atarix83 May 21, 2020
8ef77df
Fixed issue with resource policies list that was not updated after a …
atarix83 May 21, 2020
b41acfd
Moved resource policy's group edit link
atarix83 May 21, 2020
5c7cd4a
Merge pull request #653 from atmire/Login-as-EPerson
tdonohue May 21, 2020
c5bf8f6
Merge remote-tracking branch 'remotes/origin/master' into #601-resour…
atarix83 May 21, 2020
1dde308
Fixed failed test
atarix83 May 22, 2020
4a65051
Fixed issue with authentication when SSR is disabled
atarix83 Apr 28, 2020
b614903
Added missing class in the authentication form to apply style properly
atarix83 May 22, 2020
460e202
fixed test
atarix83 May 22, 2020
5f6fdf0
Add Finnish translations (first set after master rebase)
reetagithub May 25, 2020
0b67bd5
68067: Refactoring menu-component resolving route menu data to menu e…
Atmire-Kristof May 26, 2020
7b64d6b
68067: JSDocs + menu-effects tests
Atmire-Kristof May 26, 2020
92b1a44
Fix Docker local.cfg by correcting UI port to 4000
tdonohue May 27, 2020
780b8b7
Merge pull request #690 from tdonohue/fix_travis_e2e
tdonohue May 27, 2020
e4a83f0
fixed ui environment vars issue
LotteHofstede May 15, 2020
e7043f8
changes to server.ts
LotteHofstede May 18, 2020
f881c2f
fixed SSR issues
LotteHofstede May 18, 2020
a9cb6ae
added doc to scripts
LotteHofstede May 25, 2020
a57d5d7
Merge remote-tracking branch 'remotes/origin/master' into #601-resour…
atarix83 May 28, 2020
5421d97
Merge remote-tracking branch 'remotes/origin/master' into authenticat…
atarix83 May 28, 2020
f136ea7
70504: New user registration
YanaDePauw May 11, 2020
96d7607
70504: fix compile issue
YanaDePauw May 11, 2020
bca1e8b
70504: Implement feedback
YanaDePauw May 15, 2020
8fc2309
Fix rebase issues
YanaDePauw May 28, 2020
d483d46
70905: Breadcrumb update issue
YanaDePauw May 18, 2020
36acb75
Fix to breadcrumb related injector issues on edit pages
YanaDePauw May 19, 2020
f0bf87b
Show edit group button only when resource policy has permissions on g…
atarix83 May 28, 2020
7227d5e
Remove cached search request after result was retrieved
atarix83 May 28, 2020
d24c51e
71201: #678 Angular UI does not properly logout when clicking logout
YanaDePauw May 28, 2020
1295e12
71201: Add test
YanaDePauw May 28, 2020
56ee4bb
Merge pull request #675 from atmire/w2p-70905_Breadcrumb-update-issue
tdonohue May 28, 2020
4ae2977
Merge pull request #682 from 4Science/authentication_issue_CSR
tdonohue May 28, 2020
acd6e60
Merge pull request #677 from atmire/w2p-70901_ui-environment-vars
tdonohue May 28, 2020
d9749c8
Bump acorn from 6.4.0 to 6.4.1
dependabot[bot] May 29, 2020
d869c62
Merge pull request #660 from DSpace/dependabot/npm_and_yarn/acorn-6.4.1
artlowel May 29, 2020
45247ff
Merge pull request #645 from 4Science/#601-resource-policies
tdonohue May 29, 2020
2fbf3af
replace deprecated postcss-smart-import with postcss-import
artlowel May 29, 2020
db5ade5
update protractor
artlowel May 29, 2020
ce6b259
update karma
artlowel May 29, 2020
7b4a481
update mkdirp and add resolution for minimist
artlowel May 29, 2020
c423b47
Merge pull request #691 from atmire/w2p-71201_Angular-UI-does-not-pro…
tdonohue May 29, 2020
23e8c8b
Fix all outdated references to environment.*.js. Fix bug in Docker co…
tdonohue May 29, 2020
fcb6104
Activating Finnish in environment.common.ts
bram-atmire May 30, 2020
ba9996a
Merge pull request #683 from reetagithub/finnish-msg-keys
bram-atmire May 31, 2020
b1d39fe
Fix compilation bug in environment.dev.ts used by Docker. Add comments
tdonohue Jun 1, 2020
3ece498
Merge pull request #693 from tdonohue/fix_references_to_environment_js
tdonohue Jun 1, 2020
9b7a33c
Merge pull request #692 from atmire/fix-minimist-vulnerability
tdonohue Jun 1, 2020
697be3c
fix issue with polyfill order in safari and firefox
artlowel May 27, 2020
bcb77c8
remove comment about zone polyfill
artlowel Jun 2, 2020
f8f0e5f
71174: FileSizePipe using filesize.js
Atmire-Kristof Jun 3, 2020
b79a3d3
Merge remote-tracking branch 'dspace/master' into w2p-71174_FileSizeP…
Atmire-Kristof Jun 3, 2020
4438682
Merge branch 'master' into w2p-70834_Refactor-registry-service-and-as…
Atmire-Kristof Jun 4, 2020
a51a683
71174: Breadcrumb test fix
Atmire-Kristof Jun 3, 2020
ca7a76b
Implement community feedback
YanaDePauw Jun 10, 2020
ce04825
71174: FileSizePipe 'jedec' standard
Atmire-Kristof Jun 10, 2020
9f64fed
Merge branch 'master' into w2p-68067_Fix-context-sensitive-menus
Atmire-Kristof Jun 10, 2020
035a4b6
Merge remote-tracking branch 'upstream/master' into Forgot-Password
YanaDePauw Jun 10, 2020
31b6bfc
Merge pull request #698 from atmire/FileSizePipe-refactor
tdonohue Jun 10, 2020
ea26597
Merge pull request #689 from atmire/polyfill-error-fix
tdonohue Jun 10, 2020
9a4fc65
68067: Fix instance field declaration
Atmire-Kristof Jun 11, 2020
d27034d
fix issue where the current collection or community would no longer b…
artlowel Apr 20, 2020
405815a
fix test
artlowel Apr 20, 2020
6c1e636
fix tests
samuelcambien May 27, 2020
6bd04c9
store token on AUTHENTICATED_SUCCESS action
atarix83 Jun 11, 2020
c835d9b
fixed test description
atarix83 Jun 11, 2020
ee9f5ec
70834: MetadataField search responseMsToLive fix
Atmire-Kristof Jun 11, 2020
8b8d7ba
Merge pull request #702 from 4Science/CSR-auth-guard-issue
tdonohue Jun 11, 2020
3db47f5
CC License Submission Step 2 - Storing the results - add SubmissionCc…
samuelcambien May 20, 2020
470c21d
Merge branch 'master' into CC-License-Submission-Step
samuelcambien Jun 12, 2020
7421eef
Misc edit community and collection bugs
samuelcambien Jun 12, 2020
b8ab83c
Misc edit community and collection bugs - repair test
samuelcambien Jun 12, 2020
6f9f4ec
71304: Implement Forgot password components
YanaDePauw Jun 15, 2020
16d3d0e
71380: Remove object updates for drag-and-drop and send out immediate…
Atmire-Kristof Jun 15, 2020
c6ee46f
71380: Reset page size back to normal
Atmire-Kristof Jun 15, 2020
9e05072
[CST-3090] done
ddinuzzo Jun 16, 2020
be16134
Merge branch 'master' into CST-3090-collection-dropdown
ddinuzzo Jun 16, 2020
5f0f665
[CTS-3090] - fix
ddinuzzo Jun 16, 2020
e277a72
71304: Fix spec descriptions
YanaDePauw Jun 16, 2020
f5959e9
Merge remote-tracking branch 'upstream/master' into Forgot-Password
YanaDePauw Jun 16, 2020
efc476a
remove unused disabled$ variable
atarix83 Jun 16, 2020
294f5e5
[CST-3090] fix services name and dropdown
ddinuzzo Jun 17, 2020
752cf97
71380: Fix tests
Atmire-Kristof Jun 17, 2020
3b581b9
[CST-3090] fix
ddinuzzo Jun 17, 2020
be2d496
[CTS-3090] update imports
ddinuzzo Jun 17, 2020
f33f391
[CTS-3090] - fix pagination
ddinuzzo Jun 18, 2020
baec130
Merge branch 'master' into Misc-edit-community-and-collection-bugs
samuelcambien Jun 18, 2020
136e36a
[CST-3105] done
ddinuzzo Jun 18, 2020
709726e
[CST-3105] tests
ddinuzzo Jun 18, 2020
82a3014
71380: drag-and-drop-list customOrder to avoid elements hopping back …
Atmire-Kristof Jun 18, 2020
2889121
71380: Reset page size
Atmire-Kristof Jun 18, 2020
0721b84
Misc edit community and collection bugs - repair create top level com…
samuelcambien Jun 18, 2020
e963aa9
CC License Submission Step - feedback
samuelcambien Jun 18, 2020
f841e45
[CST-3090] fix tests
ddinuzzo Jun 18, 2020
5cef15e
Merge pull request #701 from atmire/Misc-edit-community-and-collectio…
tdonohue Jun 18, 2020
4c1b589
70834: Use data-service's responseMsToLive for searchBy
Atmire-Kristof Jun 19, 2020
2653980
Merge remote-tracking branch 'remotes/origin/master' into language-he…
atarix83 Jun 19, 2020
bbaaaed
71504: short-lived token for downloading files through FileService
Atmire-Kristof Jun 19, 2020
b578aa4
71504: FileDownloadLinkComponent
Atmire-Kristof Jun 22, 2020
05b2489
Merge branch 'master' into metadata-and-relationships-combined-in-sub…
artlowel Jun 22, 2020
a281583
fix test and lint issues after merge
artlowel Jun 22, 2020
24858fc
71504: Shortlived tokens + file-download-link test cases
Atmire-Kristof Jun 22, 2020
a49607e
restore property that was accidentally removed during merge
artlowel Jun 22, 2020
d66d5b6
[CST-2877] done (angular)
ddinuzzo Jun 22, 2020
ea5f727
[CST-2877] fix method for lang list & add reload after change lang
ddinuzzo Jun 24, 2020
c319204
[CST-2877] fix tests
ddinuzzo Jun 24, 2020
73c2599
71380: Fix loading/cache issue with dropping objects on page
Atmire-Kristof Jun 25, 2020
bb70591
Merge pull request #697 from atmire/Refactor-registry-service-and-ass…
tdonohue Jun 25, 2020
bfdd943
71380: Remove redundant code and add subscribable removeByHrefSubstring
Atmire-Kristof Jun 25, 2020
f24bd9f
71380: Reset page size
Atmire-Kristof Jun 25, 2020
f37de54
[CST-3090] fix position of word 'here'
ddinuzzo Jun 26, 2020
5642a27
[CST-3090] fix unused import alerts
ddinuzzo Jun 26, 2020
9c27be0
Merge branch 'master' into w2p-71504_Authorization-for-downloads-of-r…
Atmire-Kristof Jun 26, 2020
6ad7cee
Merge branch 'master' into scripts-processes
LotteHofstede Jun 26, 2020
0c56e01
Merge branch 'master' into w2p-71380_Simplify-bitstream-drag-and-drop
Atmire-Kristof Jun 26, 2020
9677e05
solved merge issues
LotteHofstede Jun 26, 2020
32c8d9d
scripts & processes improvements
LotteHofstede Jun 26, 2020
02ddf7c
CC License Submission Step - implement contract change
samuelcambien Jun 26, 2020
fd59e02
Merge branch 'master' into CC-License-Submission-Step
samuelcambien Jun 26, 2020
0888d81
CC License Submission Step - fix lint issues
samuelcambien Jun 26, 2020
ca564b2
Merge pull request #708 from 4Science/CST-3090-collection-dropdown
tdonohue Jun 26, 2020
5b82a8a
Merge pull request #709 from atmire/Simplify-bitstream-drag-and-drop
tdonohue Jun 26, 2020
746a723
Merge branch 'master' into language-header
ddinuzzo Jun 29, 2020
2863837
Merge remote-tracking branch 'upstream/master' into w2p-70504_New-use…
YanaDePauw Jun 29, 2020
1a0e5f4
Merge remote-tracking branch 'upstream/master' into Forgot-Password
YanaDePauw Jun 29, 2020
775becd
fix issue where hints wouldn't show for non-repeatable fields, and re…
artlowel Jun 29, 2020
e119967
fix issue where beforeEach wouldn't wait for dropBitstream to end
artlowel Jun 29, 2020
066e6cd
fixed a number of instances in community-list-service.spec.ts where a…
artlowel Jun 29, 2020
bb4aedc
Merge pull request #723 from atmire/async-code-in-beforeeach
tdonohue Jun 29, 2020
1cb0bb7
added create-from functionality
LotteHofstede Jun 29, 2020
ea16289
Merge remote-tracking branch 'upstream/master' into Forgot-Password
YanaDePauw Jun 30, 2020
fc1ffd0
Merge remote-tracking branch 'upstream/master' into w2p-70504_New-use…
YanaDePauw Jun 30, 2020
d611761
Merge branch 'master' into language-header
ddinuzzo Jun 30, 2020
31eadf9
Bump websocket-extensions from 0.1.3 to 0.1.4
dependabot[bot] Jun 30, 2020
6ef6035
Merge branch 'master' into CC-License-Submission-Step
samuelcambien Jun 30, 2020
b1e44a7
70599: Improvements comcol tree
MarieVerdonck May 2, 2020
3f39752
CC License Submission Step - fix tests
samuelcambien Jun 30, 2020
1dfe7ec
70599: Test fixes comcol tree after changes
MarieVerdonck May 4, 2020
53779cf
remove console logs
benbosman Jun 11, 2020
94e3f2d
Feedback processed: - pagesize comcol changed to 50 &
MarieVerdonck Jun 19, 2020
6433e21
Feedback processed: - change so state change behaviourSubjects back i…
MarieVerdonck Jun 19, 2020
f992fe1
Feedback: - set initial loading moved outside of of NgZone
MarieVerdonck Jun 30, 2020
3e6195a
Merge branch 'master' into metadata-and-relationships-combined-in-sub…
artlowel Jun 30, 2020
f4387ac
Merge branch 'master' into metadata-and-relationships-combined-in-sub…
artlowel Jun 30, 2020
c7994f9
Merge branch 'master' into scripts-processes
LotteHofstede Jun 30, 2020
09665df
solved lint issues, added typedoc, fixed lgtm warnings
LotteHofstede Jun 30, 2020
0348d23
fixed remove parameter bug
LotteHofstede Jun 30, 2020
a8b7035
fixed issue with validation
LotteHofstede Jun 30, 2020
722fdc0
[CST-2877] rm browser lang for SSR reqs
ddinuzzo Jun 30, 2020
ea28998
CC License Submission Step - fix tests bis
samuelcambien Jun 30, 2020
199d4bf
Merge pull request #710 from atmire/w2p-70599_Comcol-tree
tdonohue Jun 30, 2020
5b46ec1
fixed test issue
LotteHofstede Jun 30, 2020
d35f2a4
70504: removed unused import and variables
PhilipVis Jul 1, 2020
150d2cb
Merge remote-tracking branch 'origin/w2p-70504_New-user-registration'…
PhilipVis Jul 1, 2020
9f91fd2
Merge branch 'master' into w2p-71504_Authorization-for-downloads-of-r…
Atmire-Kristof Jul 1, 2020
9a4f962
71504: Remove unused imports
Atmire-Kristof Jul 1, 2020
5884308
Merge branch 'master' into w2p-65272_Edit-collection-item-template
Atmire-Kristof Jul 1, 2020
71da279
70597: Build fix
Atmire-Kristof Jul 1, 2020
e0990ae
65272: Test fixes
Atmire-Kristof Jul 1, 2020
1d0f0b8
move schema on metadatafields to an observable remotedata
artlowel Jul 1, 2020
09f1b7e
disable fetching and querying all fields
artlowel Jul 1, 2020
bcd93de
Merge branch 'master' into metadata-and-relationships-combined-in-sub…
artlowel Jul 1, 2020
71ff276
Merge pull request #687 from atmire/w2p-70504_New-user-registration
tdonohue Jul 1, 2020
0e1874d
Merge pull request #707 from atmire/Forgot-Password
tdonohue Jul 1, 2020
2cffdc8
Merge branch 'master' into metadata-and-relationships-combined-in-sub…
artlowel Jul 1, 2020
c36877a
remove debug log
artlowel Jul 1, 2020
9bbdf95
CC License Submission Step - fix error when changing accepted license
samuelcambien Jul 1, 2020
68ecc7a
rename token param to authentication-token
artlowel Jul 1, 2020
df5d55c
Merge branch 'Authorization-for-downloads-of-restricted-bitstreams' i…
artlowel Jul 1, 2020
7cfa0f1
add support for authorized downloads
artlowel Jul 1, 2020
2fe9965
Merge pull request #716 from atmire/Authorization-for-downloads-of-re…
tdonohue Jul 1, 2020
e9993c8
65272: Fixed readonly error + test cases
Atmire-Kristof Jul 2, 2020
6d802f5
65272: Edit item template - breadcrumb + title
Atmire-Kristof Jul 2, 2020
e234c3a
65272: Fixed lint error
Atmire-Kristof Jul 2, 2020
b77fd69
Merge branch 'master' into w2p-65272_Edit-collection-item-template
Atmire-Kristof Jul 2, 2020
92e47de
65272: AoT Build fix + LGTM fixes
Atmire-Kristof Jul 2, 2020
f655f5d
CC License Submission Step - fix error when saving submission
samuelcambien Jul 2, 2020
531ef1f
Merge branch 'master' into CC-License-Submission-Step
samuelcambien Jul 2, 2020
5e191ff
Merge pull request #722 from DSpace/dependabot/npm_and_yarn/websocket…
artlowel Jul 2, 2020
8c5347a
Merge branch 'master' into language-header
ddinuzzo Jul 2, 2020
cece770
DSPACE_HOST example fix
paulo-graca Jul 2, 2020
c2298f6
Merge pull request #636 from atmire/scripts-processes
tdonohue Jul 2, 2020
a414f04
Merge pull request #752 from paulo-graca/patch-3
tdonohue Jul 2, 2020
a68dfc1
Merge branch 'master' into Fix-context-sensitive-menus
artlowel Jul 2, 2020
4fa8d02
remove unused imports
artlowel Jul 2, 2020
3fb4be2
Merge pull request #700 from atmire/Fix-context-sensitive-menus
tdonohue Jul 2, 2020
0eb7eb6
Merge pull request #703 from atmire/CC-License-Submission-Step
tdonohue Jul 2, 2020
fe785f6
fix issue where create com/col guards would redirect to 404 for the w…
artlowel Jul 2, 2020
d6ab8ef
Merge branch 'master' into metadata-and-relationships-combined-in-sub…
artlowel Jul 2, 2020
b731301
Merge pull request #749 from atmire/Edit-collection-item-template
tdonohue Jul 2, 2020
bd9a6c4
Merge branch 'master' into metadata-and-relationships-combined-in-sub…
artlowel Jul 3, 2020
5650a4a
Merge branch 'master' into language-header
ddinuzzo Jul 6, 2020
d85b0cb
ddinuzzo Jul 6, 2020
a74dafb
reset scroll position on route change
artlowel Jul 7, 2020
deabffd
fix #630 Item delete broken
samuelcambien Jul 7, 2020
797a640
Bump npm-registry-fetch from 4.0.3 to 4.0.5
dependabot[bot] Jul 8, 2020
52289d8
fix #630 Item delete broken - handle items without entity type
samuelcambien Jul 8, 2020
5a1b82d
fix #630 Item delete broken - repair tests
samuelcambien Jul 8, 2020
56d8a99
Merge pull request #757 from DSpace/dependabot/npm_and_yarn/npm-regis…
artlowel Jul 9, 2020
95163aa
fix issue due to method signature change after merge
artlowel Jul 9, 2020
0fa1e17
71809: ForwardClientIpInterceptor
Atmire-Kristof Jul 13, 2020
b05420e
Merge pull request #755 from atmire/reset-scroll-position-on-route-ch…
tdonohue Jul 13, 2020
e053607
Merge pull request #714 from 4Science/language-header
tdonohue Jul 13, 2020
6cd6c09
Move coveralls to after_success
tdonohue Jul 13, 2020
e94fbfd
Allow for any version of coveralls compatible with 3.0.0
tdonohue Jul 13, 2020
4648348
Remove deprecated "sudo" key. Add new recommended "os" key
tdonohue Jul 13, 2020
e5742c4
Merge pull request #760 from tdonohue/update_coveralls
tdonohue Jul 13, 2020
35ca785
Merge branch 'master' into w2p-71809_Add-server-side-X-Forwarded-For-…
Atmire-Kristof Jul 14, 2020
08484d3
renamed project to dspace-angular and fixed broken tests
LotteHofstede Jul 14, 2020
1bfc12f
added travis_wait to yarn ci command
LotteHofstede Jul 14, 2020
d558a05
updates to travis scripts to prevent timeout
LotteHofstede Jul 14, 2020
1d7a9cd
removed unused ci script from package.json
LotteHofstede Jul 14, 2020
0da19b7
Merge pull request #793 from atmire/project-rename
tdonohue Jul 14, 2020
b8a5edd
Merge branch 'main' into w2p-71809_Add-server-side-X-Forwarded-For-in…
Atmire-Kristof Jul 14, 2020
47e7352
Rename master to main
tdonohue Jul 14, 2020
23001b6
Merge pull request #794 from tdonohue/rename_master_to_main
tdonohue Jul 14, 2020
8d399fd
Initial issue templates
tdonohue Jul 14, 2020
eeec39b
remove debug log
artlowel Jul 15, 2020
5088da4
Create pull_request_opened.yml
tdonohue Jul 15, 2020
2959b73
Create issue_opened.yml
tdonohue Jul 15, 2020
31e97ee
Merge pull request #796 from DSpace/tdonohue-issue-action
tdonohue Jul 15, 2020
7ff250f
Merge pull request #795 from DSpace/tdonohue-pr-action
tdonohue Jul 15, 2020
a38df38
Update issue templates
tdonohue Jul 15, 2020
130a588
Merge branch 'main' into DS-630-Item_delete_broken
samuelcambien Jul 16, 2020
cf2759f
Update and rename .github/workflows/pull_request_opened.yml to .githu…
tdonohue Jul 16, 2020
84451b1
Merge pull request #758 from atmire/DS-630-Item_delete_broken
tdonohue Jul 16, 2020
b3e90cb
Merge pull request #792 from atmire/X-Forwarded-For-Interceptor
tdonohue Jul 16, 2020
d467af4
lgtm feedback fixes
LotteHofstede Jul 17, 2020
a68428c
Merge branch 'main' into metadata-and-relationships-combined-in-submi…
LotteHofstede Jul 17, 2020
ee8ad12
removed remaining unnecessary imports for lgtm
LotteHofstede Jul 17, 2020
091ec6c
added missing typedoc + removed console.logs
LotteHofstede Jul 22, 2020
7254816
added test
LotteHofstede Jul 22, 2020
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
  •  
  •  
  •  
31 changes: 19 additions & 12 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
.git
node-modules
__build__
__server_build__
.idea
.vscode
.DS_Store
*.iml

# Build folders
node_modules
build
dist
typings
tsd_typings
npm-debug.log
dist
coverage
.idea
*.iml
__build__
__server_build__

# Node
*.log
npm-debug.log.*

# Angular files
*.ngfactory.ts
*.css.shim.ts
*.scss.shim.ts
.DS_Store

# Webpack files
webpack.records.json
npm-debug.log.*
morgan.log
yarn-error.log
*.css
package-lock.json
3 changes: 1 addition & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# http://editorconfig.org

# Editor configuration, see https://editorconfig.org
root = true

[*]
Expand Down
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://github.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/[email protected]
# 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
28 changes: 28 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
## 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

## Description
Short summary of changes (1-2 sentences).

## Instructions for Reviewers
Please add a more detailed description of the changes made by your PR. At a minimum, providing a bulleted list of changes in your PR is helpful to reviewers.

List of changes in this PR:
* First, ...
* Second, ...

**Include guidance for how to test or review your PR.** This may include: steps to reproduce a bug, screenshots or description of a new feature, or reasons behind specific changes.

## Checklist
_This checklist provides a reminder of what we are going to look for when reviewing your PR. You need not complete this checklist prior to creating your PR (draft PRs are always welcome). If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!_

- [ ] 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 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/main/LICENSE) based on the [Licensing of Contributions](https://wiki.lyrasis.org/display/DSPACE/Code+Contribution+Guidelines#CodeContributionGuidelines-LicensingofContributions) documentation.
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
9 changes: 7 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ npm-debug.log

/build/

/config/environment.dev.js
/config/environment.prod.js
/src/environments/environment.ts
/src/environments/environment.dev.ts
/src/environments/environment.prod.ts

/coverage

Expand All @@ -34,3 +35,7 @@ yarn-error.log
*.css

package-lock.json

.java-version

.env
73 changes: 43 additions & 30 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,53 +1,66 @@
sudo: required
os: linux
dist: bionic
language: node_js

# Enable caching for yarn & node_modules
cache:
yarn: true

node_js:
- "10"
- "12"

# Install latest chrome (for e2e headless testing). Run an update if needed.
addons:
apt:
sources:
- google-chrome
packages:
- google-chrome-stable
update: true

env:
# Install the latest docker-compose version for ci testing.
# The default installation in travis is not compatible with the latest docker-compose file version.
COMPOSE_VERSION: 1.24.1
# 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/api'
DSPACE_REST_SSL: false

services:
- xvfb

before_install:
# Docker Compose Install
- curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
- chmod +x docker-compose
- sudo mv docker-compose /usr/local/bin
# Check our versions of everything
- echo "Check versions"
- yarn -v
- docker-compose -v
- google-chrome-stable --version

install:
# Start up DSpace 7 using the entities database dump
# Start up a test DSpace 7 REST backend using the entities database dump
- docker-compose -f ./docker/docker-compose-travis.yml up -d
# Use the dspace-cli image to populate the assetstore. Trigger a discovery and oai update
# Use the dspace-cli image to populate the assetstore. Triggers a discovery and oai update
- docker-compose -f ./docker/cli.yml -f ./docker/cli.assetstore.yml run --rm dspace-cli
# Install all local dependencies (retry if initially fails)
- travis_retry yarn install

before_script:
- echo "Check Docker containers"
- docker container ls
# The following line could be enabled to verify that the rest server is responding.
# Currently, "yarn run build" takes enough time to run to allow the service to be available
#- curl http://localhost:8080/
#- echo "Check REST API available (via Docker)"
#- curl http://localhost:8080/server/

script:
# build app and run all tests
- ng lint
- travis_wait yarn run build:prod
- yarn test:headless
- yarn run e2e:ci

after_script:
# Shutdown docker after everything runs
- docker-compose -f ./docker/docker-compose-travis.yml down

language: node_js

node_js:
- "8"
- "10"

cache:
yarn: true

bundler_args: --retry 5

script:
- yarn run build
- yarn run ci
- cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
# After a successful build and test (see 'script'), send code coverage reports to coveralls.io
# These code coverage reports are generated by the coveralls node module in our package.json
after_success:
- cat coverage/dspace-angular/lcov.info | ./node_modules/coveralls/bin/coveralls.js
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# This image will be published as dspace/dspace-angular
# See https://dspace-labs.github.io/DSpace-Docker-Images/ for usage details

FROM node:8-alpine
FROM node:12-alpine
WORKDIR /app
ADD . /app/
EXPOSE 3000
EXPOSE 4000

RUN yarn install
CMD yarn run watch
# We run yarn install with an increased network timeout (5min) to avoid "ESOCKETTIMEDOUT" errors from hub.docker.com
# See, for example https://github.com/yarnpkg/yarn/issues/5540
RUN yarn install --network-timeout 300000
CMD yarn run start:dev
39 changes: 39 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
DSpace source code BSD License:

Copyright (c) 2002-2020, LYRASIS. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

- Neither the name DuraSpace nor the name of the DSpace Foundation
nor the names of its contributors may be used to endorse or promote
products derived from this software without specific prior written
permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.


DSpace uses third-party libraries which may be distributed under
different licenses to the above. Information about these licenses
is detailed in the LICENSES_THIRD_PARTY file at the root of the source
tree. You must agree to the terms of these licenses, in addition to
the above DSpace source code license, in order to use this software.
15 changes: 15 additions & 0 deletions LICENSES_THIRD_PARTY
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

DSpace uses third-party libraries which may be distributed under different licenses.
A summary of all third-party, production dependencies used by this user interface may be found by running:

npx license-checker --production --summary

(Additional license-checker options may be found in its documentation: https://github.com/davglass/license-checker)

You must agree to the terms of these licenses, in addition to the DSpace source code license, in order to use this
software.

PLEASE NOTE: Some third-party dependencies may be listed under multiple licenses if they are dual-licensed.
This is especially true of anything listed as GPL (or similar), as DSpace does NOT allow for the inclusion of
any dependencies that are solely released under GPL (or similar) terms. For more info see:
https://wiki.lyrasis.org/display/DSPACE/Code+Contribution+Guidelines#CodeContributionGuidelines-LicensingofContributions
Loading