165 Commits

Author SHA1 Message Date
aa04be5f17 Issue #2035: rename REPLICA MONITOR privilege to SLAVE MONITOR, which seems to be the preferred name in MariaDB 2024-12-18 16:00:30 +01:00
a3c8500447 Issue #2035: support new REPLICA MONITOR admin privilege on MariaDB 10.5.9+ 2024-12-16 16:51:55 +01:00
26513589df Issue #1981: increase contrast for colored text in privilege tree with dark styles 2024-10-20 12:24:52 +02:00
57d9df2aed Issue #2014: code refactor: move ParseSSLSettings into TUser class 2024-08-30 08:14:55 +02:00
3ae63d113f Issue #2014: user manager: parse SSL settings from SHOW CREATE USER, but also keep parsing SHOW GRANTS for backward compatibility 2024-08-28 10:45:33 +02:00
5f413b63c4 Issue #1965: show warnings from internal queries in user manager, CSV detector and table tools 2024-06-19 10:46:16 +02:00
f3ce46af4d Update VirtualTrees component code to release v7.6.6 from Jan 12 2024 2024-01-29 15:00:26 +01:00
afa387ab87 Fix crash on user manager, with recently updated VirtualTrees code, in .ReinitNode() while tree is yet invisible 2023-10-16 20:59:06 +02:00
f4a41cd45d Unquote column names from user GRANT before displaying them. Saving the GRANT quotes it again. See https://www.heidisql.com/forum.php?t=41140 2023-07-22 12:01:23 +02:00
ae883a0a80 Include some System.Generics.* units without using project's unit scopes or aliases 2022-12-29 17:59:23 +01:00
0d9de512cd Remove unit scopes from project settings, prefer fully qualified unit names in uses clauses. Enhance readability and compiler performance. 2022-12-26 17:59:19 +01:00
a6ad041a7c Convert hardcoded MySQL error codes to named constants, taken from include/mysql/server/mysqld_error.h 2022-04-23 11:45:37 +02:00
c4085bed4e Refactor: move structures for specific network types out of dbstructures, into their own dbstructures.xxx.pas, and include const.inc in project sources 2022-04-23 11:38:26 +02:00
142e26ec22 Issue #1503: move SaveListSetup and RestoreListSetup to extra_controls unit, and handle column widths DPI independently 2021-12-26 13:58:25 +01:00
d46716ff2e Issue #1503: reactivate DPI awareness, and try to read/write component dimensions DPI independently 2021-12-26 13:06:24 +01:00
cb1024b048 Fix more potential theme related EAccessViolation's, due to Action:=caFree in OnClose event of modal forms. Their caller now frees these modal forms. In non-modal forms, keep caFree in OnClose but remove existing OnDestroy events, moving code to OnClose instead.
https://www.heidisql.com/forum.php?t=38043
https://stackoverflow.com/questions/2075405/how-to-close-non-modal-form-in-delphi
2021-06-22 20:37:34 +02:00
dd38ba4f6f Code cosmetic: rename implodestr() to Implode() 2021-06-03 08:32:06 +02:00
4d5d8584cb Issue #1352: user manager: sync checked state on out-of-view child nodes 2021-04-08 09:26:26 +02:00
cb2711d88e Issue #1302: overtake renames and additions to user privileges in MariaDB 10.5.2 2021-02-04 07:34:47 +01:00
cb77a602b5 Code cleanup in TConnectionParameters.NetTypeName and introduce StrictDetect param in TConnectionParameters.IsMySQL, to have a clear distinction for TDBConnection.IsTextDefault, where I was on the way to re-break issue #1099. 2020-12-11 14:17:17 +01:00
4c60093a06 Issue #1081: apply quirk for missing IDENTIFIED BY PASSWORD clause to MySQL 5.7.6+ only (MariaDB still includes it). Will still be an issue for newer MySQL versions. 2020-07-04 08:44:08 +02:00
1484f4d464 Follow code convention for names of private fields in user manager code 2020-07-04 08:09:22 +02:00
f13ddfc5dd Allow underscores in IP address wildcards of users, in conjunction with --skip-name-resolve on the server. Closes #1080 2020-07-03 12:12:03 +02:00
3eb3480e1c Get rid of global esc() function (which always refers to MainForm.ActiveConnection) and prefer the method's or unit's connection object instead 2020-05-10 13:41:15 +02:00
05d02627f3 Make TConnectionParameters.IsMySQL specific to MySQL only, and rename the grouped type checks to IsAnyMySQL, IsAnyMSSQL etc. This way the status bar now shows "MySQL", not "MySQL or MariaDB" 2020-02-22 09:06:37 +01:00
35e9d88f43 Issue #80: Safely accept empty default value for probably non existing server variable "skip_name_resolve" in user manager. 2019-07-29 08:30:48 +02:00
fcdf323086 Let TExtForm translate all strings on a form, to reduce the code in any FormCreate event 2019-07-21 20:12:13 +02:00
88a9e53f0d Remove remainders of DPI related code, and move TExtForm.AddSizeGrip procedure to property .HasSizeGrip. Uses TSizeGripXP instead of TSizeGripThemed, as this looks quite the same. 2019-07-21 19:44:05 +02:00
c31cae2060 Giving up on high DPI readiness - remove tweaks which mostly don't work as expected, and even differently on various computers. Instead, let Windows blur fonts. 2019-07-18 20:53:53 +02:00
92c8f62b85 High DPI:
* remove ParentFont flag from forms again (introduced in 9cdcd631454f6f9e999893ea89fcf502d994474c for #213). This just inherits from default Windows settings.
* instead, scale font size in InheritFont(), and move that to the new TExtForm class
* mark app with PerMonitorV2 support
2019-07-17 21:59:18 +02:00
2a91a13b42 Issue #677:
* drop workaround for application crash on WinXP, when loading newer libmariadb (see #79)
* raise TDbLib's own exception instead of baking an own one with less details. Probably helps in debugging: https://www.heidisql.com/forum.php?t=34044
* rename EDatabaseError to EDbError, to overcome naming conflict in DB unit
* load libpq.dll always with path, which should anyway work better than without it. See http://www.heidisql.com/forum.php?t=22514
2019-07-08 20:23:05 +02:00
4f9613b05c High DPI: fix growing window dimensions on each opening. Related to #378 2019-07-07 21:22:19 +02:00
8f9abb2d3c Fix unwanted enabling FModified flag in user manager dialog, when just switching the main tab to "Limitations", followed by a crash due to no focused user. Closes #493. 2019-05-26 19:24:46 +02:00
493138de1c Fix wrong check for valid length of hashed password in MySQL 8 and MariaDB. Predefined length of 0, 16 and 41 characters is only valid with mysql_native_password plugin enabled users.
See https://www.heidisql.com/forum.php?t=26945#p27188
2019-05-26 19:00:52 +02:00
cdb10d8005 Required code updates for recent VirtualTreeview update 2018-12-11 21:50:26 +01:00
78788641d1 Query limitations in privileges can live in the very first GRANT, so don't reset these when the second one doesn't contain these. Closes #305. 2018-11-26 16:17:15 +01:00
2da1c6bceb Don't wrap new password in PASSWORD() function, on newer MySQL servers. Closes #325. 2018-11-26 15:53:47 +01:00
9cdcd63145 Issue #213: Assign system or custom font once, to the application, and let all forms inherit that font, so there is no need to call InheritFont() for each form. 2018-10-25 19:24:45 +02:00
0e73a8cb92 Issue #213: activate ParentFont on remaining TLabel's, so their font scales like all others 2018-10-24 20:01:29 +02:00
3bcc6f4749 Quick fix for user@host combinations displayed as if they had no password: use password or authentication_string based on its content, use the first non-empty one. See https://www.heidisql.com/forum.php?t=22805 2018-05-01 09:55:46 +02:00
5a8a4af29a Rename helpers unit to apphelpers, to overcome a naming conflict with the FireMonkey unit FMX.Canvas.GPU.Helpers. Closes #102. 2018-01-22 19:48:17 +01:00
ade0bd3f44 Support multiple objects selected in user manager > add object. 2016-08-29 18:37:00 +00:00
0ec226ce47 Do not complain about empty password when SHOW GRANTS output does not include the IDENTIFIED BY clause on MySQL 5.7.6+. See http://www.heidisql.com/forum.php?t=21351 2016-06-06 17:57:28 +00:00
1ffe9d00ef User manager: Allow double quotes in SHOW GRANTS output, to support ANSI mode. See http://www.heidisql.com/forum.php?t=19757 2015-11-27 18:12:17 +00:00
d02f9822b3 User manager: Select "authentication_string" instead of "password" column on MySQL 5.7.6+. See http://www.heidisql.com/forum.php?t=18650 2015-06-28 10:25:29 +00:00
9fc3c2a3bc Overtake username and hashed password from old user when cloning a user. See http://www.heidisql.com/forum.php?t=8943 2014-03-30 05:31:34 +00:00
75695bc90a Revert previous commit and handle VIEWs exactly as we handle tables in user management, except for the icon in front of the privilege, which we detect so the user can distinct between tables and views. 2014-03-03 18:26:33 +00:00
9c5a53445b Support VIEW privileges in user manager. Seems that MySQL has 3 of it: DROP, SHOW VIEW, CREATE VIEW - but does not distinct the GRANT commands to those of TABLE grants. So, we distinct views from tables by watching out if there is a view with the relevant name. Fixes issue #2732. 2014-03-03 05:21:15 +00:00
e8990c6447 Clone hostname for a cloned user. See http://www.heidisql.com/forum.php?t=14681 2014-01-29 09:09:07 +00:00
b22fa249f2 Allow localhost users to be edited again with the usermanager, in skip-name-resolve mode - localhost still seems to be a special case. Fixes issue #3472. 2013-12-18 05:30:21 +00:00