Commit graph

11002 commits

Author SHA1 Message Date
Jack Ye
cf1d162f2c
Merge branch 'dev' into administrator_mode 2025-10-12 14:23:02 +08:00
Jack Ye
e6c4cc25e5
Merge pull request #4037 from AWAS666/httpspref
Prefer https over http setting for url
2025-10-12 13:41:29 +08:00
Jack251970
1e3306ef28 Remove unused file 2025-10-12 13:33:20 +08:00
Jack251970
6f17aa21c2 Resolve conflicts 2025-10-12 13:31:24 +08:00
Jack Ye
b8acead444
Merge branch 'dev' into httpspref 2025-10-12 13:24:11 +08:00
Jack Ye
eb261f503b
Merge pull request #3944 from Flow-Launcher/url_open_enhancement
Enhancement: Support Custom Browser Path & Open in window / tab & In private for URL Plugin
2025-10-12 12:22:36 +08:00
Jack Ye
01bbb54054
Merge pull request #4038 from AWAS666/dragdropwebsearch
Enable reordering of websearches with drap and drop
2025-10-11 20:49:17 +08:00
Jack Ye
b297f3d3a3
Fix ArgumentOutOfRangeException in WebSearch Plugin (#4041) 2025-10-11 18:34:05 +11:00
AWAS666
d7dd89d719 change from remove/insert to move 2025-10-10 11:40:06 +02:00
AWAS666
20a865f012 missing nullchecks and casts 2025-10-10 10:06:54 +02:00
AWAS666
87676d2994 fix: error when dragging downwards 2025-10-10 10:06:42 +02:00
AWAS666
001dad9a79 revert manual translation 2025-10-10 10:03:16 +02:00
Jack Ye
a412c7978a
Fix format
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-10 12:23:41 +08:00
AWAS666
b9a43147dc enable reordering with drap and drop on websearches 2025-10-09 12:35:04 +02:00
AWAS666
ae3559ca74 fix: explicit scheme 2025-10-09 10:48:58 +02:00
AWAS666
1a373e1c40 prefer https over http setting 2025-10-09 10:36:42 +02:00
Jack251970
9797ad10a4 Adjust UI 2025-10-05 20:54:32 +08:00
Jack251970
3b0242c457 Adjust UI 2025-10-05 20:53:30 +08:00
Jack251970
7bcde06b4c Fix format 2025-10-05 19:23:37 +08:00
Jack251970
5ee2c3a916 Revert changes 2025-10-05 19:20:56 +08:00
Jack251970
73f0e302fc Remove unnecessary code comments 2025-10-05 19:20:20 +08:00
Jack251970
477bd9e458 Add project build dependency 2025-10-05 19:19:54 +08:00
Jack251970
20b4734321 Fix build issue 2025-10-05 19:13:38 +08:00
Jack Ye
4f77dc9f84
Merge branch 'dev' into administrator_mode 2025-10-05 19:10:48 +08:00
Jack Ye
5ae159de5b
Move to iNKORE.UI.WPF.Modern UI Framework (#3593) 2025-10-05 13:44:40 +03:00
Jack Ye
8c98aedac2
Merge pull request #4025 from Flow-Launcher/hide_window_before_sleep
Save settings before shutdown/restart to prevent data loss
2025-10-04 19:52:26 +08:00
Jack251970
0da575dc16 Fix build issue 2025-10-02 20:18:34 +08:00
Jack251970
3d67ed4ae5 Cleanup NativeMethods.txt 2025-10-02 20:15:57 +08:00
Jack Ye
8eee959e6d
Merge branch 'dev' into administrator_mode 2025-10-02 20:13:34 +08:00
Jack Ye
5b0a30774e
Fix code comment typo
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-02 19:45:08 +08:00
Jack251970
d08ee30a7a Refactor plugin actions to simplify logic
Removed logoff operation logic and associated return statement.
Eliminated return statement after recycle bin error handling.
Removed async plugin data reload and success message logic.
Simplified theme selector query handling by removing `return false`.
These changes streamline the code and improve maintainability.
2025-10-02 19:43:31 +08:00
Jack251970
167570559f Move settings save to post-confirmation for actions
Previously, `Context.API.SaveAppAllSettings()` was called unconditionally before user confirmation for shutdown, restart, and advanced restart actions. This change ensures settings are only saved if the user confirms the action by clicking "Yes" in the confirmation dialog.

For all three functionalities:
- Moved the settings save call inside the `if (result == MessageBoxResult.Yes)` block.
- Retained the existing logic for executing the respective system commands, with checks for `EnableShutdownPrivilege()` to determine whether to use `PInvoke.ExitWindowsEx` or the `shutdown` command.

This change prevents unnecessary settings saves when the user cancels the action.
2025-10-02 19:42:24 +08:00
Jack251970
e376da4482 Save settings before shutdown/restart to prevent data loss
Added a call to `Context.API.SaveAppAllSettings()` before executing system shutdown, restart, or advanced restart operations. This ensures that any unsaved settings are persisted, reducing the risk of data loss during these actions.
2025-10-02 19:29:46 +08:00
Jack Ye
1b7a475631
Merge pull request #4024 from Flow-Launcher/power_enhancement
Use sleep mode listener to fix modern standby sleep mode issue
2025-10-02 19:19:01 +08:00
Jack251970
c27817eaf0 Fix possible null exception 2025-09-30 21:20:00 +08:00
Jack251970
f239866c68 Use sleep mode listener to fix modern standby sleep mode issue 2025-09-30 21:11:03 +08:00
Jack Ye
7f0851bcb1
Merge pull request #4023 from Flow-Launcher/shell_setting_panel_enhancement
Refactor ShellSettings with Binding & Fix IsEnabled logic
2025-09-30 20:50:16 +08:00
Jeremy Wu
652ec40d82
add removal todo comment 2025-09-30 22:28:41 +10:00
Jack251970
d56d85b702 Add lock for sound & Rename variable 2025-09-30 19:41:27 +08:00
Jack251970
9be546d6c7 Fix ShowOnlyMostUsedCMDsNumber default value 2025-09-30 09:50:29 +08:00
Jack Ye
aab213a6b9
Add default value for ShowOnlyMostUsedCMDsNumber
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-30 09:38:18 +08:00
Jack Ye
89505fce30
Remove unnecessary DataContext
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-30 09:37:48 +08:00
Jack251970
d106c5144b Fix IsEnabled logic 2025-09-29 23:12:02 +08:00
Jack251970
175571a130 Refactor ShellSettings with Binding logic 2025-09-29 23:00:32 +08:00
Jack251970
d363cf8137 Add property change for settings class & Add localize support for enum 2025-09-29 10:42:19 +08:00
Jack251970
ec41ec2377 Improve code quality 2025-09-28 12:04:32 +08:00
Jack251970
64e9150f11 Fix build issue 2025-09-28 12:03:49 +08:00
Jack Ye
08bf147559
Merge branch 'dev' into url_open_enhancement 2025-09-28 12:02:24 +08:00
Jack Ye
5b6ea73513
Code cleanup & Use Flow.Launcher.Localization to improve code quality (#4009)
* Use Flow.Launcher.Localization to improve code quality

* Code cleanup

* Improve code quality

* Improve code quality

* Use internal static Context & Improve code quality

* Use Flow.Launcher.Localization to improve code quality

* Code cleanup

* Use Flow.Launcher.Localization to improve code quality

* Improve code quality

* Improve code quality

* Use Flow.Launcher.Localization to improve code quality

* Fix logic issue

* Fix the variable name typo

* Fix redundant boolean cast and ensure consistent default value handling

* Use Flow.Launcher.Localization to improve code quality

* Revert namespace styles

* Fix indent format

* Revert namespace style

* Fix indent format

* Fix namespace style

* Fix indent format

* Fix indent format
2025-09-27 19:18:33 +03:00
Jack Ye
2d00ab1d3e
Merge pull request #4011 from Flow-Launcher/flow_launcher_localization1
Use Flow.Launcher.Localization to improve code quality
2025-09-28 00:04:14 +08:00