Commit graph

163 commits

Author SHA1 Message Date
Florian Grabmeier
dcaa74dbe5 Fix reduce nesting
Signed-off-by: Florian Grabmeier <flo.grabmeier@gmail.com>
2023-12-29 11:17:46 +01:00
Florian Grabmeier
4ed1c3c442 Update prompts
Signed-off-by: Florian Grabmeier <flo.grabmeier@gmail.com>
2023-11-23 09:14:53 +01:00
Florian Grabmeier
a3b9a4f9d0 Run updates in parallel
Signed-off-by: Florian Grabmeier <flo.grabmeier@gmail.com>
2023-11-22 14:55:53 +01:00
Florian Grabmeier
8180c1cd40 Display correct messages
Signed-off-by: Florian Grabmeier <flo.grabmeier@gmail.com>
2023-11-22 14:49:43 +01:00
Florian Grabmeier
cb59b6b264 Implemet basic update all logic
Signed-off-by: Florian Grabmeier <flo.grabmeier@gmail.com>
2023-11-22 14:25:17 +01:00
Florian Grabmeier
57b78b5797 Fix merge
Signed-off-by: Florian Grabmeier <flo.grabmeier@gmail.com>
2023-11-19 17:07:29 +01:00
VictoriousRaptor
c18ae41e56 Delete existing zip before downloading 2023-11-12 11:42:13 +08:00
VictoriousRaptor
af9c662892 Remove comment 2023-11-11 16:21:36 +08:00
VictoriousRaptor
f6a4942a48 Refactor plugin zip logic
- Download zip to temp folder
- Unzip to unique folder
2023-11-11 16:11:21 +08:00
VictoriousRaptor
50449de653 Hide modified plugins in query results 2023-11-11 15:29:55 +08:00
VictoriousRaptor
69dad1be6c Check if plugin has been modified when installing/updating/uninstalling 2023-11-11 15:05:24 +08:00
VictoriousRaptor
b7a78362bf Throw exception when zip not found 2023-11-11 10:25:45 +08:00
VictoriousRaptor
842451db69 Show plugin icons in pm Install results 2023-11-11 00:48:18 +08:00
VictoriousRaptor
5b2220b9da Exclude installed plugins in pm install results 2023-11-11 00:47:18 +08:00
VictoriousRaptor
e7ffd573f0 Move Install/Uninstall plugin logic to Core.PluginManager 2023-11-11 00:40:27 +08:00
VictoriousRaptor
08da4e34df Use toast to improve consistency 2023-11-11 00:06:02 +08:00
VictoriousRaptor
1334798c6d Add AutoRestartAfterChanging option
- Option and UI
- New prompts and notification messages
2023-09-29 13:06:42 +08:00
VictoriousRaptor
31131ea4a0 Remove download success notification 2023-09-28 23:45:11 +08:00
Jeremy Wu
4f66b01394 fix spelling 2023-08-22 07:58:46 +10:00
Jeremy Wu
a27e98b0d7 add handling of default plugin installation 2023-08-22 06:50:00 +10:00
Ioannis G
2d6b476685
use Ctrl+R to fetch primary manifest source
from a `pm install` or `pm update` query

