Commit graph

24967 commits

Author SHA1 Message Date
vishnukvmd
c9618d8038 Update copy 2024-03-26 21:31:29 +05:30
vishnukvmd
888aca7e6c Extract common code 2024-03-26 21:11:57 +05:30
vishnukvmd
31d3319d20 Revert "Depend on subscription-past-due events to trigger the account-on-hold email"
This reverts commit a131c16f4e.
2024-03-26 20:59:02 +05:30
Vishnu Mohandas
2cadc0f0fc
Update otp.md 2024-03-26 20:45:46 +05:30
vishnukvmd
a131c16f4e Depend on subscription-past-due events to trigger the account-on-hold email 2024-03-26 20:29:55 +05:30
vishnukvmd
b78a66a274 [mobile] Update behavior of the payment page 2024-03-26 19:59:22 +05:30
Vishnu Mohandas
1c891f80f9
[docs] Improve export docs (#1212) 2024-03-26 16:40:11 +05:30
Manav Rathi
613e32b00e
[docs] Improve export docs 2024-03-26 16:38:49 +05:30
Vishnu Mohandas
c72878b00e
[auth] New translations (#1174)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-03-26 11:47:40 +05:30
Manav Rathi
e7db1ceb01
[web] New translations (#1207)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-03-26 09:58:33 +05:30
Manav Rathi
512226b727
[docs] Add FAQ items around self hosting (#1209) 2024-03-26 09:58:00 +05:30
Manav Rathi
7fbb37a851
Add FAQ items around self hosting 2024-03-26 09:57:08 +05:30
Crowdin Bot
af568bcb21 New Crowdin translations by GitHub Action 2024-03-26 02:02:59 +00:00
Crowdin Bot
33cfec915a New Crowdin translations by GitHub Action 2024-03-26 01:55:04 +00:00
Crowdin Bot
e3d3943539 New Crowdin translations by GitHub Action 2024-03-26 01:36:29 +00:00
Vishnu Mohandas
a56d906160
[auth] v2.0.46 (#1204) 2024-03-26 00:03:36 +05:30
vishnukvmd
1fb6f4ded2 v2.0.46 2024-03-26 00:03:10 +05:30
Prateek Sunal
31fdd9dc65
[FIX] Libffi error for appimage (#1203)
Auth desktop linux build fix + Playstore aab shouldn't be created if
nightly or beta
2024-03-25 23:47:34 +05:30
Prateek Sunal
ee34291a54 fix: disable aab build if nightly or beta 2024-03-25 23:42:31 +05:30
Prateek Sunal
eeca6aac74 fix: libffi error for now 2024-03-25 23:41:12 +05:30
vishnukvmd
f2aac262b1 Remove unused flag 2024-03-25 23:27:39 +05:30
vishnukvmd
4afc056a9f Stop listening to subscription deleted events 2024-03-25 23:26:48 +05:30
Vishnu Mohandas
f75fc7a265
[auth] v2.0.45 (#1202) 2024-03-25 23:20:15 +05:30
vishnukvmd
bba00c51e8 v2.0.45 2024-03-25 23:19:41 +05:30
Vishnu Mohandas
371ec01e6e
[auth] fix error on windows and linux (#1200)
[auth] fix error on windows and linux
2024-03-25 23:18:59 +05:30
Prateek Sunal
bc7309665d fix: linux error 2024-03-25 23:17:21 +05:30
vishnukvmd
2dcf5daf54 Handle cases where default payment method might not be specified 2024-03-25 23:16:20 +05:30
vishnukvmd
29245b73b9 Cancel subscriptions on SEPA failures immediately 2024-03-25 23:15:43 +05:30
Prateek Sunal
61f1610c8d fix: error on windows 2024-03-25 23:14:51 +05:30
vishnukvmd
d003542e42 Simplify how last payment method is fetched 2024-03-25 23:13:56 +05:30
Vishnu Mohandas
62276d49d2
[auth] Desktop Release Candidate (#1133)
## Description

This suffices all the changes that were gone through the auth app to
enable Desktop release.
2024-03-25 22:15:18 +05:30
Prateek Sunal
e7f26ba250 fix: setup for app_links and window_manager 2024-03-25 22:02:58 +05:30
Prateek Sunal
86a334a769 fix: windows versioning 2024-03-25 21:58:47 +05:30
Vishnu Mohandas
a6cb9023bf
Update ente.io/faq => help.ente.io where possible (#1199)
On desktop, now there Help menu will have an "Ente Help" option instead
of "FAQ".

<img width="222" alt="Screenshot 2024-03-25 at 19 35 33"
src="https://github.com/ente-io/ente/assets/24503581/f061419d-7587-4438-b055-927a9cc8f42f">

The only place remaining after this is the sidebar on mobile
(`support_section_widget.dart`), but I wasn't sure of what string to use
(and how to add it to the localized strings for mobile) so I've left it
unchanged.
2024-03-25 19:55:54 +05:30
Manav Rathi
a4ecc2c344
Update ente.io/faq => help.ente.io where possible
On desktop, now there Help menu will have an "Ente Help" option instead of "FAQ"
(Unrelated: I noticed that user facing strings in the desktop app are not
localized).

The only place remaining after this is the sidebar on mobile
(`support_section_widget.dart`), but I wasn't sure of what string to use (and
how to add it to the localized strings for mobile) so I've left it unchanged.
2024-03-25 19:26:10 +05:30
Manav Rathi
147d79c64f
[web][photos] Fix infinite loop on half-logins (#1197)
Fix an infinite loop of navigation under the following conditions: key
is valid
but token is not present.

Fix is to match the condition used in both gallery

    if (!key || !token) {

and the root page.

They seemed to have diverged in commit
c3304571a9.

Was able to reproduce this when launching the desktop app such that the
key was
picked up (possibly from a prior installation) from the secure keychain,
but the
token was not found. I feel this is also a fix for a similar navigation
loop
recently reported by QA but unreproducible so far.
2024-03-25 19:11:07 +05:30
Prateek Sunal
704abf1265 Merge remote-tracking branch 'origin/main' into beta 2024-03-25 18:41:14 +05:30
Prateek Sunal
9f32a8aa83 fix: remove unused submodules 2024-03-25 18:35:08 +05:30
Manav Rathi
4b7155dd13
Match the condition in one more place 2024-03-25 17:44:27 +05:30
Manav Rathi
3b29f8ec2c
[web/desktop] Support windows environment on command (#1198)
## Description

This is my first time in ente! I modified two commands to allow the
build scripts for web and desktop to work in a Windows environment.

- Before running the command to get the git SHA in `next.config.js`, I
checked the platform of the current OS and changed it so that we could
run a command that would work on Windows.
- `NUL` is same as `/dev/null` in Windows, and `cd .` is always return
nothing with 0 status code.
- Added a new package called
[`shx`](https://[github.com/shelljs/shx](https://github.com/shelljs/shx))
to the development dependencies to support `rm` and `ln`, which are
commands not supported by Windows when running the Desktop build
command.

#1191 

## Tests

I've tested the web build and desktop build in a Windows environment. I
don't have a Mac, so I'd love for someone to test it on a Mac and let me
know the results.
2024-03-25 17:12:23 +05:30
Manav Rathi
eecb8b70f4
[web][photos] Fix infinite loop on half-logins
Fix an infinite loop of navigation under the following conditions: key is valid
but token is not present.

Fix is to match the condition used in both gallery

    if (!key || !token) {

and the root page.

They seemed to have diverged in commit c3304571a9.

Was able to reproduce this when launching the desktop app such that the key was
picked up (possibly from a prior installation) from the secure keychain, but the
token was not found. I feel this is also a fix for a similar navigation loop
recently reported by QA but unreproducible so far.
2024-03-25 16:48:08 +05:30
LI-NA
8e4ca0bc79 [desktop] Add shx and change the build command
To make the build script work on Windows, added the `shx` package in dev dependency and changed the `rm` and `ln` commands to `shx rm` and `shx ln`.
2024-03-25 20:11:44 +09:00
LI-NA
b98da635b6 [web] Change the command to fetch the git SHA
To make the git command work on Windows, changed it to use different commands depending on the platform of the OS.
2024-03-25 20:10:38 +09:00
Manav Rathi
37dce2bdb5
[photos-desktop] Fix preload script (#1196)
The preload script is now self contained, and the app when launched
tries to open the renderer correctly. It goes on to fail because of an
infinite navigation loop, but that's a different issue.

Beyond the navigation loop, there is more pending work to do - not all
the ipcMain/ipcRenderer communication would currently be working since
the objects being passed around (like "File") are not copyable. Still,
this PR is a checkpoint for the preload structure.
2024-03-25 15:49:55 +05:30
Manav Rathi
f8a36852a6
Prepare for test 2024-03-25 15:39:29 +05:30
Manav Rathi
892bf852a5
Convert remaining upload functions 2024-03-25 15:29:39 +05:30
Manav Rathi
f53b1361e8
Move file related functions 2024-03-25 15:09:51 +05:30
Manav Rathi
4261624da5
Handle rest of watch related functions 2024-03-25 14:03:20 +05:30
Manav Rathi
186e76c62b
Move add/remove watch functions to preload 2024-03-25 13:49:48 +05:30
Manav Rathi
96ea53face
preload / watch - part 1
The change event was not being used (since
dca542e781), so also remove that dead code.
2024-03-25 13:31:28 +05:30