Commit graph

64 commits

Author SHA1 Message Date
vishnukvmd
50b6d95ec2 Fix update checker for iOS 2024-04-24 10:54: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
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
206ab1114e [mob]Discard upload to deleted or others collection 2024-04-22 11:23: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
72ddbbdf79 [mob][photos] Add assert to ensure copy is enabled for internal users 2024-04-20 15:21:26 +05:30
Neeraj Gupta
e2aae744be [mob][photos] Fix ownerID for copied items 2024-04-20 11:30:40 +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
f55fd36579 [mob][photos] Fix: Pass copy of EnteFile to avoid modification in original 2024-04-19 15:54:49 +05:30
Neeraj Gupta
136f53b581 [mob][photos] Fix: Remove fav action on shared photos 2024-04-19 14:53:41 +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
Neeraj Gupta
420cec01d2 [mob][photos] Rename method 2024-04-18 22:30:02 +05:30
Neeraj Gupta
b18e5cb036 [mob][photos] Minor refactor 2024-04-18 15:11:15 +05:30
Prateek Sunal
0956e3ccc4 Merge remote-tracking branch 'origin/main' into mobile-widgetsimproved 2024-04-15 21:43:52 +05:30
Neeraj Gupta
5bac629c2b [mob][photos] Fix connectivityResult check 2024-04-15 15:21:43 +05:30
Neeraj Gupta
223a4ffcfd [mob][photos] Upgrade connectivity_plus pkg 2024-04-15 15:00:59 +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
ashilkn
f2987a82f2 [mob] merge main 2024-04-13 20:05:38 +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
Neeraj Gupta
d864acafa3 [mob] Upgrade to flutter 3.19.5 2024-04-13 17:52:35 +05:30
ashilkn
8fa18e1ffe [mob] update change log 2024-04-13 13:37:03 +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
7cec46ef3d [mob] Allow manual upload of videos when global video upload is disabled 2024-04-09 09:32:37 +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
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
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
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
Prateek Sunal
d92fd25a78 fix: home widget count function 2024-03-29 19:46:13 +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
ashilkn
35a8a96898 pref: reduce GC events 2024-03-27 16:34:06 +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
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
vishnukvmd
22685ae911 Increase interaction timeout to 15s 2024-03-14 16:35:38 +05:30