Commit Graph

2074 Commits

Author SHA1 Message Date
Adolfo Gómez García
7f9b4c9274 Fixed REST services_pool_groups for python 3.x 2019-09-12 13:11:06 +02:00
Adolfo Gómez García
061ac326df fixed handler "admin check" and reports from REST 2019-09-12 13:01:51 +02:00
Adolfo Gómez García
899df5a6a6 fixing up REST exceptions: notSupported 2019-09-12 12:47:23 +02:00
Adolfo Gómez García
29cb8b6a39 fixing up REST exceptions: invalidItemException 2019-09-12 12:45:30 +02:00
Adolfo Gómez García
18826708c8 fixing up REST exceptions: invalidMethodException 2019-09-12 12:43:49 +02:00
Adolfo Gómez García
726cc33320 fixing up REST exceptions 2019-09-12 12:42:08 +02:00
Adolfo Gómez García
ecdc4fa606 Fixed REST proxies for python 3.x 2019-09-12 12:18:28 +02:00
Adolfo Gómez García
72df9b2275 request middleware improved. Fixed base model types & migrated providers to 3.x python 2019-09-12 12:16:24 +02:00
Adolfo Gómez García
145ab9b865 addad old requests deletion in case of exceptions on server 2019-09-12 10:50:22 +02:00
Adolfo Gómez García
d758aecd1e Fixed REST permissions for python 3.x 2019-09-12 08:36:01 +02:00
Adolfo Gómez García
fd6db8d618 Fixed REST osmanagers for python 3.x 2019-09-11 13:41:56 +02:00
Adolfo Gómez García
6867a278bd Fixed REST calendars operations for python 3.x 2019-09-11 13:36:47 +02:00
Adolfo Gómez García
572e2b9a51 Fixed REST networks for python 3.x 2019-09-11 13:20:27 +02:00
Adolfo Gómez García
ce04b3949d Fixed REST metapools members for python 3.x 2019-09-11 13:18:26 +02:00
Adolfo Gómez García
4cd051f50a mendfixed REST metapools for python 3.x 2019-09-11 12:51:54 +02:00
Adolfo Gómez García
6eccb757ad mendfixed REST login-logout for python 3.x 2019-09-11 12:39:46 +02:00
Adolfo Gómez García
51b16ce895 mendfixed REST images for python 3.x 2019-09-11 12:27:47 +02:00
Adolfo Gómez García
fbcf635a60 mendfixed REST calendars for python 3.x 2019-09-11 11:28:07 +02:00
Adolfo Gómez García
da0df6d407 fixed REST calendars for python 3.x 2019-09-11 11:27:12 +02:00
Adolfo Gómez García
060e2cd023 fixed REST authenticator for python 3.x 2019-09-11 08:42:11 +02:00
Adolfo Gómez García
420e491196 fixing REST for python 3.x 2019-09-11 07:56:04 +02:00
Adolfo Gómez García
fbd2bd937c advancing a lot with REST part 2019-09-09 12:08:48 +02:00
Adolfo Gómez García
79f41b3e1a fixes for python 3.7 on REST 2019-09-05 11:29:57 +02:00
Adolfo Gómez García
f464d78f99 fixed stats reports & related 2019-09-04 11:25:36 +02:00
Adolfo Gómez García
6e7b5229d1 fixed list reports & related 2019-09-04 10:38:56 +02:00
Adolfo Gómez García
446a4a3cb4 fixed duplicate "show transports" on pools edit 2019-09-04 10:03:44 +02:00
Adolfo Gómez García
f5278aa57f fixed remmendeded by tomas lobo 2019-09-03 16:16:22 +02:00
Adolfo Gómez García
83726be209 Removed support for ovirt 3.x on UDS 3.x 2019-09-03 12:43:49 +02:00
Adolfo Gómez García
bada5ed2af fully ported openstack provider to python 3.x 2019-09-03 12:37:11 +02:00
Adolfo Gómez García
75f244be2e fixes on RDP transport 2019-09-03 10:33:48 +02:00
Adolfo Gómez García
a42ccd0ca6 fixes 2019-09-03 10:00:47 +02:00
Adolfo Gómez García
9464e1794e fixed autoattributes on python3 2019-09-02 10:44:29 +02:00
Adolfo Gómez García
c502127aa5 Fixed Base order 2019-09-02 10:22:44 +02:00
Adolfo Gómez García
97e5ff1b6a fixed initialization order for IPMachinesDeployed 2019-09-02 10:17:50 +02:00
Adolfo Gómez García
a69bda8673 updated transports signatures 2019-09-02 09:20:10 +02:00
Adolfo Gómez García
b233e26a52 upgraded os managers and typo fix 2019-08-20 11:04:25 +02:00
Adolfo Gómez García
2b733c0e9e refactorizing & fixing Linux os manager 2019-08-19 12:42:45 +02:00
Adolfo Gómez García
da0a2401f3 refactorizing uds.core.transports and uds.core.util filenames & some fixes 2019-08-19 12:20:33 +02:00
Adolfo Gómez García
22b079cf53 refactorizing uds.core.setransports: lenames & some fixes 2019-08-19 11:51:14 +02:00
Adolfo Gómez García
23834328dd refactorizing uds.core.services filenames & some fixes 2019-08-19 11:46:36 +02:00
Adolfo Gómez García
a8f2dcb03d Refactoring manager filenames -- UserPrefsManager & UserServiceManager 2019-08-16 11:43:57 +02:00
Adolfo Gómez García
80591c541b Refactoring manager filenames -- UserPrefsManager 2019-08-16 11:30:45 +02:00
Adolfo Gómez García
beb09115c2 Refactoring manager filenames & some fixes for python 3.7 conversion 2019-08-16 11:26:48 +02:00
Adolfo Gómez García
9a9eee9d5e refactorizing uds.core.managers filenames & some fixes 2019-08-16 10:40:14 +02:00
Adolfo Gómez García
5ffc66a71e refactorized uds.core.auth filenames 2019-08-16 10:26:34 +02:00
Adolfo Gómez García
104eeac53c Refactorized uds.core.ui and several fixes 2019-08-15 12:11:47 +02:00
Adolfo Gómez García
c980d42b1e refactorized worker filenames 2019-08-15 11:49:39 +02:00
Adolfo Gómez García
909ff33851 refactoryzed cryptoManager access 2019-08-15 11:24:56 +02:00
Adolfo Gómez García
be7d177bdc refactoryzed cryptoManager access 2019-08-15 11:22:20 +02:00
Adolfo Gómez García
6e39c1a2dc refactorized uds.core.jobs 2019-08-15 11:07:10 +02:00
Adolfo Gómez García
d5ac86cfba more fixes an refactoring for 3.7 2019-08-15 10:54:19 +02:00
Adolfo Gómez García
e836a142fe refactoring and updating models for python 3.7 2019-08-14 12:31:13 +02:00
Adolfo Gómez García
1b3e1d9bcc refactoring and updating models for python 3.7 2019-08-14 12:16:49 +02:00
Adolfo Gómez García
882a8ad2c9 fixes for 3.7 (random found ones) 2019-08-14 11:00:21 +02:00
Adolfo Gómez García
171b5f5a48 refactoring and updating models for python 3.7 -- StatsCounters, StatsEvents, Storage, Tag, TicketStore, UniqueId and Removed DeployedService in favor of ServicePool 2019-08-14 10:55:59 +02:00
Adolfo Gómez García
e2d1d17fa9 refactoring and updating models for python 3.7 -- ServicePoolPublication 2019-08-14 09:55:35 +02:00
Adolfo Gómez García
217a51728e renamed ServicesPoolGroup to ServicePoolGroup 2019-08-14 09:52:10 +02:00
Adolfo Gómez García
bec85b5463 renamed DeployedServicePublication to ServicePoolPublication 2019-08-14 09:46:37 +02:00
Adolfo Gómez García
1110a5bd63 renamed DeployedService to ServicePool 2019-08-14 09:25:41 +02:00
Adolfo Gómez García
ffc3d14daf refactoring and updating models for python 3.7 -- ServicesPool 2019-08-14 09:11:15 +02:00
Adolfo Gómez García
c9c4a8f578 refactoring and updating models for python 3.7 -- Service 2019-08-13 12:13:33 +02:00
Adolfo Gómez García
2b06813176 refactoring and updating models for python 3.7 -- Proxy & Scheduler 2019-08-13 11:48:32 +02:00
Adolfo Gómez García
49fd063e90 refactoring and updating models for python 3.7 -- Provider 2019-08-13 11:35:45 +02:00
Adolfo Gómez García
75b470a7d1 refactoring and updating models for python 3.7 -- os_manager & permissions 2019-08-13 11:28:33 +02:00
Adolfo Gómez García
377b4542d7 refactoring and updating models for python 3.7 -- Network & Transport 2019-08-13 11:22:57 +02:00
Adolfo Gómez García
ee34f6c624 refactoring and updating models for python 3.7 -- MetaPool & Log 2019-08-13 11:14:15 +02:00
Adolfo Gómez García
4be27489ad refactoring and updating models for python 3.7 -- Image 2019-08-13 11:10:24 +02:00
Adolfo Gómez García
e3912276f4 refactoring and updating models for python 3.7 -- UserPreference 2019-08-13 11:07:34 +02:00
Adolfo Gómez García
b4a09a4c10 refactoring and updating models for python 3.7 -- ManagedObjectModel 2019-08-13 11:03:42 +02:00
Adolfo Gómez García
77c6857973 refactoring and updating models for python 3.7 -- UUIDModel 2019-08-13 11:01:26 +02:00
Adolfo Gómez García
c13da05baa refactoring and updating models for python 3.7 -- Util, User & Group 2019-08-13 10:43:04 +02:00
Adolfo Gómez García
d108de9720 refactoring and updating models for python 3.6 -- DBFile and delayed_task 2019-08-13 10:09:47 +02:00
Adolfo Gómez García
1ace92083e refactoring for name improvements - config model 2019-08-12 15:04:37 +02:00
Adolfo Gómez García
fb32c8b86a refactoring for name improvements - cache, calendar, calendar_access, calendar_rule models 2019-08-12 15:01:24 +02:00
Adolfo Gómez García
efbca0bf92 refactoring for name improvements - account model 2019-08-12 14:52:58 +02:00
Adolfo Gómez García
1c9ba0738a refactoring for name improvements 2019-08-12 14:50:11 +02:00
Adolfo Gómez García
445c890209 more upgrading models for 3.7 2019-08-12 14:34:56 +02:00
Adolfo Gómez García
1072e1f883 more upgrading models for 3.7 2019-08-12 14:07:38 +02:00
Adolfo Gómez García
1e789132a5 more upgrading models for 3.7 2019-08-12 13:32:29 +02:00
Adolfo Gómez García
a6bf2c4cfc upgrading models for 3.7 2019-08-12 11:20:16 +02:00
Adolfo Gómez García
642009425f more 3.7 fixes 2019-08-09 17:57:16 +02:00
Adolfo Gómez García
a992246203 a lot of more fixes for 3.7 2019-08-09 13:22:50 +02:00
Adolfo Gómez García
52054ae45b fixed workers for 3.7 2019-08-08 13:42:22 +02:00
Adolfo Gómez García
064423413b latests fixes for uds.core.utils for 3.7 2019-08-06 14:44:21 +02:00
Adolfo Gómez García
de24aaab93 More fixes for uds.core.utils for 3.7 2019-08-06 14:08:35 +02:00
Adolfo Gómez García
b55669d910 More fixes for uds.core.utils for 3.7 2019-08-06 13:03:32 +02:00
Adolfo Gómez García
6fac308d80 fixed util.stats & util.states for python 3.7 2019-08-06 11:49:08 +02:00
Adolfo Gómez García
e103fb02d2 fixed user interface 2019-08-05 21:24:06 +02:00
Adolfo Gómez García
72a93e774d no themes on 3.0, just angular and custom deploys 2019-08-05 21:13:16 +02:00
Adolfo Gómez García
e484c31b38 upgrades for 3.7 2019-08-05 21:04:36 +02:00
Adolfo Gómez García
5157dce173 fixed admin 2019-08-05 13:26:54 +02:00
Adolfo Gómez García
cc7fbbf5f1 typo fix 2019-08-05 10:05:38 +02:00
Adolfo Gómez García
4f35ba2cca refactorized reports && more 3.7 upgrades 2019-08-02 13:27:08 +02:00
Adolfo Gómez García
45b2a3b66f BaseReport to 3.7 2019-08-02 12:21:14 +02:00
Adolfo Gómez García
bbb6792961 refactorying some file names 2019-08-02 11:58:45 +02:00
Adolfo Gómez García
3588ea20f4 3.7 advances 2019-08-02 11:49:49 +02:00
Adolfo Gómez García
999a23fb6d Updating to 3.7
refactoring portions
2019-08-02 11:17:28 +02:00
Adolfo Gómez García
47721db3f5 fixes for 3.7 and some improvements 2019-08-01 16:35:05 +02:00
Adolfo Gómez García
5fb7c830b2 fixes for 3.7 2019-07-31 11:41:25 +02:00
Adolfo Gómez García
82ef65a26c fixes for python 3.7 2019-07-29 13:13:49 +02:00
Adolfo Gómez García
a948188187 pep fix 2019-07-25 12:10:07 +02:00
Adolfo Gómez García
54110f5425 Fixed opennebula provider for python 3.7 && updated setting to nonpersistant (moved to end of image clone process) 2019-07-25 11:49:40 +02:00
Adolfo Gómez García
7d66d92f85 Merge branch 'master' of github.com:dkmstr/openuds 2019-07-18 13:03:56 +02:00
Adolfo Gómez García
c8831b1bba fixed cryptomanager 2019-07-18 13:03:47 +02:00
Adolfo Gómez García
c6b9bd4643 small fixes for mypy 2019-07-18 12:28:52 +02:00
Adolfo Gómez García
15f4db636e fixed notifications 2019-07-18 11:11:30 +02:00
dae085dc6a Fix Error 500: Plaintext too large on Tools/Configure page.
ERROR 2019-07-17 17:48:11,302 __init__ dispatch 163 Error processing request
Traceback (most recent call last):
  File "/usr/share/openuds/uds/REST/__init__.py", line 143, in dispatch
    response = operation()
  File "/usr/share/openuds/uds/REST/methods/config.py", line 61, in get
    for cfg in CfgConfig.enumerate():
  File "/usr/share/openuds/uds/core/util/Config.py", line 210, in enumerate
    val = Config.section(cfg.section).valueCrypt(cfg.key)
  File "/usr/share/openuds/uds/core/util/Config.py", line 185, in valueCrypt
    return Config.value(self, key, default, True, **kwargs)
  File "/usr/share/openuds/uds/core/util/Config.py", line 199, in value
    return Config.Value(section, key, default, crypt, longText, **kwargs)
  File "/usr/share/openuds/uds/core/util/Config.py", line 82, in __init__
    self._default = CryptoManager.manager().encrypt(default)
  File "/usr/share/openuds/uds/core/managers/CryptoManager.py", line 98, in encrypt
    return encoders.encode((self._rsa.encrypt(value, b'')[0]), 'base64', asText=True)
  File "/usr/lib64/python3/site-packages/Crypto/PublicKey/RSA.py", line 158, in encrypt
    return pubkey.pubkey.encrypt(self, plaintext, K)
  File "/usr/lib64/python3/site-packages/Crypto/PublicKey/pubkey.py", line 75, in encrypt
    ciphertext=self._encrypt(plaintext, K)
  File "/usr/lib64/python3/site-packages/Crypto/PublicKey/RSA.py", line 233, in _encrypt
    raise ValueError("Plaintext too large")
