Compare commits

...

3276 Commits
1.710 ... 1.900

Author SHA1 Message Date
Jamie Cameron
7d3abc00e2 Fix un-necessary quoting 2018-11-16 08:05:37 -08:00
Jamie Cameron
c62cee6c6b Fix duplicate string 2018-11-15 13:18:19 -08:00
Jamie Cameron
bf63fea503 Fix perlwarning 2018-11-15 13:11:02 -08:00
Jamie Cameron
39b71c618a Fix perl error 2018-11-15 13:07:27 -08:00
Jamie Cameron
761829c133 release versin bump 2018-11-15 13:02:11 -08:00
Jamie Cameron
e437b4a556 Add possibilty to select announcements by user type 2018-11-14 16:29:14 +01:00
Jamie Cameron
b2d22373f9 Merge branch 'master' of github.com:webmin/webmin 2018-11-14 03:14:55 -08:00
Jamie Cameron
3eebe18efc remove useless port 2018-11-14 03:14:40 -08:00
Ilia Rostovtsev
6ea905bfe6 Add ability to add links to warnings 2018-11-14 14:07:12 +03:00
Jamie Cameron
0eda97bb18 Add level back 2018-11-14 01:01:27 -08:00
Jamie Cameron
51c77edb77 Merge branch 'master' of github.com:webmin/webmin 2018-11-14 00:39:31 -08:00
Jamie Cameron
61781d48de Remove useles loine 2018-11-14 00:39:25 -08:00
Ilia Rostovtsev
5141d65c90 Actually replace an id 2018-11-14 11:38:30 +03:00
Ilia Rostovtsev
b02f3d275d An id needs to be a string. Add levels to accordions if needed. 2018-11-14 11:23:31 +03:00
Jamie Cameron
14c99d1c83 Put a title box around alerts 2018-11-13 12:51:33 -08:00
Jamie Cameron
a75a836d60 Button to hide messages 2018-11-13 11:22:37 -08:00
Jamie Cameron
1e2e58d347 Check for both authentic key emails 2018-11-13 10:45:21 -08:00
Jamie Cameron
2081e68060 Merge branch 'master' of github.com:webmin/webmin 2018-11-13 15:05:46 +01:00
Jamie Cameron
d328c86360 Add new API for a link button 2018-11-13 15:05:34 +01:00
Jamie Cameron
5c94826da2 Merge branch 'master' of github.com:webmin/webmin 2018-11-13 04:42:54 -08:00
Jamie Cameron
ac774346a6 Fix caching 2018-11-13 04:40:47 -08:00
Jamie Cameron
4abec04d35 Merge pull request #983 from vsilvar/patch-1
Re-check remote IP if trusted, fixes #168
2018-11-13 12:46:28 +01:00
Jamie Cameron
66c6acdeeb Fix accidental infinte loop 2018-11-13 03:33:00 -08:00
Jamie Cameron
b6714e41c7 Ilia's key has a new email address 2018-11-12 12:40:53 -08:00
vsilvar
c084ebc0d4 Re-check remote IP if trusted, fixes #168
The fix for #168 was not complete, as the last suggested change was never pulled.
This fixes the problem that IP checks are done before $acptip is updated with the remote IP, by re-checking when set.

Another possible fix would be to only check IP's after reading the headers, but imo it is best to deny access as soon as possible.
2018-11-12 18:12:09 +00:00
Jamie Cameron
9c736481d7 Fix typo 2018-11-12 18:30:13 +01:00
Jamie Cameron
17f689252f Ignore spaces 2018-11-11 22:20:59 -08:00
Jamie Cameron
c7c9de4545 Fetch and show info from webmin.com 2018-11-11 22:16:58 -08:00
Jamie Cameron
03eace7ed3 test fix 2018-11-11 13:33:32 -08:00
Jamie Cameron
c14e3bdafb document wildcard mode change 2018-11-10 12:13:16 -08:00
Jamie Cameron
825e2b56ff Domain names can start with a star 2018-11-10 12:10:44 -08:00
Jamie Cameron
a688431a7f Work on wildcard cert support 2018-11-10 12:04:31 -08:00
Jamie Cameron
ba0d1d557e Default is to find certbot automatically 2018-11-10 11:13:29 -08:00
Jamie Cameron
278c066684 When installing a new package, it may not be known yet 2018-11-10 11:08:39 -08:00
Jamie Cameron
797025d20f When installing a new package, it may not be known yet 2018-11-10 11:07:15 -08:00
Jamie Cameron
c39a025f40 Use iptables-legacy-restore if available, for systems that also have the newer iptables commands https://github.com/webmin/webmin/issues/982 2018-11-10 10:37:01 -08:00
Jamie Cameron
ddbc681c0c Handle new apt output format 2018-11-10 10:28:37 -08:00
Jamie Cameron
5cca1d669a Fix perl warning 2018-11-10 10:21:45 -08:00
Jamie Cameron
a745e5a081 Add back with quoting fixed 2018-11-10 09:42:07 -08:00
Jamie Cameron
9cd1f7dc70 Fix file by removing and re-adding 2018-11-10 09:41:47 -08:00
Jamie Cameron
174ef1f348 test change 2018-11-10 09:38:55 -08:00
Jamie Cameron
7a4c83ba35 Use the package updates module to install new packages 2018-11-03 17:06:10 -07:00
Jamie Cameron
74c4386779 Need to pass in current interface list 2018-11-03 16:52:28 -07:00
Jamie Cameron
146b268590 icon update 2018-11-03 16:52:04 -07:00
Jamie Cameron
2817e07eed Space out code 2018-11-03 16:49:33 -07:00
Jamie Cameron
201f5a64f7 Fix indentation 2018-11-03 16:48:13 -07:00
Jamie Cameron
6b4758549a Add to end of file rather than after last directive https://www.virtualmin.com/node/58925 2018-11-03 16:13:14 -07:00
Jamie Cameron
aeeccd7344 Fix YAML parsing and empty search list 2018-10-31 23:55:22 -07:00
Jamie Cameron
19b6873b76 Merge branch 'master' of github.com:webmin/webmin 2018-10-30 22:33:47 -07:00
Jamie Cameron
f8c2988a78 Allow domainless addresses like 'root' https://www.virtualmin.com/node/59274 2018-10-30 22:21:01 -07:00
Ilia Rostovtsev
f3b6d107ee Fix to enter target path first https://www.virtualmin.com/comment/804282 2018-10-30 10:57:33 +03:00
Jamie Cameron
b4e20f74d1 Remove redundant form 2018-10-28 22:35:43 -07:00
Jamie Cameron
21dffa1115 Merge branch 'master' of github.com:webmin/webmin 2018-10-28 22:30:45 -07:00
Jamie Cameron
13c1bf75e8 Fix parsing of available updates 2018-10-28 22:18:29 -07:00
Ilia Rostovtsev
a7feb040e1 Fix typo 2018-10-28 16:30:48 +03:00
Ilia Rostovtsev
2f9038d35e Add collected info to output as it is 2018-10-28 10:10:23 +03:00
Jamie Cameron
c12b717f05 Cache collected info in RAM 2018-10-27 13:23:11 -07:00
Jamie Cameron
7e1a55a187 Cache version file in RAM 2018-10-27 08:23:56 -07:00
Jamie Cameron
fe8aa0179a Cache apache info if the binary hasn't changed 2018-10-27 08:23:12 -07:00
Jamie Cameron
063c3a516a Merge branch 'master' of github.com:webmin/webmin 2018-10-26 22:56:04 -07:00
Jamie Cameron
7220d177e1 Support escaped space in macos NFS exported path https://sourceforge.net/p/webadmin/bugs/5203/ 2018-10-26 22:55:58 -07:00
Ilia Rostovtsev
1952844ea0 Fix code indent 2018-10-25 12:48:22 +03:00
Ilia Rostovtsev
37a62f7fcb Add ability to print errors in JSON format 2018-10-25 12:45:01 +03:00
Jamie Cameron
daa204f6d5 Merge branch 'master' of github.com:webmin/webmin 2018-10-23 18:55:52 -07:00
Jamie Cameron
1d06a39297 Use nicer size 2018-10-23 18:55:43 -07:00
Ilia Rostovtsev
6124e7e953 Add JSON decode subroutine 2018-10-23 14:13:17 +03:00
Jamie Cameron
dc8e98c5f7 ui-lib conversion to work with authentic theme 2018-10-21 19:52:46 -07:00
Jamie Cameron
8a684d8c41 Detect and show unknown status systemd actions https://www.virtualmin.com/node/59115 2018-10-20 10:33:26 -07:00
Jamie Cameron
42f1b789c5 Fix perl warning 2018-10-16 19:50:31 -07:00
Jamie Cameron
ac54b1d96a Show error if command fails 2018-10-16 15:56:04 -07:00
Jamie Cameron
3e75ba96b8 Need to restart all samba servers 2018-10-15 23:02:37 -07:00
Jamie Cameron
ce3f8e398b Add button to clear the whole mail queue 2018-10-14 16:44:21 -07:00
Jamie Cameron
4149022371 Use proper page flipping API 2018-10-14 12:12:52 -07:00
Jamie Cameron
55ceda8b10 Refresh modules after changing 2018-10-10 19:13:10 +00:00
Jamie Cameron
dc1160a07b Detach attachments faster 2018-10-08 22:21:44 +00:00
Jamie Cameron
11acdaa66d Export downloaded modules faster 2018-10-08 22:21:06 +00:00
Jamie Cameron
70d2e6f364 Speed up image fetch 2018-10-08 22:12:49 +00:00
Jamie Cameron
81fbde18ee Merge branch 'master' of https://github.com/webmin/webmin 2018-10-04 05:46:02 +00:00
Jamie Cameron
f5d443d967 Bulgarian update 2018-10-04 05:45:48 +00:00
Ilia Rostovtsev
a9d3e2e3c9 Fix possible fatal error for writing a file longer than 255 chars 2018-09-28 11:15:09 +03:00
Ilia Rostovtsev
7f39203f3b Append hex URL representation to stored file name, to process multiple, simultaneous requests https://github.com/authentic-theme/authentic-theme/issues/1196 2018-09-27 13:44:59 +03:00
Jamie Cameron
c700387e7a Crons that run at boot are OK 2018-09-23 21:38:16 +00:00
Jamie Cameron
6a28ff17e5 Capture Amazon OS version 2018-09-23 21:35:41 +00:00
Jamie Cameron
e978863ac8 dev version bump 2018-09-23 21:25:48 +00:00
Jamie Cameron
0bf160ab06 Amazon Linux 2 beta support 2018-09-23 21:19:50 +00:00
Jamie Cameron
69d7bd78c0 Remove double-escaped HTML 2018-09-23 18:32:47 +00:00
Jamie Cameron
b1a5650f1c Show port numbers for services too https://www.virtualmin.com/node/58814 2018-09-23 02:09:26 +00:00
Jamie Cameron
c06e9d9a72 Check that key and cert file paths are valid 2018-09-23 01:24:14 +00:00
Jamie Cameron
248a33aef6 Deal with addresses like "Bob (work)" bob@bob.com 2018-09-22 06:04:32 +00:00
Jamie Cameron
854a5c2baa Shell escape from address 2018-09-22 06:02:06 +00:00
Jamie Cameron
2a6cc0ccfe Don't fire perl warning if nolog is not defined https://sourceforge.net/p/webadmin/bugs/5191/ 2018-09-20 05:05:42 +00:00
Jamie Cameron
e092a26592 test change 2018-09-13 14:27:47 +00:00
Ilia Rostovtsev
66c358f984 Revert "An attempt to support various module names https://github.com/virtualmin/virtualmin-gpl/pull/63#issuecomment-419717260"
This reverts commit 0864f12bc1.
2018-09-10 09:40:03 +03:00
Jamie Cameron
3ad339b00a dev version bump 2018-09-09 18:56:37 -07:00
Jamie Cameron
6160284f93 Completed support for preserving existing directives 2018-09-09 18:56:17 -07:00
Jamie Cameron
60c0dc17ff Merge branch 'master' of git@github.com:webmin/webmin 2018-09-09 18:44:32 -07:00
Jamie Cameron
2f0d99c6e7 Shorewall to Shoreline fix 2018-09-09 18:31:23 -07:00
Ilia Rostovtsev
0864f12bc1 An attempt to support various module names https://github.com/virtualmin/virtualmin-gpl/pull/63#issuecomment-419717260 2018-09-09 18:56:00 +03:00
Jamie Cameron
bbdb92debd Attempt to preserve unknown config entries 2018-09-08 23:32:18 -07:00
Jamie Cameron
1ab259a7ee Fix parsing of yaml continuation lines 2018-09-08 14:43:07 -07:00
Jamie Cameron
4eba9dfa11 Don't assume that the form is form zero https://sourceforge.net/p/webadmin/bugs/5188/ 2018-09-08 12:18:59 -07:00
Jamie Cameron
7f0d401b55 Merge branch 'master' of git@github.com:webmin/webmin 2018-09-07 22:50:49 -07:00
Jamie Cameron
10f7d1f304 Adding new virtual interfaces makes no sense for new real interfaces https://www.virtualmin.com/node/58599 2018-09-07 21:56:08 -07:00
Jamie Cameron
d2db011669 Merge pull request #962 from swelljoe/master
Add 'Zone' to edit records file button
2018-09-07 21:42:50 -07:00
Joe Cooper
1620cf4a03 Add 'Zone' to edit records file button 2018-09-07 13:40:56 -05:00
Jamie Cameron
e214756b6e Fix param name https://github.com/webmin/webmin/issues/948 2018-09-04 22:57:19 -07:00
Jamie Cameron
02bf68c182 Fix perl warning 00~http/www.virtualmin.com/node/58643 2018-09-04 20:27:18 -07:00
Jamie Cameron
774f23b31b Merge branch 'master' of git@github.com:webmin/webmin 2018-08-31 15:59:06 -07:00
Jamie Cameron
98c32e11bc Respect noerror flag when closing a file https://www.virtualmin.com/node/56681 2018-08-31 14:39:46 -07:00
Ilia Rostovtsev
c180a4c91f Fix file inclusion for overlay themes; abstracted meta words replacement 2018-08-30 19:14:08 +03:00
Jamie Cameron
60fe7b2362 Logs to syslog can't be directly viewed https://sourceforge.net/p/webadmin/bugs/5186/ 2018-08-29 21:14:12 -07:00
Jamie Cameron
725dce5f53 Skip invalid IPv4 or v6 addresses 2018-08-29 17:22:55 -07:00
Jamie Cameron
95022b57d8 Respect monitor-level timeout https://sourceforge.net/p/webadmin/bugs/5185/ 2018-08-29 16:57:15 -07:00
Jamie Cameron
a2e984175e Make it possible for callers to set a zero timeout, meaning none at all 2018-08-29 16:53:35 -07:00
Jamie Cameron
15e721a994 Bulgarian translation update 2018-08-28 17:12:30 -07:00
Jamie Cameron
a9596b5ef8 Stop stripping off first virtual IP address in ip addr output on CentOS 6 https://www.virtualmin.com/node/58191 2018-08-26 18:57:37 -07:00
Jamie Cameron
b0cf57f75a Theme may not be included 2018-08-26 13:31:26 -07:00
Jamie Cameron
9a3c525e56 New dev version bump 2018-08-26 13:18:16 -07:00
Jamie Cameron
2e3830323b Add missing icons https://github.com/webmin/webmin/issues/956 2018-08-26 11:18:44 -07:00
Jamie Cameron
5e76fa8cdd Merge branch 'master' of git@github.com:webmin/webmin 2018-08-26 10:29:48 -07:00
Jamie Cameron
76532de5ac Add extra checks that config dir is valid https://sourceforge.net/p/webadmin/bugs/5184/ 2018-08-26 09:45:57 -07:00
Jamie Cameron
572586b822 Merge pull request #959 from gnadelwartz/master
small changes to update-from-repo.sh
2018-08-24 22:34:51 -07:00
Kay Marquardt (Gnadelwartz)
0a44f51616 small changes to update-from-repo.sh 2018-08-24 15:43:38 +02:00
Ilia Rostovtsev
c40230d1db Don't double encode data and don't enforce charset 2018-08-23 14:05:21 +03:00
Jamie Cameron
eb21942b60 Revert "No need to freeze and thaw when reloading, we we now do that earlier"
This reverts commit aed885b090.
2018-08-22 19:01:12 -07:00
Ilia Rostovtsev
73de1824db Improve error message response text for JSON:PP 2018-08-23 00:13:27 +03:00
Ilia Rostovtsev
19c5851911 Fix to handle errors properly 2018-08-23 00:08:51 +03:00
Ilia Rostovtsev
8ba9426af1 Add convert_to_json() and print_json() subroutines 2018-08-23 00:00:16 +03:00
Jamie Cameron
dff2db9cd8 Merge branch 'master' of git@github.com:webmin/webmin 2018-08-21 21:12:01 -07:00
Jamie Cameron
4b2dae014c Skip CD mounts 2018-08-21 20:46:53 -07:00
Jamie Cameron
8afea99e0c Merge pull request #953 from mnoorenberghe/patch-3
Always define STATUS_* variables in status monitoring messages
2018-08-20 18:43:30 -07:00
Matt N
ec612f9d10 Always define STATUS_* variables in status monitoring messages
The corresponding IF- variables also wouldn't be defined either so there was no way to avoid literal STATUS_* output for monitors which didn't provide useful values for these variables.
2018-08-19 22:48:08 -07:00
Jamie Cameron
540349d89e German updates 2018-08-18 22:46:16 -07:00
Jamie Cameron
978a8b2254 Bulgarian updates 2018-08-18 22:45:47 -07:00
Jamie Cameron
64dc9e5917 Bulgarian updates 2018-08-18 22:45:31 -07:00
Jamie Cameron
361603aed5 --cstate is a valid arg https://github.com/webmin/webmin/issues/948 2018-08-18 22:28:52 -07:00
Jamie Cameron
bee7bfbed5 Support modern interface names https://github.com/webmin/webmin/issues/803 2018-08-18 22:14:55 -07:00
Jamie Cameron
3b94ed28bc Add Raspbian support 2018-08-15 23:14:43 -07:00
Jamie Cameron
c1affd6a44 Allow : in sasl password https://sourceforge.net/p/webadmin/bugs/5178/ 2018-08-15 22:58:12 -07:00
Jamie Cameron
3ba0297064 Fix typo 2018-08-14 23:42:16 -07:00
Jamie Cameron
0ec818b517 Fix merge 2018-08-14 21:55:34 -07:00
Jamie Cameron
686e8f89da Avoid perl warnings 2018-08-14 21:20:00 -07:00
Jamie Cameron
d984acd134 Version isn't in the pattern 2018-08-10 14:49:06 -07:00
Ilia Rostovtsev
95ab22916f Fix to remove trailing literal dot from the match 2018-08-10 13:39:00 +03:00
Jamie Cameron
c24070ff0c Properly handle IPv6 adddresses with a / 2018-08-09 22:44:40 -07:00
Jamie Cameron
d8af7aa676 Merge branch 'master' of git@github.com:webmin/webmin 2018-08-09 21:30:13 -07:00
Jamie Cameron
fcc25a1494 Support version 4.x 2018-08-09 21:20:41 -07:00
Ilia Rostovtsev
ef023211b7 Fix not to log deleted files in File Manager 2018-08-09 19:02:05 +03:00
Jamie Cameron
9b4e2d87b0 Use the first DEFAULT section rather than a random one https://github.com/authentic-theme/authentic-theme/issues/1180 2018-08-08 23:56:49 -07:00
Jamie Cameron
4790ddf66e Don't include local settings files 2018-08-07 19:58:42 -07:00
Jamie Cameron
fd4377b22b Deal with an unusual ip addr format seen on CentOS 6 https://www.virtualmin.com/node/58191 2018-08-06 11:46:11 -07:00
Jamie Cameron
9b0c3ed663 Minor version bump 2018-08-06 11:23:55 -07:00
Jamie Cameron
a6866bf544 Put back file with change to setup collection at boot 2018-08-04 18:55:58 -07:00
Jamie Cameron
693a40452d test delete 2018-08-04 18:55:10 -07:00
Jamie Cameron
45f6e90469 New biome type 2018-08-04 18:52:01 -07:00
Jamie Cameron
673b1806a6 Show more progress messages 2018-08-04 18:48:58 -07:00
Jamie Cameron
748e94a9d2 Also collect status at boot time 2018-08-04 18:41:16 -07:00
Jamie Cameron
11c77308da Recommend perl modules for DNSSEC https://www.virtualmin.com/node/58199 2018-08-01 17:13:29 -08:00
Jamie Cameron
cd7be8b2ac Merge pull request #949 from mickey-happygolucky/master
Fix device name of mmc on Edit Partition.
2018-08-01 16:56:37 -08:00
Yusuke Mitsuki
71974fecc0 Fix device name of mmc on Edit Partition.
The name of mmc device should be such as mmcblk0p1 but now mmcblk01.
If device name is incorrect the filesystem create will be failed.

Signed-off-by: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
2018-08-01 01:16:44 +09:00
Jamie Cameron
976fb63966 Cannot just accept all ICMP6 traffc without specifying a type https://www.virtualmin.com/node/56771 2018-07-29 18:55:51 -07:00
Jamie Cameron
40c79d6dbe Merge branch 'master' of git@github.com:webmin/webmin 2018-07-29 18:29:47 -07:00
Jamie Cameron
c6259d4d7f Only show missing modules 2018-07-29 18:28:04 -07:00
Jamie Cameron
b824e8c98f Preserve dhcp6 option 2018-07-29 17:13:44 -08:00
Jamie Cameron
9e23d7b964 Merge branch 'master' of git@github.com:webmin/webmin 2018-07-26 16:41:53 -07:00
Jamie Cameron
64e7589e30 Fix misnamed dhcp4 directive https://www.virtualmin.com/node/58203 2018-07-26 16:40:50 -07:00
Ilia Rostovtsev
e31e501db5 Fix processing flags for Maildir storage format
There are cases when there is no `file` key on `%mail` hash. This patch will take care of it. I suppose that it would also be possible to inject `file` into `%mail` hash on `mailbox_list_mails` subroutine but it's not clear if this is the right way.
2018-07-26 15:44:48 +03:00
Jamie Cameron
2a18415aee Deal with interface names like en3s5 https://sourceforge.net/p/webadmin/bugs/5164/ 2018-07-25 23:14:41 -07:00
Jamie Cameron
e6e54ba661 Merge pull request #946 from kosugikun/master
Add Japanese translation file
2018-07-25 15:19:25 -07:00
kosugikun
48b31fe429 アップデート 2018-07-25 09:30:21 +09:00
Jamie Cameron
9eef590d0f Remove un-necessary MD5 check https://github.com/webmin/webmin/issues/942#issuecomment-406822456 2018-07-22 12:13:52 -07:00
Jamie Cameron
e65c401998 Remove extra comma 9b01780508 (commitcomment-29784931) 2018-07-22 12:03:33 -07:00
Jamie Cameron
c90c499ff6 Addresses with colons also need quoting https://github.com/webmin/webmin/issues/930 2018-07-20 11:09:15 -07:00
Jamie Cameron
9b01780508 Support parsing and saving of quoted addresses https://github.com/webmin/webmin/issues/930 2018-07-20 11:08:25 -07:00
Jamie Cameron
e0621384a9 Support netplan systems properly https://github.com/webmin/webmin/issues/941 2018-07-20 10:57:34 -07:00
Jamie Cameron
10b2aa7f4b Why closedir twice 2018-07-19 22:38:17 -07:00
Jamie Cameron
d837ff2b65 Fix perl warnings 2018-07-11 21:14:12 -07:00
Jamie Cameron
53b4494c9d Fix perl warnings 2018-07-11 21:13:11 -07:00
Jamie Cameron
5281a580b5 Fix perl errors 2018-07-11 21:11:01 -07:00
Jamie Cameron
8c90ed3be4 Applying will already work 2018-07-11 17:46:44 -07:00
Jamie Cameron
a06f6010db Don't assume that interface numbers in 'ip addr' output are in order 2018-07-11 17:39:16 -07:00
Jamie Cameron
b956aad6d5 Support optional flag 2018-07-11 17:16:36 -07:00
Jamie Cameron
7d23bb1aff More work on netplan support for DNS 2018-07-08 23:27:04 -07:00
Jamie Cameron
509d7981c7 Allow editing of IPv6 source address for transfers https://github.com/webmin/webmin/issues/936 2018-07-08 19:11:26 -07:00
Jamie Cameron
82bd7501d1 Don't create files with * in the name https://github.com/webmin/webmin/issues/935 2018-07-08 14:26:55 -07:00
Jamie Cameron
52203257be MTU can't be edited, but MAC address can 2018-07-07 12:47:43 -07:00
Jamie Cameron
b4dbbd9827 Default gateway support 2018-07-07 12:37:09 -07:00
Jamie Cameron
b023875d2a Fix UTF-8 module descriptions https://github.com/webmin/webmin/issues/934 2018-07-07 11:55:24 -07:00
Jamie Cameron
cf9eaaa09b Instead of copying fields to the new interface object, just duplicate it 2018-07-06 16:24:10 -07:00
Jamie Cameron
dc8319ac1c major version bump 2018-07-06 10:42:02 -07:00
Jamie Cameron
065a4ddbee Remove un-needed dollar sign 2018-07-06 10:41:31 -07:00
Jamie Cameron
263ecad1ff More work on interface editing 2018-07-05 15:59:08 -07:00
Jamie Cameron
b4a3473de0 Interface editing now working 2018-07-05 14:54:51 -07:00
Jamie Cameron
9de4284ab7 Add support for AT&T MMS service https://github.com/webmin/webmin/issues/932 2018-07-04 16:30:39 -07:00
Jamie Cameron
dbe8bfb7d6 Newer perl versions require that { in regexps be escaped 00~hs://github.com/webmin/webmin/issues/933#i33 2018-07-04 15:56:38 -07:00
Jamie Cameron
b776fad00a Fix more use of .. in include path 2018-07-04 12:24:02 -07:00
Jamie Cameron
ab5e00e41e core libraries are in the same directory https://www.virtualmin.com/node/57524 2018-07-04 11:58:35 -07:00
Jamie Cameron
0ae9b58669 Log execution of scheduled functions 2018-06-30 17:00:22 -07:00
Jamie Cameron
ed88a51ed1 Code for saving interfaces 2018-06-24 22:02:15 -07:00
Jamie Cameron
4ffda8b271 Code for saving netplan interfaces 2018-06-24 20:01:14 -07:00
Jamie Cameron
a9038e5076 Feedback system has been deleted, so remove special functions for it 2018-06-24 19:14:51 -07:00
Jamie Cameron
5ae3478244 Re-check postfix version if config command has changed 2018-06-24 19:11:02 -07:00
Jamie Cameron
85eb8174e6 Use the correct function to enable at boot 2018-06-24 19:09:25 -07:00
Jamie Cameron
fd7c208fa9 More work on netplan support 2018-06-24 19:08:06 -07:00
Jamie Cameron
a90a143128 Don't print error if there is none https://sourceforge.net/p/webadmin/bugs/5143/ 2018-06-24 16:43:33 -07:00
Jamie Cameron
09c72e1684 ASP files are editable https://www.virtualmin.com/node/57523 2018-06-23 12:43:48 -07:00
Jamie Cameron
d0782103e8 ASP files are text files https://www.virtualmin.com/node/57523 2018-06-23 12:36:47 -07:00
Jamie Cameron
cf75e66c5e Flush zone file before reading https://github.com/webmin/webmin/issues/870 2018-06-19 21:21:26 -07:00
Jamie Cameron
e166f3f95f Size can have a < before it https://www.virtualmin.com/node/57479 2018-06-18 21:25:47 -07:00
Jamie Cameron
c0b340f5b6 Work on reading netplan DNS configs 2018-06-17 22:52:07 -07:00
Jamie Cameron
a74db9194f Fixes to config file parsing 2018-06-16 16:16:01 -07:00
Jamie Cameron
af9b836f83 More work on required functions for netplan 2018-06-16 14:23:52 -07:00
Jamie Cameron
a6ade1804e Early work on Ubuntu 18's netplan config format 2018-06-16 14:16:18 -07:00
Jamie Cameron
a8f3f18452 Use ip command in preference, as ifconfig doesn't include all IPs 2018-06-10 16:08:48 -07:00
Jamie Cameron
cd82618485 Bulgarian translation update from Grigor gatchev 2018-06-10 11:11:25 -07:00
Jamie Cameron
f747767aa7 Don't drop twofactor user attributes in LDAP / MySQL mode https://sourceforge.net/p/webadmin/bugs/5070 2018-06-05 18:29:27 -07:00
Jamie Cameron
1189a9d56c Load the theme library 2018-06-05 13:35:20 -07:00
Jamie Cameron
305fe84b4f test 2018-06-05 13:34:26 -07:00
Jamie Cameron
def81a49f7 load theme library just in case 2018-06-05 11:08:17 -07:00
Ilia Rostovtsev
9444247170 Fix typos 2018-06-05 18:24:44 +03:00
Ilia Rostovtsev
17ddccc1e8 Fix to use alpha-transparency for row border to support dark themes 2018-06-04 12:47:48 +03:00
Ilia Rostovtsev
da9518deea Fix to show table in full width 2018-06-04 12:34:02 +03:00
Ilia Rostovtsev
a4df781c75 Fix excessive escaping in Quota module for sizes 2018-06-04 11:55:01 +03:00
Ilia Rostovtsev
9fdef1e659 Update with new username 2018-06-04 11:13:44 +03:00
Ilia Rostovtsev
f6f46eac94 Fix to check for theme_nice_size before declaring variables 2018-06-04 11:01:51 +03:00
Jamie Cameron
82dca72335 Allow web-only theme specific override of nice_size 2018-06-03 15:46:09 -07:00
Jamie Cameron
b04ee700d0 Use new UI function https://sourceforge.net/p/webadmin/bugs/5134/ 2018-06-02 15:42:06 -07:00
Jamie Cameron
9f952f7455 Add support for header that stops autoreplies to forwarded email 2018-06-02 12:34:44 -07:00
Jamie Cameron
67fb4564f8 Don't complain about missing my.cnf if mysql is remote 2018-06-02 12:34:04 -07:00
Jamie Cameron
6ce3b10327 Add support for the conntrack module on 3.x kernels https://github.com/webmin/webmin/issues/434 2018-06-02 12:33:07 -07:00
Jamie Cameron
6bb264338d Better handle null timestamps https://github.com/webmin/webmin/issues/921#issuecomment-393014169 2018-05-29 21:21:37 -07:00
Jamie Cameron
bedb20168b Might be called in webmin 2018-05-28 17:00:25 -07:00
Jamie Cameron
23dabec22b Support detected of openSUSE Leap https://sourceforge.net/p/webadmin/bugs/5130/ 2018-05-28 15:25:17 -07:00
Jamie Cameron
78d799c3fe Use full path, just in case . isn't in the path https://www.virtualmin.com/node/57286 2018-05-28 14:34:51 -07:00
Jamie Cameron
3a99dfe3b6 Bulgarian translation update from Grigor gatchev 2018-05-25 22:24:56 -07:00
Jamie Cameron
c006a96ca0 Fix incorect function name 2018-05-25 22:09:55 -07:00
Jamie Cameron
bfaa5ba983 More gracefully handle missing MD5 module 2018-05-25 16:11:03 -07:00
Jamie Cameron
309580da7d Unix is the correct case 2018-05-22 22:35:01 -07:00
Jamie Cameron
8b288b9e90 Merge branch 'master' of git@github.com:webmin/webmin 2018-05-22 22:30:48 -07:00
Jamie Cameron
4419a655fd Samba is the correct case 2018-05-22 22:29:03 -07:00
Jamie Cameron
dbf9184236 Fix case 2018-05-21 23:07:10 -07:00
Jamie Cameron
8152261162 Merge pull request #920 from qooob/patch-29
Print dev version nicely
2018-05-21 22:59:10 -07:00
Jamie Cameron
9962949f45 Include UID in temp dir https://github.com/webmin/webmin/issues/919 2018-05-21 17:07:36 -07:00
Ilia Rostovtsev
d6b8fd7583 Print dev version nicely
When installed from repo, instead of having `1.88305210044` all over UI, let's have `1.883.0521.0044 `.
2018-05-21 13:15:25 +03:00
Jamie Cameron
e0106e0396 Fix typo 2018-05-20 21:44:48 -07:00
Jamie Cameron
76cc734aeb Allow preview length to be customized https://github.com/webmin/usermin/issues/40 2018-05-19 12:54:09 -07:00
Jamie Cameron
5000332306 Bulgarian translation update from Grigor gatchev 2018-05-18 19:09:14 -07:00
Jamie Cameron
525db8ff5d add option to hide index.cgi process 2018-05-18 15:41:36 -07:00
Jamie Cameron
c6e6128f23 Catalan update 2018-05-16 17:39:10 -07:00
Jamie Cameron
a24f27040e Catalan updates from Jaume Badiella 2018-05-16 17:34:47 -07:00
Jamie Cameron
0f4ae53df7 Catalan updates from Jaume Badiella 2018-05-16 17:33:49 -07:00
Jamie Cameron
6a6b76e830 new dev version bump 2018-05-16 15:34:03 -07:00
Jamie Cameron
3881c6a9f8 fix typo 2018-05-15 21:37:42 -07:00
Jamie Cameron
b8d7e277f3 Fix MySQL 8 version detection https://sourceforge.net/p/webadmin/bugs/5125/ 2018-05-13 15:37:40 -07:00
Jamie Cameron
f8a0ee5892 Bulgarian translation update from Grigor gatchev 2018-05-09 21:47:14 -07:00
Jamie Cameron
a1ba23622f Merge pull request #916 from swelljoe/master
Ubuntu 17 and 18 detection
2018-05-09 20:38:19 -07:00
Joe Cooper
d72c2fb2e1 Ubuntu 17 and 18 detection 2018-05-09 02:46:50 -05:00
Jamie Cameron
85fa1722a1 Allow use of # comment lines https://github.com/webmin/webmin/issues/915 2018-05-07 17:03:33 -07:00
Jamie Cameron
41a8a7d0d0 Remove obsolete clashing help files https://github.com/webmin/webmin/issues/914 2018-05-07 15:38:54 -07:00
Jamie Cameron
5d3c794b80 Fix permission checks for adding users to group https://sourceforge.net/p/webadmin/bugs/5123/ 2018-05-06 22:03:54 -07:00
Jamie Cameron
e508ff3e66 Remove un-needed source code, as it's all includde in the tar.gz file https://github.com/webmin/webmin/issues/914 2018-05-06 18:16:14 -07:00
Jamie Cameron
fbde2ccc8b https is a protocol too https://www.virtualmin.com/node/57024 2018-05-04 21:51:04 -07:00
Jamie Cameron
0852a8908f Fix handling of missing my.cnf file when using remote mysql https://sourceforge.net/p/webadmin/bugs/4578/ 2018-05-04 21:33:22 -07:00
Jamie Cameron
007da043c5 Add SMTP client TLS options https://github.com/webmin/webmin/issues/913 2018-05-01 13:58:24 -07:00
Jamie Cameron
ab02f88da7 Document why MYSQL_PWD may not work https://www.virtualmin.com/node/56959 2018-05-01 13:28:59 -07:00
Jamie Cameron
8f1bba0773 Handle missing file case https://github.com/webmin/webmin/issues/912 2018-05-01 11:19:54 -07:00
Jamie Cameron
72ea3e27be dev version bump 2018-04-29 11:54:39 -07:00
Jamie Cameron
9079be4b0d Don't run output through tac if there is no output https://github.com/webmin/webmin/issues/912 2018-04-29 10:41:08 -07:00
Jamie Cameron
0eb45125c8 Only call theme make_date override when on a web page https://github.com/webmin/webmin/issues/904 2018-04-28 13:31:49 -07:00
Jamie Cameron
9d1fba6c64 Only call theme make_date override when on a web page https://github.com/webmin/webmin/issues/904 2018-04-28 13:31:11 -07:00
Jamie Cameron
4230d63aea Use PrintHeader to generate the header 2018-04-28 13:29:15 -07:00
Jamie Cameron
bb6a05afb3 Store content type in main::header_content_type variable https://github.com/webmin/webmin/issues/904 2018-04-28 13:26:25 -07:00
Jamie Cameron
c91f86b86b Bulgarian translation update from Grigor gatchev 2018-04-27 21:02:45 -07:00
Jamie Cameron
99bbc180eb Fix parsing of multi-line rules 2018-04-24 22:22:10 -07:00
Jamie Cameron
946a11c080 Bulgarian translation update from Grigor gatchev 2018-04-23 20:56:03 -07:00
Jamie Cameron
aed885b090 No need to freeze and thaw when reloading, we we now do that earlier 2018-04-22 16:57:55 -07:00
Jamie Cameron
fc1b26cacd Add extra check that /tmp permissions make sense https://www.virtualmin.com/node/56810 2018-04-22 14:13:23 -07:00
Jamie Cameron
6d0c84541f Skip debian questions 2018-04-22 11:49:11 -07:00
Jamie Cameron
8a490e3206 Add extra check to prevent over-writing of global config https://github.com/webmin/webmin/issues/755 2018-04-22 11:42:03 -07:00
Jamie Cameron
15923acba4 Bulgarian translation update from Grigor gatchev 2018-04-21 19:13:38 -07:00
Jamie Cameron
1b4cb64d38 MIME-encode headers properly when editing filters 2018-04-21 13:26:59 -07:00
Jamie Cameron
f336fffcff Do all requires just once 2018-04-21 12:12:16 -07:00
Jamie Cameron
9f03709dfb Remove useless -lib files 2018-04-21 12:00:38 -07:00
Jamie Cameron
8c2e61faae Gracefully handle failure to download a chained cert https://www.virtualmin.com/node/56871 2018-04-19 17:57:38 -07:00
Jamie Cameron
ada5692d59 Install date is safe https://github.com/webmin/webmin/issues/901 2018-04-19 17:52:26 -07:00
Jamie Cameron
e4eca67a48 Dovecot 2.2+ has deprecated ssl_ca_file and similar https://sourceforge.net/p/webadmin/bugs/5117/ 2018-04-16 16:30:01 -07:00
Jamie Cameron
3d06c34a59 German translation updates from Raymond Vetter 2018-04-15 11:45:39 -07:00
Jamie Cameron
9b170619ab Merge branch 'master' of git@github.com:webmin/webmin 2018-04-15 11:42:22 -07:00
Jamie Cameron
b68224d86d Fix case 2018-04-15 11:37:12 -07:00
Jamie Cameron
e9b859dea0 Bulgarian translation update from Grigor gatchev 2018-04-15 11:36:40 -07:00
Jamie Cameron
1aea9e69ef Merge pull request #897 from gnadelwartz/update
fix synology regex
2018-04-15 11:27:30 -07:00
Jamie Cameron
6164b059cd Fix logic for detection of number of partitions used https://sourceforge.net/p/webadmin/bugs/5113/ 2018-04-15 11:25:25 -07:00
Gnadelwartz
f320b4b551 fix synology regex 2018-04-15 12:54:21 +02:00
Jamie Cameron
1257fcb22c Fix typo 2018-04-14 13:53:39 -07:00
Jamie Cameron
c8cc18343b Clarify the meaning of an empty partition table 2018-04-14 13:50:35 -07:00
Jamie Cameron
1e17d3de19 Don't escape un-necessarily https://sourceforge.net/p/webadmin/bugs/5114/ 2018-04-12 14:25:31 -07:00
Jamie Cameron
89a1e6be49 Drop versions not supported in 5.0.4 and above 2018-04-10 20:58:59 -07:00
Jamie Cameron
391d5d1938 Danish translation from Michael Andreasson 2018-04-09 23:19:24 -07:00
Jamie Cameron
55b0c5c29c Danish translation from Michael Andreasson 2018-04-09 23:18:55 -07:00
Jamie Cameron
a5a2cf1619 Danish translation from Michael Andreasson 2018-04-09 23:18:49 -07:00
Jamie Cameron
5146fc7667 If already frozen, don't re-freeze 2018-04-08 18:12:54 -07:00
Jamie Cameron
51c45c1dec Use exit handler to unfreeze zones 2018-04-08 17:47:01 -07:00
Jamie Cameron
666ef8bfd3 Use /etc/os-release on Debian https://github.com/webmin/webmin/issues/892 2018-04-08 14:54:36 -07:00
Jamie Cameron
10fd14f3eb Make /etc/os-release available to OS detection list https://github.com/webmin/webmin/issues/892 2018-04-08 14:48:35 -07:00
Jamie Cameron
17f6c966c1 Fix alignment 2018-04-08 11:49:45 -07:00
Jamie Cameron
b92747410a Include missing library https://virtualmin.com/node/56771 2018-04-07 16:56:16 -07:00
Jamie Cameron
8956779466 Merge pull request #891 from chrstphrchvz/patch-1
add macOS 10.13
2018-04-07 16:52:59 -07:00
Jamie Cameron
94d20c085c Merge branch 'master' of git@github.com:webmin/webmin 2018-04-07 13:46:15 -07:00
Jamie Cameron
2d3e76de67 Only escape if there are regexp characters https://github.com/webmin/usermin/issues/37 2018-04-07 13:45:22 -07:00
Christopher Chavez
3aea4888c6 add macOS 10.13 2018-04-06 08:37:08 -05:00
Jamie Cameron
625c922705 Merge pull request #890 from qooob/master
Fix to respect vendor-specific (rar) MIME type #702
2018-04-05 21:07:34 -07:00
Jamie Cameron
903ffeb065 Suppress another echo on upgrade 2018-04-05 19:57:17 -07:00
Ilia Rostovtsev
39435df534 Fix to respect vendor-specific (rar) MIME type https://github.com/webmin/webmin/issues/702 2018-04-05 15:19:26 +03:00
Jamie Cameron
85109a14a7 only show message on install 2018-04-04 22:17:59 -07:00
Jamie Cameron
5f1fcb9dcc Merge branch 'master' of git@github.com:webmin/webmin 2018-04-04 22:09:20 -07:00
Jamie Cameron
3a0baa8cbb Set security flag if source is something like Xenial-security https://virtualmin.com/node/56442 2018-04-04 22:06:14 -07:00
Jamie Cameron
2ccd2fefda Bulgarian update from Grigor gatchev 2018-04-03 22:33:39 -07:00
Jamie Cameron
0a2e59a7ab API to register error exit functions 2018-04-02 22:05:19 -07:00
Jamie Cameron
9ab770d706 Merge pull request #888 from edgarasg/patch-1
Change body charset to UTF
2018-04-02 19:21:47 -07:00
Edgaras Giedrė
4adc8ec774 Change body charset to UTF 2018-04-02 16:42:25 +03:00
Jamie Cameron
b482c831c3 Add missing section header 2018-04-01 15:26:24 -07:00
Jamie Cameron
303a7bd04d Support rock-format caches 2018-03-31 21:36:34 -07:00
Jamie Cameron
71eb845147 Arabic translation update 2018-03-31 11:12:20 -07:00
Jamie Cameron
3ada37b57c Use generic service command on latest Ubuntu version 2018-03-31 10:58:00 -07:00
Jamie Cameron
4e5e28ab7d Merge branch 'master' of git@github.com:webmin/webmin 2018-03-30 22:49:34 -07:00
Jamie Cameron
b3f14341d3 Merge pull request #887 from gnadelwartz/software
provide setup.bat for windows installation
2018-03-30 22:45:30 -07:00
Jamie Cameron
d7a4418240 Improve checking for missing config 2018-03-30 22:35:52 -07:00
Gnadelwartz
ea1d6126bc fix missing " in makedist.pl 2018-03-29 17:27:57 +02:00
Gnadelwartz
a216fea59a add setup.bat to makedist.pl 2018-03-29 17:24:09 +02:00
Gnadelwartz
7976e30f32 check for process.exe 2018-03-29 17:00:59 +02:00
Gnadelwartz
5f271756fa provide setup.sh for windows installation 2018-03-29 16:49:32 +02:00
Jamie Cameron
db92fa36ff Merge pull request #885 from gnadelwartz/software
fix (ipkg) tree view
2018-03-28 21:27:21 -07:00
Gnadelwartz
c54564e4c3 use categories provided by ipkg info 2018-03-28 10:38:02 +02:00
Gnadelwartz
7c69fa77e5 fix (ipkg) tree view 2018-03-28 10:00:03 +02:00
Jamie Cameron
944c6590b0 Merge pull request #884 from gnadelwartz/update
more save usermin/webmin detection, thanks to @qooob
2018-03-27 21:51:57 -07:00
Kay Marquardt
105b2ae185 Merge pull request #1 from gnadelwartz/update
more save usermin/webmin detection, thanks to @qooob
2018-03-27 13:06:19 +02:00
Kay Marquardt (Gnadelwartz)
8b7da76d0b more save usermin/webmin detection, thanks to @qooob 2018-03-27 13:05:06 +02:00
Jamie Cameron
ab6e4472fb Exclude packages already being updated from lists of updates 2018-03-26 17:18:49 -07:00
Jamie Cameron
9429f00554 Fail fast if not in fast RPC mode 2018-03-26 17:00:19 -07:00
Jamie Cameron
252fcb8563 Support NVME SSDs http://virtualmin.com/node/56231 2018-03-26 16:42:40 -07:00
Jamie Cameron
71024e59cc Fix searching when user can only view extra log files https://www.virtualmin.com/node/56500 2018-03-24 17:24:51 -07:00
Jamie Cameron
c6ad8d9530 Merge branch 'master' of git@github.com:webmin/webmin 2018-03-24 12:51:28 -07:00
Jamie Cameron
afe52ba9f8 Fix HTML form nesting https://sourceforge.net/p/webadmin/bugs/5098/ 2018-03-24 12:50:12 -07:00
Jamie Cameron
8396d61f03 Merge pull request #878 from gnadelwartz/patch-1
shorter german menu entry for "Language and Theme"
2018-03-23 21:47:22 -07:00
Jamie Cameron
68f5d58d65 Merge branch 'master' of git@github.com:webmin/webmin 2018-03-23 21:37:27 -07:00
Jamie Cameron
db243c8305 Support new squid config paths on Ubuntu 16 2018-03-23 21:30:32 -07:00
Kay Marquardt
ed5ee215fd Update module.info.de 2018-03-22 18:48:29 +01:00
Kay Marquardt
03d4de2171 shoter menu entry 2018-03-22 18:47:39 +01:00
Jamie Cameron
58c38ca38c Merge pull request #880 from R3freshReload/patch-2
Postfix 2.2 and up mysql notation support
2018-03-21 21:10:43 -07:00
Daniel Seifert
e213bac361 Update postfix-lib.pl
Fixed postfix aliases not supporting postfix >= 2.2 notation when path to mysql-alias config starts with . or /
2018-03-21 19:02:03 +01:00
Daniel Seifert
d72b25885e Update postfix-lib.pl
Fixed Virtual Domain list not supporting postfix >= 2.2 notation
2018-03-21 18:57:38 +01:00
Daniel Seifert
b7b43db1f8 Update postfix-lib.pl
Postfix version >= 2.2 regex should be select\s+(\S+)\s+from\s+(\S+)\s+where\s+(\S+)\s*=\s*'\%s' so you can use WHERE a=%s. Otherwhise you would need to use whitespaces.
2018-03-21 17:32:09 +01:00
Jamie Cameron
f450575408 Merge pull request #875 from R3freshReload/master
Update save_report.cgi
2018-03-20 23:11:20 -07:00
Jamie Cameron
0b490ddbf2 Headers is local to the log function https://www.virtualmin.com/node/5493501 2018-03-20 23:06:22 -07:00
Kay Marquardt
97bb987037 fix typo in menu entry 2018-03-20 11:13:11 +01:00
Kay Marquardt
f951c11029 fix reference to german menu entry 2018-03-20 11:11:42 +01:00
Kay Marquardt
0522e74d92 shorter german menu entry for "Language and Theme" 2018-03-20 11:05:45 +01:00
Jamie Cameron
ee0b68a0ac Config option to disable directory listijng https://github.com/webmin/webmin/issues/874 2018-03-19 20:47:53 -07:00
Daniel Seifert
46ee02bcd4 Update save_report.cgi
Fixed error on Spamassassin settings save due to typo.
2018-03-19 06:36:30 +01:00
Jamie Cameron
506b4111fc Record updates in progress 2018-03-18 18:47:52 -07:00
Jamie Cameron
0503f26abf Freeze and thaw zones when editing https://github.com/webmin/webmin/issues/870 2018-03-18 17:25:40 -07:00
Jamie Cameron
8a56461b4f Merge branch 'master' of git@github.com:webmin/webmin 2018-03-18 00:07:59 -07:00
Jamie Cameron
d271944f41 remove debug message 2018-03-17 23:58:23 -07:00
Jamie Cameron
a100ca28a0 Merge pull request #868 from gnadelwartz/software
add support for old opkg instead of ipkg
2018-03-17 18:01:54 -07:00
Jamie Cameron
7fe3dee247 Merge pull request #873 from gnadelwartz/update
more saftey checks and warnings
2018-03-17 17:59:29 -07:00
Gnadelwartz
2468e19898 more saftey checks and warnings 2018-03-17 18:57:24 +01:00
Gnadelwartz
cce005d4af fix german longdesc 2018-03-16 08:45:52 +01:00
Gnadelwartz
ace32629fc add support for old opkg instead of ipkg 2018-03-16 08:41:17 +01:00
Jamie Cameron
13889515ea Set correct permissions on cron files when using direct write mode 2018-03-15 19:51:24 -07:00
Jamie Cameron
1d36141bd5 Use error-free cat command 2018-03-15 19:49:20 -07:00
Jamie Cameron
b281eec58a Remove un-used config option 2018-03-15 15:15:19 -07:00
Jamie Cameron
99e7f91a07 Fix drop-down selector 2018-03-15 15:00:04 -07:00
Jamie Cameron
eca8a03893 Minor version bump 2018-03-15 13:48:16 -07:00
Jamie Cameron
e82219e927 Merge branch 'master' of git@github.com:webmin/webmin 2018-03-15 13:45:52 -07:00
Jamie Cameron
79d5616678 Handle case where cron_edit_command is set, but doesn't exist 2018-03-15 13:45:36 -07:00
Jamie Cameron
73214bdd83 Merge pull request #688 from ChriZathens/patch-4
Update acl/lang/gr
2018-03-13 22:35:51 -07:00
Jamie Cameron
a43218090c Merge pull request #844 from Kleofass/patch-2
language code for Latvian
2018-03-13 22:35:15 -07:00
Jamie Cameron
89beabb67e Merge pull request #853 from gnadelwartz/update
fix -repo option, add check for curl existing
2018-03-13 22:34:49 -07:00
Jamie Cameron
2258c2dd4e Merge pull request #861 from qooob/patch-26
Prevent elements with the same id
2018-03-13 22:34:36 -07:00
Jamie Cameron
82540a87e7 Test with cron command that is run as root 2018-03-13 22:33:43 -07:00
Jamie Cameron
1fe65d4e44 Fix creation of module.info.XX.UTF-8 files 2018-03-13 22:27:09 -07:00
Jamie Cameron
d28f4faf27 Merge branch 'master' of git@github.com:webmin/webmin 2018-03-13 22:10:04 -07:00
Jamie Cameron
e92a3552b2 Check the actual command that is run https://www.virtualmin.com/node/56380 2018-03-13 22:04:54 -07:00
Jamie Cameron
f4913d6dd3 Merge pull request #860 from qooob/patch-27
Prevent elements with the same id
2018-03-13 21:05:42 -07:00
Jamie Cameron
79b164dd9e Merge pull request #864 from qooob/patch-28
Enable editor for .SQL files
2018-03-13 21:05:15 -07:00
Ilia Rostovtsev
b4fcb51f29 Enable editor for .SQL files
https://virtualmin.com/node/56404
2018-03-13 12:02:03 +03:00
Ilia Rostovtsev
5655e25c1a Prevent elements with the same id
In AJAX mode, the browser will always return same-id error.
2018-03-12 15:25:03 +03:00
Ilia Rostovtsev
622563bde0 Prevent elements with the same id
In AJAX mode, the browser will always return same-id error.
2018-03-12 15:23:08 +03:00
Jamie Cameron
2f7b7b9f6c cleanup any lets-encrypt directories that were created as part of a cert request https://www.virtualmin.com/node/56353 2018-03-11 15:34:31 -07:00
Jamie Cameron
7b9fff0010 Use the right function name 2018-03-11 15:06:21 -07:00
Jamie Cameron
938db3252b Replace os-specific check for existence of crontab with actual check for the command https://www.virtualmin.com/node/56355 2018-03-11 15:03:31 -07:00
Jamie Cameron
d4dd54406f Fix more form/table nestings in the cluster software module https://github.com/webmin/webmin/issues/784 2018-03-11 12:04:38 -07:00
Jamie Cameron
ef3fdfffb2 Fix more form/table nestings https://github.com/webmin/webmin/issues/784 2018-03-11 11:59:56 -07:00
Gnadelwartz
f8cff62b1c authentic does not support alternative repo, cleanup 2018-03-10 16:44:09 +01:00
Gnadelwartz
b4971173db check for develop dir and exit 2018-03-10 15:35:25 +01:00
Gnadelwartz
e44eaa4bb6 check for existence of curl, requested by Qooob 2018-03-10 15:23:29 +01:00
Gnadelwartz
3e916dd16f fix -repo 2018-03-10 13:26:53 +01:00
Jamie Cameron
deefb036f6 Fix even more broken forms https://github.com/webmin/webmin/issues/784 2018-03-09 15:25:52 -08:00
Jamie Cameron
15724f4f50 Merge branch 'master' of git@github.com:webmin/webmin 2018-03-09 15:20:38 -08:00
Jamie Cameron
810fe83721 Fix more broken forms https://github.com/webmin/webmin/issues/784 2018-03-09 15:18:30 -08:00
Jamie Cameron
1a1718b8b3 Merge pull request #852 from gnadelwartz/update
more safety checks, dirs need / at the end, some improvements
2018-03-09 13:44:15 -08:00
Gnadelwartz
50a5cf2c12 more safety checks, dirs need / at the end, some improvements 2018-03-09 20:45:48 +01:00
Jamie Cameron
be1927a614 Also ignore multiple value inputs on the PAM login page 2018-03-09 10:03:18 -08:00
Jamie Cameron
16445b60e2 Disallow multiple field to keep PCI scanners happy https://github.com/webmin/webmin/issues/833 2018-03-08 21:50:39 -08:00
Jamie Cameron
229e2a55fe Support array-mode in ReadParse too 2018-03-08 21:33:59 -08:00
Jamie Cameron
fc6f0f5769 Merge branch 'master' of git@github.com:webmin/webmin 2018-03-08 21:27:49 -08:00
Jamie Cameron
bf4c035dbb Add new mode for known single-value inputs 2018-03-08 21:26:47 -08:00
Jamie Cameron
dc63d2f099 Merge pull request #849 from gnadelwartz/patch-1
credit for new developments
2018-03-07 21:36:33 -08:00
Jamie Cameron
270a5e9a8f Fix form/table ordering https://github.com/webmin/webmin/issues/848 2018-03-07 21:24:00 -08:00
Jamie Cameron
dce3010752 Merge branch 'master' of git@github.com:webmin/webmin 2018-03-07 20:39:39 -08:00
Jamie Cameron
d97eabdca5 On success, clear the last failure time 2018-03-07 20:39:04 -08:00
Jamie Cameron
8394e43eb8 Merge pull request #851 from gnadelwartz/ipkg
Software: ikpg and tree improvements
2018-03-07 15:37:59 -08:00
Jamie Cameron
c63e06357f Merge branch 'master' of git@github.com:webmin/webmin 2018-03-07 15:25:23 -08:00
Jamie Cameron
19f8f74d85 Use consistent API to check for dictionary words, rather than the ispell command 2018-03-07 15:24:19 -08:00
Gnadelwartz
a076935ce4 tree.cgi, adjust lang# 2018-03-07 18:59:50 +01:00
Gnadelwartz
d5e22da02f inclode cloaseall and openall in tree.cgi, add filter for tree.cgi 2018-03-07 18:47:08 +01:00
Gnadelwartz
355ed3e18e upgrade_system_upgrade 2018-03-07 17:54:54 +01:00
Kay Marquardt
5cab428142 credit for new developments 2018-03-07 09:36:30 +01:00
Jamie Cameron
84aba7580d Merge pull request #845 from gnadelwartz/spam
Spam: add amavis quarantine stats
2018-03-06 21:17:20 -08:00
Jamie Cameron
d30c18c67a List of connected clients is an array ref https://github.com/webmin/webmin/issues/843 2018-03-06 15:22:00 -08:00
Gnadelwartz
65d55039e3 fix ipkg package display if new version is availible 2018-03-06 23:46:33 +01:00
Kay Marquardt (Gnadelwartz)
178d4e9eb1 add check for single spam_level_char 2018-03-06 18:46:05 +01:00
Kay Marquardt (Gnadelwartz)
d2fd93a49d fix german amavis_level_char 2018-03-06 18:36:21 +01:00
Kay Marquardt (Gnadelwartz)
e867bc8a42 fix german score_other 2018-03-06 18:34:14 +01:00
Kay Marquardt (Gnadelwartz)
35a1f8feaf add missging german translations 2018-03-06 18:30:11 +01:00
Jamie Cameron
aef24cac4d Remove useless space https://github.com/webmin/webmin/issues/631 2018-03-05 22:17:12 -08:00
Jamie Cameron
7cd07c62f6 Merge branch 'master' of git@github.com:webmin/webmin 2018-03-05 21:12:01 -08:00
Jamie Cameron
c1efffc2cc Fix typo 2018-03-05 21:11:48 -08:00
Kay Marquardt (Gnadelwartz)
6221b5329b add stats for today week month, display forward to mailbox or quarantaine disabled 2018-03-05 18:35:12 +01:00
Kleofass
d0e4a14dd2 language code for Latvian 2018-03-05 12:00:33 +02:00
Jamie Cameron
db0feea267 Merge pull request #840 from gnadelwartz/spam
Spam: implement edit of amavisd.conf parameters for Spam classification and filtering
2018-03-04 17:34:57 -08:00
Jamie Cameron
9b6fd94dfd Add extra protection against deleting whole slave directory https://www.virtualmin.com/node/41005 2018-03-04 16:59:40 -08:00
Kay Marquardt (Gnadelwartz)
2219b068c9 show quarantine method and total quarantined spam 2018-03-04 23:00:43 +01:00
Kay Marquardt (Gnadelwartz)
0e3e54f5e4 amavis tabbed interface for config and status 2018-03-04 15:28:16 +01:00
Kay Marquardt (Gnadelwartz)
8cd92cc840 fix amavis_check ans amavis_save_directive for single * 2018-03-04 14:50:47 +01:00
Kay Marquardt (Gnadelwartz)
bc775b7dab add amavis sa_spam_level_char and sa_dsn_cutoff_level 2018-03-04 14:35:02 +01:00
Kay Marquardt (Gnadelwartz)
0b9cbb994f more german adjustments 2018-03-04 14:09:32 +01:00
Kay Marquardt (Gnadelwartz)
ba1f65a5dc harmonize amavis strings 2018-03-04 13:02:47 +01:00
Jamie Cameron
5d81e5e2b5 Keep authentic theme's version 2018-03-03 22:35:59 -08:00
Kay Marquardt (Gnadelwartz)
212bf43140 fix amaisd_desc for english 2018-03-03 20:45:29 +01:00
Kay Marquardt (Gnadelwartz)
e92a5dbead fix shebang 2018-03-03 18:38:28 +01:00
Kay Marquardt (Gnadelwartz)
ef40e3a9b7 Merge branch 'spam' of https://github.com/gnadelwartz/webmin into spam 2018-03-03 18:36:13 +01:00
Kay Marquardt (Gnadelwartz)
37cde386de fix default for yes/no 2018-03-03 18:34:14 +01:00
Kay Marquardt
fcf63d3393 Merge branch 'master' into spam 2018-03-03 16:27:37 +01:00
Kay Marquardt (Gnadelwartz)
a34884dbb9 implement value checks for amavisd parameters 2018-03-03 16:16:46 +01:00
Kay Marquardt (Gnadelwartz)
b8784bc0a9 first working version of save_amavisd.cgi 2018-03-03 15:42:49 +01:00
Kay Marquardt (Gnadelwartz)
46a1eccfef first working version of save_amavisd.cgi 2018-03-03 15:39:06 +01:00
Jamie Cameron
ec81018aec Separate option for slave zone file permissions https://github.com/webmin/webmin/issues/834 2018-03-02 22:55:29 -08:00
Kay Marquardt (Gnadelwartz)
8a429c9083 fix set_config_file_in(\%in); 2018-03-02 18:16:55 +01:00
Kay Marquardt (Gnadelwartz)
e527c9585f fix parameter descriptions 2018-03-02 18:04:57 +01:00
Kay Marquardt (Gnadelwartz)
159eb9b4f9 first working amavis config form 2018-03-02 17:52:18 +01:00
Kay Marquardt (Gnadelwartz)
e89e4e5902 use ui_alert_box for warnings 2018-03-02 13:58:35 +01:00
Jamie Cameron
a9cb82ad17 Allow themes to override make_date https://github.com/webmin/webmin/issues/820 2018-03-01 20:24:31 -08:00
Kay Marquardt (Gnadelwartz)
116b65ac54 fix get_config regex 2018-03-01 23:05:10 +01:00
Kay Marquardt (Gnadelwartz)
42dd136dcf creation of spam-amavis-lib.pl 2018-03-01 22:28:18 +01:00
Kay Marquardt (Gnadelwartz)
4d2ecf6ca6 fix test 2018-03-01 14:02:29 +01:00
Kay Marquardt (Gnadelwartz)
3d6a3610ea add warning if amavisd.conf does not exist 2018-03-01 13:58:53 +01:00
Jamie Cameron
8dd9b5eedc Deal with case where allow-transfer block doesn't even exist https://github.com/webmin/webmin/issues/832 2018-02-28 21:21:59 -08:00
Jamie Cameron
9f869be140 Checking for /etc/rc.d makes no sense on systemd systems https://github.com/webmin/webmin/issues/835 2018-02-28 19:46:45 -08:00
Kay Marquardt (Gnadelwartz)
0c109ac14e refactor german translation, add empty form for amavisd conf 2018-02-28 17:14:51 +01:00
Kay Marquardt (Gnadelwartz)
b56ed178f1 Merge branch 'spam' of https://github.com/gnadelwartz/webmin into spam 2018-02-28 15:28:13 +01:00
Kay Marquardt (Gnadelwartz)
030b59ce91 add amavisd button and config, fix availible buttons 2018-02-28 15:27:01 +01:00
Jamie Cameron
2f36ad338a Fix form/table ordering https://github.com/webmin/webmin/issues/784 2018-02-27 15:53:52 -08:00
Jamie Cameron
f2cba23c50 Fix form/table ordering https://github.com/webmin/webmin/issues/784 2018-02-27 15:51:55 -08:00
Jamie Cameron
5d68d0071d Make missing / invalid cert file format error clearer 2018-02-25 12:27:42 -08:00
Jamie Cameron
c7ea4e04e8 Merge branch 'master' of git@github.com:webmin/webmin 2018-02-25 10:52:49 -08:00
Jamie Cameron
3a5067a32b Merge pull request #823 from gnadelwartz/spam
using amavisd instead of procmail as spam filter
2018-02-25 10:52:36 -08:00
Jamie Cameron
5067e2d135 Merge branch 'master' of git@github.com:webmin/webmin 2018-02-25 10:51:16 -08:00
Jamie Cameron
bd0c2e7128 Limit list of unit files to services and skip headers 2018-02-25 10:45:56 -08:00
Jamie Cameron
81567a8fa7 Merge pull request #819 from gnadelwartz/update
fix usermin and other problems in update-from-repo
2018-02-25 10:24:29 -08:00
Jamie Cameron
9a350cc2f0 Limit output to services and remove legends https://github.com/webmin/webmin/issues/829 2018-02-24 17:45:30 -08:00
Jamie Cameron
585308a8ba Merge pull request #830 from gnadelwartz/german
missing german longdesc
2018-02-24 16:09:43 -08:00
Kay Marquardt (Gnadelwartz)
e248b03c41 missing german longdesc 2018-02-24 22:25:47 +01:00
Jamie Cameron
fd6693ec8c Skip directories under systemd root https://github.com/webmin/webmin/issues/829 2018-02-24 13:07:37 -08:00
Jamie Cameron
b7b6a06bf0 New version bump 2018-02-24 11:39:38 -08:00
Jamie Cameron
6bb6f85460 Use full dates for last login times https://sourceforge.net/p/webadmin/bugs/5087/ 2018-02-23 18:53:55 -08:00
Gnadelwartz
8418217d94 fix some typos in help 2018-02-22 21:10:54 +01:00
Gnadelwartz
92a8784926 implement qooobs fix for older git versions 2018-02-22 20:58:03 +01:00
Gnadelwartz
140bdf2c48 use current date if date of last commit can't retrieved 2018-02-22 18:52:26 +01:00
Kay Marquardt (Gnadelwartz)
271e0ee896 fix german auto whitelist spelling 2018-02-21 13:57:21 +01:00
Kay Marquardt (Gnadelwartz)
96bd7f8038 fix ugly german translations 2018-02-21 13:43:27 +01:00
Kay Marquardt (Gnadelwartz)
95e081d3e2 fix de titels to fit also on main buttons 2018-02-21 13:18:19 +01:00
Kay Marquardt (Gnadelwartz)
4a102545f4 config-info 2018-02-21 12:49:13 +01:00
Kay Marquardt (Gnadelwartz)
0a887a2404 shebang ... 2018-02-21 12:37:39 +01:00
Kay Marquardt (Gnadelwartz)
9963245e01 config-info.de 2018-02-21 12:35:41 +01:00
Kay Marquardt (Gnadelwartz)
87c7c97eca config-info.de 2018-02-21 12:32:00 +01:00
Kay Marquardt (Gnadelwartz)
04a67ab36a config-info.de 2018-02-21 12:31:04 +01:00
Kay Marquardt (Gnadelwartz)
79ece839ba make clear you can input also other deamons, e.g. amavisd 2018-02-21 12:25:56 +01:00
Kay Marquardt (Gnadelwartz)
3b14a2ed46 fix display warning 2018-02-21 12:17:27 +01:00
Kay Marquardt (Gnadelwartz)
5c906ac1eb add warning spam score is ignored with amavisd 2018-02-21 12:03:19 +01:00
Kay Marquardt (Gnadelwartz)
45daab5c08 make clear we don't warn becasue we dont use procmail as filter 2018-02-21 11:36:24 +01:00
Jamie Cameron
38732d0297 Fix perl warning https://www.virtualmin.com/node/55982 2018-02-20 21:22:33 -08:00
Jamie Cameron
a96ca2e30e Re-format all require statements 2018-02-19 16:35:47 -08:00
Kay Marquardt (Gnadelwartz)
f4b515ebf5 add option -branch 2018-02-19 16:33:41 +01:00
Jamie Cameron
490a2eea28 Deal with existing extracted module.info files 2018-02-18 17:22:31 -08:00
Jamie Cameron
293c7c8b8c Merge branch 'master' of git@github.com:webmin/webmin 2018-02-18 14:13:49 -08:00
Jamie Cameron
c39766177e Include password restrictions in config restore 2018-02-18 14:07:40 -08:00
Kay Marquardt (Gnadelwartz)
eac5dd3187 fix usermin update 2018-02-17 20:31:09 +01:00
Jamie Cameron
28061c244f Merge pull request #814 from gnadelwartz/spam
report_header is removed from SA since minimum 2.6
2018-02-17 08:57:29 -08:00
Jamie Cameron
fb1c0a47ad Merge pull request #818 from gnadelwartz/update
convert internal version to real number to stop complaining about version is not a number
2018-02-17 08:46:05 -08:00
Gnadelwartz
260a98fde7 convert internal version to real number to stop complaining about version is not a number 2018-02-17 15:20:59 +01:00
Gnadelwartz
73acff6602 fix add_header for STARS 2018-02-17 12:03:35 +01:00
Gnadelwartz
cfe063b50e rewrite headers from 3.0 on, remove report_header completely 2018-02-17 11:53:59 +01:00
Gnadelwartz
62d04d6dcc use addheader/rewrite header from 2.6 on, no terse report from 2.6 on 2018-02-17 11:45:15 +01:00
Jamie Cameron
c2d4504a38 Merge pull request #815 from gnadelwartz/update
fix missing -e for echo
2018-02-16 18:26:02 -08:00
Gnadelwartz
281d10770e fix missing -e for echo 2018-02-16 22:31:47 +01:00
Gnadelwartz
3b27e55820 report_header is removed from SA3 2018-02-16 21:48:04 +01:00
Jamie Cameron
aae5608dd2 Allow fall-through to unix crypt https://github.com/webmin/webmin/issues/811 2018-02-14 21:34:59 -08:00
Jamie Cameron
106f6141ac Merge branch 'master' of git@github.com:webmin/webmin 2018-02-13 22:00:04 -08:00
Jamie Cameron
37d1bda9ea Separate filter from args 2018-02-13 21:59:56 -08:00
Jamie Cameron
94e1e51bee Merge pull request #810 from gnadelwartz/update
fix insert perl path also with -file
2018-02-13 21:57:19 -08:00
Gnadelwartz
21ce532d75 fake tar only for makedist.pl 2018-02-12 18:13:07 +01:00
Gnadelwartz
c6dbbc0835 do not fake tar, even its faster ... 2018-02-12 17:53:10 +01:00
Gnadelwartz
4526cb22a6 fix description and examples 2018-02-12 13:25:24 +01:00
Gnadelwartz
7dd64baf0e fix insert perl path also with -file 2018-02-12 13:15:08 +01:00
Gnadelwartz
f96e515ecc fix for usermin, some optimisations 2018-02-12 12:32:04 +01:00
Gnadelwartz
863022cb72 add examples to --help 2018-02-12 06:50:02 +01:00
Jamie Cameron
d5898de9ef Use extended regexps on Linux 2018-02-11 21:17:04 -08:00
Jamie Cameron
b4618d2671 Merge branch 'master' of git@github.com:webmin/webmin 2018-02-11 21:11:13 -08:00
Jamie Cameron
9597a9d184 Fix inode warning 2018-02-11 21:09:28 -08:00
Jamie Cameron
6141ffb1f5 Merge pull request #809 from gnadelwartz/update
process also dirs given by -file
2018-02-11 20:59:00 -08:00
Gnadelwartz
343e84b12e fix indention 2018-02-11 23:46:27 +01:00
Gnadelwartz
925f69809a process also dirs given by -file 2018-02-11 23:35:42 +01:00
Jamie Cameron
2445ad9e7e Merge pull request #808 from gnadelwartz/update
add -file for pulling single file(s) only
2018-02-11 14:25:13 -08:00
Gnadelwartz
eae7be33ac fix updateing -> updating 2018-02-11 21:32:17 +01:00
Gnadelwartz
8a26e95ac8 add -file for pulling single files only 2018-02-11 21:27:53 +01:00
Jamie Cameron
bdc4480a51 Merge branch 'master' of git@github.com:webmin/webmin 2018-02-11 11:51:53 -08:00
Jamie Cameron
6138fb26eb Return actual PID that has taken the lock 2018-02-11 11:51:33 -08:00
Jamie Cameron
68bb7876f3 Merge pull request #805 from gnadelwartz/update
Change webmin/usermin detection in update.sh
2018-02-11 11:22:34 -08:00
Jamie Cameron
8b69f65aa7 Merge pull request #807 from gnadelwartz/ipkg
process also refresh_top
2018-02-11 11:21:18 -08:00
Gnadelwartz
b301df4fac fix shebang 2018-02-11 19:39:49 +01:00
Gnadelwartz
0b938a098c process also refresh_top 2018-02-11 19:35:11 +01:00
Jamie Cameron
1da4bffcf7 Merge pull request #806 from gnadelwartz/ipkg
place buttons also on top of update-packages list #804
2018-02-11 10:30:50 -08:00
Gnadelwartz
cbc093ce35 add _top to top buttons 2018-02-11 18:15:59 +01:00
Gnadelwartz
828af0e19f cleanup package-updates 2018-02-11 16:50:35 +01:00
Gnadelwartz
bf6d367957 fix buttons above table send checked packages 2018-02-11 16:23:55 +01:00
Gnadelwartz
ceb540f15c place buttons also on top of update-packages list 2018-02-11 12:57:16 +01:00
Gnadelwartz
45465371ba usermins has to be detected at the beginning of the script 2018-02-11 11:50:13 +01:00
Gnadelwartz
ecc932b2b7 check for existing files to detect webmin/usermin instead of dir name 2018-02-11 11:45:13 +01:00
Jamie Cameron
6578ee258e Warn if inodes are running now 2018-02-10 22:54:15 -08:00
Jamie Cameron
2c5a15da20 Deal with tab indents 2018-02-10 21:43:50 -08:00
Jamie Cameron
4295c5dec7 German translation updates from Raymond Vetter 2018-02-10 17:01:59 -08:00
Jamie Cameron
9154740b3f Bulgarian update 2018-02-10 11:52:36 -08:00
Jamie Cameron
66f14fccba Merge branch 'master' of git@github.com:webmin/webmin 2018-02-08 16:23:58 -08:00
Jamie Cameron
14fe278102 Handle interface names like enp4s7 https://github.com/webmin/webmin/issues/803 2018-02-08 16:22:14 -08:00
Jamie Cameron
25fb436d40 Merge pull request #802 from gnadelwartz/ipkg
add urlize to software/open.cgi close.cgi
2018-02-06 09:10:07 -08:00
Gnadelwartz
765437aa04 ipkg-lib 2018-02-06 14:38:08 +01:00
Gnadelwartz
9d35cb8763 fix shebang 2018-02-06 14:36:30 +01:00
Gnadelwartz
ee7b90795f fix //usr/local/bin/perl 2018-02-06 14:35:00 +01:00
Gnadelwartz
ca9dc7a2ed fix also for ipkg-tree, more categories 2018-02-06 14:33:30 +01:00
Gnadelwartz
a507db65b0 fix missing blank in redirect 2018-02-06 14:32:05 +01:00
Jamie Cameron
3e55eb08f2 Merge pull request #801 from gnadelwartz/ipkg
more IPKG Treeview improvements (done)
2018-02-05 16:57:41 -08:00
Gnadelwartz
a28c45261d optimize package list processing 2018-02-05 16:45:57 +01:00
Jamie Cameron
62244f86e5 Handle new module.info.LANG files 2018-02-04 15:59:41 -08:00
Jamie Cameron
663d10e582 Helper script to convert module.info files 2018-02-04 15:50:51 -08:00
Jamie Cameron
1718482abc Extract language-specific module descriptions into separate files 2018-02-04 15:49:39 -08:00
Jamie Cameron
4c60206488 Extract language-specific module descriptions into separate files, for acl module 2018-02-04 15:08:21 -08:00
Jamie Cameron
c651160844 Added support for SHA512 passwords https://github.com/webmin/webmin/issues/798 2018-02-04 14:17:48 -08:00
Gnadelwartz
9f1dd431b9 fix german lang typo 2018-02-03 14:14:37 +01:00
Gnadelwartz
a4e2753b53 show how many packes after filtering 2018-02-03 13:37:54 +01:00
Gnadelwartz
9038b8fb16 fix category mail 2018-02-02 21:24:47 +01:00
Gnadelwartz
603870f596 new categor www 2018-02-02 21:21:59 +01:00
Gnadelwartz
1c061b09dd fix archiver regex 2018-02-02 20:56:23 +01:00
Gnadelwartz
543ffabbcb p7 -> archiver 2018-02-02 20:52:23 +01:00
Gnadelwartz
d5a574239a use ipkg info for filelist, show installation status in ipkg tree view 2018-02-02 20:39:44 +01:00
Gnadelwartz
8192e45651 finalize packed filter 2018-02-02 17:22:02 +01:00
Gnadelwartz
b0c1eea7b2 implement filtering of availible packages 2018-02-02 15:27:29 +01:00
Gnadelwartz
c9c99a7f29 implement filtering of availible packages 2018-02-02 15:25:33 +01:00
Gnadelwartz
4ef84405bb add close/open button on top, remove unused code 2018-02-02 11:53:48 +01:00
Jamie Cameron
662adc8ad9 Merge branch 'master' of git@github.com:webmin/webmin 2018-02-01 21:32:39 -08:00
Jamie Cameron
a74330fd4b German translation updates from Raymond Vetter 2018-02-01 21:27:20 -08:00
Jamie Cameron
2d11eb85f7 German translation updates from Raymond Vetter 2018-02-01 21:27:10 -08:00
Jamie Cameron
4cc88f36af Merge pull request #797 from gnadelwartz/ipkg-tree
optimize reading packages and ipkg-tree
2018-02-01 19:14:01 -08:00
Jamie Cameron
55d45eb66f Merge pull request #796 from qooob/master
Allow browser reload work, along with referre check - secure
2018-02-01 17:05:46 -08:00
Jamie Cameron
9b8b03901a Merge pull request #799 from gnadelwartz/update-repo
fix error detection for makedist and no color if writing to pipe or -…
2018-02-01 16:40:39 -08:00
Gnadelwartz
9dece8e4a3 add option -force for unattended update (request from Ilia) plus small fixes 2018-02-02 00:10:31 +01:00
Gnadelwartz
5f25de59d0 fix error detection for makedist and no color if writing to pipe or -yes is given 2018-02-01 17:24:55 +01:00
Ilia Rostovtsev
61b2c4c533 Allow browser reload work, along with referre check - secure 2018-02-01 12:47:08 +03:00
Jamie Cameron
d37f9a4119 Merge pull request #795 from gnadelwartz/update-repo
refactor update-from-repo, also fix the version "bug"
2018-01-31 23:00:09 -08:00
Jamie Cameron
b901adb0cb Merge pull request #793 from gnadelwartz/master
syno-linux: enable IPKG as update system, so it can check for package updates
2018-01-31 22:59:57 -08:00
Gnadelwartz
47d6c50721 more help with --help 2018-01-31 17:37:24 +01:00
Gnadelwartz
4e0d6abe91 description for error code 6 2018-01-31 17:18:03 +01:00
Gnadelwartz
cdafc3e72b provide exit codes, improved error detection 2018-01-31 17:14:06 +01:00
Gnadelwartz
9e6b1b9e4d test for makedist.pl errors, workaround for - in version 2018-01-31 15:41:46 +01:00
Gnadelwartz
5ad5d563fd optimize reading packages and ipkg-tree 2018-01-31 12:10:08 +01:00
Gnadelwartz
39eebb69f2 filter copy error from makedist 2018-01-31 12:06:43 +01:00
Gnadelwartz
63454d27cf remove -lang otion 2018-01-31 12:03:39 +01:00
Gnadelwartz
e0a496e69c refactor update-from-repo, less if-else, remove lang only updates 2018-01-31 11:56:55 +01:00
Gnadelwartz
30985bdcd8 activate IPKG in package-updates/module.info 2018-01-31 09:05:57 +01:00
Gnadelwartz
f40ccd67b3 add IPKG as update system also 2018-01-31 09:01:53 +01:00
Jamie Cameron
015486aa08 Add syno linux support 2018-01-30 20:46:09 -08:00
Jamie Cameron
57d78e39d6 Also read module.info.LANG files https://github.com/webmin/webmin/issues/770 2018-01-28 15:55:06 -08:00
Jamie Cameron
4393f0df19 Manual config file edit button for allowed hosts 2018-01-28 15:43:44 -08:00
Jamie Cameron
f0a5bff4f5 changelog for new features 2018-01-28 15:24:25 -08:00
Jamie Cameron
a4429e4cb5 changelog for email interval feature 2018-01-28 15:22:19 -08:00
Jamie Cameron
e9c3a14403 Add missing error message string 2018-01-28 15:18:16 -08:00
Jamie Cameron
286de6d342 Catalan updates 2018-01-28 15:17:50 -08:00
Jamie Cameron
156a7b1619 Fix adding records to .local files 2018-01-28 15:17:01 -08:00
Jamie Cameron
1c146a49e7 Add config option for interval between emails 2018-01-28 15:14:05 -08:00
Jamie Cameron
c28396f1d7 Dev version bump 2018-01-28 14:36:59 -08:00
Jamie Cameron
fd34ecf075 Merge pull request #788 from gnadelwartz/master
some minor syno-linux cleanup
2018-01-27 18:19:19 -08:00
Gnadelwartz
d44d0db8d9 lang strings again :-( 2018-01-27 23:08:17 +01:00
Gnadelwartz
9c41feeb08 fix typo and version file in update-from-repo 2018-01-27 23:01:26 +01:00
Gnadelwartz
3952a2934f ups, removed some config-syno-linux to much 2018-01-27 22:42:12 +01:00
Gnadelwartz
37b51a7a2c some minor ipkg enhancements 2018-01-27 22:28:37 +01:00
Gnadelwartz
2de07c851c remove unneeded config-syno-linux 2018-01-27 21:57:57 +01:00
Gnadelwartz
7ba5006b37 fix perl path in ipkg cgi's 2018-01-27 21:35:26 +01:00
Kay Marquardt
a0007fb566 re add synology ipkg to config.info 2018-01-27 21:07:04 +01:00
Kay Marquardt
d18ba202e8 fix deleted lang strings
german translator always sort strings, so I overlooked two new strings and there was removed ... fixed
2018-01-27 21:04:46 +01:00
Jamie Cameron
e6bc3042fb Don't error out if chroot directory doesn't exist, just show no files instead 2018-01-27 11:48:06 -08:00
Jamie Cameron
353b13ee03 Merge branch 'master' of git@github.com:webmin/webmin 2018-01-27 11:46:36 -08:00
Jamie Cameron
2b20c02808 Add some more file types 2018-01-27 11:44:23 -08:00
Jamie Cameron
583b517361 Merge pull request #785 from gnadelwartz/master
Enhance synology ipkg package management
2018-01-27 10:54:30 -08:00
Gnadelwartz
edc9fb2886 remove x bit from en and de 2018-01-27 16:51:58 +01:00
Gnadelwartz
55e4dc88c7 better lang strings 2018-01-27 16:51:01 +01:00
Gnadelwartz
1eafe4bff3 fix german translations, adjust categories, fix update_system HTML generation 2018-01-27 16:35:31 +01:00
Gnadelwartz
0ec65e6ee2 Merge branch 'master' of https://github.com/gnadelwartz/webmin 2018-01-27 15:33:21 +01:00
Gnadelwartz
63552f8ad7 seperate tree view for managing IPKG packges from repository 2018-01-27 14:26:57 +00:00
Jamie Cameron
68bfc3fdde Synology linux needs tabs 2018-01-26 22:44:20 -08:00
Jamie Cameron
f52cf30916 Most systems can only accept spaces in a crontab 2018-01-25 20:38:06 -08:00
Jamie Cameron
d06e48f175 Use standard API to create HTML that is compatible with the new theme https://github.com/webmin/webmin/issues/784 2018-01-25 20:20:35 -08:00
Kay Marquardt
86d982939e fix indention 2018-01-25 12:32:03 +01:00
Gnadelwartz
522517461c do not offer list files if not installed 2018-01-25 11:29:37 +00:00
Gnadelwartz
c394257fc7 fix pat to PATH in update-from-repo 2018-01-25 10:50:55 +00:00
Gnadelwartz
d673b61814 make installed_file working for ipkg 2018-01-25 10:35:01 +00:00
Gnadelwartz
997c0289ea add some prerequistes to update-from-repo 2018-01-25 10:33:58 +00:00
Jamie Cameron
49daee2522 catalan update 2018-01-24 23:10:33 -08:00
Jamie Cameron
5d04ce547c Catalan updates from Jaume Badiella 2018-01-24 23:09:01 -08:00
Jamie Cameron
9ebea911a8 Catalan updates from Jaume Badiella 2018-01-24 23:08:43 -08:00
Jamie Cameron
e9078235fd German translation updates from Raymond Vetter 2018-01-24 23:07:21 -08:00
Jamie Cameron
528d916aa2 Restart after restore 2018-01-21 16:10:36 -08:00
Jamie Cameron
05eba910d2 Merge branch 'master' of git@github.com:webmin/webmin 2018-01-21 15:19:20 -08:00
Jamie Cameron
b5031661fe Add option to use a select list instead of radio buttons 2018-01-21 15:18:13 -08:00
Jamie Cameron
0941530ab4 Merge pull request #781 from qooob/master
Harden checks for redirect and keeping URI
2018-01-20 21:53:14 -08:00
Jamie Cameron
fbbaa7ec1e Manual editing icon for MySQL config file https://github.com/webmin/webmin/issues/766 2018-01-20 15:28:03 -08:00
Jamie Cameron
fbae442fd8 Use correct save file https://sourceforge.net/p/webadmin/bugs/5075/ 2018-01-18 20:12:27 -08:00
Ilia Rostovtsev
1b4233ba0d Harden checks for redirect and keeping URI 2018-01-18 18:12:32 +03:00
Jamie Cameron
0432c94d2d German translation updates from Raymond Vetter 2018-01-17 22:27:30 -08:00
Jamie Cameron
2591a524ff Merge branch 'master' of git@github.com:webmin/webmin 2018-01-16 09:50:39 -08:00
Jamie Cameron
57a4dfc310 Use standard library for buttons https://github.com/webmin/webmin/issues/779 2018-01-16 09:47:16 -08:00
Jamie Cameron
4f73acc28c Merge pull request #773 from qooob/master
Add support for forcing encoding using file comment '-*- coding: encoding -*-'
2018-01-16 09:18:33 -08:00
Ilia Rostovtsev
d13795190b Harded the filter to remove any kind of spaces from string 2018-01-16 14:55:58 +03:00
Ilia Rostovtsev
2e79e3dbe6 Fix regex to match only first 3 lines instance; vim support 2018-01-16 13:47:12 +03:00
Jamie Cameron
fe8b76dec0 Fix order of local parsing and include jail.d in locks 2018-01-15 18:42:03 -08:00
Jamie Cameron
dbfb2a386e Fix function name to avoid clashes 2018-01-15 18:18:13 -08:00
Jamie Cameron
d630fe85c3 Merge branch 'master' of git@github.com:webmin/webmin 2018-01-15 18:16:49 -08:00
Jamie Cameron
efc71b4bf7 Change ordering of parsing of .local files 2018-01-15 18:14:24 -08:00
Jamie Cameron
1e252732c9 Merge pull request #774 from gnadelwartz/patch-1
add config.info encodings to .gitattributes
2018-01-15 16:08:55 -08:00
Jamie Cameron
5069a303ee Use proper buttons API https://github.com/webmin/webmin/issues/775 2018-01-15 16:06:43 -08:00
Kay Marquardt
bb93b59c1f add config.info encodings to .gitattributes 2018-01-15 18:13:02 +01:00
Ilia Rostovtsev
6d6abb7347 Add support for forcing encoding using file comment '-*- coding: encoding -*-' 2018-01-15 12:49:14 +03:00
Jamie Cameron
57a7cffcc8 Lock all files when updating configs 2018-01-14 16:31:46 -08:00
Jamie Cameron
fcc2af0589 Parse all .local files last https://github.com/webmin/webmin/issues/764 2018-01-14 16:07:42 -08:00
Jamie Cameron
d63a7c5570 Merge pull request #771 from gnadelwartz/patch-2
provide `.gitattributes` file with file encodings for webmin
2018-01-14 15:58:49 -08:00
Jamie Cameron
62edc3dea3 Merge pull request #761 from qooob/master
Fix open theme's link in new tab
2018-01-14 15:54:38 -08:00
Jamie Cameron
2c0fd30777 Merge pull request #769 from gnadelwartz/master
first working version of Synology Package manager IPKG
2018-01-14 15:42:49 -08:00
Jamie Cameron
f205843acd Merge pull request #768 from gnadelwartz/patch-1
default values if only firewall-lib is included
2018-01-14 14:36:23 -08:00
Kay Marquardt
8bd352eaf7 fix some iso- encodings 2018-01-14 11:42:54 +01:00
Kay Marquardt
03d26d4af9 provide a .gitattributes file for webmin 2018-01-14 11:27:54 +01:00
Gnadelwartz
7c64f6e926 fix module decsriptions 2018-01-14 08:03:56 +00:00
Gnadelwartz
ee010b8843 additional german lang update 2018-01-13 20:17:39 +00:00
Kay Marquardt
3b4a81f46a fix get_ipvx_version() 2018-01-13 21:13:29 +01:00
Jamie Cameron
62fb3ea2ec Using module_name is more reliable and faster than pwd 2018-01-13 11:48:32 -08:00
Gnadelwartz
6fa6e74ef0 IPKG german translation 2018-01-13 15:16:54 +00:00
Gnadelwartz
37777be28e first working version of ipkg package mananger 2018-01-13 15:08:33 +00:00
Ilia Rostovtsev
0d7effdf5d Open theme's link in the new tab and make sure it passes referre check 2018-01-13 14:52:46 +03:00
Kay Marquardt
cc49469a23 default values if only firewall-lib is included
provide default values if only firewall-lib is included, e.g. foreign_require(firewall, firewall-lib.pl) calls
2018-01-13 10:55:42 +01:00
Jamie Cameron
026d4634d3 Force use of IPv4 firewall module libs https://sourceforge.net/p/webadmin/bugs/5053/ 2018-01-12 23:14:04 -08:00
Jamie Cameron
d37450a650 Support newer TLS versions https://sourceforge.net/p/webadmin/bugs/5073/ 2018-01-12 22:56:40 -08:00
Jamie Cameron
8b52f45302 There can be a space after CN and before = https://www.virtualmin.com/node/53623 2018-01-12 15:09:27 -08:00
Gnadelwartz
b7c99971c9 start of synology IPKG package management system 2018-01-10 09:40:49 +00:00
Jamie Cameron
8e85ae44bc Fix matching of IPv6 networks https://www.virtualmin.com/node/54905 2018-01-09 21:58:33 -08:00
Jamie Cameron
bad3e5272f Use proper buttons API https://github.com/webmin/webmin/issues/765 2018-01-09 15:55:44 -08:00
Ilia Rostovtsev
9fe25551b9 Fix open theme's link in new tab https://github.com/webmin/webmin/pull/724 2018-01-08 11:51:07 +03:00
Jamie Cameron
97c2320b50 Explain how to fix DNSSEC signing https://www.virtualmin.com/node/54939 2018-01-07 16:40:03 -08:00
Jamie Cameron
10db659566 Fail install check if my.cnf is missing 2018-01-07 15:40:49 -08:00
Jamie Cameron
18b440bbb7 give credit to translators 2018-01-07 14:28:16 -08:00
Jamie Cameron
a619101140 Bulgarian update 2018-01-07 14:26:01 -08:00
Jamie Cameron
ab98578e74 Clear any environment variables that might break DNS hooks 2018-01-07 14:20:55 -08:00
Jamie Cameron
bd9be24dd2 Fix incorrect field order 2018-01-07 13:59:33 -08:00
Jamie Cameron
f68039d360 Merge pull request #759 from qooob/master
Fix not to load Xinha HTML editor, as it breaks Authentic Theme https://github.com/qooob/authentic-theme/issues/977
2018-01-07 09:50:15 -07:00
Jamie Cameron
c46bca807d Merge pull request #757 from gnadelwartz/patch-1
fix longdesc / longdecsc_de
2018-01-07 09:37:37 -07:00
Jamie Cameron
37090d4e85 Merge pull request #758 from gnadelwartz/patch-2
filemin needs no config-syno-linux
2018-01-07 09:37:05 -07:00
Jamie Cameron
b3761e9a8e Merge pull request #760 from gnadelwarty/master
return of syno-linux
2018-01-07 09:35:24 -07:00
Gnadelwartz
1d0cb61d6c fix quota module.info 2018-01-07 16:21:02 +00:00
Gnadelwartz
dfe2f06cea fix to LANG compilation progress 2018-01-07 16:04:34 +00:00
Gnadelwartz
5941c28045 synolinux modules l-z 2018-01-07 14:45:14 +00:00
Gnadelwartz
5f055d00be syno-linux: fix cron/module.info 2018-01-07 12:59:25 +00:00
Gnadelwartz
2074ac535f add syno-linux modules a-k 2018-01-07 12:53:17 +00:00
Ilia Rostovtsev
7826078426 Fix not to load Xinha HTML editor, as it breaks Authentic Theme https://github.com/qooob/authentic-theme/issues/977
In the future, we should do opposite and load it only for the basic themes, leaving other themes deal with it on their own
2018-01-07 14:55:12 +03:00
Gnadelwartz
6fc2b24d0d return of syno-linux 2018-01-07 11:33:08 +00:00
Kay Marquardt
355039594b filemin needs no config-syno-linux 2018-01-07 12:28:42 +01:00
Kay Marquardt
ef535a0c8f fix longdesc / longdecsc_de 2018-01-07 12:26:24 +01:00
Jamie Cameron
8d5c85431e Merge branch 'master' of git@github.com:webmin/webmin 2018-01-05 15:14:34 -08:00
Jamie Cameron
e8a81bbca4 Add function for getting this system's URL 2018-01-05 14:59:57 -08:00
Jamie Cameron
4ee968a3cd Merge pull request #753 from gnadelwarty/master
Stay with generic-linux until module not avail solved
2018-01-03 18:43:14 -07:00
Kay Marquardt (hc)
7008caca17 Stay with generic-linux until module not avail solved
to not break existing installations I will keep the config files, but change OS type back to generic-linux for next release.
meanwhile I'll investigate why so many modules are blocked by foreign_abailible() and friends.

See: https://github.com/webmin/webmin/issues/745
2018-01-03 12:13:21 +01:00
Jamie Cameron
236dea8a3f Fix incorrect variable 2018-01-02 20:29:40 -08:00
Jamie Cameron
2fd886e4de my.cnf has moved on Ubuntu 16 https://www.virtualmin.com/node/54771 2018-01-02 13:20:28 -08:00
Jamie Cameron
30ea598b37 dev version bump 2018-01-02 11:20:15 -08:00
Jamie Cameron
3b389076d2 German translation updates from Raymond Vetter 2018-01-01 14:50:53 -08:00
Jamie Cameron
010396d9d0 Remove warnings about long versions https://github.com/webmin/webmin/issues/736 2018-01-01 13:55:25 -08:00
Jamie Cameron
c3b7ee9572 Fix double escaping https://github.com/webmin/webmin/issues/751 2017-12-31 17:31:14 -08:00
Jamie Cameron
d2deecf463 Fix field names for real this time 2017-12-30 10:31:48 -08:00
Jamie Cameron
3f11b20417 Support include files https://github.com/webmin/webmin/issues/738 2017-12-29 22:10:54 -08:00
Jamie Cameron
1c60cb16bf ui-lib conversion 2017-12-29 21:32:28 -08:00
Jamie Cameron
ea0b6c063a Merge branch 'master' of git@github.com:webmin/webmin 2017-12-29 21:08:17 -08:00
Jamie Cameron
7678461604 Fix field positions 2017-12-29 21:07:40 -08:00
Jamie Cameron
389852ec6e Fix remote cluster commands https://www.virtualmin.com/node/54835 2017-12-29 17:29:44 -08:00
Jamie Cameron
3a8096d2b6 Merge pull request #750 from gnadelwartz/master
cleanup some syno-linux config
2017-12-29 16:58:02 -08:00
Gnadelwartz
9b4aa18f9a fix complex find not working on embedded system 2017-12-29 14:54:21 +00:00
Gnadelwartz
1963815c9a cleanup some syno-linux config 2017-12-29 14:51:33 +00:00
Jamie Cameron
b055d421ef German translation updates from Raymond Vetter 2017-12-28 13:50:13 -08:00
Jamie Cameron
c3c0b56458 Merge branch 'master' of git@github.com:webmin/webmin 2017-12-28 10:06:41 -08:00
Jamie Cameron
5cab790b53 Include current command in previous hidden field 2aa3b037a1 2017-12-28 10:05:55 -08:00
Jamie Cameron
8c200f5ed5 Merge pull request #749 from gnadelwartz/master
add syno-linux and related config-syno-linux files
2017-12-27 23:14:28 -08:00
Jamie Cameron
4896a1083f Add extra stop call before re-starting, just in case the old version is somehow still running https://www.virtualmin.com/node/54735 2017-12-27 14:35:04 -08:00
Jamie Cameron
1559aebf7f Show a warning about DNSSEC expired domains https://github.com/webmin/webmin/issues/471 2017-12-27 14:14:59 -08:00
Jamie Cameron
daa75819d5 Use proper warning type 2017-12-27 11:03:36 -08:00
Jamie Cameron
d91d72fdde Log levels changed in fail2ban version 0.9+ https://github.com/webmin/webmin/issues/742 2017-12-27 10:46:05 -08:00
Jamie Cameron
21921dc100 Show version on main page 2017-12-27 10:45:14 -08:00
Jamie Cameron
121fd25666 Show version on main page 2017-12-27 10:42:41 -08:00
Gnadelwartz
2ceb90dbef fix: more generic: get path from web in in update-from-repo 2017-12-27 14:39:37 +00:00
Gnadelwartz
1173d63b04 add OS syno-linux and config-syno-linux files 2017-12-27 13:46:20 +00:00
Jamie Cameron
b11531105c Merge branch 'master' of git@github.com:webmin/webmin 2017-12-26 14:22:15 -08:00
Jamie Cameron
2aa3b037a1 Make 'previous' hidden field contain all previous commands https://github.com/webmin/webmin/pull/730 2017-12-26 14:21:33 -08:00
Jamie Cameron
dd79b42686 Merge pull request #743 from gnadelwarty/master
enable webmin to edit user crontabs without crontab command
2017-12-26 14:08:34 -08:00
Jamie Cameron
fb33d1dc48 Merge branch 'master' of git@github.com:webmin/webmin 2017-12-26 13:40:11 -08:00
Jamie Cameron
88cab5ca52 Ignore includes for now https://github.com/webmin/webmin/issues/738 2017-12-26 13:37:27 -08:00
Jamie Cameron
8e816fc962 Merge pull request #746 from gnadelwartz/patch-5
base_version() fix possible suffix in webnin version
2017-12-26 13:21:46 -08:00
Jamie Cameron
c168e949b1 Merge pull request #747 from gnadelwartz/patch-6
fix update-from-repo version postfix typo from . to -
2017-12-26 13:14:59 -08:00
Kay Marquardt
6a5ce9e43d fix version postfix typo from . to -
in update-from-repo.sh I add a postfix from latest commit date to version number so you know its not the offical version and whats the latest commit in.  I wanted to use - as seperator but used . by accident.
2017-12-26 20:41:51 +01:00
Kay Marquardt
cdc6efce95 base_verion() fix possible suffix in webnin version
In update-from-repo.sh I add - MMDD.HHMM to version, this gives 2 warnings:

Argument "1.871-1223.1116" isn't numeric in sprintf at /var/packages/webmin/target/webmin/webmin/webmin-lib.pl line 767.
Argument "1.871-1223.1116" isn't numeric in numeric gt (>) at /var/packages/webmin/target/webmin/webmin/webmin-lib.pl line 1216.

I added a small regex to filter out (possible) postfixes from version number, but does not change official version number:
 s/[-a-z:_].*//gi

only done in one place in case you say don't care about, its working, even the warning is shown :-)
2017-12-26 20:36:39 +01:00
Gnadelwartz
4dc1c96843 use webmin provided functions instead of system 2017-12-26 07:40:56 +00:00
Jamie Cameron
ce5d99fe6b Escape uploaded path 2017-12-25 23:09:44 -08:00
Jamie Cameron
645a2d3067 Force use of correct filename https://github.com/webmin/webmin/issues/726 2017-12-25 22:57:06 -08:00
Jamie Cameron
eb2722f560 Multiple aliases files are returned https://github.com/webmin/webmin/issues/741 2017-12-25 18:05:37 -08:00
Kay Marquardt (hc)
4d13ad56ed fix double entry in config-info.de 2017-12-25 17:07:52 +01:00
Gnadelwartz
7a184506e7 enable webmin to edit user crontabs without crontab command 2017-12-25 16:00:37 +00:00
Jamie Cameron
cc5c9f5594 Bulgarian update 2017-12-24 23:58:21 -08:00
Jamie Cameron
b30868ce16 Fix twofactor support for LDAP webmin users https://sourceforge.net/p/webadmin/bugs/5070/ 2017-12-24 21:59:51 -08:00
Jamie Cameron
6862d147f1 Ignore collected info that is too old https://github.com/webmin/webmin/issues/735 2017-12-24 19:03:24 -08:00
Jamie Cameron
80510b63f6 fix bogomips regexp 2017-12-24 16:54:35 -08:00
Jamie Cameron
ae50a280b8 Merge pull request #734 from gnadelwartz/patch-2
fix :CPU info is now displayed, even no `cpu mhz` entry is availible in `/proc/cpuinfo`
2017-12-24 16:51:36 -08:00
Jamie Cameron
1b833bb4c0 add nolog config directive to skip logging for some regexps https://github.com/webmin/webmin/issues/740 2017-12-24 16:06:06 -08:00
Jamie Cameron
efb462f0ac Fix perl warning https://github.com/webmin/webmin/issues/736 2017-12-24 15:56:25 -08:00
Kay Marquardt
0b10b7ef38 add BogoMIPS to model name if no cpu mhz availible 2017-12-24 10:46:07 +01:00
Jamie Cameron
00f3ce153a Merge branch 'master' of git@github.com:webmin/webmin 2017-12-23 23:12:50 -08:00
Jamie Cameron
ea6444e292 Escape mount points 2017-12-23 23:03:11 -08:00
Jamie Cameron
8b099ca698 Merge pull request #733 from gnadelwartz/patch-1
try dstat if vmstat is not availible
2017-12-23 12:16:35 -08:00
Kay Marquardt
71b9136d2c fix displaying processor model on system page
linux `os_get_cpu_info()` returns onyl info about CPU if  CPU speed is found, this leads to displaying no CPU Info at all if  `/proc/cpuinfo` has no info about CPU speed!

Changes this to check for `model name` which is the minimum requeired Info to show CPU Info
2017-12-23 20:07:38 +01:00
Jamie Cameron
f218c2bba8 Extract out function for getting the temp dir 2017-12-22 15:17:04 -08:00
Jamie Cameron
c7980e956a Cleanup environment before running certbot 2017-12-22 15:05:07 -08:00
Jamie Cameron
e56415592d Merge branch 'master' of git@github.com:webmin/webmin 2017-12-22 14:19:23 -08:00
Kay Marquardt
387be1d100 try dstat if vmstat is not availible
extends sub `get_cpu_io_usage()` to test if  `vmstat` or `dstat` is availible to get CPU usage.
2017-12-22 23:11:19 +01:00
Jamie Cameron
d531855269 Escape protected directory names 2017-12-22 11:31:03 -08:00
Jamie Cameron
20ba1a9a81 Format and escaping cleanup 2017-12-21 23:18:32 -08:00
Jamie Cameron
b5a168a905 Merge pull request #729 from gnadelwartz/master
update-from-repo works now on Synolgy and HP-UX
2017-12-21 16:50:38 -08:00
Jamie Cameron
2643b754ac Set the correct MIME type and filename https://github.com/webmin/webmin/issues/726 2017-12-21 16:48:05 -08:00
KayM
98cc5d1e69 more precise check for /etc/webmin/miniserv.conf 2017-12-21 23:01:47 +01:00
KayM
3a5db83f94 use /etc/webmin if exist 2017-12-21 22:33:11 +01:00
KayM
bf285758bc limit find -maxdepth 6, grep webmin/usermin 2017-12-21 22:20:48 +01:00
KayM
7afd6c815c replace tabs by space 2017-12-21 21:19:36 +01:00
KayM
e9057092df update-from-repo works now on synology and HP-UX 2017-12-21 20:45:58 +01:00
Jamie Cameron
626ca4fba6 Remove successful preload error message https://sourceforge.net/p/webadmin/bugs/5069/ 2017-12-20 15:55:05 -08:00
Jamie Cameron
a5d4c13cd6 Remove broken link 2017-12-19 15:54:07 -08:00
Jamie Cameron
7c678b8c84 use post forms and standarding ui functions https://www.virtualmin.com/node/41315 2017-12-19 15:43:19 -08:00
Jamie Cameron
7dfa97c6ca Pass original URL to remote server 2017-12-19 14:53:31 -08:00
Jamie Cameron
0bb6af725e Fix restore command use for testing https://sourceforge.net/p/webadmin/bugs/5060/ 2017-12-18 23:25:18 -08:00
Jamie Cameron
df4981e34a German translation updates from Raymond Vetter 2017-12-17 18:12:57 -08:00
Jamie Cameron
8a01830d52 Sometimes the backslash is legit https://sourceforge.net/p/webadmin/bugs/5056/ 2017-12-16 12:10:01 -08:00
Jamie Cameron
aa8b6f9278 Bulgarian update 2017-12-16 12:03:13 -08:00
Jamie Cameron
2142b3c7d6 Fix form in table ordering https://sourceforge.net/p/webadmin/bugs/5066/ 2017-12-16 09:41:43 -08:00
Jamie Cameron
39812f8b83 Fix form in table ordering https://sourceforge.net/p/webadmin/bugs/5066/ 2017-12-16 09:39:40 -08:00
Jamie Cameron
473f383883 Simfs mounts look like BIND mounts https://www.virtualmin.com/node/54704 2017-12-16 09:36:40 -08:00
Jamie Cameron
e041321153 Merge branch 'master' of git@github.com:webmin/webmin 2017-12-15 22:44:44 -08:00
Jamie Cameron
a6d174fa3c Fix hidden opener in old old theme https://sourceforge.net/p/webadmin/bugs/4989/ 2017-12-15 22:44:01 -08:00
Jamie Cameron
349786211d Merge pull request #723 from ChriZathens/patch-14
Update gr
2017-12-12 21:20:11 -08:00
Jamie Cameron
a86b2c70b8 Merge pull request #722 from arndttob/patch-1
Typo: Scalar should be used
2017-12-12 20:55:01 -08:00
ChriZathens
59b33881dc Update gr
translated some strings
2017-12-12 12:10:24 +02:00
arndttob
3a7d8b6dad Typo: Scalar should be used 2017-12-12 11:04:17 +01:00
Jamie Cameron
fa81a4ebfe Ensure auto-whitelist is read as the correct user 2017-12-11 23:25:03 -08:00
Jamie Cameron
49a1d16c4f Merge branch 'master' of git@github.com:webmin/webmin 2017-12-11 23:24:28 -08:00
Jamie Cameron
d6cbdfce4e Fix let's encrypt command line scripts 2017-12-11 23:24:04 -08:00
Jamie Cameron
81a8bda233 Merge pull request #720 from ChriZathens/patch-13
Create gr
2017-12-11 18:49:25 -08:00
ChriZathens
1219b2c646 Create gr 2017-12-11 16:47:15 +02:00
Jamie Cameron
35be61e9f8 mod_cgid is needed to detect the cgid module https://github.com/webmin/webmin/issues/718 2017-12-09 21:40:37 -08:00
Jamie Cameron
83d38dcb51 German translation updates from Raymond Vetter 2017-12-09 16:06:42 -08:00
Jamie Cameron
057c5adcf0 Merge branch 'master' of git@github.com:webmin/webmin 2017-12-08 23:42:22 -08:00
Jamie Cameron
aa26b75677 IPv6 network size is a number of bits, and so must only be divisble by 8 2017-12-08 23:29:37 -08:00
Jamie Cameron
a105d0f3df Merge pull request #715 from qooob/patch-25
Fix Russian encoding
2017-12-07 23:04:46 -08:00
Ilia Rostovtsev
eb9858f897 Fix Russian encoding 2017-12-07 16:05:34 +03:00
Jamie Cameron
12e8c0c362 Fix incorrect count of allowed paths https://github.com/Real-Gecko/Filemin/issues/87 2017-12-06 20:18:24 -08:00
Jamie Cameron
6db2efe1b3 ppath does nothing https://sourceforge.net/p/webadmin/bugs/5049/ 2017-12-06 16:34:34 -08:00
Jamie Cameron
cdf4f5b98f New Webmin version 2017-12-05 16:21:01 -08:00
Jamie Cameron
609f5622dc Fix perl error 2017-12-05 16:15:52 -08:00
Jamie Cameron
42b97bbd00 Merge pull request #714 from ChriZathens/patch-11
Fix minor spelling mistake
2017-12-05 15:18:27 -08:00
Jamie Cameron
3be2218b9a Merge pull request #713 from ChriZathens/patch-10
Finished custom/lang/gr
2017-12-05 15:18:06 -08:00
ChriZathens
9986f21aa7 Fix minor spelling mistake 2017-12-05 12:49:25 +02:00
ChriZathens
2ed84378e1 Finished custom/lang/gr 2017-12-05 12:46:32 +02:00
Jamie Cameron
6bdac2c241 Merge pull request #712 from ChriZathens/ChriZathens-patch-1
Chrizathens patch 1
2017-12-04 11:07:17 -08:00
Jamie Cameron
f5a4dcb4de Fix HTML to use correct nesting for forms and tables 2017-12-04 11:00:02 -08:00
ChriZathens
7f99abef0b Update gr
θθθ
2017-12-04 15:21:56 +02:00
ChriZathens
0ffde56c83 Update gr 2017-12-04 15:21:20 +02:00
Jamie Cameron
841dcf6e01 Merge branch 'master' of git@github.com:webmin/webmin 2017-12-03 18:40:39 -08:00
Jamie Cameron
90eb2f2300 Add check for valid auto-whitelist file 2017-12-03 18:39:40 -08:00
Jamie Cameron
8361d2e420 Bulgarian update 2017-12-01 22:50:04 -08:00
Jamie Cameron
91c45b1904 Merge pull request #684 from gnadelwartz/master
start replace HTML with ui_lib Calls in majordomo
2017-12-01 22:48:05 -08:00
Jamie Cameron
60b8383965 Try 0.1 second sample time 59228089b6 2017-11-30 17:02:42 -08:00
Jamie Cameron
ecd9b875c6 Merge pull request #708 from qooob/patch-24
Grep mount binds differently #706
2017-11-29 22:24:57 -08:00
Jamie Cameron
2d42e91698 Respect default re-sign period 2017-11-29 21:54:33 -08:00
Jamie Cameron
efb898ecad Merge pull request #709 from swelljoe/master
De-uglify multiselect move arrows with fUnicode!
2017-11-29 21:46:55 -08:00
Joe Cooper
677e1436ea De-uglify multiselect move arrows with fUnicode! 2017-11-29 14:37:09 -06:00
Ilia Rostovtsev
c39a9e2a3d Grep mount binds differently #706
Related Virtualmin patch. [0900fdc](0900fdc083 (diff-d93c5e3420554c840d321dbc5e2fca0b))
2017-11-29 10:38:29 +03:00
Jamie Cameron
59228089b6 Factor out CPU usage function 2017-11-27 13:34:37 -08:00
Jamie Cameron
305899c6d2 Move CPU temps function to proc module 2017-11-27 13:18:53 -08:00
Jamie Cameron
f71acdecd6 Actually this warning IS important 2017-11-27 09:57:04 -08:00
Jamie Cameron
0225e18467 Skip pointless check that can fail for cloned domains the first time 2017-11-27 09:51:06 -08:00
Jamie Cameron
b0e11a98a8 Fix perl errors 2017-11-27 09:00:25 -08:00
Jamie Cameron
a9c97eea6c HTML escape command description 2017-11-27 08:50:15 -08:00
Jamie Cameron
bf07be5249 Use new UI library for acl editing 2017-11-27 08:47:15 -08:00
ChriZathens
e97229a44a Update gr 2017-11-27 11:31:12 +02:00
Jamie Cameron
a834fb8bbe Use standard boilerplate for command-line scripts 2017-11-26 19:31:02 -08:00
Jamie Cameron
27e8aebbae Limit SSL fields to 64 chars https://www.virtualmin.com/node/45747 2017-11-26 10:21:21 -08:00
Jamie Cameron
2fa0372c40 Fix updater code 2017-11-24 12:14:34 -08:00
Jamie Cameron
cdb43b117c Bulgarian update 2017-11-24 12:13:42 -08:00
Jamie Cameron
0a6b04173a Windows-1251 encoding support 2017-11-24 12:11:20 -08:00
Jamie Cameron
8f4399a549 dev version bump again 2017-11-23 02:41:41 -08:00
Jamie Cameron
a1af42cef6 Fix getting of DNS zone 2017-11-22 12:09:14 -08:00
Jamie Cameron
dfee760887 Suppress informational messages when requesting a cert 2017-11-22 08:50:06 -08:00
Jamie Cameron
2a6f16fbdb If acme_tiny outputs a python stack trace, chop it off 2017-11-22 08:45:05 -08:00
Jamie Cameron
1b424290e8 Output a human-readable error message for each failure type 2017-11-22 08:44:37 -08:00
Jamie Cameron
6aa0526082 Fix validation for bases with spaces in them https://sourceforge.net/p/webadmin/bugs/5044/ 2017-11-22 07:09:30 -08:00
Jamie Cameron
c2bf44afac Remove un-necessary HTML 2017-11-21 11:46:15 -08:00
ChriZathens
bcf76149b1 Create proc/lang/gr 2017-11-20 14:29:18 +02:00
Jamie Cameron
125b50d3de Progressive output support https://github.com/webmin/webmin/issues/687 2017-11-19 12:22:39 -08:00
Jamie Cameron
ed3e34a6aa Update subscriber URL 2017-11-15 19:48:52 -08:00
ChriZathens
93c599a897 Update gr 2017-11-13 16:57:18 +02:00
ChriZathens
6581c17202 Create gr 2017-11-13 14:27:58 +02:00
Jamie Cameron
66b78a13ac dev version bump 2017-11-12 20:26:39 -08:00
Jamie Cameron
799cce9daa Fix recognition of RAID partitions https://sourceforge.net/p/webadmin/bugs/5043/ 2017-11-10 22:42:11 -08:00
Jamie Cameron
ca8b61c819 Merge branch 'master' of git@github.com:webmin/webmin 2017-11-10 22:30:50 -08:00
Jamie Cameron
06e4ac194f Merge pull request #695 from ChriZathens/patch-9
Create /vnc/lang/gr
2017-11-10 22:16:33 -08:00
Jamie Cameron
0d2b67b6e5 Merge pull request #694 from ChriZathens/patch-8
Create backup-config/lang/gr
2017-11-10 22:15:31 -08:00
Jamie Cameron
50f40fe846 Merge pull request #693 from ChriZathens/patch-7
Create at/lang/gr
2017-11-10 22:15:02 -08:00
Jamie Cameron
a135101aeb Filter can have a default 2017-11-10 22:12:28 -08:00
ChriZathens
8126d3bb6b Create gr 2017-11-10 15:28:12 +02:00
ChriZathens
d4b864d6fd Create backup-config/lang/gr 2017-11-10 15:18:23 +02:00
ChriZathens
16aed7a448 Update gr 2017-11-10 15:17:44 +02:00
ChriZathens
b926cb7e71 Update gr 2017-11-10 14:09:09 +02:00
ChriZathens
5f317b867d Create gr 2017-11-10 13:19:46 +02:00
ChriZathens
a9f5b21b67 Create at/lang/gr 2017-11-10 12:28:18 +02:00
ChriZathens
6cbacc2ddd Update gr 2017-11-10 12:27:40 +02:00
Jamie Cameron
0f61a347cc Merge pull request #692 from ChriZathens/patch-6
Create ajaxterm/lang/gr
2017-11-09 22:03:41 -08:00
Jamie Cameron
41492df3b0 Merge pull request #691 from ChriZathens/patch-5
Create adsl-client/lang/gr
2017-11-09 22:03:21 -08:00
ChriZathens
d71ec0e928 Create gr 2017-11-09 17:07:46 +02:00
ChriZathens
60ad0da144 Create ajaxterm/lang/gr 2017-11-09 16:47:41 +02:00
ChriZathens
ba3d3790d5 Create gr
...heh, after acl this was easy...
2017-11-09 16:41:48 +02:00
ChriZathens
86d8521f98 Update gr 2017-11-09 16:41:00 +02:00
ChriZathens
58ded0dfda Update gr 2017-11-09 16:08:06 +02:00
ChriZathens
0304fdcc3d Create gr 2017-11-09 15:46:56 +02:00
ChriZathens
b40f5c5a91 Update gr
finished acl
2017-11-09 15:43:13 +02:00
Jamie Cameron
f8eb8c45e5 Merge pull request #677 from yangfl/upstream
Fix typo
2017-11-08 19:45:39 -08:00
Kay Marquardt
6757a7d7bb fix perl path 2017-11-08 15:57:51 +01:00
Kay Marquardt
b25c99cfbd delete old HMTL 2017-11-08 15:56:54 +01:00
Kay Marquardt
a6135795fc remove old HTML 2017-11-08 15:55:47 +01:00
Kay Marquardt (Gnadelwartz)
b9e0357fc9 start replace HTML with ui_lib Calls 2017-11-08 15:05:32 +01:00
yangfl
0f9fb77369 Fix typo 2017-11-08 16:43:37 +08:00
Jamie Cameron
f7b809b332 Merge pull request #683 from qooob/master
Add missing webprefix to work with proxy configurations
2017-11-07 22:03:35 -08:00
Jamie Cameron
1b64c21455 Merge pull request #681 from ChriZathens/patch-1
Greek language starting..
2017-11-07 22:02:44 -08:00
Jamie Cameron
11644ddd97 Fix perl warning 2017-11-07 21:55:18 -08:00
Jamie Cameron
e9c7b1c2ec Fix perl warnings https://github.com/virtualmin/virtualmin-gpl/issues/24 2017-11-07 21:12:17 -08:00
Ilia Rostovtsev
eb84c60d10 Add missing webprefix to work with proxy configurations
It's important to add webprefix, as new branch 19 of Authentic Theme uses AJAX to load changed files and relative URLs are not working with proxy enabled configuration.
2017-11-06 22:04:02 +03:00
ChriZathens
82dfc23332 Greek language starting..
... it will be a lot of work but we have to start from somewhere, right??
2017-11-06 17:22:56 +02:00
Jamie Cameron
e4af713502 Current dir is not always in the path https://www.virtualmin.com/node/54239 2017-11-05 14:35:16 -08:00
Jamie Cameron
e039a640cb Catalan updates from Jaume Badiella 2017-11-05 13:51:23 -08:00
Jamie Cameron
b39bf546f2 Catalan updates from Jaume Badiella 2017-11-05 13:50:23 -08:00
Jamie Cameron
6b727a97ae Merge branch 'master' of git@github.com:webmin/webmin 2017-11-04 15:57:11 -07:00
Jamie Cameron
40fa0bcf39 Don't send a zero length content header https://www.virtualmin.com/node/53776 2017-11-04 15:56:24 -07:00
Jamie Cameron
5f80a96734 Merge pull request #680 from gnadelwartz/master
use ui_alert_box for warnings  in firewall index.cgi
2017-11-04 14:58:04 -07:00
Kay Marquardt (Gnadelwartz)
2d867c5941 adjust translations to ui_popup use 2017-11-04 19:07:46 +01:00
Kay Marquardt
b02b219f17 use ui_alert_box for warning 2017-11-04 18:55:32 +01:00
Jamie Cameron
f1902d418e sort_buffer has been renamed in MySQL 5.5 https://www.virtualmin.com/node/53871 2017-11-03 23:13:06 -07:00
Jamie Cameron
1de94d2c62 Merge pull request #679 from gnadelwartz/master
nicer majordomo icon for lists
2017-11-03 13:11:12 -07:00
Kay Marquardt (Gnadelwartz)
dc9a098e03 nicer list icon 2017-11-03 19:01:07 +01:00
Jamie Cameron
ad4891b4ae Merge branch 'master' of git@github.com:webmin/webmin 2017-11-01 15:55:01 -07:00
Jamie Cameron
8065688231 Fix regexp to match RSA and EC keys properly f52cb3a027 2017-11-01 15:54:31 -07:00
Jamie Cameron
9e72c53eaf Merge pull request #676 from gnadelwartz/patch-1
firewall more visible switch button(s)
2017-11-01 14:31:04 -07:00
Kay Marquardt
229a3d57b9 Merge pull request #2 from gnadelwartz/patch-1
fix IPv6 color box
2017-11-01 17:18:15 +01:00
Kay Marquardt
10f20ac6da fix IPv6 color box 2017-11-01 17:13:26 +01:00
Kay Marquardt
14acf25111 Merge pull request #1 from gnadelwartz/patch-1
firewall more visible switch button(s)
2017-11-01 17:04:48 +01:00
Kay Marquardt
198b76c153 firewall more visible switch button(s) 2017-11-01 16:25:46 +01:00
Jamie Cameron
9b100d31b1 Merge pull request #675 from qooob/patch-23
Keep titles consistent with base `config.cgi` output
2017-10-30 15:20:52 -07:00
Ilia Rostovtsev
e74ebab11c Keep titles consistent with base config.cgi output 2017-10-30 10:39:54 +03:00
Jamie Cameron
7578c1bdfd Fix overlapping version 2017-10-29 20:34:40 -07:00
Jamie Cameron
080c399e85 Remove extra space 2017-10-29 20:19:51 -07:00
Jamie Cameron
a4970921b6 German translation updates from Raymond Vetter 2017-10-29 20:19:22 -07:00
Jamie Cameron
f7cbceadab Stop searching for domains if we get to 'com' or similar 2017-10-29 20:06:31 -07:00
Jamie Cameron
36d64aa676 Use built-in command to resolve postfix expansions https://www.virtualmin.com/node/54163 2017-10-29 19:36:12 -07:00
Jamie Cameron
9a7cb8ab49 Don't repeat version getting code 2017-10-29 19:27:05 -07:00
Jamie Cameron
7a87f779a5 Skip duplicate users https://github.com/webmin/webmin/issues/673 2017-10-29 18:37:54 -07:00
Jamie Cameron
51cc215603 Merge branch 'master' of git@github.com:webmin/webmin 2017-10-29 08:56:29 -07:00
Jamie Cameron
9519611f69 Fix incorrect reference https://github.com/webmin/webmin/issues/673 2017-10-29 08:55:24 -07:00
Jamie Cameron
8e9dc0151c Merge pull request #674 from mnoorenberghe/status_http_307_308
status: Support 307 and 308 HTTP redirects
2017-10-29 08:49:44 -07:00
Jamie Cameron
f1d791ea0b Skip duplicate users https://github.com/webmin/webmin/issues/673 2017-10-29 08:47:50 -07:00
Matthew Noorenberghe
983df97959 status: Support 307 and 308 HTTP redirects
The differences from 302 and 301 are only how methods change.

307: https://tools.ietf.org/html/rfc7231#section-6.4.7
308: https://tools.ietf.org/html/rfc7538
2017-10-28 23:34:35 -07:00
Jamie Cameron
f76659bae4 Merge branch 'master' of git@github.com:webmin/webmin 2017-10-26 22:58:33 -07:00
Jamie Cameron
04fb44ded9 Fix formal params and perl warning 2017-10-26 22:57:48 -07:00
Jamie Cameron
74f08d7649 Merge pull request #669 from qooob/patch-22
Add missing prefix
2017-10-25 20:29:15 -07:00
Jamie Cameron
e9a7ebe839 Merge pull request #668 from qooob/patch-21
Add missing webprefix
2017-10-25 20:11:03 -07:00
Ilia Rostovtsev
93b208adb6 Add missing prefix
Ref: https://github.com/qooob/authentic-theme/issues/868
2017-10-25 11:38:06 +03:00
Ilia Rostovtsev
67b528ff7a Add missing webprefix
Ref: https://github.com/qooob/authentic-theme/issues/868
2017-10-25 11:37:12 +03:00
Jamie Cameron
7fa1927121 Number of columns in vmstat output on FreeBSD isn't constant, but the three at always CPU user, kernel and idle time https://github.com/webmin/webmin/issues/659 2017-10-24 16:32:22 -07:00
Jamie Cameron
ebb07f843a Fix column title https://sourceforge.net/p/webadmin/bugs/5036/ 2017-10-24 16:23:52 -07:00
Jamie Cameron
7d2956e46d Sanity check virtual server hostnames 2017-10-23 21:02:43 -07:00
Jamie Cameron
a51799d5a7 Make version swap links work with any theme 2017-10-22 21:56:58 -07:00
Jamie Cameron
13e173a16e Fix inverse sorting https://sourceforge.net/p/webadmin/bugs/5034/ 2017-10-22 21:45:23 -07:00
Jamie Cameron
20c30371ab Webmin package upgrade may need a package updates refresh https://www.virtualmin.com/node/54075 2017-10-22 20:40:06 -07:00
Jamie Cameron
3e6231ea8f Preserve bootup activation of firewall 2017-10-21 17:59:56 -07:00
Jamie Cameron
f215ebcd94 Allow bootup interface to be configured 2017-10-21 17:56:34 -07:00
Jamie Cameron
c105e2b011 Don't use ~~ as not all perl versions support it 2017-10-21 17:50:57 -07:00
Jamie Cameron
68e185549d Merge pull request #658 from yangfl/upstream
fix wrong executable permission on manual.sxw
2017-10-21 17:12:42 -07:00
yangfl
7eca89007d remove t 2017-10-21 14:51:32 +08:00
yangfl
24fcd015d4 improve webmin-init 2017-10-20 17:22:19 +08:00
yangfl
b4036369f9 fix wrong executable permission on manual.sxw 2017-10-19 23:32:08 +08:00
Jamie Cameron
681abfd803 Fix case where writing to a file and not switching user https://sourceforge.net/p/webadmin/usermin-bugs/464/ 2017-10-18 20:01:00 -07:00
Jamie Cameron
e3b65be108 Remove bad translation 2017-10-15 13:53:49 -07:00
Jamie Cameron
aba95eb786 Fix some perl warnings https://sourceforge.net/p/webadmin/bugs/5033/ 2017-10-15 10:20:08 -07:00
Jamie Cameron
6ed6476144 Merge pull request #656 from gnadelwartz/master
fix firewall6 module.info after firewall6 is a symlink
2017-10-15 10:16:50 -07:00
Kay Marquardt (Gnadelwartz)
2439eeed6e frix wrong module.info for linked firewall6 2017-10-15 14:40:58 +02:00
Jamie Cameron
f8f4fcb34a Fix perl error https://sourceforge.net/p/webadmin/bugs/5030/ 2017-10-14 10:55:33 -07:00
Jamie Cameron
4062c2da7f Fix perl warning https://www.virtualmin.com/node/53985 2017-10-13 20:17:46 -07:00
Jamie Cameron
e397f777df add missing error message 2017-10-13 13:08:33 -07:00
Jamie Cameron
68bddc4cfa encoding fixes 2017-10-13 13:07:50 -07:00
Jamie Cameron
c8e3a7e4e9 No need to log 2017-10-13 13:07:36 -07:00
Jamie Cameron
1ac8497063 fix perms 2017-10-13 13:07:19 -07:00
Jamie Cameron
ffa4b899ca is a symlink now 2017-10-13 13:06:05 -07:00
Jamie Cameron
e239c46ff7 When using a redirect, it makes no sense to have an all= option https://sourceforge.net/p/webadmin/bugs/5029/ 2017-10-13 12:47:47 -07:00
Jamie Cameron
c44f589aee Merge pull request #654 from qooob/patch-20
Redirect function already deals with prefix
2017-10-13 12:40:01 -07:00
Ilia Rostovtsev
68029cf0e8 Redirect function already deals with prefix
`$gconfig{'webprefix'}` is not needed and will result in its duplicate in case it's set.
2017-10-13 11:50:26 +03:00
Jamie Cameron
90dda41689 Merge pull request #652 from qooob/patch-19
Check for trigger URL to simply redirect to root
2017-10-12 19:53:58 -07:00
Jamie Cameron
58d57518cc Merge pull request #606 from gnadelwartz/firewall2
finished merging of firewall module
2017-10-11 20:09:43 -07:00
Jamie Cameron
cc6edca98d Merge branch 'master' of git@github.com:webmin/webmin 2017-10-11 19:23:13 -07:00
Jamie Cameron
a4f35a939d IPv6 should be usable in SPF records even if the system cannot make IPv6 connections https://sourceforge.net/p/webadmin/bugs/5025/ 2017-10-11 19:11:07 -07:00
Kay Marquardt (Gnadelwartz)
791dc6b9d3 resolve firewall/config.info.ca merge conflict 2017-10-11 16:13:40 +02:00
Kay Marquardt (Gnadelwartz)
4681db18d6 resolve firewall/index.cgi merge conflict 2017-10-11 16:10:30 +02:00
Ilia Rostovtsev
536bd1660a Check for trigger URL to simply redirect to root
This is required for Authentic Theme 19.00+

https://github.com/qooob/authentic-theme/issues/844
https://github.com/qooob/authentic-theme/issues/848
2017-10-11 13:11:05 +03:00
Jamie Cameron
4843d76d62 Merge pull request #651 from gnadelwarty/patch-1
fix missing  &ui_columns_end()
2017-10-10 14:43:35 -07:00
Kay Marquardt (hc)
65680aa7f5 move globals button up, like shown before fix 2017-10-10 19:06:35 +02:00
Kay Marquardt (hc)
156e1960fb fix missing &ui_columns_end() 2017-10-10 18:54:43 +02:00
Jamie Cameron
47fba66741 Merge pull request #646 from swelljoe/edit-cron-form
Fix form/table interleaving
2017-10-08 19:44:30 -07:00
Jamie Cameron
92cec0275c New version bump 2017-10-08 18:26:38 -07:00
Jamie Cameron
36ae1133ec Remove dupe string 2017-10-08 18:21:33 -07:00
Jamie Cameron
3d6ecbcfc2 Fix typo 2017-10-08 18:19:04 -07:00
Jamie Cameron
870592e855 Merge branch 'master' of git@github.com:webmin/webmin 2017-10-07 17:54:15 -07:00
Jamie Cameron
9a427fa6e5 Fix umlauts https://sourceforge.net/p/webadmin/bugs/5022/ 2017-10-06 22:04:05 -07:00
Jamie Cameron
57a2281301 Merge pull request #649 from swelljoe/upstart-detection
Probably fix upstart vs systemd detection #648
2017-10-06 21:30:33 -07:00
Joe Cooper
df6c98cdde Probably fix upstart vs systemd detection 2017-10-06 19:15:07 -05:00
Joe Cooper
94a619ffb5 Fix form/table interleaving 2017-10-05 19:59:25 -05:00
Jamie Cameron
4c49a1c898 Merge pull request #645 from swelljoe/sarg-form
Fix Sarg form
2017-10-05 17:28:11 -07:00
Joe Cooper
ea7fc19c00 argh, didn't rebase before making new branch 2017-10-05 06:24:29 -05:00
Joe Cooper
b042c70251 Fix buttons 2017-10-05 06:21:21 -05:00
Joe Cooper
344819f1ce Maybe fix the form on edit cron page 2017-10-05 02:20:16 -05:00
Jamie Cameron
9f70af0368 Show more useful error message if key cannot be read 2017-10-04 17:05:23 -07:00
Jamie Cameron
f67d83919e Keep old mysql login and password if the new ones don't work https://www.virtualmin.com/node/53331 2017-10-04 14:47:58 -07:00
Jamie Cameron
e812aecb0b Merge branch 'master' of git@github.com:webmin/webmin 2017-10-02 17:14:57 -07:00
Jamie Cameron
2bd6acb1d5 Suppress excessive error logging https://www.virtualmin.com/node/40900 2017-10-02 17:09:57 -07:00
Jamie Cameron
916fbcb400 German translation updates from Raymond Vetter 2017-10-01 18:25:53 -07:00
Jamie Cameron
4796579ce2 German translation updates from Raymond Vetter 2017-10-01 18:25:50 -07:00
Jamie Cameron
544320e6ec Merge pull request #641 from swelljoe/master
Add ./ to path in firewalld module
2017-10-01 17:41:29 -07:00
Joe Cooper
cbc8401c15 Add ./ to path in firewalld module 2017-10-01 11:02:18 -05:00
Jamie Cameron
d3d4db4ab6 Use the 'source' command to read in sql files, as it's more reliable that simply redirecting input https://www.virtualmin.com/node/53763 2017-09-29 21:54:23 -07:00
Jamie Cameron
1d7f50007a Merge branch 'master' of git@github.com:webmin/webmin 2017-09-29 17:01:42 -07:00
Jamie Cameron
76e1b4d24f Allow using of quoted variables like {\$DOM} 2017-09-29 17:01:12 -07:00
Jamie Cameron
a4f3f0165c Merge pull request #636 from adalenv/master
Albanian language
2017-09-26 16:12:09 -07:00
Jamie Cameron
7017663e5e Skip /snap mounts https://www.virtualmin.com/node/53712 2017-09-26 15:53:04 -07:00
adalenv
c9f5cd96d7 Albanian language by Adalen Vladi 2017-09-26 14:56:20 +02:00
Jamie Cameron
a79e360346 Check for suitable python version 2017-09-25 16:54:13 -07:00
Jamie Cameron
65779cba4a wbm- and webmin- packages are virtualmin modules 2017-09-24 14:51:48 -07:00
Jamie Cameron
81440f8e68 Show appropriate message for DNS-based validation 2017-09-22 16:25:53 -07:00
Jamie Cameron
43ae09f4de Respect DNS let's encrypt mode 2017-09-21 14:24:29 -07:00
Jamie Cameron
4ff359e4cf Merge branch 'master' of git@github.com:webmin/webmin 2017-09-21 14:17:56 -07:00
Jamie Cameron
f52cb3a027 EC private keys exist https://github.com/webmin/webmin/issues/631 2017-09-21 14:11:55 -07:00
Jamie Cameron
c285bab7b7 Merge pull request #630 from yangfl/remove-tempfile
remove tempfiles
2017-09-21 13:55:55 -07:00
yangfl
cc3a6ea7c6 remove tempfiles 2017-09-21 14:45:58 +08:00
Jamie Cameron
ef1d35ef4f Merge pull request #629 from yangfl/fix-perm
fix many executable permissions
2017-09-20 16:45:36 -07:00
yangfl
55d22db2c2 fix many executable permissions 2017-09-20 17:05:01 +08:00
Jamie Cameron
c86321832f Add support for permit_sasl_authenticated https://www.virtualmin.com/node/53606 2017-09-18 20:01:06 -07:00
Jamie Cameron
edc758ae42 Escape HTML when querying 2017-09-16 11:20:49 -07:00
Jamie Cameron
462f073c07 Merge branch 'master' of git@github.com:webmin/webmin 2017-09-16 11:14:28 -07:00
Jamie Cameron
0e3b34f503 Support caller-defined redirect https://www.virtualmin.com/node/53585 2017-09-16 11:14:02 -07:00
Jamie Cameron
5bd8d56d7a Merge pull request #628 from kwmiebach/support-devuan
Support devuan
2017-09-14 18:35:23 -07:00
kwmiebach
f7df8030b4 Consider all known devuan versions
List compiled in #devuan on freenode - see log starting at https://botbot.me/freenode/devuan/2017-09-14/?msg=91099672&page=4
2017-09-14 17:53:33 +02:00
kwmiebach
2a33dc612a Update os_list.txt. Better recognition of devuan 2017-09-14 16:20:28 +02:00
kwmiebach
6bf3e8250d Add devuan 1.0.0
Add devuan jessie, see https://devuan.org/os/debian-fork/stable-jessie-announce-052517
2017-09-14 14:45:29 +02:00
Jamie Cameron
b335a0dce2 Don't set source to security https://github.com/webmin/webmin/issues/603 2017-09-09 16:59:56 -07:00
Jamie Cameron
6e74b7b6d4 Fix bad indentation and lack of quoting that should never have worked 2017-09-06 18:12:02 -07:00
Jamie Cameron
b4ada44f45 Factor out DNS zone finding code, and deal with multiple levels of subdomains https://www.virtualmin.com/node/53438 2017-09-06 16:41:54 -07:00
Jamie Cameron
5d1f322c9b Make error message clearer 2017-09-06 16:28:24 -07:00
Jamie Cameron
0c58892732 Escape potentially malicious HTTP headers 2017-09-05 10:35:44 -07:00
Jamie Cameron
4b03f57a74 Add support for extra environment vars 2017-09-04 15:56:22 -07:00
Jamie Cameron
5aabccf4ea Catalan update 2017-09-04 13:15:55 -07:00
Jamie Cameron
e19b05b92c Catalan update 2017-09-04 13:15:02 -07:00
Jamie Cameron
96c462ac0d Catalan update 2017-09-04 13:14:33 -07:00
Jamie Cameron
dc65d9b37e German translation updates from Raymond Vetter 2017-08-29 20:34:30 -07:00
Jamie Cameron
68ad6e6e12 Add check for backup to a directory https://www.virtualmin.com/node/53291 2017-08-27 15:57:26 -07:00
Jamie Cameron
3cc463bfa6 version bump 2017-08-25 16:32:32 -07:00
Jamie Cameron
2fdebf7986 Show DNSSEC warning on system info page 2017-08-23 15:29:10 -07:00
Jamie Cameron
3204bc55d2 Implement DNSSEC fix script 2017-08-22 22:26:51 -07:00
Jamie Cameron
d2779891eb Merge branch 'master' of git@github.com:webmin/webmin 2017-08-22 20:32:09 -07:00
Jamie Cameron
db2659d9c5 Warn about bad BIND config 2017-08-22 20:24:50 -07:00
Jamie Cameron
3b97ed6564 Merge pull request #623 from swelljoe/master
Check for systemd before upstart #622
2017-08-21 22:38:15 -07:00
Jamie Cameron
e991e8199b Fix ACL check for manual editing https://www.virtualmin.com/node/53211 2017-08-21 20:48:41 -07:00
Joe Cooper
15753acb2e Check for systemd before upstart 2017-08-21 16:30:31 -05:00
Jamie Cameron
6e69a6f44c Don't show obsolete directives unless set 2017-08-21 09:15:04 -07:00
Jamie Cameron
38fde959e7 Handle other biome types 2017-08-19 21:59:09 -07:00
Jamie Cameron
3d18598111 Handle auto DLV mode properly 2017-08-19 21:22:06 -07:00
Jamie Cameron
486b990028 Remove obsolete DNSSEC setup support https://github.com/webmin/webmin/issues/617 2017-08-19 18:57:22 -07:00
Jamie Cameron
155b10124a Dev version bump 2017-08-19 18:02:33 -07:00
Jamie Cameron
2d5b89a344 Merge pull request #620 from swelljoe/master
Case insensitivity fixes in fdisk help files #619
2017-08-19 17:41:09 -07:00
Jamie Cameron
af9811ed96 Skip swap partitions in local disk display https://sourceforge.net/p/webadmin/bugs/5013/ 2017-08-18 22:51:30 -07:00
Joe Cooper
4e3d829810 Back out unnecessary bind8 change 2017-08-18 14:33:20 -05:00
Joe Cooper
687f1c14fa Remove old a and k help files 2017-08-18 14:26:32 -05:00
Joe Cooper
74f2234c66 Fix case sensitivity problems on those other OSes 2017-08-18 14:25:29 -05:00
Jamie Cameron
792ea15029 Actually it is Virtuozzo Linux https://sourceforge.net/p/webadmin/bugs/5012/ 2017-08-16 19:29:35 -07:00
Jamie Cameron
7cf46a81ed Detect OpenVZ linux https://sourceforge.net/p/webadmin/bugs/5012/ 2017-08-16 19:28:25 -07:00
Jamie Cameron
6683803156 Handle backslashes in group names https://sourceforge.net/p/webadmin/bugs/5007/ 2017-08-15 21:23:23 -07:00
Jamie Cameron
bebc39ec26 Handle user and group names with spaces in them https://sourceforge.net/p/webadmin/bugs/5011/ 2017-08-11 13:58:08 -07:00
Jamie Cameron
e55e1a32dd Include real OS type and version in copyconfig.pl call 2017-08-10 12:48:08 -07:00
Jamie Cameron
e9c7425498 Deal with users with backslashes https://sourceforge.net/p/webadmin/bugs/5007/ 2017-08-05 14:44:33 -07:00
Jamie Cameron
7d6ce338dc Use freebsd-version command if installed https://github.com/webmin/webmin/issues/616 2017-08-04 21:50:51 -07:00
Jamie Cameron
52ff60e3b2 Allow configuring of preloads in usermin 2017-08-03 15:17:09 -07:00
Jamie Cameron
798c68474b remove useless valigns 2017-08-03 15:13:07 -07:00
Jamie Cameron
d01d169d0d Don't error on missing file https://sourceforge.net/p/webadmin/bugs/5005/ 2017-08-02 19:15:12 -07:00
Jamie Cameron
d2b4cf6c66 Handle case where passed filename contains mode chars 2017-07-30 18:21:23 -07:00
Jamie Cameron
23847df2a2 Remove un-necessary extra nested tables 2017-07-30 12:23:28 -07:00
Jamie Cameron
97e9c4e138 Use 3-arg open format to handle folders with spaces at the end of their names 2017-07-30 09:35:57 -07:00
Jamie Cameron
7c8b859b7e Also use new MIME type 2017-07-29 21:00:34 -07:00
Jamie Cameron
0a98e679e2 Gzipped files are application/x-gzip mime type https://sourceforge.net/p/webadmin/bugs/5003/ 2017-07-29 14:53:05 -07:00
Jamie Cameron
67c87bb229 text option type must be quoted, like string https://sourceforge.net/p/webadmin/bugs/4998/ 2017-07-21 22:42:10 -07:00
Jamie Cameron
f8a6d2db67 Pass down timeout, and use formal params 2017-07-21 21:51:20 -07:00
Jamie Cameron
bb1332ac31 Back-convert to old encoding 2017-07-21 18:14:04 -07:00
Jamie Cameron
298ecd16dc Fix incorrect function https://sourceforge.net/p/webadmin/bugs/4997/ 2017-07-20 21:55:52 -07:00
Jamie Cameron
cd9d8080ae Perms fix 2017-07-18 18:27:11 -07:00
Jamie Cameron
f61dce1289 Use locking when writing ACL file 2017-07-18 18:26:38 -07:00
Jamie Cameron
b1ca319cc2 Also reverse when searching https://github.com/webmin/webmin/issues/614 2017-07-18 18:16:54 -07:00
Jamie Cameron
fe8c1bef03 Config option to reverse logs order https://github.com/webmin/webmin/issues/614 2017-07-17 21:45:18 -07:00
Jamie Cameron
1cf63f8249 Some renewals take more than 120 seconds for lots of domain names 2017-07-16 22:06:44 -07:00
Jamie Cameron
2b9c8f9a2a Gracefully deal with unsupported protocols https://sourceforge.net/p/webadmin/bugs/4780/ 2017-07-16 21:40:25 -07:00
Jamie Cameron
1fa98f0b4c Show remote host 2017-07-15 19:31:39 -07:00
Jamie Cameron
808d4f255a Deal with all types of /proc/swaps symlinks https://sourceforge.net/p/webadmin/bugs/4995/ 2017-07-15 15:14:43 -07:00
Jamie Cameron
4c3901cb2a New devel version bump 2017-07-14 18:16:37 -07:00
Jamie Cameron
47918d9c62 Suppress some redefined errors https://sourceforge.net/p/webadmin/bugs/4994/ 2017-07-13 23:39:25 -07:00
Jamie Cameron
54493d9546 Fix columns for FreeBSD vmstat output https://github.com/qooob/authentic-theme/issues/820 2017-07-13 23:21:53 -07:00
Joe Cooper
9f5cdcc9a6 Merge pull request #613 from swelljoe/master
Make run-postinstalls.pl work on newer perl versions
2017-07-12 22:41:23 -05:00
Joe Cooper
3674863c4a run-postinstalls.pl 2017-07-12 22:37:55 -05:00
Jamie Cameron
e77e26cded Always update last session time 2017-07-10 21:53:34 -07:00
Jamie Cameron
8396e71c96 Add option to use showmount to check NFS servers before mounting https://www.virtualmin.com/node/52754 2017-07-09 18:28:04 -07:00
Joe Cooper
b1d8f0f724 Merge pull request #611 from swelljoe/master
Typo 'valiation' in acme_tiny.py
2017-07-09 13:18:24 -05:00
Joe Cooper
5573fb0c60 Typo 'valiation' in acme_tiny.py 2017-07-09 13:16:16 -05:00
Jamie Cameron
befbc8f0c8 Show a more useful error message 2017-07-08 21:32:32 -07:00
Jamie Cameron
a3fa334d11 Formatting cleanup 2017-07-08 21:28:55 -07:00
Jamie Cameron
7ee6a0e54d Add missing comma https://sourceforge.net/p/webadmin/bugs/4993/ 2017-07-08 08:57:10 -07:00
Jamie Cameron
82367c90ea NFS versions 4.1 exists 2017-07-08 08:52:02 -07:00
Jamie Cameron
c106b97a02 Quote params for safety 2017-07-08 08:50:36 -07:00
Jamie Cameron
97107f4fcf Support MySQL 7,8 and 9 https://sourceforge.net/p/webadmin/bugs/4992/ 2017-07-07 22:48:56 -07:00
Jamie Cameron
239ad7b998 Merge pull request #610 from manusfreedom/master
Let's Encrypt: FIX CN parsing to work with OpenSSL 1.1
2017-07-06 21:42:55 -07:00
Jamie Cameron
c002353b58 Delete /dev/mapper files when removing an LV 2017-07-06 21:42:35 -07:00
manusfreedom
8ae8d9a436 FIX CN parsing to work with OpenSSL 1.1
9537453586

CN used to be without whitespaces around the `=` but OpenSSL 1.1 introduced
whitespaces:
1.0.1: subject=/CN=example.com
1.1.0: subject=CN = example.com

This commit makes them optional.
2017-07-06 14:08:42 +02:00
Jamie Cameron
5b0b18a506 Use more supported regexp syntax 7a3782a680 2017-07-04 09:29:18 -07:00
Kay Marquardt (Gnadelwartz)
53c638029e more de translation 2017-07-04 12:30:32 +02:00
Jamie Cameron
2784efb063 Allow empty language priority https://github.com/webmin/webmin/issues/608 2017-07-03 21:03:15 -07:00
Jamie Cameron
551e67c443 Fix login message 2017-07-03 19:14:37 -07:00
Jamie Cameron
33a074f6f8 Merge pull request #609 from amishxda/escapebrace
Some fixes for perl 5.26
2017-07-03 09:44:25 -07:00
Amish
f40cce13d8 Use ./ in require instead of BEGIN 2017-07-03 21:59:52 +05:30
Amish
436ff5163f Fix @INC for new perl versions
In new perl '.' (current directory) is removed from @INC 

So while running setup.sh, it shows this error
Enabling background status collection ..
Can't locate system-status-lib.pl in @INC

This fixes it. (TODO: better solution?)
2017-07-03 12:34:20 +05:30
Amish
45c509b3e1 export PERLLIB
When running postinstall scripts, new version of perl gives this error:
Running postinstall scripts ..
Can't locate WebminCore.pm in @INC (you may need to install the WebminCore module)

Above fixes this.
2017-07-03 11:50:07 +05:30
Amish
5bec751f17 unescaped left brace in regex is deprecated 2017-07-03 11:41:05 +05:30
Amish
874919c696 unescaped left brace in regex is deprecated 2017-07-03 11:23:10 +05:30
Jamie Cameron
e8fd0257a5 Support Sangoma linux https://sourceforge.net/p/webadmin/bugs/4988/ 2017-07-02 19:35:47 -07:00
Jamie Cameron
402caed4dd Fix relative heights 2017-07-02 09:10:54 -07:00
Jamie Cameron
064faff227 Text areas should always be monospace 2017-07-01 17:35:53 -07:00
Jamie Cameron
fe35d13cd7 Postfix ignores trailing whitespaces, so we should too 2017-07-01 16:43:31 -07:00
Kay Marquardt (Gnadelwartz)
ee4eca447e remove ipset.txt 2017-07-01 18:35:20 +02:00
Kay Marquardt (Gnadelwartz)
895d7bfecd add filtering chains and ipset explanation to intro.html 2017-07-01 18:34:43 +02:00
Kay Marquardt (Gnadelwartz)
04e2830793 transalte german intro.html 2017-07-01 17:53:27 +02:00
Kay Marquardt (Gnadelwartz)
9978f54b0a minor german config.info change 2017-07-01 16:45:58 +02:00
Kay Marquardt (Gnadelwartz)
5a1f4ae55f some minor lang adjustments 2017-07-01 16:00:01 +02:00
Kay Marquardt (Gnadelwartz)
4af91a52e5 implement IPv4 and IPv6 config options 2017-07-01 15:41:18 +02:00
Kay Marquardt (Gnadelwartz)
5a4e9302e8 finished unifying 2017-07-01 14:24:02 +02:00
Kay Marquardt (Gnadelwartz)
4b898707b4 replace firewall6 dir by symlink to firewall 2017-07-01 14:10:16 +02:00
Kay Marquardt (Gnadelwartz)
8062863695 all files unified, all are smylinks now 2017-07-01 14:08:59 +02:00
Kay Marquardt (Gnadelwartz)
ca699a1f8c umify images and config.info module.info 2017-07-01 13:48:57 +02:00
Kay Marquardt (Gnadelwartz)
fb71e40d36 unify config.info 2017-07-01 13:16:55 +02:00
Kay Marquardt (Gnadelwartz)
adcfe12dba include firewall-lib only for unified *.pl 2017-07-01 12:23:14 +02:00
Jamie Cameron
e7d086442c Fix incorrect quotes https://sourceforge.net/p/webadmin/bugs/4982/ 2017-06-30 23:18:49 -07:00
Jamie Cameron
5a18602bf0 Fix stupid typo https://sourceforge.net/p/webadmin/bugs/4972/ 2017-06-30 14:42:20 -07:00
Jamie Cameron
bb963419d8 Default IPs to ignore can also be hostnames https://sourceforge.net/p/webadmin/bugs/4893/ 2017-06-30 14:39:31 -07:00
Jamie Cameron
5d9efa9a3a File might contain CR characters 2017-06-30 14:33:45 -07:00
Jamie Cameron
1f77afd259 Put back correct translation https://sourceforge.net/p/webadmin/bugs/4983/ 2017-06-30 14:28:34 -07:00
Jamie Cameron
4b925c4787 Merge branch 'master' of git@github.com:webmin/webmin 2017-06-30 13:52:02 -07:00
Jamie Cameron
1f838a7257 Fix typo 2017-06-30 13:46:01 -07:00
Jamie Cameron
b86985265c Merge pull request #605 from amishxda/morelog
Dont log just first message, log everything.
2017-06-29 21:52:28 -07:00
Kay Marquardt (Gnadelwartz)
4f111f747e remove some more duplicated code 2017-06-29 19:49:24 +02:00
Kay Marquardt (Gnadelwartz)
ba2d796537 fix symlink edit_rule.cgi# 2017-06-29 19:39:27 +02:00
Kay Marquardt (Gnadelwartz)
345c8a191e fix missing subtitle for move 2017-06-29 19:24:29 +02:00
Amish
2ab4bbbb02 Dont log just first message, log everything.
Say administrator does not want IPv6 support and hence does not have Socket6 module installed. But wants PAM support but forgot to install Authen::PAM.

Since currently webmin prints just $startup_msg[0] (first message) - it will never print that "Perl module Authen::PAM needed for PAM". It will keep printing that "IPv6 support cannot be enabled". So administrator would never know what is the real error (that he needs to install "Authen::PAM")

This patch logs everything instead of just first line.
2017-06-29 14:29:01 +05:30
Jamie Cameron
99cf405445 Merge pull request #604 from amishxda/nopamonly
Log if no_pam and pam_only both are set
2017-06-28 20:12:58 -07:00
Amish
27c428e613 Log if no_pam and pam_only both are set
Some old config has no_pam set to 1. Now if administrator enables pam_only too then both are conflicting. Which makes webmin to exit with PAM error. But administrator can not figure out why? This logs additional line so that administrator know the reason.
2017-06-29 07:39:37 +05:30
Kay Marquardt (Gnadelwartz)
e68c555ed9 show Type and version of Firewall in titel 2017-06-28 14:56:57 +02:00
Kay Marquardt (Gnadelwartz)
fb2255d7dc remove edit_rule6 2017-06-28 14:18:33 +02:00
Kay Marquardt (Gnadelwartz)
5e99df971a fix save_rule6 2017-06-28 14:07:41 +02:00
Kay Marquardt (Gnadelwartz)
f267d4e02a unfiy edit_rule 2017-06-28 14:06:06 +02:00
Kay Marquardt (Gnadelwartz)
2ba020877c move firewall6 save_rule and setup to firwall/save_rule6 and setup6 2017-06-28 13:21:33 +02:00
Kay Marquardt (Gnadelwartz)
bd0719cdf6 unify all *.cgi execpt save_rule and setup 2017-06-28 13:03:03 +02:00
Kay Marquardt (Gnadelwartz)
33255fa816 fix some version= 2017-06-28 12:39:58 +02:00
Kay Marquardt (Gnadelwartz)
0203c34720 use version in all forms and in back links 2017-06-28 12:32:22 +02:00
Kay Marquardt (Gnadelwartz)
1db7c040c7 introduce new cgi parameter version=inet4|inet6 2017-06-28 12:07:42 +02:00
Kay Marquardt (Gnadelwartz)
d564460476 Merge remote-tracking branch 'upstream/master' 2017-06-28 11:29:40 +02:00
Kay Marquardt (Gnadelwartz)
f75fa3586d start unify edit_rule.cgi save_rule.cgi 2017-06-27 17:22:17 +02:00
Kay Marquardt (Gnadelwartz)
07238510b0 move edit_rule6 to firewall 2017-06-27 16:09:35 +02:00
Kay Marquardt (Gnadelwartz)
cc7047d83b rename edit_rule edit_rule6 2017-06-27 16:05:22 +02:00
Kay Marquardt (Gnadelwartz)
eeda9a6bad remove my uneeded UTF-8 files 2017-06-27 15:39:37 +02:00
Kay Marquardt (Gnadelwartz)
feb4d69832 change LANG update and include UTF-8 generation 2017-06-27 15:36:56 +02:00
Kay Marquardt (Gnadelwartz)
b08e3aaa8d fix UTF-8 lang generation 2017-06-27 12:45:53 +02:00
Kay Marquardt (Gnadelwartz)
fdde2a308c fix perl path and firewall-lib missing ; 2017-06-27 11:21:01 +02:00
Jamie Cameron
f74d8b1571 Populate cache even if there is nothing to read 2017-06-25 19:17:24 -07:00
Jamie Cameron
9dc7367dd6 Don't set bridge options that aren't defined 2017-06-24 15:39:12 -07:00
Jamie Cameron
1e8caabc50 Merge branch 'master' of git@github.com:webmin/webmin 2017-06-24 14:03:41 -07:00
Jamie Cameron
64720c97ab Don't overwrite old repo name https://github.com/webmin/webmin/issues/603 2017-06-24 14:01:30 -07:00
Jamie Cameron
94cdddf447 Merge pull request #602 from Jaybus2/master
certmgr: Updated view/manage to work with openssl > 0.9.8
2017-06-22 20:01:16 -07:00
Josh Fisher
460ea14a24 Updated view/manage to work with openssl > 0.9.8 2017-06-22 12:11:54 -04:00
Kay Marquardt (Gnadelwartz)
9646bd7a9b unify [a-c]*.cgi 2017-06-22 17:20:18 +02:00
Kay Marquardt (Gnadelwartz)
6268f98320 firewall and firewall6 use same index.cgi 2017-06-22 16:43:01 +02:00
Kay Marquardt (Gnadelwartz)
d652711c6b move firewall6-lib to firewall 2017-06-22 16:19:26 +02:00
Kay Marquardt (Gnadelwartz)
15ce5c5667 start unifying index.cgi, add maxlines feature to ipv4 2017-06-22 13:57:18 +02:00
Jamie Cameron
dcd0daac42 Error is not a valid warning level 2017-06-21 15:41:57 -07:00
Jamie Cameron
2ae5345117 Remove dupe string 2017-06-21 10:14:25 -07:00
Kay Marquardt (Gnadelwartz)
d6516da8c9 use unified firewall-lib.pl for IPV6 2017-06-21 13:26:39 +02:00
Kay Marquardt (Gnadelwartz)
9abe9c48f7 show tabs to switch IPV4 and IPV6 in index.cgi 2017-06-21 12:44:17 +02:00
Kay Marquardt (Gnadelwartz)
44c083668b IPV4 use unified lin now :-) 2017-06-21 10:15:15 +02:00
Kay Marquardt (Gnadelwartz)
397e133657 intial unified firewall-lib 2017-06-21 10:13:53 +02:00
Kay Marquardt (Gnadelwartz)
f36f508346 update lang, show IPV4 Firewall 2017-06-20 17:28:32 +02:00
Kay Marquardt (Gnadelwartz)
ad0413d244 adjust lang/de 2017-06-20 15:29:13 +02:00
Kay Marquardt (Gnadelwartz)
e8e8df4c2a show family and max elements for ipset 2017-06-20 15:26:49 +02:00
Kay Marquardt (Gnadelwartz)
2cd847d2a6 rename firewall-lib.pl firewall4-lib-pl 2017-06-20 12:38:28 +02:00
Kay Marquardt (Gnadelwartz)
dbfc51b9f4 minor adjustment: change <tt>iptables to <tt>iptables(6) in lang files 2017-06-20 12:14:21 +02:00
Kay Marquardt (Gnadelwartz)
ccf7166ce9 replace firewall6 lang help dirs with symlink 2017-06-20 11:54:17 +02:00
Kay Marquardt (Gnadelwartz)
3655555f7a unify firewall language strings 2017-06-20 11:32:59 +02:00
Kay Marquardt (Gnadelwartz)
a0a92ff4cb unify firewall help files 2017-06-20 11:04:01 +02:00
Jamie Cameron
c87b5c6e3d New major version 2017-06-18 17:17:56 -07:00
Jamie Cameron
4fa781805f Further updates for Debian 9 stable 2017-06-18 16:46:52 -07:00
Jamie Cameron
95180b7f9d Completed port forwarding support 2017-06-17 16:23:23 -07:00
Jamie Cameron
379f7aaf0b Creation and deletion of forwards now working 2017-06-17 15:43:47 -07:00
Jamie Cameron
f79d1040f3 More work on firewalld forwarding support 2017-06-17 14:59:51 -07:00
Jamie Cameron
9c0d9268e1 Merge branch 'master' of git@github.com:webmin/webmin 2017-06-17 12:24:54 -07:00
Jamie Cameron
1cbe773f6f Also parse jail.d/*.local files https://github.com/webmin/webmin/issues/599 2017-06-17 12:24:22 -07:00
Jamie Cameron
27c09c00ec Merge pull request #600 from gnadelwartz/master
firewall: minimal support for ipset rules
2017-06-17 11:44:21 -07:00
Kay Marquardt (Gnadelwartz)
e69c6699ac update lang/en lang/de 2017-06-17 20:35:41 +02:00
Kay Marquardt (Gnadelwartz)
c419c339db locallizaion of ipset output 2017-06-17 20:22:08 +02:00
Kay Marquardt (Gnadelwartz)
835175b098 display ipset name, type, number, size 2017-06-17 19:58:01 +02:00
Kay Marquardt (Gnadelwartz)
7ebd6ae4fe read in ipset sets 2017-06-17 19:37:11 +02:00
Kay Marquardt (Gnadelwartz)
89b8c53666 list active ipsets in index.cgi 2017-06-17 18:05:36 +02:00
Kay Marquardt (Gnadelwartz)
94e8f32e47 generalize args processing and localize src dest 2017-06-17 17:26:11 +02:00
Kay Marquardt (Gnadelwartz)
1456de9649 lang string for source and destination 2017-06-17 16:58:44 +02:00
Kay Marquardt (Gnadelwartz)
9a445e00b9 display description for IP-Set Rules 2017-06-17 15:06:11 +02:00
Kay Marquardt (Gnadelwartz)
771050ba7c display description for IP-Set Rules 2017-06-17 15:05:10 +02:00
Jamie Cameron
2de661cfd7 Start of work on port forwarding 2017-06-16 19:47:53 -07:00
Jamie Cameron
0e774af597 Support GPT fdisk partitions 2017-06-16 19:47:28 -07:00
Jamie Cameron
c22e70a0d1 Merge branch 'master' of git@github.com:webmin/webmin 2017-06-16 19:14:17 -07:00
Jamie Cameron
0ee9cd2808 Use /proc/filesystems to check for support https://sourceforge.net/p/webadmin/bugs/4972/ 2017-06-16 18:48:41 -07:00
Joe Cooper
2b92ba535e Merge pull request #598 from swelljoe/master
Fix default zone detection

Merging to insure it makes it into the next release, as it's needed for VM6.
2017-06-15 13:45:36 -05:00
Joe cooper
0a765063c3 Probably don't need to fail if no default 2017-06-15 13:41:56 -05:00
Jamie Cameron
911f9fd46d Use correct zone even for cleanup 2017-06-15 13:30:21 -05:00
Jamie Cameron
c67c945e58 escape some params 2017-06-15 13:30:20 -05:00
Jamie Cameron
91f03a2109 Escape untrusted params 2017-06-15 13:30:20 -05:00
Jamie Cameron
5aed345808 Handle xz compressed files https://sourceforge.net/p/webadmin/bugs/4970/ 2017-06-15 13:30:20 -05:00
Kay Marquardt (Gnadelwartz)
34468b5eed display wrapper config-test results in check_inst.cgi 2017-06-15 13:30:20 -05:00
Kay Marquardt (Gnadelwartz)
6f581fb0f1 more transl check_inst.cgi 2017-06-15 13:30:20 -05:00
Kay Marquardt (Gnadelwartz)
4f497ea7b8 fix index_emdomdir=.. 2017-06-15 13:30:20 -05:00
Jamie Cameron
30577a4161 Use correct zone even for cleanup 2017-06-14 15:10:39 -07:00
Jamie Cameron
c2d4a90639 escape some params 2017-06-12 14:12:39 -07:00
Jamie Cameron
f6706036b9 Merge branch 'master' of git@github.com:webmin/webmin 2017-06-12 14:06:54 -07:00
Jamie Cameron
a330e913ee Escape untrusted params 2017-06-12 14:01:10 -07:00
Jamie Cameron
4b6df81888 Merge pull request #596 from gnadelwartz/master
majordomo: finish check_install-cgi tests
2017-06-11 14:18:27 -07:00
Joe cooper
ff42df7647 Fix default zone detection 2017-06-11 15:38:01 -05:00
Jamie Cameron
cca627a50e Merge branch 'master' of git@github.com:webmin/webmin 2017-06-11 13:29:09 -07:00
Jamie Cameron
6ca8341261 Handle xz compressed files https://sourceforge.net/p/webadmin/bugs/4970/ 2017-06-11 13:28:14 -07:00
Joe Cooper
591981563a Merge pull request #597 from swelljoe/master
More strict/warn fixes
2017-06-11 15:04:04 -05:00
Kay Marquardt (Gnadelwartz)
7737685835 display wrapper config-test results in check_inst.cgi 2017-06-11 21:00:09 +02:00
Kay Marquardt (Gnadelwartz)
efe00dc8e3 more transl check_inst.cgi 2017-06-11 18:52:07 +02:00
Kay Marquardt (Gnadelwartz)
cae85a9ce8 fix index_emdomdir=.. 2017-06-11 17:21:57 +02:00
Jamie Cameron
0ce2ce7236 Merge pull request #592 from gnadelwartz/master
Majordomo: add check_inst.cgi to provide hints about missing/wrong config/installation
2017-06-10 18:49:59 -07:00
Jamie Cameron
041ed3ace4 Fix perl warnings 2017-06-10 12:46:33 -07:00
Kay Marquardt (Gnadelwartz)
375436621e add check config buton to edit_global 2017-06-10 00:31:40 +02:00
Kay Marquardt (Gnadelwartz)
019b0f0625 start translation check_inst.cgi 2017-06-09 19:14:34 +02:00
Kay Marquardt (Gnadelwartz)
24b2bcd81b make some checks only if majordomo is installed 2017-06-09 18:59:33 +02:00
Kay Marquardt (Gnadelwartz)
b7ede39420 add script check_inst.cgi to provide hints what can be wrong 2017-06-09 16:48:25 +02:00
Kay Marquardt (Gnadelwartz)
d41b963859 add fail=Failed to webmin lang file 2017-06-09 13:52:42 +02:00
Kay Marquardt (Gnadelwartz)
fd857573ee index.cgi: ucfirst listname, maito:listname 2017-06-09 13:46:47 +02:00
Jamie Cameron
6389fe1787 Merge pull request #591 from Jaybus2/master
certmgr: Fix signcsr not using configured openssl.cnf
2017-06-08 22:21:24 -07:00
Joe cooper
b67b98f6b5 More strict/warn fixes 2017-06-08 21:26:44 -05:00
Josh Fisher
2ca5006c6c Fix certmgr/signcsr not using configured openssl.cnf 2017-06-08 11:07:26 -04:00
Kay Marquardt (Gnadelwartz)
d7652f88db move check_mdom_conf() to mdom-lib.pl 2017-06-08 14:17:49 +02:00
Jamie Cameron
873519e64e Merge pull request #590 from gnadelwartz/master
majordomo: allow edit and save multi line globals
2017-06-07 15:08:04 -07:00
Kay Marquardt (Gnadelwartz)
e44934a153 remove debug use Data:dump 2017-06-07 17:24:48 +02:00
Kay Marquardt (Gnadelwartz)
8c3ccb1503 fix get_list_config offset 2017-06-07 17:22:26 +02:00
Kay Marquardt (Gnadelwartz)
0e77146a48 allow edit and save multi line globals 2017-06-07 14:58:01 +02:00
Jamie Cameron
1ed3f58598 Handle new quoting of colors in webmin 1.840 https://sourceforge.net/p/webadmin/bugs/4968/ 2017-06-05 18:54:44 -07:00
Jamie Cameron
23873a5c2b Ensure that the most recent cert file is used 2017-06-04 14:36:34 -07:00
Jamie Cameron
a6052e1ae9 Remove tags thhat will be escaped 2017-06-04 12:31:44 -07:00
Jamie Cameron
122c573f94 Also try common cert locations 2017-06-02 16:41:17 -07:00
Jamie Cameron
0de4ab8c29 Merge branch 'master' of git@github.com:webmin/webmin 2017-06-02 15:32:18 -07:00
Jamie Cameron
2ba05ab405 Don't delete temp file for download if it was pre-created in /tmp/.webmin https://virtualmin.com/node/52315 2017-06-02 15:31:51 -07:00
Jamie Cameron
0916b7ad99 Merge pull request #588 from swelljoe/master
Roll back amp change, as HTML5 allows it
2017-06-02 16:36:40 -04:00
Joe cooper
c43c6a4e27 Roll back amp change, as HTML5 allows it 2017-06-02 15:19:47 -05:00
Jamie Cameron
00abf8494a New dev version 2017-06-02 08:55:44 -07:00
Jamie Cameron
529112cd7a German translation updates from Raymond Vetter 2017-06-01 23:16:52 -07:00
Jamie Cameron
6365b6bdcd German translation updates from Raymond Vetter 2017-06-01 23:16:52 -07:00
Jamie Cameron
a395c32ec6 Slave master IPs can contain "key" https://sourceforge.net/p/webadmin/bugs/4966/ 2017-06-01 21:45:04 -04:00
Jamie Cameron
06387a59fa Merge pull request #587 from gnadelwartz/master
german module.info (again and correct)
2017-06-01 21:16:19 -04:00
Jamie Cameron
4cc65beacc Restart FPM server after updating an FPM config file 2017-06-01 12:45:41 -07:00
Jamie Cameron
a2de217c25 Merge pull request #586 from ymulleneers/master
Various minor corrections
2017-06-01 15:13:40 -04:00
Jamie Cameron
f6320c27e2 Merge pull request #563 from qooob/patch-17
`en.UTF8` -> `en` for the upcoming 1.841 to satisfy compiler
2017-06-01 14:49:06 -04:00
Kay Marquardt (Gnadelwartz)
d625028e8f german module.info (again and correct) 2017-06-01 17:39:48 +02:00
Jamie Cameron
7da8c4dd66 Deal with zero-sized filesystems 4c19095949 2017-06-01 07:14:53 -07:00
Jamie Cameron
7b272988e8 Add missed error message 2017-05-31 22:28:14 -07:00
Jamie Cameron
4d47bc8442 Russian fix 2017-05-31 22:27:06 -07:00
Jamie Cameron
2ea940145b Start of work on FPM format support 2017-05-31 22:26:46 -07:00
MUY
377bcacff8 Update web-lib-funcs.pl
quote_escape - usually used to concatenate to string, so the function should always return a string, even if first argument is undef.  The usage of the eq operator on an undef variable cause a warning, in addition '' is evaluated to 'false' in conditions.
2017-06-01 06:43:59 +02:00
MUY
1379d2cc35 Update web-lib-funcs.pl
html_escape hang if first argument is not defined (ex: text('not_defined')) + usually used to concatenate to string, so the function should always returns a string.
2017-06-01 06:37:34 +02:00
MUY
37a5504f51 Update switch_user.cgi
Only ask once the password in Mozilla Firefox 31.
2017-06-01 06:29:57 +02:00
Jamie Cameron
ea8b2fc1bf New dev version bump 2017-05-31 18:57:45 -07:00
Jamie Cameron
2ee32e71cf Code cleanups 2017-05-31 18:52:38 -07:00
Jamie Cameron
08a1f3db74 If speed is reported as Unknown, don't use it 2017-05-31 18:19:27 -07:00
Jamie Cameron
5b0606c9fc Set correct ownership on compressed files 2017-05-31 15:05:20 -07:00
Jamie Cameron
06752583db Add some missing escaping 2017-05-31 14:43:10 -07:00
Jamie Cameron
0d1f01d511 Upload new files with correct ownership, and fix some formatting errors 2017-05-31 14:29:28 -07:00
Jamie Cameron
4f6b28f95c Merge pull request #585 from gnadelwartz/majordomo2
majordomo: fix subs closed, add quotes around tag values
2017-05-31 11:05:59 -04:00
Kay Marquardt (Gnadelwartz)
32ecbaaf02 fix subs closed, add quotes around tag values 2017-05-31 11:05:13 +02:00
Jamie Cameron
f93251569b Clean up code, and set correct owner on downloaded files 2017-05-30 21:56:39 -07:00
Jamie Cameron
3176c4cd45 Merge branch 'master' of git@github.com:webmin/webmin 2017-05-30 20:03:47 -07:00
Jamie Cameron
7ed31959e4 Use correct zone file for www. record 2017-05-30 19:58:49 -07:00
Jamie Cameron
72234a7669 Merge pull request #581 from gnadelwartz/master
convert majordomo final part
2017-05-30 19:32:50 -07:00
Joe Cooper
44822d651a Merge pull request #584 from swelljoe/master
Use escaped ampersand
2017-05-30 21:15:02 -05:00
Joe cooper
cde3eb1bb1 Merge remote-tracking branch 'upstream/master' 2017-05-30 21:13:53 -05:00
Joe cooper
f1c000d1e5 When in doubt, nest more tables 2017-05-30 21:12:53 -05:00
Joe cooper
4f564b9e2a Use escaped ampersand 2017-05-30 20:36:12 -05:00
Joe Cooper
2215ee4cf8 Merge pull request #583 from swelljoe/master
Get rid of about half of validation errors
2017-05-30 20:17:12 -05:00
Joe cooper
483a9a7c5f One last literal quoted 2017-05-30 20:13:36 -05:00
Joe cooper
7e75fdfa16 More validation fixes 2017-05-30 20:08:34 -05:00
Joe cooper
086e38676e Use quoted literals in tag style 2017-05-30 19:33:16 -05:00
Joe Cooper
54c1f071fc Merge pull request #582 from swelljoe/master
HTML 4.01 transitional until we get rid of in-tag styling
2017-05-30 17:56:04 -05:00
Joe cooper
72a6acb7ef HTML 4.01 transitional until we get rid of in-tag styling 2017-05-30 17:54:57 -05:00
Kay Marquardt
abe3a4858b Merge pull request #4 from gnadelwartz/majordomo2
majordomo final part
2017-05-30 17:59:58 +02:00
Kay Marquardt (Gnadelwartz)
a41915611e show subscription rules in edit list 2017-05-30 17:58:12 +02:00
Kay Marquardt (Gnadelwartz)
e4cb1a4af5 fix set_alias 2017-05-30 17:09:30 +02:00
Kay Marquardt (Gnadelwartz)
cf4c57e947 save/load owner from list.owner file 2017-05-30 16:55:26 +02:00
Kay Marquardt (Gnadelwartz)
d5f9824741 first aid: provide download link of patched majordomo version 2017-05-30 14:22:18 +02:00
Kay Marquardt (Gnadelwartz)
5129dfbe79 fix missing dynamic in config.info.de 2017-05-30 12:56:53 +02:00
Kay Marquardt (Gnadelwartz)
4b6f58eac8 config option for save list owner in listname.owner 2017-05-30 12:51:44 +02:00
Kay Marquardt (Gnadelwartz)
e34875ec0b more options for create list 2017-05-30 12:33:06 +02:00
Jamie Cameron
40db0575f6 Create new files with same ownership as parent (and add some missing escaping) 2017-05-29 16:16:14 -07:00
Jamie Cameron
74d463be57 Merge branch 'master' of git@github.com:webmin/webmin 2017-05-29 16:08:44 -07:00
Jamie Cameron
1a99e197dc Create new dirs with same ownership as parent 2017-05-29 16:07:03 -07:00
Jamie Cameron
19e4df6f0e Merge pull request #575 from gnadelwartz/majordomo2
majordomo: finish index, delete_list, edit_members (Part 3)
2017-05-28 22:14:54 -07:00
Jamie Cameron
49d4e0f4f3 Version bump for dev release 2017-05-28 12:11:34 -07:00
Jamie Cameron
504a7d78c7 Merge branch 'master' of git@github.com:webmin/webmin 2017-05-28 12:09:18 -07:00
Jamie Cameron
3ecc241b54 Also check certifate altnames https://sourceforge.net/p/webadmin/bugs/4963/ 2017-05-28 12:08:45 -07:00
Joe Cooper
8160e5f777 Merge pull request #579 from swelljoe/master
default val for $user
2017-05-28 14:06:24 -05:00
Joe cooper
3df2f306f7 default val for 2017-05-28 14:04:45 -05:00
Joe Cooper
3027952e0d Merge pull request #564 from swelljoe/master
Some more cleanups to make deb and rpm
2017-05-28 14:01:48 -05:00
Joe cooper
505d380fbb Merge remote-tracking branch 'upstream/master' 2017-05-28 13:57:00 -05:00
Jamie Cameron
65c28ad2ab Merge branch 'master' of git@github.com:webmin/webmin 2017-05-27 21:42:32 -07:00
Jamie Cameron
da6b642778 Fix saving of usermin category names https://github.com/webmin/usermin/issues/23 2017-05-27 21:41:52 -07:00
Kay Marquardt (Gnadelwartz)
2d49c19716 fix remote(sendmail), convert all <input submit> to &ui_submit() 2017-05-28 00:21:24 +02:00
Kay Marquardt (Gnadelwartz)
b7c85e32c7 edit button for mail settings 2017-05-26 23:37:46 +02:00
Kay Marquardt (Gnadelwartz)
d2283223c3 template for list.info, use sendmail to subscribe, use archive if exist 2017-05-26 23:32:10 +02:00
Kay Marquardt (Gnadelwartz)
10881d9171 move majordomo default list config to /template 2017-05-26 18:25:11 +02:00
Kay Marquardt (Gnadelwartz)
770cc24f57 create majordomo default config template 2017-05-26 18:19:42 +02:00
Kay Marquardt (Gnadelwartz)
7b4f8f5b40 remove wrong lang/edit_list copy 2017-05-26 16:53:39 +02:00
Kay Marquardt (Gnadelwartz)
e5fe901147 finish converting index, delete_list and edit_member 2017-05-26 16:46:34 +02:00
Kay Marquardt (Gnadelwartz)
017e6585b6 convert new list to &ui_button 2017-05-26 14:33:54 +02:00
Kay Marquardt (Gnadelwartz)
81d70f5cc9 adjust headers for edit and delete 2017-05-26 14:14:27 +02:00
Kay Marquardt (Gnadelwartz)
72283092da add file list.owner 2017-05-26 13:21:33 +02:00
Jamie Cameron
0e98b4a40a Merge pull request #574 from gnadelwartz/master
Majordomo conversion Part2
2017-05-25 19:48:44 -07:00
Jamie Cameron
b52d5c9986 Merge branch 'master' of git@github.com:webmin/webmin 2017-05-25 16:48:15 -07:00
Kay Marquardt
47b5ee31c0 Merge pull request #3 from gnadelwartz/majordomo2
Majordomo conversion Part2
2017-05-26 00:12:08 +02:00
Kay Marquardt (Gnadelwartz)
37fe61d6f3 floating buttons and edit icons 2017-05-25 23:57:23 +02:00
Kay Marquardt (Gnadelwartz)
fcaf0ffb35 /usr/local/bin 2017-05-25 23:48:46 +02:00
Kay Marquardt (Gnadelwartz)
cd2cb0f5d6 majordomo conversion part2 2017-05-25 23:43:48 +02:00
Kay Marquardt (Gnadelwartz)
8bb3e372ba adjust lang/de 2017-05-25 18:27:06 +02:00
Kay Marquardt (Gnadelwartz)
581ddd1491 new design for edit list 2017-05-25 18:26:12 +02:00
Jamie Cameron
14610a77f1 Underlying default cannot be switched yet 2017-05-25 08:00:49 -07:00
Joe cooper
c7285f5d11 move t/ removal to the right place 2017-05-24 23:04:33 -05:00
Joe cooper
f1e5428e50 Autoprov to avoid pretending to provide perl modules 2017-05-24 22:53:01 -05:00
Joe cooper
c9a9fdeedf Merge remote-tracking branch 'upstream/master' 2017-05-24 22:50:13 -05:00
Jamie Cameron
7482794f07 Merge pull request #573 from gnadelwartz/master
correct soltion for missing col when chain is filtered
2017-05-24 17:18:34 -07:00
Jamie Cameron
675e9ec513 Remove comment 2017-05-24 16:14:55 -07:00
Jamie Cameron
133b511a75 Encourage use of utf-8 languages 2017-05-24 16:14:20 -07:00
Kay Marquardt
0b1fac9f51 Merge pull request #2 from gnadelwartz/majordomo2
fix: fix missing col, no morelinebraks because of <b> in cell
2017-05-24 09:51:40 +02:00
Kay Marquardt (Gnadelwartz)
989c759036 /usr/LOCAL/bin/perl 2017-05-24 09:48:46 +02:00
Kay Marquardt (Gnadelwartz)
2afd4a1dc5 remove forgotten debug 2017-05-24 09:47:31 +02:00
Kay Marquardt (Gnadelwartz)
e46c7ceb44 replace <b> with <strong> => no <br> in table row 2017-05-24 09:44:28 +02:00
Kay Marquardt (Gnadelwartz)
d9cc4509d2 correct solution for missing 1st col 2017-05-24 09:43:11 +02:00
Jamie Cameron
faa65976d7 Merge branch 'master' of git@github.com:webmin/webmin 2017-05-23 21:54:18 -07:00
Jamie Cameron
53e306860e Version bump 2017-05-23 21:53:39 -07:00
Jamie Cameron
c64c04d3e0 Merge pull request #572 from gnadelwartz/master
majordomo change index view from buttons to list (part 1)
2017-05-23 17:28:01 -07:00
Kay Marquardt
e7c4c3abd9 Merge pull request #1 from gnadelwartz/majordomo2
display list values in overview
2017-05-23 20:52:00 +02:00
Kay Marquardt (Gnadelwartz)
194d48bd9e display list values in overview 2017-05-23 20:48:51 +02:00
Kay Marquardt (Gnadelwartz)
75efeb1d16 remove config.de.UTF-8 2017-05-23 17:08:13 +02:00
Kay Marquardt (Gnadelwartz)
99a63d9295 add postfix config mode to all config.info.* 2017-05-23 17:04:20 +02:00
Kay
ef7e2cd933 change index view from buttons to list (part 1) 2017-05-23 14:05:01 +02:00
Jamie Cameron
ad043d235e Norwegian update from Stein-Aksel Basma 2017-05-22 17:20:43 -07:00
Jamie Cameron
678cc38013 Merge pull request #570 from gnadelwartz/master
add update-from-repo to dist
2017-05-21 18:19:44 -07:00
Jamie Cameron
f6090947ba Merge branch 'master' of git@github.com:webmin/webmin 2017-05-21 11:26:22 -07:00
Jamie Cameron
d53ce67174 Filter out ANY onX= tags in HTML, as the number of possible ways Javascript can be called is unbounded 2017-05-21 11:25:58 -07:00
Kay Marquardt (Gnadelwartz)
0cfb09e436 add update-from-repo to dist 2017-05-21 19:45:08 +02:00
Jamie Cameron
1a4d525ef2 Merge pull request #569 from gnadelwartz/master
add some sanity checks to update-from-repo if alternate repo is given
2017-05-21 10:05:02 -07:00
Kay
8bfaf2b488 fix REPO for sanity check 2017-05-21 15:29:36 +02:00
Kay Marquardt (Gnadelwartz)
af8d5d24a1 add sanity checks if alternate repo given 2017-05-21 15:23:52 +02:00
Kay
af65582191 fix indention and setup.sh not copied in usermin 2017-05-21 14:26:36 +02:00
Jamie Cameron
87fe720d04 Merge pull request #567 from gnadelwartz/master
Update webmin/usermin in place from github.com repo
2017-05-20 12:55:05 -07:00
Jamie Cameron
c74a867652 Fix typo 888b0f27f5 2017-05-20 12:48:07 -07:00
Kay Marquardt
e4738380e1 Update edit_file.cgi 2017-05-20 18:05:06 +02:00
Kay Marquardt
7df549f91d Update edit_file.cgi 2017-05-20 18:04:45 +02:00
Kay Marquardt
7e9905ce3c revert edit-file.cgi wrong repo 2017-05-20 18:04:23 +02:00
Kay Marquardt (Gnadelwartz)
594a874a4b on iso-8859 try a second guess 2017-05-20 17:58:58 +02:00
Kay Marquardt (Gnadelwartz)
b047220417 check for additional standard modules eg majordomo 2017-05-20 10:26:43 +02:00
Kay Marquardt
01165959d3 remove obsolete redirect to file 2017-05-19 17:12:19 +02:00
Jamie Cameron
888b0f27f5 Deal with CPU info that doesn't contact mhz https://github.com/webmin/webmin/pull/565 2017-05-19 07:50:39 -07:00
Kay Marquardt
5e5a7b9cc3 forgot lang and ulang when updateing lang files only 2017-05-19 16:05:15 +02:00
Kay Marquardt
0c25d52a6d shorten version nuber created from last commit date 2017-05-19 15:05:09 +02:00
Kay Marquardt (Gnadelwartz)
d220823080 Update webmin/usermin in place from github.com repo 2017-05-19 14:45:57 +02:00
Jamie Cameron
fa1929966c Put free space in a more consistent location 2017-05-18 21:09:23 -07:00
Jamie Cameron
0effafd397 Catalan updates from Jaume Badiella 2017-05-18 21:07:52 -07:00
Jamie Cameron
01b0a01f90 Catalan updates from Jaume Badiella 2017-05-18 21:07:26 -07:00
Jamie Cameron
9da01f6a70 Ignore missing deps on upgrade https://sourceforge.net/p/webadmin/bugs/4960/ 2017-05-18 17:50:13 -07:00
Jamie Cameron
aafbe392ba Filter out some more javascript 2017-05-17 22:15:01 -07:00
Jamie Cameron
8ca3de3c28 Use safe write function, and simplify error handling 2017-05-16 23:16:46 -07:00
Jamie Cameron
817244241a Filename needs escaping 2017-05-16 23:11:36 -07:00
Joe Cooper
7316d87049 Merge branch 'master' into master 2017-05-16 23:49:07 -05:00
Joe cooper
368d7e0297 handle undefined vars 2017-05-16 23:45:58 -05:00
Joe cooper
721a1f47b3 marge upstream changes to makemodulerpm 2017-05-16 23:27:29 -05:00
Joe cooper
4e668e19cb Merge remote-tracking branch 'upstream/master' 2017-05-16 23:25:55 -05:00
Jamie Cameron
509e01eb90 Move version logic to more comprehensible place 2017-05-16 12:58:20 -07:00
Jamie Cameron
2c1f20fb1d Support exclude flag and set version in .info files 2017-05-16 12:57:18 -07:00
Jamie Cameron
703802065f The uptime command has changed its wording https://github.com/webmin/webmin/issues/498 2017-05-16 12:39:24 -07:00
Jamie Cameron
6243d45f3f Respect check-SSL setting 2017-05-16 12:25:24 -07:00
Ilia Rostovtsev
de2a5e9ff2 en.UTF8 -> en for the upcoming 1.841 to satisfy compiler 2017-05-16 18:19:07 +03:00
Joe cooper
43afab0d84 don't warn on uninitialized 2017-05-16 04:18:13 -05:00
Joe cooper
8d013ec69c More strict/warn fixes 2017-05-16 03:44:59 -05:00
Jamie Cameron
7face4b2be Add flag to exclude files. Also, update version in module.info to match command line, if given 2017-05-15 21:46:07 -07:00
Jamie Cameron
26d05f0437 Add --exclude flag 2017-05-15 18:21:59 -07:00
Jamie Cameron
f7da281d72 Allow disabling of the SSL name check 2017-05-15 16:54:07 -07:00
Jamie Cameron
af33c38d17 Merge branch 'master' of git@github.com:webmin/webmin 2017-05-15 16:35:07 -07:00
Jamie Cameron
5abc9b538b Include SNI host in hostname to check 2017-05-15 16:34:13 -07:00
Jamie Cameron
34781fd651 German translation updates from Raymond Vetter 2017-05-14 21:01:53 -07:00
Jamie Cameron
ea69c0978b German translation updates from Raymond Vetter 2017-05-14 21:01:50 -07:00
Jamie Cameron
7f2c27df29 Merge pull request #561 from gnadelwartz/master
tarnslation adjustements like for usermin
2017-05-14 14:16:07 -07:00
Kay Marquardt
034a3e9f8c adjust trans 2017-05-14 19:57:17 +02:00
Jamie Cameron
fdc689ad5d Merge branch 'master' of git@github.com:webmin/webmin 2017-05-14 10:52:56 -07:00
Kay Marquardt
07c560cdf6 de de.UTF longgdesc 2017-05-14 19:51:37 +02:00
Jamie Cameron
586af08e08 Get and show thin pool usage percentage 2017-05-14 10:49:04 -07:00
Jamie Cameron
7ba6250482 Merge pull request #560 from gnadelwartz/master
german translations converted from UTF-8
2017-05-14 10:05:40 -07:00
Kay Marquardt
f814546239 adjust german translation 2017-05-14 15:09:54 +02:00
Kay Marquardt
191827e425 Create config.info.de.UTF-8 2017-05-14 15:08:38 +02:00
Kay Marquardt
9fef0d060b german translation 2017-05-14 15:06:06 +02:00
Kay Marquardt
acc9f93fef german translations converted from UTF-8 2017-05-14 14:03:38 +02:00
Jamie Cameron
527b8b1467 software packages isn't supported on macos 2017-05-13 15:26:58 -07:00
Jamie Cameron
bf4e69bc54 software packages isn't supported on macos 2017-05-13 15:26:10 -07:00
Jamie Cameron
60351e59c7 Add monitor type for fail2ban https://sourceforge.net/p/webadmin/bugs/4956/ 2017-05-13 15:13:43 -07:00
Jamie Cameron
c031ac4b76 Merge branch 'master' of git@github.com:webmin/webmin 2017-05-12 21:59:22 -07:00
Jamie Cameron
4ffd3753a2 Handle FreeBSD vmstat output https://github.com/webmin/webmin/issues/498 2017-05-12 21:45:56 -07:00
Jamie Cameron
b6a5b4b230 Merge pull request #559 from gnadelwartz/patch-1
ajdust filemin german translations
2017-05-12 17:25:27 -07:00
Jamie Cameron
5a21764743 Warn if saved config is invald 2017-05-12 17:10:15 -07:00
Kay Marquardt
ca6739cda3 Merge pull request #1 from gnadelwartz/patch-2
fix my typos
2017-05-12 22:54:58 +02:00
Kay Marquardt
add5d65a6b Merge branch 'patch-1' into patch-2 2017-05-12 22:54:42 +02:00
Kay Marquardt
55db94413b fix my typos 2017-05-12 22:52:51 +02:00
Kay Marquardt
f21e731422 adjust translations to autehtic-theme translations 2017-05-12 22:50:27 +02:00
Joe cooper
5030fab70e Remove test directory 2017-05-11 23:30:34 -05:00
Joe cooper
0b70e3676e use 5.010 for defined-or 2017-05-11 23:23:36 -05:00
Joe cooper
5f6fe082e2 Even more strict/warn 2017-05-11 23:20:33 -05:00
Joe cooper
6a953d9670 Some more strict/warn cleanups 2017-05-11 23:10:35 -05:00
Jamie Cameron
766ccf57de Deal wth missing findmnt command gracefully https://sourceforge.net/p/webadmin/bugs/4955/ 2017-05-11 20:42:22 -07:00
Jamie Cameron
4e02a9823d Fix incorrect string https://sourceforge.net/p/webadmin/bugs/4953/ 2017-05-10 22:31:39 -07:00
Jamie Cameron
da43d7185c changelog for disk free display 2017-05-10 14:41:44 -07:00
Jamie Cameron
4c19095949 Show filesystems that are almost full 2017-05-10 14:40:12 -07:00
Jamie Cameron
c07dd3cddf Merge branch 'master' of git@github.com:webmin/webmin 2017-05-10 12:54:11 -07:00
Jamie Cameron
9fe942e958 Return list of per-filesystem stats too 2017-05-10 12:53:14 -07:00
Jamie Cameron
7ba14d9de4 Merge pull request #558 from gnadelwartz/add-warning-about-not-active-direct
Add warnings about not active direct and disable edit for filtered rules
2017-05-10 10:52:30 -07:00
Jamie Cameron
c455b93573 Merge pull request #557 from gnadelwartz/hofix-filter_chain
hotfix filter chain #555
2017-05-10 10:49:03 -07:00
Kay Marquardt
ba263882a6 disable edit/delete for filtered rules, unified firewall_message
because we must hold jump to chain rules even if filtered to statisfy iptables-restore, edit and delet these rules is disabled.

replaced shorewall_message, firewalld_message and fail2ban_message by one sub external_firewall_message
2017-05-10 17:39:42 +02:00
Kay Marquardt
f5927981a6 keep -j CHAIN to statisfy iptables-restore 2017-05-10 14:28:54 +02:00
Kay Marquardt
7dcce2a64f Warning about external Firewall programm and no direct mode 2017-05-10 12:18:06 +02:00
Kay Marquardt
f9d1278a00 Warning about external Firewall programm and no direct mode 2017-05-10 12:10:33 +02:00
Kay Marquardt
771e303e37 filter_chain does now work without direct
BUT only if no external firewall configuration is detected, i.e. fail2ban.
In this case a Warning is diplayed to activate direct.
2017-05-10 12:05:44 +02:00
Kay Marquardt
18e165e925 filter_chain works now also without direct
filter_chain works now also without direct but its recommended.
a waning is displayed if you use it with fail2ban detected and without direct mode
2017-05-10 12:02:37 +02:00
Kay Marquardt
09c125ad9a prevent modifiying of filtered chains 2017-05-10 11:54:46 +02:00
Kay Marquardt
7127ac2072 add warning aubout using filter_chain without direct 2017-05-10 11:51:10 +02:00
Kay Marquardt
b9507b0d77 adjust description direct must be active 2017-05-10 10:37:41 +02:00
Kay Marquardt
fe265aa65b add description to mention direct must be active 2017-05-10 10:36:58 +02:00
Kay Marquardt
f003b029b6 hotfix for filter_chain: use only with direct 2017-05-10 10:07:05 +02:00
Jamie Cameron
41c5bd30ea Merge pull request #551 from gnadelwartz/master
filter out chains not managed by firewall and add warning if fail2ban detected
2017-05-09 10:30:53 -07:00
Jamie Cameron
f5549dbe39 Merge branch 'master' of git@github.com:webmin/webmin 2017-05-09 09:17:51 -07:00
Kay Marquardt
0b416e09e8 Merge pull request #1 from gnadelwartz/firewall-f2b-warn
merge branch wadd arning about fail2ban firewalll rules detected
2017-05-09 13:24:55 +02:00
Kay Marquardt
e01770a0a1 adjust translation 2017-05-09 13:23:48 +02:00
Kay Marquardt
bcec484ebf adjust description 2017-05-09 13:22:08 +02:00
Kay Marquardt
314489fae7 more secure matching against chains to filter out 2017-05-09 13:13:43 +02:00
Kay Marquardt
87854875b7 remove default for filter_chain 2017-05-09 13:09:06 +02:00
Kay Marquardt
da0b587b2b add index_fail2ban 2017-05-09 12:31:46 +02:00
Kay Marquardt
3290f4c11f index_fail2ban translation 2017-05-09 12:29:57 +02:00
Kay Marquardt
7a3782a680 detect fail2ban usage 2017-05-09 12:26:33 +02:00
Jamie Cameron
e1d7fc3c14 Don't check fields that don't exist https://github.com/webmin/webmin/issues/553 2017-05-08 19:16:00 -07:00
Kay Marquardt
b5d1826ef7 Update config 2017-05-07 21:14:43 +02:00
Kay Marquardt
41908574ee Update config.info.de 2017-05-07 21:01:14 +02:00
Kay Marquardt
46f5f9715f Update config.info 2017-05-07 20:59:43 +02:00
Kay Marquardt
e9a5ea229c firewall-lib.pl regex to filter out chains
add regex filter to filter out chains not managed by firewall, i.e. fail2ban,
in get_iptables_save()
2017-05-07 20:58:31 +02:00
Jamie Cameron
f8a2f9595d Merge pull request #549 from ymulleneers/master
Indentation
2017-05-06 19:19:16 -07:00
Jamie Cameron
867fda60dc Also import the theme key 2017-05-06 12:07:34 -07:00
Jamie Cameron
04c217c97a Prevent same allowed path being listed twice 2017-05-06 11:41:08 -07:00
Jamie Cameron
e787caf228 Fix path validation when saving files https://github.com/webmin/webmin/issues/548 2017-05-06 11:24:31 -07:00
Jamie Cameron
45d5dec5a3 Fix perl warning 2017-05-05 16:14:24 -07:00
Jamie Cameron
1efb2eb206 Support Virtuozzo linux https://sourceforge.net/p/webadmin/bugs/4877/ 2017-05-05 14:30:12 -07:00
Jamie Cameron
4aceed5c8d Add perl-Encode-Detect dependency 2017-05-05 14:15:57 -07:00
MUY
f046efed20 Merge pull request #1 from ymulleneers/ymulleneers-patch-1
Update sorttable.js
2017-05-05 20:33:52 +02:00
MUY
d7a9fdb431 Update sorttable.js
Indentation
2017-05-05 20:33:19 +02:00
Jamie Cameron
814cf262fe Merge pull request #547 from qooob/patch-16
Check for valid encoding
2017-05-05 10:07:39 -07:00
Jamie Cameron
0ce247a1aa Merge pull request #546 from qooob/patch-15
Let non-unicode users read files in their charset correctly + check f…
2017-05-05 10:07:10 -07:00
Jamie Cameron
82a0a3e5c0 Remove non-ascii chars that aren't allowed in SSL certs https://www.virtualmin.com/node/52077 2017-05-05 09:56:14 -07:00
Jamie Cameron
245709dca0 Only iterate over the last octet network 2017-05-04 23:36:23 -07:00
Ilia Rostovtsev
944b6d728c Check for valid encoding
There are cases when detected `$encoding_name` is not recognized by `decode()` subroutine leading to fatal error.
2017-05-04 15:39:09 +03:00
Ilia Rostovtsev
59b59b2e43 Let non-unicode users read files in their charset correctly + check for valid encoding
In case a user still have old, non-UTF8 setup, they still need to see files in their encoding correctly, thus without converting output to utf-8. The way it is now, breaks things.

Also, there are cases when detected `$encoding_name` is not recognized by `decode()` subroutine.
2017-05-04 15:36:42 +03:00
Jamie Cameron
77c84a7539 Handle case where encoding module is missing 2017-05-03 20:43:38 -07:00
Jamie Cameron
9716326acd Merge pull request #543 from qooob/patch-13
Make editor respect file's initial encoding: Viewer
2017-05-03 20:41:25 -07:00
Jamie Cameron
89331739f3 Merge pull request #545 from amishxda/master
add noportcheck to not to check if port is in use
2017-05-03 19:03:32 -07:00
Amish
2b0e28852e add noportcheck to not to check if port is in use
add variable noportcheck to not to check if port is in use
2017-05-03 14:22:10 +05:30
Jamie Cameron
12ef84ff3e Merge pull request #544 from qooob/patch-14
Make editor respect file's initial encoding: Saver
2017-05-02 21:58:39 -07:00
Ilia Rostovtsev
85e80edf91 Make editor respect file's initial encoding: Saver
An addition to `edit_file.cgi` commit.
2017-05-02 13:26:30 +03:00
Ilia Rostovtsev
8e44c145b9 Make editor respect file's initial encoding: Viewer
This patch will make sure that user, will be able to READ files with different encodings properly and also, will be able to SAVE them without changing the initial encoding.

This awesomeness requires dependencies. However, RHEL has it installed by default but not Debian. New Webmin release should make sure to require/pull dependent packages:

For RHEL: `perl-Encode-Detect`
For Debian: `libencode-detect-perl`

P.S. We should no let user to set non-UTF8 locale anymore. All languages should be displayed unambiguously, like Google does, (Русский, svenska, Deutsche, English (United States) .. ).
2017-05-02 13:23:34 +03:00
Jamie Cameron
a1f53a5a47 Merge pull request #541 from qooob/patch-12
For the future so user could choose encoding in file editor window
2017-05-01 22:27:37 -07:00
Ilia Rostovtsev
b91a867744 For the future so user could choose encoding in file editor window
I think I did it correctly, theoretically looks good. I just don't know if `$in{'encoding'}` has to be escaped anyhow. Other than that, it seems ok, as when user passes encoding, it will tell the script to use one.
2017-05-01 20:49:17 +03:00
Jamie Cameron
dd5fa1295b Merge pull request #540 from qooob/patch-11
Typo, missing ;
2017-05-01 10:24:27 -07:00
Ilia Rostovtsev
6bb5b79d80 Typo, missing ; 2017-05-01 20:12:29 +03:00
Jamie Cameron
1494007307 Merge pull request #539 from qooob/patch-10
Fix for folks not using UTF-8 #52019
2017-05-01 10:09:01 -07:00
Ilia Rostovtsev
edd32a0819 Here is the fix for folks not using UTF-8 #52019
This is more like server side thing.

We expect that everything that is coming from the editor (CodeMirror) is always UTF-8 encoded. In case, global encoding is set to something different, then UTF-8, we must use the user encoding to properly encode the data and have correct file encoding after all.

[#52019](https://www.virtualmin.com/node/52019)
2017-05-01 20:04:27 +03:00
Jamie Cameron
79877df57c Escape output from the init script 2017-04-29 16:56:58 -07:00
Jamie Cameron
641053c5b2 config option fixes 2017-04-29 16:27:39 -07:00
Jamie Cameron
b56761c41b permissons fixes 2017-04-29 16:27:22 -07:00
Jamie Cameron
580578ecbc Use proper version comparison function 2017-04-29 16:26:24 -07:00
Jamie Cameron
813e6dd4ad Use proper version comparison function, so that 2.3 is below 2.11 https://sourceforge.net/p/webadmin/bugs/4937/ 2017-04-29 15:48:03 -07:00
Jamie Cameron
49aa15c138 Use correct hostname in SNI for SSL requests https://virtualmin.com/node/51969 2017-04-29 14:59:03 -07:00
Jamie Cameron
640bc8495c IPv6 addresses need [ ] in the URL https://sourceforge.net/p/webadmin/bugs/4949/ 2017-04-27 23:23:14 -07:00
Jamie Cameron
36ed9b2212 Merge branch 'master' of git@github.com:webmin/webmin 2017-04-27 09:05:27 -07:00
Jamie Cameron
37f0eb519e Detect the browser seen on the galaxy s6 https://www.virtualmin.com/node/51987 2017-04-27 09:04:52 -07:00
Jamie Cameron
0d251ff103 Merge pull request #536 from qooob/patch-9
To look consistent in Account Functions in Usermin
2017-04-25 17:10:22 -07:00
Jamie Cameron
b99637bab3 Merge pull request #535 from qooob/patch-8
When there is no value we need to return 0 but not empty
2017-04-25 17:09:52 -07:00
Jamie Cameron
801a71d172 Merge pull request #344 from qooob/patch-30
Respect module info
2017-04-25 16:55:24 -07:00
Ilia Rostovtsev
d5aac92059 To look consistent in Account Functions in Usermin
Just to beautify the string to look like the rest of them in `Account Functions`.
2017-04-25 14:10:19 +03:00
Ilia Rostovtsev
55d98674b1 When there is no value we need to return 0 but not empty
As reported here, it's true:

https://github.com/qooob/authentic-theme/issues/726
2017-04-25 10:56:58 +03:00
Jamie Cameron
6f0b58ee4d new version bump 2017-04-23 22:33:25 -07:00
Jamie Cameron
63da3c8e39 Fix dupe string 2017-04-23 22:32:41 -07:00
Jamie Cameron
1b21a404bf Merge branch 'master' of git@github.com:webmin/webmin 2017-04-23 20:25:03 -07:00
Jamie Cameron
464bc50e62 Use new API to keep chroot shell 2017-04-23 20:24:56 -07:00
Jamie Cameron
406b3f7bdc Add new option to keep the current shell 2017-04-23 20:20:56 -07:00
Joe Cooper
8b7af771f8 Merge pull request #533 from swelljoe/master
no warnings redefine to prevent confusing warnings
2017-04-23 19:50:12 -05:00
Joe cooper
aa71f4d8e1 no warnings redefine to prevent confusing warnings 2017-04-23 19:41:56 -05:00
Jamie Cameron
a37185b170 Fix code that detects support for mysql.hosts table https://sourceforge.net/p/webadmin/bugs/4945/ 2017-04-23 14:17:51 -07:00
Jamie Cameron
97e40304ac Fix missing space 2017-04-19 22:30:59 -07:00
Jamie Cameron
77e6bc2a00 HTML outside the head or body is too dangerous to include 2017-04-19 18:41:09 -07:00
Jamie Cameron
eaf63ebc48 chroot options for shell module 2017-04-19 13:54:16 -07:00
Jamie Cameron
2c194271fc ref and use columns can collide https://sourceforge.net/p/webadmin/bugs/4939/ 2017-04-18 23:25:21 -07:00
Jamie Cameron
7c0b0f0a9f Merge branch 'master' of git@github.com:webmin/webmin 2017-04-18 22:07:07 -07:00
Jamie Cameron
fe8eb50f2d Fix a couple of small bugs on my system 2017-04-18 22:01:32 -07:00
Jamie Cameron
cb2d221508 Merge pull request #476 from qooob/patch-2
Enable editor for .XSL files
2017-04-17 18:19:54 -07:00
Jamie Cameron
c65de713f7 Merge pull request #531 from qooob/patch-7
path in bookmarks must be URI friendly
2017-04-16 09:45:44 -07:00
Ilia Rostovtsev
2ff3afea6a path in bookmarks must be URI friendly 2017-04-16 09:37:49 +03:00
Jamie Cameron
25d7fe4299 Support both smtpd_recipient_restrictions and smtpd_relay_restrictions, and fix labelling https://sourceforge.net/p/webadmin/bugs/4930/ 2017-04-15 21:30:59 -07:00
Jamie Cameron
42a50ab078 smtp_skip_4xx_greeting is deprecated 2017-04-13 21:27:57 -07:00
Jamie Cameron
bc0eea7a01 onError is also a JS reference 2017-04-11 16:17:30 -07:00
Jamie Cameron
34dbddd616 Check allowed paths in some more cases 2017-04-11 10:38:04 -07:00
Jamie Cameron
785a1186c6 Escape text of command being run 2017-04-11 10:30:57 -07:00
Jamie Cameron
249a205f27 protect against dangerous attachment filenames 2017-04-11 10:26:05 -07:00
Jamie Cameron
7799c6e72f Make disabling referers check warning scarier 2017-04-11 10:22:19 -07:00
Jamie Cameron
960718733a man command supports paths as input, which can be used to read files 2017-04-11 10:19:30 -07:00
Jamie Cameron
da826eaa5f Remove useless print 2017-04-10 23:16:05 -07:00
Jamie Cameron
25a471e4ef simplify_path returns a new path 2017-04-10 15:23:34 -07:00
Jamie Cameron
c387b955b9 Add checkbox to check sig on new module and theme installs 2017-04-09 19:12:04 -07:00
Jamie Cameron
919baa1343 PPTP start script runs the server in the background https://sourceforge.net/p/webadmin/bugs/4876/ 2017-04-09 18:35:15 -07:00
Jamie Cameron
23b966e7da Merge branch 'master' of git@github.com:webmin/webmin 2017-04-09 13:28:39 -07:00
Jamie Cameron
036f695e19 Assume all .cgi scripts with #! lines that reference perl are executable internally 2017-04-08 16:51:41 -07:00
Jamie Cameron
1b32109ae6 Merge pull request #527 from razor2k/master
Added v flag for tar extraction
2017-03-31 08:33:34 -07:00
razor2k
0f895e893c Added v flag for tar extraction
Added the v (verbose) flag when really extracting the backup tar.
If this flag is not set tar will not print the list of files, that are extracted. This leads to an empty output which later leads to an empty @$files when trying to split the output from the untar command.
This then leads to restore.cgi falsely reporting "0 files have been restored".
Tested on Ubuntu 14.04.5
2017-03-31 10:31:05 +02:00
Jamie Cameron
f7691fb715 Include NSEC3PARAM record types when doing DNSSEC signing https://virtualmin.com/node/51485 2017-03-30 18:06:48 -07:00
Jamie Cameron
0c37e2c626 Merge branch 'master' of git@github.com:webmin/webmin 2017-03-29 22:20:30 -07:00
Jamie Cameron
e17abe5e33 Support multiple init scripts https://sourceforge.net/p/webadmin/bugs/4925/ 2017-03-29 21:57:02 -07:00
Jamie Cameron
deb042812b Merge pull request #526 from qooob/patch-5
Excluding bind mounts properly
2017-03-28 20:29:56 -07:00
Jamie Cameron
2b1ee8bc77 Also unmask units when enabling https://www.virtualmin.com/node/45624 2017-03-28 07:56:35 -07:00
Ilia Rostovtsev
9215dde41a Excluding bind mounts properly
Jamie, hi.

I finally had a time to take a look. The fix is simple and straight forward. It works perfectly on my production system. All "bad" mounts are excluded and not listed anymore.
2017-03-28 12:31:02 +03:00
Jamie Cameron
b59f108286 Include JSON::PP in the core webmin package 2017-03-27 21:36:49 -07:00
Jamie Cameron
5708320472 Merge pull request #525 from swelljoe/master
makemodulerpm.pl updates
2017-03-27 16:13:08 -07:00
Joe Cooper
5e8b5ca17b strict/warnings 2017-03-27 04:02:00 -04:00
Joe Cooper
42e3c2c251 COlorize, declare some vars 2017-03-27 03:25:58 -04:00
Joe Cooper
a7123cb069 merge upstream, fix conflicts 2017-03-27 02:51:55 -04:00
Joe Cooper
92b8db19a5 strict/warn, no root needed, colors 2017-03-27 02:40:26 -04:00
Jamie Cameron
a4a6a30234 Rename all config files with stars to use ALL 2017-03-26 22:05:43 -07:00
Jamie Cameron
ebd30bd0ef Rename more star config files 2017-03-26 21:54:55 -07:00
Jamie Cameron
a56772ceba Test rename one star file 2017-03-26 21:54:15 -07:00
Jamie Cameron
0b803265f7 Use default_dir in module.info as final module dir, if set 2017-03-26 21:35:02 -07:00
Jamie Cameron
7774c3cd1f Exclude 'verison' file from packaged modules and themes 2017-03-26 14:25:00 -07:00
Jamie Cameron
e88d7bf265 Snapshots in thinpools don't really have a size 2017-03-26 14:18:10 -07:00
Jamie Cameron
860ae2f15e changelog for thin LV feature 2017-03-26 14:05:58 -07:00
Jamie Cameron
33f6a5d1a2 Link to source of LV snapshots 2017-03-26 14:03:28 -07:00
Jamie Cameron
979aac7178 Snapshots in thin pools don't need a size specified 2017-03-26 13:50:38 -07:00
Jamie Cameron
8bfed13f60 Use formal params 2017-03-26 13:39:47 -07:00
Jamie Cameron
f73482ed0a Deletion warning for thin LVs 2017-03-26 12:06:23 -07:00
Jamie Cameron
80ea8d8b2e Close DH params file to avoid FS leakage 2017-03-26 11:54:37 -07:00
Jamie Cameron
9c831d62f8 Show LV members 2017-03-26 11:54:14 -07:00
Jamie Cameron
8019ac7cab Add return link from mkfs form 2017-03-26 10:36:20 -07:00
Jamie Cameron
ae2e6d4df2 thin pool creation now working 2017-03-26 10:26:11 -07:00
Jamie Cameron
2f85ff61de German translation updates from Raymond Vetter 2017-03-26 09:38:00 -07:00
Jamie Cameron
0372fdcc2c German translation updates from Raymond Vetter 2017-03-26 09:37:54 -07:00
Jamie Cameron
74db8b7542 More work on supporting thin pools in the UI 2017-03-24 17:51:22 -07:00
Jamie Cameron
dad7e2f052 Function to create a thin pool 2017-03-24 17:32:04 -07:00
Jamie Cameron
01dcde3e62 CGI to create a thin pool 2017-03-24 16:27:44 -07:00
Jamie Cameron
dcd57e44c0 LVM thin pool form 2017-03-24 16:13:40 -07:00
Jamie Cameron
5a69c9ddbd Set new DNSSEC key ownership correctly https://sourceforge.net/p/webadmin/bugs/4923/ 2017-03-24 13:56:38 -07:00
Jamie Cameron
1db625a87e Fix some perl warnings https://sourceforge.net/p/webadmin/bugs/4921/ 2017-03-23 17:11:50 -07:00
Jamie Cameron
1ec2127363 Pass in password on the command line https://www.virtualmin.com/node/50338 2017-03-22 21:03:48 -07:00
Jamie Cameron
fdcfb5495e Make source/dest IP fields nicer https://www.virtualmin.com/node/51219 2017-03-22 17:33:38 -07:00
Jamie Cameron
46814d9e2f Preserve spaces when editing directives https://github.com/virtualmin/virtualmin/issues/35 2017-03-22 16:58:20 -07:00
Jamie Cameron
4f1b8c0ae0 Add missing string 2017-03-20 17:00:22 -07:00
Jamie Cameron
3f65039494 Use normal form API https://github.com/qooob/authentic-theme/issues/680 2017-03-19 13:42:16 -07:00
Jamie Cameron
837e04945b Get interfaces early on so that any error doesn't appear in the middle of a table https://github.com/qooob/authentic-theme/issues/679 2017-03-19 10:02:01 -07:00
Jamie Cameron
a80b49b01c Merge branch 'master' of git@github.com:webmin/webmin 2017-03-19 10:00:58 -07:00
Jamie Cameron
12fe0f611b Blank isn't an allowed option for mynetworks_style 2017-03-19 09:57:38 -07:00
Jamie Cameron
99400d02d8 Merge pull request #519 from qooob/patch-4
Let a function to accept non numeric value
2017-03-18 17:16:53 -07:00
Ilia Rostovtsev
e9dc1726ae Let a function to accept non numeric value
In case the way it is now, there is no use in custom values for radio buttons. For example it will never let it set to `false` or `true` (as a string), thus always passing an integer to the `ui_radio()`.
2017-03-18 17:16:20 +03:00
Jamie Cameron
ad0bddd300 German translation updates from Raymond Vetter 2017-03-17 20:20:21 -07:00
Jamie Cameron
d0b19dbb75 Fix more unescaped paths 2017-03-16 22:54:36 -07:00
Jamie Cameron
7fa58e88c1 Don't trust path elements 2017-03-15 23:22:47 -07:00
Jamie Cameron
65e99558ad Fix return link 2017-03-15 23:19:49 -07:00
Jamie Cameron
8f1441ae54 Fix return link 2017-03-15 23:17:13 -07:00
Jamie Cameron
c3a5efb914 Don't include error messages in the output from mysqldump https://www.virtualmin.com/node/50156 2017-03-14 20:40:22 -07:00
Jamie Cameron
005a90c79d Username can be edited https://github.com/webmin/webmin/issues/513 2017-03-13 20:32:08 -07:00
Jamie Cameron
4dc9188d86 Clear module.infos in new location too 2017-03-13 19:42:36 -07:00
Jamie Cameron
2dc7d94a74 Remove un-necessary cache clearing 2017-03-13 19:41:59 -07:00
Jamie Cameron
85aada310a Version bump 2017-03-12 20:29:07 -07:00
Jamie Cameron
5a19fe2e6c Deal with older Net::SSLeay versions 2017-03-12 18:02:02 -07:00
Jamie Cameron
55688e6be4 Fedora 25 uses mariaDB 2017-03-12 17:44:02 -07:00
Jamie Cameron
24cf47dde0 Completed webmin per-domain cert support 2017-03-12 17:42:03 -07:00
Jamie Cameron
33d45b19d4 Use formal params 2017-03-12 17:16:11 -07:00
Jamie Cameron
95b846c6e5 Allow hostnames to be entered as well as IPs 2017-03-12 15:36:15 -07:00
Jamie Cameron
0ba71128f1 Allow hostnames to be entered as well as IPs 2017-03-12 15:34:30 -07:00
Jamie Cameron
258490b256 Don't log empty sessions 2017-03-11 13:10:43 -08:00
Jamie Cameron
b29bda4f93 Suppress redefined function warnings https://www.virtualmin.com/node/46831 2017-03-11 13:04:56 -08:00
Jamie Cameron
c7a941c9af Fix bug where a sub-directory with the same name cannot be linked to 2017-03-10 19:05:07 -08:00
Jamie Cameron
97c410db42 Dev version bump 2017-03-09 22:40:33 -08:00
Jamie Cameron
1ff6413c04 Allow : in redirect URL 2017-03-09 17:50:47 -08:00
Jamie Cameron
34de35e281 Fix perl warning https://sourceforge.net/p/webadmin/bugs/4920/ 2017-03-09 17:29:00 -08:00
Jamie Cameron
9aa6081cd8 keep changelog.md in distro 2017-03-09 08:59:30 -08:00
Jamie Cameron
947187c0c2 German translation updates from Raymond Vetter 2017-03-08 22:16:20 -08:00
Jamie Cameron
47611a5fb7 German translation updates from Raymond Vetter 2017-03-08 22:16:20 -08:00
Jamie Cameron
2cf8380a52 Fix typo 2017-03-08 22:14:01 -08:00
Jamie Cameron
2b2b2d55e7 Clarifiy meaning of filemanger ACL 2017-03-08 22:08:11 -08:00
Jamie Cameron
a1c5db779d Skip duplicate themes (like blue and gray) https://sourceforge.net/p/webadmin/bugs/4917/ 2017-03-08 21:21:20 -08:00
Jamie Cameron
f559c1a078 Handle version parts like deb8u9 and deb8u10 https://sourceforge.net/p/webadmin/bugs/4911/ 2017-03-07 20:53:17 -08:00
Jamie Cameron
cbec150213 Handle allow-hotplug lnine https://www.virtualmin.com/node/43038 2017-03-07 20:00:14 -08:00
Jamie Cameron
b1c0c16f4b Fix handling of allow-transfer lines with a key https://github.com/webmin/webmin/issues/506 2017-03-06 20:02:23 -08:00
Jamie Cameron
8cb1f61426 German translation updates from Raymond Vetter 2017-03-06 19:56:16 -08:00
Jamie Cameron
1ca22a3c10 Merge branch 'master' of git@github.com:webmin/webmin 2017-03-05 13:45:31 -08:00
Jamie Cameron
db801188ab Page to manually edit cron jobs 2017-03-05 13:45:16 -08:00
Jamie Cameron
9fe8bd9f93 Merge pull request #502 from jjinno/master
enable/disable cluster-useradmin features & fix visual bugs
2017-03-01 16:54:49 -08:00
jjinno
6ea05708b9 fixed icons & implemented link-disable option
Fixed missing icons link due to bad path.
Implemented use of "conf_host_links" option to enable/disable links to the "edit host" page.
2017-03-01 01:05:34 -08:00
jjinno
3c90c1465a fixed icons & table view
Fixed missing icons link due to bad path.
Ported "table view" from index.cgi... because there is just one module-global option to use "table view"... so it should probably apply module-globally?
2017-03-01 00:59:43 -08:00
jjinno
f546f23f91 fixed HTML table error
there was a missing TD tag causing serious layout issues.
2017-03-01 00:54:51 -08:00
jjinno
2322feb9ae icons & table view
Fixed missing icons link due to bad path.
Ported "table view" from index.cgi... because there is just one module-global option to use "table view"... so it should probably apply module-globally?
2017-03-01 00:50:34 -08:00
jjinno
91273bfe18 configure host-as-a-link
ability to disable host links (looks best in table view) so that users/groups are not visible
2017-03-01 00:44:47 -08:00
jjinno
c2b396cfbd add host-as-a-link option default
ability to disable host links (looks best in table view) so that users/groups are not visible
2017-03-01 00:43:44 -08:00
jjinno
c3f3db868e update default config
turned on all features by default (keeps existing behavior)
2017-02-28 23:23:13 -08:00
jjinno
c0a43d0aa5 reorder config options
reordered config options to match displayed order
2017-02-28 23:21:54 -08:00
jjinno
b5243ac90b enable/disable features
config options for enabling/disabling:
 - Add user
 - Add group
 - Find user
 - Find group
 - Refresh cache
 - Synchronize

The idea was to allow an administrator the ability to provide refresh & sync without needing to provide access to the cluster-module's inferior version of the users/groups tools... but I have broken out the enable/disable on each feature individually, should one want to manage at that level.
2017-02-28 23:10:17 -08:00
jjinno
bb3f72cf85 add enable/disable for features
Adding config options for enabling/disabling:
 - Add user
 - Add group
 - Find user
 - Find group
 - Refresh cache
 - Synchronize
2017-02-28 22:51:52 -08:00
Jamie Cameron
082c0644d6 Remove message about timeout of logged out user 2017-02-27 19:26:03 -08:00
Jamie Cameron
7a67864827 Clarify what ssl_ca is for 2017-02-26 21:12:44 -08:00
Jamie Cameron
bdb22b37dc Fix perl warnings https://sourceforge.net/p/webadmin/bugs/4907/ 2017-02-26 14:11:32 -08:00
Jamie Cameron
cb24e776b8 Fix perl warnings https://sourceforge.net/p/webadmin/bugs/4907/ 2017-02-26 14:08:41 -08:00
Jamie Cameron
c816d1385f Detect missing IMAP handle better https://virtualmin.com/node/48616 2017-02-25 13:33:28 -08:00
Jamie Cameron
a0618b3650 Support detecting CPU load and model on FreeBSD https://github.com/webmin/webmin/issues/498 2017-02-24 16:24:04 -08:00
Jamie Cameron
a01ceec394 Merge branch 'master' of git@github.com:webmin/webmin 2017-02-24 16:04:59 -08:00
Jamie Cameron
99f73bd80f Filter out template units, which cause the subsequent call to systemctl show to fail https://github.com/webmin/webmin/issues/430: 2017-02-24 16:04:21 -08:00
Jamie Cameron
ab522f84fc Merge pull request #499 from jjinno/master
Enable/Disable for Winbind & File/Printer Share buttons
2017-02-23 22:37:26 -07:00
jjinno
4d77d319dc code refactor + new use of conf_fs/conf_ps
Refactor complicated "Global Configuration" table to be simpler code... just like the "Samba Users" table created just below it...

instead of misusing permissions bits from ACLfs_global/ACLps_global, using conf_fs/conf_ps respectively to determine whether or not the File/Printer share buttons should be displayed.
2017-02-23 14:54:51 -08:00
jjinno
e184759e85 default values
added for conf_fs/conf_ps
2017-02-23 14:47:38 -08:00
jjinno
1ed16816de new variables
default values
conf_fs=0,conf_ps=0
2017-02-23 14:45:07 -08:00
jjinno
4f51ed32a6 new admin enable/disable options
Added a radio button to disable (hide) the "Winbind Options" button.
Added 2 new variables ("conf_fs" & "conf_ps") that are defined as:
    0 when ALL of create/read/write permissions are denied for file/print shares (respectively)
    1 when ANY of create/read/write permissions are given to file/print shares (respectively)

These values will be picked up by index.cgi
2017-02-23 14:43:37 -08:00
jjinno
4b664a541d add lang for disable winbind button
self explanatory
2017-02-23 12:26:15 -08:00
Jamie Cameron
dbd99caaee Path needs to be escaped in footer 2017-02-19 17:30:10 -08:00
Jamie Cameron
54fc94e32b Fix XSS vulnerability in path 2017-02-19 17:28:39 -08:00
Jamie Cameron
b8333ec442 Fedora 25 uses mariadb 2017-02-18 21:22:29 -08:00
Jamie Cameron
f99d1d20e0 Allow all types of ICMPv6 traffic https://sourceforge.net/p/webadmin/bugs/4900/ 2017-02-18 14:14:10 -08:00
Jamie Cameron
c1ebe147ac BIND mounts can't have quotas https://github.com/webmin/webmin/issues/493 2017-02-16 21:48:32 -08:00
Jamie Cameron
1348fd1ef6 Suppress duplicate definition warnings, which can happen in some cases where the theme calls this library https://www.virtualmin.com/node/46831 2017-02-15 20:01:21 -08:00
Jamie Cameron
71fb93f840 Fix perl warnings https://sourceforge.net/p/webadmin/bugs/4895/ 2017-02-12 10:01:46 -08:00
Jamie Cameron
236c09f3c0 Flag is info and not --info e50c011c08 2017-02-12 09:53:21 -08:00
Jamie Cameron
54bb4804fc Debian 8 has changed the squid package name https://sourceforge.net/p/webadmin/bugs/4894/ 2017-02-10 15:58:01 -08:00
Jamie Cameron
0ebbe5660a Deal with silly version numbers like 2.11 https://www.virtualmin.com/node/46799 2017-02-10 15:52:32 -08:00
Jamie Cameron
155f98977a Move version comparison code up to global 2017-02-10 15:47:35 -08:00
Jamie Cameron
24f731aac8 IP to ignore can be a hostname https://sourceforge.net/p/webadmin/bugs/4893/ 2017-02-10 15:38:33 -08:00
Jamie Cameron
6a8df969d7 Fix option name https://sourceforge.net/p/webadmin/bugs/4892/ 2017-02-07 21:06:26 -08:00
Jamie Cameron
3300164e7e Catalan update from Jaume Badiella 2017-02-05 20:36:27 -08:00
Jamie Cameron
207e0a6dce Catalan update from Jaume Badiella 2017-02-05 20:36:00 -08:00
Jamie Cameron
f95f2cef79 Include DNS validation timeout 2017-02-05 15:13:27 -08:00
Jamie Cameron
6dc037a271 TTL should be lower for let's encrypt validation record 2017-02-05 15:05:25 -08:00
Jamie Cameron
1379dc8288 Don't wait forever for validation 2017-02-05 15:03:38 -08:00
Jamie Cameron
28ac57ac21 dev version bump 2017-02-05 14:23:28 -08:00
Jamie Cameron
1f906be5cb changelog for let's encrypt 2017-02-05 14:18:52 -08:00
Jamie Cameron
2312f3379d DNS validation support in acme_tiny via hook script 2017-02-05 13:18:34 -08:00
Jamie Cameron
adb526466a German translation updates from Raymond Vetter 2017-02-05 10:40:31 -08:00
Jamie Cameron
88d914721b Some older Apache versionsdon't support AuthType https://www.virtualmin.com/node/45842 2017-02-05 10:25:57 -08:00
Jamie Cameron
ce18bbe753 Add missing source columns properly https://github.com/qooob/authentic-theme/issues/661 2017-02-04 21:31:04 -08:00
Jamie Cameron
3edbc9b90f Don't rotate a non-existent file, as this can cause it to be created with the wrong ownership https://sourceforge.net/p/webadmin/bugs/4890/ 2017-02-04 20:53:51 -08:00
Jamie Cameron
2b362c05b1 Merge branch 'master' of git@github.com:webmin/webmin 2017-02-01 14:50:16 -08:00
Jamie Cameron
8acd741d78 Add allow-transfer block for slave domains https://github.com/webmin/webmin/issues/487 2017-02-01 14:39:28 -08:00
Jamie Cameron
d74d8f045c Merge pull request #488 from mnoorenberghe/patch-2
Don't blank the password field on the login page
2017-02-01 14:17:53 -08:00
Jamie Cameron
e078bbc930 Detect if a zero-sized cert was created https://www.virtualmin.com/node/45801 2017-02-01 10:10:31 -08:00
Matt N
30dd9d1fb4 Don't blank the password field on the login page
This interferes with password managers and the general consensus from the security community is that password managers improve security by encouraging stronger passwords and reducing password re-use.
2017-02-01 01:33:30 -08:00
Jamie Cameron
8b8b196d31 SSSD also indicates LDAP is in use https://www.virtualmin.com/node/45780 2017-01-31 23:07:57 -08:00
Jamie Cameron
f8e042beac ALways use only list of subnets and hosts that are visible 2017-01-31 22:56:46 -08:00
Jamie Cameron
b45191de98 Fixes to get DNS validation integration with certbot working 2017-01-31 17:42:29 -08:00
Jamie Cameron
21fc5ebd2c Merge branch 'master' of git@github.com:webmin/webmin 2017-01-31 15:45:08 -08:00
Jamie Cameron
ca79327451 Work on DNS-based validation for let's encrypt 2017-01-31 15:44:38 -08:00
Jamie Cameron
49c927ae80 Merge pull request #486 from qooob/patch-3
Make sure that new dropdown always visible
2017-01-31 12:54:35 -08:00
Ilia Rostovtsev
81e89ae384 Make sure that new dropdown always visible
To make sure it doesn't happen.
https://github.com/qooob/authentic-theme/issues/660
2017-01-31 12:48:07 +03:00
Jamie Cameron
52cb2b38e0 Fix wrong text string https://www.virtualmin.com/node/45713 2017-01-29 15:44:20 -08:00
Jamie Cameron
9c77c762b1 Hook scripts needed for Let's Encrypt DNS validation 2017-01-29 11:21:22 -08:00
Jamie Cameron
5a234fce9e Use formal parameters 2017-01-29 11:07:19 -08:00
Jamie Cameron
8f49a258b6 Move code for DNF into the right place e50c011c08 2017-01-27 17:18:30 -08:00
Jamie Cameron
7e06a2382e Fix labels for SSHFP support 2017-01-27 16:41:36 -08:00
Jamie Cameron
dee77082ff SSHFP types are 1-based 2017-01-26 22:45:46 -08:00
Jamie Cameron
0fd3627e96 SSHFP record support 2017-01-26 21:27:33 -08:00
Jamie Cameron
e17ee3cc8c Legit HTML can appear outside the body in corrupt emails 2017-01-24 21:56:22 -08:00
Jamie Cameron
aec4a83306 Don't try IPv6 resolution if not enabled 2017-01-23 18:48:32 -08:00
Jamie Cameron
a02935d9e4 Add Springdale as a Redhat clone https://sourceforge.net/p/webadmin/bugs/4877/ 2017-01-23 10:21:53 -08:00
Jamie Cameron
5bd77486d9 Catch failure of the mysqldump command in the pipeline https://sourceforge.net/p/webadmin/bugs/4878/ 2017-01-22 19:39:39 -08:00
Jamie Cameron
ee35b62079 Add core function to check if bash is being used 2017-01-22 16:16:46 -08:00
Jamie Cameron
21bb772fd3 DNF uses a different changelog command e50c011c08 2017-01-22 09:24:40 -08:00
Jamie Cameron
87994b0e6a Also do regular encoding french 2017-01-19 21:05:30 -08:00
Jamie Cameron
be87b67857 French translation from Laurent Coignet 2017-01-19 20:58:00 -08:00
Jamie Cameron
cb195701b3 French translation from Laurent Coignet 2017-01-19 20:57:45 -08:00
Jamie Cameron
dd8bb9bb15 French translation from Laurent Coignet 2017-01-19 20:57:26 -08:00
Jamie Cameron
ed72b57c4a Fix group membership checks https://sourceforge.net/p/webadmin/bugs/4875/ 2017-01-19 16:46:15 -08:00
Jamie Cameron
6bc9041a52 CentOS 7 uses 1000 as the base UID/GID https://sourceforge.net/p/webadmin/bugs/4874/ 2017-01-18 16:51:19 -08:00
Jamie Cameron
36b15f2615 Properly identify other bridge types https://github.com/webmin/webmin/issues/482 2017-01-18 15:45:13 -08:00
Jamie Cameron
ce0da729ee Handle case where getaddrinfo is not available 2017-01-18 15:27:21 -08:00
Jamie Cameron
84c6b0d831 Give DNSSEC key files the right ownership https://github.com/webmin/webmin/issues/471 2017-01-15 20:50:00 -08:00
Jamie Cameron
e50c011c08 Use DNF instrnstead of YUM if installed https://github.com/webmin/webmin/issues/480 2017-01-15 20:27:53 -08:00
Jamie Cameron
6df7e9b67c GPT disks can have more than 4 primary partitions https://sourceforge.net/p/webadmin/bugs/4872/ 2017-01-13 15:16:32 -08:00
Jamie Cameron
1dd3d51333 Fix perl warning if module is undef https://sourceforge.net/p/webadmin/bugs/4867/ 2017-01-11 16:20:51 -08:00
Jamie Cameron
16c4ca3740 Add clone button to backups https://github.com/webmin/webmin/issues/477 2017-01-10 12:46:12 -08:00
Ilia Rostovtsev
f6634503dd Enable editor for .XSL files
https://github.com/qooob/authentic-theme/issues/629#issuecomment-271280127
2017-01-10 12:21:27 +03:00
Jamie Cameron
4f386ddc84 New DNSSEC key types https://www.virtualmin.com/node/45306 2017-01-09 15:54:51 -08:00
Jamie Cameron
5bf35ef9cd Norwegian update from Stein-Aksel Basma 2017-01-09 15:32:59 -08:00
Jamie Cameron
d46a07d74b Version bump 2017-01-06 22:07:36 -08:00
Jamie Cameron
a7cf8d49dd German translation updates from Raymond Vetter 2017-01-05 23:01:36 -08:00
Jamie Cameron
4368bf87bb Add field for CIFS version https://virtualmin.com/node/45199 2017-01-03 17:14:11 -08:00
Jamie Cameron
6551501b7e Ensure apache access to the well-known directory 2017-01-02 18:11:18 -08:00
Jamie Cameron
9449111200 permissions fixes 2017-01-02 13:19:38 -08:00
Jamie Cameron
442fc7fd0f Use new version saving function 2017-01-02 13:19:01 -08:00
Jamie Cameron
3eff4a2533 Merge branch 'master' of git@github.com:webmin/webmin 2017-01-02 13:17:55 -08:00
Jamie Cameron
f643ce80d0 Make authentic the default for new installs 2017-01-02 13:16:44 -08:00
Jamie Cameron
f84f99abb1 Merge pull request #475 from qooob/patch-1
Missed dialogs for new 1.830 distro
2017-01-01 21:23:29 -08:00
Ilia Rostovtsev
a84fe682b7 Missed dialogs for new 1.830 distro 2017-01-01 14:19:29 +03:00
Jamie Cameron
fecfdb2f2b I already bumped the version 2016-12-27 13:33:20 -08:00
Jamie Cameron
b091ba221c New version bump 2016-12-27 11:23:03 -08:00
Jamie Cameron
1fd2f398ad Add and use a function to save the MySQL version number 2016-12-26 21:11:11 -08:00
Jamie Cameron
ad381d1447 Differentiate remote and local mysql versions 2016-12-24 22:33:26 -08:00
Jamie Cameron
1004cedd4e Merge branch 'master' of git@github.com:webmin/webmin 2016-12-22 21:38:48 -08:00
Jamie Cameron
837d98d6bc Fix case where a non-root user is downloading in the browser https://virtualmin.com/node/44972 2016-12-22 21:36:36 -08:00
Joe Cooper
f16522157d Update README 2016-12-22 20:26:17 -08:00
Jamie Cameron
ca071daec2 New version bump 2016-12-21 14:47:19 -08:00
Jamie Cameron
90fa9332e9 Fix perl typo 2016-12-21 14:31:18 -08:00
Jamie Cameron
b6984eb5fd New Debian and Mint versions 2016-12-20 17:26:06 -08:00
Jamie Cameron
dc5a5fb4e7 Make challenge file world-readable, to ensure Apache can read it 2016-12-20 09:00:20 -08:00
Jamie Cameron
05ebd304fe Filter out duplicate updates 2016-12-18 11:07:00 -08:00
Jamie Cameron
dc69277ab3 German translation updates from Raymond Vetter 2016-12-18 10:36:28 -08:00
Jamie Cameron
7fd09d1a95 German translation updates from Raymond Vetter 2016-12-18 10:36:22 -08:00
Jamie Cameron
7dae254be4 Fix perl warning 2016-12-16 21:46:56 -08:00
Jamie Cameron
ce6b5fed71 German translation update from Abrax 2016-12-14 22:00:44 -08:00
Jamie Cameron
62049ffa47 Expand supported Squid versions 2016-12-14 09:36:23 -08:00
Jamie Cameron
2e6308372d Don't prompt for password 2016-12-11 19:54:47 -08:00
Jamie Cameron
e87f8ef1f5 Handle new format diretives for the root DN and password 2016-12-11 11:08:48 -08:00
Jamie Cameron
12b3e98bec Shell script needs to start with /bin/sh 2016-12-10 22:44:12 -08:00
Jamie Cameron
319c3c1f42 Fix inconsistent quoting https://github.com/webmin/webmin/issues/470 2016-12-09 10:01:04 -08:00
Jamie Cameron
6a7c775d83 Filter out any JS in action descriptions 2016-12-06 21:09:56 -08:00
Jamie Cameron
e43ec7e4c0 HTML escape record values 2016-12-06 20:35:06 -08:00
Jamie Cameron
3bee204db2 Fix permissions check for dleting zones, that was breaking access to zones in views https://sourceforge.net/p/webadmin/bugs/4853/ 2016-12-06 15:18:24 -08:00
Jamie Cameron
96c6793301 Don't ignore selection for files that start with 0 https://www.virtualmin.com/node/44669 2016-12-06 07:46:28 -08:00
Jamie Cameron
f786638c29 If a command is already in the previous list, move it to the top https://github.com/webmin/webmin/issues/469 2016-12-05 14:50:18 -08:00
Jamie Cameron
bb2f90ee5b Disallow backslash in passwords https://virtualmin.com/node/44451 2016-12-04 10:25:48 -08:00
Jamie Cameron
6676f6c660 Merge branch 'master' of git@github.com:webmin/webmin 2016-12-04 10:13:43 -08:00
Jamie Cameron
0e38b9e7a0 Cert file could be a link, so copy the target rather than the link 2016-12-04 10:03:11 -08:00
Jamie Cameron
afa7f0d82b Merge pull request #467 from qooob/master
Unambiguous table header
2016-12-02 14:22:05 -08:00
Ilia Rostovtsev
bf7873b3e0 Unambiguous table header 2016-12-02 09:43:21 +03:00
Ilia Rostovtsev
e1fa75f314 Unambiguous table header 2016-12-02 09:43:01 +03:00
Ilia Rostovtsev
8aa6cc1c08 Unambiguous table header 2016-12-02 09:42:48 +03:00
Ilia Rostovtsev
f06acc1a92 Unambiguous table header 2016-12-02 09:42:33 +03:00
Ilia Rostovtsev
675e0f032a Unambiguous table header 2016-12-02 09:42:07 +03:00
Ilia Rostovtsev
917ff95a90 Unambiguous table header 2016-12-02 09:41:24 +03:00
Ilia Rostovtsev
c415c46b37 Unambiguous table header 2016-12-02 09:40:36 +03:00
Jamie Cameron
e5760f78ac Drop two old themes from the standard package 2016-11-30 17:16:24 -08:00
Jamie Cameron
88907f3079 Show previously used names if any https://www.virtualmin.com/node/41951 2016-11-30 15:52:33 -08:00
Jamie Cameron
f700928156 Merge branch 'master' of git@github.com:webmin/webmin 2016-11-30 15:50:39 -08:00
Jamie Cameron
149c4aad4f Some records don't have values (like ttl) https://sourceforge.net/p/webadmin/bugs/4851/ 2016-11-30 15:48:43 -08:00
Jamie Cameron
9bc5766fa1 Merge pull request #465 from qooob/master
SeLinux/attributes listing and control - Security strengthening/2
2016-11-30 13:51:41 -08:00
Jamie Cameron
c36f4e2af1 Merge pull request #466 from qooob/patch-1
`stat()` -> `lstat()` seems better
2016-11-30 13:21:04 -08:00
Ilia Rostovtsev
3b66f444f8 stat() -> lstat() seems better 2016-11-30 15:00:57 +03:00
Ilia Rostovtsev
75700873ff SeLinux/attributes listing and control - Security strengthening/2 2016-11-30 13:48:46 +03:00
Ilia Rostovtsev
86dfb7f686 SeLinux/attributes listing and control - Security strengthening/2 2016-11-30 13:47:06 +03:00
Jamie Cameron
47b26ce53e Merge pull request #464 from qooob/master
SeLinux/attributes listing and control - Security strengthening
2016-11-29 14:00:16 -08:00
Ilia Rostovtsev
28c5b02c4a SeLinux/attributes listing and control - Security strengthening 2016-11-30 00:13:36 +03:00
Jamie Cameron
5c8540a832 Merge pull request #463 from qooob/master
SeLinux/attributes listing and control
2016-11-29 10:06:17 -08:00
Ilia Rostovtsev
5835afd971 SeLinux/attributes listing and control 2016-11-29 16:44:02 +03:00
Ilia Rostovtsev
ff0ba4822d SeLinux/attributes listing and control 2016-11-29 16:43:32 +03:00
Ilia Rostovtsev
df1334f3af SeLinux/attributes listing and control 2016-11-29 16:42:36 +03:00
Ilia Rostovtsev
7621053e6c SeLinux/attributes listing and control 2016-11-29 16:42:17 +03:00
Ilia Rostovtsev
21b431f59b SeLinux/attributes listing and control 2016-11-29 16:41:52 +03:00
Ilia Rostovtsev
5a47843eb6 SeLinux/attributes listing and control 2016-11-29 16:40:56 +03:00
Ilia Rostovtsev
cde06ff828 SeLinux/attributes listing and control 2016-11-29 16:40:17 +03:00
Ilia Rostovtsev
d438f002a9 SeLinux/attributes listing and control 2016-11-29 16:39:43 +03:00
Ilia Rostovtsev
aa0f31c93d SeLinux/attributes listing and control 2016-11-29 16:39:22 +03:00
Ilia Rostovtsev
0e52919e83 SeLinux/attributes listing and control 2016-11-29 16:39:02 +03:00
Ilia Rostovtsev
fdb811e1a6 SeLinux/attributes listing and control 2016-11-29 16:38:43 +03:00
Ilia Rostovtsev
d653841a1d SeLinux/attributes listing and control 2016-11-29 16:38:06 +03:00
Ilia Rostovtsev
1957217e75 SeLinux/attributes listing and control 2016-11-29 16:37:38 +03:00
Ilia Rostovtsev
cca0d50a6b SeLinux/attributes listing and control 2016-11-29 16:36:58 +03:00
Ilia Rostovtsev
dffc6c10b2 SeLinux/attributes listing and control 2016-11-29 16:36:24 +03:00
Ilia Rostovtsev
043690aee8 SeLinux/attributes listing and control 2016-11-29 16:36:11 +03:00
Ilia Rostovtsev
c03e3a5c97 SeLinux/attributes listing and control 2016-11-29 16:35:07 +03:00
Ilia Rostovtsev
2c94d548f2 SeLinux/attributes listing and control 2016-11-29 16:33:02 +03:00
Ilia Rostovtsev
0df9e25be2 SeLinux/attributes listing and control 2016-11-29 16:32:43 +03:00
Ilia Rostovtsev
ed66605896 SeLinux/attributes listing and control 2016-11-29 16:32:24 +03:00
Ilia Rostovtsev
70b534ef3c SeLinux/attributes listing and control 2016-11-29 16:31:57 +03:00
Ilia Rostovtsev
b085b2142f SeLinux/attributes listing and control 2016-11-29 16:31:02 +03:00
Jamie Cameron
c51b7ca4fd Try both upper and lower case P flags https://www.virtualmin.com/node/44318 2016-11-28 15:01:32 -08:00
Jamie Cameron
3e592861d4 Merge branch 'master' of git@github.com:webmin/webmin 2016-11-26 17:22:35 -08:00
Jamie Cameron
f505abccd5 Fix perl warning by failing fast if directory doesn't exist https://sourceforge.net/p/webadmin/bugs/4849/ 2016-11-26 17:15:54 -08:00
Jamie Cameron
592d47067a Merge pull request #460 from qooob/patch-39
Typo
2016-11-25 09:47:05 -08:00
Ilia Rostovtsev
37c7f1aaa7 Typo 2016-11-25 15:16:38 +03:00
Jamie Cameron
2b7688d445 Trying to limit the level of recursion when parsing turns out to be infinitely expensive :-( 2016-11-18 15:14:49 -08:00
Jamie Cameron
a508348cca Make missing perl module clearer 2016-11-18 13:42:19 -08:00
Jamie Cameron
84de87f7ed Take fixed version into account when checking for a new version 2016-11-14 20:34:34 -08:00
Jamie Cameron
c8ef4468c3 Stop including the X1 let's encrypt cert https://www.virtualmin.com/node/43460 2016-11-11 18:46:43 -08:00
Jamie Cameron
79cc63c016 / is not an actual chroot 2016-11-10 11:25:16 -08:00
Jamie Cameron
c0a72633e8 Add support for pre-theme-change functions as well 2016-11-10 10:12:59 -08:00
Jamie Cameron
f3c063644d theme pre/post functions have to be exported 2016-11-10 10:04:25 -08:00
Jamie Cameron
cda820a418 MySQL 5.7.16 doesn't support the hosts table https://www.virtualmin.com/node/43131 2016-11-09 20:56:08 -08:00
Jamie Cameron
c38725d371 Load theme library first, so tha the old theme's functions are available 2016-11-04 08:35:21 -07:00
Jamie Cameron
9af0e28e02 Suppress message when backing up to browser https://www.virtualmin.com/node/43291 2016-11-02 22:09:52 -07:00
Jamie Cameron
d8a2a373e4 Add post-theme-change function 2016-11-01 20:39:06 -07:00
Jamie Cameron
d03f6fdc67 Support views without needing to login to MySQL 2016-10-30 22:43:49 -07:00
Jamie Cameron
1e3b845bf1 Deal with invalid keys without crashing 2016-10-30 22:19:45 -07:00
Jamie Cameron
eab1118184 Fix saving of groups https://sourceforge.net/p/webadmin/bugs/4844/ 2016-10-30 20:26:30 -07:00
Jamie Cameron
a19b85d570 Limit level of recursion possible for the most expensive regexp https://www.virtualmin.com/node/43153 2016-10-28 16:53:59 -07:00
Jamie Cameron
0a08ee52ea mysql 5.5+ always supports views 2016-10-27 23:18:35 -07:00
Jamie Cameron
f34ca656a5 Fix another use of nocreateuser permission https://github.com/webmin/webmin/issues/449 2016-10-26 22:03:51 -07:00
Jamie Cameron
0ca5b18938 Disallow colon in default value https://sourceforge.net/p/webadmin/bugs/4839/ 2016-10-26 21:44:03 -07:00
Jamie Cameron
a85db57cdd Merge branch 'master' of git@github.com:webmin/webmin 2016-10-24 17:17:01 -07:00
Jamie Cameron
f8f13738a1 Fix perl warning https://www.virtualmin.com/node/39161 2016-10-24 17:09:19 -07:00
Jamie Cameron
85ce8657f7 Merge pull request #446 from augustr/fix-bind8-lib-comparison
Fix bind version comparison in bind8-lib
2016-10-22 16:39:41 -07:00
August Rydberg
07abd58e8b Fix bind version comparison in bind8-lib 2016-10-22 09:49:37 +02:00
Jamie Cameron
475cc4fbdf Strip out unsafe HTML from error messages 2016-10-21 15:46:23 -07:00
Jamie Cameron
bb0312469e Support all NFS security options https://github.com/webmin/webmin/issues/443 2016-10-19 22:03:28 -07:00
Jamie Cameron
095879911f MAC addresses must have a :, - or . in them 2016-10-19 21:27:20 -07:00
Jamie Cameron
99afee45aa If host entered is 12 hex bytes in any format, convert to standard format 2016-10-19 21:25:15 -07:00
Jamie Cameron
cf956129cb German translation updates from Raymond Vetter 2016-10-18 12:37:10 -07:00
Jamie Cameron
078131f4f6 German translation updates from Raymond Vetter 2016-10-18 12:37:02 -07:00
Jamie Cameron
04f2b51bab Fix some perl warnings https://sourceforge.net/p/webadmin/bugs/4837/ 2016-10-17 21:09:04 -07:00
Jamie Cameron
2a65b999ca source line is not part of an interface https://www.virtualmin.com/node/43038 2016-10-16 15:22:59 -07:00
Jamie Cameron
5486730fd6 Fix incorrect field name 2016-10-16 11:33:47 -07:00
Jamie Cameron
f7f3e3b5ac Show the TLSA numeric codes 2016-10-16 11:18:50 -07:00
Jamie Cameron
c3f86c7f39 Strip comments from public key text 2016-10-16 10:48:11 -07:00
Jamie Cameron
ac7f52d6d1 forgotten checkin for sms subject update 2016-10-14 16:56:25 -07:00
Jamie Cameron
15e2f4a114 Remove the .service suffix https://github.com/webmin/webmin/issues/430 2016-10-14 16:54:07 -07:00
Jamie Cameron
338f801be4 Don't try to clear out file that doesn't exist 2016-10-14 12:29:37 -07:00
Jamie Cameron
b6189c6a43 dev version bump 2016-10-14 11:26:37 -07:00
Jamie Cameron
c9345028d7 Allow setting of subject line for SMS emails 2016-10-14 11:08:00 -07:00
Jamie Cameron
56270624d1 Don't assume that a specific file was edited https://www.virtualmin.com/node/42988 2016-10-12 20:45:54 -07:00
Jamie Cameron
ab561465ba Allow multiple masquerade IPs https://github.com/webmin/webmin/issues/438 2016-10-11 18:01:39 -07:00
Jamie Cameron
b2511a047c In new packages mode, don't show the whole list by default 2016-10-10 15:56:27 -07:00
Jamie Cameron
5e89e16f06 PFS support in usermin too 2016-10-09 22:07:16 -07:00
Jamie Cameron
0bf336d761 Fix PFS support by creating and using DH params file https://github.com/webmin/webmin/issues/413 2016-10-09 21:56:23 -07:00
Jamie Cameron
42157fdfed Default to using the built-in lets encrypt client, because the official client has an unreliable output format 2016-10-09 10:44:14 -07:00
Jamie Cameron
7ee7ed19f4 Merge pull request #437 from deserted/master
increase specificity of regex to avoid problems with new output from certbot/letsencrypt client
2016-10-09 10:37:36 -07:00
Tim Allingham
a04eb85879 increase specificity of regex to avoid problems with new output from certbot/letsencrypt client 2016-10-09 21:00:12 +11:00
Jamie Cameron
0353111336 Enable IPv6 by default for new installs https://sourceforge.net/p/webadmin/bugs/4824/ 2016-10-05 16:43:54 -07:00
Jamie Cameron
b35b58cb94 Initialize a forgotten var that causes zones nested under views to break https://github.com/webmin/webmin/issues/411 2016-10-04 16:33:55 -07:00
Jamie Cameron
f7337c7f27 Clear out JS file 2016-10-03 09:03:28 -07:00
Jamie Cameron
d2b43d2eaa TLSA record support 2016-10-02 20:30:36 -07:00
Jamie Cameron
7ff9e6501a Fix ordering of number-string-number version check, as it needs to come before number-string 2016-10-02 11:31:43 -07:00
Jamie Cameron
18bae5be08 Use a separate mode input to determine whether the system time, hardware time or NTP time are being set. This is needed because authentic theme changes the values of submit buttons 2016-10-02 00:01:29 -07:00
Jamie Cameron
b6bc89aa31 German translation updates from Raymond Vetter 2016-10-01 15:05:33 -07:00
Jamie Cameron
8c8afc0cbb Fix missing space 2016-10-01 15:04:50 -07:00
Jamie Cameron
e8120afc9e New version bump 2016-10-01 15:02:38 -07:00
Jamie Cameron
ce3074ad47 Add missing slash 2016-10-01 14:57:41 -07:00
Jamie Cameron
27ea3f50c0 Fix comparison of versions like 5foo7 and 5foo10 https://github.com/webmin/webmin/issues/282 2016-10-01 10:37:45 -07:00
Jamie Cameron
ac77da0e75 Merge branch 'master' of git@github.com:webmin/webmin 2016-09-30 15:36:59 -07:00
Jamie Cameron
8ab998b123 Fix creation of new actions 2016-09-30 15:36:47 -07:00
Jamie Cameron
a40052a3f0 Merge pull request #432 from cornec81/master
firewall6 modules changes
2016-09-30 14:04:03 -07:00
Jamie Cameron
c6cd892f15 Fail fast if file can't be opened 2016-09-30 14:01:44 -07:00
Corne Cornelius
12b0364e62 silly perl path fix 2016-09-30 20:03:32 +00:00
Corne Cornelius
0883226098 firewall6: bug fixes and pager 2016-09-30 19:57:44 +00:00
Jamie Cameron
7208412de2 let's encrypt output can be a symlink, so always de-reference it https://www.virtualmin.com/node/42419 2016-09-29 16:28:54 -07:00
Jamie Cameron
ceae4b5228 LDAP client check doesn't handle new-style nslcd format https://www.virtualmin.com/node/42113 2016-09-25 09:40:12 -07:00
Jamie Cameron
f308101805 Also use list-unit-files to find disabled units https://github.com/webmin/webmin/issues/430 2016-09-24 15:55:43 -07:00
Jamie Cameron
371d2b008f ATA mode no longer needs to be on by default, as it breaks on some drives https://sourceforge.net/p/webadmin/bugs/4821/ 2016-09-19 19:57:34 -07:00
Jamie Cameron
5f39cfdd39 Properly deal with the case where a directive is missing https://www.virtualmin.com/node/41676 2016-09-19 17:55:15 -07:00
Jamie Cameron
53f087cafa Fix protocol check https://sourceforge.net/p/webadmin/bugs/4820/ 2016-09-18 16:02:39 -07:00
Jamie Cameron
481d2b6d4b German translation updates from Raymond Vetter 2016-09-17 16:21:11 -07:00
Jamie Cameron
e3192f2f19 German translation updates from Raymond Vetter 2016-09-17 16:21:04 -07:00
Jamie Cameron
186d49c1a0 Option has been renamed in IPv6 https://sourceforge.net/p/webadmin/bugs/4819/ 2016-09-17 10:23:58 -07:00
Jamie Cameron
003424a60e Support new format comments https://sourceforge.net/p/webadmin/bugs/4818/ 2016-09-16 21:15:54 -07:00
Jamie Cameron
c2657aab8a Clear zone list on each iteration https://github.com/webmin/webmin/issues/411 2016-09-15 20:53:38 -07:00
Jamie Cameron
3cceb09daa Upgrade form is no longer GET https://sourceforge.net/p/webadmin/usermin-bugs/455/ 2016-09-12 21:34:12 -07:00
Jamie Cameron
9e57a7df51 German translation updates from Raymond Vetter 2016-09-12 20:24:00 -07:00
Jamie Cameron
4cfb984694 German translation updates from Raymond Vetter 2016-09-12 20:24:00 -07:00
Jamie Cameron
220897472f Fix typo 2016-09-12 20:21:43 -07:00
Jamie Cameron
dc69374aaa let's encrypt cert size option 2016-09-11 09:49:18 -07:00
Jamie Cameron
ac4d68f2ce Close HTTP connection on failure, to avoid dangling file handles https://www.virtualmin.com/node/41967 2016-09-09 16:25:11 -07:00
Jamie Cameron
202d672855 dev version bump 2016-09-08 21:44:19 -07:00
Jamie Cameron
2f5ee3eb33 Handle gentoo's apache cofnig check output https://www.virtualmin.com/node/41961 2016-09-08 20:04:49 -07:00
Jamie Cameron
b2d4380577 Add depenency on time::local, so that on systems like Fedora 24 the needed Perl modules get installed https://github.com/webmin/webmin/issues/405 2016-09-06 21:12:36 -07:00
Jamie Cameron
d93ae142f2 Allow password reading from stdin 2016-08-31 22:03:57 -07:00
Jamie Cameron
c8cebbb4b9 German translation updates from Raymond Vetter 2016-08-29 20:40:41 -07:00
Jamie Cameron
db8407ab09 German translation updates from Raymond Vetter 2016-08-29 20:40:35 -07:00
Jamie Cameron
ebfcf159c7 Don't replace a new update with an older one in the same cycle https://www.virtualmin.com/node/41721 2016-08-27 17:48:31 -07:00
Jamie Cameron
8748d785b4 German translation updates from Raymond Vetter 2016-08-27 10:31:50 -07:00
Jamie Cameron
25d31738ec German translation updates from Raymond Vetter 2016-08-27 10:31:45 -07:00
Jamie Cameron
499fba0b8c Forgotten checkin from previous work to validation options files 2016-08-27 09:09:30 -07:00
Jamie Cameron
00bd87ae86 Download all the Let's Encrypt CA files 2016-08-27 09:07:21 -07:00
Jamie Cameron
2bf3dcbf38 Catalan update from Jaume Badiella 2016-08-27 09:06:01 -07:00
Jamie Cameron
6586126d6b Catalan update from Jaume Badiella 2016-08-27 09:05:13 -07:00
Jamie Cameron
8b358c438d Fix default also notify field https://www.virtualmin.com/node/41824 2016-08-26 23:19:08 -07:00
Jamie Cameron
cb481287ac Force stop before starting, just in case the init system thinks we're already started 2016-08-24 21:45:21 -07:00
Jamie Cameron
7e6982a0cf Use title from clone, if any 2016-08-24 21:01:01 -07:00
Jamie Cameron
700afdb0cc Fix perl warning 2016-08-24 20:30:39 -07:00
Jamie Cameron
000405b749 Skip fuse filesystemss 2016-08-23 21:41:39 -07:00
Jamie Cameron
a14864e932 Turkish translation from Melih akpınar 2016-08-21 20:43:47 -07:00
Jamie Cameron
36048fe4cd Option to download mysql backup 2016-08-20 18:46:34 -07:00
Jamie Cameron
e461576cd9 Merge pull request #415 from ymulleneers/patch-1
Copy jobs do not have destination tape
2016-08-19 22:26:05 -07:00
ymulleneers
7188abc556 Copy jobs do not have destination tapes
copy jobs do not have any destination tape (here called volume) (=> ? on the 7th or latest field)
example (spaces removed) : Full Backup 11 19-Aug-16 17:50 ykfdc1-Copyjob
2016-08-19 12:15:44 +02:00
Jamie Cameron
55fb44f34c open_execute_command doesn't work with file handle vars https://sourceforge.net/p/webadmin/bugs/4801/ 2016-08-17 20:12:57 -07:00
Jamie Cameron
b7bbeb457b Don't try to read missing zone file https://sourceforge.net/p/webadmin/bugs/4801/ 2016-08-15 20:29:18 -07:00
Jamie Cameron
e1e6fd43e0 Don't attempt to run named- v if not installed https://sourceforge.net/p/webadmin/bugs/4802/ 2016-08-15 09:01:35 -07:00
Jamie Cameron
46239c247f Fix IPv6 ICMP type option https://sourceforge.net/p/webadmin/bugs/4807/ 2016-08-14 17:36:01 -07:00
Jamie Cameron
22c8d8d041 Assume IPFW version 2, since it's been out for ages https://github.com/webmin/webmin/issues/410 2016-08-14 17:09:28 -07:00
Jamie Cameron
792b4d2bd7 Fix perl error 2016-08-14 11:41:33 -07:00
Jamie Cameron
031dd76538 Perl expects arrays to exist https://sourceforge.net/p/webadmin/bugs/4805/ 2016-08-14 10:22:30 -07:00
Jamie Cameron
74efe3465e Allow version override https://github.com/webmin/webmin/issues/410 2016-08-13 12:23:44 -07:00
Jamie Cameron
b08445e9c4 Fix perl error about use of unitialized arrays 2016-08-12 21:46:03 -07:00
Jamie Cameron
959adc098f Deal with invalid version file https://sourceforge.net/p/webadmin/bugs/4802/ 2016-08-11 20:35:49 -07:00
Jamie Cameron
54c7f75bf9 Some records don't have values https://sourceforge.net/p/webadmin/bugs/4800/ 2016-08-11 20:27:02 -07:00
Jamie Cameron
4dfaaaff09 Don't crash if there are no records of some type https://www.virtualmin.com/node/41676 2016-08-10 13:41:28 -07:00
Jamie Cameron
52180cea58 Work-around for chance that clients may call this API with a string list https://www.virtualmin.com/node/41674 2016-08-10 13:30:45 -07:00
Jamie Cameron
c8f403c5f6 Fix some warnings 2016-08-07 22:11:30 -07:00
Jamie Cameron
162e181c21 New version bump 2016-08-07 17:24:16 -07:00
Jamie Cameron
7f73d135a3 Don't read from non-existent file 2016-08-07 16:58:20 -07:00
Jamie Cameron
65c2b20b15 Fix small perl warning 2016-08-07 16:56:14 -07:00
Jamie Cameron
457c4d85e3 Remove unused UI mode which is hard for themes to support https://github.com/webmin/webmin/issues/409 2016-08-02 22:08:02 -07:00
Jamie Cameron
57a918dc1b Merge branch 'master' of git@github.com:webmin/webmin 2016-08-02 21:30:56 -07:00
Jamie Cameron
ee373ab2be Update Let's Encrypt agreement URL https://www.virtualmin.com/node/41565 2016-08-02 21:30:24 -07:00
Jamie Cameron
fb26abb000 Merge pull request #407 from maanas/master
Clone rules are added after the original Rule
2016-07-25 20:28:48 -07:00
Maanas Royy
48bfce7cb1 Clone rules are added after the original Rule
In the existing state the clone rules are added in the bottom of the firewall wall rule list. Generally the clone rules are for similar interface, port, etc and most of the time after adding they need to be arranged. The change enable the clone rule to be placed after the original rule. This will allow a better comparison and arrangement of the firewall rules.
2016-07-26 06:45:47 +05:30
Jamie Cameron
b77193c95d German translation updates from Raymond Vetter 2016-07-24 21:18:09 -07:00
Jamie Cameron
3effb160b5 Fix comments 2016-07-24 17:46:56 -07:00
Jamie Cameron
5881b223b4 inet6 constants are now in the Socket package https://www.virtualmin.com/node/40065 2016-07-24 13:12:25 -07:00
Jamie Cameron
0055290c76 German translation updates from Raymond Vetter 2016-07-23 18:34:07 -07:00
Jamie Cameron
253defe365 Fix slapd path on SuSE https://sourceforge.net/p/webadmin/bugs/4792/ 2016-07-22 08:12:43 -07:00
Jamie Cameron
cd950f1c0a Don't allow twofactor to be disabled if any users are enrolled https://sourceforge.net/p/webadmin/bugs/4788/ 2016-07-22 07:52:42 -07:00
Jamie Cameron
ded6d9a37f Fix config for SuSE Linux https://sourceforge.net/p/webadmin/bugs/4791/ 2016-07-20 22:29:17 -07:00
Jamie Cameron
401ff8466a New OSX version 2016-07-13 21:13:15 -07:00
Jamie Cameron
7de1f09c9f Use the correct var for the file handle https://github.com/webmin/webmin/issues/404 2016-07-11 02:12:34 -07:00
Jamie Cameron
8f18e8cdf4 Use formal parameters https://github.com/webmin/webmin/issues/403 2016-07-11 02:09:01 -07:00
Jamie Cameron
17cea3d3a2 Allow change of renewal only 2016-07-10 17:51:35 -07:00
Jamie Cameron
60800e3b6b Allow LV creation based on original LV size 2016-07-06 07:58:03 -07:00
Jamie Cameron
8c07bc9f30 Merge branch 'master' of git@github.com:webmin/webmin 2016-07-06 02:32:35 -07:00
Jamie Cameron
0f8119a6d5 Support logfiles with spaces in them, via quoted strings https://www.virtualmin.com/node/41316 2016-07-06 02:31:18 -07:00
Jamie Cameron
d40ff8a547 Merge pull request #401 from pwahle87/master
firewall6 module / fixes for ICMPv6
2016-07-06 08:44:56 +08:00
pwahle87
fb3524471a Update setup.cgi
Fixed icmpv6
2016-07-05 05:47:30 +02:00
pwahle87
132fa7a16b Update save_rule.cgi
Fixed icmpv6
check_ipmask disabled because the regex needs to be adjusted
2016-07-05 05:44:32 +02:00
pwahle87
0d87686862 Update edit_rule.cgi
Fixed icmpv6
Fixed icmpv6 reject types
2016-07-05 05:33:40 +02:00
Jamie Cameron
4ec1e182d5 error if options file doesn't exist 2016-07-04 03:17:16 -07:00
Jamie Cameron
e6765ece27 fix perl errors if dmarc components are missing 2016-07-03 16:57:51 -07:00
Jamie Cameron
e9376f3fc5 Skip zones with no type, to avoid perl warnuings 2016-07-03 16:44:32 -07:00
Jamie Cameron
46f264e22c fix yet another perl warning 2016-07-03 07:18:00 -07:00
Jamie Cameron
bb672844c7 fix another perl warning 2016-07-03 07:09:23 -07:00
Jamie Cameron
0e8d291d63 fix perl warnings 2016-07-03 07:02:23 -07:00
Jamie Cameron
c5a51403d1 name may not be defined 2016-07-03 02:15:07 -07:00
Jamie Cameron
6ed37aeef0 Merge branch 'master' of git@github.com:webmin/webmin 2016-07-02 16:36:14 -07:00
Jamie Cameron
04f8997509 German translation updates from Raymond Vetter 2016-07-02 03:38:20 -07:00
Jamie Cameron
6bd51824d1 New linux mint version 2016-07-02 18:37:05 +08:00
Jamie Cameron
c4f74a0f9d Error out if cannot create directory https://sourceforge.net/p/webadmin/bugs/4782/ 2016-06-30 15:47:06 -07:00
Jamie Cameron
357ab56b6d Fix perms 2016-06-29 17:55:21 -07:00
Jamie Cameron
2af0b05c29 Add missing text 2016-06-29 17:54:24 -07:00
Jamie Cameron
15bcab87c7 Support new-style quota 2016-06-29 17:52:54 -07:00
Jamie Cameron
1c4afe2f11 Re-factor confdir setting 2d4640f00a 2016-06-28 18:01:28 -07:00
Jamie Cameron
7e72bcdbaf Use common function for creating logged event descriptions 2016-06-25 16:45:11 -07:00
Jamie Cameron
bbff90bea4 Get rid of undefined var warning 2016-06-25 16:33:52 -07:00
Jamie Cameron
347b7e87cf Fix a bunch of minor warnings and unitialized vars 2016-06-23 23:15:12 -07:00
Jamie Cameron
085865ec9a Some fields may not be set 2016-06-23 22:45:36 -07:00
Jamie Cameron
bcd16e5ade Transfer 'query' field into table, selection and where if possible 2016-06-22 22:44:14 -07:00
Jamie Cameron
613efe4ace Fix warnings 2016-06-20 19:43:20 -07:00
Jamie Cameron
a5ffa5e309 Remove useless my 2016-06-20 19:19:45 -07:00
Jamie Cameron
80170f9b80 fix typo 2016-06-20 19:17:06 -07:00
Jamie Cameron
1fef37a8a1 Add missed variable 2016-06-20 19:16:32 -07:00
Jamie Cameron
71949364be dev version bump 2016-06-20 19:11:31 -07:00
Jamie Cameron
941f110eda github is sending the HTTP header X-Geo-Block-List: with no value, which causes webmin to stop processing headers at this point. This causes remaining headers to be included in the downloaded file 2016-06-19 12:22:50 -07:00
Jamie Cameron
2d4640f00a use get_paths, as it supports the case where the webmin user isn't a unix user 2016-06-18 22:10:46 -07:00
Jamie Cameron
ce8e0411e4 Arrays shouldn't be quoted https://sourceforge.net/p/webadmin/bugs/4777/ 2016-06-18 18:33:20 -07:00
Jamie Cameron
d49c16cb31 German translation updates from Raymond Vetter 2016-06-18 16:45:38 -07:00
Jamie Cameron
f74c22a66d Merge branch 'master' of git@github.com:webmin/webmin 2016-06-18 15:32:27 -07:00
Jamie Cameron
e59cac6f51 Merge pull request #391 from swelljoe/at-strictwarn
at module strict/warn conversion
2016-06-18 15:28:46 -07:00
Jamie Cameron
633d60900c set forgotten time_now array https://github.com/webmin/webmin/issues/392 2016-06-18 11:46:26 -07:00
Joe Cooper
d5b9cefb2c strict/warn 2016-06-17 23:23:48 -07:00
Joe Cooper
ac9a3b7c41 strict/warn 2016-06-17 23:15:07 -07:00
Joe Cooper
edccc4ea10 strict/warn 2016-06-17 23:12:11 -07:00
Joe Cooper
90d0244950 strict/warn 2016-06-17 23:11:03 -07:00
Joe Cooper
7ec8bc71e0 strict/warn 2016-06-17 23:08:57 -07:00
Joe Cooper
ecca77fdad strict/warn 2016-06-17 22:38:16 -07:00
Joe Cooper
265a775ccb strict/warn 2016-06-17 22:31:30 -07:00
Joe Cooper
91052e76b0 strict/warn 2016-06-17 22:28:54 -07:00
Joe Cooper
abba5c7377 strict/warn 2016-06-17 22:23:58 -07:00
Joe Cooper
6316210b9d strict/warn 2016-06-17 22:21:23 -07:00
Joe Cooper
fe6d99777e strict/warn 2016-06-17 22:11:42 -07:00
Joe Cooper
f8c1571e15 strict/warn 2016-06-17 22:07:25 -07:00
Joe Cooper
5870f40481 strict/warn 2016-06-17 22:04:36 -07:00
Joe Cooper
9c98a7f820 strict/warn 2016-06-17 22:03:37 -07:00
Joe Cooper
ce8e6bf481 strict/warn 2016-06-17 21:59:39 -07:00
Joe Cooper
90fc05e34a strict/warn 2016-06-17 21:58:31 -07:00
Jamie Cameron
49ed6fc377 Merge pull request #389 from swelljoe/master
strict/warn updates for ajaxterm and  typo fix for apache-lib.pl
2016-06-16 21:09:45 -07:00
Joe Cooper
f818ead2db strict/warn 2016-06-16 19:24:46 -07:00
Joe Cooper
eb6b294bed typo fix 2016-06-16 18:52:47 -07:00
Jamie Cameron
30bf7beb02 Forward and other multi-value fields need to be preserved 2016-06-15 16:54:42 -07:00
Jamie Cameron
8d6124321f remote_user_info is already set correctly https://sourceforge.net/p/webadmin/bugs/4773/ 2016-06-14 22:54:46 -07:00
Joe Cooper
ccc715a11e strict/warnings but doesn't work...no idea why 2016-06-14 01:59:36 -07:00
Joe Cooper
490b035f72 Merge remote-tracking branch 'upstream/master' 2016-06-14 01:01:52 -07:00
Jamie Cameron
025be61e1e Completed webmin logging via email 2016-06-11 18:51:46 -07:00
Jamie Cameron
005857ccd1 UI for configuring log to email 2016-06-11 18:06:19 -07:00
Jamie Cameron
31a5ec771d Upload should allow overwriting of a file https://sourceforge.net/p/webadmin/bugs/4774/ 2016-06-11 17:23:38 -07:00
Jamie Cameron
1ed25a0bbf Merge branch 'master' of git@github.com:webmin/webmin 2016-06-11 14:46:43 -07:00
Jamie Cameron
a0db27968b Support a new hwclock output format https://github.com/webmin/webmin/issues/379 2016-06-11 14:46:27 -07:00
Jamie Cameron
1f516d66f5 German translation updates from Raymond Vetter 2016-06-11 14:42:50 -07:00
Jamie Cameron
f2b21bc503 Merge pull request #385 from qooob/patch-37
Adding ability to extract `.rpm` and `.deb` files in case dependencie…
2016-06-10 08:49:10 -07:00
Jamie Cameron
7698818eec Merge branch 'master' of git@github.com:webmin/webmin 2016-06-09 22:01:17 -07:00
Jamie Cameron
21fe9cddf7 Allow start and end dates to be set for quick autoreplies https://www.virtualmin.com/node/40987 2016-06-09 22:00:11 -07:00
Jamie Cameron
bf3e1cb064 Merge pull request #386 from qooob/patch-38
Checking for dependencies to be able to extract .rpm/.deb
2016-06-09 19:53:18 -07:00
Ilia Rostovtsev
ff2976fd85 Checking for dependencies to be able to extract .rpm/.deb 2016-06-09 14:44:16 +04:00
Ilia Rostovtsev
ecd98c0030 Adding ability to extract .rpm and .deb files in case dependencies are installed 2016-06-09 14:41:58 +04:00
Jamie Cameron
7fe32a5dce Request a 2048-bit key from let's encrypt 2016-06-07 21:49:29 -07:00
Jamie Cameron
6a12fe7d23 If the URL cannot be downloaded locally, just warn instead of crashing 2016-06-06 20:49:00 -07:00
Jamie Cameron
08c55bac64 Include status message in email 2016-06-05 21:57:23 -07:00
Jamie Cameron
f4f9b32db0 Always disable or enable if the action exists 2016-06-05 16:21:59 -07:00
Jamie Cameron
6c366fd394 German translation updates from Raymond Vetter 2016-06-04 21:30:35 -07:00
Jamie Cameron
17f3235798 UI for log to email feature 2016-06-04 16:49:33 -07:00
Jamie Cameron
a0fd8f3694 Missing part of recording failed logins feature 2016-06-04 16:48:24 -07:00
Jamie Cameron
d28761ce88 explain what's going on here 2016-06-04 16:46:28 -07:00
Jamie Cameron
a9f6a4528f When looking up by folder name, transform the ID properly 2016-06-04 16:37:43 -07:00
Jamie Cameron
1e65d4b153 tgz and gz are MIME types 2016-06-04 16:37:13 -07:00
Jamie Cameron
d80a0203bd Use exclude file 2016-06-04 16:36:51 -07:00
Jamie Cameron
bdcabcfbe9 Handle case where there is no new group 2016-06-04 16:36:23 -07:00
Jamie Cameron
2cc32ee64a German translation updates from Raymond Vetter 2016-06-04 16:34:58 -07:00
Jamie Cameron
ae85145e43 German translation updates from Raymond Vetter 2016-06-04 16:34:57 -07:00
Jamie Cameron
0cfe643700 Add IPv6 firewall module to standard distributuion 2016-06-04 13:04:01 -07:00
Jamie Cameron
147990a30a Merge branch 'master' of git@github.com:webmin/webmin 2016-06-04 12:57:40 -07:00
Jamie Cameron
b4b309d6d7 Session DB value can sometimes be empty https://sourceforge.net/p/webadmin/bugs/4762/ 2016-06-04 12:40:03 -07:00
Jamie Cameron
b837846128 Merge pull request #383 from swelljoe/bind8-strictwarn
Finish up strict/warn for bind8 module
2016-06-03 16:52:48 -07:00
Joe Cooper
522bd05fff Merge remote-tracking branch 'upstream/master' into bind8-strictwarn 2016-06-03 14:59:39 -07:00
Joe Cooper
678f8ec6da strict/warn, bugifx for missing @views 2016-06-03 14:57:30 -07:00
Joe Cooper
a6983f8df7 strict/warn, close $OUT filehandle 2016-06-03 14:48:13 -07:00
Joe Cooper
5186ab8125 strict/warn 2016-06-03 14:45:55 -07:00
Joe Cooper
e9655ed5e9 strict/warn 2016-06-03 14:44:28 -07:00
Joe Cooper
9bd529fce4 strict/warn 2016-06-03 14:42:57 -07:00
Joe Cooper
21b516b52e strict/warn 2016-06-03 14:41:50 -07:00
Joe Cooper
7d1b4a66f4 strict/warn 2016-06-03 14:40:40 -07:00
Joe Cooper
8a1a182099 strict/warn 2016-06-03 14:39:47 -07:00
Joe Cooper
a6984f6be5 strict/warn 2016-06-03 14:37:59 -07:00
Jamie Cameron
6d1900f94a Add missing views variable https://github.com/webmin/webmin/issues/382 2016-06-03 14:32:40 -07:00
Joe Cooper
0bc3eb6430 strict/warn 2016-06-03 14:31:34 -07:00
Joe Cooper
caa329d749 strict/warn 2016-06-03 14:30:37 -07:00
Jamie Cameron
2e9039434b Fix incorrect variable name https://github.com/webmin/webmin/issues/380 2016-06-03 08:47:00 -07:00
Joe Cooper
a4c8e4a7bb strict/warn 2016-06-03 01:30:57 -07:00
Joe Cooper
b0e9415d01 strict/warn 2016-06-03 01:29:19 -07:00
Joe Cooper
99e46e7e3f Make $dnssec_dlv_zone our 2016-06-03 01:27:17 -07:00
Joe Cooper
e223f899e5 strict/warn 2016-06-03 01:24:10 -07:00
Joe Cooper
20c9d9f0f1 strict/warn 2016-06-03 01:15:14 -07:00
Joe Cooper
e422ae0eaf strict/warn 2016-06-03 01:12:26 -07:00
Joe Cooper
40780e96b1 strict/warn 2016-06-03 01:08:51 -07:00
Joe Cooper
2f6e937f21 strict/warn 2016-06-03 01:01:06 -07:00
Joe Cooper
3eb49c27ed strict/warn 2016-06-03 00:58:01 -07:00
Joe Cooper
90196c3f88 strict/warn 2016-06-03 00:41:31 -07:00
Joe Cooper
2d7ba714ac Oops, open_tempfile and open_lock_tempfile are not open(), so shouldn't
be three argument style (for now).
2016-06-03 00:36:35 -07:00
Joe Cooper
fb4595b38d strict/warn 2016-06-03 00:36:15 -07:00
Joe Cooper
adfd154341 strict/warn #380
XXX This one is hairy! But, self-contained in this one file, so fine for
now.
2016-06-02 21:35:42 -07:00
Jamie Cameron
9f23977794 First version of the IPv6 iptables module, ported by Patrick Wahle 2016-06-02 20:56:06 -07:00
Joe Cooper
6a80732b71 strict/warn 2016-06-02 19:42:14 -07:00
Joe Cooper
88db96cf31 strict/warn 2016-06-02 19:38:59 -07:00
Joe Cooper
10cbab5fe8 strict/warn 2016-06-02 19:34:44 -07:00
Joe Cooper
a8a1cdc05b strict/warn 2016-06-02 19:30:01 -07:00
Joe Cooper
ad26beb5b4 strict/warn 2016-06-02 19:25:58 -07:00
Joe Cooper
3a2f028f7e make $uscore and $star global
XXX could be better encapsulated
2016-06-02 19:23:50 -07:00
Joe Cooper
566a07c477 strict/warn 2016-06-02 19:23:31 -07:00
Joe Cooper
e96c1cac11 strict/warn 2016-06-02 19:16:36 -07:00
Joe Cooper
379a5a00cd strict/warn 2016-06-02 19:15:26 -07:00
Joe Cooper
e7265843d3 strict/warn 2016-06-02 19:13:33 -07:00
Joe Cooper
ca93abc540 strict/warn 2016-06-02 19:11:04 -07:00
Joe Cooper
c446449496 strict/warn 2016-06-02 19:09:33 -07:00
Joe Cooper
bb07d2d1e7 make dnssec_cron_cmd available to other files
XXX Could be improved/encapsulated in a dnssec config object or something.
2016-06-02 18:52:05 -07:00
Joe Cooper
3233f47cf2 strict/warn 2016-06-02 18:49:05 -07:00
Joe Cooper
e11e9dc86f strict/warn 2016-06-02 18:46:57 -07:00
Jamie Cameron
8938385d67 German translation updates from Raymond Vetter 2016-06-02 17:44:18 -07:00
Jamie Cameron
3ca97055c4 Merge pull request #378 from swelljoe/strictwarn
strict/warn updates, plus a couple of bug fixes to previous commits
2016-06-02 17:34:53 -07:00
Jamie Cameron
ab17eff7cf Force consistent locale for hwclock command https://github.com/webmin/webmin/issues/379 2016-06-02 17:18:09 -07:00
Joe Cooper
b46a5ce93a strict/warn 2016-06-02 01:17:26 -07:00
Joe Cooper
2136ee98ec strict/warn 2016-06-02 01:13:54 -07:00
Joe Cooper
bee4a4029b strict/warn 2016-06-02 01:12:45 -07:00
Joe Cooper
cf1991d78d strict/warn 2016-06-02 01:04:41 -07:00
Joe Cooper
0df6939988 strict/warn 2016-06-02 01:03:32 -07:00
Joe Cooper
ed265ce71f strict/warn, remove $view from can_edit_zone call 2016-06-02 00:59:53 -07:00
Joe Cooper
eaba21745a strict/warn 2016-06-02 00:57:30 -07:00
Joe Cooper
af7b9c8fac strict/warn 2016-06-02 00:56:41 -07:00
Joe Cooper
ed9b044f91 strictw/warn 2016-06-02 00:55:21 -07:00
Joe Cooper
5868988c89 strict/warn 2016-06-01 23:52:51 -07:00
Joe Cooper
54c14c668d strict/warn 2016-06-01 23:49:57 -07:00
Joe Cooper
315d517bc3 strict/warn 2016-06-01 23:47:50 -07:00
Joe Cooper
4b4176a40d strict/warn 2016-06-01 23:46:03 -07:00
Joe Cooper
f846fbd43b strict/warn 2016-06-01 23:44:22 -07:00
Joe Cooper
c51d78c804 strict/warn 2016-06-01 23:42:34 -07:00
Joe Cooper
46e629fb9b strict/warn 2016-06-01 23:03:34 -07:00
Joe Cooper
66f656a8db strict/warn 2016-06-01 22:53:41 -07:00
Joe Cooper
1db6880427 strict/warn 2016-06-01 22:18:38 -07:00
Joe Cooper
ff9bb29365 Merge remote-tracking branch 'upstream/master' into strictwarn 2016-06-01 20:54:29 -07:00
Joe Cooper
90d29e43cd strict/warn, remove dead code 2016-06-01 20:46:37 -07:00
Joe Cooper
1fed180246 strict/warn, convert use of @servers::server_types to
servers::get_server_types()
2016-06-01 20:31:13 -07:00
Jamie Cameron
d73b5d7926 Remove dead code https://github.com/webmin/webmin/issues/374 2016-06-01 20:09:39 -07:00
Jamie Cameron
411da84699 Fix incorrect var name https://github.com/webmin/webmin/issues/376 2016-06-01 20:06:30 -07:00
Joe Cooper
bda15c89da Bugfix for old style refs. 2016-06-01 19:32:12 -07:00
Joe Cooper
310d559b3b strict/warn, fix use of reference on $g 2016-06-01 19:28:53 -07:00
Joe Cooper
1fd1190da8 our $bind_version so it can be used in CGIs 2016-06-01 19:28:18 -07:00
Joe Cooper
5b85401283 strict/warn 2016-06-01 19:06:05 -07:00
Joe Cooper
e98fd286f4 strict/warn 2016-06-01 18:57:20 -07:00
Joe Cooper
d54c1a22e0 strict/warn 2016-06-01 17:07:48 -07:00
Joe Cooper
62821c2f19 strict/warn 2016-06-01 16:57:40 -07:00
Joe Cooper
5cf1cad0be strict/warn 2016-06-01 16:54:32 -07:00
Joe Cooper
2951cec66e strict/warn 2016-06-01 16:40:15 -07:00
Joe Cooper
c9b0382b61 strict/warn, and fix bug #376 2016-06-01 03:24:13 -07:00
Joe Cooper
e999beed42 strict/warn, some cleanups. This really needs a rewrite. It's a mess.
Super old school code, and unnecessarly complex.
(I'll tackle it in the near future, if nobody else does.)
2016-06-01 03:11:42 -07:00
Joe Cooper
79f1c9368f strict/warn 2016-06-01 03:02:04 -07:00
Joe Cooper
8412a08be0 strict/warn 2016-06-01 02:54:26 -07:00
Joe Cooper
3887899f3e strict/warn 2016-06-01 02:53:14 -07:00
Joe Cooper
64f39bf8f4 strict/warn 2016-06-01 02:34:01 -07:00
Joe Cooper
0762e3866d strict/warn 2016-06-01 02:32:06 -07:00
Joe Cooper
7b181d742b strict/warn 2016-05-31 23:58:57 -07:00
Joe Cooper
db99121336 strict/warn 2016-05-31 23:55:38 -07:00
Joe Cooper
7560c4a41b strict/warn 2016-05-31 23:40:02 -07:00
Joe Cooper
a7f2a04351 strict/warn 2016-05-31 23:26:58 -07:00
Joe Cooper
962a4225f0 strict/warn 2016-05-31 23:05:59 -07:00
Joe Cooper
dc7d44f150 strict/warn 2016-05-31 23:04:01 -07:00
Jamie Cameron
8d538fae68 Make ipv6revzone available in all CGIs https://github.com/webmin/webmin/issues/369 2016-05-31 20:50:06 -07:00
Jamie Cameron
e9f6416d80 Merge pull request #373 from swelljoe/strictwarn
strict and warnings and Perl Critic updates for more bind8 files
2016-05-31 20:46:05 -07:00
Joe Cooper
ed65f6371d Oops, left a git merge message in. 2016-05-31 18:30:03 -07:00
Joe Cooper
82380e1d32 Merge remote-tracking branch 'upstream/master' into strictwarn 2016-05-31 18:19:02 -07:00
Joe Cooper
1015f7b1b2 Merge remote-tracking branch 'upstream/master' 2016-05-31 18:15:17 -07:00
Joe Cooper
a76b0fbd53 strict/warn, fix undefined var 2016-05-31 18:09:24 -07:00
Jamie Cameron
e2419bfc15 Merge pull request #372 from morissette/patch-1
Hotfix: Update typo from samba-lib.pl preventing add a group
2016-05-31 17:28:32 -07:00
Matthew Harris
89d5793316 Update type from samba-lib.pl
foriegn_require => foreign_require
2016-05-31 19:21:47 -05:00
Jamie Cameron
1bd406d5c8 Declare missing var 2016-05-31 16:57:11 -07:00
Jamie Cameron
ef72775550 Deal with case with dmarc isn't even set 2016-05-31 16:50:36 -07:00
Jamie Cameron
2f626485a6 Fix incorrect var name https://github.com/webmin/webmin/issues/370 2016-05-31 16:48:11 -07:00
Joe Cooper
e87dd429c9 strict/warn 2016-05-30 22:02:16 -07:00
Joe Cooper
0a3658400e strict/warn, define $bconf, remove $view from can_edit_zone call 2016-05-30 21:51:51 -07:00
Joe Cooper
b5602d93c6 strict/warn, fix $bconf undefined bug 2016-05-30 21:47:12 -07:00
Joe Cooper
cdf631f397 strict/warn 2016-05-30 21:34:50 -07:00
Joe Cooper
e25eae389f strict/warn 2016-05-30 21:27:32 -07:00
Joe Cooper
1eb43c8503 Remove comments about $d/$dom; $d is right. #360 2016-05-30 21:13:51 -07:00
Joe Cooper
b0e94be6e3 strict/warn 2016-05-30 21:09:57 -07:00
Joe Cooper
901a64ea3a strict/warn 2016-05-30 20:53:44 -07:00
Jamie Cameron
2ec766071b No need to pass in a view object, as it can be gotten from the zone object https://github.com/webmin/webmin/issues/368 2016-05-30 20:33:31 -07:00
Jamie Cameron
0c18c5f3f9 logging page UI enhancements 2016-05-30 19:25:52 -07:00
Jamie Cameron
18f4da591f Remove useless valigns 2016-05-30 19:19:49 -07:00
Joe Cooper
355d99d232 strict/warn 2016-05-30 18:48:25 -07:00
Joe Cooper
a214f413c5 strict/warn 2016-05-30 18:44:57 -07:00
Joe Cooper
a27441b24c strict/warn 2016-05-30 18:40:11 -07:00
Jamie Cameron
80ee1c5919 There are no masters https://github.com/webmin/webmin/issues/366 2016-05-30 18:31:49 -07:00
Joe Cooper
0f3eb41489 strict/warn 2016-05-30 18:11:46 -07:00
Joe Cooper
d8f861b67e strict/warn 2016-05-30 18:09:58 -07:00
Joe Cooper
cffb3c5d61 strict/warn 2016-05-30 18:05:05 -07:00
Joe Cooper
545e9341ef strict/warn 2016-05-30 17:59:36 -07:00
Joe Cooper
7758195ae3 strict/warn 2016-05-30 17:53:17 -07:00
Joe Cooper
3d45568f37 strict/warn 2016-05-30 17:40:54 -07:00
Joe Cooper
577f5ac754 strict/warn 2016-05-30 17:39:19 -07:00
Joe Cooper
7915579de4 strict/warn 2016-05-30 17:37:14 -07:00
Joe Cooper
8f6e095091 strict/warn 2016-05-30 17:34:08 -07:00
Joe Cooper
f7c7c32427 strict/warn 2016-05-30 17:29:15 -07:00
Joe Cooper
a7ee17f5af strict/warn 2016-05-30 17:26:24 -07:00
Joe Cooper
b9e3a748c1 strict/warn 2016-05-30 17:22:06 -07:00
Joe Cooper
3ef8d17ed5 strict/warn 2016-05-30 17:18:27 -07:00
Joe Cooper
b29520e350 strict/warn 2016-05-30 17:16:22 -07:00
Joe Cooper
30569f5e28 strict/warn 2016-05-30 17:14:20 -07:00
Joe Cooper
2588a507cc strict/warn 2016-05-30 17:12:35 -07:00
Jamie Cameron
1edcc12734 'other' field may be entirely missing 2016-05-30 16:27:53 -07:00
Jamie Cameron
dd5183a0f9 If recording logins is enabled, also record failed logins 2016-05-30 16:16:42 -07:00
Jamie Cameron
dae494fdde changelog for failed logins record 2016-05-30 16:16:20 -07:00
Jamie Cameron
1c9dc7b727 Log failed logins, and display in Webmin Actions Log module 2016-05-30 16:09:51 -07:00
Jamie Cameron
689837875f UI and postinstall for recording failed logins 2016-05-30 15:36:59 -07:00
Jamie Cameron
de1c3b187f strict/warnings compliance 2016-05-30 15:29:10 -07:00
Jamie Cameron
b8951b3f7d -p flag is not valid, should be -P https://www.virtualmin.com/node/40900 2016-05-30 15:22:23 -07:00
Jamie Cameron
7ac845a01b remove debug messages https://sourceforge.net/p/webadmin/bugs/4768/ 2016-05-30 15:09:23 -07:00
Joe Cooper
c76f0720cf strict/warn 2016-05-30 13:19:08 -07:00
Jamie Cameron
f9bbe37763 Fix a whole bunch of perl warning https://sourceforge.net/p/webadmin/bugs/4762/ 2016-05-30 11:09:35 -07:00
Jamie Cameron
238f8ce2d9 Use proper var for zone name https://github.com/webmin/webmin/issues/365 2016-05-30 10:58:53 -07:00
Jamie Cameron
962b43d0d3 Merge pull request #362 from swelljoe/master
strict and warnings compliant. Tighten up scope, fix a few undefined
2016-05-30 09:56:13 -07:00
Jamie Cameron
e5769bd07b Fix perl warnings https://sourceforge.net/p/webadmin/bugs/4762/ 2016-05-30 09:36:44 -07:00
Joe Cooper
2e64eac747 strict/warn 2016-05-30 01:20:20 -07:00
Joe Cooper
a902884e51 strict/warn 2016-05-30 01:14:11 -07:00
Joe Cooper
fd46a3af4a strict/warn 2016-05-30 01:11:43 -07:00
Joe Cooper
4a2e1188ac strict/warn 2016-05-30 01:03:31 -07:00
Joe Cooper
8a761c2075 strict/warnings (except check_zone.cgi which has an undefined $dom) 2016-05-30 00:56:40 -07:00
Joe Cooper
29d607ad22 strict/warn for cgi_args.pl 2016-05-29 23:20:02 -07:00
Joe Cooper
c207f75647 strict/warn for backu_config.pl 2016-05-29 23:17:22 -07:00
Joe Cooper
2620e2cf4a warn/strict for acl_security.pl 2016-05-29 23:13:08 -07:00
Joe Cooper
d0d5806957 Maybe fix $dom issue (made it $d), etc. 2016-05-29 20:32:26 -07:00
Joe Cooper
cd904e9a73 Fix a variable that got borked during merge, I guess 2016-05-29 20:25:41 -07:00
Joe Cooper
2d3c81075d Merge remote-tracking branch 'upstream/master' 2016-05-29 20:23:58 -07:00
Joe Cooper
f3a5631c04 strict and warnings for records-lib.pl
Also make Perl Critic happy, except for return undefs.
2016-05-29 20:07:01 -07:00
Jamie Cameron
a6b71554c5 Pass all params to login script 2016-05-29 16:00:26 -07:00
Jamie Cameron
f219c7eb2f view isn't set or needed https://github.com/webmin/webmin/issues/364 2016-05-29 15:18:58 -07:00
Jamie Cameron
fc41316071 Record logins in webmin actions log by default 2016-05-29 13:28:43 -07:00
Jamie Cameron
bdd0b819d5 Fix perl warning 2016-05-29 11:35:47 -07:00
Jamie Cameron
5afb921074 Fix perl warning 2016-05-29 11:31:52 -07:00
Jamie Cameron
98677fd304 PostgreSQL 9.5 drops the can-create-user permission https://github.com/webmin/webmin/issues/359 2016-05-29 11:09:46 -07:00
Jamie Cameron
5a994bd40a Fix incorrect variable name https://github.com/webmin/webmin/issues/361 2016-05-29 07:38:36 -07:00
Joe Cooper
13f01b3f9e strict and warnings compliant. Tighten up scope, fix a few undefined
variable issues.
2016-05-29 02:56:17 -07:00
Jamie Cameron
c222dac785 preserve password on clone 2016-05-27 17:50:40 -07:00
Jamie Cameron
b1d471fac4 --force-yes is deprecated, and apparently dangerour 2016-05-27 15:08:57 -07:00
Jamie Cameron
c7554ac611 Only treat undef as null 2016-05-27 14:52:40 -07:00
Jamie Cameron
38876ff52e Norwegian update from Stein-Aksel Basma 2016-05-27 14:24:50 -07:00
Jamie Cameron
ba53820a46 Don't disable TLS 1.0 and 1.1 on old openssl versions, as they may not support newer protocols 2016-05-27 14:06:58 -07:00
Jamie Cameron
b828a6b5c6 Merge branch 'master' of git@github.com:webmin/webmin 2016-05-27 10:26:49 -07:00
Jamie Cameron
92a66b5159 Fix more perl warnings https://sourceforge.net/p/webadmin/bugs/4762/ 2016-05-27 09:48:16 -07:00
Jamie Cameron
e66234b1b3 Merge branch 'master' of github.com:webmin/webmin 2016-05-27 09:46:39 -07:00
Jamie Cameron
553e436c54 Redirect to edit form when cloning a group 2016-05-27 09:46:26 -07:00
Jamie Cameron
ce3b84b118 German translation updates from Raymond Vetter 2016-05-26 16:19:56 -07:00
Jamie Cameron
c22919849e Handle case where there are no nameservers https://sourceforge.net/p/webadmin/bugs/4761/ 2016-05-26 16:14:30 -07:00
Jamie Cameron
3fe4bc337a Fix text name 2016-05-26 11:33:35 -07:00
Jamie Cameron
320d63ba2a version bump 2016-05-26 10:49:03 -07:00
Jamie Cameron
4d79a24158 Merge branch 'master' of git@github.com:webmin/webmin 2016-05-26 07:44:12 -07:00
Jamie Cameron
a53b6d96ca On some systems, there is no set_tlsext_host_name function 2016-05-26 07:42:22 -07:00
Jamie Cameron
b0c779923f Merge branch 'master' of github.com:webmin/webmin 2016-05-26 01:09:31 +02:00
Jamie Cameron
a0bd54ab69 version bump 2016-05-25 15:17:37 -07:00
Jamie Cameron
f32aa17317 More perl strict enforcement 2016-05-26 00:02:59 +02:00
Jamie Cameron
24cca0d258 strict conversion 2016-05-25 23:38:35 +02:00
Jamie Cameron
52af4d489a Button to clone a group 2016-05-25 23:14:00 +02:00
Jamie Cameron
262bbd3e03 Clone user UI 2016-05-25 19:15:40 +02:00
Jamie Cameron
6880e5a575 Merge branch 'master' of git@github.com:webmin/webmin 2016-05-25 06:19:48 -07:00
Jamie Cameron
3efec7d052 Make cert type a param 2016-05-25 06:19:42 -07:00
Jamie Cameron
004c9194f3 Suppress errors from systemctl show https://sourceforge.net/p/webadmin/bugs/4756/ 2016-05-25 14:58:34 +02:00
Jamie Cameron
2f95715827 Fix use of undef variable https://sourceforge.net/p/webadmin/bugs/4755/ 2016-05-25 14:48:33 +02:00
Jamie Cameron
2b212ee3ef Make sure that when unlocking apache config files, it is done for the same ones that were originally locked https://www.virtualmin.com/node/40800 2016-05-25 02:06:53 -07:00
Jamie Cameron
cc4b757011 New dev version 2016-05-23 08:22:36 -07:00
Jamie Cameron
d766283296 Merge branch 'master' of git@github.com:webmin/webmin 2016-05-22 07:17:08 -07:00
Jamie Cameron
2e6771e53a Fix warning message 2016-05-22 14:46:15 +01:00
Jamie Cameron
db5cb64c4a Merge branch 'master' of github.com:webmin/webmin 2016-05-22 14:45:32 +01:00
Jamie Cameron
aca8568382 Fix warning message 2016-05-22 14:45:08 +01:00
Jamie Cameron
aad92595a9 German translation updates from Raymond Vetter 2016-05-22 06:42:32 -07:00
Jamie Cameron
caf2f2ac37 Merge pull request #356 from mnoorenberghe/sni_make_http_connection
Use SNI for make_http_connection connections. Fixes #355
2016-05-22 11:28:26 +01:00
Matthew Noorenberghe
b7815aa85e Use SNI for make_http_connection connections. Fixes #355 2016-05-21 20:35:31 -07:00
Jamie Cameron
31bd465921 Path might be broken immediately after /etc 2016-05-21 10:53:42 -07:00
Jamie Cameron
44216dbab9 German translation updates from Raymond Vetter 2016-05-21 10:03:29 -07:00
Jamie Cameron
a43730fe49 German translation updates from Raymond Vetter 2016-05-21 10:03:28 -07:00
Jamie Cameron
6e005a1106 Assume names are in UTF-8 encoding, which is now the webmin default https://github.com/webmin/webmin/issues/353 2016-05-21 03:38:26 -07:00
Jamie Cameron
312cc48597 Prevent a group from having the same ID and a user https://sourceforge.net/p/webadmin/bugs/4675/ 2016-05-21 01:44:41 -07:00
Jamie Cameron
c0292a4df8 Strip off blank extra fields https://github.com/webmin/webmin/issues/354 2016-05-21 01:10:44 -07:00
Jamie Cameron
c1e3f77c09 Merge branch 'master' of git@github.com:webmin/webmin 2016-05-18 01:17:18 -07:00
Jamie Cameron
772a604203 Show recent logins on system information page 2016-05-18 01:17:08 -07:00
Jamie Cameron
1426db5b17 Merge pull request #349 from qooob/patch-34
It's in the button - not dot needed
2016-05-17 22:44:52 +02:00
Ilia Rostovtsev
3d35792877 It's in the button - not dot needed 2016-05-17 23:11:11 +04:00
Jamie Cameron
a3fddd0f12 Show logged out users, and update columns in the UI 2016-05-17 08:23:27 -07:00
Jamie Cameron
f54cecaf0f Add column title 2016-05-17 05:14:15 -07:00
Jamie Cameron
df32d33da5 Merge branch 'master' of git@github.com:webmin/webmin 2016-05-17 04:44:25 -07:00
Jamie Cameron
cf1b514976 Let's Encrypt cert path may be split across multiple lines, but will always be under /etc 2016-05-17 04:44:07 -07:00
Jamie Cameron
0d452693c5 Merge pull request #348 from qooob/patch-33
Fix incorrect col span value that breaks the table drawings
2016-05-17 09:42:00 +02:00
Jamie Cameron
a0fc500676 Fix use of wrong var 2016-05-16 14:26:33 -07:00
Ilia Rostovtsev
846f023392 Fix incorrect col span value that breaks the table drawings
Here is the way it looks without Authentic fixing it. (you can't see it broken in Authentic, see the source).

After applying correct values nothing is broken and looks great:
2016-05-16 15:21:48 +03:00
Jamie Cameron
6f6482005e Apache 2.2.15 does support TLS 1.1 and 1.2 2016-05-14 21:27:54 -07:00
Jamie Cameron
9012d421cf Make variable local 2016-05-14 21:14:51 -07:00
Jamie Cameron
8b015bff01 Merge branch 'master' of git@github.com:webmin/webmin 2016-05-14 21:14:13 -07:00
Jamie Cameron
16c35e2d1e Fix comparison of versions like foo1 and foo2 2016-05-14 21:13:36 -07:00
Jamie Cameron
9860c6b6e4 Merge pull request #346 from qooob/patch-32
Respect module info
2016-05-11 23:08:53 -07:00
Jamie Cameron
7216982ded Merge pull request #343 from TTMelki/patch-5
Update fr
2016-05-11 22:12:26 -07:00
Jamie Cameron
126659a8d1 Merge pull request #341 from TTMelki/patch-3
Create fr.UTF-8
2016-05-11 22:05:17 -07:00
Jamie Cameron
0b27152141 Merge pull request #340 from qooob/patch-29
Folder is more Windows like, Directory is Linux.
2016-05-11 22:03:13 -07:00
Ilia Rostovtsev
f20d24a1be Respect module info 2016-05-11 14:00:44 +04:00
Ilia Rostovtsev
c273cf02f2 Respect module info 2016-05-11 13:58:40 +04:00
TTMelki
728b8125de Update fr 2016-05-11 09:52:27 +02:00
TTMelki
7a95702ca2 Create fr.UTF-8 2016-05-11 09:09:09 +02:00
Ilia Rostovtsev
83a1893c7b Folder is more Windows like, Directory is Linux.
Updated all strings from folder to directory
2016-05-11 11:01:41 +04:00
Jamie Cameron
bc23507717 Merge pull request #339 from TTMelki/patch-2
Create fr translation file
2016-05-10 23:56:01 -07:00
TTMelki
a054392f7a Create fr translation file 2016-05-11 08:54:32 +02:00
Jamie Cameron
d56fb1d1e9 Merge branch 'master' of git@github.com:webmin/webmin 2016-05-10 22:42:15 -07:00
Jamie Cameron
7a270465d3 Add missing string https://www.virtualmin.com/node/40681 2016-05-10 22:30:23 -07:00
Jamie Cameron
99e62cd67a Merge pull request #334 from qooob/patch-25
In current state it will never properly print correct UTF8 lke value …
2016-05-09 21:41:49 -07:00
Ilia Rostovtsev
ba8b0e8972 In current state it will never properly print correct UTF8 lke value to check box
As the result copy/paste and other operations will fail for Russian and other UTF8 like encodings.
2016-05-10 00:33:55 +04:00
Jamie Cameron
1bc09c40b6 Merge pull request #333 from qooob/patch-24
To compliy with upcomming Authentic release 18.00
2016-05-08 10:27:25 -07:00
Jamie Cameron
f38f3c7bec Merge pull request #332 from qooob/patch-22
Respect language forms
2016-05-08 09:45:25 -07:00
Ilia Rostovtsev
9f293451b9 To compliy with upcomming Authentic release 18.00
Respecting language forms is nice.
2016-05-08 18:46:59 +04:00
Ilia Rostovtsev
3d6e58dcba Respect language forms 2016-05-08 18:44:54 +04:00
Jamie Cameron
1cfe6b90d7 Remove debug code 2016-05-06 19:14:45 -07:00
Jamie Cameron
23aef652a7 Version bump for devel release 2016-05-06 19:13:08 -07:00
Jamie Cameron
74ca08fd42 Revert to using File::Mimeinfo module 2016-05-06 19:12:29 -07:00
Jamie Cameron
1c0e069881 Fix ordering of params to symlink 86eeb96334 2016-05-06 17:33:22 -07:00
Jamie Cameron
80be0a3c4c Use built-in function for MIME types https://sourceforge.net/p/webadmin/bugs/4745/ 2016-05-05 21:01:41 -07:00
Jamie Cameron
074f7561d8 Merge branch 'master' of git@github.com:webmin/webmin 2016-05-05 20:39:55 -07:00
Jamie Cameron
b5b81a95cf Merge pull request #323 from qooob/patch-13
For search page path could be printed twice in some cases
2016-05-05 20:39:45 -07:00
Jamie Cameron
86eeb96334 copy_source_dest support for symlinks https://github.com/webmin/webmin/issues/322 2016-05-05 20:37:29 -07:00
Ilia Rostovtsev
ae15622a57 For search page path could be printed twice in some cases
This fix will prevent double printing of the path for searched (found) folders.

It doesn't happen always but only if search results contain same value for directory and file.

Can be reproduced by going to `/boot/grub` and searching for `grub`. With the current code the folder `grub` (same as the current folder) printed on the results with doubled path on the link and thus doesn't open correctly. The best is to tweak `search.cgi` that filters search results and remove from results same folder as parent. It's more complicated. My fix does it safely, I think.
2016-05-05 23:12:24 +04:00
Jamie Cameron
094a187d54 Merge pull request #321 from qooob/patch-12
The rest of the code to support new extraction methods
2016-05-04 17:46:55 -07:00
Jamie Cameron
d44c46425f Merge pull request #320 from qooob/patch-10
Support for extracting: .7z, .bz2, .xz, .gz, .rar
2016-05-04 17:46:37 -07:00
Jamie Cameron
bd93dbe9f0 Merge pull request #319 from qooob/patch-9
Certificates must be editable
2016-05-04 17:31:14 -07:00
Ilia Rostovtsev
b5990ef9fb The rest of the code to support new extraction methods
Just committed to `extract.cgi`. Command is checked for existence and if found extract button will appear on the interface in all themes.
2016-05-04 18:01:51 +04:00
Ilia Rostovtsev
fe6965d1e2 Support for extracting: .7z, .bz2, .xz, .gz, .rar
Commands are checked before they run so no need for last else part which outputted an error message. The rest of the code I will add to -lib file.

P.S. Jamie, I tried removing `use File::MimeInfo;` in this file as on current branch and it returned an error!? Please double check.
2016-05-04 17:46:10 +04:00
Ilia Rostovtsev
c23445a223 Certificates must be editable 2016-05-04 14:28:16 +04:00
Jamie Cameron
9da5454082 Dev version bump 2016-05-02 20:35:48 -07:00
Jamie Cameron
a405b317e3 When backing up a database, only run the actual writing command as the user, rather than all of mysqldump 2016-05-01 11:21:51 -07:00
Jamie Cameron
0237dd2a0f Remove duplicate footer https://github.com/qooob/authentic-theme/issues/454 2016-05-01 11:03:02 -07:00
Jamie Cameron
6e38d8bc8c Merge branch 'master' of git@github.com:webmin/webmin 2016-05-01 10:45:26 -07:00
Jamie Cameron
e934994e8f Prevent page for hanging forver 5d0f6f0597 2016-05-01 10:40:52 -07:00
Jamie Cameron
232facbf39 Merge pull request #316 from qooob/patch-6
9000+ is way to little for `$pagelimit`
2016-05-01 10:24:03 -07:00
Ilia Rostovtsev
293d9e17ff Authentic dones't need init_datatables() 2016-05-01 12:52:02 +04:00
Jamie Cameron
c00971b390 Merge pull request #317 from qooob/patch-7
get_paths(); doesn't return proper results
2016-04-29 22:45:48 -07:00
Ilia Rostovtsev
3d5e013f59 get_paths(); doesn't return proper results
For wheel users (non-root but admins) `get_paths();` has a bug and doesn't work correctly.

It causes some other issues in user mode. Probably, if you on the `inthebox` login as `blog` user and go to File Manager, click copy - Perl Error happens. (under all themes)
2016-04-29 13:19:27 +04:00
Ilia Rostovtsev
fd3f6c729f 9000+ is way to little for $pagelimit 2016-04-29 12:56:01 +04:00
Jamie Cameron
5d0f6f0597 Handle new yum package list format https://github.com/webmin/webmin/issues/282 2016-04-27 22:31:09 -07:00
Jamie Cameron
0a2be8ecfd Support PHP 7 in mod_php 2016-04-25 21:30:05 -07:00
Jamie Cameron
a9a6d51030 dev version bump 2016-04-25 19:19:12 -07:00
Jamie Cameron
199f5edb9e Add support for Cloudrouter 2016-04-24 15:13:22 -07:00
Jamie Cameron
ce698f5bae acme_tiny can also work with Python 2.6 https://www.virtualmin.com/node/40076 2016-04-24 09:59:23 -07:00
Jamie Cameron
e27da435ff Use python27 command if installed https://www.virtualmin.com/node/40076 2016-04-23 15:07:43 -07:00
Jamie Cameron
5c31829dc7 Clean up leftover user attributes in /etc/webmin/config https://www.virtualmin.com/node/40477 2016-04-23 14:59:24 -07:00
Jamie Cameron
4ac4a2be0a Polish translation from Piotr Kozica 2016-04-22 20:32:54 -07:00
Jamie Cameron
00c632b001 Polish translation from Piotr Kozica 2016-04-22 20:07:27 -07:00
Jamie Cameron
3a590ddf6f Restore all modules by default https://www.virtualmin.com/node/40451 2016-04-22 19:53:16 -07:00
Jamie Cameron
667362c82a Include PHP versions from Virtualmin https://www.virtualmin.com/node/40450 2016-04-21 21:28:40 -07:00
Jamie Cameron
20862dca92 Don't treat dir as a regexp https://www.virtualmin.com/node/40452 2016-04-21 18:40:38 -07:00
Jamie Cameron
b5b45960a5 Include some more config files in backup https://www.virtualmin.com/node/40448 2016-04-20 21:43:22 -07:00
Jamie Cameron
601b234126 Also set authentication_string to empty if it exists https://sourceforge.net/p/webadmin/bugs/4735/ 2016-04-16 13:44:42 -07:00
Jamie Cameron
f2de59b1df Merge branch 'master' of git@github.com:webmin/webmin 2016-04-16 13:42:18 -07:00
Jamie Cameron
d61fb46c74 Fix host message in log if empty 2016-04-16 13:41:45 -07:00
Jamie Cameron
7fc27fdcdd Merge pull request #310 from qooob/patch-5
JSON must be editable
2016-04-16 08:28:04 -07:00
Ilia Rostovtsev
95d025a5b1 JSON must be editable 2016-04-16 11:44:14 +04:00
Jamie Cameron
83ee80c675 Merge pull request #308 from qooob/patch-3
Anything is an object, right?
2016-04-13 20:18:36 -07:00
Jamie Cameron
d4ef81f6b2 Merge pull request #309 from qooob/patch-4
Anything is an object, right? (MySQL clone)
2016-04-13 20:14:39 -07:00
Ilia Rostovtsev
2e76243908 Anything is an object, right? (MySQL clone) 2016-04-13 13:13:40 +04:00
Ilia Rostovtsev
97e1ad4c50 Anything is an object, right?
Jamie, it's nicer to be specific.

Please separate tables and rows from being objects in case my changes will cause problems.

Ajaxifiyng MySQL module, just wanted to be best.
2016-04-13 13:11:53 +04:00
Jamie Cameron
a4f67548f2 German translation updates from Raymond Vetter 2016-04-12 22:11:50 -07:00
Jamie Cameron
442c8a623b Merge pull request #307 from casparsmit/patch-2
Add common spanning tree tunables for bridges
2016-04-12 19:20:43 -07:00
casparsmit
4bb2ebb84e Add common spanning tree tunables for bridges 2016-04-12 14:35:36 +02:00
casparsmit
07772b29f6 Add common spanning tree tunables for bridges 2016-04-12 14:33:28 +02:00
casparsmit
1e95673391 Add common spanning tree tunables for bridges 2016-04-12 14:31:40 +02:00
casparsmit
f8982ddf4f Add common spanning tree tunables for bridges 2016-04-12 14:25:03 +02:00
casparsmit
3ce61adcc0 Add common spanning tree tunables for bridges 2016-04-12 14:19:30 +02:00
Jamie Cameron
98ff989bb9 Allow use of ${DOM} in template value 2016-04-11 20:31:59 -07:00
Jamie Cameron
204d7d30b6 Actually all operating systems should be supported 2016-04-11 20:19:07 -07:00
Jamie Cameron
7ef105ea01 Syncing of users was broken because 'olds' is actually an array https://sourceforge.net/p/webadmin/bugs/4732/ 2016-04-10 10:23:45 -07:00
Jamie Cameron
96e31eb5a2 Show this host nicer 2016-04-10 10:14:51 -07:00
Jamie Cameron
1668f6f77e Sort nicer 2016-04-10 10:07:12 -07:00
Jamie Cameron
0287e53229 changelog for network() soruce 2016-04-09 21:05:31 -07:00
Jamie Cameron
173efa83df Allow use of network() source type https://github.com/webmin/webmin/issues/303 2016-04-09 20:43:00 -07:00
Jamie Cameron
a4cb099b3f Show network source nicely 2016-04-09 17:08:05 -07:00
Jamie Cameron
e0731515d7 Use post for buttons row to prevent double-submit https://github.com/webmin/webmin/issues/302 2016-04-09 13:51:37 -07:00
Jamie Cameron
d3fc96827d German translation updates from Raymond Vetter 2016-04-08 16:57:27 -07:00
Jamie Cameron
452224a24d Make sure let's encrypt key, cert and chain aren't world readable 2016-04-08 16:55:45 -07:00
Jamie Cameron
69fd79e2b3 Remove useless module call 2016-04-08 13:50:32 -07:00
Jamie Cameron
fa8654714a Fix more references to old module name 2016-04-08 13:46:15 -07:00
Jamie Cameron
28888930e7 Declare forgotten variable 2016-04-08 13:39:21 -07:00
Jamie Cameron
7e2b4e6c5e dev version bump 2016-04-08 13:32:55 -07:00
Jamie Cameron
c613cdc8c9 don;'t completely crash if one module fails 2016-04-08 12:07:54 -07:00
Jamie Cameron
b05a2794d8 Merge branch 'master' of git@github.com:webmin/webmin 2016-04-06 22:26:48 -07:00
Jamie Cameron
997b33e5fb module_name cannot be used in library code https://sourceforge.net/p/webadmin/bugs/4730/ 2016-04-06 22:21:38 -07:00
Jamie Cameron
a1a86cfa42 Merge pull request #301 from bram96/master
Letsencrypt CA cert
2016-04-05 22:40:40 -07:00
Jamie Cameron
475870db79 Let's Encrypt chained cert has changed 2016-04-05 22:39:16 -07:00
Jamie Cameron
9189c1446a Support configure a primary teaming interface, thanks to Caspar Smit 2016-04-05 21:40:44 -07:00
bram96
ad9c2ec0f9 Merge pull request #1 from bram96/bram96-fix-letsencrypt
Fix letsencrypt CA
2016-04-05 19:22:52 +02:00
bram96
e395cf951e Fix letsencrypt CA 2016-04-05 19:22:28 +02:00
Jamie Cameron
1fcb3129f5 Merge pull request #298 from qooob/patch-2
File is not a folder
2016-04-04 19:50:59 -07:00
Jamie Cameron
c5fe632e4e Merge pull request #297 from qooob/patch-1
Folder is not a file
2016-04-04 19:50:36 -07:00
Ilia Rostovtsev
c176073339 File is not a folder 2016-04-04 14:05:23 +04:00
Ilia Rostovtsev
27c7872c94 Folder is not a file 2016-04-04 14:04:16 +04:00
Jamie Cameron
915b6ec224 PEM file path can be wrapped https://www.virtualmin.com/node/40240 2016-04-03 14:34:10 -07:00
Jamie Cameron
f3a393b2f8 Ignore signals that might fire if webmin is upgraded, or if an apache proxy is https://github.com/webmin/webmin/issues/296 2016-04-03 09:21:38 -07:00
Jamie Cameron
e529789543 Sane defaults for bonding interfaces, thanks to Caspar Smit 2016-04-01 21:50:46 -07:00
Jamie Cameron
5a20e411fc DNF uses the the word 'Upgrading' 4912384cd7 (commitcomment-16928342) 2016-04-01 21:34:31 -07:00
Jamie Cameron
7ef6ea921a Don't try a multiple package update if there isn't more than one 2016-03-31 22:07:19 -07:00
Jamie Cameron
63b6af8dd4 Document root may be quoted 2016-03-30 21:17:24 -07:00
Jamie Cameron
a103a0b10f Correct form number https://github.com/webmin/webmin/issues/294 2016-03-30 18:14:02 -07:00
Jamie Cameron
f2374b1fa2 ui-lib conversion 2016-03-28 17:12:09 -07:00
Jamie Cameron
40a90f7c71 Use pg_users instead of pg_shadow in latest PostgreSQL versions https://sourceforge.net/p/webadmin/bugs/4727/ 2016-03-27 16:26:19 -07:00
Jamie Cameron
46d7022cc9 Complete support for mysql include files https://sourceforge.net/p/webadmin/bugs/4726/ 2016-03-26 18:05:02 -07:00
Jamie Cameron
7efcd84bda Support mysql.conf innf include files https://sourceforge.net/p/webadmin/bugs/4726/ 2016-03-25 21:25:52 -07:00
Jamie Cameron
0e64774db3 Ubuntu 16 support 2016-03-24 22:08:45 -07:00
Jamie Cameron
e9a08bb3bb Variable has been renamed to key_buffer_size https://sourceforge.net/p/webadmin/bugs/4724/ 2016-03-24 20:36:00 -07:00
Jamie Cameron
e2df09438a Norwegian update from Stein-Aksel Basma 2016-03-23 22:12:09 -07:00
Jamie Cameron
63830dd456 If command set does't exist, don't use it 2016-03-22 22:08:34 -07:00
Jamie Cameron
d4b401e913 Handle case with no output 2016-03-22 22:01:32 -07:00
Jamie Cameron
a889ef3afc Show epoch-format leases nicely 2016-03-21 21:59:58 -07:00
Jamie Cameron
5f686de889 Handle epoch lease time format https://sourceforge.net/p/webadmin/bugs/4711/ 2016-03-21 21:55:45 -07:00
Jamie Cameron
9fcaa65ef4 German translation updates from Raymond Vetter 2016-03-21 20:55:10 -07:00
Jamie Cameron
8bd1b626dd Don't do automatic perl module provides, as this includes some copies of modules https://sourceforge.net/p/webadmin/bugs/4725/ 2016-03-21 20:31:48 -07:00
Jamie Cameron
cf771963c7 Add missing message for missing python module 2016-03-20 11:09:59 -07:00
Jamie Cameron
4912384cd7 Update multiple packages at the same time https://github.com/webmin/webmin/issues/286 2016-03-20 11:09:36 -07:00
Jamie Cameron
124d182bf6 Make units easier 2016-03-19 23:04:30 -07:00
Jamie Cameron
e972b65393 Put longer version numbers first, so that 10.11 doesn't match 10.1 https://www.virtualmin.com/node/39969 2016-03-19 21:58:56 -07:00
Jamie Cameron
9d0d796469 Check if the argparse python module is installed https://www.virtualmin.com/node/40053 2016-03-19 17:16:17 -07:00
Jamie Cameron
1456825ed4 Fix parsing in debug mode https://sourceforge.net/p/webadmin/bugs/4723/ 2016-03-18 22:38:07 -07:00
Jamie Cameron
9670fb69cc Break all the way out of the loop https://sourceforge.net/p/webadmin/bugs/4720/ 2016-03-17 22:21:43 -07:00
Jamie Cameron
0dd18f3f77 Rename Webmin to WebminUI, to avoid clashes with webmin on OSX https://www.virtualmin.com/node/39987 2016-03-17 20:27:18 -07:00
Jamie Cameron
21eb487ebb fix quote 2016-03-15 22:07:18 -07:00
Jamie Cameron
72cd4b3a4e Allow log paths that are variables https://www.virtualmin.com/node/38963 2016-03-15 21:07:06 -07:00
Jamie Cameron
8e2815dabe Don't spin forever on cancelled upload https://sourceforge.net/p/webadmin/bugs/4720/ 2016-03-15 20:36:11 -07:00
Jamie Cameron
581047a965 Compare fully qualified IPv6 addresses 2016-03-14 23:03:23 -07:00
Jamie Cameron
1db718fd95 fix docs 2016-03-12 20:59:00 -08:00
Jamie Cameron
04dd39842d Add missing footer 2016-03-12 20:58:44 -08:00
Jamie Cameron
72d103ea2e Add missing config files 2016-03-12 16:40:00 -08:00
Jamie Cameron
8163db111a Better handle map specs inside lists of directives 2016-03-12 16:35:35 -08:00
Jamie Cameron
55ea719197 Fix incorrect line variable 2016-03-12 15:30:06 -08:00
Jamie Cameron
116cd4162d Use hostinfo to get total RAM 2016-03-10 22:55:51 -08:00
Jamie Cameron
6791b6895f Remove obsolete feedback link 2016-03-09 21:51:58 -08:00
Jamie Cameron
2b082de03d Merge branch 'master' of git@github.com:webmin/webmin 2016-03-09 21:19:16 -08:00
Jamie Cameron
6ad0df49e1 Properly remove use of old API for writing files https://sourceforge.net/p/webadmin/bugs/4717/ 2016-03-09 21:12:36 -08:00
Jamie Cameron
a9e3582190 Merge pull request #289 from nielosz/master
Handle pipe commands
2016-03-09 20:27:32 -08:00
nielosz
5db95b1e27 Merge pull request #1 from nielosz/Handle-Pipe-commands
Handle pipe commands
2016-03-09 11:38:23 +01:00
nielosz
575f169b93 Update bacula-backup-lib.pl 2016-03-09 11:36:13 +01:00
Jamie Cameron
efb8150510 Version bump 2016-03-07 11:06:22 -08:00
Jamie Cameron
10f12a83c6 Rollback to HTTP 1.0, as switching to 1.1 seems to break some downloads 2016-03-07 10:28:39 -08:00
Jamie Cameron
3243948e59 Quotes are not valid around an email in an SOA https://www.virtualmin.com/node/39872 2016-03-06 15:39:41 -08:00
Jamie Cameron
1cf382deab Don't die if a path cannot be utf-8 decoded 2016-03-06 10:22:28 -08:00
Jamie Cameron
785cc54ddc Norwegian update from Stein-Aksel Basma 2016-03-05 11:55:16 -08:00
Jamie Cameron
d2e52c81d4 German translation updates from Raymond Vetter 2016-03-01 11:59:48 -08:00
Jamie Cameron
081036d8f6 German translation updates from Raymond Vetter 2016-03-01 11:59:48 -08:00
Jamie Cameron
64656b6f24 Norwegian update from Stein-Aksel Basma 2016-03-01 11:58:18 -08:00
Jamie Cameron
f5ccedfe5b Only save one file 2016-02-29 20:27:21 -08:00
Jamie Cameron
85a9056ee8 LSI 9750 is really 3ware https://www.virtualmin.com/node/39844 2016-02-29 16:31:58 -08:00
Jamie Cameron
0291ce2e66 Allow exclusion of files at module build time 2016-02-29 16:19:32 -08:00
Jamie Cameron
51a0631bde Allow forcing of a specific version 2016-02-29 15:39:13 -08:00
Jamie Cameron
7eec607f86 HTTP 1.0 is dead and buries 2016-02-29 15:34:48 -08:00
Jamie Cameron
4cbffaa875 Handle https properly 2016-02-29 15:25:08 -08:00
Jamie Cameron
1f5c860698 Fix table to regenerate 2016-02-28 13:03:44 -08:00
Jamie Cameron
480f0f0955 Only exclude clones 2016-02-28 13:01:00 -08:00
Jamie Cameron
80ecd012cf Make perl path consistent with the repo 2016-02-28 10:57:24 -08:00
Jamie Cameron
5e042e7f51 Version bump 2016-02-28 10:20:14 -08:00
Jamie Cameron
e780c2fa1c Fix duplicate string 2016-02-28 10:19:22 -08:00
Jamie Cameron
f94faaf303 Remove special case name change for Filemin 2016-02-28 10:07:59 -08:00
Jamie Cameron
9d2f479e6c Catalan update from Jaume Badiella 2016-02-28 09:50:53 -08:00
Jamie Cameron
e7b4985fc5 Catalan update from Jaume Badiella 2016-02-28 09:50:09 -08:00
Jamie Cameron
a2816947b1 Make all output matches case insensitive https://sourceforge.net/p/webadmin/bugs/4654/ 2016-02-27 16:51:58 -08:00
Jamie Cameron
004a888071 Clear all the caches https://github.com/webmin/webmin/issues/282 2016-02-27 15:02:00 -08:00
Jamie Cameron
6041a45e83 Skip relative paths 2016-02-26 22:09:38 -08:00
Jamie Cameron
695577a40e Handle non-syslog logs as well https://github.com/webmin/webmin/issues/283 2016-02-26 22:08:47 -08:00
Jamie Cameron
bcbd707307 Allow fast switching between logs https://github.com/webmin/webmin/issues/283 2016-02-24 21:29:12 -08:00
Jamie Cameron
c237e851f6 Use standard UI functions 2016-02-24 21:22:23 -08:00
Jamie Cameron
629f7e033b remove auto-added lines 2016-02-22 20:07:19 -08:00
Jamie Cameron
a59cd42151 Re-fork filemin from 1.783 release 2016-02-22 20:06:44 -08:00
Jamie Cameron
9ed6338db6 Undo filemin fork 2016-02-22 20:05:11 -08:00
Jamie Cameron
f98e8e3398 Bring filemin as of the last webmin release across to our own repo 2016-02-21 15:36:17 -08:00
Jamie Cameron
bcc4822e0e Use apt-cache show to get current package info if available 2016-02-18 23:16:06 -08:00
Jamie Cameron
c45980160a German translation updates from Raymond Vetter 2016-02-16 14:21:14 -08:00
Jamie Cameron
8a1446ab2c Enable server-side preferred ciphers by default 2016-02-14 18:48:21 -08:00
Jamie Cameron
c0500ee0a0 German translation updates from Raymond Vetter 2016-02-11 19:42:42 -08:00
Jamie Cameron
a8036120b9 Don't show negative RAM free 2016-02-10 23:10:53 -08:00
Jamie Cameron
6b3b7096ea Allow users who cannot drop a DB to still empty it https://www.virtualmin.com/node/28549 2016-02-10 22:49:41 -08:00
Jamie Cameron
747ea46c54 Norwegian update from Stein-Aksel Basma 2016-02-08 14:11:37 -08:00
Jamie Cameron
90d2da3588 Properly support multi-domain let's encrypt certs by generating a temporary config file with the altnames 2016-02-06 18:29:41 -08:00
Jamie Cameron
2fd5b42b60 German translation updates from Raymond Vetter 2016-02-06 17:29:58 -08:00
Jamie Cameron
3111fb4bd0 Extract alt names from the subject field. Turns out this doesn't actually work (let's encrypt doesn't sign for them), but it's worth a try 2016-02-06 16:23:50 -08:00
Jamie Cameron
2990aaaa99 Support multiple alt-names in SSL CSRs 2016-02-05 22:58:44 -08:00
Jamie Cameron
baef8aba0f If a systemd service suggests using journalctl to get more logs, do it 2016-02-05 17:36:22 -08:00
Jamie Cameron
46c2113f2f Support for editing Postfix sender restriction maps 2016-02-04 21:47:46 -08:00
Jamie Cameron
f11ef10942 Merge branch 'master' of git@github.com:webmin/webmin 2016-02-04 20:15:14 -08:00
Jamie Cameron
30597f6c38 SPF a tag cannot be an IP address https://sourceforge.net/p/webadmin/bugs/4706/ 2016-02-04 20:09:28 -08:00
Jamie Cameron
167239f8fc Merge pull request #280 from BangL/master
fixes for changes made in shorewall 4.5.3, 4.5.11 and 4.6.0
2016-02-01 20:00:35 -08:00
BangL
16fa5c5bec fixes for changes made in shorewall 4.5.3, 4.5.11 and 4.6.0
- rules: (?)SECTION and (?)COMMENT
- interfaces: (?)FORMAT {1|2}
2016-02-02 03:17:22 +01:00
Jamie Cameron
319a3b4d84 Email addresses cannot have spaces https://www.virtualmin.com/node/39564: 2016-02-01 17:44:12 -08:00
Jamie Cameron
a3fa53727d dom can be an array https://www.virtualmin.com/node/39530 2016-01-31 14:05:22 -08:00
Jamie Cameron
e9640d7622 Dev version bump 2016-01-30 16:39:43 -08:00
Jamie Cameron
7ba7a75df1 Support setting attributes for the td 2016-01-30 15:21:15 -08:00
Jamie Cameron
10b9916097 Add size for sorting as a number https://www.virtualmin.com/node/39494 2016-01-30 15:10:12 -08:00
Jamie Cameron
5bbfbc4a36 Fix select all / invert https://www.virtualmin.com/node/39529 2016-01-29 20:46:53 -08:00
Jamie Cameron
f4a7048fd9 Norwegian update from Stein-Aksel Basma 2016-01-28 19:42:52 -08:00
Jamie Cameron
9c63d0c352 Add missing footer to root password form https://github.com/webmin/webmin/issues/278 2016-01-27 19:08:33 -08:00
Jamie Cameron
ff08544347 Fail early if given config file doens't exist 2016-01-26 21:00:17 -08:00
Jamie Cameron
4265e07b4e Document new flag 2016-01-24 10:04:22 -08:00
Jamie Cameron
f06270fca1 Add some formal params 2016-01-24 10:03:43 -08:00
Jamie Cameron
350bd60cc5 German translation updates from Raymond Vetter 2016-01-24 09:38:47 -08:00
Jamie Cameron
b001855672 Support multiple file uploads 2016-01-23 21:48:42 -08:00
Jamie Cameron
bb98a1af45 Support multiple files per attachment field 2016-01-23 17:58:54 -08:00
Jamie Cameron
9040c26581 Fix group matched for content type 2016-01-23 17:49:49 -08:00
Jamie Cameron
5d0411b789 Add option to store multiple values for the same input in an array 2016-01-23 15:09:36 -08:00
Jamie Cameron
fb842fbeda Allow multiple uploads 2016-01-23 14:40:20 -08:00
Jamie Cameron
2d18903ac6 Fix typo 2016-01-23 13:56:59 -08:00
Jamie Cameron
d19f95c65d Warn if a user being edited belongs to Virtualmin, for PostgreSQL too https://www.virtualmin.com/node/39428 2016-01-23 13:56:30 -08:00
Jamie Cameron
35c65587ba Warn if a user being edited belongs to Virtualmin https://www.virtualmin.com/node/39428 2016-01-23 13:53:55 -08:00
Jamie Cameron
cd34c5450e German translation updates from Raymond Vetter 2016-01-22 23:42:01 -08:00
Jamie Cameron
4fe4d935a1 Don't allow deletion of anonymous users https://www.virtualmin.com/node/39426 2016-01-22 22:27:57 -08:00
Jamie Cameron
0229cc5c8e Wait at most 5 seconds to check new webmin version 2016-01-22 22:18:58 -08:00
Jamie Cameron
fd719dbf47 Exclude pyc files from packages, as they get re-compiled 2016-01-21 23:00:47 -08:00
Jamie Cameron
e5b05b4e2b Add missing string for special sync button 2016-01-21 22:40:29 -08:00
Jamie Cameron
a948c6d938 Exclude files when building a module from a locally checked out repo 2016-01-21 22:40:09 -08:00
Jamie Cameron
d032b22ac3 Completed support for cert request with acme_tiny 2016-01-21 22:34:50 -08:00
Jamie Cameron
a23867f019 Re-factor CSR function 2016-01-21 21:55:48 -08:00
Jamie Cameron
e564acbbf9 Fix comments 2016-01-19 22:29:06 -08:00
Jamie Cameron
b4617d7c1c Improve detection of invalid renewal period 2016-01-18 17:20:16 -08:00
Jamie Cameron
cc217d3044 completed renewal support 2016-01-18 14:36:19 -08:00
Jamie Cameron
8a86381d6e Start of work on renewal support for let's encrypt 2016-01-17 21:35:39 -08:00
Jamie Cameron
1cf689e931 Support interval-based webmincron time specs 2016-01-17 21:04:45 -08:00
Jamie Cameron
5000eddb37 Preserve unix file attributes on copy http://sourceforge.net/p/webadmin/bugs/4701/ 2016-01-14 22:29:07 -08:00
Jamie Cameron
be4cf27e12 Remove special case for old version, and add formal params 2016-01-14 21:23:01 -08:00
Jamie Cameron
44ef858725 login might not be set 2016-01-11 12:47:55 -08:00
Jamie Cameron
c18bbbee4c dev version bump 2016-01-10 22:30:15 -08:00
Jamie Cameron
769b7d82f0 Support El Capitan 2016-01-10 10:11:58 -08:00
Jamie Cameron
9b3513b148 Add support for Ubuntu 15 2016-01-08 16:47:16 -08:00
Jamie Cameron
882588d815 Add a missing perl lib needed for DNSSEC https://github.com/webmin/webmin/issues/275 2016-01-08 16:14:20 -08:00
Jamie Cameron
38bbcf1196 Stop showing encrypted password column, as it may not even exist 2016-01-06 19:19:33 -08:00
Jamie Cameron
c7d2d2a78a Allow requesting of multi-domain certs 2016-01-06 19:07:47 -08:00
Jamie Cameron
b2716fc22d Dev version bump 2016-01-05 20:47:38 -08:00
Jamie Cameron
2f98174db7 Matches before applying can be zero https://sourceforge.net/p/webadmin/bugs/4699/ 2016-01-05 20:10:01 -08:00
Jamie Cameron
2f031a1a02 Show package name lines 2016-01-05 19:59:07 -08:00
Jamie Cameron
97e7ddafd7 Use specific zone name indnssec-dsfromkey, and add missing newline when displaying https://github.com/webmin/webmin/issues/272 2016-01-03 10:08:57 -08:00
Jamie Cameron
650c06300a Fix method of getting username from LDAP object https://sourceforge.net/p/webadmin/bugs/4695/ 2016-01-02 13:19:52 -08:00
Jamie Cameron
9a7ec78cc0 German translation updates from Raymond Vetter 2016-01-02 10:43:19 -08:00
Jamie Cameron
8d5109718b Don't shows hosts table on MySQL 5.7+ 2016-01-01 15:10:45 -08:00
Jamie Cameron
0358fb2795 German translation updates from Raymond Vetter 2015-12-29 16:05:27 -08:00
Jamie Cameron
0f754b170b German translation updates from Raymond Vetter 2015-12-29 16:05:07 -08:00
Jamie Cameron
984ad50d21 Set SSL fields to an empty value at creation time, to satisfy MySQL 5.7 2015-12-29 11:01:27 -08:00
Jamie Cameron
595ce7d9ff Merge pull request #271 from BindAr/master
LSI MegaRAID support
2015-12-28 20:26:04 -08:00
Jamie Cameron
7241591c10 Private key may not have RSA in the header https://sourceforge.net/p/webadmin/bugs/4691/ 2015-12-28 17:40:38 -08:00
Jamie Cameron
339366c7f4 changelog for mysql 5.7 fixes 2015-12-28 17:39:11 -08:00
Jamie Cameron
bbbdb849eb fix user sync code to handle new password columns 2015-12-28 17:38:00 -08:00
Jamie Cameron
3e2cc2aaec Re-factor password change code for root to use new syntax 2015-12-28 17:04:35 -08:00
BindAr
40fc32148a Update de 2015-12-29 01:49:14 +01:00
BindAr
7c64ef41ad Update smart-status-lib.pl 2015-12-29 01:47:34 +01:00
Jamie Cameron
bafb4e3808 Use proper SQL params for column privs 2015-12-28 16:41:08 -08:00
Jamie Cameron
9c7274e283 Use proper SQL params 2015-12-28 16:19:03 -08:00
Jamie Cameron
dc121cc427 Remove useless function 2015-12-28 16:01:39 -08:00
Jamie Cameron
7d520e1d17 Port host permissions to new privilege column implementation 2015-12-28 15:54:57 -08:00
Jamie Cameron
51f96900da Add option to control who can see system info 2015-12-27 20:08:58 -08:00
Jamie Cameron
d0a3b27647 German translation updates from Raymond Vetter 2015-12-27 19:29:52 -08:00
Jamie Cameron
9daf4b2d17 German translation updates from Raymond Vetter 2015-12-25 20:41:30 -08:00
Jamie Cameron
2e625451a3 Re-factor DB permissions editing 2015-12-22 17:21:26 -08:00
Jamie Cameron
6330deb1bc Make priv fields function common 2015-12-22 16:30:08 -08:00
Jamie Cameron
ba7b2a7cfa permissions fix 2015-12-22 16:09:15 -08:00
Jamie Cameron
d238e19289 No need to support ancient versions 2015-12-22 16:09:00 -08:00
Jamie Cameron
7b4d33f0fa Re-factor the way mysql user permissions are edited, to not be dependent on column order 2015-12-22 16:08:38 -08:00
Jamie Cameron
5c5b79fc5e Use correct flags for newaliases vs postalias 2015-12-22 11:21:47 -08:00
Jamie Cameron
fcadcdee09 Prevent space between command and comment from being included in the command 2015-12-22 10:25:49 -08:00
Jamie Cameron
2a6fe1a536 What are these old variables for? No idea 2015-12-21 21:57:29 -08:00
Jamie Cameron
8a99221212 version bump 2015-12-21 14:15:44 -08:00
Jamie Cameron
0a549477c3 ui-lib conversion 2015-12-20 17:32:56 -08:00
Jamie Cameron
66425fd51b Remove useless alignment directives 2015-12-20 15:13:27 -08:00
Jamie Cameron
510d996761 Remove useless alignment tags 2015-12-20 15:06:03 -08:00
Jamie Cameron
651e5ac2be Remove useless alignment strings 2015-12-20 15:04:36 -08:00
Jamie Cameron
34de88aa52 Remove useless HTML 2015-12-20 14:58:54 -08:00
Jamie Cameron
a3675dcc32 ui-lib conversion 2015-12-20 11:52:24 -08:00
Jamie Cameron
8d6e1a33dd remove useless aligns 2015-12-20 11:27:43 -08:00
Jamie Cameron
3cf72674be changelog for ui changes 2015-12-20 11:21:19 -08:00
Jamie Cameron
17b58c4a07 Use systemctl on centos 7 and derivatives http://virtualmin.com/node/37710 2015-12-20 10:19:14 -08:00
Jamie Cameron
b0f15dc79a Use systemctl on centos 7 and derivatives http://virtualmin.com/node/37710 2015-12-20 10:17:34 -08:00
Jamie Cameron
2b0c4facbd Use systemctl on centos 7 and derivatives http://virtualmin.com/node/37710 2015-12-20 10:15:12 -08:00
Jamie Cameron
69cf2f635b Use systemctl on centos 7 and derivatives http://virtualmin.com/node/37710 2015-12-20 10:14:08 -08:00
Jamie Cameron
d8beb7b44f Use systemctl on centos 7 and derivatives http://virtualmin.com/node/37710 2015-12-20 09:57:15 -08:00
Jamie Cameron
f6fa7e6eb2 Use systemctl on centos 7 and derivatives http://virtualmin.com/node/37710 2015-12-20 09:54:26 -08:00
Jamie Cameron
3a7045666b Use systemctl on centos 7 and derivatives http://virtualmin.com/node/37710 2015-12-20 09:52:24 -08:00
Jamie Cameron
89b0cc991a Use systemctl on centos 7 and derivatives http://virtualmin.com/node/37710 2015-12-20 09:51:04 -08:00
Jamie Cameron
f800f29418 Use systemctl on centos 7 and derivatives http://virtualmin.com/node/37710 2015-12-20 09:47:16 -08:00
Jamie Cameron
205060e59b Use systemctl on centos 7 and derivatives http://virtualmin.com/node/37710 2015-12-20 09:45:53 -08:00
Jamie Cameron
4730e04c3c German translation updates from Raymond Vetter 2015-12-19 16:16:51 -08:00
Jamie Cameron
82bb4284ba Fix call to theme override https://sourceforge.net/p/webadmin/bugs/4689/ 2015-12-17 22:19:26 -08:00
Jamie Cameron
e55c4ef1a6 Exclude [] stuff before key name 2015-12-16 19:35:13 -08:00
Jamie Cameron
3e5f88b5dc German translation updates from Raymond Vetter 2015-12-16 19:07:38 -08:00
Jamie Cameron
fef2f9bb88 Add missing string 2015-12-15 20:44:19 -08:00
Jamie Cameron
a643d4ed73 Remove useless width spec 2015-12-15 20:37:55 -08:00
Jamie Cameron
a392cded47 ui-lib conversion 2015-12-15 20:37:29 -08:00
Jamie Cameron
179e945308 Fix use of undefined variable https://sourceforge.net/p/webadmin/usermin-bugs/449/ 2015-12-15 19:58:00 -08:00
Jamie Cameron
08e23517cf Avoid use of undefined variable https://sourceforge.net/p/webadmin/usermin-bugs/448/ 2015-12-15 19:57:02 -08:00
Jamie Cameron
9b8078e7d0 Remove useless alignment options 2015-12-14 21:33:38 -08:00
Jamie Cameron
fd064fb9ca Fix select list when there is no text http://virtualmin.com/node/38926 2015-12-13 11:16:23 -08:00
Jamie Cameron
dd941eba08 ui-lib conversion 2015-12-12 17:47:24 -08:00
Jamie Cameron
2c2bfa62be ui-lib conversion 2015-12-12 17:30:53 -08:00
Jamie Cameron
6ada786601 only show link once 2015-12-12 17:12:12 -08:00
Jamie Cameron
9959a2aa68 ui-lib conversion 2015-12-12 17:11:30 -08:00
Jamie Cameron
42d902ab4f ui-lib conversion 2015-12-12 17:03:53 -08:00
Jamie Cameron
e09fccf402 Fix variable declaration 2015-12-12 16:13:07 -08:00
Jamie Cameron
6a9e902c5f UI-lib conversion 2015-12-11 21:58:00 -08:00
Jamie Cameron
bc8c8789cc ui-lib conversion 2015-12-11 21:07:06 -08:00
Jamie Cameron
2feeabf152 LDAP matches aren't case sensitive http://virtualmin.com/node/38803 2015-12-08 20:50:44 -08:00
Jamie Cameron
d4872509dd Undre MySQL 5, myisam_sort_buffer_size is now a stand-alone directive http://virtualmin.com/node/22895 2015-12-06 19:11:46 -08:00
Jamie Cameron
9bc50b5398 German translation updates from Raymond Vetter 2015-12-06 18:48:07 -08:00
Jamie Cameron
cfc58f705f New Linux Mint version 2015-12-06 18:10:09 -08:00
Jamie Cameron
384de5c620 Upgrade script may be reached from a GET 2015-12-06 11:11:25 -08:00
Jamie Cameron
cedfd975e2 Make new defines config options visible config.info 2015-12-06 11:11:02 -08:00
Jamie Cameron
4e9297cf67 Defines can be set to empty 2015-12-06 10:47:26 -08:00
Jamie Cameron
de21b151ee Respect defines from config files like /etc/sysconfig/proftpd 2015-12-06 10:44:27 -08:00
Jamie Cameron
3d100bc3c8 German translation updates from Raymond Vetter 2015-12-04 22:51:07 -08:00
Jamie Cameron
2115c4554f New dev version 2015-12-03 21:56:41 -08:00
Jamie Cameron
66397b1305 Handle new let's encrypt command line requirements 2015-12-03 21:55:47 -08:00
Jamie Cameron
a142161b9e Also look for letsencrypt-auto command 2015-12-03 21:44:46 -08:00
Jamie Cameron
b0ecbaf63e Auto-scroll unbuffered pages 2015-12-03 20:01:40 -08:00
Jamie Cameron
1219f25708 Add option to create a world from a server-side file 2015-12-02 21:15:35 -08:00
Jamie Cameron
7e95339909 Remove noisy debug line 2015-12-02 13:23:27 -08:00
Jamie Cameron
ba06eb24e5 Don't set ssl_type for new users if not set 2015-12-01 15:14:38 -08:00
Jamie Cameron
438e95e616 ps V output may not include the word version https://sourceforge.net/p/webadmin/bugs/4683/ 2015-12-01 15:09:38 -08:00
Jamie Cameron
0b9a56c266 dev version bump 2015-11-30 20:19:00 -08:00
Jamie Cameron
9297c3e7f0 A bosystemdction in 'static' state is enabled https://github.com/webmin/webmin/issues/270 2015-11-30 17:36:22 -08:00
Jamie Cameron
7b818e8904 German translation updates from Raymond Vetter 2015-11-29 18:41:37 -08:00
Jamie Cameron
abcce47423 mdb is new LDAP format https://sourceforge.net/p/webadmin/bugs/4681/ 2015-11-28 21:45:31 -08:00
Jamie Cameron
6fec095bca Detect when RAID resync is delayed https://github.com/webmin/webmin/issues/269 2015-11-28 20:56:40 -08:00
Jamie Cameron
ed46708b99 If a whole disk is already used in a RAID, don't offer to add partitions https://github.com/webmin/webmin/issues/269 2015-11-27 21:44:47 -08:00
Jamie Cameron
97436e9cea Add default charset field 2015-11-26 21:44:07 -08:00
Jamie Cameron
f5a7fb89ca Fix typo 2015-11-24 18:02:35 -08:00
Jamie Cameron
af9e544f90 German translation updates from Raymond Vetter 2015-11-24 18:01:06 -08:00
Jamie Cameron
326f154558 German translation updates from Raymond Vetter 2015-11-21 11:59:09 -08:00
Jamie Cameron
6721093b91 Deal with case where there is a leading space https://sourceforge.net/p/webadmin/bugs/4679/ 2015-11-19 17:07:14 -08:00
Jamie Cameron
f727cde8f8 German translation updates from Raymond Vetter 2015-11-17 19:57:00 -08:00
Jamie Cameron
0dad4477f6 Restore option for RMT path https://sourceforge.net/p/webadmin/bugs/4677/ 2015-11-16 19:59:47 -08:00
Jamie Cameron
e5b72f8747 German translation updates from Raymond Vetter 2015-11-16 19:45:11 -08:00
Jamie Cameron
e624b7fdb8 Log message for let's encrypt 2015-11-15 23:09:23 -08:00
Jamie Cameron
8ad75e9d18 Strings for SSL client options 2015-11-15 19:18:30 -08:00
Jamie Cameron
12919c030f Finished off let's encrypt support 2015-11-15 19:18:11 -08:00
Jamie Cameron
a9044c620f changelog and actual cert placement 2015-11-15 14:02:14 -08:00
Jamie Cameron
a7c8301ed9 Module chooser is referer-safe 2015-11-15 13:37:42 -08:00
Jamie Cameron
df02cd6e91 More work on let's encrypt cert generation 2015-11-15 13:29:58 -08:00
Jamie Cameron
a54975a7b3 Remove skill-level ACL files that have been deprecated for years 2015-11-15 10:18:04 -08:00
Jamie Cameron
37658cffa8 German translation updates from Raymond Vetter 2015-11-15 09:50:20 -08:00
Jamie Cameron
e2cba8113c Work on the lets encrypt UI 2015-11-14 19:32:01 -08:00
Jamie Cameron
b9c3a943cc Polish translation from Piotr Kozica 2015-11-14 14:51:04 -08:00
Jamie Cameron
0b4204dabe Add outgoing SMTP options 2015-11-13 17:14:03 -08:00
Jamie Cameron
ec4a1aa023 Newaliases command uses -oA to set the file https://sourceforge.net/p/webadmin/bugs/4674/ 2015-11-11 19:17:26 -08:00
Jamie Cameron
66bbccb993 Valid cache dirs must start with / https://sourceforge.net/p/webadmin/bugs/4523/ 2015-11-09 17:39:50 -08:00
Jamie Cameron
f7ccf2077d More ui-lib conversion 2015-11-08 14:44:11 -08:00
Jamie Cameron
33464aece1 ui-lib conversion 2015-11-08 14:34:16 -08:00
Jamie Cameron
9cbe29a824 Remove useless constraint 2015-11-08 14:32:04 -08:00
Jamie Cameron
42fc25450c ui-lib conversion 2015-11-08 14:30:49 -08:00
Jamie Cameron
dd855a189d Remove debugging code 2015-11-08 11:28:33 -08:00
Jamie Cameron
dc5c5acd4a Remove now-useless strings 2015-11-08 11:27:44 -08:00
Jamie Cameron
da76731ec0 new compiled version 2015-11-08 11:27:20 -08:00
Jamie Cameron
616f0f9928 changelog for reverse records feature 2015-11-08 11:26:47 -08:00
Jamie Cameron
87fd564920 Preserve functionality of old code (even though I'm not totally sure what it did) 2015-11-08 11:24:06 -08:00
Jamie Cameron
16508b0a96 Fix deletion of reverse record in delegated zone 2015-11-08 11:21:31 -08:00
Jamie Cameron
51810b536a More fixes to partial reverse record editing 2015-11-07 16:05:19 -08:00
Jamie Cameron
2b45c4c071 Find partial reverse zones properly, and use the correct record name 2015-11-07 15:36:31 -08:00
Jamie Cameron
7bfce54886 redirects can be to a relative path https://sourceforge.net/p/webadmin/bugs/4672/ 2015-11-06 23:07:48 -08:00
Jamie Cameron
b070b0242c Factor out function to build a reverse record name from an IP 2015-11-06 23:04:48 -08:00
Jamie Cameron
170a8ae3ee Add missing var 2015-11-03 09:26:39 -08:00
Jamie Cameron
302cb694e1 Don't offer to upgrade webmin if the user doesn't have permissions https://www.virtualmin.com/node/38489 2015-11-02 22:23:00 -08:00
Jamie Cameron
9c7e8bd721 Filesystem sizes are in kb 2015-10-31 12:49:14 -07:00
Jamie Cameron
b01b4dd734 For ZFS filesystems, use the size from the pool 2015-10-31 12:47:42 -07:00
Jamie Cameron
87bcc1c39d dev version bump 2015-10-29 23:40:46 -07:00
Jamie Cameron
00d9da2654 Re-factor function to set the OS known to webmin, and call it automatically for small changes http://virtualmin.com/node/38421 2015-10-27 21:56:04 -07:00
Jamie Cameron
e0ba4d2476 Catalan update from Jaume Badiella 2015-10-27 20:28:39 -07:00
Jamie Cameron
747d9f1133 Catalan update from Jaume Badiella 2015-10-27 20:27:35 -07:00
Jamie Cameron
df95743889 Array option types also need to be quoted https://sourceforge.net/p/webadmin/bugs/4664/ 2015-10-26 21:00:17 -07:00
Jamie Cameron
1760032295 Escape dangerous HTML in forwarding action 2015-10-26 14:30:37 -07:00
Jamie Cameron
66ddbc6be3 timelocal dies rather than returning zero on failure 2015-10-26 14:28:31 -07:00
Jamie Cameron
8073e9ef40 HTML escape search term 2015-10-26 14:21:51 -07:00
Jamie Cameron
1d0a84e65b Switch to text-based strace output by default, due to the death of java 2015-10-24 09:20:34 -07:00
Jamie Cameron
be386e8840 Preserve twofactor settings when saving user https://github.com/webmin/webmin/issues/235 2015-10-23 16:03:45 -07:00
Jamie Cameron
4804c2ad5c Deal with case where user doesn't exist yet https://sourceforge.net/p/webadmin/usermin-bugs/446/ 2015-10-23 15:55:05 -07:00
Jamie Cameron
642c83e437 German translation updates from Raymond Vetter 2015-10-23 15:50:46 -07:00
Jamie Cameron
1d5279ee38 Add parameter to specify extra slave IPs https://sourceforge.net/p/webadmin/bugs/4660/ 2015-10-20 22:23:51 -07:00
Jamie Cameron
f05ed056cd ACL option to allow user to always edit his own password, in addition to other grants 2015-10-20 22:04:24 -07:00
Jamie Cameron
0dbb2b6253 Use new UI API functions to generate ACL form 2015-10-20 21:57:51 -07:00
Jamie Cameron
7f02ff8917 Add link to original monitor, if allowed 2015-10-20 21:36:48 -07:00
Jamie Cameron
82274422fb Installs using the Perl installer should also disable old SSL versions 2015-10-20 15:53:58 -07:00
Jamie Cameron
bd959c47b2 German translation updates from Raymond Vetter 2015-10-19 21:39:22 -07:00
Jamie Cameron
db387eab2f Backup button should not save scheduled config 2015-10-18 21:58:03 -07:00
Jamie Cameron
c2c8c2a5f3 Backup button should not save scheduled config 2015-10-18 21:55:06 -07:00
Jamie Cameron
06543a6705 German translation updates from Raymond Vetter 2015-10-18 20:21:13 -07:00
Jamie Cameron
c1f665c086 Filter out non-ascii chars from the gecos https://sourceforge.net/p/webadmin/bugs/4657/ 2015-10-15 22:30:30 -07:00
Jamie Cameron
c9bcd7f276 Ask for the perl module needed to convert non-ascii characters 2015-10-14 14:16:54 -07:00
Jamie Cameron
9b88757d4f Use a standard Perl module to remove accents if installed https://sourceforge.net/p/webadmin/bugs/4657/ 2015-10-14 14:12:53 -07:00
Jamie Cameron
476a271e03 Fix typo 2015-10-12 20:12:58 -07:00
Jamie Cameron
912e220713 Russian translation updates, thanks to brusee 2015-10-12 20:10:29 -07:00
Jamie Cameron
1fbc98c703 Option to show the last collected status on the System Information page https://github.com/webmin/webmin/issues/263 2015-10-11 21:54:50 -07:00
Jamie Cameron
5bc856308b When using DNF, upgrade packages with the update command https://github.com/webmin/webmin/issues/254 2015-10-10 11:18:41 -07:00
Jamie Cameron
dd4c68b300 Max retries can be zero 2015-10-09 22:14:03 -07:00
Jamie Cameron
551f2a7136 Polish translation from Piotr Kozica 2015-10-08 21:08:19 -07:00
Jamie Cameron
fcc5191dd5 Adding self to a group is fine https://github.com/webmin/webmin/issues/261 2015-10-05 22:33:46 -07:00
Jamie Cameron
9a804c5ed2 Also restart the nmbd server https://sourceforge.net/p/webadmin/bugs/4329/?page=1 2015-10-05 18:54:29 -07:00
Jamie Cameron
a17fbe0124 Debian version 8+ and derivatives use the smbd service https://sourceforge.net/p/webadmin/bugs/4329/?page=1 2015-10-05 18:51:16 -07:00
Jamie Cameron
801da15675 Make error when joining a group clearer http://virtualmin.com/node/38187 2015-10-05 14:15:26 -07:00
Jamie Cameron
48abf8702a Actually we need TLS 1.2 2015-10-03 22:37:06 -07:00
Jamie Cameron
9d55206c69 Preserve IPv6 gateway http://virtualmin.com/node/38147 2015-10-02 22:39:00 -07:00
Jamie Cameron
c2fe651b16 Polish translation from Piotr Kozica 2015-10-01 22:06:36 -07:00
Jamie Cameron
ff81498f73 CentOS / RHEL 7 has no PID file https://github.com/webmin/webmin/issues/258 2015-09-29 13:18:59 -07:00
Jamie Cameron
1d380f8665 New version 2015-09-27 12:15:47 -07:00
Jamie Cameron
d4aada9248 Cache status of a password file, rather than re-reading it over and over 2015-09-27 10:43:46 -07:00
Jamie Cameron
e0da240903 Make color boxes appear by putting something into them 2015-09-27 10:07:24 -07:00
Jamie Cameron
4cd05d0777 ZFS mounts may be from a device that is just the pool name https://sourceforge.net/p/webadmin/bugs/4188/ 2015-09-27 09:42:00 -07:00
Jamie Cameron
207570d6c6 Reading from a command is read-only by definition https://sourceforge.net/p/webadmin/bugs/4647/ 2015-09-27 09:29:31 -07:00
Jamie Cameron
df520db5bd Flush only where needed 2015-09-27 09:26:51 -07:00
Jamie Cameron
6a725d590b Fix return link text http://virtualmin.com/node/38096 2015-09-26 10:57:02 -07:00
Jamie Cameron
f00784fce8 German translation updates from Raymond Vetter 2015-09-23 18:59:51 -07:00
Jamie Cameron
495ab59f09 Custom headers can't use the normal IMAP search http://virtualmin.com/node/38059 2015-09-21 18:47:54 -07:00
Jamie Cameron
7d69745da2 Version bump for new theme 2015-09-21 16:19:38 -07:00
Jamie Cameron
a32f9ab50f Add contributed modules to replacement list 2015-09-21 16:17:35 -07:00
Jamie Cameron
6922e89582 Fix perl warning https://sourceforge.net/p/webadmin/bugs/4645/ 2015-09-21 15:15:26 -07:00
Jamie Cameron
c8b583b848 Show more useful message fgor negated search https://sourceforge.net/p/webadmin/bugs/4643/ 2015-09-20 22:39:12 -07:00
Jamie Cameron
78fa0a6d02 Japanese updates from sakaeakanuma 2015-09-20 10:08:49 -07:00
Jamie Cameron
a6fc0360ac Japanese updates from sakaeakanuma 2015-09-20 10:08:48 -07:00
Jamie Cameron
151fd07c20 Japanese updates from sakaeakanuma 2015-09-20 10:08:48 -07:00
Jamie Cameron
34ba810c40 Japanese updates from sakaeakanuma 2015-09-20 10:08:47 -07:00
Jamie Cameron
f67563902c Japanese updates from sakaeakanuma 2015-09-20 10:08:42 -07:00
Jamie Cameron
fe9172c70e New version bump 2015-09-15 15:09:01 -07:00
Jamie Cameron
8c6b2a3021 Turn off authentic theme update message when installed as part of WEbmin 2015-09-15 13:24:22 -07:00
Jamie Cameron
3ee53333ca Assume HTTP for port 443 https://github.com/webmin/webmin/issues/217 2015-09-14 19:45:25 -07:00
Jamie Cameron
694a9ef746 Use the sntp command if ntpdate is missing http://virtualmin.com/node/37985 2015-09-13 10:24:28 -07:00
Jamie Cameron
62f88f3141 Handle blank lines https://sourceforge.net/p/webadmin/bugs/4636/ 2015-09-12 15:01:00 -07:00
Jamie Cameron
bc0faf3a27 German translation updates from Raymond Vetter 2015-09-12 14:57:31 -07:00
Jamie Cameron
bd3e9c7d06 Merge branch 'master' of git@github.com:webmin/webmin 2015-09-11 16:54:07 -07:00
Jamie Cameron
b2412b46d8 Protocol can be set to 'all' https://sourceforge.net/p/webadmin/bugs/4637/ 2015-09-11 16:45:11 -07:00
Jamie Cameron
ff6f59339b Merge pull request #255 from gerco/master
Fixed not calling switch_from_folder_user() for some types of maildir
2015-09-10 19:25:35 -07:00
Gerco Dries
2cb7691e37 Fixed not calling switch_from_folder_user() for some types of mail directories 2015-09-10 23:23:30 +02:00
Jamie Cameron
24d15b1444 SSL cert and key can alsobe defined for an IP address, so force use of the ones at the top level 2015-09-07 20:28:36 -07:00
Jamie Cameron
4d39b7233c Also prefer non-self-referential values when finding directives 2015-09-07 19:35:53 -07:00
Jamie Cameron
897f0d06fe When choosing a directive to replace, if there are multiple instances and some refer to previous values, pick one that is not self-referential http://virtualmin.com/node/25425 2015-09-07 19:29:46 -07:00
Jamie Cameron
95cafd87b1 German translation updates from Raymond Vetter 2015-09-03 19:48:51 -07:00
Jamie Cameron
5856d46c6c Add option to run post-backup command even if tar fails https://sourceforge.net/p/webadmin/bugs/4605/ 2015-09-02 18:19:28 -07:00
Jamie Cameron
31d3aa2782 Option for SSL cert enforcement 2015-09-01 22:58:58 -07:00
Jamie Cameron
799a0e8efd Add forgotten stat 2015-09-01 22:03:30 -07:00
Jamie Cameron
028dc5a7bd Japanese translation 2015-09-01 22:03:14 -07:00
Jamie Cameron
27a1ccf257 Add icon for manual edit 2015-09-01 22:02:56 -07:00
Jamie Cameron
22abe602ed Define first install file, which I forgot to checkin previously 2015-09-01 22:02:38 -07:00
Jamie Cameron
524c6678a6 Export new API function 2015-09-01 22:02:09 -07:00
Jamie Cameron
a74744d914 Work on verifiction of remote CA certs 2015-08-31 22:26:15 -07:00
Jamie Cameron
fe1e459d62 API work on SSL verification 2015-08-31 20:55:30 -07:00
Jamie Cameron
c1430d3c78 I have no idea why I added these valign tags 2015-08-30 19:58:50 -07:00
Jamie Cameron
e41d7bbceb Allow specification of perl modules with a / 2015-08-30 09:31:14 -07:00
Jamie Cameron
b5438d5e74 Hack to make generate_location work, because it calls old-style UI functions 2015-08-28 22:35:12 -07:00
Jamie Cameron
ed4f4574e7 Merge branch 'master' of git@github.com:webmin/webmin 2015-08-28 22:22:20 -07:00
Jamie Cameron
9eea0dc202 Fix useless right alignments 2015-08-28 22:21:59 -07:00
Jamie Cameron
188aef4d97 Merge pull request #250 from qooob/patch-3
Add Edit word instead of OK
2015-08-28 22:20:01 -07:00
Jamie Cameron
12ca5b702e Merge pull request #251 from qooob/patch-4
Get rid of weird align=right
2015-08-28 14:18:49 -07:00
Ilia Rostovtsev
1669d55c67 Get rid of weird align=right
It's better to remove align=right from this and other files, like `edit_lserv.cgi`,`edit_lserv.cgi`,`edit_aserv.cgi`,`edit_vserv.cgi` as it makes the module look different in a bad way compare to ALL others.
2015-08-28 23:54:29 +03:00
Ilia Rostovtsev
4c9d6774aa Add Edit word instead of OK
To be the same over all modules it rather should be EDIT and not OK. Why not adding EDIT to the lang and use it? ;)
2015-08-28 23:49:46 +03:00
Jamie Cameron
28b906abb2 German translation updates from Raymond Vetter 2015-08-27 20:54:12 -07:00
Jamie Cameron
1e6fd5eb7c Merge pull request #248 from claudius23/sarg-argument-list
execute sarg with all logfiles as parameter
2015-08-27 16:18:51 -07:00
Jamie Cameron
155bf542f8 Show samba password last changed fields, thanks to Ralf Habacker 2015-08-26 22:31:29 -07:00
Jamie Cameron
c9f43f70d6 Hide old java-based module for new webmin versions 2015-08-26 22:27:55 -07:00
Jamie Cameron
3ec46a61db Record version of Webmin at first install http://virtualmin.com/node/37800 2015-08-26 22:05:32 -07:00
Jamie Cameron
e663dc10fd Merge branch 'master' of git@github.com:webmin/webmin 2015-08-26 21:48:28 -07:00
Jamie Cameron
2f9e91b9e1 Deal with case where no software package system was detected 2015-08-26 21:26:29 -07:00
Jamie Cameron
8509f841ba Merge pull request #249 from claudius23/new-sarg-reports
add missing sarg reports for topusers and downloads
2015-08-26 16:57:57 -07:00
Claudius
1138bff9e4 Sarg needs a list of logfiles to generate reports.
Executing sarg multiple times generate only reports from last log file.
2015-08-26 13:46:14 +02:00
Claudius
6461d8f245 add missing sarg reports topusers and downloads 2015-08-26 13:16:43 +02:00
Jamie Cameron
90bf845504 Merge branch 'master' of git@github.com:webmin/webmin 2015-08-25 19:59:48 -07:00
Jamie Cameron
0c348a754f Disable all old TLS versions by default for new installs https://sourceforge.net/p/webadmin/bugs/4590/ 2015-08-25 19:50:33 -07:00
Jamie Cameron
106607b967 Merge pull request #246 from claudius23/patch-2
Fix Hostname in edit_cache_host.cgi
2015-08-25 16:23:22 -07:00
Jamie Cameron
8f7acb24bf Add UI for changing session-IP stickyness option https://github.com/webmin/webmin/issues/244 2015-08-24 21:46:06 -07:00
Jamie Cameron
1dbe198aa3 Support config option to limit sessions to the original IP https://github.com/webmin/webmin/issues/244 2015-08-24 21:41:23 -07:00
Jamie Cameron
33247f4fab Deal with case where OS doesn't export network interfaces http://virtualmin.com/node/37770 2015-08-24 19:16:58 -07:00
Claudius Herder
8a28399cb4 Fix Hostname in edit_cache_host.cgi
$ch[0] is hostname, $ch[2] is proxy port.
2015-08-24 15:00:56 +02:00
Jamie Cameron
102047efa8 For packaging, just call it 'File Manager' 2015-08-20 22:53:15 -07:00
Jamie Cameron
fbc19a3d1a Rename to Java File Manager 2015-08-20 22:49:30 -07:00
Jamie Cameron
aae1c32030 New version bump 2015-08-19 22:17:39 -07:00
Jamie Cameron
0301c4751d Add support for a Must-Autoreply-Regexp header for autoreplies 2015-08-19 21:52:00 -07:00
Jamie Cameron
926f35e7e8 Use dsset- file to get DS record as a backup 2015-08-18 22:44:11 -07:00
Jamie Cameron
1d299ecd00 Port special case for Debian apache2 package to Webmin 2015-08-18 20:58:00 -07:00
Jamie Cameron
2a9e9e491f Use the systemctl command instead of service, which just redirects to it anyway http://virtualmin.com/node/37710 2015-08-16 13:56:34 -07:00
Jamie Cameron
fe39f816b3 Don't include distribution files that are part of the filemin repo 2015-08-15 12:22:07 -07:00
Jamie Cameron
473b72f98c If there are no views, don't set the ACL field that controls which views domains can be edited in https://sourceforge.net/p/webadmin/bugs/4628/ 2015-08-11 19:12:16 -07:00
Jamie Cameron
73498f60bb Restore may ask for a backup job https://sourceforge.net/p/webadmin/bugs/4580/ 2015-08-05 22:13:18 -07:00
Jamie Cameron
938965c9d2 The X-Spam-Flag header can be set to NO in some cases! 2015-08-04 23:43:35 -07:00
Jamie Cameron
64b3e7d792 Don't break the cache structure hash - instead file out invalid lines http://virtualmin.com/node/37706 2015-08-02 22:24:14 -07:00
Jamie Cameron
9cdeb188d8 Dev version bump 2015-08-02 15:41:45 -07:00
Jamie Cameron
2efc68fcdc Calling define on an array is deprecated 2015-08-02 15:40:44 -07:00
Jamie Cameron
0e68254f26 Include filemin in standard package, and remove some contributor-specific files 2015-08-02 15:39:11 -07:00
Jamie Cameron
4e9408b048 Clean up some formal parameters and code formatting 2015-08-02 14:53:21 -07:00
Jamie Cameron
0213ee0371 Add support for parsing FTP URLs to the http parser function 2015-08-02 14:36:22 -07:00
Jamie Cameron
f5ebb0a1cf No need to use POSIX when it is already included up the top 2015-08-02 13:32:52 -07:00
Jamie Cameron
9b12008cd1 Exclude some files in the filemin repo from packaging 2015-08-02 13:30:02 -07:00
Jamie Cameron
5db4f95687 Xinha requires use of eval 2015-08-02 13:00:45 -07:00
Jamie Cameron
6fe30eb104 Allow users to edit config manually by default https://github.com/webmin/webmin/issues/242 2015-08-01 11:45:50 -07:00
Jamie Cameron
1709426f3f Add icon for manually editing the squid config files https://github.com/webmin/webmin/issues/242 2015-07-31 16:15:42 -07:00
Jamie Cameron
838f90c8d7 A regular rename coe call can fail if it crosses filesystems, so try the mv command as well http://virtualmin.com/node/37524 2015-07-28 22:08:25 -07:00
Jamie Cameron
ef01659b5b Make cookie path settable https://github.com/webmin/webmin/issues/240 2015-07-27 22:29:41 -07:00
Jamie Cameron
dc3099abe8 Skip github doc files 2015-07-26 21:22:45 -07:00
Jamie Cameron
fc098eaa15 Update DNSn lines on redhat systems https://github.com/webmin/webmin/issues/238 2015-07-26 13:51:54 -07:00
Jamie Cameron
17747f5e6a Prefer the dnf command to yum 2015-07-26 13:14:53 -07:00
Jamie Cameron
8cb9515e0b Re-factor code for OS-specific DNS configs https://github.com/webmin/webmin/issues/238 2015-07-26 13:13:08 -07:00
Jamie Cameron
1faed086a6 Prefer dnf command if installed 2015-07-26 07:38:52 -07:00
Jamie Cameron
121f5afa5e German translation updates from Raymond Vetter 2015-07-21 17:31:15 -07:00
Jamie Cameron
a058b34461 Prevent duplicate listen address http://virtualmin.com/node/37609 2015-07-19 13:18:53 -07:00
Jamie Cameron
e39e25f637 The inet word can appear before proto http://virtualmin.com/node/36645 2015-07-14 18:23:16 -07:00
Jamie Cameron
96bf8e0429 Catalan update from Jaume Badiella 2015-07-13 19:17:31 -07:00
Jamie Cameron
a5db48b268 Catalan update from Jaume Badiella 2015-07-13 19:17:03 -07:00
Jamie Cameron
4cf90d07ac The mppe-stateful directive doesn't have a require- prefix http://sourceforge.net/p/webadmin/bugs/4625/ 2015-07-11 18:59:09 -07:00
Jamie Cameron
f7a864b15e SuSE 13 renames the init script to cifs 2015-07-11 17:38:42 -07:00
Jamie Cameron
bd1fb03888 Remove useless version check 2015-07-10 22:50:01 -07:00
Jamie Cameron
d48b4c0432 Merge branch 'master' of git@github.com:webmin/webmin 2015-07-10 18:31:07 -07:00
Jamie Cameron
9e37f09bea Option is actually children, not concurrency 2015-07-10 18:28:01 -07:00
Jamie Cameron
b077a832b5 Merge pull request #229 from kkprince1998/cld-src
add child-src
2015-07-08 13:00:04 -07:00
Kaiden Prince
f6e7b851d2 add child-src
frame-src is now depreciated, added child-src for compatibility for new browsers.
2015-07-08 15:40:36 -04:00
Jamie Cameron
cd40658ada Merge branch 'master' of git@github.com:webmin/webmin 2015-07-05 23:18:19 -07:00
Jamie Cameron
fcc9677c89 Support DNF over YUM if installed https://github.com/webmin/webmin/issues/226 2015-07-05 22:40:52 -07:00
Jamie Cameron
c6fa750dc8 Merge pull request #224 from claudius23/patch-1
Update sarg-lib.pl
2015-07-02 09:32:41 -07:00
Claudius Herder
39ae4107f2 Update sarg-lib.pl
execute sarg with configured sarg.conf file
2015-07-02 17:57:57 +02:00
Jamie Cameron
250a3f7ce6 Fix permission grant for zones in a view https://sourceforge.net/p/webadmin/bugs/4621/ 2015-07-01 22:56:26 -07:00
Jamie Cameron
e9e453cc2d Updating the ssl_cipher and ssl_type at the same time can leave ssl_type empty, so do them separately https://sourceforge.net/p/webadmin/bugs/4622/ 2015-06-29 21:21:51 -07:00
Jamie Cameron
6efc7363b8 Fix typo 2015-06-29 20:50:33 -07:00
Jamie Cameron
a45f60a969 Allow callers to skip creation of mbox index files 2015-06-28 12:45:42 -07:00
Jamie Cameron
3615770fbe Move modules cache to /var/webmin 2015-06-27 20:37:29 -07:00
Jamie Cameron
9ccf4fd7df Prevent perl warning 2015-06-27 20:32:00 -07:00
Jamie Cameron
c89225bd68 By default zones in all views can be edited 2015-06-27 20:23:09 -07:00
Jamie Cameron
7e5556f530 Permissions fixes 2015-06-27 20:22:41 -07:00
Jamie Cameron
f8c8487ac3 Contributed Russian translations 2015-06-27 20:19:20 -07:00
Jamie Cameron
cae261ed84 Use /var/webmin for all read status DBMs 2015-06-27 20:19:00 -07:00
Jamie Cameron
aabd5f7a4f Use /var/webmin for the maildir cache directory 2015-06-27 17:44:47 -07:00
Jamie Cameron
77795a6c40 Use /var/webmin for index files if there aren't already in /etc/webmin 2015-06-27 17:37:22 -07:00
Jamie Cameron
3673c08687 Move logic for finding IMAP cache dir into a separate function, which respects /var/webmin 2015-06-27 17:36:50 -07:00
Jamie Cameron
97b71af97c Use /var/webmin for temp files 2015-06-27 16:14:38 -07:00
Jamie Cameron
a623f44b84 Use /var/webmin for temp files 2015-06-27 16:02:28 -07:00
Jamie Cameron
39a4574aae Use /var/webmin for temp files 2015-06-27 15:58:21 -07:00
Jamie Cameron
ccc5f260c4 Use /var/webmin for cache files 2015-06-27 15:51:59 -07:00
Jamie Cameron
83400e5edc Disallow an upgrade from the tar.gz if portage is in use http://sourceforge.net/p/webadmin/bugs/4619 2015-06-26 09:57:34 -07:00
Jamie Cameron
02ae0fc5ae changelog for /var move 2015-06-25 23:05:29 -07:00
Jamie Cameron
47694dac77 Use new cache dir under /var unless /etc/webmin is already in use 2015-06-25 23:02:13 -07:00
Jamie Cameron
ea6e798b0e Use new var directory for new installs 2015-06-25 09:45:09 -07:00
Jamie Cameron
16204e7dcd Create new per-module var directoiry 2015-06-25 09:44:24 -07:00
Jamie Cameron
efa9057d30 German translation updates from Raymond Vetter 2015-06-23 18:11:07 -07:00
Jamie Cameron
c11deb3936 Move manual edit link into above and below the table 2015-06-22 21:21:13 -07:00
Jamie Cameron
d5e23a92e5 Search and prioritize webmin docs 2015-06-21 22:56:54 -07:00
Jamie Cameron
d195ccbbf2 Show a more useful error if no package or update system was found https://sourceforge.net/p/webadmin/bugs/4615/ 2015-06-20 22:43:45 -07:00
Jamie Cameron
61322d3ccb German translation updates from Raymond Vetter 2015-06-20 16:00:17 -07:00
Jamie Cameron
2d6bec06dc German translation updates from Raymond Vetter 2015-06-20 16:00:16 -07:00
Jamie Cameron
3430c74fe2 New version bump 2015-06-20 10:31:56 -07:00
Jamie Cameron
16949927d6 Remove dupe string 2015-06-20 10:30:26 -07:00
Jamie Cameron
a8cf0a8e78 Fix missing var 2015-06-19 17:10:02 -07:00
Jamie Cameron
3d5802bcaf Fix missing var 2015-06-19 17:09:06 -07:00
Jamie Cameron
fa3a61c5a7 CLean up todo notes 2015-06-19 16:59:48 -07:00
Jamie Cameron
5d55867393 Completed ACL option to control allowed views for zones: 2015-06-19 16:18:22 -07:00
Jamie Cameron
81f657fa15 UI for selecting views the user can edit domains in 2015-06-18 17:41:36 -07:00
Jamie Cameron
41b8d4da9a changes for 1.750 2015-06-18 13:10:42 -07:00
Jamie Cameron
450264d182 Button to make a zone the default 2015-06-17 20:29:17 -07:00
Jamie Cameron
be4da986ec Use perl to filter out unwanted tables, as _ is a special character in SQL likes https://sourceforge.net/p/webadmin/bugs/4614/ 2015-06-17 19:55:13 -07:00
Jamie Cameron
98c2a76499 German translation updates from Raymond Vetter 2015-06-15 15:53:53 -07:00
Jamie Cameron
f1e2287b3a German translation updates from Raymond Vetter 2015-06-15 15:53:49 -07:00
Jamie Cameron
dfdacb3a26 Finished off zone creation 2015-06-14 19:17:58 -07:00
Jamie Cameron
9924f44c05 Button and script to delete a zone 2015-06-14 19:11:14 -07:00
Jamie Cameron
d055e86901 Form for adding a zone 2015-06-14 17:01:42 -07:00
Jamie Cameron
d9d94fd394 Use the new open-ports command 2015-06-14 16:01:32 -07:00
Jamie Cameron
d35cffade9 Add script to open ports on the command line 2015-06-14 14:23:40 -07:00
Jamie Cameron
cd6939bf8a Detect if firewalld is in use 2015-06-14 13:53:23 -07:00
Jamie Cameron
5672b61358 Script to update zone interfaces 2015-06-14 11:13:34 -07:00
Jamie Cameron
8b564f10e3 German translation updates from Raymond Vetter 2015-06-14 10:39:44 -07:00
Jamie Cameron
39b80ee1ec Function for updating a zone's interface 2015-06-13 17:22:10 -07:00
Jamie Cameron
7e1b9071e1 Logging script 2015-06-13 15:41:19 -07:00
Jamie Cameron
7930a03763 Show interfaces for zone 2015-06-12 20:42:06 -07:00
Jamie Cameron
ae23abc827 German translation updates from Raymond Vetter 2015-06-12 19:50:18 -07:00
Jamie Cameron
f71283ae40 Sometimes the ip command is used to add extra addresses http://virtualmin.com/node/37237 2015-06-10 23:00:50 -07:00
Jamie Cameron
0832cd40a1 Address and netmask could be on the same line http://virtualmin.com/node/37237 2015-06-10 22:57:25 -07:00
Jamie Cameron
aa4532ff1b Start and stop scripts 2015-06-09 22:55:11 -07:00
Jamie Cameron
adecd320f5 initial module changelog 2015-06-09 22:34:27 -07:00
Jamie Cameron
8ec0c144d2 Prepare module for inclusion in standard distribution 2015-06-09 22:32:37 -07:00
Jamie Cameron
b2620accf8 German translation updates from Raymond Vetter 2015-06-09 20:24:43 -07:00
Jamie Cameron
f2d77a7bee Button to apply saved rules 2015-06-08 22:50:34 -07:00
Jamie Cameron
f4bb5a843a CGI to delete firewalld rules 2015-06-08 22:38:01 -07:00
Jamie Cameron
5090c85338 German translation updates from Raymond Vetter 2015-06-08 15:23:41 -07:00
Jamie Cameron
f145fb02cf Script to enable or diosable at boot 2015-06-07 23:10:21 -07:00
Jamie Cameron
cdc89c352a Add module usability check script 2015-06-07 23:02:04 -07:00
Jamie Cameron
4c537d0fd8 Firewall service creation 2015-06-07 22:57:40 -07:00
Jamie Cameron
95a4c2c956 German translation updates from Raymond Vetter 2015-06-07 18:40:51 -07:00
Jamie Cameron
1a4d536351 German translation updates from Raymond Vetter 2015-06-07 18:40:50 -07:00
Jamie Cameron
4e4f82713e Handle zones with no ports 2015-06-07 16:36:47 -07:00
Jamie Cameron
6434f896dc Merge branch 'master' of git@github.com:webmin/webmin 2015-06-07 16:35:26 -07:00
Jamie Cameron
4a3dfb308b Functions for service management 2015-06-07 16:34:08 -07:00
Jamie Cameron
cb2eb0c95d Merge pull request #222 from stuchy3/master
Czech language update
2015-06-07 10:54:10 -07:00
Jan Štourač
b134e9e0d7 Added Czech translation for Gray framed theme 2015-06-07 13:33:48 +02:00
Jan Štourač
28b90e1b37 Added czech language for system-info 2015-06-07 13:24:21 +02:00
Jan Štourač
e9c0383a3c Czech language updated 2015-06-07 13:00:26 +02:00
Jamie Cameron
1118c2bb2f Scripts for saving, creating and deleting firewalld ports 2015-06-06 20:50:05 -07:00
Jamie Cameron
caea0eee60 Add refer checking to xmlrpc.cgi, while still allowing direct access 2015-06-06 10:26:37 -07:00
Jamie Cameron
573d39e146 Fix appending of version to package name https://github.com/webmin/webmin/issues/221 2015-06-06 10:16:03 -07:00
Jamie Cameron
3c41e0e816 Re-factor referer checking code to make it more readable 2015-06-06 07:19:24 -07:00
Jamie Cameron
eb950ff47d Generate new SHA2 key at install time 2015-06-05 20:48:34 -07:00
Jamie Cameron
c9bde07cfd API for listing services 2015-06-04 23:23:43 -07:00
Jamie Cameron
44a1b68426 UI for adding or editing a service 2015-06-04 23:23:15 -07:00
Jamie Cameron
d0ebb3783e Catalan update from Jaume Badiella 2015-06-04 19:29:32 -07:00
Jamie Cameron
f8a9353408 Catalan update from Jaume Badiella 2015-06-04 19:29:18 -07:00
Jamie Cameron
0eae027dbc German translation updates from Raymond Vetter 2015-06-04 19:27:08 -07:00
Jamie Cameron
278ec5cd76 Firewalld edit port page 2015-06-02 21:52:44 -07:00
Jamie Cameron
a6a20642fb Don't autoreply to spam https://sourceforge.net/p/webadmin/usermin-bugs/440/ 2015-06-02 19:48:26 -07:00
Jamie Cameron
7efe201a27 German translation updates from Raymond Vetter 2015-06-02 19:40:23 -07:00
Jamie Cameron
39bb0a681c No need to check deps on an upgrade 2015-06-01 22:55:01 -07:00
Jamie Cameron
2d896443eb Show zones and rules on the first page 2015-06-01 22:54:21 -07:00
Jamie Cameron
a6d1f74f1f German translation updates from Raymond Vetter 2015-05-31 14:12:32 -07:00
Jamie Cameron
8ab1cc4abc skeleton of firewalld module 2015-05-31 10:20:27 -07:00
Jamie Cameron
269bc80ec3 Postfix mail queue function can call error https://github.com/webmin/webmin/issues/218 2015-05-31 09:37:36 -07:00
Jamie Cameron
9871556169 remove un-necessary ports from link https://github.com/webmin/webmin/issues/217 2015-05-31 09:21:51 -07:00
Jamie Cameron
e3ef1b9fce Merge branch 'master' of git@github.com:webmin/webmin 2015-05-30 16:43:53 -07:00
Jamie Cameron
ad9bc2701d Also wrap icons in a div for use by authentic theme https://github.com/webmin/webmin/pull/216 2015-05-30 16:43:39 -07:00
Jamie Cameron
2468ea1001 Merge pull request #216 from qooob/patch-1
Important addition to make icons work with Authentic Theme
2015-05-30 16:41:55 -07:00
Ilia Rostovtsev
cef1b1332a Important addition to make icons work with Authentic Theme
Jamie, ok! It's very complicated to make things work in all possible situations. At the moment it doesn't work as in 90% of cases the certain rules are used. Those are that container for `&generate_icon` should be `<div class="row icons-row></div>`. In case it's done in funky way like in this module, I add extra class `inline-row` to make things work. For example, latest update 13.03 does great with style, that is used in Webmin Servers Index module. You can test it. Try using right mouse clicks for selects.

I strongly recommend, to try to recall all funky ways of using `&generate_icon` like in this module and add  `<div class="row icons-row></div>` wrapper.

It will not affect neither your nor Joe's themes.

Thanks!
2015-05-30 22:01:15 +03:00
Jamie Cameron
ed11ba25c6 fix expansion of IP range https://sourceforge.net/p/webadmin/bugs/4606/ 2015-05-29 17:26:07 -07:00
Jamie Cameron
efae515c1f Russian translations from 2015-05-28 22:13:17 -07:00
Jamie Cameron
a4412fcbe8 Handle case where no skip list is given https://sourceforge.net/p/webadmin/bugs/4609/ 2015-05-28 20:09:20 -07:00
Jamie Cameron
eba13b74c9 German translation updates from Raymond Vetter 2015-05-27 21:46:52 -07:00
Jamie Cameron
3548188c38 Mysqldump can print warnings even if it doesn't fail http://virtualmin.com/node/37195 2015-05-27 19:56:56 -07:00
Jamie Cameron
36968f5362 Add options to disable TLS 1.0, 1.1 and 1.2 in Usermin too https://sourceforge.net/p/webadmin/bugs/4590/ 2015-05-26 21:20:50 -07:00
Jamie Cameron
2b77e8f020 Add options to disable TLS 1.0, 1.1 and 1.2 https://sourceforge.net/p/webadmin/bugs/4590/ 2015-05-26 21:06:06 -07:00
Jamie Cameron
700b4f696e No / is needed 2015-05-26 18:04:01 -07:00
Jamie Cameron
bb24d89ddb Force through the upgrade even if there are missing dependencies 2015-05-25 14:39:44 -07:00
Jamie Cameron
f0c0efb411 Show a nicer message if no entries were found in /etc/inittab https://github.com/webmin/webmin/issues/211 2015-05-23 07:30:44 -07:00
Jamie Cameron
ea7d904d90 If the runlevel couldn't be detected any other way, assume 3 http://virtualmin.com/node/37100 2015-05-22 13:52:34 -07:00
Jamie Cameron
deed37b482 Chrome 43 throws and exception on this line https://github.com/webmin/webmin/issues/210 2015-05-21 17:30:07 -07:00
Jamie Cameron
5cd13920a8 Fix selection of current shared network https://sourceforge.net/p/webadmin/bugs/4601/ 2015-05-20 20:57:59 -07:00
Jamie Cameron
8227e56084 Tell boot systems like systemd that webmin's start script forks into the background 2015-05-19 21:57:20 -07:00
Jamie Cameron
57efdd9a28 use common function 2015-05-18 20:30:25 -07:00
Jamie Cameron
b36d0f955c Don't offer to upgrade when using bukkit 2015-05-18 20:29:46 -07:00
Jamie Cameron
5e5f6cd916 Re-factor jar getting code 2015-05-18 20:16:27 -07:00
Jamie Cameron
4e81ecb659 German translation updates from Raymond Vetter 2015-05-13 21:43:02 -07:00
Jamie Cameron
88679cff5a Fix perl warning https://github.com/webmin/webmin/issues/207 2015-05-12 14:42:15 -07:00
Jamie Cameron
a6901947c2 New version bump 2015-05-10 13:42:47 -07:00
Jamie Cameron
8912154c0b New Postfix version 2015-05-10 13:40:53 -07:00
Jamie Cameron
6b34d179bb changelog for pkgsrc support 2015-05-10 11:00:48 -07:00
Jamie Cameron
bb2f091a17 pkgsrc has no local install mode 2015-05-10 10:50:47 -07:00
Jamie Cameron
dfd337009f Translation function for pkgsrc package names 2015-05-10 10:41:07 -07:00
Jamie Cameron
554cba6eba MacOS is supported now, with pkgsrc 2015-05-10 10:28:46 -07:00
Jamie Cameron
9d3e0e85ba Correct version and description display for packages not installed yet 2015-05-10 10:25:29 -07:00
Jamie Cameron
7d670cc449 More work on MacOS pkgsrc support 2015-05-10 09:57:25 -07:00
Jamie Cameron
0cc0a893a2 Get list of files in a package on MacOS 2015-05-09 21:55:38 -07:00
Jamie Cameron
b7190b1927 Start of work on pkgsrc support 2015-05-09 15:36:55 -07:00
Jamie Cameron
68890d8f2b Remove from the distribution modules for ancient software 2015-05-07 16:50:00 -07:00
Jamie Cameron
03f4c9fd56 Dev version bump 2015-05-05 19:55:50 -07:00
Jamie Cameron
c813b1c068 Allow multiple comma-separated IPs 2015-05-05 18:42:38 -07:00
Jamie Cameron
aafb66e45c changelog for launchd support 2015-05-03 10:23:05 -07:00
Jamie Cameron
8f0d32b764 More changes needed to support launchd 2015-05-03 10:14:03 -07:00
Jamie Cameron
62bf3b6cd4 Change the usermin boot script slightly to work with launchd 2015-05-03 10:10:20 -07:00
Jamie Cameron
58a454dc23 Change the webmin boot script slightly to work with launchd 2015-05-03 10:08:10 -07:00
Jamie Cameron
5a74498b87 Mailcap module needs to access the user's config 2015-05-03 10:07:21 -07:00
Jamie Cameron
ac238e37d1 More work on launchd support for MacOS X 2015-05-02 15:33:36 -07:00
Jamie Cameron
9e4269ebae Add command line option to not fork 2015-05-02 15:09:53 -07:00
Jamie Cameron
dfb0db593d New Debian versions 2015-04-29 19:52:55 -07:00
Jamie Cameron
79e2bf69b4 Show at-boot setting 2015-04-28 21:34:52 -07:00
Jamie Cameron
c153fae3d8 Suppress warnings when gpg doesn't output anything http://virtualmin.com/node/36979 2015-04-28 20:57:18 -07:00
Jamie Cameron
c1105d0ac5 Add support for deleting launchd agents 2015-04-26 17:22:38 -07:00
Jamie Cameron
fdffa9ee42 Use consistent comment type 2015-04-26 16:52:34 -07:00
Jamie Cameron
cb008888bf Launchd action creation now working 2015-04-26 16:30:27 -07:00
Jamie Cameron
86ce05ec3b UI for adding a launchd agent 2015-04-26 15:35:31 -07:00
Jamie Cameron
a42fbc5bd0 Param for MAC address is actually hwaddress https://sourceforge.net/p/webadmin/bugs/4589/ 2015-04-26 15:28:09 -07:00
Jamie Cameron
441b9f1502 Show detailed CPU information on MacOS 2015-04-26 10:19:09 -07:00
Jamie Cameron
1e0100b424 Show memory usage in bytes too 2015-04-26 10:03:05 -07:00
Jamie Cameron
288a377e71 Collect RAM and swap usage on macos 2015-04-26 09:50:50 -07:00
Jamie Cameron
12e2aecbda Give credit for translations 2015-04-26 09:23:44 -07:00
Jamie Cameron
2d83ca6cdf Catalan update from Jaume Badiella 2015-04-26 09:23:16 -07:00
Jamie Cameron
f498f36bef Catalan update from Jaume Badiella 2015-04-26 09:23:04 -07:00
Jamie Cameron
2eb957fc04 German translation updates from Raymond Vetter 2015-04-26 09:21:06 -07:00
Jamie Cameron
9cff0de208 Correct function's documented return type 2015-04-25 22:00:29 -07:00
Jamie Cameron
4b2ba48e58 Work on launchd support 2015-04-25 22:00:07 -07:00
Jamie Cameron
d47ee41c32 Fix remote host to run command on after failure in the case where there are multiple hosts http://virtualmin.com/node/36948 2015-04-25 21:54:38 -07:00
Jamie Cameron
22f3d49e5c Show password DB type 2015-04-25 15:02:00 -07:00
Jamie Cameron
a10dd02a49 New Mint versions 2015-04-23 17:03:37 -07:00
Jamie Cameron
52196635a3 Use reload command by default to avoid cache re-read https://sourceforge.net/p/webadmin/bugs/4588/ 2015-04-21 14:52:10 -07:00
Jamie Cameron
59efd239ea Devel version bump 2015-04-17 12:39:51 -07:00
Jamie Cameron
1a1deef64a UNit names can have spaces or funny characters at the start 2015-04-16 19:04:25 -07:00
Jamie Cameron
132ea695bc UNit names can have spaces or funny characters at the start 2015-04-16 19:03:50 -07:00
Jamie Cameron
743d0d59ad Multi-part TXT records are not automatically joined by a space, so when creating an SPF record this has to be explicitly added 2015-04-15 21:19:52 -07:00
Jamie Cameron
7162dbaa8e Detect more IPsec variants 2015-04-15 18:47:25 -07:00
Jamie Cameron
c378e60ec7 Show process sizes using sensible units https://github.com/webmin/webmin/issues/202 2015-04-13 22:34:02 -07:00
Jamie Cameron
9612e05536 give credit for norwegian 2015-04-10 22:31:09 -07:00
Jamie Cameron
f38442bbae Sort users by login 2015-04-08 17:18:22 -07:00
Jamie Cameron
cf0ddafbe0 German translation updates from Raymond Vetter 2015-04-07 20:31:04 -07:00
Jamie Cameron
1727c9917d German translation updates from Raymond Vetter 2015-04-07 20:30:57 -07:00
Jamie Cameron
18d16d7639 Don't append the architecture un-necessarily, as this breaks upgrades that change it http://virtualmin.com/node/36740 2015-04-05 16:19:53 -07:00
Jamie Cameron
3d20f8c56e Jails can apparently have no actions http://virtualmin.com/node/36768 2015-04-05 14:45:13 -07:00
Jamie Cameron
d4264be5fd A max tick time of -1 means unlimited 2015-04-05 12:05:32 -07:00
Jamie Cameron
6d553a10ad Allow max ticks time to be edited 2015-04-05 12:02:40 -07:00
Jamie Cameron
5f4180cf13 Update docs to modern day 2015-04-02 21:08:27 -07:00
Jamie Cameron
4aedfdb006 Update docs to modern day 2015-04-02 21:07:28 -07:00
Jamie Cameron
a3658ff653 fix wording 2015-04-02 20:59:39 -07:00
Jamie Cameron
d040242a7e Also use yum updateinfo to get security updates 2015-04-02 19:12:50 -07:00
Jamie Cameron
019e5e15e6 Semicolon can be a comment character too 2015-04-02 16:57:38 -07:00
Jamie Cameron
2a8797c49c Merge pull request #199 from tandrup/httpOnly-cookies
Add httpOnly to cookies on login page. Solves #4565.
2015-04-01 21:03:44 -07:00
Jamie Cameron
ab1095e529 Disallow TRACE requests, which we don't even support 2015-04-01 16:54:38 -07:00
Mads Mætzke Tandrup
30168f57bb Add httpOnly to cookies on login page. Solves #4565.
Add httpOnly to pam_login and session_login to avoid security scans reporting false positives on cookies without httpOnly
2015-04-01 14:37:02 +02:00
Jamie Cameron
0a2eb1d520 --to-source can be followed by just a :port 2015-03-29 21:47:13 -07:00
Jamie Cameron
ec4f05ec5f Use correct permissions for MH format too 2015-03-29 18:09:18 -07:00
Jamie Cameron
7a9b4d0b2b Use correct permissions when moving email between users http://virtualmin.com/node/36696 2015-03-29 18:07:40 -07:00
Jamie Cameron
b7b6624ee8 Fix escaping of % in commands http://virtualmin.com/node/36673 2015-03-27 15:06:42 -07:00
Jamie Cameron
f455c24054 Make Net::SSLeay mandatory 2015-03-26 20:30:52 -07:00
Jamie Cameron
ee94c220da German translation updates from Raymond Vetter 2015-03-26 20:30:08 -07:00
Jamie Cameron
615f97f47e German translation updates from Raymond Vetter 2015-03-26 20:29:51 -07:00
Jamie Cameron
1ef26769b6 IPfilter live output can contain inet before 'from' http://virtualmin.com/node/36645 2015-03-26 17:22:29 -07:00
Jamie Cameron
04ed6406e7 Add separate command before/after blacklist refresh http://virtualmin.com/node/36643 2015-03-25 23:10:09 -07:00
Jamie Cameron
882dcb7384 Don't wrap regexps unexpectedly http://virtualmin.com/node/36656 2015-03-25 10:26:33 -07:00
Jamie Cameron
f29f13f817 Fix enabling of command block 2015-03-24 20:23:25 -07:00
Jamie Cameron
0a8abc529b German translation updates from Raymond Vetter 2015-03-23 20:22:53 -07:00
Jamie Cameron
72e2faa5b6 Dev version bump 2015-03-21 20:17:35 -07:00
Jamie Cameron
8291e1c98d Under NSLCD, scope and filter are separate directives 2015-03-21 20:09:06 -07:00
Jamie Cameron
df3fa20d6f Add button to restart LDAP client daemon, which is needed to apply settings 2015-03-21 18:01:08 -07:00
Jamie Cameron
4f532659b3 changelog for ldap fixes 2015-03-21 17:20:42 -07:00
Jamie Cameron
e1f086944d Permissions fix 2015-03-21 17:17:53 -07:00
Jamie Cameron
a13bce59e3 Fixes needed for CentOS 7 support 2015-03-21 17:17:39 -07:00
Jamie Cameron
ad46361cb0 for systemd services, the name may have .service appended 2015-03-21 17:11:19 -07:00
Jamie Cameron
fd5f09a816 Add Net::SSLeay as optional dependency to the Webmin RPM 2015-03-21 16:44:51 -07:00
Jamie Cameron
c38570cb9d In some cases, RPM mamay not list the file in the rpm --dump output if there are multiple hard links to it 2015-03-21 13:39:33 -07:00
Jamie Cameron
324732d948 Norwegian update from Stein-Aksel Basma 2015-03-20 15:45:13 -07:00
Jamie Cameron
78c5892c6a Handle different format for base directive in NSLCD http://virtualmin.com/node/36531 2015-03-18 21:53:55 -07:00
Jamie Cameron
a1e74e6659 Deal with long user/group names by requesting UIDs instead 2015-03-17 22:34:15 -07:00
Jamie Cameron
4caa56aa80 Deal with long user/group names by requesting UIDs instead 2015-03-17 22:33:31 -07:00
Jamie Cameron
95c494d9fc Handle un-formatted MAC addresses 2015-03-16 19:01:14 -07:00
Jamie Cameron
2dd92dc2b7 Allow default match mode to be configured 2015-03-16 18:59:29 -07:00
Jamie Cameron
f5580c4046 Exclude release scripts from modules 2015-03-15 11:49:39 -07:00
Jamie Cameron
cefecfb173 Don't modify a list that is being iterated over 2015-03-13 16:41:34 -07:00
Jamie Cameron
181d92ff48 New version bump 2015-03-12 17:32:01 -07:00
Jamie Cameron
d27a31e2d6 Fix dupe string 2015-03-12 17:30:19 -07:00
Jamie Cameron
c07bd9ca04 New windows versions 2015-03-12 17:08:01 -07:00
Jamie Cameron
ce5a1484fe give credit for catalan update 2015-03-10 23:27:18 -07:00
Jamie Cameron
22cb340cb3 More catalana 2015-03-10 23:25:05 -07:00
Jamie Cameron
f27cad3665 Catalan update from Jaume Badiella 2015-03-10 23:23:00 -07:00
Jamie Cameron
701795dc51 Catalan update from Jaume Badiella 2015-03-10 23:22:43 -07:00
Jamie Cameron
1cf1cf12f4 Allow Squid 3.5 https://sourceforge.net/p/webadmin/bugs/4573/ 2015-03-10 23:00:18 -07:00
Jamie Cameron
6790c03792 Filename is not a username 2015-03-10 16:59:21 -07:00
Jamie Cameron
8f38cdac33 Users can actually have numeric names 2015-03-10 16:58:23 -07:00
Jamie Cameron
3a833870ff Fix spelling error 2015-03-08 21:52:19 -07:00
Jamie Cameron
723e5fd0ad Skip packages inside module or theme directores 2015-03-08 12:27:30 -07:00
Jamie Cameron
63132ded2a New dev version bump 2015-03-06 10:42:28 -08:00
Jamie Cameron
968456b408 Include authentic theme 2015-03-05 14:27:13 -08:00
Jamie Cameron
3f53a503db Make the upload tracker a bit larger https://github.com/webmin/webmin/issues/196 2015-03-05 10:17:37 -08:00
Jamie Cameron
31ad58fda8 Use a single line break instead of <p> 2015-03-05 09:31:28 -08:00
Jamie Cameron
005873dcd9 Handle un-readable DBM format files http://virtualmin.com/node/36386 2015-03-04 14:12:29 -08:00
Jamie Cameron
18fdc2a9ba Take summary of disk usage out of header 2015-03-04 14:02:54 -08:00
Jamie Cameron
e11ef0ed93 Don't un-comment or use cace_dir entries that are not paths https://sourceforge.net/p/webadmin/bugs/4523/ 2015-03-04 11:25:54 -08:00
Jamie Cameron
b33a605699 German translation updates from Raymond Vetter 2015-03-02 15:09:34 -08:00
Jamie Cameron
bab827542b Don't use modifiers that don't look valid 2015-02-28 16:15:37 -08:00
Jamie Cameron
ea838d0500 Respect modifiers when generating records https://sourceforge.net/p/webadmin/bugs/4566/ 2015-02-28 16:13:11 -08:00
Jamie Cameron
975e7ad13f Allow saving of generators with modifiers https://sourceforge.net/p/webadmin/bugs/4566/ 2015-02-28 16:03:09 -08:00
Jamie Cameron
34e9b20324 German translation updates from Raymond Vetter 2015-02-28 10:17:42 -08:00
Jamie Cameron
7d42268b80 Properly pass through the referrer header http://virtualmin.com/node/36327 2015-02-27 18:20:18 -08:00
Jamie Cameron
64d1e8f4b4 The output from yum list-sec doesn't always contain the word security 2015-02-26 21:30:09 -08:00
Jamie Cameron
d40b907ad2 Update message to better reflect actual UI http://virtualmin.com/node/36326 2015-02-26 10:56:29 -08:00
Jamie Cameron
e30670bb2e German translation updates from Raymond Vetter 2015-02-25 17:05:41 -08:00
Jamie Cameron
3115b17fa1 Add MostlyLinux support 2015-02-24 16:13:52 -08:00
Jamie Cameron
d3242017bc German translation updates from Raymond Vetter 2015-02-24 14:29:40 -08:00
Jamie Cameron
aeb98e9d77 Merge pull request #192 from bradleykite/master
Allow "transfer-source" to be specified so slave zones within the views ...
2015-02-23 14:28:33 -08:00
Bradley Kite
118f705eb4 Allow "transfer-source" to be specified so slave zones within the views can match the correct view on the master. 2015-02-23 11:06:41 +00:00
Jamie Cameron
f302357943 Allow use of status description in custom email https://sourceforge.net/p/webadmin/bugs/4561/ 2015-02-22 14:37:02 -08:00
Jamie Cameron
a81c833462 German translation updates from Raymond Vetter 2015-02-22 13:18:56 -08:00
Jamie Cameron
d5f2981d02 When looking for the default lib.pl in a clone, the name should be based on the original module 2015-02-21 22:03:06 -08:00
Jamie Cameron
8ed9a84180 Allow module-level vetoing 2015-02-21 09:30:08 -08:00
Jamie Cameron
14af860ed5 Handle case where devices directory doesn't exist, due to remove of Network Manager 2015-02-20 21:56:53 -08:00
Jamie Cameron
dbd29ec126 If a slave zone is in binary format, convert it to text when it becomes a master http://virtualmin.com/node/36245 2015-02-20 16:58:22 -08:00
Jamie Cameron
3fcb565086 German translation updates from Raymond Vetter 2015-02-19 21:31:06 -08:00
Jamie Cameron
c7789ce801 Fix bug that prevents sending email if a single DB backup fails http://virtualmin.com/node/33129 2015-02-19 17:46:43 -08:00
Jamie Cameron
79d3d04fc3 Fix passing of miniserv config https://sourceforge.net/p/webadmin/bugs/4560/ 2015-02-19 10:20:11 -08:00
Jamie Cameron
ad5a6c9688 Fix inconsistency 2015-02-18 22:44:31 -08:00
Jamie Cameron
80a428e0e6 German translation updates from Raymond Vetter 2015-02-18 22:43:05 -08:00
Jamie Cameron
45cd9cf322 Installation into VMs is actually OK, as they can still have the non-hardware time set https://sourceforge.net/p/webadmin/bugs/4534/ 2015-02-18 21:42:49 -08:00
Jamie Cameron
7fd6e5f0ef Show full IMAP response if line cannot be parsed 2015-02-17 21:51:25 -08:00
Jamie Cameron
cf091c95e1 German translation updates from Raymond Vetter 2015-02-15 16:57:24 -08:00
Jamie Cameron
959b355848 Refresh package caches in all modules http://www.virtualmin.com/node/36084 2015-02-13 14:53:37 -08:00
Jamie Cameron
baf5d23a6f Don't use double header https://github.com/webmin/webmin/issues/189 2015-02-11 19:56:43 -08:00
Jamie Cameron
ec1353a720 icons_table function already prints https://sourceforge.net/p/webadmin/bugs/4492/ 2015-02-08 18:59:19 -08:00
Jamie Cameron
9938636224 Clarify param meaning 2015-02-08 10:35:53 -08:00
Jamie Cameron
ac8634bf75 Actually, the inet6 addr: format is only used by the ifconfig command 2015-02-08 10:34:49 -08:00
Jamie Cameron
5a8ae25d02 Handle different output format from ip addr command http://virtualmin.com/comment/edit/143915 2015-02-08 10:33:03 -08:00
Jamie Cameron
990e75724d Remove redundant fallback method http://virtualmin.com/node/36094 2015-02-08 10:30:22 -08:00
Jamie Cameron
8099d2b045 Bring functions for checking allowed IPs into sync http://virtualmin.com/node/36017 2015-02-06 14:34:36 -08:00
Jamie Cameron
0ffdd6c842 German translation updates from Raymond Vetter 2015-02-04 22:03:10 -08:00
Jamie Cameron
61f55a1343 German translation updates from Raymond Vetter 2015-02-04 22:03:07 -08:00
Jamie Cameron
8297c3d42f Pass port flag to backup and restore commands http://virtualmin.com/node/36093 2015-02-03 19:34:41 -08:00
Jamie Cameron
c5c8f0d05f Fix IP matching function when dealing with partial networks http://virtualmin.com/node/36017 2015-02-03 15:31:57 -08:00
Jamie Cameron
a71bf42232 Bugfixes and custom port support 2015-02-02 19:50:27 -08:00
Jamie Cameron
6e873a172a Merge branch 'master' of git@github.com:webmin/webmin 2015-01-31 15:56:06 -08:00
Jamie Cameron
e4766eb2ba German translation updates from Raymond Vetter 2015-01-31 15:55:35 -08:00
Joe Cooper
1c2bdf0f0c Typo 2015-01-30 18:09:38 -06:00
Jamie Cameron
aef1cbbeab Deal with different ifconfig format 2015-01-29 21:20:49 -08:00
Jamie Cameron
dc9cb83946 Add delay before starting to placate systemd 2015-01-29 15:37:12 -08:00
Jamie Cameron
288c05d8f1 Deal with different output format as seen in BareOS 1.4 2015-01-27 21:52:22 -08:00
Jamie Cameron
2f34f1412d Don't link back to virtualmin for root 2015-01-26 20:27:48 -08:00
Jamie Cameron
99e1eda954 Stop setting un-needed var to diable ACL checking 2015-01-26 20:04:38 -08:00
Jamie Cameron
bae3f5e77b Skip ACL check for scripts that aren't run via the web 2015-01-26 20:02:14 -08:00
Jamie Cameron
ada457ed56 German translation updates from Raymond Vetter 2015-01-25 10:24:10 -08:00
Jamie Cameron
f9a2d37e08 Add empty en_GB file at top level, so that .UTF-8 variant gets created 2015-01-24 21:14:49 -08:00
Jamie Cameron
c30ca90170 Show charset 2015-01-24 21:01:50 -08:00
Jamie Cameron
ceb1a57dd8 Don't wrap command in brackets if it already starts with them, as this can cause escaping problems with some shells 2015-01-23 17:20:09 -08:00
Jamie Cameron
cbeaed860b Allow restore of non-module files from the backup https://sourceforge.net/p/webadmin/bugs/4545/ 2015-01-23 16:12:45 -08:00
Jamie Cameron
9054e37d3a German translation updates from Raymond Vetter 2015-01-22 17:46:08 -08:00
Jamie Cameron
1925ba53c4 Handle some odd IP route setup seen on CentOS 7 http://virtualmin.com/node/35910 2015-01-22 08:16:47 -08:00
Jamie Cameron
998407be9a icon for new record type 2015-01-20 22:22:49 -08:00
Jamie Cameron
416ae2b62f icon for new record type 2015-01-20 22:18:06 -08:00
Jamie Cameron
1c38031703 icon for new record type 2015-01-20 22:17:38 -08:00
Jamie Cameron
6d5f109068 Use ; and space as DMARC separators 2015-01-19 17:45:29 -08:00
Jamie Cameron
d05c0c70f4 Fix typo 2015-01-19 16:31:20 -08:00
Jamie Cameron
14d8e45d4f Version bump for DMARC feature 2015-01-19 15:01:06 -08:00
Jamie Cameron
75518c5227 Fix theme name 2015-01-19 14:40:10 -08:00
Jamie Cameron
6b1a006ca1 Fix version 2015-01-19 14:30:04 -08:00
Jamie Cameron
5e68b937d7 Remove bad links 2015-01-19 14:29:28 -08:00
Jamie Cameron
d65ff9a623 Bring back the old blue theme, but with modern code 2015-01-19 14:24:12 -08:00
Jamie Cameron
a116a5e10f Apache 2.4 needs a Require all granted directive to allow access 2015-01-19 11:14:05 -08:00
Jamie Cameron
889d7d2ea0 Fixes for DMARC record editing 2015-01-18 22:39:39 -08:00
Jamie Cameron
754248f6af Support for editing DMARC records, similar to the way SPF is handled 2015-01-18 18:41:07 -08:00
Jamie Cameron
f3fba12703 Add ID for recollect button, so it can be vetod 2015-01-18 11:57:16 -08:00
Jamie Cameron
a71f333ff0 When overwriting a file via a temp file, keep the old permissions. Otherwise, let the umask apply 2015-01-17 23:31:28 -08:00
Jamie Cameron
8c80095878 000 is a valid umask 2015-01-17 23:15:50 -08:00
Jamie Cameron
dad6a7c3e9 Use correct permissions on source and dest folders when copying 2015-01-17 20:18:30 -08:00
Jamie Cameron
50991313bf German translation updates from Raymond Vetter 2015-01-17 15:52:47 -08:00
Jamie Cameron
6b4ec5b3f0 Use modern UI library 2015-01-17 12:03:51 -08:00
Jamie Cameron
88b73eaea4 Allow visible system info sections to be selected in the module ACL 2015-01-17 11:50:23 -08:00
Jamie Cameron
e263e49912 Ignore commented out cache paths that are actually just headings http://virtualmin.com/node/35881 2015-01-17 10:33:20 -08:00
Jamie Cameron
f8dfa52d92 Allow display of system temps in fahrenheit http://virtualmin.com/node/35875 2015-01-16 23:34:34 -08:00
Jamie Cameron
73cc25e127 Fix checking of server type 2015-01-13 18:51:03 -08:00
Jamie Cameron
07e9a01919 MYSQL_PASS can't be used when running as a different user if the user has a .my.cnf file https://www.virtualmin.com/node/35764 2015-01-13 15:58:34 -08:00
Jamie Cameron
04cc026a61 Document function 2015-01-13 15:42:29 -08:00
Jamie Cameron
17c63ef178 Put file handle into a package, so that all callers can use it 2015-01-12 16:37:06 -08:00
Jamie Cameron
51ca560718 Clear out SMTP SSL and port when connecting locally 2015-01-12 16:31:51 -08:00
Jamie Cameron
2c363c3238 German translation updates from Raymond Vetter 2015-01-12 15:50:47 -08:00
Jamie Cameron
12735f1c54 Fix checkbox image 2015-01-11 16:01:57 -08:00
Jamie Cameron
a87593651f Dev version bump 2015-01-11 14:05:12 -08:00
Jamie Cameron
5f54caa5a9 Support easier to use release flag 2015-01-11 10:03:25 -08:00
Jamie Cameron
89897579f5 Use named param 2015-01-11 10:03:15 -08:00
Jamie Cameron
3d18a1b9fd Add support for SSL encrypted SMTP connections 2015-01-11 10:03:02 -08:00
Jamie Cameron
b8073652fd Allow selection of SSL mode for sending email 2015-01-11 09:44:12 -08:00
Jamie Cameron
6cf9f5243c Make default more obvious 2015-01-11 09:34:31 -08:00
Jamie Cameron
5ea42f455e Use webprefix relative path 2015-01-10 20:24:27 -08:00
Jamie Cameron
34d891545e Add webprefix for CGI scripts 2015-01-10 20:22:11 -08:00
Jamie Cameron
0ef822606b Make notifications scarier 2015-01-10 16:16:05 -08:00
Jamie Cameron
69185c1df3 Use proper args in send_mail function 2015-01-09 18:25:54 -08:00
Jamie Cameron
64468f1afa Add webprefix back to links http://sourceforge.net/p/webadmin/bugs/4536 2015-01-09 15:24:42 -08:00
Jamie Cameron
84bb9e4d22 Show current theme even if it should be hidden 2015-01-09 15:13:34 -08:00
Jamie Cameron
3e1cf3c298 Hide themes that are just links 2015-01-09 15:12:17 -08:00
Jamie Cameron
43039ddc43 Explicitly login as root, rather than having mysql commands guess this based on the username 2015-01-09 12:49:46 -08:00
Jamie Cameron
5e2c23e0c2 When deleting from an mbox file, open the temp file with root permissions but only if it doesn't yet exist https://github.com/webmin/webmin/issues/184 2015-01-08 23:27:46 -08:00
Jamie Cameron
fd6b3b3529 Correct encoding on french translation http://virtualmin.com/node/35757 2015-01-08 21:46:15 -08:00
Jamie Cameron
c8f8f55f1b Add webprefix to top-frame links http://sourceforge.net/p/webadmin/bugs/4536 2015-01-08 17:44:06 -08:00
Jamie Cameron
39bf55a410 Fix collection of RAID errors 2015-01-08 17:24:58 -08:00
Jamie Cameron
807de6e9ce Hide password in FTP error message http://virtualmin.com/node/35772 2015-01-08 10:54:12 -08:00
Jamie Cameron
6a30643822 Show error message if some disks have failed, even if there is no failure status https://sourceforge.net/p/webadmin/bugs/4497/ 2015-01-07 17:26:54 -08:00
Jamie Cameron
9d84a6fdca Use correct GID function 2015-01-07 13:57:28 -08:00
Jamie Cameron
c8b4672cc8 Use UUIDs in mdadm.conf when creating new arrays, thanks to Caspar Smit 2015-01-06 16:43:49 -08:00
Jamie Cameron
65ee16aad9 Fix error message 2015-01-06 10:13:21 -08:00
Jamie Cameron
fe4758b8eb Add reload button, and change the reload_postfix function to return an error instead of showing it to the user 2015-01-05 15:26:49 -08:00
Jamie Cameron
49e05cbdfe Users are referred to by username now, not index https://sourceforge.net/p/webadmin/bugs/4532/ 2015-01-05 10:41:16 -08:00
Jamie Cameron
8d9a68461d Also recognize a passphrase prompt http://sourceforge.net/p/webadmin/bugs/4531 2015-01-05 10:33:53 -08:00
Jamie Cameron
3037f233ac Gray theme doesn't do the full left menu yet https://sourceforge.net/p/webadmin/usermin-bugs/431/ 2015-01-05 10:15:02 -08:00
Jamie Cameron
852b8d7576 Don't show invalid bar charts 2015-01-05 09:58:23 -08:00
Jamie Cameron
4d0befa26f Remove vars we never use 2015-01-04 23:03:24 -08:00
Jamie Cameron
d39b7875e9 Actually, let modules choose their preferred sort order 2015-01-04 22:53:46 -08:00
Jamie Cameron
5b8308c011 Ensure sub-category items are sorted 2015-01-04 22:43:38 -08:00
Jamie Cameron
c48e9412e2 Give credit for translations 2015-01-04 15:56:00 -08:00
Jamie Cameron
4f1226697e Norwegian update from Stein-Aksel Basma 2015-01-04 15:55:31 -08:00
Jamie Cameron
fb66b43c67 German translation updates from Raymond Vetter 2015-01-03 22:23:17 -08:00
Jamie Cameron
e3bbfdda7c Show critical module versions 2015-01-01 19:13:28 -08:00
Jamie Cameron
b7eb16fe3a German translation updates from Raymond Vetter 2015-01-01 18:22:50 -08:00
Jamie Cameron
10eb872ec5 Finally fix some long-standing perl warnings about undef strings 2014-12-30 23:19:14 -08:00
Jamie Cameron
95a2815ea6 Declare variable to prevent skipping of options on subsequent calls 2014-12-30 23:07:51 -08:00
Jamie Cameron
38e698aab9 Merge branch 'master' of git@github.com:webmin/webmin 2014-12-30 22:34:52 -08:00
Jamie Cameron
bea0787a10 If searching by file, only open diffs for matching files 2014-12-30 22:33:07 -08:00
Joe Cooper
8ae37f2c09 strict and warnings conversion. remove & from sub calls. 2014-12-30 19:34:55 -06:00
Jamie Cameron
44287db830 Logout link should go to top window 2014-12-30 17:08:11 -08:00
Jamie Cameron
591d8e1f01 Multiple modules may use the same ID 2014-12-30 14:35:41 -08:00
Jamie Cameron
e0c17bc26c Version bump 2014-12-29 22:49:59 -08:00
Jamie Cameron
90c3d79967 Merge branch 'master' of git@github.com:webmin/webmin 2014-12-29 22:37:37 -08:00
Jamie Cameron
c6d9112581 changelog for permissions fix 2014-12-29 22:36:42 -08:00
Joe Cooper
95bb656222 A few perlcritic fixes 2014-12-29 22:50:44 -06:00
Joe Cooper
431f55fd4c Fix image links, convert some local vars to my vars 2014-12-29 22:42:05 -06:00
Jamie Cameron
9a1b5a19d7 Fix function name typo 2014-12-29 13:56:45 -08:00
Jamie Cameron
8116d356cd Fix join warning by converting undefs to empty strings 2014-12-29 09:44:42 -08:00
Jamie Cameron
72235d84a4 Create array before using it 2014-12-28 21:37:03 -08:00
Jamie Cameron
77600ecbcf Add function to safely delete a file 2014-12-28 21:32:23 -08:00
Jamie Cameron
4fa0168437 Don't read a missing file, again 2014-12-28 21:29:15 -08:00
Jamie Cameron
53664157fc Don't read a missing file 2014-12-28 21:28:43 -08:00
Jamie Cameron
86fca5f20b Use correct permissions for folder moves 2014-12-28 17:27:27 -08:00
Jamie Cameron
3eb55ffee4 Remove debug message 2014-12-28 13:42:20 -08:00
Jamie Cameron
c031dfcb18 Allow nested calls to switch function, check perms when copying a folder 2014-12-27 20:26:48 -08:00
Jamie Cameron
cffb8971b3 Deal with modules that don't need a UI for the status monitor 2014-12-27 20:09:22 -08:00
Jamie Cameron
1323ae9191 Increase copy buffer size for more efficiency 2014-12-27 17:16:09 -08:00
Jamie Cameron
b4fa4db0d6 Update more functions to operate as the correct user 2014-12-27 16:40:37 -08:00
Jamie Cameron
200dae2390 Handle relative links to sites-available properly http://virtualmin.com/node/35658 2014-12-27 12:09:06 -08:00
Jamie Cameron
7bfd7ced5d Fix timeout of unkown session error 2014-12-27 11:11:44 -08:00
Jamie Cameron
f098a1a6f1 HTML escape OS and version 2014-12-25 18:17:50 -08:00
Jamie Cameron
f0e7c038ed German translation updates from Raymond Vetter 2014-12-22 23:18:26 -08:00
Jamie Cameron
2ea378e63d Allow modules to veto blocks from other modules 2014-12-22 14:49:33 -08:00
Jamie Cameron
44a8f78212 Merge branch 'master' of git@github.com:webmin/webmin 2014-12-22 14:41:54 -08:00
Jamie Cameron
1a4e3bcab6 Add ID to overall system info 2014-12-22 14:41:41 -08:00
Joe Cooper
be2db73504 Merge branch 'master' of github.com:webmin/webmin 2014-12-21 04:50:37 -06:00
Joe Cooper
236250c344 Revert because something mysterious is broken when variables are
localized and such. I have no idea what, but long file lists get concatenated
when using the new version (or maybe long HTML pages).
2014-12-21 04:49:30 -06:00
Joe Cooper
3595cbde04 Perl path to /usr/local/bin/perl 2014-12-20 19:04:55 -06:00
Joe Cooper
8685fd23e8 Remove strict and warn, as it causes a bunch of warnings when
executing. A bunch of undefined things need to be defined, but
I don't understand it well enough yet to make it happen.
2014-12-20 18:50:03 -06:00
Jamie Cameron
1728a31105 Show headers above sections 2014-12-20 16:01:41 -08:00
Jamie Cameron
3293374843 Support new param for link target 2014-12-20 13:57:37 -08:00
Jamie Cameron
e9030b6d2d Catalan updates 2014-12-20 12:23:34 -08:00
Jamie Cameron
a4b5951dda give credit for translations 2014-12-20 12:22:32 -08:00
Jamie Cameron
e0a1b43518 Catalan update from Jaume Badiella 2014-12-20 12:21:36 -08:00
Jamie Cameron
77c87bc228 Catalan update from Jaume Badiella 2014-12-20 12:21:15 -08:00
Jamie Cameron
8838cf6b50 Support for wide table rows 2014-12-19 19:37:30 -08:00
Jamie Cameron
521cfd6afd Support links on right frame, and add one to refresh system info 2014-12-19 17:09:50 -08:00
Jamie Cameron
a44eb9cd3d Support openable status blocks 2014-12-19 15:22:47 -08:00
Jamie Cameron
4c11ecfaa3 Fix chart that disappeared 2014-12-19 15:16:52 -08:00
Jamie Cameron
81a13478a4 Allow manual editing of all config files 2014-12-18 23:50:28 -08:00
Jamie Cameron
593f8ed232 Timeout must be > 0 2014-12-18 20:23:23 -08:00
Jamie Cameron
38fc48e893 Add validation for timeout field https://sourceforge.net/p/webadmin/bugs/4526/ 2014-12-18 20:21:56 -08:00
Jamie Cameron
ef3cbdda13 Dalvik user agent is used by mobiile browsers 2014-12-18 16:53:18 -08:00
Jamie Cameron
6a2127e3f8 Remove obsolete options 2014-12-18 16:48:02 -08:00
Jamie Cameron
28822295d5 German translation updates from Raymond Vetter 2014-12-17 20:11:37 -08:00
Jamie Cameron
bd1e2ca828 Add param for selecting user to backup as 2014-12-17 14:54:32 -08:00
Jamie Cameron
dc4ea2a94d Complete support for showing warnings on right frame 2014-12-17 14:54:09 -08:00
Jamie Cameron
5eb9821920 Extend API for right frame 2014-12-17 14:08:56 -08:00
Jamie Cameron
0b35796814 Respect commented out squid cache dir https://sourceforge.net/p/webadmin/bugs/4523/ 2014-12-17 10:42:34 -08:00
Jamie Cameron
2ede9a5cae Merge branch 'master' of git@github.com:webmin/webmin 2014-12-16 21:47:19 -08:00
Jamie Cameron
895e5bbbd1 Don't fail just because some system actions can't be looked up https://sourceforge.net/p/webadmin/bugs/4522/ 2014-12-16 21:43:57 -08:00
Joe Cooper
1b5a7b0218 strictures and warnings update 2014-12-16 03:28:00 -06:00
Jamie Cameron
908edc961f Modify mail safely 2014-12-15 22:44:59 -08:00
Jamie Cameron
115683ca39 Use correct permissions when writing mail 2014-12-15 22:36:57 -08:00
Jamie Cameron
b1a0f07c3a More work on using correct permissions for folder ops 2014-12-15 22:31:04 -08:00
Jamie Cameron
a97677018e German translation updates from Raymond Vetter 2014-12-14 19:45:45 -08:00
Jamie Cameron
152ce12fc3 Use folder permissions for opendir 2014-12-14 11:33:33 -08:00
Jamie Cameron
c250754496 Start of work on reading mail folders with permissions of the owner 2014-12-14 11:04:55 -08:00
Jamie Cameron
bff24c157c Allow un-applying when in direct editing mode http://virtualmin.com/node/35467 2014-12-14 10:16:48 -08:00
Jamie Cameron
64a79b77cb Functions for safely reading and writing mail files 2014-12-13 19:58:49 -08:00
Jamie Cameron
adda7e7b87 Remove ancient check clicks function 2014-12-13 18:19:14 -08:00
Jamie Cameron
b6f2167e02 Remove functions that we've marked as useless now 2014-12-13 11:17:09 -08:00
Jamie Cameron
a4ea571e8e Remove useless comments 2014-12-13 11:15:15 -08:00
Jamie Cameron
704a70169a By default use start/stop commands that are compatible with systemd as well http://sourceforge.net/p/webadmin/bugs/4521/ 2014-12-13 10:49:14 -08:00
Jamie Cameron
59f2fd488e Cache negative UUID lookups 2014-12-12 21:21:52 -08:00
Jamie Cameron
7226c6d943 German translation updates from Raymond Vetter 2014-12-11 22:18:11 -08:00
Jamie Cameron
6f72be02b1 Fix typos 2014-12-11 22:17:59 -08:00
Jamie Cameron
bd683637c0 Log resolved hostname on login and logout http://sourceforge.net/p/webadmin/bugs/4520 2014-12-11 17:05:15 -08:00
Jamie Cameron
d2ca839d0a Always delete lock before creating 2014-12-11 13:06:47 -08:00
Jamie Cameron
3fd769a8a1 Force non-root users to enter a server name https://sourceforge.net/p/webadmin/bugs/4519/ 2014-12-11 11:26:58 -08:00
Jamie Cameron
a87400c0ea Add support for charts 2014-12-10 22:01:35 -08:00
Jamie Cameron
a80248b068 BIND needs new zone files to be group readable 2014-12-09 21:23:59 -08:00
Jamie Cameron
217f691850 Set some new mysql.user fields 2014-12-09 21:05:54 -08:00
Jamie Cameron
2a451a411a German translation updates from Raymond Vetter 2014-12-09 19:11:17 -08:00
Jamie Cameron
85ecfa47a4 Delete .lock files that are hard links 2014-12-09 19:08:06 -08:00
Jamie Cameron
4c0e851424 Make temp files unreadable by other users 2014-12-09 19:02:19 -08:00
Jamie Cameron
cc4442b140 Show charts 2014-12-09 17:02:34 -08:00
Jamie Cameron
2cfd48f095 Don't create virtualhost dir if user cannot be determined https://sourceforge.net/p/webadmin/bugs/4518/ 2014-12-09 16:44:15 -08:00
Jamie Cameron
b5772892df Start of work to show status from new API 2014-12-08 23:05:42 -08:00
Jamie Cameron
28ce1fd358 Show CPU and drive temps 2014-12-08 23:04:00 -08:00
Jamie Cameron
6697810b99 Actually there is no need to support a different right.cgi, as this theme will be package with Webmin. Also, remove refereces to Virtualmin. 2014-12-08 22:50:02 -08:00
Jamie Cameron
860fc5464b Strict and warnings complaince 2014-12-08 22:46:30 -08:00
Jamie Cameron
6754be9cd9 Convert gray theme to use new API for modules and left side nagivation 2014-12-08 18:52:18 -08:00
Jamie Cameron
bc105a9038 Clarify meaning of chart type 2014-12-08 18:50:34 -08:00
Jamie Cameron
439ca40645 Remove confusing message 2014-12-08 18:45:08 -08:00
Jamie Cameron
4b723c2c53 If the old blue theme is selected, change it to gray theme 2014-12-08 14:53:13 -08:00
Jamie Cameron
b9a27b27da Blue theme is now just a copy of gray theme for compatibility reasons 2014-12-07 18:15:42 -08:00
Jamie Cameron
a84f077a93 Return old blue theme 2014-12-07 18:12:52 -08:00
Jamie Cameron
4a6d43eb62 Stop linking to blue theme 2014-12-07 18:07:37 -08:00
Jamie Cameron
8e2dddb959 Start creating a separate theme .pl file 2014-12-07 17:55:40 -08:00
Jamie Cameron
b8c98bebfe Start creating a separate theme .pl file 2014-12-07 17:51:30 -08:00
Jamie Cameron
d697f904dc More work on new system inf ofunction 2014-12-07 16:21:26 -08:00
Jamie Cameron
5b9fed246f Start of work on new system info provider 2014-12-07 11:23:10 -08:00
Jamie Cameron
7bb7b9719a Strict and warnings compliance 2014-12-07 10:57:35 -08:00
Jamie Cameron
33b6270467 Define new API function for right-frame info 2014-12-06 15:42:59 -08:00
Jamie Cameron
b34a096b23 Add API function for theme authors to get the menu of Webmin modules 2014-12-06 14:49:48 -08:00
Jamie Cameron
dd114f4bf5 Merge branch 'master' of git@github.com:webmin/webmin 2014-12-05 21:40:35 -08:00
Jamie Cameron
e12e75639a Add support for NSEC3PARAM records 2014-12-05 21:39:46 -08:00
Joe Cooper
9311335206 Fix img link. 2014-12-05 17:19:08 -06:00
Jamie Cameron
b7684cd544 German translation updates from Raymond Vetter 2014-12-05 13:26:10 -08:00
Jamie Cameron
f36b480df8 Use proper params 2014-12-03 20:14:55 -08:00
Jamie Cameron
4c54492b4e Show number of rule users 2014-12-03 20:14:15 -08:00
Jamie Cameron
c2b42e9e38 Work on NSEC3PARAM record type support 2014-12-03 20:13:58 -08:00
Jamie Cameron
cd40c2072c Show number of rule users 2014-12-03 19:24:33 -08:00
Jamie Cameron
4c3da19911 Document new param properly 2014-12-02 20:29:40 -08:00
Jamie Cameron
c8bd68190e Document new param 2014-12-02 20:15:45 -08:00
Jamie Cameron
706cf5c1db Hide SSL icon for non-SSL sites http://virtualmin.com/node/35457 2014-12-01 22:39:00 -08:00
Jamie Cameron
e8232c6be1 Open new usermin port on firewall https://virtualmin.com/node/35448 2014-11-30 20:27:23 -08:00
Jamie Cameron
7ac3b37d14 Port fixes to ip_match function to webmin configuration module 2014-11-30 15:04:16 -08:00
Jamie Cameron
22af9bc18e Just having a dash doesn't mean a string is an IP range https://sourceforge.net/p/webadmin/bugs/4511/ 2014-11-30 15:02:12 -08:00
Jamie Cameron
ecfff11982 Use tar to backup /etc/webmin , and exclude known large directories 2014-11-29 22:58:27 -08:00
Jamie Cameron
870acb09e0 Prevent double inclusion 2014-11-29 15:07:48 -08:00
Jamie Cameron
4affdb6338 Actually export new function 2014-11-29 14:44:03 -08:00
Jamie Cameron
0ca360f610 More strict conversion 2014-11-29 14:43:42 -08:00
Jamie Cameron
ea32cfc6ee Strict and warnings compliance 2014-11-29 14:30:15 -08:00
Jamie Cameron
56ae0eca2e Prevent duplicate require when in strict mode 2014-11-29 14:19:08 -08:00
Jamie Cameron
f9ea811781 Allow caseless match 2014-11-28 17:55:00 -08:00
Jamie Cameron
0aa5a5f465 Don't allow viewing directory index by default http://sourceforge.net/p/webadmin/bugs/4514 2014-11-28 11:28:15 -08:00
Jamie Cameron
a1b6645633 Fix incorrect string https://www.virtualmin.com/node/35413 2014-11-27 23:12:53 -08:00
Jamie Cameron
552ee47540 German translation updates from Raymond Vetter 2014-11-24 19:13:32 -08:00
Jamie Cameron
ac3fdd0d62 German translation updates from Raymond Vetter 2014-11-24 19:13:28 -08:00
Jamie Cameron
86357937f5 Fix item granting to use new server API 2014-11-23 10:27:21 -08:00
Jamie Cameron
d058fc20a1 Pass in CGI inputs param 2014-11-22 14:54:14 -08:00
Jamie Cameron
b0e5f067b7 Version bump 2014-11-21 23:06:16 -08:00
Jamie Cameron
48fb038510 Increase default new key size https://sourceforge.net/p/webadmin/bugs/4506/ 2014-11-21 22:19:47 -08:00
Jamie Cameron
e0a565d603 Remove dupe string 2014-11-19 22:54:08 -08:00
Jamie Cameron
41c6fd30b4 Fix typo 2014-11-19 22:47:25 -08:00
Jamie Cameron
31060b6d06 Allow mysqldump command to have args http://virtualmin.com/node/35318 2014-11-19 22:06:52 -08:00
Jamie Cameron
6c453316f6 German translation updates from Raymond Vetter 2014-11-19 21:40:54 -08:00
Jamie Cameron
6f28146479 Only MySQL 5.6+ supports the gtid-purged flag http://virtualmin.com/node/35336 2014-11-19 15:22:16 -08:00
Jamie Cameron
37f9bf9610 Fix version comparison between two packages with minor release numbers http://virtualmin.com/node/35291 2014-11-18 22:29:06 -08:00
Jamie Cameron
cdccfa120c Use configured flags for all calls to hwclock 2014-11-18 16:46:20 -08:00
Jamie Cameron
7c1c91b007 German translation updates from Raymond Vetter 2014-11-17 20:01:40 -08:00
Jamie Cameron
bac617fa01 German translation updates from Raymond Vetter 2014-11-17 14:11:13 -08:00
Jamie Cameron
1da01b566b fix typo 2014-11-17 14:10:54 -08:00
Jamie Cameron
eeca3125c2 Strings for usermin mail module left menu: 2014-11-16 14:39:09 -08:00
Jamie Cameron
6f5dd4ee59 Document new modes and include module in output 2014-11-16 14:34:21 -08:00
Jamie Cameron
750e66db57 Clarify fields for new theme API function 2014-11-15 15:10:29 -08:00
Jamie Cameron
36230c9d7e New API function to get combined list of Webmin menu items for themes 2014-11-15 15:06:08 -08:00
Jamie Cameron
9fae8e4d51 Fix call to missing function https://github.com/webmin/webmin/issues/179 2014-11-14 13:08:00 -08:00
Jamie Cameron
3f94e128c6 Updated french translation, thanks to 7stars 2014-11-12 20:11:50 -08:00
Jamie Cameron
3974506a2c German translation updates from Raymond Vetter 2014-11-10 17:27:33 -08:00
Jamie Cameron
95797d1b52 German translation updates from Raymond Vetter 2014-11-10 17:27:32 -08:00
Jamie Cameron
d5ce28b8b3 Add new Debian versions 2014-11-10 17:17:07 -08:00
Jamie Cameron
0b733047f3 Allow setting min size to rotate https://sourceforge.net/p/webadmin/bugs/4502/ 2014-11-07 12:25:32 -08:00
Jamie Cameron
314787b39c Fix link to view generated log to use the format expected by view_log.cgi https://github.com/webmin/webmin/issues/178 2014-11-07 11:59:02 -08:00
Jamie Cameron
314f244aab Detect the new MacOS X 2014-10-30 19:48:10 -07:00
Jamie Cameron
1dba4990f9 Fix invalid not-equals operator 2014-10-30 12:22:52 -07:00
Jamie Cameron
f94e99a745 Merge branch 'master' of git@github.com:webmin/webmin 2014-10-26 16:50:16 -07:00
Jamie Cameron
496dfff18b Deal with comment at end of run-parts command: 2014-10-26 16:50:02 -07:00
Jamie Cameron
6b020885b7 Merge pull request #175 from Perturbatio/develop
Added check for hide_admin_url config item
2014-10-25 00:17:49 +01:00
Jamie Cameron
3843bbfa74 Merge branch 'master' of https://github.com/webmin/webmin 2014-10-25 00:09:57 +01:00
Jamie Cameron
2ac4ce9e9a Protect against empty modules array http://sourceforge.net/p/webadmin/bugs/4498 2014-10-25 00:03:12 +01:00
Perturbatio
29f9c54a57 changed display_admin_url to hide_admin_url
changed display_admin_url to hide_admin_url and 
changed comparator to test if this value is not set to 1
2014-10-24 15:32:57 +01:00
Perturbatio
84970e7d78 removed default config item 2014-10-24 15:29:44 +01:00
Perturbatio
595e72f5f7 Inverted the comparison of display_admin_url
I've inverted the comparison of display_admin_url so 
that it must be set to 0 in order to disable it
2014-10-24 10:47:45 +01:00
Jamie Cameron
4ebb89c34b dev version bump 2014-10-24 02:44:30 -07:00
Perturbatio
4b59012184 added display_admin_url config to default config
The default value for this is 1 (to preserve backward
compatibility).
2014-10-24 00:56:04 +01:00
Perturbatio
6eb2314d10 Added check for display_admin_url config item
Added check for display_admin_url config item which if not 
set to 1 will prevent the server from revealing the admin URL
when the user visits the incorrect domain
(more useful in combination with the musthost config item)
2014-10-24 00:40:20 +01:00
Jamie Cameron
8a4e33ad4f Merge branch 'master' of git@github.com:webmin/webmin 2014-10-23 02:42:27 -07:00
Jamie Cameron
365e4bda6d German translation updates from Raymond Vetter 2014-10-23 02:41:55 -07:00
Jamie Cameron
5cd6c0578c German translation updates from Raymond Vetter 2014-10-23 02:41:53 -07:00
Jamie Cameron
72a68098f2 Update PCI compliant ciphers list 2014-10-22 10:36:37 +02:00
Jamie Cameron
1b16568d88 Merge branch 'master' of https://github.com/webmin/webmin 2014-10-20 21:09:16 +01:00
Jamie Cameron
ed0f1f30ca No need to cache post requests 2014-10-20 21:05:19 +01:00
Jamie Cameron
0b194ccd28 Fix message on redhat 2014-10-20 09:06:54 -07:00
Jamie Cameron
56cc1d0cd3 Polish translation update from Piotr Kozica 2014-10-20 09:06:14 -07:00
Jamie Cameron
31a707ce4b Update list of ciphers on upgrade 2014-10-19 10:09:24 -07:00
Jamie Cameron
5bba2e68c6 Supress warning if no config is setu 2014-10-19 10:03:49 -07:00
Jamie Cameron
5ca49334e7 Record cipher mode when saving 2014-10-19 18:01:15 +01:00
Jamie Cameron
0a92666d02 Record cipher mode at install time 2014-10-19 18:00:39 +01:00
Jamie Cameron
88389c68ff Cron jobs executed via Webmin don't know they are cron jobs, so set it here explicitly 2014-10-19 08:46:12 -07:00
Jamie Cameron
f2f7050d86 document SSL change 2014-10-19 08:32:38 -07:00
Jamie Cameron
02d3144e63 German translation updates from Raymond Vetter 2014-10-16 21:18:38 -07:00
Jamie Cameron
26f90d11c8 Only Apache 2.2.23 and above support the TLS v1.x options https://www.virtualmin.com/node/34803 2014-10-16 15:07:05 -07:00
Jamie Cameron
b657b9b5ab Actually respect no-ssl3 option in miniserv 2014-10-16 11:19:59 -07:00
Jamie Cameron
9f953c78a6 SSL options in usermin too 2014-10-16 11:19:28 -07:00
Jamie Cameron
fe43e60b3e Add options to disallow SSL v2 and v3, and disable them both by default 2014-10-16 11:16:10 -07:00
Jamie Cameron
9b73db8417 Maildir folder size should only include actual mail sub-dirs https://sourceforge.net/p/webadmin/bugs/4488/ 2014-10-16 09:53:17 -07:00
Jamie Cameron
ccbd04d0d0 Bring back SSL version option 2014-10-15 17:06:59 -07:00
Jamie Cameron
390308697b Don't hide real record name 2014-10-15 15:42:10 -07:00
Jamie Cameron
9a268a632e Lock all config files, rather than just the main one https://sourceforge.net/p/webadmin/bugs/4486/ 2014-10-15 15:31:05 -07:00
Jamie Cameron
289b96b426 German translation updates from Raymond Vetter 2014-10-13 17:42:32 -07:00
Jamie Cameron
6735d79b58 Show normalized values too 2014-10-11 11:25:58 -07:00
Jamie Cameron
ee87e6e555 Monitor type for wear level 2014-10-11 11:16:06 -07:00
Jamie Cameron
7e22ae2ad9 Close the upload window even if the Java callback fails 2014-10-10 18:55:07 -07:00
Jamie Cameron
eb34879151 Allow JS calls into java 2014-10-10 18:53:24 -07:00
Jamie Cameron
359297fa01 Keep route lines when editing an interface http://virtualmin.com/node/34470 2014-10-10 17:29:04 -07:00
Jamie Cameron
84c0756f39 Fix typo 2014-10-10 17:02:30 -07:00
Jamie Cameron
0c49e7f061 German translation updates from Raymond Vetter 2014-10-10 17:00:37 -07:00
Jamie Cameron
53f79a190c Make error message if iptables is missing nicer 2014-10-07 21:46:36 -07:00
Jamie Cameron
79627542bb fix perms 2014-10-07 11:15:17 -07:00
Jamie Cameron
24cd9c0063 Fix reload command on CentOS 7 http://virtualmin.com/node/34437 2014-10-07 10:09:32 -07:00
Jamie Cameron
ea1affa6ac German translation updates from Raymond Vetter 2014-10-06 17:34:58 -07:00
Jamie Cameron
0da2438fc5 German translation updates from Raymond Vetter 2014-10-06 17:34:58 -07:00
Jamie Cameron
75292f6673 Add API function for a popup window from a link 2014-10-06 15:36:43 -07:00
Jamie Cameron
14ef6f4188 Tilde can be a version separator 2014-10-06 10:22:16 -07:00
Jamie Cameron
e421c972b8 Reload isn't always reliale 2014-10-05 18:24:52 -07:00
Jamie Cameron
1f46fa73af Add missing space 2014-10-05 17:44:45 -07:00
Jamie Cameron
c73c3972fc Clarify return value 2014-10-05 17:26:46 -07:00
Jamie Cameron
0eb8698955 DOn't show files twice 2014-10-05 16:32:52 -07:00
Jamie Cameron
939a9ff0a0 Use service command including reload 2014-10-05 16:20:59 -07:00
Jamie Cameron
fe64f7c84c German translation updates from Raymond Vetter 2014-10-05 14:45:23 -07:00
Jamie Cameron
d98a34a0da German translation updates from Raymond Vetter 2014-10-05 14:45:22 -07:00
Jamie Cameron
b093796cd9 Prevent adding of host with the same name http://sourceforge.net/p/webadmin/bugs/4480/ 2014-10-03 20:28:32 -07:00
Jamie Cameron
02aff353d0 Allow custom commands to apply config to be set 2014-10-02 17:11:19 -07:00
Jamie Cameron
7a222875e1 Fix default config file paths for CentOS 6 2014-09-30 23:05:51 -07:00
Jamie Cameron
006326b38c Actually the main miniserv.pl PID is better https://sourceforge.net/p/webadmin/bugs/4479/ 2014-09-30 17:20:19 -07:00
Jamie Cameron
b2b453e8c4 Fix PID that is logged to utmp on login or logout https://sourceforge.net/p/webadmin/bugs/4479/ 2014-09-30 17:17:59 -07:00
7537 changed files with 155461 additions and 35072 deletions

58
.gitattributes vendored Normal file
View File

@@ -0,0 +1,58 @@
# webmin .gitattribues file
# help git / github to know the encoding of webmin (lang) files
# set default encoding to iso-8859-1 aka ASCII
* working-tree-encoding=iso8859-1 git-encoding=iso8859-1
# force module.info to iso-8859-1 even it contains other encodings
*/module.info working-tree-encoding=iso8859-1 git-encoding=iso8859-1
# set all .UTF-8 to UTF-8
*.UTF-8 working-tree-encoding=UTF-8 git-encoding=UTF-8
# set all non iso8859-1 lang files to correct encoding
**/lang/ru_SU working-tree-encoding=koi8-r git-encoding=koi8-r
**/lang/ru_RU working-tree-encoding=windows-1251 git-encoding=windows-1251
**/lang/zh_TW.Big5 working-tree-encoding=Big5 git-encoding=Big5
**/lang/zh_CN working-tree-encoding=GB2312 git-encoding=GB2312
**/lang/hu working-tree-encoding=iso-8859-2 git-encoding=iso-8859-2
**/lang/he working-tree-encoding=iso-8859-8-I git-encoding=iso-8859-8-I
**/lang/tr working-tree-encoding=iso-8859-9 git-encoding=iso-8859-9
**/lang/pl working-tree-encoding=iso-8859-2 git-encoding=iso-8859-2
**/lang/ja_JP.euc working-tree-encoding=EUC-JP git-encoding=EUC-JP
**/lang/si working-tree-encoding=iso-8859-2 git-encoding=iso-8859-2
**/lang/ko_KR.euc working-tree-encoding=EUC-KR git-encoding=EUC-KR
**/lang/cz working-tree-encoding=iso-8859-2 git-encoding=iso-8859-2
**/lang/th working-tree-encoding=tis-620 git-encoding=tis-620
**/lang/no working-tree-encoding=iso-8859-15 git-encoding=iso-8859-15
**/lang/sk working-tree-encoding=iso-8859-2 git-encoding=iso-8859-2
**/lang/lt working-tree-encoding=windows-1257 git-encoding=windows-1257
**/lang/bg working-tree-encoding=windows-1251 git-encoding=windows-1251
**/lang/el working-tree-encoding=iso-8859-7 git-encoding=iso-8859-7
**/lang/uk_UA working-tree-encoding=windows-1251 git-encoding=windows-1251
**/lang/ar working-tree-encoding=iso-8859-6-I git-encoding=iso-8859-6-I
**/lang/fa working-tree-encoding=UTF-8 git-encoding=UTF-8
# set all non iso8859-1 config.info files to correct encoding
*/config.info.ru_SU working-tree-encoding=koi8-r git-encoding=koi8-r
*/lconfig.info.ru_RU working-tree-encoding=windows-1251 git-encoding=windows-1251
*/config.info.zh_TW.Big5 working-tree-encoding=Big5 git-encoding=Big5
*/config.info.zh_CN working-tree-encoding=GB2312 git-encoding=GB2312
*/lconfig.info.hu working-tree-encoding=iso-8859-2 git-encoding=iso-8859-2
*/config.info.he working-tree-encoding=iso-8859-8-I git-encoding=iso-8859-8-I
*/config.info.tr working-tree-encoding=iso-8859-9 git-encoding=iso-8859-9
*/config.info.pl working-tree-encoding=iso-8859-2 git-encoding=iso-8859-2
*/config.info.ja_JP.euc working-tree-encoding=EUC-JP git-encoding=EUC-JP
*/config.info.si working-tree-encoding=iso-8859-2 git-encoding=iso-8859-2
*/config.info.ko_KR.euc working-tree-encoding=EUC-KR git-encoding=EUC-KR
*/lconfig.info.cz working-tree-encoding=iso-8859-2 git-encoding=iso-8859-2
*/lconfig.info.th working-tree-encoding=tis-620 git-encoding=tis-620
*/config.info.no working-tree-encoding=iso-8859-15 git-encoding=iso-8859-15
*/config.info.sk working-tree-encoding=iso-8859-2 git-encoding=iso-8859-2
*/config.info.lt working-tree-encoding=windows-1257 git-encoding=windows-1257
*/lconfig.info.bg working-tree-encoding=windows-1251 git-encoding=windows-1251
*/config.info.el working-tree-encoding=iso-8859-7 git-encoding=iso-8859-7
*/config.info.uk_UA working-tree-encoding=windows-1251 git-encoding=windows-1251
*/config.info.ar working-tree-encoding=iso-8859-6-I git-encoding=iso-8859-6-I
*/config.info.fa working-tree-encoding=UTF-8 git-encoding=UTF-8

22
.gitignore vendored Normal file
View File

@@ -0,0 +1,22 @@
# thumbnails
Thumbs.db
.xvpics
# python byte-compiled
*.py[cod]
# temp files
*~
*.bak
test
*.tmp
*.site
core
# build files
.builds
.build
# makedist.pl
tarballs/
minimal/

View File

@@ -206,3 +206,34 @@ Support for RHEL 7, CentOS 7 and other derivatives in multiple modules.
More German translation updates, thanks to Raymond Vetter.
Catalan updates, thanks to Jaume Badiella.
Added additional protected against Shellshock exploits made via the Webmin webserver.
---- Changes since 1.710 ----
SSL v2 and v3 are now disabled by default at Webmin install time, to block the POODLE attack. They can be re-enabled on the SSL Encryption page of the Webmin Configuration module.
---- Changes since 1.720 ----
Deprecated the old blue-theme in favor of the new gray-theme.
Catalan translation updates from Jaume Badiella.
More German translation updates, thanks to Raymond Vetter.
---- Changes since 1.730 ----
More German translation updates, thanks to Raymond Vetter.
Norwegian updates, thanks to Stein-Aksel Basma.
The awesome new Authentic Theme by Ilia Rostovtsev is now included in the Webmin package.
Catalan translation updates from Jaume Badiella.
---- Changes since 1.740 ----
Norwegian updates, thanks to Stein-Aksel Basma.
Catalan translation updates from Jaume Badiella.
More German translation updates, thanks to Raymond Vetter.
---- Changes since 1.750 ----
Norwegian updates, thanks to Stein-Aksel Basma.
Catalan translation updates from Jaume Badiella.
More German translation updates, thanks to Raymond Vetter.
Fixed an XSS bug that allowed xmlrpc.cgi to be abused by a malicious link.
---- Changes since 1.760 ----
For new installs, switched the location of data files in many modules to /var/webmin instead of /etc/webmin.
---- Changes since 1.790 ----
Added a recent logins section to the System Information page.
Major rework of majordomo module, Kay Marquardt
---- Changes since 1.870 ----
German translation updates, thanks to Raymond Vetter.
Catalan translation updates from Jaume Badiella.
Bulgarian translations from Grigor Gatchev.
Added Support for Synology NAS and opkg/ipkg Community Package Manager, Kay Marquardt
Added Support for configuring spam filtering when amvisd is used, Kay Marquardt

2797
JSON/PP.pm Normal file

File diff suppressed because it is too large Load Diff

4
README
View File

@@ -1,4 +1,4 @@
Webmin Version 1.710
Webmin Version 1.900
--------------------
Webmin is a web-based interface for system administration for Unix.
Using any browser that supports tables and forms, you can setup user
@@ -49,6 +49,8 @@ commmand, the sc.exe command and the Win32::Daemon Perl module.
For more information, see http://www.webmin.com/
For documentation, see http://doxfer.webmin.com/
Jamie Cameron
jcameron@webmin.com

View File

@@ -1,44 +0,0 @@
use Webmin::Page;
use Webmin::ResultPage;
use Webmin::ErrorPage;
use Webmin::ConfirmPage;
use Webmin::Form;
use Webmin::Section;
use Webmin::Textbox;
use Webmin::OptTextbox;
use Webmin::OptTextarea;
use Webmin::Submit;
use Webmin::Password;
use Webmin::Checkbox;
use Webmin::Select;
use Webmin::Radios;
use Webmin::Checkboxes;
use Webmin::Table;
use Webmin::Menu;
use Webmin::LinkTable;
use Webmin::Tabs;
use Webmin::Textarea;
use Webmin::Upload;
use Webmin::DynamicText;
use Webmin::DynamicBar;
use Webmin::DynamicWait;
use Webmin::DynamicHTML;
use Webmin::Properties;
use Webmin::User;
use Webmin::Group;
use Webmin::File;
use Webmin::Button;
use Webmin::JavascriptButton;
use Webmin::PlainText;
use Webmin::Multiline;
use Webmin::Date;
use Webmin::Time;
use Webmin::TitleList;
use Webmin::Columns;
use Webmin::Icon;
use Webmin::TableAction;
use Webmin::InputTable;
use WebminCore;
1;

View File

@@ -1,47 +0,0 @@
package Webmin::ConfirmPage;
use Webmin::Page;
use WebminCore;
@ISA = ( "Webmin::Page" );
=head2 new Webmin::ConfirmPage(subheading, title, message, cgi, &in, [ok-message],
[cancel-message], [help-name])
Create a new page object that asks if the user is sure if he wants to
do something or not.
=cut
sub new
{
if (defined(&Webmin::Theme::ConfirmPage::new)) {
return new Webmin::Theme::ConfirmPage(@_[1..$#_]);
}
my ($self, $subheading, $title, $message, $cgi, $in, $ok, $cancel, $help) = @_;
$self = new Webmin::Page($subheading, $title, $help);
$self->{'in'} = $in;
$self->add_message($message);
my $form = new Webmin::Form($cgi, "get");
$form->set_input($in);
$self->add_form($form);
foreach my $i (keys %$in) {
foreach my $v (split(/\0/, $in->{$i})) {
$form->add_hidden($i, $v);
}
}
$form->add_button(new Webmin::Submit($ok || "OK", "ui_confirm"));
$form->add_button(new Webmin::Submit($cancel || $text{'cancel'}, "ui_cancel"));
bless($self);
return $self;
}
sub get_confirm
{
my ($self) = @_;
return $self->{'in'}->{'ui_confirm'} ? 1 : 0;
}
sub get_cancel
{
my ($self) = @_;
return $self->{'in'}->{'ui_cancel'} ? 1 : 0;
}
1;

View File

@@ -1,20 +0,0 @@
package Webmin::ErrorPage;
use WebminCore;
=head2 new Webmin::ErrorPage(subheading, title, message, [program-output], [help-name])
Create a new page object for showing an error of some kind
=cut
sub new
{
if (defined(&Webmin::Theme::ErrorPage::new)) {
return new Webmin::Theme::ErrorPage(@_[1..$#_]);
}
my ($self, $subheading, $title, $message, $output, $help) = @_;
$self = new Webmin::Page($subheading, $title, $help);
$self->add_message("<b>",$text{'error'}," : ",$message,"</b>");
$self->add_message("<pre>",$output,"</pre>");
return $self;
}
1;

View File

@@ -1,47 +0,0 @@
package Webmin::JavascriptButton;
use Webmin::Input;
use WebminCore;
@ISA = ( "Webmin::Input" );
=head2 new Webmin::JavascriptButton(label, script, [disabled])
Create a button that runs some Javascript when clicked
=cut
sub new
{
if (defined(&Webmin::Theme::JavascriptButton::new) &&
caller() !~ /Webmin::Theme::JavascriptButton/) {
return new Webmin::Theme::JavascriptButton(@_[1..$#_]);
}
my ($self, $value, $script, $disabled) = @_;
$self = { };
bless($self);
$self->set_value($value);
$self->set_script($script);
$self->set_disabled($disabled) if ($disabled);
return $self;
}
=head2 html()
Returns the HTML for this text input
=cut
sub html
{
my ($self) = @_;
return "<input type=button value=\"".&quote_escape($self->get_value())."\" ".
"onClick=\"".$self->get_script()."\">";
}
sub set_script
{
my ($self, $script) = @_;
$self->{'script'} = $script;
}
sub get_script
{
my ($self) = @_;
return $self->{'script'};
}
1;

View File

@@ -1,40 +0,0 @@
package Webmin::Multiline;
use Webmin::Textarea;
use WebminCore;
@ISA = ( "Webmin::Textarea" );
=head2 new Webmin::Multiline(name, &lines, rows, cols, [disabled])
Create a new input for entering multiple text entries. By default, just uses
a textbox
=cut
sub new
{
if (defined(&Webmin::Theme::Multiline::new)) {
return new Webmin::Theme::Multiline(@_[1..$#_]);
}
my ($self, $name, $lines, $rows, $cols, $wrap, $disabled) = @_;
$self = new Webmin::Textarea($name, join("\n", @$lines), $rows, $cols, undef, $disabled);
bless($self);
return $self;
}
=head2 set_lines(&lines)
Sets the lines to display
=cut
sub set_lines
{
my ($self, $lines) = @_;
$self->set_value(join("\n", @$lines));
}
=head2 get_lines()
Returns an array ref of lines to display
=cut
sub get_lines
{
my ($self) = @_;
return [ split(/[\r|\n]+/, $self->get_value()) ];
}
1;

View File

@@ -1,32 +0,0 @@
package Webmin::Password;
@ISA = ( "Webmin::Textbox" );
use Webmin::Textbox;
use WebminCore;
=head2 new Webmin::Password(name, value, [size])
Create a new text input field, for a password
=cut
sub new
{
if (defined(&Webmin::Theme::Password::new)) {
return new Webmin::Theme::Password(@_[1..$#_]);
}
my ($self, $name, $value, $size) = @_;
$self = new Webmin::Textbox($name, $value, $size);
bless($self);
return $self;
}
=head2 html()
Returns the HTML for this password input
=cut
sub html
{
my ($self) = @_;
return &ui_password($self->get_name(), $self->get_value(),
$self->{'size'},
$self->{'$disabled'});
}

View File

@@ -1,20 +0,0 @@
package Webmin::ResultPage;
use WebminCore;
=head2 new Webmin::ResultPage(subheading, title, message, [help-name])
Create a new page object for showing some success message.
=cut
sub new
{
if (defined(&Webmin::Theme::ResultPage::new) &&
caller() !~ /Webmin::Theme::ResultPage/) {
return new Webmin::Theme::ResultPage(@_[1..$#_]);
}
my ($self, $subheading, $title, $message, $help) = @_;
$self = new Webmin::Page($subheading, $title, $help);
$self->add_message("<b>$message</b>");
return $self;
}
1;

View File

@@ -1,41 +0,0 @@
package Webmin::Submit;
use Webmin::Input;
use WebminCore;
@ISA = ( "Webmin::Input" );
=head2 new Webmin::Submit(label, [name], [disabled])
Create a form submit button
=cut
sub new
{
if (defined(&Webmin::Theme::Submit::new) &&
caller() !~ /Webmin::Theme::Submit/) {
return new Webmin::Theme::Submit(@_[1..$#_]);
}
my ($self, $value, $name, $disabled) = @_;
$self = { };
bless($self);
$self->set_value($value);
$self->set_name($name) if ($name);
$self->set_disabled($disabled) if ($disabled);
return $self;
}
=head2 html()
Returns the HTML for this form submit button
=cut
sub html
{
my ($self) = @_;
return &ui_submit($self->get_value(), $self->get_name(),
$self->get_disabled());
}
sub get_value
{
my ($self) = @_;
return $self->{'value'};
}
1;

File diff suppressed because one or more lines are too long

44
WebminUI/All.pm Normal file
View File

@@ -0,0 +1,44 @@
use WebminUI::Page;
use WebminUI::ResultPage;
use WebminUI::ErrorPage;
use WebminUI::ConfirmPage;
use WebminUI::Form;
use WebminUI::Section;
use WebminUI::Textbox;
use WebminUI::OptTextbox;
use WebminUI::OptTextarea;
use WebminUI::Submit;
use WebminUI::Password;
use WebminUI::Checkbox;
use WebminUI::Select;
use WebminUI::Radios;
use WebminUI::Checkboxes;
use WebminUI::Table;
use WebminUI::Menu;
use WebminUI::LinkTable;
use WebminUI::Tabs;
use WebminUI::Textarea;
use WebminUI::Upload;
use WebminUI::DynamicText;
use WebminUI::DynamicBar;
use WebminUI::DynamicWait;
use WebminUI::DynamicHTML;
use WebminUI::Properties;
use WebminUI::User;
use WebminUI::Group;
use WebminUI::File;
use WebminUI::Button;
use WebminUI::JavascriptButton;
use WebminUI::PlainText;
use WebminUI::Multiline;
use WebminUI::Date;
use WebminUI::Time;
use WebminUI::TitleList;
use WebminUI::Columns;
use WebminUI::Icon;
use WebminUI::TableAction;
use WebminUI::InputTable;
use WebminCore;
1;

View File

@@ -1,16 +1,16 @@
package Webmin::Button;
use Webmin::Input;
package WebminUI::Button;
use WebminUI::Input;
use WebminCore;
@ISA = ( "Webmin::Input" );
@ISA = ( "WebminUI::Input" );
=head2 new Webmin::Button(cgi, label, [name])
=head2 new WebminUI::Button(cgi, label, [name])
Creates a button that when clicked will link to some other page
=cut
sub new
{
if (defined(&Webmin::Theme::Button::new) &&
caller() !~ /Webmin::Theme::Button/) {
return new Webmin::Theme::Button(@_[1..$#_]);
if (defined(&WebminUI::Theme::Button::new) &&
caller() !~ /WebminUI::Theme::Button/) {
return new WebminUI::Theme::Button(@_[1..$#_]);
}
my ($self, $cgi, $value, $name) = @_;
$self = { };

View File

@@ -1,15 +1,15 @@
package Webmin::Checkbox;
use Webmin::Input;
package WebminUI::Checkbox;
use WebminUI::Input;
use WebminCore;
@ISA = ( "Webmin::Input" );
@ISA = ( "WebminUI::Input" );
=head2 new Webmin::Checkbox(name, return, label, checked, [disabled])
=head2 new WebminUI::Checkbox(name, return, label, checked, [disabled])
Create a single checkbox field
=cut
sub new
{
if (defined(&Webmin::Theme::Checkbox::new)) {
return new Webmin::Theme::Checkbox(@_[1..$#_]);
if (defined(&WebminUI::Theme::Checkbox::new)) {
return new WebminUI::Theme::Checkbox(@_[1..$#_]);
}
my ($self, $name, $return, $label, $checked, $disabled) = @_;
$self = { };

View File

@@ -1,15 +1,15 @@
package Webmin::Checkboxes;
use Webmin::Input;
package WebminUI::Checkboxes;
use WebminUI::Input;
use WebminCore;
@ISA = ( "Webmin::Input" );
@ISA = ( "WebminUI::Input" );
=head2 new Webmin::Checkboxes(name, value|&values, &options, [disabled])
=head2 new WebminUI::Checkboxes(name, value|&values, &options, [disabled])
Create a list of checkboxes, of which zero or more may be selected
=cut
sub new
{
if (defined(&Webmin::Theme::Checkboxes::new)) {
return new Webmin::Theme::Checkboxes(@_[1..$#_]);
if (defined(&WebminUI::Theme::Checkboxes::new)) {
return new WebminUI::Theme::Checkboxes(@_[1..$#_]);
}
my ($self, $name, $value, $options, $disabled) = @_;
$self = { };

View File

@@ -1,14 +1,14 @@
package Webmin::Columns;
package WebminUI::Columns;
use WebminCore;
=head2 new Webmin::Columns(cols)
=head2 new WebminUI::Columns(cols)
Displays some page elements in a multi-column table
=cut
sub new
{
my ($self, $cols) = @_;
if (defined(&Webmin::Theme::Columns::new)) {
return new Webmin::Theme::Columns(@_[1..$#_]);
if (defined(&WebminUI::Theme::Columns::new)) {
return new WebminUI::Theme::Columns(@_[1..$#_]);
}
$self = { 'columns' => 2 };
bless($self);
@@ -43,7 +43,7 @@ return $rv;
}
=head2 add(object)
Adds some Webmin:: object to this list
Adds some WebminUI:: object to this list
=cut
sub add
{
@@ -66,7 +66,7 @@ my ($self) = @_;
return $self->{'columns'};
}
=head2 set_page(Webmin::Page)
=head2 set_page(WebminUI::Page)
Called when this menu is added to a page
=cut
sub set_page

47
WebminUI/ConfirmPage.pm Normal file
View File

@@ -0,0 +1,47 @@
package WebminUI::ConfirmPage;
use WebminUI::Page;
use WebminCore;
@ISA = ( "WebminUI::Page" );
=head2 new WebminUI::ConfirmPage(subheading, title, message, cgi, &in, [ok-message],
[cancel-message], [help-name])
Create a new page object that asks if the user is sure if he wants to
do something or not.
=cut
sub new
{
if (defined(&WebminUI::Theme::ConfirmPage::new)) {
return new WebminUI::Theme::ConfirmPage(@_[1..$#_]);
}
my ($self, $subheading, $title, $message, $cgi, $in, $ok, $cancel, $help) = @_;
$self = new WebminUI::Page($subheading, $title, $help);
$self->{'in'} = $in;
$self->add_message($message);
my $form = new WebminUI::Form($cgi, "get");
$form->set_input($in);
$self->add_form($form);
foreach my $i (keys %$in) {
foreach my $v (split(/\0/, $in->{$i})) {
$form->add_hidden($i, $v);
}
}
$form->add_button(new WebminUI::Submit($ok || "OK", "ui_confirm"));
$form->add_button(new WebminUI::Submit($cancel || $text{'cancel'}, "ui_cancel"));
bless($self);
return $self;
}
sub get_confirm
{
my ($self) = @_;
return $self->{'in'}->{'ui_confirm'} ? 1 : 0;
}
sub get_cancel
{
my ($self) = @_;
return $self->{'in'}->{'ui_cancel'} ? 1 : 0;
}
1;

View File

@@ -1,16 +1,16 @@
package Webmin::Date;
use Webmin::Input;
package WebminUI::Date;
use WebminUI::Input;
use Time::Local;
use WebminCore;
@ISA = ( "Webmin::Input" );
@ISA = ( "WebminUI::Input" );
=head2 new Webmin::Date(name, time, [disabled])
=head2 new WebminUI::Date(name, time, [disabled])
Create a new field for selecting a date
=cut
sub new
{
if (defined(&Webmin::Theme::Date::new)) {
return new Webmin::Theme::Date(@_[1..$#_]);
if (defined(&WebminUI::Theme::Date::new)) {
return new WebminUI::Theme::Date(@_[1..$#_]);
}
my ($self, $name, $value, $disabled) = @_;
bless($self = { });

View File

@@ -1,7 +1,7 @@
package Webmin::DynamicBar;
package WebminUI::DynamicBar;
use WebminCore;
=head2 new Webmin::DynamicBar(&start-function, max)
=head2 new WebminUI::DynamicBar(&start-function, max)
A page element for displaying progress towards some goal, like the download of
a file.
=cut
@@ -91,7 +91,7 @@ my ($self) = @_;
return $self->{'wait'};
}
=head2 set_page(Webmin::Page)
=head2 set_page(WebminUI::Page)
Called when this dynamic text box is added to a page
=cut
sub set_page

View File

@@ -1,7 +1,7 @@
package Webmin::DynamicHTML;
package WebminUI::DynamicHTML;
use WebminCore;
=head2 new Webmin::DynamicHTML(&function, &args, [before])
=head2 new WebminUI::DynamicHTML(&function, &args, [before])
When the page is being rendered, executes the given function and prints any
text that it returns.
=cut
@@ -63,7 +63,7 @@ sub needs_unbuffered
return 1;
}
=head2 set_page(Webmin::Page)
=head2 set_page(WebminUI::Page)
Called when this dynamic HTML element is added to a page
=cut
sub set_page

View File

@@ -1,8 +1,8 @@
# XXX should support non-Javascript mode?
package Webmin::DynamicText;
package WebminUI::DynamicText;
use WebminCore;
=head2 new Webmin::DynamicText(&start-function, &args)
=head2 new WebminUI::DynamicText(&start-function, &args)
A page element for displaying text that takes time to generate, such as from
a long-running script. Uses a non-editable text box, updated via Javascript.
The function will be called when it is time to start producing output, with this
@@ -90,7 +90,7 @@ my ($self) = @_;
return $self->{'wait'};
}
=head2 set_page(Webmin::Page)
=head2 set_page(WebminUI::Page)
Called when this dynamic text box is added to a page
=cut
sub set_page

View File

@@ -1,7 +1,7 @@
package Webmin::DynamicWait;
package WebminUI::DynamicWait;
use WebminCore;
=head2 new Webmin::DynamicWait(&start-function, [&args])
=head2 new WebminUI::DynamicWait(&start-function, [&args])
A page element indicating that something is happening.
=cut
sub new
@@ -99,7 +99,7 @@ my ($self) = @_;
return $self->{'wait'};
}
=head2 set_page(Webmin::Page)
=head2 set_page(WebminUI::Page)
Called when this dynamic text box is added to a page
=cut
sub set_page

20
WebminUI/ErrorPage.pm Normal file
View File

@@ -0,0 +1,20 @@
package WebminUI::ErrorPage;
use WebminCore;
=head2 new WebminUI::ErrorPage(subheading, title, message, [program-output], [help-name])
Create a new page object for showing an error of some kind
=cut
sub new
{
if (defined(&WebminUI::Theme::ErrorPage::new)) {
return new WebminUI::Theme::ErrorPage(@_[1..$#_]);
}
my ($self, $subheading, $title, $message, $output, $help) = @_;
$self = new WebminUI::Page($subheading, $title, $help);
$self->add_message("<b>",$text{'error'}," : ",$message,"</b>");
$self->add_message("<pre>",$output,"</pre>");
return $self;
}
1;

View File

@@ -1,18 +1,18 @@
package Webmin::File;
use Webmin::Textbox;
package WebminUI::File;
use WebminUI::Textbox;
use WebminCore;
@ISA = ( "Webmin::Textbox" );
@ISA = ( "WebminUI::Textbox" );
=head2 new Webmin::File(name, value, size, [directory], [disabled])
=head2 new WebminUI::File(name, value, size, [directory], [disabled])
A text box for selecting a file
=cut
sub new
{
if (defined(&Webmin::Theme::File::new)) {
return new Webmin::Theme::File(@_[1..$#_]);
if (defined(&WebminUI::Theme::File::new)) {
return new WebminUI::Theme::File(@_[1..$#_]);
}
my ($self, $name, $value, $size, $directory, $disabled) = @_;
$self = new Webmin::Textbox($name, $value, $size, $disabled);
$self = new WebminUI::Textbox($name, $value, $size, $disabled);
bless($self);
$self->set_directory($directory);
return $self;
@@ -24,7 +24,7 @@ Returns the HTML for this file input
sub html
{
my ($self) = @_;
my $rv = Webmin::Textbox::html($self);
my $rv = WebminUI::Textbox::html($self);
my $name = $self->get_name();
my $directory = $self->get_directory();
my $add = 0;

View File

@@ -1,13 +1,13 @@
package Webmin::Form;
package WebminUI::Form;
use WebminCore;
=head2 new Webmin::Form(cgi, [method])
=head2 new WebminUI::Form(cgi, [method])
Creates a new form, which submits to the given CGI
=cut
sub new
{
if (defined(&Webmin::Theme::Form::new)) {
return new Webmin::Theme::Form(@_[1..$#_]);
if (defined(&WebminUI::Theme::Form::new)) {
return new WebminUI::Theme::Form(@_[1..$#_]);
}
my ($self, $program, $method) = @_;
$self = { 'method' => 'get',
@@ -102,7 +102,7 @@ return "<form action='$self->{'program'}' ".
}
=head2 add_section(section)
Adds a Webmin::Section object to this form
Adds a WebminUI::Section object to this form
=cut
sub add_section
{
@@ -120,7 +120,7 @@ return $self->{'sections'}->[$idx];
}
=head2 add_button(button, [beside, ...])
Adds a Webmin::Submit object to this form, for display at the bottom
Adds a WebminUI::Submit object to this form, for display at the bottom
=cut
sub add_button
{
@@ -312,7 +312,7 @@ foreach my $i ($self->list_inputs()) {
return @dis;
}
=head2 set_page(Webmin::Page)
=head2 set_page(WebminUI::Page)
Called when this form is added to a page
=cut
sub set_page

View File

@@ -1,18 +1,18 @@
package Webmin::Group;
use Webmin::Textbox;
package WebminUI::Group;
use WebminUI::Textbox;
use WebminCore;
@ISA = ( "Webmin::Textbox" );
@ISA = ( "WebminUI::Textbox" );
=head2 new Webmin::Group(name, value, [multiple], [disabled])
=head2 new WebminUI::Group(name, value, [multiple], [disabled])
A text box for entering or selecting one or many Unix groupnames
=cut
sub new
{
if (defined(&Webmin::Theme::Group::new)) {
return new Webmin::Theme::Group(@_[1..$#_]);
if (defined(&WebminUI::Theme::Group::new)) {
return new WebminUI::Theme::Group(@_[1..$#_]);
}
my ($self, $name, $value, $multiple, $disabled) = @_;
$self = new Webmin::Textbox($name, $value, $multiple ? 40 : 15, $disabled);
$self = new WebminUI::Textbox($name, $value, $multiple ? 40 : 15, $disabled);
bless($self);
$self->set_multiple($multiple);
return $self;
@@ -24,7 +24,7 @@ Returns the HTML for this group input
sub html
{
my ($self) = @_;
my $rv = Webmin::Textbox::html($self);
my $rv = WebminUI::Textbox::html($self);
my $name = $self->get_name();
my $multiple = $self->get_multiple();
local $w = $multiple ? 500 : 300;

View File

@@ -1,7 +1,7 @@
package Webmin::Icon;
package WebminUI::Icon;
use WebminCore;
=head2 Webmin::Icon(type, [message])
=head2 WebminUI::Icon(type, [message])
This object generates an icon indicating some status. Possible types are :
ok - OK
critial - A serious problem
@@ -11,8 +11,8 @@ Can be used inside tables and property lists
=cut
sub new
{
if (defined(&Webmin::Theme::Icon::new) && caller() !~ /Webmin::Theme::Icon/) {
return new Webmin::Theme::Icon(@_[1..$#_]);
if (defined(&WebminUI::Theme::Icon::new) && caller() !~ /WebminUI::Theme::Icon/) {
return new WebminUI::Theme::Icon(@_[1..$#_]);
}
my ($self, $type, $message) = @_;
$self = { };

View File

@@ -1,4 +1,4 @@
package Webmin::Input;
package WebminUI::Input;
use WebminCore;
sub set_form

View File

@@ -1,19 +1,19 @@
package Webmin::InputTable;
use Webmin::Table;
package WebminUI::InputTable;
use WebminUI::Table;
use WebminCore;
@ISA = ( "Webmin::Table" );
@ISA = ( "WebminUI::Table" );
=head2 new Webmin::InputTable(&headings, [width], [name], [heading])
=head2 new WebminUI::InputTable(&headings, [width], [name], [heading])
A table containing multiple rows of inputs, each of which is the same
=cut
sub new
{
if (defined(&Webmin::Theme::InputTable::new) &&
caller() !~ /Webmin::Theme::InputTable/) {
return new Webmin::Theme::InputTable(@_[1..$#_]);
if (defined(&WebminUI::Theme::InputTable::new) &&
caller() !~ /WebminUI::Theme::InputTable/) {
return new WebminUI::Theme::InputTable(@_[1..$#_]);
}
my $self = defined(&Webmin::Theme::Table::new) ? Webmin::Theme::Table::new(@_)
: Webmin::Table::new(@_);
my $self = defined(&WebminUI::Theme::Table::new) ? WebminUI::Theme::Table::new(@_)
: WebminUI::Table::new(@_);
bless($self);
$self->{'rowcount'} = 0;
return $self;
@@ -56,7 +56,7 @@ sub get_values
my ($self, $row) = @_;
my @rv;
foreach my $i (@{$self->{'rows'}->[$row]}) {
if (ref($i) && $i->isa("Webmin::Input")) {
if (ref($i) && $i->isa("WebminUI::Input")) {
push(@rv, $i->get_value());
}
}
@@ -68,10 +68,10 @@ return @rv;
sub list_inputs
{
my ($self) = @_;
my @rv = Webmin::Table::list_inputs($self);
my @rv = WebminUI::Table::list_inputs($self);
foreach my $r (@{$self->{'rows'}}) {
foreach my $i (@$r) {
if ($i && ref($i) && $i->isa("Webmin::Input")) {
if ($i && ref($i) && $i->isa("WebminUI::Input")) {
push(@rv, $i);
}
}
@@ -111,7 +111,7 @@ foreach my $r (@{$self->{'rows'}}) {
}
}
foreach my $i (@$r) {
if ($i && ref($i) && $i->isa("Webmin::Input") && !$skip) {
if ($i && ref($i) && $i->isa("WebminUI::Input") && !$skip) {
my $label = &text('ui_rowlabel', $k, $self->{'headings'}->[$j]);
foreach my $e ($i->validate()) {
push(@errs, [ $i->get_name(), $label." ".$e ]);

View File

@@ -0,0 +1,47 @@
package WebminUI::JavascriptButton;
use WebminUI::Input;
use WebminCore;
@ISA = ( "WebminUI::Input" );
=head2 new WebminUI::JavascriptButton(label, script, [disabled])
Create a button that runs some Javascript when clicked
=cut
sub new
{
if (defined(&WebminUI::Theme::JavascriptButton::new) &&
caller() !~ /WebminUI::Theme::JavascriptButton/) {
return new WebminUI::Theme::JavascriptButton(@_[1..$#_]);
}
my ($self, $value, $script, $disabled) = @_;
$self = { };
bless($self);
$self->set_value($value);
$self->set_script($script);
$self->set_disabled($disabled) if ($disabled);
return $self;
}
=head2 html()
Returns the HTML for this text input
=cut
sub html
{
my ($self) = @_;
return "<input type=button value=\"".&quote_escape($self->get_value())."\" ".
"onClick=\"".$self->get_script()."\">";
}
sub set_script
{
my ($self, $script) = @_;
$self->{'script'} = $script;
}
sub get_script
{
my ($self) = @_;
return $self->{'script'};
}
1;

View File

@@ -1,18 +1,18 @@
package Webmin::LinkTable;
use Webmin::Table;
package WebminUI::LinkTable;
use WebminUI::Table;
use WebminCore;
=head2 new Webmin::LinkTable(heading, [columns], [width], [name])
=head2 new WebminUI::LinkTable(heading, [columns], [width], [name])
Creates a new table that just displays links, like in the Users and Groups module
=cut
sub new
{
if (defined(&Webmin::Theme::LinkTable::new) &&
caller() !~ /Webmin::Theme::LinkTable/) {
return new Webmin::Theme::LinkTable(@_[1..$#_]);
if (defined(&WebminUI::Theme::LinkTable::new) &&
caller() !~ /WebminUI::Theme::LinkTable/) {
return new WebminUI::Theme::LinkTable(@_[1..$#_]);
}
my ($self, $heading, $columns, $width, $name) = @_;
$self = { 'sorter' => \&Webmin::Table::default_sorter,
$self = { 'sorter' => \&WebminUI::Table::default_sorter,
'columns' => 4,
'sortable' => 1 };
bless($self);
@@ -245,7 +245,7 @@ return $self->{'columns'};
}
=head2 set_form(form)
Called by the Webmin::Form object when this table is added to it
Called by the WebminUI::Form object when this table is added to it
=cut
sub set_form
{
@@ -257,7 +257,7 @@ if ($self->{'selectinput'}) {
}
=head2 set_selector(input)
Takes a Webmin::Checkboxes or Webmin::Radios object, and uses it to add checkboxes
Takes a WebminUI::Checkboxes or WebminUI::Radios object, and uses it to add checkboxes
to all the entries
=cut
sub set_selector

View File

@@ -1,14 +1,14 @@
package Webmin::Menu;
package WebminUI::Menu;
use WebminCore;
=head2 new Webmin::Menu(&options, [columns])
=head2 new WebminUI::Menu(&options, [columns])
Generates a menu of options, typically using icons.
=cut
sub new
{
my ($self, $options, $columns) = @_;
if (defined(&Webmin::Theme::Menu::new)) {
return new Webmin::Theme::Menu(@_[1..$#_]);
if (defined(&WebminUI::Theme::Menu::new)) {
return new WebminUI::Theme::Menu(@_[1..$#_]);
}
$self = { 'columns' => 4 };
bless($self);
@@ -73,7 +73,7 @@ my ($self) = @_;
return $self->{'columns'};
}
=head2 set_page(Webmin::Page)
=head2 set_page(WebminUI::Page)
Called when this menu is added to a page
=cut
sub set_page

40
WebminUI/Multiline.pm Normal file
View File

@@ -0,0 +1,40 @@
package WebminUI::Multiline;
use WebminUI::Textarea;
use WebminCore;
@ISA = ( "WebminUI::Textarea" );
=head2 new WebminUI::Multiline(name, &lines, rows, cols, [disabled])
Create a new input for entering multiple text entries. By default, just uses
a textbox
=cut
sub new
{
if (defined(&WebminUI::Theme::Multiline::new)) {
return new WebminUI::Theme::Multiline(@_[1..$#_]);
}
my ($self, $name, $lines, $rows, $cols, $wrap, $disabled) = @_;
$self = new WebminUI::Textarea($name, join("\n", @$lines), $rows, $cols, undef, $disabled);
bless($self);
return $self;
}
=head2 set_lines(&lines)
Sets the lines to display
=cut
sub set_lines
{
my ($self, $lines) = @_;
$self->set_value(join("\n", @$lines));
}
=head2 get_lines()
Returns an array ref of lines to display
=cut
sub get_lines
{
my ($self) = @_;
return [ split(/[\r|\n]+/, $self->get_value()) ];
}
1;

View File

@@ -1,18 +1,18 @@
package Webmin::OptTextarea;
use Webmin::Textarea;
package WebminUI::OptTextarea;
use WebminUI::Textarea;
use WebminCore;
@ISA = ( "Webmin::Textarea" );
@ISA = ( "WebminUI::Textarea" );
=head2 new Webmin::OptTextarea(name, value, rows, cols, [default-msg], [other-msg])
=head2 new WebminUI::OptTextarea(name, value, rows, cols, [default-msg], [other-msg])
Create a text area whose value is optional.
=cut
sub new
{
if (defined(&Webmin::Theme::OptTextarea::new)) {
return new Webmin::Theme::OptTextarea(@_[1..$#_]);
if (defined(&WebminUI::Theme::OptTextarea::new)) {
return new WebminUI::Theme::OptTextarea(@_[1..$#_]);
}
my ($self, $name, $value, $rows, $cols, $default, $other) = @_;
$self = new Webmin::Textarea($name, $value, $rows, $cols);
$self = new WebminUI::Textarea($name, $value, $rows, $cols);
bless($self);
$self->set_default($default || $text{'default'});
$self->set_other($other) if ($other);
@@ -57,7 +57,7 @@ if (defined($self->get_value())) {
if ($self->get_value() eq "") {
return ( $text{'ui_nothing'} );
}
return Webmin::Textbox::validate($self);
return WebminUI::Textbox::validate($self);
}
return ( );
}

View File

@@ -1,18 +1,18 @@
package Webmin::OptTextbox;
use Webmin::Textbox;
package WebminUI::OptTextbox;
use WebminUI::Textbox;
use WebminCore;
@ISA = ( "Webmin::Textbox" );
@ISA = ( "WebminUI::Textbox" );
=head2 new Webmin::OptTextbox(name, value, size, [default-msg], [other-msg])
=head2 new WebminUI::OptTextbox(name, value, size, [default-msg], [other-msg])
Create a text field whose value is optional.
=cut
sub new
{
if (defined(&Webmin::Theme::OptTextbox::new)) {
return new Webmin::Theme::OptTextbox(@_[1..$#_]);
if (defined(&WebminUI::Theme::OptTextbox::new)) {
return new WebminUI::Theme::OptTextbox(@_[1..$#_]);
}
my ($self, $name, $value, $size, $default, $other) = @_;
$self = new Webmin::Textbox($name, $value, $size);
$self = new WebminUI::Textbox($name, $value, $size);
bless($self);
$self->set_default($default || $text{'default'});
$self->set_other($other) if ($other);
@@ -39,7 +39,7 @@ if (defined($self->get_value())) {
if ($self->get_value() eq "") {
return ( $text{'ui_nothing'} );
}
return Webmin::Textbox::validate($self);
return WebminUI::Textbox::validate($self);
}
return ( );
}

View File

@@ -1,16 +1,16 @@
package Webmin::Page;
package WebminUI::Page;
use WebminCore;
use WebminCore;
=head2 new Webmin::Page(subheading, title, [help-name], [show-config],
=head2 new WebminUI::Page(subheading, title, [help-name], [show-config],
[no-module-index], [no-webmin-index], [rightside],
[header], [body-tags], [below-text])
Create a new page object, with the given heading and other details
=cut
sub new
{
if (defined(&Webmin::Theme::Page::new) && caller() !~ /Webmin::Theme::Page/) {
return new Webmin::Theme::Page(@_[1..$#_]);
if (defined(&WebminUI::Theme::Page::new) && caller() !~ /WebminUI::Theme::Page/) {
return new WebminUI::Theme::Page(@_[1..$#_]);
}
my ($self, $subheading, $title, $help, $config, $noindex, $nowebmin, $right,
$header, $body, $below) = @_;
@@ -216,7 +216,7 @@ print STDERR "Could not find $object in ",join(" ",@{$self->{'contents'}}),"\n";
return scalar(@{$self->{'contents'}});
}
=head2 add_form(Webmin::Form)
=head2 add_form(WebminUI::Form)
Adds a form to be displayed on this page
=cut
sub add_form
@@ -246,7 +246,7 @@ push(@{$self->{'buttons'}}, [ $cgi, $label, $desc, join(" ", @$hiddens),
$before, $after ]);
}
=head2 add_tabs(Webmin::Tags)
=head2 add_tabs(WebminUI::Tags)
Tells the page to display the given set of tabs at the top
=cut
sub add_tabs
@@ -255,7 +255,7 @@ my ($self, $tabs) = @_;
$self->{'tabs'} = $tabs;
}
=head2 add_dynamic(Webmin::DynamicText|Webmin::DynamicProgress)
=head2 add_dynamic(WebminUI::DynamicText|WebminUI::DynamicProgress)
Adds an object that is dynamically generated, such as a text box or progress bar.
=cut
sub add_dynamic

32
WebminUI/Password.pm Normal file
View File

@@ -0,0 +1,32 @@
package WebminUI::Password;
@ISA = ( "WebminUI::Textbox" );
use WebminUI::Textbox;
use WebminCore;
=head2 new WebminUI::Password(name, value, [size])
Create a new text input field, for a password
=cut
sub new
{
if (defined(&WebminUI::Theme::Password::new)) {
return new WebminUI::Theme::Password(@_[1..$#_]);
}
my ($self, $name, $value, $size) = @_;
$self = new WebminUI::Textbox($name, $value, $size);
bless($self);
return $self;
}
=head2 html()
Returns the HTML for this password input
=cut
sub html
{
my ($self) = @_;
return &ui_password($self->get_name(), $self->get_value(),
$self->{'size'},
$self->{'$disabled'});
}

View File

@@ -1,14 +1,14 @@
package Webmin::PlainText;
package WebminUI::PlainText;
use WebminCore;
=head2 new Webmin::PlainText(text, columns)
=head2 new WebminUI::PlainText(text, columns)
Displays a block of plain fixed-width text, within a page or form.
=cut
sub new
{
if (defined(&Webmin::Theme::PlainText::new) &&
caller() !~ /Webmin::Theme::PlainText/) {
return new Webmin::Theme::PlainText(@_[1..$#_]);
if (defined(&WebminUI::Theme::PlainText::new) &&
caller() !~ /WebminUI::Theme::PlainText/) {
return new WebminUI::Theme::PlainText(@_[1..$#_]);
}
my ($self, $text, $columns) = @_;
$self = { 'columns' => 80 };
@@ -84,7 +84,7 @@ foreach $rest (split(/\n/, $_[0])) {
return @rv;
}
=head2 set_page(Webmin::Page)
=head2 set_page(WebminUI::Page)
Called when this form is added to a page
=cut
sub set_page

View File

@@ -1,14 +1,14 @@
package Webmin::Properties;
package WebminUI::Properties;
use WebminCore;
=head2 new Webmin::Properties([heading], [columns], [width])
=head2 new WebminUI::Properties([heading], [columns], [width])
Creates a read-only properties list
=cut
sub new
{
if (defined(&Webmin::Theme::Properties::new) &&
caller() !~ /Webmin::Theme::Properties/) {
return new Webmin::Theme::Properties(@_[1..$#_]);
if (defined(&WebminUI::Theme::Properties::new) &&
caller() !~ /WebminUI::Theme::Properties/) {
return new WebminUI::Theme::Properties(@_[1..$#_]);
}
my ($self, $heading, $columns, $width) = @_;
$self = { 'columns' => 2 };
@@ -119,7 +119,7 @@ return $self->{'heading'};
}
=head2 set_page(Webmin::Page)
=head2 set_page(WebminUI::Page)
Called when this form is added to a page
=cut
sub set_page

View File

@@ -1,15 +1,15 @@
package Webmin::Radios;
use Webmin::Input;
package WebminUI::Radios;
use WebminUI::Input;
use WebminCore;
@ISA = ( "Webmin::Input" );
@ISA = ( "WebminUI::Input" );
=head2 new Webmin::Radios(name, value, &options, [disabled])
=head2 new WebminUI::Radios(name, value, &options, [disabled])
Create a list of radio buttons, of which one may be selected
=cut
sub new
{
if (defined(&Webmin::Theme::Radios::new)) {
return new Webmin::Theme::Radios(@_[1..$#_]);
if (defined(&WebminUI::Theme::Radios::new)) {
return new WebminUI::Theme::Radios(@_[1..$#_]);
}
my ($self, $name, $value, $options, $disabled) = @_;
$self = { };

20
WebminUI/ResultPage.pm Normal file
View File

@@ -0,0 +1,20 @@
package WebminUI::ResultPage;
use WebminCore;
=head2 new WebminUI::ResultPage(subheading, title, message, [help-name])
Create a new page object for showing some success message.
=cut
sub new
{
if (defined(&WebminUI::Theme::ResultPage::new) &&
caller() !~ /WebminUI::Theme::ResultPage/) {
return new WebminUI::Theme::ResultPage(@_[1..$#_]);
}
my ($self, $subheading, $title, $message, $help) = @_;
$self = new WebminUI::Page($subheading, $title, $help);
$self->add_message("<b>$message</b>");
return $self;
}
1;

View File

@@ -1,14 +1,14 @@
package Webmin::Section;
package WebminUI::Section;
use WebminCore;
=head2 new Webmin::Section(header, [columns], [title], [width])
=head2 new WebminUI::Section(header, [columns], [title], [width])
Create a new form section, which has a header and contains some inputs
=cut
sub new
{
if (defined(&Webmin::Theme::Section::new) &&
caller() !~ /Webmin::Theme::Section/) {
return new Webmin::Theme::Section(@_[1..$#_]);
if (defined(&WebminUI::Theme::Section::new) &&
caller() !~ /WebminUI::Theme::Section/) {
return new WebminUI::Theme::Section(@_[1..$#_]);
}
my ($self, $header, $columns, $title, $width) = @_;
$self = { 'columns' => 4 };
@@ -52,7 +52,7 @@ return $rv;
}
=head2 add_input(label, input, [columns])
Adds some Webmin::Input object to this form section
Adds some WebminUI::Input object to this form section
=cut
sub add_input
{
@@ -140,7 +140,7 @@ return undef;
}
=head2 set_form(form)
Called by the Webmin::Form object when this section is added to it
Called by the WebminUI::Form object when this section is added to it
=cut
sub set_form
{
@@ -165,7 +165,7 @@ sub is_input
{
my ($object) = @_;
return ref($object) && ref($object) =~ /::/ &&
$object->isa("Webmin::Input");
$object->isa("WebminUI::Input");
}
1;

View File

@@ -1,16 +1,16 @@
package Webmin::Select;
use Webmin::Input;
package WebminUI::Select;
use WebminUI::Input;
use WebminCore;
@ISA = ( "Webmin::Input" );
@ISA = ( "WebminUI::Input" );
=head2 new Webmin::Select(name, value|&values, &options, [multiple-size],
=head2 new WebminUI::Select(name, value|&values, &options, [multiple-size],
[add-missing], [disabled])
Create a menu or multiple-selection field
=cut
sub new
{
if (defined(&Webmin::Theme::Select::new)) {
return new Webmin::Theme::Select(@_[1..$#_]);
if (defined(&WebminUI::Theme::Select::new)) {
return new WebminUI::Theme::Select(@_[1..$#_]);
}
my ($self, $name, $value, $options, $size, $missing, $disabled) = @_;
$self = { 'size' => 1 };

41
WebminUI/Submit.pm Normal file
View File

@@ -0,0 +1,41 @@
package WebminUI::Submit;
use WebminUI::Input;
use WebminCore;
@ISA = ( "WebminUI::Input" );
=head2 new WebminUI::Submit(label, [name], [disabled])
Create a form submit button
=cut
sub new
{
if (defined(&WebminUI::Theme::Submit::new) &&
caller() !~ /WebminUI::Theme::Submit/) {
return new WebminUI::Theme::Submit(@_[1..$#_]);
}
my ($self, $value, $name, $disabled) = @_;
$self = { };
bless($self);
$self->set_value($value);
$self->set_name($name) if ($name);
$self->set_disabled($disabled) if ($disabled);
return $self;
}
=head2 html()
Returns the HTML for this form submit button
=cut
sub html
{
my ($self) = @_;
return &ui_submit($self->get_value(), $self->get_name(),
$self->get_disabled());
}
sub get_value
{
my ($self) = @_;
return $self->{'value'};
}
1;

View File

@@ -1,15 +1,15 @@
package Webmin::Table;
use Webmin::JavascriptButton;
package WebminUI::Table;
use WebminUI::JavascriptButton;
use WebminCore;
=head2 new Webmin::Table(&headings, [width], [name], [heading])
=head2 new WebminUI::Table(&headings, [width], [name], [heading])
Create a multi-column table, with support for sorting, paging and so on
=cut
sub new
{
if (defined(&Webmin::Theme::Table::new) &&
caller() !~ /Webmin::Theme::Table/) {
return new Webmin::Theme::Table(@_[1..$#_]);
if (defined(&WebminUI::Theme::Table::new) &&
caller() !~ /WebminUI::Theme::Table/) {
return new WebminUI::Theme::Table(@_[1..$#_]);
}
my ($self, $headings, $width, $name, $heading) = @_;
$self = { 'sorter' => [ map { \&default_sorter } @$headings ] };
@@ -59,12 +59,12 @@ if (defined($sm) && @srows > $sm) {
$rv .= $self->get_searchmsg()."<br>\n";
}
my $form = new Webmin::Form($thisurl, "get");
my $form = new WebminUI::Form($thisurl, "get");
$form->set_input($self->{'form'}->{'in'});
my $section = new Webmin::Section(undef, 2);
my $section = new WebminUI::Section(undef, 2);
$form->add_section($section);
my $col = new Webmin::Select("ui_searchcol_".$name, undef);
my $col = new WebminUI::Select("ui_searchcol_".$name, undef);
my $i = 0;
foreach my $h (@{$self->get_headings()}) {
if ($self->{'sortable'}->[$i]) {
@@ -74,12 +74,12 @@ if (defined($sm) && @srows > $sm) {
}
$section->add_input($text{'ui_searchcol'}, $col);
my $for = new Webmin::Textbox("ui_searchfor_".$name, undef, 30);
my $for = new WebminUI::Textbox("ui_searchfor_".$name, undef, 30);
$section->add_input($text{'ui_searchfor'}, $for);
$rv .= $section->html();
my $url = $self->make_url(undef, undef, undef, undef, 1);
my $jsb = new Webmin::JavascriptButton($text{'ui_searchok'},
my $jsb = new WebminUI::JavascriptButton($text{'ui_searchok'},
"window.location = '$url'+'&'+'ui_searchfor_${name}'+'='+escape(form.ui_searchfor_${name}.value)+'&'+'ui_searchcol_${name}'+'='+escape(form.ui_searchcol_${name}.selectedIndex)");
$rv .= $jsb->html();
$rv .= "<br>\n";
@@ -252,7 +252,7 @@ if (@srows) {
for(my $i=0; $i<@$r || $i<@sheadings; $i++) {
if (ref($r->[$i]) eq "ARRAY") {
my $j = $r->[$i]->[0] &&
$r->[$i]->[0]->isa("Webmin::TableAction")
$r->[$i]->[0]->isa("WebminUI::TableAction")
? "&nbsp;|&nbsp;" : "&nbsp;";
$row[$i] = $selmap{$r,$i}.
join($j, map { ref($_) ? $_->html() : $_ }
@@ -278,7 +278,7 @@ return $rv;
}
=head2 set_form(form)
Called by the Webmin::Form object when this table is added to it
Called by the WebminUI::Form object when this table is added to it
=cut
sub set_form
{
@@ -309,7 +309,7 @@ else {
sub default_sorter
{
my ($value1, $value2, $col) = @_;
if (ref($value1) && $value1->isa("Webmin::TableAction")) {
if (ref($value1) && $value1->isa("WebminUI::TableAction")) {
$value1 = $value1->get_value();
$value2 = $value2->get_value();
}
@@ -432,7 +432,7 @@ return $self->{'headings'};
}
=head2 set_selector(column, input)
Takes a Webmin::Checkboxes or Webmin::Radios object, and uses it to add checkboxes
Takes a WebminUI::Checkboxes or WebminUI::Radios object, and uses it to add checkboxes
in the specified column.
=cut
sub set_selector

View File

@@ -1,15 +1,15 @@
package Webmin::TableAction;
package WebminUI::TableAction;
use WebminCore;
=head2 new Webmin::TableAction(cgi, label, &args, disabled)
=head2 new WebminUI::TableAction(cgi, label, &args, disabled)
An object of this class can be added to a table or properties object to create
a link or action button of some kind.
=cut
sub new
{
if (defined(&Webmin::Theme::TableAction::new) &&
caller() !~ /Webmin::Theme::TableAction/) {
return new Webmin::Theme::TableAction(@_[1..$#_]);
if (defined(&WebminUI::Theme::TableAction::new) &&
caller() !~ /WebminUI::Theme::TableAction/) {
return new WebminUI::Theme::TableAction(@_[1..$#_]);
}
my ($self, $cgi, $value, $args, $disabled) = @_;
$self = { };

View File

@@ -1,14 +1,14 @@
package Webmin::Tabs;
package WebminUI::Tabs;
use WebminCore;
=head2 new Webmin::Tabs([&tabs])
=head2 new WebminUI::Tabs([&tabs])
Displayed at the top of a page, to allow selection of various pages
=cut
sub new
{
my ($self, $tabs) = @_;
if (defined(&Webmin::Theme::Tabs::new)) {
return new Webmin::Theme::Tabs(@_[1..$#_]);
if (defined(&WebminUI::Theme::Tabs::new)) {
return new WebminUI::Theme::Tabs(@_[1..$#_]);
}
$self = { 'tabs' => [ ],
'tab' => 0 };

View File

@@ -1,15 +1,15 @@
package Webmin::Textarea;
use Webmin::Input;
package WebminUI::Textarea;
use WebminUI::Input;
use WebminCore;
@ISA = ( "Webmin::Input" );
@ISA = ( "WebminUI::Input" );
=head2 new Webmin::Textarea(name, value, rows, cols, [wrap], [disabled])
=head2 new WebminUI::Textarea(name, value, rows, cols, [wrap], [disabled])
Create a new text box, with the given size
=cut
sub new
{
if (defined(&Webmin::Theme::Textarea::new)) {
return new Webmin::Theme::Textarea(@_[1..$#_]);
if (defined(&WebminUI::Theme::Textarea::new)) {
return new WebminUI::Theme::Textarea(@_[1..$#_]);
}
my ($self, $name, $value, $rows, $cols, $wrap, $disabled) = @_;
$self = { };
@@ -113,7 +113,7 @@ Returns the value, without any \r characters
sub get_value
{
my ($self) = @_;
my $rv = Webmin::Input::get_value($self);
my $rv = WebminUI::Input::get_value($self);
$rv =~ s/\r//g;
return $rv;
}

View File

@@ -1,15 +1,15 @@
package Webmin::Textbox;
use Webmin::Input;
package WebminUI::Textbox;
use WebminUI::Input;
use WebminCore;
@ISA = ( "Webmin::Input" );
@ISA = ( "WebminUI::Input" );
=head2 new Webmin::Textbox(name, value, [size], [disabled])
=head2 new WebminUI::Textbox(name, value, [size], [disabled])
Create a new text input field
=cut
sub new
{
if (defined(&Webmin::Theme::Textbox::new)) {
return new Webmin::Theme::Textbox(@_[1..$#_]);
if (defined(&WebminUI::Theme::Textbox::new)) {
return new WebminUI::Theme::Textbox(@_[1..$#_]);
}
my ($self, $name, $value, $size, $disabled) = @_;
$self = { 'size' => 30 };

View File

@@ -1,16 +1,16 @@
package Webmin::Time;
use Webmin::Input;
package WebminUI::Time;
use WebminUI::Input;
use Time::Local;
use WebminCore;
@ISA = ( "Webmin::Input" );
@ISA = ( "WebminUI::Input" );
=head2 new Webmin::Time(name, time, [disabled])
=head2 new WebminUI::Time(name, time, [disabled])
Create a new field for selecting a time
=cut
sub new
{
if (defined(&Webmin::Theme::Time::new)) {
return new Webmin::Theme::Time(@_[1..$#_]);
if (defined(&WebminUI::Theme::Time::new)) {
return new WebminUI::Theme::Time(@_[1..$#_]);
}
my ($self, $name, $value, $disabled) = @_;
bless($self = { });

View File

@@ -1,14 +1,14 @@
package Webmin::TitleList;
package WebminUI::TitleList;
use WebminCore;
=head2 new Webmin::TitleList(title, &links, [alt-text])
=head2 new WebminUI::TitleList(title, &links, [alt-text])
Generates a title with a list of links under it
=cut
sub new
{
my ($self, $title, $links, $alt) = @_;
if (defined(&Webmin::Theme::TitleList::new)) {
return new Webmin::Theme::TitleList(@_[1..$#_]);
if (defined(&WebminUI::Theme::TitleList::new)) {
return new WebminUI::Theme::TitleList(@_[1..$#_]);
}
$self = { };
bless($self);
@@ -88,7 +88,7 @@ my ($self, $name, $link) = @_;
push(@{$self->{'links'}}, [ $name, $link ]);
}
=head2 set_page(Webmin::Page)
=head2 set_page(WebminUI::Page)
Called when this menu is added to a page
=cut
sub set_page

View File

@@ -1,15 +1,15 @@
package Webmin::Upload;
use Webmin::Input;
package WebminUI::Upload;
use WebminUI::Input;
use WebminCore;
@ISA = ( "Webmin::Input" );
@ISA = ( "WebminUI::Input" );
=head2 new Webmin::Upload(name, [size])
=head2 new WebminUI::Upload(name, [size])
Create a new file upload field
=cut
sub new
{
if (defined(&Webmin::Theme::Upload::new)) {
return new Webmin::Theme::Upload(@_[1..$#_]);
if (defined(&WebminUI::Theme::Upload::new)) {
return new WebminUI::Theme::Upload(@_[1..$#_]);
}
my ($self, $name, $size) = @_;
$self = { 'size' => 30 };

View File

@@ -1,18 +1,18 @@
package Webmin::User;
use Webmin::Textbox;
package WebminUI::User;
use WebminUI::Textbox;
use WebminCore;
@ISA = ( "Webmin::Textbox" );
@ISA = ( "WebminUI::Textbox" );
=head2 new Webmin::User(name, value, [multiple], [disabled])
=head2 new WebminUI::User(name, value, [multiple], [disabled])
A text box for entering or selecting one or many Unix usernames
=cut
sub new
{
if (defined(&Webmin::Theme::User::new)) {
return new Webmin::Theme::User(@_[1..$#_]);
if (defined(&WebminUI::Theme::User::new)) {
return new WebminUI::Theme::User(@_[1..$#_]);
}
my ($self, $name, $value, $multiple, $disabled) = @_;
$self = new Webmin::Textbox($name, $value, $multiple ? 40 : 15, $disabled);
$self = new WebminUI::Textbox($name, $value, $multiple ? 40 : 15, $disabled);
bless($self);
$self->set_multiple($multiple);
return $self;
@@ -24,7 +24,7 @@ Returns the HTML for this user input
sub html
{
my ($self) = @_;
my $rv = Webmin::Textbox::html($self);
my $rv = WebminUI::Textbox::html($self);
my $name = $self->get_name();
my $multiple = $self->get_multiple();
local $w = $multiple ? 500 : 300;

View File

@@ -1,6 +0,0 @@
Revision history for Perl extension Authen::SolarisRBAC.
0.01 Mon Apr 18 11:53:37 2005
- original version; created by h2xs 1.20 with options
-A -n Authen::SolarisRBAC

View File

@@ -1,6 +0,0 @@
Changes
MANIFEST
Makefile.PL
SolarisRBAC.pm
SolarisRBAC.xs
test.pl

View File

@@ -1,877 +0,0 @@
# This Makefile is for the Authen::SolarisRBAC extension to perl.
#
# It was generated automatically by MakeMaker version
# 6.17 (Revision: 1.133) from the contents of
# Makefile.PL. Don't edit this file, edit Makefile.PL instead.
#
# ANY CHANGES MADE HERE WILL BE LOST!
#
# MakeMaker ARGV: ()
#
# MakeMaker Parameters:
# CCCDLFLAGS => q[ ]
# CCFLAGS => q[ ]
# DEFINE => q[]
# INC => q[]
# LIBS => [q[-lsecdb -lsocket -lnsl -lintl]]
# NAME => q[Authen::SolarisRBAC]
# OPTIMIZE => q[ ]
# PREREQ_PM => { }
# VERSION_FROM => q[SolarisRBAC.pm]
# --- MakeMaker post_initialize section:
# --- MakeMaker const_config section:
# These definitions are from config.sh (via /usr/perl5/5.8.4/lib/sun4-solaris-64int/Config.pm)
# They may have been overridden via Makefile.PL or on the command line
AR = ar
CC = cc
CCCDLFLAGS =
CCDLFLAGS = -R /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE
DLEXT = so
DLSRC = dl_dlopen.xs
LD = cc
LDDLFLAGS = -G
LDFLAGS =
LIBC = /lib/libc.so
LIB_EXT = .a
OBJ_EXT = .o
OSNAME = solaris
OSVERS = 2.10
RANLIB = :
SITELIBEXP = /usr/perl5/site_perl/5.8.4
SITEARCHEXP = /usr/perl5/site_perl/5.8.4/sun4-solaris-64int
SO = so
EXE_EXT =
FULL_AR = /usr/ccs/bin/ar
VENDORARCHEXP = /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
VENDORLIBEXP = /usr/perl5/vendor_perl/5.8.4
# --- MakeMaker constants section:
AR_STATIC_ARGS = cr
DIRFILESEP = /
NAME = Authen::SolarisRBAC
NAME_SYM = Authen_SolarisRBAC
VERSION = 0.1
VERSION_MACRO = VERSION
VERSION_SYM = 0_1
DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
XS_VERSION = 0.1
XS_VERSION_MACRO = XS_VERSION
XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
INST_ARCHLIB = blib/arch
INST_SCRIPT = blib/script
INST_BIN = blib/bin
INST_LIB = blib/lib
INST_MAN1DIR = blib/man1
INST_MAN3DIR = blib/man3
MAN1EXT = 1
MAN3EXT = 3
INSTALLDIRS = site
DESTDIR =
PREFIX =
PERLPREFIX = /usr/perl5/5.8.4
SITEPREFIX = /usr/perl5/5.8.4
VENDORPREFIX = /usr/perl5/5.8.4
INSTALLPRIVLIB = $(PERLPREFIX)/lib
DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB)
INSTALLSITELIB = /usr/perl5/site_perl/5.8.4
DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB)
INSTALLVENDORLIB = /usr/perl5/vendor_perl/5.8.4
DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB)
INSTALLARCHLIB = $(PERLPREFIX)/lib/sun4-solaris-64int
DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB)
INSTALLSITEARCH = /usr/perl5/site_perl/5.8.4/sun4-solaris-64int
DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH)
INSTALLVENDORARCH = /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int
DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH)
INSTALLBIN = $(PERLPREFIX)/bin
DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN)
INSTALLSITEBIN = $(SITEPREFIX)/bin
DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN)
INSTALLVENDORBIN = $(VENDORPREFIX)/bin
DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN)
INSTALLSCRIPT = $(PERLPREFIX)/bin
DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT)
INSTALLMAN1DIR = $(PERLPREFIX)/man/man1
DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR)
INSTALLSITEMAN1DIR = $(SITEPREFIX)/man/man1
DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR)
INSTALLVENDORMAN1DIR = $(VENDORPREFIX)/man/man1
DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR)
INSTALLMAN3DIR = $(PERLPREFIX)/man/man3
DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR)
INSTALLSITEMAN3DIR = $(SITEPREFIX)/man/man3
DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR)
INSTALLVENDORMAN3DIR = $(VENDORPREFIX)/man/man3
DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR)
PERL_LIB = /usr/perl5/5.8.4/lib
PERL_ARCHLIB = /usr/perl5/5.8.4/lib/sun4-solaris-64int
LIBPERL_A = libperl.a
FIRST_MAKEFILE = Makefile
MAKEFILE_OLD = $(FIRST_MAKEFILE).old
MAKE_APERL_FILE = $(FIRST_MAKEFILE).aperl
PERLMAINCC = $(CC)
PERL_INC = /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE
PERL = /usr/local/bin/perl
FULLPERL = /usr/local/bin/perl
ABSPERL = $(PERL)
PERLRUN = $(PERL)
FULLPERLRUN = $(FULLPERL)
ABSPERLRUN = $(ABSPERL)
PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
PERL_CORE = 0
PERM_RW = 644
PERM_RWX = 755
MAKEMAKER = /usr/perl5/5.8.4/lib/ExtUtils/MakeMaker.pm
MM_VERSION = 6.17
MM_REVISION = 1.133
# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
# DLBASE = Basename part of dynamic library. May be just equal BASEEXT.
FULLEXT = Authen/SolarisRBAC
BASEEXT = SolarisRBAC
PARENT_NAME = Authen
DLBASE = $(BASEEXT)
VERSION_FROM = SolarisRBAC.pm
INC =
DEFINE =
OBJECT = $(BASEEXT)$(OBJ_EXT)
LDFROM = $(OBJECT)
LINKTYPE = dynamic
# Handy lists of source code files:
XS_FILES = SolarisRBAC.xs
C_FILES = SolarisRBAC.c
O_FILES = SolarisRBAC.o
H_FILES =
MAN1PODS =
MAN3PODS = SolarisRBAC.pm
# Where is the Config information that we are using/depend on
CONFIGDEP = $(PERL_ARCHLIB)$(DIRFILESEP)Config.pm $(PERL_INC)$(DIRFILESEP)config.h
# Where to build things
INST_LIBDIR = $(INST_LIB)/Authen
INST_ARCHLIBDIR = $(INST_ARCHLIB)/Authen
INST_AUTODIR = $(INST_LIB)/auto/$(FULLEXT)
INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT)
INST_STATIC = $(INST_ARCHAUTODIR)/$(BASEEXT)$(LIB_EXT)
INST_DYNAMIC = $(INST_ARCHAUTODIR)/$(DLBASE).$(DLEXT)
INST_BOOT = $(INST_ARCHAUTODIR)/$(BASEEXT).bs
# Extra linker info
EXPORT_LIST =
PERL_ARCHIVE =
PERL_ARCHIVE_AFTER =
TO_INST_PM = SolarisRBAC.pm
PM_TO_BLIB = SolarisRBAC.pm \
$(INST_LIB)/Authen/SolarisRBAC.pm
# --- MakeMaker platform_constants section:
MM_Unix_VERSION = 1.42
PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc
# --- MakeMaker tool_autosplit section:
# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
AUTOSPLITFILE = $(PERLRUN) -e 'use AutoSplit; autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1)'
# --- MakeMaker tool_xsubpp section:
XSUBPPDIR = /usr/perl5/5.8.4/lib/ExtUtils
XSUBPP = $(XSUBPPDIR)/xsubpp
XSPROTOARG =
XSUBPPDEPS = /usr/perl5/5.8.4/lib/ExtUtils/typemap $(XSUBPP)
XSUBPPARGS = -typemap /usr/perl5/5.8.4/lib/ExtUtils/typemap
XSUBPP_EXTRA_ARGS =
# --- MakeMaker tools_other section:
SHELL = /bin/sh
CHMOD = chmod
CP = cp
MV = mv
NOOP = $(SHELL) -c true
NOECHO = @
RM_F = rm -f
RM_RF = rm -rf
TEST_F = test -f
TOUCH = touch
UMASK_NULL = umask 0
DEV_NULL = > /dev/null 2>&1
MKPATH = $(PERLRUN) "-MExtUtils::Command" -e mkpath
EQUALIZE_TIMESTAMP = $(PERLRUN) "-MExtUtils::Command" -e eqtime
ECHO = echo
ECHO_N = echo -n
UNINST = 0
VERBINST = 0
MOD_INSTALL = $(PERLRUN) -MExtUtils::Install -e 'install({@ARGV}, '\''$(VERBINST)'\'', 0, '\''$(UNINST)'\'');'
DOC_INSTALL = $(PERLRUN) "-MExtUtils::Command::MM" -e perllocal_install
UNINSTALL = $(PERLRUN) "-MExtUtils::Command::MM" -e uninstall
WARN_IF_OLD_PACKLIST = $(PERLRUN) "-MExtUtils::Command::MM" -e warn_if_old_packlist
# --- MakeMaker makemakerdflt section:
makemakerdflt: all
$(NOECHO) $(NOOP)
# --- MakeMaker dist section:
TAR = tar
TARFLAGS = cvf
ZIP = zip
ZIPFLAGS = -r
COMPRESS = gzip --best
SUFFIX = .gz
SHAR = shar
PREOP = $(NOECHO) $(NOOP)
POSTOP = $(NOECHO) $(NOOP)
TO_UNIX = $(NOECHO) $(NOOP)
CI = ci -u
RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
DIST_CP = best
DIST_DEFAULT = tardist
DISTNAME = Authen-SolarisRBAC
DISTVNAME = Authen-SolarisRBAC-0.1
# --- MakeMaker macro section:
# --- MakeMaker depend section:
# --- MakeMaker cflags section:
CCFLAGS =
OPTIMIZE =
PERLTYPE =
MPOLLUTE =
# --- MakeMaker const_loadlibs section:
# Authen::SolarisRBAC might depend on some other libraries:
# See ExtUtils::Liblist for details
#
EXTRALIBS = -lsecdb -lintl
LDLOADLIBS = -lsecdb -lsocket -lnsl -lintl
BSLOADLIBS =
LD_RUN_PATH = /lib
# --- MakeMaker const_cccmd section:
CCCMD = $(CC) -c $(PASTHRU_INC) $(INC) \
$(CCFLAGS) $(OPTIMIZE) \
$(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \
$(XS_DEFINE_VERSION)
# --- MakeMaker post_constants section:
# --- MakeMaker pasthru section:
PASTHRU = LIB="$(LIB)"\
LIBPERL_A="$(LIBPERL_A)"\
LINKTYPE="$(LINKTYPE)"\
PREFIX="$(PREFIX)"\
OPTIMIZE="$(OPTIMIZE)"\
PASTHRU_DEFINE="$(PASTHRU_DEFINE)"\
PASTHRU_INC="$(PASTHRU_INC)"
# --- MakeMaker special_targets section:
.SUFFIXES: .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT)
.PHONY: all config static dynamic test linkext manifest
# --- MakeMaker c_o section:
.c.i:
cc -E -c $(PASTHRU_INC) $(INC) \
$(CCFLAGS) $(OPTIMIZE) \
$(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \
$(XS_DEFINE_VERSION) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c > $*.i
.c.s:
$(CCCMD) -S $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c
.c$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c
.C$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.C
.cpp$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cpp
.cxx$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cxx
.cc$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cc
# --- MakeMaker xs_c section:
.xs.c:
$(PERLRUN) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $(XSUBPP_EXTRA_ARGS) $*.xs > $*.xsc && $(MV) $*.xsc $*.c
# --- MakeMaker xs_o section:
.xs$(OBJ_EXT):
$(PERLRUN) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.xsc && $(MV) $*.xsc $*.c
$(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c
# --- MakeMaker top_targets section:
all :: pure_all manifypods
$(NOECHO) $(NOOP)
pure_all :: config pm_to_blib subdirs linkext
$(NOECHO) $(NOOP)
subdirs :: $(MYEXTLIB)
$(NOECHO) $(NOOP)
config :: $(FIRST_MAKEFILE) $(INST_LIBDIR)$(DIRFILESEP).exists
$(NOECHO) $(NOOP)
config :: $(INST_ARCHAUTODIR)$(DIRFILESEP).exists
$(NOECHO) $(NOOP)
config :: $(INST_AUTODIR)$(DIRFILESEP).exists
$(NOECHO) $(NOOP)
$(INST_AUTODIR)/.exists :: /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/perl.h
$(NOECHO) $(MKPATH) $(INST_AUTODIR)
$(NOECHO) $(EQUALIZE_TIMESTAMP) /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/perl.h $(INST_AUTODIR)/.exists
-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_AUTODIR)
$(INST_LIBDIR)/.exists :: /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/perl.h
$(NOECHO) $(MKPATH) $(INST_LIBDIR)
$(NOECHO) $(EQUALIZE_TIMESTAMP) /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/perl.h $(INST_LIBDIR)/.exists
-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_LIBDIR)
$(INST_ARCHAUTODIR)/.exists :: /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/perl.h
$(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR)
$(NOECHO) $(EQUALIZE_TIMESTAMP) /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/perl.h $(INST_ARCHAUTODIR)/.exists
-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_ARCHAUTODIR)
config :: $(INST_MAN3DIR)$(DIRFILESEP).exists
$(NOECHO) $(NOOP)
$(INST_MAN3DIR)/.exists :: /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/perl.h
$(NOECHO) $(MKPATH) $(INST_MAN3DIR)
$(NOECHO) $(EQUALIZE_TIMESTAMP) /usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE/perl.h $(INST_MAN3DIR)/.exists
-$(NOECHO) $(CHMOD) $(PERM_RWX) $(INST_MAN3DIR)
help:
perldoc ExtUtils::MakeMaker
# --- MakeMaker linkext section:
linkext :: $(LINKTYPE)
$(NOECHO) $(NOOP)
# --- MakeMaker dlsyms section:
# --- MakeMaker dynamic section:
dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT)
$(NOECHO) $(NOOP)
# --- MakeMaker dynamic_bs section:
BOOTSTRAP = $(BASEEXT).bs
# As Mkbootstrap might not write a file (if none is required)
# we use touch to prevent make continually trying to remake it.
# The DynaLoader only reads a non-empty file.
$(BOOTSTRAP): $(FIRST_MAKEFILE) $(BOOTDEP) $(INST_ARCHAUTODIR)$(DIRFILESEP).exists
$(NOECHO) $(ECHO) "Running Mkbootstrap for $(NAME) ($(BSLOADLIBS))"
$(NOECHO) $(PERLRUN) \
"-MExtUtils::Mkbootstrap" \
-e "Mkbootstrap('$(BASEEXT)','$(BSLOADLIBS)');"
$(NOECHO) $(TOUCH) $(BOOTSTRAP)
$(CHMOD) $(PERM_RW) $@
$(INST_BOOT): $(BOOTSTRAP) $(INST_ARCHAUTODIR)$(DIRFILESEP).exists
$(NOECHO) $(RM_RF) $(INST_BOOT)
-$(CP) $(BOOTSTRAP) $(INST_BOOT)
$(CHMOD) $(PERM_RW) $@
# --- MakeMaker dynamic_lib section:
# This section creates the dynamically loadable $(INST_DYNAMIC)
# from $(OBJECT) and possibly $(MYEXTLIB).
ARMAYBE = :
OTHERLDFLAGS =
INST_DYNAMIC_DEP =
INST_DYNAMIC_FIX =
$(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) $(INST_ARCHAUTODIR)$(DIRFILESEP).exists $(EXPORT_LIST) $(PERL_ARCHIVE) $(PERL_ARCHIVE_AFTER) $(INST_DYNAMIC_DEP)
$(RM_F) $@
LD_RUN_PATH="$(LD_RUN_PATH)" $(LD) $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) -o $@ $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) $(PERL_ARCHIVE_AFTER) $(EXPORT_LIST) $(INST_DYNAMIC_FIX)
$(CHMOD) $(PERM_RWX) $@
# --- MakeMaker static section:
## $(INST_PM) has been moved to the all: target.
## It remains here for awhile to allow for old usage: "make static"
static :: $(FIRST_MAKEFILE) $(INST_STATIC)
$(NOECHO) $(NOOP)
# --- MakeMaker static_lib section:
$(INST_STATIC): $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)$(DIRFILESEP).exists
$(RM_RF) $@
$(FULL_AR) $(AR_STATIC_ARGS) $@ $(OBJECT) && $(RANLIB) $@
$(CHMOD) $(PERM_RWX) $@
$(NOECHO) $(ECHO) "$(EXTRALIBS)" > $(INST_ARCHAUTODIR)/extralibs.ld
# --- MakeMaker manifypods section:
POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--"
POD2MAN = $(POD2MAN_EXE)
manifypods : pure_all \
SolarisRBAC.pm \
SolarisRBAC.pm
$(NOECHO) $(POD2MAN) --section=3 --perm_rw=$(PERM_RW)\
SolarisRBAC.pm $(INST_MAN3DIR)/Authen::SolarisRBAC.$(MAN3EXT)
# --- MakeMaker processPL section:
# --- MakeMaker installbin section:
# --- MakeMaker subdirs section:
# none
# --- MakeMaker clean_subdirs section:
clean_subdirs :
$(NOECHO) $(NOOP)
# --- MakeMaker clean section:
# Delete temporary files but do not touch installed files. We don't delete
# the Makefile here so a later make realclean still has a makefile to use.
clean :: clean_subdirs
-$(RM_RF) SolarisRBAC.c ./blib $(MAKE_APERL_FILE) $(INST_ARCHAUTODIR)/extralibs.all $(INST_ARCHAUTODIR)/extralibs.ld perlmain.c tmon.out mon.out so_locations pm_to_blib *$(OBJ_EXT) *$(LIB_EXT) perl.exe perl perl$(EXE_EXT) $(BOOTSTRAP) $(BASEEXT).bso $(BASEEXT).def lib$(BASEEXT).def $(BASEEXT).exp $(BASEEXT).x core core.*perl.*.? *perl.core core.[0-9] core.[0-9][0-9] core.[0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9] core.[0-9][0-9][0-9][0-9][0-9]
-$(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)
# --- MakeMaker realclean_subdirs section:
realclean_subdirs :
$(NOECHO) $(NOOP)
# --- MakeMaker realclean section:
# Delete temporary files (via clean) and also delete installed files
realclean purge :: clean realclean_subdirs
$(RM_RF) $(INST_AUTODIR) $(INST_ARCHAUTODIR)
$(RM_RF) $(DISTVNAME)
$(RM_F) $(INST_DYNAMIC) $(INST_BOOT)
$(RM_F) $(INST_STATIC)
$(RM_F) $(INST_LIB)/Authen/SolarisRBAC.pm $(MAKEFILE_OLD) $(FIRST_MAKEFILE)
# --- MakeMaker metafile section:
metafile :
$(NOECHO) $(ECHO) '# http://module-build.sourceforge.net/META-spec.html' > META.yml
$(NOECHO) $(ECHO) '#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#' >> META.yml
$(NOECHO) $(ECHO) 'name: Authen-SolarisRBAC' >> META.yml
$(NOECHO) $(ECHO) 'version: 0.1' >> META.yml
$(NOECHO) $(ECHO) 'version_from: SolarisRBAC.pm' >> META.yml
$(NOECHO) $(ECHO) 'installdirs: site' >> META.yml
$(NOECHO) $(ECHO) 'requires:' >> META.yml
$(NOECHO) $(ECHO) '' >> META.yml
$(NOECHO) $(ECHO) 'distribution_type: module' >> META.yml
$(NOECHO) $(ECHO) 'generated_by: ExtUtils::MakeMaker version 6.17' >> META.yml
# --- MakeMaker metafile_addtomanifest section:
metafile_addtomanifest:
$(NOECHO) $(PERLRUN) -MExtUtils::Manifest=maniadd -e 'eval { maniadd({q{META.yml} => q{Module meta-data (added by MakeMaker)}}) } ' \
-e ' or print "Could not add META.yml to MANIFEST: $${'\''@'\''}\n"'
# --- MakeMaker dist_basics section:
distclean :: realclean distcheck
$(NOECHO) $(NOOP)
distcheck :
$(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck
skipcheck :
$(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck
manifest :
$(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest
veryclean : realclean
$(RM_F) *~ *.orig */*~ */*.orig
# --- MakeMaker dist_core section:
dist : $(DIST_DEFAULT) $(FIRST_MAKEFILE)
$(NOECHO) $(PERLRUN) -l -e 'print '\''Warning: Makefile possibly out of date with $(VERSION_FROM)'\''' \
-e ' if -e '\''$(VERSION_FROM)'\'' and -M '\''$(VERSION_FROM)'\'' < -M '\''$(FIRST_MAKEFILE)'\'';'
tardist : $(DISTVNAME).tar$(SUFFIX)
$(NOECHO) $(NOOP)
uutardist : $(DISTVNAME).tar$(SUFFIX)
uuencode $(DISTVNAME).tar$(SUFFIX) $(DISTVNAME).tar$(SUFFIX) > $(DISTVNAME).tar$(SUFFIX)_uu
$(DISTVNAME).tar$(SUFFIX) : distdir
$(PREOP)
$(TO_UNIX)
$(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
$(RM_RF) $(DISTVNAME)
$(COMPRESS) $(DISTVNAME).tar
$(POSTOP)
zipdist : $(DISTVNAME).zip
$(NOECHO) $(NOOP)
$(DISTVNAME).zip : distdir
$(PREOP)
$(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
$(RM_RF) $(DISTVNAME)
$(POSTOP)
shdist : distdir
$(PREOP)
$(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
$(RM_RF) $(DISTVNAME)
$(POSTOP)
# --- MakeMaker distdir section:
distdir : metafile metafile_addtomanifest
$(RM_RF) $(DISTVNAME)
$(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \
-e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"
# --- MakeMaker dist_test section:
disttest : distdir
cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL
cd $(DISTVNAME) && $(MAKE) $(PASTHRU)
cd $(DISTVNAME) && $(MAKE) test $(PASTHRU)
# --- MakeMaker dist_ci section:
ci :
$(PERLRUN) "-MExtUtils::Manifest=maniread" \
-e "@all = keys %{ maniread() };" \
-e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \
-e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LABEL) @all});"
# --- MakeMaker install section:
install :: all pure_install doc_install
install_perl :: all pure_perl_install doc_perl_install
install_site :: all pure_site_install doc_site_install
install_vendor :: all pure_vendor_install doc_vendor_install
pure_install :: pure_$(INSTALLDIRS)_install
doc_install :: doc_$(INSTALLDIRS)_install
pure__install : pure_site_install
$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
doc__install : doc_site_install
$(NOECHO) $(ECHO) INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
pure_perl_install ::
$(NOECHO) $(MOD_INSTALL) \
read $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist \
write $(DESTINSTALLARCHLIB)/auto/$(FULLEXT)/.packlist \
$(INST_LIB) $(DESTINSTALLPRIVLIB) \
$(INST_ARCHLIB) $(DESTINSTALLARCHLIB) \
$(INST_BIN) $(DESTINSTALLBIN) \
$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
$(INST_MAN1DIR) $(DESTINSTALLMAN1DIR) \
$(INST_MAN3DIR) $(DESTINSTALLMAN3DIR)
$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
$(SITEARCHEXP)/auto/$(FULLEXT)
pure_site_install ::
$(NOECHO) $(MOD_INSTALL) \
read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \
write $(DESTINSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \
$(INST_LIB) $(DESTINSTALLSITELIB) \
$(INST_ARCHLIB) $(DESTINSTALLSITEARCH) \
$(INST_BIN) $(DESTINSTALLSITEBIN) \
$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
$(INST_MAN1DIR) $(DESTINSTALLSITEMAN1DIR) \
$(INST_MAN3DIR) $(DESTINSTALLSITEMAN3DIR)
$(NOECHO) $(WARN_IF_OLD_PACKLIST) \
$(PERL_ARCHLIB)/auto/$(FULLEXT)
pure_vendor_install ::
$(NOECHO) $(MOD_INSTALL) \
read $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist \
write $(DESTINSTALLVENDORARCH)/auto/$(FULLEXT)/.packlist \
$(INST_LIB) $(DESTINSTALLVENDORLIB) \
$(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
$(INST_BIN) $(DESTINSTALLVENDORBIN) \
$(INST_SCRIPT) $(DESTINSTALLSCRIPT) \
$(INST_MAN1DIR) $(DESTINSTALLVENDORMAN1DIR) \
$(INST_MAN3DIR) $(DESTINSTALLVENDORMAN3DIR)
doc_perl_install ::
$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
-$(NOECHO) $(DOC_INSTALL) \
"Module" "$(NAME)" \
"installed into" "$(INSTALLPRIVLIB)" \
LINKTYPE "$(LINKTYPE)" \
VERSION "$(VERSION)" \
EXE_FILES "$(EXE_FILES)" \
>> $(DESTINSTALLARCHLIB)/perllocal.pod
doc_site_install ::
$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
-$(NOECHO) $(DOC_INSTALL) \
"Module" "$(NAME)" \
"installed into" "$(INSTALLSITELIB)" \
LINKTYPE "$(LINKTYPE)" \
VERSION "$(VERSION)" \
EXE_FILES "$(EXE_FILES)" \
>> $(DESTINSTALLARCHLIB)/perllocal.pod
doc_vendor_install ::
$(NOECHO) $(ECHO) Appending installation info to $(DESTINSTALLARCHLIB)/perllocal.pod
-$(NOECHO) $(MKPATH) $(DESTINSTALLARCHLIB)
-$(NOECHO) $(DOC_INSTALL) \
"Module" "$(NAME)" \
"installed into" "$(INSTALLVENDORLIB)" \
LINKTYPE "$(LINKTYPE)" \
VERSION "$(VERSION)" \
EXE_FILES "$(EXE_FILES)" \
>> $(DESTINSTALLARCHLIB)/perllocal.pod
uninstall :: uninstall_from_$(INSTALLDIRS)dirs
uninstall_from_perldirs ::
$(NOECHO) $(UNINSTALL) $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist
uninstall_from_sitedirs ::
$(NOECHO) $(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist
uninstall_from_vendordirs ::
$(NOECHO) $(UNINSTALL) $(VENDORARCHEXP)/auto/$(FULLEXT)/.packlist
# --- MakeMaker force section:
# Phony target to force checking subdirectories.
FORCE:
$(NOECHO) $(NOOP)
# --- MakeMaker perldepend section:
PERL_HDRS = \
$(PERL_INC)/EXTERN.h \
$(PERL_INC)/INTERN.h \
$(PERL_INC)/XSUB.h \
$(PERL_INC)/av.h \
$(PERL_INC)/cc_runtime.h \
$(PERL_INC)/config.h \
$(PERL_INC)/cop.h \
$(PERL_INC)/cv.h \
$(PERL_INC)/dosish.h \
$(PERL_INC)/embed.h \
$(PERL_INC)/embedvar.h \
$(PERL_INC)/fakethr.h \
$(PERL_INC)/form.h \
$(PERL_INC)/gv.h \
$(PERL_INC)/handy.h \
$(PERL_INC)/hv.h \
$(PERL_INC)/intrpvar.h \
$(PERL_INC)/iperlsys.h \
$(PERL_INC)/keywords.h \
$(PERL_INC)/mg.h \
$(PERL_INC)/nostdio.h \
$(PERL_INC)/op.h \
$(PERL_INC)/opcode.h \
$(PERL_INC)/patchlevel.h \
$(PERL_INC)/perl.h \
$(PERL_INC)/perlio.h \
$(PERL_INC)/perlsdio.h \
$(PERL_INC)/perlsfio.h \
$(PERL_INC)/perlvars.h \
$(PERL_INC)/perly.h \
$(PERL_INC)/pp.h \
$(PERL_INC)/pp_proto.h \
$(PERL_INC)/proto.h \
$(PERL_INC)/regcomp.h \
$(PERL_INC)/regexp.h \
$(PERL_INC)/regnodes.h \
$(PERL_INC)/scope.h \
$(PERL_INC)/sv.h \
$(PERL_INC)/thrdvar.h \
$(PERL_INC)/thread.h \
$(PERL_INC)/unixish.h \
$(PERL_INC)/util.h
$(OBJECT) : $(PERL_HDRS)
SolarisRBAC.c : $(XSUBPPDEPS)
# --- MakeMaker makefile section:
$(OBJECT) : $(FIRST_MAKEFILE)
# We take a very conservative approach here, but it's worth it.
# We move Makefile to Makefile.old here to avoid gnu make looping.
$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP)
$(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?"
$(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..."
$(NOECHO) $(RM_F) $(MAKEFILE_OLD)
$(NOECHO) $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD)
-$(MAKE) -f $(MAKEFILE_OLD) clean $(DEV_NULL) || $(NOOP)
$(PERLRUN) Makefile.PL
$(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <=="
$(NOECHO) $(ECHO) "==> Please rerun the make command. <=="
false
# --- MakeMaker staticmake section:
# --- MakeMaker makeaperl section ---
MAP_TARGET = perl
FULLPERL = /usr/local/bin/perl
$(MAP_TARGET) :: static $(MAKE_APERL_FILE)
$(MAKE) -f $(MAKE_APERL_FILE) $@
$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE)
$(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
$(NOECHO) $(PERLRUNINST) \
Makefile.PL DIR= \
MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=
# --- MakeMaker test section:
TEST_VERBOSE=0
TEST_TYPE=test_$(LINKTYPE)
TEST_FILE = test.pl
TEST_FILES =
TESTDB_SW = -d
testdb :: testdb_$(LINKTYPE)
test :: $(TEST_TYPE)
test_dynamic :: pure_all
PERL_DL_NONLAZY=1 $(FULLPERLRUN) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
testdb_dynamic :: pure_all
PERL_DL_NONLAZY=1 $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
test_ : test_dynamic
test_static :: pure_all $(MAP_TARGET)
PERL_DL_NONLAZY=1 ./$(MAP_TARGET) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
testdb_static :: pure_all $(MAP_TARGET)
PERL_DL_NONLAZY=1 ./$(MAP_TARGET) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)
# --- MakeMaker ppd section:
# Creates a PPD (Perl Package Description) for a binary distribution.
ppd:
$(NOECHO) $(ECHO) '<SOFTPKG NAME="$(DISTNAME)" VERSION="0,1,0,0">' > $(DISTNAME).ppd
$(NOECHO) $(ECHO) ' <TITLE>$(DISTNAME)</TITLE>' >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) ' <ABSTRACT></ABSTRACT>' >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) ' <AUTHOR></AUTHOR>' >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) ' <IMPLEMENTATION>' >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) ' <OS NAME="$(OSNAME)" />' >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) ' <ARCHITECTURE NAME="sun4-solaris-64int" />' >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) ' <CODEBASE HREF="" />' >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) ' </IMPLEMENTATION>' >> $(DISTNAME).ppd
$(NOECHO) $(ECHO) '</SOFTPKG>' >> $(DISTNAME).ppd
# --- MakeMaker pm_to_blib section:
pm_to_blib: $(TO_INST_PM)
$(NOECHO) $(PERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV}, '\''$(INST_LIB)/auto'\'', '\''$(PM_FILTER)'\'')'\
SolarisRBAC.pm $(INST_LIB)/Authen/SolarisRBAC.pm
$(NOECHO) $(TOUCH) $@
# --- MakeMaker selfdocument section:
# --- MakeMaker postamble section:
# End.

View File

@@ -1,14 +0,0 @@
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
'NAME' => 'Authen::SolarisRBAC',
'VERSION_FROM' => 'SolarisRBAC.pm', # finds $VERSION
'PREREQ_PM' => {}, # e.g., Module::Name => 1.1
'LIBS' => ['-lsecdb -lsocket -lnsl -lintl'], # e.g., '-lm'
'DEFINE' => '', # e.g., '-DHAVE_SOMETHING'
'INC' => '', # e.g., '-I/usr/include/other'
'CCCDLFLAGS' => ' ',
'CCFLAGS' => ' ',
'OPTIMIZE' => ' ',
);

View File

@@ -1,813 +0,0 @@
# This Makefile is for the Authen::SolarisRBAC extension to perl.
#
# It was generated automatically by MakeMaker version
# 5.45 (Revision: 1.222) from the contents of
# Makefile.PL. Don't edit this file, edit Makefile.PL instead.
#
# ANY CHANGES MADE HERE WILL BE LOST!
#
# MakeMaker ARGV: ()
#
# MakeMaker Parameters:
# DEFINE => q[]
# INC => q[]
# LIBS => [q[-lsecdb -lsocket -lnsl -lintl]]
# NAME => q[Authen::SolarisRBAC]
# PREREQ_PM => { }
# VERSION_FROM => q[SolarisRBAC.pm]
# --- MakeMaker post_initialize section:
# --- MakeMaker const_config section:
# These definitions are from config.sh (via /usr/lib/perl5/5.6.0/i386-linux/Config.pm)
# They may have been overridden via Makefile.PL or on the command line
AR = ar
CC = gcc
CCCDLFLAGS = -fpic
CCDLFLAGS = -rdynamic
DLEXT = so
DLSRC = dl_dlopen.xs
LD = gcc
LDDLFLAGS = -shared
LDFLAGS =
LIBC = /lib/libc-2.2.1.so
LIB_EXT = .a
OBJ_EXT = .o
OSNAME = linux
OSVERS = 2.2.14
RANLIB = :
SO = so
EXE_EXT =
FULL_AR = /usr/bin/ar
# --- MakeMaker constants section:
AR_STATIC_ARGS = cr
NAME = Authen::SolarisRBAC
DISTNAME = Authen-SolarisRBAC
NAME_SYM = Authen_SolarisRBAC
VERSION = 0.1
VERSION_SYM = 0_1
XS_VERSION = 0.1
INST_BIN = blib/bin
INST_EXE = blib/script
INST_LIB = blib/lib
INST_ARCHLIB = blib/arch
INST_SCRIPT = blib/script
PREFIX = /usr
INSTALLDIRS = site
INSTALLPRIVLIB = $(PREFIX)/lib/perl5/5.6.0
INSTALLARCHLIB = $(PREFIX)/lib/perl5/5.6.0/i386-linux
INSTALLSITELIB = $(PREFIX)/lib/perl5/site-perl
INSTALLSITEARCH = $(PREFIX)/lib/perl5/site-perl/i386-linux
INSTALLBIN = $(PREFIX)/bin
INSTALLSCRIPT = $(PREFIX)/bin
PERL_LIB = /usr/lib/perl5/5.6.0
PERL_ARCHLIB = /usr/lib/perl5/5.6.0/i386-linux
SITELIBEXP = /usr/lib/perl5/site-perl
SITEARCHEXP = /usr/lib/perl5/site-perl/i386-linux
LIBPERL_A = libperl.a
FIRST_MAKEFILE = Makefile
MAKE_APERL_FILE = Makefile.aperl
PERLMAINCC = $(CC)
PERL_INC = /usr/lib/perl5/5.6.0/i386-linux/CORE
PERL = /usr/local/bin/perl
FULLPERL = /usr/local/bin/perl
FULL_AR = /usr/bin/ar
VERSION_MACRO = VERSION
DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
XS_VERSION_MACRO = XS_VERSION
XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
PERL_MALLOC_DEF = -DPERL_EXTMALLOC_DEF -Dmalloc=Perl_malloc -Dfree=Perl_mfree -Drealloc=Perl_realloc -Dcalloc=Perl_calloc
MAKEMAKER = /usr/lib/perl5/5.6.0/ExtUtils/MakeMaker.pm
MM_VERSION = 5.45
# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
# ROOTEXT = Directory part of FULLEXT with leading slash (eg /DBD) !!! Deprecated from MM 5.32 !!!
# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
# DLBASE = Basename part of dynamic library. May be just equal BASEEXT.
FULLEXT = Authen/SolarisRBAC
BASEEXT = SolarisRBAC
PARENT_NAME = Authen
DLBASE = $(BASEEXT)
VERSION_FROM = SolarisRBAC.pm
INC =
DEFINE =
OBJECT = $(BASEEXT)$(OBJ_EXT)
LDFROM = $(OBJECT)
LINKTYPE = dynamic
# Handy lists of source code files:
XS_FILES= SolarisRBAC.xs
C_FILES = SolarisRBAC.c
O_FILES = SolarisRBAC.o
H_FILES =
HTMLLIBPODS =
HTMLSCRIPTPODS =
MAN1PODS =
MAN3PODS = SolarisRBAC.pm
HTMLEXT = html
INST_MAN1DIR = blib/man1
INSTALLMAN1DIR = /usr/share/man/en/man1
MAN1EXT = 1
INST_MAN3DIR = blib/man3
INSTALLMAN3DIR = /usr/share/perl5/man/man3
MAN3EXT = 3
PERM_RW = 644
PERM_RWX = 755
# work around a famous dec-osf make(1) feature(?):
makemakerdflt: all
.SUFFIXES: .xs .c .C .cpp .cxx .cc $(OBJ_EXT)
# Nick wanted to get rid of .PRECIOUS. I don't remember why. I seem to recall, that
# some make implementations will delete the Makefile when we rebuild it. Because
# we call false(1) when we rebuild it. So make(1) is not completely wrong when it
# does so. Our milage may vary.
# .PRECIOUS: Makefile # seems to be not necessary anymore
.PHONY: all config static dynamic test linkext manifest
# Where is the Config information that we are using/depend on
CONFIGDEP = $(PERL_ARCHLIB)/Config.pm $(PERL_INC)/config.h
# Where to put things:
INST_LIBDIR = $(INST_LIB)/Authen
INST_ARCHLIBDIR = $(INST_ARCHLIB)/Authen
INST_AUTODIR = $(INST_LIB)/auto/$(FULLEXT)
INST_ARCHAUTODIR = $(INST_ARCHLIB)/auto/$(FULLEXT)
INST_STATIC = $(INST_ARCHAUTODIR)/$(BASEEXT)$(LIB_EXT)
INST_DYNAMIC = $(INST_ARCHAUTODIR)/$(DLBASE).$(DLEXT)
INST_BOOT = $(INST_ARCHAUTODIR)/$(BASEEXT).bs
EXPORT_LIST =
PERL_ARCHIVE =
TO_INST_PM = SolarisRBAC.pm
PM_TO_BLIB = SolarisRBAC.pm \
$(INST_LIBDIR)/SolarisRBAC.pm
# --- MakeMaker tool_autosplit section:
# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
AUTOSPLITFILE = $(PERL) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" -e 'use AutoSplit;autosplit($$ARGV[0], $$ARGV[1], 0, 1, 1) ;'
# --- MakeMaker tool_xsubpp section:
XSUBPPDIR = /usr/lib/perl5/5.6.0/ExtUtils
XSUBPP = $(XSUBPPDIR)/xsubpp
XSPROTOARG =
XSUBPPDEPS = $(XSUBPPDIR)/typemap $(XSUBPP)
XSUBPPARGS = -typemap $(XSUBPPDIR)/typemap
# --- MakeMaker tools_other section:
SHELL = /bin/sh
CHMOD = chmod
CP = cp
LD = gcc
MV = mv
NOOP = $(SHELL) -c true
RM_F = rm -f
RM_RF = rm -rf
TEST_F = test -f
TOUCH = touch
UMASK_NULL = umask 0
DEV_NULL = > /dev/null 2>&1
# The following is a portable way to say mkdir -p
# To see which directories are created, change the if 0 to if 1
MKPATH = $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Command -e mkpath
# This helps us to minimize the effect of the .exists files A yet
# better solution would be to have a stable file in the perl
# distribution with a timestamp of zero. But this solution doesn't
# need any changes to the core distribution and works with older perls
EQUALIZE_TIMESTAMP = $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Command -e eqtime
# Here we warn users that an old packlist file was found somewhere,
# and that they should call some uninstall routine
WARN_IF_OLD_PACKLIST = $(PERL) -we 'exit unless -f $$ARGV[0];' \
-e 'print "WARNING: I have found an old package in\n";' \
-e 'print "\t$$ARGV[0].\n";' \
-e 'print "Please make sure the two installations are not conflicting\n";'
UNINST=0
VERBINST=1
MOD_INSTALL = $(PERL) -I$(INST_LIB) -I$(PERL_LIB) -MExtUtils::Install \
-e "install({@ARGV},'$(VERBINST)',0,'$(UNINST)');"
DOC_INSTALL = $(PERL) -e '$$\="\n\n";' \
-e 'print "=head2 ", scalar(localtime), ": C<", shift, ">", " L<", shift, ">";' \
-e 'print "=over 4";' \
-e 'while (defined($$key = shift) and defined($$val = shift)){print "=item *";print "C<$$key: $$val>";}' \
-e 'print "=back";'
UNINSTALL = $(PERL) -MExtUtils::Install \
-e 'uninstall($$ARGV[0],1,1); print "\nUninstall is deprecated. Please check the";' \
-e 'print " packlist above carefully.\n There may be errors. Remove the";' \
-e 'print " appropriate files manually.\n Sorry for the inconveniences.\n"'
# --- MakeMaker dist section:
DISTVNAME = $(DISTNAME)-$(VERSION)
TAR = tar
TARFLAGS = cvf
ZIP = zip
ZIPFLAGS = -r
COMPRESS = gzip --best
SUFFIX = .gz
SHAR = shar
PREOP = @$(NOOP)
POSTOP = @$(NOOP)
TO_UNIX = @$(NOOP)
CI = ci -u
RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
DIST_CP = best
DIST_DEFAULT = tardist
# --- MakeMaker macro section:
# --- MakeMaker depend section:
# --- MakeMaker cflags section:
CCFLAGS = -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
OPTIMIZE = -O2 -m486 -fno-strength-reduce -fomit-frame-pointer -pipe
PERLTYPE =
LARGE =
SPLIT =
MPOLLUTE =
# --- MakeMaker const_loadlibs section:
# Authen::SolarisRBAC might depend on some other libraries:
# See ExtUtils::Liblist for details
#
EXTRALIBS = -lnsl -lintl
LDLOADLIBS = -lnsl -lintl
BSLOADLIBS =
LD_RUN_PATH = /lib:/usr/lib
# --- MakeMaker const_cccmd section:
CCCMD = $(CC) -c $(INC) $(CCFLAGS) $(OPTIMIZE) \
$(PERLTYPE) $(LARGE) $(SPLIT) $(MPOLLUTE) $(DEFINE_VERSION) \
$(XS_DEFINE_VERSION)
# --- MakeMaker post_constants section:
# --- MakeMaker pasthru section:
PASTHRU = LIB="$(LIB)"\
LIBPERL_A="$(LIBPERL_A)"\
LINKTYPE="$(LINKTYPE)"\
PREFIX="$(PREFIX)"\
OPTIMIZE="$(OPTIMIZE)"
# --- MakeMaker c_o section:
.c$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.c
.C$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.C
.cpp$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.cpp
.cxx$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.cxx
.cc$(OBJ_EXT):
$(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.cc
# --- MakeMaker xs_c section:
.xs.c:
$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.xsc && $(MV) $*.xsc $*.c
# --- MakeMaker xs_o section:
.xs$(OBJ_EXT):
$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(XSUBPP) $(XSPROTOARG) $(XSUBPPARGS) $*.xs > $*.xsc && $(MV) $*.xsc $*.c
$(CCCMD) $(CCCDLFLAGS) -I$(PERL_INC) $(DEFINE) $*.c
# --- MakeMaker top_targets section:
#all :: config $(INST_PM) subdirs linkext manifypods
all :: pure_all htmlifypods manifypods
@$(NOOP)
pure_all :: config pm_to_blib subdirs linkext
@$(NOOP)
subdirs :: $(MYEXTLIB)
@$(NOOP)
config :: Makefile $(INST_LIBDIR)/.exists
@$(NOOP)
config :: $(INST_ARCHAUTODIR)/.exists
@$(NOOP)
config :: $(INST_AUTODIR)/.exists
@$(NOOP)
$(INST_AUTODIR)/.exists :: /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h
@$(MKPATH) $(INST_AUTODIR)
@$(EQUALIZE_TIMESTAMP) /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h $(INST_AUTODIR)/.exists
-@$(CHMOD) $(PERM_RWX) $(INST_AUTODIR)
$(INST_LIBDIR)/.exists :: /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h
@$(MKPATH) $(INST_LIBDIR)
@$(EQUALIZE_TIMESTAMP) /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h $(INST_LIBDIR)/.exists
-@$(CHMOD) $(PERM_RWX) $(INST_LIBDIR)
$(INST_ARCHAUTODIR)/.exists :: /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h
@$(MKPATH) $(INST_ARCHAUTODIR)
@$(EQUALIZE_TIMESTAMP) /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h $(INST_ARCHAUTODIR)/.exists
-@$(CHMOD) $(PERM_RWX) $(INST_ARCHAUTODIR)
config :: $(INST_MAN3DIR)/.exists
@$(NOOP)
$(INST_MAN3DIR)/.exists :: /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h
@$(MKPATH) $(INST_MAN3DIR)
@$(EQUALIZE_TIMESTAMP) /usr/lib/perl5/5.6.0/i386-linux/CORE/perl.h $(INST_MAN3DIR)/.exists
-@$(CHMOD) $(PERM_RWX) $(INST_MAN3DIR)
help:
perldoc ExtUtils::MakeMaker
Version_check:
@$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) \
-MExtUtils::MakeMaker=Version_check \
-e "Version_check('$(MM_VERSION)')"
# --- MakeMaker linkext section:
linkext :: $(LINKTYPE)
@$(NOOP)
# --- MakeMaker dlsyms section:
# --- MakeMaker dynamic section:
## $(INST_PM) has been moved to the all: target.
## It remains here for awhile to allow for old usage: "make dynamic"
#dynamic :: Makefile $(INST_DYNAMIC) $(INST_BOOT) $(INST_PM)
dynamic :: Makefile $(INST_DYNAMIC) $(INST_BOOT)
@$(NOOP)
# --- MakeMaker dynamic_bs section:
BOOTSTRAP = SolarisRBAC.bs
# As Mkbootstrap might not write a file (if none is required)
# we use touch to prevent make continually trying to remake it.
# The DynaLoader only reads a non-empty file.
$(BOOTSTRAP): Makefile $(INST_ARCHAUTODIR)/.exists
@echo "Running Mkbootstrap for $(NAME) ($(BSLOADLIBS))"
@$(PERL) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" \
-MExtUtils::Mkbootstrap \
-e "Mkbootstrap('$(BASEEXT)','$(BSLOADLIBS)');"
@$(TOUCH) $(BOOTSTRAP)
$(CHMOD) $(PERM_RW) $@
$(INST_BOOT): $(BOOTSTRAP) $(INST_ARCHAUTODIR)/.exists
@rm -rf $(INST_BOOT)
-cp $(BOOTSTRAP) $(INST_BOOT)
$(CHMOD) $(PERM_RW) $@
# --- MakeMaker dynamic_lib section:
# This section creates the dynamically loadable $(INST_DYNAMIC)
# from $(OBJECT) and possibly $(MYEXTLIB).
ARMAYBE = :
OTHERLDFLAGS =
INST_DYNAMIC_DEP =
$(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) $(INST_ARCHAUTODIR)/.exists $(EXPORT_LIST) $(PERL_ARCHIVE) $(INST_DYNAMIC_DEP)
LD_RUN_PATH="$(LD_RUN_PATH)" $(LD) -o $@ $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) $(EXPORT_LIST)
$(CHMOD) $(PERM_RWX) $@
# --- MakeMaker static section:
## $(INST_PM) has been moved to the all: target.
## It remains here for awhile to allow for old usage: "make static"
#static :: Makefile $(INST_STATIC) $(INST_PM)
static :: Makefile $(INST_STATIC)
@$(NOOP)
# --- MakeMaker static_lib section:
$(INST_STATIC): $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)/.exists
$(RM_RF) $@
$(FULL_AR) $(AR_STATIC_ARGS) $@ $(OBJECT) && $(RANLIB) $@
$(CHMOD) $(PERM_RWX) $@
@echo "$(EXTRALIBS)" > $(INST_ARCHAUTODIR)/extralibs.ld
# --- MakeMaker htmlifypods section:
htmlifypods : pure_all
@$(NOOP)
# --- MakeMaker manifypods section:
POD2MAN_EXE = /usr/bin/pod2man
POD2MAN = $(PERL) -we '%m=@ARGV;for (keys %m){' \
-e 'next if -e $$m{$$_} && -M $$m{$$_} < -M $$_ && -M $$m{$$_} < -M "Makefile";' \
-e 'print "Manifying $$m{$$_}\n";' \
-e 'system(qq[$$^X ].q["-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" $(POD2MAN_EXE) ].qq[$$_>$$m{$$_}])==0 or warn "Couldn\047t install $$m{$$_}\n";' \
-e 'chmod(oct($(PERM_RW))), $$m{$$_} or warn "chmod $(PERM_RW) $$m{$$_}: $$!\n";}'
manifypods : pure_all SolarisRBAC.pm
@$(POD2MAN) \
SolarisRBAC.pm \
$(INST_MAN3DIR)/Authen::SolarisRBAC.$(MAN3EXT)
# --- MakeMaker processPL section:
# --- MakeMaker installbin section:
# --- MakeMaker subdirs section:
# none
# --- MakeMaker clean section:
# Delete temporary files but do not touch installed files. We don't delete
# the Makefile here so a later make realclean still has a makefile to use.
clean ::
-rm -rf SolarisRBAC.c ./blib $(MAKE_APERL_FILE) $(INST_ARCHAUTODIR)/extralibs.all perlmain.c mon.out core core.*perl.*.? *perl.core so_locations pm_to_blib *~ */*~ */*/*~ *$(OBJ_EXT) *$(LIB_EXT) perl.exe $(BOOTSTRAP) $(BASEEXT).bso $(BASEEXT).def $(BASEEXT).exp
-mv Makefile Makefile.old $(DEV_NULL)
# --- MakeMaker realclean section:
# Delete temporary files (via clean) and also delete installed files
realclean purge :: clean
rm -rf $(INST_AUTODIR) $(INST_ARCHAUTODIR)
rm -f $(INST_DYNAMIC) $(INST_BOOT)
rm -f $(INST_STATIC)
rm -f $(INST_LIBDIR)/SolarisRBAC.pm
rm -rf Makefile Makefile.old
# --- MakeMaker dist_basics section:
distclean :: realclean distcheck
distcheck :
$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=fullcheck \
-e fullcheck
skipcheck :
$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=skipcheck \
-e skipcheck
manifest :
$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=mkmanifest \
-e mkmanifest
# --- MakeMaker dist_core section:
dist : $(DIST_DEFAULT)
@$(PERL) -le 'print "Warning: Makefile possibly out of date with $$vf" if ' \
-e '-e ($$vf="$(VERSION_FROM)") and -M $$vf < -M "Makefile";'
tardist : $(DISTVNAME).tar$(SUFFIX)
zipdist : $(DISTVNAME).zip
$(DISTVNAME).tar$(SUFFIX) : distdir
$(PREOP)
$(TO_UNIX)
$(TAR) $(TARFLAGS) $(DISTVNAME).tar $(DISTVNAME)
$(RM_RF) $(DISTVNAME)
$(COMPRESS) $(DISTVNAME).tar
$(POSTOP)
$(DISTVNAME).zip : distdir
$(PREOP)
$(ZIP) $(ZIPFLAGS) $(DISTVNAME).zip $(DISTVNAME)
$(RM_RF) $(DISTVNAME)
$(POSTOP)
uutardist : $(DISTVNAME).tar$(SUFFIX)
uuencode $(DISTVNAME).tar$(SUFFIX) \
$(DISTVNAME).tar$(SUFFIX) > \
$(DISTVNAME).tar$(SUFFIX)_uu
shdist : distdir
$(PREOP)
$(SHAR) $(DISTVNAME) > $(DISTVNAME).shar
$(RM_RF) $(DISTVNAME)
$(POSTOP)
# --- MakeMaker dist_dir section:
distdir :
$(RM_RF) $(DISTVNAME)
$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=manicopy,maniread \
-e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"
# --- MakeMaker dist_test section:
disttest : distdir
cd $(DISTVNAME) && $(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) Makefile.PL
cd $(DISTVNAME) && $(MAKE)
cd $(DISTVNAME) && $(MAKE) test
# --- MakeMaker dist_ci section:
ci :
$(PERL) -I$(PERL_ARCHLIB) -I$(PERL_LIB) -MExtUtils::Manifest=maniread \
-e "@all = keys %{ maniread() };" \
-e 'print("Executing $(CI) @all\n"); system("$(CI) @all");' \
-e 'print("Executing $(RCS_LABEL) ...\n"); system("$(RCS_LABEL) @all");'
# --- MakeMaker install section:
install :: all pure_install doc_install
install_perl :: all pure_perl_install doc_perl_install
install_site :: all pure_site_install doc_site_install
install_ :: install_site
@echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
pure_install :: pure_$(INSTALLDIRS)_install
doc_install :: doc_$(INSTALLDIRS)_install
@echo Appending installation info to $(INSTALLARCHLIB)/perllocal.pod
pure__install : pure_site_install
@echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
doc__install : doc_site_install
@echo INSTALLDIRS not defined, defaulting to INSTALLDIRS=site
pure_perl_install ::
@$(MOD_INSTALL) \
read $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist \
write $(INSTALLARCHLIB)/auto/$(FULLEXT)/.packlist \
$(INST_LIB) $(INSTALLPRIVLIB) \
$(INST_ARCHLIB) $(INSTALLARCHLIB) \
$(INST_BIN) $(INSTALLBIN) \
$(INST_SCRIPT) $(INSTALLSCRIPT) \
$(INST_HTMLLIBDIR) $(INSTALLHTMLPRIVLIBDIR) \
$(INST_HTMLSCRIPTDIR) $(INSTALLHTMLSCRIPTDIR) \
$(INST_MAN1DIR) $(INSTALLMAN1DIR) \
$(INST_MAN3DIR) $(INSTALLMAN3DIR)
@$(WARN_IF_OLD_PACKLIST) \
$(SITEARCHEXP)/auto/$(FULLEXT)
pure_site_install ::
@$(MOD_INSTALL) \
read $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist \
write $(INSTALLSITEARCH)/auto/$(FULLEXT)/.packlist \
$(INST_LIB) $(INSTALLSITELIB) \
$(INST_ARCHLIB) $(INSTALLSITEARCH) \
$(INST_BIN) $(INSTALLBIN) \
$(INST_SCRIPT) $(INSTALLSCRIPT) \
$(INST_HTMLLIBDIR) $(INSTALLHTMLSITELIBDIR) \
$(INST_HTMLSCRIPTDIR) $(INSTALLHTMLSCRIPTDIR) \
$(INST_MAN1DIR) $(INSTALLMAN1DIR) \
$(INST_MAN3DIR) $(INSTALLMAN3DIR)
@$(WARN_IF_OLD_PACKLIST) \
$(PERL_ARCHLIB)/auto/$(FULLEXT)
doc_perl_install ::
-@$(MKPATH) $(INSTALLARCHLIB)
-@$(DOC_INSTALL) \
"Module" "$(NAME)" \
"installed into" "$(INSTALLPRIVLIB)" \
LINKTYPE "$(LINKTYPE)" \
VERSION "$(VERSION)" \
EXE_FILES "$(EXE_FILES)" \
>> $(INSTALLARCHLIB)/perllocal.pod
doc_site_install ::
-@$(MKPATH) $(INSTALLARCHLIB)
-@$(DOC_INSTALL) \
"Module" "$(NAME)" \
"installed into" "$(INSTALLSITELIB)" \
LINKTYPE "$(LINKTYPE)" \
VERSION "$(VERSION)" \
EXE_FILES "$(EXE_FILES)" \
>> $(INSTALLARCHLIB)/perllocal.pod
uninstall :: uninstall_from_$(INSTALLDIRS)dirs
uninstall_from_perldirs ::
@$(UNINSTALL) $(PERL_ARCHLIB)/auto/$(FULLEXT)/.packlist
uninstall_from_sitedirs ::
@$(UNINSTALL) $(SITEARCHEXP)/auto/$(FULLEXT)/.packlist
# --- MakeMaker force section:
# Phony target to force checking subdirectories.
FORCE:
@$(NOOP)
# --- MakeMaker perldepend section:
PERL_HDRS = \
$(PERL_INC)/EXTERN.h \
$(PERL_INC)/INTERN.h \
$(PERL_INC)/XSUB.h \
$(PERL_INC)/av.h \
$(PERL_INC)/cc_runtime.h \
$(PERL_INC)/config.h \
$(PERL_INC)/cop.h \
$(PERL_INC)/cv.h \
$(PERL_INC)/dosish.h \
$(PERL_INC)/embed.h \
$(PERL_INC)/embedvar.h \
$(PERL_INC)/fakethr.h \
$(PERL_INC)/form.h \
$(PERL_INC)/gv.h \
$(PERL_INC)/handy.h \
$(PERL_INC)/hv.h \
$(PERL_INC)/intrpvar.h \
$(PERL_INC)/iperlsys.h \
$(PERL_INC)/keywords.h \
$(PERL_INC)/mg.h \
$(PERL_INC)/nostdio.h \
$(PERL_INC)/objXSUB.h \
$(PERL_INC)/op.h \
$(PERL_INC)/opcode.h \
$(PERL_INC)/opnames.h \
$(PERL_INC)/patchlevel.h \
$(PERL_INC)/perl.h \
$(PERL_INC)/perlapi.h \
$(PERL_INC)/perlio.h \
$(PERL_INC)/perlsdio.h \
$(PERL_INC)/perlsfio.h \
$(PERL_INC)/perlvars.h \
$(PERL_INC)/perly.h \
$(PERL_INC)/pp.h \
$(PERL_INC)/pp_proto.h \
$(PERL_INC)/proto.h \
$(PERL_INC)/regcomp.h \
$(PERL_INC)/regexp.h \
$(PERL_INC)/regnodes.h \
$(PERL_INC)/scope.h \
$(PERL_INC)/sv.h \
$(PERL_INC)/thrdvar.h \
$(PERL_INC)/thread.h \
$(PERL_INC)/unixish.h \
$(PERL_INC)/utf8.h \
$(PERL_INC)/util.h \
$(PERL_INC)/warnings.h
$(OBJECT) : $(PERL_HDRS)
SolarisRBAC.c : $(XSUBPPDEPS)
# --- MakeMaker makefile section:
$(OBJECT) : $(FIRST_MAKEFILE)
# We take a very conservative approach here, but it\'s worth it.
# We move Makefile to Makefile.old here to avoid gnu make looping.
Makefile : Makefile.PL $(CONFIGDEP)
@echo "Makefile out-of-date with respect to $?"
@echo "Cleaning current config before rebuilding Makefile..."
-@$(RM_F) Makefile.old
-@$(MV) Makefile Makefile.old
-$(MAKE) -f Makefile.old clean $(DEV_NULL) || $(NOOP)
$(PERL) "-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" Makefile.PL
@echo "==> Your Makefile has been rebuilt. <=="
@echo "==> Please rerun the make command. <=="
false
# To change behavior to :: would be nice, but would break Tk b9.02
# so you find such a warning below the dist target.
#Makefile :: $(VERSION_FROM)
# @echo "Warning: Makefile possibly out of date with $(VERSION_FROM)"
# --- MakeMaker staticmake section:
# --- MakeMaker makeaperl section ---
MAP_TARGET = perl
FULLPERL = /usr/local/bin/perl
$(MAP_TARGET) :: static $(MAKE_APERL_FILE)
$(MAKE) -f $(MAKE_APERL_FILE) $@
$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE)
@echo Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
@$(PERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) \
Makefile.PL DIR= \
MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=
# --- MakeMaker test section:
TEST_VERBOSE=0
TEST_TYPE=test_$(LINKTYPE)
TEST_FILE = test.pl
TEST_FILES =
TESTDB_SW = -d
testdb :: testdb_$(LINKTYPE)
test :: $(TEST_TYPE)
test_dynamic :: pure_all
PERL_DL_NONLAZY=1 $(FULLPERL) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(TEST_FILE)
testdb_dynamic :: pure_all
PERL_DL_NONLAZY=1 $(FULLPERL) $(TESTDB_SW) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(TEST_FILE)
test_ : test_dynamic
test_static :: pure_all $(MAP_TARGET)
PERL_DL_NONLAZY=1 ./$(MAP_TARGET) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(TEST_FILE)
testdb_static :: pure_all $(MAP_TARGET)
PERL_DL_NONLAZY=1 ./$(MAP_TARGET) $(TESTDB_SW) -I$(INST_ARCHLIB) -I$(INST_LIB) -I$(PERL_ARCHLIB) -I$(PERL_LIB) $(TEST_FILE)
# --- MakeMaker ppd section:
# Creates a PPD (Perl Package Description) for a binary distribution.
ppd:
@$(PERL) -e "print qq{<SOFTPKG NAME=\"Authen-SolarisRBAC\" VERSION=\"0,1,0,0\">\n}. qq{\t<TITLE>Authen-SolarisRBAC</TITLE>\n}. qq{\t<ABSTRACT></ABSTRACT>\n}. qq{\t<AUTHOR></AUTHOR>\n}. qq{\t<IMPLEMENTATION>\n}. qq{\t\t<OS NAME=\"$(OSNAME)\" />\n}. qq{\t\t<ARCHITECTURE NAME=\"i386-linux\" />\n}. qq{\t\t<CODEBASE HREF=\"\" />\n}. qq{\t</IMPLEMENTATION>\n}. qq{</SOFTPKG>\n}" > Authen-SolarisRBAC.ppd
# --- MakeMaker pm_to_blib section:
pm_to_blib: $(TO_INST_PM)
@$(PERL) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)" \
"-I$(PERL_ARCHLIB)" "-I$(PERL_LIB)" -MExtUtils::Install \
-e "pm_to_blib({qw{$(PM_TO_BLIB)}},'$(INST_LIB)/auto')"
@$(TOUCH) $@
# --- MakeMaker selfdocument section:
# --- MakeMaker postamble section:
# End.

View File

@@ -1,50 +0,0 @@
/*
* This file was generated automatically by xsubpp version 1.9508 from the
* contents of SolarisRBAC.xs. Do not edit this file, edit SolarisRBAC.xs instead.
*
* ANY CHANGES MADE HERE WILL BE LOST!
*
*/
#line 1 "SolarisRBAC.xs"
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include <auth_attr.h>
#include <secdb.h>
#line 17 "SolarisRBAC.c"
XS(XS_Authen__SolarisRBAC_chkauth); /* prototype to pass -Wmissing-prototypes */
XS(XS_Authen__SolarisRBAC_chkauth)
{
dXSARGS;
if (items != 2)
Perl_croak(aTHX_ "Usage: Authen::SolarisRBAC::chkauth(authname, username)");
{
char * authname = (char *)SvPV_nolen(ST(0));
char * username = (char *)SvPV_nolen(ST(1));
int RETVAL;
dXSTARG;
#line 14 "SolarisRBAC.xs"
RETVAL = chkauthattr(authname, username);
#line 31 "SolarisRBAC.c"
XSprePUSH; PUSHi((IV)RETVAL);
}
XSRETURN(1);
}
#ifdef __cplusplus
extern "C"
#endif
XS(boot_Authen__SolarisRBAC); /* prototype to pass -Wmissing-prototypes */
XS(boot_Authen__SolarisRBAC)
{
dXSARGS;
char* file = __FILE__;
XS_VERSION_BOOTCHECK ;
newXS("Authen::SolarisRBAC::chkauth", XS_Authen__SolarisRBAC_chkauth, file);
XSRETURN_YES;
}

View File

@@ -1,64 +0,0 @@
package Authen::SolarisRBAC;
require 5.005_62;
use strict;
use warnings;
require Exporter;
require DynaLoader;
our @ISA = qw(Exporter DynaLoader);
# Items to export into callers namespace by default. Note: do not export
# names by default without a very good reason. Use EXPORT_OK instead.
# Do not simply export all your public functions/methods/constants.
# This allows declaration use Authen::SolarisRBAC ':all';
# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
# will save memory.
our %EXPORT_TAGS = ( 'all' => [ qw(
) ] );
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
our @EXPORT = qw(
);
our $VERSION = '0.1';
bootstrap Authen::SolarisRBAC $VERSION;
# Preloaded methods go here.
1;
__END__
# Below is stub documentation for your module. You better edit it!
=head1 NAME
Authen::SolarisRBAC - Perl extension for Solaris RBAC
=head1 SYNOPSIS
use Authen::SolarisRBAC;
$ok = Authen::SolarisRBAC::chkauth("solaris.admin.dcmgr.admin", "fred");
=head1 DESCRIPTION
Provides wrappers for the Solaris RBAC functions.
=head2 EXPORT
None by default.
=head1 AUTHOR
Jamie Cameron, jcameron@webmin.com
=head1 SEE ALSO
rbac(5).
=cut

View File

@@ -1,18 +0,0 @@
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
#include <auth_attr.h>
#include <secdb.h>
MODULE = Authen::SolarisRBAC PACKAGE = Authen::SolarisRBAC
int
chkauth(authname, username)
char *authname
char *username
CODE:
RETVAL = chkauthattr(authname, username);
OUTPUT:
RETVAL

View File

@@ -1,64 +0,0 @@
package Authen::SolarisRBAC;
require 5.005_62;
use strict;
use warnings;
require Exporter;
require DynaLoader;
our @ISA = qw(Exporter DynaLoader);
# Items to export into callers namespace by default. Note: do not export
# names by default without a very good reason. Use EXPORT_OK instead.
# Do not simply export all your public functions/methods/constants.
# This allows declaration use Authen::SolarisRBAC ':all';
# If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
# will save memory.
our %EXPORT_TAGS = ( 'all' => [ qw(
) ] );
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
our @EXPORT = qw(
);
our $VERSION = '0.1';
bootstrap Authen::SolarisRBAC $VERSION;
# Preloaded methods go here.
1;
__END__
# Below is stub documentation for your module. You better edit it!
=head1 NAME
Authen::SolarisRBAC - Perl extension for Solaris RBAC
=head1 SYNOPSIS
use Authen::SolarisRBAC;
$ok = Authen::SolarisRBAC::chkauth("solaris.admin.dcmgr.admin", "fred");
=head1 DESCRIPTION
Provides wrappers for the Solaris RBAC functions.
=head2 EXPORT
None by default.
=head1 AUTHOR
Jamie Cameron, jcameron@webmin.com
=head1 SEE ALSO
rbac(5).
=cut

View File

@@ -1,152 +0,0 @@
.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.14
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sh \" Subsection heading
.br
.if t .Sp
.ne 5
.PP
\fB\\$1\fR
.PP
..
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings. \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote. | will give a
.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to
.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C'
.\" expand to `' in nroff, nothing in troff, for use with C<>.
.tr \(*W-|\(bv\*(Tr
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
. ds -- \(*W-
. ds PI pi
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
. ds PI \(*p
. ds L" ``
. ds R" ''
'br\}
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.if \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. nr % 0
. rr F
.\}
.\"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.hy 0
.if n .na
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff
.if n \{\
. ds #H 0
. ds #V .8m
. ds #F .3m
. ds #[ \f1
. ds #] \fP
.\}
.if t \{\
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
. ds #V .6m
. ds #F 0
. ds #[ \&
. ds #] \&
.\}
. \" simple accents for nroff and troff
.if n \{\
. ds ' \&
. ds ` \&
. ds ^ \&
. ds , \&
. ds ~ ~
. ds /
.\}
.if t \{\
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.\}
. \" troff and (daisy-wheel) nroff accents
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds ae a\h'-(\w'a'u*4/10)'e
.ds Ae A\h'-(\w'A'u*4/10)'E
. \" corrections for vroff
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
. \" for low resolution devices (crt and lpr)
.if \n(.H>23 .if \n(.V>19 \
\{\
. ds : e
. ds 8 ss
. ds o a
. ds d- d\h'-1'\(ga
. ds D- D\h'-1'\(hy
. ds th \o'bp'
. ds Th \o'LP'
. ds ae ae
. ds Ae AE
.\}
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
.IX Title "SolarisRBAC 3"
.TH SolarisRBAC 3 "2005-04-19" "perl v5.8.4" "User Contributed Perl Documentation"
.SH "NAME"
Authen::SolarisRBAC \- Perl extension for Solaris RBAC
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
.Vb 2
\& use Authen::SolarisRBAC;
\& $ok = Authen::SolarisRBAC::chkauth("solaris.admin.dcmgr.admin", "fred");
.Ve
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
Provides wrappers for the Solaris \s-1RBAC\s0 functions.
.Sh "\s-1EXPORT\s0"
.IX Subsection "EXPORT"
None by default.
.SH "AUTHOR"
.IX Header "AUTHOR"
Jamie Cameron, jcameron@webmin.com
.SH "SEE ALSO"
.IX Header "SEE ALSO"
\&\fIrbac\fR\|(5).

View File

@@ -1,20 +0,0 @@
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl test.pl'
######################### We start with some black magic to print on failure.
# Change 1..1 below to 1..last_test_to_print .
# (It may become useful if the test is moved to ./t subdirectory.)
BEGIN { $| = 1; print "1..1\n"; }
END {print "not ok 1\n" unless $loaded;}
use Authen::SolarisRBAC;
$loaded = 1;
print "ok 1\n";
######################### End of black magic.
# Insert your test code below (better if it prints "ok 13"
# (correspondingly "not ok 13") depending on the success of chunk 13
# of the test code):

View File

@@ -462,7 +462,10 @@ else {
my $deny = $user->{'deny'} || "";
$deny =~ s/:/;/g;
&print_tempfile($fh,
"$user->{'name'}:$user->{'pass'}:$user->{'sync'}:$user->{'cert'}:",
$user->{'name'},":",
$user->{'pass'},":",
($user->{'sync'} || ""),":",
($user->{'cert'} || ""),":",
($allow ? "allow $allow" :
$deny ? "deny $deny" : ""),":",
join(" ", @times),":",
@@ -517,7 +520,7 @@ if ($clone) {
=head2 modify_user(old-name, &details)
Updates an existing Webmin user, identified by the old-name paramter. The
Updates an existing Webmin user, identified by the old-name parameter. The
details hash must be in the same format as returned by list_users or passed
to create_user.
@@ -647,8 +650,10 @@ else {
if ($l =~ /^([^:]+):([^:]*)/ && $1 eq $username) {
&add_old_password($user, "$2", \%miniserv);
&print_tempfile($fh,
"$user->{'name'}:$user->{'pass'}:",
"$user->{'sync'}:$user->{'cert'}:",
$user->{'name'},":",
$user->{'pass'},":",
($user->{'sync'} || ""),":",
($user->{'cert'} || ""),":",
($allow ? "allow $allow" :
$deny ? "deny $deny" : ""),":",
join(" ", @times),":",
@@ -732,7 +737,7 @@ if ($username ne $user->{'name'} && !$user->{'proto'}) {
if ($miniserv{'session'} && $username ne $user->{'name'}) {
# Modify all sessions for the renamed user
&rename_session_user(\&miniserv, $username, $user->{'name'});
&rename_session_user(\%miniserv, $username, $user->{'name'});
}
}
@@ -817,8 +822,11 @@ foreach my $l (@acl) {
delete($gconfig{"lang_".$username});
delete($gconfig{"notabs_".$username});
delete($gconfig{"ownmods_".$username});
delete($gconfig{"rbacdeny_".$username});
delete($gconfig{"theme_".$username});
delete($gconfig{"overlay_".$username});
delete($gconfig{"readonly_".$username});
delete($gconfig{"realname_".$username});
&write_file("$config_directory/config", \%gconfig);
# Delete all module .acl files
@@ -1336,9 +1344,11 @@ my ($miniserv, $username) = @_;
return 1 if (&is_readonly_mode());
&open_session_db($miniserv);
foreach my $s (keys %sessiondb) {
my ($u, $t) = split(/\s+/, $sessiondb{$s});
if ($u eq $username) {
delete($sessiondb{$s});
if ($sessiondb{$s}) {
my ($u, $t) = split(/\s+/, $sessiondb{$s});
if ($u eq $username) {
delete($sessiondb{$s});
}
}
}
dbmclose(%sessiondb);
@@ -1643,11 +1653,14 @@ is not given, a salt will be selected randomly.
sub encrypt_password
{
my ($pass, $salt) = @_;
if ($gconfig{'md5pass'}) {
if ($gconfig{'md5pass'} == 1) {
# Use MD5 encryption
$salt ||= '$1$'.substr(time(), -8).'$xxxxxxxxxxxxxxxxxxxxxx';
return &encrypt_md5($pass, $salt);
}
elsif ($gconfig{'md5pass'} == 2) {
# Use SHA512 encryption
return &encrypt_sha512($pass, $salt);
}
else {
# Use Unix DES
&seed_random();
@@ -1664,8 +1677,9 @@ authenticate as, as array references.
=cut
sub get_unixauth
{
my ($miniserv) = @_;
my @rv;
my @ua = split(/\s+/, $_[0]->{'unixauth'});
my @ua = $miniserv->{'unixauth'} ? split(/\s+/, $miniserv->{'unixauth'}) : ( );
foreach my $ua (@ua) {
if ($ua =~ /^(\S+)=(\S+)$/) {
push(@rv, [ $1, $2 ]);
@@ -1765,32 +1779,7 @@ if ($miniserv{'pass_nouser'}) {
$pass =~ /\Q$name\E/i && return $text{'cpass_name'};
}
if ($miniserv{'pass_nodict'}) {
my $temp = &transname();
my $fh = "TEMP";
&open_tempfile($fh, ">$temp", 0, 1);
&print_tempfile($fh, $pass,"\n");
&close_tempfile($fh);
my $unknown;
if (&has_command("ispell")) {
open(SPELL, "ispell -a <$temp |");
while(<SPELL>) {
if (/^(#|\&|\?)/) {
$unknown++;
}
}
close(SPELL);
}
elsif (&has_command("spell")) {
open(SPELL, "spell <$temp |");
my $line = <SPELL>;
$unknown++ if ($line);
close(SPELL);
}
else {
return &text('cpass_spellcmd', "<tt>ispell</tt>",
"<tt>spell</tt>");
}
$unknown || return $text{'cpass_dict'};
&is_dictionary_word($pass) && return $text{'cpass_dict'};
}
if ($miniserv{'pass_oldblock'} && $user) {
my $c = 0;
@@ -1834,6 +1823,7 @@ sub hash_md5_session
{
my ($passwd) = @_;
my $use_md5 = &md5_perl_module();
$use_md5 || &error("No Perl MD5 hashing module found!");
# Add the password
my $ctx = eval "new $use_md5";
@@ -1929,7 +1919,7 @@ my ($path, $mod) = @_;
# Find out what users and paths we grant access to currently
my %miniserv;
&get_miniserv_config(\%miniserv);
my @anon = split(/\s+/, $miniserv{'anonymous'});
my @anon = split(/\s+/, $miniserv{'anonymous'} || "");
my $found = 0;
my $user;
foreach my $a (@anon) {
@@ -2158,5 +2148,21 @@ elsif ($str =~ /^postgresql:/) {
}
}
# used_for_anonymous(username)
# Returns a list of modules this user has an anonymous grant to
sub used_for_anonymous
{
my ($user) = @_;
my @rv;
my %miniserv;
&get_miniserv_config(\%miniserv);
foreach $a (split(/\s+/, $miniserv{'anonymous'})) {
if ($a =~ /^([^=]+)=(\S+)$/ && $2 eq $user) {
push(@rv, $1);
}
}
return @rv;
}
1;

View File

@@ -83,17 +83,18 @@ foreach my $k (keys %aclbackup) {
}
&write_file("$config_directory/config", \%gconfig);
# Splice miniserv.conf entries for users into real config
# Splice miniserv.conf entries for users and password restrictions into
# real config
%aclbackup = ( );
&read_file("$config_directory/miniserv.conf.aclbackup", \%aclbackup);
unlink("$config_directory/miniserv.conf.aclbackup");
my %miniserv;
&get_miniserv_config(\%miniserv);
foreach my $k (keys %miniserv) {
delete($miniserv{$k}) if ($k =~ /^(preroot_)/);
delete($miniserv{$k}) if ($k =~ /^(preroot_|pass_)/);
}
foreach my $k (keys %aclbackup) {
$miniserv{$k} = $aclbackup{$k} if ($k =~ /^(preroot_)/);
$miniserv{$k} = $aclbackup{$k} if ($k =~ /^(preroot_|pass_)/);
}
&put_miniserv_config(\%miniserv);

3
acl/config-ALL-linux Normal file
View File

@@ -0,0 +1,3 @@
ssleay=/usr/bin/openssl
order=0
display=1

View File

@@ -1,4 +1,3 @@
ssleay=/usr/bin/openssl
select=0
order=0
display=1

View File

@@ -1,4 +1,3 @@
ssleay=/usr/bin/openssl
select=0
order=0
display=1

View File

@@ -1,4 +1,3 @@
ssleay=/usr/bin/openssl
select=0
order=0
display=1

View File

@@ -1,4 +1,3 @@
ssleay=/usr/bin/openssl
select=0
order=0
display=1

View File

@@ -1,4 +0,0 @@
ssleay=/usr/sfw/bin/openssl
select=0
order=0
display=1

View File

@@ -0,0 +1,3 @@
ssleay=/usr/sfw/bin/openssl
order=0
display=1

View File

@@ -1,6 +1,5 @@
line1=Configurable options,11
display=User and group display mode,1,1-Names only,0-Names and modules
select=Display user modules in,1,0-Table,1-Pulldown menu
order=Sort users and groups by,1,0-Order in file,1-Name
line2=System configuration,11
ssleay=Path to openssl or ssleay program,3,Automatic

View File

@@ -0,0 +1,5 @@
line1=تكوين الخيارات,11
display=وضع عرض المستخدم والمجموعة,1,1-الأسماء فقط,0-الأسماء والوحدات النمطية
order=فرز المستخدمين والمجموعات حسب,1,0-الطلب في الملف,1-الإ سم
line2=تكوين النظام,11
ssleay=المسار إلى openssl أو برنامج ssleay,3,تلقائي

View File

@@ -1,5 +1,5 @@
line1=Конфигурационни опции,11
select=Показвай юзерските модули в,1,0-таблица,1-Падащо меню
display=Режим на показване на потребител и група,1,1-Само имена,0-Имена и модули
order=Подреди юзери и групи по,1,0-подредба във файл,1-име
line2=Системна конфигурация,11
ssleay=Път към openssl или ssleay програма,0

View File

@@ -1,6 +1,5 @@
line1=Opcions configurables,11
display=Forma de mostrar els usuaris i els grups,1,1-Només els noms,0-Noms i mòduls
select=Mostra els mòduls d'usuaris amb,1,0-Taula,1-Menú desplegable
order=Ordena els usuaris i grups per,1,0-L'ordre del fitxer,1-El nom
line2=Configuració del sistema,11
ssleay=Camí del programa <tt>openssl</tt> o <tt>ssleay</tt>,3,Automàtic

View File

@@ -1,6 +1,5 @@
line1=Možnosti konfigurace,11
display=Mód pro zobrazení uživatele a skupiny,1,1-Pouze jména,0-Jména a moduly
select=Zobrazit moduly uživatele v,1,0-tabulce,1-rozbalovací nabídce
order=Třídit uživatele a skupiny podle,1,0-pořadí v souboru,1-jména
line2=Konfigurace systému,11
ssleay=Cesta k programu openssl nebo ssleay,0

View File

@@ -1,6 +1,5 @@
line1=Konfigurerbare indstillinger,11
display=Bruger og gruppe visnings mode,1,1-Kun navne,0-Navne og moduler
select=Vis brugermoduler i,1.0-Tabel,1-Pulldown menu
order=Sorter brugere og grupper ved,1.0-Sortering i fil,1-Navn
line2=Systemkonfiguration,11
ssleay=Sti til openssl eller ssleay progarm,3,Automatisk

View File

@@ -1,6 +1,5 @@
line1=Konfigurierbare Optionen,11
display=Benutzer- und Gruppenanzeige,1,1-Nur Namen,0-Namen und Module
select=Zeige Benutzermodule als,1,0-Tabelle,1-Auswahlliste
order=Sortiere Benutzer und Gruppen nach,1,0-Reihenfolge in Datei,1-Name
line2=Systemkonfiguration,11
ssleay=Pfad zu <tt>openssl</tt> oder <tt>ssleay</tt>,3,Automatisch

View File

@@ -1,6 +1,5 @@
line1=Opciones Configurables,11
display=Modo de mostrar usuario y grupo,1,1-S&#243;lo nombres,0-Nombres y m&#243;dulos
select=Mostrar m&#243;dulos de usuario en,1,0-Tabla,1-Men&#250; desplegable
order=Clasificar usuarios y grupos por,1,0-Orden en archivo,1-Nombre
line2=Configuraci&#243;n de Sistema,11
ssleay=Trayectoria al programa openssl o ssleay,0

1
acl/config.info.eu Executable file → Normal file
View File

@@ -1,6 +1,5 @@
line1=Konfiguragarri diren aukerak, 11
display=Erabiltzaile eta taldea erakusteko modua, 1,1-Izenak soilik, 0-Izenak eta moduluak
select=Erabiltzaile moduluak erakutsi,1,0-Taulan, 1-
Display user modules in,1,0-Table,1-Pulldown menu
order=Ordenatu erabiltzaile eta taldeak,1,0-Fitxategian ordenatu,1-Izena
line2=Sistemaren konfigurazioa,11

View File

@@ -1,7 +1,6 @@
line1=گزينه‌هاي پيکربندي,11
display=حالت نمايش کاربران و گروه‌ها,1,1-فقط نامها,0-نامها و پيمانه‌ها
select=نمايش پيمانه‌هاي کاربر در,1,0-جدول,1-گزينگان پايين بر
order=مرتب سازي کاربران و گروه‌ها براساس,1,0-ترتيب در پرونده,1-نام
line2=پيکربندي سيستم,11
ssleay=مسير براي openssl يا برنامه ssleay,3,خودکار

View File

@@ -1,6 +1,5 @@
line1=Options configurables,11
display=Mode d'affichage des utilisateurs et des groupes,1,1-Noms seulement,0-Noms et modules
select=Afficher les modules utilisateur par,1,0-Table,1-Menu d&#233;roulant
order=Trier les utilisateurs et les groupes par,1,0-Ordre dans le fichier,1-Nom
line2=Configuration du syst&#232;me,11
ssleay=Chemin d'acc&#232;s au programme openssl ou ssleay,3,Automatique

5
acl/config.info.fr.UTF-8 Normal file
View File

@@ -0,0 +1,5 @@
order=Trier les utilisateurs et les groupes par,1,0-Ordre dans le fichier,1-Nom
line1=Options configurables,11
ssleay=Chemin d'acc&#232;s au programme openssl ou ssleay,3,Automatique
line2=Configuration du syst&#232;me,11
display=Mode d'affichage des utilisateurs et des groupes,1,1-Noms seulement,0-Noms et modules

View File

@@ -1,6 +1,5 @@
line1=Konfigurálható beállítások,11
display=Felhasználó és csoport megjelenítési mód,1,1-Csak a neveket,0-Neveket és modulokat
select=A modulok megjelenítsi módja,1,0-Táblázat,1-Menü
order=Felhasználók és csoportok rendezése,1,0-A fájl rendezése szerint,1-Név szerint
line2=Rendszer konfiguráció,11
ssleay=Az <code>openssl</code> vagy <code>ssleay</code> program teljes elérési útja,0

View File

@@ -1,6 +1,5 @@
line1=Opzioni configurabili,11
display=Modalit&#224; di visualizzazione di utenti e gruppi,1,1-Solo i nomi,0-Nomi e moduli
select=Mostra i moduli utente in,1,0-una tabella,1-un menu a tendina
order=Ordina gli utenti e i gruppi per,1,0-Ordine nel file,1-Nome
line2=Configurazione di sistema,11
ssleay=Percorso al programma openssl o ssleay,3,Automatico

View File

@@ -1,6 +1,5 @@
line1=設定可能なオプション,11
display=ユーザとグループの表示モード,1,1-名前のみ,0-名前とモジュール
select=ユーザモジュールの表示方法,1,0-表,1-プルダウンメニュー
order=ユーザとグループのソート順,1,0-ファイル順,1-名前順
line2=システム設定,11
ssleay=opensslプログラムまたはssleayプログラムのパス,3,自動

View File

@@ -1,6 +1,5 @@
line1=가능한 옵션,11
display=유저와 그룹 출력 모드,1,1-이름만,0-이름과 모듈
select=유저 모듈 출력,1,0-테이블,1-풀다운 메뉴
order=유저와 그룹 정렬,1,0-파일 순,1-이름
line2=시스템 설정,11
ssleay=openssl 또는 ssleay 파일 경로,3,Automatic

View File

@@ -1,6 +1,5 @@
line1=Pilihan konfigurasi,11
display=Mod paparan pengguna dan grup,1,1-Nama sahaja,0-Nama dan modul
select=Paparkan modul pengguna dalam,1,0-Jadual,1-Menu pull-down
order=Tapis pengguna dan grup dengan,1,0-Urutan dalam fail,1-Nama
line2=Konfigurasi sistem,11
ssleay=Lokasi program openssl atau ssleay,3,Automatik

View File

@@ -1,6 +1,5 @@
line1=Instelbare opties,11
display=Gebruiker en groep weergave instelling,1,1-Alleen Namen,0-Namen en modules
select=Geef gebruiker modules weer in,1,0-Tabel,1-Pulldown menu
order=Sorteer gebruikers en groepen op,1,0-Volgorde in bestand,1-Naam
line2=Systeem configuratie,11
ssleay=Pad naar openssl of ssleay programma,3,Automatisch

View File

@@ -1,6 +1,5 @@
line1=Konfigurerbare innstillinger,11
display=Visningsmodus for bruker og gruppe,1,1-Bare navn,0-Navn og moduler
select=Vis brukermoduler i,1,0-Tabell,1-Nedtrekksmeny
order=Sorter brukere og grupper etter,1,0-Rekkef&#248;lge i filen,1-Navn
line2=System konfigurasjon,11
ssleay=Stien til openssl eller ssleay program,0

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