Commit Graph

3075 Commits

Author SHA1 Message Date
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
Adolfo Gómez
47be733839 * Fixed a few tooltips that has incorrect text (copy&paste) :-) 2013-03-06 07:06:48 +00:00
Adolfo Gómez
5554885593 * Globalconfig setting for number of fails in restrain time before a service is restrained
* Added a couple of needed methods to Storage (so it can pickle and store/retrieve in one step)
* Hanged cleaner implemented, seems to work now
* Restrained service is logged on deployed service as WARN not as arror
* Fixed service view so it accepts meta groups
2013-03-06 04:10:27 +00:00
Adolfo Gómez
dd45014231 * added log capability to deployed user services implementations
* Added log when service is restrained
2013-03-05 18:14:59 +00:00
Adolfo Gómez
56f4db54dd * Added comments that if a meta group is empty, all users belong to this meta group
* Fixed a bug where all HiddenFields where not serializable. Now we can mark a hidden field as serializable (on UserInterface)
* Added push_front to StateQueue
* Changed UniqueIDGenerator so first returns lower values
* Added Service as a log source
* Added state_date when services are marked for removal
* Code cleanup
2013-03-05 17:22:11 +00:00
Adolfo Gómez
7375290573 * Added meta groups support to administration interface 2013-03-05 02:24:36 +00:00
Adolfo Gómez
96ca4f4f14 * Started meta groups part, and in a very advanced stage yet :-) (has to do lots of tests before it's ready for production 2013-03-05 02:23:39 +00:00
Adolfo Gómez
aec33ae933 * Started meta groups part, and in a very advanced stage yet :-) (has to do lots of tests before it's ready for production 2013-03-05 02:22:10 +00:00
Adolfo Gómez
477151bf24 * Started UDS part of guacamole transport
* Added support for group editing
* Fixed a bug, where the "state_date" is not updated when moved from cache to assigned
2013-03-04 21:46:09 +00:00
Adolfo Gómez
c6b9924098 * Added support for group editing to admin client 2013-03-04 21:43:45 +00:00
Adolfo Gómez
38b03f22c0 2013-03-04 08:33:12 +00:00
Adolfo Gómez
12af8907a8 Done basic part on guacamole to allow a transport to be created on UDS
Now, it:
  * Allow register credentials from "trusted" sources (those knowing the secret ID of the server)
  * Access to remote desktop based on parameters registered with credentials
  * Return to the specified page on disconnection, if indicated.
  * Use of credentials just once, and forget them
  
With uds transport part, when done, people will have full desktop access using just html5 client over a browser.
2013-03-04 01:51:15 +00:00
Adolfo Gómez
ec0e3c6dee A few commits with structural fixes :(
* Html5 client based rcp/vnc client based on Guacamole Api.
The idea behind this is to use an URL as transport provider for Guacamole Transport inside UDS (not done already, but thinking about it...). Using the provided code (this code is under AGPLv3), we can:
1.- Broker will connect to a servlet here, passing in the needed credentials for connection.
2.- Broker will redirect user to index.xhtml, with credentials identification within URL
3.- Client will get this credentials & params, and make the connection
4.- On exit, it will return to broker
2013-03-03 23:44:55 +00:00
Adolfo Gómez
51f9a7992c 2013-03-03 23:44:20 +00:00
Adolfo Gómez
4870cb82b1 2013-03-03 23:41:03 +00:00
Adolfo Gómez
2d07cc3f04 2013-03-03 23:40:35 +00:00
Adolfo Gómez
9afbbc3efb * Testing guacamole with parameters (we need to pass in the url from where to get credentials, etc...) 2013-03-03 13:31:14 +00:00
Adolfo Gómez
7353155158 Initial samples & tests with guacamole 2013-03-03 04:20:32 +00:00
Adolfo Gómez
1114a027ae Initial samples & tests with guacamole 2013-03-03 04:09:46 +00:00
Adolfo Gómez
6eda0c7cf7 First version (example) of gucamole RDP tunnel 2013-03-03 03:54:32 +00:00
Adolfo Gómez
bcb91b72ac Fixed a bug on services movement between cache levels, that make broker loose their control 2013-03-01 14:55:39 +00:00
Adolfo Gómez
3ffac998a7 Fixed a bug on services movement between cache levels, that make broker loose their control 2013-03-01 14:55:20 +00:00
Adolfo Gómez
6be8a54af3 * Added label access to Form Field (admin)
* Added Cache purge method for owners
* Added improved LDAP Regex Auth
* Added to only process USABLE machines at worker for never getted machines
* Added check for port on server for tunnelers
2013-02-28 20:45:54 +00:00
Adolfo Gómez
3d6d478aed * Activated worker so we can automatically remove certain services (those assigned but not in use).
To do this, the os Manager must inform if it can "process" unused machines (assigned but not in use). If the os manager wants this, there is a background worker,
  that works every 10 minutes by default,that will pass every service in that state since more than the last execution of the background worker.
  With this, for example, linux and windows os managers, will set this if we mark the action on logout as "remove", and every machine assigned and not in use, for a os manager
  marked as "remove", will be removed automatically.
  
Has to test this extensively!!! :-)
2013-02-27 18:16:16 +00:00
Adolfo Gómez
510c69e6fc * Added support for authenticator small names
* Updated version to 1.1.1
* Several minor bugs fixed (potentially bugs)
2013-02-27 12:16:08 +00:00
Adolfo Gómez
eedef4aa11 * Added so we can:
- Disable "global login" page, where all authenticators appears in the list
  - Associate an authenticator with an smallName, that can be even the name of the host. Using this, we can access to different authenticators groups using:
    * Different host names (that matches against the smallNames and filters them)
    * Using the URL http:.../login/[smallName], same as before
* Added "force" parameters to getBool and getInt in Config class
* Fixed xmlrpc view so it works with Django 1.5
2013-02-27 11:44:58 +00:00
Adolfo Gómez
765730ed47 * Removed unique index from small name 2013-02-27 11:23:09 +00:00
Adolfo Gómez
ea4f44a9ae * Upgraded to work with Django 1.5
* Refactorized Configurations load
* Added "small_name" to authentications, so we can access an specifig auth directly by using url
* Upgraded templates to correctly work with 1.5
2013-02-27 09:55:54 +00:00
Adolfo Gómez
bce792254d * Disabled unused checked until more work is done in this direction
* Updated default threads for schedulers and delayed tasks runners
2013-02-19 07:06:16 +00:00
Adolfo Gómez
6507ddbf14 * Fixed scheduled task registration, so uds.core.workers contained scheduled tasks are autoregistered
* Added scheduled task for checking assigned & never used services, so we can remove them
* Added scheduled task for statistics tables housekeeping (cleans old data & optimizes table if this can be done)
* Added the a friendly description at Job, (for autoregistering)
2013-02-19 06:54:41 +00:00
Adolfo Gómez
e6d10d0526 2013-02-19 04:34:55 +00:00
Adolfo Gómez
ca285b92b2 * Removed mschart.exe from repository (added by mistake)
* Added a reference to where mschart.exe is available
2013-02-19 04:34:15 +00:00
Adolfo Gómez
7bf1f2eb2f * Tested that is removed 2013-02-15 12:20:51 +00:00
Adolfo Gómez
77a363e350 done ad machine removal 2013-02-15 10:30:21 +00:00
Adolfo Gómez
140be8fc27 * Fixing up a couple of minor things
* Adding checking of ldap of domain controller for machine removal on service release
2013-02-15 03:34:53 +00:00
Adolfo Gómez
50ff0c1da1 Fixed a problem resizing panels of main window. Several panels was not resizing correctly from time to time.
I have fixed it checking the Resize Event on Main panel control, and setting the size of the child to the parent size. Now it seems to work correctly (if it happens in more places, it will have to be done this way also)
2013-02-13 12:06:45 +00:00
Adolfo Gómez
b601ac9e41 * Updated version of installer to 1.1 2013-02-13 11:01:42 +00:00
Adolfo Gómez
74b4c246dd * Added MSChart.exe redistributable, used by stats chart of administration client
* Added some charts to UDSAdmin, now they exists on Deployed Service Nodes
2013-02-13 10:22:29 +00:00
Adolfo Gómez
88939f9dc0 More about stats 2013-02-13 09:23:47 +00:00
Adolfo Gómez
8552337c8d Updated translations 2013-02-12 15:03:48 +00:00
Adolfo Gómez
35b2713b11 * Added first stats collector 2013-02-12 14:57:57 +00:00
Adolfo Gómez
7c572f0488 * Added logviewer to project, and inserted into some panels. Has to insert it on more panels
* Added charts and inserted into deployedService panel
2013-02-12 07:11:27 +00:00
Adolfo Gómez
d1d2a1cbe8 * Added basic charting to server (used nowhere right now, but it's now available :-), posiblily used in a future when adding REST api)
* Added basic counter stats retrieval to xmlrpc api (for charts on administration client)
2013-02-11 17:54:29 +00:00
Adolfo Gómez
8a35b7bd69 Doing first charts tests 2013-02-11 10:24:47 +00:00
Adolfo Gómez
6a49943c67 Advancing on stats. Added basic counter statistics storage/retrieval 2013-02-11 08:53:07 +00:00
Adolfo Gómez
dbd5ec2549 Config is starting to grow (not much in fact), but i have added a couple of indexes over the fields that we use for lookup 2013-02-11 06:48:48 +00:00