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
Adolfo Gómez García
a8f8568c34
Refactor variable names for better readability and consistency
...
Refactor stats_collector.py for improved performance and readability
Add ITEMS_LIMIT constant to rest.py
Add AccumStat dataclass to stats.py
Update get_servicepools_counters method in system.py
Update CountersPoolAssigned class in pools_usage_day.py
Update actor_data method in linux_ad_osmanager.py
Remove AccumStat dataclass from stats.py
2024-10-08 22:28:38 +02:00
Adolfo Gómez García
66dcad2d8d
Refactor variable names for better readability and consistency
2024-10-08 21:13:27 +02:00
Adolfo Gómez García
bfa474d3f1
Refactor stats_collector.py for improved performance and readability
2024-10-08 21:08:36 +02:00
Adolfo Gómez García
a8b1eeb291
Updated actor
2024-10-07 20:29:47 +02:00
Adolfo Gómez García
a12998bef8
Upgraded actor data definition to a dataclass instead of a dict
2024-10-07 20:28:24 +02:00
Adolfo Gómez García
7d76704e7b
Fixed Send Memory over 2Gb and storage size display
2024-10-07 17:09:40 +02:00
Adolfo Gómez García
cce564371c
Fix security of token_aliases
2024-10-04 18:38:58 +02:00
Adolfo Gómez García
c21652fe83
Fixing up unmanaged hosts mesh
2024-10-03 21:54:35 +02:00
Adolfo Gómez García
9e0266d26b
Refactor suggested check interval for fixed user service
2024-10-03 17:57:49 +02:00
Adolfo Gómez García
fa24a5e4f4
Refactor variable names in user_service_status function and ProxmoxClient
2024-10-03 17:49:25 +02:00
Adolfo Gómez García
1a7a4865af
Refactor variable names in user_service_status function
2024-10-03 17:46:18 +02:00
Adolfo Gómez García
b473160400
Refactor ProxmoxClient to improve IP address retrieval logic
2024-10-03 17:34:30 +02:00