diff --git a/server/src/uds/models/Authenticator.py b/server/src/uds/models/Authenticator.py index 0090b4ad..c4d71be6 100644 --- a/server/src/uds/models/Authenticator.py +++ b/server/src/uds/models/Authenticator.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from uds.core.Environment import Environment from uds.core.util import log @@ -45,6 +47,7 @@ import logging logger = logging.getLogger(__name__) + class Authenticator(models.Model): ''' This class represents an Authenticator inside the platform. diff --git a/server/src/uds/models/Cache.py b/server/src/uds/models/Cache.py index 81e7ddeb..a2923a6f 100644 --- a/server/src/uds/models/Cache.py +++ b/server/src/uds/models/Cache.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from uds.models.Util import getSqlDatetime @@ -42,7 +44,6 @@ import logging logger = logging.getLogger(__name__) -__updated__ = '2014-04-23' class Cache(models.Model): ''' diff --git a/server/src/uds/models/Config.py b/server/src/uds/models/Config.py index 0916e0b2..1c412ccd 100644 --- a/server/src/uds/models/Config.py +++ b/server/src/uds/models/Config.py @@ -33,13 +33,14 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models import logging logger = logging.getLogger(__name__) -__updated__ = '2014-04-23' class Config(models.Model): ''' diff --git a/server/src/uds/models/DelayedTask.py b/server/src/uds/models/DelayedTask.py index e0ae2117..76e0b652 100644 --- a/server/src/uds/models/DelayedTask.py +++ b/server/src/uds/models/DelayedTask.py @@ -33,14 +33,14 @@ from __future__ import unicode_literals -from django.db import models +__updated__ = '2014-04-24' +from django.db import models import logging logger = logging.getLogger(__name__) -__updated__ = '2014-04-23' class DelayedTask(models.Model): ''' diff --git a/server/src/uds/models/Group.py b/server/src/uds/models/Group.py index 4d91471e..c80a93b5 100644 --- a/server/src/uds/models/Group.py +++ b/server/src/uds/models/Group.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from django.db.models import signals @@ -46,6 +48,7 @@ import logging logger = logging.getLogger(__name__) + class Group(models.Model): ''' This class represents a group, associated with one authenticator diff --git a/server/src/uds/models/Log.py b/server/src/uds/models/Log.py index 79c87aaf..61a8a8d6 100644 --- a/server/src/uds/models/Log.py +++ b/server/src/uds/models/Log.py @@ -33,14 +33,14 @@ from __future__ import unicode_literals -from django.db import models +__updated__ = '2014-04-24' +from django.db import models import logging logger = logging.getLogger(__name__) -__updated__ = '2014-04-23' class Log(models.Model): ''' diff --git a/server/src/uds/models/Network.py b/server/src/uds/models/Network.py index e5c1e53d..bdfbcfd0 100644 --- a/server/src/uds/models/Network.py +++ b/server/src/uds/models/Network.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from Transport import Transport from uds.core.util import net @@ -41,6 +43,7 @@ import logging logger = logging.getLogger(__name__) + class Network(models.Model): ''' This model is used for keeping information of networks associated with transports (right now, just transports..) diff --git a/server/src/uds/models/OSManager.py b/server/src/uds/models/OSManager.py index 8a203ba1..3df87049 100644 --- a/server/src/uds/models/OSManager.py +++ b/server/src/uds/models/OSManager.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from uds.core.Environment import Environment from django.db import IntegrityError @@ -42,6 +44,7 @@ import logging logger = logging.getLogger(__name__) + class OSManager(models.Model): ''' An OS Manager represents a manager for responding requests for agents inside services. diff --git a/server/src/uds/models/Provider.py b/server/src/uds/models/Provider.py index 6ecbb3f2..864b1e03 100644 --- a/server/src/uds/models/Provider.py +++ b/server/src/uds/models/Provider.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from uds.core.Environment import Environment from uds.core.util import log diff --git a/server/src/uds/models/Scheduler.py b/server/src/uds/models/Scheduler.py index 0a44f863..2683bf76 100644 --- a/server/src/uds/models/Scheduler.py +++ b/server/src/uds/models/Scheduler.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from django.db.models import signals @@ -46,7 +48,6 @@ import logging logger = logging.getLogger(__name__) -__updated__ = '2014-04-23' class Scheduler(models.Model): ''' diff --git a/server/src/uds/models/Service.py b/server/src/uds/models/Service.py index 28892791..d83ff05b 100644 --- a/server/src/uds/models/Service.py +++ b/server/src/uds/models/Service.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from django.db.models import signals from uds.core.Environment import Environment @@ -44,8 +46,6 @@ import logging logger = logging.getLogger(__name__) -__updated__ = '2014-04-23' - class Service(models.Model): ''' diff --git a/server/src/uds/models/ServicesPool.py b/server/src/uds/models/ServicesPool.py index d556c90c..1b2b7cf0 100644 --- a/server/src/uds/models/ServicesPool.py +++ b/server/src/uds/models/ServicesPool.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from django.db.models import signals from uds.core.Environment import Environment @@ -53,7 +55,6 @@ import logging logger = logging.getLogger(__name__) -__updated__ = '2014-04-23' class DeployedService(models.Model): ''' diff --git a/server/src/uds/models/ServicesPoolPublication.py b/server/src/uds/models/ServicesPoolPublication.py index ed8147fc..76f02799 100644 --- a/server/src/uds/models/ServicesPoolPublication.py +++ b/server/src/uds/models/ServicesPoolPublication.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from django.db.models import signals from uds.core.util.State import State @@ -47,7 +49,6 @@ import logging logger = logging.getLogger(__name__) -__updated__ = '2014-04-23' class DeployedServicePublication(models.Model): ''' diff --git a/server/src/uds/models/StatsCounters.py b/server/src/uds/models/StatsCounters.py index d1ef3534..e6096722 100644 --- a/server/src/uds/models/StatsCounters.py +++ b/server/src/uds/models/StatsCounters.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from uds.models.Util import NEVER_UNIX @@ -43,7 +45,6 @@ import logging logger = logging.getLogger(__name__) -__updated__ = '2014-04-23' class StatsCounters(models.Model): ''' diff --git a/server/src/uds/models/StatsEvents.py b/server/src/uds/models/StatsEvents.py index 47399a6c..ecbbde47 100644 --- a/server/src/uds/models/StatsEvents.py +++ b/server/src/uds/models/StatsEvents.py @@ -33,13 +33,14 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models import logging logger = logging.getLogger(__name__) -__updated__ = '2014-04-23' class StatsEvents(models.Model): ''' diff --git a/server/src/uds/models/Storage.py b/server/src/uds/models/Storage.py index 1e94bf90..92163fdf 100644 --- a/server/src/uds/models/Storage.py +++ b/server/src/uds/models/Storage.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from uds.core.db.LockingManager import LockingManager @@ -41,7 +43,6 @@ import logging logger = logging.getLogger(__name__) -__updated__ = '2014-04-23' class Storage(models.Model): ''' diff --git a/server/src/uds/models/Transport.py b/server/src/uds/models/Transport.py index 1247980a..636e8583 100644 --- a/server/src/uds/models/Transport.py +++ b/server/src/uds/models/Transport.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from django.db.models import signals from uds.core.Environment import Environment @@ -42,6 +44,7 @@ import logging logger = logging.getLogger(__name__) + class Transport(models.Model): ''' A Transport represents a way of connecting the user with the service. diff --git a/server/src/uds/models/UniqueId.py b/server/src/uds/models/UniqueId.py index fca1b24e..747e3c09 100644 --- a/server/src/uds/models/UniqueId.py +++ b/server/src/uds/models/UniqueId.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from uds.core.db.LockingManager import LockingManager @@ -40,7 +42,6 @@ import logging logger = logging.getLogger(__name__) -__updated__ = '2014-04-23' class UniqueId(models.Model): ''' diff --git a/server/src/uds/models/User.py b/server/src/uds/models/User.py index f88bbdb7..c41a12a2 100644 --- a/server/src/uds/models/User.py +++ b/server/src/uds/models/User.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from uds.core.util import log from django.db.models import signals @@ -45,6 +47,7 @@ import logging logger = logging.getLogger(__name__) + class User(models.Model): ''' This class represents a single user, associated with one authenticator diff --git a/server/src/uds/models/UserPreference.py b/server/src/uds/models/UserPreference.py index da0fc78a..a7c8f70c 100644 --- a/server/src/uds/models/UserPreference.py +++ b/server/src/uds/models/UserPreference.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from uds.models.User import User @@ -41,7 +43,6 @@ import logging logger = logging.getLogger(__name__) -__updated__ = '2014-04-23' class UserPreference(models.Model): ''' diff --git a/server/src/uds/models/UserService.py b/server/src/uds/models/UserService.py index b6c65447..da3d0d4d 100644 --- a/server/src/uds/models/UserService.py +++ b/server/src/uds/models/UserService.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from django.db import models from django.db.models import signals from uds.core.Environment import Environment @@ -51,7 +53,6 @@ import logging logger = logging.getLogger(__name__) -__updated__ = '2014-04-23' class UserService(models.Model): ''' diff --git a/server/src/uds/models/Util.py b/server/src/uds/models/Util.py index e0559318..2292c6e9 100644 --- a/server/src/uds/models/Util.py +++ b/server/src/uds/models/Util.py @@ -33,6 +33,8 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + from datetime import datetime from time import mktime diff --git a/server/src/uds/models/__init__.py b/server/src/uds/models/__init__.py index 122c83d5..480db3a4 100644 --- a/server/src/uds/models/__init__.py +++ b/server/src/uds/models/__init__.py @@ -33,12 +33,12 @@ from __future__ import unicode_literals +__updated__ = '2014-04-24' + import logging logger = logging.getLogger(__name__) -__updated__ = '2014-04-23' - # Utility from uds.models.Util import getSqlDatetime