aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPUserManager.m
Commit message (Collapse)AuthorAgeFilesLines
* Correctly quote database name when GRANT'ing and REVOK'ing privileges. Fixes ↵stuconnolly2010-04-271-2/+2
| | | | issue #647.
* Tidy up imports and fix 'Reverse Sort Order' when sorting connection ↵stuconnolly2010-03-311-2/+0
| | | | favorites (Thanks Hans).
* - Make [MCPConnection getLastErrorMessage] more consistent by always ↵rowanbeentje2010-03-251-1/+1
| | | | | | | returning nil if no error occurred (previously a blank string was returned most of the time) - Add a new (BOOL)[MCPConnection queryErrored] method, changing all error message checks to use it for clarity
* - Remove observers for key paths when dealloc'ing objects to fix later ↵rowanbeentje2010-03-231-4/+2
| | | | | | | crashes when changing those keyvalues (eg changing query editor background colour after closing windows - http://log.sequelpro.com/view/44 ) - Fix a memory leak of a prefs reference in CMTextView
* - Make a number of changes to attempt to improve disconnection/quit ↵rowanbeentje2010-03-161-2/+2
| | | | | | | | | crashes: prevent multiple disconnects, add more checks, cancel current queries, and add a tiny delay to allow mysql cleanup. - Alter MCPStreamingResult to no longer return a retained instance, setting up correct result disposal on autorelease but changing callers to retain as soon as they receive. - Review and change a number of local variables shadowing/shielding other local or global variables.
* Fix an exception in the user manager caused by sorting the users list by ↵stuconnolly2010-03-091-56/+120
| | | | making the user manager KVO compliant for the sort descriptors array. Also, add a bunch of comments and general tidy up on SPUserManager.m.
* Fix user manager splitview maximum and minimum sizes.stuconnolly2010-03-081-1/+6
|
* Various user manager improvements including a new outline view contextual menu.stuconnolly2010-03-081-11/+12
|
* Remove semi-colons from user manager queries as they're not needed.stuconnolly2010-03-081-5/+5
|
* Localise SPExtendedTableInfo.m and remove use of multiple comments for ↵stuconnolly2010-03-031-6/+6
| | | | localised strings.
* Made Available Privs table not enabled unless a schema is selected.mltownsend2010-02-141-1/+5
|
* Fixed some issues with the drop user/drop host commands in the user managermltownsend2010-02-091-6/+28
|
* Fix bug where adding a user, setting name and password, then immediately ↵mltownsend2010-02-081-15/+31
| | | | hitting Apply didn't end editing in the password field.
* Localize delete relation context menu item, update Localizable.strings and ↵stuconnolly2010-02-061-2/+2
| | | | use of multiple keys.
* Fix for issue #560. Still needs validation on hitting Apply, but fixes the ↵mltownsend2010-02-041-3/+55
| | | | initial problem.
* Patch to filter available privs by what the server supportsmltownsend2010-02-031-2/+1
|
* Fixed refresh problem on the schema privsmltownsend2010-02-031-0/+3
|
* Moved the schema priv tab over and selected first host if user is selected ↵mltownsend2010-02-021-1/+2
| | | | when tab is selected.
* Fix weird issue with lines not compiling in release mode.mltownsend2010-02-021-4/+4
|
* Refresh function added to user manager.mltownsend2010-02-021-6/+7
|
* First stab at Schema Privileges. A UI redesign is on its way. Please test ↵mltownsend2010-02-021-9/+346
| | | | on non Production servers
* Address Issue #546 (format string bugs):rowanbeentje2010-01-201-5/+5
| | | | | | - Fix incorrect uses of [NSString stringWithFormat:] with preconstructed strings and no arguments in SPUserManager - To fix display issues, replace NSBeginAlertSheet (which includes automatic sprintf expansion of the message) with a safely-escaped SPBeginAlertSheet in many files
* - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for ↵rowanbeentje2010-01-091-8/+6
| | | | | | | release builds, including a large number of 64bit compatibility upgrades and tweaks - Upgrade RegexKitLite to 3.3
* - Ensure all results for server variable requests are returned as strings, ↵rowanbeentje2010-01-031-0/+2
| | | | | | | to avoid binary-mode result issues with certain versions of MySQL (including 4.1.14). This should address Issue #509. - TableDocument now requests the server version string from MCPConnection, aiding caching
* - Work through static analysis of the source, fixing a number of small ↵rowanbeentje2009-12-141-1/+1
| | | | memory leaks and fixing a couple of over-releases
* Added ability to change the users password. Only does it for all hosts at ↵mltownsend2009-12-071-5/+26
| | | | once. This is the same behavior as other clients. If it is necessary to have a different password for each user/host combination, then we could probably do that. Just makes the UI a little confusing, IMO.
* Moved the SPUserMO source into the Core Data folder with the model. Added ↵mltownsend2009-12-041-0/+2
| | | | comments to SPUserManager
* Made the tab selection a little more intuitivemltownsend2009-12-031-20/+34
|
* Fix for issue with having multiple connections open and managing users.mltownsend2009-12-031-4/+16
|
* Fixed user sort and added Anonymous displayName when username is emptymltownsend2009-12-021-0/+7
|
* Various user manager changes. Fixes issue #437.stuconnolly2009-11-171-40/+46
|
* Fixed memory issues with SPUserManager.mltownsend2009-11-051-10/+15
|
* Added comments to help with explaining some of the Core Data concepts.mltownsend2009-11-031-10/+31
|
* Got rid of a crash when using the User Manager and closing last Table ↵mltownsend2009-10-291-43/+44
| | | | Document. May be leaking now, not sure. Still needs some work.
* Tidy up.stuconnolly2009-10-231-75/+61
|
* - Display the user accounts manager as a sheetstuconnolly2009-10-211-37/+60
| | | | | - Tidy up a bunch of interface controls and bahaviour
* Attempt to fix connection problemmltownsend2009-10-201-16/+13
|
* Significant User Management improvements:rowanbeentje2009-10-161-44/+112
| | | | | | | | | | | | - When reading data from the server, correctly map values to the SPUser object values to prevent data loss - Ask server for priv support; disable unsupported privs in the interface, and only try to grant/revoke supported privs. Fixes errors saving users on MySQL < 6. - Make "check all" and "uncheck all" buttons functional - Add checkboxes for MySQL 6 privs as we already map the data for them - Fix double retain of priv mapping dictionary - Error dialogs stay on screen for longer than half a second - New hosts are now selected for editing when added This addresses some of the issues in Issue #349.
* Made it so that SPTableView and SPOutlineView will respond to enter or ↵mltownsend2009-08-251-3/+9
| | | | return being hit when a row is selected and go into edit mode.
* - Small code clean up. Simplified some logic.avenjamin2009-08-241-25/+6
|
* User manager tweaks:rowanbeentje2009-08-151-6/+3
| | | | | | | - Don't select the mysql database - make selections directly from the table where appropriate - Tweak REVOKE syntax to use FROM instead of TO - Rename "create temporary table" permission to "create temporary tables" so it saves correctly
* small changemltownsend2009-08-141-9/+1
|
* Change SPUserManager to a subclass of NSWindowController which actually ↵mltownsend2009-08-131-5/+5
| | | | fixed some memory issues.
* Fix problem with opening and reopening connectionsmltownsend2009-08-111-2/+8
|
* Fix some MainMenu references by index.mltownsend2009-08-111-5/+4
|
* Minor tweaks.mltownsend2009-08-111-15/+19
|
* User Manager featuremltownsend2009-08-111-0/+680