Compare commits

...

1012 Commits

Author SHA1 Message Date
Ilia Ross
2c8ec1bfff Fix not to return short hostname unless set 2023-08-25 15:58:35 +03:00
Ilia Ross
30e6360fa2 Update CHANGELOG.md 2023-08-24 00:58:40 +03:00
Jamie Cameron
dda9290ff5 minor version bump 2023-08-23 11:53:53 -07:00
Jamie Cameron
15a00d8119 Remove perl module dependency and just use glob instead 2023-08-23 11:49:00 -07:00
Jamie Cameron
9289083171 No need for BEGIN block 2023-08-23 10:54:20 -07:00
Jamie Cameron
3d482d2bf5 Support CF-Connecting-IPv6 header 2023-08-22 18:46:43 -07:00
Jamie Cameron
318150e6b0 Merge branch 'master' of github.com:webmin/webmin 2023-08-21 17:18:53 -07:00
Jamie Cameron
8939b060b4 Clean up diff dirs so they don't get package up https://forum.virtualmin.com/t/debian-upgrade-nwe-directories-in-root-and-orig-directories-left-after-upgrade-completed/122241/8 2023-08-21 17:18:46 -07:00
Ilia Ross
4709ff6adf Add support for odd Amazon Linux interface names 2023-08-22 01:52:22 +03:00
Jamie Cameron
31af9f996c Also support CF-Connecting-IP https://github.com/webmin/webmin/issues/1956 2023-08-21 10:04:16 -07:00
Jamie Cameron
c716443737 Merge branch 'master' of github.com:webmin/webmin 2023-08-20 21:22:15 -07:00
Jamie Cameron
fd06605f51 Add support for True-Client-IP header as used by Cloudflare https://github.com/webmin/webmin/issues/1956 2023-08-20 21:22:08 -07:00
Ilia Ross
c8f6b05987 Add Config::IniFiles to vendor_perl [build]
* Amazon Linux doesn't have it available anywhere
2023-08-20 15:24:12 +03:00
Ilia Ross
a90dbc5f33 Fix not to print HTML in stdout 2023-08-20 14:08:31 +03:00
Ilia Ross
7fc16f8948 Update CHANGELOG.md 2023-08-19 18:22:16 +03:00
Ilia Ross
a2f1f24a95 Fix Apache graceful restart
https://github.com/virtualmin/virtualmin-gpl/issues/613
2023-08-18 16:15:36 +03:00
Ilia Ross
825b928168 Fix not to escape HTML unless sent to UI 2023-08-18 12:57:43 +03:00
Jamie Cameron
de648c24bd Expand range of versions 2023-08-17 18:28:11 -07:00
Ilia Ross
907818d2a4 Fix SpamAssassin config for Debian 12 2023-08-17 22:45:14 +03:00
Jamie Cameron
60a79e67d4 Merge branch 'master' of github.com:webmin/webmin 2023-08-16 20:41:14 -07:00
Jamie Cameron
04a3b8b5e6 Suppress output from monitor.pl https://github.com/webmin/webmin/issues/1984 2023-08-16 20:41:04 -07:00
Ilia Ross
dd1b4bc77b Fix to also set UCF_FORCE_CONFFOLD variable
https://github.com/virtualmin/virtualmin-gpl/issues/612
2023-08-16 15:12:18 +03:00
Ilia Ross
5156a472be Fix a bug in regex to correctly grep wack [build]
https://sourceforge.net/p/webadmin/discussion/55377/thread/78e5aa05f3
2023-08-16 13:48:54 +03:00
Ilia Ross
185e7db58d Revert "Revert "Fix to priorities ip command usage""
This reverts commit f8ec917bc5.
2023-08-16 13:03:51 +03:00
Ilia Ross
f8ec917bc5 Revert "Fix to priorities ip command usage"
This reverts commit 3b36dfa8ad.
2023-08-16 13:01:17 +03:00
Jamie Cameron
1016ec5f1d HTML escape more fields 2023-08-15 22:16:09 -07:00
Jamie Cameron
8a6d4cfefd Escape some more inputs 2023-08-15 22:15:10 -07:00
Jamie Cameron
7cbbdc898a More HTML escaping 2023-08-15 22:13:14 -07:00
Jamie Cameron
8db4074d4d HTML escape more stuff 2023-08-15 21:18:50 -07:00
Jamie Cameron
f6c48e7a11 Merge branch 'master' of github.com:webmin/webmin 2023-08-15 21:14:14 -07:00
Jamie Cameron
9ae54e61bd Escape search input 2023-08-15 21:13:53 -07:00
Ilia Ross
e917f33e09 Fix to correctly compare Webmin version being semantic version 2023-08-15 17:15:13 +03:00
Jamie Cameron
38aa06b8c6 Merge branch 'master' of github.com:webmin/webmin 2023-08-14 23:03:00 -07:00
Jamie Cameron
57e710e8a6 Small code cleanup 2023-08-14 23:02:35 -07:00
Ilia Ross
0d9d978f72 Fix APT repos
https://forum.virtualmin.com/t/switch-to-new-webmin-repository-url-doesnt-work/121851/5?u=ilia
2023-08-12 11:17:33 +03:00
Jamie Cameron
196b886ddb Merge branch 'master' of github.com:webmin/webmin 2023-08-11 20:36:22 -07:00
Jamie Cameron
4197e61772 Allow use of proxied SSL client name even when in non-SSL mode https://github.com/webmin/webmin/issues/1962 2023-08-11 20:35:57 -07:00
Ilia Ross
6dc87705d9 Fix to always fix Debian repo in the new format 2023-08-11 14:05:08 +03:00
Jamie Cameron
4b59570a82 Merge branch 'master' of github.com:webmin/webmin 2023-08-10 08:14:37 -07:00
Ilia Ross
33927e07ae Fix missing semicolon 2023-08-10 15:10:04 +03:00
Ilia Ross
65444b8865 Fix Terminal focus bug 2023-08-10 14:25:00 +03:00
Jamie Cameron
5357b084af Deal with case where there is no address https://sourceforge.net/p/webadmin/bugs/5630/ 2023-08-09 22:58:31 -07:00
Ilia Ross
862bbc36df Fix to address XSS issues #4 2023-08-09 19:07:13 +03:00
Ilia Ross
e6105bb757 Fix to address XSS issues #1 2023-08-09 16:49:40 +03:00
Ilia Ross
864e0c4918 Fix Cron edit files manually page not display directories #1978 [build] 2023-08-09 14:23:41 +03:00
Ilia Ross
115c5763a3 Fix Postfix edit files manually page not display directories #1978 [build] 2023-08-09 12:46:21 +03:00
Ilia Ross
d6e307d59a Fix not to use new lines to avoid color overflow 2023-08-08 23:19:34 +03:00
iliajie
9dc21ace2d Fix CHANGELOG.md 2023-08-08 14:24:06 +03:00
iliajie
c500759d83 Fix to simplify the code 2023-08-07 21:52:22 +03:00
iliajie
736d30ef76 Fix to display error message cleanly #1975 2023-08-07 19:44:47 +03:00
Jamie Cameron
a27095f40f Merge branch 'master' of github.com:webmin/webmin 2023-08-06 09:51:06 -07:00
Jamie Cameron
60a3b3b4a9 Make sure NSEC3PARAM record is always deleted https://github.com/virtualmin/virtualmin-gpl/issues/604 2023-08-06 09:50:43 -07:00
iliajie
f932925b29 Fix support for Amazon Linux release 2023 OS [build] 2023-08-06 15:45:57 +03:00
iliajie
21e8940860 Update CHANGELOG.md [build] 2023-08-05 23:46:51 +03:00
Jamie Cameron
944794aeac Fix duplicate string 2023-08-05 13:03:12 -07:00
Jamie Cameron
00bd6cf27f Merge branch 'master' of github.com:webmin/webmin 2023-08-05 12:28:52 -07:00
Jamie Cameron
1fb3bfa6ef Update webmin from repository if a package is available 2023-08-05 12:28:06 -07:00
iliajie
da14ecbe46 Update install command to use recommends 2023-08-05 20:19:36 +03:00
Jamie Cameron
1c48f3761e Merge branch 'master' of github.com:webmin/webmin 2023-08-04 17:06:32 -07:00
Jamie Cameron
246b0018eb Hack around IMAP not supporting regexps in searches https://forum.virtualmin.com/t/usermin-email-filters/121844/4 2023-08-04 17:06:01 -07:00
iliajie
2e97b09d10 Fix to show correct locale for sudo-capable user https://github.com/webmin/authentic-theme/issues/1663
f3cc268f0c
2023-08-04 12:58:39 +03:00
iliajie
f3cc268f0c Fix to show correct locale for sudo-capable user #1663 [build] 2023-08-04 12:54:17 +03:00
iliajie
8c3973c68f Update CHANGELOG [build] 2023-08-04 00:58:02 +03:00
Jamie Cameron
33b591dfac Also check if hash format is valid for yescrypt 2023-08-03 14:49:04 -07:00
Jamie Cameron
ec0ab05782 Merge branch 'master' of github.com:webmin/webmin 2023-08-03 14:41:02 -07:00
Jamie Cameron
4b03b80912 Generate new salt if salt isn't valid for SHA 2023-08-03 14:40:16 -07:00
iliajie
d312c3e318 Add support for Amazon Linux 2023 [build] 2023-08-03 23:20:28 +03:00
iliajie
9439ba0450 Add container class 2023-08-03 21:57:03 +03:00
iliajie
bea827c0b7 Fix various XSS related issues 2023-08-03 17:21:40 +03:00
iliajie
b1ee7cbf53 Move Encode::Detect to recommends [build] 2023-08-03 14:09:13 +03:00
iliajie
f56807c023 Fix to make build conditional and test against message 2023-08-03 14:00:50 +03:00
iliajie
7b34282488 Fix to remove building on schedule 2023-08-03 13:49:20 +03:00
iliajie
31b48f8dd6 Add nightly warning 2023-08-03 13:27:18 +03:00
Jamie Cameron
8c1a74d245 More escaping of folder names 2023-08-02 23:21:25 -07:00
Jamie Cameron
6ae1061900 Escape category name 2023-08-02 21:10:35 -07:00
Jamie Cameron
7de3647f0d Escape all the places where the module description is displayed 2023-08-02 17:28:24 -07:00
iliajie
76389ea06c Fix to do more filtering to address reported XSS issue 2023-08-03 00:05:23 +03:00
iliajie
8ae4364ee1 Fix let caller do filtering 2023-08-02 23:42:17 +03:00
iliajie
054f0a254e Fix to do a bit more filtering to prevent root user XSS itself 2023-08-02 23:31:59 +03:00
iliajie
02a5982ff9 Fix for Usermin to clone Webmin repos too 2023-08-02 20:31:26 +03:00
iliajie
a835742293 webmin.dev: Deploy Webmin package 2023-08-02 20:05:55 +03:00
iliajie
2d7f299419 Fix workflows location 2023-08-02 20:04:51 +03:00
iliajie
3bd37be97b Add builds 2023-08-02 20:02:54 +03:00
iliajie
62e1b4c785 Add script to setup development repos with signing keys 2023-08-02 01:48:13 +03:00
Jamie Cameron
3671a76333 Ubuntu 23 has renamed the SSH systemd service to ssh 2023-08-01 15:39:59 -07:00
iliajie
f3652c7a87 Fix wording https://github.com/webmin/webmin/issues/1971#issuecomment-1659864264 2023-08-01 11:50:52 +03:00
Jamie Cameron
980c4c834c Merge branch 'master' of github.com:webmin/webmin 2023-07-31 11:01:35 -07:00
Jamie Cameron
df438c59ed Prevent incompatible option setting https://github.com/webmin/webmin/issues/1971 2023-07-31 11:01:27 -07:00
iliajie
932f2464bc Update CHANGELOG.md date 2023-07-31 16:52:19 +03:00
iliajie
d9ea914889 Fix to always upload to user home directory if possible 2023-07-31 03:10:00 +03:00
iliajie
1730540764 Fix to always download to user home directory if possible 2023-07-31 03:05:39 +03:00
iliajie
9454cb4a2b Merge branch 'master' of github.com:webmin/webmin 2023-07-31 02:50:57 +03:00
iliajie
355d7b5404 Fix to update CHANGELOG.md 2023-07-31 02:50:11 +03:00
iliajie
9f93c29c5f Fix more of those useless XSS 2023-07-31 02:43:25 +03:00
Jamie Cameron
43e671497a New version bump 2023-07-30 16:37:45 -07:00
iliajie
b14c1c07dc Fix to also discard any command output
Ref.: f4ad3293bf (diff-9801c20c5b4becfcc428783737908ea507bfa6387e42710a174992124d267912R64)
2023-07-30 12:23:33 +03:00
Jamie Cameron
f4ad3293bf No need to log a command that we're already capturing the output for 2023-07-29 17:51:41 -07:00
iliajie
e809329ca0 Fix to revert the fix "don't just blindly write the new key" ; fix logging 2023-07-29 22:45:44 +03:00
iliajie
3cc16bb120 Fix not to print section name if there is only one 2023-07-29 17:17:03 +03:00
iliajie
1eb43eafd2 Update key email 2023-07-29 14:28:58 +03:00
iliajie
f652def98d Merge branch 'master' of github.com:webmin/webmin 2023-07-29 11:49:44 +03:00
Jamie Cameron
392fb41a24 Make sure gzip and gunzip are installed 2023-07-28 23:30:13 -07:00
Jamie Cameron
c14b100845 Merge branch 'master' of github.com:webmin/webmin 2023-07-28 18:33:57 -07:00
Jamie Cameron
b3b5fff0dc If trusting the remote IP, also trust the proxied SSL client cert https://github.com/webmin/webmin/issues/1962 2023-07-28 18:33:48 -07:00
iliajie
ef0a48d83a Fix not to print empty section 2023-07-28 23:37:24 +03:00
iliajie
58a15dafc7 Fix fix repo script when there are multiple sources configured 2023-07-28 17:24:51 +03:00
iliajie
79f78d5e28 Fit to simplify message text for updating repo URL 2023-07-28 17:19:19 +03:00
Jamie Cameron
51e1c7bef3 Unix permission fixes 2023-07-26 21:51:05 -07:00
Jamie Cameron
5b5af3eb20 Merge branch 'master' of github.com:webmin/webmin 2023-07-26 21:50:16 -07:00
Jamie Cameron
2e93819c1b If a mail file is compressed, read it via gzip 2023-07-26 21:50:09 -07:00
iliajie
d3a10de65d Update CHANGELOG.md 2023-07-27 00:46:39 +03:00
iliajie
8ef754b477 Add error_stderr API 2023-07-26 22:38:28 +03:00
Jamie Cameron
4cbda407f9 Merge pull request #1142 from seabres/multiple_ldap_server
Allow multiple LDAP server for userdb
2023-07-25 17:17:37 -07:00
Jamie Cameron
71cce5c580 Merge branch 'master' of github.com:webmin/webmin 2023-07-25 16:04:03 -07:00
Jamie Cameron
360c27add5 Don't just blindly write the new key 2023-07-25 16:03:55 -07:00
iliajie
753290b95a Fix Squid package name 2023-07-25 21:11:38 +03:00
iliajie
ae579a2047 Fix headers names be in teletype text 2023-07-25 19:45:09 +03:00
iliajie
9746f7ea9e Add facility to check for Webmin module menu link 2023-07-24 01:01:02 +03:00
Jamie Cameron
e599e0206a Can only use ifup if innstalled 2023-07-23 08:40:27 -07:00
iliajie
f37dbd4c3d Fix to simplify wording 2023-07-22 22:22:54 +03:00
iliajie
ff42c66129 Fix to drop using official word 2023-07-22 22:20:47 +03:00
iliajie
d384e696f7 Fix to add support setting repos without human input #1961 2023-07-22 14:24:48 +03:00
iliajie
3b36dfa8ad Fix to priorities ip command usage 2023-07-22 13:31:20 +03:00
Jamie Cameron
2d900e88c8 Fix setting of default gateway https://github.com/webmin/webmin/issues/1960 2023-07-21 17:58:05 -07:00
Jamie Cameron
ba25fba714 Major version bump 2023-07-19 23:14:55 -07:00
iliajie
44fe8dd676 Fix to correctly pass screen reader option to Terminal 2023-07-19 23:15:58 +03:00
iliajie
143fb86567 Update translations 2023-07-19 20:08:41 +03:00
iliajie
dc721b2e4e Fix to support the mode without user prompt 2023-07-19 19:52:59 +03:00
iliajie
91a0e71d6f Merge branch 'master' of github.com:webmin/webmin 2023-07-19 17:21:36 +03:00
iliajie
30770eae4a Fix to format special words correctly inside config page 2023-07-19 17:21:21 +03:00
iliajie
b355fafe0d Fix to use correct label for fixed-width font 2023-07-19 17:20:51 +03:00
Jamie Cameron
076e3577ba Don't repeat check if failure was due to a timeout 2023-07-18 16:34:24 -07:00
Jamie Cameron
6493bc6564 Fix placement of button 2023-07-18 16:30:37 -07:00
Jamie Cameron
27c6a003d8 Merge pull request #1957 from webmin/dev/network-order-api
Add ability to present active interfaces the way network manager wants
2023-07-18 14:21:54 -07:00
iliajie
e9ecd9c09e Update CHANGELOG.md 2023-07-19 00:08:57 +03:00
iliajie
9135fa916b Add screen reader optional support in Terminal module 2023-07-19 00:07:55 +03:00
iliajie
8d392af6d3 Update CHANGELOG.md 2023-07-18 23:48:56 +03:00
Jamie Cameron
da5b0d2411 Merge pull request #1953 from webmin/dev/phpini-show-defaults
Add PHP module improvements
2023-07-18 13:34:15 -07:00
iliajie
cae06a79a0 Fix to use regular params 2023-07-18 22:53:58 +03:00
iliajie
1a807f5f58 Fix new line in the end of the file once again 2023-07-18 15:25:17 +03:00
iliajie
c56ea21638 Fix missing new line as in original file in master to avoid diff 2023-07-18 15:23:37 +03:00
iliajie
36095d04f8 Fix to use ip addr command only to get active interfaces 2023-07-18 15:19:29 +03:00
Jamie Cameron
8efeb1c86c Format hours and minutes the same https://github.com/webmin/authentic-theme/issues/1663 2023-07-17 18:51:02 -07:00
iliajie
582549ddb6 Fix correctly extract list of IPs ; support switching from DHCP to static 2023-07-17 15:13:45 +03:00
iliajie
04e14cc979 Add ability to present active interfaces the way network manager wants 2023-07-17 13:56:58 +03:00
Jamie Cameron
0cd5feb0a3 Set method and interfaces in one shot 2023-07-16 15:33:45 -07:00
Jamie Cameron
fd762c2f47 Add missing logging messages 2023-07-16 15:03:37 -07:00
Jamie Cameron
9aeab55a88 Don't match dynamic if we're matching it later 2023-07-16 14:39:41 -07:00
Jamie Cameron
3fb71fb569 Merge branch 'master' of github.com:webmin/webmin 2023-07-16 14:14:27 -07:00
Jamie Cameron
f4d83f5ebf Priorize the dynamically assigned IP 2023-07-16 14:14:18 -07:00
iliajie
b2f4dd4fe8 Fix to clearly say if option cannot be extracted 2023-07-16 20:35:02 +03:00
iliajie
0c575c5266 Fix not to display options that are deprecated or removed 2023-07-16 17:27:47 +03:00
iliajie
acc47ce0e7 Add PHP API for comparison and version extraction 2023-07-16 17:13:50 +03:00
iliajie
81e5120fc4 Add displaying tooltip with defaults for "PHP Variables" page 2023-07-16 15:14:23 +03:00
iliajie
281cb21cce Add displaying tooltip with defaults for "Directory Settings" page 2023-07-16 15:10:41 +03:00
iliajie
ad084a1ceb Fix to display unknown value as empty not to be confusing 2023-07-16 15:07:17 +03:00
iliajie
4b436c2f16 Add displaying tooltip with defaults for "Database Settings" page 2023-07-16 15:05:51 +03:00
iliajie
51e672b87d Add displaying tooltip with defaults for "Session Options" page 2023-07-16 14:52:59 +03:00
iliajie
f21650971e Add displaying tooltip with defaults for "Error Logging" page 2023-07-16 14:52:27 +03:00
iliajie
eccb7a169c Add displaying tooltip with defaults for "Other Settings" page 2023-07-16 14:50:33 +03:00
iliajie
77c9d1fa9c Fix tooltip content formatting if HTML is supported 2023-07-16 14:49:04 +03:00
iliajie
fb0b6b4044 Fix to simplify linkage to PHP.net 2023-07-16 13:13:08 +03:00
iliajie
deb172ca82 Fix PHP detection from the path to work for all supported distros 2023-07-16 13:09:19 +03:00
iliajie
f7dc0add11 Add initial support for displaying default PHP value 2023-07-16 03:44:10 +03:00
iliajie
915781d381 Fix typo 2023-07-16 01:36:31 +03:00
iliajie
dca48f4f00 Add support for the new link bubbles 2023-07-16 01:35:11 +03:00
iliajie
8e47199147 Fix to consider active interface using new ui_element_inline API 2023-07-15 23:28:57 +03:00
iliajie
437bdd2528 Fix typo when detecting PHP binary 2023-07-15 23:27:18 +03:00
iliajie
bedb091e56 Add ui_element_inline API and use it on the button in **Net** module 2023-07-15 14:51:54 +03:00
Jamie Cameron
323f0cc043 Use formal params 2023-07-14 16:51:25 -07:00
Jamie Cameron
df7bf3af4a Handle case where main IP is assigned by DHCP 2023-07-14 14:55:44 -07:00
Jamie Cameron
94d3727b41 Fix spacing 2023-07-14 10:20:13 -07:00
Jamie Cameron
510c7153e4 Merge branch 'master' of github.com:webmin/webmin 2023-07-14 10:18:18 -07:00
Jamie Cameron
389d061972 Use new developers key 2023-07-14 10:18:12 -07:00
iliajie
ad5e279231 wuftpd, mon, and jabber are obsolete 2023-07-14 20:14:15 +03:00
Jamie Cameron
f9bccb3853 Merge branch 'master' of github.com:webmin/webmin 2023-07-13 19:49:15 -07:00
Jamie Cameron
3c21733d57 use a safe function to rename a file 2023-07-13 19:48:51 -07:00
iliajie
0d45d61edc Fix to put error details into help bubble 2023-07-13 14:51:13 +03:00
Jamie Cameron
eb79f4c169 Add config option to force use of some authentication plugin 2023-07-12 16:55:03 -07:00
Jamie Cameron
48eb29e547 Merge branch 'master' of github.com:webmin/webmin 2023-07-12 15:52:31 -07:00
Jamie Cameron
3fe5aa8887 Grub 1 and Vgetty are obsolete https://github.com/webmin/webmin/issues/1950 2023-07-12 15:52:23 -07:00
Jamie Cameron
50e058d2b6 Merge pull request #1951 from webmin/dev/error-less-obscure
Fix to make errors less obscure
2023-07-12 14:01:28 -07:00
iliajie
2d85a2951c Fix to make errors less obscure 2023-07-12 23:40:41 +03:00
Jamie Cameron
21e4debf24 Merge pull request #1948 from webmin/dev/server-header
Add ability to control `Server:` response header #1945
2023-07-11 18:56:16 -07:00
iliajie
486b323990 Add ability to control Server: response header #1945
This change:

  1. Adds ability for an admin to set custom response header for `Server:`
  2. Fixes displaying of running Webmin version for unauthenticated user
