mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-21 09:34:08 +03:00
* Added Manifest small fixes for applets
* Updated translations * Added several "methods" support for sqlite3 db backend (on __init__ of uds) such as max, min & ceil (needed for stats)
This commit is contained in:
parent
375fe6551c
commit
20cc73dca8
@ -1,4 +1,5 @@
|
||||
Manifest-Version: 1.0
|
||||
Sealed: true
|
||||
Permissions: all-permissions
|
||||
|
||||
Codebase: *
|
||||
Application-Name: UDS NX Connector
|
@ -1,4 +1,5 @@
|
||||
Manifest-Version: 1.0
|
||||
Sealed: true
|
||||
Permissions: all-permissions
|
||||
|
||||
Codebase: *
|
||||
Application-Name: UDS TunNX Connector
|
||||
|
@ -1,4 +1,5 @@
|
||||
Manifest-Version: 1.0
|
||||
Sealed: true
|
||||
Permissions: all-permissions
|
||||
|
||||
Codebase: *
|
||||
Application-Name: UDS RDP Connector
|
@ -49,7 +49,7 @@ import logging
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
__updated__ = '2015-02-03'
|
||||
__updated__ = '2015-02-10'
|
||||
|
||||
|
||||
# a few constants
|
||||
@ -140,8 +140,8 @@ class BaseModelHandler(Handler):
|
||||
self.addField(gui, {
|
||||
'name': 'small_name',
|
||||
'type': 'text',
|
||||
'label': _('Short name'),
|
||||
'tooltip': _('Short name of this element'),
|
||||
'label': _('Tag'),
|
||||
'tooltip': _('Tag for this element'),
|
||||
'required': True,
|
||||
'length': 128,
|
||||
'order': 0 - 97,
|
||||
|
@ -60,3 +60,18 @@ class UDSAppConfig(AppConfig):
|
||||
logger.debug('Initializing app (ready) ***************')
|
||||
|
||||
default_app_config = 'uds.UDSAppConfig'
|
||||
|
||||
|
||||
# Sets up several sqlite non existing methods
|
||||
from django.db.backends.signals import connection_created
|
||||
from django.dispatch import receiver
|
||||
import math
|
||||
|
||||
|
||||
@receiver(connection_created)
|
||||
def extend_sqlite(connection=None, **kwargs):
|
||||
if connection.vendor == "sqlite":
|
||||
logger.debug('Connection vendor is sqlite, extending methods')
|
||||
connection.connection.create_function("MIN", 2, min)
|
||||
connection.connection.create_function("MAX", 2, max)
|
||||
connection.connection.create_function("CEIL", 1, math.ceil)
|
||||
|
Binary file not shown.
@ -32,7 +32,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-02-03 07:00+0100\n"
|
||||
"POT-Creation-Date: 2015-02-10 09:52+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -87,7 +87,7 @@ msgstr "Kommentare"
|
||||
msgid "Priority"
|
||||
msgstr "Priorität"
|
||||
|
||||
#: REST/methods/authenticators.py:61
|
||||
#: REST/methods/authenticators.py:61 REST/model.py:143
|
||||
msgid "Tag"
|
||||
msgstr "Tag"
|
||||
|
||||
@ -230,7 +230,6 @@ msgid "Parent Service"
|
||||
msgstr "Eltern-Service"
|
||||
|
||||
#: REST/methods/services_pools.py:70 REST/methods/user_services.py:113
|
||||
#| msgid "Status"
|
||||
msgid "status"
|
||||
msgstr "Status"
|
||||
|
||||
@ -536,13 +535,10 @@ msgstr ""
|
||||
"Bestimmt die Priorität dieses Elements (niedrigere Zahl bedeutet höhere "
|
||||
"Priorität)"
|
||||
|
||||
#: REST/model.py:143
|
||||
msgid "Short name"
|
||||
msgstr "Kurzname"
|
||||
|
||||
#: REST/model.py:144
|
||||
msgid "Short name of this element"
|
||||
msgstr "Kurzer Name für dieses element"
|
||||
#| msgid "Name of this element"
|
||||
msgid "Tag for this element"
|
||||
msgstr "Tag für dieses element"
|
||||
|
||||
#: REST/model.py:219
|
||||
msgid "Invalid Request"
|
||||
|
Binary file not shown.
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-02-03 07:01+0100\n"
|
||||
"POT-Creation-Date: 2015-02-10 09:52+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
Binary file not shown.
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-02-03 07:00+0100\n"
|
||||
"POT-Creation-Date: 2015-02-10 09:52+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -62,7 +62,7 @@ msgstr ""
|
||||
msgid "Priority"
|
||||
msgstr ""
|
||||
|
||||
#: REST/methods/authenticators.py:61
|
||||
#: REST/methods/authenticators.py:61 REST/model.py:143
|
||||
msgid "Tag"
|
||||
msgstr ""
|
||||
|
||||
@ -490,12 +490,8 @@ msgid ""
|
||||
"Selects the priority of this element (lower number means higher priority)"
|
||||
msgstr ""
|
||||
|
||||
#: REST/model.py:143
|
||||
msgid "Short name"
|
||||
msgstr ""
|
||||
|
||||
#: REST/model.py:144
|
||||
msgid "Short name of this element"
|
||||
msgid "Tag for this element"
|
||||
msgstr ""
|
||||
|
||||
#: REST/model.py:219
|
||||
|
Binary file not shown.
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-02-03 07:01+0100\n"
|
||||
"POT-Creation-Date: 2015-02-10 09:52+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -4,16 +4,18 @@
|
||||
#
|
||||
# Translators:
|
||||
# , 2014
|
||||
# Adolfo Gómez <dkmaster@dkmon.com>, 2014
|
||||
# Adolfo Gómez <dkmaster@dkmon.com>, 2014-2015
|
||||
# blafuente <blafuente@virtualcable.es>, 2014
|
||||
# blafuente <blafuente@virtualcable.es>, 2014
|
||||
# JaviBas <jgonzalez@virtualcable.es>, 2014
|
||||
# JaviBas <jgonzalez@virtualcable.es>, 2014
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: OpenUDS\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-02-03 07:01+0100\n"
|
||||
"PO-Revision-Date: 2014-06-03 11:17+0000\n"
|
||||
"Last-Translator: blafuente <blafuente@virtualcable.es>\n"
|
||||
"POT-Creation-Date: 2015-02-10 09:52+0100\n"
|
||||
"PO-Revision-Date: 2015-02-10 08:30+0000\n"
|
||||
"Last-Translator: Adolfo Gómez <dkmaster@dkmon.com>\n"
|
||||
"Language-Team: Spanish (http://www.transifex.com/projects/p/openuds/language/"
|
||||
"es/)\n"
|
||||
"Language: es\n"
|
||||
@ -287,7 +289,7 @@ msgstr "Debe seleccionar una imagen"
|
||||
|
||||
#: static/tmp_js/gui-d-gallery.js:31
|
||||
msgid "Image is too big (max. upload size is 256Kb)"
|
||||
msgstr "Imagen es demasiado grande (tamaño de carga máximo es 256Kb)"
|
||||
msgstr "La imagen es demasiado grande (el tamaño de carga máximo es 256Kb)"
|
||||
|
||||
#: static/tmp_js/gui-d-gallery.js:76
|
||||
msgid "Delete Image"
|
||||
@ -359,23 +361,23 @@ msgstr "Mantenimiento"
|
||||
|
||||
#: static/tmp_js/gui-d-services.js:133
|
||||
msgid "Maintenance Mode"
|
||||
msgstr "Modo de mantenimiento"
|
||||
msgstr "En modo mantenimiento"
|
||||
|
||||
#: static/tmp_js/gui-d-services.js:133
|
||||
msgid "Enter Maintenance Mode?"
|
||||
msgstr "Entrar en modo de mantenimiento."
|
||||
msgstr "Entrar en modo mantenimiento."
|
||||
|
||||
#: static/tmp_js/gui-d-services.js:133
|
||||
msgid "Exit Maintenance Mode?"
|
||||
msgstr "Salir del modo de mantenimiento."
|
||||
msgstr "Salir del modo mantenimiento."
|
||||
|
||||
#: static/tmp_js/gui-d-services.js:150
|
||||
msgid "Enter maintenance Mode"
|
||||
msgstr "Entrar en modo de mantenimiento"
|
||||
msgstr "Entrar en modo mantenimiento"
|
||||
|
||||
#: static/tmp_js/gui-d-services.js:150
|
||||
msgid "Exit Maintenance Mode"
|
||||
msgstr "Salir del modo de mantenimiento"
|
||||
msgstr "Salir del modo mantenimiento"
|
||||
|
||||
#: static/tmp_js/gui-d-services.js:154
|
||||
msgid "New services provider"
|
||||
@ -474,7 +476,7 @@ msgstr "Cancelar la publicación"
|
||||
|
||||
#: static/tmp_js/gui-d-servicespools.js:306
|
||||
msgid "Force Cancel"
|
||||
msgstr "Cancelar la fuerza"
|
||||
msgstr "Forzar cancelación"
|
||||
|
||||
#: static/tmp_js/gui-d-servicespools.js:318
|
||||
msgid "Launch new publication?"
|
||||
|
Binary file not shown.
@ -32,7 +32,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-02-03 07:00+0100\n"
|
||||
"POT-Creation-Date: 2015-02-10 09:52+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -87,7 +87,7 @@ msgstr "Commentaires"
|
||||
msgid "Priority"
|
||||
msgstr "Priorité"
|
||||
|
||||
#: REST/methods/authenticators.py:61
|
||||
#: REST/methods/authenticators.py:61 REST/model.py:143
|
||||
msgid "Tag"
|
||||
msgstr "Tag"
|
||||
|
||||
@ -226,7 +226,6 @@ msgid "Parent Service"
|
||||
msgstr "Service parent"
|
||||
|
||||
#: REST/methods/services_pools.py:70 REST/methods/user_services.py:113
|
||||
#| msgid "Status"
|
||||
msgid "status"
|
||||
msgstr "statut"
|
||||
|
||||
@ -531,13 +530,10 @@ msgstr ""
|
||||
"Sélectionne la priorité de cet élément (priorité supérieure de moyens nombre "
|
||||
"inférieur)"
|
||||
|
||||
#: REST/model.py:143
|
||||
msgid "Short name"
|
||||
msgstr "Nom court"
|
||||
|
||||
#: REST/model.py:144
|
||||
msgid "Short name of this element"
|
||||
msgstr "Nom court de cet élément"
|
||||
#| msgid "Name of this element"
|
||||
msgid "Tag for this element"
|
||||
msgstr "Tag pour cet élément"
|
||||
|
||||
#: REST/model.py:219
|
||||
msgid "Invalid Request"
|
||||
|
Binary file not shown.
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-02-03 07:01+0100\n"
|
||||
"POT-Creation-Date: 2015-02-10 09:52+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
Binary file not shown.
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-02-03 07:00+0100\n"
|
||||
"POT-Creation-Date: 2015-02-10 09:52+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -63,7 +63,7 @@ msgstr "Commenti"
|
||||
msgid "Priority"
|
||||
msgstr "Priorità"
|
||||
|
||||
#: REST/methods/authenticators.py:61
|
||||
#: REST/methods/authenticators.py:61 REST/model.py:143
|
||||
msgid "Tag"
|
||||
msgstr "Tag"
|
||||
|
||||
@ -202,7 +202,6 @@ msgid "Parent Service"
|
||||
msgstr "Servizio padre"
|
||||
|
||||
#: REST/methods/services_pools.py:70 REST/methods/user_services.py:113
|
||||
#| msgid "Status"
|
||||
msgid "status"
|
||||
msgstr "stato"
|
||||
|
||||
@ -503,13 +502,10 @@ msgstr ""
|
||||
"Seleziona la priorità di questo elemento (numero significa maggiore priorità "
|
||||
"inferiore)"
|
||||
|
||||
#: REST/model.py:143
|
||||
msgid "Short name"
|
||||
msgstr "Nome breve"
|
||||
|
||||
#: REST/model.py:144
|
||||
msgid "Short name of this element"
|
||||
msgstr "Nome breve di questo elemento"
|
||||
#| msgid "Name of this element"
|
||||
msgid "Tag for this element"
|
||||
msgstr "Tag per questo elemento"
|
||||
|
||||
#: REST/model.py:219
|
||||
msgid "Invalid Request"
|
||||
|
Binary file not shown.
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-02-03 07:01+0100\n"
|
||||
"POT-Creation-Date: 2015-02-10 09:52+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
Binary file not shown.
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-02-03 07:00+0100\n"
|
||||
"POT-Creation-Date: 2015-02-10 09:52+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -63,7 +63,7 @@ msgstr "Comentários"
|
||||
msgid "Priority"
|
||||
msgstr "Prioridade"
|
||||
|
||||
#: REST/methods/authenticators.py:61
|
||||
#: REST/methods/authenticators.py:61 REST/model.py:143
|
||||
msgid "Tag"
|
||||
msgstr "Tag"
|
||||
|
||||
@ -206,7 +206,6 @@ msgid "Parent Service"
|
||||
msgstr "Pai serviço"
|
||||
|
||||
#: REST/methods/services_pools.py:70 REST/methods/user_services.py:113
|
||||
#| msgid "Status"
|
||||
msgid "status"
|
||||
msgstr "status"
|
||||
|
||||
@ -509,13 +508,10 @@ msgstr ""
|
||||
"Seleciona a prioridade deste elemento (número significa maior prioridade "
|
||||
"mais baixa)"
|
||||
|
||||
#: REST/model.py:143
|
||||
msgid "Short name"
|
||||
msgstr "Nome curto"
|
||||
|
||||
#: REST/model.py:144
|
||||
msgid "Short name of this element"
|
||||
msgstr "Nome curto do elemento"
|
||||
#| msgid "Name of this element"
|
||||
msgid "Tag for this element"
|
||||
msgstr "Tag para este elemento."
|
||||
|
||||
#: REST/model.py:219
|
||||
msgid "Invalid Request"
|
||||
|
Binary file not shown.
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2015-02-03 07:01+0100\n"
|
||||
"POT-Creation-Date: 2015-02-10 09:52+0100\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -4,30 +4,29 @@
|
||||
# Copyright (c) 2012 Virtual Cable S.L.
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without modification,
|
||||
# Redistribution and use in source and binary forms, with or without modification,
|
||||
# are permitted provided that the following conditions are met:
|
||||
#
|
||||
# * Redistributions of source code must retain the above copyright notice,
|
||||
# * Redistributions of source code must retain the above copyright notice,
|
||||
# this list of conditions and the following disclaimer.
|
||||
# * Redistributions in binary form must reproduce the above copyright notice,
|
||||
# this list of conditions and the following disclaimer in the documentation
|
||||
# * Redistributions in binary form must reproduce the above copyright notice,
|
||||
# this list of conditions and the following disclaimer in the documentation
|
||||
# and/or other materials provided with the distribution.
|
||||
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
|
||||
# may be used to endorse or promote products derived from this software
|
||||
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
|
||||
# may be used to endorse or promote products derived from this software
|
||||
# without specific prior written permission.
|
||||
#
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
'''
|
||||
@author: Adolfo Gómez, dkmaster at dkmon dot com
|
||||
'''
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user