Commit graph

412 commits

Author SHA1 Message Date
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
vishnukvmd 5f131693f4 Use Int instead of String to represent an enum 2024-05-01 15:12:48 +05:30
vishnukvmd de92a9dd64 v0.8.87 2024-05-01 10:41:36 +05:30
vishnukvmd 81feeef792 Remove dependency on Isar 2024-05-01 10:41:15 +05:30
vishnukvmd 9d6059a176 v0.8.86 2024-04-30 20:06:40 +05:30
vishnukvmd 348b784674 Remove Isar DB for Embeddings 2024-04-30 19:52:30 +05:30
vishnukvmd c0e12e84ef Merge branch 'main' into embedding_sqlite 2024-04-30 19:10:58 +05:30
Vishnu Mohandas 569f7c0c47
[mob][photos] Add support for casting (#1556)
## Description

## Tests
2024-04-30 16:41:05 +05:30
Vishnu Mohandas f00a04710b
Add an option to download multiple items (#1563)
## Description

<img width="373" alt="Screenshot 2024-04-30 at 4 06 33 PM"
src="https://github.com/ente-io/ente/assets/1161789/f4bc463e-654d-4e5f-8d7d-27308149068b">

## Tests

- [x] Tested on Simulator

> Note: If the downloaded item was not owned by the user, but was shared
with them, it will get re-uploaded into the user's own account. This is
the existing behavior, so have left it untouched. Will wait for customer
feedback before updating the implementation to ignore such items.
2024-04-30 16:40:59 +05:30
Neeraj Gupta e7a5e1be3f Merge branch 'main' into cast 2024-04-30 16:24:28 +05:30
vishnukvmd 99e72a119f Update download icon 2024-04-30 16:13:48 +05:30
vishnukvmd fe5e6c18e8 Provide option to download multiple items 2024-04-30 16:06:03 +05:30
vishnukvmd cdddbc4602 Increase severity of error log 2024-04-30 16:05:44 +05:30
vishnukvmd d7bef6cd4d Log filetype 2024-04-30 16:05:06 +05:30
vishnukvmd db47f8eaf5 Add copy 2024-04-30 16:05:00 +05:30
vishnukvmd 6f338867e4 Add log 2024-04-30 16:04:50 +05:30
vishnukvmd 872245cf0e Update package for icons 2024-04-30 16:04:32 +05:30
Neeraj Gupta 268c7d8a99 [mob] Use EntePopupMenuItem in gallery_app_bar 2024-04-30 14:42:21 +05:30
Neeraj Gupta ebed315cb0 [mob] Add popup item widget 2024-04-30 14:41:54 +05:30
vishnukvmd ae057da331 Remove redundant code 2024-04-30 14:37:15 +05:30
vishnukvmd 24fc486721 Pull out the code to download a file to gallery 2024-04-30 14:29:12 +05:30
vishnukvmd 8ecb7710de v0.8.85 2024-04-29 17:34:00 +05:30
vishnukvmd 0f5007b8d2 Update key 2024-04-29 17:32:42 +05:30
vishnukvmd 64f2be09e6 Replace Isar with SQLite 2024-04-29 17:30:56 +05:30
vishnukvmd 104a7a5f00 Fix queries 2024-04-29 17:10:53 +05:30
Neeraj Gupta 9e7c82d5b9 [mob][photos] Extract string 2024-04-29 16:59:28 +05:30
Neeraj Gupta 5c645d50f0 [mob][photos] Show custom error on ip mismatch 2024-04-29 16:56:53 +05:30
Neeraj Gupta 7c9160478d [mob][photos] Extract strings 2024-04-29 16:45:43 +05:30
vishnukvmd bb6cd41ec8 Implement SQLite version of EmbeddingsDB 2024-04-29 16:44:07 +05:30
Neeraj Gupta 16888c8aad [mob][photos] Fix lint warning 2024-04-29 14:14:23 +05:30
Neeraj Gupta bd07759d8e [mob][photos] Show loading indicator on device tap 2024-04-29 14:05:41 +05:30
Neeraj Gupta b12e6221d4 [mob][photos] Change button type to neutral 2024-04-29 13:46:18 +05:30
Neeraj Gupta 195ad01f14 [mob][photos] Add timeout for stop casting 2024-04-29 11:26:13 +05:30
Neeraj Gupta 7411125194 [mob][photos] Add support for closing session 2024-04-29 11:20:17 +05:30
Neeraj Gupta 4b97f832b2 [mob][photos] Finish auto-pair integration 2024-04-29 10:23:19 +05:30
Neeraj Gupta 4ce6fa790f [mob] Add method to close cast and keep track of active casts 2024-04-27 12:16:48 +05:30
Neeraj Gupta dddbb959b5 [mob][photos] Refactor 2024-04-25 17:45:03 +05:30
Neeraj Gupta 483cfd1f39 [mob][photos] Lint suggestions 2024-04-25 16:28:30 +05:30
Neeraj Gupta 864f5c1fd4 [mob][photos] Extract strings 2024-04-25 16:25:04 +05:30
Neeraj Gupta f777bdba1b [mob][photos] Extract strings 2024-04-25 12:44:46 +05:30
Neeraj Gupta 36dbda895c [mob][photos] Send pair req after getting receiver status 2024-04-25 11:50:49 +05:30
Neeraj Gupta e903fbf9bc [mob][photos] Continue showing pair dialog in case of error 2024-04-25 11:50:02 +05:30
Neeraj Gupta aced4bb5cf [mob][photos] Update cast selection dialog 2024-04-24 15:22:24 +05:30
Neeraj Gupta 729e2adfd1 [mob] Use separate widget for auto-cast 2024-04-24 13:21:12 +05:30
Neeraj Gupta bed14d8ee9 [mob][photos] Use cast Icon in appbar 2024-04-24 11:38:22 +05:30
vishnukvmd b5cf67ca98 Update like button widget 2024-04-24 11:00:23 +05:30
vishnukvmd 0b212bf7a6 Move padding within to increase tap-able area 2024-04-24 11:00:18 +05:30
Neeraj Gupta 1251a014b0 [mob][cast] Show choice to auto and manual pair 2024-04-24 10:57:28 +05:30
vishnukvmd 50b6d95ec2 Fix update checker for iOS 2024-04-24 10:54:37 +05:30
vishnukvmd 88e34683ee Don't check for widgets on iOS 2024-04-24 10:54:21 +05:30
vishnukvmd 21baf023cc Fix typo 2024-04-24 10:39:50 +05:30
Neeraj Gupta bd225ced04 [mob][cast] Return name and castDevice as record 2024-04-23 16:08:16 +05:30
Neeraj Gupta 89646ac469 [mob][cast] Refactor + add multiple cast plugin to gracefully handle fdroid 2024-04-23 15:57:17 +05:30
Neeraj Gupta 8fd330c304 Merge branch 'main' into cast 2024-04-23 14:35:37 +05:30
Neeraj Gupta c55272c87e
[mobile] Add feature flag plugin & use ente server to fetch flags. (#1524)
## Description

## Tests
2024-04-23 13:57:57 +05:30
Neeraj Gupta 73f35c1a0c [mobile] Use passkey flag for showing passkey option 2024-04-23 13:38:55 +05:30
Neeraj Gupta 8937a896d1 [mob][photos] Improve log 2024-04-23 13:37:34 +05:30
Neeraj Gupta cc49fdf126 [mobile] Remove old feature flag service 2024-04-23 11:55:16 +05:30
Neeraj Gupta 83075ea367 [mobile] Switch to feature flag plugin 2024-04-23 11:54:24 +05:30
Neeraj Gupta 74cdfdcb9e [mobile] Minor fixes in feature flag plugin 2024-04-23 11:40:51 +05:30
Neeraj Gupta 40503d6ef2 [mobile]Whitelist domain ente.io as internal user 2024-04-23 10:32:53 +05:30
Neeraj Gupta 41b151ce7b [plugin] Add ente_feature_flag plugin 2024-04-23 10:16:19 +05:30
Crowdin Bot 96e5eae9dd New Crowdin translations by GitHub Action 2024-04-23 01:57:07 +00:00
Neeraj Gupta 206ab1114e [mob]Discard upload to deleted or others collection 2024-04-22 11:23:04 +05:30
Neeraj Gupta da1d778eeb [mob][photos] Add hook to connect to cast device 2024-04-22 10:47:49 +05:30
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