ValueError: Plaintext too large

Fixes: #44
2019-07-17 20:43:28 +03:00
Adolfo Gómez García
30e041b34b fixed admin & dbgroup info data 2019-07-15 14:37:56 +02:00
Adolfo Gómez García
38d6a7e6c6 removed cleanUDS theme reset 2019-07-15 11:26:20 +02:00
Adolfo Gómez García
e7fb7064e3 fixes for x2go & uds actor on python3 2019-07-11 11:08:46 +02:00
Adolfo Gómez García
45db8592b7 upgraded amin 2019-07-08 10:15:44 +02:00
Adolfo Gómez García
59f0b1c572 upgrade frontend to angular 8 2019-06-29 18:11:41 +02:00
Adolfo Gómez García
bae405d082 fixes 2019-06-29 17:24:53 +02:00
Adolfo Gómez García
e76695e583 fixed versions 2019-06-17 12:01:35 +02:00
Adolfo Gómez García
1e74c55d2b more fixes 2019-06-14 17:44:20 +02:00
Adolfo Gómez García
70ec9ab3ea more typing checking 2019-06-14 14:08:36 +02:00
Adolfo Gómez García
a5929a0af3 adding type checking to better control source 2019-06-13 08:28:54 +02:00
Adolfo Gómez García
f343368da9 Merge remote-tracking branch 'origin/v2.2' 2019-06-11 05:35:27 +02:00
Adolfo Gómez García
7dd57cd778 Merge branch 'master' of github.com:dkmstr/openuds 2019-06-11 05:33:33 +02:00
Adolfo Gómez García
6309047a34 fixes for python 3.x 2019-06-11 05:33:25 +02:00
Adolfo Gómez
1b3ff5661b
Merge pull request #41 from Jarli01/patch-1
Chore: Verbiage updates - translation corrections, typos and capitali…
2019-06-10 23:41:35 +02:00
Dustin B
bdc92052ae
Chore: Typos, capitalization and thought clarification
Updated the translations a bit as some of this didn't really work in English, fixed a few typos and capitalization issues.
2019-06-10 17:07:09 -04:00
Dustin B
1df42462fd
Chore: Verbiage updates - translation corrections, typos and capitalization
Fixed a few types, attempted to clarify your thought at the time and fixed some capitalization issues.
2019-06-10 17:03:38 -04:00
Adolfo Gómez García
0b97c15ca8 fixes for python 3.x 2019-06-10 14:43:03 +02:00
Adolfo Gómez García
feeeaed1a9 fixes for python 3.x 2019-06-10 11:23:38 +02:00
Adolfo Gómez García
ccdedb9126 fixes for python 3.x 2019-06-10 08:40:37 +02:00
Adolfo Gómez García
64ddba25f4 continues fixes for python 3.x and removal of 2.7 stuff 2019-06-06 10:41:26 +02:00
Adolfo Gómez García
36794ec5cf fixes for python 3.x and removal of 2.7 stuff 2019-06-06 08:38:11 +02:00
Adolfo Gómez García
89515dce33 more 3.7 fixes 2019-06-05 09:29:31 +02:00
Adolfo Gómez García
613f4efd31 fixes for python3 & type hinting 2019-06-05 08:14:45 +02:00
Adolfo Gómez García
2baac2f532 Added "extra module" for getting extra groups on ldap. Fix passing "self" 2019-05-29 05:16:27 +02:00
Adolfo Gómez García
37ae7af508 Added "extra module" for getting extra groups on ldap 2019-05-29 05:15:44 +02:00
Adolfo Gómez García
d068bcef60 fixed os_state on backend 2019-05-21 15:36:35 +02:00
Adolfo Gómez García
7540ca977f Fixed passwd 2019-05-20 10:57:49 +02:00
Adolfo Gómez García
6ab3bad34b Some cleanups on unused stuff 2019-05-16 08:35:41 +02:00
Adolfo Gómez García
20ff8cafdc Restrained mode now do not allows new machines to be created even on
user demand
2019-05-14 11:54:06 +02:00
Adolfo Gómez García
4c001b044f security for PAM 2019-05-14 08:33:58 +02:00
Adolfo Gómez García
a9b4798155 added security extra to pam 2019-05-14 08:31:08 +02:00
Adolfo Gómez García
7c92d8ad5c restricted PAM to only 1 "id" on params 2019-05-14 08:22:11 +02:00
Adolfo Gómez García
8331c886de Set "tbr" to none always. It's a non useful parameter 2019-05-10 10:10:36 +02:00
Adolfo Gómez García
14da66291e Merge remote-tracking branch 'origin/v2.2' 2019-05-10 10:01:47 +02:00
Adolfo Gómez García
3415cb8604 fixing up things 2019-05-10 10:01:34 +02:00
Adolfo Gómez García
66c217a988 Backport of random fixes 2019-05-10 09:56:07 +02:00
Adolfo Gómez García
d6935d0210 fixed cache 2 -> 1 2019-05-08 11:34:55 +02:00
Adolfo Gómez García
a1866fb56c added RDP keyboards 2019-05-07 09:31:07 +02:00
Adolfo Gómez García
3568f43fc8 added "launcher" for ticketing auth 2019-05-06 10:49:46 +02:00
Adolfo Gómez García
dfa6fe04cc Updated request middelware to work with nginx 2019-04-30 12:44:00 +02:00
Adolfo Gómez García
111660b396 Improves security of random strings 2019-04-29 13:59:52 +02:00
Adolfo Gómez García
c517e746da Fixed NX Transport for new mechanics 2019-04-29 08:28:51 +02:00
Adolfo Gómez García
68f63a02f3 updated transport signatures 2019-04-24 09:35:18 +02:00