Commit Graph

68 Commits

Author SHA1 Message Date
Joakim Jäderberg
46ebbbba8f Merged in feature/sas-login (pull request #1256)
First steps towards the SAS partnership

* otp flow now pretends to do the linking

* Update LinkAccountForm header

* Update redirect times

* Clean up comments

* Set maxAge on sas cookies

* make all SAS routes protected

* Merge remote-tracking branch 'refs/remotes/origin/feature/sas-login' into feature/sas-login

* Require auth for sas link flow

* Fix resend otp

* Add error support to OneTimePasswordForm

* Add Sentry to SAS error boundary

* Move SAS_REQUEST_OTP_STATE_STORAGE_COOKIE_NAME

* Add missing translations

* Merge branch 'master' of bitbucket.org:scandic-swap/web into feature/sas-login

* Merge branch 'feature/sas-login' of bitbucket.org:scandic-swap/web into feature/sas-login

* Add TooManyCodesError component

* Refactor GenericError to support new errors

* Add FailedAttemptsError

* remove removed component <VWOScript/>

* Merge branch 'feature/sas-login' of bitbucket.org:scandic-swap/web into feature/sas-login

* remove local cookie-bot reference

* Fix sas campaign logo scaling

* feature toggle the SAS stuff

* Merge branch 'feature/sas-login' of bitbucket.org:scandic-swap/web into feature/sas-login

* fix: use env vars for SAS endpoints


Approved-by: Linus Flood
2025-02-05 14:43:14 +00:00
Joakim Jäderberg
691c493522 Merged in fix/seamless-auth (pull request #1255)
fix: reduce the need for multiple SEAMLESS_LOGIN/SEAMLESS_LOGOUT

* fix: reduce the need for multiple SEAMLESS_LOGIN/SEAMLESS_LOGOUT

* fix: reduce the need for multiple SEAMLESS_LOGIN/SEAMLESS_LOGOUT

* fix: defaulted values that are the same in each environment


Approved-by: Christian Andolf
Approved-by: Linus Flood
2025-02-05 10:01:38 +00:00
Linus Flood
d02dc51dcc Merged in fix/cache-time-hotels-test-env (pull request #1194)
fix: cache time 5 minutes for hotels data in test env

* fix: cache time 5 minutes for hotels data in test env
2025-01-21 09:29:09 +00:00
Linus Flood
c701c067b4 Merged in feat/cache-hoteldata-time (pull request #1189)
feat: hoteldata - cache 5 minutes in test env

* feat: hoteldata - cache 5 minutes in test env

* Removed console log

* Renamed variable


Approved-by: Joakim Jäderberg
2025-01-20 07:52:38 +00:00
Linus Flood
519795acac feat: tracking - added discount property and some basics for paymentInfo 2025-01-08 08:50:50 +01:00
Joakim Jäderberg
1f61bdc060 chore: Update sentry config 2024-12-20 11:04:46 +01:00
Linus Flood
3982b1ba56 Merged in feat/sentry (pull request #1089) 2024-12-19 10:35:20 +00:00
Niclas Edenvin
77d449b8cb Merged in fix/sw-1160-booking-widget-sticky (pull request #1053)
fix(SW-1160): include current header as sticky

* fix(SW-1160): include current header as sticky

* fix(sw-1160): only count with current header height if its shown


Approved-by: Erik Tiekstra
2024-12-18 08:51:58 +00:00
Linus Flood
742a2820d1 Merge remote-tracking branch 'origin' into feature/tracking 2024-12-13 09:02:37 +01:00
Christian Andolf
0d607d7cc7 fix: hide new cs rewards model behind feature flag 2024-12-10 16:26:20 +01:00
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
de22d873a1 Refactor 2024-11-22 13:25:57 +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
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