Compare commits

...

220 Commits
1.997 ... 2.001

Author SHA1 Message Date
Jamie Cameron
d0a04cafc3 update change log 2022-09-18 11:36:26 -07:00
Jamie Cameron
15f9f8f206 Re-read SSL certs on USR1 signal 2022-09-17 17:47:16 -07:00
Jamie Cameron
b45d55ac1b Further caching of SSL contexts 2022-09-17 17:32:28 -07:00
Jamie Cameron
2bc8def078 Use ed25519 key if supported https://github.com/webmin/webmin/issues/1739 2022-09-17 16:40:12 -07:00
Jamie Cameron
339ec2178a Merge branch 'master' of github.com:webmin/webmin 2022-09-17 16:31:37 -07:00
Jamie Cameron
7cb916d64d Clear out contexts hash on reload 2022-09-17 16:31:32 -07:00
Jamie Cameron
0e974b8fcc Merge pull request #1742 from webmin/dev/restart-nginx
Fix to restart Nginx in FCGId mode
2022-09-17 14:11:44 -07:00
Jamie Cameron
c7aa3c1875 Merge pull request #1743 from webmin/dev/consider-musthost-option
Fix to use correct URL name ; consider `musthost` option
2022-09-17 14:11:18 -07:00
iliajie
3747f930b0 Fix wording 2022-09-17 21:53:15 +03:00
iliajie
5e521515d9 Fix to use correct URL name ; consider musthost option 2022-09-17 21:46:57 +03:00
iliajie
f0c976a9c1 Fix to check if domains 2022-09-17 14:34:20 +03:00
Jamie Cameron
8d298821bc Merge branch 'master' of github.com:webmin/webmin 2022-09-17 00:17:42 -07:00
Jamie Cameron
9f1cea1af4 Deal with multipart emails with just one part that's HTML 2022-09-17 00:15:55 -07:00
iliajie
5c71893482 Fix to use is_under_directory 2022-09-16 21:52:37 +03:00
iliajie
003d04f214 Fix to restart Nginx in FCGId mode 2022-09-16 18:45:27 +03:00
iliajie
9d0ceb6e00 Update translations 2022-09-15 22:50:24 +03:00
Jamie Cameron
f3e1f347a5 Disallow trailing / in home dir https://github.com/webmin/webmin/issues/1740 2022-09-14 23:22:41 -07:00
iliajie
26138b82f5 Enforce SSL with HSTS header (optional) 2022-09-13 01:09:53 +03:00
iliajie
db3ade87cc Always unset HSTS when sending headers in non SSL mode
(most probably useless)
2022-09-13 00:05:50 +03:00
iliajie
8fd9b20139 Never add includeSubDomains 2022-09-13 00:04:37 +03:00
iliajie
3893e7a81f Fix redirects work when chaning modes (http vs https) 2022-09-13 00:01:32 +03:00
iliajie
c12cf25ecd Tell browser to unset HSTS policy to make non-SSL URL work 2022-09-12 14:52:03 +03:00
Jamie Cameron
6bd63a8a14 Call Virtualmin API for updating DNS records, so that lets encrypt works with cloudflare 2022-09-11 13:00:59 -07:00
Jamie Cameron
951ca59f52 Merge branch 'master' of github.com:webmin/webmin 2022-09-10 22:13:48 -07:00
Jamie Cameron
310b639015 Factor out SSL cert setup function 2022-09-10 20:35:14 -07:00
iliajie
9e89b7bc2e Fix error message styling 2022-09-07 01:03:03 +03:00
iliajie
d49eaccb60 Add support for cloning log rotate job 2022-09-06 14:59:12 +03:00
Jamie Cameron
0e23892ca5 Merge branch 'master' of github.com:webmin/webmin 2022-09-04 16:35:45 -07:00
Jamie Cameron
2d5175d160 Ignore empty auto lines https://forum.virtualmin.com/t/ipv6-allocation-problem-on-debian-11/116723/7 2022-09-04 16:34:02 -07:00
iliajie
52a83dd01d Update CHANGELOG.md 2022-08-31 21:50:31 +03:00
iliajie
8426c3b035 Fix missing origins and actions for more complex direct rules 2022-08-31 21:37:26 +03:00
iliajie
06483d9429 Fix bottom margin 2022-08-31 19:05:10 +03:00
iliajie
095d114425 Fix to add more space after the form 2022-08-31 15:50:43 +03:00
iliajie
9193423d3d Fix to remove ancient code
194c7b9b31 (r82659311)
2022-08-31 15:50:24 +03:00
iliajie
a3ec6756ea Fix to simplify the syntax
f6c8528412 (r82621322)
2022-08-30 21:15:57 +03:00
iliajie
f6c8528412 Add ability for compare_version_numbers API use friendlier syntax 2022-08-30 20:58:07 +03:00
Jamie Cameron
55c73f166d Merge pull request #1727 from unknown10777/master
Added translation in Webmin log
2022-08-27 11:50:04 -07:00
iliajie
ed4cea5323 Fix print error sub 2022-08-27 18:58:58 +03:00
iliajie
6d867abcea Fix typo 2022-08-27 18:45:00 +03:00
unknown10777
96d92ef3ff Update zh 2022-08-27 14:29:30 +08:00
unknown10777
11fbe3fd54 add translation 2022-08-27 14:11:16 +08:00
unknown10777
8664fbd78c added translation 2022-08-27 14:06:42 +08:00
Jamie Cameron
4effbdd722 Tag twofactor field 2022-08-23 19:48:57 -07:00
Jamie Cameron
9908785276 Merge pull request #1723 from TotalCaesar659/patch-1
Update URLs to HTTPS
2022-08-23 10:42:20 -07:00
TotalCaesar659
0cdae69937 Update URLs to HTTPS 2022-08-23 18:45:20 +03:00
iliajie
62678a42df Add theme update to changelog 2022-08-22 14:20:18 +03:00
iliajie
fa1c20fcf5 Update CHANGELOG.md (2.000) 2022-08-22 14:04:36 +03:00
Jamie Cameron
7a644042bd Support compressed help files 2022-08-21 20:28:17 -07:00
Jamie Cameron
61ae4fe1c2 Merge branch 'master' of github.com:webmin/webmin 2022-08-21 10:44:40 -07:00
Jamie Cameron
e3423aeeaa Autofill field for new group 2022-08-21 10:44:28 -07:00
Jamie Cameron
859c048d46 Merge pull request #1721 from webmin/dev/force-no-port-with-custom-host
Fix to allow no port with custom redirect host
2022-08-21 10:43:14 -07:00
iliajie
de0d57a13d Fix to allow no port with custom redirect host 2022-08-21 14:49:05 +03:00
Jamie Cameron
a20398e61d New major version bump 2022-08-19 22:07:37 -07:00
iliajie
170c294df7 Fix to use API to stop/start fail2ban service 2022-08-19 17:23:36 +03:00
iliajie
a94ddd2f65 Fix to restart dependent services with firewalld
https://forum.virtualmin.com/t/virtualmin-fail2ban-firewalld-ubuntu-20-04-not-working-already-banned-until-restart/116565/4?u=ilia
2022-08-19 17:19:01 +03:00
iliajie
0964bd8e2f Fix to support force restart for fail2ban 2022-08-19 17:00:38 +03:00
iliajie
1e46b26592 Fix to make sure that fail2ban service will be restarted either way 2022-08-19 16:51:02 +03:00
Jamie Cameron
2d05826bec Merge branch 'master' of github.com:webmin/webmin 2022-08-18 19:49:56 -07:00
Jamie Cameron
640a30736f If a tar.gz release file exists, use it 2022-08-18 19:49:27 -07:00
iliajie
e9dad7ea60 Fix referer dot placement for other languages 2022-08-18 21:22:37 +03:00
Jamie Cameron
c37d2ea1c9 Merge pull request #1719 from webmin/dev/force-hsts
Fix to always force HSTS in SSL
2022-08-18 09:44:19 -07:00
iliajie
29b588d292 Fix referer fix dot placement 2022-08-18 14:48:00 +03:00
iliajie
824043f3f1 Fix to use env instead of miniserv.conf
https://github.com/webmin/webmin/pull/1719#discussion_r948563298
2022-08-18 14:19:37 +03:00
iliajie
01a0bd964c Fix webmin --versions command consider release versions 2022-08-17 18:08:39 +03:00
iliajie
8bdc701994 Fix to always force HSTS in SSL 2022-08-17 16:57:01 +03:00
Jamie Cameron
ce5555d58d Remove option to do an HTTP redirect, as it's better done in JS 2022-08-17 00:10:20 -07:00
Jamie Cameron
4046923ec8 Drop hide_admin_url config option, as it's being obsoleted by JS-based redirects 2022-08-17 00:05:44 -07:00
Jamie Cameron
76e2b5afdf Package file should contain full version 2022-08-16 20:59:47 -07:00
iliajie
53421ee99f Add Linux Mint support 2022-08-16 23:35:32 +03:00
iliajie
e5c35a40c4 Export new get_webmin_full_version sub 2022-08-16 23:33:31 +03:00
iliajie
3c62c5afe8 Fix to preserve for Usermin (do not start if was stopped) [deb] 2022-08-16 16:31:27 +03:00
iliajie
a8ebd50f91 Fix to change links from absolute to relative
https://forum.virtualmin.com/t/cloudmin-link-install-occurs-on-primary-instead-of-linked-guest/116507
2022-08-15 23:02:17 +03:00
iliajie
decd74b715 Fix to always show release notice
c592ce1ef9 (commitcomment-81120791)
2022-08-15 15:25:20 +03:00
Jamie Cameron
f24857414c Merge branch 'master' of github.com:webmin/webmin 2022-08-13 15:25:55 -07:00
Jamie Cameron
d7951c8faf Simplify code for checking for a new version 2022-08-13 15:25:49 -07:00
iliajie
befca9dc6b Revert "Merge branch 'master' of github.com:webmin/webmin"
This reverts commit 81d7399 in favor of an upcoming PR
2022-08-14 00:41:59 +03:00
Jamie Cameron
1f976001fc Improve check for the release when upgrading 2022-08-13 14:40:09 -07:00
Jamie Cameron
81d7399bdd Merge branch 'master' of github.com:webmin/webmin 2022-08-13 14:15:41 -07:00
Jamie Cameron
d29a516f15 Add a convenience function to return the full version and release 2022-08-13 14:13:32 -07:00
iliajie
dea053cde2 Fix to redirect without message or show it if JavaScript is disabled 2022-08-13 21:48:30 +03:00
Jamie Cameron
95088a2bef Refactor the way bootscript is override to reduce duplication 2022-08-13 11:40:31 -07:00
Jamie Cameron
0fe3479fb0 Merge pull request #1715 from webmin/dev/multi-installs-with-systemd
Add support to install multiple versions of Webmin with `systemd`
2022-08-13 11:37:10 -07:00
iliajie
cf5568ea1d Add support for AMD CPU thermisters #1714 2022-08-13 20:45:54 +03:00
Jamie Cameron
c84c755dd7 Merge branch 'master' of github.com:webmin/webmin 2022-08-13 09:34:10 -07:00
Jamie Cameron
6bb89a84fc Redirect to https with Javascript 2022-08-13 09:34:03 -07:00
iliajie
3f0473409c Fix to create parent directories without chdir 2022-08-13 18:50:13 +03:00
iliajie
82937d7296 Fix to create parent folders without chdir 2022-08-13 18:44:48 +03:00
iliajie
8194ccf16e Fix no cheating when generating a logout link 2022-08-13 18:26:30 +03:00
iliajie
baadd9c994 Fix not store redundant bootscript record in miniserv.conf file 2022-08-13 12:57:04 +03:00
iliajie
7a5b094645 Don't call mkdir another time as mkdir -p seems to be cross-platform 2022-08-13 12:54:13 +03:00
iliajie
cea40d99e0 Fix a comment for write_file sub 2022-08-12 21:19:58 +03:00
Jamie Cameron
78b7ad19ed Also die if open fails 2022-08-12 10:53:18 -07:00
Jamie Cameron
5dfb016abf Preserve order when copying configs 2022-08-12 10:41:40 -07:00
Jamie Cameron
bec48a954a Fix indentation 2022-08-12 09:51:12 -07:00
Jamie Cameron
87d7d803e3 Use formal params 2022-08-12 09:29:17 -07:00
iliajie
ca692f1374 Add make_dir_recursive API using Perl only 2022-08-12 13:03:20 +03:00
iliajie
dcdf0c59ae Create given config and log directory recursively for setup.pl
.. apply permissions only if a new directory was created
2022-08-12 13:01:25 +03:00
iliajie
65b1d881d8 Create given config and log directory recursively for setup.sh 2022-08-12 13:00:42 +03:00
iliajie
b1fd91034f Fix to consider config directory upon upgrades 2022-08-12 12:55:56 +03:00
iliajie
a3d07a6763 Add Usermin display release version 2022-08-11 22:51:06 +03:00
iliajie
ea03e5a338 Fix to consider var directory and bootscript upon upgrades 2022-08-11 22:40:35 +03:00
iliajie
000a44b45a Fix to remove obsolete text label 4ab0d97cd0 2022-08-11 19:32:04 +03:00
iliajie
4ab0d97cd0 Fix to simplify release version output 2022-08-11 19:30:16 +03:00
iliajie
6a5b605024 Remove redundant quotes 2022-08-11 19:07:13 +03:00
iliajie
310c0a2a14 Fix BIND restart commands 2022-08-11 18:57:06 +03:00
iliajie
3660bdfcf5 Add support to install multiple versions of Webmin with systemd 2022-08-11 16:23:29 +03:00
iliajie
2bf5b0d876 Fix saving release version for Debian package 2022-08-11 15:32:01 +03:00
iliajie
e585f3edf0 Add further fixes to BIND configs 2022-08-10 22:05:02 +03:00
iliajie
cca5925876 Fix to bump a version that potentially uses auto_chroot ; drop later 2022-08-10 19:07:19 +03:00
iliajie
57ea4df6bc Fix to make sure BIND configs won't be incorrectly merged
https://forum.virtualmin.com/t/bind-dns-server-uninstalled-chroot-issue-on-1-999-x-update/116410/
2022-08-10 19:04:18 +03:00
Jamie Cameron
ed8586ffb3 Diff isn't always going to be -1 for an older version 2022-08-10 06:43:15 -07:00
Jamie Cameron
59db9b9a18 Merge branch 'master' of github.com:webmin/webmin 2022-08-10 06:41:38 -07:00
Jamie Cameron
6cb2cc0d58 Always include release file in RPM and Debian packages 2022-08-10 06:35:17 -07:00
iliajie
222f2cba58 Fix warnings word breaks 2022-08-10 15:47:40 +03:00
iliajie
3dfc71d8c1 Fix release version upgrades for deb and rpm 2022-08-10 15:13:39 +03:00
iliajie
56d09a1ab3 Fix to drop un-used variable definition 2022-08-09 14:17:28 +03:00
iliajie
c592ce1ef9 Fix not to show release notes on minor release
https://sourceforge.net/p/webadmin/discussion/600155/thread/67e368e4a0
2022-08-09 13:59:54 +03:00
Jamie Cameron
10961095dc Show the release as well, if there is one 2022-08-08 14:15:55 -07:00
Jamie Cameron
6fc78a2104 Make version check take the release into account 2022-08-08 14:08:38 -07:00
Jamie Cameron
351850dec1 Merge pull request #1712 from webmin/dev/setup-better-postclean
Add a better way to run conditional command
2022-08-07 11:44:26 -07:00
iliajie
dee5f98f18 Fix weirdness with using -1 2022-08-07 21:10:56 +03:00
Jamie Cameron
dca68489bd Redirect to /dev/null has to be inside the backquotes 2022-08-07 11:03:30 -07:00
iliajie
986d05a205 Fix to test from already defined variable 2022-08-07 15:21:02 +03:00
iliajie
3309198c11 Add a better way to run conditional command
162de2bda0
2022-08-07 15:18:35 +03:00
Jamie Cameron
4b74eddc3c Merge pull request #1711 from webmin/dev/transfer-non-to-systemd
Fix to properly transition from `non-systemd` to `systemd` instance
2022-08-06 14:38:16 -07:00
iliajie
162de2bda0 What if the professor was actually right? 2022-08-06 13:59:18 +03:00
iliajie
7877d5d9e3 Fix to run in killmode only ; reset file when done 2022-08-05 23:47:24 +03:00
iliajie
bb4305e79b Fix version to 1.994 2022-08-05 22:15:47 +03:00
iliajie
93ca7a0191 Use -HUP here too 2022-08-05 21:52:04 +03:00
iliajie
6db4dd416c Revert testing 1.994 states 2022-08-05 21:50:48 +03:00
iliajie
f0f680d76f Fix to work-around if Webmin 1.994 is running outside of systemd 2022-08-05 21:25:26 +03:00
iliajie
18c12abef5 Fix to properly transition from non-systemd to systemd instance 2022-08-05 17:35:15 +03:00
Jamie Cameron
2238995092 New version bump 2022-08-04 02:23:26 -07:00
iliajie
f7397080bc Merge remote-tracking branch 'origin/master' 2022-08-03 17:17:59 +03:00
iliajie
debf1673d9 Update CHANGELOG.md 2022-08-03 17:17:45 +03:00
Jamie Cameron
9fbf8de8db Merge pull request #1710 from webmin/dev/fix-get-slaves-ipv6
Fix get slave IPv6 address
2022-08-02 15:52:05 -07:00
Jamie Cameron
522d2e0d1b Merge pull request #1709 from webmin/dev/fix-miniserv-message-on-reloads
Fix `miniserv` message sent on reloads
2022-08-02 15:33:47 -07:00
iliajie
382ba23135 Fix to use a new set svg icons for servers 2022-08-03 01:19:51 +03:00
iliajie
6fc9dbe9c6 Update CHANGELOG.md 2022-08-03 00:49:01 +03:00
iliajie
b22b3ac2db Fix Oracle Linux support 2022-08-02 23:56:38 +03:00
iliajie
6ce312f734 Fix get slave IPv6 address 2022-08-02 13:51:15 +03:00
iliajie
7265005c53 Fix miniserv message sent on reloads 2022-08-02 13:34:12 +03:00
Jamie Cameron
d43fc5fa32 Allow IPv6 addresses for slaves https://forum.virtualmin.com/t/i-need-some-information/116013/37 2022-08-02 03:26:00 -07:00
Jamie Cameron
effc1ec35f Link to release notes without release version, because we only use the release for re-packaging 2022-08-02 02:48:50 -07:00
iliajie
1b932d8706 Fix Webmin release note message 2022-08-02 00:01:58 +03:00
Jamie Cameron
5c6f6d488d Show link to release notes https://github.com/webmin/webmin/issues/1707 2022-08-01 13:45:31 -07:00
iliajie
fc4f6af8e4 Fix Ubuntu release notes links 2022-08-01 23:13:26 +03:00
iliajie
739184c178 Fix version parsing to avoid warnings
(`Argument "22.04.1" isn't numeric in int`)
2022-08-01 22:17:07 +03:00
iliajie
bbc2db2d13 Fix numeric comparisons https://github.com/webmin/authentic-theme/issues/1612 2022-08-01 21:59:29 +03:00
Jamie Cameron
5c2e599cb8 Merge pull request #1708 from webmin/dev/useradmin-stricter-home-dir-perms
Fix home directory stricter default permissions
2022-08-01 11:13:06 -07:00
iliajie
58cbbc776a Fix home directory stricter default permissions 2022-08-01 21:12:03 +03:00
Jamie Cameron
16cb136a8e Merge pull request #1702 from webmin/dev/fix-time-module
Fix to hide time selection for Linux systems
2022-08-01 11:01:48 -07:00
iliajie
e6ec53f8e8 Keys don't need a return anymore 2022-08-01 20:13:51 +03:00
iliajie
b82dccd101 Fix to reserve hidden config option in a right (simpler) way 2022-08-01 20:12:32 +03:00
iliajie
ca61aa9ce5 Merge remote-tracking branch 'origin/master' 2022-08-01 19:35:43 +03:00
Jamie Cameron
143052b3a7 Merge branch 'master' of github.com:webmin/webmin 2022-08-01 09:16:40 -07:00
iliajie
25c27ce6c0 Update icons (use vector) for Servers Index module 2022-08-01 18:35:17 +03:00
iliajie
713272e726 Fix to support SVG icons for servers 2022-08-01 18:11:56 +03:00
iliajie
2f0981a7d4 Fix to use config_pre_load either way 2022-08-01 16:19:09 +03:00
iliajie
5723410156 Fix not to use config_preserve sub 2022-08-01 16:15:17 +03:00
iliajie
3c96c396f2 Fix to send HUP signal on reload instead 2022-08-01 14:55:45 +03:00
iliajie
bab5b7bc9f Fix to display fail2ban.local even if empty #1661 2022-08-01 00:18:45 +03:00
iliajie
d1d958bd6e Update list of dependencies 2022-07-31 22:05:42 +03:00
Jamie Cameron
f87a247327 Interface filenames can have a dash in them https://github.com/webmin/webmin/issues/1705 2022-07-31 09:46:02 -07:00
iliajie
626c625571 OpenSSH deprecated UsePrivilegeSeparation staring 7.5 (years ago)
... making it mandatory - https://www.openssh.com/txt/release-7.5
2022-07-30 13:30:27 +03:00
iliajie
5b359e9043 Fix not to display edit manually button if forbidden 2022-07-30 04:02:31 +03:00
iliajie
32507142ae Fix not to print edit manually icon if forbidden 2022-07-30 03:51:11 +03:00
iliajie
dcf97d83af Fix to preserve only if option is found in old config 2022-07-30 01:22:45 +03:00
iliajie
1bb7128ef2 Fix to use a new API to preserve existing config options (when hidden) 2022-07-30 01:03:22 +03:00
iliajie
e620256af4 Fix to revert change for testing config order 2022-07-30 01:02:15 +03:00
iliajie
de3b01d083 Add to preserve hidden config options 2022-07-30 01:00:59 +03:00
iliajie
42020b6598 Fix to hide time selection for Linux systems 2022-07-29 23:54:40 +03:00
iliajie
3de1f1ba2f Update CHANGELOG.md 2022-07-27 02:55:35 +03:00
iliajie
efa37b1c87 Update CHANGELOG.md (1.998) 2022-07-27 02:24:04 +03:00
iliajie
8f65e8f47a Fix default stop command for systemd units 2022-07-26 17:47:43 +03:00
Jamie Cameron
e4368046c8 New version bump 2022-07-24 14:01:52 -07:00
Jamie Cameron
76ce2c603f Merge branch 'master' of github.com:webmin/webmin 2022-07-24 13:10:43 -07:00
Jamie Cameron
b1e11d360d Fix version detection to deal with numbers like 3.14 https://forum.virtualmin.com/t/modsec-audit-log-impervious-to-log-file-rotation-settings/116142/4 2022-07-24 13:10:15 -07:00
Jamie Cameron
0d4ec2698f Merge pull request #1697 from webmin/dev/fdisk-improvements
Add `fdisk` GPT improvements
2022-07-24 13:04:42 -07:00
iliajie
5ea16f73b0 Handle the case when mode is set to fdisk and parted installed 2022-07-23 15:43:58 +03:00
iliajie
7aa4b6add0 Fix not to print redundant if warning already printed 2022-07-23 15:14:01 +03:00
iliajie
c984f3b57f Fix to display GPT with fdisk but don't edit 2022-07-23 15:04:31 +03:00
iliajie
ae05b815b2 Fix to display extent graphs in percents to fill nicely 2022-07-23 14:22:20 +03:00
iliajie
06cc942706 Add fdisk GPT improvements 2022-07-23 02:28:35 +03:00
Jamie Cameron
a10f4973c2 Merge branch 'master' of github.com:webmin/webmin 2022-07-22 12:09:20 -07:00
Jamie Cameron
8f84f1ebd4 Better handle out of order lines https://forum.virtualmin.com/t/perl-execution-error-when-trying-to-edit-an-lvm-through-webmin/116129 2022-07-22 12:06:34 -07:00
iliajie
d416eace1b Fix PHPINI Ubuntu module config (where did the tabs go?) 2022-07-22 18:35:47 +03:00
iliajie
9b658f07bc Fix SSH configs 2022-07-22 18:01:09 +03:00
iliajie
81f763d241 Fix Postfix configs 2022-07-22 15:20:50 +03:00
iliajie
a7dac2e806 Fix new line 2022-07-22 14:59:20 +03:00
Jamie Cameron
ec7d0465d1 Merge branch 'master' of github.com:webmin/webmin 2022-07-21 14:27:06 -07:00
Jamie Cameron
a4235588f4 Add support for unix extensions option https://github.com/webmin/webmin/issues/1695 2022-07-21 14:06:11 -07:00
iliajie
06d2e37273 Update CHANGELOG.md (upcoming 1.998) 2022-07-21 14:32:07 +03:00
Jamie Cameron
2f95f2ac38 Merge pull request #1694 from webmin/dev/apache-list-hosts-in-table
Fix to display hosts in table in Apache module
2022-07-20 13:35:09 -07:00
iliajie
3ca1caf561 Fix to display hosts in table in Apache module 2022-07-20 21:56:34 +03:00
iliajie
7096c0f998 Fix to resolve conflict for #1662 PR 2022-07-20 20:25:10 +03:00
iliajie
0002827690 Fix not to disable warnings for Gray Theme 2022-07-20 20:21:29 +03:00
Jamie Cameron
49cf952932 Merge pull request #1691 from webmin/dev/improve-module-configs
Fix more modules config files
2022-07-20 09:48:09 -07:00
iliajie
058cd60f4d Fix not to change show_list in this PR 2022-07-20 19:33:28 +03:00
Jamie Cameron
eb36da5e42 Merge pull request #1693 from webmin/dev/phpini-configs-master
Add improvements for searching and naming PHP configs (from master)
2022-07-20 09:26:21 -07:00
iliajie
d2480702a1 Add improvements for searching and naming PHP configs (from master) 2022-07-20 17:43:30 +03:00
iliajie
d75edf5e75 Add CentOS Stream Linux support 2022-07-20 14:44:33 +03:00
iliajie
a2110c579d Fix to take away show_list from this PR 2022-07-20 12:43:54 +03:00
iliajie
af868656ea Fix more modules config files 2022-07-20 03:39:23 +03:00
Jamie Cameron
ed5291bf40 Merge branch 'master' of github.com:webmin/webmin 2022-07-18 09:30:03 -07:00
Jamie Cameron
36f1e4aef3 Use cron default path https://sourceforge.net/p/webadmin/bugs/5571/ 2022-07-18 09:29:15 -07:00
Jamie Cameron
c1ad870830 Merge pull request #1690 from webmin/dev/bind-configs
Fix BIND configs for modern distros
2022-07-17 14:52:57 -07:00
iliajie
7f0d7fe741 Add missing dnssec_period option 2022-07-17 22:31:49 +03:00
iliajie
98b8b7e9c6 Fix not to touch dnssectools in this PR 2022-07-17 22:29:15 +03:00
iliajie
fa4b624187 Remove for Usermin only, as Webmin runs uninstalls 2022-07-17 21:10:47 +03:00
iliajie
af58e37bea Fix to run uninstalls conditionally 2022-07-17 21:02:18 +03:00
iliajie
6e00a54538 Merge remote-tracking branch 'origin/master' 2022-07-17 18:55:30 +03:00
iliajie
e0a5c4e507 Clear manifest files too 2022-07-17 15:51:28 +03:00
Jamie Cameron
8d78254db7 Don't bother with a test mount, as we don't know all the mount options https://github.com/webmin/webmin/issues/1688 2022-07-16 21:31:12 -07:00
Jamie Cameron
c2de5f067f Merge branch 'master' of github.com:webmin/webmin 2022-07-16 16:54:51 -07:00
Jamie Cameron
1b655f3646 Correct AlmaLinux name 2022-07-16 16:54:44 -07:00
iliajie
32798e18a4 Fix error message paddings 2022-07-17 01:00:27 +03:00
iliajie
c996a14450 Fix BIND configs for modern distros 2022-07-17 00:49:31 +03:00
Jamie Cameron
226620c7c4 Merge branch 'master' of github.com:webmin/webmin 2022-07-13 22:58:40 -07:00
Jamie Cameron
13aa152b18 Fix eval test https://github.com/webmin/webmin/issues/1685 2022-07-13 22:58:23 -07:00
728 changed files with 5011 additions and 1058 deletions

