Commit graph

468 commits

Author SHA1 Message Date
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
Neeraj Gupta 1cc188dd9c [mob][clip] Simplify semantic search + fix infinite search loader 2024-04-11 15:27:22 +05:30
Neeraj Gupta b8417d1fcc [mob] Skip backfill if remote fetch fails 2024-04-11 14:09:31 +05:30
Neeraj Gupta 0fa29b3d7c [mob] iOS build changes 2024-04-11 13:46:26 +05:30
ashilkn 6607fce144 fix not building on iOS 2024-04-10 18:13:27 +05:30
ashilkn a67da8102d fix breaking change 2024-04-10 18:12:42 +05:30
ashilkn 0e9db0828f pub upgrade changes 2024-04-10 16:51:28 +05:30
ashilkn e3bb6a29d0 Resolve merge conflicts and merge main 2024-04-10 16:43:10 +05:30
Ashil 3542c8eeff
[Mobile][Photos] Bump up version to 0.8.78 (#1400) 2024-04-10 16:10:54 +05:30
ashilkn 5879f5ed06 Merge branch 'main' into use_sqlite_async_for_fetching_files_for_gallery 2024-04-10 15:24:23 +05:30
ashilkn d07c4f4d1d Remove code used for debugging/testing 2024-04-10 12:29:01 +05:30
ashilkn 7759d6dcc9 Call super.initState() first in override of initState() in Gallery Widget 2024-04-10 11:47:54 +05:30
ashilkn af7b533016 Add a delay before gallery loads in 'add photos sheet' to make opening of the bottom sheet jank free 2024-04-10 11:38:30 +05:30
ashilkn b9b623e3f7 fix: query in getAllLocalAndUploadedFiles doesn't work if limit is null 2024-04-10 11:11:39 +05:30
Vishnu Mohandas 13a78ce84a
[mobile] New translations (#1282)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-04-10 08:03:42 +05:30
ashilkn 83d122341f Migrate getAllLocalAndUploadedFiles from sqflite to sqlite_async 2024-04-09 17:48:53 +05:30
ashilkn 785beeb9b3 Migrate getFilesInCollection from sqflite to sqlite_async 2024-04-09 17:40:22 +05:30
ashilkn 1ec941b022 Migrate getAllPendingOrUploadedFiles from sqflite to sqlite_async 2024-04-09 16:12:37 +05:30
Ashil 628d13ea53
[mobile][photos] Use sqlite async for fetching all files for search (#1391)
## Description

Using [sqlite_async](https://pub.dev/packages/sqlite_async) has
increased query speed by about 5x and has removed GC logs like:
`Background concurrent copying GC freed 424845(20MB) AllocSpace objects,
183(4932KB) LOS objects, 37% free, 39MB/63MB, paused 144us,44us total
128.048ms`, which has improved performance of the app.

Tried using [sqlite3](https://pub.dev/packages/sqlite3), which reduced
query speed by 10x and removed the GC log, but introduced some jank
since it blocks the UI.

Converting the fetched rows to `EnteFile` now runs on an isolate to
avoid blocking the UI.

## Tests

Did manual testing to see difference in jank.
2024-04-09 15:17:48 +05:30
vishnukvmd 99b248f7fa v0.8.77 2024-04-09 13:00:39 +05:30
Neeraj Gupta 8cb3bf255c [mob] Fix active plan highlight 2024-04-09 12:31:55 +05:30
Neeraj Gupta 7cec46ef3d [mob] Allow manual upload of videos when global video upload is disabled 2024-04-09 09:32:37 +05:30
Neeraj Gupta c6a0af7cbc [mob]Hide file overflow item if no action is available 2024-04-09 09:16:11 +05:30
Crowdin Bot af27149a74 New Crowdin translations by GitHub Action 2024-04-09 01:55:54 +00:00
vishnukvmd 9cface7902 v0.8.76 2024-04-08 15:53:21 +05:30
vishnukvmd 191d19a0fc ente -> Ente 2024-04-08 14:55:28 +05:30
ashilkn feb8deb648 add comments 2024-04-08 13:37:00 +05:30
ashilkn 4a4a53f994 Move performance profiling script files to mobile/scripts 2024-04-08 13:33:24 +05:30
ashilkn 504f23fe4e add comments to app_init_test script 2024-04-08 13:30:52 +05:30
ashilkn f81fb5b626 write perf test for app init 2024-04-08 13:21:29 +05:30
laurenspriem 858ba88c65 [mob] Change share page copy 2024-04-05 10:48:37 +05:30
vishnukvmd c25cc6f8a4 Setup Triple-T configuration for F-Droid 2024-04-04 15:15:59 +05:30
vishnukvmd fce68ba1be [photos] v0.8.75 2024-04-04 14:50:22 +05:30
Vishnu Mohandas 52c47234fd
[Photos] Allow for configuring a custom server (#1302)
## Description
Users can now tap on the onboarding screen 7 times to bring up a page
where they can configure the endpoint the app should be connecting to.

![photos-selfhost](https://github.com/ente-io/ente/assets/1161789/42fda09a-07e4-4c4e-a658-ec4a2d3f1848)

## Tests
- [x] Verified that production flows are working as expected
- [x] Verified that configuring the endpoint to a local instance lets
you
  - [x] Connect to that instance
  - [x] Create an account
  - [x] Upload a photo
  - [x] Logout and log back in
2024-04-04 13:41:26 +05:30
Ashil 8b643549fe
[mobile][photos] Remove unused global keys (#1309) 2024-04-04 11:29:23 +05:30
vishnukvmd 9d7a342aa9 Ensure widget is updated when endpoint changes 2024-04-03 17:34:45 +05:30
vishnukvmd ee33a3229f Update landing page to provide an option to update the app's endpoint 2024-04-03 17:24:44 +05:30
vishnukvmd 54c4862e71 Add widget that renders the current endpoint app is connecting to 2024-04-03 17:24:26 +05:30
vishnukvmd b97839adae Update strings 2024-04-03 17:24:01 +05:30
vishnukvmd 37c4295df9 Update NetworkClient when configuration changes 2024-04-03 17:23:54 +05:30
vishnukvmd 089be79688 Add API within Configuration to update the endpoint 2024-04-03 17:23:23 +05:30
vishnukvmd 0034d880f9 Initialize Configuration before Network 2024-04-03 17:23:00 +05:30
vishnukvmd 81bdc0fe73 Add strings 2024-04-03 17:22:34 +05:30
vishnukvmd 76dca4d819 Update iOS config 2024-04-03 17:22:22 +05:30
Ashil 1800ad0a1f
[Mobile][Photos] Bump up version to v0.8.74 (#1284) 2024-04-02 17:02:01 +05:30
ashilkn 0053e814c8 nit: remove unnecessary clipping 2024-04-02 13:49:41 +05:30
ashilkn 53184da7fb fix: loading icon's color in light theme when viewing images 2024-04-02 13:49:05 +05:30
ashilkn 165bcb5c6e fix: white bg for loading state when viewing images, turned it to black.
when swiping on light theme, this comes up a 'white flash' on the right which looked odd. We use black bg when viewing images.
2024-04-02 13:47:57 +05:30
ashilkn bc0a453cbc Merge branch 'main' into prepare_for_release_v0.8.73 2024-04-01 18:41:24 +05:30
ashilkn 166e9ad1bf Update change log 2024-04-01 18:41:21 +05:30
ashilkn 841921a732 bump up version to v0.8.73 2024-04-01 18:38:17 +05:30
Vishnu Mohandas 769da989c4
[mobile][photos] Do not upload files if ACCESS_MEDIA_LOCATION is not granted (#1275)
## Tests

Tested with and without granting `ACCESS_MEDIA_LOCATION`.
2024-04-01 18:28:37 +05:30
ashilkn d013519655 refactor 2024-04-01 16:59:42 +05:30
ashilkn 855d362cca Merge branch 'main' into handle_proxdr_image_viewing 2024-04-01 16:43:19 +05:30
Ashil f8febe12df
[mobile][photos] Reupload files with missing GPS data (#1263)
## Description

- Fixes corrupt files (missing GPS data) that were uploaded due to [this
issue](https://github.com/ente-io/ente/pull/1261)
- Refactor

## Tests

Tested and working
- Uploaded two file from a build that has missing permission for
`ACCESS_MEDIA_LOCATION` and GPS data is missing.
- Created a new build with changes in this PR.
- Deleted the file from device. 
- Remote file has GPS data when checked from file info.

---------

Co-authored-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2024-04-01 16:41:33 +05:30
ashilkn 0c44d1b789 remove unneccesary check 2024-04-01 16:18:40 +05:30
ashilkn f74af4199d only verify media location access if platform is android 2024-04-01 16:14:29 +05:30
ashilkn 7b94c32bbf Do not upload files if ACCESS_MEDIA_LOCATION is not granted 2024-04-01 15:51:13 +05:30
Neeraj Gupta 548721e415
[mob]Ignore souceFileMissing error for iOS (#1273)
## Description

## Tests
2024-04-01 14:32:18 +05:30
Ashil 7950f1ec26
[mobile][photos] Explicitly ask for media location (#1261)
## Description

On bumping up photo_manager version, it introduced a breaking change
where we need to explicitly ask for ACCESS_MEDIA_LOCATION permission.

## Tests

Tested on android 13 and 14 devices.
2024-03-30 16:48:15 +05:30
github-actions[bot] 6974672f8c
[mobile] New translations (#1239)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-03-30 16:15:32 +05:30
Prateek Sunal d92fd25a78 fix: home widget count function 2024-03-29 19:46:13 +05:30
ashilkn b976d30ab2 fix colours in new material 3 toggle switch 2024-03-28 20:37:27 +05:30
ashilkn 4c73fb7374 Specify color for dividers to keep it same after flutter upgrade
New material theme has a different default colour for dividers
2024-03-28 18:22:38 +05:30
ashilkn 9f22882d8d override ffi dependency version to fix build failing after running flutter pub upgrade command 2024-03-28 18:21:37 +05:30
ashilkn fa304aa8cc upgrade flutter version 2024-03-28 16:56:54 +05:30
ashilkn dabda8e744 upgrade photo_manager and flutter 2024-03-28 16:32:59 +05:30
ashilkn 6e4db6c0df add cast to dependencies and update flutter 2024-03-28 14:57:33 +05:30
Ashil 5768a69062
[mobile][photos] fix: Image switcharoo bug when sharing from signal (#1232)
## Description

Fixes #1158
2024-03-28 12:43:52 +05:30
Ashil 79f7fb9ad9
[mobile][photos] Update change log for v0.8.72 release (#1225)
## Description

![72 change
log](https://github.com/ente-io/ente/assets/77285023/1a903668-76be-40d3-b00a-a0a7c7dfb66a)
2024-03-27 17:40:25 +05:30
vishnukvmd 94f4c1e757 [mobile] FAQ -> Help 2024-03-27 17:06:01 +05:30
ashilkn 01b3d99e3a bump up version for release 2024-03-27 16:43:03 +05:30
ashilkn 7966c6bbc8 Merge branch 'main' into load_model_perf_improvement 2024-03-27 16:34:39 +05:30
ashilkn 35a8a96898 pref: reduce GC events 2024-03-27 16:34:06 +05:30
Vishnu Mohandas eef33e9c0c
[mobile][web] Redirect to payment portal if subscription is past due (#1222)
## Description

When a customer whose Stripe subscription is past due (within the 30 day
window after expiry time and has not been cancelled) clicks on the
subscription modal, take them to the payment portal to complete the
subscription.

## Tests

- [x] Tested web
- [x] Tested mobile
2024-03-27 16:29:58 +05:30
vishnukvmd 1020366c3a [mobile][web] Ignore cancelled subscriptions while computing past-due status 2024-03-27 16:11:03 +05:30
vishnukvmd a581e31ef9 [mobile] Redirect to payment portal if subscription is past due 2024-03-27 15:56:54 +05:30
Vishnu Mohandas 81a8cba4da
[mobile] New translations (#1140)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)
2024-03-27 14:44:29 +05:30
Vishnu Mohandas 0c400db649
[server] Fix Stripe related issues (#1152)
## Description

### Stripe
- Settings have been modified to "Cancel" the subscription if all
attempts to charge an invoice fails. The previous configuration was to
set the subscription to "Past Due".

### Museum
- Updated our Stripe workflow to use `PaymentBehaviorAllowIncomplete` in
case of SEPA payments
- Fixed the issue caused by us spawning unnecessary subscriptions when a
customer tried to renew their expired subscription
- Removed the email that was being sent out when a Stripe subscription
expired. We will have to run our own cron to send a notification and
perform necessary clean up. When payments fail, we will still send a
notification to intimate the customer that their account is on hold.

### Mobile
- Fixed the dialogs and error messages on the payment page

## Tests
The following cases were tested for SEPA, Credit Cards, and Credit Cards
with 3DS.
- [x] Purchase
  - [x] Success
  - [x] Failure
- [x] Renewal
  - [x] Success
  - [x] Failure
- [x] Upgrades
  - [x] Success
  - [x] Failure
- [x] Cancellation
- [x] Resumption post recovery

## Note

These changes are likely to break in the event of some corner cases we
haven't thought of. But this will land us in a state that is better than
where we are right now in terms of collecting payments for expired
subscriptions and those via SEPA.
2024-03-27 14:43:36 +05:30
vishnukvmd b78a66a274 [mobile] Update behavior of the payment page 2024-03-26 19:59:22 +05:30
Crowdin Bot 33cfec915a New Crowdin translations by GitHub Action 2024-03-26 01:55:04 +00:00
Manav Rathi a4ecc2c344
Update ente.io/faq => help.ente.io where possible
On desktop, now there Help menu will have an "Ente Help" option instead of "FAQ"
(Unrelated: I noticed that user facing strings in the desktop app are not
localized).

The only place remaining after this is the sidebar on mobile
(`support_section_widget.dart`), but I wasn't sure of what string to use (and
how to add it to the localized strings for mobile) so I've left it unchanged.
2024-03-25 19:26:10 +05:30
Ashil ed4886a6a5
[mobile][photos] Fix performance benchmarking config (#1195)
## Description

- Fix broken integration test used for benchmarking gallery scroll
performance.
- Automate email and password entry.
- Write script to run perf test.
2024-03-25 10:30:13 +05:30
ashilkn 953824ca25 Refactor: reduce parameters and change name of function 2024-03-21 19:54:31 +05:30
ashilkn 7c05069dbd fix(viewing proXDR images): When codec fails to produce an image, try converting image to jpeg and use the jpeg file for viewing the image 2024-03-21 16:26:09 +05:30
Vishnu Mohandas 8101fe1495
Patch few Stripe related issues (#1156) 2024-03-20 14:07:26 +05:30
vishnukvmd ec258e8b2a Extract the payments redirect URL into an environment variable 2024-03-20 14:06:53 +05:30
vishnukvmd b769c428eb Hide the dialog on page load 2024-03-20 14:05:23 +05:30
Vishnu Mohandas a5340764a8
[mobile][photos] Share to multiple people at once (#1116)
[mobile][photos] Share to multiple people at once
2024-03-16 00:07:12 +05:30
Vishnu Mohandas bf3b257344
[mobile] Enhance ML (#1114)
## Description
- Increase the interaction timeout to 15s
- Make sure that models aren't downloaded over mobile data, and that it
resumes initialization when network conditions are favorable

## Tests
- [x] Tested manually
2024-03-16 00:05:29 +05:30
ashilkn 64814ef82f minor fixes 2024-03-15 21:07:38 +05:30
ashilkn bb622bfcd0 fix typo in file name 2024-03-15 20:49:51 +05:30
ashilkn 07c41c4c92 extract strings 2024-03-15 20:22:15 +05:30
vishnukvmd 14c75333f3 Simplify states 2024-03-15 16:49:02 +05:30
vishnukvmd 7941d4bcb6 Skip model downloads over mobile data 2024-03-15 16:36:45 +05:30
ashilkn ed2e3bae0d clean up 2024-03-15 16:21:04 +05:30
ashilkn 1e8f772280 feat(share-to-multi-contacts-at-once): multiple changes in one commit due mistakes when commiting
- Change 'Add viewer' buttons logic to work with the new UI.
- Long press on an email to verify.
- Filter suggestions list with the text entered in 'Enter email' text field.
2024-03-15 15:47:14 +05:30
ashilkn a4985116b8 feat(share-to-multi-contacts-at-once): change data structure of selected emails from List to Set to avoid duplicates 2024-03-15 12:53:32 +05:30
ashilkn 487be4a451 feat(share-to-multi-contacts-at-once): change state to selected state of an existing email if an already existing email in the list is added from 'add new email' 2024-03-15 12:44:54 +05:30
ashilkn 987250d4f3 feat(share-to-multi-contacts-at-once): add new email to list below with selected state 2024-03-15 12:34:30 +05:30
ashilkn 0b6d44eb99 feat(share-to-multi-contacts-at-once): make list of suggested users a state variable 2024-03-15 11:21:21 +05:30
Ashil dc2474801c
[photos][mobile]Update home_widget git dependency URL (#1098) 2024-03-14 21:23:53 +05:30
Manav Rathi 7aed641189
Also update the links in the fastlane descriptions 2024-03-14 18:22:51 +05:30
Manav Rathi ddeafe0749
[mobile] Update the link to GitHub APK for photos 2024-03-14 18:16:01 +05:30
vishnukvmd 22685ae911 Increase interaction timeout to 15s 2024-03-14 16:35:38 +05:30
github-actions[bot] a010a90ed6
[mobile] New translations (#1092)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-03-14 16:24:13 +05:30
ashilkn 96072a607c nit: fix typo 2024-03-14 16:20:08 +05:30
ashilkn 8bf17af6de feat(share-to-multi-contacts-at-once): make multi-select possible from list of existing contacts 2024-03-14 16:14:06 +05:30
ashilkn 6b70d8556b Use MediaQuery.viewInsetsOf() instead of MediaQuery.of() to reduce rebuids 2024-03-14 11:52:13 +05:30
ashilkn d4cf8c5f9a move super.initState to top 2024-03-14 11:25:38 +05:30
ashilkn 48a8bab862 dispose text field focus node 2024-03-14 11:24:50 +05:30
Manav Rathi 7fabb3a03c
[meta] Document the tag format, and call out the need to keep tag == title
Related: https://github.com/ente-io/ente/discussions/1087#discussioncomment-8775807
2024-03-14 09:50:08 +05:30
Manav Rathi 3b10c7e93f
[meta] Reintroduce .vscode in the mobile gitignores
The intent had always been to have the individual project gitignores be self
contained. In my previous PR (https://github.com/ente-io/ente/pull/516) I'd for
some reason not followed this: correcting my mistake now. .vscode is gitignored
both at the top level and at the individual project levels (as it was
originally).
2024-03-14 09:20:17 +05:30
vishnukvmd 1cacefa1fd v0.8.71 2024-03-13 21:56:48 +05:30
github-actions[bot] 83aa3db795
[mobile] New translations (#740)
New translations from
[Crowdin](https://crowdin.com/project/ente-photos-app)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-03-13 13:55:47 +05:30
Vishnu Mohandas 3abc7249bd
Cleanup code maintained specifically for F-Droid (#1081) 2024-03-13 13:54:58 +05:30
Ashil 6ef1da68e0
[photos][mobile] Performance improvement (#1080)
## Description

Stack has `clipBehaviour = Clip.hardEdge` by default. This is necessary
if content inside the stack is overflowing it's boundary and it has to
be clipped. Clipping is expensive so it's worth removing it when it
makes sense.

In this case of `GalleryFileWidget`, content doesn't overflow the
Stack's boundary so the clip operation can be removed by setting
`clipBehaviour = Clip.none`.
2024-03-13 13:52:03 +05:30
vishnukvmd 1c1c9bb0d7 Update docs 2024-03-13 13:51:20 +05:30
vishnukvmd b96e7341e3 Remove thirdparty dependency on transistor-background-fetch 2024-03-13 13:47:33 +05:30
vishnukvmd 163c5de1cc Remove Isar as a submodule 2024-03-13 13:46:59 +05:30
vishnukvmd 124ef86054 Remove flutter as a submodule 2024-03-13 13:45:44 +05:30
vishnukvmd a3c80556d2 v0.8.70 2024-03-13 12:43:31 +05:30
vishnukvmd bc4fa44edd v0.8.68 2024-03-13 11:47:25 +05:30
Vishnu Mohandas 92de88e778
[photos] Update flow for Independent APK (#1074) 2024-03-13 11:46:04 +05:30
Ashil 518b947808
[mobile][photos] Make scrollbar in log file viewer interactive (#1075) 2024-03-13 11:43:31 +05:30
Neeraj Gupta 4325de6fde [mob] Remove .env.example 2024-03-13 11:43:19 +05:30
vishnukvmd be3b4dc7ba Open the link to Github APK instead of downloading it in-app 2024-03-13 11:21:36 +05:30
Ashil 0c1c0ad400
[mobile][photos] Home widget UI tweaks (#1060) 2024-03-13 11:20:50 +05:30
Ashil 773f4cdca2
[mobile][photos] Fix missing hero animation (#1064)
## Description

Sometimes, when opening an image from gallery, the hero animation fails
to happen. This PR fixes this issue.



https://github.com/ente-io/ente/assets/77285023/2ee40ec8-58d0-4ca1-82fb-1be96581137b



## Tests

- [x] Didn't break hero animations of videos, it almost stays the same.
2024-03-13 11:20:20 +05:30
Neeraj Gupta 297148dc67
[auth][mob] Add recovery support for passkey (#1013)
## Description

## Tests
  Verified that reset flow is working fine on both auth and photos app.
2024-03-13 11:12:30 +05:30
Neeraj Gupta 0ab1c0ee89 [mob] gitignore android/.settings 2024-03-12 09:33:14 +05:30
ashilkn ddedaf2d0e bump up version to v0.8.67 2024-03-12 07:51:57 +05:30
Prateek Sunal 1d2de8d9b8
[mobile][photos] Home Widget fixes (#992)
## Description

- Upscale default placeholder
- Keep image ready to be rendered in home widget before adding the home
widget.
- Change the photo in home widget every time it's clicked.
- Open favourites when home widget is clicked.
- Fix multiple issues

## Tests

Did a good amount of testing.

---------

Co-authored-by: ashilkn <ashilkn99@gmail.com>
Co-authored-by: Ashil <77285023+ashilkn@users.noreply.github.com>
2024-03-12 01:39:30 +05:30
Neeraj Gupta 9f2a66e0ef Fix lint warnings 2024-03-11 22:45:22 +05:30
Neeraj Gupta 944ef2e564 [mob]Generate randomkey using crypto library 2024-03-11 22:34:00 +05:30
Neeraj Gupta 27c1b66c08 [auth][mob] Add recovery support for passkey 2024-03-11 17:54:24 +05:30
Neeraj Gupta e272722d6e [mob][photos] Add dialog to describe clean uncat option 2024-03-11 16:52:27 +05:30
Neeraj Gupta a73f3cc52b [mob] Fixed sorting bug in uncategorized section 2024-03-11 16:52:27 +05:30
ashilkn ae67f0d67b nit: change description section's heading from 'Photo descriptions' to 'Descriptions' 2024-03-11 13:06:07 +05:30
ashilkn fab16a7947 nit: change location section's heading from 'Location' to 'Locations' 2024-03-11 12:59:59 +05:30
ashilkn 8daa7d8a8e remove worker manager related changes 2024-03-09 17:19:15 +05:30
ashilkn 5dbc300056 bump up to v0.8.66 2024-03-09 17:17:18 +05:30
ashilkn b812827480 update currentChangeLogVersion 2024-03-09 17:15:08 +05:30
ashilkn f9051c94da update change log 2024-03-09 17:12:57 +05:30
ashilkn 4c3642526e minor fix 2024-03-09 17:05:23 +05:30
ashilkn 7c86e8f903 update limit of elemets shown in each search section 2024-03-09 16:52:02 +05:30
ashilkn b4cf5761fa remove unused translation 2024-03-09 16:44:24 +05:30
ashilkn 881ece525f fix alignment of 'search' hint text in search field 2024-03-09 16:39:54 +05:30
Prateek Sunal 5acef45118
[FIX] HomeWidget improvements (#737)
## Description
- Use Background fetch as workmanager is not working as expected.
- Use new asset for empty state.
2024-03-09 16:21:04 +05:30
Vishnu Mohandas c75e45897c
[Photos] Fix auto scaling on loading final image (#749)
## Description

When an image is zoomed in, there were cases where when then final image
is loaded and rendered on screen, the image gets zoomed even more.

#### Case 1
Double tapping twice to zoom and then the final image is loaded.

##### Before


https://github.com/ente-io/ente/assets/77285023/7d9acb0f-2849-4ffb-863d-cab61ef4bd16

##### After


https://github.com/ente-io/ente/assets/77285023/89fb1238-1444-4681-a94f-7a58679f9350



#### Case 2
When screen is pressed or dragged (any contact with screen).

##### Before


https://github.com/ente-io/ente/assets/77285023/3aefdec5-3bc3-42ef-9442-592442273569

##### After


https://github.com/ente-io/ente/assets/77285023/7b458184-5abe-4983-ba21-f38080cc8bee

## Tests

Tested for regressions. Found one, which it not quite a regression as
the issue was already present but reproducible in a different flow. It
happens too fast for screen recording to capture it.

Not a blocker as it doesn't affect usability in anyway and since this
fix (auto scaling on final image loading) is an important fix.
2024-03-08 17:05:24 +05:30
ashilkn 62b05513a2 Remove late initialisations 2024-03-08 17:00:48 +05:30
ashilkn ea63ea1c55 Make _photoViewController late 2024-03-08 16:32:16 +05:30
ashilkn 1dd183c4bd Make scaleStateController final and dispose it when widget gets disposed 2024-03-08 15:54:38 +05:30
Neeraj Gupta 5a04030766 Fix lint 2024-03-08 15:17:28 +05:30
Neeraj Gupta 04e508561b [photos] Update copy for passkey verification 2024-03-08 15:17:28 +05:30
Neeraj Gupta 57d5647a39 [photos] Add support for by-passing passkey 2024-03-08 15:17:28 +05:30
Neeraj Gupta 9f28e5ef79 Rename 2024-03-08 15:17:28 +05:30
Neeraj Gupta 42d9ad4206 [photos] Register passkey reset key 2024-03-08 15:17:28 +05:30
Neeraj Gupta 907a0bd456 Reformat 2024-03-08 15:17:28 +05:30
Neeraj Gupta 8f37af3985 [mobile] Add TwoFactorType enum & pass it during recovery 2024-03-08 15:17:28 +05:30
ashilkn 69c5d4f645 Added comment for context of line 2024-03-08 14:57:32 +05:30
ashilkn cf8e684cb3 Revert "Remove unnecessary check"
This reverts commit a9631c09c8.
2024-03-08 14:09:43 +05:30
ashilkn a9385f2132 Remove unnecessary mixin 2024-03-08 14:05:42 +05:30
ashilkn 454f5cdead Merge branch 'main' into fix_auto_scaling_on_loading_final_image 2024-03-08 12:17:04 +05:30
ashilkn 3f45345aad fix: when image is fully loaded after scaling the image, stay at the same position 2024-03-08 12:13:50 +05:30
ashilkn 8da57bd575 fix: auto scaling when final image is loaded case 2
When an image is magnified and a user is pressing down (onPressed) on the image, once the final image is loaded, the image auto scales
2024-03-08 12:09:33 +05:30
ashilkn f14b499ffe fix: auto scaling after image is fully loaded after double tapping twice 2024-03-08 11:20:19 +05:30
Neeraj Gupta a9cb6f3077
[mobile] Remove unused db for public keys (#734)
## Description
To keep the changes simple, we are not deleting any existing database
instances. In case we need to store this information in the future, we
will reuse the existing database instead of creating a new one.
2024-03-07 16:37:20 +05:30
github-actions[bot] 1a6644e28c
New translations (mobile) (#667)
New translations via [Crowdin GH
Action](https://github.com/crowdin/github-action)

Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2024-03-07 08:35:58 +05:30
ashilkn a9631c09c8 Remove unnecessary check
_loadedFinalImage will be true only after _loadedSmallThumbnail becomes true as first the small thumbnail is loaded and then the final image
2024-03-07 07:29:39 +05:30
ashilkn c4ec818fb8 Remove unnecessary SingleTickerProviderStateMixin 2024-03-07 07:27:51 +05:30
Neeraj Gupta dd323316f7 Update logs & undo build file changes 2024-03-07 07:02:17 +05:30
Neeraj Gupta cd328687e2 [passkey] Fix base64 decoding 2024-03-07 06:22:03 +05:30
ashilkn d6fc57fc3f Merge branch 'main' into fix_auto_scaling 2024-03-06 19:09:27 +05:30
Neeraj Gupta ce94a17b8a [passkey] Add additional logs 2024-03-06 17:39:34 +05:30
Neeraj Gupta 0de6ba722a [photos] Bump version: 0.8.65+585 2024-03-06 16:58:34 +05:30
Neeraj Gupta 8101ddf4bc [photos]Always reset volatile password on login 2024-03-06 16:58:34 +05:30
Neeraj Gupta bf923007e8 Fix arb 2024-03-06 16:58:34 +05:30
Neeraj Gupta c175973ff0 Passkey changes 2024-03-06 14:54:45 +05:30
Neeraj Gupta 942da28b53 Merge branch 'main' into passkeys 2024-03-06 13:21:42 +05:30
Neeraj Gupta 69a900aa56
[mobile] Move recovery option under account section (#695)
## Description

## Tests
2024-03-06 12:57:03 +05:30
Manav Rathi 36d5aa9f01 Add mobile release workflow 2024-03-05 20:36:07 +05:30
Prateek Sunal ad542429a4 feat: passkeys for mobile branch 2024-03-05 00:25:52 +05:30
Manav Rathi e15e39fb6c Crowdin project_id is already public
It is shown on the public project page
2024-03-04 12:54:49 +05:30
Manav Rathi 0062bc0fdd Add Flutter linter for mobile
The older version seemed to be disabled (it was getting triggered on a
non-existent master branch), so I'm not sure if we want this on right now. But
let's give it a go, will remove if it this needs some cleanup first.
2024-03-04 12:03:18 +05:30
Manav Rathi c6e1a0f59c Add mobile crowdin action 2024-03-04 11:37:21 +05:30
Manav Rathi 918e70b516 Update links to GitHub from within the apps 2024-03-03 18:08:11 +05:30
ashilkn 939e76d696 remove unnecessary mixin 2024-03-02 15:38:03 +05:30
Manav Rathi 95ae7c4594 Update auth/ to account for new monorepo structure 2024-03-02 14:26:55 +05:30
Manav Rathi 8001c98897
Allow developers to customize their VSCode configuration (#516)
For folks who're using the git integration from within VSCode, the top
level directory needs to be open in VSCode for using git GUI from
VSCode.

However, for using the Run & debug configurations they need to open
ente/mobile is opened in VSCode.

As a solution (at least to start with):

- gitignore .vscode at the top level
- provide sample VSCode configuration files is mobile/docs/vscode and
auth/docs/vscode
- mention it in the README

(will update the auth README later, have to do a few more changes to it
first)
2024-03-02 13:34:37 +05:30
Manav Rathi 2ed02fac15 Add folder intro 2024-03-02 12:47:40 +05:30
ashilkn 2b4c6f52b7 Merge branch 'main' into fix_discovery_tab_issues 2024-03-02 12:45:54 +05:30
ashilkn 71ad1ee1dd fix(discovery-tab): constrain width of album name in albums section 2024-03-02 12:40:51 +05:30
Manav Rathi ebe6774ff4 Allow developers to customize their VSCode configuration
For folks who're using the git integration from within VSCode, the top level
directory needs to be open in VSCode for using git GUI from VSCode.

However, for using the Run & debug configurations they need to open ente/mobile
is opened in VSCode.

As a solution

- gitignore .vscode
- provide sample VSCode configuration files is mobile/docs/vscode and auth/docs/vscode
- mention it in the README

(will update the auth README later, have to do a few more changes to it first)
2024-03-02 12:33:43 +05:30