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

Edit user page - added missing info #626

Open
wants to merge 310 commits into
base: dtq-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
310 commits
Select commit Hold shift + click to select a range
c73fdb8
feature/de-6-google-scholar-metadata-mapping updated metadata.service.ts
milanmajchrak Aug 31, 2022
e97b2a0
feature/pid-5-manage-handle-table handle administration
milanmajchrak Sep 14, 2022
3e638c9
feature/pid-5-fix-unknown-error the request was sent to the 'localhos…
milanmajchrak Sep 22, 2022
31770c5
Update deploy.yml
MajoBerger Oct 3, 2022
11cddcd
import licenses to dspace
MajoBerger Oct 3, 2022
d1a2527
fix
MajoBerger Oct 3, 2022
6149aa5
Fixed handle table searching and the admin sidebar menu option - mana…
Oct 3, 2022
0d5dac0
added data import thru python lib (#109)
MajoBerger Oct 10, 2022
50034e4
feature/dtq-dev-lf (#104) license framework
milanmajchrak Dec 2, 2022
64c0196
feature/laf-4-item-new-version (#121) showSubmitter was still called
milanmajchrak Jan 5, 2023
f6e8d50
feature/aai-6-federated-login (#112) discojuice
milanmajchrak Jan 19, 2023
78277f2
feature/aai-2-missing-idp-header (#114) idp header forms
milanmajchrak Jan 19, 2023
3a819ed
laf-1-ref-box (#122)
milanmajchrak Jan 19, 2023
999eb1d
Update start.sh
milanmajchrak Jan 27, 2023
e15cca2
fix for dspace-break-test (#126)
MajoBerger Jan 31, 2023
509dc19
internal/add-matomo-startup-script-into-pipeline (#127)
milanmajchrak Feb 1, 2023
5d08abb
feature/stat-1-create-api-track-events (#124) item view statistics
milanmajchrak Feb 3, 2023
179b4fd
fat solr
MajoBerger Feb 6, 2023
0ab0386
really fat solr
MajoBerger Feb 6, 2023
ecf8f48
extended solr memory to 4 GB
MajoBerger Feb 7, 2023
bf743b7
only deploy on dev-5 after docker images are built
MajoBerger Feb 7, 2023
6731865
customize-clarin-dspace721-home-page (#130) home page and search page
milanmajchrak Feb 13, 2023
c172929
Add redirection links for the statistics and profile to the home page…
milanmajchrak Feb 14, 2023
d43ae3b
Created clarin-search component to separate /mydspace from /search (#…
milanmajchrak Feb 15, 2023
f5039b4
internal/complex-input-type-validation (#137)
milanmajchrak Feb 16, 2023
a589b28
internal/search-page-fix-wrong-pr (#140) search-component: missing `c…
milanmajchrak Feb 16, 2023
55867ca
Search is working - it redirect (#142)
milanmajchrak Feb 16, 2023
0941ffb
internal/downloading-bitstreams-by-license-not-work (#144) add email …
milanmajchrak Feb 20, 2023
c1751c0
enable debug of backend
MajoBerger Feb 22, 2023
9703d58
internal/item-page-lookfeel (#147)changed item page
milanmajchrak Feb 23, 2023
9687c61
fixed matomo container deployment
MajoBerger Feb 23, 2023
b7eeeaa
custom run (with debug enabled) for dspace container
MajoBerger Feb 23, 2023
416b549
internal/missing-search-page-paggination (#150) object-list component…
milanmajchrak Feb 24, 2023
79bb1e7
internal/license-selector-not-assignee-license
milanmajchrak Feb 24, 2023
fe03c1f
migration2clarin7/unfinished-submissions-not-listed (#153)
milanmajchrak Apr 25, 2023
b8e4503
migration2clarin7/fix-different-separator-in-crosswalks (#155)
milanmajchrak Apr 26, 2023
ba638d7
migration2clarin7/authors-name-surname-autocomplete (#161)
milanmajchrak Apr 27, 2023
61e9b1b
migration2clarin7/license-dropdown-missing-labels-2 (#164)
milanmajchrak Apr 28, 2023
80f6663
migration2clarin7/notice-step-is-missing (#159)
milanmajchrak Apr 28, 2023
9392b83
70-FE/license-page-missing-pagination-sorting (#166)
milanmajchrak Apr 28, 2023
fd4e822
11-FE/after-login-show-discojuice (#170)
milanmajchrak May 2, 2023
47c22a3
66-FE/clickable-metadata-item-view (#168)
milanmajchrak May 3, 2023
4af4fad
fix target so it matches dspace7 (#175)
kosarko May 12, 2023
15da456
103-fe/shibboleth-login-wrong-error-page (#177)
milanmajchrak May 15, 2023
c9b58c4
109-fe/license-label-icons-are-not-seen (#180)
milanmajchrak May 19, 2023
294fbb9
Fixed search redirection and license icons (#183)
milanmajchrak May 25, 2023
58c161c
Added encoding if the license name contains the plus character. (#185)
milanmajchrak May 25, 2023
57b0e5b
added erase database workflow
MajoBerger May 29, 2023
676f34a
redeploy after erase database
MajoBerger May 29, 2023
6947a06
Also restart other containers, not just db
MajoBerger May 29, 2023
1a61fe9
Updated css colors. (#196)
milanmajchrak Jun 1, 2023
4c12cb9
114-fe/cannot-download-item-with-restricted-license (#187)
milanmajchrak Jun 16, 2023
dec54b2
122-fe/restricted-item-download-issues (#222)
milanmajchrak Jun 21, 2023
a756727
Just updated the dump. (#224)
milanmajchrak Jun 22, 2023
b920fd8
Internal/multideploy support (#238)
MajoBerger Jun 29, 2023
6f985df
fix correct branch in call after erase_db
MajoBerger Jun 29, 2023
1cb2232
add redeploy to dev-5 -> curl call to deploy action
MajoBerger Jun 30, 2023
35a08b3
forgotten " in github action
MajoBerger Jun 30, 2023
7623f40
correct redeploy branch in github action
MajoBerger Jun 30, 2023
5d857cd
trigger docker images on correct branch
MajoBerger Jul 6, 2023
0ca525e
fix updated postgres image on docker hub (#256)
MajoBerger Jul 11, 2023
2a135be
internal-7.2/add-cz-language (#271)
milanmajchrak Jul 19, 2023
5cbf796
disable deploy on dev-5 on version 7.2
MajoBerger Jul 21, 2023
5fc75c4
disabled deploy on dev-5 of dspace v7.2
MajoBerger Jul 21, 2023
958064f
Upgrade CLARIN-DSpace to 7.5 (#228)
milanmajchrak Aug 4, 2023
08be4f3
tul/merge-into-clarin-dspace (#316) (#317)
milanmajchrak Aug 8, 2023
4dd0348
ufal/some-messages-are-missing (#328)
milanmajchrak Aug 11, 2023
a212003
new project issue assign
MajoBerger Aug 21, 2023
f04a298
After click on Item link you won't be redirected to handle url. (#331)
milanmajchrak Aug 31, 2023
15d26d1
ufal/fe-date-is-not-showed-in-the-item-view
milanmajchrak Aug 31, 2023
e6503cf
ufal/update-index-for-language (#340)
milanmajchrak Sep 4, 2023
fba771e
changed entrypoint for dspace angular container (#343)
MajoBerger Sep 5, 2023
75b7c54
store logs in volume (#336)
MajoBerger Sep 5, 2023
17265ff
enable deployment of clarin
MajoBerger Sep 5, 2023
4b05f44
internal/fe-redirect-user-after-local-login (#341)
milanmajchrak Sep 5, 2023
00794c0
fix deployment (#346)
MajoBerger Sep 5, 2023
f6a0d18
correct tag (#347)
MajoBerger Sep 5, 2023
747033c
correct BE port
MajoBerger Sep 5, 2023
cb0684e
correct REST port for deployment
MajoBerger Sep 5, 2023
f88ea90
ufal/fe-show-login-modal-no-redirect (#344)
milanmajchrak Sep 6, 2023
af82f71
modify expected .env and docker composes (#349)
MajoBerger Sep 7, 2023
2e9c7d8
Update docker.yml
MajoBerger Sep 7, 2023
11be2fd
Update deploy.yml
MajoBerger Sep 7, 2023
1cc354a
ufal/fe-license-has-only-one-type
milanmajchrak Sep 8, 2023
fba10d4
fix escaped variables in deploy
MajoBerger Sep 14, 2023
29a7f0d
correct version of images
MajoBerger Sep 14, 2023
71615c6
correct deploy port for FE
MajoBerger Oct 2, 2023
774e409
added anonymous caching for frontend (#364)
MajoBerger Oct 3, 2023
80394f1
ufal/fe-22-54-download-preview-item (#362)
milanmajchrak Oct 4, 2023
4ab1746
ufal/fe-assetstore-files-are-not-loaded (#371)
milanmajchrak Oct 5, 2023
b897af4
ufal/fe-cannot-load-license-images-on-the-first-load (#373)
milanmajchrak Oct 6, 2023
1083c08
Update Dockerfile
milanmajchrak Oct 6, 2023
f9cbd6f
docker/build-push-action@v3 to v4
milanmajchrak Oct 9, 2023
c24a8b0
Update Dockerfile
milanmajchrak Oct 9, 2023
c744203
build images on dev-5
milanmajchrak Oct 9, 2023
f04920d
updated node to version 18:18 and generated a new yarn.lock file
milanmajchrak Oct 9, 2023
822fe95
Merge branch 'dtq-dev' of github.com:dataquest-dev/dspace-angular int…
milanmajchrak Oct 9, 2023
8b39d4b
internal/ngx-mask-update-fix (#375)
milanmajchrak Oct 10, 2023
2628757
Update docker.yml
MajoBerger Oct 10, 2023
664f515
Update erase_db.yml
milanmajchrak Oct 10, 2023
1e4ea47
internal/fe-redirection-from-where-login-was-initiated-still-not-work…
milanmajchrak Oct 13, 2023
6f146c2
ufal/fe-license-static-pages-are-missing (#380)
milanmajchrak Oct 16, 2023
d9c1b10
ufal/ref-box-content-is-not-immediately-copied
milanmajchrak Oct 16, 2023
6d9a0c7
ufal/fe-bottom-menu-during-submission-creation-must-be-fixed
milanmajchrak Oct 17, 2023
498720e
ufal/fe-remove-grid-option-in-the-search-page (#386)
milanmajchrak Oct 17, 2023
04c10c8
add sample file to assetstore on every deploy
MajoBerger Oct 26, 2023
342eb63
ufal/fe-update-vanilla-table-item-versions
milanmajchrak Oct 27, 2023
e7ba37a
The user is redirected to the right download page after clicking on `…
milanmajchrak Oct 30, 2023
3c899ff
ufal/there-is-static-source-in-html-preview
milanmajchrak Oct 30, 2023
de76edd
turn off S3
MajoBerger Oct 30, 2023
a1b476c
ufal/fe-history-table-is-still-seen (#392)
milanmajchrak Nov 2, 2023
40fdef0
[devOps] create new dspace instance with imported data
Nov 7, 2023
a88670e
Merge branch 'dtq-dev' of github.com:dataquest-dev/dspace-angular int…
Nov 7, 2023
30464f5
debug and fix deploy and import
MajoBerger Nov 7, 2023
1cc2467
linux, not windows
MajoBerger Nov 7, 2023
8ffb09e
[devOps] enable reusing, multiple instances
Nov 7, 2023
d89d199
Merge branch 'dtq-dev' of github.com:dataquest-dev/dspace-angular int…
Nov 7, 2023
e5dbe1f
[devOps] import/erase/deploy workflows refactored
Nov 7, 2023
fe3a774
[devOps] import/erase workflows
Nov 7, 2023
de038a6
[devOps] import/erase workflows
Nov 7, 2023
924f403
[devOps] import/erase workflows
Nov 7, 2023
955dbba
[devOps] import/erase workflows
Nov 7, 2023
1c06f92
use composite actions instead of reusable workflows
Nov 8, 2023
e11b778
[devOps] using composite
Nov 8, 2023
5df6f6a
[devOps] using composite
Nov 8, 2023
5e977cc
[devOps] using composite
Nov 8, 2023
dc745c8
[devOps] using composite
Nov 8, 2023
08583b6
Update deploy.yml, increase timeout
vidiecan Nov 8, 2023
1af9dd7
Update deploy.yml
MajoBerger Nov 13, 2023
e300d5b
fix deploy to respect "import" switch
MajoBerger Nov 13, 2023
5326ba8
ufal/downloading-restricted-bitstreams-not-working-properly (#393)
milanmajchrak Nov 15, 2023
c03a530
by default only deploy to INSTANCE=5
MajoBerger Nov 16, 2023
51bb185
give more time for postgres init
vidiecan Nov 16, 2023
75923d3
add even more time
Nov 16, 2023
4e44231
Update action.yml (#405)
milanmajchrak Nov 30, 2023
5965637
ufal/fe-update-json-messages
milanmajchrak Dec 1, 2023
560aada
ufal/fe-initiated-login-not-redirecting-from-collection
milanmajchrak Dec 1, 2023
a5c9d5d
[devOps] add dspace commands after import
Dec 1, 2023
5e3c540
ufal/fe-add-default-static-pages (#406)
milanmajchrak Dec 5, 2023
c4e8387
ufal/fe-shibboleth-validate-emails
milanmajchrak Dec 6, 2023
285a115
placeholder configs to be mounted into docker
MajoBerger Dec 6, 2023
b6e7c7d
change entrypoint so that containers has less logs and restarts (#412)
MajoBerger Dec 11, 2023
8637755
ufal/fe-get-user-ip-address (#420)
milanmajchrak Dec 14, 2023
40e3e85
ufal/fe-fix-static-page-redirect (#421)
milanmajchrak Dec 14, 2023
1d4c3a5
ufal/fe-download-bitstream-back-to-item (#423)
milanmajchrak Dec 14, 2023
ee0e746
ufal/fe-oversized-file-upload-message (#424)
milanmajchrak Dec 15, 2023
bb8ed5f
ufal/fe-item-view-license-box (#427)
milanmajchrak Dec 19, 2023
ddee862
ufal/fe-email-restricted-download (#430)
milanmajchrak Dec 21, 2023
2d073dd
ufal/fe-not-show-shib-welcome-page
milanmajchrak Dec 21, 2023
dd80fde
ufal/fe-s3-customization (#428)
milanmajchrak Dec 21, 2023
11de325
ufal/curate-translation-missing
milanmajchrak Jan 3, 2024
0484c9d
ufal/upload-on-first-attempt-fix (#435)
milanmajchrak Jan 3, 2024
6be9911
ufal/fe-show-checksum-result (#432)
milanmajchrak Jan 3, 2024
4e6c290
ufal/shibboleth-redirect-from-login (#433)
milanmajchrak Jan 3, 2024
051adab
internal/increase-server-memory-limit (#411)
milanmajchrak Jan 4, 2024
28425d4
ufal/shibboleth-encode-redirecturl (#438)
milanmajchrak Jan 5, 2024
d663b56
internal/fix-failing-it (#437)
milanmajchrak Jan 5, 2024
602e5d9
internal/docker-remove-orphans (#439)
milanmajchrak Jan 5, 2024
b45168e
internal/update-config
milanmajchrak Jan 8, 2024
58b97f6
internal/fe-upgrade-clarin-dspace-7.6 (#450)
milanmajchrak Jan 30, 2024
3ee5151
Update docker.yml (#452)
milanmajchrak Jan 31, 2024
a38dca1
The BE was started without instance (#453)
milanmajchrak Jan 31, 2024
8453dc5
Copying of solr configs were missing from the docker-compose-rest (#454)
milanmajchrak Jan 31, 2024
431ea2b
configured path (#455)
milanmajchrak Jan 31, 2024
97b25bb
Internal/run container in production mode (#456)
milanmajchrak Feb 1, 2024
34cf136
Use ENV - production in the dspace-ui.json (#457)
milanmajchrak Feb 1, 2024
85a2224
The docker-compose-rest has defined network which is not the same lik…
milanmajchrak Feb 1, 2024
980c97a
Update deploy.yml (#459)
milanmajchrak Feb 2, 2024
3c5a02a
Update deploy.yml (#461)
milanmajchrak Feb 2, 2024
af6b4f5
Update deploy.yml (#462)
milanmajchrak Feb 2, 2024
7c745fe
ufal/cannot-login-after-upgrade
milanmajchrak Feb 12, 2024
acb3dbc
ufal/cannot-load-user-metadata
milanmajchrak Feb 12, 2024
55f13b2
ufal/license-agreement-multiple-records (#516)
milanmajchrak Feb 15, 2024
033211d
internal/update-deploy-s3-props (#448)
milanmajchrak Feb 15, 2024
0759de6
ufal/discojuice-not-popped-up (#515)
milanmajchrak Feb 15, 2024
7fffe19
ufal/search-page-without-results (#517)
milanmajchrak Feb 15, 2024
e4c2d91
internal/fix-deploy-s3-props
milanmajchrak Feb 20, 2024
ebfe8dc
ufal/s3-checksum-improvements (#518)
milanmajchrak Feb 20, 2024
6c188e2
add information about modified entrypoint (#520)
MajoBerger Feb 22, 2024
54186ec
correct branches for main gh actions
MajoBerger Feb 22, 2024
ba5e462
Internal/rework actions (#523)
MajoBerger Feb 23, 2024
ecbe407
ipranges must also be separated by instance number (#522)
milanmajchrak Feb 23, 2024
6a34fe7
internal/discojuice-missing-port
milanmajchrak Feb 23, 2024
02604e6
make deploy action work (#525)
MajoBerger Feb 23, 2024
e48f092
Fix erase options on deploy (#526)
MajoBerger Feb 23, 2024
dadf287
rm unused import action (#527)
MajoBerger Feb 23, 2024
c6c0587
add version to FE + improve build action (#528)
MajoBerger Feb 26, 2024
8214715
Fix all mistakes in the /home page (#529)
milanmajchrak Feb 27, 2024
de24082
longer deploy limit
MajoBerger Feb 29, 2024
3af9118
Merge branch 'dtq-dev' of github.com:dataquest-dev/dspace-angular int…
MajoBerger Feb 29, 2024
5fb2ccf
wrongly commited file
MajoBerger Feb 29, 2024
6a16eb1
introduce release pipeline
MajoBerger Mar 1, 2024
47e3b0f
add necessary attribute to release-action
MajoBerger Mar 1, 2024
655df67
warning comment for erase-db action
MajoBerger Mar 1, 2024
4ac19ac
correct support images while testing (solr) (#534)
MajoBerger Mar 4, 2024
8b4974f
fix ipranges in docker composes (#536)
MajoBerger Mar 5, 2024
cfebfeb
Create create_bitstreams.yml
MajoBerger Mar 7, 2024
363c724
fix a bad save
MajoBerger Mar 7, 2024
c48ef6c
Fixed all mistakes in the Item View page (#532)
milanmajchrak Mar 7, 2024
d856c7c
Fixed all mistakes in the Search page (#537)
milanmajchrak Mar 15, 2024
0f6ab8c
Prettified the DOI metadata field - removed the DOI resolver from met…
milanmajchrak Mar 15, 2024
e513020
Internal/fix create bitstreams (#541)
MajoBerger Mar 18, 2024
4909cbf
fixed non-created admin user
MajoBerger Mar 18, 2024
6c4f49c
fixed order
MajoBerger Mar 18, 2024
82961d0
Show DOI in the refbox if the Item has some. (#540)
milanmajchrak Mar 18, 2024
8df8261
Show authors from the `dc.contributor.other` metadata field (#544)
milanmajchrak Mar 18, 2024
e04e24c
UI - fixed small changes (#543)
milanmajchrak Mar 18, 2024
406cefb
Update translates and sorting (#551)
milanmajchrak Mar 25, 2024
7731d5c
Fixed refbox and copied citations - ignore authors if they are unknow…
milanmajchrak Mar 26, 2024
3cc7823
Load only first values of the `subject` facet in the home page. (#553)
milanmajchrak Mar 28, 2024
7a8e8e7
Call reindexing solr and oai-pmh after data pump migration (#556)
milanmajchrak Apr 4, 2024
d47698d
Update docker compose command (#588)
milanmajchrak Apr 9, 2024
5487ea5
Updated text color in the license page (#593)
milanmajchrak Apr 11, 2024
1c1ccc3
Add czech translation to Edit Item - Curate (#592)
milanmajchrak Apr 11, 2024
98cce16
Increased timeout for selecting content from 100 to 300ms (#594)
milanmajchrak Apr 11, 2024
816c237
[devOps] testing create_bitstreams task (#601)
vidiecan Apr 16, 2024
dde0175
rearrange build (#603)
MajoBerger Apr 16, 2024
5919329
codestyle create_bitstreams.yml
vidiecan Apr 16, 2024
9e7d0e4
[devOps] simplifying create bitstreams
Apr 16, 2024
dbb4f8d
[devOps] fix urls, make pip install quiet
Apr 16, 2024
e623465
fix deploy action(#604)
MajoBerger Apr 17, 2024
0fc541a
[devOps] renamed import project to to dspace-import
Apr 18, 2024
565aae5
[devOps] fix path
Apr 18, 2024
c57428c
strip / at the end
Apr 18, 2024
c17962c
Updated style for outlined buttons (#597)
milanmajchrak Apr 23, 2024
0e5117f
Updated browsing links to do not overflow to the next line (#598)
milanmajchrak Apr 23, 2024
6d2a61e
Update ref box - show publisher if there are not authors
milanmajchrak Apr 23, 2024
c4f4404
Encoded every search parameter. (#600)
milanmajchrak Apr 23, 2024
0d67ca4
dspace-cli needs configs (#555)
kosarko Apr 23, 2024
fb0f7cb
Run playwright after deploy with cURL
MajoBerger Apr 23, 2024
35a1b1a
remove references to TUL
MajoBerger Apr 23, 2024
a9b4b64
deploy shows playwright result (#609)
MajoBerger Apr 23, 2024
eb6c969
License label - do not require icon and Edit license - correctly load…
milanmajchrak Apr 24, 2024
930086e
tune up playwright after deploy
MajoBerger Apr 24, 2024
ae12954
correct wait times
MajoBerger Apr 24, 2024
74d330c
correct " in action
MajoBerger Apr 25, 2024
2da676b
correct condition in deploy-playwright-tests
MajoBerger Apr 25, 2024
4d78432
Rreplace lindat repository url in static pages (#596)
milanmajchrak Apr 29, 2024
4ce3bbd
Fixed redirecting to distribution license (#613)
milanmajchrak May 2, 2024
81e0ae1
Load discojuice in browser, not in the server (#614)
milanmajchrak May 6, 2024
b90c4e8
Check if the IP address is in the download form. Add IP address as us…
milanmajchrak May 6, 2024
f5810f2
Internal/rest test after deploy (#615)
MajoBerger May 7, 2024
8d4f32d
Login if restricted Item - accessing via `..handle/` url (#612)
milanmajchrak May 7, 2024
c6c5bbd
Show `Download all as ZIP` button only when all conditions are met (#…
milanmajchrak May 8, 2024
f795ca7
Download restricted zip (#618)
milanmajchrak May 13, 2024
18cfb6e
Edit Item's license (#619)
milanmajchrak May 20, 2024
9ebbb09
Complex input field issues (#617)
milanmajchrak May 20, 2024
22711d7
Merge pull request #2802 from DSpace/backport-2766-to-dspace-7_x (#621)
milanmajchrak May 20, 2024
b5d7b5a
Added a user last login info.
milanmajchrak May 27, 2024
f5528c8
Added part of the subscription component.
milanmajchrak May 27, 2024
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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
11 changes: 0 additions & 11 deletions .browserslistrc

This file was deleted.

3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ trim_trailing_whitespace = false

[*.ts]
quote_type = single

[*.json5]
ij_json_keep_blank_lines_in_code = 3
266 changes: 266 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,266 @@
{
"root": true,
"plugins": [
"@typescript-eslint",
"@angular-eslint/eslint-plugin",
"eslint-plugin-import",
"eslint-plugin-jsdoc",
"eslint-plugin-deprecation",
"unused-imports",
"eslint-plugin-lodash",
"eslint-plugin-jsonc"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"./tsconfig.json",
"./cypress/tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"max-classes-per-file": [
"error",
1
],
"comma-dangle": [
"off",
"always-multiline"
],
"eol-last": [
"error",
"always"
],
"no-console": [
"error",
{
"allow": [
"log",
"warn",
"dir",
"timeLog",
"assert",
"clear",
"count",
"countReset",
"group",
"groupEnd",
"table",
"debug",
"info",
"dirxml",
"error",
"groupCollapsed",
"Console",
"profile",
"profileEnd",
"timeStamp",
"context"
]
}
],
"curly": "error",
"brace-style": [
"error",
"1tbs",
{
"allowSingleLine": true
}
],
"eqeqeq": [
"error",
"always",
{
"null": "ignore"
}
],
"radix": "error",
"guard-for-in": "error",
"no-bitwise": "error",
"no-restricted-imports": "error",
"no-caller": "error",
"no-debugger": "error",
"no-redeclare": "error",
"no-eval": "error",
"no-fallthrough": "error",
"no-trailing-spaces": "error",
"space-infix-ops": "error",
"keyword-spacing": "error",
"no-var": "error",
"no-unused-expressions": [
"error",
{
"allowTernary": true
}
],
"prefer-const": "off", // todo: re-enable & fix errors (more strict than it used to be in TSLint)
"prefer-spread": "off",
"no-underscore-dangle": "off",

// todo: disabled rules from eslint:recommended, consider re-enabling & fixing
"no-prototype-builtins": "off",
"no-useless-escape": "off",
"no-case-declarations": "off",
"no-extra-boolean-cast": "off",

"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "ds",
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "ds",
"style": "kebab-case"
}
],
"@angular-eslint/pipe-prefix": [
"error",
{
"prefixes": [
"ds"
]
}
],
"@angular-eslint/no-attribute-decorator": "error",
"@angular-eslint/no-forward-ref": "error",
"@angular-eslint/no-output-native": "warn",
"@angular-eslint/no-output-on-prefix": "warn",
"@angular-eslint/no-conflicting-lifecycle": "warn",

"@typescript-eslint/no-inferrable-types":[
"error",
{
"ignoreParameters": true
}
],
"@typescript-eslint/quotes": [
"error",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"@typescript-eslint/semi": "error",
"@typescript-eslint/no-shadow": "error",
"@typescript-eslint/dot-notation": "error",
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/prefer-function-type": "error",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "property",
"format": null
}
],
"@typescript-eslint/member-ordering": [
"error",
{
"default": [
"static-field",
"instance-field",
"static-method",
"instance-method"
]
}
],
"@typescript-eslint/type-annotation-spacing": "error",
"@typescript-eslint/unified-signatures": "error",
"@typescript-eslint/ban-types": "warn", // todo: deal with {} type issues & re-enable
"@typescript-eslint/no-floating-promises": "warn",
"@typescript-eslint/no-misused-promises": "warn",
"@typescript-eslint/restrict-plus-operands": "warn",
"@typescript-eslint/unbound-method": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/restrict-template-expressions": "off",
"@typescript-eslint/require-await": "off",

"deprecation/deprecation": "warn",

"import/order": "off",
"import/no-deprecated": "warn",
"import/no-namespace": "error",
"unused-imports/no-unused-imports": "error",
"lodash/import-scope": [
"error",
"method"
]
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {
// todo: re-enable & fix errors
"@angular-eslint/template/no-negated-async": "off",
"@angular-eslint/template/eqeqeq": "off"
}
},
{
"files": [
"*.json5"
],
"extends": [
"plugin:jsonc/recommended-with-jsonc"
],
"rules": {
"no-irregular-whitespace": "error",
"no-trailing-spaces": "error",
"jsonc/comma-dangle": [
"error",
"always-multiline"
],
"jsonc/indent": [
"error",
2
],
"jsonc/key-spacing": [
"error",
{
"beforeColon": false,
"afterColon": true,
"mode": "strict"
}
],
"jsonc/no-dupe-keys": "off",
"jsonc/quotes": [
"error",
"double",
{
"avoidEscape": false
}
]
}
}
]
}
16 changes: 16 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# By default, auto detect text files and perform LF normalization
# This ensures code is always checked in with LF line endings
* text=auto

# JS and TS files must always use LF for Angular tools to work
# Some Angular tools expect LF line endings, even on Windows.
# This ensures Windows always checks out these files with LF line endings
# We've copied many of these rules from https://github.com/angular/angular-cli/
*.js eol=lf
*.ts eol=lf
*.json eol=lf
*.json5 eol=lf
*.css eol=lf
*.scss eol=lf
*.html eol=lf
*.svg eol=lf
22 changes: 0 additions & 22 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

36 changes: 36 additions & 0 deletions .github/actions/erase-db/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: 'Erase dspace db'
description: 'CI/CD Erase db'

inputs:
INSTANCE:
description: 'port suffix'
required: true
type: string
NAME:
description: 'docker compose project name'
required: true
type: string

runs:
using: "composite"
steps:

- name: stop and remove containers
shell: bash
env:
INSTANCE: ${{ inputs.INSTANCE }}
run: |
docker stop dspacesolr$INSTANCE dspacedb$INSTANCE dspace$INSTANCE dspace-angular$INSTANCE || true
docker rm dspacesolr$INSTANCE dspacedb$INSTANCE dspace$INSTANCE dspace-angular$INSTANCE || true

- name: remove volumes
shell: bash
env:
NAME: ${{ inputs.NAME }}
run: |
# # condition below was found by accident and appears to be useless. Investigate later.
# be sure to have INSTANCE set
# if [[ "x${NAME}" != "dspace-" ]]; then
docker volume rm $(docker volume ls --filter name="${NAME}_" -q) || true
# fi;

Loading
Loading