Commit Graph

297 Commits

Author SHA1 Message Date
Davide Negretti
88d5f02df2 Merge branch 'main-gh4s' into CST-6782-refactor
# Conflicts:
#	src/app/shared/cookies/browser-klaro.service.spec.ts
#	src/app/shared/shared.module.ts
2022-09-29 22:15:28 +02:00
Samuel Cambien
f5ff72372c issue #1404, issue #1762, issue #1763 Add support for line breaks, markdown and mathjax in metadata - add sanitize-html types to devdependencies for documentation 2022-09-23 14:16:45 +02:00
Samuel Cambien
b345b27c0f Merge branch 'main' into w2p-93963-Add_support_for_line_breaks_markdown_and_mathjax_in_metadata
# Conflicts:
#	package.json
#	src/app/shared/shared.module.ts
#	src/app/shared/truncatable/truncatable-part/truncatable-part.component.html
#	src/config/app-config.interface.ts
#	src/config/default-app-config.ts
#	src/environments/environment.test.ts
#	src/styles/_global-styles.scss
#	yarn.lock
2022-09-23 13:48:37 +02:00
Samuel Cambien
2f71dc358b issue #1404, issue #1762, issue #1763 Add support for line breaks, markdown and mathjax in metadata 2022-09-23 13:37:11 +02:00
Sufiyan Shaikh
0953806865 script insert and test cases with dynamic site key 2022-09-02 14:38:08 +05:30
Sufiyan Shaikh
50e849dd44 [UXP-10] reCAPTCHA angular component 2022-09-02 14:33:17 +05:30
dependabot[bot]
ed0204ab9c Bump moment from 2.29.2 to 2.29.4
Bumps [moment](https://github.com/moment/moment) from 2.29.2 to 2.29.4.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.2...2.29.4)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 15:56:19 +00:00
dependabot[bot]
577a92bc6b Bump terser from 4.8.0 to 4.8.1
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/commits)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21 02:25:52 +00:00
Giuseppe Digilio
bd02278f80 Merge branch 'main' into CST-5307
# Conflicts:
#	src/assets/i18n/en.json5
2022-06-08 16:53:11 +02:00
Tim Donohue
a1598f9f8a Merge pull request #1637 from 4Science/CST-5535
Add admin panel for actuator information
2022-06-08 09:11:58 -05:00
Giuseppe Digilio
24b8c6b606 Merge branch 'main' into CST-5307 2022-06-07 13:17:08 +02:00
dependabot[bot]
68a36c4635 Bump ejs from 3.1.6 to 3.1.8
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.8.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.8)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-03 21:50:02 +00:00
Tim Donohue
c6e591402f Merge pull request #1604 from DSpace/dependabot/npm_and_yarn/node-forge-1.3.1
Bump node-forge from 1.2.1 to 1.3.1
2022-06-03 15:54:18 -05:00
Tim Donohue
e2488b9848 Merge pull request #1593 from DSpace/dependabot/npm_and_yarn/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6
2022-06-03 15:21:50 -05:00
Tim Donohue
f1191c5428 Merge pull request #1592 from DSpace/dependabot/npm_and_yarn/moment-2.29.2
Bump moment from 2.29.1 to 2.29.2
2022-06-03 11:01:11 -05:00
Giuseppe Digilio
ebbae79854 Merge remote-tracking branch 'origin/main' into CST-5307
# Conflicts:
#	src/app/core/core.module.ts
#	src/app/profile-page/profile-page.component.spec.ts
#	src/app/profile-page/profile-page.component.ts
#	src/app/shared/shared.module.ts
2022-05-26 10:40:48 +02:00
Giuseppe Digilio
d751de0aa6 Merge remote-tracking branch 'origin/main' into CST-5535
# Conflicts:
#	src/app/admin/admin-sidebar/admin-sidebar.component.ts
2022-05-19 16:59:45 +02:00
Giuseppe Digilio
b906a65385 Merge remote-tracking branch 'origin/main' into CST-5535
# Conflicts:
#	package.json
2022-05-16 18:59:46 +02:00
Yura Bondarenko
21579d1525 Merge remote-tracking branch 'origin/main' into w2p-90978_Improve-initial-page-load_PR 2022-05-13 09:32:34 +02:00
Giuseppe Digilio
853dcecfb8 [CST-5307] Refactoring and adding missing unit tests 2022-05-10 18:14:00 +02:00
Giuseppe Digilio
675f3910cc [CST-5535] Refactoring health check server side request 2022-05-03 15:32:02 +02:00
Yura Bondarenko
63de6139a3 90978: Upgrade compression-webpack-plugin 2022-04-28 14:06:38 +02:00
Yura Bondarenko
1522c36ed0 Merge remote-tracking branch 'origin/main' into w2p-90978_Improve-initial-page-load_PR 2022-04-28 13:49:39 +02:00
Yura Bondarenko
7e391f0411 90978: Serve pre-compressed static files 2022-04-28 12:16:46 +02:00
Art Lowel
3bc5ee0253 pages loading twice poc
Cherry-picked from original branch started from Angular 13 PR
2022-04-27 11:58:43 +02:00
Yura Bondarenko
8d6f156db1 90918: Upgrade ng-dynamic-forms and RxJs
Copied over isNumeric from RxJs 6.x as it was removed from 7.x
Build & tests are broken, fixed in subsequent commit
2022-04-25 15:32:34 +02:00
Luca Giamminonni
9509d6d901 Merge remote-tracking branch '4Science-bitbucket/main' into CST-5307 2022-04-22 11:25:12 +02:00
dependabot[bot]
728bce56a4 Bump node-forge from 1.2.1 to 1.3.1
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 1.2.1 to 1.3.1.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.1)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 14:18:00 +00:00
dependabot[bot]
5dd7efcbab Bump moment from 2.29.1 to 2.29.2
Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 14:17:06 +00:00
dependabot[bot]
004f95b6dc Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-19 14:16:56 +00:00
Pratik Rajkotiya
88c324cb5a [CST-5307] Migrate Researcher Profile (Angular). 2022-04-12 17:04:32 +05:30
Art Lowel
708375593d add margin to compensate for the switch to preserveWhiteSpaces = false 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
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
48efccb53b 87968: Upgrade ngx-gallery 2022-04-08 17:57:16 +02:00
Yura Bondarenko
8e4f1993bf 87968: Automatic upgrade to NgRx 13 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
1b460fe1d3 87968: Automatic upgrade to Angular 13 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
5476062648 87968: Add unmet peer dependencies 2022-04-08 17:57:15 +02:00
Art Lowel
a47d7dd846 Upgrade ng-dynamic forms 2022-04-08 17:57:15 +02:00
Yura Bondarenko
9093ef4ae9 87968: Karma needs ts-node 10.2.1
Otherwise tests error out with
  Uncaught ReferenceError: sourceMapSupport is not defined

