1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-03 01:17:56 +03:00
Commit Graph

5610 Commits

Author SHA1 Message Date
Adolfo Gómez García
386a0650b9
Refactor ServerManager counter_storage method to clear counters if they are too old 2024-09-26 16:21:46 +02:00
Adolfo Gómez García
e4a9b89d32
Removed legacy non working actor as downloadables and updated required python version to 3.9 2024-09-26 03:23:27 +02:00
Adolfo Gómez García
6b002a540e
Fixed tree generation to include some more info 2024-09-26 03:04:19 +02:00
Adolfo Gómez García
f8ab0b09d3
Refactor some opchecker methods to use cached instances (by the model instance itself) insead of using 2 variables to hold model an instance 2024-09-26 02:46:58 +02:00
Adolfo Gómez García
fce9e81509
Adding test for actor_v3 and some minor fixes 2024-09-26 02:28:58 +02:00
Adolfo Gómez García
c04a2b7396
Added support for "delayed network" on OpenStack... 2024-09-25 17:52:08 +02:00
Adolfo Gómez García
d973e89842
Updated client 2024-09-23 23:34:53 +02:00
Adolfo Gómez García
821ee3ecc1
Fixing up connection scripts for RDP. Preparing them for future client change on how these are executed 2024-09-23 17:34:21 +02:00
Adolfo Gómez García
af3a03d7f7
Remove 'Max Audit Logs duration' from Security section in Config 2024-09-23 16:07:46 +02:00
Adolfo Gómez García
58b845efd2
Fixed tests 2024-09-23 16:07:38 +02:00
Adolfo Gómez García
27d8432d6d
Refactor OAuth2Test to include code challenge verification and state value retrieval
Refactor the OAuth2Authenticator class in the authenticator.py file to use the cache.pop() method instead of cache.get() and cache.remove()
2024-09-20 00:14:38 +02:00
Adolfo Gómez García
55f3a697ca
Refactor pyrightconfig.json to include src/**/*.py and add stubPath for enterprise/stubs
Working on oauth2 tests
2024-09-19 22:21:57 +02:00
Adolfo Gómez García
6ce5cbe10e
Some improvements to Authentication limitation by network (Extended to REST api and whatever uses authenticator) 2024-09-19 19:32:42 +02:00
Adolfo Gómez García
fc671f2a7a
Now the IP is checked always on authenticate to allow login 2024-09-19 19:03:29 +02:00
Adolfo Gómez García
ec52e0a16f
Removing old legacy nonsese code froma auth (internal authentication is a nonsense...) 2024-09-19 18:41:34 +02:00
Adolfo Gómez García
1d5cd65858
Refactor authentication event logging to use service pool instead of deployed service
Fixing up oauth to use secure sessions
2024-09-19 13:02:40 +02:00
Adolfo Gómez García
95b79f6af1
Renamed test and fixed a warning to debug log on ui 2024-09-18 22:36:27 +02:00
Adolfo Gómez García
50449c79f2
Refactor OAuth2Authenticator to use ResponseType alias and handle logout URL in test_code_flow.py 2024-09-18 22:18:42 +02:00
Adolfo Gómez García
3fbd033964
Refactor OAuth2Authenticator to add support for logout URL in test_code_flow.py 2024-09-18 22:11:37 +02:00
Adolfo Gómez García
4d9ce8b11d
Refactor OAuth2Authenticator to handle different callback scenarios in test_code_flow.py 2024-09-18 22:10:21 +02:00
Adolfo Gómez García
8e51026336
Refactor OAuth2Authenticator to handle logout URL and store token on session 2024-09-18 22:09:51 +02:00
Adolfo Gómez García
fcac2d4d23
Refactor Cache class to add support for removing cached items
The Cache class in cache.py has been refactored to include a new method, `pop()`, which removes a stored cached item and returns it. This method takes a key as input and removes the corresponding item from the cache. If the item is not found, it returns a default value.

This change enhances the functionality of the Cache class by providing a convenient way to remove cached items when needed.

