mirror of
https://github.com/MrTheory/os-xray.git
synced 2026-11-05 00:27:59 +00:00
[PR #16] [MERGED] Исправил несколько багов и добавил возможность дебага отдельных инстанцов через UI #18
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MrTheory/os-xray#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MrTheory/os-xray/pull/16
Author: @HatoKrutix
Created: 5/13/2026
Status: ✅ Merged
Merged: 5/18/2026
Merged by: @MrTheory
Base:
develop← Head:krutix_develop📝 Commits (10+)
81b4b16Fix: Invalid format of return value from xray_configure()a210cf2general.volt is split into several files to make it easier to work with the UId269d29Fix multi instance bugs63f29e6Rewrite UI for multi instance setupf32a24bSave Outbound config separetly and remove wizard mode01a3f10Fix no shown fields on display tab1bd6a98Select instance for diagnosticdf54a7bFix actions argument passingb2b6874Fix: do not start disabled instances on startup15f2945Log tab: per instance logs📊 Changes
23 files changed (+1190 additions, -1226 deletions)
View changed files
📝
Changelog.md(+17 -0)📝
README.md(+3 -1)📝
README.ru.md(+2 -1)📝
install.sh(+49 -56)📝
plugin/etc/inc/plugins.inc.d/xray.inc(+3 -3)📝
plugin/etc/newsyslog.conf.d/xray.conf(+2 -0)📝
plugin/etc/rc.syshook.d/start/50-xray(+17 -23)📝
plugin/mvc/app/controllers/OPNsense/Xray/Api/ImportController.php(+29 -128)📝
plugin/mvc/app/controllers/OPNsense/Xray/Api/InstanceController.php(+17 -4)📝
plugin/mvc/app/controllers/OPNsense/Xray/Api/ServiceController.php(+3 -2)📝
plugin/mvc/app/controllers/OPNsense/Xray/forms/instance.xml(+10 -77)📝
plugin/mvc/app/models/OPNsense/Xray/Instance.xml(+5 -58)📝
plugin/mvc/app/views/OPNsense/Xray/general.volt(+6 -713)➕
plugin/mvc/app/views/OPNsense/Xray/partials/modal_debug.volt(+23 -0)➕
plugin/mvc/app/views/OPNsense/Xray/partials/scripts.volt(+571 -0)➕
plugin/mvc/app/views/OPNsense/Xray/partials/tab_diagnostics.volt(+89 -0)➕
plugin/mvc/app/views/OPNsense/Xray/partials/tab_instances.volt(+113 -0)➕
plugin/mvc/app/views/OPNsense/Xray/partials/tab_logs.volt(+76 -0)📝
plugin/scripts/Xray/xray-ifstats.php(+43 -44)➕
plugin/scripts/Xray/xray-log.php(+18 -0)...and 3 more files
📄 Description
Added
Changed
general.volt: Разбит на несколько файлов, а так же небольшие улучшения интерфейсаInstance.xml: Теперь содержит единое поле outbound_config, а итоговый конфиг генерируется автоматически.Это делает конфиг инстанца не чувствительным к изменению версии xray, новым протоколам, методам обфускации. Мне кажется wizard mode должен быть доступен только через диалоговое окно, а конфигурация инстанца должна содержать чистый outbound json который удобно объединить с остальными параметрами, не засаряя instance.xml полями которые будет сложно поддерживать при добавлении новых протколов
Fixed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.