Commit graph

7017 commits

Author SHA1 Message Date
ashilkn 390bab470a Removed stateful wrapper around AlbumSortOrder as there is no where down the widget tree where it needs to be updated 2023-06-07 12:17:06 +05:30
ashilkn cd4d146fdc Made changes to detail_page to to show photos in the correct order in oldest first sort order 2023-06-07 12:01:06 +05:30
ashilkn b0e380a47f Minor fix 2023-06-07 11:23:01 +05:30
Neeraj Gupta ce63fc6768 More cleanup 2023-06-06 22:13:32 +05:30
ashilkn c61e5ee6dc Used inherited widget to store state of ordering of photos in gallery 2023-06-06 21:38:11 +05:30
Neeraj Gupta 6f81cac8e5 Refactor: name & package changes 2023-06-06 21:17:03 +05:30
Neeraj Gupta 6b237f9d27 Refactor 2023-06-06 20:13:41 +05:30
Neeraj Gupta d43a4a78dd refactor 2023-06-06 15:27:17 +05:30
Muhesh7 c83f3945f4 update(version): modify flutter_maps 2023-06-06 15:19:16 +05:30
Neeraj Gupta cb02776650 Map: Minor tweaks
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-06-06 09:15:47 +05:30
Muhesh7 7033d3a233 migrate(map): osm to mapbox 2023-06-06 01:27:20 +05:30
Neeraj Gupta 80f444260a Improve zoom logic 2023-06-05 18:52:23 +05:30
Muhesh7 b4b60d5719 feat(initialZoom): optimal initial zoom for map 2023-06-05 17:18:59 +05:30
vishnukvmd 45302c6550 Switch to using a LinkedHashSet to ensure there are no duplicate elements 2023-06-05 17:18:59 +05:30
vishnukvmd 770be776d7 Switch to using a LinkedHashSet to ensure there are no duplicate elements 2023-06-05 11:40:40 +05:30
Neeraj Gupta 79e8e0fce5 Add show on map options for collections 2023-06-05 09:10:25 +05:30
Neeraj Gupta 6e8ccb23e7 Add rough calculation for map center and initial zoom 2023-06-05 08:42:43 +05:30
Neeraj Gupta 40a6767c6b Use Search service to get files 2023-06-05 07:13:34 +05:30
Neeraj Gupta 060cdc7b7f Minor UI tweaks 2023-06-05 05:47:38 +05:30
Neeraj Gupta 9cce420456 Log errors during file processing.
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-06-05 04:52:21 +05:30
Neeraj Gupta 51bdfe97df Use actual file location
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-06-05 04:51:51 +05:30
Neeraj Gupta 518dfb0b0f Fix: Ignore collections
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-06-05 04:51:10 +05:30
Muhesh7 6e2ab6d6ba feat[map_gallery]: implement map gallery 2023-06-04 23:59:54 +05:30
Neeraj Gupta 3bb473d60d
Add entry in change log (#1178) 2023-06-02 10:36:44 +05:30
Neeraj Gupta 483d5dce0d Add entry in change log 2023-06-02 10:29:38 +05:30
Neeraj Gupta 34d2fefca8 GalleryFileWidget: Refactor common code 2023-06-02 08:54:37 +05:30
Neeraj Gupta 567eea134b Fix: Use default selection color for files uploaded via pubLink 2023-06-02 08:46:06 +05:30
Neeraj Gupta b2b5e70790 Early return on any match 2023-06-02 08:11:14 +05:30
Neeraj Gupta 4ede7bbe29 Reload entire groupd on removal 2023-06-02 07:59:14 +05:30
Neeraj Gupta 40c8fc6965 More rename refactor 2023-06-01 12:05:30 +05:30
Neeraj Gupta 7f3932f427 Rename 2023-06-01 11:14:49 +05:30
Neeraj Gupta fbcd9d9fde Merge branch 'main' into gallery_refactor_1 2023-06-01 11:12:39 +05:30
Neeraj Gupta 387de80bce
Use local size for free up space and dedupe (#1171) 2023-06-01 10:14:47 +05:30
Neeraj Gupta faeafd8105 bump version to 0.7.61+461 2023-06-01 09:28:54 +05:30
Crowdin Bot 54e1ea2a22 New Crowdin translations by GitHub Action 2023-06-01 01:09:08 +00:00
Neeraj Gupta ab4be2d01a Refactor 2023-06-01 01:34:57 +05:30
Neeraj Gupta 729066976a Fix bad import 2023-06-01 01:29:13 +05:30
Neeraj Gupta f1718eb884 Rename 2023-06-01 01:25:57 +05:30
Neeraj Gupta bcf4f6fe91 Refactor 2023-06-01 01:09:43 +05:30
Neeraj Gupta 016cec52db Rename day widget as group header widget 2023-06-01 01:08:01 +05:30
Neeraj Gupta 8353b535f4 Refactor 2023-06-01 01:04:19 +05:30
Neeraj Gupta 7162bd6de5 Rename variable 2023-06-01 00:38:10 +05:30
Neeraj Gupta 26a161df03 Refactor: rename + extract widget in separate files 2023-06-01 00:31:58 +05:30
Neeraj Gupta 1967d06987 Merge branch 'main' into use_local_size 2023-05-31 20:31:40 +05:30
Neeraj Gupta c57cd5fa96 Fix bug in request payload for fileInfo
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-31 18:40:42 +05:30
Crowdin Bot 21c0e57e60 New Crowdin translations by GitHub Action 2023-05-31 12:18:50 +00:00
Neeraj Gupta fad5ab2dcf imporve logs 2023-05-31 15:27:01 +05:30
Neeraj Gupta 491a389deb Get dedupe list from local if size information is present 2023-05-31 14:43:06 +05:30
Neeraj Gupta 69eee09484 Merge branch 'main' into use_local_size 2023-05-31 14:22:01 +05:30
Neeraj Gupta 858285bc48 Fix: correct the key for livePhoto hash 2023-05-31 12:35:14 +05:30
Neeraj Gupta a860e499cb Fix compile issue 2023-05-31 12:08:10 +05:30
Neeraj Gupta 34999f4461 Refactor 2023-05-31 12:05:04 +05:30
Neeraj Gupta 5932270787 Refactor: Switch to generic fn for clubbing by time 2023-05-31 12:01:56 +05:30
Neeraj Gupta 848e1488d9 Add clubByduplicates that take fn for clubbing key 2023-05-31 11:58:25 +05:30
Neeraj Gupta 056299d9e0 Defaults to group by hash 2023-05-31 11:50:06 +05:30
Neeraj Gupta ff5d9f7595 Club duplicates files based on hash 2023-05-31 11:49:17 +05:30
Neeraj Gupta fc64570e05 Rename 2023-05-31 11:43:45 +05:30
Neeraj Gupta a25fe6421a Fix check box state to reflect grouping logic 2023-05-31 11:41:16 +05:30
Neeraj Gupta 4a605820d6 Fixed bug in clubByDuplicateName 2023-05-31 11:37:44 +05:30
Neeraj Gupta 0eb07ad10a Rename 2023-05-31 11:32:29 +05:30
Neeraj Gupta 1008bf606f Use localSize info during free up space 2023-05-31 10:10:59 +05:30
Neeraj Gupta 020a708bb5 Method to get all files with missing size information 2023-05-31 08:24:12 +05:30
Neeraj Gupta dc2b62a9fb Add API to fetch fileInfo 2023-05-30 21:03:02 +05:30
Neeraj Gupta f474a29a57 FilesWithLocation: Remove visibility check:
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-30 14:47:20 +05:30
Neeraj Gupta 316415e627 Remove unused method
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-30 14:46:49 +05:30
Neeraj Gupta 06c9a7abcd Fix: fetch archied files in getFilesCreatedWithinDurations 2023-05-30 14:31:56 +05:30
Neeraj Gupta 3b9aeffc97 Fix bug in query for showing items on timeline 2023-05-30 14:30:19 +05:30
Neeraj Gupta 1717f7f08b Fix brightness check 2023-05-30 13:19:36 +05:30
Neeraj Gupta eea5ba9440 Show archive status on shared albums 2023-05-30 12:25:36 +05:30
Neeraj Gupta 5fa4e6e2c4
[Part-1] Refactor Collections Sync (#1132) 2023-05-30 12:12:55 +05:30
Neeraj Gupta d63f1cbca9 Revert createCollections migration script 2023-05-30 09:23:31 +05:30
ashilkn b69fdbefee Remove pressed state of 'Link has expired' menuitem 2023-05-30 09:17:01 +05:30
Neeraj Gupta ad81ff412b Merge branch 'main' into migratie_collections 2023-05-30 07:47:05 +05:30
Neeraj Gupta 796423499b Show no-archived incoming collections 2023-05-29 19:17:35 +05:30
Neeraj Gupta ccbd5bf69e Hook API call to update collection 2023-05-29 19:07:02 +05:30
Neeraj Gupta 67eb859079 Fix url 2023-05-29 19:06:46 +05:30
Neeraj Gupta dccf843361 IncomingSharee: Add hook to display archive status 2023-05-29 18:58:04 +05:30
Neeraj Gupta 392d39b5f2 Add support for updating/saving sharee json 2023-05-29 18:51:31 +05:30
Neeraj Gupta d7afc65769 Add model for shared collection magic data 2023-05-29 18:28:10 +05:30
ashilkn 8f48713ab9 Replace uses of MediaQuery.of(context).platformBrightness to check theme with AdaptiveTheme.of(context).brightness == Brightness.light 2023-05-29 11:15:07 +05:30
ashilkn bf040806c5 Fix bug in theme on home bottom navigation bar 2023-05-29 11:08:31 +05:30
Neeraj Gupta 1d0ed25cbc Add change log for 0.7.59+459 2023-05-29 10:20:36 +05:30
Vishnu Mohandas 25612e539d
Add option to dedupe by file name (#1164) 2023-05-29 02:49:56 +05:30
vishnukvmd 772206dd2e Add option to dedupe by file name 2023-05-28 21:14:40 +05:30
vishnukvmd e0839aca0c Extract string 2023-05-28 20:57:23 +05:30
Crowdin Bot de42dd39d2 New Crowdin translations by GitHub Action 2023-05-27 12:16:24 +00:00
Neeraj Gupta eb0a737453 Show toast if we save to fail file to gallery 2023-05-27 11:39:38 +05:30
Neeraj Gupta 83537a2eb5 Potential fix: save without relative path 2023-05-27 11:38:04 +05:30
Neeraj Gupta 1de2f731f4 Add null check 2023-05-27 11:31:35 +05:30
Vishnu Mohandas c624ed40dd
Force social links to be opened in the browser instead of the webview (#1157) 2023-05-27 11:07:41 +05:30
Neeraj Gupta 7819ba4b3e
Collages (#1158) 2023-05-27 11:07:25 +05:30
Neeraj Gupta 378111fe24 Launch github issues in external app 2023-05-27 11:06:42 +05:30
Neeraj Gupta 237e281e96 iOS: launch blog and shop within app 2023-05-27 11:03:16 +05:30
Neeraj Gupta f788378b71 Fixed typo 2023-05-27 10:58:39 +05:30
vishnukvmd d055a3aafc Remove redundant type conversion 2023-05-27 10:58:28 +05:30
vishnukvmd b5344e658f Remove unnecessary log line 2023-05-27 10:56:55 +05:30
vishnukvmd cc2858d09f Lower log level 2023-05-27 10:56:31 +05:30
vishnukvmd ce89fd56c4 Show progress icon only when upload was initiated now 2023-05-27 10:56:25 +05:30
vishnukvmd 57e75e3732 Configure the background color of the collage 2023-05-27 02:20:31 +05:30
vishnukvmd cd34e19cb1 Show loading state for files queued for upload 2023-05-27 01:46:38 +05:30
vishnukvmd 39aedc7057 Update upload icon widget 2023-05-27 01:35:28 +05:30
vishnukvmd a7b8b6ce72 Fix path 2023-05-27 01:25:08 +05:30
vishnukvmd 52e4b9307a Fix typo 2023-05-27 01:20:43 +05:30
vishnukvmd b1ce88ce97 Dismiss the bottom bar if collage was created 2023-05-27 01:07:06 +05:30
vishnukvmd 4affb2157b Log network errors 2023-05-27 00:56:58 +05:30
vishnukvmd c7c1037341 Fix issues in backing up a collage 2023-05-27 00:56:52 +05:30
vishnukvmd 7a982c873c Compress generated image 2023-05-27 00:24:01 +05:30
vishnukvmd 1d01a71e49 Change the dimensions of the 5 item collage 2023-05-27 00:17:46 +05:30
vishnukvmd b796d2fb90 Increase the dimensions of the [1,2,1] collage 2023-05-27 00:10:16 +05:30
vishnukvmd 15a4a59439 Change the dimensions of 3x1 collage 2023-05-27 00:07:45 +05:30
vishnukvmd 71b24a5877 Refactor 2023-05-27 00:03:32 +05:30
vishnukvmd 3a5eec1789 Update frame width 2023-05-27 00:01:18 +05:30
vishnukvmd 8b1655ead4 Refactor 2023-05-26 22:58:29 +05:30
vishnukvmd d795a2d215 Make width override-able 2023-05-26 22:18:43 +05:30
vishnukvmd 5238832b26 Force social links to be opened in the browser instead of the webview 2023-05-26 21:15:45 +05:30
vishnukvmd 19b682a10d Extract save button to a separate widget 2023-05-26 21:05:18 +05:30
vishnukvmd 7f9b95cee7 Refactor 2023-05-26 20:58:34 +05:30
vishnukvmd 40120966a4 Integrate collage builder for 6 items 2023-05-26 20:57:43 +05:30
vishnukvmd aae4dae751 Add collage builder for 6 items 2023-05-26 20:50:40 +05:30
vishnukvmd 91b7f190ec Add collage for 5 items 2023-05-26 19:36:58 +05:30
Neeraj Gupta ca04f5ece4 Skip metadata decryption for deleted collections 2023-05-26 19:06:05 +05:30
vishnukvmd b6b8b15e99 Push down the save button 2023-05-26 19:05:06 +05:30
vishnukvmd 32e6ea2c8a Refactor 2023-05-26 19:01:51 +05:30
vishnukvmd b98b41ec3c Add collage creator for 4 items 2023-05-26 18:55:23 +05:30
vishnukvmd c44f3f06e8 Minor refactor 2023-05-26 18:40:39 +05:30
vishnukvmd d713f1085f Add collage for 3 images 2023-05-26 18:36:39 +05:30
vishnukvmd 3f1c3d23af Setup layouts for 3 images 2023-05-26 18:20:21 +05:30
vishnukvmd 758f12bd30 Convert to stateless widget 2023-05-26 17:57:30 +05:30
vishnukvmd f1a5118e47 Refactor 2023-05-26 17:54:03 +05:30
vishnukvmd 3382032cf6 Extract out widget for creating a collage out of two images 2023-05-26 17:48:36 +05:30
vishnukvmd 3408e3ed2d Increase the tap area of layout 2023-05-26 17:27:18 +05:30
vishnukvmd 6c618a7cbb Add an active state for the layout icon 2023-05-26 17:07:47 +05:30
vishnukvmd b35b6d05f8 Use collage to generate icons 2023-05-26 16:54:35 +05:30
vishnukvmd bf14718506 Add padding 2023-05-26 16:38:44 +05:30
vishnukvmd f06c25741f Use existing button widget 2023-05-26 16:26:12 +05:30
vishnukvmd ca82d9ec1d Add option to save the collage 2023-05-26 15:38:24 +05:30
vishnukvmd acbd396e23 Add option to choose layout 2023-05-26 15:02:32 +05:30
vishnukvmd 6f572aa1ef [WiP] Collage for 2 images 2023-05-26 14:55:47 +05:30
vishnukvmd 8508035be0 Add param to cover the screen 2023-05-26 14:53:40 +05:30
vishnukvmd b0c9cae36a Preserve ordering within SelectedFiles 2023-05-26 13:55:15 +05:30
Neeraj Gupta a385d42838 Fix typo 2023-05-26 13:42:58 +05:30
vishnukvmd 811f6d5379 Navigate to dummy page for creating a collage 2023-05-26 12:41:25 +05:30
vishnukvmd 481443f547 Add a hook to create a collage 2023-05-26 12:33:29 +05:30
Neeraj Gupta b89d31ad03 Move sort option above archive 2023-05-26 10:17:12 +05:30
Neeraj Gupta e12ed7000d Force refresh collection gallery on collectionSort change 2023-05-26 10:05:19 +05:30
Neeraj Gupta 0dc5279f8b Refactor: Use fn as getter for sortAsc value
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-26 10:04:32 +05:30
Neeraj Gupta 4560f99574 New event for Collection metadata updfate 2023-05-26 09:22:07 +05:30
Neeraj Gupta 21bdabf4a8 Pass sort property to gallery 2023-05-26 08:35:06 +05:30
Neeraj Gupta efe5ecf015 Persist colleciton pubMagicMetadata 2023-05-26 08:14:58 +05:30
Neeraj Gupta af3d1fac32 Add type
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-26 08:05:12 +05:30
Neeraj Gupta 4f99062662 Add logic to update sortOrder on remote
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-26 08:03:58 +05:30
Neeraj Gupta 690fb935ae Merge branch 'gallery_pass_flag' into sort_order_collection 2023-05-25 19:59:57 +05:30
Neeraj Gupta e8594566b5 Pass sort property to gallery 2023-05-25 19:54:38 +05:30
Neeraj Gupta e540430c45 AlbumSort: Add option in overflow menu for sorting 2023-05-25 16:37:55 +05:30
Neeraj Gupta 1fd8899abd Add model for collectionPubMagicMetadata 2023-05-25 16:00:48 +05:30
Neeraj Gupta dc96583dcd Merge branch 'main' into migratie_collections 2023-05-25 13:37:52 +05:30
Neeraj Gupta 2aa272b9d0 Rename: Separate file and album magic property class 2023-05-25 11:23:34 +05:30
Neeraj Gupta 0b1f0e9ed7 Refactor: Move magic_metadata.dart under models/metadata
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-25 11:01:50 +05:30
Neeraj Gupta 779544941d Fire remoteSync event for first collections sync 2023-05-25 10:15:43 +05:30
Neeraj Gupta e97ad6f26b Wait for firstSync to finish before showing deleteEmptyAlbums 2023-05-25 10:11:43 +05:30
Vishnu Mohandas bff39dc60b
Fix case (#1145) 2023-05-24 22:35:36 +05:30
vishnukvmd 6babc3c5a4 Fix case 2023-05-24 22:33:22 +05:30
Neeraj Gupta f57ae070f9 [generated] i10n changes 2023-05-24 22:12:31 +05:30
Neeraj Gupta cfa6b9f009
Clean up old migration code (#1143) 2023-05-24 12:51:43 +05:30
Neeraj Gupta 3dbfb36680 Remove any stale enteries in DB 2023-05-24 12:23:33 +05:30
Vishnu Mohandas 99bcc055db
Update string (#1141) 2023-05-24 12:14:39 +05:30
Neeraj Gupta aaa1036e3a Remove migration code 2023-05-24 12:13:00 +05:30
vishnukvmd 57897f4973 Update string 2023-05-24 12:11:35 +05:30
Neeraj Gupta 103f1e23d9 Perf: Only refresh cache for fetched collections 2023-05-24 08:09:45 +05:30
Neeraj Gupta 1551c0c5ee Perf: Only refresh cache for fetched collections 2023-05-24 08:09:18 +05:30
Neeraj Gupta bfb4a52b9a Remove unused method 2023-05-24 07:58:15 +05:30
Neeraj Gupta 3f09aba42e Decrypt collection name and path during remote sync 2023-05-24 01:47:48 +05:30
Neeraj Gupta fcd58fb0aa Add setName for collection 2023-05-24 01:43:12 +05:30
Neeraj Gupta 46fbdd02b8 Refactor: put duplicate code in single method 2023-05-24 00:50:03 +05:30
Neeraj Gupta 98e56fae63 Remove redundant decryption for name and path 2023-05-23 21:50:24 +05:30
Neeraj Gupta 90ae96299c minor refactor 2023-05-23 18:42:28 +05:30
Neeraj Gupta b98e9c8aec Merge branch 'perf_minor' into migratie_collections 2023-05-23 17:04:38 +05:30
Neeraj Gupta 4c6ba5c851 Fix: Fire event with files for given collection 2023-05-23 16:59:50 +05:30
Neeraj Gupta 6d8d4aeddf CollectionDiff: Avoid redundant event for delete from delete 2023-05-23 16:57:35 +05:30
Neeraj Gupta 113d3e5709 Perf: Avoid reading entire collections while sync diff 2023-05-23 16:13:07 +05:30
Neeraj Gupta 10f1db49ef Merge branch 'remove_redundant_work' into migratie_collections 2023-05-23 15:26:21 +05:30
Neeraj Gupta 90bb00fefb Perf:Avoid redundant reading and decrypting all collections 2023-05-23 15:20:54 +05:30
Neeraj Gupta be65123544 CollectionSync: Remove unused return value
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 15:18:30 +05:30
Neeraj Gupta f4d7407d6e CollectionSync: Remove unused return value
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 15:16:49 +05:30
Neeraj Gupta fe576ef85c Fix typo
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 15:12:08 +05:30
Neeraj Gupta e822307423 Fix: Update collection after api success
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 15:10:45 +05:30
Neeraj Gupta f7fbb77887 Minor refactor for name decryption 2023-05-23 14:54:39 +05:30
Neeraj Gupta 5aae4f4157 refactor: move user class in separate file
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 11:24:35 +05:30
Neeraj Gupta b24bf451b6 refactor: extract PublicUrl outside collection.dart
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 11:08:17 +05:30
Neeraj Gupta 318865396b Refactor: move error to corresponding pkg
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 10:57:34 +05:30
Neeraj Gupta cf35fe10b9 Mark method private
Signed-off-by: Neeraj Gupta <254676+ua741@users.noreply.github.com>
2023-05-23 10:54:45 +05:30
Neeraj Gupta 399f4b44eb
-mRemove unused collection.toMap 2023-05-23 10:35:19 +05:30
Neeraj Gupta e2e1d7ef13
Replace collection.name usage with collection.displayName 2023-05-23 10:26:48 +05:30
Neeraj Gupta 461bce2329
Collection: Add field for decrypted name & path 2023-05-23 09:41:46 +05:30
Neeraj Gupta 0c5dfbfc25
[collections-migration] Add db script to create table in filesdb 2023-05-23 09:37:01 +05:30
ashilkn c6bf03fe36 Remove bottom padding of bottom navigation bar 2023-05-22 22:57:08 +05:30
ashilkn f9b4c0cba0 Remove animated opacity from bottom navigation bar + refactoring 2023-05-22 22:47:15 +05:30
ashilkn b4d72bf26f Merge branch 'main' into remove_backdrop_filters 2023-05-22 12:21:12 +05:30
ashilkn 21a0b5806d Remove backdrop filter from action sheet and use solid colors with elevation 2023-05-22 12:21:02 +05:30
Neeraj Gupta 331c598165
[generated] i10n changes 2023-05-22 12:05:22 +05:30