Commit graph

25426 commits

Author SHA1 Message Date
laurenspriem f3d18edf98 [mob] Better logging of face landmarks 2024-04-10 12:21:15 +05:30
Neeraj Gupta fac087c81b [mob] Fix person entity update 2024-04-10 10:59:27 +05:30
Neeraj Gupta c920aacd1b [mob] Reduce noise in the logs 2024-04-10 10:59:18 +05:30
Neeraj Gupta 16da5056ea [mob] Improve log 2024-04-10 10:53:18 +05:30
Neeraj Gupta 73007ee541 [mob] Improve log 2024-04-10 10:43:49 +05:30
Neeraj Gupta 915da41c86 [mob] generated changes 2024-04-10 10:21:07 +05:30
Neeraj Gupta c224e38ddf Merge branch 'main' into mobile_face 2024-04-10 10:15:40 +05:30
Neeraj Gupta e82cda1e82 [mob] Fix bug in discarding remote embedding 2024-04-10 10:10:53 +05:30
Manav Rathi ea18608727
[web] Fix SSR build (#1396)
Fixes the following error on the nightly build

Error: Attempting to assert globalThis.electron in a non-electron
context
at r
(/home/runner/work/ente/ente/web/apps/photos/.next/server/chunks/676.js:1:25418)
        ...

    > Build error occurred
    Error: Failed to collect page data for /gallery
at
/home/runner/work/ente/ente/web/node_modules/next/dist/build/utils.js:1258:15
{
      type: 'Error'
    }
2024-04-10 09:55:28 +05:30
Manav Rathi d828bcb071
[web] Fix SSR build
Fixes the following error on the nightly build

    Error: Attempting to assert globalThis.electron in a non-electron context
        at r (/home/runner/work/ente/ente/web/apps/photos/.next/server/chunks/676.js:1:25418)
        ...

    > Build error occurred
    Error: Failed to collect page data for /gallery
        at /home/runner/work/ente/ente/web/node_modules/next/dist/build/utils.js:1258:15 {
      type: 'Error'
    }
2024-04-10 09:53:30 +05:30
Manav Rathi f893f12f26
[infra] Limit the maximum size of the nginx stdout logs (#1395)
nginx logs to stdout, which is captured by docker and put into a file at
`/var/lib/docker/containers/<nginx-cont-id>/<id>-json.log`

By default, the size of this file is unbounded. Add a maximum limit of 1
GB to this.

References:
- https://docs.docker.com/config/containers/logging/local/
-
https://stackoverflow.com/questions/31829587/docker-container-logs-taking-all-my-disk-space
2024-04-10 09:41:05 +05:30
Manav Rathi e2c894f87f
[infra] Limit the maximum size of the nginx stdout logs
nginx logs to stdout, which is captured by docker and put into a file at
/var/lib/docker/containers/<nginx-cont-id>/<id>-json.log

By default, the size of this file is unbounded. Add a maximum limit of 1 GB to this.

References:
- https://docs.docker.com/config/containers/logging/local/
- https://stackoverflow.com/questions/31829587/docker-container-logs-taking-all-my-disk-space
2024-04-10 09:23:48 +05:30
Vishnu Mohandas 13a78ce84a
[mobile] New translations (#1282)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-04-10 08:03:42 +05:30
Manav Rathi eebb90fb40
[desktop] Remove GGML (#1394) 2024-04-09 21:36:22 +05:30
Manav Rathi 6a7220ca43
Remove support files for (removed) Windows GGML binary
These were added together with the GGML Windows binary in commit
c3887847bc.
2024-04-09 21:32:41 +05:30
Manav Rathi e8d224c511
Remove stale ggml reference 2024-04-09 21:29:15 +05:30
Manav Rathi 7dccdecff3
Improve log 2024-04-09 21:24:31 +05:30
Manav Rathi 1214b4ddc3
Web enum cleanup 2024-04-09 21:12:00 +05:30
Manav Rathi a813de5617
Only ONNX, web 2024-04-09 20:53:08 +05:30
Manav Rathi 4327cfdb23
Only ONNX, desktop 2024-04-09 20:46:27 +05:30
Manav Rathi b76b57d07e
Bye GGML web 2024-04-09 20:07:11 +05:30
Manav Rathi 67e39daff5
Cleanup 2024-04-09 19:59:31 +05:30
Manav Rathi b02600cb42
Rename 2024-04-09 19:26:20 +05:30
Vishnu Mohandas 4406307044
Update index.md (#1392) 2024-04-09 17:12:17 +05:30
Vishnu Mohandas c5208d8160
Update index.md 2024-04-09 17:12:06 +05:30
Neeraj Gupta c8154784f1 [mob] Minor fixes 2024-04-09 16:37:54 +05:30
Manav Rathi af07de58f6
More docs 2024-04-09 16:36:23 +05:30
Prateek Sunal cdbb9ab3c3
[fix] include libffi too as it's not included by default (#1387)
## Description

## Tests
2024-04-09 16:24:25 +05:30
Prateek Sunal f3356147f5 chore: bump version 2024-04-09 16:23:26 +05:30
Manav Rathi b937102cda
A more apropos link 2024-04-09 16:22:02 +05:30
Manav Rathi 544e6be3fd
Document 2024-04-09 15:38:59 +05:30
Ashil 628d13ea53
[mobile][photos] Use sqlite async for fetching all files for search (#1391)
## Description

Using [sqlite_async](https://pub.dev/packages/sqlite_async) has
increased query speed by about 5x and has removed GC logs like:
`Background concurrent copying GC freed 424845(20MB) AllocSpace objects,
183(4932KB) LOS objects, 37% free, 39MB/63MB, paused 144us,44us total
128.048ms`, which has improved performance of the app.

Tried using [sqlite3](https://pub.dev/packages/sqlite3), which reduced
query speed by 10x and removed the GC log, but introduced some jank
since it blocks the UI.

Converting the fetched rows to `EnteFile` now runs on an isolate to
avoid blocking the UI.

## Tests

Did manual testing to see difference in jank.
2024-04-09 15:17:48 +05:30
Neeraj Gupta 52038b8972 [mob] Sync removed clusters from a person 2024-04-09 15:00:57 +05:30
Neeraj Gupta d43ed15cdf [mob] Add support for syncing multile clusters for a person 2024-04-09 14:48:05 +05:30
Manav Rathi 4f76cfb912
[web] New translations (#1380)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-web)
2024-04-09 13:23:39 +05:30
Manav Rathi 9dc4a17593
[web] The great electron renaming (#1390)
- Expose on the globalThis
- Rename the deprecated loggers too
2024-04-09 13:23:06 +05:30
Manav Rathi b0fbd68d27
Fix errors 2024-04-09 13:13:37 +05:30
Vishnu Mohandas 4d09412f0a
v0.8.77 (#1389)
## Description

## Tests
2024-04-09 13:00:56 +05:30
vishnukvmd 99b248f7fa v0.8.77 2024-04-09 13:00:39 +05:30
Neeraj Gupta b62fc60eb5
[mob] Fix active plan highlight (#1388)
## Description

## Tests
Verified that free plan is highlighted for new sign ups


![image](https://github.com/ente-io/ente/assets/254676/8cf4a30d-57bc-47cc-ac54-acffbddf180c)
2024-04-09 12:59:25 +05:30
Manav Rathi 9127c48787
Remove duplicate files 2024-04-09 12:45:37 +05:30
Manav Rathi 5edca461f7
Final touches 2024-04-09 12:39:37 +05:30
Manav Rathi 4aa3d68e36
Wrap the assertion 2024-04-09 12:36:25 +05:30
Neeraj Gupta 8cb3bf255c [mob] Fix active plan highlight 2024-04-09 12:31:55 +05:30
Manav Rathi c729516faf
Final stretch 2024-04-09 12:21:32 +05:30
Manav Rathi 56ce5c0b0e
More transition 2024-04-09 12:17:33 +05:30
Manav Rathi d441418b5b
Remove deprecated loggers 2024-04-09 12:06:46 +05:30
Manav Rathi 0d0e20f7c4
More manual tweaks 2024-04-09 11:58:44 +05:30
Prateek Sunal 7e5f01da18 fix: include libffi too as it's not included by default 2024-04-09 11:52:02 +05:30
Manav Rathi 1dc8f4617e
log.error regex replacement
- logError\(e, (".+")\);
- log.error($1, e);

+ a whole bunch of manual tweakings
2024-04-09 11:32:34 +05:30