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

ufal/license-agreement-multiple-records #2806

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
236 commits
Select commit Hold shift + click to select a range
6eca328
Create a new component and added two simple unit tests. Added tutoria…
Mar 29, 2022
565beb5
Added Integration test to check footer color. Changed BE API to local…
Mar 29, 2022
d840921
Created README-dtq.md and added helpful information to the README-dtq.md
Mar 30, 2022
0b3b070
Changed test configuration to dtq test configuration file
Mar 30, 2022
fa18750
Revert changes
Mar 30, 2022
70792b0
Fixed README.md and lint
Mar 30, 2022
0c72916
Updated README.md
Mar 30, 2022
5c17cdb
Update issue templates
milanmajchrak Mar 30, 2022
1b1cdd7
Update pull_request_template.md
milanmajchrak Mar 30, 2022
b2ea1bc
Update pull_request_template.md
milanmajchrak Mar 30, 2022
d0fc6ec
fixed workflow actions
MajoBerger Mar 31, 2022
58b262a
updated docker destination
MajoBerger Mar 31, 2022
52355de
Update README.md
milanmajchrak Apr 1, 2022
758faaf
Update README.md
milanmajchrak Apr 1, 2022
d360ff8
Update pull_request_template.md
milanmajchrak Apr 1, 2022
36ca27d
Update pull_request_template.md
milanmajchrak Apr 1, 2022
945eef1
Merge pull request #8 from dataquest-dev/update-readme
milanmajchrak Apr 1, 2022
513889e
Merge pull request #10 from dataquest-dev/update-pull-request-template
milanmajchrak Apr 1, 2022
c9fc7ea
Updated build status to get information from dtq-dev
Apr 1, 2022
d265e42
Updated codecov to the dataquest-dev
Apr 4, 2022
b721a06
Merge branch 'dtq-dev' into test-first-touch
milanmajchrak Apr 5, 2022
eddb3df
Merge pull request #2 from dataquest-dev/test-first-touch
milanmajchrak Apr 5, 2022
dfb03b0
creating GH action to auto-assign issues
MajoBerger Apr 11, 2022
0463a51
Rename in project columns: To do -> Backlog
MajoBerger Apr 21, 2022
b861798
only run on pushes to main
MajoBerger Apr 21, 2022
3c095cb
PRs should not be in project
MajoBerger Apr 21, 2022
8ef33d6
update issue assign action with new token
MajoBerger Apr 25, 2022
48d6172
publish images from branch dtq-dev-present as well
MajoBerger May 10, 2022
d79a818
fixed testing on our dspace, not the original
MajoBerger May 16, 2022
eb0c3f9
Deploy (#25)
MajoBerger Jun 2, 2022
94ac004
[devOps] build vs image in docker-compose
Jun 2, 2022
ff0090c
[devOps] reverting changes done to fix the login issue, added a few c…
Jun 6, 2022
94d2ee7
added scripts for harvesting
Jun 8, 2022
7493790
invalid variables interpolation
Jun 8, 2022
2b5d723
Import collection with community
Jun 8, 2022
448a15a
Import collection with community
Jun 8, 2022
f3be2a2
fixed required changes
Jun 9, 2022
e9c29e8
Merge pull request #49 from dataquest-dev/internal/oai-pmh-harvesting
milanmajchrak Jun 9, 2022
c8d0927
changed env path
Jun 13, 2022
b812c97
Merge pull request #51 from dataquest-dev/internal/fix-haresting
milanmajchrak Jun 13, 2022
6d7ba7e
added DOCKER_OWNER as dataquest because was pulling dspace/dspace-cli…
Jun 14, 2022
b77c1cf
Merge pull request #52 from dataquest-dev/internal/oai-pmh-harvesting
milanmajchrak Jun 14, 2022
8926077
Added Integraton test which check submission UI
Jul 6, 2022
9437872
Merge pull request #56 from dataquest-dev/internal/submission-ui-testing
milanmajchrak Jul 8, 2022
6a43ad2
dispatch docker images
MajoBerger Jul 18, 2022
f7fd971
feature/se-2-type-bind-upstream. Copied from DSpace - 7.3.
milanmajchrak Jul 25, 2022
93322e5
Added creating normal user to start.sh used by deploy action
MajoBerger Jul 28, 2022
7f9057b
We only want deploy on push to dtq-dev
MajoBerger Jul 29, 2022
cf8771b
feature/se-6-openaire + autocomplete and complex input field
milanmajchrak Aug 3, 2022
b69c7bb
restart docker on power shortage
MajoBerger Aug 5, 2022
5462ab9
feature/se-3-required-fields-are-not-showing
milanmajchrak Aug 9, 2022
8b9d71a
feature/se-6-fix-errors-from-testing (#79) Funding type was null, Can…
milanmajchrak Aug 9, 2022
b2f41d4
internal/changed location of database dump for the docker test enviro…
MajoBerger Aug 16, 2022
c8a9d29
Internal/reindex action (#86)
MajoBerger Aug 18, 2022
a8bbd8f
made reindex script executable
MajoBerger Aug 18, 2022
db13d24
add clean cache
MajoBerger Aug 18, 2022
68c894e
removed extra -it
MajoBerger Aug 18, 2022
01a9e54
feature/se-6-fix-errors-from-testing added scrollable dropdown compon…
milanmajchrak Aug 18, 2022
a9d2900
feature/pid-7-tombstone (#68)
milanmajchrak Aug 22, 2022
70b7244
added MP to PR templates
MajoBerger Aug 31, 2022
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
dbf5130
Load required input fields only if are loaded user metadata or the us…
milanmajchrak Feb 14, 2024
1e2af6f
Added ID into ClarinUserRegistration model
milanmajchrak Feb 14, 2024
935d291
Added a search method in the userMetadataService
milanmajchrak Feb 14, 2024
f039432
The filtered user metadata are loaded from the BE
milanmajchrak Feb 14, 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.

35 changes: 35 additions & 0 deletions .github/actions/erase-db/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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: |
# be sure to have INSTANCE set
if [[ "x${NAME}" != "dspace-" ]]; then
docker volume rm $(docker volume ls --filter name="${NAME}_" -q) || true
fi;

Loading