46 Commits

Author SHA1 Message Date
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
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
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
b93106a6fe Update VirtualTree component to r320 2011-11-01 09:32:34 +00:00
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
d0f7e7f505 Support account resources limits in user manager. Fixes issue #2492. 2011-07-14 19:54:37 +00:00
2f12b65fe9 Use image on close button, like the other buttons already do. 2011-02-09 06:54:28 +00:00
0f2db295a6 Fix top aligned, 2-line label, should be centered vertically. 2011-02-09 06:51:14 +00:00
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
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
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
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
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
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
37a05196ae Add useful hint for new password generator button in user manager dialog 2010-03-17 20:11:43 +00:00
bf2d8591f4 Missing file for r3176 2010-03-17 09:09:12 +00:00
558bafc0d7 Enable incremental search on keyboard presses in various lists and trees. Fixes issue #1769. 2010-03-15 17:52:09 +00:00
987154e5ae Slightly increase minimum dimensions of user manager dialog. Fixes issue #1746 2010-03-08 19:07:06 +00:00
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
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
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
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
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
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
aabd4bbf57 Add some more support for databases and tables with unicode characters. 2008-08-08 19:32:24 +00:00
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
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
6b1f0d1bfb Move some of the hints to a separate tab. Logically uglier but visually prettier. 2008-05-13 12:10:12 +00:00
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
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
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
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
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
56ef11a142 Expand dialog slightly so everything fits, even using Segoe UI. 2008-05-09 14:58:43 +00:00
dbe130ba74 Add a few more hints regarding the 'host' field. 2008-05-09 14:30:27 +00:00
a0546a403d Bugfix: changing a limitation did not cause a 'modified' icon in the account dropdown. 2008-05-09 11:48:55 +00:00
45cc7920dd GUI: More vertical spacing between controls on 'limitations' page. (Revert if you think this is uglier.) 2008-05-09 11:25:08 +00:00
c9460f215e Bugfix: (gui) anchor hint text correctly. 2008-05-09 11:20:31 +00:00
d4c32d56d7 Implement a completely new user manager (look + feel + logic):
- Accounts and existing privileges are presented in a pulldown which makes it as easy to use as a toy
- Adding privileges calls the new SelectDBO dialog which is basically a tree like childwins dbtree
- Updating accounts canonicalizes various odd/legacy mechanisms in the MySQL user system
- Fullfills feature request #1547437 (btw)
- Wants to be tested heavily on different servers

A result of a team work. 1000 thanks to rosenfield for the admin friendly logic implementation, tons of fixes and usability ideas.
2008-05-08 20:45:51 +00:00
85f91d87aa Dynamically fetch names of privileges on the "Add user" tab of the usermanager, as discussed on the mailinglist.
TODO: Refactor complete GUI of this dialog, nuke tabs and do both adding and editing users in one GUI.
2008-04-16 15:34:51 +00:00
9306da23b9 Remove Font properties of controls which have the same font assigned as the parent component but have ParentFont set to False. The effect of this change should be not visible in any form, only in the code of the DFM files.
Related revision: 956.
2008-03-09 21:00:35 +00:00
38caa4cd99 Make most "btnCancelClick" procedures superflous by assigning the correct ModalResult (mrCancel) to the relevant cancel buttons. 2008-03-09 20:27:12 +00:00
bd597d0c1d Use a PNGImageList and find replacements for nearly all icons in the application.
Sources:
- Mark James' Silk icons
- Everaldo's Crystal icons

Todo: Load icons at runtime
2008-03-04 00:20:38 +00:00
c13318714e Upgrade old forms to use Tahoma font. Adjust widths of various TLabel's to make their captions fit with the new font. 2007-09-26 19:36:19 +00:00
36d9603f3c Remove all remaining ExplicitXYZ properties.
Wrote a small console app which removes these properties automatically in a given directory. Feel free to download it at http://www.heidisql.com/files/explicit_sucks.exe and use it before committing *.dfm files.
2007-06-28 21:55:57 +00:00
3c8f123a81 Move *.pas, *.dfm and *.inc files from root directory to a new "source" subdirectory. Leaving just the readme in the root to give all newbies a very clear and unique starting point. 2007-06-28 20:00:04 +00:00