Commit Graph

57 Commits

Author SHA1 Message Date
Adolfo Gómez
7ea7086ba9 * Implemented services REST part
* Added possibility of creating own types for DetailApi (useful for provicers/services, where services is a detail but also has types)
More refactoring
2013-11-27 11:14:53 +00:00
Adolfo Gómez
63da672f30 * Adapted transactions on db to new django 1.6 model, much more versatile.
Removed all "autocommit, commit_on_success and commit_manually", and replaced with "transaction.atomic" calls. Of course, with code refinement in some parts to adapt to this new situation

* Added Changing Some table types from MyISAM to Mysql after migrations are done ALWAYS. This is not too slow, and will ensure that the database supports transactions where they are needed
2013-11-25 17:34:13 +00:00
Adolfo Gómez
004e060aaf * Added modal to gui
* Advanced a bit with edition of components
2013-11-21 13:19:13 +00:00
Adolfo Gómez
47be643eac * Added responsive tables to admin
* Added language selection over REST API
* Added "renderers" so we can add icons or whatever to cells before rendering
* Lots of improvements
2013-11-17 03:48:05 +00:00
Adolfo Gómez
2615b5fca4 Added "details" to REST for children of certain elements (such as authenticators-->users, user services --> publications, cache, assignations, groups, transports, etc... 2013-11-15 16:04:51 +00:00
Adolfo Gómez
0a0772a7c6 Advancing admin (in fact already playing around with components, but made some advances.. :-) ) 2013-11-14 17:02:30 +00:00
Adolfo Gómez
d68822eaf7 Advancing with very basic aspects of administration/REST api 2013-11-14 11:17:07 +00:00
Adolfo Gómez
81d64162f4 Start the work over admin interface (Dashboard) in parallel with REST api 2013-11-12 01:09:17 +00:00
Adolfo Gómez
47dff34637 Started a REST api for UDS.
The idea is provide third party access to UDS, and try to use this as an starting point to make an web based administration, so we can deprecate .net administration tool (it is becoming an annoyance... :-) ), and web based admin is always more accesible than thin client admin
2013-11-11 19:38:23 +00:00
Adolfo Gómez
2bda255c2a * added popover on small names
* moved deployed services names under lauchn button
2013-11-09 09:11:15 +00:00
Adolfo Gómez
5cf101d3c8 Advancing on migrationg to HTML5
* Adding themes to UDS
2013-11-05 01:20:39 +00:00
Adolfo Gómez
e6d7944e2f * Started migration of user interface to HTML5, using bootstrap 2013-11-04 15:59:59 +00:00
Adolfo Gómez
79048a4271 Advancing on clustererd services providers 2013-09-20 05:56:43 +00:00
Adolfo Gómez
50b7a55be5 Started adding Automatic Cluster services support, so we can simplify using services as ProxMox, HyperV, ESXi (without VC), etc... as Providers.
This clusters are special type of providers, where that providers contains several nodes, and do not provide automatic placement of machines, etc...
2013-09-06 12:51:01 +00:00
Adolfo Gómez
eb9993f607 Added "isDirty" to base module, so we can avoid "serializations" under some circunstances (work in progress, right now this does nothing) 2013-06-27 09:12:53 +00:00
Adolfo Gómez
c61ee0f72c 2013-06-26 10:15:11 +00:00
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
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
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
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
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
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
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
38b03f22c0 2013-03-04 08:33:12 +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
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
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
35b2713b11 * Added first stats collector 2013-02-12 14:57:57 +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
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
Adolfo Gómez
2a95cbd4b9 * More about stats
* Added a fix for "broken" Deployed Services that could prevent broker from updating cache of other deployed services if one gets "inoperable". Now we have added a "Restrain" policy, where if a service has 3 or more deploy errors in less than ten minutes, it will be ignored for cache updating until this policy is not satisfied.
2013-02-11 06:08:28 +00:00
Adolfo Gómez
cebb7df457 Working on stats (making efficient to query over a group of several millions of stats) 2013-02-07 11:19:46 +00:00
Adolfo Gómez
99c2a829b6 Updated 2013-01-30 16:50:47 +00:00
Adolfo Gómez
fc92b3edaa * Updated log system to manage it though a manager
* Updated default settings so tables are created using myisam (for speed) by default
* Updated model to remove doLog from UserService
* Added log manager
* Added log config parameter
* Updated components so they use the new log manager
* Updated virt client so if it can't connect, it raise an exception and do not initializes ovirt cached connection
* Updated plugin detect
* Added xmlrpc methods to access UserService logs
2013-01-28 09:51:38 +00:00
Adolfo Gómez
59b4f27ca7 Fixed "created" field on machine log (from Date to DateTime... my mistake :-) ) 2013-01-10 16:22:19 +00:00
Adolfo Gómez
ff609a39e8 * Added support to existing transports to notify ip/hostname of client connected to service
* Added support to administration interface to show this data
2012-12-14 11:43:20 +00:00
Adolfo Gómez
ece44a266d * Adding support for "connection source information" to services
* Adding support for logging inside services
2012-12-12 12:42:40 +00:00
Adolfo Gómez
d75422c96f * Added a "needed" comment on USerServiceManager
* Cached "modfinder" results
* Added "early" loading of dispatchers, so they can register (for example) Configuration Parameters, etc..
2012-12-05 09:09:33 +00:00
Adolfo Gómez
2716707952 Fixing up core so we can provide some kind of access using Thin Clients or Software clients not using web & html 2012-12-03 09:43:12 +00:00
Adolfo Gómez
710b56d4e1 * Added support for OS Managers to change services passwords.
* oVirt should be usable right now, testing and fixing minor bugs
* Added support for Windows Support with password changing of user to new one
* Minor improvements (to code)
2012-11-26 13:39:22 +00:00
Adolfo Gómez
0eea8a33b5 Done oVirt engine connector. Now the hard part, test it and fix it (it isn't already usable!!!) 2012-11-22 10:28:52 +00:00
Adolfo Gómez
96c95e8ff5 2012-11-12 19:29:51 +00:00
Adolfo Gómez
b8c5678bde Removed storage debug line 2012-10-25 16:34:51 +00:00
Adolfo Gómez
377d00f190 Fixed a bug with internal auth (no groups returned on authentication, resulting in access denied) 2012-09-29 04:50:40 +00:00
Adolfo Gómez
af33a442b4 * Fixed Internal auth
* Added debug to Publication (info)
2012-09-20 11:29:00 +00:00
Adolfo Gómez
f8830a9824 2012-09-15 10:02:36 +00:00
Adolfo Gómez
bd81e83f7a Some more refactoring 2012-07-31 10:42:30 +00:00
Adolfo Gómez
22d728a152 * Done some refactoring over uds.core.jobs
* Added method to model Authenticator so we can check if it is of a type
2012-07-30 02:30:46 +00:00