Commit Graph

42 Commits

Author SHA1 Message Date
2dust 14ff9eb527 Optimize and improve PerAppProxyActivity 2025-03-20 14:37:38 +08:00
2dust a60f45ce31 The timeout was changed from 30s to 15s 2025-03-20 12:06:13 +08:00
2dust 0b9a96209f Improved progress bar 2025-03-20 12:00:33 +08:00
2dust 3747e58e4e Adjust dimen resources 2025-03-20 10:24:38 +08:00
2dust 28b1788dc1 Remove the use of androidx.cardview.widget.CardView in the list 2025-03-19 20:21:12 +08:00
2dust 172d9fd093 Migrate SpeedtestUtil to SpeedtestManager 2025-03-19 10:43:00 +08:00
2dust 093716baaa Optimize and improve SettingsManager 2025-03-19 10:38:58 +08:00
2dust b52dd33102 Optimize and improve V2RayServiceManager 2025-03-18 21:00:22 +08:00
2dust 5f3d7c0213 Refactor the start and stop service 2025-03-18 15:05:42 +08:00
2dust e14b48f3eb Code clean 2025-03-18 15:04:25 +08:00
2dust 1972f83b86 Add HttpUtil, refactor the network connection function 2025-03-18 09:55:40 +08:00
2dust d1904d52d9 Bug fix
Exception java.lang.StackOverflowError: stack size 8188KB
2025-03-16 10:24:32 +08:00
hhhkkmk 9743d7b87b update (#4365) 2025-03-04 10:05:52 +08:00
2dust b65e4b3819 Bug fix
https://github.com/2dust/v2rayNG/issues/4329
2025-02-11 10:46:01 +08:00
Hossin Asaadi d166b036fc Update ServerActivity.kt (#4326) 2025-02-11 10:31:22 +08:00
2dust 9e3b92014a logcat content reversed 2025-01-17 13:53:35 +08:00
2dust e55e069fe3 Add bandwidth to hysteria2 settings
https://github.com/2dust/v2rayNG/issues/4261
2025-01-16 14:44:19 +08:00
2dust 2a43b52344 Logcat add pull-down refresh 2025-01-13 14:31:36 +08:00
2dust a4edf86195 Improved logcat 2025-01-13 12:50:35 +08:00
2dust c37f09bfcd Fix logcat 2025-01-07 14:03:26 +08:00
2dust 833a1e06f0 Add VPN bypass LAN option
https://github.com/2dust/v2rayNG/pull/4208
2025-01-01 16:43:48 +08:00
886963226 41bc064083 Optimization logcat after change quickie-foss (#4171)
After changed quickie-foss, scanning cause lot of log. throttle log com.google.zxing.NotFoundException.
2024-12-22 10:21:55 +08:00
2dust 7afffa60c3 Code clean 2024-12-21 17:18:35 +08:00
ᡠᠵᡠᡳ ᡠᠵᡠ ᠮᠠᠨᡩ᠋ᠠᠨ 70f1743114 Switch to gradle-license-plugin (#4160)
* switch to gradle-license-plugin

* generate licenseReleaseReport
2024-12-21 10:40:20 +08:00
2dust 140c236da5 Add DNS hosts (Format: domain:address,…)
https://github.com/2dust/v2rayNG/issues/4147
2024-12-19 20:57:24 +08:00
2dust a0e73a9aa9 Fix typos 2024-12-05 09:25:11 +08:00
2dust 7a1af5914e Shows how many configurations have been test 2024-12-04 17:20:06 +08:00
2dust e61f5eeb76 Shows how many configurations have been export/import/Update 2024-12-04 17:02:52 +08:00
2dust 6d92106f9d Shows how many configurations have been deleted
https://github.com/2dust/v2rayNG/issues/4078
2024-12-04 16:07:43 +08:00
2dust 8b06745e86 Using mixed local listening ports
Remove inbound http
2024-12-03 20:05:58 +08:00
2dust 6fc9803431 Delete splithttp 2024-11-30 19:29:41 +08:00
2dust dca5011eb1 Append HTTP Proxy to VPN setting
https://github.com/2dust/v2rayNG/issues/4017
https://github.com/2dust/v2rayNG/issues/4045
2024-11-28 14:29:06 +08:00
Tamim Hossain 4a62aff7d2 Add OSS Licenses Plugin to Display Open Source Licenses (#4022)
### Commit Message
- Integrated Google OSS Licenses Plugin to display the licenses of third-party libraries used in the app.
- Added the plugin to app-level Gradle file and included the required dependencies.
- Created a pre-built activity (`OssLicensesMenuActivity`) to show the licenses, accessible via a button/menu.
- Verified the implementation, ensuring the licenses are displayed correctly.
- Tested on release builds to confirm functionality and compliance.

This implementation ensures transparency and complies with open-source license requirements.
2024-11-23 20:04:37 +08:00
Chocolate4U 5373579bd5 Import rulesets from qrcode (#3991)
* Renamed functions to be more semantically accurate

* Import rulesets from qrcode

Add capability to import rulesets from qrcode
fixes and improvements
2024-11-20 09:23:08 +08:00
Tamim Hossain 9b4cc201e7 Add preSharedKey support and fix parsing function #3512 (#3989)
Add support for preSharedKey in WireGuard configurations and fix the parsing function to correctly handle all necessary fields.

Previously, the application did not support the optional preSharedKey parameter in WireGuard config files, forcing users to rely on JSON custom configurations. This update introduces a dedicated field for preSharedKey in the UI, aligning with Xray Core's support and simplifying the setup process for users.

Changes include:
- Added `preSharedKey` field in the WireGuard UI configuration.
- Updated `parseWireguardConfFile` function to correctly parse `PrivateKey`, `PublicKey`, and `preSharedKey`.
- Ensured `preSharedKey` is optional and handled gracefully when absent.
- Updated `toOutbound` method to include `preSharedKey` in the outbound configuration.
- Set `remarks` to the current Unix time during parsing.

Tested with the following configuration:
```[Interface]
Address = 192.168.6.66/32
DNS = 1.1.1.1,8.8.8.8
PrivateKey = eD/6cpJQaEeDH05AMeFyN3KSLLX+7YFR+MYRdgPDQ3Y=
[Peer]
publickey=/HS7r3waPuU7tTBLd2FlBhC+VROpJ5bwh5XXxuOoKFs=
AllowedIPs = 0.0.0.0/0, ::/0
Endpoint = sg3.vpnjantit.com:1024
```
Resolves #3512
2024-11-20 09:15:11 +08:00
2dust 6f2c96c2b6 Bug fix
https://github.com/2dust/v2rayNG/issues/3988
2024-11-19 20:38:44 +08:00
2dust 5695c17908 Code optimization 2024-11-19 14:28:58 +08:00
2dust 1ba5c5a7a6 Add xhttp extra 2024-11-19 10:17:03 +08:00
2dust 5d47777307 Add xhttp mode 2024-11-18 20:25:13 +08:00
2dust 41893d79c0 SplitHTTP is now XHTTP 2024-11-18 18:58:15 +08:00
2dust 834c1ba63d Remove quic 2024-11-18 18:39:06 +08:00
Tamim Hossain 18c0143186 Upgrade project to new Android Studio template and migrate Java code to Kotlin (#3937)
### Summary
- Updated the project structure using the latest Android Studio template.
- Migrated portions of the codebase from Java to Kotlin for improved readability and maintainability.

### Details
- Refactored and reorganized files according to the new Android Studio project template to ensure compatibility with the latest project standards.
- Migrated key Java classes to Kotlin, adopting Kotlin idioms and improving type safety.
- Verified that core functionalities remain intact after migration and update.
- Removed redundant Java files and updated imports where necessary.

### Notes
- Further Kotlin migration may be needed as additional Java files are reviewed.
- Test thoroughly to confirm that all functionalities work as expected after these changes.
2024-11-15 13:42:46 +08:00