Commit Graph

51 Commits

Author SHA1 Message Date
Tim Donohue
c099bc468d Add "debug" config and "allowStale" configs 2023-02-07 12:22:32 -06: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
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
Yura Bondarenko
22c5976095 87968: Upgrade to Angular 12 2022-04-08 17:57:15 +02:00
Pratik Rajkotiya
108f6e60f9 [CST-5535] WIP 2022-03-25 18:37:25 +05:30
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
William Welling
8d66f68dfa remove bundle workaround, update dependencies and build 2021-11-17 22:11:06 -06:00
Michael W Spalti
98571a496c Merge remote-tracking branch 'origin/iiif-mirador' into iiif-mirador 2021-04-20 14:46:44 -07:00
Art Lowel
3c93777e84 don't use CSR fallback when the headers are changed after the response is sent 2021-04-06 16:46:21 +02:00
Michael Spalti
42802bd543 Added mirador route to express server. 2021-03-30 10:54:03 -07:00
Art Lowel
4b69b48007 fix issue where the app wouldn't start in prod mode if preboot was disabled 2021-01-29 11:26:26 +01:00
Giuseppe Digilio
2b8f436634 changes to address feedback 2021-01-12 10:42:46 +01:00
Giuseppe Digilio
84840678d2 Several fixes after merge with main 2020-12-04 14:16:40 +01:00
Giuseppe Digilio
948e002225 Merge remote-tracking branch 'remotes/origin/main' into upgrade_angular10
# Conflicts:
#	package.json
#	server.ts
#	src/app/+admin/admin-access-control/epeople-registry/epeople-registry.component.ts
#	src/app/+admin/admin-access-control/group-registry/group-form/group-form.component.ts
#	src/app/+admin/admin-access-control/group-registry/groups-registry.component.spec.ts
#	src/app/+admin/admin-access-control/group-registry/groups-registry.component.ts
#	src/app/+collection-page/collection-page.component.ts
#	src/app/+item-page/edit-item-page/item-page-reinstate.guard.ts
#	src/app/+item-page/edit-item-page/item-page-withdraw.guard.ts
#	src/app/+item-page/edit-item-page/item-relationships/edit-relationship-list/edit-relationship-list.component.ts
#	src/app/+item-page/edit-item-page/item-relationships/item-relationships.component.ts
#	src/app/+item-page/item-page-administrator.guard.ts
#	src/app/app-routing.module.ts
#	src/app/community-list-page/community-list-service.ts
#	src/app/core/data/entity-type.service.ts
#	src/app/core/data/feature-authorization/feature-authorization-guard/dso-page-feature.guard.spec.ts
#	src/app/core/data/feature-authorization/feature-authorization-guard/feature-authorization.guard.spec.ts
#	src/app/core/data/feature-authorization/feature-authorization-guard/feature-authorization.guard.ts
#	src/app/core/data/feature-authorization/feature-authorization-guard/site-administrator.guard.ts
#	src/app/core/data/feature-authorization/feature-authorization-guard/site-register.guard.ts
#	src/app/core/data/object-updates/object-updates.reducer.ts
#	src/app/core/shared/operators.ts
#	src/app/process-page/detail/process-detail.component.ts
#	src/app/shared/comcol-forms/delete-comcol-page/delete-comcol-page.component.ts
#	src/app/shared/dso-selector/dso-selector/dso-selector.component.ts
#	src/app/shared/input-suggestions/filter-suggestions/filter-input-suggestions.component.ts
#	src/app/shared/object-grid/grid-thumbnail/grid-thumbnail.component.ts
#	src/app/shared/shared.module.ts
#	yarn.lock
2020-12-04 11:36:48 +01:00
Giuseppe Digilio
6123962e47 further changes for angular 10 2020-12-03 19:55:19 +01:00
Yana De Pauw
5ef7ae1b86 74348: Fix security issues reported by LGTM 2020-11-06 14:30:39 +01:00
Art Lowel
5afd4a6930 ensure CSR fallback only happens on actual errors 2020-09-21 18:41:10 +02:00
lotte
a6dd87f78c updated server.ts to latest fixes 2020-09-09 16:08:01 +02:00
lotte
cced7a2914 fixed preboot issues and error handling 2020-09-09 16:07:19 +02:00
lotte
3f4a0d1fd9 removing proboot option from config 2020-09-09 16:07:19 +02:00
Art Lowel
0a06368340 add a proxy for the sitemaps 2020-08-12 17:31:33 +02:00
lotte
a9cb6aeaa6 added doc to scripts 2020-05-28 09:15:02 +02:00
lotte
f881c2f428 fixed SSR issues 2020-05-28 09:15:01 +02:00
lotte
e7043f8734 changes to server.ts 2020-05-28 09:15:01 +02:00
lotte
e4a83f0704 fixed ui environment vars issue 2020-05-28 09:15:01 +02:00
Art Lowel
4580f1b18a use the server port from the environment file 2020-05-08 12:40:31 +02:00
lotte
0f43ff4fea switched back to port 4000 2020-04-23 14:17:05 +02:00
lotte
172d3891f0 switched port to test with Travis 2020-04-21 15:16:42 +02:00