Commit Graph

61 Commits

Author SHA1 Message Date
Ansgar Becker
a872ed2a96 feat: filter box in user manager
Closes #2275
2025-10-17 15:40:23 +02:00
Ansgar Becker
9c5d8358e0 Automagic modifications to form files, done through updates of IDE and some components. Especially removes no longer published properties OldCreateOrder and PixelsPerInch. 2022-12-11 14:54:48 +01:00
Ansgar Becker
b3365319b0 Issue #1503: Set the new (slightly higher) default font size for 100% DPI setting on all other forms as well 2021-12-27 07:44:51 +01:00
Ansgar Becker
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
Ansgar Becker
04e7334bd0 Issue #906: disable animation for resizing columns per doubleclick, and activate Header.PopupMenu for some trees missing this menu 2020-07-08 10:35:48 +02:00
Ansgar Becker
bcc72252a5 Activate hoAutoResizeInclCaption option on all VirtualTree headers, so auto-resizing per double click takes the column captions into account. Closes #906 2020-07-05 12:13:48 +02:00
Ansgar Becker
3182107aff Automatic form additions, done by the new IDE: "ImageName". Related to #1052 2020-06-07 20:11:24 +02:00
Ansgar Becker
92c8f62b85 High DPI:
* remove ParentFont flag from forms again (introduced in 9cdcd63145 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
Ansgar Becker
dc0d2fdd75 Move red warning label in user manager up a bit. Fixes invisible warnings. 2019-05-26 08:37:39 +02:00
Ansgar Becker
aa0540921c Issue #448: Apply 192 new icons mainly from Icons8 gallery, with an OpenSource permission (talked to Eugenie from Icons8) 2019-01-26 19:15:25 +01:00
Ansgar Becker
8475f383dc High DPI code enhancement: Enable TreeOptions.AutoOptions.toAutoChangeScale flag on all VirtualTrees, and remove code which did that scaling programmatically. Probably only working with the new version of VirtualTree. 2018-12-16 20:14:19 +01:00
Ansgar Becker
f01171f8b5 Decrease Constraints.MinWidth/MinHeight, as values too near at the actual ClientWidth/Height seem to move controls at the bottom right corner up and left. Closes #435. 2018-12-16 18:51:41 +01:00
Ansgar Becker
cdb10d8005 Required code updates for recent VirtualTreeview update 2018-12-11 21:50:26 +01:00
Ansgar Becker
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
Ansgar Becker
0e73a8cb92 Issue #213: activate ParentFont on remaining TLabel's, so their font scales like all others 2018-10-24 20:01:29 +02:00
Ansgar Becker
d52d304361 Adjust width of even some more controls so they fit to the translated captions (at least in German). See https://www.transifex.com/messages/view/22056/ 2012-12-08 10:56:58 +00:00
Ansgar Becker
bf3ff4eecb Adjust width of more controls so they fit to the translated captions (at least in German). Related to issue #557. 2012-12-08 07:38:50 +00:00
Ansgar Becker
aedbb997ab Support GRANT .. REQUIRE syntax in user manager with a new "SSL options" tab. Fixes issue #2671. 2012-01-05 20:44:49 +00:00
Ansgar Becker
b93106a6fe Update VirtualTree component to r320 2011-11-01 09:32:34 +00:00
Ansgar Becker
1c55121a11 Deactivate toAutoScrollOnExpand in object selector, so 1st level nodes do not get out of sight when un/checking one of them. 2011-09-20 21:33:22 +00:00
Ansgar Becker
d0f7e7f505 Support account resources limits in user manager. Fixes issue #2492. 2011-07-14 19:54:37 +00:00
Ansgar Becker
2f12b65fe9 Use image on close button, like the other buttons already do. 2011-02-09 06:54:28 +00:00
Ansgar Becker
0f2db295a6 Fix top aligned, 2-line label, should be centered vertically. 2011-02-09 06:51:14 +00:00
Ansgar Becker
08513f1d88 Improve user manager: Include inactive users in users list and disable these nodes. Just to make clear they exist, and the user should fix them manually. 2011-02-05 07:23:43 +00:00
Ansgar Becker
ca58d88410 Improve password generator on user manager dialog: Create a drop down menu containing groups of passwords in several lengths. Do not automatically copy to clipboard, and leave the password visible as long as the user did not type manually. 2011-02-05 06:37:43 +00:00
Ansgar Becker
95f50b9ca5 Improve user manager: Add drop down menu to "From host" input, containing some predefined hosts plus all unique ones from the users list. 2011-02-03 23:50:01 +00:00
Ansgar Becker
6988d82c55 User manager: Split user list into username and host column, and allow sorting by header click. Also, add overlay icons for users with empty passwords, and added privilege objects. 2011-01-30 23:25:28 +00:00
Ansgar Becker
b6f7c17ac1 Rewrite code behind user manager dialog:
- Use GRANT + REVOKE queries as recommended by MySQL.
- Fixes various wrong INSERTs/UPDATEs which were intended to normalize structure in mysql db.
- Remove features: max query count per hour/day/...
- Enables user to assign stored routine privileges now, see http://www.heidisql.com/forum.php?t=6684
- Add "Clone user" button, fixes issue #1316
- Add "Repeat password" edit box, fixes issue #1461
- Paint privilege text in different colors for read/write/admin commands.
2010-11-10 21:15:54 +00:00
Ansgar Becker
1ffea39756 Validate user + host name input in OnExit, not OnChange, which is too early when one of them gets reset. Fixes issue #1794. 2010-03-24 17:05:21 +00:00
Ansgar Becker
37a05196ae Add useful hint for new password generator button in user manager dialog 2010-03-17 20:11:43 +00:00
Ansgar Becker
bf2d8591f4 Missing file for r3176 2010-03-17 09:09:12 +00:00
Ansgar Becker
558bafc0d7 Enable incremental search on keyboard presses in various lists and trees. Fixes issue #1769. 2010-03-15 17:52:09 +00:00
Ansgar Becker
987154e5ae Slightly increase minimum dimensions of user manager dialog. Fixes issue #1746 2010-03-08 19:07:06 +00:00
Ansgar Becker
812cbc82b6 Apply a new style to the user manager dialog:
* Use 2 VirtualTree's instead of broken TComboBoxEx pulldown's
* Enlarge the user list so all items are visible at once
* Privilege objects now use a tree style, 1st level is the objects name, 2nd level is the privilege name ("select", "update" ...)
Fixes issue #1707
2010-02-20 17:12:54 +00:00
Ansgar Becker
e045cb3d76 Delphi 2010 has PNG + alpha channel support in TImageList, so we don't need PNGcomponents any longer. 2010-02-08 00:36:17 +00:00
Ansgar Becker
c06dd0d8bf Fix mysterious endless loop in user manager, after having focused the password editor once. Make use of Delphi's new TextHint property to display the old hashed password, instead of assigning and removing OnChange handlers all the time. Fixes issue #1658. 2010-02-06 13:48:39 +00:00
Ansgar Becker
30e40ac897 Automatic dfm changes by IDE: Removed ComboBox.ItemHeight property and auto-adjusted dimensions of various buttons and other controls. 2010-01-30 08:15:31 +00:00
Ansgar Becker
7d401ffde8 Upgrade to Delphi 2010:
* Removes TNT Unicode controls, which are no longer required. All VCL controls now have native Unicode support.
* Remove Delphi 11 packages, otherwise we would either need to keep TNT or break Unicode
* PngComponents update from Uwe Raabe on http://cc.embarcadero.com/Item/26127
* Adjust auto build process
* Since Delphi 2009, Strings are now UnicodeStrings, not AnsiStrings any longer. Fix a bunch of compiler errors which came along with this change.
TODO: Project should compile but give tons of compiler warnings.
2010-01-05 23:14:33 +00:00
Ansgar Becker
45fa64fe81 Wrap most queries in a try..except block which may fail with a SQL privilege error. So these places do not raise an exception at user level. Exceptions should only raise in unpredictable error situations. Important for reactivating the MadExcept dialog. 2009-11-22 18:07:53 +00:00
Ansgar Becker
aabd4bbf57 Add some more support for databases and tables with unicode characters. 2008-08-08 19:32:24 +00:00
rosenfield
36efcf48ed Rename Settings tab to Authentication.
Settings may be a bit too generic a word to be a useful term here.
2008-05-14 09:25:21 +00:00
Ansgar Becker
098893403e Rethinking minimum dimensions of usermanager form, now that the notes are placed on a seperate tab to take less room. 2008-05-13 17:39:26 +00:00
rosenfield
6b1f0d1bfb Move some of the hints to a separate tab. Logically uglier but visually prettier. 2008-05-13 12:10:12 +00:00
Ansgar Becker
b095a2abb2 memoHints lacks a Transparent property and looks ugly in XP theming where the pages of a pagecontrol normally have a different color than clBtnFace. Convert the TMemo to a TLabel and set that to transparent. 2008-05-12 08:07:12 +00:00
Ansgar Becker
2688c224a4 Cosmetic: Adjust minimum width and height of usermanager dialog to match the dimensions changed in rev 1365 2008-05-12 06:56:31 +00:00
rosenfield
fc5459c443 * Bugfix: Vista fixation panels were incorrectly anchored.
* Add a few hints that are pretty crucial to understanding the quirks of the MySQL privilege system.
2008-05-10 19:43:32 +00:00
rosenfield
f7e5c5cb8f "disable login" seems more appropriate than "disable account", since disabling authentication with password does not render the privileges for an account unusable by other accounts.
Perhaps there should be a hint under privileges a la 'notice that privileges granted to more generic accounts will also affect this user'.  OTOH, the amount of hints has already grown to 'confusing'..
2008-05-10 11:14:49 +00:00
rosenfield
4873f32e10 Bugfix: work around misplaced icons on Vista.
(I'm in 16-color mode right now, so if things look weird then that's why!)
2008-05-10 11:04:18 +00:00
rosenfield
56ef11a142 Expand dialog slightly so everything fits, even using Segoe UI. 2008-05-09 14:58:43 +00:00
rosenfield
dbe130ba74 Add a few more hints regarding the 'host' field. 2008-05-09 14:30:27 +00:00