Commit Graph

32131 Commits

Author SHA1 Message Date
Laurens Priem
b7eb130a63 Merge branch 'main' into tiny_cleanup 2024-08-27 12:34:48 +02:00
Neeraj Gupta
c2a5f85a02 [mob] Skip untranslated strings 2024-08-27 16:02:33 +05:30
Neeraj Gupta
b9f8f55a30 [mob] Upgrade crowdin config 2024-08-27 15:59:07 +05:30
Neeraj Gupta
5e05e50049 [mob] Fix lint 2024-08-27 15:48:25 +05:30
Neeraj Gupta
cba69a84d3 [mob] Skip exporting untranslated strings for store listing 2024-08-27 15:40:27 +05:30
laurenspriem
8044bd75df [mob][photos] stop annoying analyzer emphasis 2024-08-27 12:09:51 +02:00
laurenspriem
9b82ba22a3 [mob][photos] Remove last tflite remnants 2024-08-27 11:41:59 +02:00
Neeraj Gupta
ac3061a232 Revert "[mob]Remove dst from crowdin template"
This reverts commit 4278e9c474.
2024-08-27 14:42:20 +05:30
Neeraj Gupta
4278e9c474 [mob]Remove dst from crowdin template 2024-08-27 14:35:04 +05:30
Ashil
3be95042a3 [mob][photos] update flutter version in README.md (#2978) 2024-08-27 14:18:30 +05:30
ashilkn
b1f3b440f7 [mob][photos] changes in pubspec.lock 2024-08-27 14:18:17 +05:30
ashilkn
55b4ce8326 [mob][photos] Update flutter version in github workflows 2024-08-27 14:09:27 +05:30
ashilkn
6c5dd38dbf [mob][photos] Update flutter version to 3.24.1 in README.md 2024-08-27 14:06:50 +05:30
Laurens Priem
3f9f554b4c ML file download logs (#2979)
## Description

More logging regarding download/obtaining file for ML indexing
2024-08-27 10:33:29 +02:00
Crowdin Bot
2450dcf4c2 New Crowdin translations by GitHub Action 2024-08-27 13:57:19 +05:30
laurenspriem
7718da93a5 [mob][photos] Logs 2024-08-27 10:23:15 +02:00
ashilkn
ef01223d9d [mob][photos] update flutter version in README.md 2024-08-27 13:49:28 +05:30
laurenspriem
d299f94518 [mob][photos] More logs 2024-08-27 10:11:12 +02:00
laurenspriem
375260d701 [mob][photos] Better logging for image retrieval 2024-08-27 10:05:31 +02:00
Manav Rathi
dc49a59111 [desktop] Specify an action version (#2977)
Apparently, specifying something after the @ is necessary. Without this,
the action stopped working.

Updates https://github.com/ente-io/ente/pull/2976.
2024-08-27 13:21:01 +05:30
Manav Rathi
13dea41c97 [desktop] Specify an action version
Apparently, specifying something after the @ is necessary. Without this, the
action stopped working.
2024-08-27 12:54:55 +05:30
Manav Rathi
3e4f8e7041 [desktop] Use latest version of our updated fork of the electron-builder action (#2976)
So that it refs this commit

eff78a1d33
2024-08-27 12:45:06 +05:30
Manav Rathi
f3860a077e [desktop] Use latest version of our updated fork of the electron-builder action
So that it refs this commit
eff78a1d33
2024-08-27 12:44:33 +05:30
Manav Rathi
cee429abdb Update the docs around ffmpeg on Intel macOS (#2974) 2024-08-27 12:40:28 +05:30
Manav Rathi
80b86189d0 Update the docs around ffmpeg on Intel macOS 2024-08-27 12:39:51 +05:30
Neeraj Gupta
4ecc64e478 [server] Handle case when no entry exists in trash 2024-08-27 12:35:24 +05:30
Manav Rathi
46e1552f1e [server] Cache count improvement (#2972)
## Description
This does not handle the case where the server might get multiple
request for same user to get the count, and the file count is not cached
yet.

## Tests
2024-08-27 12:15:09 +05:30
Manav Rathi
34183aab64 [desktop] Fix broken nightly builds due to ajv (#2971)
I'm not sure why it started happening now. Earlier I thought it was
because of this - https://github.com/ente-io/ente/pull/2969 - but that
was a red-herring (I think!), instead this likely got triggered because
of

eff78a1d33.

This change fixed the issue locally, will see if it works on CI too.

Workaround from:
https://github.com/ajv-validator/ajv/issues/2443#issuecomment-2147026958
2024-08-27 12:04:29 +05:30
Neeraj Gupta
e32facf3e6 [server] Refresh fileCount only if trash or usage changed 2024-08-27 12:01:00 +05:30
Manav Rathi
571d721925 [desktop] Fix broken nightly builds due to ajv
I'm not sure why it started happening now. Earlier I thought it was because of
this - https://github.com/ente-io/ente/pull/2969 - but that was a red-herring (I
think!), instead this likely got triggered because of
eff78a1d33.

This change fixed the issue locally, will see if it works on CI too.

Workaround from:
https://github.com/ajv-validator/ajv/issues/2443#issuecomment-2147026958
2024-08-27 12:00:40 +05:30
Manav Rathi
f1e91ab11a [server] Allow adding bonus storage (#2970)
## Description

## Tests
2024-08-27 11:44:00 +05:30
Neeraj Gupta
a5b289d290 [server] Allow 200,1TB, & 2TB 2024-08-27 11:36:26 +05:30
Neeraj Gupta
0925f7f0a2 [server] Allow adding support bonus 2024-08-27 11:32:48 +05:30
Neeraj Gupta
bf7f1d43c0 [server] Update endpoint 2024-08-27 11:26:59 +05:30
Neeraj Gupta
e0eda79a91 [server] Refactor 2024-08-27 11:20:27 +05:30
Neeraj Gupta
9334540e1e [server] Rename 2024-08-27 11:14:34 +05:30
Neeraj Gupta
f67516f696 [server] Remove duplicate code 2024-08-27 10:56:56 +05:30
Manav Rathi
5663378bf2 [desktop] Fix macOS universal binaries (#2969)
The previous approach worked, but we ran into some other issues

    Uncaught Exception:
    Error: Cannot find module 'ajv/dist/compile/codegen'
    Require stack:
-
/Applications/ente.app/Contents/Resources/app.asar/node_modules/ajv-formats/dist/limit.js

As an alternative, try to use the yarn equivalent(-ish).
2024-08-27 10:52:49 +05:30
Manav Rathi
45c4d1c623 [server] Remove unused endpoint (#2968)
## Description

## Tests
2024-08-27 10:51:47 +05:30
Manav Rathi
7129b2822b [desktop] Fix macOS universal binaries
The previous approach worked, but we ran into some other issues

    Uncaught Exception:
    Error: Cannot find module 'ajv/dist/compile/codegen'
    Require stack:
    - /Applications/ente.app/Contents/Resources/app.asar/node_modules/ajv-formats/dist/limit.js

As an alternative, try to use the yarn equivalent(-ish).
2024-08-27 10:50:51 +05:30
Neeraj Gupta
65497862ea [server] Remove unused endpoint 2024-08-27 10:48:56 +05:30
Manav Rathi
e2c3b625db [server] Log slow replication upload (#2966)
## Description

## Tests
2024-08-27 10:07:40 +05:30
Manav Rathi
acfbcf1cf4 [desktop] Fix action (#2967)
Fix for https://github.com/ente-io/ente/pull/2965
2024-08-27 10:03:27 +05:30
Manav Rathi
c1327fd8aa [desktop] Fix action
Fix for https://github.com/ente-io/ente/pull/2965
2024-08-27 10:02:45 +05:30
Neeraj Gupta
706bb12273 [server] Log slow replication 2024-08-27 10:00:06 +05:30
Manav Rathi
323f027a9d [desktop] Create ffmpeg universal binaries for macOS (#2965)
Tested locally, still need to run it as a GitHub action to verify that
it is working as intended.

Refs:
-
https://www.npmjs.com/package/ffmpeg-static#electron--other-cross-platform-packaging-tools
- https://github.com/eugeneware/ffmpeg-static/issues/35
- https://github.com/eugeneware/ffmpeg-static/issues/136
2024-08-27 09:57:35 +05:30
Manav Rathi
248d8e09a9 [desktop] Create ffmpeg universal binaries for macOS
Tested locally, still need to run it as a GitHub action to verify that it is
working as intended.

Refs:
- https://www.npmjs.com/package/ffmpeg-static#electron--other-cross-platform-packaging-tools
- https://github.com/eugeneware/ffmpeg-static/issues/35
- https://github.com/eugeneware/ffmpeg-static/issues/136
2024-08-27 09:54:30 +05:30
Manav Rathi
716b1be234 [meta] Run PRs lint checks for pull requests from external forks (#2959)
Currently, for PRs opened by external contributors, the various lint
checks don't run (sometimes causing code that fails basic lint checks to
be committed to main).

<img width="796" alt="Screenshot 2024-08-26 at 21 56 01"
src="https://github.com/user-attachments/assets/d7607c65-1849-4ec3-ae0e-011161015fce">

From my current understanding (I find the docs around this confusing -
I'm not sure about this), we need to instead use "pull_request". Refs:

*
https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request
*
https://securitylab.github.com/resources/github-actions-preventing-pwn-requests/

Note that even then, we will need a manual step to approve running the
lints for first time contributors. Which is fine, at least we'll see the
option, unlike right now where they just can't be run until the code
hits main.

<img width="542" alt="Screenshot 2024-08-26 at 21 56 17"
src="https://github.com/user-attachments/assets/d5281a04-c6f8-4bd6-b368-b4bd99b943ef">
2024-08-27 08:06:53 +05:30
Neeraj Gupta
8f5f1a22ee [auth] Fix Aegis import without group 2024-08-27 05:16:05 +05:30
Vishnu Mohandas
f9b740b683 Update docs (#2961) 2024-08-26 22:33:28 +05:30