Refactor cache.py to improve cache management
2024-09-18 22:09:12 +02:00
Adolfo Gómez García
c6d9dac602
Adding support for oauth2 authenticator tests 2024-09-18 18:57:56 +02:00
Adolfo Gómez García
ac72b88554
Refactor authorize.py to ignore type checking 2024-09-18 18:57:35 +02:00
Adolfo Gómez García
e4a49ed763
Refactor OAuth2Authenticator to handle missing redirection endpoint and request object 2024-09-18 18:57:21 +02:00
Adolfo Gómez García
2cb262a6db
Refactor security key and secret sizes, and added support for generating public/private pem keys and public/private keys for openssh 2024-09-18 18:57:05 +02:00
Adolfo Gómez García
72e2204c3e
Refactor to use snake_case naming convention and taken away paramiko dependencie (Not needed, because we already use cryptography module) 2024-09-18 18:56:06 +02:00
Adolfo Gómez García
2e541c6cbf
Refactor user_interface.py for improved code readability and maintainability 2024-09-17 18:31:31 +02:00
Adolfo Gómez García
aaeed2d24c
Fixed tag processing flow... was a mess :S 2024-09-17 18:27:48 +02:00
Adolfo Gómez García
7365364b36
fixed import models 2024-09-17 17:05:52 +02:00
Adolfo Gómez García
e9c6b117b8
Refactor authentication URLs to use enum values 2024-09-17 17:05:25 +02:00
Adolfo Gómez García
b6a8892a63
Removed nonvalid links 2024-09-17 03:08:14 +02:00
Adolfo Gómez García
27f950e2b6
Several minor fixes
- Error exception show fix
- Oauth2 tokeninfo fix
- Extracted common fields from ldap, etc.. to fields
- Removed "rereading" tag from main.py, nonsense...
2024-09-17 02:47:34 +02:00
Adolfo Gómez García
735a447334
Updating icons 2024-09-16 19:04:08 +02:00
Adolfo Gómez García
c7666bb4f2
Refactor authentication logging to include error flag 2024-09-16 16:22:42 +02:00
Adolfo Gómez García
c67eee8b73
Refactor pickle imports to use pickletools.optimize 2024-09-13 19:50:10 +02:00
Adolfo Gómez García
33508e0ba0
Refactor variable names in Authenticator class 2024-09-13 19:04:13 +02:00
Adolfo Gómez García
3bbf9ec99a
Refactor deferred deletion worker imports 2024-09-13 00:01:08 +02:00
Adolfo Gómez García
a170596f1d
Improved some user service logs 2024-09-12 21:07:43 +02:00
Adolfo Gómez García
ba78eb7f33
Fixed Rest Userservice to honor "cache" or "assigned" on deletion 2024-09-12 17:59:35 +02:00
Adolfo Gómez García
0524a1bc78
some minor refactoring of userservice names 2024-09-11 17:39:35 +02:00
Adolfo Gómez García
efc4244367
Update HTML5RDPTransport drive name configuration to allow reading from settings file GUACAMOLE_DRIVE_NAME 2024-09-11 16:18:33 +02:00
Adolfo Gómez García
a61514cd3d
Update translations 2024-09-11 15:47:56 +02:00
Adolfo Gómez García
e0fdd8878a
Upgraded user interfaces 2024-09-11 03:42:15 +02:00
Adolfo Gómez García
ab1e807f36
Added tests for validate initialization by ip also 2024-09-10 09:57:05 +02:00
Adolfo Gómez García
4c755f548e
Fixed cache decorator for functions without arguments and fixed server registration certification validation to allow empty certificate 2024-09-10 03:45:52 +02:00
Adolfo Gómez García
b0ffdb5492
Minor aclarations for ActorV3 2024-09-10 03:25:16 +02:00
Adolfo Gómez García
0c6afef707
Refactor code to allow optional prefix in the cached decorator, and improved cache selector for better avoidande of cache collisions 2024-09-10 03:00:11 +02:00
Adolfo Gómez García
a3868190a1
Refactor SAMLAuthenticator to always generate HTTPS URLs 2024-09-09 17:24:38 +02:00
Adolfo Gómez García
6544f194db
Minor fixes and finished actor_initialization implementation
Improved deferred deletion to, in process_to_stop, check must_stop_before_deletion also
2024-09-09 00:44:49 +02:00