Commit graph

24682 commits

Author SHA1 Message Date
Crowdin Bot
33cfec915a New Crowdin translations by GitHub Action 2024-03-26 01:55:04 +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
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
Prateek Sunal
61f1610c8d fix: error on windows 2024-03-25 23:14:51 +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
Manav Rathi
67468c6ff9
Move the selection dialogs 2024-03-25 13:02:06 +05:30
Prateek Sunal
1859bfd9da fix: remove next electron server 2024-03-25 12:47:57 +05:30
Prateek Sunal
893421de6e fix: divider theme in material 3 2024-03-25 12:45:44 +05:30
Prateek Sunal
549e1a2753 fix: delete unused files 2024-03-25 12:45:30 +05:30
Manav Rathi
e8acbd8c9f
Convert the other conversion functions 2024-03-25 12:45:21 +05:30
Prateek Sunal
b185a37435 fix: onboarding page spacing 2024-03-25 12:38:51 +05:30
Manav Rathi
2522da2b5e
Handle runFFMPEGCmd in preload 2024-03-25 12:32:57 +05:30
Prateek Sunal
bd5c56349a Merge remote-tracking branch 'origin/main' into beta 2024-03-25 12:26:31 +05:30
Manav Rathi
dd7e87274a
Handle set/getEncryptionKey in preload 2024-03-25 12:19:19 +05:30
Manav Rathi
106ba270fe
Handle ML related functions in updated preload 2024-03-25 12:09:11 +05:30
Ashil
ed4886a6a5
[mobile][photos] Fix performance benchmarking config (#1195)
## Description

- Fix broken integration test used for benchmarking gallery scroll
performance.
- Automate email and password entry.
- Write script to run perf test.
2024-03-25 10:30:13 +05:30
Vishnu Mohandas
bdd6663461
[auth] custom icons (#1194)
Edited the custom-icons.json for the added SVG files.
2024-03-25 10:17:11 +05:30
ludespeedny
a403cd88e2
custom icons for DCS, WYZE 2024-03-24 12:20:28 -04:00
ludespeedny
d11ee7acb4
Update custom-icons.json
update custom-icons.json for DCS and WYZE icons.
2024-03-24 12:18:33 -04:00
Prateek Sunal
47370bdeaf fix: focus of password entry box 2024-03-23 22:37:25 +05:30
Vishnu Mohandas
f3bdfa84ef
[docs] Collapse the Migration guide for Auth 2024-03-23 21:06:35 +05:30
Manav Rathi
4bf99c8bea
[photos-desktop] Fix preload.ts - Part x/x (#1190)
Continuation of https://github.com/ente-io/ente/pull/1189
2024-03-23 20:44:41 +05:30
Manav Rathi
d3093809d6
Inline more into preload 2024-03-23 20:25:56 +05:30
Manav Rathi
81ba5379c9
Move checkExistsAndCreateDir out of preload 2024-03-23 20:06:27 +05:30