Manav Rathi
3fafc5fd99
Use an Electron Builder version that supports notarytool
...
We need the following patch (from the release notes of v25.0.0-alpha.6)
https://github.com/electron-userland/electron-builder/releases
> feat: Make notarization with Apple ID more usable by
> https://github.com/electron-userland/electron-builder/pull/8159
2024-05-03 13:17:58 +05:30
Manav Rathi
b24d80a267
Move to new notarization mechanism
...
Refs:
- https://www.electron.build/configuration/mac.html#NotarizeLegacyOptions
- https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/src/macPackager.ts
- https://github.com/samuelmeuli/action-electron-builder/issues/101
2024-05-03 13:02:19 +05:30
Manav Rathi
0f3555468d
Provide repository
...
Fixes:
Cannot detect repository by .git/config. Please specify "repository" in the package.json (https://docs.npmjs.com/files/package.json#repository ).
Please see https://electron.build/configuration/publish failedTask=build stackTrace=Error: Cannot detect repository by .git/config. Please specify "repository" in the package.json (https://docs.npmjs.com/files/package.json#repository ).
2024-05-03 12:09:03 +05:30
Manav Rathi
e9feec37d5
Run the electron builder in the correct path
2024-05-03 11:28:06 +05:30
Manav Rathi
79e15827d3
[desktop] Use same convention as other preexisting tags in our repo ( #1592 )
2024-05-03 11:09:43 +05:30
Manav Rathi
5d0e62cf5f
Use same convention as other preexisting tags in our repo
2024-05-03 11:08:06 +05:30
Manav Rathi
d68e607d4a
[desktop] Fix ref ref in action ( #1591 )
...
ref_name is the (from my understanding) the shorthand we need for
prefixing. Untested, will do a test build.
2024-05-03 11:02:46 +05:30
Manav Rathi
647cc0d803
[desktop] Fix ref ref in action
...
ref_name is the (from my understanding) the shorthand we need for prefixing. Untested, will do a test build.
2024-05-03 11:00:55 +05:30
Manav Rathi
383d570ece
[desktop] Prepare for beta release ( #1590 )
2024-05-03 10:51:45 +05:30
Manav Rathi
ddad863b31
Prepare for release
2024-05-03 10:50:21 +05:30
Neeraj Gupta
486d89f506
[mob] Log n/w when mobileBackUpIsDisabled and backup is happening ( #1589 )
...
## Description
## Tests
2024-05-03 10:34:34 +05:30
Neeraj Gupta
024f160ca0
[mob] Improve log
2024-05-03 10:14:27 +05:30
Neeraj Gupta
cdfbd402d2
[cli] Documentation improvement ( #1587 )
...
- Clarify that config.yaml needs to go to CWD
- Add a notice about ente account add (I think it is the second time
someone got confused about this)
Maybe we can also print a notice or the help docs when `ente` is run
without any arguments (just a thought for future changes)
2024-05-03 10:02:15 +05:30
Manav Rathi
977d212be6
Add a notice about ente account add
2024-05-03 09:42:17 +05:30
Manav Rathi
3eda263d26
Clarify cwd
2024-05-03 09:38:58 +05:30
Manav Rathi
9324c739fd
[desktop] Electron 30 ( #1584 )
...
Upgrade to Electron 30 to get the streaming request fix we need.
Also add a workaround to get POSIX paths from webUtils on Windows. For
the test case, see this
[Fiddle](https://gist.github.com/mnvr/91eaca21b0651926565274ee80f10ad5 ).
2024-05-02 21:49:44 +05:30
Manav Rathi
0c4da8c86a
POSIX paths
2024-05-02 21:38:02 +05:30
Manav Rathi
6a99002064
Start using it
2024-05-02 21:25:44 +05:30
Manav Rathi
67eed1aa89
Upgrade to Electron 30
...
This picks up the stream fix we need
> Fixed data corruption when protocol.handle() processed incoming data asynchronously. #41933 (Also in 31)
>
> https://github.com/electron/electron/releases/tag/v30.0.2
2024-05-02 21:20:26 +05:30
Manav Rathi
151e7abc19
[desktop] Resurrect desktop build ( #1583 )
...
Untested, this is the plan.
2024-05-02 20:25:13 +05:30
Manav Rathi
2f2d15c9f2
lint
2024-05-02 20:22:40 +05:30
Manav Rathi
fecfb4a8b7
Hopes and dreams
2024-05-02 19:52:39 +05:30
Manav Rathi
3b3d24e9e0
It'll need to live in the releases repo, reword accordingly
2024-05-02 19:34:58 +05:30
Manav Rathi
aed781b0ff
Use same credentials as the auth app
...
While we won't actually be using the monorepo for releases, get the action to a
known state:
- MAC_OS_CERTIFICATE and MAC_OS_CERTIFICATE_PASSWORD is the same GitHub secret
that the auth app already uses
- Need to add APPLE_API_KEY, APPLE_API_KEY_ID, APPLE_API_KEY_ISSUER_ID.
2024-05-02 19:05:52 +05:30
Manav Rathi
fa182b951d
[desktop] Resurrect build
...
Untested
2024-05-02 12:55:08 +05:30
Manav Rathi
85522a946a
[desktop] Short-circuit ML ( #1580 )
...
This is so that we can make a release. Post-release, we'll come back to
this and give it the finishing touches and re-enable it. This avoids
doing a re-indexing for actual users in case we need to change stuff
during the finishing touches.
2024-05-02 12:07:09 +05:30
Manav Rathi
68721b8168
Pick from the correct table
2024-05-02 11:11:24 +05:30
Manav Rathi
8327c2b881
Remove unused ElectronFile
2024-05-02 10:23:56 +05:30
Vishnu Mohandas
ab471dde96
Replace Isar with SQLite for storing CLIP embeddings ( #1575 )
...
## Description
- This PR removes the dependency on Isar, and sets up a SQLite DB for
storing embeddings.
- The existing DB is deleted, and the new DB is populated by pulling
embeddings from the server. Local migration was possible, but that would
have required us to keep Isar as a dependency for an unknown period of
time.
- For 30k embeddings, DB size has dropped from ~420MB to ~115MB. The
first load on a Pixel 7 has increased from ~500ms to ~600ms.
- More details @ https://ente.io/blog/tech/sqlite-objectbox-isar/#update
## Tests
- [x] Verified over internal builds that semantic search is working as
expected
> Note: This fixes that jank that would happen when a foreground process
tries to read data from the Isar DB while a background process is alive.
2024-05-02 09:35:24 +05:30
Manav Rathi
cd5c1e35fa
Disable live clip, rely on the thumbnailed version
2024-05-01 21:05:29 +05:30
Manav Rathi
30f22e333a
Pass file when we have it
2024-05-01 21:04:41 +05:30
Manav Rathi
5ba2e35af6
Force disable it for non internal users
2024-05-01 20:13:08 +05:30
Manav Rathi
0226a99fa3
Disable enabling ML search
2024-05-01 20:09:36 +05:30
Manav Rathi
2690b874ee
Make the migration a no-op
2024-05-01 19:49:09 +05:30
vishnukvmd
11d6cdd7c1
Rename variables
2024-05-01 19:36:09 +05:30
Manav Rathi
eb64cd8367
[desktop] More IPC enhancements and fixes ( #1577 )
...
Heading towards a wrap.
2024-05-01 19:08:41 +05:30
Manav Rathi
90b5054fcb
chokidar seemed to have gotten stuck after a close
...
Not sure if something else was off, but after a close new watches in the same
session (after logging in) stopped reacting.
2024-05-01 19:02:43 +05:30
Manav Rathi
932f26684d
Electron logout
2024-05-01 18:50:10 +05:30
Manav Rathi
4eb51061cb
For real
2024-05-01 18:21:45 +05:30
Manav Rathi
de4aa3a6ca
URL encode
2024-05-01 18:15:52 +05:30
Manav Rathi
c988884ab1
Setting pathname had no effect
2024-05-01 17:56:46 +05:30
Manav Rathi
b967d4bbea
URL encode better
...
e.g. fixes the reading of a file with a hash in the name
2024-05-01 17:39:28 +05:30
Manav Rathi
0a93ba67a1
Fix warnings
...
Refs:
https://stackoverflow.com/questions/69730364/what-is-the-purpose-of-shouldforwardprop-option-in-styled
2024-05-01 17:04:44 +05:30
Manav Rathi
d30a8b8033
[desktop] Finalize zip handling ( #1576 )
...
And other fixes. Getting close to a stable desktop build.
2024-05-01 15:42:12 +05:30
Manav Rathi
9dd865ff6e
Comment
2024-05-01 15:31:42 +05:30
vishnukvmd
bc32c89d77
Rename DB
2024-05-01 15:14:44 +05:30
vishnukvmd
1cd9fb1021
v0.8.88
2024-05-01 15:12:57 +05:30
Manav Rathi
10f2c3db6f
Mention why we're normalizing
2024-05-01 15:12:50 +05:30
vishnukvmd
5f131693f4
Use Int instead of String to represent an enum
2024-05-01 15:12:48 +05:30
Manav Rathi
4c28e83dbb
Optimize
2024-05-01 15:07:58 +05:30