Commit Graph

3554 Commits

Author SHA1 Message Date
qianlifeng 499ec2e634 Add 'summary' command to Browser plugin
This update adds a 'summary' command to the Browser plugin, providing a summary of the content of the currently active Browser URL. The command will return with an error message if there is no active browser URL. A conditions check whether the plugin's query is executed within a browser has been added.
2024-05-23 16:30:40 +08:00
lyl 56a0f02b75 Modify plugin-store.json for OSXVolumeControl 2024-05-23 15:39:25 +08:00
qianlifeng c2d7bc3de9 [Bot] Update plugin store manifests 2024-05-23 15:17:11 +08:00
qianlifeng 4a5792ef5c Add privacy tab for plugin settings
Implemented a new privacy tab in the plugin settings view in the Flutter UI. This tab displays access permissions required by a specific plugin. Enhanced the Wox plugin system to support these changes, adding the necessary code configurations. Also updated the browser plugin to leverage these new features.
2024-05-23 15:15:21 +08:00
qianlifeng 3ccb693900 [Bot] Update plugin store manifests 2024-05-23 13:38:05 +08:00
qianlifeng a8bc8602ab
Added support for displaying individual website icons in browser search results
This update allows the browser plugin to display icons specific to the websites in the search results instead of generic browser icons. Cache support has been added for website icons to ensure efficiency and speed up results display. This change enhances user experience by providing more accurate visual cues.
2024-05-22 23:15:36 +08:00
qianlifeng 9d2f4e41fa Add browser tab management feature in BrowserPlugin
This commit adds browser tab management functionality within the BrowserPlugin of the Wox plugin. New data structures to represent browser tabs and incoming websocket messages were introduced. Query function was also updated to support searching opened tabs based on title or URL. This feature is focused on improving user experience by making navigation and management of browser tabs more efficient.
2024-05-22 16:02:07 +08:00
lyl c270a6dd85 Modify plugin-store.json 2024-05-22 15:55:43 +08:00
qianlifeng 0cea873537 [Bot] Update plugin store manifests 2024-05-21 22:52:58 +08:00
qianlifeng 21f1279fa7
Enhance websocket handling and error reporting in Browser Plugin
The code diff adds a Websocket server within the Browser plugin's initialization method and sets up a listener for setting changes. It also handles and logs more potential error cases in the newWebsocketServer method and log incoming messages. Plus, improvements on error handling in Flutter UI and HTTP util are implemented.
2024-05-21 22:48:23 +08:00
qianlifeng 562515bd08 [WIP] Add browser plugin 2024-05-21 15:32:29 +08:00
qianlifeng 0eae472655
Update some app icon on macos 2024-05-13 22:21:16 +08:00
qianlifeng 12ae963dd8 Improve app plugin in macos 2024-05-13 16:24:19 +08:00
qianlifeng 1080d9504b Add macos x64 actions 2024-05-13 13:09:39 +08:00
qianlifeng 222331e819 Fix build error on windows 2024-05-13 11:59:45 +08:00
qianlifeng 1556fbba3b
Add recursion depth to app directory retrieval
This commit introduces a 'RecursiveDepth' attribute as an enhancement to the app directory retrieval in the Wox plugin system. This allows more flexibility in controlling the depth of recursion when retrieving apps. Additionally, this commit alters the 'GetAppDirectories' implementation on both macOS and Windows to reflect this new feature.
2024-05-12 22:24:31 +08:00
qianlifeng 9da9d4a1f2 Fix app icon missing on windows 2024-05-12 00:59:48 +08:00
qianlifeng 1f02d1323f Fix transparent issues on windows. 2024-05-11 23:53:52 +08:00
qianlifeng bf31f1b7be
Improve file plugin 2024-05-10 00:10:41 +08:00
qianlifeng 247fc6fe8d
Update system app traversal and search optimization
Enhanced '/System/Applications' path traversal in the Wox plugin system for Darwin OS and streamlined the query routine in the Application Plugin. Removed unnecessary sub-directory checks and iteration, and optimized the search for applications by directly using information from the apps list.
2024-05-09 22:32:45 +08:00
qianlifeng b09742bb10
[WIP] Add file search plugin to Wox
Implemented a new file search feature in the Wox launcher. This includes creating new structures for search patterns and search results, as well as an interface for a searcher in `searcher.go`, and macOS-specific implementation in `searcher_darwin.go`. It also includes necessary updates in `main.go` and `plugin.go` for plugin registration and handling search queries.
2024-05-09 00:02:51 +08:00
qianlifeng d51916d137
Implement dynamic query icon display for text and file input types
Code enhancements have been made to the Wox launcher controller, wox_api, and various UI views to handle dynamic display of query icons based on input type. This update allows for more intuitive user feedback, with specialized icons for file and text input types. Adjustments have also been made to error handling in the plugin manager for improved stability.
2024-05-08 00:41:58 +08:00
qianlifeng 49923f179d
Move some ui method to router.go 2024-05-07 23:53:24 +08:00
qianlifeng fe7bcd05a6 Add active window tracking to UI manager
In the UI manager, the active window's name is now stored before Wox is activated. Also, the active window name is retrieved within the UI manager and used to update ShowApp and ToggleApp functions. The 'ShortcutFrom' parameter is removed from the NodeJS plugin host.
2024-05-07 16:27:58 +08:00
qianlifeng c322e72b2e [Bot] Update plugin store manifests 2024-05-07 15:48:26 +08:00
qianlifeng 459489d97a Update Wox plugin to include active window context in queries
The Wox plugin and related files were updated to include the context of the active window name within queries. Additionally, "@wox-launcher/wox-plugin" was updated from version 0.0.63 to 0.0.66 and minor change to plugin description in plugin-store.json was made.
2024-05-07 15:41:47 +08:00
qianlifeng 1ec8cc916c Fix arc snapshot issues 2024-05-07 13:18:16 +08:00
qianlifeng 287b366d3c Fix arc icon issues 2024-05-07 13:16:47 +08:00
qianlifeng 421cad0f99 Add arc plugin to plugin store 2024-05-07 13:05:52 +08:00
qianlifeng 551ea53b70
Refactor URL plugin and expand unit tests
The URL plugin has been refactored for simpler and more efficient URL validation, specifically revamping its regular expression (regex) pattern. Additionally, unit tests have been expanded to cover invalid URLs and alternative valid URLs. The refactor also reduces some duplicated and unnecessary code in the plugin's Query function.
2024-05-06 22:26:30 +08:00
qianlifeng 8163f86a55 Improve fallback query speed 2024-05-06 13:51:30 +08:00
AuburnMedia f5bc0b6dc4 update tips syntax 2024-04-30 10:56:18 +08:00
AuburnMedia c7d127cdaa update setting pane syntax 2024-04-30 10:56:18 +08:00
AuburnMedia 694abc30b5 update WoxSettingGeneral.tsx 2024-04-30 10:56:18 +08:00
qianlifeng 1cb7ef16d1 #4008 Fix ui is not showup on windows after start Wox 2024-04-29 00:05:41 +08:00
qianlifeng 9c37a19b97
Fix ui sometimes doesn't showup after start 2024-04-28 23:14:04 +08:00
qianlifeng b6d0d6095c
Fix QueryHotkeys not been initialized error 2024-04-28 22:41:19 +08:00
qianlifeng 5ce387a7d1
Remove single_instance module and refactor existing instance check
The single_instance module has been removed, which included the deletion of multiple related files. The method to check if an instance of the application is already running has been refactored in the main.go file. Additionally, a timeout was added for the "PickFiles" method in ui_impl.go to prevent unnecessary waiting. This leads to cleaner code and potentially faster execution times.
2024-04-28 22:20:52 +08:00
qianlifeng 747a121752 Fix build error on windows 2024-04-28 20:56:33 +08:00
qianlifeng fece4fced4
Refactor file locking mechanism
The file locking mechanism in both Windows and POSIX systems has been modified. This update restructures the way files are opened for writing and locked. Unnecessary file existence checks have been eliminated, and a more proficient use of the defer statement for file closing is included. On a failure, the file will still be properly closed. This should considerably enhance the efficiency and reliability of the lock function.
2024-04-28 20:44:38 +08:00
qianlifeng 896212ec28 Fix build error 2024-04-28 20:24:19 +08:00
qianlifeng a807206168
Implement single instance lock for the server
Added a single instance lock for the server to prevent multiple instances running simultaneously. Updated the sequence of server port assignment and added error catching for port allocation. Introduced a "/show" route to handle existing instances. Enhanced the utility functions with `GetAppLockFilePath` and `HttpPost`.
2024-04-28 20:05:32 +08:00
qianlifeng 4a1358eaeb
Add exception handling for clipboard operations and empty selection check
This commit wraps clipboard operations on Darwin in try-catch blocks to handle potential exceptions gracefully. Additionally, an "IsEmpty" function is introduced in `selection.go`, which checks whether the current selection is empty, ultimately enhancing robustness against empty selections.
2024-04-26 22:32:59 +08:00
qianlifeng a2daff686a Add selection query for llm plugin 2024-04-26 14:32:08 +08:00
qianlifeng 5067de29c9 Refactor chatgpt plugin
Renamed to llm tools plugin, and remove chat function. this change will make Wox focus on llm tools which is the better user case for such kind of launcher tool.
2024-04-26 13:35:52 +08:00
qianlifeng 282cfdcc8c Add Groq as a new chatgpt provider
A new provider, Groq, is introduced to chatgpt, thereby enabling the plugin to connect with this new provider. This addition includes initializing, reading, streaming, reading models, closing the Groq provider, and linking with the Groq API. Modifications were made in the existing code (chatgptModelProviderName, chatgptModelProviderNames in provider.go, GenerateContent in provider_groq.go) to accommodate this.
2024-04-25 13:04:53 +08:00
qianlifeng f09d901c75 Upgrade flutter dependencies 2024-04-25 11:29:18 +08:00
qianlifeng 67dc5f77b5 Add subtitle for chatgpt plugin 2024-04-23 14:07:49 +08:00
qianlifeng 8a6a27dea9 [Bot] Update plugin store manifests 2024-04-23 07:43:29 +08:00
qianlifeng 21119e6523
Add dev plugin support and visual indicators
Implemented developer plugin support, including loading, uninstalling and tagging them in UI. Enabled using a local directory for plugin development, dynamically reloading for changes. Added visual tagging of development plugins in the UI with a warning color. Dev Plugin is also marked with a boolean variable in 'metadata'.
2024-04-22 23:06:09 +08:00