Commit graph

438 commits

Author SHA1 Message Date
VictoriousRaptor
f6a4942a48 Refactor plugin zip logic
- Download zip to temp folder
- Unzip to unique folder
2023-11-11 16:11:21 +08:00
VictoriousRaptor
69dad1be6c Check if plugin has been modified when installing/updating/uninstalling 2023-11-11 15:05:24 +08:00
VictoriousRaptor
bf598887dd Make settings field private 2023-11-11 01:34:01 +08:00
VictoriousRaptor
54e255c504 Fix typo 2023-11-11 01:28:34 +08:00
VictoriousRaptor
e7ffd573f0 Move Install/Uninstall plugin logic to Core.PluginManager 2023-11-11 00:40:27 +08:00
Hongtao Zhang
7436aaa2bb switch back to jsonmessageformatter 2023-11-09 20:02:20 -06:00
dependabot[bot]
983a4c5687
Bump FSharp.Core from 7.0.400 to 7.0.401
Bumps [FSharp.Core](https://github.com/dotnet/fsharp) from 7.0.400 to 7.0.401.
- [Release notes](https://github.com/dotnet/fsharp/releases)
- [Changelog](https://github.com/dotnet/fsharp/blob/main/release-notes.md)
- [Commits](https://github.com/dotnet/fsharp/commits)

---
updated-dependencies:
- dependency-name: FSharp.Core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-07 21:22:47 +00:00
Hongtao Zhang
f5b1b4f830 rename and add js/ts v2 2023-11-03 21:16:51 -05:00
Hongtao Zhang
1c63cd9350 remove duplicate comment summary 2023-10-31 08:43:10 -05:00
Hongtao Zhang
3c2ea382ea Merge branch 'dev' of https://github.com/Flow-Launcher/Flow.Launcher into jsonrpc_v2 2023-10-31 08:39:51 -05:00
Jeremy Wu
c67d0faeaf
remove obsolete comment 2023-09-12 08:23:34 +10:00
Hongtao Zhang
63b2a07dd9 load unmanaged dll from dependencyResolver as well 2023-09-11 09:12:41 -05:00
Hongtao Zhang
20f23b01bb update streamjsonrpc and use systemtextjsonformatter 2023-08-28 18:57:12 +08:00
Jeremy Wu
29aefee390 remove irrelevant comment 2023-08-23 08:37:43 +10:00
dependabot[bot]
18774d3968
Bump FSharp.Core from 7.0.300 to 7.0.400
Bumps [FSharp.Core](https://github.com/dotnet/fsharp) from 7.0.300 to 7.0.400.
- [Release notes](https://github.com/dotnet/fsharp/releases)
- [Changelog](https://github.com/dotnet/fsharp/blob/main/release-notes.md)
- [Commits](https://github.com/dotnet/fsharp/commits)

---
updated-dependencies:
- dependency-name: FSharp.Core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 22:38:34 +00:00
Jeremy
9dacfb145a Merge remote-tracking branch 'origin/dev' into jsonrpc_v2 2023-08-07 13:16:26 +10:00
Jeremy Wu
0b95277aa4 update install folder name 2023-08-03 21:41:35 +10:00
Jeremy Wu
a74fdccaa2 Update Python to v3.11.4 2023-08-03 21:16:58 +10:00
VictoriousRaptor
6758447566
Fix name of Slovak language 2023-07-11 20:20:58 +08:00
Ioannis G
df149fae8a
increase plugin manifest fetch timeout to 2m 2023-07-08 13:41:52 +03: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
Ioannis G
64f0da456f
refactor CommunityPluginSource.FetchAsync 2023-07-05 00:37:31 +03:00
Ioannis G
194dbabbde
add more manifest file fallback URLs 2023-07-05 00:01:13 +03:00
Ioannis G
f7b585803d
rework how we fetch plugins from manifest URLs
Introduces the concept of a store of community plugins, which is currently
limited to the official PluginsManifest repository.

Each store can support more than one manifest file URLs. When fetching, all
URLs are used until one of them succeeds. This fixes issues with geo-blocking
such as #2195

Plugin stores can be expanded in the future to be user-configurable, see #2178
2023-07-04 23:44:35 +03:00
VictoriousRaptor
c2c592966f
Add Arabic language 2023-07-04 19:54:39 +08:00
Kevin Zhang
c74374903d
Update AvailableLanguages.cs 2023-07-04 19:08:49 +08:00
Hongtao Zhang
24c125fd0d Merge remote-tracking branch 'origin/dev' into jsonrpc_v2
# Conflicts:
#	Flow.Launcher.Plugin/Query.cs
2023-07-03 16:48:46 +08:00
Hongtao Zhang
c50d98c5e2 Abstract out ProcessStreamPluginV2.cs and add ExecutablePluginV2.cs 2023-07-03 16:44:50 +08:00
Hongtao Zhang
e1deefc1d2 Add UpdateResults Functionality 2023-07-03 16:19:27 +08:00
Hongtao Zhang
0459d6e4fa fix v1 plugin issue
- Settings NullReference
- ExecutablePlugin not working
2023-07-03 12:58:44 +08:00
Hongtao Zhang
83a61109d7 fix error stream issue 2023-07-03 12:23:30 +08:00
Ioannis G
ea4286b7d3
clear backwards compat code 2023-06-26 14:08:23 +03:00
Ioannis G
340dc3c8bf
clear obsolete code from Flow.Launcher.Plugin 2023-06-26 14:08:18 +03:00
Hongtao Zhang
a971156519 Add Initialization Code 2023-06-25 18:18:41 +08:00
Hongtao Zhang
cb6fb80e70 Change abstract back to normal class for JsonRPCExecuteResponse.cs; Cleanup unused classes 2023-06-25 12:21:45 +08:00
Hongtao Zhang
32bbf1eaf0 Finally make JSONRPC Bidirection work 2023-06-25 00:43:21 +08:00
Hongtao Zhang
f6912597b4 Merge branch 'dev' into jsonrpc_v2
# Conflicts:
#	Flow.Launcher.Plugin/Query.cs
2023-06-23 11:24:27 +08:00
VictoriousRaptor
dcc7dbb918
Merge branch 'dev' into RemoveUnusedNuget 2023-06-11 18:36:04 +08:00
Hongtao Zhang
8093a7ca31
Merge remote-tracking branch 'origin/dev' into jsonrpc_v2
# Conflicts:
#	Flow.Launcher/Flow.Launcher.csproj
#	Flow.Launcher/Notification.cs
2023-06-02 23:12:38 +08:00
Hongtao Zhang
e183920b8e
implement v2 2023-06-02 23:05:09 +08:00
dependabot[bot]
bbaa388ff4
Bump FSharp.Core from 7.0.0 to 7.0.300 (#2163) 2023-06-01 06:29:41 +00:00
dependabot[bot]
31d80fe378
Bump Microsoft.IO.RecyclableMemoryStream from 2.3.1 to 2.3.2 (#2154) 2023-05-26 07:54:41 +00:00
VictoriousRaptor
306ad7931b
Merge branch 'dev' into RemoveUnusedNuget 2023-05-04 21:14:13 +08:00
Vic
d9b70e69f3 Refactor save settings logic
SettingWindowViewModel.Save() only saves Flow settings
2023-04-25 22:38:36 +08:00
Vic
00e6e5b30d Remove unused using 2023-04-25 21:02:34 +08:00
Hongtao Zhang
1551567269
fix v1 2023-03-26 14:21:36 -05:00
Hongtao Zhang
b425aac159
fix a little bit more 2023-03-26 14:05:41 -05:00
Hongtao Zhang
a3367abd7a
fix some bug (v1 still broken) 2023-03-26 14:04:06 -05:00
Hongtao Zhang
683f6ebce4
refactor jsonrpc structure (extract setting to a standalone file PortableSettings.cs) 2023-03-26 02:24:31 -05:00
Hongtao Zhang
16dcdf01fd
load v2 plugins 2023-03-26 01:12:21 -05:00
Hongtao Zhang
85fdcde8a8
Merge branch 'dev' of github.com:Flow-Launcher/Flow.Launcher into jsonrpc_v2 2023-03-26 01:00:30 -05:00
dependabot[bot]
13ea226c53
Bump Microsoft.IO.RecyclableMemoryStream from 2.2.1 to 2.3.1 (#1903) 2023-02-16 05:23:23 +00:00
dependabot[bot]
2809dd4dfb
Bump FSharp.Core from 6.0.6 to 7.0.0 (#1807) 2023-02-11 05:11:38 +00:00
Hongtao Zhang
704c26ca3d
Merge branch 'dev' of github.com:Flow-Launcher/Flow.Launcher into net7.0 2023-02-04 11:52:15 -06:00
Jeremy Wu
9be71e8e60
Merge pull request #1762 from Flow-Launcher/safer_updater
Safer Updater
2023-01-23 09:12:09 +11:00
Hongtao Zhang
a7afa171e0
catch exception when killing unused jsonrpc process 2023-01-12 15:52:43 -06:00
Hongtao Zhang
48d3193876
Fix spelling 2023-01-09 09:56:48 -06:00
Hongtao Zhang
4a0891cac7
revise theme structure to achieve the property update 2023-01-09 09:39:50 -06:00
Hongtao Zhang
f5d3acbe23
Catch General Exception when checking update, and use PeriodicTimer to avoid error to crash the main thread 2023-01-03 23:23:56 -05:00
Hongtao Zhang
db354a23a5
Update to .Net 7 2022-12-30 19:12:11 -05:00
Vic
44438de7df Fix typo 2022-12-31 01:49:30 +08:00
Jeremy Wu
bb41da6fb8
New Crowdin updates (#1734) 2022-12-30 22:04:56 +09:00
Jeremy
d386735301 Merge remote-tracking branch 'origin/dev' into add_nodejs_env 2022-12-25 05:09:16 +11:00
Vic
b30ace993a Fix namespace of LocalizationConverter 2022-12-21 15:51:17 +08:00
Vic
3b95b90f1c Move TranslationConverter to Core 2022-12-21 15:50:41 +08:00
Jeremy Wu
5af272ad0b Merge branch 'dev' into add_nodejs_env 2022-12-20 20:56:46 +11:00
DB p
d6a31f02ab Remove Color of debugging 2022-12-11 12:40:30 +09:00
DB p
b4b342fa6f Add Layout for Browse button 2022-12-11 12:39:28 +09:00
DB p
28b6bba438 Adjust TextBlock 2022-12-11 12:29:17 +09:00
DB p
27016c4f2d Add hyperlink layout 2022-12-10 09:53:41 +09:00
DB p
ba3ed35699 - Adjust JsonRPC Panel Design 2022-12-10 08:04:56 +09:00
DB p
b1768b5abf - Adjust JsonRPCplugin Panel Layout
- Adjust System Plugin Setting Panel Margin
2022-12-09 17:46:35 +09:00
Jeremy
d2658c710c add null check 2022-12-06 17:57:27 +11:00
Jeremy
0daf52faec remove PythonEmbeddable folder regardless if it's being used or not 2022-12-06 17:38:18 +11:00
Jeremy
cef53bce96 add empty string defaults to plugin executable paths 2022-12-02 19:27:04 +11:00
Jeremy
e28906de9e rename method 2022-12-02 08:53:57 +11:00
Jeremy
e1e89514d4 remove duplicated updater pre-startup methods 2022-12-01 20:58:31 +11:00
Jeremy
87e49cdb7c formatting 2022-12-01 20:35:23 +11:00
Jeremy
5975b6e5c8 plugin env paths correction after update or mode change 2022-12-01 14:40:24 +11:00
Jeremy
d297779e4b remove unused SupportedLanguage property 2022-11-30 21:10:30 +11:00
Jeremy
680ed77daa add abstract create plugin pair method to handle each plugin type 2022-11-30 21:06:54 +11:00
dependabot[bot]
843c9e1d92
Bump Microsoft.IO.RecyclableMemoryStream from 2.1.3 to 2.2.1
Bumps [Microsoft.IO.RecyclableMemoryStream](https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream) from 2.1.3 to 2.2.1.
- [Release notes](https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream/releases)
- [Changelog](https://github.com/microsoft/Microsoft.IO.RecyclableMemoryStream/blob/master/CHANGES.md)
- [Commits](https://github.com/Microsoft/Microsoft.IO.RecyclableMemoryStream/compare/2.1.3...2.2.1)

---
updated-dependencies:
- dependency-name: Microsoft.IO.RecyclableMemoryStream
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-28 22:16:37 +00:00
Jeremy Wu
07bc2a70b6 remove PythonEmbeddable location 2022-11-28 21:22:49 +11:00
Jeremy Wu
9eb5489863 update setting's environment file paths after app update 2022-11-28 08:44:42 +11:00
Jeremy Wu
2dba51861f Merge remote-tracking branch 'origin/dev' into add_nodejs_env 2022-11-27 12:48:07 +11:00
Kevin Zhang
5b2990cbe9
Merge pull request #1568 from VictoriousRaptor/FixNewCultureInfo
[Dev] Fix new culture info
2022-11-24 23:49:13 -06:00
Vic
30987f9c95 Use DefaultThreadCurrentCulture for culture in app domain 2022-11-25 12:11:24 +08:00
Jeremy Wu
5bc6acff8b
Merge pull request #1351 from Flow-Launcher/handle-icon-urls
Allow plugins to use web URL's for icon paths
2022-11-25 13:50:30 +11:00
Vic
a15a408077 Store CultureInfo in i18n manager 2022-11-24 20:05:07 +08:00
Vic
2a1d917243 Translate hard-coded English text in Pinyin dialog 2022-11-24 12:32:08 +08:00
Jeremy Wu
6561253483 ensure latest only when using Flow's env setup 2022-11-22 09:28:29 +11:00
Jeremy Wu
4e48c3eb10 refactor 2022-11-22 09:20:27 +11:00
Jeremy Wu
c7cee4ae85 add ensure latest installation 2022-11-21 09:28:16 +11:00
Jeremy Wu
c01371393e Merge remote-tracking branch 'origin/dev' into add_nodejs_env 2022-11-20 10:25:53 +11:00
Kevin Zhang
ff2ebc87a8
Merge branch 'dev' into handle-icon-urls 2022-10-30 14:50:31 -05:00
Hongtao Zhang
e9bf62ed08
Revert "Merge branch 'handle-icon-urls' of https://github.com/Flow-Launcher/Flow.Launcher into handle-icon-urls"
This reverts commit cae0b7be77, reversing
changes made to ba0aee14ba.
2022-10-30 14:23:04 -05:00
Jeremy
2dcd4d7b9c centralise all plugin env folders in Environments directory 2022-10-28 20:25:51 +11:00
Jeremy
f76e2962e6 update set plugin path for python 2022-10-28 20:09:30 +11:00
Jeremy
4b0d17c81c set Constant env paths variables when PlugingSettings is set 2022-10-25 21:54:00 +11:00