Commit graph

461 commits

Author SHA1 Message Date
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
Prateek Sunal 5769634a50 fix: use header instead of nonce in EncryptionResult 2024-04-21 18:47:51 +05:30
Prateek Sunal 8fe87cc1e0 fix: on every upload also update last attempted at 2024-04-21 18:20:33 +05:30
Prateek Sunal 3ea655f0d0 fix: missing ')' error sqflite 2024-04-21 18:16:30 +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
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
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 09a9410ba9 [mob][photos] Mark methods private 2024-04-15 14:42:58 +05:30
Neeraj Gupta 5e32752ba4 [mob][photos] Move multlipart uploader in separate service 2024-04-15 14:40:06 +05:30
Neeraj Gupta 30d562ed1a [mob][photos] Fix upload clearTable 2024-04-15 12:49:58 +05:30
Neeraj Gupta 8185fca7c6 Merge branch 'main' into mobile-resumable 2024-04-15 12:18:18 +05:30
Neeraj Gupta 6cfa176566 Merge branch 'main' into mobile-resumable 2024-04-15 12:12:37 +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
ashilkn 48cbe17ccd [mob] Make the borders of settings drawer not-round 2024-04-15 10:58:35 +05:30
Neeraj Gupta 2638a06551 [mob][photos] Enable multiPart upload for internal users 2024-04-15 10:56:41 +05:30
Neeraj Gupta 601a776b7a Merge branch 'main' into multipart 2024-04-15 10:37:42 +05:30
Ashil bb90b2d3bc
[mob][photos] Upgrade flutter (#1434)
## Description

- Update flutter
- Update packages
- Fix UI issues because of update (material 3)
- bump up version to v0.8.80

## Tests

- [x] Building on android and iOS.

---------

Co-authored-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2024-04-15 10:21:18 +05:30
Prateek Sunal 5da8ee7e27 fix: segregate logic for launch from widget 2024-04-14 14:35:10 +05:30
Prateek Sunal f04e45a461 fix: logic of await/async 2024-04-13 21:00:21 +05:30
Prateek Sunal 45ab6d92b5 fix: also route to photo on click of widget 2024-04-13 20:22:34 +05:30
ashilkn c3de396d21 [mob] bump up version to v0.8.80 2024-04-13 20:06:32 +05:30
ashilkn f2987a82f2 [mob] merge main 2024-04-13 20:05:38 +05:30
ashilkn 81c47bc768 [mob] UI changes to segmented button in stripe and store pages 2024-04-13 20:01:28 +05:30
ashilkn 6c75b35472 [mob] pub upgrade 2024-04-13 19:45:06 +05:30
ashilkn d35fe3ff00 [mob] Use SegmentedButton instead of broken(UI) toggle in app store subscription page 2024-04-13 19:44:22 +05:30
ashilkn 10cb54ddc1 [mob] Use SegmentedButton instead of broken(UI) toggle in stripe subscription page 2024-04-13 19:43:19 +05:30
ashilkn 0348e43e81 Merge branch 'material_3_ui_issues_fix' into update_deps_and_flutter 2024-04-13 19:08:01 +05:30
Neeraj Gupta 4c93033522 [mob] Upgrade sqflite_async 2024-04-13 18:08:57 +05:30
Neeraj Gupta ab70908980 Merge branch 'update_deps_and_flutter' of https://github.com/ente-io/auth into update_deps_and_flutter 2024-04-13 18:07:44 +05:30
ashilkn a3f102c183 [mob] Use custom toggle widget to remove UI issues after migrating to material 3 2024-04-13 18:07:01 +05:30
Neeraj Gupta 2feee2cc5e [mob][photos] Bump flutter version in README and github workflow 2024-04-13 17:58:41 +05:30
Neeraj Gupta c183531e8b Switch to older version of share_plus 2024-04-13 17:53:06 +05:30
Neeraj Gupta 9522854685 Flutter gradle plugin changes 2024-04-13 17:52:49 +05:30
Neeraj Gupta d864acafa3 [mob] Upgrade to flutter 3.19.5 2024-04-13 17:52:35 +05:30
ashilkn 75dd7c3e48 [mob] make function private 2024-04-13 17:15:13 +05:30
ashilkn 2c0148d661 [mob] fix UI of toggle widget on iOS 2024-04-13 17:11:04 +05:30
ashilkn 372ced2502 [mob] fix colour of loading dialog 2024-04-13 16:48:36 +05:30
ashilkn 1a8ec9fb4c [mob] minor change to change log 2024-04-13 15:02:43 +05:30
Prateek Sunal 1ce6edf626 fix: add internal user config 2024-04-13 14:17:54 +05:30
Prateek Sunal 70bf917f32 Merge remote-tracking branch 'origin/multipart' into mobile-resumable 2024-04-13 14:10:00 +05:30
Prateek Sunal 17507cce68 fix: remove unused constants 2024-04-13 14:09:52 +05:30
Prateek Sunal 51d02177ad chore: bump dependencies 2024-04-13 14:07:20 +05:30
Prateek Sunal 0a06ee1f55 chore: lint fix 2024-04-13 14:04:06 +05:30
Prateek Sunal 564ca440e7 fix: remove unwanted line 2024-04-13 14:03:54 +05:30
Prateek Sunal fa68ef5f59 fix: string 2024-04-13 14:02:49 +05:30
Prateek Sunal 3f99bb5511 fix: notification permission error 2024-04-13 14:02:49 +05:30
Prateek Sunal 769d2c9bd7 fix: integration test readd 2024-04-13 14:02:49 +05:30
Prateek Sunal ea38997ff9 feat: add status, fix xml parsing 2024-04-13 14:02:49 +05:30
Prateek Sunal 7495a0e388 fix: uploader logic 2024-04-13 14:02:49 +05:30
Prateek Sunal 262c68a59d fix: add end to file stream 2024-04-13 14:02:49 +05:30
Prateek Sunal 5fa2b34f35 fix: update database logic 2024-04-13 14:02:49 +05:30
Prateek Sunal 3a8b737968 fix: add file key in table 2024-04-13 14:02:49 +05:30
Prateek Sunal 5e3805b7bb fix: upload status to table 2024-04-13 14:02:49 +05:30
Prateek Sunal a4f89c0337 fix: add support for inital resumable 2024-04-13 14:02:48 +05:30
Prateek Sunal de06c8f38b fix: use better way to remove quotes 2024-04-13 14:02:29 +05:30
Prateek Sunal 780ec7f9d6 fix: generalize xml parser logic 2024-04-13 14:02:29 +05:30
Prateek Sunal 2b9db5cbfb fix: only multipart when count is greater than 1 2024-04-13 14:02:29 +05:30
Prateek Sunal baeac73339 fix: complete url xml 2024-04-13 14:02:29 +05:30
Prateek Sunal 69394fc8a6 fix: separate xml parser util 2024-04-13 14:02:29 +05:30
Prateek Sunal 99d84821c7 feat: add multipart upload support 2024-04-13 14:02:29 +05:30
ashilkn 8fa18e1ffe [mob] update change log 2024-04-13 13:37:03 +05:30
ashilkn 703ba5ad9b [mob] bump up to v0.8.79 2024-04-13 13:22:38 +05:30
ashilkn 04e45b7908 fix: call updateEmail after initState to avoid runtime exception
updateEmail uses getEnteColorScheme() which adds an inherited widget as dependency to the widget. Adding an inherited widget as dependency before init state is completed throws an exception
2024-04-13 12:42:55 +05:30
ashilkn 8137825693 fix: explicitly add fill colour for textFields with filled flag set to true for it to remain the same as before using material 3 2024-04-12 13:38:47 +05:30
github-actions[bot] c50013350b
[mobile] New translations (#1420)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-04-12 12:08:27 +05:30
Neeraj Gupta de96f108c2 [mob] Clean up + rethrow remote fetch error 2024-04-11 15:40:31 +05:30
Neeraj Gupta ff4e64819b [mob] Clean up code 2024-04-11 15:31:11 +05:30