1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-22 13:34:04 +03:00

* Removed binaries for NX from git (we have source code..)

* Fixed downloadable list for administrators with actors
This commit is contained in:
Adolfo Gómez García 2015-02-01 05:53:54 +01:00
parent 762138ca57
commit 17a087ed4a
4 changed files with 20 additions and 10 deletions

View File

@ -35,15 +35,25 @@ from __future__ import unicode_literals
from django.utils.translation import ugettext_noop as _
from uds.core.osmanagers.OSManagersFactory import OSManagersFactory
from uds.core.managers.DownloadsManager import DownloadsManager
from LinuxOsManager import LinuxOsManager
from LinuxRandomPassOsManager import LinuxRandomPassManager
from .LinuxOsManager import LinuxOsManager
from .LinuxRandomPassOsManager import LinuxRandomPassManager
import os.path
import sys
OSManagersFactory.factory().insert(LinuxOsManager)
OSManagersFactory.factory().insert(LinuxRandomPassManager)
DownloadsManager.manager().registerDownloadable('udsactor_1.1_all.deb',
_('UDS Actor for linux machines <b>(Requires python 2.6 or greater)'),
os.path.dirname(sys.modules[__package__].__file__) + '/files/udsactor_1.1_all.deb',
DownloadsManager.manager().registerDownloadable('udsactor_1.7.0_all.deb',
_('UDS Actor for Debian, Ubuntu, ... Linux machines <b>(Requires python 2.7)</b>'),
os.path.dirname(sys.modules[__package__].__file__) + '/files/udsactor_1.7.0_all.deb',
'application/x-debian-package')
DownloadsManager.manager().registerDownloadable('udsactor-1.7.0-1.noarch.rpm',
_('UDS Actor for Centos, Fedora, RH, ... Linux machines <b>(Requires python 2.7)</b>'),
os.path.dirname(sys.modules[__package__].__file__) + 'udsactor-1.7.0-1.noarch.rpm',
'application/x-debian-package')
DownloadsManager.manager().registerDownloadable('udsactor-opensuse-1.7.0-1.noarch.rpm',
_('UDS Actor for openSUSE, ... Linux machines <b>(Requires python 2.7)</b>'),
os.path.dirname(sys.modules[__package__].__file__) + 'udsactor-opensuse-1.7.0-1.noarch.rpm',
'application/x-debian-package')

View File

@ -23,6 +23,6 @@ OSManagersFactory.factory().insert(WinDomainOsManager)
OSManagersFactory.factory().insert(WinRandomPassManager)
DownloadsManager.manager().registerDownloadable('UDSActorSetup.exe',
_('UDS Actor for windows machines <b>(Important!! Requires .net framework 3.5 sp1)</b>'),
_('UDS Actor for windows machines'),
os.path.dirname(sys.modules[__package__].__file__) + '/files/UDSActorSetup.exe',
'application/x-msdos-program')

View File

@ -47,7 +47,7 @@ UserPrefsManager.manager().registerPrefs('nx', _('NX Protocol'),
CommonPrefs.screenSizePref
])
DownloadsManager.manager().registerDownloadable('udsactor-nx_1.0_all.deb',
_('UDS Actor connector for NX <b>(requires nomachine packages)</b>'),
os.path.dirname(sys.modules[__package__].__file__) + '/files/udsactor-nx_1.0_all.deb',
'application/x-debian-package')
# DownloadsManager.manager().registerDownloadable('udsactor-nx_1.0_all.deb',
# _('UDS Actor connector for NX <b>(requires nomachine packages)</b>'),
# os.path.dirname(sys.modules[__package__].__file__) + '/files/udsactor-nx_1.0_all.deb',
# 'application/x-debian-package')