2023-07-11 15:05:04 +03:00
iliajie
4b89587726 Merge branch 'master' of github.com:webmin/webmin 2023-07-11 13:59:10 +03:00
iliajie
f24fa4af6a Fix to always show PHP default radio 2023-07-11 13:58:43 +03:00
Jamie Cameron
dda33af768 Allow selection of default mode always https://github.com/virtualmin/virtualmin-gpl/issues/555 2023-07-10 16:35:52 -07:00
iliajie
cc05c62609 Fix sub name and add missing class name 2023-07-10 05:48:24 +03:00
iliajie
3c113c9278 Fix not to print section when there are none 2023-07-10 01:30:07 +03:00
iliajie
8b09edc5d3 Fix schedule table be tagged 2023-07-10 01:29:42 +03:00
iliajie
643ace4777 Add new API: ui_space, ui_newline, ui_text
Nothing can be thrown to the browser without being used with UI lib!
2023-07-09 23:07:59 +03:00
Jamie Cameron
097e24a7b1 Allow extra logs to end with a | indicating they are actually commands https://github.com/webmin/webmin/issues/1946 2023-07-09 10:55:48 -07:00
Jamie Cameron
f797d29b81 Fix format of disk usage table: 2023-07-08 17:18:28 -07:00
Jamie Cameron
aca381b118 Inputs can't be outside the table tags 2023-07-07 15:54:30 -07:00
iliajie
195ea913df Fix logic to check if /dev/urandom is allowed 1bc262481d (commitcomment-120432005) 2023-07-05 12:06:47 +03:00
Ilia
7232db4b57 Merge pull request #1940 from swelljoe/redhat-dir-is-deprecated
Prefer rpmbuild dir, even when building as root
2023-07-03 12:18:53 +03:00
Jamie Cameron
f688f29029 Allow editing of bridge STP field 2023-07-02 22:30:51 -07:00
Jamie Cameron
057f10d868 Fix saving of bridge interface 2023-07-02 20:38:02 -07:00
Jamie Cameron
086ebe845a Fix editing of bridge connections to interfaces 2023-07-02 18:48:35 -07:00
Joe Cooper
3e47779858 Prefer rpmbuild dir, even when building as root 2023-07-02 20:30:34 -05:00
Jamie Cameron
39132506e8 Implement creation of bridge interfaces 2023-07-02 17:25:23 -07:00
Jamie Cameron
71dc51523a Merge branch 'master' of github.com:webmin/webmin 2023-07-02 10:50:59 -07:00
Jamie Cameron
93a853f95f Work on bridge support 2023-07-01 23:16:58 -07:00
Jamie Cameron
c0edba233a Merge pull request #1939 from webmin/dev/collation-downgrade
Add ability to downgrade database collation
2023-07-01 19:11:38 -07:00
iliajie
368dacd028 Fix to simplify the code 2023-07-02 03:20:03 +03:00
iliajie
b49d4f8147 Fix to copy file permissions too 2023-07-01 22:19:30 +03:00
iliajie
8f3fb71b68 Fix label be no redundant 2023-06-30 23:30:48 +03:00
iliajie
01e4a5145d Fix label be no redundant 2023-06-30 23:02:51 +03:00
iliajie
f3bc8c9061 Fix to tighten regex match 2023-06-30 14:21:41 +03:00
iliajie
9e58110854 Fix indent 2023-06-30 13:44:47 +03:00
iliajie
2b2ead4d7d Add ability to downgrade database collation 2023-06-30 13:42:31 +03:00
iliajie
827c77c960 Add support for render addons #1656 2023-06-29 16:35:01 +03:00
iliajie
9db9582f4a Fix not to leak variable to global scope 2023-06-29 14:31:06 +03:00
iliajie
20f0538c64 Update xterm.js 2023-06-29 13:57:04 +03:00
iliajie
a026b69736 Add Terminal to be used with safe Webmin user 2023-06-29 13:07:45 +03:00
Jamie Cameron
5b760082d9 Merge branch 'master' of github.com:webmin/webmin 2023-06-28 16:19:34 -07:00
Jamie Cameron
487b11e9be Clean up code showing local disk space https://github.com/webmin/webmin/issues/1936 2023-06-28 16:19:17 -07:00
iliajie
8c236004c9 Fix last row element 2023-06-29 00:05:45 +03:00
Jamie Cameron
1025f8c657 Fix setting of virtual IPs 2023-06-28 07:39:46 -07:00
Jamie Cameron
14ad4cbf85 More work on network manager 2023-06-27 23:27:19 -07:00
Jamie Cameron
0a1f12c22b Use CLI instead of directly updating config files 2023-06-27 15:59:29 -07:00
Jamie Cameron
a9070e4bc3 Improve creation of default interface 2023-06-26 08:01:18 -07:00
Jamie Cameron
679a590b0c Merge pull request #1935 from webmin/dev/images-in-replies
Fix to integrate existing Usermin code to display inline images in replies correctly
2023-06-25 09:53:16 -07:00
iliajie
797dd6a59c Fix to correctly set existing styling for tags found in document
i.e. this will preserve existing styling if any!
2023-06-25 17:43:04 +03:00
iliajie
0b72f7f895 Fix indent 2023-06-25 16:54:25 +03:00
iliajie
6472213dcc Fix not to drop attachments 2023-06-25 16:52:10 +03:00
iliajie
80df962012 Fix to integrate existing Usermin code to display inline imgs in replies 2023-06-25 16:51:45 +03:00
iliajie
944236d454 Fix textarea to be vertically resized only and be in sync with HTML size 2023-06-25 16:09:49 +03:00
iliajie
43dc4a479e Fix not to touch image reference
https://github.com/webmin/webmin/pull/1926#issuecomment-1605882853
2023-06-25 12:38:47 +03:00
iliajie
9355b4969d Fix default HTML editor height 2023-06-24 23:28:55 +03:00
Jamie Cameron
0cd1d43fef Merge branch 'master' of github.com:webmin/webmin 2023-06-23 23:24:14 -07:00
Jamie Cameron
44b06c8908 More work on editing network manager config 2023-06-23 23:19:36 -07:00
iliajie
d78b8e0e1d Fix to embed theme styles when viewing an email too 2023-06-24 01:23:09 +03:00
iliajie
312f55fe11 Fix to update command used in man 2023-06-23 13:50:01 +03:00
Jamie Cameron
87b54273ff Merge pull request #1934 from devadattas/patch-1
Resolves Support issue for MariaDB 11 (https://github.com/webmin/webmin/issues/1933)
2023-06-22 22:07:28 -07:00
Devadatta Sahoo
dedfaa49ae Resolves https://github.com/webmin/webmin/issues/1933
Resolves https://github.com/webmin/webmin/issues/1933
2023-06-23 06:28:40 +05:30
Jamie Cameron
944400a136 Merge pull request #1931 from webmin/dev/fix-temp-dir-creation
Fix to consider temp directory may exists with incorrect permissions
2023-06-22 15:48:37 -07:00
iliajie
d3cdbbcc4b Fix to call only in HTML mode 2023-06-23 01:08:47 +03:00
iliajie
ef9e525bd6 Fix a bug loading theme iframe quote style file 2023-06-22 13:34:21 +03:00
iliajie
0754367f48 Fix to consider temp directory may exists with incorrect permissions 2023-06-22 12:32:35 +03:00
iliajie
3a7145b2e3 Fix language strings as 'warning' and 'danger' already part of UI alert 2023-06-22 11:46:38 +03:00
Jamie Cameron
8dd96e2aca Merge branch 'master' of github.com:webmin/webmin 2023-06-21 16:51:47 -07:00
Jamie Cameron
f49539ad96 Add a warning about editing Virtualmin-controlled domains 2023-06-21 16:48:51 -07:00
iliajie
739411a07e Fix navigation type detection bug 2023-06-21 18:21:42 +03:00
iliajie
ea8c76b5b8 Fix to consider framed theme to load iframe inner styles too 2023-06-21 17:53:11 +03:00
iliajie
d191f1ba92 Add to consider different navigation types 2023-06-21 16:07:42 +03:00
iliajie
444c101d19 Fix to remove outline for inner contenteditable 2023-06-21 15:40:13 +03:00
iliajie
9017d290bc Merge remote-tracking branch 'origin/master' 2023-06-21 12:42:21 +03:00
iliajie
2733f945c5 Add ability for themes to embed styles into quote iframe 2023-06-21 12:42:08 +03:00
Jamie Cameron
231df9c37f UI to edit network manager routes 2023-06-20 23:07:56 -07:00
Jamie Cameron
dbde3d370b Merge branch 'master' of github.com:webmin/webmin 2023-06-20 23:02:55 -07:00
Jamie Cameron
1e07f0c93a Add MTU support 2023-06-20 23:00:11 -07:00
iliajie
9ed3fd2237 Fix to disable ispell 2023-06-20 23:37:36 +03:00
iliajie
629ca21a3a Fix to correctly test for dark palette 2023-06-20 23:33:27 +03:00
Jamie Cameron
0f898b161b Update nameservers in netplan config 2023-06-19 20:21:39 -07:00
Jamie Cameron
de53c330d6 Support for getting and setting default gateway 2023-06-19 20:19:28 -07:00
Jamie Cameron
d9401ff1b7 Merge branch 'master' of github.com:webmin/webmin 2023-06-19 20:10:28 -07:00
Jamie Cameron
e33c5aa630 More work on network manager support: 2023-06-19 20:10:17 -07:00
Jamie Cameron
8ac62d43bd Merge pull request #1926 from webmin/dev/mail-awesome-replies
Add support for better HTML handling in email replies
2023-06-19 11:24:48 -07:00
iliajie
c2c3533e4e Fix HTML editor adding extra new line on page reload 2023-06-19 20:19:15 +03:00
iliajie
bfe966f6cf Add email styling support for Google Mail 2023-06-19 02:59:04 +03:00
iliajie
75b1401e62 Add simple algorithm to convert classes to inline styles
Tags CSS styling to inline styles is on the next and the final commit!
2023-06-19 01:10:29 +03:00
iliajie
f1159015ed Fix to perfect inner styling 2023-06-18 17:18:33 +03:00
iliajie
9c348f7909 Fix to drop pretty redundant Expert mode to: Basic, Simple, Advanced 2023-06-18 16:14:41 +03:00
iliajie
c80d854054 Drop Katex support as we cannot reliably use it in emails 2023-06-18 15:47:02 +03:00
iliajie
f6299b4e29 Add embedment of styling in our email (works everywhere but GMail) 1/2
Gmail fix is coming
2023-06-18 15:42:23 +03:00
Jamie Cameron
b91e25aa6f Clear cached postfix version on webmin upgrade 2023-06-17 22:49:05 -07:00
iliajie
a268373550 Add local editor classes and styles to inline styling in resulting HTML
1/2 - needs more improvements and optimizations - although it works already
2023-06-18 03:23:02 +03:00
iliajie
8d595a7ac5 Fix to remove empty line 2023-06-18 01:29:42 +03:00
iliajie
2065602494 Fix HTML editor tooltip z-index 2023-06-18 01:29:28 +03:00
iliajie
d27e37efbf Fix not to whitelist any attributes 2023-06-18 01:28:46 +03:00
iliajie
85f9402bfe Fix to rename theme iframe CSS file 2023-06-18 00:26:28 +03:00
iliajie
6bb6a0de01 Fix to load iframe CSS from a theme based file 2023-06-18 00:25:43 +03:00
iliajie
081dfbe373 Fix to update last message on the initial load 2023-06-17 23:37:43 +03:00
iliajie
8d330a95de Add ability to load images in quote replies 2023-06-17 22:56:25 +03:00
iliajie
ac5f974d5c Fix to allow inline images 2023-06-17 20:57:17 +03:00
iliajie
3f1306e9cf Fix iframe styling to be theme dependent 2023-06-17 19:23:39 +03:00
iliajie
8bd7c32c10 Fix to keep font size and color in sync for viewer and editor 2023-06-17 19:21:57 +03:00
iliajie
cf7165ffaa Fix heading paddings consistency 2023-06-17 18:40:56 +03:00
iliajie
dd4c7e6fe1 Fix to view email area no padding (let HTML email do the job) 2023-06-17 18:37:20 +03:00
iliajie
5aa1986a30 Fix email styling when viewing 2023-06-17 18:34:06 +03:00
iliajie
ff09a096cb Fix to revert the last commit as we don't need to store replies 2023-06-17 11:54:06 +03:00
iliajie
ca74a730ee Fix to store full message content, including possible replies 2023-06-17 03:06:51 +03:00
iliajie
e208907db1 Fix to pass config option 2023-06-17 02:55:54 +03:00
iliajie
83c0cb66e5 Fix to have only one new line to preserve integrity on restore 2023-06-17 02:34:45 +03:00
iliajie
675dd4d269 Fix to use function declaration instead ; prefix function name 2023-06-17 01:42:53 +03:00
iliajie
f49f068cdc Fix caller function name module dependent, and allow being overridden 2023-06-17 01:21:19 +03:00
iliajie
f39282e0d0 Fix to drop test for modern themes, as it simply works flawlessly 2023-06-17 01:10:50 +03:00
iliajie
b66a2ac0c2 Add ability not to loose message content on page reload or going back 2023-06-17 00:59:29 +03:00
iliajie
2bc982127d Add support for dark mode in code highlights 2023-06-17 00:00:20 +03:00
iliajie
21e76d19bf Fix to drop obsolete option 2023-06-16 23:39:47 +03:00
iliajie
5ec3664397 Fix to correct modules load missing timestamp and webprefix 2023-06-16 23:36:55 +03:00
Jamie Cameron
be449d6fe2 More work on editing network manager configs 2023-06-16 13:14:10 -07:00
iliajie
1248c603e6 Fix to fully abstract selectors and possible elements to sync from 2023-06-16 23:10:40 +03:00
iliajie
1ba3cdcbc9 Fix to remove incorrect HTML escape 2023-06-16 21:38:25 +03:00
iliajie
3e5b68507e Fix not to add any quote if a new message 2023-06-16 20:57:23 +03:00
iliajie
d11257cf84 Fix fills for HTML editor toolbar dropdowns 2023-06-16 19:33:24 +03:00
iliajie
a2204e46e0 Add support for choosing HTML editor mode in module config 2023-06-16 19:22:24 +03:00
iliajie
61197c485f Fix to improve modes names 2023-06-16 19:16:34 +03:00
iliajie
3f39df4203 Fix to automate modules load based on editors mode 2023-06-16 19:11:52 +03:00
iliajie
6386ece898 Add more editor modes
Available modes are: 'essential', 'simple', 'basic', 'advanced'
2023-06-16 18:52:02 +03:00
iliajie
ead4e97574 Fix to abstract HTML editor setup 2023-06-16 18:37:15 +03:00
iliajie
209ee473de Fix missing signature ; revert to using mail toolbar for mail 2023-06-16 17:53:48 +03:00
iliajie
4e06d22d85 Fix not to display empty toolbar container 2023-06-16 17:47:04 +03:00
iliajie
a70a0de807 Add formula support using Katex 2023-06-16 16:45:23 +03:00
iliajie
2788697c25 Fix to automate detection of installed modules 2023-06-16 16:43:11 +03:00
iliajie
126b96730b Add support for code highlight in HTML editor 2023-06-16 16:20:11 +03:00
iliajie
c24c544225 Fix not to mess with default code highlight 2023-06-16 16:11:47 +03:00
iliajie
7373913b0b Add support for loading extra modules 2023-06-16 15:52:53 +03:00
iliajie
90a21972ad Fix link item to be in a separate block 2023-06-16 15:41:32 +03:00
iliajie
17c3dbcf81 Add support for editor full toolbar 2023-06-16 15:38:42 +03:00
iliajie
2ae51b03fd Update translations 2023-06-16 15:08:06 +03:00
iliajie
a353a11653 Improve design by factoring out HTML editor related subs into a lib 2023-06-16 15:01:34 +03:00
iliajie
61e80f5d9f Update new HTML editor being available globally and for all themes 2023-06-16 14:03:58 +03:00
iliajie
f931b6dc01 Add significant improvements to HTML editor load ; share init function 2023-06-16 13:49:05 +03:00
iliajie
2ae5317946 Fix reply opener background 2023-06-16 12:15:32 +03:00
iliajie
50e4738f61 Fix editor area to have background 2023-06-16 12:10:52 +03:00
iliajie
46a6379510 Fix to remove unnecessary loading of custom CSS 2023-06-16 12:10:32 +03:00
Jamie Cameron
a0ede6b7e9 More work on network manager support 2023-06-15 22:24:00 -07:00
Jamie Cameron
f27277c4eb A quote string might have # inside it 2023-06-15 15:11:25 -07:00
iliajie
d53bace45c Fix reply toggle element to use no fonts for better cross compatibility 2023-06-15 22:54:10 +03:00
iliajie
1b689c4eb9 Fix for SPA themes to utilize the same template 2023-06-15 22:04:04 +03:00
iliajie
5677804487 Fix not to loose signature if exists 2023-06-15 18:17:30 +03:00
iliajie
e70d5ce764 Add support for awesome replies using new HTML editor 2023-06-15 18:17:14 +03:00
iliajie
45d6c8d235 Fix to print date in reply 2023-06-15 18:06:47 +03:00
iliajie
a95ccc006b Add new Quill HTML editor 2023-06-15 18:02:08 +03:00
iliajie
9bcf02a9b0 Fix to still provide Xinha for the old Java File Manager 2023-06-15 17:58:54 +03:00
iliajie
8c5a479d3a Fix to drop old Xinha HTML editor 2023-06-15 17:55:58 +03:00
iliajie
6872d8b6d6 Add support for the new HTML editor in the old theme 2023-06-15 17:51:59 +03:00
iliajie
036c08bb1d Add translations for HTML editor 2023-06-15 17:51:32 +03:00
iliajie
61805cee73 Add blockquote formatting unless exists already 2023-06-15 17:51:16 +03:00
iliajie
665c867601 Fix to never reset font weight 2023-06-15 17:46:20 +03:00
iliajie
3509d76a8c Fix textarea paddings 2023-06-15 13:09:13 +03:00
Jamie Cameron
e55f6d0908 Add missing save button https://forum.virtualmin.com/t/no-save-button-for-ssh-server-host-ssh-keys/121174 2023-06-14 21:38:41 -07:00
Jamie Cameron
b00f24f0b5 Use the right signing key 2023-06-14 21:27:43 -07:00
Jamie Cameron
07a46ff561 Start of work on networkmanager support 2023-06-14 21:27:12 -07:00
Jamie Cameron
5954e40808 IPv6 auto field is called auto6 2023-06-14 16:26:57 -07:00
iliajie
3e9a0e84fc Fix to reduce number of rows by default (HTML mode) 2023-06-13 19:33:38 +03:00
iliajie
a837b21013 Fix to reduce number of rows by default 2023-06-13 18:30:39 +03:00
iliajie
a38229817a Fix missing signature in emails 2023-06-13 18:27:41 +03:00
Jamie Cameron
90c36605e8 Merge branch 'master' of github.com:webmin/webmin 2023-06-13 07:41:52 -07:00
Jamie Cameron
e552c68f7e SSL need to be shut down properly 2023-06-13 07:41:09 -07:00
iliajie
7708bc240c Fix to enable HTML editor by default 2023-06-13 02:45:39 +03:00
Jamie Cameron
f6a3381682 Don't hang if we get a partial line 2023-06-11 19:01:49 -07:00
Jamie Cameron
fffe6fad63 Add option for ProxyPreserveHost https://forum.virtualmin.com/t/looking-to-set-up-a-or-multiple-reverse-proxies/121016/19 2023-06-10 16:33:59 -07:00
Jamie Cameron
cd1345cf30 Merge branch 'master' of github.com:webmin/webmin 2023-06-09 14:56:20 -07:00
Jamie Cameron
e8264986af Add option to ignore file changed errors https://forum.virtualmin.com/t/best-strategy-for-filesystem-backup/121093/5 2023-06-09 14:55:55 -07:00
iliajie
472bd9c0e4 Fix to use microtime in filenames with var_dump sub 2023-06-09 13:51:55 +03:00
iliajie
18552ad5ab Fix table columns width in Firewall module to be proportional #1923 2023-06-09 12:22:18 +03:00
Jamie Cameron
1bdcc54f21 Merge pull request #1917 from webmin/dev/load-email-images-by-server
Add support to load email images using the server (for privacy)
2023-06-08 20:11:02 -07:00
iliajie
ca5c75785d Fix to test Perl version for make_date to support (still) CentOS 6
https://sourceforge.net/p/webadmin/bugs/5622/
2023-06-09 03:21:01 +03:00
iliajie
d0e84297eb Fix for each module have its own XHR library
https://github.com/webmin/webmin/pull/1917#discussion_r1222408167
2023-06-08 14:48:46 +03:00
iliajie
df3b10c449 Revert "Fix file name as can be URL with a tracker, e.g. http://...img.png?1234"
This reverts commit f19acd68b2.
2023-06-08 01:16:32 +03:00
iliajie
72c5e39121 Fix to pass simply $response_headers instead 2023-06-07 22:04:58 +03:00
iliajie
cdd01e41bb Fix to check if defined instead 9a69913ccb (r116945393) 2023-06-07 20:30:27 +03:00
iliajie
5fc5fea30a Fix to reference ul tag 2023-06-07 13:38:28 +03:00
iliajie
a276ca7c14 Update language string for PostgreSQL 2023-06-07 12:58:27 +03:00
iliajie
a58fcffcb3 Fix error styling in PostgreSQL index page 2023-06-07 12:58:04 +03:00
iliajie
12bca2adb8 Fix missing dash in key name 2023-06-07 11:49:42 +03:00
iliajie
33fd258c71 Fix to abstract Webmin key name and OS type used in key names 2023-06-07 11:46:43 +03:00
iliajie
9a69913ccb Fix not to set response headers unless requested
https://github.com/webmin/webmin/pull/1917#discussion_r1220002442
2023-06-06 22:44:23 +03:00
iliajie
3d67e17cef Fix indent https://github.com/webmin/webmin/pull/1917#discussion_r1219998798 2023-06-06 22:19:48 +03:00
iliajie
61a40022d7 Add error handling https://github.com/webmin/webmin/pull/1917#discussion_r1219997915 2023-06-06 22:14:11 +03:00
Jamie Cameron
5a7dd1a458 Sign with SHA-256 signature 2023-06-05 22:55:57 -07:00
Jamie Cameron
74202c964f Dev version bump 2023-06-05 22:39:04 -07:00
iliajie
dc7d517989 Remove debug line 2023-06-06 01:15:21 +03:00
iliajie
b662f8d0c3 Fix code indent ; remove spinner once 2023-06-06 01:08:36 +03:00
iliajie
191ea97ea7 Fix to name containing row 2023-06-06 00:33:47 +03:00
iliajie
b0f33b6156 Fix code indents 2023-06-05 14:11:26 +03:00
iliajie
98b67cd60e Fix not to install old Webmin key at all #1919 2023-06-05 13:28:36 +03:00
iliajie
edffeba60b Fix to drop any local MIME type checks
https://github.com/webmin/webmin/pull/1917#discussion_r1217241079
2023-06-05 11:57:56 +03:00
Jamie Cameron
88ae0b68f0 Make wording clearer 2023-06-04 19:52:22 -07:00
iliajie
303b5ee31a Fix indent 2023-06-05 00:47:15 +03:00
iliajie
f694b01535 Fix to escape image URL before sending to the server 2023-06-05 00:35:51 +03:00
iliajie
37857ceeed Fix to try to use content type from response header
https://github.com/webmin/webmin/pull/1917#discussion_r1215792940
2023-06-04 15:12:31 +03:00
iliajie
5b8239c239 Add ability to return response headers 2023-06-04 15:11:08 +03:00
iliajie
8e3fdf43b0 Fix not to use pointless temp file 2023-06-03 22:33:18 +03:00
Jamie Cameron
c7198232f5 Fix wording a little 2023-06-03 11:09:53 -07:00
Jamie Cameron
3855a5f480 Merge branch 'master' of github.com:webmin/webmin 2023-06-02 08:02:19 -07:00
Jamie Cameron
37a03e720c Look in /etc/firewalld/services as well 2023-06-02 08:02:00 -07:00
iliajie
58229c1653 Fix to drop no longer needed and potentially dangerous head_html 2023-06-02 12:49:23 +03:00
iliajie
4ee13f0e20 Fix not to disable referrer check as there is no need for it
https://github.com/webmin/webmin/pull/1917#discussion_r1213968009
2023-06-02 11:36:30 +03:00
iliajie
8d66b62fce Add to use HTML::Entities to try to decode all possible entities
https://github.com/webmin/webmin/pull/1917#discussion_r1213969328
2023-06-02 11:25:27 +03:00
iliajie
eae51d8492 Fix to simplify: remove pre-loader and just load naturally 2023-06-02 02:56:32 +03:00
iliajie
1a0dec8f1e Add image pre-loaders to be awesome 2023-06-02 01:16:07 +03:00
iliajie
991e10a266 Add a robust way for testing file MIME type 2023-06-01 23:09:12 +03:00
iliajie
ec21297448 Add API to unescape HTML entities 2023-06-01 23:00:52 +03:00
iliajie
b97acb1e21 Fix to default to use server loaded images 2023-06-01 18:08:22 +03:00
iliajie
02236da8bc Fix to checkout master commits (added by accident) 2023-06-01 18:05:24 +03:00
iliajie
b3ab3f65a8 Revert "Merge branch 'master' into dev/load-email-images-by-server"
This reverts commit a5ba7ebe05, reversing
changes made to 0e93560003.
2023-06-01 17:59:31 +03:00
Ilia
a5ba7ebe05 Merge branch 'master' into dev/load-email-images-by-server 2023-06-01 17:57:09 +03:00
iliajie
0e93560003 Fix to drop wrong comment 2023-06-01 17:51:09 +03:00
iliajie
35922c6da6 Set x-no-links header 2023-06-01 17:49:19 +03:00
iliajie
71267fb601 Add XHR API to be called using JavaScript 2023-06-01 17:48:04 +03:00
iliajie
6a079198bd Add the reference for the images to load 2023-06-01 17:47:14 +03:00
iliajie
88bd2825ab Add an option to control how to view images 2023-06-01 17:42:24 +03:00
Jamie Cameron
13da04673f Finish off fix to APT repo 2023-06-01 07:11:41 -07:00
Jamie Cameron
68d6d831a1 Merge branch 'master' of github.com:webmin/webmin 2023-05-31 16:09:40 -07:00
Jamie Cameron
23bd2fbe3f Handle case where a URL has an @ towards the end 2023-05-31 16:09:34 -07:00
iliajie
e56298f55b Fix to remove stray } 2023-06-01 00:39:21 +03:00
iliajie
f19acd68b2 Fix file name as can be URL with a tracker, e.g. http://...img.png?1234 2023-05-31 23:28:19 +03:00
Jamie Cameron
57df3868b5 Merge pull request #1915 from webmin/dev/improve-view-mail
Add support for properly displaying HTML emails
2023-05-31 11:24:43 -07:00
iliajie
ff140aab1b Merge remote-tracking branch 'origin/master' 2023-05-31 20:43:45 +03:00
iliajie
754f1efc66 Revert "Fix missing HTML escapes for select option"
This reverts commit 04d75bc526.
2023-05-31 20:42:25 +03:00
Jamie Cameron
2d9ddefe50 More work on fixing the debian repo 2023-05-31 07:52:11 -07:00
Jamie Cameron
aa01bc8231 Merge branch 'master' of github.com:webmin/webmin 2023-05-31 07:51:27 -07:00
Jamie Cameron
add8a4eff6 Fix repo path 2023-05-31 07:51:20 -07:00
iliajie
11e3fcc3a6 Fix iframe height calculations 2023-05-31 16:13:08 +03:00
iliajie
87c087dda9 Fix to literalize @ 2023-05-31 15:35:42 +03:00
iliajie
605a32f87d Fix to add a proper check with negative lookahead before escaping & 2023-05-31 13:44:50 +03:00
Jamie Cameron
7988abf900 Merge branch 'master' of github.com:webmin/webmin 2023-05-30 21:54:46 -07:00
Jamie Cameron
08141fae66 Which APT to use the new repo with the new key 2023-05-30 21:53:37 -07:00
Jamie Cameron
2be85afce9 Merge pull request #1916 from webmin/dev/no-quotemeta-for-row-id
Fix to make sure that `id`s will always match
2023-05-30 16:10:06 -07:00
iliajie
e77b97bc5f Fix to make sure that ids will always match 2023-05-30 22:32:36 +03:00
iliajie
adbd30bacc Fix to switch default view mode to HTML/plaintext 2023-05-30 22:02:51 +03:00
iliajie
e7a769ccf8 Fix not to replace on UTF-8 string to avoid encoding issues (e.g. �) 2023-05-30 16:55:51 +03:00
iliajie
349a1f5873 Fix to fully strip <style> and <script> tags content (not text data) 2023-05-30 16:48:35 +03:00
iliajie
f7a13c9f9e Fix to Recommend: lynx as it still produces the best results 2023-05-30 16:28:33 +03:00
iliajie
62d3c08fbd Add to use Perl HTML formatter if available 2023-05-30 16:26:56 +03:00
iliajie
9296b12a71 Fix to correctly convert UTF-8 emails 2023-05-30 15:56:42 +03:00
iliajie
2e06ab94b6 Fix to use formal params in html_to_text sub 2023-05-30 14:28:05 +03:00
iliajie
8938680044 Fix code readability 2023-05-30 13:57:23 +03:00
iliajie
ece9d2af52 Fix to make spinner name more precise 2023-05-30 13:54:27 +03:00
iliajie
185d2b546e Fix not to use inline styling 2023-05-30 13:53:21 +03:00
iliajie
d6e21f43ce Fix missing semicolon 2023-05-30 13:52:05 +03:00
iliajie
3f470a4bcd Fix to use more common here-doc to print multiline 2023-05-30 13:48:39 +03:00
iliajie
9e714d7f57 Fix to use a function call for onload event in mail iframe 2023-05-30 13:16:18 +03:00
iliajie
8cd0b8ab49 Fix to allow allow-same-origin and allow-popups-to-escape-sandbox 2023-05-30 12:46:17 +03:00
iliajie
1f339f2085 Fix to always sandbox email content 2023-05-30 11:48:14 +03:00
Jamie Cameron
385d006c08 Build in old and new repo directories 2023-05-29 22:35:12 -07:00
Jamie Cameron
5db29277e4 Import the new key 2023-05-29 19:44:21 -07:00
Jamie Cameron
21f4a9b368 Fix the Webmin repo if the old URL is being used 2023-05-29 18:33:29 -07:00
iliajie
121cbc4a95 Add a button to display images on demand (not allow by default) 2023-05-30 00:37:20 +03:00
iliajie
93cc86315d Add better indications for hidden images 2023-05-30 00:36:36 +03:00
iliajie
76bf9ffd62 Add to use a new iframe_body API 2023-05-29 23:59:05 +03:00
iliajie
8319033bfa Add API to put HTML email body to iframe element 2023-05-29 23:30:02 +03:00
iliajie
cb6e110f40 Fix not to remove images completely, as we can border them nicely 2023-05-29 23:29:18 +03:00
Jamie Cameron
48abceeebd Merge branch 'master' of github.com:webmin/webmin 2023-05-28 15:32:56 -07:00
Jamie Cameron
dc530e2faa Switch the default YUM repository to the new repo with a new key 2023-05-28 15:32:44 -07:00
iliajie
3191805a88 Fix to use alert instead of text message 2023-05-28 19:57:27 +03:00
Jamie Cameron
d19809b79b Merge branch 'master' of github.com:webmin/webmin 2023-05-26 16:41:53 -07:00
Jamie Cameron
ed1b7e862c Build with the new key as well 2023-05-26 16:41:45 -07:00
iliajie
d33b1e2681 Fix to always set oldhost upon user creation #1909 2023-05-26 22:38:06 +03:00
iliajie
d62f474d12 Fix double escaping for HTML entities in error messages 2023-05-26 21:59:11 +03:00
iliajie
8df605cb15 Fix warning "my" variable $err masks earlier declaration in same scope 2023-05-26 15:34:20 +03:00
iliajie
10a56c13b5 Merge remote-tracking branch 'origin/master' 2023-05-26 15:22:52 +03:00
iliajie
820e128c14 Fix not to add extra line 2023-05-26 14:00:39 +03:00
Jamie Cameron
39ef3f8c65 Also load new key 2023-05-25 17:08:56 -07:00
Jamie Cameron
ada885ef41 Update session DB with actual remote IP https://github.com/webmin/authentic-theme/issues/1653 2023-05-25 16:50:15 -07:00
Jamie Cameron
6f7e322349 Fix perl error 2023-05-24 21:51:47 -07:00
Jamie Cameron
1f46918693 Also check host field 2023-05-24 21:46:12 -07:00
Jamie Cameron
e29bb0eb53 Merge pull request #1913 from johnheenan/master
Fix for failure to re-start DNS BIND on slave servers
2023-05-24 21:44:20 -07:00
John Heenan
102da88262 Fix for failure to re-start DNS BIND on slave servers
See https://github.com/virtualmin/virtualmin-gpl/issues/565
2023-05-25 14:27:31 +10:00
Jamie Cameron
1f28b054fe Merge branch 'master' of github.com:webmin/webmin 2023-05-24 14:56:32 -07:00
Jamie Cameron
79426c6aec pg_shadow_table returns two values 2023-05-24 14:56:25 -07:00
iliajie
d08d4a22d1 Fix to use a nicer alert box 2023-05-24 20:24:32 +03:00
iliajie
c66c078bde Fix to correctly set user password on MySQL user creation https://github.com/webmin/webmin/issues/1909 2023-05-24 18:48:33 +03:00
Jamie Cameron
ec1501b329 Also import the new key 2023-05-23 11:51:57 -07:00
Jamie Cameron
4bf101d988 Also import the new key 2023-05-23 11:48:10 -07:00
Jamie Cameron
58a7faa684 New 4096 bit signing key 2023-05-23 11:42:43 -07:00
Jamie Cameron
4ac9d06f3a Merge branch 'master' of github.com:webmin/webmin 2023-05-23 11:15:19 -07:00
Jamie Cameron
2c93a3c694 Detect all the installed Apache modules 2023-05-23 11:15:13 -07:00
iliajie
51595a6a92 Fix as there are two params actually 2023-05-23 19:10:34 +03:00
iliajie
9d382df56d Fix to drop not really used --product-type for now 2023-05-23 19:05:04 +03:00
iliajie
79be97bbe4 Update usage 2023-05-23 18:53:18 +03:00
iliajie
cbc3078125 Fix to eval HTML::Entities as not always required 2023-05-23 16:20:08 +03:00
iliajie
12822f97e5 Update usage ; add product type for Debian 2023-05-23 16:03:30 +03:00
iliajie
fab2a1c871 Fix to slurp file using local $/ instead 3de93296a9 (r114530097) 2023-05-23 14:12:28 +03:00
iliajie
c4fdb9524f Fix to revert accidentally stomped changes in PR #1910 2023-05-23 13:58:48 +03:00
Jamie Cameron
8ffaf20d58 Merge pull request #1910 from webmin/dev/safely-read-potentially-dangerous-files
Add ability to read potentially dangerous files safely or force download
2023-05-22 19:50:16 -07:00
iliajie
9b15a63781 Add Wants and After for the service file 2023-05-22 21:06:16 +03:00
iliajie
fc0efe9ed5 Revert "master-branch accidental merge"
This reverts commit 3996ff205f.
2023-05-22 12:31:12 +03:00
iliajie
c4866735ba Fix to always download altered file (no banner) 2023-05-22 12:07:37 +03:00
iliajie
ee1c42960a Merge branch 'dev/safely-read-potentially-dangerous-files' of github.com:webmin/webmin into dev/safely-read-potentially-dangerous-files 2023-05-22 12:04:33 +03:00
iliajie
fb947920ef Fix to drop Conflicts: ; fix specs file name for typed version 2023-05-21 23:23:28 +03:00
iliajie
b9c154911a Fix to finally use Conflicts: 2023-05-21 23:09:42 +03:00
iliajie
95f31ab26b Fix to actually provide required name, i.e. always webmin 2023-05-21 22:45:59 +03:00
iliajie
e504bd7e8e Fix not to use Conflicts: ; Provide %{name}-%{version} only 2023-05-21 22:36:06 +03:00
iliajie
9ecfb06187 Add provided extra type if given 2023-05-21 22:22:41 +03:00
iliajie
27d8eea869 Fix to try Conflicts: as well 2023-05-21 22:11:38 +03:00
iliajie
69d359c4fe Fix Obsoletes: to include %{version}-%{release} number 2023-05-21 21:59:39 +03:00
iliajie
1df55f32eb Add x-source-rpm image 2023-05-21 21:47:01 +03:00
iliajie
e92a82142a Fix to use correct variable name 2023-05-21 21:33:27 +03:00
iliajie
6eb3e42e17 Add accidentally removed $rpmspec_obsoletes variable 2023-05-21 21:20:02 +03:00
iliajie
146e4d0899 Add support to replace packages (using Obsoletes:) 2023-05-21 21:09:39 +03:00
iliajie
8a7abe98f2 Add support for product types 2023-05-21 20:15:43 +03:00
iliajie
338df27457 Fix to make param name exact 2023-05-21 18:10:47 +03:00
iliajie
76c7ca743a Add support to exclude passed modules (for new essential nightly builds) 2023-05-21 16:34:39 +03:00
iliajie
3aa58e4523 Add support to clean build directory by removing extra language files
e.g.:
./language-manager --mode=clean
2023-05-21 15:00:38 +03:00
Jamie Cameron
74373af3de Merge branch 'master' of github.com:webmin/webmin 2023-05-20 17:00:51 -07:00
Jamie Cameron
3996ff205f Handle case where the root user for testing PAM has no password https://github.com/webmin/webmin/issues/1911 2023-05-20 16:26:54 -07:00
iliajie
794ca0f651 Add ability to read potentially dangerous files safely or force download 2023-05-20 12:05:03 +03:00
iliajie
e288f1b955 Revert recent changes to add on the PR instead https://github.com/webmin/webmin/issues/1907#issuecomment-1555642036 2023-05-20 12:01:57 +03:00
Jamie Cameron
f22bada12c Merge pull request #1908 from webmin/dev/add-url-redirect-tester
Add API to check if given URL redirects somewhere
2023-05-19 16:16:58 -07:00
iliajie
6af198b2f1 Fix to never double escape certain HTML entities (can be already escaped) 2023-05-19 13:53:10 +03:00
iliajie
3de93296a9 Fix to improve un-safe downloads https://github.com/webmin/webmin/issues/1907#issuecomment-1553946236 2023-05-19 13:23:43 +03:00
iliajie
29bb158ef4 Fix to drop obsolete code 2023-05-18 22:10:28 +03:00
iliajie
7b37cedaf6 Fix to filter possible JavaScript in PDF files https://github.com/webmin/webmin/issues/1907#issuecomment-1552117601 2023-05-18 21:38:22 +03:00
iliajie
18392aab61 Add more sense to variables names 2023-05-18 20:13:24 +03:00
iliajie
702fc7d584 Fix to return error straight away 2023-05-18 19:53:24 +03:00
iliajie
cc15a65c47 Fir variables declarations 2023-05-18 19:50:57 +03:00
iliajie
377c64ef47 Add comments 2023-05-18 19:18:56 +03:00
iliajie
43edaacada Fix to provide full details on each hop and improve data structures 2023-05-18 16:43:58 +03:00
iliajie
b1f0c46059 Add support for multi hops in redirects 2023-05-18 12:14:49 +03:00
iliajie
6a693e3dc7 Fix path key name 2023-05-18 12:14:17 +03:00
iliajie
2436c25a46 Fix to reduce timeout 2023-05-18 12:13:45 +03:00
iliajie
352e3855db Fix to only use Webmin code 2023-05-17 23:51:38 +03:00
iliajie
46e8076793 Fix indent 2023-05-17 22:23:14 +03:00
iliajie
d308aa8ae8 Fix not to check for SSL certificate 2023-05-17 22:04:43 +03:00
iliajie
96132e28d6 Fix to test if redirected URL can be resolved 2023-05-17 21:38:36 +03:00
iliajie
b0731f6e35 Add to use LWP::UserAgent if available 2023-05-17 17:31:42 +03:00
iliajie
a4f7cb1f8c Add API to check if given URL redirects somewhere 2023-05-17 16:59:00 +03:00
iliajie
953c4ed020 Fix to consider all variations of HTML types 2023-05-17 11:53:06 +03:00
iliajie
d5a3eebe85 Fix to read full size of dangerous type 2023-05-17 11:13:22 +03:00
iliajie
c92395176f Fix to consider XML too #1907 2023-05-16 14:41:09 +03:00
Jamie Cameron
ab44aa8023 When showing HTML, filter out any JS 2023-05-15 20:48:52 -07:00
Jamie Cameron
152414d631 Revert "Fix to always force text/plain for all kind for text #1907"
This reverts commit 5e9f137adf.
2023-05-15 20:45:10 -07:00
iliajie
5e9f137adf Fix to always force text/plain for all kind for text #1907 2023-05-16 00:50:41 +03:00
iliajie
f29d01a7be Add HTML escape for the names of users being deleted 2023-05-15 21:34:40 +03:00
iliajie
87aa2576c2 Add HTML escape for the names of groups being deleted 2023-05-15 21:32:18 +03:00
Jamie Cameron
728ae07eed Merge branch 'master' of github.com:webmin/webmin 2023-05-15 11:16:38 -07:00
Jamie Cameron
cfd66281eb Add some more sensible username checks 2023-05-15 11:16:30 -07:00
iliajie
e8526e00b4 Add more escapes 2023-05-15 20:44:11 +03:00
iliajie
b5b6c44d5f Fix to HTML escape passed package name 2023-05-15 20:37:33 +03:00
iliajie
8f1a5a6376 Fix error formatting 2023-05-15 20:36:15 +03:00
iliajie
9f58118635 Fix to HTML escape description too 2023-05-15 20:26:06 +03:00
iliajie
d34994b5c0 Fix HTML escapes for custom log files 2023-05-15 20:22:57 +03:00
iliajie
07f8f1df4e Fix HTML and quote escapes for user and group choosers 2023-05-15 20:03:53 +03:00
iliajie
04d75bc526 Fix missing HTML escapes for select option 2023-05-15 18:47:33 +03:00
iliajie
cf9e00060b Fix missing lang line 2023-05-15 17:05:12 +03:00
iliajie
a21ad361d9 We do need to clean on Debian https://github.com/webmin/webmin.com/issues/4#issuecomment-1546456885 2023-05-13 20:26:24 +03:00
Jamie Cameron
873c324d0d Merge pull request #1906 from webmin/dev/add-ui_paginations-api
Add a new `ui_paginations` API
2023-05-13 09:43:54 -07:00
Jamie Cameron
3504c3f389 Merge pull request #1904 from webmin/dev/useradmin-pagination
Add support for paginated tables in Users and Groups module
2023-05-13 09:39:59 -07:00
Ilia
5f17149189 Merge branch 'master' into dev/add-ui_paginations-api 2023-05-13 19:31:08 +03:00
iliajie
baf8a643bb Fix to always use get method with paginations to avoid bugs 2023-05-13 16:46:55 +03:00
iliajie
1236027445 Fix to use get by default as it's better for returns 2023-05-13 16:21:11 +03:00
iliajie
2160a3d47a Fix to put pagination data to the main form 2023-05-13 16:06:44 +03:00
iliajie
9077922c57 Fix to use proper get_referer_relative to return to referred page 2023-05-13 16:03:52 +03:00
iliajie
a27ae8b7be Add support to pass elements to the parent form 2023-05-13 16:02:45 +03:00
iliajie
d572edb7ed Fix form targets submission ; fix elements duplication bug 2023-05-13 15:33:28 +03:00
iliajie
d4dcf6314c Add sanity check for minimum items per page 2023-05-13 13:38:15 +03:00
iliajie
c7367e0f46 Fix pagination with jail blocks to use new data structures 2023-05-13 13:31:39 +03:00
iliajie
8ae1c01b5e Fix to run hotkeys initializer script 2023-05-13 13:20:34 +03:00
iliajie
996227d197 Fix to refactor input and output data structures 2023-05-13 13:16:38 +03:00
iliajie
2081cf7002 Fix offsets and use a better structure for holding data 2023-05-13 12:45:04 +03:00
iliajie
3ec090f222 Fix default offsets 2023-05-13 12:24:59 +03:00
iliajie
7e417a84e8 Update description 2023-05-13 12:17:04 +03:00
iliajie
5d955fe3c8 Fix to undo dropped key 2023-05-13 11:57:10 +03:00
Jamie Cameron
117c97fcb9 No need to clean repos https://github.com/webmin/webmin.com/issues/4 2023-05-12 17:14:49 -07:00
Jamie Cameron
a8748f3e97 Merge pull request #1905 from webmin/dev/pass-client-height
Add ability to pass browser's client height to the server
2023-05-12 15:40:47 -07:00
iliajie
8f46fbf836 Fix right arrow to be consistent with left 2023-05-12 22:28:33 +03:00
iliajie
1e97b55c9d Add ability for listing paginated pages using "Alt + left/right" hotkeys 2023-05-12 15:13:28 +03:00
Ilia
26935dcda6 Merge branch 'master' into dev/pass-client-height 2023-05-12 13:47:36 +03:00
iliajie
7188b3581a Add new ui_paginations API 2023-05-12 13:44:19 +03:00
iliajie
e63defe0d3 Fix to take away a new ui_paginations sub to discuss on the PR instead 2023-05-12 13:42:13 +03:00
iliajie
9eb2624deb Add ability to pass browser's client height to the server 2023-05-12 12:02:58 +03:00
iliajie
bd2339aae4 Revert partially "Fix to generally set client height for all modules" 2023-05-12 11:59:09 +03:00
iliajie
cfa2e38162 Fix to drop no longer need code to inject client height into forms 2023-05-12 11:47:06 +03:00
iliajie
3fa50f7222 Revert "Fix to drop no longer need code .. " for ui-lib.pl only 2023-05-12 11:45:40 +03:00
iliajie
696199033c Fix to drop an option to enable paginating and let it just work 2023-05-12 11:27:02 +03:00
iliajie
05a34b099f Revert "Update config to include new option"
This reverts commit 52450a7b3b.
2023-05-12 10:51:40 +03:00
iliajie
b9b2546060 Fix to drop no longer need code to inject client height 2023-05-12 10:49:48 +03:00
Ilia
fa265c094b Merge branch 'master' into dev/useradmin-pagination 2023-05-11 21:40:58 +03:00
iliajie
d915a3aacd Fix to use right header name 2023-05-11 21:39:52 +03:00
iliajie
c145c117af Fix to drop passing client height in requests 2023-05-11 16:11:07 +03:00
iliajie
f42bb4ef1b Fix menu animation not to be annoying 2023-05-11 15:16:48 +03:00
iliajie
550c21bca7 Fix logos size 2023-05-11 15:15:52 +03:00
iliajie
cc24384fea Fix clear search button to look inbuilt into search field 2023-05-11 13:20:06 +03:00
iliajie
17d4090c45 Fix to generally set client height for all modules 6310521982 (r112805733) 2023-05-11 12:32:57 +03:00
Jamie Cameron
2bbf06af99 Merge pull request #1902 from MSSEsq/master
Update Apache HTTP Server Support to V. 2.4 from Expired V. 2.2 on FreeBSD and Solaris Unix
2023-05-10 17:05:45 -07:00
iliajie
699c9b9696 Fix to make sure that client height is set on initial load 2023-05-10 20:24:46 +03:00
iliajie
52450a7b3b Update config to include new option 2023-05-10 17:09:06 +03:00
iliajie
2be0169902 Add support for paginated tables in Users and Groups module 2023-05-10 16:49:15 +03:00
iliajie
295d3275bb Fix not to change default line height 2023-05-10 16:41:43 +03:00
iliajie
7e8788cec3 Fix to support multiple instances of ui_paginations on a single page 2023-05-10 16:41:10 +03:00
iliajie
5f46f05ba4 Add support for searching paginated with hashes too 2023-05-10 11:46:52 +03:00
iliajie
c68ffa8eb7 Fix pagination items counts 2023-05-10 10:50:57 +03:00
iliajie
9b42e6d92a Fix to use caller's pagination number if any 2023-05-10 10:50:03 +03:00
Michael S. Scaramella, Esq
a698576f59 Update config-solaris-11-ALL
The apparent need to edit this file to support the Apache HTTP Server 2.4 on Solaris was noticed when performing Spotlight searches on download code. We do not run Solaris, so cannot test these edits, yet they seem quite likely to be correct. Any needed corrections made by anyone running Solaris are welcome.
2023-05-09 19:59:27 -04:00
Michael S. Scaramella, Esq
9d081e49d9 Update ports-lib.pl
The edits update the Apache package names to versions 2.4. Versions 2.2 expired on 2017-07-01.
2023-05-09 19:47:07 -04:00
Michael S. Scaramella, Esq
9a1da695cd Update pkg-lib.pl
The edits update the Apache package names to versions 2.4. Versions 2.2 expired on 2017-07-01.
2023-05-09 19:39:28 -04:00
Michael S. Scaramella, Esq
913e326a71 Create config-freebsd-11.0-ALL
This new configuration file adds support for Apache HTTP Server 2.4 on FreeBSD 11.0 and later.
2023-05-09 19:04:39 -04:00
Michael S. Scaramella, Esq
1b3db94b73 Rename config-freebsd-8.0-ALL to config-freebsd-8.0-10.4
This configuration file must be renamed to include a FreeBSD version range to accommodate a new configuration file named “config-freebsd-11.0-ALL” that supports Apache HTTP Server V. 2.4 on FreeBSD versions 11.0 and later.
2023-05-09 19:00:57 -04:00
iliajie
0dc11e7385 Fix client height calculation for Framed Theme 2023-05-09 23:18:15 +03:00
iliajie
c03fefd36d Fix to update client height on form change dynamically (before submit) 2023-05-09 22:56:54 +03:00
iliajie
15c81e8ace Fix wrong sting transfer 2023-05-09 22:41:29 +03:00
iliajie
3683c0e06c Add support for multiple paginations in a single page 2023-05-09 19:53:15 +03:00
iliajie
8c15fc9fdb Fix escapes ; add support to display items on page
e.g.: Showing 43 to 64 of 83 items on page  ⏴ 3 of 4 pages ▸
2023-05-09 13:15:33 +03:00
Jamie Cameron
25e5b2f4fc Use new used field 2023-05-08 20:56:33 -07:00
Jamie Cameron
41a7d61df4 Collect used disk space separately 2023-05-08 20:55:05 -07:00
Jamie Cameron
ad93a7cc53 Merge branch 'master' of github.com:webmin/webmin 2023-05-08 17:39:46 -07:00
Jamie Cameron
7edccbe38b Newer DBD::mysql versions need to set mysql_ssl_optional to not fail if mandatory SSL isn't supported https://forum.virtualmin.com/t/remote-mysql-server-ssl-connection-issue/120683 2023-05-08 17:39:31 -07:00
iliajie
6310521982 Add support for listing jail blocks with pagination 2/2 2023-05-08 23:56:04 +03:00
iliajie
ae544ec580 Add support for listing jail blocks 1/2
https://forum.virtualmin.com/t/firewalld-module/116515/12
2023-05-07 21:24:30 +03:00
Jamie Cameron
c2bbb27de4 Using the back button to return doesn't refresh the page 2023-05-06 21:43:46 -07:00
Jamie Cameron
797c38b9e6 Merge branch 'master' of github.com:webmin/webmin 2023-05-06 14:51:21 -07:00
Jamie Cameron
2a1c5ce79c Reuse the existing let's encrypt key by default http://github.com/virtualmin/virtualmin-gpl/issues/414 2023-05-06 14:49:44 -07:00
iliajie
e260a96d93 Add API to use theme dependent code for page refresh 2023-05-06 12:54:13 +03:00
iliajie
4e96552b03 Fix to factor out read_help_file sub to be accessible by theme 2023-05-06 12:01:06 +03:00
iliajie
9a29c6f98e Fix search use absolute path for file
e.g. search for `Days before expiry` doesn't search for Virtualmin help in Authentic Theme
2023-05-05 13:24:29 +03:00
iliajie
fae07aed8a Fix if defined 2023-05-04 14:31:22 +03:00
iliajie
62a3c9f237 Merge remote-tracking branch 'origin/master' 2023-05-04 13:09:37 +03:00
iliajie
cdf715ad2e Fix to test expired password correctly 2023-05-04 13:09:16 +03:00
Jamie Cameron
33a8c5c8af Fix check for values field 2023-05-03 17:01:40 -07:00
iliajie
06ae7b8582 Fix undefined error fa42a98acb (commitcomment-111597917) 2023-05-03 16:27:00 +03:00
Jamie Cameron
9cf714d014 Use the correct shadow table name https://github.com/webmin/webmin/issues/1898 2023-05-01 20:02:10 -07:00
Jamie Cameron
d1fe5d1bae Merge branch 'master' of github.com:webmin/webmin 2023-04-30 21:44:38 -07:00
Jamie Cameron
f9c4cacd6c SCRIPT_NAME isn't a safe variable to use, because sometimes Virtualmin sets it 2023-04-30 21:43:33 -07:00
Jamie Cameron
ce7e966c1a Merge pull request #1897 from webmin/dev/firewalld-edit-configs-manually
Add support to edit FirewallD config files manually
2023-04-30 14:43:48 -07:00
Jamie Cameron
625f4ac93c Fix check for missing value! 2023-04-30 10:54:58 -07:00
iliajie
fa311d5288 Add support to edit FirewallD config files manually 2023-04-30 18:43:36 +03:00
Jamie Cameron
fa42a98acb Use values array if value isn't set https://forum.virtualmin.com/t/dns-not-appearing-on-slaves/120477 2023-04-28 20:08:09 -07:00
Jamie Cameron
81a8607628 Use lc to lower case 2023-04-28 13:59:19 -07:00
Jamie Cameron
2626d01005 Merge branch 'master' of github.com:webmin/webmin 2023-04-28 12:00:35 -07:00
Jamie Cameron
1e5032c7a3 Don't reference non-existent values 2023-04-28 12:00:04 -07:00
iliajie
5dc2281e66 Fix password change screen pop up on every login 20d07a17a8 2023-04-28 11:02:19 +03:00
iliajie
70fce1f97e Fix not to display no password option 2023-04-27 23:11:55 +03:00
iliajie
da1ee58a7c Fix to use offset rather than zone name https://github.com/virtualmin/virtualmin-gpl/issues/552 2023-04-26 11:30:53 +03:00
iliajie
4b3ef986bf Merge branch 'master' of github.com:webmin/webmin 2023-04-26 09:32:22 +03:00
iliajie
14a07d4959 Fix to test if home directory is writable https://github.com/webmin/webmin/issues/1892#issuecomment-1522680504
Introduced with: https://github.com/webmin/webmin/commit/f46cc45
2023-04-26 09:30:24 +03:00
Jamie Cameron
e3d4d2427c Merge branch 'master' of github.com:webmin/webmin 2023-04-25 20:47:48 -07:00
Jamie Cameron
9bcee57c7c Try lower case username if upper case doesn't exist https://github.com/virtualmin/virtualmin-gpl/issues/553 2023-04-25 20:47:07 -07:00
Jamie Cameron
896fedf590 Merge pull request #1895 from martelrotschy/dev/fix-pdbedit-bug
Fixes webmin/webmin#1894
2023-04-25 19:52:37 -07:00
Martel
12e6b19586 Fixed issue with pdbedit in samba-lib.pl
Invalid option for pdbedit that broke due to a recent update of samba-common
2023-04-25 17:42:14 -07:00
iliajie
3f322bee84 Fix to also animate menu's main content 2023-04-19 11:26:07 +03:00
Jamie Cameron
20d07a17a8 Sync password expiry logic with Linux https://forum.virtualmin.com/t/personalized-warning-in-password-policy/120228 2023-04-18 21:43:15 -07:00
Jamie Cameron
24b59c5b85 No need for this check now that create_wrapper has been extracted 2023-04-18 15:58:27 -07:00
Jamie Cameron
e5249a6e3b No need for a wrapper around the wrapper function 2023-04-18 15:44:40 -07:00
Jamie Cameron
a3140c03da Merge pull request #1887 from webmin/dev/xterm-in-usermin
Add support for Terminal to work in Usermin
2023-04-18 15:34:42 -07:00
iliajie
d154935e8f Fix to factor out create_wrapper sub 2023-04-18 21:21:30 +03:00
Jamie Cameron
db8d712d83 When the cron module is being used as an API in usermin, leave user switching up to the caller 2023-04-18 10:11:49 -07:00
iliajie
d500367bdd Fix missing end line 2023-04-18 18:00:33 +03:00
iliajie
03d245384d Fix not to depend on Cron 2023-04-18 17:51:23 +03:00
iliajie
a89415739b Merge remote-tracking branch 'origin/master' 2023-04-17 23:02:32 +03:00
iliajie
e81c869531 Fix to smooth top switches load 2023-04-17 23:02:21 +03:00
Jamie Cameron
690005a04f Make purpose of config options clearer https://github.com/webmin/webmin/issues/1886 2023-04-16 21:23:21 -07:00
Jamie Cameron
47043a41c5 Bridge support in Netplan 2023-04-16 20:29:19 -07:00
iliajie
5aaa81eeb6 Add support for Terminal to work in Usermin 2023-04-16 22:11:12 +03:00
Jamie Cameron
b9ed596e3e Add another bridge parameter field 2023-04-16 11:00:59 -07:00
Jamie Cameron
e07db9663b Work on bridge support for netplan 2023-04-16 00:01:17 -07:00
Jamie Cameron
48078357a3 Add formal params 2023-04-15 18:24:21 -07:00
Jamie Cameron
9098936fc2 Add support for SSHA password hashing, and use it if possible 2023-04-15 18:22:43 -07:00
Jamie Cameron
b425bdfbb7 Better handle the default mode 2023-04-14 15:43:07 -07:00
Jamie Cameron
392c010840 Fix merge conflicts 2023-04-14 15:41:05 -07:00
Jamie Cameron
91a20d4b08 The default for PermitRootLogin is prohibit-password https://forum.virtualmin.com/t/transferring-sites-using-ssh/120192/7 2023-04-14 15:39:09 -07:00
iliajie
1db77e36eb Update translations 2023-04-13 12:00:23 +03:00
iliajie
a927647a07 Fix to properly handle prohibit-password option 2023-04-13 11:55:43 +03:00
Jamie Cameron
0cc62bf748 Merge branch 'master' of github.com:webmin/webmin 2023-04-10 21:23:32 -07:00
Jamie Cameron
37abb2707b No need for separate SSL option when using a list of URIs https://github.com/webmin/webmin/issues/1883 2023-04-10 21:23:25 -07:00
iliajie
31b2f92b88 Fix to use HTML entity for space 2023-04-10 20:39:57 +03:00
Jamie Cameron
850030ed17 Add support for reporting status to an HTTP webhook https://github.com/webmin/webmin/issues/1733 2023-04-09 16:01:12 -07:00
Jamie Cameron
c94e5d9aa0 Fix logic 2023-04-08 09:35:21 -07:00
Jamie Cameron
215bfe083b Bridges can also have IP addresses https://forum.virtualmin.com/t/virtualmin-pro-issue-with-domains-on-dedicated-ip/120094/18 2023-04-07 18:15:15 -07:00
Jamie Cameron
af11d17cbd Merge branch 'master' of github.com:webmin/webmin 2023-04-06 18:37:42 -07:00
Jamie Cameron
60141efc8e Show stderr if we have it 2023-04-06 18:37:36 -07:00
iliajie
7ea1236eb6 Add support for passing HTML attributes and classes to ui_table_row sub 2023-04-06 16:16:58 +03:00
Jamie Cameron
a6597f6ebe Merge branch 'master' of github.com:webmin/webmin 2023-04-05 21:00:10 -07:00
Jamie Cameron
31d69174fc Actually return the value of the password field https://forum.virtualmin.com/t/mysql-root-password-leaks-to-users-during-backup/120096/5 2023-04-05 20:59:47 -07:00
iliajie
364c37d755 Fix to consider Current Drive Temperature in smartctl output #1881 2023-04-05 15:03:06 +03:00
Jamie Cameron
c9c672a6a7 Fix permissions fix 2023-04-04 21:52:47 -07:00
Jamie Cameron
042e7de2f7 Add support for editing header_checks and mime_header_checks separately https://github.com/webmin/webmin/issues/1880 2023-04-04 21:52:01 -07:00
Jamie Cameron
4b64ef0073 Merge branch 'master' of github.com:webmin/webmin 2023-04-04 21:29:19 -07:00
Jamie Cameron
db869203db Add option to EHLO keywords to not send https://github.com/webmin/webmin/issues/1879 2023-04-04 21:28:54 -07:00
iliajie
36f2e5d077 Fix to properly handle macOS mode #1877 2023-04-04 18:31:55 +03:00
iliajie
eaaa470818 Fix to properly stop Usermin https://github.com/webmin/usermin/issues/89 2023-04-03 18:50:58 +03:00
Jamie Cameron
e9f6ab278d Merge branch 'master' of github.com:webmin/webmin 2023-03-29 17:27:57 -07:00
Jamie Cameron
764533a6e5 Don't add hashed password to the old password list if it's already in there https://github.com/virtualmin/virtualmin-pro/issues/35 2023-03-29 17:27:01 -07:00
iliajie
0f0e6ba516 Fix to print status from last schedule in alert box 2023-03-26 13:34:33 +03:00
iliajie
8c0107f241 Add placeholder for the local file in backup destination 2023-03-25 20:00:25 +02:00
iliajie
e0738d301b Fix to use alert when printing a warning 2023-03-25 19:43:40 +02:00
iliajie
c7393d6e17 Fix to default to enable date subs 2023-03-25 19:43:25 +02:00
iliajie
8694adcf93 Add placeholder for the local file in backup destination 2023-03-24 20:21:52 +02:00
iliajie
483fb9074b Fix not to print extra empty row 2023-03-24 20:18:25 +02:00
iliajie
a2adf19b80 Fix to use better warning 2023-03-24 19:58:01 +02:00
Jamie Cameron
0b8611b4fd Merge pull request #1869 from webmin/dev/consider-upgrade-dir
Fix to consider initial install directory and preserve install type upon upgrading
2023-03-22 15:45:24 -07:00
iliajie
8c50a2d147 Fix to preserv package type 2023-03-22 20:42:59 +02:00
iliajie
03606c8214 Fix to consider initial install directory upon upgrading 2023-03-22 20:15:49 +02:00
Ilia
43159eef0c Merge pull request #1868 from bisbastuner/patch-1
Fix wrong condition when asking first
2023-03-21 21:00:24 +02:00
bisbastuner
6ebce2bdce Fix wrong condition when asking first
The second test was wrong, it exits if the user asks with a capital Y. Fix by exiting only if the answer from the user is different from a lowercase y AND a capital Y
2023-03-21 19:55:42 +01:00
Jamie Cameron
87e6397f27 Minor version bump 2023-03-20 22:50:50 -07:00
Jamie Cameron
188e1aeb88 Merge branch 'master' of github.com:webmin/webmin 2023-03-19 15:22:54 -07:00
Jamie Cameron
eff6228928 Don't bother formatting if number of bytes is undefined 2023-03-19 15:20:57 -07:00
iliajie
ce0819b1ed Update CHANGELOG.md 2023-03-19 19:56:43 +02:00
iliajie
01ea77ebca Fix to fail-proof time zone detection #1865 2023-03-19 19:05:23 +02:00
Jamie Cameron
24dba0f32b Quote everything 2023-03-18 18:11:28 -07:00
Jamie Cameron
409064bb24 Use version compare function 2023-03-18 17:36:28 -07:00
Jamie Cameron
2be51bb8d3 Merge branch 'master' of github.com:webmin/webmin 2023-03-18 16:32:48 -07:00
Jamie Cameron
058230ab3d Clear caches before checking for updates, so it's always fresh https://github.com/webmin/webmin/issues/1863 2023-03-18 16:30:09 -07:00
iliajie
b151fcaf15 Merge remote-tracking branch 'origin/master' 2023-03-18 17:54:35 +02:00
iliajie
0b99afaa0f Fix comment 2023-03-18 17:54:16 +02:00
Jamie Cameron
a3808605d6 Merge branch 'master' of github.com:webmin/webmin 2023-03-17 20:24:20 -07:00
Jamie Cameron
00726bb577 Code order cleanup 2023-03-17 20:24:13 -07:00
iliajie
8bd1c56743 Fix code indent 2023-03-18 04:15:00 +02:00
iliajie
6e7eced812 Fix to resolve links before testing allowed path 2023-03-18 01:28:21 +02:00
iliajie
b25d128665 Fix formatting for the program 2023-03-17 20:25:43 +02:00
iliajie
b9891fffc2 Update translations 2023-03-17 17:53:18 +02:00
iliajie
cc591c3e91 Add ability to set locale in Webmin Users module for consistency 2023-03-17 17:23:54 +02:00
iliajie
88eb228f77 Fix to always set time to "beginning" in case of undef value 2023-03-16 20:42:15 +02:00
Jamie Cameron
7c40195c14 Don't ever call make_date on undef https://github.com/webmin/webmin/issues/1860 2023-03-16 11:27:04 -07:00
Jamie Cameron
ce65643c03 Fix indentation 2023-03-16 11:23:47 -07:00
iliajie
d66a040fc6 Fix text 2023-03-15 16:16:55 +02:00
iliajie
710a2ff235 Remove Standard Modules option from Webmin Modules page 2023-03-15 13:31:02 +02:00
Ilia
6a68ae5474 Merge pull request #1856 from webmin/stable
Merge pull request #1855 from webmin/master
2023-03-14 14:05:12 +02:00
Ilia
427c8b9370 Merge pull request #1855 from webmin/master
Webmin 2.020 (merge into stable)
2023-03-14 14:00:15 +02:00
Jamie Cameron
aff97d2ebd Create new rules in the correct table https://sourceforge.net/p/webadmin/bugs/5614/ 2023-03-13 21:40:44 -07:00
Jamie Cameron
a63c8aadc0 Put back recommends and remove useless comment 2023-03-12 14:27:02 -07:00
iliajie
f915a96542 Fix to support key type passed as param 2023-03-12 20:53:01 +02:00
iliajie
4b139bd4ee Make encryption algorithm for Let's Encrypt private key configurable 2023-03-12 20:44:59 +02:00
Jamie Cameron
b8935cd933 Support EC keys as well 2023-03-11 16:03:17 -08:00
iliajie
0c9cda6a0b EC private keys exist
f52cb3a027
2023-03-12 01:17:23 +02:00
iliajie
7cef589e92 Fix message margin 2023-03-10 19:04:35 +02:00
Jamie Cameron
d7222415a2 Merge branch 'master' of github.com:webmin/webmin 2023-03-09 18:02:09 -08:00
Jamie Cameron
5eb61da8dd Add missing string 2023-03-09 18:00:29 -08:00
iliajie
0fcce117a1 Fix to keep backup formats consistent 2023-03-08 17:16:00 +02:00
iliajie
5c84313e39 Update CHANGELOG.md 2023-03-08 15:25:40 +02:00
Jamie Cameron
2bb36069f5 Recommends isn't supported on CentOS 7 2023-03-07 23:22:27 -08:00
iliajie
242e694181 Add support to pass query string with referer relative sub 2023-03-08 01:29:29 +02:00
iliajie
43e4320959 Fix Ubuntu release note link (again!) 2023-03-05 12:37:25 +02:00
Jamie Cameron
50367ed74d Merge branch 'master' of github.com:webmin/webmin 2023-03-04 19:19:14 -08:00
Jamie Cameron
6100583d60 The value field has to be set in all sub-structures 2023-03-04 19:17:36 -08:00
iliajie
cf79131ec4 Update CHANGELOG.md 2023-03-05 00:48:17 +02:00
iliajie
682399997f Fix to skip CPU IO in initial load 2023-03-04 20:20:49 +02:00
iliajie
fe8bcba3a4 Fix needs-restarting not call twice 2023-03-04 13:30:04 +02:00
Jamie Cameron
30208960a1 Fix caching of detected OS version 2023-03-03 22:41:08 -08:00
Jamie Cameron
b5aaba9119 What are roles?? 2023-03-03 21:37:10 -08:00
Jamie Cameron
0064fbf4ed Remove special check for a new kernel package, and just rely on needs-restarting 2023-03-03 21:34:23 -08:00
Jamie Cameron
aef0176c41 Merge pull request #1850 from webmin/dev/fix-to-speed-up-dashboard-load-1
Add support for loading given modules info in background only on initial Dashboard load
2023-03-03 16:35:10 -08:00
Jamie Cameron
2f85da3c72 Merge pull request #1849 from webmin/dev/fix-consider-reserved-space
Fix to properly display used space (consider reserved)
2023-03-03 15:50:24 -08:00
iliajie
0ead391e47 Fix not to run check_reboot_required on initial load 2023-03-03 22:29:48 +02:00
iliajie
8e083d044e Fix to use indexof instead of grep 2023-03-03 17:31:47 +02:00
Jamie Cameron
1ce1507b14 Don't check for OS update more than once per day 2023-03-02 23:13:22 -08:00
Jamie Cameron
b8238bf3d5 Don't do OS detection if we can't use it 2023-03-02 21:39:23 -08:00
Jamie Cameron
166ea04954 Don't switch to non-root when editing PHP configs in /etc https://github.com/virtualmin/virtualmin-gpl/issues/522 2023-03-02 19:26:26 -08:00
iliajie
6ca851c49a Fix to skip Webmin notifications as can be added later 2023-03-03 02:03:44 +02:00
iliajie
ae805cfdd2 Fix to use a new regex for other libs 2023-03-03 00:52:56 +02:00
iliajie
7932c08507 Add support for loading given modules info in background only 2023-03-03 00:40:33 +02:00
Jamie Cameron
5e4212812c Don't re-add subjectAltName line https://forum.virtualmin.com/t/ssl-for-sub-server-certificate-and-key-do-not-match-certificate-data-is-not-valid/119313/43 2023-03-02 13:29:23 -08:00
iliajie
550aa7593b Fix to properly display used space (consider reserved) 2023-03-02 21:24:49 +02:00
Jamie Cameron
6e2ab1c2fb Version bump for next release 2023-03-01 22:15:09 -08:00
Jamie Cameron
f00bb0a77c Merge pull request #1846 from webmin/dev/acls-in-filemin
Add set ACLs support
2023-02-28 20:21:36 -08:00
iliajie
37d470bd69 Fix to use $cwd in paths 2023-02-28 22:24:43 +02:00
iliajie
98c3f82ea5 Fix to make file and group choosers work 2023-02-28 22:00:50 +02:00
iliajie
6389fafaef Fix to respect multiple spaces just in case 2023-02-28 21:03:46 +02:00
iliajie
31eb218094 Fix to always use quotemeta 2023-02-28 20:36:39 +02:00
iliajie
ead01b541e Fix to remove useradmin require 2023-02-28 12:23:34 +02:00
iliajie
dc1f64eeaf Fix to use user and group selects 2023-02-27 20:55:21 +02:00
iliajie
ab4b7cf20c Fix to remove listing users 2023-02-27 19:57:52 +02:00
iliajie
69ccb45686 Fix to always prefer displaying external IP address #1184
https://github.com/webmin/webmin/issues/1184#issuecomment-1446340234
2023-02-27 15:44:00 +02:00
iliajie
ec6df9cf85 Merge remote-tracking branch 'origin/master' 2023-02-27 14:05:50 +02:00
iliajie
9eaa217e8c Fix to flip colors for switch links #1845 2023-02-27 14:05:37 +02:00
Jamie Cameron
02dd766c80 Add function to change the DB login 2023-02-25 23:24:25 -08:00
Jamie Cameron
fc5483972b Allow custom login for restore command 2023-02-25 23:00:46 -08:00
Jamie Cameron
a1aa6a41b6 Code cleanup 2023-02-25 19:14:05 -08:00
iliajie
59f7a056e2 Add support for systems with large amount of users and groups 2023-02-26 02:54:59 +02:00
iliajie
fa562f6766 Fix to avoid possible user errors on entry 2023-02-26 01:41:02 +02:00
iliajie
fedb53ce45 Fix missing (possible) permission 2023-02-25 22:03:38 +02:00
iliajie
352a1323a7 Fix size for multiple select 2023-02-25 21:57:12 +02:00
iliajie
90a144516b Fix to rely on get_users_list and get_groups_list 2023-02-25 21:55:37 +02:00
iliajie
a4b0a84149 Fix scope 2023-02-25 21:25:21 +02:00
iliajie
edd4be6cb5 Fix to remove no needed empty option in multi select 2023-02-25 20:41:14 +02:00
iliajie
92f1c7d2ef Fix label name ; fix placeholder to reflex Linux variant of the command 2023-02-25 19:53:24 +02:00
iliajie
b5ad834a0c Finish work on adding set ACLs support 2023-02-25 19:47:04 +02:00
Jamie Cameron
ffcdcb560f Add support for SSL connections 2023-02-24 15:28:10 -08:00
iliajie
cf953603d2 Start work on adding set ACLs support 2023-02-24 23:27:07 +02:00
Jamie Cameron
f468efd888 Add support for restoring from a compressed file 2023-02-23 23:42:00 -08:00
Jamie Cameron
744edd8911 Escape paths 2023-02-23 23:34:39 -08:00
Jamie Cameron
dee0ad64f9 Add support for compressed backups 2023-02-23 19:52:32 -08:00
Jamie Cameron
ff4aacb5bc Use my instead of local 2023-02-23 19:36:21 -08:00
Jamie Cameron
89bc90d3a7 Don't re-create record if already OK 2023-02-23 18:36:12 -08:00
iliajie
c3fa84a7cd Fix to always default to RSA key type in Let's Encrypt 2023-02-23 20:50:33 +02:00
iliajie
395d7d261d Fix error message and remove adding new line 2023-02-21 18:00:39 +02:00
Ilia
0510ca7092 Merge pull request #1844 from ItzMiracleOwO/patch-1
Fix setup-repos.sh perm issues
2023-02-21 17:56:48 +02:00
YueYue
05016e24cc Update setup-repos.sh
Lets check for root perms before executing to prevent issues.
2023-02-21 19:02:12 +08:00
iliajie
2ffe6f6b22 Fix typo 2023-02-18 18:21:39 +02:00
iliajie
2890b4487b Fix to drop redundant line 2023-02-18 17:55:41 +02:00
iliajie
fcb34f6790 Add an attempt to support CloudLinux (configs) 2023-02-18 17:52:47 +02:00
iliajie
f3dae49b82 Add an attempt to support CloudLinux 2023-02-18 17:52:25 +02:00
iliajie
aba9925805 Fix to improve variable name 2023-02-16 23:26:03 +02:00
iliajie
216a7f9703 Add ability for a remote proxy to set webprefix using headers #1838 2023-02-16 23:19:00 +02:00
iliajie
417cee61f6 Add support for displaying inodes in Disk Usage on the Dashboard too 2023-02-16 20:34:04 +02:00
iliajie
306037cabb Fix to add missing units 2023-02-15 02:27:35 +02:00
iliajie
ce525ecb4f Fix to configure the right time to wait for ExecStop= command 2023-02-15 02:24:42 +02:00
iliajie
df21b28d5d Fix to avoid HTML in CLI when making date 2023-02-15 01:11:35 +02:00
iliajie
3d90c7ff4f Fix to better handle installs on derivatives #1840 2023-02-14 20:23:49 +02:00
iliajie
caa10ccf5c Merge remote-tracking branch 'origin/master' 2023-02-14 17:50:14 +02:00
iliajie
1e87a3f190 Fix Oracle repos setup #1840 2023-02-14 17:49:52 +02:00
Jamie Cameron
5a9f2de6d3 Add function to reload a zone on all slaves 2023-02-12 17:49:34 -08:00
Jamie Cameron
cdcee0b40b Merge branch 'master' of github.com:webmin/webmin 2023-02-11 12:17:57 -08:00
iliajie
7c1c3b22fb Fix to properly detect derivatives when setting up repos #1834 2023-02-11 20:39:04 +02:00
iliajie
660b94ceb5 Fix to drop useless test 2023-02-11 20:18:37 +02:00
Ilia
23731b17ea Update README.md with better screenshot for dark palette 2023-02-11 17:54:36 +03:00
Ilia
c929fd9ade Update README.md with palette dependent screenshot 2023-02-11 17:50:57 +03:00
Ilia
26d0638df5 Update README.md to smaller the headers as possible 2023-02-11 17:44:34 +03:00
iliajie
31c63b3e2a Fix to test if locale is supported 2023-02-11 14:09:17 +02:00
Jamie Cameron
3a651333a0 Make serialized variables fully eval-able 2023-02-10 22:26:43 -08:00
Ilia
8fbfc5f432 Update README.md 2023-02-11 01:03:13 +03:00
Jamie Cameron
9967ca9a40 Merge branch 'master' of github.com:webmin/webmin 2023-02-09 23:29:51 -08:00
Jamie Cameron
7ecb1d8af7 Code cleanups 2023-02-09 23:28:57 -08:00
iliajie
c9953044f2 Fix to properly build complete date
Wednesday, February 8, 2023, 8:18 PM
星期三, 2023年2月8日 20:18
miércoles, 8 febrero 2023, 20:18
2023-02-08 20:31:30 +02:00
Jamie Cameron
24da55639e Merge pull request #1836 from pzindyaev/master
fix displaying perviously selected users
2023-02-07 18:33:26 -08:00
pzindyaev
7181b5aebd fix displaying perviously selected users
Removed unnecessary param while using split_quoted_string in user_chooser
2023-02-07 15:52:38 +03:00
Jamie Cameron
98bc559f88 Merge branch 'master' of github.com:webmin/webmin 2023-02-06 20:22:39 -08:00
Jamie Cameron
d54342b37d Fix variable name 2023-02-06 20:22:32 -08:00
Jamie Cameron
ed0fcaaaff Merge pull request #1835 from ctrlbru/fix-bacula-restore-list
Fix for file chooser not displayed correctly in bacula module
2023-02-06 13:22:21 -08:00
Dario Corti
26f899e3df Fixing list.cgi use of JSON::PP
list.cgi needs JSON::PP which is included via bacula-backup-lib.pl. Without a BEGIN block, JSON::PP is not visible (soon enough?)
2023-02-06 22:08:03 +01:00
Jamie Cameron
579975dcc7 Merge pull request #1831 from webmin/dev/add-locales-support
Add proper locale support in Webmin and Usermin
2023-02-06 11:13:50 -08:00
Jamie Cameron
674836594a Use new names for whitelist and blacklist if they are in use already, or running SpamAssassin 4.0 https://github.com/webmin/webmin/issues/1832 2023-02-05 22:26:35 -08:00
Jamie Cameron
495d87a619 Italian translation update from Dario Corti 2023-02-05 15:53:24 -08:00
iliajie
1ff8d1cc5d Fix to drop obsolete code introduced from nested eval tests 2023-02-05 20:24:40 +02:00
Jamie Cameron
f035c54771 Java applet was replaced with JS a long time ago 2023-02-05 10:10:17 -08:00
Jamie Cameron
fb635c1591 Fix error message 2023-02-04 23:18:52 -08:00
Jamie Cameron
d408230132 Only the yum command combines lines 2023-02-04 20:52:57 -08:00
iliajie
b6422024a6 Add ability to get system default locale and use it if nothing is set 2023-02-05 04:41:27 +02:00
iliajie
7c4cf83cd4 Fix locale detection with accepted language 2023-02-05 04:18:02 +02:00
iliajie
24ed688d1d Fix user language must always override accepted language 2023-02-05 04:06:09 +02:00
iliajie
19a5766762 Locale can be accepted from the browser just like language 2023-02-05 03:57:25 +02:00
iliajie
6b3d776bc1 Dashboard must always show full time, i.e. Sat 04 Feb 2023 14:26:42 EET 2023-02-05 03:28:48 +02:00
iliajie
c94472f020 Fix to always use short time format for standard make_date outputs 2023-02-05 03:19:25 +02:00
iliajie
c5df379ff1 Fix to respect date format when listing mail 2023-02-05 02:55:04 +02:00
iliajie
619726ea1a Add support for simplify_date to respect Local user option 2023-02-05 02:51:55 +02:00
iliajie
e7f1da486d Fix to never escape spaces 2023-02-05 02:37:37 +02:00
iliajie
088e3a1c19 Add support for short time format used in simplify_date 2023-02-05 02:29:56 +02:00
iliajie
ef7102f0d3 Fix regex to be case insensitive for yyyy 2023-02-05 01:53:24 +02:00
iliajie
0364c4810d Fix old style format parsing (support for mailbox formats) 2023-02-05 01:52:56 +02:00
Jamie Cameron
7a18007354 tempname function expects remote_user_info to be set https://forum.virtualmin.com/t/file-manager-error-as-servers-admin/119007 2023-02-04 15:23:37 -08:00
Jamie Cameron
f46cc45c0d Don't use array if it doesn't exist 2023-02-04 15:22:56 -08:00
iliajie
2818c056e5 Fix to drop obsolete 2023-02-05 01:20:57 +02:00
iliajie
094e1792e0 Move list_locales to be accessible in global scope (for Usermin) 2023-02-05 01:04:55 +02:00
iliajie
daa1c7e845 Update translations 2023-02-05 00:50:45 +02:00
iliajie
809458e82a Add support to select locale in Change Language and Theme Webmin module 2023-02-05 00:40:10 +02:00
iliajie
4696aea22e Fix $ago_secs test 2023-02-04 12:50:41 +02:00
iliajie
21a9df8cc7 Fix to combine evals into a single statement 2023-02-04 12:49:13 +02:00
iliajie
37e91698a9 Fix to sort locales based on values not keys 2023-02-04 12:40:40 +02:00
iliajie
10dfc379ab Fix to drop und as also not supported 2023-02-04 04:56:45 +02:00
iliajie
55921fdf48 Fix typo 2023-02-04 04:55:32 +02:00
iliajie
e39924da85 Fix to drop accidentally leaked locales 2023-02-04 04:54:18 +02:00
iliajie
1f11faa626 Update translations 2023-02-04 04:18:30 +02:00
Jamie Cameron
98a9313d81 Don't re-compare versions if the update system thinks there's an update 2023-02-03 18:16:01 -08:00
iliajie
8af2ca1fba Add support for choosing Locale from UI 2023-02-04 04:10:13 +02:00
iliajie
bf6d35f37e Add a new API for making nice dates based on user locale 2023-02-04 02:03:39 +02:00
iliajie
dc7e3516bd Add also Time::Piece as recommended package 2023-02-04 01:33:45 +02:00
iliajie
1520049847 Add also DateTime::TimeZone as recommended package 2023-02-04 00:22:39 +02:00
iliajie
1707597f1f Add also DateTime as recommended package 2023-02-03 23:36:57 +02:00
iliajie
2bbe2b66f3 Update translations 2023-02-03 20:38:49 +02:00
iliajie
0f4fe0e64c Put dateformat in the right place and change section name 2023-02-03 20:12:59 +02:00
iliajie
df4bff0a58 Remove dateformat being in the wrong place 2023-02-03 19:39:09 +02:00
iliajie
e68873d039 Add DateTime::Locale as recommended package 2023-02-03 19:28:03 +02:00
Jamie Cameron
3f8e37eb11 Merge branch 'master' of github.com:webmin/webmin 2023-02-01 23:17:52 -08:00
Jamie Cameron
764e173f90 Add support for making 'remote' calls to this host as just regular calls 2023-02-01 23:17:43 -08:00
iliajie
3bf1718b30 Fix to use system default hashing format for htpasswd file
https://forum.virtualmin.com/t/how-to-change-awstats-user-password/118998/
2023-02-01 23:45:10 +02:00
Jamie Cameron
198146894f Merge branch 'master' of github.com:webmin/webmin 2023-01-30 23:07:40 -08:00
Jamie Cameron
acd60fbc6a Add slave zone file format option 2023-01-30 23:07:33 -08:00
iliajie
807443a7bd Fix stop script degeneration to try all kill commands
https://sourceforge.net/p/webadmin/bugs/5609/
2023-01-30 19:25:26 +02:00
Jamie Cameron
cdcd3cec52 Use formal params 2023-01-29 23:21:30 -08:00
Jamie Cameron
13ca94043c Add support for serializing using data::dumper format, and use it in fast RPC calls where possible 2023-01-29 19:44:31 -08:00
Jamie Cameron
021247d98d Don't crash if file wasn't read 2023-01-29 19:41:16 -08:00
Jamie Cameron
5cb837446f In fastrpc mode, there's no need to send the request in the initial HTTP connection 2023-01-29 18:30:16 -08:00
Jamie Cameron
689c973072 Return more useful error message 2023-01-29 18:25:43 -08:00
Jamie Cameron
7e76d09358 Recognize MariaDB log file from config 2023-01-28 11:53:19 -08:00
Jamie Cameron
b15da673d6 Merge branch 'master' of github.com:webmin/webmin 2023-01-27 15:20:21 -08:00
Jamie Cameron
434eb4a42e Also check if the password set is the same as what we'd want to set 2023-01-27 15:18:29 -08:00
iliajie
76ad456c2f Fix mail sorting by date
https://sourceforge.net/p/webadmin/bugs/5607/
2023-01-25 23:08:46 +02:00
Jamie Cameron
22e7e5c553 Deal with backquotes 2023-01-24 20:55:31 -08:00
Jamie Cameron
777321687e Only add re: if subject doesn't start with re: 2023-01-23 21:39:47 -08:00
Jamie Cameron
00f8bb60d4 Properly handle case where showmount command is missing https://github.com/webmin/webmin/issues/1829 2023-01-23 21:27:09 -08:00
Jamie Cameron
4b5f3d7ccd Add config option to connect in SSL mode 2023-01-21 21:41:59 -08:00
Jamie Cameron
415b7cdeb8 Log a better message when the SSL cert is generated 2023-01-21 21:32:18 -08:00
Jamie Cameron
5158d0ea37 Completed SSL cert creation page 2023-01-21 21:16:23 -08:00
Jamie Cameron
bfc0f89b55 Add comment 2023-01-21 17:14:16 -08:00
Jamie Cameron
d51bdb1dc9 Merge branch 'master' of github.com:webmin/webmin 2023-01-21 17:14:00 -08:00
Jamie Cameron
db73d5e7a6 Start of work on SSL page 2023-01-21 17:13:52 -08:00
iliajie
ca971b720d Remove size option in Authentic as it's pointless, resize does it all 2023-01-21 17:06:31 +02:00
iliajie
8588c96650 Fix to set columns and rows environment vars only in fixed mode
https://forum.virtualmin.com/t/terminal-tip/118786/29?u=ilia
2023-01-21 16:25:28 +02:00
Jamie Cameron
f2fd4be101 Merge branch 'master' of github.com:webmin/webmin 2023-01-20 23:45:40 -08:00
Jamie Cameron
cbe4fccb09 Nice icon for mysql maual editing 2023-01-20 23:45:32 -08:00
iliajie
5deee0c76d Fix typo
https://sourceforge.net/p/webadmin/bugs/5605/
2023-01-20 18:06:27 +02:00
Jamie Cameron
316ff18969 New version bumps 2023-01-19 18:05:24 -08:00
iliajie
0214ea71c7 Update CHANGELOG.md 2023-01-20 02:57:41 +02:00
Jamie Cameron
06df6994b2 Merge pull request #1823 from webmin/dev/fix-search-in-menu
Fix search bar in navigation menu (Webmin)
2023-01-19 16:55:21 -08:00
iliajie
e0f6251b77 Fix to allow smaller size for potentially smaller menu 2023-01-20 02:16:40 +02:00
iliajie
c473443ac0 Fix search bar in navigation menu (Webmin) 2023-01-20 02:11:37 +02:00
iliajie
4c086815d2 Fix to revert test drive for a new .bashrc 2023-01-20 02:00:38 +02:00
iliajie
65c5f42c94 Fix Framed theme to respect mode on left menu 2023-01-20 01:31:11 +02:00
Jamie Cameron
ee21f22e56 remove debug print 2023-01-19 15:27:36 -08:00
Jamie Cameron
5d9643e36d Merge branch 'master' of github.com:webmin/webmin 2023-01-19 15:23:11 -08:00
Jamie Cameron
cecb8ed96d Fix defaulting to webmin mode 2023-01-19 15:22:31 -08:00
iliajie
4903099544 Update CHANGELOG.md 2023-01-19 20:47:55 +02:00
iliajie
d333f1fe16 Update CHANGELOG.md (2.012) 2023-01-19 01:39:18 +02:00
iliajie
286c5c6c51 Fix to revert incorrect fix beed9af645 (commitcomment-97277268) 2023-01-19 01:10:05 +02:00
Jamie Cameron
06d212ddfc New version bump 2023-01-18 14:24:39 -08:00
Jamie Cameron
35a259eabc Merge branch 'master' of github.com:webmin/webmin 2023-01-18 13:38:33 -08:00
Jamie Cameron
40bf45ae42 Fix variable name 2023-01-18 13:38:28 -08:00
iliajie
a875b8e7eb Fix a bug in routing_config_files sub 2023-01-18 23:37:31 +02:00
iliajie
faa7b57970 Fix to remove ignore errors 2023-01-18 21:57:52 +02:00
Jamie Cameron
7bf010f9f8 Make sure domains are unique 2023-01-17 22:21:10 -08:00
Jamie Cameron
8ced702aa1 Support Debian 12 2023-01-17 20:29:49 -08:00
Jamie Cameron
ed042f3a53 Include all debian config files in backups 2023-01-17 20:10:46 -08:00
iliajie
67a0eca90c Fix not to enable warnings blindly on all code 2023-01-17 16:22:55 +02:00
iliajie
ff5119da7c Add support for defining hostname for WebSocket connection
https://forum.virtualmin.com/t/using-new-command-line-not-working-behind-reverse-proxy/118673/2
2023-01-17 16:09:46 +02:00
Jamie Cameron
4bf1a38288 Merge branch 'master' of github.com:webmin/webmin 2023-01-16 18:38:56 -08:00
Jamie Cameron
eee5331b28 Use correct args to modify_interface_def https://github.com/webmin/webmin/issues/1818 2023-01-16 18:38:20 -08:00
iliajie
beed9af645 Fix to make sure that interface file is read only once 2023-01-16 22:42:43 +02:00
iliajie
087f1e7776 Fix to stop reading file on error 2023-01-16 22:07:00 +02:00
Jamie Cameron
c80eb8b6ae Limit files in source-directory to same pattern debian uses 2023-01-16 11:01:20 -08:00
Jamie Cameron
e43fbfdaa5 Stop doing expensive package re-fetch on upgrade https://forum.virtualmin.com/t/updates-webmin-virtualmin-hangs-for-a-long-time/118662 2023-01-16 10:56:12 -08:00
Jamie Cameron
55553c43a1 Merge branch 'master' of github.com:webmin/webmin 2023-01-16 10:54:03 -08:00
Jamie Cameron
a035e2f6c5 Allow postinstall scripts to know when webmin is being upgraded 2023-01-16 10:53:54 -08:00
iliajie
cee528f46c Fix missing module reference as requesting Let's Encrypt certificate 2023-01-16 20:51:44 +02:00
Jamie Cameron
2406f19084 Everything is really on webmin.com 2023-01-16 10:38:58 -08:00
Jamie Cameron
3bdc75bb15 Track files already included to avoid include loops 2023-01-15 16:48:56 -08:00
Jamie Cameron
4fcb99b89a source-directory may refer to a directory, not a pattern 2023-01-15 16:45:02 -08:00
iliajie
335136be14 Fix the loop bug when sourcing other configs ; remove stderr print 2023-01-16 00:22:22 +02:00
iliajie
e88ae050a9 Fix to remove unnecessary copyright from the header 2023-01-12 20:36:38 +02:00
Jamie Cameron
43bf4bbc15 Set the correct algorithm when setting up rndc https://github.com/webmin/webmin/issues/1817 2023-01-11 19:08:06 -08:00
Jamie Cameron
6451f4b115 Store and show default TTL set by $ttl https://github.com/webmin/webmin/issues/1816 2023-01-10 22:23:36 -08:00
iliajie
f6b8cc6302 Update CHANGELOG.md (2.011) 2023-01-10 18:11:43 +02:00
Jamie Cameron
f2209fb633 Also respect epoch when checking version 2023-01-09 23:46:20 -08:00
Jamie Cameron
1879848d11 Remove spacer 2023-01-09 23:29:44 -08:00
Jamie Cameron
aaf7b9f24b Changelog for new version 2023-01-09 21:46:50 -08:00
Jamie Cameron
451a7e2e6a New version bump 2023-01-09 21:41:20 -08:00
iliajie
509141f5d5 Fix mailbox_idle_check_interval bugs
https://sourceforge.net/p/webadmin/bugs/5602/
2023-01-09 18:27:57 +02:00
iliajie
52c06534db Fix to drop remove mailbox_check_interval option 2023-01-09 18:23:06 +02:00
iliajie
29ef2d5f33 Fix to keep original copyright year 2023-01-09 00:36:20 +02:00
Jamie Cameron
1febfdbe0f Add option to insert a new map entry before an existing one 2023-01-08 12:45:25 -08:00
Jamie Cameron
277f67dac9 Fix line length 2023-01-07 22:07:27 -08:00
Jamie Cameron
d199de8469 Add a param to create a new block before an existing one 2023-01-07 22:07:01 -08:00
iliajie
1f7753db43 Update copyright year in webmin sub-commands 2023-01-08 04:20:37 +02:00
iliajie
c02b2cdbea Update copyright year in webmin command 2023-01-08 04:16:38 +02:00
iliajie
8fabb28e7a Fix to start with one for each type as adding now works 2023-01-08 01:48:15 +02:00
iliajie
4117119c44 Fix to support multiple attr 2023-01-08 01:41:45 +02:00
iliajie
2584bc05cf Merge remote-tracking branch 'origin/master' 2023-01-08 00:48:07 +02:00
iliajie
72ecf54a17 Fix JavaScript id ref bug 2023-01-08 00:47:53 +02:00
Jamie Cameron
a0f2527ed0 Merge branch 'master' of github.com:webmin/webmin 2023-01-07 12:57:33 -08:00
Jamie Cameron
343307f703 localhost isn't a valid hostname 2023-01-07 12:57:09 -08:00
iliajie
d4f541015d Fix to drop useless code 2023-01-07 21:48:55 +02:00
iliajie
e92763e3d7 Fix to refer to direct child 2023-01-07 21:24:46 +02:00
iliajie
b0eb96d003 Fix to prevent forcing using tables in tabs (fix widths) 2023-01-07 20:58:44 +02:00
iliajie
5c26bf4de3 Fix to prevent forcing using tables in tabs 2023-01-07 19:59:10 +02:00
iliajie
374e5bf07c Fix to print strong instad of b which is used for header generation 2023-01-05 23:07:16 +02:00
Jamie Cameron
ca814a4e6f If we get an ERROR output when executing an SQL file, consider it failed even if the exit status is zero 2023-01-03 18:25:50 -08:00
Jamie Cameron
9b2fc2c9f4 When moving a maildir, also move any Maildir++ sub-folders 2023-01-02 18:26:14 -08:00
Jamie Cameron
ca6acb4a8c Don't error out if deleting an LDAP object that's already been deleted 2022-12-29 21:23:46 -08:00
Jamie Cameron
4dd017dce4 Merge branch 'master' of github.com:webmin/webmin 2022-12-28 21:57:38 -08:00
Jamie Cameron
562eb544e5 Don't fail user or group deletion if they have already been deleted https://github.com/virtualmin/virtualmin-gpl/issues/493 2022-12-28 21:37:45 -08:00
iliajie
65668c084f Merge remote-tracking branch 'origin/master' 2022-12-28 21:06:51 +02:00
iliajie
111aa65b8f Fix to update to the latest Xterm.js 5.1.0 2022-12-28 21:06:20 +02:00
Jamie Cameron
52926dcb65 Merge branch 'master' of github.com:webmin/webmin 2022-12-26 18:26:09 -08:00
Jamie Cameron
9fa99120ef Add support for resolve_dequoted_address 2022-12-26 18:26:01 -08:00
Jamie Cameron
ab94e020e0 Merge pull request #1812 from webmin/dev/fix-anonimous-user-test
Fix to test if anonymous user actually exists
2022-12-26 17:50:45 -08:00
iliajie
29354389f4 Fix to test if anonymous user actually exists 2022-12-26 12:51:10 +02:00
iliajie
c3bd222492 Fix wording 2022-12-26 12:22:20 +02:00
Jamie Cameron
459a5ee6b8 Fix bug in granting anonymous access if the anonymous user doesn't exist yet 2022-12-23 15:49:53 -08:00
iliajie
623fcc23d9 Fix to load images always from source host 2022-12-21 14:36:51 +02:00
iliajie
9d37f0d9e6 Fix to also check if session keys are set 2022-12-20 20:28:53 +02:00
Jamie Cameron
5fde216573 Merge branch 'master' of github.com:webmin/webmin 2022-12-18 21:54:20 -08:00
Jamie Cameron
4bd9c59038 Freeze and thaw dynamic reverse zones when updating a forward record https://github.com/webmin/webmin/issues/1810 2022-12-18 21:50:26 -08:00
iliajie
8c299b60ff Fix theme support in a single mode 2022-12-18 19:17:46 +02:00
iliajie
ad7967f3b5 Fix uninitialized warning 2022-12-18 19:07:21 +02:00
Jamie Cameron
e080fb3470 Zone type might be in upper case https://sourceforge.net/p/webadmin/bugs/5600/ 2022-12-17 23:17:55 -08:00
iliajie
62fccc4e0d Fix to nowrap virtual server select and submit button 2022-12-16 20:10:11 +02:00
iliajie
b0fc89f487 Fix release note links for Rocky 2022-12-16 20:08:27 +02:00
iliajie
a965b41cce Fix HTML arrow in accordions in Safari 2022-12-16 17:59:17 +02:00
iliajie
0bbb255a88 Fix adding in alerts (more) 2022-12-16 17:57:48 +02:00
iliajie
57b9e4ca3f Fix to smaller arrow size 2022-12-16 17:37:09 +02:00
iliajie
dbb691a7c4 Fix to always print table row even if empty #1809 2022-12-16 17:29:02 +02:00
iliajie
cf61a472f5 Fix padding in alerts 2022-12-16 17:17:22 +02:00
Jamie Cameron
2a31af4870 When moving a Maildir folder, only move the cur/new/tmp dirs because there might be other sub-folders or files 2022-12-14 14:00:13 -08:00
Jamie Cameron
54044b78ef RC4 isn't strong enough anymore https://sourceforge.net/p/webadmin/bugs/5599/ 2022-12-14 11:38:01 -08:00
Jamie Cameron
726d28d807 Verify long-running websockets sessions in miniserv 2022-12-14 11:18:28 -08:00
iliajie
8db65344d5 Fix to rename framed theme ; fix version and deps 2022-12-11 20:07:21 +02:00
iliajie
cb6ad018cf Fix support for Usermin 2022-12-11 19:55:11 +02:00
iliajie
00bf2dd153 Fix arrow color in accordions 2022-12-11 19:03:18 +02:00
iliajie
b54bd7f21e Fix switches color 2022-12-11 18:57:47 +02:00
iliajie
6829c94257 Add favicons to Framed Theme 2022-12-11 18:56:18 +02:00
iliajie
095288d661 Fix to add more space for switches in two mode 2022-12-11 16:48:48 +02:00
iliajie
3ea461d70c Fix Cloudmin mode 2022-12-11 16:46:51 +02:00
iliajie
5058e9c752 Add a new SVG icons to the navigation menu 2022-12-10 21:37:15 +02:00
iliajie
590ce839ae Add logos to the dashboard depending on the product 2022-12-10 21:36:40 +02:00
iliajie
e18e20605a Fix to use HTML collapse in hidden_start and hidden_end 2022-12-10 18:45:47 +02:00
iliajie
e38b923430 Fix to add borders to alerts in Gray theme 2022-12-10 16:57:03 +02:00
iliajie
06d429af32 Fix to switch to using HTML only menu accordion https://github.com/webmin/webmin/issues/1802#issuecomment-1343254856
.. to support browsers with disabled JavaScript
2022-12-10 15:58:55 +02:00
iliajie
f300bd7f5b Add support for more options in unit section in systemd 2022-12-10 15:14:00 +02:00
Jamie Cameron
50df0e4d02 Fix merge 2022-12-08 21:58:43 -08:00
Jamie Cameron
c6a4a80e58 Set USER variable properly for jk_chrootsh 2022-12-08 21:57:39 -08:00
Jamie Cameron
bb75d7fa7b ui-lib conversion 2022-12-05 23:24:44 -08:00
Jamie Cameron
ce43b53e5c ui-lib conversion 2022-12-05 23:20:23 -08:00
Jamie Cameron
aaee5bedac Merge pull request #1805 from webmin/dev/set-xterm-improvements2
Add support to set TERM variable and shell character encoding
2022-12-05 09:58:19 -08:00
iliajie
edcf8841ab Fix to set config option directly 2022-12-05 19:50:54 +02:00
Jamie Cameron
5275505ba0 Merge pull request #1807 from webmin/dev/add-new-libroot-env-var
Fix to set a new `LIBROOT` environmental variable
2022-12-05 09:36:58 -08:00
iliajie
a9349c7fe5 Add new LIBROOT env var 2022-12-05 19:03:10 +02:00
Ilia
9f0d9a967b Merge pull request #1806 from Divarion-D/patch-1
Update ru
2022-12-05 17:06:38 +02:00
iliajie
5f6f65a78f Fix to use PERLLIB as DOCUMENT_ROOT never set at a time 2022-12-05 17:03:51 +02:00
Danil
bb15603724 Merge pull request #2 from Divarion-D/patch-2
Update ru.auto
2022-12-05 15:21:48 +03:00
Danil
84c92c4da2 Update ru.auto 2022-12-05 15:16:37 +03:00
Danil
e51e3a8d42 Update ru 2022-12-05 11:41:25 +03:00
iliajie
d336f5a15b Fix to add colors to ip command in module default mode 2022-12-05 02:59:42 +02:00
iliajie
6c297057d3 Add support to set shell character encoding 2022-12-05 02:16:18 +02:00
iliajie
1531b18566 Add support to set TERM variable 2022-12-05 01:40:18 +02:00
Jamie Cameron
be9b67de40 Fix editing and creation of IPv6 addresses 2022-12-03 22:07:02 -08:00
Jamie Cameron
a80df4be5c Merge branch 'master' of github.com:webmin/webmin 2022-12-03 21:47:07 -08:00
Jamie Cameron
b05a55e8c2 Complete support for editing interfaces in include files 2022-12-03 21:46:25 -08:00
iliajie
f1a434b65a Fix to always set vendor_perl if perllib config option is set
https://sourceforge.net/p/webadmin/bugs/5595/
2022-12-02 00:22:43 +02:00
iliajie
543b87c9e7 Fix signature verified message padding 2022-12-01 21:53:15 +02:00
iliajie
fa16dc06d1 Fix language strings on Webmin update 2022-12-01 21:22:04 +02:00
iliajie
1aa0d9b812 Fix a bug when there is no output on RPM upgrades 2022-12-01 20:23:38 +02:00
iliajie
6269c24f03 Fix to check deeper for potentially missing dependencies 2022-12-01 19:31:55 +02:00
iliajie
cf4ebf0bfe Fix WebSocket protocol to be conditional 2022-12-01 15:04:59 +02:00
iliajie
2f21d0b067 Fix to call setup_ssl_contexts conditionally 2022-12-01 14:42:20 +02:00
iliajie
bf19dc1119 Fix to actually print loaded file timestamp 2022-12-01 14:17:51 +02:00
Jamie Cameron
40091463ee Use correct extension for package file https://github.com/webmin/authentic-theme/issues/1633 2022-11-27 20:24:21 -08:00
BRESTAN Rainer
fad1201240 Allow multiple LDAP server for userdb 2019-11-18 18:44:55 +01:00
2027 changed files with 27517 additions and 4676 deletions

