Commit Graph

161 Commits

Author SHA1 Message Date
Jamie Cameron
464a553534 Simplify ppermission mappings 2024-08-20 21:32:33 -07:00
Jamie Cameron
ddbd770dda Add field for setting plugin 2024-08-20 21:28:39 -07:00
Jamie Cameron
ffc7dac5f1 Plugin needs a with prefix when used in SQL 2024-08-15 03:25:06 -07:00
Jamie Cameron
66ad3fe075 Merge branch 'master' of github.com:webmin/webmin 2024-08-14 03:09:30 -07:00
Jamie Cameron
0b83f310e6 Work on being able to specify plugin 2024-08-14 03:09:21 -07:00
Ilia Ross
c642286a5a Fix to optimize code 2024-08-13 22:57:43 +03:00
Ilia Ross
e8ed462b8c Fix to support replication perms 2024-08-13 22:31:32 +03:00
Ilia Ross
9cecabf781 Add ability to display permissions intelligently 2024-08-13 22:25:17 +03:00
Ilia Ross
ae34d0ef86 Fix to unquote database name in view
https://github.com/virtualmin/virtualmin-gpl/issues/723#issuecomment-2262824643
2024-08-01 20:29:40 +03:00
Ilia Ross
5210f623f3 Fix to use prepared statements 2024-07-26 21:11:05 +03:00
Ilia Ross
b03f1b766f Fix to optimize getting table index stats for large tables 2024-07-26 19:56:45 +03:00
Jamie Cameron
f89844171c Properly escape selected databases in DB chooser https://github.com/virtualmin/virtualmin-gpl/issues/723 2023-12-25 08:54:09 -08:00
Ilia Ross
62b6b32719 Code cleanup 2023-11-05 19:13:28 +02:00
Ilia Ross
02eb35d622 Fix to test for file after it was declared
9cade51106
2023-11-03 22:38:17 +02:00
Jamie Cameron
9cade51106 Fix bad file descriptor error https://forum.virtualmin.com/t/sql-execution-sql-backup-restore-fails/123116 2023-10-25 02:24:31 -07:00
Jamie Cameron
384913506f Add function to get the DB character set 2023-10-11 21:02:17 -07:00
Jamie Cameron
4d4468e907 Prevent password change when it makes no sense https://github.com/virtualmin/virtualmin-gpl/issues/648 2023-10-07 08:51:50 -07:00
Jamie Cameron
eb79f4c169 Add config option to force use of some authentication plugin 2023-07-12 16:55:03 -07:00
iliajie
b49d4f8147 Fix to copy file permissions too 2023-07-01 22:19:30 +03:00
iliajie
f3bc8c9061 Fix to tighten regex match 2023-06-30 14:21:41 +03:00
iliajie
2b2ead4d7d Add ability to downgrade database collation 2023-06-30 13:42:31 +03: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
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
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
Jamie Cameron
625f4ac93c Fix check for missing value! 2023-04-30 10:54:58 -07:00
Jamie Cameron
1e5032c7a3 Don't reference non-existent values 2023-04-28 12:00:04 -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
Jamie Cameron
ff4aacb5bc Use my instead of local 2023-02-23 19:36: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
Jamie Cameron
4b5f3d7ccd Add config option to connect in SSL mode 2023-01-21 21:41:59 -08: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
4ae46dbe83 Also fix MySQL strings in PHP-INI module https://github.com/virtualmin/virtualmin-gpl/issues/464 2022-10-08 23:22:52 -07:00
iliajie
e1144a7398 Fix to replace config and help labels too (MySQL ⇾ MariaDB) 2022-09-29 09:58:14 +03:00
Jamie Cameron
dd5bce5adf Always set ENV{'PASS'} when needed https://sourceforge.net/p/webadmin/bugs/5542/ 2022-02-01 19:34:40 -08:00
Jamie Cameron
9e8747ede4 Add extra check for wrong packet size https://forum.virtualmin.com/t/virtualmin-backup-truncates-part-of-mysql-dump-without-generating-error/113551/9 2022-01-12 21:11:51 -08:00
Ilia Rostovtsev
732941d30a Fix to handle removed options in MySQL 8 #1561 2021-12-08 15:59:33 +03:00
Scott Lucas
480c81f272 Fix Virtualmin breaking mysql backup_database force parameter 2021-08-23 14:40:24 +01:00
Scott Lucas
ea91c26d70 Add custom mysql backup parameters option 2021-08-12 09:29:02 +01:00
Jamie Cameron
5b5f86c1a1 Add a new way of overriding the module.info description, and use it for MySQL 2021-04-21 21:54:07 -07:00
Jamie Cameron
a76125769f Use cached DB type when performing mysql -> mariadb string replacement 2021-01-04 20:28:50 -08:00
Ilia Rostovtsev
371be571af Display MariaDB name for module if used 1/2 https://github.com/webmin/webmin/issues/1421 2021-01-02 14:09:26 +03:00
Ilia Rostovtsev
62c0569525 Default variant should be MySQL with fancy builds 96257e8956 (diff-660d08ad1fbe98f13c43a2e7221aa57990287dd782394524d3a3a332d0860aecR3456) 2020-11-30 12:57:25 +03:00
Ilia Rostovtsev
d10b1578ae Add ability to force reset lost admin password for MySQL 2020-11-29 18:07:39 +03:00
Ilia Rostovtsev
a79a09a60d Satisfy requirement to restart database process on renaming admin user 2020-11-29 16:39:02 +03:00
Ilia Rostovtsev
6a9b1a4dd3 Fix missing var after moving code 2020-11-29 16:12:33 +03:00
Ilia Rostovtsev
3731b28435 Fix to call update config in the right context (rename) 2020-11-29 14:47:04 +03:00
Ilia Rostovtsev
125cc7b418 Fix MySQL password handling for users with unix auth https://github.com/webmin/webmin/issues/1333
Additionally fixed renaming of admin user and password, all at once or separetely
2020-11-28 21:02:50 +03:00
Ilia Rostovtsev
1a707f1d06 Fix typo 2020-10-12 22:04:26 +03:00
Jamie Cameron
68f0e8dc98 Fix setting of perms for new users 2020-10-11 20:08:07 -07:00
Ilia Rostovtsev
f61c7bd773 Add support for MariaDB 10.4 2/3 2020-10-11 19:58:04 +03:00