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

5695 Commits

Author SHA1 Message Date
Adolfo Gómez García
3fbdea1e23
Fixed user service manager to treat correctly "reset" an instance 2024-10-30 19:56:51 +01:00
Adolfo Gómez García
5ac2e2a73d
Updated actio to use match instead of ifs 2024-10-30 16:40:23 +01:00
Adolfo Gómez García
e8db21b7ed
Some minor updates to tunnel error treating 2024-10-30 03:05:52 +01:00
Adolfo Gómez García
2cb99669ed
Updated translations 2024-10-29 19:34:43 +01:00
Adolfo Gómez García
354ff27e2a
Refactor cache.set to cache.put for improved code readibility 2024-10-25 20:40:04 +02:00
Adolfo Gómez García
c3d9a34c4a
Fixed username/pass for ad osmanager 2024-10-23 16:40:36 +02:00
Adolfo Gómez García
3d57cb9bec
Refactor connection bar property in RDPTransport and TRDPTransport and added, by default, the connection bar in linux if configured. 2024-10-21 18:20:01 +02:00
Adolfo Gómez García
8c2ba3403d
Simple reformating 2024-10-21 16:33:20 +02:00
Adolfo Gómez García
e1ac39e67f
Refactor storage to use dictionary views for improved performance and convenience 2024-10-19 22:35:20 +02:00
Adolfo Gómez García
cfd2ad6b57
Small comment added to hash.py.
Note that we use sha256 as hasing function on all "db storeables" items (such as cache or storage). The probability of clash with the low length keys that we use is, basically, 0, and it's fine this way. Althouth there is faster hashing methods, the los usage and the db itself maky insignificant if it's faster or not
2024-10-19 20:51:19 +02:00
Adolfo Gómez García
1e893240cd
updated client 2024-10-18 21:16:20 +02:00
Adolfo Gómez García
051b23eb92
Cleaned up IPMachinesUserService 2024-10-18 17:55:02 +02:00
Adolfo Gómez García
4388ed0f1b
Added correct exception type to service_multi on assign 2024-10-18 17:45:37 +02:00
Adolfo Gómez García
f7d10a4f4b
Refactorized and moved some "forgotten" services to it place under "core.exceptions" 2024-10-18 17:39:44 +02:00
Adolfo Gómez García
9c70a84977
* Fixed typo on nx remote script
* Added overrided_fields to neded places
2024-10-18 16:36:11 +02:00
Adolfo Gómez García
a165122422
updated client 2024-10-17 18:45:04 +02:00
Adolfo Gómez García
1bf44bd5a2
Refactor Radius MFA to handle MFA identifier and strip domain from username 2024-10-17 18:23:40 +02:00
Adolfo Gómez García
14a58dc423
Refactor config update method to handle non-existing config values and fixed Radius to allow stripping the domain part from the username 2024-10-17 18:19:19 +02:00
Adolfo Gómez García
a318e8ca2b
Added functionalty so Fixed Services (at least those derived from Generic one), overrides the max_countent.... because must be always CONSERVATIVE in order to work correctly 2024-10-16 18:04:06 +02:00
Adolfo Gómez García
418e1f7c0b
Refactor UserServiceManager to raise MaxServicesReachedError when the maximum number of preparing services is reached 2024-10-15 23:05:10 +02:00
Adolfo Gómez García
e1c68f3895
Fixed group manager not yielding groups after refactoring :S 2024-10-15 22:58:58 +02:00
Adolfo Gómez García
9641776ce1
Final refactoring, i hope :) 2024-10-15 22:07:00 +02:00
Adolfo Gómez García
83521cfd7a
Refactor get_services_info_dict function to use valid_trans instead of validTrans 2024-10-15 20:22:53 +02:00
Adolfo Gómez García
9357d61e02
Refactor code to fix CryptoManager method call and improve code readability ad added optional transport instance to userservice creations fixtures 2024-10-15 20:22:38 +02:00
Adolfo Gómez García
ec4d8cc8ad
renamed tunnels.py on REST to more convenient tunnel_tickets.py 2024-10-15 18:17:05 +02:00
Adolfo Gómez García
b2e3471512
Refactor tunnel_ticket.py and tunnels_management.py
- Refactor tunnel_ticket.py to adapt to snake_case and improve code readability
- Add validation to prevent deletion of tunnel server group with attached transports in tunnels_management.py
2024-10-15 18:16:34 +02:00
Adolfo Gómez García
c976716871
Added docs as non git folder 2024-10-14 04:00:44 +02:00
Adolfo Gómez García
58fb367a60
Fixed "itemor" that was in fact "author" 2024-10-14 03:48:37 +02:00
Adolfo Gómez García
2f69c18ad9
Massive refactoring to adapt to snake_case and some improvements to code for groups manager, etc... 2024-10-13 18:54:56 +02:00
Adolfo Gómez García
aa7ce6aad2
Massive refactoring to adapt to snake_case and some improvements to code for groups manager, etc... 2024-10-13 18:02:58 +02:00
Adolfo Gómez García
ac450880c9
snake_case fixin before stabilizing... :) 2024-10-12 19:21:01 +02:00
Adolfo Gómez García
bd53926c81
snake_case fixin before stabilizing... :) 2024-10-12 17:55:14 +02:00
Adolfo Gómez García
25aa09309b
Some improvements to type checking on decorators 2024-10-12 14:52:36 +02:00
Adolfo Gómez García
203a46a804
Refactor ensure_connected decorator to support classes with connect method 2024-10-12 07:04:32 +02:00
Adolfo Gómez García
c041284588
Refactoring for mypy complains... most of them are weird :S 2024-10-12 03:17:54 +02:00
Adolfo Gómez García
dd71811045
Refactor variable names for logging in auth.py and log.py 2024-10-12 02:46:10 +02:00
Adolfo Gómez García
c42b5f270b
Update copyright year in LICENSE file 2024-10-12 02:12:56 +02:00
Adolfo Gómez García
cd136fa750
updated client 2024-10-12 02:06:21 +02:00
Adolfo Gómez García
5b29db9fe8
resigned rdp scripts 2024-10-10 16:38:43 +02:00
Adolfo Gómez García
3f8554fd87
Refactor function names in RDP scripts 2024-10-10 16:37:08 +02:00
Adolfo Gómez García
a39da82971
updated client 2024-10-10 16:21:52 +02:00
Adolfo Gómez García
3b5128c5fd
Fixed location for snapshot type template on fixedservice and updated cached cred deletion on openstack 2024-10-10 16:21:40 +02:00
Adolfo Gómez García
5edc920e01
added comments for cached endpoints on openstack 2024-10-10 00:14:12 +02:00
Adolfo Gómez García
0e3120f3fe
Refactor OpenStackClient cache key generation and storage
This commit refactors the cache key generation and storage in the OpenStackClient class. The cache key is now generated using a combination of the authentication method, identity endpoint, port, domain, username, project ID, and region. The cache key is used to store authentication information in the cache. Additionally, the token validity is calculated and stored in the cache. This improves the caching mechanism and ensures that the token remains valid for the appropriate duration.

This miscalculation, in conjuntion with storing cached credentials WITHOUT a catalog, leads to failure
2024-10-09 18:51:00 +02:00
Adolfo Gómez García
ed9499211d
Add tests directory to pyrightconfig.json 2024-10-09 18:49:49 +02:00
Adolfo Gómez García
1fd286c73a
Refactor imports in REST4.py 2024-10-09 18:49:37 +02:00
Adolfo Gómez García
64d91a7d70
Moved outside src tests (Again... :) ) 2024-10-09 17:06:13 +02:00
Adolfo Gómez García
b38c1c591a
Refactor comment to clarify the purpose of recovering userservice limit from machines list 2024-10-09 16:42:03 +02:00
Adolfo Gómez García
a263bdc100
Refactor NotificationsManager to handle creation of local notifications table 2024-10-09 15:45:06 +02:00
Adolfo Gómez García
83a61b57cc
Removed __slots__ from Job (nonsense... :S) 2024-10-08 23:02:16 +02:00