Commit Graph

12364 Commits

Author SHA1 Message Date
Yury Bondarenko
4a39f33006 Add to config.example.yml 2024-03-22 16:23:39 +01:00
Alexandre Vryghem
548cc2d670 Merge remote-tracking branch 'upstream/main' into created-metadata-service-for-metadata-operations_contribute-main 2024-03-22 16:19:27 +01:00
Giuseppe Digilio
73ffa703cb Merge branch 'DURACOM-234' into DURACOM-234-ANGULAR-17 2024-03-21 17:41:58 +01:00
Giuseppe Digilio
e0855a46cc [DURACOM-234] Remove unsupported node 16 2024-03-21 17:29:52 +01:00
Giuseppe Digilio
969b42fee1 [DURACOM-234] Fix tests 2024-03-21 16:34:42 +01:00
Giuseppe Digilio
abb284a2d6 [DURACOM-237] Fix tests 2024-03-21 16:33:32 +01:00
Giuseppe Digilio
5d24691bc2 Merged in DURACOM-240-mathjax (pull request #1488)
Replace mathjax pipe with directive
2024-03-21 12:17:44 +00:00
Giuseppe Digilio
b325701f9f [DURACOM-240] Fix test 2024-03-21 13:11:08 +01:00
Giuseppe Digilio
a652600c7f [DURACOM-234] Remove fdescribe 2024-03-21 13:10:33 +01:00
Giuseppe Digilio
e2bbb43395 Merge branch 'DURACOM-234' into DURACOM-240-mathjax
# Conflicts:
#	src/app/shared/utils/markdown.pipe.spec.ts
2024-03-21 12:57:31 +01:00
Giuseppe Digilio
152e724c75 [DURACOM-234] Fix tests 2024-03-21 12:56:45 +01:00
Yury Bondarenko
568574585b Workaround/document edge case where node can't be found by token 2024-03-21 10:35:04 +01:00
Yury Bondarenko
6e22b5376a Make rules more type-safe 2024-03-21 10:11:04 +01:00
Yury Bondarenko
b0758c23e5 Enforce plugin structure and generate documentation 2024-03-21 10:11:04 +01:00
Yury Bondarenko
e83a0cd741 Fix lint lint issues 2024-03-21 10:11:04 +01:00
Yury Bondarenko
ae50780e28 Enable linting for the lint plugins 2024-03-21 10:11:04 +01:00
Yury Bondarenko
9a27db3835 Lint e2e tests, enforce selectors 2024-03-21 10:11:04 +01:00
Yury Bondarenko
13e9808df2 Don't enforce ThemedComponent selectors in test HTML 2024-03-21 10:11:04 +01:00
Yury Bondarenko
3937be13f2 Custom ESLint rules to enforce new ThemedComponent selector convention
The following cases are covered:
- ThemedComponent wrapper selectors must not start with ds-themed-
- Base component selectors must start with ds-base-
- Themed component selectors must start with ds-themed-
- The ThemedComponent wrapper must always be used in HTML
- The ThemedComponent wrapper must be used in TypeScript _where appropriate_:
  - Required
    - Explicit usages (e.g. modal instantiation, routing modules, ...)
    - By.css selector queries (in order to align with the HTML rule)
  - Unchecked
    - Non-routing modules (to ensure the components can be declared)
    - ViewChild hooks (since they need to attach to the underlying component)

All rules work with --fix to automatically migrate to the new convention
This covers most of the codebase, but minor manual adjustment are needed afterwards
2024-03-21 10:11:04 +01:00
Giuseppe Digilio
c072d5ddfc Merge branch 'main' into DURACOM-234 2024-03-21 09:52:13 +01:00
Giuseppe Digilio
418f07bbf2 [DURACOM-240] Assure the MathJax script has been registered before rendering 2024-03-21 09:46:14 +01:00
Tim Donohue
41eccbbfe1 Merge pull request #2750 from 4Science/DURACOM-191
Migration to standalone components
2024-03-20 09:36:00 -05:00
Giuseppe Digilio
cfa2882a28 Merge branch 'DURACOM-234' into DURACOM-240-mathjax 2024-03-20 12:15:52 +01:00
Giuseppe Digilio
bef71a99b4 [DURACOM-234] Fix merge 2024-03-20 12:15:22 +01:00
Giuseppe Digilio
9b6b79c755 Merge branch 'DURACOM-234' into DURACOM-240-mathjax 2024-03-20 12:02:40 +01:00
Giuseppe Digilio
b214bb386a Merge branch 'DURACOM-191' into DURACOM-234
# Conflicts:
#	src/app/shared/comcol/comcol-page-browse-by/comcol-page-browse-by.component.ts
2024-03-20 12:01:42 +01:00
Giuseppe Digilio
6704a397bd [DURACOM-191] Provide routing option properly 2024-03-20 11:56:53 +01:00
Giuseppe Digilio
85292579af [DURACOM-191] Fix selected tab for the comcol-page-browse-by.component 2024-03-20 11:55:34 +01:00
Giuseppe Digilio
bcf8383daf [DURACOM-191] Fix issue with edit relationship page 2024-03-20 11:52:45 +01:00
Giuseppe Digilio
2826ff5536 [DURACOM-191] Fix missing import for ngIf and ngFor directive 2024-03-19 18:04:09 +01:00
Alexandre Vryghem
692bb991a0 112970: Added missing breadcrumbs to create community/collection pages 2024-03-19 12:06:39 +01:00
Giuseppe Digilio
dfad3f3fad [DURACOM-191] Fix issue with admin workflow page 2024-03-18 21:03:37 +01:00
Giuseppe Digilio
ddd0131c8b [DURACOM-191] Fix submission-import-external-preview.component 2024-03-18 21:00:37 +01:00
Giuseppe Digilio
41c62e2478 [DURACOM-191] Fix batch import page 2024-03-18 17:57:01 +01:00
Giuseppe Digilio
5b6c174767 [DURACOM-191] Fix withdrawn-reinstate-modal 2024-03-18 17:48:08 +01:00
Giuseppe Digilio
4fdbf15ae0 Merge branch 'DURACOM-234' into DURACOM-240-mathjax 2024-03-18 16:11:12 +01:00
Giuseppe Digilio
66a99090a8 Merge branch 'DURACOM-191' into DURACOM-234
# Conflicts:
#	src/app/shared/resource-policies/resolvers/resource-policy-target.resolver.ts
2024-03-18 16:10:26 +01:00
Giuseppe Digilio
acfcf51e34 [DURACOM-191] Remove DataService decorator 2024-03-18 16:08:35 +01:00
Giuseppe Digilio
b28f99f6bf [DURACOM-191] Fix resource-policy-target.resolver which still used getDataServiceFor decorator 2024-03-18 16:03:43 +01:00
Giuseppe Digilio
8c55e89b3d [DURACOM-191] Fix eperson-group-list.component which still used getDataServiceFor decorator 2024-03-18 15:35:34 +01:00
Giuseppe Digilio
7472e6939b [DURACOM-191] Fix dso-edit-metadata.component which still used getDataServiceFor decorator 2024-03-18 13:45:42 +01:00
Giuseppe Digilio
58512b6eed [DURACOM-191] Fix test 2024-03-18 11:26:26 +01:00
Giuseppe Digilio
8409853be6 [DURACOM-191] Clean up suggestions-data.service implementation 2024-03-18 09:18:12 +01:00
Giuseppe Digilio
00479132ab [DURACOM-191] Add missing data service 2024-03-17 19:21:56 +01:00
Giuseppe Digilio
9e6fe526e1 [DURACOM-240] use BehaviorSubject 2024-03-17 19:07:09 +01:00
Andrea Barbasso
3e30f64e9c [DURACOM-240] add and fix tests 2024-03-17 18:32:38 +01:00
Andrea Barbasso
e1ba78c443 [DURACOM-240] refactor variable 2024-03-17 18:30:34 +01:00
Andrea Barbasso
e402ac482d [DURACOM-240] split service into SSR and CSR 2024-03-17 18:29:11 +01:00
Andrea Barbasso
68c9ef1051 [DURACOM-240] refactor markdownPipe to markdownDirective
missing tests and splitting the service into a browser one and a server one
2024-03-17 18:25:27 +01:00
Andrea Barbasso
825308e223 [DURACOM-240] working directive
need to change markdown pipe to markdown directive and put everything in there
2024-03-17 18:20:03 +01:00