221
.github/build/deb.sh vendored Executable file
View File

@@ -0,0 +1,221 @@
#!/usr/bin/env bash
#
# Copyright @iliajie <ilia@webmin.dev>
#
# Automatically builds and updates a repo metadata.
# Pulls latest changes from GitHub, detects release
# version based on what's available in the repo
#
# (Debian)
#
# Usage:
#
# # Pull and build production versions
# # of both Webmin and Usermin
# ./deb.sh
#
# # Pull and build devel versions
# # of both Webmin and Usermin
# ./deb.sh --devel
#
# # Pull and build production Webmin version 2.101, forcing
# # release version 3, displaying detailed output
# ./deb.sh webmin 2.101 3 --debug
#
# # Pull and build production Usermin version 2.000,
# # automatically setting release version to minimal
# ./deb.sh usermin 2.000
#
# shellcheck disable=SC1091
# Source build variables
source ./vars.sh || exit 1
# Source build init
source ./init.sh || exit 1
# Source general build functions
source ./funcs.sh || exit 1
# Build product func
build_prod() {
# Pack with English only in devel builds
local english_only=0
if [[ "'$*'" == *"--devel"* ]]; then
english_only=1
fi
# Always return back to root directory
cd "$root" || exit 1
# Define root
local ver=""
local prod=$1
root_prod="$root/$prod"
root_apt="$root_prod/deb"
# Print build actual date
date=$(get_current_date)
# Print opening header
echo "************************************************************************"
echo " build start date: $date "
echo " package format: DEB "
echo " product: $prod "
(make_prod_repos "$root_prod") &
spinner " package output version:"
# Pull main project first to get the latest tag
cd "$root_prod" || exit 1
cmd="git pull $verbosity_level"
eval "$cmd"
rs1=$?
# Clean and try again
if [ "$rs1" != "0" ]; then
cmd="git checkout \"*\" $verbosity_level && git clean -f -d $verbosity_level && git pull $verbosity_level"
eval "$cmd"
rs1=$?
fi
# Descend to theme dir
cd "authentic-theme" || exit 1
cmd="git pull $verbosity_level"
eval "$cmd"
rs2=$?
# Clean and try again
if [ "$rs2" != "0" ]; then
cmd="git checkout \"*\" $verbosity_level && git clean -f -d $verbosity_level && git pull $verbosity_level"
eval "$cmd"
rs2=$?
fi
if [ "$rs1" != "0" ] || [ "$rs2" != "0" ]; then
rs=1
else
rs=0
fi
# Build number
date_version=$(get_latest_commit_date_version)
# Handle other params
cd "$root_prod" || exit 1
if [[ "'$2'" != *"--"* ]]; then
ver=$2
fi
if [[ "'$3'" != *"--"* ]] && [[ -n "$3" ]]; then
rel=$3
relval="-$3"
else
rel=1
relval=""
fi
if [ -z "$ver" ]; then
ver=$(get_current_repo_tag)
fi
if [[ "'$*'" == *"--devel"* ]]; then
ver="$ver.$date_version"
# Set actual product version
echo "${ver}" >"version"
fi
printf "$ver-$rel\n"
echo "************************************************************************"
echo "Pulling latest changes.."
# We need to pull first to get the latest tag,
# so here we only report an error if any
postcmd $rs
echo
echo "Pre-clean up .."
# Make sure directories exist
make_dir "$root_repos/"
make_dir "$root_apt/"
make_dir "$root_prod/newkey/deb/"
make_dir "$root_prod/umodules/"
make_dir "$root_prod/minimal/"
make_dir "$root_prod/tarballs/"
# Re-create legacy link
rm -rf "$root/webadmin"
ln -s "$root/webmin" "$root/webadmin"
# Purge old files
purge_dir "$root_prod/newkey/deb"
purge_dir "$root_prod/umodules"
purge_dir "$root_prod/minimal"
purge_dir "$root_prod/tarballs"
if [ "$prod" != "" ]; then
# XXXX Need to check for
# product name exactly
rm -f "$root_repos/$prod-latest"*
fi
postcmd $?
echo
# Descend to project dir
cd "$root_prod" || exit 1
if [ "$english_only" = "1" ]; then
echo "Cleaning languages .."
cmd="./bin/language-manager --mode=clean --yes $verbosity_level_with_input"
eval "$cmd"
postcmd $?
echo
else
# Force restore build directory
if [ ! -f "lang/ja" ]; then
echo "Restoring languages .."
cmd="git checkout \"*\" $verbosity_level && git clean -f -d $verbosity_level && git pull $verbosity_level"
eval "$cmd"
postcmd $?
echo
fi
fi
echo "Pre-building package .."
eval "$cmd"
cmd="./makedist.pl \"${ver}${relval}\" $verbosity_level"
eval "$cmd"
postcmd $?
echo
echo "Building package .."
if [ "$relval" == "" ]; then
cmd="./makedebian.pl \"$ver\" $verbosity_level"
else
cmd="./makedebian.pl \"$ver\" \"$rel\" $verbosity_level"
fi
eval "$cmd"
postcmd $?
echo
cd "$root" || exit 1
echo "Preparing built files for upload .."
cmd="cp -f $root_prod/tarballs/${prod}-${ver}*\.tar.gz $root_repos/${prod}-latest.tar.gz $verbosity_level"
eval "$cmd"
cmd="echo $ver-$rel \($date\) > $root_repos/${prod}-latest.version $verbosity_level_to_file"
eval "$cmd"
cmd="find $root_apt -name ${prod}_${ver}${relval}*\.deb -exec mv '{}' $root_repos \; $verbosity_level"
eval "$cmd"
cmd="mv -f $root_repos/${prod}_${ver}${relval}*\.deb $root_repos/${prod}-latest.deb $verbosity_level"
eval "$cmd"
postcmd $?
}
if [ -n "$1" ] && [[ "'$1'" != *"--"* ]]; then
build_prod $@
cloud_upload_list_upload=("$root_repos/$1*")
cloud_upload cloud_upload_list_upload
cloud_repo_sign_and_update
else
build_prod webmin $@
build_prod usermin $@
cloud_upload_list_upload=("$root_repos/*")
cloud_upload cloud_upload_list_upload
cloud_repo_sign_and_update
fi

