ashilkn
dec7c45310
[mob][photos] Migrate to sqlite_async(9)
2024-05-16 16:41:57 +05:30
ashilkn
1a360d3ee7
[mob][photos] Migrate to sqlite_async(8): Migrate insert() + rearrange + clean up
2024-05-16 15:37:00 +05:30
ashilkn
584a37d2a2
[mob][photos] Remove obsolete code
...
This code is from when we used to support favoriting un-uploaded files
2024-05-16 14:20:03 +05:30
ashilkn
cd023b621a
[mob][photos] Remove optional parameter which should never be used
...
Since generatedID (_id) has NOT NULL constrain, it shouldn't be in a parameter set of a query
2024-05-16 12:59:19 +05:30
ashilkn
7fdc2b5e66
[mob][photos] Migrate to sqlite_async(8): Fix faulty update statements due to incorrect query generation
2024-05-16 12:48:21 +05:30
ashilkn
1e7779a819
[mob][photos] Remove method inline annotation which doesn
...
't have noticeable perf improvement + remove commented out code
2024-05-15 21:18:14 +05:30
ashilkn
56478fcb8a
[mob][photos] avoid unnecessary compute
2024-05-15 21:10:37 +05:30
ashilkn
e179d351d9
[mob][photos] Migrate to sqlite_async(7): Assign String '{}' instead of map object {} to fix unexpected behaviour
2024-05-15 21:04:32 +05:30
ashilkn
25554209ec
[mob][photos] Migrate to sqlite_async)(6): Migrate insertMultipleNew to use sqlite_async
2024-05-15 19:52:55 +05:30
ashilkn
d1a5921c27
[mob][photos] Migrate to sqlite_async(5): Create a method to get parameter set from file without calling getRowForFile()
2024-05-15 15:28:24 +05:30
ashilkn
ff14eb1d5a
[mob][photos] Migrate to sqlite_async (4)
2024-05-14 14:59:03 +05:30
ashilkn
8fcd05b95f
[mob][photos] Migrate to sqlite_async (3)
2024-05-13 18:29:01 +05:30
ashilkn
3a0882a1a9
[mob][photos] Migrate to sqlite_async (2): Migrate all update queries in filesDB
2024-05-13 17:57:22 +05:30
ashilkn
5bd845d32b
[mob][photos] Migrate to sqlite_async (1)
2024-05-13 15:39:35 +05:30
Neeraj Gupta
50613b8c57
[server] Add option to updateMetadata without versionChange ( #1708 )
...
## Description
## Tests
2024-05-13 13:31:58 +05:30
Manav Rathi
acc3f7b30f
[desktop] Imagemagick related tweaks ( #1707 )
...
Related: https://github.com/ente-io/ImageMagick
2024-05-13 13:05:45 +05:30
Manav Rathi
b7292f2629
Add a log line for debugging
2024-05-13 11:35:24 +05:30
Manav Rathi
957c2a64df
Keep the order in the documentation examples
...
https://imagemagick.org/Usage/thumbnails/
2024-05-13 11:33:25 +05:30
Manav Rathi
631b1772e4
Fix mangled parameter being passed to imagemagick
...
Similar: https://github.com/ente-io/ente/pull/1175
2024-05-13 11:31:34 +05:30
Manav Rathi
9ca8ef9e74
The bundled binary is x86 only, bail out early on ARM
...
Error: Error invoking remote method 'generateImageThumbnail': Error: Command failed: '/tmp/.mount_ente-1lYbIWw/resources/image-magick' '/home/m/Downloads/VM/IMG_4484.WEBP' -auto-orient -define 'jpeg:size=1440x1440' -thumbnail '720x720>' -unsharp '0x.5' -quality 70 '/tmp/ente/9aNsp1FdLe.jpeg'
/bin/sh: 1: /tmp/.mount_ente-1lYbIWw/resources/image-magick: Exec format error
The binary is from https://github.com/ente-io/ImageMagick/
2024-05-13 11:22:13 +05:30
Manav Rathi
95cf306be2
[desktop] --no-sandbox does not prevent the SUID abort when added from JS ( #1706 )
...
- Revert the workaround
- Document the behaviour I observed
- (Unrelated) Add the other CHANGELOG entries in preparation for the
release
2024-05-13 10:21:36 +05:30
Manav Rathi
644e67f648
--no-sandbox does not prevent the SUID abort when added from JS
...
From https://github.com/toeverything/AFFiNE/issues/6722#issuecomment-2081805954
> Disable sandboxing entirely by launching with --no-sandbox. Adding this
argument from JS is unfortunately insufficient, as the GPU process is launched
before the main process JS is run.
Ref:
* https://github.com/electron/electron/issues/17972
2024-05-13 10:19:44 +05:30
Neeraj Gupta
2b58568230
[FEAT] Resumable Multipart Upload ( #1406 )
...
## Description
## Test Cases
Resumed Uploads
- [x] Verify that uploads are resuming
- [x] Verify that on resumption, parts that are already uploaded, we are
not re-uploading them.
- [x] Verify that we are able to download file from another client after
resuming
- [x] Verify that if `multiUpartUploadSize` changes, existing inflight
upload is either discarded or it's continue using old size.
- [x] Verify that if file is modified during upload, then on resumption
the existing upload is discarded
2024-05-12 20:48:17 +05:30
Neeraj Gupta
cf361aaa90
[mobile] New translations ( #1669 )
...
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app )
2024-05-12 20:47:01 +05:30
Manav Rathi
3ba7bcbf06
Add the other CHANGELOG entries
2024-05-12 20:00:48 +05:30
Manav Rathi
5b92133aae
[desktop] Pass the SUID workaround correctly
...
The flag itself is documented as supported:
https://www.electronjs.org/docs/latest/api/command-line-switches
I was just passing it incorrectly (hopefully).
2024-05-12 18:41:10 +05:30
Manav Rathi
8328bbe5be
[docs] Add more notes to the configuring S3 page ( #1700 )
2024-05-12 18:20:54 +05:30
Manav Rathi
1a11488959
Typo
2024-05-12 18:19:30 +05:30
Manav Rathi
036238c984
[docs] Add more notes to the configuring S3 page
2024-05-12 18:18:44 +05:30
Manav Rathi
4839ad738c
[docs] Fix description ( #1698 )
2024-05-12 16:50:34 +05:30
Manav Rathi
34ead5616d
[docs] Fix description
2024-05-12 16:44:18 +05:30
Manav Rathi
c005998312
[docs] Expand on the S3 configuration ( #1697 )
2024-05-12 16:41:02 +05:30
Manav Rathi
bc98287532
[docs] Expand on the S3 configuration
2024-05-12 16:39:08 +05:30
Vishnu Mohandas
e96c9dd2a3
[server] Make sender email configurable ( #1696 )
...
Ref:
https://github.com/ente-io/ente/discussions/1582#discussioncomment-9404061
2024-05-12 16:06:17 +05:30
Manav Rathi
321f97cdae
[server] Make sender email configurable
2024-05-12 16:00:15 +05:30
Manav Rathi
170e0b3e60
[desktop] Add a workaround for the SUID sandbox helper error on Linux ( #1695 )
...
I am able to reproduce this on Ubuntu 24 ARM.
> The SUID sandbox helper binary was found, but is not configured
correctly.
See:
- https://github.com/electron/electron/issues/17972
-
https://stackoverflow.com/questions/63780918/building-electron-linux-distro-the-suid-sandbox-helper-binary-was-found-but-i
2024-05-12 15:42:39 +05:30
Manav Rathi
d188abfe65
Add a workaround for the SUID sandbox helper error on Linux
...
I am able to reproduce this on Ubuntu 24 ARM.
> The SUID sandbox helper binary was found, but is not configured correctly.
See:
- https://github.com/electron/electron/issues/17972
- https://stackoverflow.com/questions/63780918/building-electron-linux-distro-the-suid-sandbox-helper-binary-was-found-but-i
2024-05-12 15:35:18 +05:30
Manav Rathi
944a075fb1
[web] Show api host on dev builds ( #1694 )
...
<img width="295" alt="Screenshot 2024-05-12 at 08 59 32"
src="https://github.com/ente-io/ente/assets/24503581/86319eeb-1837-44c3-89a0-4ee502400295 ">
2024-05-12 09:10:48 +05:30
Manav Rathi
c652abb9f9
[web] Show api host on dev builds
2024-05-12 08:59:42 +05:30
Manav Rathi
ca9190045e
[docs] Desktop installation troubleshooting ( #1690 )
2024-05-11 22:06:27 +05:30
Manav Rathi
055af7335e
vcpp
2024-05-11 22:03:54 +05:30
Manav Rathi
92ded91868
Add a arm64 appimage docs page
2024-05-11 21:54:42 +05:30
Manav Rathi
a4a5ea11cd
[desktop] RC ( #1689 )
...
- Whitelist uid
- electron 30.0.3
- Document log paths
2024-05-11 19:25:48 +05:30
Manav Rathi
2a3bf41937
Update instructions
2024-05-11 19:19:56 +05:30
Manav Rathi
c7aa5ccd1f
Document log paths
2024-05-11 18:56:37 +05:30
Manav Rathi
be329bc1c9
electron 30.0.3
...
https://github.com/electron/electron/releases/tag/v30.0.3
Fixed an issue where fs.createWriteStream could write out of order
https://github.com/electron/electron/pull/42046
Fixed crash after upgrade on Linux
https://github.com/electron/electron/pull/42064
2024-05-11 18:52:07 +05:30
Manav Rathi
131af10cc5
Whitelist
2024-05-11 18:48:54 +05:30
Manav Rathi
bb63e13ba3
[web] Firefox video stream decryption ( #1688 )
...
Fix an issue (manifesting on Firefox) where the size of an individual
chunk we got back from a readable stream was a multiple of
`decryptionChunkSize`. Main change in the PR is converting the `if`
condition to a `while` loop, rest is refactoring unrelated to the exact
issue.
2024-05-11 14:34:19 +05:30
Manav Rathi
d553087633
Cleanup
2024-05-11 13:58:44 +05:30
Manav Rathi
e8c2717bf7
Cleanup
2024-05-11 13:50:06 +05:30