Commit graph

195 commits

Author SHA1 Message Date
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
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