176 Commits

Author SHA1 Message Date
gSpot ef15f50b9f Bugfixes. 2026-03-04 16:22:22 +03:00
gSpotx2f ebeb870d82 Merge pull request #157 from toxeh/master
fix: multiple bugs across shell, lua and python modules
2026-03-04 14:55:58 +03:00
gSpot 5b1ba82dd0 Minor fixes. 2026-02-23 22:00:04 +03:00
gSpot 145eb5a6b9 Minor fixes. 2026-02-23 21:29:18 +03:00
gSpot 950d30fdfd Minor fixes. 2026-02-23 20:29:35 +03:00
gSpot 52cc2e314d Update ruablacklist URLs, fixed uninstall.sh (APK). 2026-02-16 18:21:55 +03:00
afanasyev 3c2eef6331 fix: multiple bugs across shell, lua and python modules
Shell (ruantiblock):
- fix broken 'ip' command check — was 'export IP_CMD=ip' followed
  by checking $? (always 0 from export); now uses 'which ip' like
  other utility checks
- fix LOGGER_CMD check — export swallowed which exit code; split
  assignment and export
- fix 'return 1' outside function in main case block — changed to
  'exit 1'
- fix '==' to '=' in test expressions for POSIX sh compliance
  (script uses #!/bin/sh)
- fix typo 'Искоючить' -> 'Исключить' in comment
- remove unused variable _dnsmasq_data_file in AddUserEntries()

Lua (ruab_parser.lua):
- fix global variable leak: 'val' in Config:load_environ_config()
  was not declared local, polluting global scope
- fix global function leak: 'load_file' inside
  Config:load_filter_files() was not declared local
- fix premature return in Summarize.remove_items() — only first
  matching item was deleted from range, rest were skipped

Python (ruab_parser.py):
- fix AttributeError crash in Summarize._group_ip_ranges() —
  raw_list is a dict but .remove() was called (dict method);
  changed to .pop() with default None
2026-02-09 00:28:30 +03:00
gSpot 53bc8167fa Minor fixes. 2026-01-07 22:38:48 +03:00
gSpot 48fdb95abf Standalone parser for user entries. 2025-12-31 03:15:47 +03:00
gSpot 75724ed7c0 Fixed autoinstall. 2025-12-25 03:39:34 +03:00
gSpot f660d8c616 Fixed apk/uninstall.sh 2025-12-25 03:13:02 +03:00
gSpot 0d0a88d26b Autoinstall script for OpenWrt 25.12. 2025-12-25 02:17:32 +03:00
gSpot f61b3c3451 luci-app-ruantiblock: JS fixes. 2025-12-16 20:19:03 +03:00
gSpot d99a9ab770 Added IGNORE_LOCAL_IP option. 2025-11-20 18:32:13 +03:00
gSpot 0d1fd76213 luci-app-ruantiblock: minor JS fixes. 2025-11-14 05:35:25 +03:00
gSpot ec26d291a3 ruantiblock-mod-lua, ruantiblock-mod-py: BLLIST_ORG_EXCLUDED, fqdn-only mode. 2025-11-13 18:14:06 +03:00
gSpot ba2f8ba558 luci-app-ruantiblock: JS fixes. 2025-10-16 23:32:07 +03:00
gSpot 4f68d13026 Blackhole route for VPN configuration.
luci-app-ruantiblock: UI changes for settings.js.
ruantiblock-mod-lua, ruantiblock-mod-py: Added BLLIST_CIDR_EXCLUDED option.
2025-09-15 18:25:20 +03:00
gSpot 493cc103b8 ruantiblock-mod-lua: added lua-idn. luci-app-ruantiblock: updated log. 2025-09-04 18:29:31 +03:00
gSpot 1c27840aca Fixed POST_UPDATE_SCRIPT. 2025-07-25 21:32:01 +03:00
gSpot 212ec22d7a Fixed config scripts. 2025-06-08 15:33:56 +03:00
gSpot f1839c9388 luci-app-ruantiblock: fixed service.js. 2025-04-30 18:35:48 +03:00
gSpot 53dfb1ffeb /etc/init.d/ruantiblock: fixed dnsmasq confdir issue. 2025-04-28 18:15:04 +03:00
gSpot ba8011c8ba Minor improvements. luci-app-ruantiblock: updated log. 2025-04-14 19:05:04 +03:00
gSpot 82fd11b612 /etc/init.d/ruantiblock: fixed gawk issue. 2025-04-09 17:57:56 +03:00
gSpot 9c38a0a531 Minor improvements: optional update scripts (pre_update_script, post_update_script). 2025-03-02 15:24:11 +03:00
gSpot 8c9560f91c Minor fixes. 2025-02-10 16:34:34 +03:00
gSpot 5c3c1c125d Improved dnsmasq confdir check. 2025-02-09 18:35:41 +03:00
gSpot fa5a7fac87 uninstall.sh 2025-02-09 00:32:32 +03:00
gSpot 95c03ea19e luci-app-ruantiblock: fixed service.js. 2025-02-02 16:59:59 +03:00
gSpot dbed0841d9 luci-app-ruantiblock: minor fixes for OpenWrt 24.10, updated log. 2025-02-02 16:46:56 +03:00
gSpot 8eaf8e3fd8 ruantiblock-mod-lua, ruantiblock-mod-py: subdomains optimization. 2025-01-21 23:33:51 +03:00
gSpot 50a1c68afd Updated: blacklist_sources, fqdn_filter. Minor fixes. 2024-12-15 16:39:24 +03:00
gSpot 2227aa2306 Fixed deletion of nft chains. 2024-12-02 15:56:28 +03:00
gSpot 4c0420f044 ruantiblock-mod-py: minor fixes. 2024-12-01 17:30:11 +03:00
gSpot dc2ca41afd Dnsmasq confdir from ubus. 2024-11-26 17:27:10 +03:00
gSpot 82b31872e9 Adding lan subnet to FPROXY_PRIVATE_NETS on startup. Minor fixes. 2024-11-26 15:32:26 +03:00
gSpot e87c5c7086 Updated gr_excluded_sld 2024-11-21 03:33:09 +03:00
gSpot b5e5f20a81 Minor changes 2024-11-20 20:56:38 +03:00
gSpot 9574313c74 autoinstall.sh, minor fixes. 2024-11-14 00:18:04 +03:00
gSpot 9fe31af96c luci-app-ruantiblock: fixed settings.js. 2024-11-10 14:07:15 +03:00
gSpot f59880a647 luci-app-ruantiblock: fixed info.js. 2024-11-09 01:21:52 +03:00
gSpot 037827840c autoinstall.sh 2024-11-09 01:05:10 +03:00
gSpot 557a50dd69 luci-app-ruantiblock: fixed info.js. 2024-11-09 01:04:14 +03:00
gSpot 0cc02a7ddd v2.1. Refactoring, fixes & improvements. 2024-11-06 15:30:03 +03:00
gSpot 06219e9328 v2.0. Multi proxy for user entries. TProxy support. 2024-11-03 02:20:45 +03:00
gSpot 8184a68fe8 v1.6. Refactoring. Some improvements. 2024-09-23 00:52:58 +03:00
gSpot fd2dd3d165 zapret-info URL. 2024-09-06 18:42:50 +03:00
gSpot 1896deeee0 ruantiblock-mod-lua: included iptool.lua. 2024-08-09 23:37:35 +03:00
gSpot 63cd8da0bb Minor fixes. 2024-08-09 00:10:01 +03:00