aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPUserManager.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix user manager throwing an exception when mysql.user.authentication_string ↵Stuart Connolly2017-03-211-3/+3
| | | | is NULL.
* Don’t execute REVOKE query when adding new users (part of #2229)Max Lohrmann2016-12-071-0/+2
|
* * Add support for changing user passwords in MySQL 5.7.6+ (#2418)Max2016-02-291-0/+3
| | | | * Upgrade xcdatamodel to Xcode 4.3+ so it becomes a diffable textfile
* * Remove restriction on 16 chars for username in User Manager (#1886)Max2015-11-181-7/+9
| | | | | * Change user manager code so that mysql queries are executed on validation instead of after save (in Core Data, not mysql). This should in general make more sense since a failure in MySQL essentialy means that Core Data can't save it either (but did anyway in the past). * Remove a deprecated method call that is no longer needed in 10.6+
* Attempt to fix #1961Max2014-11-111-0/+8
| | | | | | | | | | | | | Namely this commit changes two things: 1) In the past the user manager window technically was closed after it was released (SPUserManager.m:491): [NSApp endSheet:[self window] returnCode:0]; //-> calls delegate, which calls release [[self window] orderOut:self]; This call order has now been swapped. 2) Because the delegate is invoked directly by NSApp, the release was called before other UI elements had finished their cleanup from orderOut:. The delegate callback is now put on the runloop to give other stuff priority. Requesting QA on this commit.
* Update URL in source file header to point to GitHub.Stuart Connolly2014-01-261-1/+1
|
* Remove SVN property placeholder.Stuart Connolly2014-01-261-2/+0
|
* - Fix release builds after r4041rowanbeentje2013-03-101-0/+1
| | | | | - Update localizable strings
* Tweak and improve the User Manager:rowanbeentje2013-03-091-1/+2
| | | | | | | | | - Rework how data to populate the user manager is retrieved from the server, speeding up display of lots of users by a large factor - Fix support for schema permissions for the Anonymous user, and add support for '%' and '' hostnames (only showing if already set once), fixing Issue #1620 - Highlight databases in the user manager that have permissions set for the selected user - Switch to using the centrally provided database list to reduce queries and remove the information_schema and performance_schema "databases" - Speed up a number of operations by tweaking the logic and queries used
* - Remove all BWToolKit views from the QueryFavoriteManager and ↵rowanbeentje2012-08-031-4/+3
| | | | UserManagerView, replacing with SPSplitViews and standard equivalents
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-14/+24
|
* User manager code tidy up.stuconnolly2012-03-281-2/+2
|
* - Tidy up user manager code.stuconnolly2012-03-261-2/+1
| | | | | - Potential framework header build fix.
* Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-5/+3
| | | | | | | | | | | | exceptions as database structure retrieval is currently missing! Further work on SPMySQLFramework integration: - Improve SPMySQL framework build settings including correct ppc builds and a Distribution configuration for the build distributions to match - Add new convenience querying and result methods to the framework - Amend Sequel Pro source to use the new SPMySQL.framework methods everywhere, replacing MCPKit methods where they differ and improving some functions - Remove MCPKit from the source - Fix a number of warnings on Release-style builds
* - Fix more warningsrowanbeentje2011-03-141-0/+1
|
* - When saving user changes to the database, catch errors and display them ↵rowanbeentje2011-01-201-0/+7
| | | | | | | | in a single sheet for review. This fixes a number of isGroupRow crashes on any error. - Track a host row's original host to allow host edits - Update localisable strings
* Tidy up.stuconnolly2010-10-191-1/+0
|
* Various improvements to server capability/version checking, including:stuconnolly2010-10-071-1/+7
| | | | | | | | | | | | | - Add a new ServerSupport class, for which an instance is created upon each new connection and is then subsequently accessible via SPDatabaseDocument. - Replace the majority of manual version checking with calls to properties in the above new class. - Improve the user manager's compatibility with MySQL 3 and 4 servers. Fixes issue #811 Other changes include: - Disable the encoding popup button when adding a new table or database to servers running pre MySQL 4.1 as it only contains one option, 'Default'. - Fix various potential memory leaks discovered during static analysis. - General tidy up and comments.
* Changed the refresh method so that it creates a new persistentstore as well ↵mltownsend2010-05-281-2/+2
| | | | and clearing out the outlineview.
* Fields in Resources tab of User Manager actually will persist now.mltownsend2010-05-211-0/+1
|
* Remeber to refresh the user manager's schemas table view when switching to ↵stuconnolly2010-04-271-1/+1
| | | | the schema privileges tab. Fixes issue #648.
* Tidy up imports and fix 'Reverse Sort Order' when sorting connection ↵stuconnolly2010-03-311-1/+2
| | | | favorites (Thanks Hans).
* Fix an exception in the user manager caused by sorting the users list by ↵stuconnolly2010-03-091-3/+5
| | | | 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-2/+4
|
* Various user manager improvements including a new outline view contextual menu.stuconnolly2010-03-081-1/+1
|
* Fix bug where adding a user, setting name and password, then immediately ↵mltownsend2010-02-081-0/+1
| | | | hitting Apply didn't end editing in the password field.
* First stab at Schema Privileges. A UI redesign is on its way. Please test ↵mltownsend2010-02-021-0/+28
| | | | on non Production servers
* Fixed user sort and added Anonymous displayName when username is emptymltownsend2009-12-021-0/+1
|
* Various user manager changes. Fixes issue #437.stuconnolly2009-11-171-4/+4
|
* Fixed memory issues with SPUserManager.mltownsend2009-11-051-0/+1
|
* Got rid of a crash when using the User Manager and closing last Table ↵mltownsend2009-10-291-7/+3
| | | | Document. May be leaking now, not sure. Still needs some work.
* Tidy up.stuconnolly2009-10-231-2/+4
|
* - Display the user accounts manager as a sheetstuconnolly2009-10-211-1/+0
| | | | | - Tidy up a bunch of interface controls and bahaviour
* Attempt to fix connection problemmltownsend2009-10-201-2/+1
|
* Significant User Management improvements:rowanbeentje2009-10-161-1/+5
| | | | | | | | | | | | - 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.
* small changemltownsend2009-08-141-2/+0
|
* Change SPUserManager to a subclass of NSWindowController which actually ↵mltownsend2009-08-131-2/+2
| | | | fixed some memory issues.
* User Manager featuremltownsend2009-08-111-0/+73