Commit graph

294 commits

Author SHA1 Message Date
Neeraj Gupta 733fe6b3d8 [mob][photos] Restrict multipart upload to debug builds 2024-04-20 17:31:42 +05:30
Neeraj Gupta 1cdca5c9ff [mob][photos] Increase loading iconSize + reduce padding 2024-04-20 17:07:53 +05:30
Neeraj Gupta b9c82fb427 [mob][photos] Bump version 0.8.84+604 2024-04-20 15:45:04 +05:30
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
Neeraj Gupta 420cec01d2 [mob][photos] Rename method 2024-04-18 22:30:02 +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
ashilkn e87ae499eb [mob] pref: use sqlite_async for getFilesCreatedWithinDurations 2024-04-18 10:59:22 +05:30
Ashil 45942f7931
[mob][photos] Search field fixes (#1464)
## Description

See commits.
2024-04-16 17:49:28 +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
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
Neeraj Gupta 61f05f8eff
[mob][photos] Use modificationTime as creationTime if it's lower than… (#1451)
… creationTime

## Description

## Tests
2024-04-15 16:40:59 +05:30
Neeraj Gupta fdb9e4e205 [mob][photos] Use modificationTime as creationTime if it's lower than creationTime 2024-04-15 15:46:47 +05:30
Neeraj Gupta 5bac629c2b [mob][photos] Fix connectivityResult check 2024-04-15 15:21:43 +05:30
Neeraj Gupta ab1ac9cf11 [mob][lint] error on unrelated_type_equality_checks rule voilation 2024-04-15 15:04:10 +05:30
Neeraj Gupta 223a4ffcfd [mob][photos] Upgrade connectivity_plus pkg 2024-04-15 15:00:59 +05:30
Prateek Sunal d46d74c6e2
Merge branch 'main' into mobile-widgetsimproved 2024-04-15 14:50:28 +05:30
Neeraj Gupta 6300984bd1 Merge branch 'main' into multipart 2024-04-15 11:59:15 +05:30
ashilkn 2a835e80a4 [mob] bump up photos version to v0.8.81 2024-04-15 10:58:35 +05:30