Commit Graph

25117 Commits

Author SHA1 Message Date
Joe Cooper
1e77343482 Don't use temp var for eval result, not idiomatic 2026-05-23 01:04:05 -05:00
Joe Cooper
4b33d8bc3f catch failed dnssec-tools import 2026-05-23 00:59:53 -05:00
Joe Cooper
4bb0cda0b5 Fix missing error check on opendir 2026-05-23 00:49:41 -05:00
Joe Cooper
87536b42a1 Fix date_serial race in test 2026-05-23 00:18:57 -05:00
Joe Cooper
1a7a28f192 Add bind8 tests, perlcritic, minor fixes 2026-05-22 23:54:11 -05:00
Joe Cooper
140e4121b1 Merge pull request #2731 from swelljoe/update-t-readme
Some checks failed
Tests / prove (push) Has been cancelled
webmin.dev: webmin/webmin / build (push) Has been cancelled
Close inactive / close-inactive (push) Has been cancelled
Update t/README.md to cover stringy eval
2026-05-21 23:41:29 -04:00
Joe Cooper
9de7560728 Update t/README.md to cover stringy eval 2026-05-21 22:30:44 -05:00
Ilia Ross
685c07ffbb Fix Bacula restore browsing with Bacula 11+ catalogs #1520 2026-05-22 01:16:39 +02:00
Ilia Ross
cc02cbabb4 Add inactive issue cleanup workflow [no-build]
Some checks failed
Tests / prove (push) Has been cancelled
webmin.dev: webmin/webmin / build (push) Has been cancelled
2026-05-21 13:50:06 +02:00
Jamie Cameron
05d42e4796 Merge pull request #2725 from swelljoe/bogus-bind-restriction
Some checks failed
Tests / prove (push) Has been cancelled
webmin.dev: webmin/webmin / build (push) Has been cancelled
Allow underscore in TXT, CNAME, etc.
2026-05-20 20:47:40 -07:00
Jamie Cameron
5b9dc02948 Merge pull request #2723 from swelljoe/acl-perlcritic-and-fixes
acl perlcritic test and fixes
2026-05-20 20:43:59 -07:00
Joe Cooper
e83202988e Remove misleading backslash in regex 2026-05-20 20:51:26 -05:00
Joe Cooper
91f51f7390 Handle trailing dot, fix length check in mass_rcreate.cgi 2026-05-20 20:21:40 -05:00
Joe Cooper
d87808ca73 Allow underscore in TXT, CNAME, etc. 2026-05-20 19:54:18 -05:00
Jamie Cameron
16c16f4fd4 Merge pull request #2724 from swelljoe/test-web-lib-funcs-strings
Add ip, paths, string tests for web-lib-funcs
2026-05-20 15:50:13 -07:00
Joe Cooper
53c3bef94c Expand test coverage for check_ip6address 2026-05-20 16:36:28 -05:00
Joe Cooper
fc6b66fcc0 Fix spaces to tabs 2026-05-20 16:15:40 -05:00
Joe Cooper
100253bec3 Fix quirks in trunc and split_quoted_string 2026-05-20 15:55:07 -05:00
Joe Cooper
3e38e3268e Fix check_ip6address in miniserv 2026-05-20 14:04:53 -05:00
Joe Cooper
d2ba0d910b Fix check_ip6address in web-lib-funcs 2026-05-20 14:04:37 -05:00
Ilia Ross
cbc9595649 Add relaxed flag support
Some checks failed
Tests / prove (push) Has been cancelled
webmin.dev: webmin/webmin / build (push) Has been cancelled
2026-05-20 13:54:24 +02:00
Ilia Ross
6ed05b5e25 Add UI API to make div element 2026-05-20 13:54:23 +02:00
Joe Cooper
c487b579ed Add ip, paths, string tests for web-lib-funcs 2026-05-20 01:01:01 -05:00
Joe Cooper
522925403d Make strict refs happy 2026-05-19 22:16:43 -05:00
Joe Cooper
844b5f8174 Exclude ProhibitLeadingZeros from perlcritic, use .perlcriticrc 2026-05-19 20:40:29 -05:00
Joe Cooper
308cb0c71d perlcritic test and fixes 2026-05-19 19:53:15 -05:00
Jamie Cameron
93befb0a1a Merge branch 'master' of github.com:webmin/webmin
Some checks failed
Tests / prove (push) Has been cancelled
webmin.dev: webmin/webmin / build (push) Has been cancelled
2026-05-19 16:54:33 -07:00
Jamie Cameron
fc241dd8cd If extra logs were defined in the syslog module in the past but it is deprecated, move them over to the logviewer module
https://github.com/webmin/webmin/issues/2722
2026-05-19 16:53:47 -07:00
Ilia Ross
d26f4fb7f3 Merge pull request #2721 from swelljoe/fix-acl-bugs
Fixes minor bugs in acl surfaced by tests
2026-05-20 00:11:29 +02:00
Joe Cooper
28ba5883ef Make test match code more clearly 2026-05-19 16:59:34 -05:00
Ilia Ross
52d0382619 Fix regression and hide disabled default vhost files 2026-05-19 23:28:24 +02:00
Joe Cooper
1f8030a523 Also escape in clone path 2026-05-19 16:20:23 -05:00
Ilia Ross
d93fd6a4b6 Fix to harden vhost file handling
* Note: Resolve enabled-site link paths through ServerRoot and include disabled vhost file deletions in Apache config-test rollback coverage, with focused regressions.

