Jeremy Wu
f588f2a763
fix typo
2021-07-25 20:44:04 +10:00
Jeremy Wu
0f9fd94312
handle future scenario where PluginsManager's action keyword increased
2021-07-25 20:42:26 +10:00
Jeremy Wu
10a30f4abe
move exception result into its own method
2021-07-25 20:16:30 +10:00
Jeremy Wu
86fe664404
add option to remove warning msg and install Everything plugin
2021-07-25 19:58:21 +10:00
Jeremy Wu
44d8666e27
add warning for Windows Search service not turned on
2021-07-25 17:48:57 +10:00
pc223
5d3b0ba2c0
Should be DESC
2021-07-13 04:12:09 +07:00
pc223
fcbf972754
Testing new search order: System.Search.Rank
2021-07-13 03:44:48 +07:00
Kevin Zhang
0df9f373ce
Rename variables
2021-07-03 12:45:00 +08:00
Kevin Zhang
428efb1cd0
fix unexpected empty string
2021-07-03 12:43:38 +08:00
Kevin Zhang
0c3a37eb70
change logic
2021-07-03 00:23:23 +08:00
Kevin Zhang
192d64bb2a
Use Constant Name
2021-07-03 00:20:33 +08:00
Kevin Zhang
e8a9377ec4
fix up logic
2021-07-02 11:46:10 +08:00
Kevin Zhang
eeb38d84b3
Fix up Actionkeyword for folder result
2021-07-02 11:38:07 +08:00
张弘韬
da6dfcdf6d
CherryPick DirectoryInfoSearch.cs Exception Refactor
2021-06-29 19:04:45 +08:00
Kevin Zhang
f80ae3092e
CherryPick Exception Optimize
2021-06-29 19:02:27 +08:00
Jeremy
ff404c5c5b
update ActionKeywordSetting view logic
2021-06-05 18:44:16 +10:00
Jeremy
f13e24bd07
removed obsolete api object, updated search action keyword naming,
2021-06-05 14:07:13 +10:00
弘韬 张
5966ddc4d9
Refactor Code
...
1. Moving Property match to Settings.cs
2. Use Binding to avoid explicit Function Assign
3. Simplify ActionKeywordMatch
2021-06-01 18:10:24 -07:00
Jeremy
995cf568ff
option to allow action keywords to be disabled
2021-05-30 19:28:18 +10:00
Jeremy
3bf3afc795
update action keyword match logic
2021-05-30 15:11:59 +10:00
Jeremy
7e799b5625
keep search activation, enable and disable path and index search
2021-05-29 20:08:34 +10:00
弘韬 张
acba2dd1a3
Add specific keyword for path explore in explorer plugin
2021-05-22 17:23:25 +08:00
Jeremy Wu
e75ac3288a
update score to variable
2021-04-14 22:15:49 +10:00
Jeremy Wu
aee5f6617e
remove the redundant path in brackets and update Nickname to Name
2021-04-14 22:11:40 +10:00
弘韬 张
1015177b45
Refactor code
2021-04-13 19:40:04 +08:00
弘韬 张
50b5336688
Allow Quick Access Links to be accessed with middle string, and score bump the result
2021-04-13 19:12:24 +08:00
Jeremy Wu
9479923531
remove unnecessary catching OperationCanceledException
2021-03-18 06:50:55 +11:00
Jeremy Wu
f4971e2e96
remove async and task run
2021-03-18 06:44:00 +11:00
Jeremy Wu
b138838805
add ConfigureWait and cancellation token
2021-03-17 06:32:53 +11:00
Jeremy Wu
7aa1396821
move index exclude method to IndexSearch class and add async
2021-03-16 21:33:40 +11:00
Jeremy Wu
e73b2a05ce
change to for loop
2021-03-16 07:12:36 +11:00
Jeremy Wu
b2dc2ef71b
do not exclude if in Quick Access list
2021-03-16 07:12:01 +11:00
Jeremy Wu
b642898132
update loop logic
2021-03-15 08:12:03 +11:00
Jeremy Wu
a5e3049adc
fix typo
2021-03-15 07:39:14 +11:00
Jeremy Wu
43f1cae350
fix exclusion of Windows Index file or folder search
2021-03-15 06:01:29 +11:00
Jeremy Wu
abb11b22fc
update
2021-02-19 21:03:23 +11:00
弘韬 张
73ee3437f3
Use UnionWith
2021-02-18 06:41:56 +08:00
弘韬 张
94e45878c5
Merge branch 'fix_duplicate_entry_quickaccess' of github.com:Flow-Launcher/Flow.Launcher into HEAD
2021-02-18 06:41:18 +08:00
弘韬 张
cba47855c7
Use Hashset and customized equality comparator to filter result
2021-02-18 06:38:43 +08:00
Jeremy Wu
8b30d37ff7
update
2021-02-18 08:09:51 +11:00
Jeremy Wu
dfd7148229
remove duplicate entry with quick access results
2021-02-17 08:50:33 +11:00
Jeremy Wu
bcf046f842
fix move method call only restricted to within the same drive
2021-02-03 20:51:19 +11:00
弘韬 张
c875ad5277
Make most class in Explorer plugin become static class
2021-01-29 18:40:51 +08:00
Jeremy Wu
e615ad86d9
add remove from quick access in context menu
2021-01-27 20:55:53 +11:00
弘韬 张
c0f60e25bf
Use type matching to create result
2021-01-27 16:23:59 +08:00
Jeremy Wu
ccc677fd8f
fix per comment
2021-01-27 06:17:24 +11:00
Jeremy Wu
9331c80753
rename folder link to access link
2021-01-26 21:29:56 +11:00
Jeremy Wu
82d91840c1
rename methods in quick access
2021-01-26 20:53:01 +11:00
Jeremy Wu
44b3f19ac4
fix typo
2021-01-26 20:48:06 +11:00
Jeremy Wu
324ee62c2a
rename quick folder access links to quick access links
2021-01-26 20:35:02 +11:00
Jeremy Wu
3a1d40893e
rename project items to quick access link naming
2021-01-26 20:31:55 +11:00
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
张弘韬
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
288baa5538
Merge branch 'dev' into ExplorerDirectorySearchWithIndexFix
2021-01-24 20:52:10 +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
张弘韬
d7abae1ab2
Add Cancellation token for file system enumeration
2021-01-19 10:08:37 +08:00
Jeremy Wu
2643c7d730
exclude index search on special chars
2021-01-19 07:05:30 +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
弘韬 张
d7805d7a8c
Make Explorer plugin completely async
2021-01-03 10:33:59 +08:00
弘韬 张
d28b14ff2d
Replace All use of Json.Net with System.Text.Json
2020-12-30 13:40:42 +08: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
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
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
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
Ioannis G
ac3ef9dbc7
plugin/explorer: ensure env var paths are absolute
2020-08-25 00:20:39 +03:00
Jeremy Wu
d64d51cc57
fix localized path when using Explorer plugin
2020-08-24 08:21:16 +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
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
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
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
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
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
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
be524cb6ea
Update Searcher class to handle result creation
2020-05-19 00:11:37 +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