Commit Graph

725 Commits

Author SHA1 Message Date
rosenfield
3ce71e04fd Bugfix: some servers do not have all the max_xxx columns. 2008-05-13 12:37:34 +00:00
rosenfield
6225147165 * Bugfix: minor inconsistency when re-editing password.
* Color the password field light grey when it's showing a hash.
2008-05-13 12:32:00 +00:00
rosenfield
26c83c8274 Bugfix: selecting the limitations tab would cause the user to appear as modified. 2008-05-13 12:22:05 +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
8ab35a23a5 Fix firing queries in the wrong (= mysql) database after closing the user manager. ExecUseQuery also sets Connection.Database which is then compared with ActiveDatabase later in ExecXXQuery. 2008-05-12 22:28:59 +00:00
Ansgar Becker
8f26db8090 Try to create bigger and darker bullet icons for representing columns and its neighbours in ListColumns. The column icon is also used in the usermanager btw. I don't think they're too pretty now but they'll do their job better than before. Please shout if you find prettier icons. 2008-05-12 22:22:01 +00:00
Ansgar Becker
ea56b16601 Add a Help button to Maintenance dialog which basically calls the SQL help window and automatically browses to "OPTIMIZE". Other components slightly adjusted to fit. 2008-05-12 18:01:44 +00:00
Ansgar Becker
d0a0a22443 Display sizegrip in the lower right corners of all resizable forms which have no TStatusbar. (For copyright notices see code in helpers.pas) 2008-05-12 17:55:06 +00:00
Ansgar Becker
e28e530488 The usermanager dialog is once created and then held in memory by main.pas, not by childwin.pas. Move preparing hints from FormCreate to FormShow to ensure the SHOW VARIABLES part is executed on the relevant server connection. 2008-05-12 08:18:46 +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
5e0c5a235a Bugfix: consistency when editing the user name field. 2008-05-10 19:56:44 +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
servertude
05e209e3bd implement Import Files Into Blobs 2008-05-09 23:13:38 +00:00
servertude
5a60563243 update AJL runtime 2008-05-09 23:13:02 +00:00
servertude
c633da482d fix improper statement generation 2008-05-09 22:45:46 +00:00
servertude
4cccdb786b fix command line params 2008-05-09 22:45:14 +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
rosenfield
e57857c975 * Bugfix: Allow editing the 'fallback' password and privileges.
Note on verbiage:  I chose "Everybody" rather than "Everyone" or "Fallback" as the pretty name for this account.

"Fallback" just seemed like it was misplaced in the user dropdown list.

"Everyone" seems to mean individuals in a group, while "everybody" seems to mean the group as a whole.  Thus "everyone" is a bit more personal.

This could convey the notion that you need to have a personal account before these privileges will apply to you, which is not the case.  Anyone that logs in with a non-existent user name will get these privileges.

Therefore, "Everybody".  It hopefully denotes that the privileges are given to everyone with a personal account, PLUS people authenticating with a rubbish user name (and the password, if any).

This last category of logins are commonly called "anonymous users" in the MySQL documentation.  "Anonymous" does not quite fit this account however, because the privileges given also apply to everyone else.

* Bugfix: Copy + paste same text in the username field caused a warning.
2008-05-09 13:35:26 +00:00
rosenfield
9ca0cea574 Add two more icons: group {add,delete}. 2008-05-09 13:09:47 +00:00
rosenfield
e5a8981c66 Partial revert of r1348: restore the group edit icon, which is going to be used in a moment. 2008-05-09 12:49:09 +00:00
rosenfield
ec685f50b7 Bugfix: Host='' and Host='%' means the same. Canonicalization was in place here and there, but also missing in a couple of spots. 2008-05-09 12:38:56 +00:00
rosenfield
a0546a403d Bugfix: changing a limitation did not cause a 'modified' icon in the account dropdown. 2008-05-09 11:48:55 +00:00
rosenfield
d4ead47114 Flush privileges after apply. 2008-05-09 11:32:28 +00:00
rosenfield
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
rosenfield
c9460f215e Bugfix: (gui) anchor hint text correctly. 2008-05-09 11:20:31 +00:00
Ansgar Becker
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
rosenfield
54de398a1c Bugfix: Avoid scroll by removing blank line outside visible area in Authors text box. 2008-05-05 17:23:50 +00:00
servertude
a44917865f fix flush privs 2008-05-04 09:54:07 +00:00
servertude
6cc245e6fa fix typos and case 2008-05-04 09:48:34 +00:00
servertude
a8a53abcb8 ajl jar update 2008-05-04 09:22:58 +00:00
servertude
0adff2ed8b implement user manager 2008-05-04 09:19:49 +00:00
servertude
5e9b4c953e add maintenance to toolbar 2008-05-04 09:19:07 +00:00
servertude
fd70a75d74 add maintenance to toolbar 2008-05-04 09:15:28 +00:00
servertude
1f2a0c5985 move menu items to toolbar 2008-05-04 09:13:26 +00:00
servertude
204cb95086 add swing worker support 2008-05-04 09:09:17 +00:00
servertude
20f6e47a2a add window icon 2008-05-04 09:07:49 +00:00
servertude
8615654f93 add window icon 2008-05-04 09:06:35 +00:00
servertude
bfc285ccd0 add window icon 2008-05-04 09:06:00 +00:00
servertude
2319e21e34 add window icons to popups 2008-05-04 09:04:32 +00:00
servertude
611919ab04 change to use selectAll event 2008-05-04 09:02:36 +00:00
servertude
787b84a393 add window icon 2008-05-04 09:02:06 +00:00
servertude
dd85b8d011 add window icon 2008-05-04 09:01:10 +00:00
servertude
0fe320b4b3 add window icon 2008-05-04 09:00:38 +00:00
servertude
ed9bdc89a6 add window icon 2008-05-04 09:00:22 +00:00
servertude
825d6c70ed add window icon 2008-05-04 08:59:55 +00:00
servertude
51d2feff41 add window icon 2008-05-04 08:59:38 +00:00