Commit graph

478 commits

Author SHA1 Message Date
Neeraj Gupta
04a381fa51 [mob][photos] Use 100 as batchSize for copy 2024-04-20 15:44:43 +05:30
Neeraj Gupta
3e5648dae4
[mob][photos][internal] Enable fav + add to album action for shared files (#1484)
## Description


https://github.com/ente-io/ente/assets/254676/7ec2f82a-d0d1-4dbe-8836-87d1ffd793f6


## Tests

- [x] Hide Shared Item on Home Page If user has copied it.
- [x] Keep the fav state on the UI
- [x] Client side hash based dedupe works for copied items. Items are
linked to existing item instead of uploading duplicate entries
2024-04-20 15:33:54 +05:30
Neeraj Gupta
5e2c6f84f1 [mob][photos] Use internal flag check 2024-04-20 15:28:22 +05:30
Neeraj Gupta
72ddbbdf79 [mob][photos] Add assert to ensure copy is enabled for internal users 2024-04-20 15:21:26 +05:30
ashilkn
b10e212e0f [mob] use flutter v3.19.3 2024-04-20 15:11:09 +05:30
Ashil
a6e3d6de97
[mob][photos] Bump up to v0.8.83 (#1494) 2024-04-20 11:32:31 +05:30
Neeraj Gupta
c165b9ee9c [mob][photos] Lint 2024-04-20 11:31:09 +05:30
Neeraj Gupta
e2aae744be [mob][photos] Fix ownerID for copied items 2024-04-20 11:30:40 +05:30
Neeraj Gupta
9a34fdce05 [mob][photos] Enable add to option for shared photos for internal users 2024-04-20 11:30:20 +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
Neeraj Gupta
fc5705dd7b [mob][photos] Add additional check for fileType 2024-04-19 16:46:42 +05:30
Neeraj Gupta
01822b760d [mob][photos] Dedupe using hash before copying 2024-04-19 16:45:29 +05:30
Neeraj Gupta
02890a100b [mob][photos] Lint fix 2024-04-19 15:56:49 +05:30
Neeraj Gupta
f55fd36579 [mob][photos] Fix: Pass copy of EnteFile to avoid modification in original 2024-04-19 15:54:49 +05:30
Neeraj Gupta
08040d9154 [mob][photos] Use loading indicator instead of blocking progress 2024-04-19 15:52:41 +05:30
Neeraj Gupta
564ca77a8b Merge remote-tracking branch 'origin/main' into mobile_save_a_copy 2024-04-19 14:57:19 +05:30
Neeraj Gupta
136f53b581 [mob][photos] Fix: Remove fav action on shared photos 2024-04-19 14:53:41 +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
Neeraj Gupta
3788fdda6f [mob][photos]Fix: Show fav icon on shared photos 2024-04-19 14:15:33 +05:30
Neeraj Gupta
7f879aaf57 [mob][photos] Hide incoming file from home screen is saved 2024-04-19 13:34:44 +05:30
Neeraj Gupta
398e66a0eb [mob][photos] Lint fix 2024-04-19 12:36:28 +05:30
Neeraj Gupta
7631eb3b12 [mob][photos] Enable fav incoming files 2024-04-19 11:22:47 +05:30
Neeraj Gupta
b8ad320931 [mob] Add assertion check 2024-04-19 09:18:55 +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
Crowdin Bot
340f0b75cf New Crowdin translations by GitHub Action 2024-04-19 01:56:15 +00:00
Prateek Sunal
dca63ca487 fix: get collection key correctly 2024-04-18 23:00:08 +05:30
Prateek Sunal
336a6c53fc fix: use existing encryption path on multipart entry found 2024-04-18 22:42:32 +05:30
Prateek Sunal
f65e8359a7 fix: use random path, add date based fields, use collection id to encrypt file key 2024-04-18 22:38:10 +05:30
Neeraj Gupta
420cec01d2 [mob][photos] Rename method 2024-04-18 22:30:02 +05:30
Prateek Sunal
901e50b69b chore: move multipart size out of constants 2024-04-18 21:15:21 +05:30
ashilkn
23801f8fa6 Merge branch 'main' into migrate_from_sqflite 2024-04-18 17:15:08 +05:30
ashilkn
b238ba2c62 [mob] Migrate from sqflite (2) 2024-04-18 17:14:22 +05:30
ashilkn
eb68a6c293 [mob] Migrate from sqflite 2024-04-18 16:23:43 +05:30
Neeraj Gupta
b18e5cb036 [mob][photos] Minor refactor 2024-04-18 15:11:15 +05:30
Prateek Sunal
46b7dba9e3 fix: don't re-encrypt file, add nonce field, upload parts logic 2024-04-18 14:37:07 +05:30
ashilkn
e87ae499eb [mob] pref: use sqlite_async for getFilesCreatedWithinDurations 2024-04-18 10:59:22 +05:30
Prateek Sunal
4942724423 fix: better classes and enums 2024-04-16 23:55:36 +05:30
Prateek Sunal
9a810e1cd6 fix: old files 2024-04-16 21:58:58 +05:30
Prateek Sunal
c29beab8d6 Merge remote-tracking branch 'origin/main' into mobile-resumable 2024-04-16 21:57:00 +05:30
Prateek Sunal
6efedfdd28 Merge branch 'mobile-resumable' of https://github.com/ente-io/ente into mobile-resumable 2024-04-16 21:44:29 +05:30
Ashil
45942f7931
[mob][photos] Search field fixes (#1464)
## Description

See commits.
2024-04-16 17:49:28 +05:30
Neeraj Gupta
f645fff31c [mob][photos] Add hook to show cast devices 2024-04-16 15:38:41 +05:30
vishnukvmd
4cede0feb0 Remove submodules 2024-04-16 11:46:37 +05:30
vishnukvmd
3b5a2e9d2a [photos] v0.8.82 2024-04-16 11:36:35 +05:30
Neeraj Gupta
db95de8829 [mob][photos] Add cast pkg dependency 2024-04-16 09:55:01 +05:30
Prateek Sunal
311d23873e chore: bump version 2024-04-15 21:44:49 +05:30
Prateek Sunal
0956e3ccc4 Merge remote-tracking branch 'origin/main' into mobile-widgetsimproved 2024-04-15 21:43:52 +05:30
Prateek Sunal
587f721683 fix: revert old 2024-04-15 21:43:30 +05:30