Commit Graph

70 Commits

Author SHA1 Message Date
Linus Flood
4487c25d47 Merge branch 'master' into feature/tracking 2024-12-03 07:48:59 +01:00
Michael Zetterberg
dce3283c40 feat: add support for using branches in CMS 2024-12-02 14:56:43 +00:00
Linus Flood
43b38bf894 Merge master 2024-11-28 13:37:45 +01:00
Linus Flood
267a47c61a Merge branch 'master' into feat/sw-929-release-preps 2024-11-27 19:13:21 +01:00
Linus Flood
6f7a4d263b Merge branch 'master' into feature/tracking 2024-11-25 10:14:12 +01:00
Linus Flood
de22d873a1 Refactor 2024-11-22 13:25:57 +01:00
Christel Westerberg
3a6cfcfe5c fix: avoid sending query params to planet 2024-11-21 10:18:36 +01:00
Linus Flood
367da173fb Inverted flag values 2024-11-21 07:23:11 +01:00
Linus Flood
9f982dcea6 feat: sw-929 show booking widget on hotelreservation path and separate env for sitewide alerts 2024-11-20 12:40:23 +01:00
Linus Flood
4341f4479c Merge branch 'master' into feature/tracking 2024-11-18 12:20:13 +01:00
Chuma McPhoy
fd6c15ed78 feat: add env var for signup flow 2024-11-15 12:22:40 +01:00
Chuma McPhoy
48af26a772 feat(SW-739): use new allTiers endpoint and add feature flag 2024-11-13 10:21:07 +01:00
Linus Flood
495e628d39 PR Fixes 2024-11-12 08:57:00 +01:00
Linus Flood
cb7e009c47 Merge branch 'develop' into feature/tracking 2024-10-24 12:39:34 +02:00
Tobias Johansson
025c5c8291 Merged in feat/SW-659-payment-send-query-params (pull request #727)
feat(SW-659): Receive query params from Planet callbacks

* feat(SW-659): read confirmation number from url and update callback url if dev

* fix(SW-659): moved callback url into env variable


Approved-by: Simon.Emanuelsson
2024-10-23 11:51:44 +00:00
Linus Flood
582c852377 Merge branch 'develop' into feature/tracking 2024-10-17 11:09:33 +02:00
Michael Zetterberg
4a846540c3 feat: improve handling of deployment env vars
These are now defined in Netlify UI for dedicated environments (test, stage, production):

AUTH_URL
NEXTAUTH_URL
PUBLIC_URL

Code now falls back to incoming request host. Mainly used for
deployment previews which do not have Akamai in front, meaning
we do not need the above workaround as incoming request host
matches the actual public facing host. When Akamai is in front,
we lose the public facing host in Netlify's routing layer as they
internally use `x-forwarded-for` and we can't claim it for our usage.
2024-10-15 17:03:36 +02:00
Linus Flood
37c6619dff GTM script behind env flag 2024-10-09 09:53:03 +02:00
Christel Westerberg
44747058d0 fix: loyalty levels fetch in rsc for mobile menu
fix: get loyalty level in rsc

fix: typo
2024-10-08 08:25:44 +02:00
Christel Westerberg
2886084a82 feat: add communication preferences
feat: add generatePreferencesLink

feat: add subscriberId endpoint
2024-10-08 08:25:44 +02:00
Linus Flood
05fc698b63 Transform env to bool 2024-09-19 13:37:22 +02:00
Linus Flood
69359da126 Using feature flag 2024-09-19 13:28:51 +02:00
Erik Tiekstra
730f66d79a feat(SW-325): added mapId as environment variables 2024-09-19 07:33:39 +02:00
Chuma McPhoy
1ff6cd267d feat: update getHotel to use real hotel api endpoint, support for service tokens, type modifications 2024-08-21 10:31:52 +02:00
Fredrik Thorsson
02cd647649 feat: make map key and signature optional 2024-08-13 11:24:06 +02:00
Fredrik Thorsson
e7af67ca73 feat(SW-68): refactor digital signature 2024-08-13 08:52:54 +02:00
Fredrik Thorsson
854247e15e feat(SW-68): add digital signature to request 2024-08-13 08:52:54 +02:00
Hrishikesh Vaipurkar
85f5a524d9 feat: WEB-210 Removed secret from ex env and reverted server.ts 2024-07-10 11:37:28 +02:00
Hrishikesh Vaipurkar
c018dc8ce0 feat: WEB-210 Removed unnecessary env changes and logs 2024-07-10 11:37:28 +02:00
Hrishikesh Vaipurkar
714d0d91f0 feat: WEB-210 Replaced custom env with process.env 2024-07-10 11:37:26 +02:00
Hrishikesh Vaipurkar
46da385950 feat: Web-210 Public Url fix for Netlify branch deploy 2024-07-10 11:37:25 +02:00
Arvid Norlin
2a71a45d3d fix: make connectionString optional 2024-07-01 13:33:28 +02:00
Christel Westerberg
12e66568b0 fix: add adobe sdk script 2024-07-01 11:33:55 +02:00
Arvid Norlin
0657355f27 chore: remove debug configuration 2024-07-01 11:29:13 +02:00
Arvid Norlin
edc2216d83 feat: add instrumentation 2024-07-01 11:29:13 +02:00
Matilda Landström
e65145687d chore: add back language specific routes 2024-05-23 14:05:03 +02:00
Matilda Landström
d521f9fe27 fix: remove code from rebase 2024-05-23 14:05:02 +02:00
Matilda Landström
af1d65f4bb chore: add new endpoint for logout from current web 2024-05-23 14:05:02 +02:00
Matilda Landström
02107784ad chore: add temp env endpoint for seamless logout 2024-05-23 14:05:02 +02:00
Michael Zetterberg
13575376b1 chore(debug): envs in edge functions 2024-05-22 11:50:29 +02:00
Michael Zetterberg
b2c8a2ccaf chore(debug): envs in api functions 2024-05-19 09:21:49 +02:00
Michael Zetterberg
f782ae796e chore(debug): envs in api functions 2024-05-17 15:26:25 +02:00
Michael Zetterberg
62a8374144 chore(debug): envs in api functions 2024-05-17 15:16:51 +02:00
Michael Zetterberg
e9be5a33a9 chore(debug): envs in api functions 2024-05-17 14:17:55 +02:00
Michael Zetterberg
938200128f chore(debug): envs in api functions 2024-05-17 10:57:45 +02:00
Simon Emanuelsson
0c4aa592cc feat: revalidate my pages breadcrumbs on demand 2024-05-06 15:13:41 +02:00
Arvid Norlin
153479ab98 fix: change CMS_ENVIRONMENT allowed value from staging to stage 2024-05-02 12:56:03 +02:00
Michael Zetterberg
99ba0b0663 fix(WEB-132): add debug env var for next-auth 2024-04-26 11:56:50 +02:00
Michael Zetterberg
bcbc829e2e fix(WEB-132): absolute seamless login return urls 2024-04-26 08:26:36 +02:00
Christel Westerberg
b738023a43 feat: force port 3000 to make Next.js abort startup on multiple instances clashing on same port 2024-04-24 08:25:40 +02:00