View File

@@ -1,5 +1,44 @@
## Changelog
#### 2.001 (September, 2022)
* Fix missing origins and action for direct rules in FirewallD module
* Removed the need for a full restart when updating SSH keys
* Improved the Javascript for redirects to HTTPS
#### 2.000 (August 21, 2022)
* Add to enforce HTTP Strict Transport Security (HSTS) policy in SSL enabled mode
* Add better `http` to `https` redirects when SSL is enabled
* Add support for installing multiple versions of Webmin on `systemd` systems
* Add support for AMD CPU thermisters #1714
* Add better support for Webmin minor (release) versions upgrades
* Add Webmin and Usermin configuration modules display minor (release) version
* Add Mint Linux support
* Add latest Authentic 20.00 [theme update](https://github.com/webmin/authentic-theme/releases/tag/20.00) with number of bug fixes
* Fix to also restart dependent services (i.e. `fail2ban`) upon `firewalld` restart
* Fix to preserve service state for Webmin and Usermin upon package upgrades (i.e. don't start stopped)
* Fix Bind module config incorrectly updated upon Webmin upgrades on CentOS 7
#### 1.999 (August 4, 2022)
* Fix to allow IPv6 addresses for slaves in BIND module
* Fix to send `HUP` signal on reload with `systemd`
* Fix icons in Servers Index module for newer distros (Alma and Rocky)
* Fix to remove depricated option `UsePrivilegeSeparation` with OpenSSH 7.5+
* Fix Oracle Linux support
* Fix Ubuntu release notes links
* Add Webmin release note message
* Add latest Authentic [theme update](https://github.com/webmin/authentic-theme/releases/tag/19.99) with number of bug fixes
#### 1.998 (July 25, 2022)
* Fix Apache, BIND, MySQL, ProFTPd and other modules configs on newest distros for new installs
* Fix to use Cron default path when run from UI
* Fix post uninstall cleanups
* Fix version detection bug for Log File Rotation module
* Add improvements to Partitions on Local Disks module
* Add better support for CentOS Stream Linux for new installs
* Add improvements for searching and naming global PHP configs files
* Add support for unix extensions option for Samba module https://github.com/webmin/webmin/issues/1695
* Add latest Authentic [theme update](https://github.com/webmin/authentic-theme/releases/tag/19.98) with various bug fixes and small improvements
#### 1.997 (July 12, 2022)
* Add support for mirror and RAID volumes in LVM module
* Add latest Authentic [theme update](https://github.com/webmin/authentic-theme/releases/tag/19.97) with nice new features in File Manager and other fixes

View File

@@ -1,7 +1,7 @@
## Contents
* [Changelog](https://github.com/webmin/webmin/blob/master/CHANGELOG.md)
* [About](#about)
* [Installation](#installation)[<img src="https://github.com/webmin-devel/webmin/blob/master/media/download-23x14-stable.png?raw=true" title="Stable Versions">](http://webmin.com/download.html)[<img src="https://github.com/webmin-devel/webmin/blob/master/media/download-23x14-devel.png?raw=true" title="Development Versions">](http://webmin.com/devel.html)
* [Installation](#installation)[<img src="https://github.com/webmin-devel/webmin/blob/master/media/download-23x14-stable.png?raw=true" title="Stable Versions">](https://webmin.com/download.html)[<img src="https://github.com/webmin-devel/webmin/blob/master/media/download-23x14-devel.png?raw=true" title="Development Versions">](https://webmin.com/devel.html)
* [Documentation](#documentation)
* [Development](#development)
* [License](#license)
@@ -28,11 +28,11 @@ Perl 5.10 or higher.
## Installation
Webmin can be installed in two different ways:
1. By downloading a pre-built package, available for different distributions (CentOS, Fedora, SuSE, Mandriva, Debian, Ubuntu, Solaris and [other](http://www.webmin.com/support.html)) under [latest release assets](https://github.com/webmin/webmin/releases/latest) or from our [download page](http://webmin.com/download.html);
1. By downloading a pre-built package, available for different distributions (CentOS, Fedora, SuSE, Mandriva, Debian, Ubuntu, Solaris and [other](https://www.webmin.com/support.html)) under [latest release assets](https://github.com/webmin/webmin/releases/latest) or from our [download page](https://webmin.com/download.html);
<kbd>Note: It is highly recommended to [add repository](https://doxfer.webmin.com/Webmin/Installation) to your system for having automatic updates.</kbd>
2. By downloading, extracting [source file](https://prdownloads.sourceforge.net/webadmin/webmin-1.997.tar.gz), and running [_setup.sh_](http://www.webmin.com/tgz.html) script, with no arguments, which will setup to run it directly from this directory, or with a command-line argument, such as targeted directory.
<kbd>Note: If you are installing Webmin [on Windows](http://www.webmin.com/windows.html) system, you must run the command `perl setup.pl` instead. The Windows version depends on several programs, and modules that may not be part of the standard distribution. You will need _process.exe_ command, _sc.exe_ command, and _Win32::Daemon_ Perl module.</kbd>
2. By downloading, extracting [source file](https://prdownloads.sourceforge.net/webadmin/webmin-2.000.tar.gz), and running [_setup.sh_](https://www.webmin.com/tgz.html) script, with no arguments, which will setup to run it directly from this directory, or with a command-line argument, such as targeted directory.
<kbd>Note: If you are installing Webmin [on Windows](https://www.webmin.com/windows.html) system, you must run the command `perl setup.pl` instead. The Windows version depends on several programs, and modules that may not be part of the standard distribution. You will need _process.exe_ command, _sc.exe_ command, and _Win32::Daemon_ Perl module.</kbd>
## Documentation
Complete set of documentation for Webmin and all of its modules can be found at out [Wiki page](https://doxfer.webmin.com/Webmin/Main_Page).
@@ -41,7 +41,7 @@ Complete set of documentation for Webmin and all of its modules can be found at
### Lead developer
* [Jamie Cameron](http://www.webmin.com/about.html) [![](https://github.com/webmin-devel/webmin/blob/master/media/linkedin-15x15.png?raw=true)](https://www.linkedin.com/in/jamiecameron2)
* [Jamie Cameron](https://www.webmin.com/about.html) [![](https://github.com/webmin-devel/webmin/blob/master/media/linkedin-15x15.png?raw=true)](https://www.linkedin.com/in/jamiecameron2)
### Developers
* [Ilia Rostovtsev](https://github.com/iliajie)

File diff suppressed because one or more lines are too long

View File

@@ -354,6 +354,7 @@ sessions_actions=Optrede..
sessions_all=Alle sessies..
sessions_logouts=Toon ook afgemelde sessies..
sessions_state=staat
sessions_action=Aksies
sessions_this=Hierdie aanmelding
sessions_in=Aangemeld
sessions_out=Uitgeteken

View File

@@ -242,6 +242,7 @@ sessions_actions=أجراءات..
sessions_all=كل الجلسات..
sessions_logouts=اعرض أيضًا جلسات تسجيل الخروج..
sessions_state=حالة
sessions_action=أجراءات
sessions_this=هذا تسجيل الدخول
sessions_in=تسجيل الدخول
sessions_out=تسجيل الخروج

View File

@@ -354,6 +354,7 @@ sessions_actions=Дзеянні..
sessions_all=Усе сеансы..
sessions_logouts=Таксама паказаць выходныя сесіі.
sessions_state=Дзярж
sessions_action=Дзеянні
sessions_this=Гэта ўваход
sessions_in=Ўвайшлі ў
sessions_out=Выйшаў

View File

@@ -11,6 +11,7 @@ save_eunixname=Потребителското име '$1' не е потреби
sync_modify=Преименувайте съответстващия потребител на Webmin, когато потребител на Unix е преименуван.
sessions_all=Всички сесии..
sessions_action=Действия
sql_nocache0=Кеш връзки към база данни
sql_nocache1=Отворете нова връзка за всяко търсене

View File

@@ -11,6 +11,7 @@ save_eunixname=El nom d'usuari '$1' no és un usuari Unix, per la qual cosa no e
sync_modify=Canvieu el nom de l'usuari Webmin coincident quan es canvia el nom d'un usuari Unix.
sessions_all=Totes les sessions..
sessions_action=Accions
sql_nocache0=Connexions de memòria cau a la base de dades
sql_nocache1=Obriu una connexió nova per a cada cerca

View File

@@ -64,6 +64,7 @@ sessions_actions=Akce..
sessions_all=Všechny relace..
sessions_logouts=Zobrazit také odhlášené relace.
sessions_state=Stát
sessions_action=Akce
sessions_this=Toto přihlášení
sessions_in=Přihlášen
sessions_out=Odhlásit

View File

@@ -11,6 +11,7 @@ save_eunixname=Brugernavnet '$1' er ikke en Unix-bruger, og kan derfor ikke brug
sync_modify=Omdøb den matchende Webmin-bruger, når en Unix-bruger omdøbes.
sessions_all=Alle sessioner..
sessions_action=Handlinger
sql_nocache0=Cache-forbindelser til databasen
sql_nocache1=Åbn en ny forbindelse til hvert opslag

View File

@@ -1,6 +1,7 @@
sync_modify=Benennen Sie den passenden Webmin-Benutzer um, wenn ein Unix-Benutzer umbenannt wird.
sessions_all=Alle Sitzungen..
sessions_action=Aktionen
sql_nocache0=Cache-Verbindungen zur Datenbank
sql_nocache1=Öffnen Sie für jede Suche eine neue Verbindung

View File

@@ -11,6 +11,7 @@ save_eunixname=Το όνομα χρήστη '$1' δεν είναι χρήστη
sync_modify=Μετονομάστε τον αντίστοιχο χρήστη Webmin όταν μετονομάζεται ένας χρήστης Unix.
sessions_all=Όλες οι συνεδρίες..
sessions_action=Ενέργειες
sql_nocache0=Συνδέσεις προσωρινής μνήμης με βάση δεδομένων
sql_nocache1=Ανοίξτε μια νέα σύνδεση για κάθε αναζήτηση

View File

@@ -16,6 +16,7 @@ sessions_actions=Comportamiento..
sessions_all=Todas las sesiones..
sessions_logouts=Mostrar también sesiones cerradas.
sessions_state=Estado
sessions_action=Comportamiento
sessions_this=Este inicio de sesión
sessions_in=Conectado
sessions_out=Desconectado

View File

@@ -60,6 +60,7 @@ sessions_actions=Ekintzak..
sessions_all=Saio guztiak..
sessions_logouts=Erakutsi itxitako saioak ere..
sessions_state=Estatu
sessions_action=Ekintzak
sessions_this=Saioa hasiera
sessions_in=Saioa hasi
sessions_out=Saioa amaitu

View File

@@ -115,6 +115,7 @@ sessions_actions=اقدامات..
sessions_all=تمام جلسات..
sessions_logouts=همچنین جلسات ورود به سیستم را نشان دهید..
sessions_state=دولت
sessions_action=اقدامات
sessions_this=این ورود
sessions_in=وارد شده
sessions_out=خارج شد

View File

@@ -354,6 +354,7 @@ sessions_actions=Toiminnot..
sessions_all=Kaikki istunnot..
sessions_logouts=Näytä myös kirjautuneet istunnot..
sessions_state=Osavaltio
sessions_action=Toiminnot
sessions_this=Tämä kirjautuminen
sessions_in=Kirjautunut sisään
sessions_out=Kirjautunut ulos

View File

@@ -57,6 +57,7 @@ unix_header=Paramètres d'authentification utilisateur Unix
unix_utable=Utilisateurs Unix autorisés
sessions_all=Toutes les séances..
sessions_action=Actions
udeletes_jerr=Échec de l'ajout d'utilisateurs au groupe

View File

@@ -354,6 +354,7 @@ sessions_actions=פעולות..
sessions_all=כל המפגשים..
sessions_logouts=הראה גם הפעלות לא מחוברות..
sessions_state=מדינה
sessions_action=פעולות
sessions_this=כניסה זו
sessions_in=מחובר
sessions_out=התנתק

View File

@@ -65,6 +65,7 @@ sessions_actions=Akcije..
sessions_all=Sve sesije..
sessions_logouts=Prikaži i odjavljene sesije..
sessions_state=država
sessions_action=Radnje
sessions_this=Ova prijava
sessions_in=Prijavljeni
sessions_out=Odjavljen

View File

@@ -91,6 +91,7 @@ sessions_actions=Hozzászólások..
sessions_all=Minden ülés..
sessions_logouts=A kijelentkezett munkamenetek megjelenítése is
sessions_state=Állapot
sessions_action=Akciók
sessions_this=Ez a bejelentkezés
sessions_in=Bejelentkezve
sessions_out=Kilépett

View File

@@ -40,6 +40,7 @@ sessions_actions=Azioni..
sessions_all=Tutte le sessioni..
sessions_logouts=Mostra anche sessioni disconnesse.
sessions_state=Stato
sessions_action=Azioni
sessions_this=Questo login
sessions_in=Connesso
sessions_out=Disconnesso

View File

@@ -62,6 +62,7 @@ sessions_actions=行動..
sessions_all=すべてのセッション。
sessions_logouts=ログアウトしたセッションも表示します。
sessions_state=状態
sessions_action=行動
sessions_this=このログイン
sessions_in=ログイン済み
sessions_out=ログアウトしました

View File

@@ -62,6 +62,7 @@ sessions_actions=행위..
sessions_all=모든 세션..
sessions_logouts=로그 아웃 된 세션도 표시하십시오.
sessions_state=상태
sessions_action=행위
sessions_this=이 로그인
sessions_in=로그인
sessions_out=로그 아웃

View File

@@ -354,6 +354,7 @@ sessions_actions=Veiksmai..
sessions_all=Visi užsiėmimai..
sessions_logouts=Taip pat rodyti atsijungusius seansus..
sessions_state=Valstybė
sessions_action=Veiksmai
sessions_this=Šis prisijungimas
sessions_in=Prisijungęs
sessions_out=Atsijungęs

View File

@@ -354,6 +354,7 @@ sessions_actions=Darbības..
sessions_all=Visas sesijas..
sessions_logouts=Rādīt arī atteikšanās sesijas..
sessions_state=Valsts
sessions_action=Darbības
sessions_this=Šī pieteikšanās
sessions_in=Pieteicies
sessions_out=Izlogojies

View File

@@ -16,6 +16,7 @@ sessions_actions=Tindakan..
sessions_all=Semua sesi..
sessions_logouts=Juga tunjukkan sesi log keluar..
sessions_state=Negeri
sessions_action=Tindakan
sessions_this=Log masuk ini
sessions_in=Log masuk
sessions_out=Logged out

View File

@@ -354,6 +354,7 @@ sessions_actions=Azzjonijiet..
sessions_all=Is-sessjonijiet kollha..
sessions_logouts=Uri wkoll sessjonijiet illoggjati..
sessions_state=Stat
sessions_action=Azzjonijiet
sessions_this=Dan id-dħul
sessions_in=Dħalt
sessions_out=Dħalt

View File

@@ -39,6 +39,7 @@ sessions_actions=Acties..
sessions_all=Alle sessies..
sessions_logouts=Toon ook uitgelogde sessies..
sessions_state=Staat
sessions_action=Acties
sessions_this=Deze login
sessions_in=Ingelogd
sessions_out=Uitgelogd

View File

@@ -1,6 +1,7 @@
sync_modify=Gi nytt navn til den samsvarende Webmin-brukeren når en Unix-bruker får nytt navn.
sessions_all=Alle økter..
sessions_action=Handlinger
sql_nocache0=Cache-tilkoblinger til databasen
sql_nocache1=Åpne en ny forbindelse for hvert oppslag

View File

@@ -14,6 +14,7 @@ sessions_actions=Działania..
sessions_all=Wszystkie sesje...
sessions_logouts=Pokaż także wylogowane sesje.
sessions_state=Stan
sessions_action=działania
sessions_this=Ten login
sessions_in=Zalogowany
sessions_out=Wylogowano

View File

@@ -330,6 +330,7 @@ sessions_actions=Ações..
sessions_all=Todas as sessões..
sessions_logouts=Mostrar também sessões desconectadas.
sessions_state=Estado
sessions_action=Ações
sessions_this=Este login
sessions_in=Logado
sessions_out=Desconectado

View File

@@ -58,6 +58,7 @@ sessions_actions=Ações..
sessions_all=Todas as sessões..
sessions_logouts=Mostrar também sessões desconectadas.
sessions_state=Estado
sessions_action=Ações
sessions_this=Este login
sessions_in=Logado
sessions_out=Desconectado

View File

@@ -354,6 +354,7 @@ sessions_actions=Acțiuni..
sessions_all=Toate sesiunile..
sessions_logouts=Arată, de asemenea, sesiuni deconectate..
sessions_state=Stat
sessions_action=Acțiuni
sessions_this=Această autentificare
sessions_in=Conectat
sessions_out=Delogat

View File

@@ -62,6 +62,7 @@ sessions_actions=Действия..
sessions_all=Все сеансы..
sessions_logouts=Также показать сеансы выхода из системы.
sessions_state=состояние
sessions_action=Действия
sessions_this=Этот логин
sessions_in=Войти в систему
sessions_out=Вышли из

View File

@@ -107,6 +107,7 @@ sessions_actions=Akcia..
sessions_all=Všetky relácie..
sessions_logouts=Zobraziť aj odhlásené relácie.
sessions_state=Štát
sessions_action=Akcie
sessions_this=Toto prihlásenie
sessions_in=Prihlásený
sessions_out=Odhlasený

View File

@@ -354,6 +354,7 @@ sessions_actions=Ukrepi..
sessions_all=Vse seje..
sessions_logouts=Prikaži tudi odjavne seje.
sessions_state=Država
sessions_action=Dejanja
sessions_this=Ta prijava
sessions_in=Prijavljeni
sessions_out=Odjavljeni

View File

@@ -62,6 +62,7 @@ sessions_actions=Handlingar..
sessions_all=Alla sessioner..
sessions_logouts=Visa även utloggade sessioner..
sessions_state=stat
sessions_action=Åtgärder
sessions_this=Den här inloggningen
sessions_in=Inloggad
sessions_out=Utloggad

View File

@@ -354,6 +354,7 @@ sessions_actions=การดำเนินการ..
sessions_all=ทุกวาระ..
sessions_logouts=แสดงเซสชันการออกจากระบบด้วย..
sessions_state=สถานะ
sessions_action=การกระทำ
sessions_this=เข้าสู่ระบบนี้
sessions_in=เข้าสู่ระบบ
sessions_out=ออกจากระบบ

View File

@@ -123,6 +123,7 @@ sessions_actions=Hareketler..
sessions_all=Tüm oturumlar..
sessions_logouts=Oturumu kapatılmış oturumları da göster..
sessions_state=Durum
sessions_action=Hareketler
sessions_this=Bu giriş
sessions_in=Giriş
sessions_out=Çıkış yapıldı

View File

@@ -349,6 +349,7 @@ sessions_actions=Дії..
sessions_all=Всі сеанси..
sessions_logouts=Показати також сеанси виходу з системи..
sessions_state=Держава
sessions_action=Дії
sessions_this=Це логін
sessions_in=Увійшли в
sessions_out=Вийшли з системи

View File

@@ -354,6 +354,7 @@ sessions_actions=عمل..
sessions_all=تمام سیشنز..
sessions_logouts=لاگ آؤٹ سیشن بھی دکھائیں..
sessions_state=حالت
sessions_action=اعمال
sessions_this=یہ لاگ ان
sessions_in=لاگ ان
sessions_out=لاگ آؤٹ

View File

@@ -354,6 +354,7 @@ sessions_actions=Hành động..
sessions_all=Tất cả các phiên..
sessions_logouts=Cũng hiển thị các phiên đăng xuất..
sessions_state=Tiểu bang
sessions_action=Hành động
sessions_this=Thông tin đăng nhập này
sessions_in=Đăng nhập
sessions_out=Đăng xuất

View File

@@ -163,6 +163,7 @@ sessions_actions=动作..
sessions_all=所有会议..
sessions_logouts=同时显示注销的会话。
sessions_state=州
sessions_action=行动
sessions_this=此登录名
sessions_in=登录
sessions_out=登出

View File

@@ -141,6 +141,7 @@ sessions_actions=動作..
sessions_all=所有會議..
sessions_logouts=還顯示註銷的會話。
sessions_state=州
sessions_action=行動
sessions_this=此登錄名
sessions_in=登錄
sessions_out=登出

View File

@@ -1,4 +1,4 @@
show_list=0
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types

View File

@@ -1,9 +1,9 @@
show_list=0
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types
start_cmd=systemctl start httpd.service
apply_cmd=/usr/sbin/apachectl graceful
apply_cmd=systemctl reload httpd.service
stop_cmd=systemctl stop httpd.service
show_order=0
max_servers=100
@@ -15,5 +15,5 @@ test_apachectl=1
auto_mods=1
show_names=0
allow_virtualmin=0
pid_file=/etc/httpd/run/httpd.pid
pid_file=/run/httpd/httpd.pid
format_config=1

View File

@@ -0,0 +1,19 @@
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types
start_cmd=systemctl start httpd.service
apply_cmd=systemctl reload httpd.service
stop_cmd=systemctl stop httpd.service
show_order=0
max_servers=100
test_config=1
test_manual=0
apachectl_path=/usr/sbin/apachectl
test_always=0
test_apachectl=1
auto_mods=1
show_names=0
allow_virtualmin=0
pid_file=/run/httpd/httpd.pid
format_config=1

View File

@@ -0,0 +1,19 @@
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types
start_cmd=systemctl start httpd.service
apply_cmd=systemctl reload httpd.service
stop_cmd=systemctl stop httpd.service
show_order=0
max_servers=100
test_config=1
test_manual=0
apachectl_path=/usr/sbin/apachectl
test_always=0
test_apachectl=1
auto_mods=1
show_names=0
allow_virtualmin=0
pid_file=/run/httpd/httpd.pid
format_config=1

View File

@@ -1,4 +1,4 @@
show_list=0
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types

View File

@@ -1,4 +1,4 @@
show_list=0
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types

View File

@@ -0,0 +1,23 @@
httpd_dir=/etc/apache2
httpd_path=/usr/sbin/apache2
httpd_conf=/etc/apache2/apache2.conf
mime_types=/etc/mime.types
start_cmd=systemctl start apache2
apply_cmd=systemctl reload apache2
stop_cmd=systemctl stop apache2
show_order=0
max_servers=100
test_config=1
test_manual=0
test_always=0
test_apachectl=1
virt_file=/etc/apache2/sites-available
link_dir=/etc/apache2/sites-enabled
auto_mods=1
defines_file=/etc/apache2/envvars
defines_name=APACHE_ARGUMENTS
apachectl_path=/usr/sbin/apache2ctl
show_names=0
allow_virtualmin=0
format_config=1
show_list=1

View File

@@ -1,9 +1,9 @@
show_list=0
show_list=1
httpd_dir=/etc/httpd
httpd_path=/usr/sbin/httpd
mime_types=/etc/mime.types
start_cmd=systemctl start httpd.service
apply_cmd=/usr/sbin/apachectl graceful
apply_cmd=systemctl reload httpd.service
stop_cmd=systemctl stop httpd.service
show_order=0
max_servers=100
@@ -15,4 +15,5 @@ test_apachectl=1
auto_mods=1
show_names=0
allow_virtualmin=0
pid_file=/run/httpd/httpd.pid
format_config=1

View File

@@ -68,8 +68,8 @@ print "<table border><tr><td $cb><pre>\n\n";
&show_directives($conf, 0);
print "</pre></td></tr></table>\n";
print "</td></tr>\n";
if ($in{'virt'} || $in{'file'} || defined($in{'idx'})) {
if ($access{'types'} eq '*' &&
($in{'virt'} || $in{'file'} || defined($in{'idx'}))) {
print "<tr>\n";
print "<td><form action=manual_form.cgi>";
print "<input type=submit name=these value='$text{'show_these'}'>";

View File

@@ -69,7 +69,7 @@ sub main {
read_file($mod, \%mod_info);
my $mod_ver = $mod_info{'version_actual'} || $mod_info{'version'};
my $mod_desc = $mod_info{'desc'};
if ($mod_ver && $prod_ver && $mod_desc && $mod_ver ne $prod_ver) {
if ($mod_ver && $prod_ver && $mod_desc && $prod_ver !~ /^$mod_ver/) {
say CYAN, " $module_type: ", RESET if (!$head++);
my ($mod_dir) = $mod =~ m/$prod_root\/(.*?)\//;
push(@minfo, {'desc' => $mod_desc, 'ver' => $mod_ver, 'dir' => $mod_dir});
@@ -105,13 +105,18 @@ sub main {
my $ver1 = "$root/version";
my $ver2 = "$opt{'config'}/version";
my $ver = read_file_contents($ver1) || read_file_contents($ver2);
my $verrel_file = "$root/release";
my $verrel = -r $verrel_file ? read_file_contents($verrel_file) : "";
if ($verrel) {
$verrel = ":@{[trim($verrel)]}";
}
$ver = trim($ver);
if ($ver) {
if ($opt{'version'}) {
say $ver;
say "$ver$verrel";
exit 0;
} else {
say CYAN, "Webmin: ", RESET, &$ver_checked($versions_remote{'webmin'}, $ver), DARK " [$root]", RESET;
say CYAN, "Webmin: ", RESET, &$ver_checked($versions_remote{'webmin'}, "$ver$verrel"), DARK " [$root]", RESET;
}
} else {
say RED, "Error: ", RESET, "Cannot determine Webmin version";
@@ -153,7 +158,12 @@ sub main {
my $uver1 = "$uroot/version";
my $uver2 = "$wmumconfig/version";
my $uver = read_file_contents($uver1) || read_file_contents($uver2);
$uver = trim($uver);
my $uverrel_file = "$uroot/release";
my $uverrel = -r $uverrel_file ? read_file_contents($uverrel_file) : "";
if ($uverrel) {
$uverrel = ":@{[trim($uverrel)]}";
}
$uver = trim($uver) . $uverrel;
if ($uver) {
say CYAN, "Usermin: ", RESET, &$ver_checked($versions_remote{'usermin'}, $uver), DARK " [$uroot]", RESET;
my ($udir, @uthemes, @umods);

View File

@@ -2834,13 +2834,14 @@ foreach my $slave (@slaves) {
my @otherslaves;
if ($config{'other_slaves'}) {
@otherslaves = grep { $_ ne '' }
map { &to_ipaddress($_->{'host'}) }
map { &to_ipaddress($_->{'host'}) ||
&to_ip6address($_->{'host'}) }
grep { $_ ne $slave } @slaves;
}
if ($config{'extra_slaves'}) {
push(@otherslaves,
grep { $_ ne '' }
map { &to_ipaddress($_) }
map { &to_ipaddress($_) || &to_ip6address($_) }
split(/\s+/, $config{'extra_slaves'}));
}
if ($moreslaves) {

View File

@@ -35,7 +35,7 @@ if (!$? && $out !~ /failed/) {
print &ui_form_start("save_rndc.cgi", "post");
my $ex = -s $config{'rndc_conf'};
print &text($ex ? 'rndc_rusure' : 'rndc_rusure2',
"<tt>$config{'rndc_conf'}</tt>"),"<p>\n";
"<tt>$config{'rndc_conf'}</tt>"),"<br>\n";
print &ui_submit($text{'rndc_ok'});
print &ui_form_end();

View File

@@ -3,8 +3,6 @@ named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=1
records_order=0
start_cmd=service named start
stop_cmd=service named stop
max_zones=50
rev_def=0
support_aaaa=1
@@ -12,7 +10,7 @@ allow_comments=0
allow_wild=1
allow_long=0
master_ttl=1
pid_file=/var/run/named.pid /run/named.pid
pid_file=/run/named/named.pid
whois_cmd=whois
short_names=0
updserial_def=0
@@ -42,7 +40,6 @@ keygen=dnssec-keygen
signzone=dnssec-signzone
checkconf=named-checkconf
other_slaves=1
restart_cmd=restart
keygen=dnssec-keygen
tmpl_dnssec=0
dnssec_period=21
@@ -54,3 +51,8 @@ dnssectools_rollmgr_pidfile=/var/run/rollmgr.pid
force_random=0
spf_record=0
dnssec_info=1
start_cmd=systemctl start named
stop_cmd=systemctl stop named
restart_cmd=systemctl reload named
chroot=
auto_chroot=

View File

@@ -42,7 +42,7 @@ keygen=dnssec-keygen
signzone=dnssec-signzone
checkconf=named-checkconf
other_slaves=1
restart_cmd=restart
restart_cmd=service named restart
keygen=dnssec-keygen
tmpl_dnssec=0
dnssec_period=21
@@ -54,3 +54,5 @@ dnssectools_rollmgr_pidfile=/var/run/rollmgr.pid
force_random=0
spf_record=0
dnssec_info=1
chroot=
auto_chroot=

View File

@@ -3,8 +3,6 @@ named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=1
records_order=0
start_cmd=systemctl start named.service
stop_cmd=systemctl stop named.service
max_zones=50
rev_def=0
support_aaaa=1
@@ -12,7 +10,7 @@ allow_comments=0
allow_wild=1
allow_long=0
master_ttl=1
pid_file=/var/run/named/named.pid
pid_file=/run/named/named.pid
whois_cmd=whois
short_names=0
updserial_def=0
@@ -28,12 +26,10 @@ by_view=0
confirm_zone=1
confirm_rec=0
no_chroot=0
chroot=/var/named/chroot
relative_paths=0
rndc_cmd=rndc
master_dir=/var/named
slave_dir=/var/named/slaves
auto_chroot=sh -c '. /etc/sysconfig/named && echo "$ROOTDIR"'
no_pid_chroot=0
soa_start=0
rndc_conf=/etc/rndc.conf
@@ -44,6 +40,15 @@ keygen=dnssec-keygen
signzone=dnssec-signzone
checkconf=named-checkconf
other_slaves=1
keygen=dnssec-keygen
tmpl_dnssec=0
dnssec_period=21
tmpl_dnssec_dt=1
force_random=0
spf_record=0
dnssec_info=1
start_cmd=systemctl start named
stop_cmd=systemctl stop named
restart_cmd=systemctl reload named
chroot=
auto_chroot=

View File

@@ -0,0 +1,58 @@
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=1
records_order=0
max_zones=50
rev_def=0
support_aaaa=1
allow_comments=0
allow_wild=1
allow_long=0
master_ttl=1
pid_file=/run/named/named.pid
whois_cmd=whois
short_names=0
updserial_def=0
updserial_on=1
updserial_man=1
ndc_cmd=ndc
forwardzonefilename_format=ZONE.hosts
reversezonefilename_format=ZONE.rev
rev_must=0
ipv6_mode=1
allow_underscore=1
by_view=0
confirm_zone=1
confirm_rec=0
no_chroot=0
relative_paths=0
rndc_cmd=rndc
master_dir=/var/named
slave_dir=/var/named/slaves
no_pid_chroot=0
soa_start=0
rndc_conf=/etc/rndc.conf
rndcconf_cmd=rndc-confgen
largezones=0
checkzone=named-checkzone
keygen=dnssec-keygen
signzone=dnssec-signzone
checkconf=named-checkconf
other_slaves=1
keygen=dnssec-keygen
tmpl_dnssec=0
dnssec_period=21
tmpl_dnssec_dt=1
dnssectools_conf=/etc/dnssec-tools/dnssec-tools.conf
dnssectools_rollrec=/var/named/system.rollrec
dnssectools_keydir=/var/named/dtkeys
dnssectools_rollmgr_pidfile=/var/run/rollmgr.pid
force_random=0
spf_record=0
dnssec_info=1
start_cmd=systemctl start named
stop_cmd=systemctl stop named
restart_cmd=systemctl reload named
chroot=
auto_chroot=

View File

@@ -0,0 +1,58 @@
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=1
records_order=0
max_zones=50
rev_def=0
support_aaaa=1
allow_comments=0
allow_wild=1
allow_long=0
master_ttl=1
pid_file=/run/named/named.pid
whois_cmd=whois
short_names=0
updserial_def=0
updserial_on=1
updserial_man=1
ndc_cmd=ndc
forwardzonefilename_format=ZONE.hosts
reversezonefilename_format=ZONE.rev
rev_must=0
ipv6_mode=1
allow_underscore=1
by_view=0
confirm_zone=1
confirm_rec=0
no_chroot=0
relative_paths=0
rndc_cmd=rndc
master_dir=/var/named
slave_dir=/var/named/slaves
no_pid_chroot=0
soa_start=0
rndc_conf=/etc/rndc.conf
rndcconf_cmd=rndc-confgen
largezones=0
checkzone=named-checkzone
keygen=dnssec-keygen
signzone=dnssec-signzone
checkconf=named-checkconf
other_slaves=1
keygen=dnssec-keygen
tmpl_dnssec=0
dnssec_period=21
tmpl_dnssec_dt=1
dnssectools_conf=/etc/dnssec-tools/dnssec-tools.conf
dnssectools_rollrec=/var/named/system.rollrec
dnssectools_keydir=/var/named/dtkeys
dnssectools_rollmgr_pidfile=/var/run/rollmgr.pid
force_random=0
spf_record=0
dnssec_info=1
start_cmd=systemctl start named
stop_cmd=systemctl stop named
restart_cmd=systemctl reload named
chroot=
auto_chroot=

View File

@@ -42,7 +42,7 @@ keygen=dnssec-keygen
signzone=dnssec-signzone
checkconf=named-checkconf
other_slaves=1
restart_cmd=restart
restart_cmd=service named restart
keygen=dnssec-keygen
tmpl_dnssec=0
dnssec_period=21

View File

@@ -3,8 +3,6 @@ named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=1
records_order=0
start_cmd=/etc/rc.d/init.d/named start
stop_cmd=/etc/rc.d/init.d/named stop
max_zones=50
rev_def=0
support_aaaa=1
@@ -12,7 +10,7 @@ allow_comments=0
allow_wild=1
allow_long=0
master_ttl=1
pid_file=/var/run/named/named.pid
pid_file=/run/named/named.pid
whois_cmd=whois
short_names=0
updserial_def=0
@@ -28,12 +26,10 @@ by_view=0
confirm_zone=1
confirm_rec=0
no_chroot=0
chroot=/var/named/chroot
relative_paths=0
rndc_cmd=rndc
master_dir=/var/named
slave_dir=/var/named/slaves
auto_chroot=sh -c '. /etc/sysconfig/named && echo "$ROOTDIR"'
no_pid_chroot=0
soa_start=0
rndc_conf=/etc/rndc.conf
@@ -44,6 +40,15 @@ keygen=dnssec-keygen
signzone=dnssec-signzone
checkconf=named-checkconf
other_slaves=1
keygen=dnssec-keygen
tmpl_dnssec=0
dnssec_period=21
tmpl_dnssec_dt=1
force_random=0
spf_record=0
dnssec_info=1
start_cmd=systemctl start named
stop_cmd=systemctl stop named
restart_cmd=systemctl reload named
chroot=
auto_chroot=

View File

@@ -3,8 +3,6 @@ named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=1
records_order=0
start_cmd=service named start
stop_cmd=service named stop
max_zones=50
rev_def=0
support_aaaa=1
@@ -12,7 +10,7 @@ allow_comments=0
allow_wild=1
allow_long=0
master_ttl=1
pid_file=/var/run/named.pid /run/named.pid
pid_file=/run/named/named.pid
whois_cmd=whois
short_names=0
updserial_def=0
@@ -42,7 +40,6 @@ keygen=dnssec-keygen
signzone=dnssec-signzone
checkconf=named-checkconf
other_slaves=1
restart_cmd=restart
keygen=dnssec-keygen
tmpl_dnssec=0
dnssec_period=21
@@ -54,3 +51,8 @@ dnssectools_rollmgr_pidfile=/var/run/rollmgr.pid
force_random=0
spf_record=0
dnssec_info=1
start_cmd=systemctl start named
stop_cmd=systemctl stop named
restart_cmd=systemctl reload named
chroot=
auto_chroot=

View File

@@ -43,7 +43,7 @@ keygen=dnssec-keygen
signzone=dnssec-signzone
checkconf=named-checkconf
other_slaves=1
restart_cmd=restart
restart_cmd=service named restart
force_random=0
spf_record=0
dnssec_info=1

View File

@@ -1,10 +1,8 @@
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
named_conf=/etc/bind/named.conf
show_list=1
records_order=0
start_cmd=/etc/rc.d/init.d/named start
stop_cmd=/etc/rc.d/init.d/named stop
max_zones=50
rev_def=0
support_aaaa=1
@@ -12,7 +10,6 @@ allow_comments=0
allow_wild=1
allow_long=0
master_ttl=1
pid_file=/var/run/named/named.pid
whois_cmd=whois
short_names=0
updserial_def=0
@@ -30,9 +27,13 @@ confirm_rec=0
no_chroot=0
relative_paths=0
rndc_cmd=rndc
pid_file=/var/run/named/named.pid
zones_file=/etc/bind/named.conf.local
master_dir=/var/lib/bind
slave_dir=/var/lib/bind
no_pid_chroot=0
soa_start=0
rndc_conf=/etc/rndc.conf
rndc_conf=/etc/bind/rndc.conf
rndcconf_cmd=rndc-confgen
largezones=0
checkzone=named-checkzone
@@ -43,3 +44,7 @@ other_slaves=1
force_random=0
spf_record=0
dnssec_info=1
start_cmd=systemctl start bind9.service
stop_cmd=systemctl stop bind9.service
restart_cmd=systemctl reload bind9.service
dnssec_period=21

View File

@@ -1,44 +0,0 @@
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=1
records_order=0
start_cmd=/etc/rc.d/init.d/named start
stop_cmd=/etc/rc.d/init.d/named stop
max_zones=50
rev_def=0
support_aaaa=1
allow_comments=0
allow_wild=1
allow_long=0
master_ttl=1
whois_cmd=whois
short_names=0
updserial_def=0
updserial_on=1
updserial_man=1
ndc_cmd=ndc
forwardzonefilename_format=ZONE.hosts
reversezonefilename_format=ZONE.rev
rev_must=0
ipv6_mode=1
allow_underscore=1
by_view=0
confirm_zone=1
confirm_rec=0
no_chroot=0
relative_paths=0
rndc_cmd=rndc
no_pid_chroot=0
soa_start=0
rndc_conf=/etc/rndc.conf
rndcconf_cmd=rndc-confgen
largezones=0
checkzone=named-checkzone
keygen=dnssec-keygen
signzone=dnssec-signzone
checkconf=named-checkconf
other_slaves=1
force_random=0
spf_record=0
dnssec_info=1

View File

@@ -3,8 +3,6 @@ named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=1
records_order=0
start_cmd=/etc/rc.d/init.d/named start
stop_cmd=/etc/rc.d/init.d/named stop
max_zones=50
rev_def=0
support_aaaa=1
@@ -12,7 +10,7 @@ allow_comments=0
allow_wild=1
allow_long=0
master_ttl=1
pid_file=/var/run/named/named.pid
pid_file=/run/named/named.pid
whois_cmd=whois
short_names=0
updserial_def=0
@@ -28,12 +26,10 @@ by_view=0
confirm_zone=1
confirm_rec=0
no_chroot=0
chroot=/var/named/chroot
relative_paths=0
rndc_cmd=rndc
master_dir=/var/named
slave_dir=/var/named
auto_chroot=sh -c '. /etc/sysconfig/named ; echo "$ROOTDIR"'
slave_dir=/var/named/slaves
no_pid_chroot=0
soa_start=0
rndc_conf=/etc/rndc.conf
@@ -44,6 +40,15 @@ keygen=dnssec-keygen
signzone=dnssec-signzone
checkconf=named-checkconf
other_slaves=1
keygen=dnssec-keygen
tmpl_dnssec=0
dnssec_period=21
tmpl_dnssec_dt=1
force_random=0
spf_record=0
dnssec_info=1
start_cmd=systemctl start named
stop_cmd=systemctl stop named
restart_cmd=systemctl reload named
chroot=
auto_chroot=

View File

@@ -0,0 +1,58 @@
soa_style=1
named_path=/usr/sbin/named
named_conf=/etc/named.conf
show_list=1
records_order=0
start_cmd=service named start
stop_cmd=service named stop
max_zones=50
rev_def=0
support_aaaa=1
allow_comments=0
allow_wild=1
allow_long=0
master_ttl=1
pid_file=/var/run/named.pid /run/named.pid
whois_cmd=whois
short_names=0
updserial_def=0
updserial_on=1
updserial_man=1
ndc_cmd=ndc
forwardzonefilename_format=ZONE.hosts
reversezonefilename_format=ZONE.rev
rev_must=0
ipv6_mode=1
allow_underscore=1
by_view=0
confirm_zone=1
confirm_rec=0
no_chroot=0
relative_paths=0
rndc_cmd=rndc
master_dir=/var/named
slave_dir=/var/named/slaves
no_pid_chroot=0
soa_start=0
rndc_conf=/etc/rndc.conf
rndcconf_cmd=rndc-confgen
largezones=0
checkzone=named-checkzone
keygen=dnssec-keygen
signzone=dnssec-signzone
checkconf=named-checkconf
other_slaves=1
restart_cmd=service named restart
keygen=dnssec-keygen
tmpl_dnssec=0
dnssec_period=21
tmpl_dnssec_dt=1
dnssectools_conf=/etc/dnssec-tools/dnssec-tools.conf
dnssectools_rollrec=/var/named/system.rollrec
dnssectools_keydir=/var/named/dtkeys
dnssectools_rollmgr_pidfile=/var/run/rollmgr.pid
force_random=0
spf_record=0
dnssec_info=1
chroot=
auto_chroot=

View File

@@ -35,7 +35,7 @@ largezones=0
auto_chroot=
pid_file=c:/windows/system32/dns/etc/named.pid
default_prins=
restart_cmd=restart
restart_cmd=sc restart named
file_perms=
extra_reverse=
default_master=

View File

@@ -46,9 +46,10 @@ if (@servers) {
print &ui_columns_end();
print &ui_links_row(\@links);
print &ui_form_end([ [ "delete", $text{'slaves_delete'} ] ]);
print "<p>";
}
else {
print "<b>$text{'slaves_none'}</b><p>\n";
print "<p>$text{'slaves_none'}</p>\n";
}
# Get all Webmin servers and groups
@@ -108,7 +109,7 @@ if (@addservers || @groups) {
print &ui_form_end([ [ undef, $text{'slaves_ok'} ] ]);
}
else {
print "<b>",&text('slaves_need', '../servers/'),"</b><p>\n";
print "<p>",&text('slaves_need', '../servers/'),"</p>\n";
}
&ui_print_footer("", $text{'index_return'});

View File

@@ -88,18 +88,6 @@ foreach my $s (@add) {
next;
}
# Check for needed Webmin versions
my $rver = &remote_foreign_call($s, "bind8", "get_webmin_version");
if ($rver < 1.202) {
print &text('add_eversion', $s->{'host'}, 1.202),"<p>\n";
next;
}
if ($s->{'bind8_view'} && $s->{'bind8_view'} =~ /\s/ &&
$rver < 1.422) {
print &text('add_eversion2', $s->{'host'}, 1.422),"<p>\n";
next;
}
# Check for non-IP name
if (&check_ipaddress($s->{'host'}) && $in{'name_def'}) {
print &text('add_eipaddr', $s->{'host'}),"<p>\n";

View File

@@ -16,7 +16,7 @@ foreach $h (@hosts) {
next if (!$s);
push(@titles, &server_name($s));
push(@links, "edit_host.cgi?id=$h->{'id'}");
push(@icons, "@{[&get_webprefix()]}/servers/images/$s->{'type'}.gif");
push(@icons, "@{[&get_webprefix()]}/servers/images/$s->{'type'}.svg");
$gothost{$h->{'id'}}++;
}
if (@links) {

View File

@@ -84,7 +84,7 @@ print &ui_buttons_end();
# Show hosts with the package
print &ui_hr();
print &ui_subheading($text{'edit_hosts'});
@icons = map { "/servers/images/$_->{'type'}.gif" } @got;
@icons = map { "/servers/images/$_->{'type'}.svg" } @got;
@links = map { "edit_host.cgi?id=$_->{'id'}" } @got;
@titles = map { ($_->{'desc'} ? $_->{'desc'} :
$_->{'realhost'} ? "$_->{'realhost'}:$_->{'port'}" :

View File

@@ -30,7 +30,7 @@ foreach $h (@hosts) {
"$s->{'host'}:$s->{'port'}")."<br>".
&text('index_count', $count));
push(@links, "edit_host.cgi?id=$h->{'id'}");
push(@icons, "@{[&get_webprefix()]}/servers/images/$s->{'type'}.gif");
push(@icons, "@{[&get_webprefix()]}/servers/images/$s->{'type'}.svg");
push(@installed, $count);
$gothost{$h->{'id'}}++;
}

View File

@@ -94,8 +94,8 @@ foreach $h (@hosts) {
if ($og) {
local ($s) = grep { $_->{'id'} == $h->{'id'} } @servers;
push(@icons, &get_webprefix() ?
(&get_webprefix()."/servers/images/".$s->{'type'}.".gif") :
("../servers/images/".$s->{'type'}.".gif"));
(&get_webprefix()."/servers/images/".$s->{'type'}.".svg") :
("../servers/images/".$s->{'type'}.".svg"));
push(@links, "edit_host.cgi?id=$h->{'id'}");
push(@titles, $s->{'desc'} ? $s->{'desc'} : $s->{'host'});
}

View File

@@ -409,8 +409,8 @@ foreach $h (@hosts) {
if ($ou) {
local ($s) = grep { $_->{'id'} == $h->{'id'} } @servers;
push(@icons, &get_webprefix() ?
(&get_webprefix()."/servers/images/".$s->{'type'}.".gif") :
("../servers/images/".$s->{'type'}.".gif"));
(&get_webprefix()."/servers/images/".$s->{'type'}.".svg") :
("../servers/images/".$s->{'type'}.".svg"));
push(@links, "edit_host.cgi?id=$h->{'id'}");
push(@titles, $s->{'desc'} ? $s->{'desc'} : $s->{'host'});
}

View File

@@ -27,7 +27,7 @@ foreach $h (@hosts) {
push(@titles, &server_name($s));
push(@links, $link);
push(@icons, &get_webprefix()."/servers/images/".
$s->{'type'}.".gif");
$s->{'type'}.".svg");
push(@installed, @{$h->{'packages'}});
$gothost{$h->{'id'}}++;
}

View File

@@ -186,7 +186,7 @@ print "</tr></table>\n";
# Show hosts with the module or theme
print &ui_hr();
print &ui_subheading($text{'edit_hosts'});
@icons = map { "/servers/images/$_->{'type'}.gif" } @got;
@icons = map { "/servers/images/$_->{'type'}.svg" } @got;
@links = map { "edit_host.cgi?id=$_->{'id'}" } @got;
@titles = map { &server_name($_).
($_->{'module'}->{'version'} ? " ($text{'host_version2'} $_->{'module'}->{'version'})" : "") } @got;

View File

@@ -25,7 +25,7 @@ foreach $h (@hosts) {
push(@titles, &server_name($s)."<br>".
&text('index_version', $h->{'version'}));
push(@links, "edit_host.cgi?id=$h->{'id'}");
push(@icons, "@{[&get_webprefix()]}/servers/images/$s->{'type'}.gif");
push(@icons, "@{[&get_webprefix()]}/servers/images/$s->{'type'}.svg");
$gothost{$h->{'id'}}++;
}
if (@links) {

View File

@@ -147,7 +147,7 @@ print "</tr></table>\n";
# Show hosts with the group
print &ui_hr();
print &ui_subheading($text{'group_hosts'});
@icons = map { "/servers/images/$_->{'type'}.gif" } @got;
@icons = map { "/servers/images/$_->{'type'}.svg" } @got;
@links = map { "edit_host.cgi?id=$_->{'id'}" } @got;
@titles = map { &server_name($_) } @got;
&icons_table(\@links, \@titles, \@icons);

View File

@@ -235,7 +235,7 @@ print "</tr></table>\n";
# Show hosts with the module or theme
print &ui_hr();
print &ui_subheading($text{'edit_hosts'});
@icons = map { "/servers/images/$_->{'type'}.gif" } @got;
@icons = map { "/servers/images/$_->{'type'}.svg" } @got;
@links = map { "edit_host.cgi?id=$_->{'id'}" } @got;
@titles = map { &server_name($_).
($_->{'module'}->{'version'} ? " ($text{'host_version2'} $_->{'module'}->{'version'})" : "") } @got;

View File

@@ -211,7 +211,7 @@ print "</tr></table>\n";
# Show hosts with the user
print &ui_hr();
print &ui_subheading($text{'user_hosts'});
@icons = map { "/servers/images/$_->{'type'}.gif" } @got;
@icons = map { "/servers/images/$_->{'type'}.svg" } @got;
@links = map { "edit_host.cgi?id=$_->{'id'}" } @got;
@titles = map { &server_name($_) } @got;
&icons_table(\@links, \@titles, \@icons);

View File

@@ -27,7 +27,7 @@ foreach $h (@hosts) {
push(@titles, &server_name($s)."<br>".
&text('index_version', $h->{'version'}));
push(@links, "edit_host.cgi?id=$h->{'id'}");
push(@icons, "@{[&get_webprefix()]}/servers/images/$s->{'type'}.gif");
push(@icons, "@{[&get_webprefix()]}/servers/images/$s->{'type'}.svg");
$gothost{$h->{'id'}}++;
}
if (@links) {

View File

@@ -59,8 +59,8 @@ foreach $o (@lang_order_list) {
# Call any config pre-load function
if (&foreign_func_exists($module, 'config_pre_load')) {
&foreign_call($module, "config_pre_load", \%info, \@info_order)
&foreign_call($module, "config_pre_load", \%einfo)
&foreign_call($module, "config_pre_load", \%info, \@info_order);
&foreign_call($module, "config_pre_load", \%einfo);
}
@info_order = &unique(@info_order);
@@ -276,6 +276,15 @@ if ($section) {
@info_order = &config_in_section($section, \@info_order, \%info);
}
# If config fields are conditional (not displayed)
# make sure to preserve system default values to
# prevent changing behaviour of a module
if (&foreign_exists($module) &&
&foreign_require($module) &&
&foreign_func_exists($module, 'config_pre_load')) {
&foreign_call($module, "config_pre_load", \%info, \@info_order);
}
# Actually parse the inputs
foreach my $c (@info_order) {
next if ($canconfig && !$canconfig->{$c});

View File

@@ -113,30 +113,51 @@ foreach $m (@mods) {
}
print join(" ", @newmods),"\n";
# read_file(file, array)
# Fill an associative array with name=value pairs from a file
# read_file(file, &hash, [&order], [lowercase], [split-char])
# Fill the given hash reference with name=value pairs from a file.
sub read_file
{
local($arr);
$arr = $_[1];
open(ARFILE, "<".$_[0]) || return 0;
my ($file, $hash, $order, $lowercase, $split) = @_;
$split = "=" if (!defined($split));
open(ARFILE, $file) || return 0;
local $_;
while(<ARFILE>) {
s/\r|\n//g;
if (!/^#/ && /^([^=]+)=(.*)$/) { $$arr{$1} = $2; }
my $cmt = index($_, "#");
my $eq = index($_, $split);
if ($cmt != 0 && $eq >= 0) {
my $n = substr($_, 0, $eq);
my $v = substr($_, $eq+1);
chomp($v);
$hash->{$lowercase ? lc($n) : $n} = $v;
push(@$order, $n) if ($order);
}
}
close(ARFILE);
return 1;
}
# write_file(file, array)
# Write out the contents of an associative array as name=value lines
# write_file(file, &data-hash, [join-char])
# Write out the contents of a hash as name=value lines.
sub write_file
{
local($arr);
$arr = $_[1];
open(ARFILE, ">".$_[0]);
foreach $k (keys %$arr) {
print ARFILE "$k=$$arr{$k}\n";
}
my ($file, $data_hash, $join_char) = @_;
my (%old, @order);
my $join = defined($join_char) ? $join_char : "=";
&read_file($file, \%old, \@order);
open(ARFILE, ">$file") || die "open of $file failed : $!";
my %done;
foreach $k (@order) {
if (exists($data_hash->{$k}) && !$done{$k}++) {
(print ARFILE $k,$join,$data_hash->{$k},"\n") ||
die "write to $file failed : $!";
}
}
foreach $k (keys %{$data_hash}) {
if (!exists($old{$k}) && !$done{$k}++) {
(print ARFILE $k,$join,$data_hash->{$k},"\n") ||
die "write to $file failed : $!";
}
}
close(ARFILE);
}

View File

@@ -33,6 +33,7 @@ else {
&clean_environment();
# Set cron environment variables
$ENV{'PATH'} = "/usr/bin:/bin";
foreach $e (&read_envs($job->{'user'})) {
$ENV{$1} = $2 if ($e =~ /^(\S+)\s+(.*)$/);
}

View File

@@ -1,18 +1,18 @@
index_title=定时自动作业
index_title=定时任务
index_user=用户
index_active=激活?
index_command=命令
index_none=此系统中没有自动作业存在
index_none2=没有你可以访问的自动作业
index_create=创建新的定时自动作业
index_allow=控制用户对自动作业的访问
index_return=自动作业列表
index_none=此系统中没有定时任务存在
index_none2=没有你可以访问的定时任务
index_create=创建新的定时任务
index_allow=控制用户对定时任务的访问
index_return=定时任务列表
edit_title=编辑自动作业
create_title=创建自动作业
edit_ecannot=您未被允许编辑此用户的自动作业
edit_details=作业详细信息
edit_user=以此身份执行自动作业
edit_title=编辑
create_title=创建
edit_ecannot=您未被允许编辑此用户的定时任务
edit_details=任务详细信息
edit_user=以此身份执行
edit_active=激活?
edit_commands=命令
edit_command=命令
@@ -26,59 +26,59 @@ edit_weekdays=周
edit_all=全部
edit_selected=已选择的…
edit_run=立即执行
edit_return=自动作业
edit_return=定时任务
edit_ctrl=注意按Ctrl键并单击或者在Mac系统中按Command键并单击来选择分钟、小时、天和月或取消选择。
edit_special1=按选择的时间表运行…
edit_special0=按下面选择的时间运行…
edit_special_hourly=每小时
edit_special_daily=每天(在午夜
edit_special_weekly=每周(星期日)
edit_special_monthly=每月(在第一天
edit_special_yearly=每年(1月1日
edit_special_reboot=系统启动时
edit_special_daily=每天(早0点
edit_special_weekly=每周(星期日)
edit_special_monthly=每月1日
edit_special_yearly=每年1月1日
edit_special_reboot=系统启动时
save_err=保存自动作业失败
save_err=保存定时任务失败
save_ecmd=您没有输入要执行的命令
save_euser=您必须选择一个用户
save_euser2=用户 '$1' 不存在
save_eallow=用户 '$1' 未被允许访问自动作业
save_ecannot=您未被允许为 '$1' 创建或编辑自动作业
save_eallow=用户 '$1' 未被允许访问定时任务
save_ecannot=您未被允许为 '$1' 创建或编辑定时任务
save_enone=您没有选择任何要执行的 $1
allow_title=控制自动作业访问权限
allow_desc=此表单允许您控制哪些用户可以创建和运行自动作业
allow_ecannot=您不能控制用户对自动作业的访问权限
allow_title=控制定时任务访问权限
allow_desc=此表单允许您控制哪些用户可以创建和运行定时任务
allow_ecannot=您不能控制用户对定时任务的访问权限
allow_all1=拒绝全部用户
allow_all2=拒绝除 root 外的所有用户
allow_all3=允许所有用户
allow_allow=只允许列出的用户
allow_deny=只拒绝列出的用户
allow_allow=只允许列出的用户 (白名单)
allow_deny=只拒绝列出的用户 (黑名单)
env_name=变量名称
env_value=值
env_ename='$1' 不是有效的变量名称
exec_title=执行自动作业
exec_ecannot=你未被允许为此用户执行自动作业
exec_title=执行定时任务
exec_ecannot=你未被允许为此用户执行定时任务
exec_cmd=命令 $1 的输出结果…
exec_none=没有输出结果产生
acl_users=可以为下列用户编辑自动作业
acl_users=可以为下列用户编辑定时任务
acl_all=全部用户
acl_this=当前Webmin用户
acl_only=仅限于这些用户
acl_except=除这些用户之外的全部用户
acl_control=可以控制用户对自动作业的访问?
acl_control=可以控制用户对定时任务的访问?
acl_uid=UID在此范围内的用户
acl_gid=此主要组下的用户
log_modify=已修改 $1 的自动作业
log_modify_l=已修改 $1 的自动作业“$2”
log_create=已创建 $1 的自动作业
log_create_l=已创建 $1 的自动作业“$2”
log_delete=已删除 $1 的自动作业
log_exec=已以 $1 身份执行自动作业
log_exec_l=以 $1 身份执行自动作业“$2”
log_allow=已改变用户对自动作业的访问权限
log_modify=已修改 $1 的定时任务
log_modify_l=已修改 $1 的定时任务“$2”
log_create=已创建 $1 的定时任务
log_create_l=已创建 $1 的定时任务“$2”
log_delete=已删除 $1 的定时任务
log_exec=已以 $1 身份执行定时任务
log_exec_l=以 $1 身份执行定时任务“$2”
log_allow=已改变用户对定时任务的访问权限
ecopy=在新的自动作业配置中发现错误:$1 $2
ecopy=在新的定时任务配置中发现错误:$1 $2

View File

@@ -1 +1 @@
desc_zh=定时自动作业 (Cron)
desc_zh=定时任务 (Cron)

View File

@@ -0,0 +1,16 @@
start_cmd=systemctl start dhcpd
stop_cmd=systemctl stop dhcpd
restart_cmd=service dhcpd restart
dhcpd_conf=/etc/dhcp/dhcpd.conf
dhcpd_path=/usr/sbin/dhcpd
lease_file=/var/lib/dhcpd/dhcpd.leases
lease_sort=0
dhcpd_nocols=5
lease_tz=0
interfaces_type=redhat
show_ip=0
show_mac=0
group_name=0
display_max=100
desc_name=0
lease_vendor=0

View File

@@ -0,0 +1,16 @@
start_cmd=systemctl start dhcpd
stop_cmd=systemctl stop dhcpd
restart_cmd=service dhcpd restart
dhcpd_conf=/etc/dhcp/dhcpd.conf
dhcpd_path=/usr/sbin/dhcpd
lease_file=/var/lib/dhcpd/dhcpd.leases
lease_sort=0
dhcpd_nocols=5
lease_tz=0
interfaces_type=redhat
show_ip=0
show_mac=0
group_name=0
display_max=100
desc_name=0
lease_vendor=0

View File

@@ -0,0 +1,4 @@
dovecot=/usr/sbin/dovecot
dovecot_config=/etc/dovecot/dovecot.conf
init_script=dovecot.service
pid_file=/run/dovecot/master.pid

View File

@@ -0,0 +1,4 @@
dovecot=/usr/sbin/dovecot
dovecot_config=/etc/dovecot/dovecot.conf
init_script=dovecot.service
pid_file=/run/dovecot/master.pid

View File

@@ -1,4 +1,4 @@
dovecot=/usr/sbin/dovecot
dovecot_config=/etc/dovecot/dovecot.conf /etc/dovecot.conf
init_script=dovecot.service
pid_file=/var/run/dovecot/master.pid
pid_file=/run/dovecot/master.pid

View File

@@ -0,0 +1,3 @@
restart_command=service nfs restart
exports_file=/etc/exports
apply_cmd=exportfs -r

View File

@@ -0,0 +1,3 @@
restart_command=service nfs restart
exports_file=/etc/exports
apply_cmd=exportfs -r

View File

@@ -502,7 +502,14 @@ else {
# Force the fail2ban server to re-read its config
sub restart_fail2ban_server
{
my $out = &backquote_logged("$config{'client_cmd'} reload 2>&1 </dev/null");
my ($force_restart) = @_;
my $out;
$out = &backquote_logged("$config{'client_cmd'} reload 2>&1 </dev/null")
if (!$force_restart);
if ($? || $force_restart) {
&stop_fail2ban_server();
$out = &start_fail2ban_server();
}
return $? ? $out : undef;
}
@@ -511,8 +518,8 @@ return $? ? $out : undef;
sub list_all_config_files
{
my @rv;
push(@rv, "$config{'config_dir'}/fail2ban.conf");
push(@rv, "$config{'config_dir'}/fail2ban.local");
push(@rv, "$config{'config_dir'}/fail2ban.conf");
push(@rv, glob("$config{'config_dir'}/filter.d/*.conf"));
push(@rv, glob("$config{'config_dir'}/filter.d/*.local"));
push(@rv, glob("$config{'config_dir'}/action.d/*.conf"));
@@ -521,7 +528,7 @@ push(@rv, "$config{'config_dir'}/jail.conf");
push(@rv, "$config{'config_dir'}/jail.local");
push(@rv, glob("$config{'config_dir'}/jail.d/*.conf"));
push(@rv, glob("$config{'config_dir'}/jail.d/*.local"));
return grep { -r $_ } @rv;
return grep { -r $_ || $_ =~ /fail2ban\.local$/ } @rv;
}
sub lock_all_config_files

View File

@@ -4,7 +4,6 @@
require './fdisk-lib.pl';
&ReadParse();
&can_edit_disk($in{'device'}) || &error($text{'disk_ecannot'});
$extwidth = 300;
# Get the disk
@disks = &list_disks_partitions();
@@ -13,6 +12,10 @@ $d || &error($text{'disk_egone'});
@parts = @{$d->{'parts'}};
&ui_print_header($d->{'desc'}, $text{'disk_title'}, "", undef,
@disks == 1 ? 1 : 0, @disks == 1 ? 1 : 0);
$caneditpart =
$d->{'table'} ne 'gpt' ||
($d->{'table'} eq 'gpt' &&
&has_command('parted') && $config{'mode'} ne 'fdisk');
# Work out links to add partitions
foreach $p (@parts) {
@@ -29,17 +32,22 @@ foreach $p (@parts) {
$anyfree++;
}
}
if ($regular < 4 || $disk->{'table'} ne 'msdos') {
push(@edlinks, "<a href=\"edit_part.cgi?disk=$d->{'index'}&new=1\">".
$text{'index_addpri'}."</a>");
if ($caneditpart) {
if ($regular < 4 || $disk->{'table'} ne 'msdos') {
push(@edlinks, "<a href=\"edit_part.cgi?disk=$d->{'index'}&new=1\">".
$text{'index_addpri'}."</a>");
}
if ($extended) {
push(@edlinks, "<a href=\"edit_part.cgi?disk=$d->{'index'}&new=2\">".
$text{'index_addlog'}."</a>");
}
elsif ($regular < 4 && &supports_extended()) {
push(@edlinks, "<a href=\"edit_part.cgi?disk=$d->{'index'}&new=3\">".
$text{'index_addext'}."</a>");
}
}
if ($extended) {
push(@edlinks, "<a href=\"edit_part.cgi?disk=$d->{'index'}&new=2\">".
$text{'index_addlog'}."</a>");
}
elsif ($regular < 4 && &supports_extended()) {
push(@edlinks, "<a href=\"edit_part.cgi?disk=$d->{'index'}&new=3\">".
$text{'index_addext'}."</a>");
else {
$wantsparted = 1;
}
if ($d->{'table'} eq 'unknown') {
# Must create a partition table first
@@ -65,6 +73,12 @@ if ($d->{'table'}) {
}
print &ui_links_row(\@info),"<p>\n";
if ($wantsparted) {
my $label = $config{'mode'} eq 'fdisk' ?
'edit_edisk2' : 'edit_edisk';
print "<p>$text{$label}</p>\n";
}
# Show table of partitions, if any
if (@parts) {
print &ui_links_row(\@edlinks);
@@ -84,16 +98,12 @@ if (@parts) {
# Create extent images
$ext = "";
$ext .= sprintf "<img src=images/gap.gif height=10 width=%d>",
$extwidth*($p->{'start'} - 1) /
$d->{'cylinders'};
$ext .= sprintf "<img src=images/%s.gif height=10 width=%d>",
$p->{'extended'} ? "ext" : "use",
$extwidth*($p->{'end'} - $p->{'start'}) /
$d->{'cylinders'};
$ext .= sprintf "<img src=images/gap.gif height=10 width=%d>",
$extwidth*($d->{'cylinders'} - ($p->{'end'} - 1)) /
$d->{'cylinders'};
$ext1 = int((($p->{'start'} - 1) / $d->{'cylinders'}) * 100) . "%";
$ext2 = int((($p->{'end'} - $p->{'start'}) / $d->{'cylinders'}) * 100) . "%";
$ext3 = int((($d->{'cylinders'} - ($p->{'end'} - 1)) / $d->{'cylinders'}) * 100) . "%";
$ext .= "<img src=images/gap.gif height=10 width='$ext1'>";
$ext .= sprintf "<img src=images/%s.gif height=10 width='$ext2'>", $p->{'extended'} ? "ext" : "use";
$ext .= "<img src=images/gap.gif height=10 width='$ext3'>";
# Work out usage
@stat = &device_status($p->{'device'});
@@ -116,38 +126,43 @@ if (@parts) {
print &ui_columns_end();
}
else {
print "<b>$text{'disk_none'}</b><p>\n";
print "<p>$text{'disk_none'}</p>\n"
if (!$wantsparted);
}
print &ui_links_row(\@edlinks);
# Buttons for IDE params and SMART
print &ui_hr();
print &ui_buttons_start();
my $ui_buttons_content;
if (&supports_hdparm($d)) {
print &ui_buttons_row("edit_hdparm.cgi", $text{'index_hdparm'},
$ui_buttons_content = &ui_buttons_row("edit_hdparm.cgi", $text{'index_hdparm'},
$text{'index_hdparmdesc'},
&ui_hidden("disk", $d->{'index'}));
}
if (&supports_smart($d)) {
print &ui_buttons_row("../smart-status/index.cgi", $text{'index_smart'},
$ui_buttons_content = &ui_buttons_row("../smart-status/index.cgi", $text{'index_smart'},
$text{'index_smartdesc'},
&ui_hidden("drive", $d->{'device'}));
}
if (&supports_relabel($d)) {
if ($d->{'table'} eq 'unknown') {
print &ui_buttons_row(
$ui_buttons_content = &ui_buttons_row(
"edit_relabel.cgi", $text{'index_relabel2'},
$text{'index_relabeldesc2'},
&ui_hidden("device", $d->{'device'}));
}
else {
print &ui_buttons_row(
$ui_buttons_content = &ui_buttons_row(
"edit_relabel.cgi", $text{'index_relabel'},
$text{'index_relabeldesc'},
&ui_hidden("device", $d->{'device'}));
}
}
print &ui_buttons_end();
if ($ui_buttons_content) {
print &ui_hr();
print &ui_buttons_start();
print $ui_buttons_content;
print &ui_buttons_end();
}
&ui_print_footer("", $text{'index_return'});

Some files were not shown because too many files have changed in this diff Show More