Commit Graph

218 Commits

Author SHA1 Message Date
Ilia Ross
dde9d46b1e Fix patch command to restart Webmin instead of reloading 2026-08-17 23:30:17 +02:00
Ilia Ross
c76fda35ce Add support for applying multiple patches with patch command
ⓘ Allow passing several patch URLs or files at once, e.g. webmin patch url1 url2 url3. Patches are applied in the given order, stopping at the first failure, and Webmin is reloaded only once after all of them are applied.
2026-08-17 21:43:28 +02:00
Ilia Ross
77f78cdb75 Fix patch command to not leave .orig backup files
Some checks failed
Tests / prove (push) Has been cancelled
Package and upload artifacts / build (push) Has been cancelled
ⓘ GNU patch keeps a .orig copy of the original file whenever a hunk applies with fuzz or offset, which is common when patching an installed release with a commit from the master branch. Pass --no-backup-if-mismatch, since backups are not needed.
2026-08-17 19:11:18 +02:00
Ilia Ross
aa3db4ddbf Fix patch command to apply with git inside another repository
ⓘ When GNU patch is not installed, git apply was run inside the module directory, and if the Webmin root itself was a git repository, git resolved paths relative to that root and silently skipped the patched files.

Limit repository discovery to the current directory and allow reduced context, similar to the default fuzz used by patch, so slightly drifted context lines no longer cause a rejection.
2026-08-17 19:06:25 +02:00
Ilia Ross
7e41f339a3 Fix password reset handling for Unix-backed Webmin users
Some checks failed
Tests / prove (push) Has been cancelled
Package and upload artifacts / build (push) Has been cancelled
Close inactive / close-inactive (push) Has been cancelled
ⓘ Warn when a Webmin user matches a Unix account and allow choosing Unix authentication or a separate Webmin-only password. Preserve explicit and legacy password behavior with regression coverage.

https://forum.virtualmin.com/t/resetting-root-admin-password/137615/4
2026-07-23 17:25:39 +02:00
Ilia Ross
5760fc98ba Fix patch sub-command to reload Webmin instead of restarting
Some checks failed
Tests / prove (push) Has been cancelled
Package and upload artifacts / build (push) Has been cancelled
https://forum.virtualmin.com/t/usermin-2-550-login-from-the-virtualmin-edit-users-page-stopped-working/137491/29?u=ilia
2026-06-30 22:03:39 +02:00
Ilia Ross
2c01d21a1d Add comments
https://github.com/webmin/webmin/issues/2615
2026-04-10 13:17:51 +02:00
Ilia Ross
6337f2fefa Add tiny compatibility helper that builds ANSI escape strings
https://github.com/webmin/webmin/issues/2615
2026-04-10 13:12:05 +02:00
Ilia Ross
f204480957 Fix formatting 2026-02-28 18:49:31 +02:00
Ilia Ross
04f1426f33 Add ability to get module edition 2026-02-28 18:23:13 +02:00
Ilia Ross
5d8196fe95 Add support to provide detailed Webmin server stats
https://forum.virtualmin.com/t/is-this-memory-used-a-bit-high/135556/6?u=ilia
2025-10-22 17:04:11 +03:00
Ilia Ross
28c7939636 Fix to check if helper command is running as root 2025-10-04 01:12:05 +03:00
Ilia Ross
84a417bd6e Update links and name 2025-09-06 13:25:53 +03:00
Ilia Ross
3bc15788af Fix warnings 2025-06-15 14:52:29 +03:00
Ilia Ross
5462c3bbf8 Fix to use API to check for command 2025-06-12 01:52:48 +03:00
Ilia Ross
40d27ad53e Fix language manager to correctly handle Farsi
* Something has changed on Google Translator side or maybe even a bug
2025-05-30 21:38:09 +03:00
Ilia Ross
3b3f1b3146 Fix to correctly set exit code on success in force mode
a6be4107be (r149904639)
2025-02-13 13:38:34 +02:00
Ilia Ross
c62c185de9 Add support for setting lib path in language manager 2025-02-12 18:49:48 +02:00
Ilia Ross
ec44cd1e67 Add support to clean removed languages 2025-02-12 13:59:32 +02:00
Ilia Ross
cb93ed28be Update pod 2025-02-11 14:55:44 +02:00
Ilia Ross
237680c0f9 Add support to provide aggregate translation stats
For all modules:

webmin language-manager --stats=aggregate

For given module:

webmin language-manager --stats=aggregate -m virtual-server
2025-02-11 14:49:32 +02:00
Ilia Ross
e213a9f5f7 Add coverage details human vs. total 2025-02-08 04:36:29 +02:00
Ilia Ross
d768c81dc3 Fix typos 2025-02-08 04:15:17 +02:00
Ilia Ross
0022ac953d Update creds 2025-02-08 04:14:51 +02:00
Ilia Ross
1f4cd88c3b Add support for displaying translations statistics for each module 2025-02-08 04:11:39 +02:00
Ilia Ross
a7543733d2 Fix code format 2025-02-07 22:13:16 +02:00
Ilia Ross
abe1448803 Fix typo 2025-02-07 22:08:51 +02:00
Ilia Ross
99a59ed554 Fix to factor out a function with different logic 2025-01-15 13:19:22 +02:00
Ilia Ross
b2e0db9db9 Add support to apply the patch from the raw link
https://forum.virtualmin.com/t/re-moving-sites-from-directadmin-to-virtualmin/128503/33?u=ilia
2024-08-28 15:20:20 +03:00
Ilia Ross
11ae39081c Fix to try more simple patch command at first 2024-07-22 14:18:51 +03:00
Ilia Ross
7507433bf1 Fix to drop dependency from Term::ANSIColor 2024-06-30 11:41:41 +03:00
Ilia Ross
248cb719c0 Fix restart command depend on config dir 2024-06-29 23:32:15 +03:00
Ilia Ross
94b7fdf0ec Fix to escape params 2024-06-29 23:29:55 +03:00
Ilia Ross
d89f6411b6 Fix to use has_command API 2024-06-29 20:34:29 +03:00
Ilia Ross
01d08a3605 Fix to make patch API work directly from URL 2024-06-28 19:48:51 +03:00
Ilia Ross
3d9497ff45 Fix command example 2024-06-28 01:51:02 +03:00
Ilia Ross
a6832450d1 Fix to restart Webmin when done 2024-06-28 01:38:28 +03:00
Ilia Ross
e41037388c Apply a patch to Webmin core or its modules from GitHub or a local file 2024-06-28 01:35:10 +03:00
Ilia Ross
fb662de8b4 Fix to load libraries from the Webmin 2023-10-12 15:33:31 +03:00
iliajie
dc721b2e4e Fix to support the mode without user prompt 2023-07-19 19:52:59 +03:00
iliajie
cbc3078125 Fix to eval HTML::Entities as not always required 2023-05-23 16:20:08 +03:00
iliajie
c4fdb9524f Fix to revert accidentally stomped changes in PR #1910 2023-05-23 13:58:48 +03:00
iliajie
fc0efe9ed5 Revert "master-branch accidental merge"
This reverts commit 3996ff205f.
2023-05-22 12:31:12 +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
iliajie
29ef2d5f33 Fix to keep original copyright year 2023-01-09 00:36:20 +02: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
01a0bd964c Fix webmin --versions command consider release versions 2022-08-17 18:08:39 +03:00
iliajie
e2f273d887 Fix webmin sub-commands are warnings friendly 2022-07-02 15:52:41 +03:00
iliajie
6b45fdb91a Fix to remove pointless alias sub-commands 2022-06-30 13:37:21 +03:00