Commit Graph

6542 Commits

Author SHA1 Message Date
nibou230
459da211be Display the access status badges 2022-04-21 13:59:29 -04:00
Tim Donohue
9b56911c43 Merge pull request #1587 from atmire/Removing-unnecessary-circular-dependencies
Removing unnecessary circular dependencies
2022-04-21 08:39:49 -05:00
lotte
d806f4da95 Merge branch 'main' into Removing-unnecessary-circular-dependencies 2022-04-21 10:36:45 +02:00
Tim Donohue
e314a70957 Merge pull request #1600 from atmire/w2p-90155_fix-menu-issues
Fix for menu issues
2022-04-20 12:20:16 -05:00
Jens Vannerum
f49793ec04 90155: Unnused import and comments 2022-04-20 17:35:51 +02:00
Tim Donohue
2671a4cb83 Merge pull request #1599 from atmire/w2p-90797_issue-1430_redux-devtools-disable-support-in-prod-mode
Disable redux devtools support in prod mode
2022-04-20 09:06:15 -05:00
lotte
d364804c42 Removed circ dependency after merge with main 2022-04-20 15:34:32 +02:00
lotte
014fe1b733 fixes after merge with master 2022-04-20 14:48:18 +02:00
lotte
6784ac39f6 Merge branch 'main' into Removing-unnecessary-circular-dependencies 2022-04-20 14:47:55 +02:00
Tim Donohue
3a9d4fad95 Merge pull request #1597 from atmire/w2p-90263_issue-8205_no-embargoed-files-on-google-scholar-meta-tag
Fix for embargoed file links on Google Scholar Meta Tag "citation_pdf_url"
2022-04-19 17:12:40 -05:00
Alexandre Vryghem
743bbb6afe Merge branch 'main-atmire-github' into w2p-90797_issue-1430_redux-devtools-disable-support-in-prod-mode 2022-04-19 21:49:55 +02:00
Alexandre Vryghem
ffa61438f9 90797: Disable redux devtools in production mode 2022-04-19 21:35:16 +02:00
Tim Donohue
88ffc37894 Merge pull request #1567 from atmire/w2p-87968_Upgrade-to-Angular-13
Upgrade to Angular 13
2022-04-19 09:15:45 -05:00
lotte
7830d1c632 replaced package.json script shorthand to build.yml 2022-04-14 16:14:09 +02:00
lotte
ef7f6d1306 Added package.json short cut to check circular dependencies 2022-04-14 16:00:24 +02:00
Marie Verdonck
b80334f3f1 Merge branch 'w2p-90263_issue-8205_no-embargoed-files-on-google-scholar-meta-tag-7.0' into w2p-90263_issue-8205_no-embargoed-files-on-google-scholar-meta-tag 2022-04-13 15:50:57 +02:00
Marie Verdonck
32676fc500 90263: issue 8205 - check if downloadable before citation_pdf_url to source 2022-04-13 15:50:08 +02:00
Yura Bondarenko
f8297218ad 87968: Fix unstyled link issue 2022-04-08 17:58:25 +02:00
Yura Bondarenko
3f340c18f2 87968: Fix spacing issues via custom CSS 2022-04-08 17:58:23 +02:00
Yura Bondarenko
042a0dd389 87968: Revert previous spacing fixes 2022-04-08 17:57:16 +02:00
Yura Bondarenko
c736ebaebf Revert "87968: Increase Node --max_old_space_size"
This reverts commit 62e7615f1fa9b680120e7ab7dbef173a5e4679dc.
2022-04-08 17:57:16 +02:00
Art Lowel
708375593d add margin to compensate for the switch to preserveWhiteSpaces = false 2022-04-08 17:57:16 +02:00
Yura Bondarenko
0115c5217b 87968: Turn off preserveWhitespaces by default
And set to true explicitly for MyDSpace action components to preserve look
(see https://github.com/DSpace/dspace-angular/issues/903#issuecomment-713013310)
2022-04-08 17:57:16 +02:00
Yura Bondarenko
a14cc6fde2 87968: Run CI ESLint in --quiet mode 2022-04-08 17:57:16 +02:00
Yura Bondarenko
22ac66787a 87968: Kill app if still up after e2e tests 2022-04-08 17:57:16 +02:00
Yura Bondarenko
99c41b9e80 87968: Minor code changes to pass lint 2022-04-08 17:57:16 +02:00
Yura Bondarenko
bb51609af9 87968: Update ESLint disable/enable comments
eslint-disable max-classes-per-file only works at the top of the file now
2022-04-08 17:57:16 +02:00
Yura Bondarenko
b5911b8536 87968: Manual ESLint configuration
Extend recommended ESLint rulesets, disable rules that are too noisy or would require major code changes to resolve errors
Restore TSLint configuration as closely as possible
2022-04-08 17:57:16 +02:00
Yura Bondarenko
245977a432 87968: Automatic migration from TSLint to ESLint
Via `ng g @angular-eslint/schematics:convert-tslint-to-eslint`
2022-04-08 17:57:16 +02:00
Yura Bondarenko
ec6327edc2 87968: Automatic ESLint install
Via CLI suggestion when running `ng lint` w/o ESLint on Angular 13
2022-04-08 17:57:16 +02:00
Yura Bondarenko
cad76ff378 87968: Increase Node --max_old_space_size 2022-04-08 17:57:16 +02:00
Yura Bondarenko
59d46ffbdf 87968: Upgrade ng-bootstrap to v11
Some tests involving NgbModal now fail if setup with mock Injector without `get` method
2022-04-08 17:57:16 +02:00
Yura Bondarenko
5488d0f83a 87968: Remove unused import 2022-04-08 17:57:16 +02:00
Yura Bondarenko
48efccb53b 87968: Upgrade ngx-gallery 2022-04-08 17:57:16 +02:00
Yura Bondarenko
bfdda43a48 87968: Update devServer configuration 2022-04-08 17:57:16 +02:00
Yura Bondarenko
d78019cd39 87968: Fix unit tests 2022-04-08 17:57:15 +02:00
Yura Bondarenko
563956c5df 87968: Manual fixes after NgRx migration
Selector typing

Restored pre-13 behaviour where mock stores were reset after every test.
The upgrade caused multiple tests to start failing; we could solve this
by adjusting all of these one by one but that would take some time.
(see https://ngrx.io/guide/migration/v13#testing-reset-mock-store)
2022-04-08 17:57:15 +02:00
Yura Bondarenko
8e4f1993bf 87968: Automatic upgrade to NgRx 13 2022-04-08 17:57:15 +02:00
Yura Bondarenko
8f7389c83a 87968: Fix JSON5 parsing in Universal loader
Failed ~
  Error: export 'parse' (imported as 'JSON5') was not found in 'json5' (possible exports: default)

Only affected SSR: once CSR kicked in translations were loaded properly
2022-04-08 17:57:15 +02:00
Yura Bondarenko
49f470c07b 87968: Various dependency changes
Upgraded:
  zone.js
  ng-mocks
  @angular/cdk
  @ngtools/webpack
  @angular-builders/custom-webpack
  @nguniversal

Added:
 postcss-preset-env: fix spurious CSS warnings
 sass-loader: fix "can't resolve 'sass-loader'" & "the loader didn't return a string" errors
2022-04-08 17:57:15 +02:00
Yura Bondarenko
c1d870c32d 87968: Clean up after automatic upgrade
- Get rid of missed empty routerLinks
- Fix abstract property initializers
- Specify coverage reporter
2022-04-08 17:57:15 +02:00
Yura Bondarenko
1b460fe1d3 87968: Automatic upgrade to Angular 13 2022-04-08 17:57:15 +02:00
Yura Bondarenko
47c8ca7342 87968: Lift readyState complete check from Universal 12 2022-04-08 17:57:15 +02:00
Yura Bondarenko
ae89571519 87968: Fix unit tests 2022-04-08 17:57:15 +02:00
Yura Bondarenko
26d45fd5e7 87968: Remove angular2-text-mask dependency 2022-04-08 17:57:15 +02:00
Yura Bondarenko
3eb3afcc96 87968: Fix rxjs/internal imports 2022-04-08 17:57:15 +02:00
Yura Bondarenko
5476062648 87968: Add unmet peer dependencies 2022-04-08 17:57:15 +02:00
Yura Bondarenko
0e178ce1bc 87968: Fix missing theme assets
Adapt to changes in https://github.com/webpack-contrib/copy-webpack-plugin
2022-04-08 17:57:15 +02:00
Art Lowel
808d4e925a Enable source maps in dev mode 2022-04-08 17:57:15 +02:00
Art Lowel
a47d7dd846 Upgrade ng-dynamic forms 2022-04-08 17:57:15 +02:00