76 Commits

Author SHA1 Message Date
Manav Rathi
a8c270433a Web deps 2025-07-02 15:33:35 +05:30
Manav Rathi
19d6f437e3 web deps 2025-06-19 14:34:55 +05:30
Manav Rathi
49d3b033cb Update patch versions 2025-06-11 17:21:39 +05:30
Manav Rathi
523d1961b7 other dep 2025-06-04 16:32:08 +05:30
Manav Rathi
b567dddfc3 routine dep update 2025-06-02 19:26:47 +05:30
Manav Rathi
7b48dbc1ad Dep updates 2025-05-23 16:47:54 +05:30
Manav Rathi
3e9d78c866 Routine dependency updates 2025-05-15 08:19:21 +05:30
Manav Rathi
d047e05bc8 Routine dependency updates 2025-04-30 19:43:33 +05:30
Manav Rathi
798977e395 typos web 2025-04-09 11:27:48 +05:30
Manav Rathi
c9fc6f9e3e Routine dependency updates 2025-04-08 19:36:24 +05:30
Manav Rathi
fdb4b0374c Prepare for eventual yarn => npm migration
npm doesn't support the "@" character in package names (it's used for
scopes). We eventually want to move from yarn to npm, so in preparation, rename
our internal packages accordingly so that they also work with npm workspaces.

Methodology: No manual code changes, just automatic search replace of

```
"@/accounts => "ente-accounts
"@/utils => "ente-utils
...
"@ente/shared => "ente-shared
```

Then reran prettier.
2025-04-02 18:37:16 +05:30
Manav Rathi
4bf629a44c yarn prettier --write --object-wrap=collapse 2025-03-07 18:54:04 +05:30
Manav Rathi
b6aefd1845 [web] Dependency updates 2025-03-07 18:21:05 +05:30
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 6568cb19a9.
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