Commit graph

24814 commits

Author SHA1 Message Date
Manav Rathi
e4ce144bd4
[web] Complete integration of payments code (#1233)
Next step - deploy from here.
2024-03-28 17:48:05 +05:30
Manav Rathi
055ebd0447
Fix leftover gunk 2024-03-28 17:44:27 +05:30
Manav Rathi
212b2663d0
Add payments deployment scripts 2024-03-28 17:42:54 +05:30
Vishnu Mohandas
cc6cc6ede5
[mobile] New translations (#1220)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-03-28 17:32:31 +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
Manav Rathi
713a0038f0
Clean up CSS 2024-03-28 17:09:11 +05:30
Manav Rathi
3c0c591bed
Remove custom font 2024-03-28 17:08:39 +05:30
Manav Rathi
990f9a8d70
Remove old payment instructions 2024-03-28 17:05:59 +05:30
Manav Rathi
f524403580
Wait for i18 to be ready before trying to load the page 2024-03-28 14:25:20 +05:30
Vishnu Mohandas
3791f35601
Add CERN Icon (#1226)
This PR adds the CERN logo to Ente Auth custom icons. Great job with
Ente Auth so far! Keep up the fantastic work!
2024-03-28 14:05:56 +05:30
Manav Rathi
4c05e0925d
Fix example whitelisted-redirect-url 2024-03-28 13:19:00 +05:30
Manav Rathi
2b379640ca
Allow billing plans to be mounted into the Docker container if needed 2024-03-28 13:07:43 +05:30
Manav Rathi
8cd725978a
Update the README 2024-03-28 12:55:47 +05:30
Ashil
5768a69062
[mobile][photos] fix: Image switcharoo bug when sharing from signal (#1232)
## Description

Fixes #1158
2024-03-28 12:43:52 +05:30
Manav Rathi
9599982f30
[web] Make payments feel at home (#1231)
Make the imported payments code feel at home in the new monorepo.
2024-03-28 12:16:25 +05:30
Manav Rathi
c5a2b61454
Fix tsconfig formatting 2024-03-28 12:11:09 +05:30
Manav Rathi
88e4f61221
Config 2024-03-28 12:07:10 +05:30
Manav Rathi
06f1fa086e
Fix dev 2024-03-28 11:56:05 +05:30
Manav Rathi
e4c18b9e74
Inline 2024-03-28 11:49:05 +05:30
Manav Rathi
478435f806
Use :3001 for all the aux services 2024-03-28 11:42:59 +05:30
Manav Rathi
8f0ef055c5
[web] Make the imported payments code feel at home in the new monorepo
- Use the shared yarn monorepo configuration
- styled-components => emotion (since that's what the rest of the code uses)
- Remove Sentry (since it's gone elsewhere)
2024-03-28 11:40:22 +05:30
Manav Rathi
ad3503053d
[web] Import code for payments.ente.io (#1230)
Manav: To avoid accidentally spilling out any secrets, squash and
import. However, the overwhelming majority of the work in the original
code was done by @abhinavkgrd so set them as the author for the commit.
2024-03-28 10:32:15 +05:30
Abhinav
8a3c0743fe
Import code for payments.ente.io
Manav: To avoid accidentally spilling out any secrets, squash and
import. However, the overwhelming majority of the work in the original code was
done by Abhinav <abhinavk.grd@gmail.com> so set them as the author for the
commit.
2024-03-28 10:19:44 +05:30
Manav Rathi
33314bc2da
[meta] Add a special case for comments in the notifier workaround (#1229)
Discord still hasn't fixed the issue on their end, and having a top
level link whenever a new comment is added is getting cumbersome, so add
a handler for the common comments case too.

Tested and deployed.
2024-03-28 10:12:22 +05:30
Manav Rathi
12aa071adc
[meta] Add a special case for comments in the notifier workaround
Discord still hasn't fixed the issue on their end, and having a top level link
whenever a new comment is added is getting cumbersome, so add a handler for the
common comments case too.

Tested and deployed.
2024-03-28 10:11:04 +05:30
Manav Rathi
3213fe0d26
[photos-desktop] Various changes, bringing the code up to speed (#1227)
See commit titles for a gist.
2024-03-27 21:22:54 +05:30
Manav Rathi
3706b99d36
Remove debug print 2024-03-27 21:21:31 +05:30
Manav Rathi
1bb79854a5
Mollify TypeScript 2024-03-27 21:17:30 +05:30
Manav Rathi
c9f8ad3e88
Tidy and prune the app's menu
- Switch to title case (discussed with others that the app's main menu is an
  appropriate choice and exception to our sentence casing otherwise).

- Prune
2024-03-27 21:12:45 +05:30
Manav Rathi
0dda25800e
Update the node version number in tsconfig doc comments 2024-03-27 20:34:10 +05:30
Manav Rathi
95eec1f3d6
Remove brew special casing
Brew Formulae support an `auto_updates true` flag which tells brew's auto update
mechanism to stay out of the way.

Ref: https://docs.brew.sh/FAQ#why-arent-some-apps-included-during-brew-upgrade

Will need to open a PR to update our Formula though.

9241d331b6/Casks/e/ente.rb (L9)
2024-03-27 20:29:11 +05:30
Manav Rathi
5ac4799ce1
Support arbitrary parameters like console.log 2024-03-27 20:26:16 +05:30
Manav Rathi
3699118f0c
Don't shellescape fully formed commands 2024-03-27 20:10:45 +05:30
Subhashis Suara
07552e7c47 Add CERN Icon 2024-03-27 14:33:27 +01:00
Manav Rathi
cf71d1477b
update to new functions in more places 2024-03-27 17:44:49 +05:30
Ashil
79f7fb9ad9
[mobile][photos] Update change log for v0.8.72 release (#1225)
## Description

![72 change
log](https://github.com/ente-io/ente/assets/77285023/1a903668-76be-40d3-b00a-a0a7c7dfb66a)
2024-03-27 17:40:25 +05:30
Manav Rathi
937e09f6a3
Fix import errors 2024-03-27 17:21:42 +05:30
Manav Rathi
8ffe1ece2d
Relay isFolder error back to renderer 2024-03-27 17:13:25 +05:30
Manav Rathi
175ea274c4
Alternative formatting 2024-03-27 17:07:56 +05:30
Vishnu Mohandas
78b858ae7c
[mobile] FAQ -> Help (#1224) 2024-03-27 17:06:39 +05:30
vishnukvmd
94f4c1e757 [mobile] FAQ -> Help 2024-03-27 17:06:01 +05:30
Manav Rathi
08489c8237
Tweak "render-process-gone" handler 2024-03-27 17:04:46 +05:30
Vishnu Mohandas
be62ea1459
[mobile][photos] Reduce GC events when loading models (#1223)
## Description

When using `readAsBytes()`, noticed a lot of `concurrentMark` GC event
in timeline when using the performance profiler dev tool, which were
potentially causing longer build and raster time for frames.
2024-03-27 16:44:05 +05:30
ashilkn
01b3d99e3a bump up version for release 2024-03-27 16:43:03 +05:30
Manav Rathi
3e61ebf1df
Add types for shellescape
Refs:

- https://github.com/boazy/any-shell-escape
- https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/shell-escape/index.d.ts
- https://www.typescriptlang.org/docs/handbook/declaration-files/templates/module-d-ts.html
2024-03-27 16:36:31 +05:30
ashilkn
7966c6bbc8 Merge branch 'main' into load_model_perf_improvement 2024-03-27 16:34:39 +05:30
ashilkn
35a8a96898 pref: reduce GC events 2024-03-27 16:34:06 +05:30
Vishnu Mohandas
eef33e9c0c
[mobile][web] Redirect to payment portal if subscription is past due (#1222)
## Description

When a customer whose Stripe subscription is past due (within the 30 day
window after expiry time and has not been cancelled) clicks on the
subscription modal, take them to the payment portal to complete the
subscription.

## Tests

- [x] Tested web
- [x] Tested mobile
2024-03-27 16:29:58 +05:30
vishnukvmd
ba307b0dcd [web] Fix check 2024-03-27 16:23:38 +05:30