Commit Graph

25738 Commits

Author SHA1 Message Date
Neeraj Gupta
b7d002feef [server] Support for copying files owned by others (#1496)
## Description

## Tests
Tested as part of https://github.com/ente-io/ente/pull/1484
- Verified that the client was able to download and decrypt the metadata
- Verified that storage was going up.
2024-04-20 15:27:11 +05:30
Vishnu Mohandas
076335ce5c [mob][photos] Fix build failing in release workflow (#1497)
## Description

Build was failing with this error
```
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':connectivity_plus:compileReleaseJavaWithJavac'.
> error: invalid source release: 17
```

## Tests

- [x] Ran workflow to verify it's completing.
2024-04-20 15:18:31 +05:30
ashilkn
b10e212e0f [mob] use flutter v3.19.3 2024-04-20 15:11:09 +05:30
ashilkn
ae2e740752 [mob] fix build error in github workflow for photos 2024-04-20 15:01:07 +05:30
Neeraj Gupta
d0621eea3e [server] Limit copying max 100 files in single req 2024-04-20 12:54:27 +05:30
Neeraj Gupta
cbdd116cea [server] Copy thumb and file in parallel 2024-04-20 12:49:28 +05:30
Neeraj Gupta
91620965b0 [server] Minor refactor 2024-04-20 12:37:35 +05:30
Neeraj Gupta
5a5e3d28cb [server] Copy files in parallel 2024-04-20 12:36:18 +05:30
Neeraj Gupta
bf738d9585 [server] Lint fix 2024-04-20 12:23:00 +05:30
Neeraj Gupta
ca7b03e945 [server] Fix incorrect pointer assignment in collection file map 2024-04-20 12:21:44 +05:30
Vishnu Mohandas
2160b4d7f9 Downgrade to Flutter v3.19.3 (#1495) 2024-04-20 11:33:31 +05:30
Ashil
a6e3d6de97 [mob][photos] Bump up to v0.8.83 (#1494) 2024-04-20 11:32:31 +05:30
vishnukvmd
f1e723a672 Downgrade to Flutter v3.19.3 2024-04-20 11:30:36 +05:30
Vishnu Mohandas
200cab16c3 Setup GH action to auto-deploy Photos to the internal track (#1493) 2024-04-20 11:06:59 +05:30
vishnukvmd
a704251bdd Switch to manual workflow 2024-04-20 11:06:34 +05:30
vishnukvmd
38aca8a947 Setup GH action to auto-deploy Photos to the internal track 2024-04-20 10:59:49 +05:30
Neeraj Gupta
fbf8b61891 [server] Fix query 2024-04-19 19:20:21 +05:30
Ashil
8113b70441 [mob][photos] Remove code related to sqlite3 (#1490) 2024-04-19 18:11:52 +05:30
Ashil
c4c513a1d7 [mob][photos] Use sqlite_async instead of sqlite3 (#1489)
## Description

Using both `sqlite_async` and `sqlite3` for querying at the same time
was throwing this error:
`error: SqliteException(5): while executing, database is locked,
database is locked (code 5)`

So, have used `sqlite_async` everywhere.

## Tests

- [x] Tested all changes
2024-04-19 16:56:40 +05:30
Manav Rathi
814803edb4 [desktop] Watch related refactoring - Part 2/x (#1488)
Inline, mostly, in preparation for a subsequent refactoring.
2024-04-19 15:05:01 +05:30
Manav Rathi
41aeb63465 Fix lint issues
unrelated to this PR, come from https://github.com/ente-io/ente/pull/1479
2024-04-19 15:02:09 +05:30
Manav Rathi
82c365b2db Inline 2024-04-19 14:49:24 +05:30
Manav Rathi
5f87dce547 Inline 2024-04-19 14:47:44 +05:30
Manav Rathi
643d028ffc Inline 2024-04-19 14:44:29 +05:30
Manav Rathi
7ed6e729f5 Inline 2024-04-19 14:37:35 +05:30
Manav Rathi
2b35d586c1 Inline 2024-04-19 14:33:54 +05:30
Manav Rathi
292084c00d Inline 2024-04-19 14:32:09 +05:30
Ashil
937267ed72 [mob] perf: avoid unnecessary frame builds and computations when toggling full fullscreen when viewing a file (#1487) 2024-04-19 14:17:01 +05:30
Manav Rathi
0509aad4af Remove unused prop 2024-04-19 14:15:53 +05:30
Manav Rathi
f59ecdb8d8 Reword 2024-04-19 14:14:48 +05:30
Manav Rathi
2c46be6ded async 2024-04-19 13:46:09 +05:30
Neeraj Gupta
710f76ee40 Merge remote-tracking branch 'origin/main' into save_a_copy 2024-04-19 13:36:00 +05:30
Manav Rathi
967ef2e3ea [desktop] Watch refactoring to get it work with new IPC (#1486) 2024-04-19 13:09:40 +05:30
Manav Rathi
760be52dc5 Fix schema 2024-04-19 12:59:10 +05:30
Manav Rathi
5be1b07c71 Remove noise on logout 2024-04-19 12:50:57 +05:30
Manav Rathi
57d09c08d4 Only load when in electron 2024-04-19 12:47:16 +05:30
Manav Rathi
00173bae1e Fix type 2024-04-19 12:46:10 +05:30
Manav Rathi
1b3c38d91f Lintable 2024-04-19 12:40:19 +05:30
Manav Rathi
f3e1abfaa1 Tie loops 2024-04-19 12:34:09 +05:30
Neeraj Gupta
04df64de05 [server] Improvate req validation on file createOrUpdate (#1485)
## Description
During the testing of copyFile functionality, I ran into issues where
files were created without all attributes (esp File EncryptedKey & Nonce
for thumbnail and file decryption).
This change

## Tests
Tested regular file upload, unable to test update as Photos app on
simulator is not showing save option. I don't expect it to break.
2024-04-19 12:11:57 +05:30
Manav Rathi
9d7f056883 Some shape 2024-04-19 12:03:00 +05:30
Neeraj Gupta
816fa330de [server] Implement support for copying object 2024-04-19 11:26:14 +05:30
Manav Rathi
f24fd98bc3 Sculpt 2024-04-19 11:22:02 +05:30
Manav Rathi
722cc74e64 Club 2024-04-19 10:27:18 +05:30
Manav Rathi
0e9703f770 Event listeners 2024-04-19 10:16:46 +05:30
Manav Rathi
500bac0b32 Prune happens on the node side now 2024-04-19 09:26:28 +05:30
Ashil
dac0ddf41c [mob][photos] Migrate use of WillPopScope to PopScope (#1473)
## Description

[Documentation followed for the
migration](https://docs.flutter.dev/release/breaking-changes/android-predictive-back)

## Tests

- [x] Tested screens in which migration wasn't straight forward
(HomeScreen)
2024-04-19 09:16:42 +05:30
Neeraj Gupta
d430616ccb [mobile] New translations (#1482)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-04-19 09:16:24 +05:30
Manav Rathi
46ac8968e8 Localize global state 2024-04-19 09:12:45 +05:30
Vishnu Mohandas
c7eb9a6084 [mob][photos] Migrate from sqflite (#1483)
## Tests

- [x] Tested all changes
2024-04-19 09:07:24 +05:30