Commit graph

3767 commits

Author SHA1 Message Date
Ashil Kandapath a278df2f23 exclude collectionID = -1 rows while querying for c-ids of hidden files 2022-08-29 20:14:07 +05:30
vishnukvmd 06ec7cb658 final all the vars! 2022-08-29 20:13:31 +05:30
Neeraj Gupta c62de21916
Fix: Compute hash for files shared to ente 2022-08-29 17:27:43 +05:30
Neeraj Gupta ba221e7d73
Merge branch 'master' into reupload_hash_check 2022-08-29 16:50:05 +05:30
Neeraj Gupta ba82402969
log actual exception 2022-08-29 16:23:09 +05:30
Neeraj Gupta 7432689bb1
Support sending logs on password verification screen 2022-08-29 16:01:25 +05:30
Neeraj Gupta c05cbb87e9
Handle livePhoto hash from web client 2022-08-29 13:35:16 +05:30
Neeraj Gupta 68738c5c56
Refactor fileHash handling 2022-08-29 13:28:49 +05:30
Neeraj Gupta 124672768e
refactor 2022-08-29 10:38:18 +05:30
Neeraj Gupta 28b5e9710f
mark field as final 2022-08-29 10:11:38 +05:30
Neeraj Gupta 7c4efc1b86
remove reundant check on uploadedID 2022-08-29 10:06:00 +05:30
Neeraj Gupta 399cad4561
refactor: rename 2022-08-29 10:00:28 +05:30
Neeraj Gupta 6e75386f5c
remove commented out code 2022-08-29 09:56:29 +05:30
ashilkn 89892ea9f1 enable extra hidden features only for internal testers or on debug build 2022-08-27 15:24:06 +05:30
ashilkn 82b008496a warn user before sharing an album containing hidden files 2022-08-27 13:00:40 +05:30
Neeraj Gupta d230edc593
Fix bug in matching file on the basis of hash logic 2022-08-27 11:51:06 +05:30
ashilkn 5fac3dae60 made a service to get set of collectionIDs of collections with hidden files 2022-08-26 20:14:11 +05:30
ashilkn 66a50ff045 get latest visible file from collection on getLatestVisibleFiles() 2022-08-26 17:57:59 +05:30
ashilkn f6e4659fb6 hid hidden files from albums 2022-08-26 17:44:40 +05:30
Neeraj Gupta cdf6d5d334
Merge branch 'master' into reupload_hash_check 2022-08-26 15:04:15 +05:30
Neeraj Gupta 38771a9402
Put search behind remote feature flag 2022-08-26 14:59:49 +05:30
Manav 2b8fc8e3af Tweaks to finalize search for release
1. Change background scrim color for search overlay in dark mode
2. Add apostrophes to holiday names
3. Reduce debounce interval to 100 ms
2022-08-26 14:16:43 +05:30
vishnukvmd fe09995df0 Log password verification failures 2022-08-25 16:39:49 +05:30
vishnukvmd 6290a934b0 Load origin-files only on iOS 2022-08-25 15:10:53 +05:30
vishnukvmd 5c305e25c4 Fix visibility of util method 2022-08-25 15:08:06 +05:30
vishnukvmd 3bfa5991d9 Render origin files in case of GIFs 2022-08-25 15:07:36 +05:30
Vishnu Mohandas a9a2a2d579
Merge pull request #442 from ente-io/add-more-holidays 2022-08-25 10:50:31 +05:30
Ashil 5df5726cc1
Merge pull request #440 from ente-io/cache_improvements
Clear video cache after 3 days
2022-08-24 21:08:05 +05:30
Manav dcb269d27a Add some more holidays with (usually) fixed dates 2022-08-24 21:03:21 +05:30
ashilkn 59d8beaf31 added valentines day & halloween to Holidays 2022-08-24 19:33:31 +05:30
ashilkn 9655278b84 fixed alignment of search icon and branding widget 2022-08-24 19:03:11 +05:30
ashilkn e4e1d7fa51 fixed 'upgrade' text getting cut off at bottom 2022-08-24 18:56:04 +05:30
vishnukvmd d755143dcd Clear video cache after 3 days 2022-08-24 17:38:52 +05:30
ashilkn 7be21dbd68 minor layout changes 2022-08-24 16:46:48 +05:30
ashilkn 2d726c6f2b decreased vertical padding of outlinedButton as text inside it was getting cut at the bottom 2022-08-24 16:05:48 +05:30
ashilkn 59c93e1b23 display error banners below ente logo and search icon 2022-08-24 15:54:12 +05:30
ashilkn df76813c2d fixed search icon visibility issue on different top bar states 2022-08-23 19:19:54 +05:30
ashilkn 1b9b5bc511 minor changes 2022-08-23 17:16:05 +05:30
ashilkn 99f84da428 added comments and changed debounce duraiton to 200ms 2022-08-23 16:42:44 +05:30
ashilkn cfb0e5681c fixed race condition bug in search 2022-08-23 16:32:00 +05:30
ashilkn 282fccf3e4 refactored by using animatedSwitcher instead of fadeTransition 2022-08-23 10:53:12 +05:30
ashilkn a9dcdc6333 minor changes 2022-08-22 16:40:59 +05:30
Neeraj Gupta d24daaa332
Fix bug in deleting entries from file_migrations db 2022-08-22 16:28:42 +05:30
Neeraj Gupta 7a0725955b
Fix migration query 2022-08-22 16:15:56 +05:30
Neeraj Gupta 89c4f3a808
minor documentaiton 2022-08-22 16:06:07 +05:30
Neeraj Gupta 74734d47f2
Merge branch 'master' into reupload_hash_check 2022-08-22 16:03:26 +05:30
ashilkn 56937a1006 debounce bug fix 2022-08-22 15:51:20 +05:30
ashilkn d30c698d5b renamed search_debounce.dart to debounce.dart 2022-08-22 14:46:46 +05:30
ashilkn d41d4ad02e spinner spinning on empty query fix 2022-08-22 14:44:52 +05:30
vishnukvmd 0db99f915a Refactor Debouncer 2022-08-22 13:56:01 +05:30
Neeraj Gupta 011d096572
reduce font size for no result widget 2022-08-22 13:26:57 +05:30
Neeraj Gupta 7513fcdfea
Fix range error in HolidaySearch suggestions 2022-08-22 13:22:22 +05:30
ashilkn d5af7e79a3 used better names for variables & methods checking if timer is active or not 2022-08-22 13:07:20 +05:30
ashilkn d3beaeaf7d Merge branch 'master' into fix-spinner-reload-on-every-keystroke 2022-08-22 11:59:47 +05:30
ashilkn 1d40e4833d misc. changes 2022-08-22 11:32:06 +05:30
ashilkn 1136f2cdb7 Merge branch 'master' into prefix-search-for-year 2022-08-22 11:00:53 +05:30
ashilkn e7e1236afc show latest first for year search results 2022-08-22 10:59:35 +05:30
ashilkn 32190e1ea5 modified getYearSearchResults service to handle more than one year + refactoring 2022-08-22 10:48:28 +05:30
ashilkn 6e30282051 cache years and its durations 2022-08-22 09:44:38 +05:30
ashilkn 9d12778e3e minor fixes 2022-08-20 16:11:05 +05:30
ashilkn acd011a3f7 different opacities for the background of serach 2022-08-20 15:59:29 +05:30
ashilkn 19c714266e fixed spinner reload on every keystroke 2022-08-20 15:38:36 +05:30
ashilkn e6e80a6bf1 removed extra whitespace between 'holiday name' & 'Date' 2022-08-20 13:02:19 +05:30
ashilkn 5bcf6c781a fixed gallery update bug in files in location screen on delete 2022-08-20 12:38:35 +05:30
ashilkn 7a8eb08819 minor change 2022-08-19 17:27:32 +05:30
ashilkn 18cb29a4d0 changed text of copies 2022-08-19 17:21:57 +05:30
ashilkn b1d580c78d made fields in Debouncer class private 2022-08-19 14:46:26 +05:30
ashilkn 83fd6ea4c4 minor changes 2022-08-19 14:36:25 +05:30
ashilkn 1438a3cea7 minor changes 2022-08-19 13:24:46 +05:30
ashilkn eff638cb3e extracted all search service method calls to a separate function + moved Debouncer class to a separate file 2022-08-19 13:02:59 +05:30
ashilkn d9a4d34c1d extracted _debounceQuery() to Debouncer class 2022-08-19 11:58:20 +05:30
ashilkn ce84ad1125 bug fix on holiday search and files not shown for current year holidays 2022-08-19 10:35:21 +05:30
ashilkn fb060c01dc adde animation for the search suffix icon 2022-08-19 10:20:07 +05:30
ashilkn dee861b0c4 minor changes 2022-08-18 19:44:09 +05:30
ashilkn d222bb59f5 increased horizontal padding of search 2022-08-18 19:31:38 +05:30
ashilkn fef120c430 fixed bug on empty query 2022-08-18 19:20:53 +05:30
ashilkn 8d7d91f6b1 CircularProgressIndicator bug fix 2022-08-18 18:12:38 +05:30
ashilkn 109648ede2 bug fix on typing fast 2022-08-18 17:50:27 +05:30
ashilkn 6a6fc6f345 CircularProgressIndicator while debouncing 2022-08-18 16:22:57 +05:30
ashilkn 65f2aa3b16 added debounce to search 2022-08-18 14:03:28 +05:30
ashilkn ba2eb2516d only show resutls if query is not empty 2022-08-18 10:39:39 +05:30
Vishnu Mohandas f7d4ded925
Merge pull request #431 from ente-io/month-search
Month search
2022-08-17 19:50:21 +05:30
ashilkn 2b547df4f0 fixed other lint errors 2022-08-17 17:48:53 +05:30
ashilkn fb389ac390 Made files in month page 2022-08-17 17:28:59 +05:30
ashilkn eded31210c Made month reslut widget + fixed bug on searching 'december' 2022-08-17 17:18:25 +05:30
ashilkn aa2f85af93 Made service for month search and added results to allResults 2022-08-17 16:20:40 +05:30
ashilkn 52c6cb0fe7 made MonthSearchResult and MonthWithNumber types + made an allMonths list 2022-08-17 16:02:57 +05:30
ashilkn ffe3d37726 minor changes 2022-08-17 14:05:16 +05:30
ashilkn c8915c6d3f Merge branch 'master' into holidays-search 2022-08-17 13:51:21 +05:30
ashilkn bbaaf038b0 added on tap to pop the search screen context when tapped outside 2022-08-16 19:22:17 +05:30
ashilkn a33e5bee57 added black overlay with opacity for search screen 2022-08-16 18:47:53 +05:30
ashilkn d59aa30957 removed unnecessary for loops + other improvements 2022-08-16 17:19:58 +05:30
ashilkn fd6e8c7d76 minor changes 2022-08-16 15:49:26 +05:30
ashilkn c1c1924f3f fixed minor bug + other changes 2022-08-16 13:23:16 +05:30
ashilkn dec2029814 fixed merge conflicts 2022-08-16 13:00:17 +05:30
ashilkn 820586e8fd created files from holiday collection page 2022-08-16 12:51:39 +05:30
ashilkn 2976529d80 created search suggestion widget for search by holiday 2022-08-16 12:44:13 +05:30
ashilkn 5b4b86d964 refactoring 2022-08-16 12:43:21 +05:30
ashilkn 4c2fc2b5f6 moved constant holiday data to a new file 2022-08-16 12:24:05 +05:30
ashilkn d2a0ff3cde refactoring/restructuring 2022-08-15 19:33:42 +05:30
vishnukvmd 9874281787 Prompt for biometric auth only in cases where user-self-delete will be executed 2022-08-15 17:35:23 +05:30
ashilkn eeb477598b changes to holidays search service and type of object returned by it 2022-08-15 17:32:56 +05:30
vishnukvmd e1c9fa1883 Replace Container with a SizedBox 2022-08-15 17:05:51 +05:30
vishnukvmd 7ec6a908e8 Caps on pls 2022-08-14 23:11:08 +05:30
vishnukvmd c1b07a7dae Update family-plan dialog title 2022-08-14 23:10:26 +05:30
vishnukvmd 7f0dae0b8a Add padding for draggable thumb to prevent collision with the search icon 2022-08-13 21:04:01 +05:30
vishnukvmd cd04e3060e Add a swipeable route 2022-08-13 20:20:34 +05:30
vishnukvmd ce2e5361e1 Show empty state only for non-empty queries 2022-08-13 19:19:45 +05:30
vishnukvmd a705a9b76a Remove unused param 2022-08-13 19:16:47 +05:30
vishnukvmd 534c004ffd Add an empty state when no results were found 2022-08-13 19:07:17 +05:30
vishnukvmd 8df28169d6 Limit the height of the search suggestions 2022-08-13 18:55:45 +05:30
vishnukvmd 12d61d16e8 Fix width for location and album search results 2022-08-13 18:43:31 +05:30
vishnukvmd a124211f27 Fix ordering of search results within a year 2022-08-13 18:40:01 +05:30
vishnukvmd a71a28288f Disable auto-suggestion on the search input field 2022-08-13 18:38:06 +05:30
vishnukvmd 6ec87610c9 Fix padding 2022-08-13 18:10:18 +05:30
vishnukvmd 215ee7ede6 Remove file search 2022-08-13 18:10:13 +05:30
ashilkn e3d07556e7 Made serive to find matching holiday queries and stored it into the results of suggestions 2022-08-12 16:38:26 +05:30
ashilkn f9f87f0435 made static map of holidays + made a class to store holiday data as it's object 2022-08-12 15:13:15 +05:30
ashilkn 13748a11cc Merge branch 'master' into code-refactoring 2022-08-12 12:45:05 +05:30
ashilkn 1eab6d960f Set a default footer for gallery 2022-08-12 12:43:48 +05:30
ashilkn a4b3ba103c removed unwanted line of code 2022-08-12 12:15:51 +05:30
ashilkn 3f2e70a44a minor changes 2022-08-12 12:07:19 +05:30
ashilkn b97b3367bf changed UI of year search to the new UI 2022-08-12 11:43:33 +05:30
ashilkn 7822ed7f68 mixed merge conflicts 2022-08-12 11:30:41 +05:30
vishnukvmd 9e2c635461 Fix padding 2022-08-11 20:20:56 +05:30
vishnukvmd c3b0e7d141 Fix text color for light mode 2022-08-11 20:20:53 +05:30
vishnukvmd acc9386284 Add chevron to each search result 2022-08-11 20:15:42 +05:30
vishnukvmd 1e047d6e4b Fix logger name 2022-08-11 20:08:43 +05:30
ashilkn 286c3e1045 Files from an year collection page + minor changes 2022-08-11 20:00:13 +05:30
vishnukvmd 78aee4e8a0 Add border radius 2022-08-11 19:53:50 +05:30
vishnukvmd ff35f07094 Extract search result thumbnail to a separate widget 2022-08-11 19:45:54 +05:30
vishnukvmd 9857412428 Add border radius to all thumbnails 2022-08-11 19:18:08 +05:30
ashilkn c134bffc66 Merge branch 'master' into search-by-year 2022-08-11 19:16:24 +05:30
vishnukvmd 9c389aba31 Style changes 2022-08-11 19:15:45 +05:30
ashilkn 753bba3eed made YearSearchWidget() for search result suggestion 2022-08-11 19:15:35 +05:30
ashilkn 50c39dc768 made search service for search by year and stored it to the results variable which is passed on to the SearchSuggestionsWidget() 2022-08-11 18:52:30 +05:30
vishnukvmd 40783396cf Prioritize location results 2022-08-11 18:28:52 +05:30
vishnukvmd 1b308a8704 Prevent overscroll on the search suggestions 2022-08-11 18:26:07 +05:30
vishnukvmd 300508305c Copy change 2022-08-11 18:23:16 +05:30
vishnukvmd ee2fa83019 Reduce transition animation duration 2022-08-11 18:21:03 +05:30
Ashil 110a5831ab
Merge pull request #420 from ente-io/refactor_collections_gallery
Refactor collections gallery
2022-08-11 18:05:43 +05:30
vishnukvmd dabe266455 Update variable name 2022-08-11 18:03:30 +05:30
vishnukvmd 08841b22c3 Rename variable 2022-08-11 18:00:15 +05:30
vishnukvmd ae8bfeea37 Move widgets out of the collection_gallery_widget.dart 2022-08-11 17:58:06 +05:30
vishnukvmd b092188d61 Extract trash button to a separate widget 2022-08-11 17:39:12 +05:30
vishnukvmd f7c66d9124 Extract hidden collection button to a separate widget 2022-08-11 17:38:00 +05:30
vishnukvmd f25045b92a Fetch 10 results for location searches 2022-08-11 17:18:09 +05:30
vishnukvmd 56339cea5d [Unrelated] Ensure that the widget is mounted before using BuildContext 2022-08-11 14:16:24 +05:30
vishnukvmd 811e67b780 Remove unnecessary Row and Flexible widget 2022-08-11 14:15:56 +05:30
vishnukvmd 70e1d9442a Fix hero animation for location search results 2022-08-11 13:40:29 +05:30