Commit graph

405 commits

Author SHA1 Message Date
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
Manav Rathi a7dbd32bc9 Update mobile/ to account for new monorepo structure 2024-03-02 11:47:47 +05:30
Vishnu Mohandas 39b4e9b694
Fix warnings (#509) 2024-03-02 08:16:17 +05:30
Vishnu Mohandas 158047c0c2
Update README.md 2024-03-01 19:10:18 +05:30
vishnukvmd a875cad231 Fix warnings in Photos 2024-03-01 18:54:19 +05:30
vishnukvmd e6ab34101f Update CLIP dependency 2024-03-01 18:53:51 +05:30
ashilkn 2341d38f4a Update README 2024-03-01 18:03:15 +05:30
ashilkn 3cf0f9a7a2 delete setup.sh 2024-03-01 17:24:34 +05:30
Manav Rathi 9cdaabc403
Move all submodules to the top level (#505)
## Description

## Tests
2024-03-01 16:16:25 +05:30
Manav Rathi 41b2581b8f Move into mobile/ 2024-03-01 12:25:37 +05:30