Commit Graph

1435 Commits

Author SHA1 Message Date
Michael Jumper
901424593a Ticket #269: Fix NPE in connection record re: dates. 2013-03-03 16:12:33 -08:00
Michael Jumper
5bed9f5735 Ticket #269: Do not allow mutation of external connection record. 2013-03-03 15:40:55 -08:00
Michael Jumper
1a12a73d2a Remove unused imports. 2013-03-03 14:59:39 -08:00
Michael Jumper
8e3ea61126 Ticket #269: Fix whitespace errors. 2013-03-03 14:52:49 -08:00
James Muehlner
0810d082d3 Ticket #269: Improvements made with regards to the connection history. 2013-03-03 14:28:11 -08:00
Michael Jumper
1d570737de Use username in connection record, not full-blown user. 2013-03-03 13:00:53 -08:00
Michael Jumper
24fcccc69c Use username in connection record, not full-blown user. 2013-03-03 13:00:43 -08:00
Michael Jumper
0a6206e0e9 Delete buttons should be red. 2013-03-03 11:24:13 -08:00
Michael Jumper
420b995af6 Support for adding administrative permissions to users (when admin permission present). 2013-03-03 00:04:33 -08:00
Michael Jumper
b529c31fb4 Add try/catch around error-throwing service calls. 2013-03-02 21:34:05 -08:00
Michael Jumper
bdeab82f5d Prompt user for user/connection deletion. 2013-03-02 19:11:33 -08:00
Michael Jumper
33c90df945 Handle error responses via JS. 2013-03-02 19:08:08 -08:00
Michael Jumper
0db2f6d394 Improve error handling with universal, proper HTTP codes. 2013-03-02 17:53:39 -08:00
Michael Jumper
3b459d7b8e Ticket #269: Complete some TODO items, replace with others. 2013-03-01 16:42:42 -08:00
Michael Jumper
2ee554694b Ticket #269: Connection permission check should actually check connections. Add generatedKey elements to generatorConfig.xml such that IDs are queried back after insert of users and connections. 2013-03-01 11:41:39 -08:00
Michael Jumper
dbafe68cd4 Ticket #269: Major cleanup of permissions service. 2013-03-01 03:39:49 -08:00
Michael Jumper
a42167ecc3 Ticket #269: Add functions for converting permsion type enum values to MySQL constants. 2013-03-01 02:39:36 -08:00
Michael Jumper
1348164a32 Ticket #269: Remove unused imports. 2013-02-28 21:18:52 -08:00
Michael Jumper
ccb4730bc4 Ticket #269: Add missing semicolon to end of script. 2013-02-28 21:08:58 -08:00
Michael Jumper
813fa5c524 Ticket #269: Rename scripts such that they can be easily run in order. 2013-02-28 20:21:39 -08:00
Michael Jumper
f8fec18909 Ticket #269: Leverage Maven's source generation features to generate MyBatis mappings. 2013-02-28 20:00:31 -08:00
Michael Jumper
06b1d4df18 Ticket #269: Rely on ON CASCADE DELETE for deletion of entries related to connections and users. 2013-02-28 11:05:44 -08:00
Michael Jumper
cde665346b Ticket #269: Move all use of ConnectionMapper to ConnectionService. 2013-02-28 01:41:20 -08:00
Michael Jumper
a854b8f124 Ticket #269: It's SHA, not Sha. 2013-02-28 00:51:15 -08:00
Michael Jumper
bc41becdf3 Ticket #269: Add ConnectionService, get rid of ProviderService. 2013-02-28 00:24:28 -08:00
Michael Jumper
b67a074c4b Ticket #269: Add missing period. 2013-02-27 23:24:35 -08:00
Michael Jumper
554b30f47b Ticket #269: retrieveUser() should take int, not Integer. 2013-02-27 23:08:35 -08:00
Michael Jumper
88cae0c8e0 Remove whitespace at end of lines (again...) 2013-02-27 22:54:08 -08:00
Michael Jumper
1f1b586ab3 Ticket #269: Add support for system ADMINISTER permission. 2013-02-27 22:52:38 -08:00
Michael Jumper
695b05c14d Ticket #269: Remove unused ConfigurationTranslationService. 2013-02-27 22:43:24 -08:00
James Muehlner
c0d69860cb Ticket #269: Added new ADMINISTRATE permission to guacamole_system_permission. 2013-02-27 18:16:43 -08:00
Michael Jumper
c105b62615 Ticket #269: Refactor all user access into UserService, remove usage of UserMapper outside UserService. 2013-02-27 18:10:45 -08:00
Michael Jumper
6c303181e3 Remove unused variable. 2013-02-27 16:28:35 -08:00
Michael Jumper
b712d2f128 Remove trailing whitespace. 2013-02-27 16:27:17 -08:00
Michael Jumper
a84b9d2094 Refactor to support new SystemPermission organization (no more *DirectoryPermission classes). 2013-02-27 16:20:09 -08:00
Michael Jumper
64c2faa61d Ticket #269: Refactor to support new SystemPermission organization (no more *DirectoryPermission classes). 2013-02-27 16:19:51 -08:00
Michael Jumper
dea4791669 Refactor SystemPermission to concrete class with CREATE_USER, CREATE_CONNECTION, and ADMINISTER permissions. Remove now-obsolete ConnectionDirectoryPermission and UserDirectoryPermission. 2013-02-27 15:49:58 -08:00
Michael Jumper
66fece64f4 Ticket #269: Do not requery connection when updating. 2013-02-26 21:24:09 -08:00
Michael Jumper
65a31775b6 Use connection provided by auth provider for update(), not DummyConnection. 2013-02-26 21:21:58 -08:00
Michael Jumper
39a2d4eae7 Ticket #269: Add missing JavaDoc for MySQLConnection, remove whitespace at ends of lines. 2013-02-26 21:17:57 -08:00
James Muehlner
79872b9012 Ticket #269: Fixed password initialization in create user script, and removed hard-coded database names in XML mapping files. 2013-02-26 21:13:49 -08:00
Michael Jumper
6a74e62caa Ticket #269: Removed equals() and hashCode() from MySQLConnection (now present in AbstractConnection). 2013-02-26 20:26:46 -08:00
Michael Jumper
21b41190b1 Add equals() and hashCode() to AbstractConnection. 2013-02-26 20:16:36 -08:00
Michael Jumper
611a613589 Ticket #269: Working connection read/write, reorganization. 2013-02-26 20:01:57 -08:00
Michael Jumper
c3d21a5e8e Ticket #269: Add missing parameter to user init(). 2013-02-26 19:03:43 -08:00
Michael Jumper
d06dda94d7 Ticket #269: Make separation of concerns in MySQLUser more strict. 2013-02-26 19:02:51 -08:00
Michael Jumper
ffe49b4347 Ticket #269: Rename service variables from *Utility to *Service. 2013-02-26 16:04:32 -08:00
Michael Jumper
c39a8dfe35 Ticket #269: Fix JavaDoc. 2013-02-26 12:40:19 -08:00
Michael Jumper
64d301dfb3 Ticket #269: Refactor password service to not depend on Credentials (password only). Remove database semantics from non-database password service. 2013-02-26 12:15:40 -08:00
Michael Jumper
77f83dfaa4 Ticket #269: Remove unused import. 2013-02-26 12:13:49 -08:00