Compare commits

...

1390 Commits
1.720 ... 1.820

Author SHA1 Message Date
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
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
3177 changed files with 130093 additions and 18381 deletions

View File

@@ -208,3 +208,25 @@ 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.

2
README
View File

@@ -1,4 +1,4 @@
Webmin Version 1.720
Webmin Version 1.820
--------------------
Webmin is a web-based interface for system administration for Unix.
Using any browser that supports tables and forms, you can setup user

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,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;

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

View File

@@ -1,23 +1,23 @@
package Webmin::ConfirmPage;
use Webmin::Page;
package WebminUI::ConfirmPage;
use WebminUI::Page;
use WebminCore;
@ISA = ( "Webmin::Page" );
@ISA = ( "WebminUI::Page" );
=head2 new Webmin::ConfirmPage(subheading, title, message, cgi, &in, [ok-message],
=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(&Webmin::Theme::ConfirmPage::new)) {
return new Webmin::Theme::ConfirmPage(@_[1..$#_]);
if (defined(&WebminUI::Theme::ConfirmPage::new)) {
return new WebminUI::Theme::ConfirmPage(@_[1..$#_]);
}
my ($self, $subheading, $title, $message, $cgi, $in, $ok, $cancel, $help) = @_;
$self = new Webmin::Page($subheading, $title, $help);
$self = new WebminUI::Page($subheading, $title, $help);
$self->{'in'} = $in;
$self->add_message($message);
my $form = new Webmin::Form($cgi, "get");
my $form = new WebminUI::Form($cgi, "get");
$form->set_input($in);
$self->add_form($form);
foreach my $i (keys %$in) {
@@ -25,8 +25,8 @@ foreach my $i (keys %$in) {
$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"));
$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;
}

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

View File

@@ -1,16 +1,16 @@
package Webmin::ErrorPage;
package WebminUI::ErrorPage;
use WebminCore;
=head2 new Webmin::ErrorPage(subheading, title, message, [program-output], [help-name])
=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(&Webmin::Theme::ErrorPage::new)) {
return new Webmin::Theme::ErrorPage(@_[1..$#_]);
if (defined(&WebminUI::Theme::ErrorPage::new)) {
return new WebminUI::Theme::ErrorPage(@_[1..$#_]);
}
my ($self, $subheading, $title, $message, $output, $help) = @_;
$self = new Webmin::Page($subheading, $title, $help);
$self = new WebminUI::Page($subheading, $title, $help);
$self->add_message("<b>",$text{'error'}," : ",$message,"</b>");
$self->add_message("<pre>",$output,"</pre>");
return $self;

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

@@ -1,16 +1,16 @@
package Webmin::JavascriptButton;
use Webmin::Input;
package WebminUI::JavascriptButton;
use WebminUI::Input;
use WebminCore;
@ISA = ( "Webmin::Input" );
@ISA = ( "WebminUI::Input" );
=head2 new Webmin::JavascriptButton(label, script, [disabled])
=head2 new WebminUI::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..$#_]);
if (defined(&WebminUI::Theme::JavascriptButton::new) &&
caller() !~ /WebminUI::Theme::JavascriptButton/) {
return new WebminUI::Theme::JavascriptButton(@_[1..$#_]);
}
my ($self, $value, $script, $disabled) = @_;
$self = { };

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

View File

@@ -1,19 +1,19 @@
package Webmin::Multiline;
use Webmin::Textarea;
package WebminUI::Multiline;
use WebminUI::Textarea;
use WebminCore;
@ISA = ( "Webmin::Textarea" );
@ISA = ( "WebminUI::Textarea" );
=head2 new Webmin::Multiline(name, &lines, rows, cols, [disabled])
=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(&Webmin::Theme::Multiline::new)) {
return new Webmin::Theme::Multiline(@_[1..$#_]);
if (defined(&WebminUI::Theme::Multiline::new)) {
return new WebminUI::Theme::Multiline(@_[1..$#_]);
}
my ($self, $name, $lines, $rows, $cols, $wrap, $disabled) = @_;
$self = new Webmin::Textarea($name, join("\n", @$lines), $rows, $cols, undef, $disabled);
$self = new WebminUI::Textarea($name, join("\n", @$lines), $rows, $cols, undef, $disabled);
bless($self);
return $self;
}

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

View File

@@ -1,18 +1,18 @@
package Webmin::Password;
@ISA = ( "Webmin::Textbox" );
use Webmin::Textbox;
package WebminUI::Password;
@ISA = ( "WebminUI::Textbox" );
use WebminUI::Textbox;
use WebminCore;
=head2 new Webmin::Password(name, value, [size])
=head2 new WebminUI::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..$#_]);
if (defined(&WebminUI::Theme::Password::new)) {
return new WebminUI::Theme::Password(@_[1..$#_]);
}
my ($self, $name, $value, $size) = @_;
$self = new Webmin::Textbox($name, $value, $size);
$self = new WebminUI::Textbox($name, $value, $size);
bless($self);
return $self;
}

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 };

View File

@@ -1,16 +1,16 @@
package Webmin::Submit;
use Webmin::Input;
package WebminUI::Submit;
use WebminUI::Input;
use WebminCore;
@ISA = ( "Webmin::Input" );
@ISA = ( "WebminUI::Input" );
=head2 new Webmin::Submit(label, [name], [disabled])
=head2 new WebminUI::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..$#_]);
if (defined(&WebminUI::Theme::Submit::new) &&
caller() !~ /WebminUI::Theme::Submit/) {
return new WebminUI::Theme::Submit(@_[1..$#_]);
}
my ($self, $value, $name, $disabled) = @_;
$self = { };

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

@@ -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),":",
@@ -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
@@ -2158,5 +2166,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

@@ -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 +1,3 @@
ssleay=/usr/bin/openssl
select=0
order=0
display=1

View File

@@ -1,4 +1,3 @@
ssleay=/usr/sfw/bin/openssl
select=0
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

@@ -1,5 +1,4 @@
line1=Конфигурационни опции,11
select=Показвай юзерските модули в,1,0-таблица,1-Падащо меню
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

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

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

View File

@@ -1,6 +1,5 @@
line1=Opcje konfiguracyjne,11
display=Tryb wyświetlania użytkowników i grup,1,1-Tylko nazwy,0-Nazwy i moduły
select=Wyświetl moduły użytkownika w,1,0-Tabeli,1-Rozwijanym menu
order=Porządkuj użytkowników i grupy wg,1,0-Kolejności w zbiorze,1-Nazwy
line2=Konfiguracja systemu,11
ssleay=Ścieżka do programu openssl lub ssleay,0

View File

@@ -1,5 +1,4 @@
line1=Op&#231;&#245;es configur&#225;veis,11
select=Exibir m&#243;dulos de usu&#225;rios em,1,0-Tabela,1-Menus
order=Ordenar usu&#225;rios e grupos por,1,0-Ordem no arquivo,1-Nome
line2=Configura&#231;&#227;o do sistema,11
ssleay=Caminho para o programa openssl ou ssleay,0

View File

@@ -1,4 +1,3 @@
select=Показывать модули пользователя в виде,1,0-Таблицы,1-Выпадающего меню
ssleay=Путь к программе openssl или ssleay,0
order=Упорядочивать пользователей и группы по,1,0-Очередности в файле,1-Имени
line1=Настраиваемые параметры,11

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,0

View File

@@ -1,6 +1,5 @@
line1=Nastaviteľné možnosti,11
display=Spôsob zobrazenia užívateľov a skupín,1,1-Iba mená,0-Mená a moduly
select=Zobraz užívateľské moduly v ,1,0-Tabuľke,1-Rozbaľovacom menu
order=Zoraď užívateľov a skupiny podľa,1,0-Poradia v súbore,1-Mena
line2=Nastavenie Systému,11
ssleay=Cesta k programu openssl alebo ssleay,3,Automatická

View File

@@ -1,2 +1 @@
ssleay=S&#246;kv&#228;g till openssl- eller ssleay-program,0
select=Visa moduler i,1,0-Tabell,1-Rullgardinsmeny

View File

@@ -1,6 +1,5 @@
line1=Yapılandırılabilir seçenekler,11
display=Kullanıcı ve grup görüntüleme biçimi,1,1-Sadece isim,0-İsim ve modüller
select=Kullanıcı modüllerini bu şekilde görüntüle,1,0-Tablo,1-Menü
order=Kullanıcı ve grupları bu şekilde sırala,1,0-Dosyadaki sırası ile,1-İsim ile
line2=Sistem yapılandırması,11
ssleay=Openssl ya da ssleay programı yolu,3,Otomatik

View File

@@ -1,4 +1,3 @@
select=Показувати модулі користувача у виді,1,0-таблиці, що1-випадає меню
ssleay=Шлях до програми openssl чи ssleay,0
order=Упорядковувати користувачів і групи по,1,0-черговості у файлі,1-імені
line1= параметри, ЩоНабудовуються,11

View File

@@ -1,2 +1 @@
ssleay=Openssl 或者 Ssleay 程序的路径,0
select=显示用户模块以,1,0-Table,1-Pulldown 菜单

View File

@@ -1,5 +1,4 @@
line1=組態選項,11
select=顯示使用者模組在,1,0-表格,1-下拉選單
order=排序使用者和全組 依,1,0-檔案內位置,1-名稱
line2=系統組態,11
ssleay=openssl或ssleay程式路徑,0

View File

@@ -10,6 +10,7 @@ our (%in, %text, %config, %access, $base_remote_user);
&error_setup($text{'delete_err'});
$access{'delete'} || &error($text{'delete_ecannot'});
&can_edit_user($in{'user'}) || &error($text{'delete_euser'});
&used_for_anonymous($in{'user'}) && &error($text{'delete_eanonuser'});
if ($base_remote_user eq $in{'user'}) {
&error($text{'delete_eself'});
}

View File

@@ -6,7 +6,7 @@ use warnings;
require './acl-lib.pl';
our (%in, %text, %config, %access, $base_remote_user);
&ReadParse();
&error_setup($text{'udeletes_err'});
&error_setup($in{'joingroup'} ? $text{'udeletes_jerr'} : $text{'udeletes_err'});
$access{'delete'} || &error($text{'delete_ecannot'});
# Validate inputs
@@ -14,9 +14,10 @@ my @d = split(/\0/, $in{'d'});
@d || &error($text{'udeletes_enone'});
foreach my $user (@d) {
&can_edit_user($user) || &error($text{'delete_euser'});
if ($base_remote_user eq $user) {
if ($base_remote_user eq $user && !$in{'joingroup'}) {
&error($text{'delete_eself'});
}
&used_for_anonymous($user) && &error($text{'delete_eanonuser'});
my $uinfo = &get_user($user);
$uinfo->{'readonly'} && &error($text{'udeletes_ereadonly'});
}
@@ -27,7 +28,8 @@ if ($in{'joingroup'}) {
foreach my $user (@d) {
my $uinfo = &get_user($user);
next if (!$uinfo);
next if (&indexof($user, @{$newgroup->{'members'}}) >= 0);
next if ($newgroup &&
&indexof($user, @{$newgroup->{'members'}}) >= 0);
# Remove from old group, if any
my $oldgroup = &get_users_group($user);

View File

@@ -73,11 +73,9 @@ else {
# Show usernames and modules
print &ui_subheading($text{'index_users'});
my @rowlinks = ( );
if (!$config{'select'}) {
print &ui_form_start("delete_users.cgi", "post");
push(@rowlinks, &select_all_link("d", $form),
&select_invert_link("d", $form));
}
print &ui_form_start("delete_users.cgi", "post");
push(@rowlinks, &select_all_link("d", $form),
&select_invert_link("d", $form));
push(@rowlinks, ui_link("edit_user.cgi", $text{'index_create'}))
if ($access{'create'});
print &ui_links_row(\@rowlinks);
@@ -104,10 +102,8 @@ else {
}
print &ui_columns_end();
print &ui_links_row(\@rowlinks);
if (!$config{'select'}) {
print &ui_form_end([ [ "delete", $text{'index_delete'} ],
@gbut ]);
}
print &ui_form_end([ [ "delete", $text{'index_delete'} ],
@gbut ]);
$shown_users = 1;
$form++;
}
@@ -136,11 +132,9 @@ if ($access{'groups'}) {
else {
# Show table of groups
my @rowlinks = ( );
if (!$config{'select'}) {
print &ui_form_start("delete_groups.cgi", "post");
push(@rowlinks, &select_all_link("d", $form),
&select_invert_link("d", $form));
}
print &ui_form_start("delete_groups.cgi", "post");
push(@rowlinks, &select_all_link("d", $form),
&select_invert_link("d", $form));
push(@rowlinks,
ui_link("edit_group.cgi", $text{'index_gcreate'}));
print &ui_links_row(\@rowlinks);
@@ -168,9 +162,7 @@ if ($access{'groups'}) {
}
print &ui_columns_end();
print &ui_links_row(\@rowlinks);
if (!$config{'select'}) {
print &ui_form_end([ [ "delete", $text{'index_delete'} ] ]);
}
print &ui_form_end([ [ "delete", $text{'index_delete'} ] ]);
$form++;
}
}
@@ -235,44 +227,22 @@ sub show_modules
my ($type, $who, $mods, $global, $prefix) = @_;
$mods ||= [ ];
my $rv;
if ($config{'select'}) {
# Show as drop-down menu
$rv .= &ui_form_start("edit_acl.cgi");
$rv .= $prefix."<br>\n" if ($prefix);
if (@$mods) {
$rv .= &ui_hidden($type, $who);
if ($access{'acl'}) {
$rv .= &ui_submit($text{'index_edit'});
$rv .= $prefix."<br>\n" if ($prefix);
my @grid;
foreach my $m (sort { $modname{$a} cmp $modname{$b} } @$mods) {
if ($modname{$m}) {
if ($mcan{$m} && $access{'acl'}) {
push(@grid, ui_link("edit_acl.cgi?mod=" .
&urlize($m)."&$type=".&urlize($who),
$modname{$m}));
}
my @opts;
foreach my $m (sort { $modname{$a} cmp $modname{$b} } @$mods) {
if ($modname{$m}) {
push(@opts, [ $m, $modname{$m} ]);
}
}
$rv .= &ui_select("mod", undef, \@opts);
}
$rv .= &ui_form_end();
}
else {
# Show as table
$rv .= $prefix."<br>\n" if ($prefix);
my @grid;
foreach my $m (sort { $modname{$a} cmp $modname{$b} } @$mods) {
if ($modname{$m}) {
if ($mcan{$m} && $access{'acl'}) {
push(@grid, ui_link("edit_acl.cgi?mod=" .
&urlize($m)."&$type=".&urlize($who),
$modname{$m}));
}
else {
push(@grid, $modname{$m});
}
else {
push(@grid, $modname{$m});
}
}
$rv .= &ui_grid_table(\@grid, 3, 100,
[ "width=33%", "width=33%", "width=33%" ]);
}
$rv .= &ui_grid_table(\@grid, 3, 100,
[ "width=33%", "width=33%", "width=33%" ]);
return $rv;
}
@@ -298,7 +268,7 @@ sub user_link
{
my $lck = $_[0]->{'pass'} =~ /^\!/ ? 1 : 0;
my $ro = $_[0]->{'readonly'};
return ($config{'select'} ? "" : &ui_checkbox("d", $_[0]->{'name'}, "", 0)).
return &ui_checkbox("d", $_[0]->{'name'}, "", 0).
($lck ? "<i>" : "").
($ro ? "<b>" : "").
ui_link("$_[1]?$_[2]=".&urlize($_[0]->{'name'}),

View File

@@ -146,6 +146,7 @@ delete_err=No s'ha pogut suprimir l'usuari
delete_eself=No et pots esborrar a tu mateix
delete_ecannot=No tens permís per suprimir usuaris
delete_euser=No tens permís per suprimir aquest usuari
delete_eanonuser=Aquest usuari s'està utilitzant per a l'accés del mòdul anònim
cert_title=Petició de Certificat
cert_issue=Emissió de Certificat
@@ -337,12 +338,20 @@ unix_header=Par
unix_utable=Usuaris Unix permesos
sessions_title=Sessions d'Entrada Actuals
sessions_desc=Les sessions d'entrada actuals de Webmin es llisten a sota. Per cancel·lar una sessió existent i forçar l'usuari a tornar a entrar, fes clic sobre l'ID de la sessió.
sessions_id=ID de sessió
sessions_user=Usuari Webmin
sessions_login=Ha entrat a
sessions_host=Adreça IP
sessions_lview=Visualitza els registres...
sessions_actions=Accions...
sessions_logouts=Mostra també les sessións desconnectades...
sessions_state=Estat
sessions_this=Aquesta entrada
sessions_in=Connectat
sessions_out=Desconnectat
sessions_kill=Desconnecta...
logins_title=Entrades recents a Webmin
hide_title=Amaga els Mòduls No Utilitzats
hide_desc=Els mòduls següents es trauran de la llista d'accés de mòduls de $1, ja que els seus corresponents servidors no estan instal·lats al sistema...
@@ -362,6 +371,7 @@ rbac_ecpan=No tens acc
rbac_ok=La integració amb RBAC està disponible en aquest sistema, i es pot activar en base a cada usuari a la pàgina d'Edició d'Usuaris Webmin.
udeletes_err=No s'han pogut suprimir els usuaris
udeletes_jerr=No s'han pogut afegir els usuaris al grup
udeletes_enone=No n'has seleccionat cap
udeletes_title=Supressió d'Usuaris
udeletes_rusure=Segur que vols suprimir els $1 usuaris seleccionats? Es perdran tots els seus detalls i totes les seves configuracions de control d'accés.

View File

@@ -59,7 +59,7 @@ cert_header=Details des neuen Zertifikats
cert_install=Installiere Ihr Zertifikat in den Browser
cert_issue=Zertifikat ausstellen
cert_key=Schl&#252;sselgr&#246;&#223;e
cert_msg=Hier k&#246;nnen Sie ein SSL-Client-Zertifikat zu beantragen, das Ihnen in Zukunft ohne Eingabe von Benutzername und Kennwort einen sicheren Zugriff auf Webmin gestattet. Da jedoch diese Authentifizierung automatisch geschieht ist es nicht m&#246;glich zu einem anderen Benutzer zu wechseln.
cert_msg=Hier k&#246;nnen Sie ein SSL-Client-Zertifikat zu beantragen, das Ihnen in Zukunft ohne Eingabe von Benutzername und Kennwort einen sicheren Zugriff auf Webmin gestattet. Da jedoch diese Authentifizierung automatisch geschieht, ist es nicht m&#246;glich zu einem anderen Benutzer zu wechseln.
cert_o=Organisation
cert_ou=Abteilung
cert_pickup=<a href='$1'>Klicken Sie hier, um Ihr Zertifikat aufzunehmen und es in Ihrem Browser zu installieren.</a>
@@ -100,6 +100,7 @@ cpass_notre=Entspricht einen nicht erlaubten Muster
cpass_old=Alte Kennw&#246;rter k&#246;nnen nicht wieder verwendet werden
cpass_re=Entspricht nicht einem erforderlichen Muster
cpass_spellcmd=Entweder der $1 oder $2 Befehl muss installiert sein um eine W&#246;rterbuchpr&#252;fung durchzuf&#252;hren
delete_eanonuser=Dieser Benutzer wird f&#252;r anonymen Modul-Zugriff verwendet
delete_ecannot=Sie haben keine Berechtigung Benutzer zu l&#246;schen
delete_err=Fehler beim L&#246;schen des Benutzers
delete_eself=Sie k&#246;nnen sich selber nicht l&#246;schen
@@ -136,7 +137,7 @@ edit_minsize=Minimale Passwortl&#228;nge
edit_mods=Verf&#252;gbare Webminmodule
edit_modsg=Verf&#252;gbare Webminmodule (zus&#228;tzlich zu Modulen der Gruppe)
edit_modules=Module
edit_nochange=Forciere Passwort&#228;nderungstage
edit_nochange=Forciere Passwort&#228;nderungstage?
edit_none=Keine
edit_notabs=Module in Kategorien aufteilen?
edit_overlay=Personal theme overlay
@@ -155,7 +156,7 @@ edit_proto_postgresql=PostgreSQL Datenbank
edit_rbacdeny=RBAC-Zugriffsmodus
edit_rbacdeny0=RBAC kontrolliert nur ausgew&#228;hlte Modul-ACLs
edit_rbacdeny1=RBAC kontrolliert alle Module und ACLs
edit_readonly=Dieser Webminbenutzer sollte &#252;ber das $1 Modul bearbeitet werden. <a href='$2'>Klicken Sie hier</a>, um diese Warnung zu &#252;bergehen und um den Benutzer dennoch zu bearbeiten. Es kann jedoch sein, da&#223; hier vorgenommene &#196;nderungen durch das $1 Modul &#252;berschrieben werden.
edit_readonly=Dieser Webminbenutzer sollte &#252;ber das $1 Modul bearbeitet werden. <a href='$2'>Klicken Sie hier</a>, um diese Warnung zu &#252;bergehen und um den Benutzer dennoch zu bearbeiten. Es kann jedoch sein, dass hier vorgenommene &#196;nderungen durch das $1 Modul &#252;berschrieben werden!
edit_real=Echter Name
edit_return=Webminbenutzer
edit_return2=Webmingruppe
@@ -187,7 +188,7 @@ edit_twofactorprov=Benutze Provider $1 mit ID $2
edit_ui=Optionen des Benutzerinterfaces
edit_unix=Unix-Authentifizierung
edit_user=Benutzername
gdelete_desc=Sind Sie sicher, da&#223; Sie die Gruppe $1 und Benutzer $2 l&#246;schen wollen?
gdelete_desc=Sind Sie sicher, dass Sie die Gruppe $1 und Benutzer $2 l&#246;schen wollen?
gdelete_ecannot=Sie sind nicht berechtigt Gruppen zu l&#246;schen
gdelete_err=Fehler beim L&#246;schen einer Gruppe
gdelete_esub=Gruppen, die Untergruppen enthalten, k&#246;nnen nicht gel&#246;scht werden
@@ -196,7 +197,7 @@ gdelete_ok=Gruppe l&#246;schen
gdelete_title=Gruppe l&#246;schen
gdeletes_err=Konnte Gruppen nicht l&#246;schen
gdeletes_ok=Gruppe l&#246;schen
gdeletes_rusure=Sind Sie sicher, da&#223; Sie die $1 ausgew&#228;hlten Gruppen, inklusive der darin enthaltenen $2 Benutzer, l&#246;schen m&#246;chten? S&#228;mtliche Benutzer- und zugeh&#246;rige Sicherheitseinstellungen gehen definitiv und nicht wiederherstellbar verloren.
gdeletes_rusure=Sind Sie sicher, dass Sie die $1 ausgew&#228;hlten Gruppen, inklusive der darin enthaltenen $2 Benutzer, l&#246;schen m&#246;chten? S&#228;mtliche Benutzer- und zugeh&#246;rige Sicherheitseinstellungen gehen definitiv und nicht wiederherstellbar verloren.
gdeletes_title=Gruppe l&#246;schen
gdeletes_users=Ausgew&#228;hlte Gruppen: $1
gedit_desc=Gruppenbeschreibung
@@ -215,7 +216,7 @@ gsave_enamewebmin=Der Gruppenname 'webmin' ist f&#252;r interne Zwecke reservier
gsave_err=Fehler beim Speichern der Gruppe
hide_clone=(Klone $1)
hide_desc=Das folgende Modul wird von der Zugriffskontrollliste f&#252;r $1 entfernt, da die entsprechenden Server nicht auf Ihrem System installiert sind.
hide_desc2=Bedenken Sie, da&#223; dieses Modul nicht automatisch sichtbar wird, wenn der entsprechende Server nachtr&#228;glich installiert wird. Sie m&#252;ssen den Zugriff &#252;ber dieses Modul erneut einrichten.
hide_desc2=Bedenken Sie, dass dieses Modul nicht automatisch sichtbar wird, wenn der entsprechende Server nachtr&#228;glich installiert wird. Sie m&#252;ssen den Zugriff &#252;ber dieses Modul erneut einrichten.
hide_none=Nichts zu verbergen - $1 hat keinen Zugriff zu irgendeinem Modul dessen entsprechender Server nicht auf Ihrem System installiert ist.
hide_ok=Verberge Module jetzt
hide_title=Verberge nicht benutzte Module
@@ -270,6 +271,7 @@ log_switch=Gewechselt zu Benutzer $1
log_sync=&#196;ndere Unixbenutzer-Syncronisation
log_twofactor=Benutzer $1 mit 2-Faktor-Anbieter $2 angemeldet
log_unix=&#196;ndere Unixbenutzer-Authentifizierung
logins_title=Aktuelle Webmin-Logins
make_done=.. fertig
make_err=Fehlgeschlagen Benutzer- und Gruppentabellen zu erstellen
make_exec=Ausf&#252;hre SQL $1 ..
@@ -342,11 +344,17 @@ save_euser=Sie haben keine Berechtigung diesen Benutzer zu bearbeiten
schema_desc=Bevor Webmin ein LDAP-Server verwenden kann um Benutzer und Gruppen zu speichern, muss konfiguriert werden, das Schema unten zu verwenden. Dies kann in der Regel durch Speicherung der Schema-Definition in <tt>/etc/ldap/schema</tt> oder <tt>/etc/openldap/schema</tt> als <tt>webmin.schema</tt>, anschlie&#223;end kann die Konfiguration des Servers erfolgen, das Schema-Datei zu laden.
schema_download=Download Schema-Datei : <a href=$1>$1</a>
schema_title=Download LDAP-Schema
sessions_desc=Aktuell angemeldete Webmin-Sitzungen sind unten aufgelistet. Zum Abbrechen einer bestehenden Sitzung und um den Benutzer zu zwingen sich neu anzumelden, klicken Sie auf die Sitzungs-ID.
sessions_actions=Aktionen..
sessions_host=IP-Adresse
sessions_id=Sitzungs-ID
sessions_in=Eingeloggt
sessions_kill=Getrennt..
sessions_login=Angemeldet an
sessions_logouts=Zeige auch abgemeldete Sitzungen ..
sessions_lview=Zeige Aufzeichnungen..
sessions_out=Ausgeloggt
sessions_state=Status
sessions_this=Dieser Login
sessions_title=Aktuell angemeldete Sitzungen
sessions_user=Webminbenutzer
sql_addto0=Hinzuf&#252;gen neuer Benutzer zur Datenbank, wie oben ausgew&#228;hlt
@@ -421,8 +429,9 @@ twofactor_title=2-Faktor-Authentifizierung
udeletes_enone=Nichts ausgew&#228;hlt
udeletes_ereadonly=Einer der ausgew&#228;hlten Benutzer ist als nicht bearbeitbar markiert.
udeletes_err=Konnte Benutzer nicht l&#246;schen
udeletes_jerr=Fehler beim Nutzer zu Gruppe hinzuf&#252;gen
udeletes_ok=Benutzer l&#246;schen
udeletes_rusure=Sind Sie sicher, da&#223; Sie die $1 ausgew&#228;hlten Benutzer l&#246;schen m&#246;chten? S&#228;mtliche Benutzer- und zugeh&#246;rige Sicherheitseinstellungen gehen definitiv und nicht wiederherstellbar verloren.
udeletes_rusure=Sind Sie sicher, dass Sie die $1 ausgew&#228;hlten Benutzer l&#246;schen m&#246;chten? S&#228;mtliche Benutzer- und zugeh&#246;rige Sicherheitseinstellungen gehen definitiv und nicht wiederherstellbar verloren.
udeletes_title=Benutzer l&#246;schen
udeletes_users=Ausgew&#228;hlte Benutzer: $1
unix_all=Erlaube alle Unixbenutzer

View File

@@ -146,6 +146,7 @@ delete_err=Failed to delete user
delete_eself=You cannot delete yourself
delete_ecannot=You are not allowed to delete users
delete_euser=You are not allowed to delete this user
delete_eanonuser=This user is being used for anonymous module access
cert_title=Request Certificate
cert_issue=Issue Certificate
@@ -337,12 +338,20 @@ unix_header=Unix user authentication settings
unix_utable=Allowed Unix users
sessions_title=Current Login Sessions
sessions_desc=Current Webmin session logins are listed below. To cancel an existing session and force the user to login again, click on its session ID.
sessions_id=Session ID
sessions_user=Webmin user
sessions_login=Logged in at
sessions_host=IP address
sessions_lview=View logs..
sessions_actions=Actions..
sessions_logouts=Also show logged-out sessions..
sessions_state=State
sessions_this=This login
sessions_in=Logged in
sessions_out=Logged out
sessions_kill=Disconnect..
logins_title=Recent Webmin logins
hide_title=Hide Unused Modules
hide_desc=The following modules will be removed from the module access list for $1 as their corresponding servers are not installed on your system ..
@@ -362,6 +371,7 @@ rbac_ecpan=You do not have access to Webmin's Perl Modules page in order to inst
rbac_ok=RBAC integration is available on this system, and can be enabled on a per-user basis on the Edit Webmin User page.
udeletes_err=Failed to delete users
udeletes_jerr=Failed to add users to group
udeletes_enone=None selected
udeletes_title=Delete Users
udeletes_rusure=Are you sure you want to delete the $1 selected users? All of their access control settings and user details will be lost.

View File

@@ -100,6 +100,7 @@ cpass_notre=Matcher et
cpass_old=Gamle passord kan ikke brukes p&#229; nytt
cpass_re=Stemmer ikke med et p&#229;krevd m&#248;nster
cpass_spellcmd=Ingen av kommandoene $1 eller $2, som er n&#248;dvendige for &#229; sjekke ordiliste-ord, er installert
delete_eanonuser=Denne brukeren brukes til anonym modul tilgang
delete_ecannot=Du har ikke rettigheter til &#229; slette brukere
delete_err=Kunne ikke slette bruker
delete_eself=Du kan ikke slette deg selv
@@ -270,6 +271,7 @@ log_switch=Byttet til Webmin bruker $1
log_sync=Endret unix bruker-synkronisering
log_twofactor=Meldte inn bruker $1 til to-faktor autentisering
log_unix=Endret unix bruker-autentisering
logins_title=Siste Webmin innlogginger
make_done=.. ferdig
make_err=Kunne ikke opprette bruker- og gruppe-tabeller
make_exec=Utf&#248;rer SQL $1 ..
@@ -342,11 +344,17 @@ save_euser=Du har ikke tilgang til &#229; editere denne brukeren
schema_desc=F&#248;r Webmin kan bruke en LDAP tjener for lagring av brukere og grupper m&#229; den konfigureres til &#229; bruke skjemaet nedenfor. Dette kan typeisk gj&#248;res ved &#229; lagre skjemadefinisjonen i tt>/etc/ldap/schema</tt> eller <tt>/etc/openldap/schema</tt> som <tt>webmin.schema</tt>, og s&#229; konfigurere tjeneren ti l&#229; laste den skjemafilen.
schema_download=Last ned skjema-fil : <a href=$1>$1</a>
schema_title=Last ned LDAP skjema
sessions_desc=Aktuelle Webmin sesjon logins er listet under. For &#229; kansellere en eksisterende sesjon og tvinge brukeren til &#229; logge inn igjen, klikk p&#229; brukerens sesjon ID.
sessions_actions=Handlinger..
sessions_host=IP adresse
sessions_id=Sessions ID
sessions_login=Logget in p&#229;
sessions_in=Innlogget
sessions_kill=Koble fra..
sessions_login=Innlogget
sessions_logouts=Vis ogs&#229; utloggede sesjoner..
sessions_lview=Se logger..
sessions_out=Logget ut
sessions_state=Tilstand
sessions_this=Denne innloggingen
sessions_title=Aktuell Login Session
sessions_user=Webmin bruker
sql_addto0=Legg til nye brukere i databasen valgt ovenfor
@@ -421,6 +429,7 @@ twofactor_title=To-faktor autentisering
udeletes_enone=Ingen valgt
udeletes_ereadonly=En av de valgte brukerne er merket som ikke-redigerbar
udeletes_err=Kunne ikke slette brukere
udeletes_jerr=Kunne ikke legg til brukere i gruppe
udeletes_ok=Slett brukere
udeletes_rusure=Er du sikker p&#229; at du &#248;nsker &#229; slette de $1 valgte brukerne? Alle deres tilgangskontroll innstillinger og andre brukerdetaljer vil g&#229; tapt.
udeletes_title=Slett brukere

View File

@@ -100,6 +100,7 @@ cpass_notre=Pasuje do niedozwolonego wzorca
cpass_old=Nie można używać starych haseł
cpass_re=Nie pasuje do wymaganego wzorca
cpass_spellcmd=Nie zainstalowano komend $1 lub $2 wymaganych do sprawdzania słów ze słownika
delete_eanonuser=Ten użytkownik jest wykorzystywany przy anonimowym dostępie do modułu
delete_ecannot=Nie masz zezwolenia na usuwanie użytkowników
delete_err=Nie udało się usunąć użytkownika
delete_eself=Nie możesz usunąć samego siebie
@@ -421,6 +422,7 @@ twofactor_title=Dwustopniowe uwierzytelnianie
udeletes_enone=Nie wybrane
udeletes_ereadonly=Jeden z wybranych użytkowników jest oznaczony jako nie-edytowalny
udeletes_err=Błąd usuwanie użytkowników
udeletes_jerr=Dodanie użytkowników do grupy nie powiodło się
udeletes_ok=Usuń użytkowników
udeletes_rusure=Czy jesteś pewny, że chcesz usunąć $1 wybranych użytkowników? Wszystkie ustawienia kontroli dostępu i szczegóły użytkowników zostaną utracone.
udeletes_title=Usuń użytkowników

View File

@@ -8,6 +8,7 @@ require './acl-lib.pl';
our (%in, %text, %config, %access, %sessiondb);
$access{'sessions'} || &error($text{'sessions_ecannot'});
&ui_print_header(undef, $text{'sessions_title'}, "");
&ReadParse();
my %miniserv;
&get_miniserv_config(\%miniserv);
@@ -21,27 +22,38 @@ foreach my $u (&list_users()) {
my $haslog = &foreign_available("webminlog");
print "<b>$text{'sessions_desc'}</b><p>\n";
print &ui_columns_start([ $text{'sessions_id'},
$text{'sessions_state'},
$text{'sessions_user'},
$text{'sessions_host'},
$haslog ? ( $text{'sessions_login'} ) : ( ),
"" ], 100);
$text{'sessions_login'},
$text{'sessions_actions'},
], 100);
foreach my $k (sort { my @a = split(/\s+/, $sessiondb{$a});
my @b = split(/\s+/, $sessiondb{$b}); $b[1] <=> $a[1] }
keys %sessiondb) {
(grep { $sessiondb{$_} } keys %sessiondb)) {
next if ($k =~ /^1111111/);
my ($user, $ltime, $lip) = split(/\s+/, $sessiondb{$k});
next if ($user =~ /^\!/ && !$in{'logouts'});
next if ($miniserv{'logouttime'} &&
$time_now - $ltime > $miniserv{'logouttime'}*60);
my @cols;
my $candel = 0;
if ($k eq $main::session_id ||
$k eq &hash_session_id($main::session_id)) {
# Cannot self-terminate
push(@cols, "<b>$k</b>");
push(@cols, "<b><tt>$k</tt></b>");
push(@cols, $text{'sessions_this'});
}
elsif ($user =~ s/^\!//) {
# Already logged out
push(@cols, "<tt>$k</tt>");
push(@cols, $text{'sessions_out'});
}
else {
push(@cols, ui_link("delete_session.cgi?id=$k", $k));
push(@cols, "<tt>$k</tt>");
push(@cols, $text{'sessions_in'});
$candel = 1;
}
if ($hasuser{$user}) {
push(@cols, ui_link("edit_user.cgi?user=$user", $user));
@@ -54,12 +66,21 @@ foreach my $k (sort { my @a = split(/\s+/, $sessiondb{$a});
}
push(@cols, $lip);
push(@cols, &make_date($ltime));
my @links;
if ($haslog) {
push(@cols, ui_link("../webminlog/search.cgi?uall=1&mall=1&tall=1&wall=1&fall=1&sid=$k", $text{'sessions_lview'}));
push(@links, ui_link("../webminlog/search.cgi?uall=1&mall=1&tall=1&wall=1&fall=1&sid=$k", $text{'sessions_lview'}));
}
if ($candel) {
push(@links, ui_link("delete_session.cgi?id=$k", $text{'sessions_kill'}));
}
push(@cols, ui_links_row(\@links));
print &ui_columns_row(\@cols);
}
print &ui_columns_end();
if (!$in{'logouts'}) {
print &ui_link("list_sessions.cgi?logouts=1",
$text{'sessions_logouts'}),"<p>\n";
}
&ui_print_footer("", $text{'index_return'});

View File

@@ -40,3 +40,5 @@ longdesc_ms_MY=Cipta pengguna Webmin dan konfigurasikan modul dan ciri-ciri yang
desc_ms_MY=Pengguna Webmin
longdesc_de=Erstellt Webmin-Benutzer und konfiguriert, auf welche Module und Funktionen diese berechtigt sind, zugreifen.
longdesc_es=Crear usuarios de webmin y configurar a que modulos y caracteristicas pueden acceder.
longdesc_pl=Twórz u¿ytkowników Webmina i kontroluj, które modu³y i funkcje s± dla nich dostêpne.
longdesc_ca=Crea usuaris Webmin i configura quins mòduls i característiques tenen permès d'accedir.

View File

@@ -42,6 +42,8 @@ if ($in{'old'}) {
$old || &error($text{'edit_egone'});
$user{'proto'} = $old->{'proto'};
$user{'id'} = $old->{'id'};
$user{'twofactor_provider'} = $old->{'twofactor_provider'};
$user{'twofactor_id'} = $old->{'twofactor_id'};
}
else {
$access{'create'} || &error($text{'save_ecreate'});

62
acl/system_info.pl Normal file
View File

@@ -0,0 +1,62 @@
use strict;
use warnings;
our (%text, $remote_user, %sessiondb, $module_name);
do 'acl-lib.pl';
# list_system_info(&data, &in)
# Show recent logins
sub list_system_info
{
my ($data, $in) = @_;
my @rv;
my %miniserv;
&get_miniserv_config(\%miniserv);
&open_session_db(\%miniserv);
my @logins;
foreach my $k (keys %sessiondb) {
next if ($k =~ /^1111111/);
next if (!$sessiondb{$k});
my ($user, $ltime, $lip) = split(/\s+/, $sessiondb{$k});
next if ($user ne $remote_user && $user ne "!".$remote_user);
push(@logins, [ $user, $ltime, $lip, $k ]);
}
if (@logins) {
@logins = sort { $b->[1] <=> $a->[1] } @logins;
if (@logins > 5) {
@logins = @logins[0..4];
}
my $html = &ui_columns_start([ $text{'sessions_host'},
$text{'sessions_login'},
$text{'sessions_state'} ]);
my $open = 0;
foreach my $l (@logins) {
my $state;
if ($l->[0] =~ /^\!/) {
$state = $text{'sessions_out'};
}
elsif ($l->[3] eq $main::session_id ||
$l->[3] eq &hash_session_id($main::session_id)) {
$state = "<font color=green>$text{'sessions_this'}</a>";
}
else {
$state = $text{'sessions_in'};
if ($l->[2] ne $ENV{'REMOTE_HOST'}) {
$open++;
$state = "<font color=orange>$state</font>";
}
}
$html .= &ui_columns_row([ $l->[2],
&make_date($l->[1]),
$state ]);
}
$html .= &ui_columns_end();
push(@rv, { 'type' => 'html',
'desc' => $text{'logins_title'},
'open' => $open,
'id' => $module_name.'_logins',
'priority' => -100,
'html' => $html });
}
return @rv;
}

View File

@@ -1,7 +1,9 @@
use strict;
use warnings;
do "acl-lib.pl";
if (!$main::done_foreign_require{"acl","acl-lib.pl"}) {
do "acl-lib.pl";
}
our (%config, $config_directory);
# useradmin_create_user(&details)
@@ -81,7 +83,7 @@ if ($u && $u->{'sync'}) {
}
if ($_[0]->{'user'} ne $_[0]->{'olduser'}) {
if ($_[0]->{'olduser'} && $_[0]->{'user'} ne $_[0]->{'olduser'}) {
# Check other users' acl module acls
foreach my $u (&list_users()) {
my %uaccess = &get_module_acl($u->{'name'});

View File

@@ -6,7 +6,7 @@ use WebminCore;
# Output HTML for editing global security options
sub acl_security_form
{
local $o = $_[0];
my ($o) = @_;
# Root directory for file browser
print &ui_table_row($text{'acl_root'},

View File

@@ -2,7 +2,7 @@ line2=Konfiguracja systemu,11
pppoe_conf=Plik konfiguracji PPPOE ADSL,0
conf_style=Format pliku konfiguracyjnego,1,0-Standardowa konfiguracja RP-PPPoE,1-Plik sieciowy Redhat
pap_file=Plik kont PPP,0
pppoe_cmd=Pełna ścieżka do komendy pppoe,0
start_cmd=Komenda do podniesienia połączenia ADSL,0
stop_cmd=Komenda do zamknięcia połączenia ADSL,0
status_cmd=Komenda do pobrania stanu połączenia ADSL,0
pppoe_cmd=Pełna ścieżka do polecenia pppoe,0
start_cmd=Polecenie do podniesienia połączenia ADSL,0
stop_cmd=Polecenie do zamknięcia połączenia ADSL,0
status_cmd=Polecenie do pobrania stanu połączenia ADSL,0

View File

@@ -0,0 +1,6 @@
<header>Hvor lenge tilkobling forsøkes</header>
Når ADSL klient programmet startes, vil det forsøke å koble til din ISP så
lenge som det er angitt i dette feltet. <p>
<hr>

View File

@@ -0,0 +1,8 @@
<header>Koble til ved behov?</header>
Når Nei er valgt, vil ADSL tilkobling kun startes når det eksplisitt bes om det.
Hvis Ja er valgt, vil tilkoblingen tas opp ved behov, og holdes oppe så lenge
det går trafikk. Tidsavbruddet bestemmer hvor lenge tilkoblingen kan være
inaktiv før den tas ned. <p>
<hr>

View File

@@ -24,3 +24,5 @@ desc_pl.UTF-8=Klient ADSL
desc_no=ADSL klient
longdesc_ms_MY=Sediakan klien PPP dengan pakej RP-PPPoE.
desc_ms_MY=Klien ADSL
longdesc_pl=Konfigurowanie klienta PPTP z pakietem RP-PPPoE.
longdesc_ca=Configura un client PPP amb el paquet RP-PPPoE.

Binary file not shown.

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