Commit graph

411 commits

Author SHA1 Message Date
Jeremy Wu
cab7f94c6b context menu selection for adding to quick access 2021-01-26 20:21:12 +11:00
Jeremy Wu
85dee95fc7 add file and folder type loading 2021-01-26 20:01:12 +11:00
Jeremy Wu
163bfa303b formatting and naming 2021-01-25 19:18:13 +11:00
Jeremy Wu
e46feb1165 fix formatting 2021-01-25 18:57:58 +11:00
张弘韬
8dc5def2e9 Remove extra whitespace 2021-01-25 11:19:59 +08:00
张弘韬
35782e4308 Version Bump 2021-01-25 11:17:28 +08:00
张弘韬
8a56cc6cd8 Use singleton in QuickFolderAccess.cs 2021-01-25 11:07:14 +08:00
张弘韬
9914124d20 Remove extra checking 2021-01-25 11:00:56 +08:00
Jeremy Wu
ff5e3695e9 add return if no quick access links or query 2021-01-25 13:50:41 +11:00
Jeremy Wu
647156ce6f Merge branch 'dev' into ExplorerPathAsync 2021-01-24 21:27:21 +11:00
Jeremy Wu
bfa1aabe35 add comment explaining why location check is needed 2021-01-24 21:08:48 +11:00
Jeremy Wu
e9462e8994 revert change from check string is path back to check location exists 2021-01-24 21:05:39 +11:00
Jeremy Wu
d583078a67 version bump Explorer 2021-01-24 20:52:39 +11:00
Jeremy Wu
288baa5538 Merge branch 'dev' into ExplorerDirectorySearchWithIndexFix 2021-01-24 20:52:10 +11:00
Jeremy Wu
cf60ce2b22 verision bump Explorer plugin 2021-01-24 20:26:29 +11:00
Jeremy Wu
4944a001d6 Merge remote-tracking branch 'origin/dev' into OrderByOpt 2021-01-24 20:24:49 +11:00
弘韬 张
0fe92d35cb fix testing and a potential error coding 2021-01-23 11:32:41 +08:00
弘韬 张
bc0146e68b Use Window Search Orderby instead of getting the result and order them by filename 2021-01-23 10:53:01 +08:00
弘韬 张
3effb401b7 make it become an extension method 2021-01-22 16:23:18 +08:00
弘韬 张
1a758c3919 Use Token.throwifCancellationRequested 2021-01-21 19:39:18 +08:00
弘韬 张
cd92512fe5 Optimize code 2021-01-20 13:47:25 +08:00
弘韬 张
ba236dad63 Merge remote-tracking branch 'upstream/dev' into ExplorerPathAsync 2021-01-20 13:25:13 +08:00
Jeremy Wu
a0f611c7ba Merge branch 'dev' into exclude_chars_explorer 2021-01-19 13:16:38 +11:00
张弘韬
d7abae1ab2 Add Cancellation token for file system enumeration 2021-01-19 10:08:37 +08:00
Jeremy Wu
ed1bf0e956 version bump Explorer plugin 2021-01-19 07:07:06 +11:00
Jeremy Wu
2643c7d730 exclude index search on special chars 2021-01-19 07:05:30 +11:00
Jeremy Wu
ff26bccba5 version bump plugins 2021-01-18 07:58:38 +11:00
Jeremy Wu
114c12bdaf formatting and description 2021-01-17 18:47:19 +11:00
弘韬 张
971d374582 Merge Dev 2021-01-07 21:43:32 +08:00
Jeremy Wu
b348f1dc53
Merge pull request #253 from taooceros/UpdateJson
Replace Json.Net with System.Text.Json
2021-01-07 20:32:22 +11:00
弘韬 张
a9aeecdabd Merge remote-tracking branch 'upstream/dev' into UpdateJson 2021-01-07 10:58:17 +08:00
Ioannis G
b3b64e1d2e
set SatelliteResourceLanguages for plugin projects 2021-01-07 00:53:57 +02:00
弘韬 张
d7805d7a8c Make Explorer plugin completely async 2021-01-03 10:33:59 +08:00
Jeremy Wu
08f97f0ef9 change csproj images folder to use wildcard 2021-01-02 12:57:13 +11:00
Jeremy Wu
be1776fd21 version bump for plugins 2021-01-02 12:47:20 +11:00
Ioannis G
f3355c525d
fix: properly include all plugin translation files 2021-01-01 23:15:37 +02:00
弘韬 张
d28b14ff2d Replace All use of Json.Net with System.Text.Json 2020-12-30 13:40:42 +08:00
Jeremy Wu
336cb3c6db
Merge pull request #192 from Flow-Launcher/bump_version
Release 1.4.0 + Plugin 1.2.2 + default plugins version bumps
2020-11-13 08:45:27 +11:00
Jeremy Wu
6af40cbaed version bump plugins
Calculator, Color, ControlPanel, Explorer, PluginIndicator, PluginManagement, ProcessKiller, Shell, Sys, Url, WebSearch
2020-11-13 07:57:39 +11:00
Jeremy Wu
4bfc733e08 Merge remote-tracking branch 'origin/dev' into fix_plugin_depenedency_loading 2020-09-22 08:05:41 +10:00
Jeremy Wu
2abbca17ef move Quick Folder Access list all method up
move above matched Quick Folder Links because it's return type and will not run the remaining code
2020-09-21 20:55:39 +10:00
Jeremy Wu
ef950063c0 add Directory.Build.targets and update project files
- For all plugin library projects we do not output referenced project assembly dll such as Flow.Launcher.Plugin
- Output all PackageReference dlls for plugins
2020-09-20 17:14:47 +10:00
Jeremy Wu
2ee24b3f71 Merge branch 'dev' into fix_quickfolderaccess_explorer 2020-09-07 05:45:21 +10:00
Jeremy Wu
6dd7259fcc use StringComparison.OrdinalIgnoreCase when calling String.Replace 2020-09-01 07:52:42 +10:00
Jeremy Wu
afb61b247b version bump Explorer plugin 2020-08-31 07:46:24 +10:00
Jeremy Wu
b44b67220a encode # symbol part of the path when creating uri 2020-08-31 07:39:05 +10:00
Jeremy Wu
0b368c2683 fix file extension search using '*' failing 2020-08-26 14:10:39 +10:00
Jeremy Wu
5661b20dfb prevent index search when only '_' in query
otherwise will throw OleDb error.
2020-08-26 08:47:19 +10:00
Jeremy Wu
df5028ada9 move default content search action keyword string to constants 2020-08-26 08:06:51 +10:00
Jeremy Wu
24fe5a11f9 prevent user from using global action keyword for content search
would bring up too many results
2020-08-26 08:06:10 +10:00
Jeremy Wu
b2b98333d5 version bump Explorer plugin 2020-08-25 21:46:44 +10:00
Jeremy Wu
7d1c97a953 Merge remote-tracking branch 'origin/dev' into fix_quickfolderaccess_explorer 2020-08-25 21:44:24 +10:00
Jeremy Wu
c9c8d0065e make the code more obvious when triggering full quick folder access list 2020-08-25 21:40:17 +10:00
Jeremy Wu
00035f7a52 move contents search up 2020-08-25 21:38:39 +10:00
Jeremy Wu
0a4f7c0c06 change QuickFolderAccess behaviour to continue with index search
Even if QuickAccessFolders results matched still continue to do fIles and folders search before returning the results.