should help with #2048
2023-07-05 17:01:55 +03:00
Ioannis G
f03ac76494
throttle PluginsManifest.UpdateManifestAsync
avoid repeatedly fetching manifest data while the user is typing a `pm` query
2023-07-05 16:54:50 +03:00
Vic
0c963045ba Show plugin names in download success notification 2023-02-07 01:37:21 +08:00
Vic
44438de7df Fix typo 2022-12-31 01:49:30 +08:00
DB p
9ba7cb0794 Add 'Installing Plugin' string / Adjust Notification 2022-11-28 21:51:14 +09:00
Oren Nachman
30669e8c25 Further cleanups 2022-08-09 20:18:37 -07:00
Ioannis G
a0bb995643
PluginsManager: refactor sub-commands
Rename them to something more accurate, switch them to be const
2022-01-12 23:48:16 +02:00
Ioannis G
d95010697d
PluginsManager: simplify passing down of queries 2022-01-11 08:55:59 +02:00
Ioannis G
658ddb2cf6
PluginsManager: improve query navigation 2022-01-11 08:21:15 +02:00
Ioannis G
35e043859c
pass CancellationToken to PluginsManifest.UpdateManifestAsync 2022-01-11 06:12:10 +02:00
Ioannis G
33fb0ddee6
refactor PluginsManifest to use conditional requests 2022-01-11 06:00:14 +02:00
Ioannis G
845d9e51d9
stop using obsolete SearchWeb methods internally 2022-01-03 15:25:38 +02:00
Hongtao Zhang
5ae9ee46c0 Suppress Startup Manifest Download Error Notification 2021-12-19 11:37:38 -06:00
Jeremy
07aebaeeaa Merge branch 'dev' into install-from-url 2021-11-29 06:18:16 +11:00
Jeremy
ea179e5455 shorten version compare logic 2021-11-29 06:06:08 +11:00
Jeremy
091b4afe4e switch to use main window's Show method 2021-11-27 13:51:45 +11:00
Garulf
2edc345892 Fix or condition 2021-11-24 02:06:39 -05:00
Jeremy
48c0f21a24 only msg plugin download & install succes/failure 2021-11-22 19:43:14 +11:00
Jeremy
a07252cc04 add ability to switch off warning when unknown source
fixed search terms to show with out to lower
2021-11-21 16:09:49 +11:00
Jeremy
ebf9ef1d80 add check downloaded plugin zip has same or lesser version 2021-11-21 13:31:43 +11:00
Jeremy
4eeaaec3c7 fix naming when installed from url source 2021-11-20 21:26:56 +11:00
Jeremy
73c1031e0f append new guid as zip and file name, update error messaging 2021-11-20 20:01:57 +11:00
Jeremy
99405395ec add plugin installation notifications 2021-11-20 18:47:10 +11:00
Garulf
2e2d2591d7 Block install if manual install exists 2021-11-19 10:59:32 -05:00
Garulf
cf056a92c0 Filename as title for result 2021-11-18 11:47:21 -05:00
Garulf
8c50d13aa5 Use correct icon 2021-11-18 11:40:06 -05:00
Garulf
092b4593f8
Detect URL and install 2021-11-18 10:35:45 -05:00
Kevin Zhang
3d06404614 Move PluginsManifest to Flow.Launcher.Core & Change PluginStore Binding to PluginsManifest 2021-10-10 16:46:54 -05:00
Jeremy Wu
d524b0a759
Merge pull request #628 from Flow-Launcher/fix_pm_update_focus
Fix PluginsManager's InstallOrUpdate focus
2021-08-07 12:19:41 +10:00
Jeremy Wu
df3b91ea99 fix PluginsManager's InstallOrUpdate focus 2021-08-03 07:58:35 +10:00
Jeremy
a8d7dcdacb remove extra space 2021-07-29 07:58:17 +10:00
Jeremy
cfb2ca1171 fix PluginsManager context menu crashing 2021-07-27 20:32:53 +10:00
Jeremy
e7b90b818e add translation for download failed error msg 2021-07-04 21:12:22 +10:00
Kevin Zhang
2405af88a6 fix unexpected Task Status 2021-07-04 18:35:00 +08:00
Kevin Zhang
c5d24c407a
Merge branch 'dev' into SpecialCtrl 2021-05-16 14:50:39 +08:00
弘韬 张
d421a950f6 Add special ctrl for Pluginsmanager and Shell plugin 2021-05-15 02:17:57 +08:00
Jeremy
5ccf4c5694 fix action keyword when more than one query term is typed 2021-05-10 20:15:33 +10:00
弘韬 张
a3c61c26cc don't remove setting when updating 2021-02-19 05:05:03 +08:00
Jeremy Wu
c2dd536b9b Merge branch 'dev' into FixUnexpectedErrorNotice 2021-02-15 21:13:24 +11:00
Jeremy Wu
0707ae3997 fix formattng 2021-02-13 21:03:26 +11:00
弘韬 张
59a767fafb remove unexpected space 2021-02-13 12:22:59 +08:00
弘韬 张
9df7201037 Remove setting after uninstalling plugin 2021-02-12 23:47:21 +08:00
Jeremy Wu
bcf046f842 fix move method call only restricted to within the same drive 2021-02-03 20:51:19 +11:00
弘韬 张
1f6e6e5e09 fix format 2021-02-03 10:25:29 +08:00
弘韬 张
a65db9b626 Merge Dev 2021-02-03 10:24:03 +08:00
弘韬 张
71664bddc0 Optimize Logic 2021-02-03 10:23:38 +08:00
Jeremy Wu
a6e5602520 formatting fix 2021-02-03 13:00:16 +11:00
弘韬 张
2271ec16fd Optimize exception message logic 2021-01-29 12:17:17 +08:00
弘韬 张
89453f441d Await Update when manifest is not ready 2021-01-29 12:09:18 +08:00
弘韬 张
5d894ec154 Don't await download manifest when it is unavaliable, but only await when calling install method to allow user using uninstall when manifest is not ready. 2021-01-25 17:18:48 +08:00
张弘韬
415adb72bf Optimize Logic 2021-01-17 18:46:08 +08:00
张弘韬
d203a7a5f3 Add Cancellation Token 2021-01-17 18:42:01 +08:00
张弘韬
bf96a60862 Only wait PluginManifest downloading for 500ms to allow Flow to be used even without internet connection. 2021-01-17 18:39:53 +08:00
弘韬 张
bc63b9ebfa Change Download to DownloadAsync
Add error handling for download as well
2021-01-04 10:31:05 +08:00
Jeremy Wu
6287358275 update error message 2021-01-04 06:41:05 +11:00
弘韬 张
8fa1e2e33f add one more message 2021-01-03 20:49:14 +08:00
弘韬 张
d369108b0b Error handling for plugin update 2021-01-03 20:42:31 +08:00
Jeremy Wu
81cb20bf91 add return to continue 2021-01-01 21:54:34 +11:00
Jeremy Wu
cab1b93183 move install method into try catch 2021-01-01 19:13:14 +11:00
Jeremy Wu
54f6858937 add plugin name to error msg popup 2021-01-01 19:03:06 +11:00
Jeremy Wu
a65e17dba0 fix wrong error message 2021-01-01 18:57:58 +11:00
弘韬 张
c485578cff Use CompareTo to check update for InstallOrUpdate method 2020-12-29 18:48:55 +08:00
弘韬 张
d0743f6276 Await Http.Download in Update method 2020-12-29 18:48:00 +08:00
弘韬 张
d4f94c66ac Make InstallOrUpdate to async 2020-12-29 18:33:53 +08:00
Jeremy Wu
f9349a64e9 fix condition of version compare 2020-12-29 17:49:37 +11:00
Jeremy Wu
a1a45a4989 add eof 2020-12-29 17:49:11 +11:00
弘韬 张
c94a2f4c95 Use string.CompareTo instead of equal to check for update 2020-12-29 13:06:08 +08:00
弘韬 张
bb9682f791 Move get default hotkeys to pluginmanger and make Main.Context non-static 2020-12-29 12:14:59 +08:00
弘韬 张
5a0358718c Update PluginManifest if last update time is 12 hours ago 2020-12-28 23:23:25 +08:00
弘韬 张
deaac1c7e4 replace install from search keyword 2020-12-27 22:33:12 +08:00
张弘韬
34f51927cf 1. Move PluginsManager constuction to Init().
2. Return HotKeys list when query is like "pm *"
2020-12-27 21:13:25 +08:00
Jeremy Wu
5ab021f444 update per comment 2020-12-20 20:08:52 +11:00
Jeremy Wu
a6bd480534 Merge remote-tracking branch 'origin/dev' into pluginsmanager_update 2020-12-20 19:55:19 +11:00
Jeremy Wu
c2ca29dcda add go to update section if update exists when install 2020-12-17 21:37:38 +11:00
Jeremy Wu
cca53c2a7d add hide main window override 2020-12-17 21:07:47 +11:00
Jeremy Wu
7e8c49502e add plugin update call 2020-12-17 20:37:01 +11:00
Jeremy Wu
df454778ec update plugin containing folder name from id to version 2020-12-17 19:00:27 +11:00
Jeremy Wu
f12ea653d2 move autocomplete to method 2020-12-17 18:54:30 +11:00
Jeremy Wu
a0773a60b3 Merge branch 'dev' into add_pluginsmanager_contextmenu 2020-12-16 21:52:18 +11:00
Jeremy Wu
88af30207c add context menu for PluginsManager 2020-12-16 21:52:00 +11:00