71 Commits

Author SHA1 Message Date
StarHeart
2a4b9f4e5b
feat: support user agent config per sub (#1712)
* feat: add user agent support in profile configuration

* Introduced a new user agent field in profile settings, allowing users to specify a custom user agent.
* Updated relevant components and localization files to support the new user agent feature.
* Added a new pnpm workspace configuration for built dependencies.

* feat: enhance profile settings with user agent input and toggle functionality

* Added a user agent input field to the advanced profile settings.
* Implemented toggle icons for showing/hiding advanced settings.
* Updated layout to accommodate the new user agent input alongside the existing auth token field.

* chore: remove pnpm workspace configuration for built dependencies
2026-03-29 18:54:56 +08:00
Memory
3270e47a7b
fix: improve Node 16 compatibility for Win7 legacy build 2026-03-27 22:10:46 +08:00
Daniel Bates
5d4c0cbfb9
Fix #1555: Ensure working directory is prepared when adding new subscription
When adding a new subscription that becomes the current profile with
'diffWorkDir' enabled, 'generateProfile()' was not being called to
prepare the profile's working directory before the core was restarted.

This caused the working directory to be empty and missing necessary
database files (geoip, geosite, etc.), leading to proxies appearing
to work (showing green) but actually failing to function properly.

The fix ensures that when a new profile is added and becomes current
with 'diffWorkDir' enabled, 'generateProfile()' is explicitly called
before 'changeCurrentProfile()' to prepare the working directory.

Co-authored-by: Your Name <your-email@example.com>
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2026-03-18 11:12:19 +08:00
Memory
1a52bff8af
fix: disable compression for subscription requests to prevent ZIP response 2026-03-09 22:17:25 +08:00
Memory
842e7f1002
chore: ensure ESLint passes and format code 2026-01-25 15:28:03 +08:00
julong
d3a23a0601
feat: subscription timeout settings & subscription update logic efficiency (#1562)
1. Add updateTimeout property to IProfileItem interface
2. Add dedicated timeout config option for subscriptions
3. Improve subscription update logic efficiency
4. Use subscriptionTimeout as the smart fallback time
5. Localize
profiles.editInfo.updateTimeout and profiles.editInfo.updateTimeoutPlaceholder for en-US/fa-IR/ru-RU/zh-CN/zh-TW
2026-01-23 20:42:45 +08:00
xmk23333
3c148f2c01 fix: prevent profile switch queue from breaking after failed switch 2026-01-19 12:55:21 +08:00
xmk23333
5f5ca0fd27 fix: ensure items array exists in profile and override config 2026-01-15 17:58:27 +08:00
xmk23333
a0bac512dd fix: ensure items array exists in profile and override config 2026-01-15 17:53:13 +08:00
xmk23333
a5d2114363 fix: resolve all eslint errors and warnings 2026-01-08 12:56:08 +08:00
xmk23333
e70ca694b9 fix: resolve eslint errors and enhance code review rules 2026-01-08 12:29:10 +08:00
xmk23333
2c639d5bff fix: resolve race conditions in config writes and profile switching 2026-01-01 11:51:44 +08:00
xmk23333
3097019e9e fix: resolve async/null-safety issues in lifecycle, config and ipc modules 2026-01-01 10:33:01 +08:00
xmk23333
9e5d11c3c8 refactor: replace console.log with createLogger in main process 2026-01-01 10:16:49 +08:00
xmk23333
3d6d545a93 fix: use atomic update in changeCurrentProfile 2025-12-28 20:18:11 +08:00
xmk23333
818b546817 fix: add config write queue and prevent ipc listener accumulation 2025-12-28 19:36:01 +08:00
xmk23333
2467306903 feat: remove hardcoded Chinese strings and improve i18n coverage 2025-12-28 12:34:13 +08:00
xishang0128
54bb819e28
fix format and lint 2025-12-25 15:32:32 +08:00
xmk23333
51d169d2e8 feat: add HTML detection and error handling for profile parsing 2025-12-16 15:36:48 +08:00
xmk23333
55416f32cd feat: Automatically Choose Direct or Proxy during Subscription Import #issue 1450 2025-12-16 13:22:26 +08:00
Memory
94f52cf636
feat: add mrs ruleset preview suppor 2025-12-09 23:33:38 +08:00
Tongyuxiu Zhou
508d7d63c9
fix: handle subscription with failed status code or invalid profile 2025-12-07 13:39:14 +08:00
Memory
f541b5ead1
feat: add authentication token support 2025-12-01 07:56:07 +08:00
Memory
583ece0a64
feat: support disabling autoupdate 2025-11-25 22:21:14 +08:00
ezequielnick
80b59fc9de refactor: migrate external HTTP requests from Node.js to Chromium network stack
(cherry picked from commit ad96c558a3d46c79848e2c9e469673c7e7f68e25)
2025-10-29 19:37:45 +08:00
Memory
f488cc3643
perf: reload config without kernel restart 2025-09-29 23:42:40 +08:00
ezequielnick
4137f91ccb fix: handle core state errors caused by rapid profile switching 2025-09-09 17:00:04 +08:00
Memory
c8d83f45ac
fix: short-id parsing error 2025-09-06 19:27:00 +08:00
Memory
bcecca7ab7
feat: add fetch timeout configuration 2025-09-05 11:57:51 +08:00
Memory
195306f251
fix: deleted subscriptions reappearing
* chore: udpate download link

* fix: deleted subscriptions reappearing

---------

Co-authored-by: ezequielnick <107352853+ezequielnick@users.noreply.github.com>
2025-08-31 12:54:43 +08:00
Memory
e20e46aebe
fix: correct split logic in parseSubinfo (#960) 2025-08-15 20:21:18 +08:00
Memory
73068f6544
fix: prevent scientific notation parsing in YAML (#957) 2025-08-15 13:24:44 +08:00
ezequielnick
866cdb4661 feat: optimize and improve subscription switching 2025-08-04 18:49:13 +08:00
ezequielnick
c54ce3577d feat: change default UA and add version 2025-04-20 21:12:04 +08:00
YsielX
a2faf0fc8f
feat: add a fixed-interval button for profiles updating (#670) 2025-04-14 10:00:30 +08:00
pompurin404
6d1fe87fe2
fix profile path 2024-11-24 21:18:05 +08:00
pompurin404
22c35b606e
support reset application 2024-11-23 12:56:57 +08:00
xishang0128
e2653170c0 Add provider file view/edit 2024-11-20 18:07:54 +08:00
pompurin404
4ce63aec7e
add noCache for sub-store 2024-11-14 17:17:42 +08:00
pompurin404
23e773ded2
specify response type 2024-10-28 21:44:37 +08:00
pompurin404
ad0a5c7932
use copy instead of link 2024-10-12 21:44:31 +08:00
pompurin404
43115d1da4
specify work directory for each profile 2024-10-12 20:06:33 +08:00
pompurin404
23068d2819
support proxy for substore profile 2024-10-09 18:30:08 +08:00
pompurin404
cf56966fbe
merge yaml anchor 2024-10-09 18:29:52 +08:00
pompurin404
d9694d868e
try to fix unknown error 2024-10-09 18:29:51 +08:00
pompurin404
acbc34370a
fix drop file 2024-09-05 14:50:19 +08:00
pompurin404
d2e0db40b3
fix filename parser 2024-08-30 10:44:19 +08:00
pompurin404
1c924bcc89
use context provider 2024-08-29 12:34:01 +08:00
pompurin404
4239498f57
delete last profile 2024-08-28 21:23:53 +08:00
pompurin404
552fa3757d
change ua 2024-08-21 20:23:30 +08:00