This behaviour caters situation where user has a temp location in quick folder access list but still wants to search for temp folder in other locations
2020-08-25 21:36:26 +10:00
Jeremy Wu
e38b57d872 separate methods to better reflect responsibility 2020-08-25 21:24:53 +10:00
Jeremy Wu
41087d88d4 fix not triggering due to ActionKeyword is string empty when global 2020-08-25 21:23:53 +10:00
Jeremy Wu
17f94a1bd2 add spacing between comment and code for readability 2020-08-25 15:00:17 +10:00
Jeremy Wu
e3df795a26 version bump Explorer 2020-08-25 14:57:38 +10:00
Ioannis G
ac3ef9dbc7
plugin/explorer: ensure env var paths are absolute 2020-08-25 00:20:39 +03:00
Jeremy Wu
027fa214d6 version bump Explorer plugin 2020-08-24 08:48:54 +10:00
Jeremy Wu
d64d51cc57 fix localized path when using Explorer plugin 2020-08-24 08:21:16 +10:00
Jeremy Wu
e37d976d04 add option for user to customise Explorer's Action Keywords
ui + backend logic
2020-07-19 00:12:11 +10:00
Jeremy Wu
9feb4d6164 add behaviour for Customise Action Keyword UI 2020-07-17 21:15:00 +10:00
Jeremy Wu
fad4f5b5c9 fix clicking twice to expand issue
event was wired to the same expand method cause calling it twice
2020-07-17 21:14:15 +10:00
Jeremy Wu
bad007c008 show Explorer action keywords on UI 2020-07-16 21:45:08 +10:00
Jeremy Wu
7ad0071117 quick folder links triggering when search action keyword is used 2020-07-15 06:14:52 +10:00
Jeremy Wu
ace9dc7f2c update old hotkey trigger to use ActionKeyword 2020-07-15 05:52:01 +10:00
Jeremy Wu
a1e371b7e8 add multi-ActionKeywords for Explorer 2020-07-15 05:50:48 +10:00
Jeremy Wu
ca835266b7 version bump Explorer plugin 2020-07-15 05:49:26 +10:00
Jeremy Wu
ef46225c33 Merge branch 'dev' into add_filecontent_search 2020-07-12 22:50:51 +10:00
Jeremy Wu
8abd97d523 add file content search to Index Search 2020-07-12 22:43:38 +10:00
Jeremy Wu
ccfcf5148f
Merge branch 'dev' into explorer_prompt_deletion 2020-07-05 14:31:23 +10:00
Jeremy Wu
4961bf3138 bump version for release
Explorer, Plugin, Flow Launcher
2020-07-04 18:02:39 +10:00
Jeremy Wu
c46bb354a5
Merge branch 'dev' into explorer_prompt_deletion 2020-07-01 22:22:14 +10:00
Jeremy Wu
bd64512643 add open containing folder to file results 2020-06-30 08:15:20 +10:00
Jeremy Wu
90b7559d32 show ToolTip directory path on current folder result 2020-06-30 07:53:46 +10:00
Jeremy Wu
492c02eea4 add custom plugin ToolTip on result hover over 2020-06-30 06:45:04 +10:00
Jeremy Wu
3fa3090ee3 Explorer plugin- change DefaultFolderSubtitleString to path 2020-06-30 06:20:22 +10:00
Jeremy Wu
95a1b9a968 fix typo 2020-06-29 21:53:01 +10:00
Jeremy Wu
5ff278230b fix environment variable search to be case insensitive 2020-06-29 19:56:43 +10:00
Jeremy Wu
eda89046ed Merge branch 'dev' into explorer_prompt_deletion 2020-06-23 21:15:57 +10:00
Jeremy Wu
832e849a3b Prompt deletion of file or folder 2020-06-22 08:43:59 +10:00
Jeremy Wu
d47a1ed5a1 remove unnecessary conditional variable in if- isEnvironmentVariable 2020-06-22 05:02:42 +10:00
Jeremy Wu
617ef3b05d fix environment variable search not showing up in Explorer 2020-06-20 14:26:13 +10:00
Jeremy Wu
e49e0ae2dc output quick folder access list when no query and only hotkey is pressed 2020-06-09 20:12:49 +10:00
Jeremy Wu
cd27cc1632 fix typo + update readme 2020-06-08 21:36:00 +10:00
Jeremy Wu
d23fe3943a add international language support 2020-06-08 20:31:48 +10:00
Jeremy Wu
82cfddbdb3 add ordering to file and folder results 2020-06-08 19:21:47 +10:00
Jeremy Wu
a196c4f269 add logging to Index and DirectoryInfo search 2020-06-08 19:01:32 +10:00
Jeremy Wu
407864beb7 add option to open Indexing Options in context menu and settings page 2020-06-08 18:41:59 +10:00
Jeremy Wu
6befd6cbb1 small fixes
- ignore upper case when determine index search
- add open with different user image
- add subtitle text for context menu containing folder
2020-06-08 14:47:57 +10:00
Jeremy Wu
5d696bd3ab explorer general touch ups- no logic change 2020-06-08 14:20:22 +10:00
Jeremy Wu
0ee0fb8d2b add Explorer plugin's settings page 2020-06-06 22:13:22 +10:00
Jeremy Wu
e34bcbd1ba add prompt press ctrl to open folder directly to folder results 2020-06-04 19:06:03 +10:00
Jeremy Wu
b90664d760 add exclude index search confirmation and persist settings to storage 2020-06-03 22:00:18 +10:00
Jeremy Wu
06877ca06b change to exclude sub-directories too from index search 2020-06-03 20:15:21 +10:00
Jeremy Wu
2c15f1ce70 rename method for better description 2020-06-02 21:14:03 +10:00
Jeremy Wu
f2fffcb675 rename method for better description 2020-06-02 21:11:16 +10:00
Jeremy Wu
bbca3cf202 context menu- update text display and add check if already exists 2020-06-02 21:08:41 +10:00
Jeremy Wu
6330a784e8 add context menu to exclude indexed path from using index search 2020-06-02 20:58:22 +10:00
Jeremy Wu
2225cbff92 rename method to reflect behaviour 2020-06-02 20:21:28 +10:00
Jeremy Wu
5c46464a41 add condition for using Windows Index Search 2020-06-02 20:12:14 +10:00
Jeremy Wu
7629778610 rename top level directory search method and tests to reflect intent 2020-06-02 20:04:22 +10:00
Jeremy Wu
4eb2fe9297 fix typo 2020-06-02 13:26:33 +10:00
Jeremy Wu
dcca88d746 fix CreateOpenCurrentFolderResult's opening path and text display 2020-06-01 21:11:29 +10:00
Jeremy Wu
cc3d7d7ded fix CreateOpenCurrentFolderResult incorrectly using foldername 2020-06-01 14:11:51 +10:00
Jeremy Wu
f2690ebfe2 fix scenario windows index
still returned indexed subfolder results despite top level is not indexed when searching for top level. eg. searching for c:\
2020-06-01 08:03:04 +10:00
Jeremy Wu
1cea02a300 mini refactor to check current or previous directory once 2020-06-01 07:53:34 +10:00
Jeremy Wu
5f13fd8a80 add index info on Open Current Folder result 2020-06-01 05:52:01 +10:00
Jeremy Wu
758b565f01 change strings to Constants 2020-05-28 21:35:12 +10:00
Jeremy Wu
0c53d76fec fix TopLevelDirectory search activation 2020-05-28 21:33:33 +10:00
Jeremy Wu
ddffa52aca Add method to construct search criteria for DirectoryInfoSeach 2020-05-28 08:57:13 +10:00
Jeremy Wu
03bcef56e2 Change Constants class visibility to internal 2020-05-28 07:41:41 +10:00
Jeremy Wu
b5e9ec3a9f Add search hotkeys to Constants 2020-05-28 07:41:14 +10:00
Jeremy Wu
2ea6642248 show if file or folder is indexed in context menu 2020-05-27 19:36:49 +10:00
Jeremy Wu
af00ec5879 remove obsolete variable folderSubtitleString in DirectoryInfoSeach 2020-05-27 07:41:08 +10:00
Jeremy Wu
c93f4a09ea DirectoryInfoPath- fix partial item search 2020-05-27 07:30:52 +10:00
Jeremy Wu
e22abba18c DirectoryInfoSearch- remove auto open folder via appending '\' to path 2020-05-27 07:30:27 +10:00
Jeremy Wu
5b2f06bf10 add logic for index search to search with partial item name 2020-05-26 21:55:07 +10:00
Jeremy Wu
ea9992475e move method up for readability 2020-05-26 21:51:05 +10:00
Jeremy Wu
353fa026af rename variables and update comment 2020-05-26 21:49:59 +10:00
Jeremy Wu
2d4e2f5662 Add methods to test for previous directory location 2020-05-26 20:18:18 +10:00
Jeremy Wu
0ba9a86e46 Clean up method 2020-05-26 13:46:59 +10:00
Jeremy Wu
74b25c0bf1 Add first result as opening current directory 2020-05-26 09:03:27 +10:00
Jeremy Wu
b03ee66646 Rename IndexSearcher 2020-05-25 19:06:09 +10:00
Jeremy Wu
b1a0ddfe2f Remove unused context from IndexSearch 2020-05-25 19:01:31 +10:00
Jeremy Wu
f8a4b924c8 IndexSearch use ResultManager 2020-05-25 18:58:28 +10:00
Jeremy Wu
b737811bdc Add ContextMenu 2020-05-25 18:58:04 +10:00
Jeremy Wu
08a3215c9d Make ResultManager static 2020-05-25 18:55:50 +10:00
Jeremy Wu
327ee2d091 Add QuickFolderAccess functionality 2020-05-25 08:14:21 +10:00
Jeremy Wu
5150d8a1f6 Add DirectryAllFilesFolders method to DirectoryInfo search 2020-05-25 07:37:05 +10:00
Jeremy Wu
6badecb877 Add TopLevelDirecotry search using DirectoryInfo 2020-05-24 20:14:36 +10:00
Jeremy Wu
d839ecab26 make Context static so can be called anywhere 2020-05-24 19:19:54 +10:00
Jeremy Wu
c5c15d2ab3 Move IsLocationPathString method to FilesFolder class 2020-05-24 19:18:58 +10:00
Jeremy Wu
df0871a924 Fix incorrect return state on PathIsIndexed 2020-05-24 19:16:10 +10:00
Jeremy Wu
472f4a5f49 Move ReservedStringPattern to IndexSearcher class 2020-05-24 19:15:13 +10:00
Jeremy Wu
191efe31cb Add ResultManager for handling creation of folder and file result 2020-05-24 19:11:40 +10:00
Jeremy Wu
9b416bf75f Add EnvironmentVariablesPath handling 2020-05-24 19:09:44 +10:00
Jeremy Wu
9039848078 Add method in search manager to handle top folder level win index search 2020-05-23 16:41:25 +10:00
Jeremy Wu
66334947e2 TopLevelFolderSearch- Change name to reflect behaviour 2020-05-23 16:37:29 +10:00
Jeremy Wu
bf6a9d616a Rename parameters in IndexSearcher 2020-05-19 22:40:27 +10:00
Jeremy Wu
690d60b701 Add the use of a SearchManager 2020-05-19 22:38:42 +10:00
Jeremy Wu
78b797e43b Add tests for checking string is location path 2020-05-19 22:36:56 +10:00
Jeremy Wu
06667b7aa7 Add tests for TopLevelFolderSearch behaviour 2020-05-19 20:10:46 +10:00
Jeremy Wu
107fc75d97 Add file type icon images 2020-05-19 18:46:42 +10:00
Jeremy Wu
ac2d318412 Rename Searcher class to IndexSearcher- more descriptive 2020-05-19 13:54:56 +10:00
Jeremy Wu
80380b230a Change Search to open using shared command 2020-05-19 13:40:38 +10:00
Jeremy Wu
c295585272 Update Main to handle basic files and folder search query 2020-05-19 00:14:41 +10:00
Jeremy Wu
be524cb6ea Update Searcher class to handle result creation 2020-05-19 00:11:37 +10:00
Jeremy Wu
dd319c61b3 Update project file to include icon image 2020-05-19 00:07:17 +10:00
Jeremy Wu
f7d6c6f4b1 Update plugin descriptions 2020-05-18 23:39:40 +10:00
Jeremy Wu
d029c8d1a1 Update project properties 2020-05-18 23:38:03 +10:00
Jeremy Wu
7b69d98e59 Add Seacher class and move OleDb connection method 2020-05-18 22:23:20 +10:00
Jeremy Wu
5484b30514 Add OleDb connection method 2020-05-18 21:31:28 +10:00
Jeremy Wu
ff03f7d284 Add tests and methods for all folders and files search 2020-05-18 20:14:38 +10:00
Jeremy Wu
e87a3a2e61 Update method comments 2020-05-18 20:13:31 +10:00
Jeremy Wu
f4ae5badf5 Add test for directory search query string and method 2020-05-12 06:50:17 +10:00
Jeremy Wu
26f0ce2778 Add base query constructor 2020-05-12 06:47:45 +10:00
Jeremy Wu
6d7aa46747 Add Windows Index directory search query test 2020-05-11 23:19:41 +10:00
Jeremy Wu
8848ed1a00 Add skeleton tests and classes for Explorer 2020-05-11 23:15:15 +10:00