83 Commits

Author SHA1 Message Date
Prateek Sunal
dc3f074588 fix: don't index unowned files 2025-02-11 17:14:20 +05:30
Prateek Sunal
f4b7ef19ce fix: add backup status item tap action, sorting fix, color space fix 2025-02-08 03:51:04 +05:30
Prateek Sunal
d193efbe14 fix: queuing order, locals, preview status tap, remove cache preview button, refresh indicator 2025-02-07 15:06:55 +05:30
Prateek Sunal
9bddc98827 fix: begin date conversion and check 2025-02-04 13:27:51 +05:30
Prateek Sunal
a72ae560c9 fix: processing and display logic 2025-02-03 03:37:29 +05:30
Prateek Sunal
548955a803 fix: add to queue based on cutoff date 2025-01-31 03:45:55 +05:30
Neeraj Gupta
188bb4a9f4 [mob] Included shared file in index count 2025-01-08 16:18:26 +05:30
ashilkn
8296c81742 [mob][photos] Make same changes to getAllLocalAndUploadedFiles 2025-01-03 12:20:00 +05:30
ashilkn
a1afd8155c [mob][photos] Add a new parameter 'ignoreSharedFiles' and use that instead of passing 'applyOwnerCheck' since apply owner check doesn't exclude files for which ownerID is null 2025-01-03 11:57:05 +05:30
ashilkn
1e9188f510 [mob][photos] Replace string concatenation happening in loop using '+' with more efficient alternative of by using 'List.join(). If number of iterations are very large, using '+' for concatenation can block the UI thread' 2024-11-08 21:38:33 +05:30
ashilkn
214dcce6ad [mob][photos] Remove unused methods 2024-11-08 19:05:19 +05:30
ashilkn
e944b6e8cb [mob][photos] Performance improvements 2024-10-24 22:13:00 +05:30
ashilkn
d45cb08fec [mob][photos] Remove duplicates and don't show files in ignored collections in Hierarchical search gallery 2024-10-24 11:52:44 +05:30
ashilkn
2ec911da06 [mob][photos] Fix files in group in HierarchicalSearchGallery not ordered by creation time + reduce iterations 2024-10-23 21:41:42 +05:30
ashilkn
5e56ec21b7 [mob][photos] Use better name for function 2024-10-23 21:39:11 +05:30
ashilkn
45e2ca52c9 Merge branch 'main' into hierarchical_search 2024-10-05 16:03:29 +05:30
ashilkn
bd5e53b83d [mob][photos] log number of row in filesDB for debugging perf issues 2024-10-03 17:06:31 +05:30
ashilkn
1258558be8 [mob][photos] Improve curation of album filter recommendation 2024-09-24 19:19:33 +05:30
Neeraj Gupta
3437b41114 [mob] Ensure file is not uploaded before deleting localFile 2024-09-06 15:17:01 +05:30
ashilkn
95e342830b [mob][photo] Fix incorrectly formatted query (missing whitespace) 2024-07-31 18:20:53 +05:30
Neeraj Gupta
f8d1851311 [mob] Fix range error in getUploadedFiles 2024-06-23 12:24:44 +05:30
Neeraj Gupta
ec81300971 [mob][fix] Hide archived items from memories 2024-06-18 15:23:28 +05:30
ashilkn
a79d11c263 [mob][photos] Add more info in error message 2024-05-24 14:43:39 +05:30
ashilkn
500d7da306 [mob][photos] Remove log lines used for testing 2024-05-24 14:39:16 +05:30
ashilkn
637adb4617 [mob][photos] Simplify how FilesDB migrates 2024-05-24 14:21:02 +05:30
ashilkn
22fc67c8c3 [mob][photos] Remove unnecessary parameters 2024-05-22 16:17:05 +05:30
ashilkn
f513473362 [mob][photos] Check db version when sqflite was used and run only migrations that are necessary using sqlite_async
Tested adding a new migration and it works. Tested two cases (a)Fresh install (b)Opening app with new migration added and the last db migration was done when sqflite was used
2024-05-22 14:20:29 +05:30
ashilkn
eaca151a9f [mob][photos] Minor change 2024-05-21 18:34:11 +05:30
ashilkn
e3ea22f479 [mob][photos] add comment 2024-05-21 17:44:38 +05:30
ashilkn
5a017616f5 [mob][photos] Fix sqlite command syntax errors 2024-05-21 17:10:42 +05:30
ashilkn
b2a359ca59 [mob][photos] Migrate to sqlite_async(13): Use getAll() instead of execute() for SELECT commands 2024-05-21 16:53:49 +05:30
ashilkn
cae3748995 [mob][photos] Resolve conflicts and merge main 2024-05-21 16:32:03 +05:30
ashilkn
49e64b3d4c [mob][photos] Fix issue with EnteFile not having location data 2024-05-21 16:12:44 +05:30
laurenspriem
90c0ad08da [mob][photos] Remove jank 2024-05-18 15:22:41 +05:30
ashilkn
a7e0f3df7b [mob][photos] Remove sqflite import in filesDB 2024-05-17 17:05:58 +05:30
ashilkn
ab9cef689d [mob][photos] Create ConflictAlgorithm enum and stop using it from sqflite 2024-05-17 16:40:59 +05:30
ashilkn
18d68bbdf3 Migrate to sqlite_async(13): Migrate db migration to use sqlite_async 2024-05-17 16:34:04 +05:30
ashilkn
16178b6f09 [mob][photos] Add missing paranthesis 2024-05-17 15:09:10 +05:30
laurenspriem
88b75c1191 [mob][photos] Migrate some db calls to async 2024-05-17 15:05:34 +05:30
ashilkn
c2b6032b6f [mob][photos] Fix broken query 2024-05-17 13:40:38 +05:30
ashilkn
28ddb93747 [mob][photos] Add missing parameters for query 2024-05-16 20:17:58 +05:30
ashilkn
dec7c45310 [mob][photos] Migrate to sqlite_async(9) 2024-05-16 16:41:57 +05:30
ashilkn
1a360d3ee7 [mob][photos] Migrate to sqlite_async(8): Migrate insert() + rearrange + clean up 2024-05-16 15:37:00 +05:30
ashilkn
cd023b621a [mob][photos] Remove optional parameter which should never be used
Since generatedID (_id) has NOT NULL constrain, it shouldn't be in a parameter set of a query
2024-05-16 12:59:19 +05:30
ashilkn
7fdc2b5e66 [mob][photos] Migrate to sqlite_async(8): Fix faulty update statements due to incorrect query generation 2024-05-16 12:48:21 +05:30
ashilkn
1e7779a819 [mob][photos] Remove method inline annotation which doesn
't have noticeable perf improvement + remove commented out code
2024-05-15 21:18:14 +05:30
ashilkn
56478fcb8a [mob][photos] avoid unnecessary compute 2024-05-15 21:10:37 +05:30
ashilkn
e179d351d9 [mob][photos] Migrate to sqlite_async(7): Assign String '{}' instead of map object {} to fix unexpected behaviour 2024-05-15 21:04:32 +05:30
ashilkn
25554209ec [mob][photos] Migrate to sqlite_async)(6): Migrate insertMultipleNew to use sqlite_async 2024-05-15 19:52:55 +05:30
ashilkn
d1a5921c27 [mob][photos] Migrate to sqlite_async(5): Create a method to get parameter set from file without calling getRowForFile() 2024-05-15 15:28:24 +05:30