Commit Graph

163 Commits

Author SHA1 Message Date
Adolfo Gómez
0303fbf910 Fixed a possible bug with the use of the IP authenticator. Now it checks that the username "ip" is the same as request.ip 2013-06-25 15:42:05 +00:00
Adolfo Gómez
2cc81d2b8b Fixed a possible bug with the use of the IP authenticator. Now it checks that the username "ip" is the same as request.ip 2013-06-25 15:40:20 +00:00
Adolfo Gómez
9b99b8f1bd * Added "development" method for user machines
* Fixed publications clean up on new publication & session expiration
* Added "forgotten" unicode method to DeployedPublication
2013-06-20 09:03:50 +00:00
Adolfo Gómez
32d951a43c 2013-06-19 10:58:34 +00:00
Adolfo Gómez
7ca448d926 Fixed a bug in UserServiceManager that on "checkForRemoval" it reloads the User Service, and looses the referenced passed in.
This makes that when the service must be removed, and a reference was passed in that was also saved later, the service was not marked correctly for removal.
2013-06-19 10:49:40 +00:00
Adolfo Gómez
4ee51ac268 Fixed duplicated configuration key (in fact, two different keys that means same thing... :-) ) 2013-06-19 10:02:40 +00:00
Adolfo Gómez
8d9b825237 * Added new global config var for time elapsed before services in use for old publications are removed
* Added support for removal of services from old publications in use once a configured time is elapsed
2013-06-19 08:33:15 +00:00
Adolfo Gómez
b2b747a099 Fixed length of username & groupname fields of regex ldap authenticator 2013-06-10 08:08:30 +00:00
Adolfo Gómez
ed69006a84 Fixed smartcard redirection on linux (forgot to add parameter in case of smartcards). Thanks to Virginio for reporting :-) 2013-06-04 14:07:47 +00:00
Adolfo Gómez
c733822caf * Updated jar to fix smartcards redirection on linux 2013-05-30 12:10:24 +00:00
Adolfo Gómez
d47823bbd2 * Fixed a bug that made deployed services from services that do not need publication appear as much times as valid groups for that deployed service
* Removed annoying exception logging (user creation for internaldb when user already exists, but error is managed so it do no have to be logged)
* Minor aesthetic fix on User class
* Fixed name generators so if it consumes all range, an exception is generated
* Fixed ovirt linked vm so it treats no more names error
* Fixed user modify operation, so if user is derived Groups are not saved (they will be got from parent user)
2013-05-16 10:37:33 +00:00
Adolfo Gómez
9642392d7c Fixed rdesktop folders redirection (signed jar only) 2013-05-14 17:39:20 +00:00
Adolfo Gómez
a4cc0a47f2 Updated so, when a parent is deleted, all children are also deleted. 2013-05-14 12:16:33 +00:00
Adolfo Gómez
2271f73714 Fixed internal db with different user for each ip 2013-05-14 12:10:02 +00:00
Adolfo Gómez
6270119d2b Fixed groups on internal auth 2013-05-14 11:54:51 +00:00
Adolfo Gómez
1c31e01199 Location of Windows folder was Harcoded previously. Now it is fixed (thanks to Virginio) 2013-05-13 16:34:03 +00:00
Adolfo Gómez
bb6929d9c8 * Added Python 3 unicode to UserService
* Fixed user service to ignore empty forms (forms without extra fields)
* Updated service provider to unicode for Physical Machines
2013-04-25 04:49:30 +00:00
Adolfo Gómez
207eba5d7a 2013-04-24 15:15:56 +00:00
Adolfo Gómez
91799b6175 Typo on StatsCollector 2013-04-24 08:06:40 +00:00
Adolfo Gómez
f3338ee264 * Added check to getInt, so if invalid value is found it returns the default, and, if default is also invalid, returns -1.
* Added log of the exception (error log)
2013-04-24 04:39:15 +00:00
Adolfo Gómez
849ddb7512 * Some fixes to spanish translations 2013-04-22 04:25:15 +00:00
Adolfo Gómez
b51d918881 * Added new "Security" setting, so we can set up trusted sources for requests.
* Secured access from Tunneler to Broker. Now pam & html5 requests can only be done from trusted sources. (They will not work only from trusted hosts)
* Upgraded jars for transports to fix Mac NX functionallity
2013-04-20 03:46:03 +00:00
Adolfo Gómez
9029c5e12c HTML Tunnel source check done 2013-04-18 21:36:32 +00:00
Adolfo Gómez
a7da230b0a * Added checking of autorun global config to be checked each time we need it
* Updated translations
2013-04-18 21:15:44 +00:00
Adolfo Gómez
c2a5b9ee50 * Fixed connection unicode compatibility
* Fixed Internal DB auth literal
* Fixed sample settings to include "request" logger
2013-04-18 10:10:31 +00:00
Adolfo Gómez
5538caa9bb * More default unicode literals
* Added support for new network input methods
* Fixed ip auth to support network input methods
* Added support for new network input & modification to transport networks
* Fixed some anoying warnings :-)
* Upgraded required administration client version to 1.2
*
2013-04-17 08:36:13 +00:00
Adolfo Gómez
0bf1f510dd * Some code cleanup
* Added unicode_literals to more modules & tested it
2013-04-17 00:09:48 +00:00
Adolfo Gómez
616300decb * Added all network recognition cases
* Added test to network recognition (should have started to do Unit tests a long ago, but... :-) )
2013-04-16 10:05:42 +00:00
Adolfo Gómez
72f485647b Fixed little bug on internaldb 2013-04-08 03:11:57 +00:00
Adolfo Gómez
6bd242bb9d * Added so we can access requests from anywhere without having to pass it
* Added So we can transform user names on login
* Added the posibility to give a different user to each internal db user based on the source (IP or reversed ip)
* Added "ignore and notify" invalid serialized data. This is so we can migrate "all" modules to auto serialization/deserialization
2013-04-08 03:11:00 +00:00
Adolfo Gómez
3140dd0bca * Added new module "net" under uds.core.util
* Moved out some method from models to net
* Started a generic network validation/retrieval function
* Added security to html5 guacamole proxy to UDS, allowing to restrict requests for credentials from an IP
* Including "from __future__ import unicode_literals" (step forward python 3)
2013-04-03 02:54:35 +00:00
Adolfo Gómez
062337edd8 Added HTML5 RDP connector (and it works!!) using guacamole as tunneler 2013-03-20 20:01:20 +00:00
Adolfo Gómez
366de542a7 Fixed (c) noticed of transport (was not BSD 3-clauses) 2013-03-20 18:44:06 +00:00
Adolfo Gómez
67073b43c1 Removed old & unusable test 2013-03-20 08:49:22 +00:00
Adolfo Gómez
8308890329 Minor fixes 2013-03-20 08:29:22 +00:00
Adolfo Gómez
c9da25bed8 Replaced "len" with a more proper way (using hasValidGroups method) 2013-03-20 08:23:54 +00:00
Adolfo Gómez
f8c7026fcc Replaced "len" with a more proper way (using hasValidGroups method) 2013-03-19 15:09:53 +00:00
Adolfo Gómez
10843cbca2 now getValidGroups returns a generator, not a list, so it does not have len :-) 2013-03-19 15:00:30 +00:00
Adolfo Gómez
6aa67c80a3 2013-03-14 12:25:47 +00:00
Adolfo Gómez
7a9b4ee454 * added storeValue & recoverValue to a deployed service
* Fixed log manager so repeated logs do not get logged by default (avoid duplicate log entries)
* Extracted "notifyRestraing" to a method, so it's easier to find/modify it :-)
2013-03-14 10:01:35 +00:00
Adolfo Gómez
38ced4fea9 * Fixed so unexpected errors now get logged
* Added order by so fields are get in order from db
2013-03-12 13:29:02 +00:00
Adolfo Gómez
70cb226c8c * Fixed some bugs related to meta groups
* Fixed a typo on WinDomainOsManager
* Fixed a typo on Authenticator creation by xmlrpc
2013-03-12 00:12:12 +00:00
Adolfo Gómez
de9124707e Added ALLOWED_HOSTS = ‘*’ to sample django settings. Every one can configure this at his own :-) 2013-03-11 14:33:19 +00:00
Adolfo Gómez
092b3bcbce Removed needing of restart for KEEP_INFO_TIME 2013-03-08 11:05:40 +00:00
Adolfo Gómez
3041e9d2cd Commented out parameters for auth (r they necessary?) 2013-03-08 10:05:33 +00:00
Adolfo Gómez
8558223518 * Added isOfType() to Service & Provider
* Continuing with "from __future__"...
* Added stamp to uniques ids, so we can purge them by date in some cases (Contention)
* DB Migrations to meta groups mixed with stamp of unique id
* Added more logs to some componets
* Added de posibility to authCallback to logout user with redirect
2013-03-08 05:31:21 +00:00
Adolfo Gómez
794b86563b Redoing migration 13 2013-03-07 13:19:46 +00:00
Adolfo Gómez
8eaec2c535 Right now, added de posibility to transfer a mac or name from an user service to an service.
This gives the posibility to to an user service to "reserve" (for now, indefinitely, but will add an "stamp" field to uniqueid database so we can clean up them from time to time) a mac or an name, so other deployed services do not uses them anymore.

One example of this is when a VM gets in error, and machine gets renamed. The mac is them reserved so no more machines clashes with this one reserved.
2013-03-06 15:41:09 +00:00
Adolfo Gómez
552e8b680b * Updated translations 2013-03-06 07:17:46 +00:00
Adolfo Gómez
1f987d1f4f * Updated translations 2013-03-06 07:12:07 +00:00