Commit Graph

1295 Commits

Author SHA1 Message Date
Michael Jumper
e8bba941e1 Ticket #269: Fixed multiple permission validation issues + query efficiency. 2013-03-03 23:28:24 -08:00
James Muehlner
3b7618a030 Ticket #269: Only a system administrator can add system permissions. 2013-03-03 21:58:41 -08:00
James Muehlner
00a699ade0 Ticket #269: Added full system administrator access to everything, and throwing GuacamoleClientException when empty or duplicate users or connections are added, or multiple connections are attempted when disallowed. 2013-03-03 20:19:46 -08:00
James Muehlner
4bfc219324 Ticket #269: ADMINISTER permission granted to admin user. 2013-03-03 19:39:43 -08:00
Michael Jumper
7046bd76e3 Paginate history. 2013-03-03 19:14:49 -08:00
James Muehlner
6958b01eab Ticket #269: Limit maximum number of connection history records to 100. 2013-03-03 19:12:08 -08:00
Michael Jumper
a26ed664d0 Ticket #269: Allow query with limit. 2013-03-03 18:56:26 -08:00
Michael Jumper
1fce03279e Zero-duration connections should still show as ended. 2013-03-03 18:42:11 -08:00
Michael Jumper
170ffed02a Gray out connections that are in-use. 2013-03-03 16:43:41 -08:00
Michael Jumper
df1bf63525 Display active status of connections. 2013-03-03 16:38:54 -08:00
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