Commit Graph

26 Commits

Author SHA1 Message Date
Giuseppe Digilio
a8c3af097d [DURACOM-234] Switch to standalone bootstrapping API 2024-03-26 20:52:26 +01:00
Yury Bondarenko
a11be65f95 ESlint: fix imports 2023-06-27 17:20:06 +02:00
nwoodward
dc6fa35483 remove unused import 2023-04-04 12:04:32 -05:00
nwoodward
a3034dd5f8 remove external Google font 2023-04-04 12:02:20 -05:00
Yury Bondarenko
88cb397dc9 Fix direct CSR
By moving from environment.ts to config.yml we made it so the environment is _not_ up to date with the server configuration when main.js is first loaded.
Because of this the app behaved as if CSR always happened _after_ SSR, effectively breaking direct CSR.

Here the "criterion" for SSR/non-SSR HTML is changed from the related configuration property to the presence of Angular Universal transfer state.

This means we can correctly determine when to bootstrap the app for direct CSR, and it's' now "safe" to just send index.html by itself.
2023-02-07 15:25:20 +01: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
47c8ca7342 87968: Lift readyState complete check from Universal 12 2022-04-08 17:57:15 +02:00
Yura Bondarenko
22c5976095 87968: Upgrade to Angular 12 2022-04-08 17:57:15 +02:00
William Welling
b149cf2d77 afford production disable preboot 2022-02-25 09:51:04 -06:00
William Welling
10622008c4 refactor config filename and convert to yaml 2021-12-08 14:56:52 -06:00
William Welling
33488ccf40 extend environment and use injected app config 2021-12-07 10:12:27 -06:00
William Welling
71f5b46639 use standard environments 2021-12-06 12:25:37 -06:00
Art Lowel
4280475364 Merge branch 'main' into Item-page-redirects 2021-03-12 18:19:11 +01:00
Bruno Roemers
6424654e6e Fix LGTM Alert for PR #1014 2021-02-09 14:49:26 +01:00
Bruno Roemers
d574ffafa4 76634: Implement GoogleAnalyticsService 2021-02-01 19:10:15 +01:00
lotte
9677e053f5 solved merge issues 2020-06-26 14:27:28 +02:00
lotte
8bf241c182 angular cli 2020-03-18 16:03:40 +01:00
Giuseppe Digilio
11e77086ae Merge remote-tracking branch 'remotes/origin/submission' into mydspace 2019-03-11 20:06:42 +01:00
Kristof De Langhe
ff04760f4a 50479: Make use of empty.util 2018-03-23 15:55:38 +01:00
Kristof De Langhe
dafe30f3c6 50479: Google analytics only loaded when tracking id present 2018-03-23 13:52:45 +01:00
Kristof De Langhe
9454b9393b 50479: angularticsMock + tslint fixes 2018-03-20 15:54:11 +01:00
Kristof De Langhe
35cbedf6fe 50479: Added google analytics support 2018-03-20 15:29:05 +01:00
Art Lowel
a654955340 fix an issue where the app woulnd't start if server side rendering was disabled 2018-02-15 15:46:25 +01:00
Art Lowel
4fbceab1b9 Switched to angular 5's built-in transfer state api 2018-02-01 13:17:59 +01:00
William Welling
8c4c533203 include all modules in coverage 2017-10-09 08:18:28 -05:00
William Welling
c08f5c672b dependency upgrades, server and platform module updates, linting wip 2017-07-12 14:33:16 -05:00