54 Commits

Author SHA1 Message Date
Manav Rathi
9910049d1d
[web] Remove hardcoded URLs
Museum now supports configuring the URL that the clients should use for cast,
accounts (passkeys) and families portal.

If you're using the old method (which was only supported by the web app, unlike
the new method which is supported by both mobile and web, and also for cast) of
configuring the custom environment variables, then you should instead use the
corresponding setting in the museum configuration:

- NEXT_PUBLIC_ENTE_ACCOUNTS_URL => apps.account
- NEXT_PUBLIC_ENTE_FAMILY_URL => apps.family

Reference: [apps block in
local.yaml](fe2771f2e0/server/configurations/local.yaml (L75-L89))
2025-01-01 14:12:38 +05:30
Manav Rathi
866d2bb00a
Use 2024-12-30 16:51:10 +05:30
Manav Rathi
b054c070ad
Parse 2024-12-30 16:45:14 +05:30
Manav Rathi
64a47694d0
Type 2024-12-30 16:37:05 +05:30
Manav Rathi
6812527607
Use accounts url 2024-12-30 15:44:34 +05:30
Manav Rathi
9aae713207
Update comments to match prettier defaults
These comments were earlier written to match the way prettier formatted
markdown, but they've changed that upstream with 3.4, so revert back to the more
natural style that prettier also uses.
2024-12-30 14:18:36 +05:30
Manav Rathi
76c65a92e3
Re 2024-11-26 09:19:50 +05:30
Manav Rathi
04a8bd6209
Apply lints 2024-11-20 09:38:35 +05:30
Manav Rathi
24b9e629c1
Cont 2024-11-18 18:29:15 +05:30
Manav Rathi
f749f9de65
Unused and inline 2024-11-14 07:55:49 +05:30
Manav Rathi
31bfb53dfb
Inline inmems 2024-09-07 13:27:23 +05:30
Manav Rathi
004dd3bd0c
Rearrange to make webpack happy
Something in the previous arrangement was causing webpack to not pack
worker/worker.ts as a web worker.
2024-08-10 20:28:17 +05:30
Manav Rathi
8acc5ac62d
Propagate 2024-08-10 19:50:36 +05:30
Manav Rathi
7d13666a2e
@/next => @/base 2024-07-18 18:55:33 +05:30
Manav Rathi
1a06fce8f2
lf 2024-07-06 14:21:37 +05:30
Manav Rathi
933212ba59
Use elsewhere 2024-07-06 14:16:45 +05:30
Manav Rathi
85aaf94c89
4 2024-07-01 13:20:11 +05:30
Manav Rathi
776915e659
Continue painting 2024-06-30 18:22:58 +05:30
Manav Rathi
67e054a26d
Continue second pass 2024-06-30 18:03:08 +05:30
Manav Rathi
6f073b007b
isDesktop 2024-06-30 17:58:22 +05:30
Manav Rathi
54c54d50c6
Static pkg name 2024-06-30 17:52:52 +05:30
Manav Rathi
f11960981a
Use static app name 2024-06-30 17:41:56 +05:30
Manav Rathi
9241c2e595
Retain leading slash
Looks pathy-ier
2024-06-27 16:03:19 +05:30
Manav Rathi
94f4dcb9be
more 2024-06-27 15:57:36 +05:30
Manav Rathi
f34ecc1016
Fix imports - This + preceding commits fix SSR 2024-06-23 19:59:53 +05:30
Manav Rathi
9608cfaa4e
Don't show retry button if trying to use an already claimed session 2024-06-14 14:30:10 +05:30
Manav Rathi
4123197c6d
Use 2024-06-14 11:46:55 +05:30
Manav Rathi
cc3f398a78
Happy path 2024-06-14 11:41:50 +05:30
Manav Rathi
8a2cc858ae
API method 2024-06-14 10:10:09 +05:30
Manav Rathi
608fec9129
logSet the inflight session 2024-06-13 16:41:09 +05:30
Manav Rathi
ea5cd4a7d0
Use correct app name 2024-06-13 12:24:20 +05:30
Manav Rathi
dab15b2429
Conditional recover 2024-06-13 11:51:38 +05:30
Manav Rathi
cd76da836d
Handle retrying redirects 2024-06-13 11:17:04 +05:30
Manav Rathi
3285ccdb3a
Directly 2024-06-11 15:39:40 +05:30
Manav Rathi
621d58ec0e
Pass recovery URL explicitly instead of trying various string mainps 2024-06-11 15:13:58 +05:30
Manav Rathi
e51f9f1e08
Allow /passkeys/recover redirect 2024-06-11 14:46:53 +05:30
Manav Rathi
8ecb88cbb4
Don't reload the app, use the router 2024-06-11 12:53:39 +05:30
Manav Rathi
330600543e
window.location.origin will be in the correct place 2024-06-11 12:28:32 +05:30
Manav Rathi
9de5f01727
Add protocol 2024-06-11 11:33:48 +05:30
Manav Rathi
4569ae01df
Outline 2024-06-11 10:58:04 +05:30
Manav Rathi
fc826e8acb
Pass the X-Client-Package explicitly for the endpoint which needs it 2024-06-10 16:33:29 +05:30
Manav Rathi
9d670db89c
Pass the package explicitly 2024-06-07 12:23:01 +05:30
Manav Rathi
897f3d074d
Update the name 2024-06-07 11:06:23 +05:30
Manav Rathi
8f77318e88
Tweak 2024-06-07 11:04:16 +05:30
Manav Rathi
b43d626653
Tweak 2024-06-07 10:59:28 +05:30
Manav Rathi
964215bbc9
Rearrange 2024-06-07 10:53:44 +05:30
Manav Rathi
7356522c6f
Extract 2024-06-07 10:06:41 +05:30
Manav Rathi
d0d491f7f5
Pass the token instead of a query param 2024-05-26 08:36:57 +05:30
Manav Rathi
db3764d448
Fix param name to match server 2024-05-26 08:36:57 +05:30
Manav Rathi
6d3d5d03f8
Use correct origin for passkey API requests 2024-05-26 08:36:57 +05:30