Check just-jeb/angular-builders issue 1046 for more info
2022-04-08 17:57:15 +02:00
Yura Bondarenko
29d8dd68f4 87968: Remove html-webpack-plugin
After updating to Angular 12, it causes ng serve to fail with
  Conflict: Multiple assets emit different content to the same filename index.html

Confirmed that the application still builds and runs properly without it.

This plugin isn't used by @angular-builders/custom-webpack since Angular 8 (see https://www.justjeb.com/post/customizing-angular-cli-build#viewer-51npg), this is just the first time it's actually causing problems for us.

Removed script-ext-html-webpack-plugin as well since that's an extension to html-webpack-plugin & can't run without it.
2022-04-08 17:57:15 +02:00
Yura Bondarenko
22c5976095 87968: Upgrade to Angular 12 2022-04-08 17:57:15 +02:00
Tim Donohue
fe0e414343 Upgrade Cypress 2022-03-04 14:42:47 -06:00
Tim Donohue
8d953f8488 Merge pull request #1538 from DSpace/dependabot/npm_and_yarn/nanoid-3.3.1
Bump nanoid from 3.1.30 to 3.3.1
2022-02-24 14:56:04 -06:00
Tim Donohue
40881cf550 Merge pull request #1531 from DSpace/dependabot/npm_and_yarn/url-parse-1.5.6
Bump url-parse from 1.5.3 to 1.5.6
2022-02-24 14:34:08 -06:00
Tim Donohue
bcbd64ad77 Merge pull request #1539 from DSpace/dependabot/npm_and_yarn/follow-redirects-1.14.9
Bump follow-redirects from 1.14.5 to 1.14.9
2022-02-24 14:22:02 -06:00