https://github.com/webmin/webmin/actions/runs/26125036339/job/76836427985
2026-05-19 23:16:09 +02:00
Ilia Ross
a5be2f9d39 Add Debian-style sites-available file management to Apache
* Note: Bring the Apache module to parity with the Nginx module's Debian
sites-available/sites-enabled handling: list disabled vhost files
alongside active ones, toggle their state via symlink with apachectl
configtest rollback, and delete VirtualHost blocks from inactive files.
When Virtualmin manages a vhost, defer enable/disable to Virtualmin's
own forms instead of touching the symlink directly.

https://forum.virtualmin.com/t/enable-disable-toggle-buttons-in-ngnix-module/137238/4?u=ilia
2026-05-19 23:00:18 +02:00
Joe Cooper
8c2541fdc8 s/return undef/return/ 2026-05-19 15:43:45 -05:00
Joe Cooper
ef49236f6a Fixes minor bugs surfaced by tests 2026-05-19 15:13:33 -05:00
Ilia Ross
79adc13008 Fix to respect Virtualmin state for server files
Some checks failed
Tests / prove (push) Has been cancelled
webmin.dev: webmin/webmin / build (push) Has been cancelled
* Note: Use Virtualmin domain state for managed Nginx server files, block direct enable/disable toggles, and link users to the proper Virtualmin enable or disable action.

https://forum.virtualmin.com/t/enable-disable-toggle-buttons-in-ngnix-module/137238/4?u=ilia
2026-05-19 22:11:21 +02:00
Ilia Ross
3c20bd5a4f Merge pull request #2720 from swelljoe/acl-unit-tests
Some checks failed
Tests / prove (push) Has been cancelled
webmin.dev: webmin/webmin / build (push) Has been cancelled
Add some acl unit tests
2026-05-19 11:49:48 +02:00
Joe Cooper
78c9e8f2c5 Add some acl unit tests 2026-05-18 23:24:41 -05:00
Jamie Cameron
b2fec1756d Merge pull request #2716 from swelljoe/miniserv-tests-trois
Some checks failed
Tests / prove (push) Has been cancelled
webmin.dev: webmin/webmin / build (push) Has been cancelled
Even more unit tests for miniserv.pl
2026-05-18 20:30:47 -07:00
Ilia Ross
3e394323c7 Fix to validate manual config symlink targets
https://github.com/webmin/webmin/actions/runs/26066009981/job/76636877949
2026-05-19 01:40:08 +02:00
Ilia Ross
267f05ed73 Add raw config edit ACL and server shortcut
* Note: Gate manual Nginx config editing behind a dedicated ACL and add a per-server quick edit icon for the owning config file.
2026-05-19 01:16:19 +02:00
Ilia Ross
578a41769e Add ability to show pending apply state after config changes 2026-05-18 23:05:25 +02:00
Ilia Ross
1d03afbdd5 Fix lang 2026-05-18 22:17:29 +02:00
Ilia Ross
41b8be4ac7 Fix to drop testing code 2026-05-18 22:16:59 +02:00
Ilia Ross
251fef722d Add site state toggles and proxy-aware server list
https://github.com/webmin/webmin/issues/2688
2026-05-18 22:08:36 +02:00
Ilia Ross
c1ba586dba Merge pull request #2715 from swelljoe/test-all-prs
Some checks failed
Tests / prove (push) Has been cancelled
webmin.dev: webmin/webmin / build (push) Has been cancelled
Test all PRs
2026-05-18 18:33:35 +02:00
Ilia Ross
3c8e1d0089 Merge pull request #2714 from swelljoe/nftables-perlcritic-again
Make perlcritic happy again
2026-05-18 16:59:11 +02:00
Ilia Ross
b6025b2fc2 Fix to revert "Code Review Test: Fix language strings improp"
This reverts commit 42142f7a5f.
2026-05-18 14:53:43 +02:00
Ilia Ross
42142f7a5f Code Review Test: Fix language strings improp 2026-05-18 14:36:03 +02:00