FrancescoMolinaro
4c9638150a
[DURACOM-344] adapt patterns and example file, fix possible error from YAML
2025-05-07 15:25:08 +02:00
FrancescoMolinaro
b1c5460bbb
[DURACOM-344] Adapt SSR page filtering mechanism to a not allowed list
2025-05-02 11:37:41 +02:00
Andreas Awouters
2173f3956e
120243: Fix prod compilation issues after upgrade
2025-03-06 14:16:45 +01:00
Giuseppe Digilio
cfba84ce31
[DURACOM-288] Refactoring configuration to transfer state
2025-01-29 20:05:29 +01:00
Yury Bondarenko
a7276b8a30
Add configuration to toggle replace/transfer
2025-01-29 20:04:09 +01:00
Giuseppe Digilio
ec9a1e22f7
[DURACOM-288] Provide a setting to use a different REST url during SSR execution
2025-01-29 19:54:34 +01:00
Alan Orth
5b3b3bfb9c
Restrict SSR to paths in the sitemap
...
Because Angular SSR is not very efficient, after discussion with
the Google Scholar team we realized a compromise would be to only
use SSR for pages in the DSpace sitemap (and the home page).
2025-01-17 15:30:43 +03:00
nwoodward
c419dd608b
updates isbot dependency to newest version
2024-09-16 15:07:08 -05:00
Christian Clauss
bfd61b2f19
Fix typos discovered by codespell
2024-08-06 15:52:15 +02:00
Giuseppe Digilio
d7d8067006
[DURACOM-247] Refactoring SSR configuration in order to align it with new nomenclature
2024-04-11 18:14:34 +02:00
Giuseppe Digilio
abae9b9246
[DURACOM-234] WIP fix SSR
2024-03-28 16:37:42 +01:00
Giuseppe Digilio
a8c3af097d
[DURACOM-234] Switch to standalone bootstrapping API
2024-03-26 20:52:26 +01:00
Tim Donohue
4171ccc8f3
Merge pull request #2451 from mwoodiupui/graceful
...
Graceful shutdown on SIGINT (e.g. from 'pm2 stop').
2023-09-14 11:07:17 -05:00
Mark H. Wood
bf9b2b82e1
Document a modified method as required by PR guidelines.
2023-08-22 17:07:20 -04:00
Mark H. Wood
4449737aed
Properly await termination.
2023-08-22 15:46:55 -04:00
Mark H. Wood
6709c3bb5f
Graceful shutdown on SIGINT (e.g. from 'pm2 stop').
2023-08-22 14:38:04 -04:00
Sascha Szott
e53abcb69e
remove redundant cache default values from server.ts
2023-08-02 18:00:03 +02:00
Giuseppe Digilio
163014306c
[DURACOM-172] improve regex
2023-06-23 09:23:28 +02:00
Giuseppe Digilio
6a58e49fb4
[DURACOM-172] add check to save only successful response into the SSR cache
2023-06-22 18:16:53 +02:00
Giuseppe Digilio
2f06a7cb17
[CST-5729] Change in order to save header only if configured and existing
2023-06-14 18:26:55 +02:00
Giuseppe Digilio
ac9be25faf
[CST-5729] check if header exists
2023-06-13 19:30:40 +02:00
Giuseppe Digilio
486aefebc7
[CST-5729] Add possibility to store response's headers into the SSR cache
2023-06-13 19:00:33 +02:00
Giuseppe Digilio
96903d89de
[CST-5729] fix signposting proxy url
2023-06-09 19:24:16 +02:00
Giuseppe Digilio
fe8bbddac2
[CST-5729] Fix proxying for signposting
2023-05-11 15:05:35 +02:00
Alban Imami
e8ff0fbf36
[CST-5729] implemented functionality to add link tags in head html section when on item page
2023-05-11 12:53:18 +02:00
Alban Imami
90a1f25ba9
Work for signposting
2023-04-27 16:51:41 +02:00
Yury Bondarenko
59d8ba5d7e
Merge remote-tracking branch 'origin/main' into restore-csr-fallback
2023-02-10 11:53:31 +01:00
Tim Donohue
9e11d69a8a
Fix bug where allowStale couldn't be disabled
2023-02-09 08:48:50 -06:00
Tim Donohue
c099bc468d
Add "debug" config and "allowStale" configs
2023-02-07 12:22:32 -06: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
Tim Donohue
bae63111e7
Refactor to two caches. One for bots and one for anonymous users
2023-02-03 12:59:13 -06:00
Tim Donohue
36085e4854
Avoid caching a page twice in a row
2023-02-02 15:09:31 -06:00
Tim Donohue
048e5b012d
Rename enableCache() to initCache() to make code easier to understand
2023-02-02 15:09:31 -06:00
Tim Donohue
f9810493c3
Remove unused import
2023-02-02 15:09:31 -06:00
Tim Donohue
0d4cf5e468
Update SSR caching to only work when unauthenticated. Enhance config comments
2023-02-02 15:09:31 -06:00
Tim Donohue
b0696a404d
Add SSR caching via lru-cache. Update Cache-Control header to 1 week, but tell browsers not to cache index.html
2023-02-02 15:09:31 -06:00
Art Lowel
266931f55f
Merge remote-tracking branch 'upstream/main' into fully-qualified-sitemap-urls-7.5-next
2023-01-11 17:51:58 +01:00
Art Lowel
5c77f500dc
Merge tag 'dspace-7.4' into fully-qualified-sitemap-urls-7.4
2023-01-11 17:39:22 +01:00
Art Lowel
be0b54e058
change sitemap entries in robots.txt to absolute urls
2022-12-01 15:08:58 +01:00
Tim Donohue
d66fdf42b1
Add lint rule banning wildcard imports. Fix existing ones where possible.
2022-10-27 16:02:24 -05:00
Tim Donohue
695ce3ab9e
Merge pull request #1850 from atmire/use-x-forwarded-for-redirect
...
Use values from x-forwarded headers in getOrigin server side
2022-09-28 10:31:16 -05:00
Art Lowel
941e71a75b
add useProxies config to support x-forwarded headers in express
2022-09-28 13:10:46 +02:00
Art Lowel
c94e5d0709
add startup message with version number
2022-09-13 16:39:58 +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
William Welling
cfb4a627be
use router for static assets
2022-06-02 10:16:49 -05: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
William Welling
2db80022b5
Merge branch 'main' of github.com:harvard-lts/dspace-angular into 145-base-path-support
2022-05-19 09:03:11 -05:00
William Welling
9a433b50ff
support base path
2022-05-06 14:32:44 -05:00
Giuseppe Digilio
675f3910cc
[CST-5535] Refactoring health check server side request
2022-05-03 15:32:02 +02:00
Giuseppe Digilio
26d496d55c
Merge remote-tracking branch 'origin/main' into CST-5535
...
# Conflicts:
# package.json
# yarn.lock
2022-05-02 16:13:52 +02:00