Commit graph

25765 commits

Author SHA1 Message Date
Manav Rathi 0a248e5ce5
Prepare 2024-04-16 20:22:12 +05:30
Manav Rathi 598a885df2
Refactor
This doesn't fix the initial gap, functionality is still the same, but the flow
is now easier to understand.
2024-04-16 20:17:28 +05:30
Manav Rathi 138b775c13
At a more opportune place 2024-04-16 19:57:08 +05:30
Manav Rathi 2bb3e152f8
Precache 2024-04-16 19:54:00 +05:30
Manav Rathi f78e4d3914
Fix live photo cast 2024-04-16 19:42:53 +05:30
Manav Rathi bb9c384a52
[desktop] Fix watch related IPC - Part 1/x (#1463) 2024-04-16 18:45:38 +05:30
Ashil 45942f7931
[mob][photos] Search field fixes (#1464)
## Description

See commits.
2024-04-16 17:49:28 +05:30
Manav Rathi f775890af7
Rename on the renderer side 2024-04-16 16:35:30 +05:30
Manav Rathi 1fea509793
Rename the type on the electron side 2024-04-16 16:29:22 +05:30
Manav Rathi 9a6f3133b1
Reduce API 2024-04-16 16:17:27 +05:30
Manav Rathi afec29d6e7
Inline and spruce 2024-04-16 15:54:28 +05:30
Manav Rathi 8fbff7e3a3
Inline 2024-04-16 15:33:47 +05:30
Manav Rathi 96ea996401
Inline 2024-04-16 15:29:56 +05:30
Manav Rathi cf889b24af
Inline 2024-04-16 15:28:23 +05:30
Manav Rathi cd4b2a6810
Inline 2024-04-16 15:26:35 +05:30
Manav Rathi 415fa79271
[desktop] Make export work with the new IPC (#1461)
There is one piece of the puzzle still missing - the files are being
sent wholesale instead of being streamed - and this might cause memory
issues. I haven't benchmarked yet, leaving this until we get some
response from the upstream issue
https://github.com/electron/electron/issues/41872 (hopefully it's just
some thing I missed).

But otherwise, ran export on a trivial library and it worked fine, so
everything is at least hooked up properly now.
2024-04-16 15:12:34 +05:30
Manav Rathi 2403c19f70
Add a temporary fallback 2024-04-16 14:50:25 +05:30
Vishnu Mohandas 7ada38cca0
[auth] New translations (#1456)
New translations from
[Crowdin](https://crowdin.com/project/ente-authenticator-app)
2024-04-16 13:41:23 +05:30
Vishnu Mohandas 3c464549cf
Remove submodules (#1460) 2024-04-16 11:47:29 +05:30
vishnukvmd 4cede0feb0 Remove submodules 2024-04-16 11:46:37 +05:30
Vishnu Mohandas d9cef398cf
[photos] v0.8.82 (#1459) 2024-04-16 11:36:53 +05:30
vishnukvmd 3b5a2e9d2a [photos] v0.8.82 2024-04-16 11:36:35 +05:30
Manav Rathi 450e494a5e
Throwing darts 2024-04-16 11:34:34 +05:30
Prateek Sunal 4b2ebec11b
[FEAT] Route widget on click to image (#1418) (#1435)
## Description

Previously clicking on it was opening favorites album but now it will
open favorites album as well as image.

## Tests
2024-04-16 11:28:51 +05:30
Manav Rathi 2bc22f472e
[web] New translations (#1455)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-04-16 11:27:16 +05:30
Manav Rathi b104334fc6
[server] Specify a default for apps.public-albums (#1458)
local.yaml is only loaded in the local environment, and will not be used
in production. To avoid specifying it in both production and local
configurations, use it as a default specified in the code instead
(that's the pattern we're using in other places too from what I
remember, maybe we should refactor that too, but that's a bigger task
not tied to this change).

**Tested by**

On a local dev cluster

- [x] Not specifying anything and ensuring that the default is picked
- [x] Specifying an override in museum.yaml and verifying that is used
instead
2024-04-16 11:26:44 +05:30
Manav Rathi 81d1563c3d
Also reproducible on latest beta 2024-04-16 10:17:51 +05:30
Manav Rathi d53a4a14b8
Try another reader 2024-04-16 09:46:55 +05:30
Manav Rathi 1e202a76c4
Works if we don't stream 2024-04-16 09:39:43 +05:30
Manav Rathi 74b9a2a408
[server] Specify a default for apps.public-albums
local.yaml is only loaded in the local environment, and will not be used in
production. To avoid specifying it in both production and local configurations,
use it as a default specified in the code instead (that's the pattern we're
using in other places too from what I remember, maybe we should refactor that
too, but that's a bigger task not tied to this change).

**Tested by**

On a local dev cluster
- Not specifying anything and ensuring that the default is picked
- Specifying an override in museum.yaml and verifying that is used instead
2024-04-16 09:19:13 +05:30
Manav Rathi bd00471a08
[web] Clear search bar state when value is falsey (#1457)
Updates https://github.com/ente-io/ente/pull/1453 so that we also clear
the existing state by calling the setFoo methods even when value is
falsey.
2024-04-16 09:09:18 +05:30
Manav Rathi d7b0beb949
[web] Clear search bar state when value is falsey
Updates https://github.com/ente-io/ente/pull/1453 so that we also clear the
existing state by calling the setFoo methods even when value is falsey.
2024-04-16 09:03:35 +05:30
Crowdin Bot 22c080c2aa New Crowdin translations by GitHub Action 2024-04-16 02:03:30 +00:00
Crowdin Bot 0f4624e829 New Crowdin translations by GitHub Action 2024-04-16 01:37:39 +00:00
Prateek Sunal 311d23873e chore: bump version 2024-04-15 21:44:49 +05:30
Prateek Sunal 0956e3ccc4 Merge remote-tracking branch 'origin/main' into mobile-widgetsimproved 2024-04-15 21:43:52 +05:30
Manav Rathi 2577cfe2f1
Replace cast with @ts-expect-error 2024-04-15 21:43:38 +05:30
Prateek Sunal 587f721683 fix: revert old 2024-04-15 21:43:30 +05:30
Manav Rathi a5be903abe
Try writing the stream manually (same result) 2024-04-15 21:37:38 +05:30
Manav Rathi 8d76966d99
Upgrade Electron and other dependencies
This was primarily for getting the latest Electron, but I ran `yarn
upgrade-interactive` and upgraded the other non-breaking deps (mostly dev) too.

Reason for wanting electron is to try and see if this backport fixes the issue
with our streams not getting faithfully written:
https://github.com/electron/electron/pull/41052

In some ad-hoc and quick testing, I noticed that the new `writeStream` we've
implemented works fine for files up to 128 K, presumably some chunk size, but
then begins to diverge. Sounds similar (but not exactly the same) as this issue:
https://github.com/electron/electron/issues/39658

Unfortunately, this didn't fix the issue we're facing, so our case is perhaps
different.
2024-04-15 21:21:09 +05:30
Manav Rathi 020ed59d40
[web] Fix dev mode error on search input (#1453)
## Description
Ran into error after clearing search bar of queries by hitting
backspace.

>  The error is shown below
> Thank you to the team for considering 


## Tests
**Error**
![Screenshot 2024-04-15
184234](https://github.com/ente-io/ente/assets/82031202/f5f9845c-9420-4746-998b-2c67136d69cd)
**Fix**
Fixed by wrapping the line-causing error around by an `if` block.
2024-04-15 20:50:06 +05:30
Manav Rathi 2c5ed5bce9
[desktop] Streaming IPC - Part 2/x (#1454)
The data is getting streamed, but not correctly in some cases. So the
mechanics are in place, need to figure out the readable stream chunks
etc.
2024-04-15 20:48:48 +05:30
daviddeepan 09c07e58e6 search-input runtime-error fix 2024-04-15 19:54:33 +05:30
Manav Rathi f2e352c344
Handle spaces 2024-04-15 19:50:56 +05:30
Manav Rathi 83d2644bf4
Fix double slashing 2024-04-15 19:43:30 +05:30
Manav Rathi 67aacf8391
Replace everywhere 2024-04-15 19:40:50 +05:30
Manav Rathi c99c4ac839
Use new method 2024-04-15 19:35:19 +05:30
Manav Rathi 6b331612b6
writeStream 2024-04-15 18:39:08 +05:30
Neeraj Gupta 61f05f8eff
[mob][photos] Use modificationTime as creationTime if it's lower than… (#1451)
… creationTime

## Description

## Tests
2024-04-15 16:40:59 +05:30
Neeraj Gupta c840ac4d6c
[mob][photos] Upgrade connectivity_plus pkg (#1450)
## Description

## Tests
2024-04-15 16:26:30 +05:30