63 Commits

Author SHA1 Message Date
Manav Rathi
b6ae571b0b
[web] Routine dependency updates
yarn workspaces info 2>&1 | sed '1d' | sed '$d' | jq '.[] | values | .location' | xargs -o -n 1 -I % sh -c 'cd % && npx npm-check-updates --interactive'
2025-01-30 13:51:00 +05:30
Manav Rathi
c9c36f7419
Minor ver updates 2025-01-10 17:11:59 +05:30
Manav Rathi
3ba62669df
exifreader
https://github.com/mattiasw/ExifReader/releases
2025-01-06 10:23:41 +05:30
Manav Rathi
b59e97cb6c
checkpoint 2025-01-06 10:23:41 +05:30
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
17aa1b67c1
[web] Prettier upgrade 2024-12-30 14:10:54 +05:30
Manav Rathi
3dd136bdf3
Tweaks 2024-11-20 08:19:46 +05:30
Manav Rathi
87ac2360eb
Swap 2024-11-19 19:44:24 +05:30
Manav Rathi
2bde3fb0d7
Squash 2024-11-19 19:12:22 +05:30
Manav Rathi
2bdf85403b
Direct 2024-11-19 18:09:47 +05:30
Manav Rathi
56b72bd55b
Chain 2024-11-19 18:05:45 +05:30
Manav Rathi
daee8fb4f6
Update deps 2024-11-18 16:56:15 +05:30
Manav Rathi
99af0ff294
Update to vite 5.3.3 (payments)
https://github.com/vitejs/vite/blob/v5.3.3/packages/vite/CHANGELOG.md

Also update sibling @vitejs/plugin-react
2024-07-05 19:49:48 +05:30
Manav Rathi
7cef60f8b9
Inline 2024-07-05 19:39:20 +05:30
Manav Rathi
31b6572e17
New convention 2024-07-05 19:37:27 +05:30
Manav Rathi
c51edddb53
Clarify 2024-06-06 12:31:35 +05:30
Manav Rathi
902074022a
ff
This reverts commit 6568cb19a933545b3040ef9cc3ec416c4a95acce.
2024-05-10 22:22:39 +05:30
Manav Rathi
95c0f53d21
Preserve parameters
This was needed for the purchase success to be relayed back.
2024-04-15 10:59:07 +05:30
Manav Rathi
8d24a489f6
[desktop] Fix payment redirect
Fixes: https://github.com/ente-io/ente/issues/1440

There were two issues:

- It was a backward incompatible change to change the scheme from ente:// to
  next://. Revert.

- We also need to setup a top level redirect when the user presses back without
  making any changes to their subscription.

**Tested by**

Running payments app and desktop app locally, and verifying that after
interactions with the payments endpoint we go back to the desktop app's actual
contents correctly.
2024-04-15 10:47:14 +05:30
Manav Rathi
039387a84e
Initial-scale=1 is still recommended
Ref:
https://teamtreehouse.com/community/is-initialscale-not-needed
2024-04-05 09:36:18 +05:30
Manav Rathi
384ec365e8
Add starter staff app 2024-04-04 15:25:38 +05:30
Manav Rathi
608cb6c85e
Prevent double rendering in strict mode
The double invocation during dev mode, while harmless, is confusing, so add an
additional small check to insure this only runs once.
2024-04-04 14:25:04 +05:30
Manav Rathi
712b99b8f3
Fix lint issue 2024-04-04 14:15:42 +05:30
Manav Rathi
935e47fbca
Fix the payments eslint 2024-04-04 14:10:16 +05:30
Manav Rathi
fcb26d39f1
Don't need default export 2024-04-04 14:02:31 +05:30
Manav Rathi
ff6d0d32cf
Remove unused 404 handler
The default appType == 'spa' in vite redirects all (unclaimed) paths to /index.html.

If needed, this can be disabled:
https://stackoverflow.com/questions/69701743/how-can-i-configure-vites-dev-server-to-give-404-errors/69711988#69711988
2024-04-04 13:58:30 +05:30
Manav Rathi
756050ae8c
Fix compilation 2024-04-04 13:02:08 +05:30
Manav Rathi
87dc7d76ca
Remove middleman package, to get it to compile 2024-04-04 11:36:20 +05:30
Manav Rathi
4255e48abb
Convert payments app to use Vite - Part 1
(Doesn't compile)
2024-04-04 11:10:34 +05:30
Manav Rathi
a8a5cc8b59
Inline spinner 2024-04-04 09:55:52 +05:30
Manav Rathi
949a42004f
Remove the need for a separate page 2024-04-04 09:53:11 +05:30
Manav Rathi
56d500f4e8
Keep React in scope 2024-04-03 21:41:03 +05:30
Manav Rathi
7a41ba43a5
Another cleanup of billing-service 2024-04-03 21:32:38 +05:30
Manav Rathi
7a729183e2
Cleanup the pages 2024-04-03 20:03:02 +05:30
Manav Rathi
aa5422db6c
Clean up CSS 2024-04-03 19:54:16 +05:30
Manav Rathi
c0fee7bc91
Clean up strings 2024-04-03 19:51:01 +05:30
Manav Rathi
1411ca6fad
Continue refactoring 2024-04-03 19:46:15 +05:30
Manav Rathi
d0f1bbfca7
Refactor billing service 2024-04-03 17:22:00 +05:30
Manav Rathi
8a00f1b85f
Remove custom errors indirection 2024-04-03 15:45:20 +05:30
Manav Rathi
ad6dea2ecb
prettier markdown 2024-04-03 13:39:44 +05:30
Manav Rathi
e2fd88bff0
Remove (possibly) unnecessary tsconfigRootDir
Let's see what breaks
2024-04-03 13:15:12 +05:30
Manav Rathi
5c1ed5be8f
Restructure eslint config 2024-04-02 20:44:57 +05:30
Manav Rathi
b95fc54adb
[web] Prefer .local files for local only configuration
Refs:
https://vitejs.dev/guide/env-and-mode.html
2024-04-01 19:59:02 +05:30
Manav Rathi
d5f294980e
Remove use of emotion from payments 2024-04-01 17:08:54 +05:30
Manav Rathi
7248a226bc
Remove bootstrap 2024-04-01 15:35:45 +05:30
Manav Rathi
8ae7ae2de9
Replace the Spinner in payments 2024-04-01 15:32:56 +05:30
Manav Rathi
1f6b9030ff
[web] Fix nightly build
This was accidentally an ancient version of axios when importing from the older
repo - update it to what the rest of the code uses (via the shared package).
2024-03-29 09:11:28 +05:30
Manav Rathi
055ebd0447
Fix leftover gunk 2024-03-28 17:44:27 +05:30
Manav Rathi
5867af3a2f
Clean up EnteSpinner 2024-03-28 17:15:45 +05:30
Manav Rathi
ac01f7a12a
Clean up utils 2024-03-28 17:10:48 +05:30