163
.github/build/funcs.sh vendored Executable file
View File

@@ -0,0 +1,163 @@
#!/usr/bin/env bash
#
# Copyright @iliajie <ilia@webmin.dev>
#
# General build functions
#
#
# Upload to cloud
# Usage:
# cloud_upload_list_delete=("$cloud_upload_ssh_dir/repodata")
# cloud_upload_list_upload=("$root_repos/*" "$root_repos/repodata")
# cloud_upload cloud_upload_list_upload cloud_upload_list_delete
cloud_upload() {
# Print new block only if definded
local ssh_args="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
if [ -n "$1" ]; then
echo
fi
# Delete files on remote if needed
if [ -n "$2" ]; then
echo "Deleting given files in $cloud_upload_ssh_host .."
local -n arr_del=$2
local err=0
for d in "${arr_del[@]}"; do
if [ -n "$d" ]; then
local cmd1="ssh $ssh_args $cloud_upload_ssh_user@$cloud_upload_ssh_host \"rm -rf $d\" $verbosity_level"
eval "$cmd1"
if [ "$?" != "0" ]; then
err=1
fi
fi
done
postcmd $err
echo
fi
# Upload files to remote
if [ -n "$1" ]; then
echo "Uploading built files to $cloud_upload_ssh_host .."
local -n arr_upl=$1
local err=0
for u in "${arr_upl[@]}"; do
if [ -n "$u" ]; then
local cmd2="scp $ssh_args -r $u $cloud_upload_ssh_user@$cloud_upload_ssh_host:$cloud_upload_ssh_dir/ $verbosity_level"
eval "$cmd2"
if [ "$?" != "0" ]; then
err=1
fi
fi
done
postcmd $err
echo
fi
}
# Sign and update repos metadata in remote
cloud_repo_sign_and_update() {
echo "Signing and updating repos metadata in $cloud_upload_ssh_host .."
local ssh_args="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
local remote_cmd="cd ~/.scripts && ./update-repo-packages-signature.bash $cloud_upload_gpg_passphrase"
local cmd1="ssh $ssh_args $cloud_upload_ssh_user@$cloud_upload_ssh_host \"$remote_cmd\" $verbosity_level"
eval "$cmd1"
postcmd $?
echo
}
# Post command func
postcmd() {
if [ "$1" != "0" ]; then
echo ".. failed"
exit 1
else
echo ".. done"
fi
}
# Get max number from array
max() {
local -n arr_nums=$1
IFS=$'\n'
echo "${arr_nums[*]}" | sort -nr | head -n1
}
# Mkdir and children dirs
make_dir() {
if [ ! -d "$1" ]; then
mkdir -p "$1"
fi
}
# Remove all content in dir
purge_dir() {
for file in "$1"/*; do
rm -rf "$file"
done
}
# Get latest tag version
get_current_repo_tag() {
cd "$root_prod" || exit 1
tg=$(git rev-list --tags --max-count=1)
ds=$(git describe --tags "$tg")
echo "$ds" | sed 's/v//'
}
# Get latest commit date
get_current_date() {
echo $(date +'%Y-%m-%d %H:%M:%S %z')
}
# Get latest commit date version
get_latest_commit_date_version() {
local theme_version
local prod_version
local max_prod
local highest_version
theme_version=$(git log -n1 --pretty='format:%cd' --date=format:'%Y%m%d%H%M')
cd "$root_prod" || exit 1
prod_version=$(git log -n1 --pretty='format:%cd' --date=format:'%Y%m%d%H%M')
max_prod=("$theme_version" "$prod_version")
highest_version=$(max max_prod)
echo "$highest_version"
}
# Pull project repo and theme
make_prod_repos() {
# Webmin or Usermin
if [ ! -d "$1" ]; then
local repo="webmin/$prod.git"
cmd="git clone https://github.com/$repo $verbosity_level"
eval "$cmd"
if [ ! -d "webmin" ]; then
cmd="git clone --depth 1 https://github.com/webmin/webmin $verbosity_level"
eval "$cmd"
fi
fi
# Theme
theme="authentic-theme"
if [ ! -d "$1/$theme" ]; then
cd "$1" || exit 1
local repo="webmin/$theme.git"
cmd="git clone --depth 1 https://github.com/$repo $verbosity_level"
eval "$cmd"
fi
}
spinner() {
local msg=$1
local pid=$!
local spin='-\|/'
local i=0
printf "$msg "
while kill -0 $pid 2>/dev/null; do
(( i = (i + 1) % 4 ))
# No spinner if not an interactive shell
if [ -n "$PS1" ]; then
printf '%c\b' "${spin:i:1}"
fi
sleep .1
done
}

29
.github/build/init.sh vendored Normal file
View File

@@ -0,0 +1,29 @@
#!/usr/bin/env bash
#
# Copyright @iliajie <ilia@webmin.dev>
#
# Build init
#
#
# Set up SSH dev keys
if [ -n "$WEBMIN_DEV__SSH_PRV_KEY" ] && [ -n "$WEBMIN_DEV__SSH_PUB_KEY" ]; then
# Generate new pair with right permissions
cmd="ssh-keygen -t rsa -q -f \"$HOME/.ssh/id_rsa\" -N \"\"$verbosity_level"
eval "$cmd"
# Import SSH keys from secrets to be able to connect to the remote host
echo "$WEBMIN_DEV__SSH_PRV_KEY" > "$HOME/.ssh/id_rsa"
echo "$WEBMIN_DEV__SSH_PUB_KEY" > "$HOME/.ssh/id_rsa.pub"
# Set up SSH production keys
elif [ -n "$WEBMIN_PROD__SSH_PRV_KEY" ] && [ -n "$WEBMIN_PROD__SSH_PUB_KEY" ]; then
# Generate new pair with right permissions
cmd="ssh-keygen -t rsa -q -f \"$HOME/.ssh/id_rsa\" -N \"\"$verbosity_level"
eval "$cmd"
# Import SSH keys from secrets to be able to connect to the remote host
echo "$WEBMIN_PROD__SSH_PRV_KEY" > "$HOME/.ssh/id_rsa"
echo "$WEBMIN_PROD__SSH_PUB_KEY" > "$HOME/.ssh/id_rsa.pub"
fi
# Create symlink to Perl
ln -fs /usr/bin/perl /usr/local/bin/perl

243
.github/build/rpm.sh vendored Executable file
View File

@@ -0,0 +1,243 @@
#!/usr/bin/env bash
#
# Copyright @iliajie <ilia@webmin.dev>
#
# Automatically builds and updates a repo metadata.
# Pulls latest changes from GitHub, detects release
# version based on what's available in the repo
#
# (RHEL)
#
# Usage:
#
# # Pull and build production versions
# # of both Webmin and Usermin
# ./rpm.sh
#
# # Pull and build devel versions
# # of both Webmin and Usermin
# ./rpm.sh --devel
#
# # Pull and build production Webmin version 2.101, forcing
# # release version 3, displaying detailed output
# ./rpm.sh webmin 2.101 3 --debug
#
# # Pull and build production Usermin version 2.000,
# # automatically setting release version to minimal
# ./rpm.sh usermin 2.000
#
# shellcheck disable=SC1091
# Source build variables
source ./vars.sh || exit 1
# Source build init
source ./init.sh || exit 1
# Source general build functions
source ./funcs.sh || exit 1
# Build product func
build_prod() {
# Pack with English only in devel builds
local english_only=0
if [[ "'$*'" == *"--devel"* ]]; then
english_only=1
fi
# Always return back to root directory
cd "$root" || exit 1
# Define root
local ver=""
local prod=$1
root_prod="$root/$prod"
# Print build actual date
date=$(get_current_date)
# Print opening header
echo "************************************************************************"
echo " build start date: $date "
echo " package format: RPM "
echo " product: $prod "
(make_prod_repos "$root_prod") &
spinner " package output version:"
# Pull main project first to get the latest tag
cd "$root_prod" || exit 1
cmd="git pull $verbosity_level"
eval "$cmd"
rs1=$?
# Clean and try again
if [ "$rs1" != "0" ]; then
cmd="git checkout \"*\" $verbosity_level && git clean -f -d $verbosity_level && git pull $verbosity_level"
eval "$cmd"
rs1=$?
fi
# Pull theme to theme dir
cd "authentic-theme" || exit 1
cmd="git pull $verbosity_level"
eval "$cmd"
rs2=$?
# Clean and try again
if [ "$rs2" != "0" ]; then
cmd="git checkout \"*\" $verbosity_level && git clean -f -d $verbosity_level && git pull $verbosity_level"
eval "$cmd"
rs2=$?
fi
if [ "$rs1" != "0" ] || [ "$rs2" != "0" ]; then
rs=1
else
rs=0
fi
# Build number
date_version=$(get_latest_commit_date_version)
# Handle other params
cd "$root_prod" || exit 1
if [[ "'$2'" != *"--"* ]]; then
ver=$2
fi
if [[ "'$3'" != *"--"* ]] && [[ -n "$3" ]]; then
rel=$3
else
rel=1
fi
if [ -z "$ver" ]; then
ver=$(get_current_repo_tag)
fi
if [[ "'$*'" == *"--devel"* ]]; then
ver="$ver.$date_version"
# Set actual product version
echo "${ver}" >"version"
fi
printf "$ver-$rel\n"
echo "************************************************************************"
echo "Pulling latest changes.."
# We need to pull first to get the latest tag,
# so here we only report an error if any
postcmd $rs
echo
echo "Pre-clean up .."
# Make sure directories exist
make_dir "$root_prod/newkey/rpm/"
make_dir "$root_prod/umodules/"
make_dir "$root_prod/minimal/"
make_dir "$root_prod/tarballs/"
make_dir "$root_build/BUILD/"
make_dir "$root_build/BUILDROOT/"
make_dir "$root_build/RPMS/"
make_dir "$root_build/SOURCES/"
make_dir "$root_build/SPECS/"
make_dir "$root_build/SRPMS/"
make_dir "$root_repos/"
# Re-create legacy link
rm -rf "$root/webadmin"
ln -s "$root/webmin" "$root/webadmin"
# Purge old files
purge_dir "$root_prod/newkey/rpm"
purge_dir "$root_prod/umodules"
purge_dir "$root_prod/minimal"
purge_dir "$root_prod/tarballs"
purge_dir "$root_build/BUILD"
purge_dir "$root_build/BUILDROOT"
purge_dir "$root_build/RPMS"
purge_dir "$root_build/SOURCES"
purge_dir "$root_build/SPECS"
purge_dir "$root_build/SRPMS"
rm -rf "$root_repos/repodata"
if [ "$prod" != "" ]; then
# XXXX Need to check for
# product name exactly
rm -f "$root_repos/$prod-latest"*
fi
postcmd $?
make_dir "$root_build/RPMS/noarch"
echo
# Descend to project dir
cd "$root_prod" || exit 1
if [ "$english_only" = "1" ]; then
echo "Cleaning languages .."
cmd="./bin/language-manager --mode=clean --yes $verbosity_level_with_input"
eval "$cmd"
postcmd $?
echo
else
# Force restore build directory
if [ ! -f "lang/ja" ]; then
echo "Restoring languages .."
cmd="git checkout \"*\" $verbosity_level && git clean -f -d $verbosity_level && git pull $verbosity_level"
eval "$cmd"
postcmd $?
echo
fi
fi
echo "Pre-building package .."
eval "$cmd"
if [ "$rel" = "1" ]; then
args="$ver"
else
args="$ver-$rel"
fi
cmd="./makedist.pl \"$args\" $verbosity_level"
eval "$cmd"
postcmd $?
echo
echo "Building package .."
cmd="./makerpm.pl \"$ver\" \"$rel\" $verbosity_level"
eval "$cmd"
postcmd $?
echo
cd "$root" || exit 1
echo "Preparing built files for upload .."
cmd="cp -f $root_prod/tarballs/$prod-$ver*\.tar.gz $root_repos/${prod}-latest.tar.gz $verbosity_level"
eval "$cmd"
cmd="echo $ver-$rel \($date\) > $root_repos/$prod-latest.version"
eval "$cmd"
cmd="find $root_rpms -name $prod-$ver-$rel*\.rpm -exec mv '{}' $root_repos \; $verbosity_level"
eval "$cmd"
cmd="mv -f $root_repos/$prod-$ver-$rel*\.rpm $root_repos/${prod}-latest.rpm $verbosity_level"
eval "$cmd"
postcmd $?
echo
echo "Post-clean up .."
cd "$root_build" || exit 1
for dir in *; do
cmd="rm -rf \"$dir/*\" $verbosity_level"
eval "$cmd"
done
postcmd $?
}
if [ -n "$1" ] && [[ "'$1'" != *"--"* ]]; then
build_prod $@
cloud_upload_list_upload=("$root_repos/$1*")
cloud_upload cloud_upload_list_upload
cloud_repo_sign_and_update
else
build_prod webmin $@
build_prod usermin $@
cloud_upload_list_upload=("$root_repos/*")
cloud_upload cloud_upload_list_upload
cloud_repo_sign_and_update
fi

27
.github/build/vars.sh vendored Executable file
View File

@@ -0,0 +1,27 @@
#!/usr/bin/env bash
#
# Copyright @iliajie <ilia@webmin.dev>
#
# Build variables
#
#
# Set defaults
root="${ENV_BUILD__ROOT:-$HOME}"
root_repos="${ENV_BUILD__ROOT_REPOS:-$root/repo}"
root_build="${ENV_BUILD__ROOT_BUILD:-$root/rpmbuild}"
root_rpms="${ENV_BUILD__ROOT_RPMS:-$root_build/RPMS/noarch}"
# Cloud upload config
cloud_upload_ssh_user="${ENV_BUILD__CLOUD_UPLOAD_SSH_USER:-webmin.dev}"
cloud_upload_ssh_host="${ENV_BUILD__CLOUD_UPLOAD_SSH_HOST:-webmin.dev}"
cloud_upload_ssh_dir="${ENV_BUILD__CLOUD_UPLOAD_SSH_DIR:-~/domains/builds.webmin.dev/public_html}"
cloud_upload_gpg_passphrase="${WEBMIN_DEV__GPG_PH}"
# Define verbosity level
verbosity_level=' >/dev/null 2>&1 </dev/null'
verbosity_level_to_file='2> /dev/null'
verbosity_level_with_input=' >/dev/null 2>&1'
if [[ "'$*'" == *"--debug"* ]]; then
unset verbosity_level verbosity_level_to_file verbosity_level_with_input
fi

View File

@@ -0,0 +1,30 @@
name: "webmin.dev: Deploy Webmin package"
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-22.04
if: contains(github.event.head_commit.message, '[build]')
steps:
- uses: actions/checkout@v3
- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: git tar gzip openssl curl openssh-client rpm perl libdigest-sha-perl liblist-moreutils-perl libencode-detect-perl
version: 1.0
- uses: szenius/set-timezone@v1.2
with:
timezoneLinux: "Europe/Nicosia"
- name: Build and upload packages
env:
WEBMIN_DEV__SSH_PRV_KEY: ${{ secrets.WEBMIN_DEV__SSH_PRV_KEY }}
WEBMIN_DEV__SSH_PUB_KEY: ${{ secrets.WEBMIN_DEV__SSH_PUB_KEY }}
WEBMIN_DEV__GPG_PH: ${{ secrets.WEBMIN_DEV__GPG_PH }}
ENV_BUILD__CLOUD_UPLOAD_SSH_HOST: ${{ secrets.WEBMIN_DEV__IP_ADDR }}
working-directory: ./.github/build
run: |-
./deb.sh webmin --devel
./rpm.sh webmin --devel

View File

@@ -1,5 +1,88 @@
## Changelog
#### 2.102 (August 23, 2023)
* Add support for Amazon Linux 2023
* Fix a bug in Network Configuration module when parsing network size [sourceforge.net/discussion#55377]( https://sourceforge.net/p/webadmin/discussion/55377/thread/78e5aa05f3)
* Fix Netplan related bugs in Network Configuration module
* Fix Terminal focus bug
* Fix to correctly compare Webmin semantic versions
* Fix to suppress output from `monitor.pl` command [#1984](https://github.com/webmin/webmin/issues/1984)
#### 2.101 (August 5, 2023)
* Add support for reading gzipped email messages
* Add `error_stderr` API
* Fix to show correct locale for sudo-capable users [webmin/authentic-theme#1663](https://github.com/webmin/authentic-theme/issues/1663)
* Fix new signing key import on Debian and derivatives
* Fix to check if password hash format is valid for `yescrypt` and `SHA512`
* Fix various XSS related issues
* Fix updating Webmin from repository if a package is available
#### 2.100 (July 22, 2023)
* Add support for showing defaults for options in PHP Configuration module
* Add significant improvements to email display, reply and compose
* Add support for WebGL in the Terminal module
* Add screen reader support in Terminal module
* Add full support for NetworkManager in Network Configuration module
* Fix correctly displaying bridges with Netplan in Network Configuration module
* Fix displaying active network interfaces in Network Configuration module
* Fix to consider current drive temperature in `smartctl` output #1881
* Fix to properly stop Usermin https://github.com/webmin/usermin/issues/89
* Fix no to add hashed password to the old password list if it's already in there https://github.com/virtualmin/virtualmin-pro/issues/35
* Fix displaying placeholder on input to reflect strftime-style format
* Update the Authentic theme to the latest version adding new vertical column layout
#### 2.021 (March 19, 2023)
* Add ability to set locale in Webmin Users module for consistency
* Fix an error when `make_date` is called on undefined value #1860
* Fix clearing packages caches before checking for updates in status collection #1863
* Update the Authentic theme to the latest version
#### 2.020 (March 08, 2023)
* Add full locale support
* Add slave zone file format option in BIND DNS module
* Add support for editing ACLs in File Manager
* Add support to configure SSL connection for MySQL/MariaDB module
* Add support for compressed backups in PostgreSQL module
* Add support for displaying inodes too in Disk Usage in the Dashboard
* Add better support for CloudLinux
* Fix to always default to RSA key type in Let's Encrypt requests
* Fix setup repository script for Oracle
* Fix shutdown timeout to avoid termination of running processes
* Fix support for SpamAssassin 4
* Fix to use system default hashing format for `htpasswd` file
* Fix FastRPC issues
* Update the Authentic theme to the latest version, with sped-up Dashboard performance
#### 2.013 (January 19, 2023)
* Fix Authentic theme issue with error handling
* Fix Framed theme to respect selected mode in left menu
* Fix search bar in left menu in Framed theme
#### 2.012 (January 18, 2023)
* Fix to set the correct algorithm when setting up RNDC #1817
* Fix the loop bug when sourcing other network configs in Debian
* Fix to include all Debian network config files in backups
* Fix to stop doing expensive package re-fetch on upgrades
* Add support for defining hostname for WebSocket connection
* Add Debian 12 support
#### 2.011 (January 10, 2023)
* Add ability to set shell character encoding and set `TERM` environmental variable in the new Terminal module
* Add support for editing network interfaces in include files for Debian systems
* Add various improvements to the old good Framed Theme
* Fix to change Gray Framed Theme name to Framed Theme
* Fix to verify and close WebSocket session, if parent session was closed
* Fix to remove `RC4` from the list of strong ciphers
* Fix don't fail LDAP user or group deletion, if they have already been deleted
* Fix error handling in MySQL/MariaDB Database server module when executing SQL commands
* Fix adding an extra server attachment field and other bugs in Read User Mail module
* Fix the link to release notes for Rocky Linux
* Fix issues with freezing and thawing dynamic reverse zones in BIND DNS Server module
* Fix bugs for modules granting anonymous access
* Fix `mailbox_idle_check_interval` option related bugs in Dovecot module [sourceforge.net#5602](https://sourceforge.net/p/webadmin/bugs/5602/)
* Fix to use correct extension for package file when upgrading Webmin [webmin/authentic-theme#1633](https://github.com/webmin/authentic-theme/issues/1633)
* Update the Authentic theme to the latest version
#### 2.010 (November 27, 2022)
* Add a new Terminal module (interactive shell)
* Add a new `setup-repos.sh` script to setup Webmin repos

View File

@@ -1,18 +1,31 @@
## Contents
&nbsp;
<p align="center"><img src="https://user-images.githubusercontent.com/4426533/218263860-f7baf9d6-cb19-4ddc-86dc-ac1b7a3c3a8a.png" alt="Webmin" width="310px"></p>
&nbsp;
<p align="center"> <a href="https://webmin.com/docs/" target="_blank">Documentation</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a href="https://webmin.com/faq/" target="_blank">FAQ</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a href="https://webmin.com/security/" target="_blank">Security</a> &nbsp;&nbsp;|&nbsp;&nbsp; <a href="https://webmin.com/screenshots/" target="_blank">Screenshots</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp; <a href="https://forum.virtualmin.com/c/webmin/12" target="_blank">Forum</a> <br><br> <a href="https://webmin.com/"><img src="https://img.shields.io/badge/downloads-25M+-brightgreen.svg" alt="Downloads"></a> <a href="https://github.com/webmin/webmin/releases/"><img src="https://img.shields.io/github/release/webmin/webmin" alt="Latest release"></a> <a href="https://github.com/webmin/webmin/stargazers"><img src="https://img.shields.io/github/stars/webmin/webmin" alt="Stars"></a> <a href="https://github.com/webmin/webmin/network/members"><img src="https://img.shields.io/github/forks/webmin/webmin" alt="Members"></a> <a href="https://github.com/webmin/webmin/contributors/"><img src="https://img.shields.io/github/contributors/webmin/webmin" alt="Contributors"></a> <a href="https://github.com/webmin/webmin/issues/"><img src="https://img.shields.io/github/issues-raw/webmin/webmin" alt="Issues"></a> <a href="https://github.com/webmin/webmin/blob/master/LICENCE"><img src="https://img.shields.io/github/license/webmin/webmin" alt="License"></a> </p>
&nbsp;
---
&nbsp;
* [Changelog](https://github.com/webmin/webmin/blob/master/CHANGELOG.md)
* [About](#about)
* [Installation](#installation)[<img src="https://github.com/webmin-devel/webmin/blob/master/media/download-23x14-stable.png?raw=true" title="Stable Versions">](https://webmin.com/download.html)[<img src="https://github.com/webmin-devel/webmin/blob/master/media/download-23x14-devel.png?raw=true" title="Development Versions">](https://webmin.com/devel.html)
* [Documentation](#documentation)
* [Installation](#installation)
* [Development](#development)
* [License](#license)
* [中文版](https://github.com/webmin/webmin/blob/master/README-zh.md)
## About
**Webmin** is a web-based system administration tool for Unix-like servers, and services with over _1,000,000_ installations worldwide. Using it, it is possible to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify, and control open-source apps, such as BIND DNS Server, Apache HTTP Server, PHP, MySQL, and [many more](https://doxfer.webmin.com/Webmin/Introduction).
**Webmin** is a web-based system administration tool for Unix-like servers, and services with about _1,000,000_ yearly installations worldwide. Using it, it is possible to configure operating system internals, such as users, disk quotas, services or configuration files, as well as modify, and control open-source apps, such as BIND DNS Server, Apache HTTP Server, PHP, MySQL, and many more.
[![Quick UI overview 2021](https://user-images.githubusercontent.com/4426533/114315375-61a1c480-9b07-11eb-9aaf-4aa949a39ab7.png)](https://www.youtube.com/watch?v=daYG6O4AsEw)
<p align="center">
<a href="https://webmin.com/screenshots/#gh-light-mode-only" target="_blank">
<img width="1440" alt="Dashboard screenshot" src="https://user-images.githubusercontent.com/4426533/218264253-c08fb45a-8d75-44bf-93b3-37a2ecae3d20.png">
</a>
<a href="https://webmin.com/screenshots/#gh-dark-mode-only" target="_blank">
<img width="1440" alt="Dashboard screenshot" src="https://user-images.githubusercontent.com/4426533/218265232-31140aa6-ada1-4019-bd75-04240aeabc83.png">
</a>
</p>
Usability can be expanded by installing modules, which can be custom made. Aside from this, there are two other major projects that extend its functionality:
@@ -26,16 +39,7 @@ Webmin includes _116_ [standard modules](https://doxfer.webmin.com/Webmin/Webmin
Perl 5.10 or higher.
## Installation
Webmin can be installed in two different ways:
1. By downloading a pre-built package, available for different distributions (CentOS, Fedora, SuSE, Mandriva, Debian, Ubuntu, Solaris and [other](https://www.webmin.com/support.html)) under [latest release assets](https://github.com/webmin/webmin/releases/latest) or from our [download page](https://webmin.com/download.html);
<kbd>Note: It is highly recommended to [add repository](https://doxfer.webmin.com/Webmin/Installation) to your system for having automatic updates.</kbd>
2. By downloading, extracting [source file](https://prdownloads.sourceforge.net/webadmin/webmin-2.010.tar.gz), and running [_setup.sh_](https://www.webmin.com/tgz.html) script, with no arguments, which will setup to run it directly from this directory, or with a command-line argument, such as targeted directory.
<kbd>Note: If you are installing Webmin [on Windows](https://www.webmin.com/windows.html) system, you must run the command `perl setup.pl` instead. The Windows version depends on several programs, and modules that may not be part of the standard distribution. You will need _process.exe_ command, _sc.exe_ command, and _Win32::Daemon_ Perl module.</kbd>
## Documentation
Complete set of documentation for Webmin and all of its modules can be found at out [Wiki page](https://doxfer.webmin.com/Webmin/Main_Page).
For detailed installation instructions check our guide on [webmin.com/download](https://webmin.com/download) page.
## Development

File diff suppressed because one or more lines are too long

View File

@@ -88,6 +88,8 @@ while(my $l = <$fh>) {
$user{'modules'} = $acl{$user[0]};
$user{'lang'} = $gconfig{"lang_$user[0]"};
$user{'langauto'} = $gconfig{"langauto_$user[0]"};
$user{'locale'} = $gconfig{"locale_$user[0]"};
$user{'dateformat'} = $gconfig{"dateformat_$user[0]"};
$user{'notabs'} = $gconfig{"notabs_$user[0]"};
$user{'rbacdeny'} = $gconfig{"rbacdeny_$user[0]"};
if ($gconfig{"theme_$user[0]"}) {
@@ -702,6 +704,10 @@ else {
$gconfig{"lang_".$user->{'name'}} = $user->{'lang'} if ($user->{'lang'});
delete($gconfig{"langauto_".$username});
$gconfig{"langauto_".$user->{'name'}} = $user->{'langauto'} if (defined($user->{'langauto'}));
delete($gconfig{"locale_".$username});
$gconfig{"locale_".$user->{'name'}} = $user->{'locale'} if (defined($user->{'locale'}));
delete($gconfig{"dateformat_".$username});
$gconfig{"dateformat_".$user->{'name'}} = $user->{'dateformat'} if (defined($user->{'dateformat'}));
delete($gconfig{"notabs_".$username});
$gconfig{"notabs_".$user->{'name'}} = $user->{'notabs'}
if ($user->{'notabs'});
@@ -768,14 +774,16 @@ if ($oldpass ne $user->{'pass'} &&
my $nolock = $oldpass;
$nolock =~ s/^\!//;
$user->{'olds'} ||= [];
unshift(@{$user->{'olds'}}, $nolock);
if ($miniserv->{'pass_oldblock'}) {
while(scalar(@{$user->{'olds'}}) >
$miniserv->{'pass_oldblock'}) {
pop(@{$user->{'olds'}});
if (&indexof($nolock, @{$user->{'olds'}}) < 0) {
unshift(@{$user->{'olds'}}, $nolock);
if ($miniserv->{'pass_oldblock'}) {
while(scalar(@{$user->{'olds'}}) >
$miniserv->{'pass_oldblock'}) {
pop(@{$user->{'olds'}});
}
}
$user->{'lastchange'} = time();
}
$user->{'lastchange'} = time();
}
}
@@ -1959,16 +1967,8 @@ my $miniserv = { };
my @anon = split(/\s+/, $miniserv->{'anonymous'} || "");
my ($user, $found) = &get_anonymous_access($path, $miniserv);
return 1 if ($found >= 0); # Already setup
# Grant access to the user and path
&lock_file(&get_miniserv_config_file());
$user ||= '';
push(@anon, "$path=$user");
$miniserv->{'anonymous'} = join(" ", @anon);
&put_miniserv_config($miniserv);
&unlock_file(&get_miniserv_config_file());
if (!$user) {
my $auser = grep { $_->{'name'} eq $user } &list_users();
if (!$auser) {
# Create a user if need be
$user = "anonymous";
my $uinfo = { 'name' => $user,
@@ -1980,16 +1980,23 @@ if (!$user) {
else {
# Make sure the user has the module
my ($uinfo) = grep { $_->{'name'} eq $user } &list_users();
$uinfo->{'modules'} ||= [];
if ($uinfo && &indexof($mod, @{$uinfo->{'modules'}}) < 0) {
$uinfo->{'modules'} ||= [];
push(@{$uinfo->{'modules'}}, $mod);
&modify_user($uinfo->{'name'}, $uinfo);
}
else {
print STDERR "Anonymous access is granted to user $user, but he doesn't exist!\n";
print STDERR "Anonymous access attempted to be granted to user $user, but it doesn't exist!\n";
}
}
# Grant access to the user and path
&lock_file(&get_miniserv_config_file());
push(@anon, "$path=$user");
$miniserv->{'anonymous'} = join(" ", @anon);
&put_miniserv_config($miniserv);
&unlock_file(&get_miniserv_config_file());
&reload_miniserv();
}

View File

@@ -82,6 +82,6 @@ $o->{'gassign'} = $in{'gassign_def'} ? '*' :
sub list_acl_yesno_fields
{
return ('create', 'delete', 'rename', 'acl', 'cert', 'others', 'chcert',
'lang', 'cats', 'theme', 'ips', 'perms', 'sync', 'unix', 'sessions',
'lang', 'locale', 'cats', 'theme', 'ips', 'perms', 'sync', 'unix', 'sessions',
'switch', 'times', 'pass', 'sql');
}

View File

@@ -2,4 +2,4 @@ line1=Configurable options,11
display=User and group display mode,1,1-Names only,0-Names and modules
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
ssleay=Path to <tt>openssl</tt> or <tt>ssleay</tt> program,3,Automatic

View File

@@ -8,6 +8,7 @@ cert=1
acl=1
chcert=1
lang=1
locale=1
groups=1
gassign=*
perms=0

View File

@@ -7,7 +7,7 @@ use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
require './acl-lib.pl';
our (%in, %text, %config, %access, $config_directory, $base_remote_user, $remote_user);
our (%in, %text, %config, %gconfig, %access, $config_directory, $base_remote_user, $remote_user);
&foreign_require("webmin", "webmin-lib.pl");
&ReadParse();
@@ -204,6 +204,22 @@ if ($access{'lang'}) {
]));
}
if ($access{'locale'}) {
# Current locale
eval "use DateTime; use DateTime::Locale; use DateTime::TimeZone;";
if (!$@ && $] > 5.011) {
my $locales = &list_locales();
my %localesrev = reverse %{$locales};
my $locale_auto = &parse_accepted_language();
print &ui_table_row($text{'edit_locale'},
&ui_radio("locale_def", $user{'locale'} ? 0 : 1,
[ [ 1, $text{'default'} ],
[ 0, &ui_select("locale", $user{'locale'} || $gconfig{'locale'} || &get_default_system_locale(),
[ map { [ $localesrev{$_}, $_ ] } sort values %{$locales} ]) ] ]),
undef, [ "valign=middle","valign=middle" ]);
}
}
if ($access{'cats'}) {
# Show categorized modules?
print &ui_table_row($text{'edit_notabs'},

View File

@@ -57,6 +57,7 @@ edit_twofactorcancel=Verwyder tweefaktor-verifikasievereiste
edit_twofactornone=Nog geen opstelling nie
edit_twofactoradd=Aktiveer tweefaktor vir gebruiker
edit_lang=Taal
edit_locale=Lokaal
edit_notabs=Kategoriseer modules?
edit_logout=Uitlogtyd vir onaktiwiteit
edit_mins=minute
@@ -197,6 +198,7 @@ acl_delete=Kan gebruikers verwyder?
acl_rename=Kan gebruikers hernoem word?
acl_acl=Kan die module toegangsbeheer beheer?
acl_lang=Kan taal verander?
acl_locale=Kan jy van plek verander?
acl_chcert=Kan SSL-sertifikaatnaam verander?
acl_euser=U mag nie die ACL vir hierdie gebruiker wysig nie
acl_egroup=U mag nie ACL's vir groepe wysig nie

View File

@@ -27,6 +27,7 @@ edit_twofactorcancel=إزالة متطلبات المصادقة ثنائية
edit_twofactornone=لا شيء الإعداد بعد
edit_twofactoradd=تمكين عامل اثنين للمستخدم
edit_lang=لغة
edit_locale=لغة
edit_notabs=تصنيف الوحدات؟
edit_logout=وقت تسجيل الخمول
edit_mins=الدقائق
@@ -123,6 +124,8 @@ cert_msg=يسمح لك هذا النموذج بطلب شهادة عميل SSL و
cert_ou=قسم
cert_ekey=لم يقدم متصفحك مفتاح SSL جديدًا - ربما لا يدعم شهادات عميل SSL.
acl_locale=يمكن تغيير اللغة؟
log_modify=Modified Webmin user $1
log_rename=Renamed Webmin user $1 to $2
log_create=Created Webmin user $1

View File

@@ -57,6 +57,7 @@ edit_twofactorcancel=Выдаліце двухфакторную аўтэнты
edit_twofactornone=Пакуль няма налад
edit_twofactoradd=Уключыць для карыстальніка два фактары
edit_lang=Мова
edit_locale=Лакаль
edit_notabs=Класіфікаваць модулі?
edit_logout=Час выхаду з рэжыму бяздзейнасці
edit_mins=хвілін
@@ -197,6 +198,7 @@ acl_delete=Ці можна выдаляць карыстальнікаў?
acl_rename=Ці можаце перайменаваць карыстальнікаў?
acl_acl=Ці можна рэдагаваць кантроль доступу модуля?
acl_lang=Ці можна змяніць мову?
acl_locale=Ці можна змяніць лакаль?
acl_chcert=Ці можна змяніць імя сертыфіката SSL?
acl_euser=Вам нельга рэдагаваць ACL для гэтага карыстальніка
acl_egroup=Вам не дазволена рэдагаваць групавыя ACL

View File

@@ -1,6 +1,7 @@
index_screate=Създайте нов безопасен потребител.
edit_title3=Създайте безопасен потребител на Webmin
edit_locale=локал
edit_safe=Ниво на привилегии
edit_safe0=неограничен
edit_safe1=Само безопасни модули
@@ -8,6 +9,8 @@ edit_unsafe=Нулиране до неограничено
save_eunixname=Потребителското име '$1' не е потребител на Unix и затова не може да се използва в безопасен режим
acl_locale=Може ли да промени локала?
sync_modify=Преименувайте съответстващия потребител на Webmin, когато потребител на Unix е преименуван.
sessions_all=Всички сесии..

View File

@@ -1,6 +1,7 @@
index_screate=Creeu un nou usuari segur.
edit_title3=Creeu un usuari Webmin segur
edit_locale=Localització
edit_safe=Nivell de privilegi
edit_safe0=Sense restriccions
edit_safe1=Només mòduls segurs
@@ -8,6 +9,8 @@ edit_unsafe=Restableix-lo a sense restriccions
save_eunixname=El nom d'usuari '$1' no és un usuari Unix, per la qual cosa no es pot utilitzar en mode segur
acl_locale=Es pot canviar la configuració regional?
sync_modify=Canvieu el nom de l'usuari Webmin coincident quan es canvia el nom d'un usuari Unix.
sessions_all=Totes les sessions..

View File

@@ -10,6 +10,7 @@ edit_twofactorprov=Použití poskytovatele $1 s ID $2
edit_twofactorcancel=Odstraňte požadavek na dvoufaktorovou autentizaci
edit_twofactornone=Zatím žádné nastavení
edit_twofactoradd=Povolit pro uživatele dvoufaktor
edit_locale=Národní prostředí
edit_nochange=Vynutit dny změny hesla?
edit_egone=Vybraný uživatel již neexistuje!
edit_overlay=Překrytí osobního motivu
@@ -34,6 +35,7 @@ delete_eanonuser=Tento uživatel je používán pro anonymní přístup k modulu
cert_etempdir=Neplatný soubor certifikátu
acl_locale=Lze změnit národní prostředí?
acl_pass=Lze změnit omezení hesla?
acl_sql=Lze konfigurovat databázi uživatelů a skupin?

View File

@@ -1,6 +1,7 @@
index_screate=Opret en ny sikker bruger.
edit_title3=Opret sikker webmin-bruger
edit_locale=Lokalitet
edit_safe=Privilegieniveau
edit_safe0=Ubegrænset
edit_safe1=Kun sikre moduler
@@ -8,6 +9,8 @@ edit_unsafe=Nulstil til ubegrænset
save_eunixname=Brugernavnet '$1' er ikke en Unix-bruger, og kan derfor ikke bruges i sikker tilstand
acl_locale=Kan du ændre lokalitet?
sync_modify=Omdøb den matchende Webmin-bruger, når en Unix-bruger omdøbes.
sessions_all=Alle sessioner..

View File

@@ -1,3 +1,7 @@
edit_locale=Gebietsschema
acl_locale=Kann das Gebietsschema ändern?
sync_modify=Benennen Sie den passenden Webmin-Benutzer um, wenn ein Unix-Benutzer umbenannt wird.
sessions_all=Alle Sitzungen..

View File

@@ -1,6 +1,7 @@
index_screate=Δημιουργήστε ένα νέο ασφαλές χρήστη.
edit_title3=Δημιουργία ασφαλούς χρήστη Webmin
edit_locale=Μικρός λοβός
edit_safe=Επίπεδο προνομίου
edit_safe0=Απεριόριστος
edit_safe1=Μόνο ασφαλή μονάδες
@@ -8,6 +9,8 @@ edit_unsafe=Επαναφορά σε απεριόριστη
save_eunixname=Το όνομα χρήστη '$1' δεν είναι χρήστης Unix και έτσι δεν μπορεί να χρησιμοποιηθεί σε ασφαλή λειτουργία
acl_locale=Μπορεί να αλλάξει τοπική;
sync_modify=Μετονομάστε τον αντίστοιχο χρήστη Webmin όταν μετονομάζεται ένας χρήστης Unix.
sessions_all=Όλες οι συνεδρίες..

View File

@@ -57,6 +57,7 @@ edit_twofactorcancel=Remove two-factor authentication requirement
edit_twofactornone=None setup yet
edit_twofactoradd=Enable Two-Factor For User
edit_lang=Language
edit_locale=Locale
edit_notabs=Categorize modules?
edit_logout=Inactivity logout time
edit_mins=minutes
@@ -197,6 +198,7 @@ acl_delete=Can delete users?
acl_rename=Can rename users?
acl_acl=Can edit module access control?
acl_lang=Can change language?
acl_locale=Can change locale?
acl_chcert=Can change SSL certificate name?
acl_euser=You are not allowed to edit the ACL for this user
acl_egroup=You are not allowed to edit group ACLs

View File

@@ -1,6 +1,7 @@
index_screate=Crea un nuevo usuario seguro.
edit_title3=Crear usuario seguro de Webmin
edit_locale=Lugar
edit_safe=Nivel de privilegio
edit_safe0=Irrestricto
edit_safe1=Solo módulos seguros
@@ -10,6 +11,8 @@ save_eunixname=El nombre de usuario '$1' no es un usuario de Unix, por lo que no
delete_eanonuser=Este usuario se está utilizando para acceder al módulo anónimo
acl_locale=¿Se puede cambiar de ubicación?
sync_modify=Cambie el nombre del usuario de Webmin coincidente cuando se cambie el nombre de un usuario de Unix.
sessions_actions=Comportamiento..

View File

@@ -11,6 +11,7 @@ edit_twofactorprov=Hornitzailea $1 erabiliz $2
edit_twofactorcancel=Kendu bi faktoreen autentikazio baldintza
edit_twofactornone=Ez dago oraindik konfigurazioa
edit_twofactoradd=Gaitu erabiltzailearentzako bi faktore
edit_locale=Tokikoa
edit_egone=Aukeratutako erabiltzailea ez da existitzen!
edit_overlay=Gai pertsonalen gainjartzea
edit_proto=Biltegiratze mota
@@ -30,6 +31,7 @@ delete_eanonuser=Erabiltzaile hau modulu anonimoetarako sarbidea erabiltzen ari
cert_etempdir=Ziurtagiri fitxategi baliogabea
acl_locale=Tokia alda daiteke?
acl_pass=Pasahitz murrizketak alda ditzakezu?
acl_sql=Erabiltzaileen eta taldeen datu-basea konfiguratu al dezakezu?

View File

@@ -17,6 +17,7 @@ edit_twofactorprov=Using provider $1 with ID $2
edit_twofactorcancel=نیاز به تأیید اعتبار دو عاملی را حذف کنید
edit_twofactornone=هنوز هیچ راه اندازی نشده است
edit_twofactoradd=دو عامل را برای کاربر فعال کنید
edit_locale=محلی
edit_logout=زمان خروج از عدم فعالیت
edit_mins=دقایق
edit_chars=نامه ها
@@ -62,6 +63,7 @@ delete_eanonuser=این کاربر برای دسترسی به ماژول ناش
cert_etempdir=پرونده گواهی نامعتبر است
acl_locale=آیا می توان منطقه را تغییر داد؟
acl_egroup=شما مجاز به ویرایش ACL های گروهی نیستید
acl_times=آیا می توان بار ورود به سیستم مجاز را تغییر داد؟
acl_pass=آیا می توانید محدودیت های رمز عبور را تغییر دهید؟

View File

@@ -57,6 +57,7 @@ edit_twofactorcancel=Poista kaksifaktorinen todennusvaatimus
edit_twofactornone=Ei vielä mitään asennusta
edit_twofactoradd=Ota käyttöön kaksikerroinen käyttäjä
edit_lang=Kieli
edit_locale=Alue
edit_notabs=Luokittele moduulit?
edit_logout=Toimimattomuudesta poistumisaika
edit_mins=pöytäkirja
@@ -197,6 +198,7 @@ acl_delete=Voiko käyttäjiä poistaa?
acl_rename=Voivatko käyttäjät nimetä uudelleen?
acl_acl=Voiko muokata moduulin pääsynhallintaa?
acl_lang=Voiko kieltä vaihtaa?
acl_locale=Voiko aluetta vaihtaa?
acl_chcert=Voiko SSL-varmenteen nimeä muuttaa?
acl_euser=Et voi muokata tämän käyttäjän ACL-luetteloa
acl_egroup=Et voi muokata ryhmän ACL-luetteloita

View File

@@ -12,6 +12,7 @@ edit_twofactorprov=Utilisation du fournisseur $1 avec l'ID $2
edit_twofactorcancel=Supprimer l'exigence d'authentification à deux facteurs
edit_twofactornone=Aucune configuration pour le moment
edit_twofactoradd=Activer deux facteurs pour l'utilisateur
edit_locale=Lieu
edit_nochange=Appliquer les jours de changement de mot de passe?
edit_overlay=Superposition de thème personnel
edit_temppass=Forcer le changement à la prochaine connexion
@@ -32,6 +33,8 @@ delete_eanonuser=Cet utilisateur est utilisé pour l'accès au module anonyme
cert_etempdir=Fichier de certificat non valide
acl_locale=Peut changer de paramètres régionaux ?
log_joingroup=Ajout de $1 utilisateurs Webmin au groupe $2
log_pass=Restrictions de mot de passe modifiées
log_unix=Authentification utilisateur Unix modifiée

View File

@@ -57,6 +57,7 @@ edit_twofactorcancel=הסר את דרישת האימות של שני גורמי
edit_twofactornone=טרם התקנה
edit_twofactoradd=הפעל שני גורמים למשתמש
edit_lang=שפה
edit_locale=מקום
edit_notabs=לסווג מודולים?
edit_logout=זמן יציאה מחוסר פעילות
edit_mins=דקות
@@ -197,6 +198,7 @@ acl_delete=האם ניתן למחוק משתמשים?
acl_rename=האם ניתן לשנות שם של משתמשים?
acl_acl=האם ניתן לערוך בקרת גישה למודול?
acl_lang=האם ניתן לשנות שפה?
acl_locale=האם ניתן לשנות מיקום?
acl_chcert=האם ניתן לשנות את שם אישור ה- SSL?
acl_euser=אינך רשאי לערוך את ה- ACL למשתמש זה
acl_egroup=אינך מורשה לערוך רשימות ACL בקבוצות

View File

@@ -11,6 +11,7 @@ edit_twofactorprov=Korištenje davatelja $1 s ID-om $2
edit_twofactorcancel=Uklonite dvofaktorni zahtjev za provjeru autentičnosti
edit_twofactornone=Još nema postavljanja
edit_twofactoradd=Omogući korisniku dva faktora
edit_locale=Lokalitet
edit_nochange=Da li provodite dane za promjenu zaporke?
edit_egone=Odabrani korisnik više ne postoji!
edit_overlay=Prekrivanje osobne teme
@@ -35,6 +36,7 @@ delete_eanonuser=Ovaj korisnik se koristi za anonimni pristup modulu
cert_etempdir=Nevažeća datoteka certifikata
acl_locale=Može li se promijeniti lokalizacija?
acl_pass=Mogu li promijeniti ograničenja zaporke?
acl_sql=Mogu li konfigurirati korisničku i grupnu bazu podataka?

View File

@@ -15,6 +15,7 @@ edit_twofactorprov=A $2 azonosítóval
edit_twofactorcancel=Távolítsa el a kéttényezős hitelesítési követelményt
edit_twofactornone=Még nincs beállítva
edit_twofactoradd=Két tényező engedélyezése a felhasználó számára
edit_locale=Nyelv
edit_chars=betűk
edit_minsize=Minimális jelszóhossz
edit_nochange=Végrehajtja a jelszócsere napjait?
@@ -52,6 +53,7 @@ delete_eanonuser=Ezt a felhasználót anonim modul-hozzáféréshez használják
cert_etempdir=Érvénytelen tanúsítványfájl
acl_locale=Meg lehet változtatni a nyelvet?
acl_times=Megváltoztathatja az engedélyezett bejelentkezési időket?
acl_pass=Meg lehet változtatni a jelszó korlátozásait?
acl_sql=Konfigurálhatunk felhasználói és csoportos adatbázist?

View File

@@ -8,6 +8,7 @@ edit_twofactorprov=Utilizzo del provider $1 con ID $2
edit_twofactorcancel=Rimuovere i requisiti di autenticazione a due fattori
edit_twofactornone=Nessuna configurazione ancora
edit_twofactoradd=Abilita due fattori per l'utente
edit_locale=Locale
edit_safe=Livello di privilegio
edit_safe0=illimitato
edit_safe1=Solo moduli sicuri
@@ -19,6 +20,8 @@ delete_eanonuser=Questo utente viene utilizzato per l'accesso al modulo anonimo
cert_etempdir=File di certificato non valido
acl_locale=È possibile modificare le impostazioni locali?
log_joingroup=Aggiunti $1 utenti Webmin al gruppo $2
log_twofactor=Utente registrato $1 con provider a due fattori $2
log_onefactor=Utente non registrato $1 per l'autenticazione a due fattori

View File

@@ -10,6 +10,7 @@ edit_twofactorprov=ID $2 のプロバイダー $1 を使用する
edit_twofactorcancel=二要素認証要件を削除する
edit_twofactornone=まだセットアップなし
edit_twofactoradd=ユーザーの2要素を有効にする
edit_locale=ロケール
edit_egone=選択したユーザーは存在しません!
edit_overlay=個人テーマのオーバーレイ
edit_overlayglobal=なし-テーマのデフォルトを使用
@@ -32,6 +33,7 @@ delete_eanonuser=このユーザーは匿名モジュールアクセスに使用
cert_etempdir=無効な証明書ファイル
acl_locale=ロケールを変更できますか?
acl_pass=パスワード制限を変更できますか?
acl_sql=ユーザーおよびグループデータベースを構成できますか?

View File

@@ -10,6 +10,7 @@ edit_twofactorprov=ID가 $2 인 제공자 $1 사용
edit_twofactorcancel=이중 인증 요구 사항 제거
edit_twofactornone=아직 설정이 없습니다
edit_twofactoradd=사용자에 대해 2 단계 요인 사용
edit_locale=장소
edit_egone=선택된 사용자가 더 이상 존재하지 않습니다!
edit_overlay=개인 테마 오버레이
edit_overlayglobal=없음-테마 기본값 사용
@@ -32,6 +33,7 @@ delete_eanonuser=이 사용자는 익명 모듈 액세스에 사용되고 있습
cert_etempdir=유효하지 않은 인증서 파일
acl_locale=로케일을 변경할 수 있습니까?
acl_pass=비밀번호 제한을 변경할 수 있습니까?
acl_sql=사용자 및 그룹 데이터베이스를 구성 할 수 있습니까?

View File

@@ -57,6 +57,7 @@ edit_twofactorcancel=Pašalinkite dviejų veiksnių autentifikavimo reikalavimą
edit_twofactornone=Dar nėra sąrankos
edit_twofactoradd=Įgalinti dviejų faktorių vartotojui
edit_lang=Kalba
edit_locale=Lokalė
edit_notabs=Klasifikuokite modulius?
edit_logout=Neaktyvumo atsijungimo laikas
edit_mins=minučių
@@ -197,6 +198,7 @@ acl_delete=Ar galima ištrinti vartotojus?
acl_rename=Ar galima pervardyti vartotojus?
acl_acl=Ar galima redaguoti modulio prieigos valdymą?
acl_lang=Ar gali pakeisti kalbą?
acl_locale=Ar galima pakeisti lokalę?
acl_chcert=Ar galima pakeisti SSL sertifikato pavadinimą?
acl_euser=Jums neleidžiama redaguoti šio vartotojo ACL
acl_egroup=Jums neleidžiama redaguoti grupės ACL

View File

@@ -57,6 +57,7 @@ edit_twofactorcancel=Noņemiet divu faktoru autentifikācijas prasību
edit_twofactornone=Pagaidām nav iestatīta
edit_twofactoradd=Iespējojiet divfaktoru lietotājam
edit_lang=Valoda
edit_locale=Lokalizācija
edit_notabs=Kategorizēt moduļus?
edit_logout=Neaktivitātes atteikšanās laiks
edit_mins=minūtes
@@ -197,6 +198,7 @@ acl_delete=Vai var izdzēst lietotājus?
acl_rename=Vai lietotājus var pārdēvēt?
acl_acl=Vai var rediģēt moduļa piekļuves kontroli?
acl_lang=Vai var mainīt valodu?
acl_locale=Vai var mainīt lokalizāciju?
acl_chcert=Vai var mainīt SSL sertifikāta nosaukumu?
acl_euser=Jums nav atļauts rediģēt šī lietotāja ACL
acl_egroup=Jums nav atļauts rediģēt grupas ACL

View File

@@ -1,6 +1,7 @@
index_screate=Buat pengguna selamat yang baru.
edit_title3=Buat Pengguna Webmin Selamat
edit_locale=Tempatan
edit_safe=Tahap keistimewaan
edit_safe0=Tidak terkawal
edit_safe1=Modul selamat sahaja
@@ -10,6 +11,8 @@ save_eunixname=Nama pengguna '$1' bukan pengguna Unix, dan oleh itu tidak boleh
delete_eanonuser=Pengguna ini sedang digunakan untuk akses modul tanpa nama
acl_locale=Boleh tukar tempat?
sync_modify=Ganti nama pengguna Webmin yang sepadan apabila pengguna Unix dinamakan semula.
sessions_actions=Tindakan..

View File

@@ -57,6 +57,7 @@ edit_twofactorcancel=Neħħi l-ħtieġa ta 'awtentikazzjoni b'żewġ fatturi
edit_twofactornone=L-ebda setup għadu ma sar
edit_twofactoradd=Jippermetti Żewġ Fatturi Għall-Utent
edit_lang=Lingwa
edit_locale=Lokali
edit_notabs=Tikkategorizza l-moduli?
edit_logout=Ħin tat-tluq għall-inattività
edit_mins=minuti
@@ -197,6 +198,7 @@ acl_delete=Tista 'tħassar l-utenti?
acl_rename=Jistgħu isemmi l-utenti?
acl_acl=Jista 'jeditja l-modulu ta' kontroll ta 'aċċess?
acl_lang=Tista 'tbiddel il-lingwa?
acl_locale=Tista' tbiddel il-lokal?
acl_chcert=Tista 'tibdel l-isem taċ-ċertifikat SSL?
acl_euser=M'għandekx permess teditja l-ACL għal dan l-utent
acl_egroup=M'għandekx permess teditja l-ACLs tal-grupp

View File

@@ -8,6 +8,7 @@ edit_twofactorprov=Gebruik provider $1 met ID $2
edit_twofactorcancel=Verwijder twee-factor authenticatie vereiste
edit_twofactornone=Nog geen configuratie
edit_twofactoradd=Twee-factor voor gebruiker inschakelen
edit_locale=Lokaal
edit_safe=Privilege niveau
edit_safe0=onbeperkt
edit_safe1=Alleen veilige modules
@@ -19,6 +20,8 @@ delete_eanonuser=Deze gebruiker wordt gebruikt voor anonieme moduletoegang
cert_etempdir=Ongeldig certificaatbestand
acl_locale=Kan de locatie worden gewijzigd?
log_joingroup= $1 Webmin-gebruikers toegevoegd aan $2
log_twofactor=Ingeschreven gebruiker $1 bij two-factor provider $2
log_onefactor=Uitgeschreven gebruiker $1 voor tweefactorauthenticatie

View File

@@ -1,3 +1,7 @@
edit_locale=Språk
acl_locale=Kan du endre lokalitet?
sync_modify=Gi nytt navn til den samsvarende Webmin-brukeren når en Unix-bruker får nytt navn.
sessions_all=Alle økter..

View File

@@ -1,6 +1,7 @@
index_screate=Utwórz nowego bezpiecznego użytkownika.
edit_title3=Utwórz bezpiecznego użytkownika Webmin
edit_locale=Widownia
edit_safe=Poziom uprawnień
edit_safe0=Nieograniczony
edit_safe1=Tylko bezpieczne moduły
@@ -8,6 +9,8 @@ edit_unsafe=Zresetuj do nieograniczonego
save_eunixname=Nazwa użytkownika „$1” nie jest użytkownikiem systemu Unix, dlatego nie można jej używać w trybie awaryjnym
acl_locale=Czy można zmienić język?
sync_modify=Zmień nazwę pasującego użytkownika Webmin, gdy zmieniona zostanie nazwa użytkownika Uniksa.
sessions_actions=Działania..

View File

@@ -42,6 +42,7 @@ edit_twofactorcancel=Remover requisito de autenticação de dois fatores
edit_twofactornone=Nenhuma configuração ainda
edit_twofactoradd=Ativar dois fatores para o usuário
edit_lang=Língua
edit_locale=Localidade
edit_notabs=Categorizar módulos?
edit_logout=Tempo de logoff de inatividade
edit_mins=minutos
@@ -173,6 +174,7 @@ acl_delete=Pode excluir usuários?
acl_rename=Pode renomear usuários?
acl_acl=Pode editar o controle de acesso do módulo?
acl_lang=Pode mudar o idioma?
acl_locale=Pode mudar de localidade?
acl_chcert=Pode alterar o nome do certificado SSL?
acl_euser=Você não tem permissão para editar a ACL para este usuário
acl_egroup=Você não tem permissão para editar ACLs de grupo

View File

@@ -10,6 +10,7 @@ edit_twofactorprov=Usando o provedor $1 com o ID $2
edit_twofactorcancel=Remover requisito de autenticação de dois fatores
edit_twofactornone=Nenhuma configuração ainda
edit_twofactoradd=Ativar dois fatores para o usuário
edit_locale=Localidade
edit_egone=O usuário selecionado não existe mais!
edit_proto=Tipo de armazenamento
edit_proto_mysql=Banco de dados MySQL
@@ -28,6 +29,7 @@ delete_eanonuser=Este usuário está sendo usado para acesso anônimo ao módulo
cert_etempdir=Arquivo de certificado inválido
acl_locale=Pode mudar de localidade?
acl_pass=Pode alterar as restrições de senha?
acl_sql=Pode configurar o banco de dados de usuários e grupos?

View File

@@ -57,6 +57,7 @@ edit_twofactorcancel=Eliminați cerința de autentificare cu doi factori
edit_twofactornone=Nici o configurație nu este încă
edit_twofactoradd=Activați două factori pentru utilizator
edit_lang=Limba
edit_locale=Locale
edit_notabs=Categorizați modulele?
edit_logout=Timp de deconectare a inactivității
edit_mins=minute
@@ -197,6 +198,7 @@ acl_delete=Pot șterge utilizatorii?
acl_rename=Pot redenumi utilizatorii?
acl_acl=Poate edita controlul accesului modulului?
acl_lang=Poate schimba limba?
acl_locale=Se poate schimba locația?
acl_chcert=Poate schimba numele certificatului SSL?
acl_euser=Nu aveți voie să editați ACL pentru acest utilizator
acl_egroup=Nu aveți voie să editați ACL-urile de grup

View File

@@ -10,6 +10,7 @@ edit_twofactorprov=Использование поставщика $1 с иде
edit_twofactorcancel=Удалить требование двухфакторной аутентификации
edit_twofactornone=Нет настройки еще
edit_twofactoradd=Включить двухфакторный для пользователя
edit_locale=Регион
edit_nochange=Принудительно менять дни?
edit_egone=Выбранный пользователь больше не существует!
edit_rbacdeny0=RBAC контролирует только выбранные ACL модуля
@@ -30,6 +31,7 @@ delete_eanonuser=Этот пользователь используется дл
cert_etempdir=Неверный файл сертификата
acl_locale=Может сменить локаль?
acl_pass=Можно ли изменить ограничения пароля?
acl_sql=Можно настроить базу данных пользователей и групп?

View File

@@ -17,6 +17,7 @@ edit_twofactorprov=Použitie poskytovateľa $1 s ID $2
edit_twofactorcancel=Odstráňte požiadavku dvojfaktorovej autentifikácie
edit_twofactornone=Zatiaľ žiadne nastavenie
edit_twofactoradd=Povoliť používateľom dvojfaktorový režim
edit_locale=Miestne nastavenie
edit_logout=Čas odhlásenia nečinnosti
edit_chars=literatúra
edit_minsize=Minimálna dĺžka hesla
@@ -60,6 +61,7 @@ cert_etempdir=Neplatný súbor certifikátu
acl_rbac=Získať nastavenia riadenia prístupu z RBAC?
acl_rbacyes=Áno (prepíše nastavenia nižšie)
acl_locale=Dá sa zmeniť miestne nastavenie?
acl_times=Môžu zmeniť povolené časy prihlásenia?
acl_pass=Môžete zmeniť obmedzenia hesiel?
acl_sql=Môžete nakonfigurovať databázu používateľov a skupín?

View File

@@ -57,6 +57,7 @@ edit_twofactorcancel=Odstranite dvofaktorsko preverjanje pristnosti
edit_twofactornone=Ni nastavitve še
edit_twofactoradd=Omogoči dvofaktor za uporabnika
edit_lang=Jezik
edit_locale=Locale
edit_notabs=Razvrstiti module?
edit_logout=Čas odjave iz neaktivnosti
edit_mins=minut
@@ -197,6 +198,7 @@ acl_delete=Ali lahko uporabnike izbrišete?
acl_rename=Ali lahko preimenujete uporabnike?
acl_acl=Ali lahko urejate nadzor dostopa modula?
acl_lang=Ali lahko spremenite jezik?
acl_locale=Ali lahko spremenite jezik?
acl_chcert=Ali lahko spremenim ime potrdila SSL?
acl_euser=Nimate dovoljenja za urejanje ACL za tega uporabnika
acl_egroup=Nimate dovoljenja za urejanje skupinskih ACL-jev

View File

@@ -10,6 +10,7 @@ edit_twofactorprov=Använda leverantör $1 med ID $2
edit_twofactorcancel=Ta bort tvåfaktors autentiseringskrav
edit_twofactornone=Ingen installation ännu
edit_twofactoradd=Aktivera tvåfaktorer för användare
edit_locale=Plats
edit_egone=Den valda användaren finns inte längre!
edit_proto=Lagringstyp
edit_proto_mysql=MySQL-databas
@@ -30,6 +31,7 @@ delete_eanonuser=Den här användaren används för anonym modulåtkomst
cert_etempdir=Ogiltig certifikatfil
acl_locale=Kan du byta språk?
acl_pass=Kan ändra lösenordsbegränsningar?
acl_sql=Kan konfigurera användar- och gruppdatabas?

View File

@@ -57,6 +57,7 @@ edit_twofactorcancel=ลบข้อกำหนดการตรวจสอ
edit_twofactornone=ยังไม่มีการตั้งค่า
edit_twofactoradd=เปิดใช้งาน Two-Factor สำหรับผู้ใช้
edit_lang=ภาษา
edit_locale=สถานที่
edit_notabs=จัดหมวดหมู่โมดูลหรือไม่
edit_logout=ไม่มีเวลาออกจากระบบ
edit_mins=นาที
@@ -197,6 +198,7 @@ acl_delete=สามารถลบผู้ใช้ได้หรือไม
acl_rename=สามารถเปลี่ยนชื่อผู้ใช้?
acl_acl=สามารถแก้ไขการควบคุมการเข้าถึงโมดูลได้หรือไม่
acl_lang=เปลี่ยนภาษาได้ไหม
acl_locale=เปลี่ยนโลแคลได้ไหม
acl_chcert=สามารถเปลี่ยนชื่อใบรับรอง SSL ได้หรือไม่
acl_euser=คุณไม่ได้รับอนุญาตให้แก้ไข ACL สำหรับผู้ใช้รายนี้
acl_egroup=คุณไม่ได้รับอนุญาตให้แก้ไขกลุ่ม ACL

View File

@@ -19,6 +19,7 @@ edit_twofactorprov=$2 kimliğiyle $1 sağlayıcısını kullanma
edit_twofactorcancel=İki faktörlü kimlik doğrulama gereksinimini kaldırın
edit_twofactornone=Henüz kurulum yok
edit_twofactoradd=Kullanıcı için İki Faktörü Etkinleştir
edit_locale=yerel ayar
edit_logout=Etkinlik dışı kalma süresi
edit_mins=dakika
edit_chars=harfler
@@ -70,6 +71,7 @@ cert_etempdir=Geçersiz sertifika dosyası
acl_rbac=RBAC'den erişim kontrolü ayarları alınıyor mu?
acl_rbacyes=Evet (aşağıdaki ayarları geçersiz kılar)
acl_locale=Yerel ayarı değiştirebilir miyim?
acl_times=İzin verilen giriş zamanlarını değiştirebilir mi?
acl_pass=Şifre kısıtlamalarını değiştirebilir mi?
acl_sql=Kullanıcı ve grup veritabanını yapılandırabilir mi?

View File

@@ -55,6 +55,7 @@ edit_twofactorcancel=Видаліть двофакторну аутентифі
edit_twofactornone=Ще немає налаштувань
edit_twofactoradd=Увімкнути двофакторну для користувача
edit_lang=Мову
edit_locale=Локаль
edit_notabs=Класифікувати модулі?
edit_logout=Час виходу з бездіяльності
edit_mins=хвилин
@@ -193,6 +194,7 @@ acl_delete=Чи можете видалити користувачів?
acl_rename=Чи можете перейменувати користувачів?
acl_acl=Чи можна редагувати контроль доступу до модуля?
acl_lang=Можна змінити мову?
acl_locale=Чи можна змінити мову?
acl_chcert=Чи можна змінити ім'я сертифіката SSL?
acl_euser=Вам заборонено редагувати ACL для цього користувача
acl_egroup=Вам заборонено редагувати групові ACL

View File

@@ -57,6 +57,7 @@ edit_twofactorcancel=دو عنصر کی توثیق کی ضرورت کو ہٹا
edit_twofactornone=ابھی تک کوئی سیٹ اپ نہیں ہے
edit_twofactoradd=صارف کے لئے دو فیکٹر کو فعال کریں
edit_lang=زبان
edit_locale=لوکیل
edit_notabs=ماڈیول کی درجہ بندی کریں؟
edit_logout=غیر فعال لاگ آؤٹ وقت
edit_mins=منٹ
@@ -197,6 +198,7 @@ acl_delete=کیا صارفین کو حذف کرسکتے ہیں؟
acl_rename=کیا صارفین کا نام تبدیل کر سکتے ہیں؟
acl_acl=کیا ماڈیول ایکسیس کنٹرول میں ترمیم کی جاسکتی ہے؟
acl_lang=کیا زبان بدل سکتی ہے؟
acl_locale=لوکل تبدیل کر سکتے ہیں؟
acl_chcert=کیا SSL سرٹیفکیٹ کا نام تبدیل کر سکتے ہیں؟
acl_euser=آپ کو اس صارف کے لئے ACL میں ترمیم کرنے کی اجازت نہیں ہے
acl_egroup=آپ کو گروپ ACL میں ترمیم کرنے کی اجازت نہیں ہے

View File

@@ -57,6 +57,7 @@ edit_twofactorcancel=Xóa yêu cầu xác thực hai yếu tố
edit_twofactornone=Chưa có thiết lập nào
edit_twofactoradd=Kích hoạt hai yếu tố cho người dùng
edit_lang=Ngôn ngữ
edit_locale=địa phương
edit_notabs=Phân loại mô-đun?
edit_logout=Thời gian đăng xuất không hoạt động
edit_mins=phút
@@ -197,6 +198,7 @@ acl_delete=Có thể xóa người dùng?
acl_rename=Có thể đổi tên người dùng?
acl_acl=Có thể chỉnh sửa điều khiển truy cập mô-đun?
acl_lang=Có thể thay đổi ngôn ngữ?
acl_locale=Có thể thay đổi ngôn ngữ?
acl_chcert=Có thể thay đổi tên chứng chỉ SSL?
acl_euser=Bạn không được phép chỉnh sửa ACL cho người dùng này
acl_egroup=Bạn không được phép chỉnh sửa ACL nhóm

View File

@@ -21,6 +21,7 @@ edit_twofactorprov=使用提供方 $1 和ID $2
edit_twofactorcancel=删除两因素身份验证要求
edit_twofactornone=尚未设定
edit_twofactoradd=为用户启用两因素
edit_locale=语言环境
edit_logout=不活动注销时间
edit_mins=分钟
edit_chars=字母
@@ -85,6 +86,7 @@ acl_rbac=从RBAC获得访问控制设置
acl_rbacyes=是(覆盖下面的设置)
acl_uthis=该用户
acl_locale=可以改locale吗
acl_sessions=可以查看和取消登录会话吗?
acl_cats=可以更改分类吗?
acl_theme=可以改变个人主题吗?

View File

@@ -19,6 +19,7 @@ edit_twofactorprov=使用提供方 $1 和ID $2
edit_twofactorcancel=刪除兩因素身份驗證要求
edit_twofactornone=尚未設定
edit_twofactoradd=為用戶啟用兩因素
edit_locale=語言環境
edit_logout=不活動註銷時間
edit_mins=分鐘
edit_chars=字母
@@ -75,6 +76,7 @@ acl_reset=重置為完全訪問權限
acl_rbac=從RBAC獲得訪問控制設置
acl_rbacyes=是(覆蓋下面的設置)
acl_locale=可以改locale嗎
acl_switch=可以切換到其他用戶嗎?
acl_times=可以更改允許的登錄時間嗎?
acl_pass=可以更改密碼限制嗎?

View File

@@ -200,6 +200,8 @@ my $salt = chr(int(rand(26))+65).chr(int(rand(26))+65);
$user{'name'} = $in{'name'};
$user{'lang'} = !$access{'lang'} ? $old->{'lang'} :
$in{'lang_def'} ? undef : $in{'lang'};
$user{'locale'} = !$access{'locale'} ? $old->{'locale'} :
$in{'locale_def'} ? undef : $in{'locale'};
if (!$access{'theme'}) {
$user{'theme'} = $old->{'theme'};
$user{'overlay'} = $old->{'overlay'};

View File

@@ -51,7 +51,6 @@ if (@logins) {
$state = "<font color=orange>$state</font>";
}
}
$main::theme_allow_make_date = 1;
my @links;
if (&foreign_available("webminlog")) {
push(@links,

View File

@@ -38,7 +38,9 @@ if ($module_name ne 'htaccess') {
# Need to build list of supported modules
local ($ver, $mods, $fullver) = &httpd_info($httpd);
if ($ver) {
local @mods = map { "$_/$ver" } &configurable_modules();
my @allmods = &available_modules();
local @mods = map { "$_/$ver" }
&configurable_modules(\@allmods);
foreach my $m (@mods) {
if ($m =~ /(\S+)\/(\S+)/) {
$httpd_modules{$1} = $2;
@@ -47,10 +49,14 @@ if ($module_name ne 'htaccess') {
# Call again now that known modules have been set, as
# sometimes there are dependencies due to LoadModule
# statements in an IfModule block
@mods = map { "$_/$ver" } &configurable_modules();
undef(@get_config_cache);
@allmods = &available_modules();
@mods = map { "$_/$ver" }
&configurable_modules(\@allmods);
local %site = ( 'size' => $st[7],
'path' => $httpd,
'modules' => join(' ', @mods),
'allmodules' => join(' ', @allmods),
'version' => $ver,
'fullversion' => $fullver,
'webmin' => &get_webmin_version() );
@@ -72,6 +78,9 @@ if (&read_file($site_file, \%site)) {
$httpd_modules{$1} = $2;
}
}
foreach $m (split(/\s+/, $site{'allmodules'})) {
$all_httpd_modules{$m} = $site{'version'};
}
foreach $m (keys %httpd_modules) {
if (!-r "$module_root_directory/$m.pl") {
delete($httpd_modules{$m});
@@ -1825,46 +1834,46 @@ for(my $i=0; $i<$secs; $i++) {
return 0;
}
# configurable_modules()
# configurable_modules([&all-mods])
# Returns a list of Apaches that are compiled in or dynamically loaded, and
# supported by Webmin.
sub configurable_modules
{
local ($ver, $mods) = &httpd_info(&find_httpd());
local @rv;
local $m;
my ($allmods) = @_;
$allmods ||= [ &available_modules() ];
return grep { -r "$module_root_directory/$_.pl" } @$allmods;
}
# available_modules()
# Returns a list of Apaches that are compiled in or dynamically loaded
sub available_modules
{
my ($ver, $mods) = &httpd_info(&find_httpd());
my @rv;
# Add compiled-in modules
foreach $m (@$mods) {
if (-r "$module_root_directory/$m.pl") {
push(@rv, $m);
}
}
push(@rv, @$mods);
# Add dynamically loaded modules
local $conf = &get_config();
foreach $l (&find_directive_struct("LoadModule", $conf)) {
if ($l->{'words'}->[1] =~ /(mod_\S+)\.(so|dll)/ &&
-r "$module_root_directory/$1.pl") {
my $conf = &get_config();
foreach my $l (&find_directive_struct("LoadModule", $conf)) {
if ($l->{'words'}->[1] =~ /(mod_\S+)\.(so|dll)/) {
push(@rv, $1);
}
elsif ($l->{'words'}->[1] =~ /libssl\.so/ &&
-r "$module_root_directory/mod_apachessl.pl") {
elsif ($l->{'words'}->[1] =~ /libssl\.so/) {
push(@rv, "mod_apachessl");
}
elsif ($l->{'words'}->[1] =~ /lib([^\/\s]+)\.(so|dll)/ &&
-r "$module_root_directory/mod_$1.pl") {
elsif ($l->{'words'}->[1] =~ /lib([^\/\s]+)\.(so|dll)/) {
push(@rv, "mod_$1");
}
}
undef(@get_config_cache); # Cache is no longer valid
# Add dynamically loaded modules
if ($config{'apachectl_path'}) {
&open_execute_command(APACHE,
"$config{'apachectl_path'} -M 2>/dev/null", 1);
while(<APACHE>) {
if (/(\S+)_module/ && -r "$module_root_directory/mod_${1}.pl") {
if (/(\S+)_module/) {
push(@rv, "mod_${1}");
}
}

View File

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

View File

@@ -0,0 +1,19 @@
show_list=0
httpd_dir=/usr/local
httpd_path=/usr/local/sbin/httpd
apachectl_path=/usr/local/sbin/apachectl
httpd_conf=/usr/local/etc/apache24/httpd.conf
mime_types=/usr/local/etc/apache24/mime.types
srm_conf=/usr/local/etc/apache24/srm.conf
access_conf=/usr/local/etc/apache24/access.conf
show_order=0
max_servers=100
test_config=1
test_manual=0
test_always=0
test_apachectl=1
auto_mods=1
pid_file=/var/run/httpd.pid
show_names=0
allow_virtualmin=0
format_config=1

View File

@@ -5,7 +5,7 @@ mime_types=/etc/apache2/mime.types
httpd_path=/usr/sbin/httpd
start_cmd=systemctl start apache2
stop_cmd=systemctl stop apache2
apply_cmd=systemctl restart apache2
apply_cmd=systemctl reload apache2
show_order=0
max_servers=100
test_config=1

View File

@@ -1,11 +1,11 @@
show_list=0
httpd_dir=/usr/apache2/2.2
httpd_conf=/etc/apache2/2.2/httpd.conf
httpd_path=/usr/apache2/2.2/bin/httpd
apachectl_path=/usr/apache2/2.2/bin/apachectl
pid_file=/var/run/apache2/2.2/httpd.pid
start_cmd=svcadm enable svc:/network/http:apache22
stop_cmd=svcadm disable svc:/network/http:apache22
httpd_dir=/usr/apache2/2.4
httpd_conf=/etc/apache2/2.4/httpd.conf
httpd_path=/usr/apache2/2.4/bin/httpd
apachectl_path=/usr/apache2/2.4/bin/apachectl
pid_file=/var/run/apache2/2.4/httpd.pid
start_cmd=svcadm enable svc:/network/http:apache24
stop_cmd=svcadm disable svc:/network/http:apache24
mime_types=
srm_conf=
access_conf=

View File

@@ -779,11 +779,23 @@ local(@po, $po, @rv);
if ($in{'Options_def'}) { return ( [ ] ); }
@po = ("ExecCGI", "FollowSymLinks", "Includes", "IncludesNOEXEC",
"Indexes", "MultiViews", "SymLinksIfOwnerMatch");
my $abscount = 0;
my $pluscount = 0;
foreach $po (@po) {
if ($in{$po} == 1) { push(@rv, $po); }
elsif ($in{$po} == 2) { push(@rv, "+$po"); }
elsif ($in{$po} == 3) { push(@rv, "-$po"); }
if ($in{$po} == 1) {
push(@rv, $po);
$abscount++;
}
elsif ($in{$po} == 2) {
push(@rv, "+$po");
$pluscount++;
}
elsif ($in{$po} == 3) {
push(@rv, "-$po");
$pluscount++;
}
}
$abscount && $pluscount && &error($text{'core_eoptionsboth'});
return @rv ? ( [ join(' ', @rv) ] ) : ( [ "None" ] );
}
@@ -1041,7 +1053,7 @@ sub edit_LimitRequestBody
{
return (1, $text{'core_maxbody'},
&opt_input($_[0]->{'value'}, "LimitRequestBody", $text{'core_default'}, 8)
.$text{'bytes'});
.&ui_space(2).$text{'bytes'});
}
sub save_LimitRequestBody
{
@@ -1052,7 +1064,7 @@ sub edit_LimitXMLRequestBody
{
return (1, $text{'core_maxxml'},
&opt_input($_[0]->{'value'}, "LimitXMLRequestBody",
$text{'core_default'}, 8).$text{'bytes'});
$text{'core_default'}, 8).&ui_space(2).$text{'bytes'});
}
sub save_LimitXMLRequestBody
{

View File

@@ -501,6 +501,7 @@ core_actmod=Active modules
core_option=Option
core_setdir=Set for directory
core_merge=Merge with parent
core_eoptionsboth=Directory options : Active options must be all either Set For Directory or Merged With Parent, but not both
core_users=Only these users
core_groups=Only these groups
core_allusers=All valid users

View File

@@ -577,10 +577,10 @@ mod_proxy_netbit=Sottorete (Network/bits)
mod_proxy_maxfw=Numero massimo di proxy nella catena di richiesta
mod_proxy_emaxfs=Il Numero massimo di proxy nella catena di richiesta deve essere un intero
mod_proxy_preserve=Preserva originale l'header Host:
mod_proxy_timeout=Timeout delle richieste proxy in secondi
mod_proxy_etimeout=Il timeout delle richieste proxy deve essere un numero di secondi
mod_proxy_via=Setta header Via:
mod_log_agent_default=Default
mod_log_agent_file=File..
mod_log_agent_program=Programma..

View File

@@ -566,10 +566,10 @@ mod_proxy_netbit=Мережа/біт
mod_proxy_maxfw=Максимальна кількість проксі в ланцюжку запитів
mod_proxy_emaxfs=Максимальна кількість проксі в ланцюжку запитів належний бути цілої числом
mod_proxy_preserve=Зарезервувати оригінальний вузол: заголовок
mod_proxy_timeout=Час чекання виконання запиту проксі в секундах
mod_proxy_etimeout=Час чекання виконання запиту проксі повинне бути числом секунд
mod_proxy_via=Установити через: заголовки
mod_log_agent_default=За замовчуванням
mod_log_agent_file=Файл..
mod_log_agent_program=Програма..

View File

@@ -573,10 +573,10 @@ mod_proxy_netbit=网络/位
mod_proxy_maxfw=请求链中最大的代理数
mod_proxy_emaxfs=请求链中最大的代理数必须是整数
mod_proxy_preserve=保持原来的主机:文件头
mod_proxy_timeout=代理请求超时秒数
mod_proxy_etimeout=代理请求超时必须是一个有效的秒数
mod_proxy_via=设置通过:头
mod_log_agent_default=默认
mod_log_agent_file=文件…
mod_log_agent_program=程序…

View File

@@ -583,10 +583,10 @@ mod_proxy_netbit=網路/位元
mod_proxy_maxfw=請求鏈中最大的代理數
mod_proxy_emaxfs=請求鏈中最大的代理數必須是整數
mod_proxy_preserve=保留原始主機: 檔頭
mod_proxy_timeout=Proxy回應逾時秒數
mod_proxy_etimeout=Proxy回應逾時秒數必須是個秒數數字
mod_proxy_via=設定經由: 檔頭
mod_log_agent_default=預設
mod_log_agent_file=檔案..
mod_log_agent_program=程式..

View File

@@ -25,6 +25,7 @@ $rv = [ [ 'ProxyRequests', 0, 13, 'virtual', undef, 11 ],
[ 'ProxyMaxForwards', 0, 13, 'virtual', 2.0 ],
[ 'ProxyPreserveHost', 0, 13, 'virtual', 2.031 ],
[ 'ProxyTimeout', 0, 13, 'virtual', 2.031 ],
[ 'ProxyPreserveHost', 0, 13, 'virtual', 2.3 ],
[ 'ProxyVia', 0, 13, 'virtual', 2.0 ] ];
return &make_directives($rv, $_[0], "mod_proxy");
}
@@ -291,7 +292,16 @@ sub save_ProxyVia
return &parse_choice("ProxyVia", "");
}
sub edit_ProxyPreserveHost
{
return (1, $text{'mod_proxy_preserve'},
&choice_input($_[0]->{'value'}, "ProxyPreserveHost", "",
"$text{'yes'},on", "$text{'no'},off", "$text{'default'},"));
}
sub save_ProxyPreserveHost
{
return &parse_choice("ProxyPreserveHost", "");
}
1;

View File

@@ -13,6 +13,7 @@ sub edit_SuexecUserGroup
local $rv;
$rv .= sprintf "<input type=radio name=SuexecUserGroup_def value=1 %s> %s\n",
$_[0] ? "" : "checked", $text{'suexec_none'};
$rv .= &ui_newline();
$rv .= sprintf "<input type=radio name=SuexecUserGroup_def value=0 %s>\n",
$_[0] ? "checked" : "";
$rv .= sprintf "%s <input name=SuexecUserGroup_u size=8 value='%s'> %s\n",

View File

@@ -159,7 +159,9 @@ $rv .= "<table id='show_backup_destination' cellpadding=1 cellspacing=0>";
# Local file field
$rv .= "<tr><td>".&ui_oneradio("$_[0]_mode", 0, undef, $mode == 0)."</td>\n";
$rv .= "<td>$text{'backup_mode0'}&nbsp;</td><td colspan='3'>".
&ui_textbox("$_[0]_file", $mode == 0 ? $path : "", 60).
&ui_textbox("$_[0]_file", $mode == 0 ? $path : "", 60, undef, undef,
($_[2] != 1 && $config{'date_subs'}) ?
'placeholder="/backups/configs-%y-%m-%d-%H-%M-%S.tar.gz"' : undef).
" ".&file_chooser_button("$_[0]_file")."</td> </tr>\n";
# FTP file fields

View File

@@ -1,3 +1,3 @@
date_subs=0
date_subs=1
webmin_subs=0
apply=1

View File

@@ -48,13 +48,12 @@ if (@backups) {
print &ui_columns_end();
}
else {
print "<b>$text{'index_none'}</b><p>\n";
print "<strong>$text{'index_none'}</strong><br>\n";
}
print &ui_link("edit.cgi?new=1", $text{'index_add'});
print "<p>\n";
print "\n";
if ($using_strftime && !$config{'date_subs'}) {
print "<font color=#ff0000><b>$text{'index_nostrftime'}",
"</b></font><p>\n";
print &ui_alert_box($text{'index_nostrftime'}, 'warn'),"\n";
}
print &ui_tabs_end_tab();

View File

@@ -16,7 +16,7 @@ index_now2=Restore Now
index_apply=Apply configurations?
index_test=Just show what will be restored?
index_jobs=Scheduled Backups
index_nostrftime=Warning - some backup jobs use % in their filenames, but strftime substitution is not enabled on the Module Config page.
index_nostrftime=Some backup jobs use % in their filenames, but strftime substitution is not enabled on the Module Config page.
index_tabsched=Scheduled backups
index_tabbackup=Backup now
index_tabrestore=Restore now

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
../file/BorderPanel.java

Binary file not shown.

View File

@@ -1 +0,0 @@
../file/CbButton.java

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
../file/CbScrollbar.java

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
../file/ErrorWindow.java

Binary file not shown.

View File

@@ -1 +0,0 @@
../file/FixedFrame.java

Binary file not shown.

View File

@@ -1 +0,0 @@
../file/GrayPanel.java

Binary file not shown.

View File

@@ -1 +0,0 @@
../file/Hierarchy.java

Binary file not shown.

Binary file not shown.

View File

@@ -1,295 +0,0 @@
import java.awt.*;
import java.io.*;
import java.applet.*;
import java.net.*;
import java.util.*;
import netscape.javascript.JSObject;
public class TreeChooser extends Applet
implements CbButtonCallback, HierarchyCallback
{
CbButton add_b, remove_b, close_b;
Hierarchy tree;
BaculaNode root;
String volume;
String session;
String job;
Vector added = new Vector();
public void init()
{
// Create the root
String rpath = getParameter("root");
root = new BaculaNode(this, rpath, true, null);
volume = getParameter("volume");
session = getParameter("session");
job = getParameter("job");
// Build the UI
setLayout(new BorderLayout());
BorderPanel top = new BorderPanel(2);
top.setLayout(new FlowLayout(FlowLayout.LEFT));
top.add(add_b = new CbButton("Add", this));
top.add(remove_b = new CbButton("Remove", this));
top.add(close_b = new CbButton("Close", this));
add("North", top);
add("Center", tree = new Hierarchy(root, this));
}
Image get_image(String img)
{
return getImage(getDocumentBase(), "images/"+img);
}
String[] get_text(String url)
{
Cursor orig = getCursor();
try {
Cursor busy = Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR);
setCursor(busy);
long now = System.currentTimeMillis();
if (url.indexOf('?') > 0) url += "&rand="+now;
else url += "?rand="+now;
URL u = new URL(getDocumentBase(), url);
URLConnection uc = u.openConnection();
set_cookie(uc);
String charset = get_charset(uc.getContentType());
BufferedReader is = new BufferedReader(
(charset == null) ?
new InputStreamReader(uc.getInputStream()) :
new InputStreamReader(uc.getInputStream(), charset));
Vector lv = new Vector();
while(true) {
String l = is.readLine();
if (l == null) { break; }
lv.addElement(l);
}
is.close();
String rv[] = new String[lv.size()];
lv.copyInto(rv);
return rv;
}
catch(Exception e) {
e.printStackTrace();
//return null;
String err[] = { e.getMessage() };
return err;
}
finally {
setCursor(orig);
}
}
void set_cookie(URLConnection conn)
{
if (session != null)
conn.setRequestProperty("Cookie", session);
}
// Gets charset parameter from Content-Type: header
String get_charset(String ct)
{
if (ct == null)
return null;
StringTokenizer st = new StringTokenizer(ct, ";");
while (st.hasMoreTokens()) {
String l = st.nextToken().trim().toLowerCase();
if (l.startsWith("charset=")) {
// get the value of charset= param.
return l.substring(8);
}
}
return null;
}
public void openNode(Hierarchy h, HierarchyNode n)
{
// Get the files under this directory, and expand the tree
BaculaNode bn = (BaculaNode)n;
bn.fill();
}
public void closeNode(Hierarchy h, HierarchyNode n)
{
// No need to do anything
}
public void clickNode(Hierarchy h, HierarchyNode n)
{
// Also no need to do anything
}
public void doubleNode(Hierarchy h, HierarchyNode n)
{
// add or remove a file
BaculaNode sel = (BaculaNode)n;
if (sel.added) remove_node(sel);
else add_node(sel);
}
public void click(CbButton b)
{
BaculaNode sel = (BaculaNode)tree.selected();
if (b == close_b) {
// Close the window, and update the text box
try {
JSObject win = JSObject.getWindow(this);
String params1[] = { "" };
win.call("clear_files", params1);
for(int i=0; i<added.size(); i++) {
BaculaNode n = (BaculaNode)added.elementAt(i);
String params2[] = { n.path };
if (n.isdir && !n.path.equals("/"))
params2[0] = n.path+"/";
win.call("add_file", params2);
}
String params3[] = { "" };
win.call("finished", params3);
}
catch(Exception e) {
e.printStackTrace();
new ErrorWindow("Failed to set files : "+
e.getMessage());
}
}
else if (b == add_b) {
// Flag the selected file as added
if (sel != null) {
add_node(sel);
}
}
else if (b == remove_b) {
// Un-flag the selected file
if (sel != null) {
remove_node(sel);
}
}
}
void add_node(BaculaNode n)
{
if (!n.added) {
n.added = true;
n.set_all_icons();
tree.redraw();
added.addElement(n);
}
}
void remove_node(BaculaNode n)
{
if (n.added) {
n.added = false;
n.set_all_icons();
tree.redraw();
added.removeElement(n);
}
}
static String urlize(String s)
{
StringBuffer rv = new StringBuffer();
for(int i=0; i<s.length(); i++) {
char c = s.charAt(i);
if (c < 16)
rv.append("%0"+Integer.toString(c, 16));
else if (!Character.isLetterOrDigit(c) && c != '/' &&
c != '.' && c != '_' && c != '-')
rv.append("%"+Integer.toString(c, 16));
else
rv.append(c);
}
return rv.toString();
}
}
class BaculaNode extends HierarchyNode
{
TreeChooser parent;
String path;
boolean isdir;
boolean known = false;
boolean added = false;
BaculaNode dir;
BaculaNode(TreeChooser parent, String path, boolean isdir, BaculaNode dir)
{
this.parent = parent;
this.path = path;
this.isdir = isdir;
this.dir = dir;
open = false;
set_icon();
ch = isdir ? new Vector() : null;
if (path.equals("/"))
text = "/";
else {
String ns = path.endsWith("/") ?
path.substring(0, path.length() - 1) : path;
int slash = ns.lastIndexOf("/");
text = path.substring(slash+1);
}
}
void set_icon()
{
String imname = isdir ? "dir.gif" : "rfile.gif";
if (selected()) imname = "s"+imname;
im = parent.get_image(imname);
}
void set_all_icons()
{
set_icon();
if (ch != null) {
for(int i=0; i<ch.size(); i++) {
BaculaNode c = (BaculaNode)ch.elementAt(i);
c.set_all_icons();
}
}
}
void fill()
{
if (!known && isdir) {
ch.removeAllElements();
String l[] = parent.get_text("list.cgi?dir="+
parent.urlize(path)+
"&volume="+
parent.urlize(parent.volume)+
"&job="+
parent.urlize(parent.job));
if (l[0].length() > 0) {
new ErrorWindow("Failed to get files under "+path+
" : "+l[0]);
return;
}
for(int i=1; i<l.length; i++) {
if (l[i].endsWith("/")) {
ch.addElement(
new BaculaNode(
parent, l[i].substring(0, l[i].length()-1),
true, this));
}
else {
ch.addElement(
new BaculaNode(
parent, l[i], false, this));
}
}
parent.tree.redraw();
known = true;
}
}
boolean selected()
{
BaculaNode n = this;
while(n != null) {
if (n.added) return true;
n = n.dir;
}
return false;
}
}

Binary file not shown.

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