1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-10-06 11:33:43 +03:00

5109 Commits

Author SHA1 Message Date
aschumann-virtualcable
cdd5f3c1d1 Merge remote-tracking branch 'origin/v4.0' into dev/andres/v4.0 2025-10-02 11:17:39 +02:00
Adolfo Gómez García
979f992b6d Update RDP and X2GO tunnel scripts and signatures with new configurations 2025-10-01 18:47:43 +02:00
Adolfo Gómez García
83689dddaa Merge remote-tracking branch 'origin/dev/andres/v4.0' into v4.0 2025-09-25 19:19:19 +02:00
aschumann-virtualcable
2731013710 fix v4.0 actor 2025-09-25 19:18:53 +02:00
aschumann-virtualcable
39aa842d7f Merge branch 'dev/andres/v4.0' of github.com:VirtualCable/openuds into dev/andres/v4.0 2025-09-25 19:10:05 +02:00
Adolfo Gómez García
99b33d0603 Reset actor 2025-09-25 19:02:22 +02:00
aschumann-virtualcable
398ec1aac0 Merge remote-tracking branch 'origin/v4.0' into dev/andres/v4.0 2025-09-25 12:13:11 +02:00
Adolfo Gómez García
037b4abad1 Add enumerate_servers method to filter out servers in maintenance mode 2025-09-23 19:26:52 +02:00
Adolfo Gómez García
839e4c6b1d Fix access check in ServersServers class to use parent object instead of item 2025-09-23 19:10:49 +02:00
aschumann-virtualcable
2fd157e463 Merge remote-tracking branch 'origin/v4.0' into dev/andres/v4.0 2025-09-22 17:36:09 +02:00
Adolfo Gómez García
7e51c1fd93 Handle InvalidServiceException in enable_service function and log a warning 2025-09-22 16:53:45 +02:00
Adolfo Gómez García
b6af59cc44 Refactor MAC address handling in IPMachinesUserService to use constant for unknown MACs 2025-09-22 16:27:57 +02:00
Adolfo Gómez García
50072e948e Fix token assignment in IPMachinesService to use the correct attribute 2025-09-22 16:22:25 +02:00
Adolfo Gómez García
c5e0d0721f Add max_users attribute to ServerStatsWeights for load calculation 2025-09-19 16:03:16 +02:00
aschumann-virtualcable
afbd4c5355 Fixes incorrect parameter usage for macOS RDP connections
Updates logic to use the correct macOS-specific custom parameters
instead of Linux parameters when generating RDP connection settings.
Adds type ignore comments to improve compatibility with type checkers
and prevent related runtime issues.
2025-09-19 13:54:36 +02:00
aschumann-virtualcable
e4377b83e4 Corrects Mac RDP file usage and field mapping
Aligns Mac-specific RDP file logic to use the appropriate configuration and updates legacy field naming for better clarity and migration. Ensures Mac connections consistently respect intended custom parameter and file options, reducing potential confusion with Linux settings.
2025-09-18 13:59:48 +02:00
Adolfo Gómez García
bf97c6f2dc Reduce default max items to 200 and enhance service pool export logic to include additional user services, while adding server group serialization to the tree command output. 2025-09-17 17:57:41 +02:00
aschumann-virtualcable
6763de2bab Merge remote-tracking branch 'origin/v4.0' into dev/andres/v4.0 2025-09-17 12:35:22 +02:00
Adolfo Gómez García
b4ca743d7c Refactor server management to use atomic transactions for server updates and improve code formatting in service pool model
Fixed is_usable on ServicePool to include locked as a velid is_usable state
2025-09-16 17:45:35 +02:00
Adolfo Gómez García
20f7ae7fcd Update script and preload links in admin index.html with new integrity and timestamp values 2025-09-16 17:34:38 +02:00
Adolfo Gómez García
8aac4f9aa5 Improve error handling in UserServiceManager for non-active elements and task errors 2025-09-16 16:00:37 +02:00
aschumann-virtualcable
f494c706fc Updates RDP signature files for macOS with new parameters 2025-09-15 12:34:00 +02:00
aschumann-virtualcable
76b488dc1d Extends RDP custom parameter support for macOS clients
Unifies logic for applying custom RDP parameters to macOS alongside Windows and Linux, improving compatibility and flexibility for connecting from Apple platforms.

Refactors script handling to better support Thincast and MSRDC clients on macOS, allowing password injection into RDP files and debugging RDP file content. Adds consistent type hints to suppress type checking warnings in subprocess and file operations.

Enhances tunnel scripts to properly apply RDP file logic for Thincast and improves debugging output.

No issue reference provided.
2025-09-15 11:23:47 +02:00
aschumann-virtualcable
826cc7aed8 Add macOS support for RDP file usage in Thincast connections
Adds macOS RDP file support for Thincast connections

Introduces a configurable option to use RDP files for Thincast and xfreerdp on macOS, enabling seamless file-based connections. Updates logic to open Thincast with the RDP file when the option is enabled, improving compatibility and user experience for macOS users.
2025-09-12 15:38:14 +02:00
aschumann-virtualcable
4da15d66fe Improves Thincast client detection and launch on macOS
Switches Thincast detection from file to directory check to match macOS app bundle structure.

Updates Thincast launch logic to use the 'open' command with appropriate arguments, improving compatibility and reliability.

Removes unused code for opening .rdp files with Thincast and applies consistent resolution handling.

Ensures signature files are updated accordingly.
2025-09-12 12:09:54 +02:00
aschumann-virtualcable
79495fc3b1 Enables Thincast support for RDP transport on macOS
Uncomments and activates logic for launching Thincast client,
allowing users to initiate RDP sessions via Thincast.

Updates the related signature file for integrity validation.
2025-09-12 11:24:31 +02:00
Adolfo Gómez García
f438a9241e Remove unused import of DynamicUserService in Xen service module 2025-09-11 17:12:34 +02:00
aschumann-virtualcable
e37b345aff Adds support for RDP file custom params on Linux
Enables the use of Windows custom parameters in RDP file generation when specified for Linux targets, aligning Linux behavior with Windows.

Improves flexibility for custom connection settings across platforms.
2025-09-11 13:15:07 +02:00
aschumann-virtualcable
ce1330066f Enhance XFREERDP and Thincast support to conditionally use RDP files, improving parameter handling and logging.
Improves RDP client handling with conditional file usage

Allows XFREERDP and Thincast to use RDP files when provided, enhancing parameter management and execution flexibility.
Refines logging for better traceability of client launch logic.
2025-09-10 19:22:37 +02:00
aschumann-virtualcable
20e86cd8c7 Refactor Thincast support: rename lnx_thincast_rdp_file to lnx_use_rdp_file, update related logic in RDPTransport and BaseRDPTransport, and enhance RDP file handling in direct.py and tunnel.py.
Refactors Thincast RDP file support for Linux clients

Renames and consolidates configuration for using RDP files with Thincast and xfreerdp, streamlines related logic, and enhances RDP file handling in Linux scripts. Improves clarity, maintainability, and user experience for Linux RDP connections.
2025-09-10 18:33:59 +02:00
Adolfo Gómez García
dc52e37abc Fix proxy handling in secure_requests_session to check for None instead of truthiness 2025-09-09 21:40:17 +02:00
Adolfo Gómez García
69fae6a1a6 Refactor access denial handling in blocker decorator and update frequency for DeployedServiceInfoItemsCleaner 2025-09-09 18:58:13 +02:00
Adolfo Gómez García
7c14923afe Add string representation method to Environment class 2025-09-09 18:07:02 +02:00
Adolfo Gómez García
9e66583b4e Enhance MAC address handling in Proxmox and Xen services; add maintenance command for cleaning unused MACs 2025-09-09 16:58:49 +02:00
aschumann-virtualcable
34676c817f Enhance Thincast support by updating RDPTransport to conditionally handle 'as_file' and improve logging in direct.py for better debugging. 2025-09-09 11:16:52 +02:00
aschumann-virtualcable
d17224c9cb Merge branch 'dev/andres/v4.0' of github.com:VirtualCable/openuds into dev/andres/v4.0 2025-09-09 10:43:02 +02:00
aschumann-virtualcable
b57b00f3fc Add lnx_thincast_rdp_file field to RDPTransport and BaseRDPTransport for Thincast support 2025-09-09 10:42:40 +02:00
aschumann-virtualcable
f82041da1e Add debug logging for Thincast RDP file processing and update signatures 2025-09-08 13:10:04 +02:00
aschumann-virtualcable
03a837f865 Add Thincast support and improve logging in RDP scripts 2025-09-08 13:08:12 +02:00
Adolfo Gómez García
473dc2577f Add MAC Address field to ServersTokens API response 2025-09-05 16:42:31 +02:00
Adolfo Gómez García
49dfaf3709 Add NO_MORE_MACS constant and update error handling in DynamicUserService and UniqueMacGenerator 2025-09-04 22:01:18 +02:00
Adolfo Gómez García
f5afb79a2b Limit length of server group name and comments in migrate function for consistency 2025-09-04 20:18:43 +02:00
Adolfo Gómez García
bd26fb38d9 Add error logging for unavailable IDs in UniqueGenerator and UniqueMacGenerator 2025-09-04 19:20:35 +02:00
aschumann-virtualcable
95f0b0ab26 Update tunnel.py.signature with new signature data 2025-09-04 11:59:05 +02:00
aschumann-virtualcable
28433fc33e Add support for Thincast in RDP scripts and improve executable search logic 2025-09-04 11:55:41 +02:00
aschumann-virtualcable
fc4e7414df Update subproject commits for actor and client modules 2025-09-04 11:26:01 +02:00
aschumann-virtualcable
e61cb1f855 Add logging for client discovery in RDP scripts 2025-09-04 11:25:24 +02:00
Adolfo Gómez García
689214cf84 Refactor code formatting in ServerManager and Server classes for improved readability 2025-09-04 02:05:41 +02:00
Adolfo Gómez García
d268478767 Add server stats weights handling and update load calculation 2025-09-04 02:04:17 +02:00
Adolfo Gómez García
4a5ad5dc09 Update max user limit in ServerStats comment from 1000 to 100 for accuracy 2025-09-03 16:06:41 +02:00
Adolfo Gómez García
7365ee8cc6 Fix CryptoManager call in generate_uuid function to use manager method 2025-09-03 15:44:54 +02:00
Adolfo Gómez García
5a93aa15e8 Add HA group handling for Proxmox version 9 and update tests accordingly 2025-08-25 17:29:08 +02:00
aschumann-virtualcable
1fddc17b75 initial dev enviroment 2025-08-21 18:04:11 +02:00
Adolfo Gómez García
ca540d7725 Improve logging message in RadiusClient and change secret field to PasswordField in RadiusOTP for better security 2025-08-21 16:30:39 +02:00
Adolfo Gómez García
fe11b485ed Rename _ensure_local_db_exists method to ensure_local_db_exists for clarity 2025-08-19 17:16:38 +02:00
Adolfo Gómez García
12394c873c Rename force_new parameter to for_unique_id in multiple services for clarity and consistency
Fixed NutanixPrism getting the mac at the end of the generation
2025-08-08 18:27:30 +02:00
Adolfo Gómez García
5904a9c9c5 Add timeit context manager for measuring code execution time 2025-08-07 18:17:55 +02:00
Adolfo Gómez García
6ecefbabe8 Add checks for VM state and delete_vm calls in TestXenPublication and TestProxmoxPublication 2025-08-07 05:42:56 +02:00
Adolfo Gómez García
74908f186c Rename domain_allowed parameter to allow_domain in validate_hostname function for consistency 2025-08-07 05:37:07 +02:00
Adolfo Gómez García
102b36d090 Rename new_func to connect_and_execute for improved clarity in ensure_connected decorator 2025-07-31 17:24:11 +02:00
Adolfo Gómez García
52f8a91f75 Add docstring to validate_hostname function for improved clarity and usage 2025-07-31 17:01:30 +02:00
Adolfo Gómez García
ad9a0c3f11 Improve logging for future job execution warnings with detailed timestamps 2025-07-31 16:54:38 +02:00
Adolfo Gómez García
c5299378cf Refactor AssignedService and CachedService classes to improve field handling and structure 2025-07-30 16:19:56 +02:00
Adolfo Gómez García
6c315ef8a8 Add persistent database configuration for SQLite with connection options 2025-07-23 21:04:03 +02:00
Adolfo Gómez García
6f192a8f7c Improve error logging in process function to include stack trace 2025-07-23 20:13:21 +02:00
Adolfo Gómez García
890f00b111 Refactor logging in process_log function for improved readability 2025-07-23 20:12:53 +02:00
Adolfo Gómez García
3e67e3ba30 Add MAC address display to ServersServers detail response 2025-07-23 18:09:35 +02:00
Adolfo Gómez García
e5ea6d6a33 Update RDP security handling to use TLS when no credentials are provided 2025-07-22 17:05:14 +02:00
Adolfo Gómez García
3009ae601a Refactor RDP security handling to use no_credentials flag instead of force_rdp_security for improved clarity 2025-07-22 16:59:36 +02:00
Adolfo Gómez García
ed2e3c557d Enhance UDSClusterNode representation with as_dict method and update tree command to use dictionary format for cluster nodes 2025-07-22 16:02:54 +02:00
Adolfo Gómez García
7ca96e4262 Enhance get_serialized_from_managed_object function with callback support and update system tree structure to include connectivity details, scheduled jobs, and delayed tasks 2025-07-21 21:54:16 +02:00
Adolfo Gómez García
46546a837e Add network interface utilities and update SystemInformation job frequency 2025-07-21 19:38:27 +02:00
Adolfo Gómez García
f1ffe0cb9c Add support for proxy configuration in secure_requests_session function 2025-07-21 17:32:56 +02:00
Adolfo Gómez García
7ce0fb0f22 Enhance logging in XenPublication and XenClient classes for better traceability; refactor variable naming for consistency 2025-07-19 02:31:34 +02:00
Adolfo Gómez García
a90d2719a3 Add SystemInformation job for periodic cluster info storage 2025-07-19 02:31:27 +02:00
Adolfo Gómez García
e8d7da650c Fix type hinting for value field in Properties model by using typing.cast 2025-07-19 02:31:08 +02:00
Adolfo Gómez García
6f4d14bdf2 Enhance TimeTrack class: fix last_check assignment logic and add get_my_ip_from_db function for retrieving server IP from the database 2025-07-19 02:30:27 +02:00
Adolfo Gómez García
9f303b8cfa Implement cluster management functionality: add UDSClusterNode class, store_cluster_info, and enumerate_cluster_nodes methods; integrate with task manager and tree commands. 2025-07-19 02:29:52 +02:00
Adolfo Gómez García
8db36ac964 Adjust delayed task execution timing and improve logging for task handling 2025-07-19 02:28:31 +02:00
Adolfo Gómez García
921abfe0bb Use sql_stamp_seconds to adjust timestamp in StatsCountersAccum 2025-07-17 15:27:00 +02:00
Adolfo Gómez García
15b13b00ae Refactor delayed task and scheduler logic to improve time checks; rename maintenance cleanup method for consistency 2025-07-17 03:29:15 +02:00
Adolfo Gómez García
763ca4bd07 Updated translations 2025-06-27 16:25:46 +02:00
Adolfo Gómez García
faf852cdaa updated admin interface to improve some texts 2025-06-27 15:39:28 +02:00
Adolfo Gómez García
35e4422e0e Handle MaxServicesReachedError in UserServiceManager to log error and delete assigned service 2025-06-25 18:37:02 +02:00
Adolfo Gómez García
288757c984 Refactor get_unique_id method in IPMachinesUserService to return MAC address or IP address 2025-06-25 18:03:20 +02:00
Adolfo Gómez García
9b0ea5f893 Updated actor 2025-06-25 16:50:36 +02:00
Adolfo Gómez García
af2178d338 Refactor get_unique_id method in IPMachinesUserService to return IP address instead of hashed VMID 2025-06-25 16:49:50 +02:00
Adolfo Gómez García
3ec748eba6 Enhance operation handling in DynamicUserService to check FINISH state for deferred operations 2025-06-24 13:39:58 +02:00
Adolfo Gómez García
429700d4c1 Enhance deferred operation handling in DynamicUserService for improved state management 2025-06-24 13:33:17 +02:00
Adolfo Gómez García
91184a24b0 Refactor state handling and logging in DynamicUserService for improved clarity 2025-06-22 04:04:55 +02:00
Adolfo Gómez García
8ae073bc27 Improve state update efficiency in PublicationLauncher by specifying updated fields 2025-06-21 19:17:51 +02:00
Adolfo Gómez García
d4b90c387b Refactor destroy operation handling in DynamicPublication for improved clarity 2025-06-21 16:51:17 +02:00
Adolfo Gómez García
bf1b4a3d31 Refactor type hinting in AutoSpecMethodInfo and enhance logging functions in helpers.py 2025-06-21 06:03:37 +02:00
Adolfo Gómez García
ed99412e71 fixed logging info 2025-06-20 01:32:14 +02:00
Adolfo Gómez García
d387366d15 Refactor username and domain handling in HTML5RDP and RDP transports for improved clarity and consistency 2025-06-20 01:25:25 +02:00
Adolfo Gómez García
f781a8001c Add retry_on_exception decorator for enhanced error handling 2025-06-20 01:25:10 +02:00
Adolfo Gómez García
1be33751d9 fixed tag and domain auths 2025-06-17 18:17:27 +02:00
Adolfo Gómez García
b2baf61d0e Remove exception info from IP retrieval error logging in DynamicUserService 2025-06-17 16:20:57 +02:00
Adolfo Gómez García
6d1e999b1f Refactor get_by_tag method to improve tag filtering and update uds_js to handle global login configuration 2025-06-13 17:59:32 +02:00
Adolfo Gómez García
076a300751 Fix username formatting in preconnect request to include domain from transport 2025-06-13 15:40:00 +02:00
Adolfo Gómez García
43406e10f6 Refactor cookie handling and decorators for consistency and clarity 2025-06-12 18:28:48 +02:00
Adolfo Gómez García
87974bf745 Add visibility check for authenticators in uds_js function 2025-06-10 23:08:18 +02:00
Adolfo Gómez García
95e02593c5 Fix variable naming for clarity and adjust condition for dummy record insertion in StatsCountersAccum 2025-06-08 02:21:38 +02:00
Adolfo Gómez García
0f7f08fb4f Fixed stats acummulation in case of interval without data, and added "accumulate" as manage command 2025-06-07 14:44:57 +02:00
Adolfo Gómez
2be6f93964 Update README.md 2025-06-04 16:42:54 +02:00
Adolfo Gómez
28cbf6196a Update README.md 2025-06-04 16:40:11 +02:00
Adolfo Gómez García
4ca4981d97 Rename 'username' to 'account' in LinuxAdOsManagerActorTest for consistency 2025-05-28 21:05:51 +02:00
Adolfo Gómez García
a06d9c0d5c Fixed conversion from stored timestamp to datetime when checking cookies 2025-05-26 16:46:46 +02:00
Adolfo Gómez García
889c10b451 Add field_name property to FieldInfo and set it in UserInterfaceType 2025-05-23 15:46:51 +02:00
Adolfo Gómez García
dcbc252df6 Update log management to clarify log clearing and prevent orphan logs 2025-05-22 17:40:37 +02:00
Adolfo Gómez García
2e29790d57 Fix type hint for parameters in TransportScript to specify value types 2025-05-22 17:20:29 +02:00
Adolfo Gómez García
85b940375d Rename variable 'username' to 'full_username' for clarity in UserServiceManager 2025-05-19 17:12:18 +02:00
Adolfo Gómez García
74abc6c3e7 updated actor 2025-05-14 18:47:12 +02:00
Adolfo Gómez García
de86a999b1 Fix type hint for custom field in ActorData to specify value types 2025-05-14 18:26:48 +02:00
Adolfo Gómez García
583e6220bd Fix logging message to correctly reference DynamicUserService in exception handling 2025-05-12 20:55:33 +02:00
Adolfo Gómez García
11d7a1cad1 Change logging level from info to debug for VM selection and cloning processes; update error logging to warning for guest IP retrieval 2025-05-09 19:32:39 +02:00
Adolfo Gómez García
cd82071bf0 fixed logging info 2025-05-09 19:31:01 +02:00
Adolfo Gómez García
d572d0bff7 Rename 'username' to 'account' in custom user service data to match actor usage 2025-05-09 19:30:26 +02:00
Adolfo Gómez García
28d5895edd Cast parent to support both ServicePool and MetaPool in delete_item method 2025-05-08 17:24:47 +02:00
Adolfo Gómez García
22a5d3dee5 Restore CACHE_TIME_TIMEOUT to 60 seconds for less frequent database refresh 2025-04-30 12:13:43 +02:00
Adolfo Gómez García
ca63c3decf Reduce CACHE_TIME_TIMEOUT to 10 seconds for more frequent database refresh 2025-04-30 12:11:58 +02:00
Adolfo Gómez García
3072eabc74 Add 'data_type' field to service response for compatibility with old code 2025-04-25 14:29:43 +02:00
Adolfo Gómez García
bf93c2cbe4 Fix type hint for disks field in ServerStats and simplify stamp assignment in from_dict method 2025-04-23 20:33:17 +02:00
Adolfo Gómez García
ae1009d1a0 Refactor error handling and improve code readability in ServerApiRequester methods 2025-04-23 20:33:07 +02:00
Adolfo Gómez García
7347c6fb49 Enhance AssignedService to support IP address changes and validate user ownership updates 2025-04-23 20:23:28 +02:00
Adolfo Gómez García
46c03a84f5 Handle Server.DoesNotExist exception when retrieving server by UUID in ServerManager 2025-04-23 20:23:11 +02:00
Adolfo Gómez García
ed739c62ac Add is_managed method to Server class to determine server management status 2025-04-23 17:02:18 +02:00
Adolfo Gómez García
52d947cb7d Increase IDP metadata field length and improve metadata fetching logic with enhanced error handling and type casting 2025-04-23 16:44:39 +02:00
Adolfo Gómez García
2f23b12f4e Enhance email MFA notifications by improving message content in plain text and HTML formats 2025-04-21 17:15:15 +02:00
Adolfo Gómez García
f73a727107 Enhance email MFA notifications by including additional message content in both plain text and HTML formats 2025-04-21 15:32:29 +02:00
Adolfo Gómez García
f6e7143415 Refactor error handling and logging in ServicesPools to improve clarity and maintainability 2025-04-16 19:00:12 +02:00
Adolfo Gómez García
c6ef43826a Handle AccessDenied exception in blocker decorator to improve error management 2025-04-16 17:53:32 +02:00
Adolfo Gómez García
439a07297f Add error logging for invalid token access and implement report generation for deferred deletion state 2025-04-16 17:30:14 +02:00
Adolfo Gómez García
bef5896c32 Refactor services_pools and user_services to improve code clarity and maintainability 2025-04-15 16:27:06 +02:00
Adolfo Gómez García
086366a2a1 Enhance ChromeOS detection by refining SSL header handling and adding fallback tests for User-Agent 2025-04-11 14:46:20 +02:00
Adolfo Gómez García
10b6850a64 Refactor service pool state checks and add test for locked service pool behavior 2025-04-10 18:58:05 +02:00
Adolfo Gómez García
1bf80722a0 Add docstring to db_value method in KnownOS enum for clarity 2025-04-10 17:48:23 +02:00
Adolfo Gómez García
177536e77a Enhance Chrome OS detection by adding alternative name and unit test for SSL headers 2025-04-10 17:46:20 +02:00
Adolfo Gómez García
166c407db9 Fix ChromeOS user agent string in test_detect_chromeos 2025-04-10 17:10:23 +02:00
Adolfo Gómez García
2d45e43cd1 Add unit test for ChromeOS detection in os_detector 2025-04-10 17:07:02 +02:00
Adolfo Gómez García
b5b1cc276a Refactor server activity enumeration and update test fixture to set last_ping 2025-04-10 05:15:07 +02:00
Adolfo Gómez García
decb02ed64 Add method to enumerate servers with recent activity and refactor excluded servers logic 2025-04-09 21:35:11 +02:00
Adolfo Gómez García
85e948a447 Enhance authentication logic to exclude disabled authenticators and filter visible ones in configjs 2025-04-09 16:48:46 +02:00
Adolfo Gómez García
e2f8d47b7f Fixed network uuid retrieval that was {'id': ...} and must be {...} 2025-04-09 16:47:17 +02:00
Adolfo Gómez García
f592647f70 Add last_activity_period parameter to exclude inactive servers in selection 2025-04-09 05:00:45 +02:00
Adolfo Gómez García
b5a91d5ea8 Update script and preload links in admin index.html with new version stamps and integrity hashes 2025-04-08 17:25:55 +02:00
Adolfo Gómez García
938dfeaa15 Refactor user service field retrieval to conditionally include state, cache level, and actor version based on service pool state 2025-04-08 17:10:22 +02:00
Adolfo Gómez García
cffc8ff368 Fix MAC address display in ServersGroups to handle unknown MACs 2025-04-08 16:56:28 +02:00
Adolfo Gómez García
78f5e59a40 Add response stamp and additional fields to server management responses 2025-04-08 16:50:00 +02:00
Adolfo Gómez García
47e329fdf4 Enhance user service removal logic to allow forced removal and improve GPU availability check in Proxmox client 2025-04-07 18:29:00 +02:00
Adolfo Gómez García
ff21166e87 Add message authenticator verification to RadiusClient authentication 2025-04-06 21:06:09 +02:00
Adolfo Gómez García
eec65716d9 Add 'Use Message Authenticator' option to Radius authentication and MFA 2025-04-06 13:38:06 +02:00
Adolfo Gómez García
eba9fb02d6 Fix filter syntax in LogMaintenance to use correct field lookup for created date 2025-04-03 19:13:55 +02:00
Adolfo Gómez García
47f835186c Refactor test_migration.py for improved readability and maintainability 2025-04-02 22:56:35 +02:00
Adolfo Gómez García
99855aa982 Refactor user_uuid assignment in ServerManager to simplify logic and remove unused parameter 2025-04-02 22:56:26 +02:00
Adolfo Gómez García
26ee2dbc9c Remove unused parameter from authenticate function in auth.py 2025-04-02 22:31:48 +02:00
Adolfo Gómez García
08e11b0287 Refactor IPMachinesService code for improved readability and maintainability 2025-04-01 17:01:12 +02:00
Adolfo Gómez García
82fda13468 Improve error logging in IPMachinesService during post-migration data retrieval 2025-04-01 17:00:31 +02:00
Adolfo Gómez García
eabcda81af Improve error handling in migrator and IPMachinesService to log exceptions during post-migration and data retrieval 2025-04-01 16:59:41 +02:00
Adolfo Gómez García
15d975d3f8 Fix file sharing options in HTML5RDPTransport to correctly handle upload and download settings 2025-04-01 16:27:33 +02:00
Adolfo Gómez García
7c75cbd211 Fix transport OS validation logic and improve error logging in Windows OS Manager 2025-03-27 17:19:09 +01:00
Adolfo Gómez García
a7d948de85 Refactor tunnel_wait_time_field to use a default parameter for improved flexibility 2025-03-26 16:03:47 +01:00
Adolfo Gómez García
668a3f5353 Fix state field handling and improve OS Manager error handling in ServicesPools 2025-03-20 19:12:10 +01:00
Adolfo Gómez García
a760c18072 Refactor error handling to include CSRF token in context and clean up imports 2025-03-19 17:11:53 +01:00
Adolfo Gómez García
1098152054 Refactor RDP scripts to enhance xfreerdp detection and improve error messaging for missing clients 2025-03-19 00:55:38 +01:00
Adolfo Gómez García
aefa4e830e Enhance RDP script to prioritize Thincast client and improve executable detection logic 2025-03-19 00:40:21 +01:00
Adolfo Gómez García
8699bfb64c Update integrity signatures for macOS RDP scripts 2025-03-18 22:09:30 +01:00
Adolfo Gómez García
279b2a74f7 Add support for Thincast Remote Desktop Client in macOS RDP scripts 2025-03-18 22:08:59 +01:00
Adolfo Gómez García
d34e7e32e8 Add 'macOS' to KnownOS enum and type hint for sec_ch_ua_platform in OS detector 2025-03-18 21:16:46 +01:00
Adolfo Gómez García
255d0c9abd Update script integrity hashes in admin index.html for improved security 2025-03-14 20:38:42 +01:00
Adolfo Gómez García
af9e8b9faa Add mock patch for test connectivity in user service tests 2025-03-14 18:37:02 +01:00
Adolfo Gómez García
aaed98d3b8 Remove 'optimize teams' functionality from RDP transport classes and scripts 2025-03-12 19:17:14 +01:00
Adolfo Gómez García
d94e15a340 updated tranlations 2025-03-12 19:05:10 +01:00
Adolfo Gómez García
a93e31cb93 Set must_stop_before_deletion to False in OpenStackLiveService for proper deletion handling 2025-03-12 18:56:32 +01:00
Adolfo Gómez García
813e85a4f6 Change cookies consent text field type from TEXT to LONGTEXT for improved flexibility 2025-03-10 17:15:53 +01:00
Adolfo Gómez García
d96ed763ec Add cookies consent URLs to configuration and update template to use them 2025-03-07 17:48:21 +01:00
Adolfo Gómez García
fcc141138c Update script references in admin index.html to latest versions 2025-03-07 16:26:31 +01:00
Adolfo Gómez García
0b80ce9843 Update script references in admin index.html to latest versions 2025-03-07 16:23:07 +01:00
Adolfo Gómez García
0085dfc41d Add translations for locked service pool and restrict actions for locked state 2025-03-03 20:25:23 +01:00
Adolfo Gómez García
3f7e194713 Clean up whitespace and improve connection check in OpenNebulaClient (fixed connection error) 2025-03-03 19:19:17 +01:00
Adolfo Gómez García
1be79a8246 Fix state filtering in ServicePool and related models to use state__in for querying PROCESABLE_STATES 2025-03-03 16:31:53 +01:00
Adolfo Gómez García
393e2f41c9 Add optional state field to ServicesPools and ensure default handling in pre_save method 2025-03-02 17:37:02 +01:00
Adolfo Gómez García
14fe9e19cf Refactor state filtering in ServicePool and related models to use PROCESABLE_STATES for improved state management. Added support for LOCKED (non editable, but removable) state on service pools 2025-03-02 16:10:23 +01:00
Adolfo Gómez García
cc2fb5ddaa Refactor ServicesPools to use processed_macros_len for name length validation and add processed_macros_len method in UsageInfoVars 2025-03-02 15:32:05 +01:00
Adolfo Gómez García
9c45afaa23 Add counts for OS managers, transports, networks, calendars, tunnels, and authenticators in system status response 2025-02-28 19:02:11 +01:00
Adolfo Gómez García
208c96bad9 Fix regex in ProxmoxServiceLinked to allow underscores in VM names (and sanitize them to -) 2025-02-28 18:06:39 +01:00
Adolfo Gómez García
7791a67ed5 Refactor PublicationOldMachinesCleaner to log user service updates and improve readability. Alsi fixed and now only removes its own old user services 2025-02-26 17:50:40 +01:00
Adolfo Gómez García
bf62e390df Refactor ProxmoxUserserviceLinked to use get_vmname for VM naming in op_create 2025-02-25 18:32:17 +01:00
Adolfo Gómez García
3efeeb4df5 Enhance server lock documentation and improve port connectivity handling in IPMachinesService 2025-02-19 19:19:22 +01:00
Adolfo Gómez García
2c2c6d5fa5 Add port connectivity check for server selection in IPMachinesService 2025-02-19 19:16:13 +01:00
Adolfo Gómez García
0d614aaef5 Update script preload links and integrity hashes in admin index.html 2025-02-19 18:37:32 +01:00
Adolfo Gómez García
6f692e439f Refactor server stats to use load instead of weight for performance metrics 2025-02-19 18:10:38 +01:00
Adolfo Gómez García
01a46600dc updated tranlations 2025-02-18 21:18:47 +01:00
Adolfo Gómez García
cddb096048 Add translation strings for user and service counts; update variable names for clarity 2025-02-18 20:58:16 +01:00
Adolfo Gómez García
5d8f9efaa5 Enhance system overview to include counts of users with valid services and assigned user services 2025-02-18 20:29:55 +01:00
Adolfo Gómez García
91b4eae2d5 Update server and tunnel management methods to filter items based on group assignments 2025-02-18 18:45:43 +01:00
Adolfo Gómez García
0c31080765 Update script and preload links in admin index.html with new integrity stamps 2025-02-18 18:01:01 +01:00
Adolfo Gómez García
e3be9aeefc Add weight attribute to server stats in ServersGroups class 2025-02-18 17:07:33 +01:00
Adolfo Gómez García
3c1266cc11 Refactor SMSMFA class to use _transform_placeholders method for SMS content generation and update method signatures to include real_name parameter 2025-02-17 17:36:23 +01:00
Adolfo Gómez García
f3a8335998 Refactor save_item methods to return item IDs and update get_real_name logic in user registration 2025-02-14 17:13:07 +01:00
Adolfo Gómez García
a10f05766d Disable mfa_data_enabled attribute in IPAuth class 2025-02-13 17:25:33 +01:00
Adolfo Gómez García
419c828cc0 Use singleton instance of CryptoManager for password encryption in Tickets handler 2025-02-12 17:48:53 +01:00
Adolfo Gómez García
1c81c4e76c Add mfa_data_enabled attribute to authenticator classes and update related methods 2025-02-12 17:43:09 +01:00
Adolfo Gómez García
67b58f62ee Add force_new parameter to get_mac method for DynamicService and its implementations 2025-02-11 18:34:16 +01:00
Adolfo Gómez García
a25b510f0e Refactor support parameters handling in HTML5RDPTransport to use dictionary comprehension for cleaner code 2025-02-11 17:05:20 +01:00
Adolfo Gómez García
3edabec51e Refactor CryptoManager usage to use singleton instance for random string and encryption 2025-02-11 16:56:25 +01:00
Adolfo Gómez García
92eee92b29 Add support parameters field to HTML5RDPTransport for configurable options 2025-02-11 16:19:25 +01:00
Adolfo Gómez García
0a45c06284 Remove unused weblogin_required decorator from download view to allow downloads 2025-02-10 17:03:08 +01:00
Adolfo Gómez García
b9594013a0 Remove unnecessary comment on DBConfig enumeration in Config class 2025-02-05 13:38:32 +01:00
Adolfo Gómez García
354040c051 Add 'state' field to save_fields in Authenticators model 2025-01-30 18:23:57 +01:00
Adolfo Gómez García
45d1ad17e9 Clarify interval parameter in stats methods and improve performance logging in authenticator stats report 2025-01-22 19:52:17 +01:00
Adolfo Gómez García
0964a38aef Updated admin interface 2025-01-22 18:20:49 +01:00
Adolfo Gómez García
77f582a8cf Clean up OU values by removing spaces around commas and equals signs in Linux and Windows OS managers 2025-01-22 17:46:52 +01:00
Adolfo Gómez García
0f218cbeba Refactor imports in servers_management.py to avoid circular dependencies 2025-01-21 17:33:05 +01:00
Adolfo Gómez García
2d83f3a32b updated client (minor fixes 2025-01-21 14:50:06 +01:00
Adolfo Gómez García
0fefd8864a Fix key name in server response to use 'hostname' instead of 'name' 2025-01-20 23:51:36 +01:00
Adolfo Gómez García
f5dedb1cde Add server stats method and improve server management logic, due to using select_for_update when no transaction where used... 2025-01-20 23:51:02 +01:00
Adolfo Gómez García
70c865c862 updated client 2025-01-20 23:27:36 +01:00
Adolfo Gómez García
defd2ddd7c Removed by now the inclussion of x2goclient inside appimages 2025-01-20 18:10:50 +01:00
Adolfo Gómez García
79a1fe5e80 Fixed client 2025-01-20 18:10:15 +01:00
Adolfo Gómez García
793f6fda18 Update domain handling in update_transport_ticket to format username correctly 2025-01-15 18:22:49 +01:00
Adolfo Gómez García
4224f9be66 Enhance PoolPerformanceReport to include 'ALL POOLS' option and improve data handling for user and access graphs 2025-01-10 17:12:50 +01:00
Adolfo Gómez García
5d2ae3285c Refactor owner_id filtering logic and enhance pool field definition in UsageSummaryByUsersPool 2025-01-10 16:48:33 +01:00
Adolfo Gómez García
735ccd22c0 Add PasswordExpired exception for handling expired passwords 2025-01-10 16:37:12 +01:00
Adolfo Gómez García
a5e94bfa9a Update permissions validation to allow single argument requests 2025-01-08 18:17:07 +01:00
Adolfo Gómez García
a449c93464 Change client_secret and secret fields to PasswordField for enhanced security 2025-01-08 17:20:17 +01:00
Adolfo Gómez García
59af07590b Remove logging of decoded password fields for security enhancement 2025-01-08 17:11:41 +01:00
Adolfo Gómez García
08b7fd549a Add compatibility for decoding text fields converted to password fields 2025-01-08 17:10:59 +01:00
Adolfo Gómez García
4d2ddd3909 Added "Password expired" message error 2025-01-08 16:43:17 +01:00
Adolfo Gómez García
99305c17e7 Refactor user filtering in DeployedServiceStatsCollector to include only valid user services 2024-12-30 16:50:42 +01:00
Adolfo Gómez García
9b3caed641 Added support for checking id the service pool is active before trying to create "new" userservices 2024-12-25 00:52:32 +01:00
Adolfo Gómez García
a881509502 Convert max_services_count_type to string for consistent data handling in services response 2024-12-23 17:32:20 +01:00
Adolfo Gómez García
a4cc9fc750 Fixed admin storage 2024-12-23 17:00:57 +01:00
Adolfo Gómez García
51fbb7b613 Add User-Agent header to OpenGnsysClient requests to be the requests headers, because opengsnsys filters by that. 2024-12-23 16:59:10 +01:00
Adolfo Gómez García
3863236afd Set FAKE constant to False for accurate behavior in OpenGnsys service 2024-12-23 16:39:30 +01:00
Adolfo Gómez García
ad33b1f57a Update integrity hashes in admin index HTML and enhance permissions handling for server groups 2024-12-20 17:07:59 +01:00
Adolfo Gómez García
f97c776399 Fixed admin interface 2024-12-19 16:44:14 +01:00
Adolfo Gómez García
1962f1a55f Normalize OS name comparison in Transport model for case insensitivity 2024-12-19 16:19:45 +01:00
Adolfo Gómez García
5a788e0ed5 Normalize OS name comparison in Transport model for case insensitivity 2024-12-19 16:18:35 +01:00
Adolfo Gómez García
571c56e64b Update script integrity hashes in admin and modern index HTML files 2024-12-18 16:26:40 +01:00
Adolfo Gómez García
2e7032b980 Refactor showconfig command to ensure section names are consistently converted to strings for CSV and YAML outputs 2024-12-16 18:04:47 +01:00
Adolfo Gómez García
fdbf91cbc1 added some < and > validations for enhaced security 2024-12-16 17:55:12 +01:00
Adolfo Gómez García
f868607740 Restored release version (mistake) 2024-12-09 18:18:16 +01:00
Adolfo Gómez García
cef086a3c3 Upgrading to next expected release verseion 2024-12-09 17:44:55 +01:00
Adolfo Gómez García
176cf31e48 Fixed tunnel server stats 2024-12-06 03:54:27 +01:00
Adolfo Gómez García
0d604d04b6 Updated admin interface to disallow html titles, etc.. 2024-12-06 03:54:21 +01:00
Adolfo Gómez García
d19991523c Fixed tunnel server stats 2024-12-05 04:27:59 +01:00
Adolfo Gómez García
6bf7055ac2 Updated admin interface 2024-12-04 18:09:39 +01:00
Adolfo Gómez García
3b34990843 updated tunnel server 2024-12-04 17:46:54 +01:00
Adolfo Gómez García
70d3e386af Refactor UserServiceManager methods for clarity and improved logging 2024-12-04 17:13:54 +01:00
Adolfo Gómez García
f6f7f7d7b5 fixed cache usage check in ServicePool to include initial servers 2024-12-04 15:58:06 +01:00
Adolfo Gómez García
2f5e8c5f53 Updating actor to add some more resilience to network problems 2024-12-03 17:10:01 +01:00
Adolfo Gómez García
a1daeb78b4 Added caching to JavaScript catalog view and minor gui fix 2024-12-02 01:23:11 +01:00
Adolfo Gómez García
1485d7dd9e Updated translations 2024-11-19 23:41:39 +01:00
Adolfo Gómez García
d0e13b5643 Updating frontends 2024-11-19 23:31:50 +01:00
Adolfo Gómez García
a7b64504fe Some minor type checking fixes and updated basic non supported platform script 2024-11-13 22:03:47 +01:00
Adolfo Gómez García
90ba463fb9 Updated translations 2024-11-13 20:17:19 +01:00
Adolfo Gómez García
553bff614d * Added support for enabling client_logging 2024-11-13 20:10:06 +01:00
Adolfo Gómez García
78aefbcfec updated client 2024-11-13 19:25:15 +01:00
Adolfo Gómez García
a8f77a05de Removed exception log and added base for allow client logs upload 2024-11-13 18:59:53 +01:00
Adolfo Gómez García
beea237758 Enhance logging capabilities and refactor matcher function usage
- Added 'CLIENT' as a log source in LogSource enum.
- Updated translations to include "Logs".
- Refactored matcher function to match for consistency across multiple files.
- Modified log method in UserService and User classes to accept a source parameter.
- Adjusted LogMaintenance job frequency from two hours to one hour and added a condition for log removal based on creation time.
2024-11-13 18:30:06 +01:00
Adolfo Gómez García
4a32800545 Update subproject reference to latest commit 2024-11-13 06:19:19 +01:00
Adolfo Gómez García
c7014c95ff Adding capacity to ask client for execution logs 2024-11-13 06:18:37 +01:00
Adolfo Gómez García
5a5c68fef7 Some minor improvements to tunneling, related to connection close and logging 2024-11-13 05:05:33 +01:00
Adolfo Gómez García
6ba08a361a Refactor authentication method names for consistency: replaced 'web_login' and 'web_logout' with 'weblogin' and 'weblogout' across multiple files
Fixed security to, in case of ip change on secured sessions, redirect to login instead of showing a "forbidden"
2024-11-13 03:03:48 +01:00
Adolfo Gómez García
14278daa14 Convert policy and ha_policy to string representation in MetaPools response to allow compat with choices 2024-11-12 18:18:40 +01:00
Adolfo Gómez García
75852519aa Reverted changes to tunnel.py. Not working as expected 2024-11-12 18:11:05 +01:00
Adolfo Gómez García
d697ac5ee4 Added exception handling on request close 2024-11-11 23:48:57 +01:00
Adolfo Gómez García
8680146fba For improving that client using tunnel detects that the tunnel closed abruptly, also added "close" to request 2024-11-11 23:38:50 +01:00
Adolfo Gómez García
a1b63920ab After some tests, an real improvement to treating connection lost. Now if the client reties the connection using the tunnel, and the tunnel ticket lives long enought, the client may restablish the connection. The inverval given for this is currently 5 seconds, hope this is enough... 2024-11-11 23:28:42 +01:00
Adolfo Gómez García
7b1e55cf8f Minor improvements to client to try to reconnect to tunnel server and new tunnel server error 2024-11-11 23:10:22 +01:00
Adolfo Gómez García
6c8d7b1bd9 Minor improvements to client to try to reconnect to tunnel server and new tunnel server error 2024-11-11 23:06:47 +01:00
Adolfo Gómez García
8eedbe7b09 Minor improvements to client to try to reconnect to tunnel server and new tunnel server error 2024-11-11 23:02:22 +01:00
Adolfo Gómez García
c06bf292ce Minor improvements to client to try to reconnect to tunnel server and new tunnel server error 2024-11-11 22:18:49 +01:00
Adolfo Gómez García
b8825c19af Refactor service pool handling and streamline accumulated stats emission 2024-11-11 18:18:56 +01:00
Adolfo Gómez García
93db2388bb Refactor StatsManager and StatsCountersAccum for improved data handling and logging 2024-11-11 18:12:49 +01:00
Adolfo Gómez García
7311044165 Updated client 2024-11-08 16:25:53 +01:00
Adolfo Gómez García
5a9f6e46d9 Fixed the use of disabled members of metapools 2024-11-08 16:22:53 +01:00
Adolfo Gómez García
f4ea7e88cc updated clients build process 2024-11-07 16:02:42 +01:00
Adolfo Gómez García
d2a4db2c39 Added support for searching also "xfreerdp2" 2024-11-07 16:01:55 +01:00
Adolfo Gómez García
885db91705 updated tranlations 2024-11-06 18:19:38 +01:00
Adolfo Gómez García
d03af24e23 fixed admin 2024-11-06 17:40:35 +01:00
Adolfo Gómez García
0ccd8adcde Updated translations 2024-11-05 23:34:13 +01:00
Adolfo Gómez García
9ee2bd94ea Refactor stats handling for improved accuracy and performance 2024-11-05 23:12:46 +01:00
Adolfo Gómez García
de54abcbdd Fixed admin interface and small change to users_groups 2024-11-05 19:47:23 +01:00
Adolfo Gómez García
b3d11dee7b Refactor ServerManager weight calculation for improved accuracy and clarity 2024-11-04 19:03:05 +01:00
Adolfo Gómez García
4861a10134 Refactor ServerStats weight calculation for improved clarity and accuracy 2024-11-04 18:15:49 +01:00
Adolfo Gómez García
e1747bee13 Updated tunnel-server 2024-11-03 22:25:33 +01:00
Adolfo Gómez García
530b3acfb1 Refactor TelegramReceiver register method for consistency 2024-10-31 17:33:16 +01:00
Adolfo Gómez García
6f1bf4a55d Increase TelegramReceiver frequency from 10 to 60 seconds 2024-10-31 17:32:41 +01:00
Adolfo Gómez García
4eb4c2c7d7 Fixed Telegram notifier to adapt it to new api 2024-10-31 17:31:47 +01:00
Adolfo Gómez García
053601a4e1 Fixed MFA issue on internal DB and not sending account on correct field 2024-10-31 16:19:26 +01:00
Adolfo Gómez García
37956262ef Add MISSING section type and update handling for missing sections 2024-10-30 20:00:37 +01:00
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
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
Adolfo Gómez García
1c388f62c1 The purpose of these changes was primarily to enhance code readability and maintenance, and secondly to improve performance through caching.
In `userservice.py`, a change was made on how `can_grow_service_pool` method's result is evaluated, from explicitly comparing it with `False` to a pythonic approach of using `not`. This makes the code cleaner and easier to read.

In `service.py` file, a variable name was changed from `services_limit` to `userservices_limit_field`. It appears much more logical namewise as the variable deals with limiting the number of user services.

In the `fixed/service.py` file, the code was refactored for readability and DRY (Don't Repeat Yourself) principle, avoiding code repetition by extracting a recurring pattern into a separate method called `_get_machines_field`.

In `authenticator.py`, a caching mechanism was introduced. If an Authenticator object is already created and no update in values is needed, the existing Authenticator object is returned. This prevents unnecessary creation of new Authenticator objects, thereby improving performance.

In the `managed_object_model.py` file, the instruction to clear the cache was removed. This coincides with the caching strategy introduced in `authenticator.py`.

Lastly, in `OpenGnsys/service.py`, `services_limit` was renamed to `userservices_limit_field`, consistent with the changes in `service.py`, improving code consistency.
2024-10-02 21:19:16 +02:00
Adolfo Gómez García
4a68ebfb6d Fixed Proxmox fixed service 2024-10-02 18:01:58 +02:00
Adolfo Gómez García
752ae78ce7 Refactor ChoiceItem id field to accept only string values and fixed 2024-10-02 17:30:00 +02:00
Adolfo Gómez García
1c80fb6ac9 Refactor network_from_str function to include a check mode parameter 2024-10-02 03:10:31 +02:00
Adolfo Gómez García
e05678dbcd Refactor variable name in test_client.py 2024-10-02 01:45:28 +02:00
Adolfo Gómez García
ccefa7867c Addind support for older proxmox versions (6.x), where some returns from API calls where different 2024-10-02 01:37:12 +02:00
Adolfo Gómez García
e2ec608ead Fixed invalid node and redundant info on Proxmox. Also added empty result if an vm does not supports spice 2024-10-02 00:48:32 +02:00
Adolfo Gómez García
33d3b5d14a Fixed node on ExecResult on clone 2024-10-02 00:26:08 +02:00
Adolfo Gómez García
ad2b746f03 Removed caching from contains due to the use of a list (non hashable) as parameter 2024-10-02 00:15:09 +02:00
Adolfo Gómez García
81c5429f40 Refactor network_from_str function to handle IPv6 addresses
Added sample set proxies list from cloudflare list
2024-09-30 20:53:39 +02:00
Adolfo Gómez García
093c7b3094 Refactor variable names in rdptunnel.py for better readability 2024-09-30 04:13:23 +02:00
Adolfo Gómez García
0306ed567f Refactor web views to be more congruent 2024-09-29 14:04:41 +02:00
Adolfo Gómez García
d4696b1c12 Refactor error handling in web views 2024-09-29 13:42:17 +02:00
Adolfo Gómez García
3461bd4963 Updated translations 2024-09-28 18:05:41 +02:00
Adolfo Gómez García
9b5655fa41 Updated frontend 2024-09-28 17:28:15 +02:00
Adolfo Gómez García
f7df9b2ae8 Refactor weblogin callback to use secure request session and constant timeout
Extracted client plugins downloadables to its own file for readibility and code maintenance
2024-09-28 16:45:14 +02:00
Adolfo Gómez García
f53c9bb793 added secure request session for weblogin callback, and used constant for timeout 2024-09-27 16:27:50 +02:00
Adolfo Gómez García
69087f46fe Refactor callback group name handling in perform_login_callback 2024-09-26 22:34:58 +02:00
Adolfo Gómez García
c60332a4aa Adding support for companion auth apps 2024-09-26 21:02:05 +02:00
Adolfo Gómez García
602374dad6 Refactoriced Cache "put" to "set" 2024-09-26 19:48:37 +02:00
Adolfo Gómez García
4af39858bd Refactor ServerManager counter_storage method to clear counters if they are too old 2024-09-26 19:10:38 +02:00
Adolfo Gómez García
fa31a30ba2 Updated user and admin interfaces
Updated download logic
2024-09-26 17:05:51 +02:00
Adolfo Gómez García
dca747969e Refactor logger variable names in ServerManager 2024-09-26 16:22:22 +02:00
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
Adolfo Gómez García
b01cd25648 Refactor code to remove unused import and fix formatting in SAML authentication module 2024-09-08 21:45:31 +02:00
Adolfo Gómez García
320e97b85d Refactor code to use validate_certificate instead of validate_server_certificate in server registration 2024-09-08 21:45:03 +02:00
Adolfo Gómez García
6a0244e83d Refactor code to remove unused imports and fix formatting 2024-09-07 23:47:56 +02:00
Adolfo Gómez García
3f8797f4d0 Refacotiriced actor_data return value, and added "actor_initialization". Also normalized the list of ids, so all methods use same mechanincs to obtain it 2024-09-07 21:12:11 +02:00
Adolfo Gómez García
e42e3e4fbd Refactor code to update client version check 2024-09-06 17:09:34 +02:00
Adolfo Gómez García
1e028d5fdc Refactor code to initialize modules in uds/mfas, uds/notifiers, uds/osmanagers, uds/services, and uds/transports packages 2024-09-06 04:15:59 +02:00
Adolfo Gómez García
6248ac69af Refactor code to generate ServiceInfo and some minor fixes 2024-09-06 04:06:51 +02:00
Adolfo Gómez García
c794b2befa Fixed external url lauchern 2024-09-05 19:29:59 +02:00
Adolfo Gómez García
01c41704a9 Fixed default retries to 1 day (failures) and state checks (lock on an single state) to 3 hours... 2024-09-04 22:36:59 +02:00
Adolfo Gómez García
e90099bcac Added "is_deleted" to proxmox 2024-09-04 22:24:11 +02:00
Adolfo Gómez García
8e5418d792 chore: Update logger level in dispatcher.py 2024-09-04 19:41:08 +02:00
Adolfo Gómez García
20496327bb Fixed OSManager process unused machine 2024-09-04 18:51:18 +02:00
Adolfo Gómez García
ba0dd1f46a chore: Added capacity to put_back_to_cache to all Dynamic services 2024-09-03 23:36:55 +02:00
Adolfo Gómez García
a47e5b2d93 Updated admin interface 2024-09-03 20:28:20 +02:00
Adolfo Gómez García
722cfae7ae fixed stats for use on returning back service to cache. 2024-09-03 19:26:14 +02:00
Adolfo Gómez García
f836bbf73a chore: Fix assigned value decrement in UserServiceManager 2024-09-02 23:04:47 +02:00
Adolfo Gómez García
aab94bffbc Adding tests for userservice manager 2024-09-02 23:03:55 +02:00
Adolfo Gómez García
207a784b8f Adding support for putting back userservices into cache instead of removing them (if possible) 2024-09-02 19:11:49 +02:00
Adolfo Gómez García
7c2a8168fa Adding support for returning back to cache 2024-09-02 18:55:12 +02:00
Adolfo Gómez García
0a39939659 Adding support for "return user service to cache" support 2024-09-02 18:04:16 +02:00
Adolfo Gómez García
629d4622a7 feat: Add assertions for task state in test_dynamic_publication and test_dynamic_service 2024-09-01 20:18:41 +02:00
Adolfo Gómez García
457c1e25e8 Fixed dynamic service and done tests for deletion and deletion tests 2024-08-31 20:21:23 +02:00
Adolfo Gómez García
f4ee6e50c0 Fixed missing method for testing publication queue 2024-08-31 19:49:24 +02:00
Adolfo Gómez García
ef4b7e5bac Adding support for waiting the userservice mark as "deleted" until the deferred deletion is completed, so limits can be correctly respected. 2024-08-30 20:42:20 +02:00
Adolfo Gómez García
3f60e7509e Moving types of deferred deletion to a better place, and fixing up left-begind not needed behaviors 2024-08-30 19:39:40 +02:00
Adolfo Gómez García
eb62997bde chore: Disable bytes type promotions in pyrightconfig.json 2024-08-30 18:58:45 +02:00
Adolfo Gómez García
e19805f081 chore: Move constants and types from deferred deletion
Simple update for storage, now using contextmanager instead of an intermediary class for "as dict"
2024-08-30 18:40:32 +02:00
Adolfo Gómez García
bf6e1674d2 Moving constants and types from deferred deletion 2024-08-30 16:26:50 +02:00
Adolfo Gómez García
c69d880c40 Added tests for jobs factory 2024-08-29 18:35:21 +02:00
Adolfo Gómez García
206947cbe3 Moved workers out of uds.core, where in fact it should be... 2024-08-29 17:36:20 +02:00
Adolfo Gómez García
7526132f96 Removed old config vaule and updated user interface 2024-08-29 17:07:21 +02:00
Adolfo Gómez García
1fd5c5b49a chore: Update user interface field info name. and fixed not respecting "Lazy" translations on choiceitems 2024-08-29 16:39:49 +02:00
Adolfo Gómez García
a4a07be77f chore: Update LinuxOsADManager type_name to 'Linux Active Directory OS Manager' 2024-08-29 16:14:42 +02:00
Adolfo Gómez García
6d6b8e07d9 chore: Update function names and parameters for OpenNebula storage and template enumeration 2024-08-29 03:59:10 +02:00
Adolfo Gómez García
bb9073891c Removed nonused PayloadType 2024-08-28 01:43:45 +02:00
Adolfo Gómez García
708a3e22af chore: Update get_vm_config method to include force parameter from cache decorator 2024-08-23 20:46:49 +02:00
Adolfo Gómez García
022b620edc chore: Remove unused configuration elements 2024-08-23 20:17:45 +02:00
Adolfo Gómez García
fb83d801b4 chore: Update Config class to include removal of config values 2024-08-23 20:10:21 +02:00
Adolfo Gómez García
40f24fd316 Done proxy client tests and some minor fixes/improvements on Proxmox (such as waiting for template conversion finish) 2024-08-23 04:59:26 +02:00
Adolfo Gómez García
155a74178a added ellidable to runpython for future migrations squash 2024-08-23 02:12:07 +02:00
Adolfo Gómez García
0001fca79e chore: Update MAC address handling in network tests for consistency. Upgraded also proxmox client 2024-08-23 02:01:03 +02:00
Adolfo Gómez García
bb448d2876 chore: Update restrain_server function signature to specify return type 2024-08-23 02:00:25 +02:00
Adolfo Gómez García
a568ff9a28 Refactor tunnel transport migrations to include schema_editor parameter 2024-08-23 02:00:07 +02:00
Adolfo Gómez García
ccc1aa66ce Updated admin interface 2024-08-22 00:23:08 +02:00
Adolfo Gómez García
aba2ea1245 chore: Update communication endpoint method parameter name for consistency 2024-08-21 21:56:47 +02:00
Adolfo Gómez García
338a4d1ecc Added migration of old net filterring format to new format 2024-08-21 17:13:57 +02:00
Adolfo Gómez García
8aaed4d41e Refactor VM fixtures to include HA and protection settings 2024-08-21 16:59:59 +02:00
Adolfo Gómez García
6df00254af chore: Update Transports class to use db_value() method for sorting allowed OS choices 2024-08-21 16:55:02 +02:00
Adolfo Gómez García
2cd6f21c07 Fixed validator of host and port to allow FQDN 2024-08-21 16:33:09 +02:00
Adolfo Gómez García
0d79b90b84 Removed skip_locked for now 2024-08-21 16:32:44 +02:00
Adolfo Gómez García
94a3a791cd Refactor network tests and update MAC address handling for consistency 2024-08-21 16:32:26 +02:00
Adolfo Gómez García
afa8757264 Refactor ChoiceItem id field to accept both string and integer values 2024-08-21 16:31:57 +02:00
Adolfo Gómez García
fd66a226da chore: Update ProxmoxClient method name from remove_snapshot to delete_snapshot
Added some more tests and fixes
2024-08-20 04:09:54 +02:00
Adolfo Gómez García
4bc3947dc1 chore: Update ProxmoxClient content-type header to use application/x-www-form-urlencoded 2024-08-19 22:56:52 +02:00
Adolfo Gómez García
30fb0d0183 chore: Update Content-Security-Policy to include frame-ancestors 'none' for improved security 2024-08-19 22:56:39 +02:00
Adolfo Gómez García
5ba08e2896 chore: Add support for trusted IP forwarders in authentication and request middleware 2024-08-19 22:56:27 +02:00
Adolfo Gómez García
6f8eb00ad0 Adding more proxmox client tests 2024-08-19 22:56:05 +02:00
Adolfo Gómez García
23f52b363c chore: Refactor network tests and add IP conversion tests after some minor changes on ip_to_long to ensure covering better testing cases 2024-08-19 12:41:40 +02:00
Adolfo Gómez García
8234becde2 Now, trusted sources is also to identify a valid origin for a X_FORWARDED_FOR...
To be tested!
2024-08-19 04:03:24 +02:00
Adolfo Gómez García
01353528dd Refactor ProxmoxProvider to support API Token authentication 2024-08-16 18:08:34 +02:00
Adolfo Gómez García
57f70b9d4f updated version 2024-08-16 16:10:41 +02:00
Adolfo Gómez García
b402e2e117 Using first the SERVER_NAME instead of HTTP_HOST for inproved security as suggested by @meetinthemiddle-be. Thanks! ;-) 2024-08-16 16:07:41 +02:00
Adolfo Gómez García
2ec731896f chore: Update tunnelId to tunnelid in guacamole dispatcher 2024-08-14 12:57:48 +02:00
Adolfo Gómez García
9cc2afdb1a Updating translations 2024-08-07 20:01:45 +02:00
Adolfo Gómez García
4780c58e6a Updating translations 2024-08-07 20:00:19 +02:00
Adolfo Gómez García
b41a0a9331 chore: Refactor server token validation to use server_type parameter 2024-08-07 19:53:25 +02:00
Adolfo Gómez García
bd467a0bfb chore: Updated tunnel transport to generate a tunnel_key (not used right now, but will be...) 2024-08-03 02:10:51 +02:00
Adolfo Gómez García
c04a40a468 chore: Generate random key for tunnel 2024-08-03 02:09:12 +02:00
Adolfo Gómez García
cdb0f110cf Fixed some actor registration related info 2024-07-25 03:57:49 +02:00
Adolfo Gómez García
25c5c3a4d1 Improved session creation 2024-07-25 00:55:47 +02:00
Adolfo Gómez García
33554dc724 Fixed custom message 2024-07-19 21:25:37 +02:00
Adolfo Gómez García
0e097e3a12 Fixes on crypto typing and refactorized userId on mfas, and added support for using identifier instead of username in RADIUS MFA 2024-07-19 18:07:37 +02:00
Adolfo Gómez García
abedf042da Fixed implicit project id, and try to get name of project if scoped auth used 2024-07-18 17:50:00 +02:00
Adolfo Gómez García
cfdf622447 chore: Update default timeout value to 8 seconds an added cached validity to openstack auth to avoid multple auths if posssible 2024-07-18 16:39:09 +02:00
Adolfo Gómez García
4fea6e6a3e added remove duplicates to open stack 2024-07-18 16:15:11 +02:00
Adolfo Gómez García
43d0f3b4d4 Fixed test and added comment on from_dict for server_info 2024-07-17 19:53:26 +02:00
Adolfo Gómez García
7566071270 Cleaned and done openstack client tests 2024-07-17 19:41:52 +02:00
Adolfo Gómez García
9d51963903 Cleaning and fixing up Openstack Client 2024-07-17 18:27:09 +02:00
Adolfo Gómez García
b303ffc858 Adding test for openstack 2024-07-17 01:11:47 +02:00
Adolfo Gómez García
286b7cb09f Adding Openstack Client tests and fixes to client and provider 2024-07-16 22:58:40 +02:00
Adolfo Gómez García
2a4ccac195 Fixing up openstack client, adding support for Application Credentials 2024-07-16 21:21:58 +02:00
Adolfo Gómez García
773c3b5b50 Fix model detail retrieval error handling 2024-07-15 18:21:25 +02:00
Adolfo Gómez García
c1c922b87b Removed global stats from cache decorator (not really usefull in fact....) 2024-07-14 14:43:02 +02:00
Adolfo Gómez García
f6843fe11a Added postgress on sql_datetime 2024-07-12 22:39:18 +02:00
Adolfo Gómez García
31c015cb41 Fixed MFA list not being appended to gui field (Removed by mistake) 2024-07-12 04:20:06 +02:00
Adolfo Gómez García
78352cfe8b feat: Add type annotations to _ObservableList and _ObservableDict 2024-07-11 22:24:18 +02:00
Adolfo Gómez García
e880bdb228 Ensure that _fields exists on class creation (using __new__) 2024-07-11 21:45:44 +02:00
Adolfo Gómez García
c61e7e5444 Small state translation fix 2024-07-11 11:07:24 +02:00
Adolfo Gómez García
72407449be Implemented "is_dirty" for Autoserializables, to avoid publication and 2024-07-11 10:58:54 +02:00
Adolfo Gómez García
d974d5904c More addition for dirty control to Autoserializable 2024-07-11 10:49:49 +02:00
Adolfo Gómez García
8c5e2d6552 Adding support for controlling dirty state for autoserializable.
Added support for list fields
2024-07-11 10:26:47 +02:00
Adolfo Gómez García
b0cf8c5ddf Refactoring code and improved possible use of a "is_dirty".
This method is to improve in the future the storage of data (Skipping it).
Curently, no one uses is_dirty (base class always returns True), but there it is in case longs serializations requires some optimization.
2024-07-11 05:55:32 +02:00
Adolfo Gómez García
e4d5bef48a chore: Remove unused machine method in ProxmoxPublication and update references 2024-07-11 03:46:46 +02:00
Adolfo Gómez García
3016b0845c Some small cleanups and fixed ServiceNotReadyError 2024-07-10 21:44:21 +02:00
Adolfo Gómez García
930c22d8fa Fixed ReadyState on UserServiceNotReady error 2024-07-10 15:54:35 +02:00
Adolfo Gómez García
8778fa3314 Updated frontentds 2024-07-10 04:51:48 +02:00
Adolfo Gómez García
aa25ba9575 Added report method to allow debuging execution queue 2024-07-09 22:38:14 +02:00
Adolfo Gómez García
1e64b957a1 Moved ExecutionTimer to be used in other places 2024-07-09 22:30:08 +02:00
Adolfo Gómez García
a25184af52 Incorpored a max delay_rate for deletion 2024-07-09 22:19:07 +02:00
Adolfo Gómez García
1a263bf668 Added next execution factor correction based on how long it takes to execute operations on the server... 2024-07-09 22:16:07 +02:00
Adolfo Gómez García
4f6f93bba3 Updated from "last_check" to "next_check" deferred deletion info, so it's more versatile 2024-07-09 21:46:21 +02:00
Adolfo Gómez García
b1ee7656c8 Improving deferred deletion performance 2024-07-09 18:05:58 +02:00
Adolfo Gómez García
ad9d3532ee Some improvements on dynamic tests to cover previously bogus unseriralization of the queue 2024-07-09 03:54:29 +02:00
Adolfo Gómez García
6a4c9a7454 Fixed tests for proxmox and due to changes, tests for deferred deleter 2024-07-08 21:35:03 +02:00
Adolfo Gómez García
84e24fd3ae Fixed autoserializable test with new cast 2024-07-08 20:35:28 +02:00
Adolfo Gómez García
bf0d094c67 moved Operation to "types.services.Operation" 2024-07-08 20:31:43 +02:00
Adolfo Gómez García
525e9b9103 Some generic deleter improvements and fixed autoserialization with "typed" list, creating a simple mechanic to restore original types 2024-07-08 20:00:18 +02:00
Adolfo Gómez García
1cb96fd727 Fixed client ticket length 2024-07-07 17:31:13 +02:00
Adolfo Gómez García
dd9a02faa9 Some minor improvements to Proxmox, removing redundant code 2024-07-06 21:57:05 +02:00
Adolfo Gómez García
adf724101b Fixed fixture 2024-07-06 19:22:29 +02:00
Adolfo Gómez García
856563a65c Refactor Proxmox helpers to exclude differential storage types 2024-07-06 18:53:04 +02:00
Adolfo Gómez García
3c7ec1067f Working on clean Proxmox 2024-07-06 16:41:08 +02:00
Adolfo Gómez García
ea5730c857 Improving proxmox and fxing up tests 2024-07-06 15:49:47 +02:00
Adolfo Gómez García
a1499b0895 Cleaning and refactoring proxmox, and fixed tests 2024-07-06 02:31:05 +02:00
Adolfo Gómez García
28ed59e185 Some minor type fixes for mypy 2024-07-05 19:32:44 +02:00
Adolfo Gómez García
2c8ef0cbe9 chore: Import types module in provider.py 2024-07-05 17:39:30 +02:00
Adolfo Gómez García
0b7adc8b19 Refactor logging in Module and Service classes 2024-07-05 17:28:01 +02:00
Adolfo Gómez García
29179a31df Refactor logging in Module and Service classes 2024-07-05 17:09:49 +02:00
Adolfo Gómez García
6e59402747 Updated client 2024-07-05 16:35:21 +02:00
Adolfo Gómez García
1873ed46fe Fixed MFA missing db_obj method and fixed Proxmox Helpers 2024-07-05 16:27:14 +02:00
Adolfo Gómez García
e5035efafb Changed stats graphs on admin to use days instead of hours 2024-07-04 20:16:27 +02:00
Adolfo Gómez García
4163b5aae2 Improved a bit stats charts 2024-07-04 18:55:52 +02:00
Adolfo Gómez García
43389248c8 old_field_name and servers improvement.
Improved old_field_name to allow more than 1 "old field name", just in case the future. Also, improved servers manager to allow a "threshold" value, so we can get intead of the less loaded server, one with some load, but not too loaded...
2024-07-04 00:41:16 +02:00
Adolfo Gómez García
d60f47aa7a Improved InsecureRequestWarning 2024-07-03 22:19:50 +02:00
Adolfo Gómez García
e62e9875da Refactoring Proxmox 2024-07-03 19:15:59 +02:00
Adolfo Gómez García
65d7e81263 Fixed missing inheritance for Proxmox Error classes 2024-07-03 02:26:02 +02:00
Adolfo Gómez García
06bc4cae4a Finished refactoring of Proxmox client 2024-07-03 00:17:50 +02:00
Adolfo Gómez García
3f7cb8e3db Renamed client to proxmox 2024-07-02 23:25:24 +02:00
Adolfo Gómez García
1218904895 Updated frontend (minor security upgrades, related to sobresource security) 2024-06-30 23:34:22 +02:00
Adolfo Gómez García
17a184752c Fixed Notifiers to implement the now must-have db_obj method 2024-06-30 21:01:21 +02:00
Adolfo Gómez García
fc1ca9c3df some minor order fixes on default fields for dynamic service and added "key" to sorted_choices to allow customized sorts 2024-06-30 20:02:59 +02:00
Adolfo Gómez García
f23d8dd66b Added "sorted_by" parameter to filter helpers 2024-06-30 14:30:56 +02:00
Adolfo Gómez García
b5fd7c39de Added default "null" and "is_null" to UUIDModel and added db_obj to all ManagedObjectModel Instances 2024-06-27 16:15:03 +02:00
Adolfo Gómez García
96e853b5a9 Fixed FixedService to include default "get_token" method (based on token field) 2024-06-26 01:59:16 +02:00
Adolfo Gómez García
3ce03fa238 Added default "get_token" for userservice 2024-06-26 01:29:06 +02:00
Adolfo Gómez García
e4be7859e0 Added support for retry delete and shutdown/stop if check takes too long 2024-06-25 04:38:28 +02:00
Adolfo Gómez García
d279a44c24 Homogeneizing names of publications 2024-06-24 22:57:27 +02:00
Adolfo Gómez García
17027e50f4 some minor refactoring on duplicate on DynamicService 2024-06-24 21:58:30 +02:00
Adolfo Gómez García
e90193ce2a Small fix and comment add 2024-06-24 20:59:32 +02:00
Adolfo Gómez García
97cfd75066 Some minor renamings 2024-06-24 20:13:26 +02:00
Adolfo Gómez García
4ed71eda7e Fixed Xen new destroy flow (now, as the vm removal is queued if fails, there is no error on destroy if vm cannot be removed) 2024-06-23 22:16:36 +02:00
Adolfo Gómez García
2ee436e75c Fixed some minor test problems with new deferred delete implementation 2024-06-23 22:05:34 +02:00
Adolfo Gómez García
14694cdaf8 Migrated defered deletions to common worker, more versatile and common for all 2024-06-23 21:11:04 +02:00
Adolfo Gómez García
dec744a0e2 Small deferred_removal improvement and fix test to ensure services are cached correctly 2024-06-23 16:23:54 +02:00
Adolfo Gómez García
a538827155 Working new worker to unify the removal of services (jobs) 2024-06-23 06:37:35 +02:00
Adolfo Gómez García
a2e211715a Small adition to test utils 2024-06-22 21:09:33 +02:00
Adolfo Gómez García
263e9f4b5d fix: Fixed some mfa fields with choices being initialized on app start instead of on demand 2024-06-22 03:39:51 +02:00
Adolfo Gómez García
711869c657 Fixed typo on op_process_tocken 2024-06-21 22:48:45 +02:00
Adolfo Gómez García
4562a38232 Merge branch 'master' of github.com:/VirtualCable/openuds 2024-06-21 20:15:11 +02:00
Adolfo Gómez García
c0116199ed finders of test utils are now more versatile 2024-06-21 20:14:33 +02:00
Adolfo Gómez García
e96e1b6d6c Upgrading VMware an fixing up things 2024-06-21 20:13:34 +02:00
Adolfo Gómez García
9ad9ed0680 Merge branch 'master' of github.com:/VirtualCable/openuds 2024-06-20 04:24:40 +02:00
Adolfo Gómez García
8108946342 upgrading angular 2024-06-20 04:24:32 +02:00
Adolfo Gómez García
261183668f Upgraded admin interface 2024-06-20 04:02:50 +02:00
Adolfo Gómez García
9ee7e7fa8e Upgraded client submodule reference 2024-06-19 17:10:56 +02:00
Adolfo Gómez García
cd0827af07 Fixed tree generation to include id and uuid on managed objects 2024-06-19 16:54:49 +02:00
Adolfo Gómez García
8bad7d576a Fixed tooltip for GPU on proxmox 2024-06-18 16:56:07 +02:00
Adolfo Gómez García
8c702df0c6 Fixed with devl 2024-06-18 16:52:24 +02:00
Adolfo Gómez García
7cb494c4d5 Added flow to MFA description, to easy development of it
Also, added IP for "remembe device" information, so only when device stays on same ip, will not be asked for a new MFA
2024-06-18 02:41:58 +02:00
Adolfo Gómez García
2d2c20909d Fixes #115 2024-06-17 21:25:11 +02:00
Adolfo Gómez García
57284fbf50 Fixed Radius field tip 2024-06-17 17:31:15 +02:00
Adolfo Gómez García
d5c3519d18 Homogeneized All MFAs 2024-06-17 17:23:28 +02:00
Adolfo Gómez García
570c15be1b Done migration of Publication of OpenStack to new generics 2024-06-17 00:46:57 +02:00
Adolfo Gómez García
1a33f3d6d5 Fixed codes and tests... Need to upgrade OpenStack publication and test 2024-06-16 20:55:09 +02:00
Adolfo Gómez García
50f02d1169 Need to migrate OpenStack Publication to new generics 2024-06-16 19:27:27 +02:00
Adolfo Gómez García
98ff066fe7 Working on openstack tests for new model 2024-06-16 18:59:59 +02:00
Adolfo Gómez García
fe91ecbad6 Added info to fixedservice about supported operations 2024-06-16 16:29:00 +02:00
Adolfo Gómez García
ae164f7236 Added "remove duplicates" to generics service 2024-06-16 05:26:04 +02:00
Adolfo Gómez García
e5eaaf74a0 feat: Add random base name generation to basename_field
This commit adds the functionality to generate a random base name for the `basename_field` in the `fields.py` module. The generated base name will start with "UDS" followed by three random uppercase letters. This feature enhances the flexibility and usability of the `basename_field` by providing a unique and random base name option.

Note: This commit message follows the established convention of using a prefix to indicate the type of change (feat for feature).
2024-06-14 03:17:13 +02:00
Adolfo Gómez García
57e5412553 Adapting OpenStack to generics 2024-06-14 00:29:00 +02:00
Adolfo Gómez García
7db960ca92 feat: Add "soft reset" (reboot) functionality to fields
The commit adds the "soft reset" functionality to the fields module, allowing for a reboot operation. This feature enhances the flexibility and control of the fields module.

Note: This commit message follows the established convention of using a prefix to indicate the type of change (feat for feature).
2024-06-13 18:27:35 +02:00
Adolfo Gómez García
61689ad638 Small security variable change 2024-06-13 03:19:24 +02:00
Adolfo Gómez García
e3c839d70f Minor Storage class aditions 2024-06-12 18:41:45 +02:00
Adolfo Gómez García
ae240a36ed Small reformat of fields.py 2024-06-12 01:24:39 +02:00
Adolfo Gómez García
5de5ba1585 Adding "soft reset" (that is, reboot) to fields 2024-06-11 17:54:27 +02:00
Adolfo Gómez García
d4ca92fcd5 Added alternative to resolve SRV to windows domain os manager, if it cannot be resolved by UDS using DNS query 2024-06-11 17:18:47 +02:00
Adolfo Gómez García
26f48d22f8 Son minimal cosmetic refactorizations 2024-06-08 06:08:33 +02:00
Adolfo Gómez García
7b7e9193c0 Fixed Xen Client Logout, session close 2024-05-31 02:41:30 +02:00
Adolfo Gómez García
c133a74145 Done Xen Provider tests and fixes. Should work now :) 2024-05-31 02:25:39 +02:00
Adolfo Gómez García
a6deda2004 Fixed Links for download virt-viewer on Windows and Macos 2024-05-29 16:08:41 +02:00
Adolfo Gómez García
3fd1fc8b79 Advancing on client tests and improving xen client A LOT 2024-05-29 02:44:58 +02:00
Adolfo Gómez García
4d98cc3f34 Finishing Xen Tests 2024-05-28 19:37:29 +02:00
Adolfo Gómez García
9d0a6c5b6f Finishing tests for Xen provider and related fixes 2024-05-27 19:55:38 +02:00
Adolfo Gómez García
7851470059 Updating xen tests and fixing xen provider 2024-05-27 00:58:26 +02:00
Adolfo Gómez García
94186794f6 Done basic fixtures and test over them 2024-05-26 22:48:05 +02:00
Adolfo Gómez García
f2c7afbd44 Adding fixtures for xen client api 2024-05-26 20:10:27 +02:00
Adolfo Gómez García
7281fa3494 Fixed tests for pyright 2024-05-25 17:42:58 +02:00
Adolfo Gómez García
211cf4d5e6 Replaced "@author" by "Author"
Fixing pyright issues on tests
2024-05-25 17:28:44 +02:00
Adolfo Gómez García
4097c66c0a Updated actor 2024-05-16 16:53:52 +02:00
Adolfo Gómez García
850b5e35e1 Started Xen Tests for new implementation 2024-05-14 03:15:09 +02:00
Adolfo Gómez García
6d4d79f0b7 Moved tests inside src 2024-05-13 18:28:38 +02:00
Adolfo Gómez García
6b8beb27cb Upgrading Xen 2024-05-13 18:16:33 +02:00
Adolfo Gómez García
2a93c14398 Migrating Xen to new generics 2024-05-12 20:50:08 +02:00
Adolfo Gómez García
67bd9b8bd3 Adapting Xen to New generics 2024-05-12 20:48:40 +02:00
Adolfo Gómez García
40f5941db1 Updated guacamole plagin 2024-05-09 17:17:49 +02:00
Adolfo Gómez García
83abebd574 Removed OP_START_COMPLETED from fixed userservice generic 2024-05-09 02:11:10 +02:00
Adolfo Gómez García
77e45099d1 Minor fixes and added a "vars.py" utility for specific servers (with auth info) tests 2024-05-08 22:02:13 +02:00
Adolfo Gómez García
56cdee2b0d Small test fix 2024-05-06 02:22:40 +02:00
Adolfo Gómez García
6de7c65a0f fixed test_fixed_service.py to use types.services.Operation instead of userservice.Operation 2024-05-05 19:42:57 +02:00
Adolfo Gómez García
7737bbf758 REfactorign "remove" in favor of "delete" 2024-05-05 18:49:44 +02:00
Adolfo Gómez García
579e1c2a36 Fixed a couple service consts 2024-05-05 05:01:48 +02:00
Adolfo Gómez García
397523c9a3 chore: Refactor machine name sanitization method 2024-05-05 02:56:06 +02:00
Adolfo Gómez García
029224c749 Small utility method fix to allow None Search 2024-05-05 00:23:12 +02:00
Adolfo Gómez García
7b5e87dd15 Removed not needed "new format" flag 2024-05-04 22:08:33 +02:00
Adolfo Gómez García
0570a1ae27 Fixed autoserializable default assign error and related test 2024-05-04 21:57:32 +02:00
Adolfo Gómez García
04f144cd2d chore: Update UDS admin runtime, polyfills, and main scripts. Updated minor cache definitions 2024-05-03 03:34:56 +02:00
Adolfo Gómez García
6adcc3e1f4 Fixed host fqdn check to "allow" non fqdn hostname... Yes, i know its a nonsense, but for now... :)
Upddated admin to include CVS import
2024-04-29 19:48:02 +02:00
Adolfo Gómez García
7316953e75 Doney Physical Machines 2024-04-29 00:24:04 +02:00
Adolfo Gómez García
eb86784c62 Added support for importing unmanaged servers using CSV 2024-04-28 18:58:16 +02:00
Adolfo Gómez García
628f43a2e7 Removed unused (since years ago) "must_assign_manually" 2024-04-28 16:33:24 +02:00
Adolfo Gómez García
53e0cefc21 Refactorized log types and fixes 2024-04-28 02:21:47 +02:00
Adolfo Gómez García
6694b9d5bc Renamed some fields of servers to better understand what they are
Adding physical machines fixtures, tests, ,,,
2024-04-27 22:31:39 +02:00
Adolfo Gómez García
30bbf1ef0f Fixed config
Done migration tests for PhysicalMachines
2024-04-26 00:58:48 +02:00
Adolfo Gómez García
c39c8c9583 * Some minor fixes to fields
* Adding test for ensuring migration from physical machines is correct
2024-04-25 04:35:39 +02:00
Adolfo Gómez García
3f70576002 IP multi-machines services serialized data is upgraded on migration, so test are not possible 2024-04-21 23:52:52 +02:00
Adolfo Gómez García
156608b6ae Updating deployment multi migration. Needed to keep locked values correctly. 2024-04-21 23:50:45 +02:00
Adolfo Gómez García
1dcc1f71df Fixed pyright complains about pillow 2024-04-21 01:20:44 +02:00
Adolfo Gómez García
b2679104e2 Small debug text fix 2024-04-18 18:57:11 +02:00
Adolfo Gómez García
d93ed52884 Fixed Serialization ui.
From old serialization, data fields where not correctly translated.
Also the test was bad designed, as the data of original was not randomized to ensure data loaded was right.
2024-04-18 18:42:02 +02:00
Adolfo Gómez García
d84e5ac38c Heavy redone of Physical Machines using server groups as backend.
Simplified a lot, and added convenient migrators and data upgraders
2024-04-18 03:35:40 +02:00
Adolfo Gómez García
2822013b36 Fixed servers basic information 2024-04-17 19:56:22 +02:00
Adolfo Gómez García
60c5f37591 Update cache timeout constants in cache.py and client.py 2024-04-16 22:53:35 +02:00
Adolfo Gómez García
229962cbd2 Some more func documentation and small fixes 2024-04-15 21:21:36 +02:00
Adolfo Gómez García
a5bfec3aa9 Some refactoring and minor fixes 2024-04-15 15:49:04 +02:00
Adolfo Gómez García
c02c9f45a4 Improvements to generics, and fixes related to macs.
* Now correctly notes that if get_mac is with an empty vmid, should process acordly to the specific service.
* Now, before starting or stopping and vms, the state is checked by the userservice (using is_running)
2024-04-12 04:47:15 +02:00
Adolfo Gómez García
fb3b02ac2d Merge branch 'master' of github.com:/VirtualCable/openuds 2024-04-11 16:31:59 +02:00
Adolfo Gómez García
8f17f2e545 Security fixes from git 2024-04-11 16:31:45 +02:00
Adolfo Gómez
d62afebef8 Merge pull request #112 from it4joy/patch-1
Update README.md
2024-04-11 16:25:31 +02:00
Adolfo Gómez
871538f341 Merge pull request #113 from NinhDoan/fix-check-user-state
fix: check the user's state when handling a request
2024-04-11 16:20:24 +02:00
ninhdh3
839d798e56 fix: check the user's state when handling a request 2024-04-11 13:44:51 +07:00
Adolfo Gómez García
cf8498ad37 small improvement for loglevel handling in log.py 2024-04-10 20:57:55 +02:00
Adolfo Gómez García
e6778eda38 Fixed tree generation for logs 2024-04-10 20:56:52 +02:00
Adolfo Gómez García
7c16960d3a Refactor OpenGnsys views and helpers to improve code readability and maintainability 2024-04-10 17:21:09 +02:00
Adolfo Gómez García
e5e72de4b4 Fixed test for openstack 2024-04-09 23:49:55 +02:00
Adolfo Gómez García
c95d54eea8 created a default method for get_and_assign, most fixedservices will use this 2024-04-09 23:25:06 +02:00
Adolfo Gómez García
339eeb7967 Making more homogeneous the new window on brower-based transports 2024-04-09 16:01:26 +02:00
Adolfo Gómez García
fca36ead57 Adding resilence to generics 2024-04-09 02:22:31 +02:00
Adolfo Gómez García
3dedd9b7e0 Fixed problems with transports 2024-04-08 17:49:08 +02:00
Adolfo Gómez García
bab8f3965a Minor fixes ading resilence to server unreachable 2024-04-08 01:13:05 +02:00
Adolfo Gómez García
4b5913183c Fixed "fixed" service generic test 2024-04-08 00:47:02 +02:00
Adolfo Gómez García
5718c0d8c0 decoupled snapshot process into two different methods, much clearer 2024-04-08 00:36:23 +02:00
Adolfo Gómez García
0554089ecc Improving generic services 2024-04-08 00:10:28 +02:00
Adolfo Gómez García
05c434eb8a Some minor fixes on generics, order of fields... 2024-04-07 05:43:48 +02:00
Igor Ivanov
8b3c8fe81e Update README.md
Fix typos.
2024-04-04 13:11:37 +03:00
Adolfo Gómez García
fb3945975c Fixed proxmox tests 2024-04-02 23:39:51 +02:00
Adolfo Gómez García
1df9ab40a6 Fixing up generics, adding support for random & keep on error to fixed, some minor fixes 2024-04-02 23:21:32 +02:00
Adolfo Gómez García
02fb954e29 Removed FixedOperation in favor of Operation 2024-04-02 21:59:41 +02:00
Adolfo Gómez García
d264cffca2 Refectorinf fixed service so it looks more like an dynamic service (methods names, etc...) 2024-04-02 20:19:26 +02:00
Adolfo Gómez García
750715f8a2 Added support for randomizing machines assignation on service_fixed generics 2024-04-02 02:16:38 +02:00
Adolfo Gómez García
e0acbabcd2 Some minor fixes ond debug info provided 2024-04-01 04:16:51 +02:00
Adolfo Gómez García
a13b4431d0 Refactors and improvements to fixed_service generic 2024-04-01 03:54:12 +02:00
Adolfo Gómez García
2290b4f235 Some renames 2024-03-31 20:23:19 +02:00
Adolfo Gómez García
fc230d7205 Refactorized name and get_type from module to mod_name and mod_type, much more convenient and may avoid future name clashs 2024-03-31 15:21:40 +02:00
Adolfo Gómez García
d598dd5d0d Set default max number of checks to a big number on publications, because they can take a long time. 2024-03-30 17:49:39 +01:00
Adolfo Gómez García
79ddb6016f Some notes on Proxmox test 2024-03-28 19:20:39 +01:00
Adolfo Gómez García
37b0864c12 Fixed fixed service tab 2024-03-28 03:11:24 +01:00
Adolfo Gómez García
4457c4e84d Minor change to test streamed data with get_items of details 2024-03-27 22:59:35 +01:00
Adolfo Gómez García
c8f402a419 Added xperimental support for streaming some kind of results.
Currently no one streams anything, way to go to prepare everything for this.
also, removed non-unsed non-maintained filtering
2024-03-27 22:44:11 +01:00
Adolfo Gómez García
1780e6c2d9 Fixing fixtures to improve tests compat 2024-03-26 04:08:43 +01:00
Adolfo Gómez García
83fc9f2e7f Improved openstack tests to avoid problems 2024-03-26 03:36:48 +01:00
Adolfo Gómez García
93ebf82c79 Normalizing all machine ids names to "vmid" 2024-03-26 02:34:05 +01:00
Adolfo Gómez García
0322df85d5 Added default implementatio of remove_and_free_machine (very common...) 2024-03-26 01:46:06 +01:00
Adolfo Gómez García
fedd6507ae Fixed openstack tests (due to incorrect initial states of some tests) 2024-03-25 05:01:09 +01:00
Adolfo Gómez García
4a05ebe074 Fixind dynamic service generics and done tests for them 2024-03-25 04:39:33 +01:00
Adolfo Gómez García
8ec010a9bb Some minor fixes of fixed service of generics 2024-03-24 01:42:08 +01:00
Adolfo Gómez García
885fe8f31f Name fix on tests 2024-03-24 00:33:57 +01:00
Adolfo Gómez García
262f63d926 Minor fix on test 2024-03-23 23:47:47 +01:00
Adolfo Gómez García
9320eb3adf Some renaming for better significance 2024-03-23 23:12:00 +01:00
Adolfo Gómez García
8f98314c97 Some minor case fixes on dynamic 2024-03-23 03:41:56 +01:00
Adolfo Gómez García
e70dcd4f23 Some improvements (minor) to autoserializable 2024-03-22 22:34:30 +01:00
Adolfo Gómez García
15d84816fa Removed old proxmox implementetion in favor of the new, generic based, one 2024-03-22 02:50:55 +01:00
Adolfo Gómez García
967a6fe925 Finishing generic services implementations 2024-03-22 02:28:06 +01:00
Adolfo Gómez García
dfb15e8920 Refactorized "specializations" name to a more convenient "generics" 2024-03-22 01:17:34 +01:00
Adolfo Gómez García
ccce6650ba Fixing dynamic service specializations and tests 2024-03-22 01:08:17 +01:00
Adolfo Gómez García
165d3bde21 Fixing dynamic service and proxmox implementation using this 2024-03-21 04:01:24 +01:00
Adolfo Gómez García
83f4359f90 Added some improvements to Nutanix Prism Central 2024-03-19 21:55:54 +01:00
Adolfo Gómez García
08618f5dbb Fixed pools and ad test, also backup server required 2024-03-19 16:55:19 +01:00
Adolfo Gómez García
5c9bf779e3 Adding new specialization and remaking Proxmox conector based on this.
Also have left old proxmox while testing aroung (As ProxmoxOrig, but with typenames changed to avoid collisions). Will be removed as soon as all is working fine
2024-03-19 04:42:33 +01:00
Adolfo Gómez García
4fb1da1554 Fixed publication return types and advancing on custom dynamic services base 2024-03-18 22:34:55 +01:00
Adolfo Gómez García
42556d9e33 Restored removed methd by mistake 2024-03-18 19:52:03 +01:00
Adolfo Gómez García
4835035156 Started a generic "dynamic service" to simplify a lot all userservice implementations. Work in progress.. 2024-03-18 19:33:46 +01:00
Adolfo Gómez García
70738e7801 Done oVirtTests for linked deployment, with soft shutdoen 2024-03-18 04:28:46 +01:00
Adolfo Gómez García
6e2980cffc Added try soft shutdown to ovirt 2024-03-18 00:21:49 +01:00
Adolfo Gómez García
188b27eb90 Advancing on ovirt, some refactoring and fixes 2024-03-17 23:22:39 +01:00
Adolfo Gómez García
f497c388ba Adding tests and fixing ovirt 2024-03-17 04:33:12 +01:00
Adolfo Gómez García
3e8405482e Done ovirt provider tests 2024-03-17 02:04:54 +01:00
Adolfo Gómez García
a0cb8d4778 Creating provider tests for ovirt 2024-03-17 01:38:24 +01:00
Adolfo Gómez García
ce1d1eba19 Added required methods to allow fixedservice and finished client mock and data 2024-03-16 03:42:37 +01:00
Adolfo Gómez García
cbacc20909 Improving A LOT the ovirt connection
Adding test for ovirt
2024-03-16 02:33:46 +01:00
Adolfo Gómez García
760bb169bf Added comment related of tools module backwards compat 2024-03-15 17:32:03 +01:00
Adolfo Gómez García
e70f2cd07b Reverted changes on client scripts, to keep compat with 3.6 version. On next client requirement update, will make the changes again.' 2024-03-15 17:10:08 +01:00
Adolfo Gómez García
9f4c1ea28d Improved fixed services, and refatorized some methors name to be more consistent 2024-03-15 12:13:49 +01:00
Adolfo Gómez García
5e96965231 Merge branch 'master' of github.com:/VirtualCable/openuds 2024-03-15 02:35:51 +01:00
Adolfo Gómez García
1a0b83327c actorv3 fixes (cosmetic...) 2024-03-15 02:35:45 +01:00
Adolfo Gómez
bc12b4ef3a Restored loglevel on actor 2024-03-15 02:17:19 +01:00
Adolfo Gómez García
8512435a22 Updated gui to show custom message on pool launch if required 2024-03-15 01:50:14 +01:00
Adolfo Gómez García
4ee8697827 REST fixes.
Fixed several bugs arised with refactorization (Most related to type checkin on runtime), and added support for graduan moving custom methods to snake_case keeping backwards camelCase compat
2024-03-15 01:32:58 +01:00
Adolfo Gómez García
cf8660aa78 Added support to call custom methods as camelCase of snake_case (keeping backwards compat, but allowin new snake_case standard to be used) 2024-03-14 23:50:35 +01:00
Adolfo Gómez García
df5d18710a Fix service assignments and serialization issues on tests after refactoring storage 2024-03-14 23:20:44 +01:00
Adolfo Gómez García
24c2da1b4b General fixes and improvements.
Added custom messages to service pool and made miscellaneous updates.
Renamed and added new files in OVirt service, including new types.
Updated OpenStack and PhysicalMachines services.
Modified Proxmox deployment and made changes to main.js and index.html.
Fixed HTML5RDP, HTML5SSH, HTML5VNC, RDP, SPICE, X2GO transports.
Updated unit tests.
2024-03-14 22:41:27 +01:00
Adolfo Gómez García
123d3ca405 fixed logging info 2024-03-14 18:34:47 +01:00
Adolfo Gómez García
e1810a3695 fixed logging info 2024-03-14 18:16:28 +01:00
Adolfo Gómez García
cbd67c5c71 Fixed fixed_service and start working on ovirt 2024-03-13 23:26:15 +01:00
Adolfo Gómez García
189e530c3a small proxmox improvement 2024-03-13 02:21:16 +01:00
Adolfo Gómez García
7ecadee56f Fix OpenStack and Proxmox service issues. Finished tests for OpenStack. 2024-03-13 02:11:45 +01:00
Adolfo Gómez García
7be200f173 Added initial fixed service to OpenStack. Need to complete related tests 2024-03-12 18:52:09 +01:00
Adolfo Gómez García
c64a788523 Fix where data is cached on openstack, and normalized some small cache durations 2024-03-12 03:25:56 +01:00
Adolfo Gómez García
12548b44cc Many more improvements to openstack and advanced on tests. Hope to finish them by tomorrow 2024-03-12 03:17:24 +01:00
Adolfo Gómez García
d542e65a9c Fixes for OpenStack provider & tests for same provider 2024-03-10 23:22:51 +01:00
Adolfo Gómez García
f760b55561 Refactor decorators and remove unused import 2024-03-10 16:50:54 +01:00
Adolfo Gómez García
a3f50e739a Improved decorators signatures & removed transaction.atomic from cached call 2024-03-10 16:22:10 +01:00
Adolfo Gómez García
6ab0307bdd added cache to is_available 2024-03-10 04:04:55 +01:00
Adolfo Gómez García
934c43636e Added missing cache for list_snapshots 2024-03-10 02:25:20 +01:00
Adolfo Gómez García
db77332c17 Fixed New Openstack implementation. Much more convenient 2024-03-10 01:51:15 +01:00
Adolfo Gómez García
947b35bcf5 Enhacing OpenStack provider and services 2024-03-09 20:43:00 +01:00
Adolfo Gómez García
9d00766200 Added downloadables using __spec__ instead of __package__ 2024-03-09 05:52:02 +01:00
Adolfo Gómez García
62742e9438 Adding type info to OpenStack, to enhance resilence and code sanity 2024-03-09 04:59:21 +01:00
Adolfo Gómez García
466bda440e Updated OpenStack service and helper functions
In this commit, several modifications have been made to the OpenStack service and its helper functions. The changes include improvements to the efficiency and reliability of the service. Additionally, the OpenStack client has been updated to handle new scenarios and edge cases. These updates are expected to enhance the overall performance and stability of the OpenStack service.
2024-03-07 23:33:23 +01:00
Adolfo Gómez García
ac116697f4 Improving openstack, to allow more than one endpoint of a kind, and iterate over them in case of error 2024-03-07 23:20:00 +01:00
Adolfo Gómez García
14745e7f1b Some minor typing fixes and added openstack patch to allow some cloud providers listing invalid enpoints 2024-03-07 18:42:14 +01:00
Adolfo Gómez García
063385a8f1 Updated client and tunnel 2024-03-07 02:16:55 +01:00
Adolfo Gómez García
ef70b5ce76 Updating client 2024-03-06 02:51:03 +01:00
Adolfo Gómez García
2d40b5ea5b Moving to new method names. Client keeps backwards compat 2024-03-05 04:15:32 +01:00
Adolfo Gómez García
16e99aad1d Moving to new method names. Client keeps backwards compat 2024-03-05 04:04:58 +01:00
Adolfo Gómez García
ef73487473 Adding a mechaning to disallow removal of user services by internal method automatically 2024-03-04 20:22:04 +01:00
Adolfo Gómez García
f67b34e62b Upgraded client 2024-03-04 19:46:03 +01:00
Adolfo Gómez García
38340ef709 Giving a more convenient name for ready states returned from get_userservice... methods 2024-03-04 19:44:00 +01:00
Adolfo Gómez García
9d97206806 Enhaced autospec so refactoring will work fin with tests also 2024-03-04 03:37:32 +01:00
Adolfo Gómez García
071f92ab49 Updated client 2024-03-03 19:27:00 +01:00
Adolfo Gómez
beb3c905d8 Update client 2024-03-03 16:28:27 +01:00
Adolfo Gómez García
20711c5c4d Reordering client structure. Removil old "full" folder 2024-03-03 15:51:42 +01:00
Adolfo Gómez García
5ba9fdc2a8 Updating client 2024-03-03 04:56:08 +01:00
Adolfo Gómez García
cc8962c9cb updated tunnel server 2024-03-03 03:33:49 +01:00
Adolfo Gómez García
3cc36891c3 Merge branch 'master' of github.com:/VirtualCable/openuds 2024-03-02 16:27:09 +01:00
Adolfo Gómez García
3f7d5f4b2e Added helpers test to proxmox 2024-03-02 16:27:04 +01:00
Adolfo Gómez García
7250a1d499 Minor fixes to tests discovered while running them on arm 2024-03-02 05:07:28 +01:00
Adolfo Gómez García
160dda7236 Small fixes on proxmox tests 2024-03-01 00:29:36 +01:00
Adolfo Gómez García
ecdd311837 Some minor fixes 2024-03-01 00:13:40 +01:00
Adolfo Gómez García
6e7700c7e2 MASSIVE type checking fixes for even more strict checkings 2024-02-29 01:36:10 +01:00
Adolfo Gómez García
a2fc3130cd MASSIVE type checking fixes for even more strict checkings 2024-02-29 01:33:45 +01:00
Adolfo Gómez García
05d26c732e Done cancel/destroy test and user assignation for proxmox 2024-02-28 20:31:08 +01:00
Adolfo Gómez García
09858a165c Fixed and updated translations 2024-02-28 02:03:25 +01:00
Adolfo Gómez García
255a7c50c3 Updated translations 2024-02-28 01:20:40 +01:00
Adolfo Gómez García
95a9807d6a Generators, proxmox and states fixes 2024-02-28 00:51:56 +01:00
Adolfo Gómez García
c8d6fbcbd1 Moving Deploy States to its own class 2024-02-27 20:33:55 +01:00
Adolfo Gómez García
69ffbe384c Upgraded Calendar Types 2024-02-27 16:04:55 +01:00
Adolfo Gómez García
7ef34f3897 Fix various code issues 2024-02-27 00:18:13 +01:00
Adolfo Gómez García
86fe499d3a Fixed content processing of Django Promises (for tranlations) 2024-02-26 19:07:25 +01:00
Adolfo Gómez García
5d21a9086a fixed some "autoimported" by misclick modules :S 2024-02-26 17:30:36 +01:00
Adolfo Gómez García
552bdfc0cf Added rest consts 2024-02-26 17:07:24 +01:00
Adolfo Gómez García
5c7d13e890 Refactorized model to make it more manageable... 2024-02-26 17:07:05 +01:00
Adolfo Gómez García
f9e2d88529 Fixing typing also on tests 2024-02-26 14:57:10 +01:00
Adolfo Gómez García
3bf7af2e3d Fixing typing also on tests 2024-02-26 05:50:36 +01:00
Adolfo Gómez García
fc35c18fea uptaded actor 2024-02-25 19:54:25 +01:00
Adolfo Gómez García
0aec89b76b Updated tunnel-server 2024-02-23 19:11:06 +01:00
Adolfo Gómez García
4ad32931ee Very big refactoring to adapt to strict checking mode 2024-02-23 18:01:02 +01:00
Adolfo Gómez García
975dd80c5d Some more fixes 2024-02-23 04:26:38 +01:00
Adolfo Gómez García
6f85a42673 Fix method signatures and naming conventions 2024-02-23 03:07:55 +01:00
Adolfo Gómez García
bedadf24ac Fix type annotations and method signatures 2024-02-23 00:37:30 +01:00
Adolfo Gómez García
02f367efd8 more fixes and bug detection 2024-02-22 23:39:48 +01:00
Adolfo Gómez García
dc8df5bb79 More type checking enforcing and bug fixes 2024-02-22 22:17:39 +01:00
Adolfo Gómez García
73042dd76f Added type checking to all deployment tasks 2024-02-22 21:50:20 +01:00
Adolfo Gómez García
7e33f381d4 More fixes, types, etc... 2024-02-22 04:25:54 +01:00
Adolfo Gómez García
beae9271cd Fixing up more hints, and fixing found errors 2024-02-22 02:56:03 +01:00
Adolfo Gómez García
1633d0d1b1 Massive changes:
* Updated test type result type
* Fixing up mypy/pyright complains on strict mode
2024-02-21 21:48:59 +01:00
Adolfo Gómez García
05df32a739 Add type annotations to several methods and functions 2024-02-21 17:35:59 +01:00
Adolfo Gómez García
75b27af0fe Big code fixing, adapting to mypy/pyright strict checking mode 2024-02-21 03:35:36 +01:00
Adolfo Gómez García
57a8d26adc More test and fixes for proxmox 2024-02-20 05:19:40 +01:00
Adolfo Gómez García
8f902b36fa In case of error 500 on proxmox, try to get some info from journal 2024-02-20 02:07:30 +01:00
Adolfo Gómez García
6fca6c2d0a Refactor Proxmox service classes 2024-02-19 23:43:48 +01:00
Adolfo Gómez García
4b85424f56 Adding basic proxmox service tests 2024-02-19 23:31:25 +01:00
Adolfo Gómez García
05038e2e6f Retyped value setter/getters for UserInterface Fields 2024-02-19 19:01:01 +01:00
Adolfo Gómez García
3a9e48d4b6 Fix caching key function name to a more convenient one 2024-02-19 17:45:51 +01:00
Adolfo Gómez García
bf8b40be6f Update Proxmox service provider and related files 2024-02-19 17:28:30 +01:00
Adolfo Gómez García
202444f64e Cleaning "nonsense" repeated methods from proxmox service that are only direct proxies to proxmox provider< 2024-02-19 02:21:55 +01:00
Adolfo Gómez García
500cb2ed96 Adding an fixing up proxmox 2024-02-19 02:15:04 +01:00
Adolfo Gómez García
a3fa9f604a Added type to spice console connection, and fixed discovered errors :) 2024-02-18 23:46:27 +01:00
Adolfo Gómez García
b58d3e210c Fix service provider naming in code
* Renamed service "parent" to more convenient "provider"
2024-02-18 17:16:58 +01:00
Adolfo Gómez García
57be9c80b6 Adding testing mechaniccs 2024-02-18 16:48:20 +01:00
Adolfo Gómez García
9614323a1b Fixed translations 2024-02-17 19:01:51 +01:00
Adolfo Gómez García
009d10ad56 Fix import statements for UserServiceManager to new userservice instead of old user_service 2024-02-17 17:59:54 +01:00
Adolfo Gómez García
96db6ded98 Improved user service removal worker, and "removable" check 2024-02-17 17:54:12 +01:00
Adolfo Gómez García
8d26fff400 fixed specialization and specialization tests 2024-02-16 21:56:53 +01:00
Adolfo Gómez García
042a27737f simple fixes 2024-02-16 18:41:34 +01:00
Adolfo Gómez García
e6c7a80ac5 Added fixed service specialization tests and fixed it :) 2024-02-16 03:05:23 +01:00
Adolfo Gómez García
f279a503aa Updated translations 2024-02-15 21:29:14 +01:00
Adolfo Gómez García
511833d2fd Upgraded admin interface 2024-02-15 20:08:43 +01:00
Adolfo Gómez García
77e7df76bf Some minor fixes 2024-02-15 20:06:38 +01:00
Adolfo Gómez García
9defc46083 Fixing up fixed_service generalization, and starting a test for this... 2024-02-15 19:40:36 +01:00
Adolfo Gómez García
97fc8f844e Upgraded OpenGnsys connector 2024-02-15 16:31:15 +01:00
Adolfo Gómez García
9800218df9 Added some fixes to services_info_dict and finished tests for metapools transports grouping 2024-02-10 21:28:15 +01:00
Adolfo Gómez García
3d02a99b42 Remove last "autoattributes" use.
Will remove the class probably on 5.0, when sure no data is left behind using it (Probably, first will rename it just in case it's needed on some environment can recover it fast, or import conditionally...)
2024-02-04 05:25:42 +01:00
Adolfo Gómez García
34005c2af3 * updated admin
* Added Xen Fixed Services
* Fixed specializations folders name
2024-02-04 05:12:44 +01:00
Adolfo Gómez García
e921c76530 small proxmox fix and rest 2024-02-02 00:56:40 +01:00
Adolfo Gómez García
1d569d009a Moving common "specializations" algos for services to a common base 2024-02-02 00:22:17 +01:00
Adolfo Gómez García
c4a5beafd4 Small fix to service_pools (to use iexact on uuid search of user, to allow old data to be used...)
some minor formating
Now, proxmos fixed pool, seems to work correctly. Some test to be done anyway :)
2024-02-01 03:23:32 +01:00
Adolfo Gómez García
434a20254e Working on proxmox fixed pool 2024-02-01 02:36:59 +01:00
Adolfo Gómez García
70ccbc3591 Fixed "mass retrieval" of properties for items list of service pools 2024-02-01 02:36:33 +01:00
Adolfo Gómez García
d4ae8f589f Adding proxmox fixed pool service 2024-02-01 01:33:43 +01:00
Adolfo Gómez García
8ec94e0cdf Adding fixed pool of machines to ProxMox 2024-01-31 00:43:27 +01:00
Adolfo Gómez García
06f3487d2c Moved all marshallers to automatic methods (using UserInterface or AutoSerializable fields...) 2024-01-30 03:49:36 +01:00
Adolfo Gómez García
4a92cdb1e5 Migrated OpenGnsys OpenNebula and Openstack marshallers and added test to ensure compat 2024-01-29 23:50:38 +01:00
Adolfo Gómez García
9522989679 Fixing up machines by ip services 2024-01-29 19:54:43 +01:00
Adolfo Gómez García
33cdf27375 Improving environment class 2024-01-29 02:52:27 +01:00
Adolfo Gómez García
b42f93839f Some Environment improvements 2024-01-29 01:41:35 +01:00
Adolfo Gómez García
dfedbd6bf3 Fixed auto-imported regex by mistake... 2024-01-29 01:28:15 +01:00
Adolfo Gómez García
af441c13e7 code cleanup 2024-01-29 01:16:10 +01:00
Adolfo Gómez García
266b0c2d1e Renamed "auto_serializable" to "autoserializable"
Done physical machines multi machines migration to common serialization models
2024-01-28 21:29:26 +01:00
Adolfo Gómez García
bd8562a58e small fix 2024-01-28 13:48:48 +01:00
Adolfo Gómez García
cf34718cf4 Added factory tester 2024-01-28 13:47:51 +01:00
Adolfo Gómez García
db082109bd Some minor renames and adding new tests 2024-01-28 13:32:27 +01:00
Adolfo Gómez García
0c3a1d746e Fixed default autoserialization values... 2024-01-28 02:43:48 +01:00
Adolfo Gómez García
ea91006b77 Autoserializable improvements:
- Now only autoserializable with same fields are considered equals, so equals now is simmetric
- Ensured that missing or new fields addition to the Autoserializable does not breaks anything
- Now on read of missing fields, values are assigned to default values (allowing future migrations with field adition and default values)
2024-01-28 02:36:10 +01:00
Adolfo Gómez García
7c79a716a3 Refactor Xen service methods
Delete unused Proxmox test file
Upgraded Xen deployment serialization to auto_serializable
2024-01-28 02:10:08 +01:00
Adolfo Gómez García
45a409f72b Added support for Objects as serialized fields
Added automarking "old serialized format" data for upgrade on UserInterface (in fact, returning that it needs upgrade)
Fixed tests
2024-01-28 01:44:43 +01:00
Adolfo Gómez García
7cfa9ca9f4 Migrated all os managers to "modern" serialization model 2024-01-27 19:29:49 +01:00
Adolfo Gómez García
e88c3f2fff Upgraded linux os managers marshallers 2024-01-27 05:05:34 +01:00
Adolfo Gómez García
01e765a1db Refactor MFA classes and add network restrictions 2024-01-26 23:24:05 +01:00
Adolfo Gómez García
f2c5ca2e92 Several mfa fixes and improvements 2024-01-26 23:15:42 +01:00
Adolfo Gómez García
63d1693fea Joining linux freeipa with linux ad os manager to simplify
Fixing up serialization, to allow "derived" classes auto serialization correctly
2024-01-26 21:37:35 +01:00
Adolfo Gómez García
2ce03b9438 Upgraded SimpleLdap Auth to auto serialization model, keeping backwards compat ofc 2024-01-26 02:40:24 +01:00
Adolfo Gómez García
72b02d2560 refactorized REST for calendar actions 2024-01-26 02:17:05 +01:00
Adolfo Gómez García
d003e48a42 updated admin interface 2024-01-26 02:16:51 +01:00
Adolfo Gómez García
485520f402 Remodeled cache updater, minor fixes and more refactoring 2024-01-26 01:30:40 +01:00
Adolfo Gómez García
42e042d4d4 Migrated old regexldap serialization to automatic serialization model 2024-01-25 19:05:07 +01:00
Adolfo Gómez García
e115554b32 updated gitignore 2024-01-25 17:13:22 +01:00
Adolfo Gómez García
34c19799da Removed pylist.json 2024-01-25 17:12:43 +01:00
Adolfo Gómez García
f034f5eb7f Finised field upgrade mechaninsm 2024-01-25 03:37:57 +01:00
Adolfo Gómez García
d2c466c542 updating max.... names to better ones 2024-01-24 21:25:15 +01:00
Adolfo Gómez García
7cdc11219c Remarshalling mechanics defined and implemented 2024-01-24 20:21:49 +01:00
Adolfo Gómez García
817100cf5b implementing new "Remarshall" mechanicks to allow faster migrations... 2024-01-24 19:22:30 +01:00
Adolfo Gómez García
92042dd55a Fixed Internal DB Auth (Different user for each host) and refactoring some dictionaries to classes 2024-01-24 18:17:41 +01:00
Adolfo Gómez García
8e23f7c818 small userinterface typing improvements 2024-01-24 04:25:43 +01:00
Adolfo Gómez García
81abe1d99f Updated SAML 2024-01-24 04:15:53 +01:00
Adolfo Gómez García
3afeb4869c Updated SAML to autocontain Organization display data 2024-01-24 03:33:52 +01:00
Adolfo Gómez García
5cf75a13f1 Updated admin interface visuals and upgraded configuration (DB model and internal) 2024-01-24 03:30:55 +01:00
Adolfo Gómez García
9a6ac745a0 Small fix for seeng passwords as hashes 2024-01-24 02:02:47 +01:00
Adolfo Gómez García
f4b38af989 Refactor actor registration and authentication
Update actor token parameters and save changes
Validate user groups during internal DB authentication
Export authenticator details in tree command
Fix minor issues in export and tree commands
2024-01-23 17:09:11 +01:00
Adolfo Gómez García
ad8f5e01c1 Fix function names in OpenGnsys and OpenStack services
Added a better type hint for callbacks return values
more code fixes
2024-01-23 03:37:05 +01:00
Adolfo Gómez García
59691d923d fixed proxmos test 2024-01-23 01:33:48 +01:00
Adolfo Gómez García
b60af290a0 Fix serialization and authentication issues 2024-01-23 01:31:28 +01:00
Adolfo Gómez García
cae6a1e8d2 Starting proxmox tests and some more code migration 2024-01-22 23:52:22 +01:00
Adolfo Gómez García
4fe67ae697 adding some new tests 2024-01-22 23:25:40 +01:00
Adolfo Gómez García
de3985c841 Updating more names, code review and fixes. 2024-01-22 03:39:56 +01:00
Adolfo Gómez García
c2024c23b8 Merge branch 'master' of github.com:/VirtualCable/openuds 2024-01-21 17:43:18 +01:00
Adolfo Gómez García
641497826a Some fixes to @cached decorator, to really take into account all function params 2024-01-21 17:43:13 +01:00
Adolfo Gómez
2beb9cfdb7 Update README.md 2024-01-21 13:52:17 +01:00
Adolfo Gómez García
98d0306846 Updating user interface, and more refactor 2024-01-17 20:00:22 +01:00
Adolfo Gómez García
cc89e7f5db Moved some constants around 2024-01-17 01:30:53 +01:00
Adolfo Gómez García
0d3504e11f Fixing up tunnel 2024-01-16 18:52:40 +01:00
Adolfo Gómez García
63a3469c91 Fixing up tunnel 2024-01-16 17:18:58 +01:00
Adolfo Gómez García
009df1f4cb Refactoring, upgraded gui to angular 17 and some test fix 2024-01-16 05:03:10 +01:00
Adolfo Gómez García
0495c4af1b Fixed pytest.ini to ignore xdist deprecation warning until fixed on coverage plugin 2024-01-16 00:57:03 +01:00
Adolfo Gómez García
1e211997b8 Fixed test fixture and improved user interface readability for unmarshaller.
Added flag to config so it does not save nor load anything during migrations
2024-01-16 00:49:51 +01:00
Adolfo Gómez García
3c6044c0ed Remove index_together from UserService model
This commit removes the index_together attribute from the UserService model in the migration file 0001_squashed_0042_auto_20210628_1533.py. This change was made to adjust to django recommendations of not using it
2024-01-16 00:20:46 +01:00
Adolfo Gómez García
9dbb47a4ad more refactoring and fixes and tests... 2024-01-16 00:14:00 +01:00
Adolfo Gómez García
d21f66408f Refactoring and new tests 2024-01-15 23:13:19 +01:00
Adolfo Gómez García
65dc8acdec Added new tests 2024-01-15 21:43:48 +01:00
Adolfo Gómez García
88ee934376 Refactoring and new tests 2024-01-15 21:42:16 +01:00
Adolfo Gómez García
894fecb861 fixed migration and notifications INCORRECT small positive integer to positive integer (the numbers can be greater than 32768..) 2024-01-15 04:22:19 +01:00
Adolfo Gómez García
8f7dca32b0 Removed excesive exception loggin on config value, nonsense... :) 2024-01-15 02:09:10 +01:00
Adolfo Gómez García
a7ee5ecb88 fixed rest auth after refactoring 2024-01-12 06:12:41 +01:00
Adolfo Gómez García
3f434f1347 fixed rest auth after refactoring 2024-01-12 06:06:29 +01:00
Adolfo Gómez García
f2377ebfec fixed rest auth after refactoring 2024-01-12 05:45:04 +01:00
Adolfo Gómez García
4f2719aa29 fixed rest auth after refactoring 2024-01-12 05:16:49 +01:00
Adolfo Gómez García
ce888a6013 Moving gui variables to snake_case 2024-01-12 03:04:12 +01:00
Adolfo Gómez García
cd737c4b5f fixed user interface serialization with stored_field_name (typo fix...) 2024-01-12 02:15:50 +01:00
Adolfo Gómez García
698d9cbcc7 small fix for userinterface 2024-01-12 01:51:47 +01:00
Adolfo Gómez García
f1c1cbae06 Refactoring Transports 2024-01-12 01:34:28 +01:00
Adolfo Gómez García
e4d2d2a843 A lot of refactorization 2024-01-11 23:19:58 +01:00
Adolfo Gómez García
27d91154b6 A lot of refactorization :S 2024-01-11 05:00:49 +01:00
Adolfo Gómez García
1d4896c089 adding support for postgresql 2024-01-10 23:07:46 +01:00
Adolfo Gómez García
84f1fef5d7 advancing on refactoring 2024-01-10 22:41:41 +01:00
Adolfo Gómez García
622acdb1a5 Adding state into types 2024-01-10 19:23:36 +01:00
Adolfo Gómez García
ad1b8cb51d More refactorization 2024-01-10 19:17:15 +01:00
Adolfo Gómez García
0b66300805 Added sumarize to authenticators 2024-01-10 04:45:31 +01:00
Adolfo Gómez García
bf3d36c901 Improved mfa code storage on browser and related security 2024-01-10 04:35:13 +01:00
Adolfo Gómez García
1715e1a7a1 advancing on refactoring 2024-01-10 02:03:22 +01:00
Adolfo Gómez García
f6c6578b00 advancing on refactoring 2024-01-10 02:01:03 +01:00
Adolfo Gómez García
4f2b331bb8 advancing on refactoring 2024-01-09 03:15:43 +01:00
Adolfo Gómez García
6ae18f4a58 advancing on refactoring 2024-01-09 02:45:44 +01:00
Adolfo Gómez García
5c6ed274c8 fixed translations 2024-01-08 19:58:25 +01:00
Adolfo Gómez García
abe9228551 fixed translations 2024-01-08 19:41:59 +01:00
Adolfo Gómez García
b9b3889f35 Added support for skip mfa auth based on groups 2024-01-08 16:02:44 +01:00
Adolfo Gómez García
cf4a7e0ef9 advancing on refactoring and cache improvements 2024-01-08 15:26:08 +01:00
Adolfo Gómez García
bc61814ec4 advancing on refactoring and cache improvements 2024-01-08 00:44:44 +01:00
Adolfo Gómez García
4cf261678f advancing on refactoring 2024-01-07 05:10:32 +01:00
Adolfo Gómez García
927e2ee5a9 Moving Transport types to uds.core.types 2024-01-07 04:31:30 +01:00
Adolfo Gómez García
7db6cba256 Minor fixes on admin and more refactoring 2024-01-07 01:40:48 +01:00
Adolfo Gómez García
b7e828b57c advancing on refactoring 2024-01-07 01:04:22 +01:00
Adolfo Gómez García
b8d2c0277e Advanciong on refactoring 2024-01-07 00:26:30 +01:00
Adolfo Gómez García
5bba681b9d Fixing up counters types 2024-01-06 16:34:20 +01:00
Adolfo Gómez García
f63e6093eb Refactoring Events and Counters 2024-01-06 05:37:09 +01:00
Adolfo Gómez García
bac161b46c updated tests and more refactoring 2024-01-05 01:02:11 +01:00
Adolfo Gómez García
a7dc47dd6e updated tests and more refactoring 2024-01-04 17:39:30 +01:00
Adolfo Gómez García
722aee2543 some minor refactoring 2024-01-04 16:19:47 +01:00
Adolfo Gómez García
bb301d510c updated tests and more refactoring 2024-01-04 05:17:24 +01:00
Adolfo Gómez García
2bd4d4408c updated tests and more refactoring 2024-01-04 03:56:45 +01:00
Adolfo Gómez García
494e24691b refactoring to camel_case, some minor fixes 2024-01-04 00:48:31 +01:00
Adolfo Gómez García
233d66921e refactoring to camel_case, some minor fixes 2024-01-04 00:36:10 +01:00
Adolfo Gómez García
4a1a1c3e43 refactoring to camel_case, some fixes 2024-01-04 00:21:06 +01:00
Adolfo Gómez García
914d541748 refactoring to camel_case, some fixes 2024-01-04 00:08:17 +01:00
Adolfo Gómez García
164403ed49 Lots of minor bug fixes (using mypy to locate them) 2024-01-03 04:40:50 +01:00
Adolfo Gómez García
6814796ba5 Refactoring and fixes found in the process 2024-01-03 04:04:02 +01:00
Adolfo Gómez García
92f83ebe52 Some refactoring (casing...) 2024-01-03 03:38:41 +01:00
Adolfo Gómez García
bfdae32c15 fixed reference to async branch until completed 2024-01-02 03:30:24 +01:00
Adolfo Gómez García
150d8c4197 Some improvements to basic types and minor cosmetic fixes 2024-01-02 03:28:12 +01:00
Adolfo Gómez García
499c5f8ec4 Improvements:
* Moving some named tuples to dataclasses
* Added unique_id to service token alias (to avoid recreation...)
2024-01-01 20:08:50 +01:00
Adolfo Gómez García
48be614e20 updated types auth 2024-01-01 05:36:36 +01:00
Adolfo Gómez García
500d708653 Moving some types to dataclasses 2024-01-01 05:31:52 +01:00
Adolfo Gómez García
dc5cc99afd Fixed managed and unmanaged actor_v3 2024-01-01 05:17:01 +01:00
Adolfo Gómez García
974f652df0 Updated os_detector to use Sec-Ch-Ua-Platform and Sec-Ch-Ua for os detection if available instead of user agent (left user agent as fallback anyway). Better for chrome bases browsers. 2023-12-26 17:22:35 +01:00
Adolfo Gómez García
c5171c014b Small fix for metapools in case it's 100% 2023-12-22 04:37:08 +01:00
Adolfo Gómez García
fcf6e31486 Updated version 2023-12-15 02:55:18 +01:00
Adolfo Gómez García
0b4656e21c Updated client 2023-12-13 17:09:15 +01:00
Adolfo Gómez García
03af400635 Fixed root login and superUser Password setup for UDS 2023-12-13 16:43:40 +01:00
Adolfo Gómez García
0093cd8056 Fixed root login and superUser Password setup for UDS 2023-12-13 16:39:14 +01:00
Adolfo Gómez García
df5496d0e4 fixed actor data comments 2023-12-12 15:33:55 +01:00
Adolfo Gómez García
cad3d08c83 Updating actor 2023-12-11 03:46:56 +01:00
Adolfo Gómez García
3f9f641f6a Some fixes 2023-12-11 03:37:27 +01:00
Adolfo Gómez García
2f272da073 Set 0 as unliminet for masServices field 2023-12-04 18:49:42 +01:00
Adolfo Gómez García
cf245e47be upgraded actor type signatures 2023-12-04 01:44:12 +01:00
Adolfo Gómez García
a6e65b62b0 More updates to type annotations 2023-12-04 01:07:56 +01:00
Adolfo Gómez García
695a91eb38 More updates to type annotations 2023-12-04 00:51:05 +01:00
Adolfo Gómez García
74ff4c17cd Fix type() method calls to getType() in code to avoid clashes with "type" builtin 2023-12-04 00:41:41 +01:00
Adolfo Gómez García
193c3fb544 Updating type annotations 2023-12-04 00:28:19 +01:00
Adolfo Gómez García
a48f5e6241 Replacing deprecating typing classes in favour of builtings or collections.abc ones.
Most changes are simple annotations.
Will continue changes as i found them :)
2023-12-04 00:04:56 +01:00
Adolfo Gómez García
3e0099ed16 Fixed some typos left behind on last refactorization of code 2023-12-03 23:29:22 +01:00
Adolfo Gómez García
58a50c6983 Fixed mistyped import "regex" and requirements.txt 2023-12-01 02:41:38 +01:00
Adolfo Gómez García
029114a95d Fixed mime type of actors for Windows to application/vnd.microsoft.portable-executable 2023-12-01 02:29:38 +01:00
Adolfo Gómez García
73b14c349a updated client 2023-11-30 14:45:54 +01:00
Adolfo Gómez García
d1f6a2473e updated tunnel 2023-11-26 22:34:02 +01:00
Adolfo Gómez García
4feec0a167 updated tunnel 2023-11-26 06:36:34 +01:00
Adolfo Gómez García
197fdcd6e2 Merge branch 'master' of github.com:/VirtualCable/openuds 2023-11-24 16:25:38 +01:00
Adolfo Gómez García
42c2fd0640 small type checking fix 2023-11-24 16:25:32 +01:00
Adolfo Gómez
d492d87118 Merge pull request #97 from thuvh/fix_missing_regex
add missing regex to requirements.txt file
2023-11-24 16:04:40 +01:00
Adolfo Gómez
740f20dc0e Update README.md 2023-11-24 05:23:49 +01:00
Adolfo Gómez García
c43b196961 added @unique to ObjectType 2023-11-24 05:05:10 +01:00
Adolfo Gómez García
31ffcfaf4b Added some comments on __eq__ operator of ObjectType 2023-11-24 05:00:14 +01:00
Adolfo Gómez García
efd78ddffb Added MFA permission 2023-11-23 17:06:03 +01:00
Adolfo Gómez García
5fab570b92 Fixed serialization of Hidden Fields on InitGui 2023-11-23 16:20:51 +01:00
Adolfo Gómez García
4b2d3b3dfa Adding 0 as valid maxServices value 2023-11-22 16:26:35 +01:00
Adolfo Gómez García
59ae21a654 Adding alternatives to maxServices as callable, etc.. 2023-11-22 16:08:59 +01:00
Hoai-Thu Vuong
e3518c56e6 add regex 2023-11-22 17:02:26 +07:00
Adolfo Gómez García
51891d2f31 Added "tree" method to NodeHandler to better debug it :) 2023-11-22 04:18:53 +01:00
Adolfo Gómez García
11a1f626db Replaced old services "dict" by a more convenient NodeHandler Tree 2023-11-22 04:13:55 +01:00
Adolfo Gómez García
89bf7c29ee Some fixes for REST and logger
* Fixed error on userservice logs REST api
* now if cannot log on DB, at least doLog on local file
* Fixed refactoring typo left behind
* Fixed type checking type on dispatch of REST api
2023-11-22 04:06:28 +01:00
Adolfo Gómez García
a18a0de01c Merge branch 'master' of github.com:/VirtualCable/openuds 2023-11-21 19:06:17 +01:00
Adolfo Gómez García
68433cd1b8 Refectorized some constants and added body size limit on rest request (defaults to 10 MB, can be changed using settings file) 2023-11-21 19:06:09 +01:00
Adolfo Gómez
1aa48cd335 Update README.md
Fixing readme.md typos
2023-11-21 15:42:16 +01:00
Adolfo Gómez García
3873fe0515 Optimizing backend queries and fixing up some cache updater data 2023-11-20 16:48:45 +01:00
Adolfo Gómez García
308fb7cbe7 Added better exception handling to dynamic modules loader 2023-11-20 04:54:18 +01:00
Adolfo Gómez García
fb68b15702 Fixed module loading exceptions treating and increased concurrent removal mark fron 8 to 24 by default 2023-11-20 00:16:58 +01:00
Adolfo Gómez García
6cbe329979 Service user mapping seems to work right now :) 2023-11-19 23:50:18 +01:00
Adolfo Gómez García
8def04ccd7 Fixing up new servers model 2023-11-17 03:23:43 +01:00
Adolfo Gómez García
f3ddb68381 Updated usageInfo to be more coherent 2023-11-13 18:31:19 +01:00
Adolfo Gómez García
cc3e5acd52 fixed macro info for empty metapools 2023-11-13 17:57:56 +01:00
Adolfo Gómez García
5649b5d0f1 fixed macro info 2023-11-13 17:55:03 +01:00
Adolfo Gómez García
98757b2339 added NEVER to calendar rule 2023-11-13 17:23:13 +01:00
Adolfo Gómez García
79e8a78351 Fixed date end date on calendar rules 2023-11-10 16:12:29 +01:00
Adolfo Gómez García
a23ca0eb73 Updated model saving to use "setattr" instead of "__dict__.update". Allow use of properties, etc... 2023-11-09 17:10:07 +01:00
Adolfo Gómez García
3451719675 Fixed service pools info 2023-11-06 16:57:50 +01:00
Adolfo Gómez García
8997d2fac0 Final fixes for usage count on metapools 2023-11-04 17:52:00 +01:00
Adolfo Gómez García
1d79f89002 Added meta pool macro info 2023-11-04 16:53:57 +01:00
Adolfo Gómez García
29ff0081a4 Refactorin exceptions, types, constants, ... 2023-11-03 18:47:20 +01:00
Adolfo Gómez García
d4ea0ad8c6 Fixing up LSP on REST classes 2023-11-03 04:18:53 +01:00
Adolfo Gómez García
85e20f1152 Fixing LSP issues on REST handlers 2023-11-03 02:51:41 +01:00
Adolfo Gómez García
f5e5ed932a fixing complains of "mypy" 2023-11-03 02:00:46 +01:00
Adolfo Gómez García
993ae107fd fixes on type checking complains (on gettext_lazy) 2023-10-30 00:24:49 +01:00
Adolfo Gómez García
6f672234e5 Added check for SERVER to match parent server type (serverGroup of a type can only contains servers of same type) 2023-10-27 02:22:56 +02:00
Adolfo Gómez García
e15c85150e upgraded client 2023-10-27 01:49:31 +02:00
Adolfo Gómez García
af73b890cf fixing up servers management and some rdp transport errors 2023-10-27 01:34:43 +02:00
Adolfo Gómez García
844bab487a Updated settings sample file 2023-10-24 21:58:54 +02:00
Adolfo Gómez García
fd760b2af0 Updated small_name to 128 chars to allow "big domain names" 2023-10-24 16:23:55 +02:00
Adolfo Gómez García
b072d1d95b * Increased field size for service pools name, shot name
* Added replacement for "macros" so it does not count as too long text fields
* Added support for random access list on MultiIp Phisical Machines
2023-10-23 16:33:45 +02:00
Adolfo Gómez García
30efde68fe * Multicert field control
* Fixed proxmox publication
* A bit improvement to mdev detection on proxmox
2023-10-20 19:15:57 +02:00
Adolfo Gómez García
65956d5ec5 * Added OpenId Support for Code flow and id_token flow 2023-10-20 05:16:52 +02:00
Adolfo Gómez García
df82362534 Updated readmin to take into account tha v4.0 needs at least python 3.11 2023-10-20 03:32:20 +02:00
Adolfo Gómez García
ad9755177a Basic OAuth2 with code interchange done 2023-10-19 19:38:06 +02:00
Adolfo Gómez García
9419e0f69e Cleaning up repeated code for authenticators with regex fields 2023-10-19 19:21:59 +02:00
Adolfo Gómez García
d0da06c492 Refactoring Federated authentication 2023-10-19 18:50:24 +02:00
Adolfo Gómez García
7f62bb29c0 renamed "multiline" to more convenient "lines" and ugraded dashboard 2023-10-19 13:18:43 +02:00
Adolfo Gómez García
45f4f7e7d4 Added logout to tag if requested and started OAuth2 authenticator 2023-10-18 18:09:36 +02:00
Adolfo Gómez García
499627c147 Added parameters to add_calendar_action.py 2023-10-16 21:22:54 +02:00
Adolfo Gómez García
bb91190a4e small fix for pasword hasher using argon2 2023-10-16 03:57:01 +02:00
Adolfo Gómez García
85d71554f6 * Moved test out of src
* Some type improvements for mypy
2023-10-14 17:42:31 +02:00
Adolfo Gómez García
6a3af87831 Fixed counter var type check 2023-10-14 17:02:00 +02:00
Adolfo Gómez García
e678f9bebb Added mypy.ini file for better type checking (mostly Django related) 2023-10-14 17:01:14 +02:00
Adolfo Gómez García
de33a96c45 Added storing state on session for mfa on radius 2023-10-13 00:18:29 +02:00
Adolfo Gómez García
d21c371bf7 Fixing OTP with MFA on some cases... 2023-10-11 21:58:38 +02:00
Adolfo Gómez García
941d07b4e8 Small fix for reg_tunnel 2023-10-10 01:32:16 +02:00
Adolfo Gómez García
d0fb2302a2 Added sample register tunnel with uds server 2023-10-10 01:25:52 +02:00
Adolfo Gómez García
cd15d681fc Fixed so if server log event is requested and userservice_uuid is empty (but present) is correctly handled 2023-10-08 19:47:14 +02:00
Adolfo Gómez García
02991d0df1 Adding a few more type checking to ldaputil 2023-10-05 19:21:04 +02:00
Adolfo Gómez García
fca5fd1d1d Adapting services to allow different app launchers 2023-10-05 17:01:20 +02:00
Adolfo Gómez García
73eb15fd13 * Added ticket keep on debug mode for servers 2023-10-05 15:45:37 +02:00
Adolfo Gómez García
0df92bc3cd Removed unused and nonsense "validator" from ticketstore 2023-10-04 18:49:26 +02:00
Adolfo Gómez García
23d4d572d7 Some test fixes and rest server event api fixes also 2023-10-04 01:54:17 +02:00
Adolfo Gómez García
ca3598a828 fixed userinterface ValuesTypes type 2023-10-03 15:13:31 +02:00
Adolfo Gómez García
c7219ae34f Fixed server to take hostname and type as "unique identfier" for registered server (so, we can change address without creating a new one...) 2023-10-03 01:39:51 +02:00
Adolfo Gómez García
d230fe7dd9 Fixed Server to honor hostname instead of ip 2023-10-03 01:22:35 +02:00
Adolfo Gómez García
dcbaca1f7d Fixed RDS Stats treating 2023-10-02 03:36:30 +02:00
Adolfo Gómez García
fb36a46a06 Added "update cached stats" method
This way, we can adjust cached stats until next real refresh is done, saving a lot of time on requests
2023-10-02 02:38:58 +02:00
Adolfo Gómez García
0403c28541 Added missing port to server REST register and fixed tests 2023-10-02 00:22:55 +02:00
Adolfo Gómez García
219acc14e5 * Updated object info
* Added certificate to register REST as param
2023-09-29 16:58:20 +02:00
Adolfo Gómez García
72ac4e59ca Fixed Server REST events and tests 2023-09-26 16:41:40 +02:00
Adolfo Gómez García
eff1843304 Fixed notify events to include "user_service_uuid instead of user_service (name change, not uuid inside) 2023-09-25 01:54:57 +02:00
Adolfo Gómez García
842626ec9c Fixed userService preConnect to redirect if does not have one to service preConnect 2023-09-21 12:16:27 +02:00
Adolfo Gómez García
a648f4a210 Small comments on notification processing an worker (not a real worker( 2023-09-20 23:36:44 +02:00
Adolfo Gómez García
9f3ca2dbf7 Merge branch 'master' of github.com:/VirtualCable/openuds 2023-09-20 21:14:58 +02:00
Adolfo Gómez García
49469caa2a fixed circular import 2023-09-20 20:36:14 +02:00
Adolfo Gómez García
639273fd35 moving constants (os constants) to uds.core.consts module 2023-09-20 20:32:08 +02:00
Adolfo Gómez
b8dd4ecc08 Update README.md 2023-09-18 01:03:03 +02:00
Adolfo Gómez García
eab6703f2f Minor fixes on SAML (grouping, and tooltips) 2023-09-15 14:49:44 +02:00
Adolfo Gómez García
851e58fb40 Fixed SAML 2023-09-13 15:37:17 +02:00
Adolfo Gómez García
4d98f21286 Added "future" event "init" for servers
Fixed comment on stats (so it's clear that received stamp will be overwriten)
2023-09-12 18:41:20 +02:00
Adolfo Gómez García
7c09029c40 Added restrain of servers if comms fail for 1 minute 2023-09-10 01:05:22 +02:00
Adolfo Gómez García
812f31c31f Small test fix 2023-09-08 03:53:31 +02:00
Adolfo Gómez García
6e40e56d24 Added ticket methods to Servers Rest Api 2023-09-08 03:52:40 +02:00
Adolfo Gómez García
0eef9c2f09 Now stats cache is from server property if valid 2023-09-07 23:07:42 +02:00
Adolfo Gómez García
d9b7771f21 Done basic server events REST methods 2023-09-07 22:56:54 +02:00
Adolfo Gómez García
e96369bd71 fixed password retrieval from REST connection api 2023-09-07 15:01:44 +02:00
Adolfo Gómez García
dedf271b54 Added UnsavedForeignKey to migations to keep compat 2023-09-07 01:37:08 +02:00
Adolfo Gómez García
fc09abe960 renamed getSqlDatetimeAsUnis to GetSqlStampInSeconds 2023-09-07 01:29:58 +02:00
Adolfo Gómez García
d5dd2993b8 Removed "UnsavefForeignKey" not user anymore (restored ForeignKey) 2023-09-07 01:28:36 +02:00
Adolfo Gómez García
dc901b4473 Adding more server REST api tests and fixes 2023-09-06 18:33:00 +02:00
Adolfo Gómez García
dda77ab2a3 Fixing up servers and adding tests for server rest api 2023-09-05 16:48:31 +02:00
Adolfo Gómez García
0f41b8ac76 * Adding server register tests
* Fixed registering paths (removed subclases os DetailHandler)
2023-09-04 02:45:04 +02:00
Adolfo Gómez García
76c2207b12 done server groups & severs management 2023-09-02 20:43:38 +02:00
Adolfo Gómez García
1b2b1f81b3 Done server groups & servers management 2023-09-02 20:42:03 +02:00
Adolfo Gómez García
c4850e0aed Added unmanaged server add/deletion on server groups 2023-09-02 18:27:00 +02:00
Adolfo Gómez García
8f76bd511c more coherence 2023-09-02 05:36:38 +02:00
Adolfo Gómez García
d009a7abdc Adding a bit coherence in access from instances to dbObjs 2023-09-02 05:30:35 +02:00
Adolfo Gómez García
9deaef7eb5 Renamed dbAuthenticator() to dbObj (to be same name on all models...) 2023-09-02 05:13:33 +02:00
Adolfo Gómez García
0a8836410d * Fixed Transports Network detection
* renamed "validForIp to isValidForIp"
2023-09-02 05:03:15 +02:00
Adolfo Gómez García
a47a886179 correctly named a method (snakeCase) for coherence 2023-09-02 04:54:47 +02:00
Adolfo Gómez García
54720723a4 * Fixed network detection for Authenticator
* Fixed tests for groups and users (REST)
* Removed codecs.encode in favor of base64.encode in some places (more to go)
2023-09-02 04:45:54 +02:00
Adolfo Gómez García
ef59af60db fixes to UserInterface to force "label" parameter when required, and added more tests 2023-09-01 21:09:06 +02:00
Adolfo Gómez García
33c263d6a8 Fixed rest of UserInterface classes and improved multichoice 2023-09-01 03:42:13 +02:00
Adolfo Gómez García
f24b801f04 more UserInterface improvements and fixes :) 2023-08-31 20:04:36 +02:00
Adolfo Gómez García
66090e181d * Moved some more values to consts
* Fixed bugs on references on UserInterface
* Added a new tests for internal data to userService
2023-08-31 17:41:16 +02:00
Adolfo Gómez García
412f1e36b4 Removed dictionary from UserInterface fields _data 2023-08-31 04:11:33 +02:00
Adolfo Gómez García
8370194033 Moved uds.core.util.request to uds.core.types.request 2023-08-31 03:01:04 +02:00
Adolfo Gómez García
0f16e77b82 Before moving userinterface _data dict to dataclass 2023-08-31 02:39:35 +02:00
Adolfo Gómez García
f8bad512a5 Removed blocker and added decorators to utils · 2e2b5b6d 2023-08-30 17:35:36 +02:00
Adolfo Gómez García
c14354e1c7 Removed block (inserted into "decorators" and added profile decorator 2023-08-30 17:35:33 +02:00
Adolfo Gómez García
d68b815f0c Removed profiling stuff :) 2023-08-30 17:26:16 +02:00
Adolfo Gómez García
07ab6526d7 * Improved load time for transport form
* Added "TypedDict" to user service data type, to better catch
  possible errors
2023-08-30 17:25:39 +02:00
Adolfo Gómez García
4983a4a1be Removed Tab from user_interface (added to types.ui) 2023-08-30 04:03:02 +02:00
Adolfo Gómez García
a169c4b8c4 Moving Tab from ui to types 2023-08-30 04:01:08 +02:00
Adolfo Gómez García
f67d4d9a41 Moving some types to types.ui (Basic types) 2023-08-30 03:39:40 +02:00
Adolfo Gómez García
7956764b01 Fixing up names to be more coherent with their use
Related to user_interface
2023-08-29 17:58:25 +02:00
Adolfo Gómez García
4a3c27ba11 Added much better name for "defValue" (now it is "default"), and removed nonsense "value" field from gui description 2023-08-29 15:05:13 +02:00
Adolfo Gómez García
52effddf0c Restored mistake on modfinder 2023-08-29 03:49:53 +02:00
Adolfo Gómez García
8d77d45115 fixing server REST api 2023-08-29 03:47:12 +02:00
Adolfo Gómez García
88a7cdd58b Added call to requests check to server tests
Added parallelization of server stats retrieval
2023-08-28 23:47:40 +02:00
Adolfo Gómez García
f5b248c52e some name updates for better understanding what they are 2023-08-28 19:01:47 +02:00
Adolfo Gómez García
b639be5fcd Done tunnel servers edition 2023-08-28 17:06:34 +02:00
Adolfo Gómez García
f47e0fb039 Added ciphers for TLS1.2 for UDS Actor 3.6 2023-08-26 04:49:15 +02:00
Adolfo Gómez García
2129e2d93d refactorized "deployedType" to "userServiceType"
It's a better name :)
2023-08-26 04:48:26 +02:00
Adolfo Gómez García
3d4ccb1267 small comment fix 2023-08-25 05:25:12 +02:00
Adolfo Gómez García
08d693e019 Renamed maxDeployed to maxUserServices (to be coherent) 2023-08-25 00:50:43 +02:00
Adolfo Gómez García
cdde576aa9 Refactorized "UserDeployment" to UserService
So this is called as the rest of services modules (as it model)
2023-08-25 00:35:51 +02:00
Adolfo Gómez García
4e4d0253ad fixed tests for server managers 2023-08-23 05:04:28 +02:00
Adolfo Gómez García
604b77077f Type fix for servers release 2023-08-23 04:54:08 +02:00
Adolfo Gómez García
3379126959 Fixed logout default "sessionType" parameter 2023-08-22 14:25:27 +02:00
Adolfo Gómez García
d823ebb253 Fixed not saving (due to rollback) information on DBs when raising not found exception. Now, if no asignation is possible, it returns "None" 2023-08-22 03:04:54 +02:00
Adolfo Gómez García
a747777753 Adding some basic statistics to Servers 2023-08-21 22:22:15 +02:00
Adolfo Gómez García
51a9126ba7 Small change, using uuid for property name on servers instead of id 2023-08-21 21:02:10 +02:00
Adolfo Gómez García
be4de2d9ce * Small fixes on servers_api
* Added transaction to cache usage on cached decorator
* renamed "allowCache" to "cached"
2023-08-21 04:23:26 +02:00
Adolfo Gómez García
743a1adabe Fixing up servers and advancing on it's implementation 2023-08-19 21:50:18 +02:00
Adolfo Gómez García
31c67ffddf Removed legacy userService getProperty/setProperty 2023-08-18 23:26:14 +02:00
Adolfo Gómez García
94d5603d29 Creating common Properties for tables.
I needed a properties table for Server and ServerGroups, so i generalized it and used in existing UserServices
2023-08-18 23:05:03 +02:00
Adolfo Gómez García
a2ee3267ae Renamed "RegisteredServer" to more simple "Server" 2023-08-18 02:56:42 +02:00
Adolfo Gómez García
942404f2ed Added tests and fixed Servers.
Small RDP transport fix
2023-08-17 21:09:49 +02:00
Adolfo Gómez García
6512644d9d Adding tests for managed servers 2023-08-16 02:20:47 +02:00
Adolfo Gómez García
c4f316bc88 Improving server load balancing for unmanaged servers 2023-08-15 16:31:07 +02:00
Adolfo Gómez García
92c4168e52 fixed locked field (means locked UNTIL, not locked FROM 2023-08-15 03:00:54 +02:00
Adolfo Gómez García
5cf4733847 Making test for servers manager and fixing up server managers 2023-08-15 02:42:46 +02:00
Adolfo Gómez García
e9b3706efc Fixing server REST 2023-08-14 15:12:13 +02:00
Adolfo Gómez García
b375ee3f80 Make systemd optional, so can be run on other platforms 2023-08-14 01:43:45 +02:00
Adolfo Gómez García
3b7f70709d clean up of client 2023-08-13 23:57:57 +02:00
Adolfo Gómez García
80e71874a8 Updated client 2023-08-13 21:03:07 +02:00
Adolfo Gómez García
bfed3e39ed More advances on Servers 2023-08-13 15:23:14 +02:00
Adolfo Gómez García
ee03d7c3be Some more refactoring and Servers implementations advancement 2023-08-13 01:00:28 +02:00
Adolfo Gómez García
9da669b50c Implementeing basic API for a registered server (managed) 2023-08-12 20:43:01 +02:00
Adolfo Gómez García
9062a84bf4 More on migrations 2023-08-12 17:10:58 +02:00
Adolfo Gómez García
544812e019 Advancing on Mitrations for providers v4 2023-08-12 16:38:35 +02:00
Adolfo Gómez García
c921d667b0 Added first version of RDS migrator (TBChecked) 2023-08-12 15:32:53 +02:00
Adolfo Gómez García
cc85b9248b Removed one cipher 2023-08-11 23:17:59 +02:00
Adolfo Gómez García
3cbf1eb8bb Advancing on servers management 2023-08-11 01:52:31 +02:00
Adolfo Gómez García
5a420e0967 Advancing on servers management 2023-08-10 22:05:30 +02:00
Adolfo Gómez García
9879eaf8d6 Refactorized "kind" to "type" 2023-08-10 14:48:57 +02:00
Adolfo Gómez García
4b54a3795b Adding support for server groups on services 2023-08-10 01:39:57 +02:00
Adolfo Gómez García
11b70385f6 Adding ServerGroup field helpers and some minor refactor 2023-08-09 15:45:31 +02:00
Adolfo Gómez García
1a72b70175 Advancing on server implementation 2023-08-09 02:11:14 +02:00
Adolfo Gómez García
0d6ec1c779 Done transports migration to new model 2023-08-08 16:52:21 +02:00
Adolfo Gómez García
f8fb32342f Addingt transports migrations to new model 2023-08-08 02:44:52 +02:00
Adolfo Gómez García
785069575e Renamed "transports" for mitration fixers to "transport_v4"
Much more convenient
2023-08-07 18:08:14 +02:00
Adolfo Gómez García
51590bdd80 * Added support for callable fields on user interface (value, values, defvalue)
* Added fields utils for commodity fields (such as tunnelServer)
* Added migration_Back for "unmigrate" to 0045 (for development pourposes)
* Updated icons for pools
* Upgraded admin interface
* Added testing "tunnelField" to html5rdp transport
2023-08-07 18:05:58 +02:00
Adolfo Gómez García
e621487b6e Adding transport migrators to new model 2023-08-07 04:00:33 +02:00
Adolfo Gómez García
0102399e9e Imported 3.6 updates to proxmox and fixed decorators "Conected" typo 2023-08-06 22:35:59 +02:00
Adolfo Gómez García
96d0757801 Some minor changes to first transport migrators (TBD)
Fixed config reading old password badly (due to crypt...)
2023-08-05 06:07:46 +02:00
Adolfo Gómez García
8ce84f3c10 * Renamed model file
* Added __str__ and __repr__ to user_interface (with some minor type fixes)
* Added first migrator for HTML5RDP Transport to new model
2023-08-05 05:39:30 +02:00
Adolfo Gómez García
a45baffa51 Some minor type fixes 2023-08-04 11:39:11 +02:00
Adolfo Gómez García
b18e9c3aa8 Removed "nonsense" ip_version from DB (can be obtained from hostname if needed) 2023-08-03 20:52:06 +02:00
Adolfo Gómez García
bcf01492c0 added tunnel servers to admin interface 2023-08-03 20:44:44 +02:00
Adolfo Gómez García
98d7a16813 Added host validator and fixed tunnel server 2023-08-03 20:42:58 +02:00
Adolfo Gómez García
de533acdcd Updated admin interface visuals 2023-08-03 17:29:10 +02:00
Adolfo Gómez García
11494a6cdd Moved allowed_failures to constanst 2023-08-03 15:35:16 +02:00
Adolfo Gómez García
f67de32f92 Fixed typos refactoring constants and types 2023-08-03 02:58:54 +02:00
Adolfo Gómez García
4c21919846 Refactorizing and fixed relation between servers and servers groups to manytomany 2023-08-03 02:26:48 +02:00
Adolfo Gómez García
d942b32a9e New icon set from flattr-icons :) 2023-08-02 22:45:35 +02:00
Adolfo Gómez García
6d492cd0e8 Fixing Server and Registered Server concepts.
Use this with care!! not finished.
Migration 0046 is going to be updated with Transport migrations
2023-08-02 21:01:11 +02:00
Adolfo Gómez García
902c004b47 creating REST api for tunnel servers 2023-08-02 16:54:13 +02:00
Adolfo Gómez García
28696756d0 Adding server groups and started migration from current transports models to new one 2023-08-02 16:32:03 +02:00
Adolfo Gómez García
8e5610bc50 OS Managers, in fact, provides a single type of "service (That is, VDI or VAPP, ...) but not mor than one 2023-08-01 16:01:00 +02:00
Adolfo Gómez García
28b03427f2 Adding service type (VDI or VAPP) to notification on preconnect 2023-08-01 15:52:51 +02:00
Adolfo Gómez García
23a72367ff Refactor. Moving types to a new, better controlled, location (uds.core.types....) 2023-08-01 15:05:33 +02:00
Adolfo Gómez García
5bca545335 Comment on actor register process 2023-07-31 21:18:41 +02:00
Adolfo Gómez García
9caf43c36a Upgraded admin interface to reflect "Server" changes 2023-07-31 21:04:11 +02:00
Adolfo Gómez García
05cc12a32c adding server logic in UDS to acommodate existing Actors and Tunnels and alow new servers 2023-07-31 20:58:56 +02:00
Adolfo Gómez García
fd3154946d small config fix (Added WYSE for legacy support to ConfigS ection Types) 2023-07-31 15:28:57 +02:00
Adolfo Gómez García
5c0bf00344 Moving data to uds.core.types 2023-07-29 00:58:09 +02:00
Adolfo Gómez García
7fa8cb5183 Advancing on registered servers functionality 2023-07-28 02:22:50 +02:00
Adolfo Gómez García
94a0fb337f Added "experimental" decorator to block access on failures 2023-07-28 02:02:40 +02:00
Adolfo Gómez García
c9a8a710d0 Commented as deprecated authSmallName 2023-07-27 21:05:30 +02:00
Adolfo Gómez García
c12091abbd added LabelAuth instead of smallName to remove this last parameter on future 2023-07-27 21:05:00 +02:00
Adolfo Gómez García
17d684f1ce Some refactoring to homogeneize json reponses for actors, clients, etc... 2023-07-27 20:49:23 +02:00
Adolfo Gómez García
48afe3a60c Small fix so login/logout get logged in uds.log if root user 2023-07-27 01:21:21 +02:00
Adolfo Gómez García
da42ea8c42 Fixed loggin with root password on 4.0 2023-07-27 01:15:28 +02:00
Adolfo Gómez García
7e99bfebb3 Added Test method to registered_servers 2023-07-26 23:14:47 +02:00
Adolfo Gómez García
32c88e1543 Advancing a bit more on server registration, fixing up log level mess 2023-07-26 16:47:25 +02:00
Adolfo Gómez García
3dc3f4ad56 Updated "validateToken" to admint server type 2023-07-26 15:35:18 +02:00
Adolfo Gómez García
0ad2c418f5 Refining registered servers 2023-07-25 21:30:44 +02:00
Adolfo Gómez García
089ba1aecb updated submodules 2023-07-25 20:26:21 +02:00
Adolfo Gómez García
3ae9d13b2a Updated client path 2023-07-25 20:20:34 +02:00
Adolfo Gómez García
6ee7023360 Updated client path 2023-07-25 20:09:21 +02:00
Adolfo Gómez García
1dc763d77c Updated client path 2023-07-25 20:06:56 +02:00
Adolfo Gómez García
651de0083f Merge branch 'master' of github.com:/VirtualCable/openuds 2023-07-25 20:05:22 +02:00
Adolfo Gómez García
e911db2857 Updated actor 2023-07-25 20:04:39 +02:00
Adolfo Gómez
7e8f44ebf8 Update settings.py.sample
Added comment on LDAP_CIPHER_SUITE if using OpenSSL libldap version (as in altlinux, for example)
2023-07-25 15:04:42 +02:00
Adolfo Gómez García
33e8bfc286 Added support for password fields on configuration
Migrated root password from encrypted to hashed using argon2
2023-07-23 06:22:11 +02:00
Adolfo Gómez García
7e830e2c9c Fixed admin fake translations to nice encoding 2023-07-23 02:43:56 +02:00
Adolfo Gómez García
0f90492ec7 Merge branch 'master' of github.com:/VirtualCable/openuds 2023-07-23 02:17:07 +02:00
Adolfo Gómez García
8137373c40 Added support for argon2, more secure than sha256 with salt.
Kept backwards compat with existing stored keys.
2023-07-23 02:16:51 +02:00
Adolfo Gómez
b5e24f84a3 Create dependency-review.yml
Checks for known vulnerable dependency versions on pull
2023-07-22 19:31:11 +02:00
Adolfo Gómez
36deb637fb Create auto-assign.yml
To assign issues to me, so i can notice them :)
2023-07-22 19:28:01 +02:00
Adolfo Gómez
833f8a0a3e Create dependabot.yml
Adding dependabot
2023-07-22 18:46:01 +02:00
Adolfo Gómez García
a5b5899c93 Small comment for GNUTLS or OpenSSL libldap use 2023-07-22 02:22:32 +02:00
Adolfo Gómez García
9738f793e6 Added check for OPT_X_TLS_PROTOCOL constants before using them. Note that min protocol can also be set using the ciphers scrictly.
Also, due to the fact that python-ldap can be compliled against a libldap that uses gnutls or libss, the ciphers may be different, so in case of error, we simple warn it and continue...
2023-07-22 02:18:08 +02:00
Adolfo Gómez García
c0484d628d Included "mac" as a informative field for registered servers 2023-07-21 18:27:55 +02:00
Adolfo Gómez García
7ca11fdb53 * Added support for "Teams optimizations". Note that "tunneled version" does not work due to the imbosibility to connect to localhost by Remote Destop App
* added ticket_length variable, and comment about tunnel
* Small type checking fix on saml
2023-07-21 14:46:55 +02:00
Adolfo Gómez García
ae9fc182bc Moved type definition to top of class for machine provider 2023-07-17 17:34:53 +02:00
Adolfo Gómez García
a38716e1b0 Adding support for teams optimizations on virtual machines. To be tested!!! 2023-07-17 16:23:25 +02:00
Adolfo Gómez García
d81b68eaa7 Added Os Type on registered actor (will help us later when using them) 2023-07-16 23:00:26 +02:00
Adolfo Gómez García
0173a06411 Fixed ticket access in restricted mode 2023-07-14 13:48:55 +02:00
Adolfo Gómez García
b614c8fff6 Merge branch 'master' of github.com:/VirtualCable/openuds 2023-07-12 19:36:52 +02:00
Adolfo Gómez García
9aa8d0da86 Replacing several diferent "registration" tables to a single, versatile one. 2023-07-12 19:36:42 +02:00
Adolfo Gómez García
012f8de6c5 Replacing several diferent "registration" tables to a single, versatile one. 2023-07-12 19:36:15 +02:00
Adolfo Gómez García
81db3278bd Renamed Tunnel tokens Table to Server Tokens and adapted code to it. Also recreated admin using Angular 16 2023-07-12 04:30:37 +02:00
Adolfo Gómez García
5da7b06d62 upgrading to angular 16 and replacing tunnel tokens by server tokens 2023-07-12 04:00:28 +02:00
Adolfo Gómez García
4e28bd4c9c Fixed error pages 404 - 500 2023-07-04 00:43:04 +02:00
Adolfo Gómez García
80bf97a8b1 Fixed default error pages 404-500 2023-07-04 00:40:28 +02:00
Adolfo Gómez García
73cd338325 Using again XenAPI pip package 2023-07-04 00:13:13 +02:00
Adolfo Gómez García
bed57c4133 fixed AD machine group add (related to lists and encodings) 2023-06-29 14:48:23 +02:00
Adolfo Gómez García
7d63185fd1 updating settings for ldap ciphers 2023-06-28 18:50:16 +02:00
Adolfo Gómez García
eeae7f7039 Added support for ldaputil getting some configs from django settings 2023-06-27 14:44:56 +02:00
Adolfo Gómez García
e5b2e7351d securing ldap connections a bit more 2023-06-24 19:03:54 +02:00
Adolfo Gómez García
a78c8f3912 modified client 2023-06-24 17:51:55 +02:00
Adolfo Gómez García
13cce40a3d Ldap connection ciphers reduced to 13 only, and some minor formatting 2023-06-24 17:49:55 +02:00
Adolfo Gómez García
bd37201109 Fixed (c) headers and some minor formatting related changes 2023-06-22 16:04:11 +02:00
Adolfo Gómez García
d95cc05669 Merge branch 'master' of github.com:/VirtualCable/openuds 2023-06-22 15:49:43 +02:00
Adolfo Gómez García
841097d4c3 Fixed service pool loggin 2023-06-22 15:49:38 +02:00
Adolfo Gómez
d4d929c28f Update README.md
Added simple description about submodules
2023-06-21 22:26:40 +02:00
Adolfo Gómez García
4374a94bbf fixing up submodules 2023-06-21 22:09:10 +02:00
Adolfo Gómez García
a2dbebae14 fixing up submodules 2023-06-21 21:54:02 +02:00
Adolfo Gómez García
f12b795fce fixing up submodules 2023-06-21 21:46:40 +02:00
Adolfo Gómez García
afacb7d363 fixing up submodules 2023-06-21 21:42:50 +02:00
Adolfo Gómez García
96800740e8 fixing up submodules 2023-06-21 21:40:02 +02:00
Adolfo Gómez García
68f6f00cc2 fixing up submodules 2023-06-21 21:39:16 +02:00
Adolfo Gómez García
77022b81f2 fixing up submodules 2023-06-21 21:35:59 +02:00
Adolfo Gómez García
57e4999f2b updated pom.xml for building uds auth extension 2023-06-21 21:34:26 +02:00
Adolfo Gómez García
77d4f9e2bd Fixed log on auth.log from federated and tikets login 2023-06-21 15:10:05 +02:00
Adolfo Gómez García
e98d40a8cd updated supproyects 2023-06-21 15:03:47 +02:00
Adolfo Gómez García
9bb6f65efa updated supproyects 2023-06-21 15:02:44 +02:00
Adolfo Gómez García
7fd2d1162d upgraded regexldap and saml field processor to admit:
* : as a "prependable" to the attribute value
* +, to join several fields (must be fields with 0 o 1 elements only) into an single value
2023-06-13 17:11:39 +02:00
Adolfo Gómez García
70c8a296ca merged proxmox fix from 3.6 2023-06-09 15:00:11 +02:00
Adolfo Gómez García
1a7e7b9cd3 Sample reformatting 2023-06-09 02:51:30 +02:00
Adolfo Gómez García
4646e221c0 (c) fix 2023-06-08 16:32:31 +02:00
Adolfo Gómez García
64208edd90 Migrating client from openuds to a submodule 2023-06-07 14:44:48 +02:00
Adolfo Gómez García
12ff44d465 Migrating client from openuds to a submodule 2023-06-07 14:44:25 +02:00
Adolfo Gómez García
d22f9dc446 Migrating actor from openuds to a submodule 2023-06-07 14:39:46 +02:00
Adolfo Gómez García
311ff22a3f Migrating actor from openuds to a submodule 2023-06-07 14:39:04 +02:00
Adolfo Gómez García
41b0ba5c3c Removing not used proxy (stays on history if needed anyway :) 2023-06-07 14:31:13 +02:00
Adolfo Gómez García
30131b0da1 Added tunnel-server submodule 2023-06-07 14:29:48 +02:00
Adolfo Gómez García
5647b97b42 Migrating tunnel-server from openuds to a submodule 2023-06-07 14:29:18 +02:00
Adolfo Gómez García
09c33baa02 moved guacamole auth to a submodule 2023-06-06 21:59:00 +02:00
Adolfo Gómez García
0f2c1f50db Organizing a bit the code into more repositories 2023-06-06 21:58:27 +02:00
Adolfo Gómez García
75cef5b1ab added notify preconnect in case of ticket update (username,...) 2023-06-06 15:13:36 +02:00
Adolfo Gómez García
53c964c77e Minor documentation fix 2023-06-05 18:36:23 +02:00
Adolfo Gómez
3a239d5f80 updated .gitignore 2023-05-30 21:47:48 +02:00
Adolfo Gómez García
6a1ad3f44e Merge branch 'master' of github.com:/VirtualCable/openuds 2023-05-30 21:43:58 +02:00
Adolfo Gómez
96d7146daf Added client log in case of exception 2023-05-30 21:43:10 +02:00
Adolfo Gómez García
b5d38e3832 Merge branch 'master' of github.com:/VirtualCable/openuds 2023-05-30 21:40:50 +02:00
Adolfo Gómez García
ba1cc3d372 added gpu availability check on proxmox 2023-05-30 17:53:38 +02:00
Adolfo Gómez García
508e9e92f8 upgrade information 2023-05-29 18:46:46 +02:00
Adolfo Gómez García
99645044f0 Now first tries to load PyQt6, and if it cannot be loaded, tries PyQt5 2023-05-24 02:53:12 +02:00
Adolfo Gómez García
5770d94c33 updating client to use PyQt6 first, and if not found, use pyqt5 2023-05-24 02:35:56 +02:00
Adolfo Gómez García
e6b707868f updating client to use PyQt6 first, and if not found, use pyqt5 2023-05-24 02:23:12 +02:00
Adolfo Gómez García
88c7928408 updating macos builder 2023-05-24 01:55:18 +02:00
Adolfo Gómez García
e4a4e0d958 updating build process for x86 and mac 2023-05-24 01:54:51 +02:00
Adolfo Gómez García
64f4f82540 merged 3.6 changes 2023-05-23 03:17:52 +02:00
Adolfo Gómez García
f099870c60 Merge remote-tracking branch 'origin/v3.6' 2023-05-23 03:16:04 +02:00
Adolfo Gómez García
0363ac3a6a added /rfx /rfx:gfx to macos by default 2023-05-23 03:15:34 +02:00
Adolfo Gómez García
606b3f205d Added PySide6 support as firts option (due to arm64 support) 2023-05-23 02:54:28 +02:00
Adolfo Gómez García
41697a4bab Added PySide6 as first Option, because it has arm64 binaries. If not available, will load PyQt5 as always. 2023-05-23 02:54:16 +02:00
Adolfo Gómez García
45a4dec18f Fix tunnel removal procedure on Mac Launcher 2023-05-23 02:25:35 +02:00
Adolfo Gómez García
1a30806f63 Merge remote-tracking branch 'origin/v3.6' 2023-05-22 14:36:58 +02:00
Adolfo Gómez García
23a9465ae1 removed micro on mac rdp (not working on most cases...) 2023-05-22 13:21:31 +02:00
Adolfo Gómez García
76aec4b4de Merge remote-tracking branch 'origin/v3.6' 2023-05-21 16:49:13 +02:00
Adolfo Gómez García
084e0cc2a0 fixed bad ssl handshake management 2023-05-21 16:49:04 +02:00
Adolfo Gómez García
2da927d82b fixed bad ssl handshake on tests 2023-05-21 16:48:32 +02:00
Adolfo Gómez García
2c77d361d7 backported 4.0 version improvements 2023-05-21 16:23:18 +02:00
Adolfo Gómez García
c33c1501f5 some fixes to make tests work as they are expected to 2023-05-21 16:19:58 +02:00
Adolfo Gómez García
99cd7030e0 Some mre lints 2023-05-21 05:45:51 +02:00
Adolfo Gómez García
379ce8a094 Fixes tests and some linting issues. 2023-05-21 05:35:52 +02:00
Adolfo Gómez García
cb76078758 Fixed test so now they work correctly just with asyncio 2023-05-21 05:35:48 +02:00
Adolfo Gómez García
ea190c481d small actor type fix 2023-05-18 19:48:31 +02:00
Adolfo Gómez García
97156dcca5 Merge branch 'master' of github.com:/VirtualCable/openuds 2023-05-18 19:46:54 +02:00
Adolfo Gómez García
f810fc1cd6 Fixed backward compat issue 2023-05-18 19:46:48 +02:00
Adolfo Gómez
db73bf1c2d Update README.md 2023-05-18 15:38:20 +02:00
Adolfo Gómez García
e47831ebc2 Fixed documentation for os manager base module 2023-05-18 15:10:49 +02:00
Adolfo Gómez García
c264ea9c13 Moved "custom" parameters for osManager inside the "custom" dict
Also, kept "old" parematers for a while (a couple of versions), so old clients are compatible with UDS actor 4.0 at least (so we can upgrade server, keep running and eventually upgrade actors).
Compatibility mast be kept for at lest a couple of minor releases,
Al least, until UDS 4.5 will be kept this way
2023-05-18 15:04:47 +02:00
Adolfo Gómez García
880aa24dbb Refactorized some code from Alexander.
Looking at Alexander's contribution, and wanting to make more usafle for future inclusions, simply have moved all new items to a nested dictionary (custom), and added the capacity to allow to keeep data on some circustances (like the one required by new linux ad os mannagers provided by alexander).
Will also include soon all windows AD parameters inside this block, and any "custom" paramater for any action.
2023-05-18 14:31:02 +02:00
Adolfo Gómez García
3ee77fb034 added sample script to get link from a user service using connection api 2023-05-17 19:26:51 +02:00
Adolfo Gómez García
4f6a7b44ab fixed udslink for django 4.x 2023-05-17 19:26:23 +02:00
Adolfo Gómez García
57d7b442f6 Some minor fixes ond Alexander code (some changes done on core after his contribution that has to be reflected, nothing important) 2023-05-17 18:25:25 +02:00
Adolfo Gómez
98f79f83f1 Merge pull request #81 from Future998/linux-client-DC
Adding new Linux OS Domain Managers
2023-05-17 17:43:43 +02:00
Alexander Burmatov
afb1d2cafe Merge branch 'master' into linux-client-DC 2023-05-17 17:14:48 +03:00
Alexander Burmatov
d8f41a048e Updating information about authors 2023-05-17 16:49:26 +03:00
Alexander Burmatov
f8a9a9d633 Update copyright date 2023-05-17 16:47:47 +03:00
Alexander Burmatov
277d9f9b88 Changing the service file
This is necessary for the correct stop of the service
when the machine is shutdowned or rebooted
(with the leave from the domain of non-persistent machines).
2023-05-17 16:39:37 +03:00
Alexander Burmatov
f3ba042140 Changing the function when the service is stopped
If the machine is non-persistent, it will be leave from the domain
when the service is stopped.
2023-05-17 16:35:09 +03:00
Alexander Burmatov
2d30362301 Saving actor config for non-persistent machines
This is necessary to leave a non-persistent machine from the domain.
2023-05-17 16:30:54 +03:00
Alexander Burmatov
d6e2373de4 Redefining a function to join to the domain
Depending on which machine (Linux or Windows) the actor is for,
a different number of parameters are passed to this function.
2023-05-17 15:59:01 +03:00
Alexander Burmatov
47dc43f601 Extension of the request for initialization
Extension of the request for initialization according to the change in
the configuration type of the actor.
2023-05-17 15:42:55 +03:00
Adolfo Gómez García
9a2a19c694 Merge remote-tracking branch 'origin/v3.6' 2023-05-17 14:36:57 +02:00
Adolfo Gómez García
392cb6e406 updated tranlations 2023-05-17 14:36:45 +02:00
Alexander Burmatov
28ce61c983 Type extension for actor configuration
Parameters have been added that are given by the server
to join the Linux machines to the domain.
2023-05-17 15:36:28 +03:00
Adolfo Gómez García
78c48dc26a Merged 3.6 changes 2023-05-17 14:36:21 +02:00
Adolfo Gómez García
33f90f74d8 Merge remote-tracking branch 'origin/v3.6' 2023-05-17 14:34:23 +02:00
Adolfo Gómez García
4df4892111 removed DEPRECATED from simple ldap 2023-05-17 14:26:29 +02:00
Alexander Burmatov
b6ad6d80d5 Add operation for leave from the domain 2023-05-17 15:26:02 +03:00
Alexander Burmatov
7f274ad5b2 Add operation for join to the domain
Joining the domain takes place using the realm utility.
It was chosen because it works in various Linux distributions,
so it is universal. It is necessary to add a dependency to the
realm utility for the actor.
2023-05-17 15:15:13 +03:00
Alexander Burmatov
6bc6f2d171 Update documentation for actorData method
New parameters needed to join Linux machines to the domain have been
added.
2023-05-17 15:06:16 +03:00
Alexander Burmatov
20fdd56ca2 Add Linux FreeIPA OS manager 2023-05-17 15:03:21 +03:00
Alexander Burmatov
03d705639a Add Linux Active Directory OS manager 2023-05-17 15:00:51 +03:00
Adolfo Gómez García
0fc6db187d Merge remote-tracking branch 'origin/v3.6' 2023-05-17 02:14:44 +02:00
Adolfo Gómez García
8e4615de19 re-fixed mac tls version for newer python 2023-05-17 02:01:09 +02:00
Adolfo Gómez García
d8ad7ddd22 moved tools imports to top level 2023-05-17 01:46:00 +02:00
Adolfo Gómez García
59b73a41b8 Merge remote-tracking branch 'origin/v3.6' 2023-05-16 01:09:48 +02:00
Adolfo Gómez García
4d26df9580 upgrading and linting tunnel 2023-05-16 01:09:32 +02:00
Adolfo Gómez García
24c9a18ea8 upgrading and linting tunnel 2023-05-16 01:06:04 +02:00
Adolfo Gómez García
004ea3e7df linting 2023-05-15 20:11:00 +02:00
Adolfo Gómez García
56ad195878 Merge remote-tracking branch 'origin/v3.6' 2023-05-12 15:39:51 +02:00
Adolfo Gómez García
ddf07eb68b fixed tunnel timeout check BEFORE transport connected 2023-05-12 15:39:25 +02:00
Adolfo Gómez García
6fc4cfb26d Merge remote-tracking branch 'origin/v3.6' 2023-05-12 14:13:22 +02:00
admin
ba28ab78ed added fixes for ssl support on mac os 2023-05-12 14:11:29 +02:00
Adolfo Gómez García
be66921b91 merged 2023-05-11 21:28:29 +02:00
Adolfo Gómez García
197bbe267c Merge remote-tracking branch 'origin/v3.6' 2023-05-11 21:25:03 +02:00
Adolfo Gómez García
e42ab76088 removed unused imports 2023-05-11 21:23:26 +02:00
Adolfo Gómez García
d72723d6f2 Improved connection tunnel timeout 2023-05-11 21:22:56 +02:00
Adolfo Gómez García
66a58a90a3 Fixing up tunnel 2023-05-11 21:18:25 +02:00
Adolfo Gómez García
2360c293bd Removed initial payload on tunnel. Will finally not be used 2023-05-11 20:39:26 +02:00
Adolfo Gómez García
a9522b88ab Merge remote-tracking branch 'origin/v3.6' 2023-05-11 16:41:00 +02:00
Adolfo Gómez García
8feef1d3f9 Fixed installer permissions fod UDSClient 2023-05-11 16:36:26 +02:00
Adolfo Gómez García
0c2ee7906b Fixed installer permissions fod UDSClient 2023-05-11 16:35:34 +02:00
Adolfo Gómez García
c3523bcf8c * Added help field to configuration REST api
* Better Log Level name for UDS Actor
* Refactorized BlockAccess to be a subclass of UDSException
2023-05-11 03:09:03 +02:00
Adolfo Gómez García
ca0df327d9 added communication between a token-actor and a token-service 2023-05-10 23:53:50 +02:00
Adolfo Gómez García
fd85e3a202 added communication between a token-actor and a token-service 2023-05-10 23:53:35 +02:00
Adolfo Gómez García
d25f278230 Merge remote-tracking branch 'origin/v3.6' 2023-05-10 23:27:53 +02:00
Adolfo Gómez García
159414f8e4 Fixed notify action 2023-05-10 23:26:33 +02:00
Adolfo Gómez García
8891da5987 Fixed notify action 2023-05-10 23:22:56 +02:00
Adolfo Gómez García
3898cf7253 Added new fields to udsactor registration and better config values check on udstunnel 2023-05-10 22:38:09 +02:00
Adolfo Gómez García
62540b2773 Added new fields to udsactor registration and better config values check on udstunnel 2023-05-10 22:28:34 +02:00
Adolfo Gómez García
8c9b326c3c added keep_listening parameter for future and initial_payload (fix) 2023-05-10 16:45:39 +02:00
Adolfo Gómez García
1c301d890d Merge remote-tracking branch 'origin/v3.6' 2023-05-09 18:25:11 +02:00
Adolfo Gómez García
db70f02df0 added keep_listening parameter for future and initial_payload (fix) 2023-05-09 18:24:55 +02:00
Adolfo Gómez García
0b6d2f8eb5 Merge remote-tracking branch 'origin/v3.6' 2023-05-09 14:50:08 +02:00
Adolfo Gómez García
a0250788b9 added keep_listening parameter for future and initial_payload (fix) 2023-05-09 14:49:46 +02:00
Adolfo Gómez García
f502f4ceb9 added keep_listening parameter for future and initial_payload (fix) 2023-05-09 14:49:36 +02:00
Adolfo Gómez García
5fdf614cfd Merge remote-tracking branch 'origin/v3.6' 2023-05-09 14:34:12 +02:00
Adolfo Gómez García
a2bfcd3d5a fixed "time" parameter from ticket (missing on check) 2023-05-09 14:21:13 +02:00
Adolfo Gómez García
0f41544830 added keep_listening parameter for future and initial_payload 2023-05-09 14:00:35 +02:00
Adolfo Gómez García
c04d8a1a89 Small actor fixes 2023-05-08 19:30:21 +02:00
Adolfo Gómez García
684ca07750 Minor fixes 2023-05-08 14:36:22 +02:00
Adolfo Gómez García
b71797c97f Merge remote-tracking branch 'origin/v3.6' 2023-05-05 20:06:03 +02:00
Adolfo Gómez García
eaa05ead0b fixed homepage and copyright info 2023-05-05 20:05:51 +02:00
Adolfo Gómez García
9fc3b456c8 Merge remote-tracking branch 'origin/v3.6' 2023-05-05 00:43:34 +02:00
Adolfo Gómez García
2d6a381321 small typo fix 2023-05-05 00:43:24 +02:00
Adolfo Gómez García
976b09785a fixed tunnel server test 2023-05-04 16:40:10 +02:00
Adolfo Gómez García
ea3298359c Merge remote-tracking branch 'origin/v3.6' 2023-05-04 15:33:40 +02:00
Adolfo Gómez García
84b0bd1de2 fixed tunnel info on connect 2023-05-04 15:33:19 +02:00
Adolfo Gómez García
68f7e25d8d Merge remote-tracking branch 'origin/v3.6' 2023-05-04 15:21:11 +02:00
Adolfo Gómez García
3423ea22fa fixed tunnel ouput 2023-05-04 15:21:08 +02:00
Adolfo Gómez García
0aeb9b923f fixed tunnel ouput 2023-05-04 15:20:24 +02:00
Adolfo Gómez García
e57d593c09 Merge remote-tracking branch 'origin/v3.6' 2023-05-04 15:18:41 +02:00
Adolfo Gómez García
55ed118ae9 fixed tunnel ouput 2023-05-04 15:18:31 +02:00
Adolfo Gómez García
5d88f90010 fixed tunnel ouput 2023-05-04 15:17:40 +02:00
Adolfo Gómez García
90213a75e8 Merge remote-tracking branch 'origin/v3.6' 2023-05-04 15:13:29 +02:00
Adolfo Gómez García
66170448ab fixes to telegram notifier and tunnel server test 2023-05-04 15:12:55 +02:00
Adolfo Gómez García
c4690a25bb added TLS version to log 2023-05-04 15:12:25 +02:00
Adolfo Gómez García
df5622c889 Merge remote-tracking branch 'origin/v3.6' 2023-05-04 14:46:13 +02:00
Adolfo Gómez García
902f838178 Fixed timeout on test command and added sample min_tls_version to config 2023-05-04 14:45:58 +02:00
Adolfo Gómez García
36a4f9a68b recovered mic for xfreerdp on mac 2023-05-03 21:59:09 +02:00
Adolfo Gómez García
96468a935d Finished telegram notifier and removed not "interesting" levels from notifiers, ensuring no spam 2023-05-03 21:50:29 +02:00
Adolfo Gómez García
59141a9f03 fixed igel init script (error setting perms to 777) 2023-05-03 15:28:24 +02:00
Adolfo Gómez García
7a6c5966d9 fixed igel init script 2023-05-03 15:07:17 +02:00
Adolfo Gómez García
a7a658e42d Added forgotten "notify" to telegram notifier :) 2023-05-03 01:34:12 +02:00
Adolfo Gómez García
3fa6478f94 Added telegram bot support to notifiers (not tested already) 2023-05-03 01:21:26 +02:00
Adolfo Gómez García
7244e8dec5 Starting telegram notifier 2023-05-02 23:45:50 +02:00
Adolfo Gómez García
1c0bdf189e removed registering method from notification manager (finally, will not be used) 2023-05-02 16:05:34 +02:00
Adolfo Gómez García
1e85965d10 fixing up logging load 2023-04-28 03:28:46 +02:00
Adolfo Gómez García
646ec42dd6 merged from 3.6 2023-04-25 13:10:56 +02:00
Adolfo Gómez García
ac4177f22b Merge remote-tracking branch 'origin/v3.6' 2023-04-25 13:09:13 +02:00
Adolfo Gómez García
21e8b5aa56 some minor formatting 2023-04-25 13:09:10 +02:00
Adolfo Gómez García
48aec57256 recovered "azuread" logging compat 2023-04-25 13:08:19 +02:00
Adolfo Gómez García
122d5c5634 Fixes and refactoring 2023-04-25 12:06:49 +02:00
Adolfo Gómez García
983320e70b More linting and some more refactor 2023-04-25 12:01:48 +02:00
Adolfo Gómez García
916e34a138 Refacotorized models.util to uds.core.util.model 2023-04-25 10:56:29 +02:00
Adolfo Gómez García
44cb9a2df3 Refactoring model utils, model constants and some linting 2023-04-24 22:29:43 +02:00
Adolfo Gómez García
91224a3787 Merge remote-tracking branch 'origin/v3.6' 2023-04-24 14:18:18 +02:00
Adolfo Gómez García
e81982dd41 make clients prior to 3.5 not supported in any case 2023-04-24 14:17:28 +02:00
Adolfo Gómez García
b9788e8f42 Added redirection of error messages to systemd journal 2023-04-24 12:33:31 +02:00
Adolfo Gómez García
c4703a5e91 upgraded settings for black 2023-04-23 02:34:15 +02:00
Adolfo Gómez García
713e793f2d Merge remote-tracking branch 'origin/v3.6' 2023-04-21 01:16:25 +02:00
Adolfo Gómez García
7fe5f3d02d Added warning, error and fatal errors to notifications circuit 2023-04-21 01:15:19 +02:00
Adolfo Gómez García
c8982cf677 Removed ceil creating function on sqlite 2023-04-21 00:46:06 +02:00
Adolfo Gómez García
a75e250aeb Unified "NotificationLevel" with "LogLevel" (in fact, same meaning) 2023-04-21 00:25:54 +02:00
Adolfo Gómez García
5eb058e44a Updated dependencies 2023-04-21 00:01:03 +02:00
Adolfo Gómez García
87b47bb8d1 fixed username for sqlite 2023-04-20 14:17:25 +02:00
Adolfo Gómez García
6b4edc8e7a Merge remote-tracking branch 'origin/v3.6' 2023-04-20 13:39:36 +02:00
Adolfo Gómez García
9b4d1139d1 Converted username to lowercase for internal db 2023-04-20 13:31:55 +02:00
Adolfo Gómez García
41a499a35c small fixes 2023-04-20 04:47:46 +02:00
Adolfo Gómez García
06a598d577 Adding Database logs storage (appart from local files) 2023-04-20 04:19:57 +02:00
Adolfo Gómez García
9030ff3ab3 Refactoring loggging and log manager, and more linting 2023-04-20 03:10:46 +02:00
Adolfo Gómez García
3a0efbb998 Removed handler from Log manager
The route to reach the handler makes load modules too early...
2023-04-20 00:03:11 +02:00
Adolfo Gómez García
b582a26be2 More linting and more managers refactoring 2023-04-19 23:57:36 +02:00
Adolfo Gómez García
60fd7edc7b more linting and refactoring uds.core.managers to remove functions 2023-04-19 16:20:30 +02:00
Adolfo Gómez García
cfab4fd29b Added improvements to logging 2023-04-19 14:47:47 +02:00
Adolfo Gómez García
d487dc2b4c Merge remote-tracking branch 'origin/v3.6' 2023-04-18 10:45:21 +02:00
Adolfo Gómez García
4756437d9f upgraded guacamole auth component 2023-04-18 10:45:11 +02:00
Adolfo Gómez García
ffa8d80ef7 Merge remote-tracking branch 'origin/v3.6' 2023-04-18 10:44:38 +02:00
Adolfo Gómez García
1b3b78dc78 upgraded guacamole components 2023-04-18 10:44:19 +02:00
Adolfo Gómez García
9e61d142e2 upgraded guacamole auth component 2023-04-18 10:43:59 +02:00
Adolfo Gómez García
79a285919b Small lint fix for java 2023-04-18 10:14:28 +02:00
Adolfo Gómez García
103f8443b8 Merge remote-tracking branch 'origin/v3.6' 2023-04-17 17:28:59 +02:00
Adolfo Gómez García
d98be68d96 fixed UDS client removing http references 2023-04-17 17:28:13 +02:00
Adolfo Gómez García
4c759c3367 removed http support from uds client 2023-04-17 13:24:38 +02:00
Adolfo Gómez García
e70146fad6 removed http support 2023-04-17 13:15:43 +02:00
Adolfo Gómez García
b69076ac1a Linted all models 2023-04-17 02:47:31 +02:00
Adolfo Gómez García
a88b0b59a5 fixed author names and more linting 2023-04-17 02:17:26 +02:00
Adolfo Gómez García
4e385f2074 upgraded admin interface 2023-04-17 01:11:25 +02:00
Adolfo Gómez García
030e3785e9 a lot of more linting 2023-04-16 13:51:30 +02:00
Adolfo Gómez García
fa8e77c750 Enough linting for today... :) 2023-04-15 21:42:57 +02:00
Adolfo Gómez García
8adc3ca40d * Fixed test error with modified http client
* linting even more, untill all files has been linted
* Tested still works after changes :)
2023-04-15 21:21:23 +02:00
Adolfo Gómez García
a058b61276 More linting (a lot more :) ) 2023-04-15 16:33:53 +02:00
Adolfo Gómez García
ed90cd3995 Merge remote-tracking branch 'origin/v3.6' 2023-04-15 13:52:38 +02:00
Adolfo Gómez García
c7e1f36cb3 added exception logging on getTransportData and forced TLS to 1.3 on UDS tunnel 2023-04-15 13:52:18 +02:00
Adolfo Gómez García
0de85a8f19 more linting 2023-04-15 05:34:48 +02:00
Adolfo Gómez García
025375e2fe More linting fixes 2023-04-15 05:33:01 +02:00
Adolfo Gómez García
54efa40eef Refactoring using pylint 2023-04-15 03:23:17 +02:00
Adolfo Gómez García
8c0f3b68ed added pylintrc file 2023-04-15 02:12:41 +02:00
Adolfo Gómez García
8eba5127ae one deprecation fixed 2023-04-15 02:03:46 +02:00
Adolfo Gómez García
da7a5e22e3 Started adding support for "local files" logs to be also stored on DB 2023-04-15 00:24:26 +02:00
Adolfo Gómez García
6db9b4d75d added some more log in case of error receiving transport data and bumped minimun version for uds tunnel to TLSv1.3 2023-04-15 00:21:35 +02:00
Adolfo Gómez García
a8b30bcc14 added security file 2023-04-15 00:00:56 +02:00
Adolfo Gómez
a02175c2e3 Update README.md 2023-04-14 23:59:01 +02:00
Adolfo Gómez
92e41c3d6e Update README.md 2023-04-13 16:44:59 +02:00
Adolfo Gómez
e149c367f0 Update README.md 2023-04-13 15:03:12 +02:00
Adolfo Gómez García
6b03d05ef5 removed empty TODO.txt 2023-04-13 14:41:03 +02:00
Adolfo Gómez García
f2cfaa2b40 fixed RDP signatures to be funtional 2023-04-13 13:32:33 +02:00
Adolfo Gómez García
7e03b63816 fixed spice tunnel 2023-04-13 13:31:38 +02:00
Adolfo Gómez García
f78053fc0c Fixed Tuneled Spice transport and resigned everything 2023-04-13 13:27:57 +02:00
Adolfo Gómez García
e15746b4a4 Fixed SPICE tunnel 2023-04-13 13:11:38 +02:00
Adolfo Gómez García
d55c0e9593 Merge remote-tracking branch 'origin/v3.6' 2023-04-10 18:07:32 +02:00
Adolfo Gómez García
14dd5aca64 fixed minor bugs on install and actor comms 2023-04-10 18:06:00 +02:00
Adolfo Gómez García
7bf4859399 Minor security enhacements (moved some vars to settings' 2023-04-10 13:51:48 +02:00
Adolfo Gómez García
db47235354 Merge remote-tracking branch 'origin/v3.6' 2023-04-07 01:51:53 +02:00
Adolfo Gómez García
846f9225f1 Moved all requests calls through secureRequestsSession call 2023-04-07 01:45:53 +02:00
Adolfo Gómez García
71638a13a4 small merge fix for sms mfa 2023-04-07 01:11:30 +02:00
Adolfo Gómez García
b0bd76d5df Merge remote-tracking branch 'origin/v3.6' 2023-04-07 01:09:12 +02:00
Adolfo Gómez García
09c44ac0b6 adding secure context to requests (so we can manipulate ssl context better and centralized) 2023-04-07 01:08:48 +02:00
Adolfo Gómez García
c9133afcbb Merge remote-tracking branch 'origin/v3.6' 2023-04-06 17:29:13 +02:00
Adolfo Gómez García
9db8e8d7ec refix 2023-04-06 17:29:04 +02:00
Adolfo Gómez García
09473d627a Merge remote-tracking branch 'origin/v3.6' 2023-04-06 17:21:07 +02:00
Adolfo Gómez García
15bc3a0b6f Small improvements to security utils module 2023-04-06 17:18:42 +02:00
Adolfo Gómez García
831db0acf3 Refactoring uds.core, removing nonsense imports that creates circular dependencies problems 2023-04-05 14:44:41 +02:00
Adolfo Gómez García
79b350486a merge fix 2023-04-04 18:57:07 +02:00
Adolfo Gómez García
139cb1f02f Merge remote-tracking branch 'origin/v3.6' 2023-04-04 18:55:48 +02:00
Adolfo Gómez García
321255a1b0 Changed redirection from redirect to permanent redirect on HTTP use 2023-04-04 18:55:05 +02:00
Adolfo Gómez García
f31b707fdc Merge remote-tracking branch 'origin/v3.6' 2023-04-04 14:44:21 +02:00
Adolfo Gómez García
59d578f292 Addoed some logs to UDS operations and fixed udsactor ssl verification 2023-04-04 14:43:28 +02:00
Adolfo Gómez García
4bf268764f Merge remote-tracking branch 'origin/v3.6' 2023-04-04 01:55:10 +02:00
Adolfo Gómez García
ea343659ff Small ldaputil fix (moved newctx to last ssl instruction before connect) 2023-04-04 01:51:46 +02:00
Adolfo Gómez García
636b72a471 Small fix to requests sessions context creation 2023-04-03 22:53:32 +02:00
Adolfo Gómez García
31104c3fc2 Fixed actor client minimum version and ciphers 2023-04-03 22:46:59 +02:00
Adolfo Gómez García
9d9a764a81 Fixed Actor Server Ciphers 2023-04-03 22:43:46 +02:00
Adolfo Gómez García
e2f62ed18e adaptions derived from merge 2023-04-03 15:45:32 +02:00
Adolfo Gómez García
a475addade Merge remote-tracking branch 'origin/v3.6' 2023-04-03 15:45:18 +02:00
Adolfo Gómez García
8aa04c6a9c Several security improvements:
* Reduced supported actor lists ciphers to only one (AES256-GCM)
* Removed actor client support for protocols previous to 1.3.
   Only user cipher ECDHE-RSA-AES256-GCM-SHA384
2023-04-03 15:35:38 +02:00
Adolfo Gómez García
1380cbde3e added sequre requests to actors 2023-04-03 15:13:42 +02:00
Adolfo Gómez García
0ac4fe60a8 Refactoring cert to security 2023-04-03 14:38:23 +02:00
Adolfo Gómez García
d6244c814e Merge remote-tracking branch 'origin/v3.6' 2023-04-03 14:04:50 +02:00
Adolfo Gómez García
9d5e983847 removed support for tls1.0&tls1.1 for ldap client on UDS, backported from 4.0 2023-04-03 14:04:35 +02:00
Adolfo Gómez García
f4d0603cdb Merge remote-tracking branch 'origin/v3.6' 2023-04-02 04:34:04 +02:00
Adolfo Gómez García
c11ea77f22 Small type check fix 2023-04-02 04:32:53 +02:00
Adolfo Gómez García
f8e9c99736 Merge remote-tracking branch 'origin/v3.6' 2023-04-02 04:25:56 +02:00
Adolfo Gómez García
6cbb497902 Minor fixes (type related and comments) 2023-04-01 13:29:28 +02:00
Adolfo Gómez García
c3456696ad Merge remote-tracking branch 'origin/v3.6' 2023-03-31 16:31:19 +02:00
Adolfo Gómez García
8fc9495d5e removed support for TLS1.0 and TLS1.1 2023-03-31 16:31:02 +02:00
Adolfo Gómez García
a19629bd0e Merge remote-tracking branch 'origin/v3.6' 2023-03-31 16:22:47 +02:00
Adolfo Gómez García
d43167707c Removed TLS1.0 & TLS1.1 support 2023-03-31 16:22:02 +02:00
Adolfo Gómez García
3fc86482dc Some minor typing fixes 2023-03-31 15:41:59 +02:00
Adolfo Gómez García
6256fc3d54 Several fixes related to possible security issues complains of bandit 2023-03-31 13:12:34 +02:00
Adolfo Gómez García
297d5196b8 Merge remote-tracking branch 'origin/v3.6' 2023-03-30 16:02:12 +02:00
Adolfo Gómez García
7eaf0c8126 updated tranlations 2023-03-30 16:00:16 +02:00
Adolfo Gómez García
3ba4ed5f7d Merge remote-tracking branch 'origin/v3.6' 2023-03-30 15:31:15 +02:00
Adolfo Gómez García
e9e8555f51 Merge remote-tracking branch 'origin/v3.6' 2023-03-30 15:16:53 +02:00
Adolfo Gómez García
1c6d29b361 Merge remote-tracking branch 'origin/v3.6' 2023-03-30 15:15:38 +02:00
Adolfo Gómez García
df0e1bde96 added Email "justUsername" and now redirects to https is by default True, as a previos step forward removing Service 2023-03-30 15:15:06 +02:00
Adolfo Gómez García
14a8f1f5e1 fixed return button of error page 2023-03-29 16:18:40 +02:00
Adolfo Gómez García
8f132e7524 fixing up SMS mfa and related 2023-03-29 16:11:01 +02:00
Adolfo Gómez García
8b12218f09 fixed SAML logout process 2023-03-29 15:44:54 +02:00
Adolfo Gómez García
ab7b4c78ef Fixed SMS auth 2023-03-29 14:22:17 +02:00
Adolfo Gómez García
8eef064bf2 upgraded caching decorator 2023-03-29 05:22:35 +02:00
Adolfo Gómez García
276f634035 Merge remote-tracking branch 'origin/v3.6' 2023-03-29 01:37:24 +02:00
Adolfo Gómez García
f5af2b12d2 Improved counter mechanics 2023-03-29 01:37:12 +02:00
Adolfo Gómez García
1d0a3927a9 Merge remote-tracking branch 'origin/v3.6' 2023-03-29 00:04:57 +02:00
Adolfo Gómez García
f11da32f0d backported fixes for uds tunnel (timeout, stats accounting and stop mechanics) 2023-03-29 00:04:45 +02:00
Adolfo Gómez García
8e39ff5c81 some minor fixes to uds tunnel 2023-03-29 00:04:03 +02:00
Adolfo Gómez García
bb0c4e3fe7 Merge remote-tracking branch 'origin/v3.6' 2023-03-28 23:16:29 +02:00
Adolfo Gómez García
55b8763f72 updated testing sample keys 2023-03-28 23:15:53 +02:00
Adolfo Gómez García
e48237f6d4 upgrading samples 2023-03-28 22:57:55 +02:00
Adolfo Gómez García
5694420f89 small comment fix to tickets 2023-03-28 17:53:43 +02:00
Adolfo Gómez García
01fb43d51b merged SAML changes from 3.6 2023-03-28 01:32:08 +02:00
Adolfo Gómez García
1b7921b5f8 Merge remote-tracking branch 'origin/v3.6' 2023-03-27 16:57:25 +02:00
Adolfo Gómez García
e1a7096d1f small test 2023-03-27 14:25:40 +02:00
Adolfo Gómez García
76f7b36508 Removed duplicated default dipher on uds actor server part 2023-03-27 14:18:35 +02:00
Adolfo Gómez García
254bbc444c Fixed height of options on admin dashboard 2023-03-25 20:54:14 +01:00
Adolfo Gómez García
dcebdfbeda small typo fix on MFAs 2023-03-25 20:46:37 +01:00
Adolfo Gómez García
d654d4f36b fixed mfas typo 2023-03-25 17:50:36 +01:00
Adolfo Gómez García
2269f8c770 mergin 2023-03-25 17:50:10 +01:00
Adolfo Gómez García
6f4d84a08e added csrftoken from cookie 2023-03-25 17:45:10 +01:00
Adolfo Gómez García
2ce2817eac some minor corrections 2023-03-25 13:50:27 +01:00
Adolfo Gómez García
62e27da7da Merge remote-tracking branch 'origin/v3.6' 2023-03-25 13:45:02 +01:00
Adolfo Gómez García
b983d5d409 More typing fixes 2023-03-25 13:43:54 +01:00
Adolfo Gómez García
ec9811dc34 Merge remote-tracking branch 'origin/v3.6' 2023-03-25 13:21:01 +01:00
Adolfo Gómez García
562e9201c8 Added typing correction on 3.6 version 2023-03-25 13:19:28 +01:00
Adolfo Gómez García
f02a8b8720 Added extra security
Sessions, if enhaced_security is active, is cheched against the request IP.
2023-03-25 01:06:40 +01:00
Adolfo Gómez García
7f8e06a090 merged saml changes 2023-03-24 15:37:12 +01:00
Adolfo Gómez García
895ca38595 merged from 3.6 2023-03-24 15:26:11 +01:00
Adolfo Gómez García
a09452fe49 Fixes from merges and recompiled admin and user interfaces 2023-03-24 15:23:18 +01:00
Adolfo Gómez García
e2814f2674 small text fix 2023-03-24 15:05:14 +01:00
Adolfo Gómez García
ef9a0ce0b2 Added time limit for pool removal 2023-03-24 15:01:00 +01:00
Adolfo Gómez García
77bc47671e Added support for checking certificate is from private key 2023-03-23 01:51:51 +01:00
Adolfo Gómez García
0ff33edc6b Small fixes for auth redirects 2023-03-23 01:41:40 +01:00
Adolfo Gómez García
7415dcbdb0 Merge remote-tracking branch 'origin/v3.6' 2023-03-22 03:07:32 +01:00
Adolfo Gómez García
f7886abfbc fixed simpleldap mfa support 2023-03-22 02:47:17 +01:00
Adolfo Gómez García
5c9dd741d3 Added certificate check support for all ldap based auths 2023-03-22 02:33:27 +01:00
Adolfo Gómez García
0ba381dbc4 small addong to certs 2023-03-21 16:39:59 +01:00
Adolfo Gómez García
13d62a6318 Merge remote-tracking branch 'origin/v3.6' 2023-03-21 16:27:08 +01:00
Adolfo Gómez García
8abe2ad31b Fixed ssh help strings 2023-03-21 15:02:21 +01:00
Adolfo Gómez García
f82126153a A bit of config refactoring and some merge fixes 2023-03-20 15:46:20 +01:00
Adolfo Gómez García
6754c02a3d Reversed change. Positive number is fine 2023-03-18 14:07:52 +01:00
Adolfo Gómez García
58446a992c Fixed minValue 2023-03-17 15:32:59 +01:00
Adolfo Gómez García
4386c5567a fixed Client to correctly handle versions upgrades 2023-03-17 14:09:08 +01:00
Adolfo Gómez García
e1c0ee8033 Merge remote-tracking branch 'origin/v3.6' 2023-03-16 16:26:17 +01:00
Adolfo Gómez García
5da71a4f6e added upload/download to ssh 2023-03-16 16:24:09 +01:00
Adolfo Gómez García
6bb4c3bd5e Added Support for SSH through HTML5 2023-03-16 15:18:20 +01:00
Adolfo Gómez García
460b0fe2ba Merge remote-tracking branch 'origin/v3.6' 2023-03-15 04:12:34 +01:00
Adolfo Gómez García
b9a01e686f updated translations 2023-03-15 04:11:43 +01:00
Adolfo Gómez García
011223ec05 upgraded admin interface 2023-03-14 13:15:43 +01:00
Adolfo Gómez García
e4445f0278 Merge remote-tracking branch 'origin/v3.6' 2023-03-13 18:06:13 +01:00
Adolfo Gómez García
e1ff1207b6 fixed auth REST label re 2023-03-13 18:06:03 +01:00
Adolfo Gómez García
a12aa1f3d4 fixed auth label re 2023-03-13 18:05:18 +01:00
Adolfo Gómez García
8ca5f611d2 Merge remote-tracking branch 'origin/v3.6' 2023-03-13 18:01:15 +01:00
Adolfo Gómez García
666b982c50 fixed authenticator label not allowing dot in name 2023-03-13 18:00:47 +01:00
Adolfo Gómez García
52dca21c8c trainling spaces removed 2023-03-12 04:26:41 +01:00
Adolfo Gómez García
cf1048afcb Now Ciphers can be pushed by uds server to UDS Actor, so we can addapt Actor ciphers without reinstalling if needed 2023-03-08 21:48:48 +01:00
Adolfo Gómez García
95527c6682 cosmetic 2023-03-08 21:14:42 +01:00
Adolfo Gómez García
2c928fc210 Merge remote-tracking branch 'origin/v3.6' 2023-03-08 20:15:46 +01:00
Adolfo Gómez García
7985f44389 HTTPS UDS Actor server supports only TLSv1.3, and upgraded certificate key length to 4096 bits 2023-03-08 15:47:38 +01:00
Adolfo Gómez García
4517b781cf now onwards uds client 3.5 will not be compatible with UDS 2023-03-08 14:24:10 +01:00
Adolfo Gómez García
9de5387fd6 Make verify certificate default on dropdown 2023-03-08 11:02:09 +01:00
Adolfo Gómez García
abf328c564 Merge remote-tracking branch 'origin/v3.6' 2023-03-08 10:10:58 +01:00
Adolfo Gómez García
304f5dd686 Removed old UDS client versions support. Nonsense 2023-03-08 10:06:30 +01:00
Adolfo Gómez García
d6821e4385 Merge remote-tracking branch 'origin/v3.6' 2023-03-08 02:10:44 +01:00
Adolfo Gómez García
2699c090f8 added certificate verify to ldaps 2023-03-08 02:10:14 +01:00
Adolfo Gómez García
ac6b813481 Merge remote-tracking branch 'origin/v3.6' 2023-03-08 01:20:17 +01:00
Adolfo Gómez García
43e1353154 added ssl verify support to ldaps 2023-03-08 01:18:34 +01:00
Adolfo Gómez García
58877d8844 Merge remote-tracking branch 'origin/v3.6' 2023-03-03 15:46:34 +01:00
Adolfo Gómez García
ba5be7e2fb Fixed check time for openstack 2023-03-03 15:43:31 +01:00
Adolfo Gómez García
a36290fbcd Adding some minor changes to SAML 2023-03-02 19:40:30 +01:00
Adolfo Gómez García
3f49cdcb2d Merge remote-tracking branch 'origin/v3.6' 2023-03-01 16:10:02 +01:00
Adolfo Gómez García
62a401f9b4 fixed translations 2023-03-01 16:09:13 +01:00
Adolfo Gómez García
6d449ce291 Merge remote-tracking branch 'origin/v3.6' 2023-03-01 14:50:19 +01:00
Adolfo Gómez García
ddc9d5a434 Added Translations and message edition to Email MFA 2023-03-01 14:46:30 +01:00
Adolfo Gómez García
485048abf1 Fixed merge 2023-02-28 14:10:39 +01:00
Adolfo Gómez García
0e9b6e3cf3 erge remote-tracking branch 'origin/v3.6' 2023-02-28 14:07:57 +01:00
Adolfo Gómez García
8f2b9bf136 Fixed MFAs 2023-02-28 14:00:55 +01:00
Adolfo Gómez García
e4a1d0ab29 Merge remote-tracking branch 'origin/v3.6' 2023-02-28 13:28:18 +01:00
Adolfo Gómez García
f4d15e0fca Fixed MFA cache time. 2023-02-28 13:27:56 +01:00
Adolfo Gómez García
4a805f74b0 Merge remote-tracking branch 'origin/v3.6' 2023-02-26 23:19:30 +01:00
Adolfo Gómez García
002321c339 fixed openstack, for working with compute_legacy 2023-02-26 21:44:13 +01:00
Adolfo Gómez García
bcdbfa67d7 small fix for pylance complain 2023-02-26 21:27:07 +01:00
Adolfo Gómez García
e8022389fb Updated translations 2023-02-26 21:21:08 +01:00
Adolfo Gómez García
7c47dd9122 Merge remote-tracking branch 'origin/v3.6' 2023-02-24 14:59:47 +01:00
Adolfo Gómez García
12c59f66e2 Simplified TOTP MFA 2023-02-24 14:57:52 +01:00
Adolfo Gómez García
21a14fc249 Merge remote-tracking branch 'origin/v3.6' 2023-02-24 14:52:45 +01:00
Adolfo Gómez García
2541642160 Small string fixes 2023-02-24 14:51:13 +01:00
Adolfo Gómez García
56d7619e9f TOPT time is got from DBSERVER 2023-02-24 14:40:07 +01:00
Adolfo Gómez García
e018ea5143 Merge remote-tracking branch 'origin/v3.6' 2023-02-24 14:29:51 +01:00
Adolfo Gómez García
a7ae7d3771 Several Minor MFA fixes 2023-02-24 14:25:59 +01:00
Adolfo Gómez García
f541fd6a0f Merge remote-tracking branch 'origin/v3.6' 2023-02-23 22:03:16 +01:00
Adolfo Gómez García
e47e0ee69f Updated translations 2023-02-23 21:59:29 +01:00
Adolfo Gómez García
2ac625a511 updated admin interface 2023-02-23 21:56:55 +01:00
Adolfo Gómez García
d6fd263e9e Merge remote-tracking branch 'origin/v3.6' 2023-02-23 21:56:25 +01:00
Adolfo Gómez García
9d6a74faa3 updated admin interface 2023-02-23 21:54:56 +01:00
Adolfo Gómez García
92cd48e512 Merge remote-tracking branch 'origin/v3.6' 2023-02-23 21:42:42 +01:00
Adolfo Gómez García
56ab199856 Fixed translations 2023-02-23 21:39:35 +01:00
Adolfo Gómez García
9be108dbd5 added reset related data to user, to clean up mfa data for example 2023-02-23 19:37:24 +01:00
Adolfo Gómez García
664231f369 Merged Google Auth TOTP 2023-02-23 17:02:13 +01:00
Adolfo Gómez García
5bf481dc4e Merge remote-tracking branch 'origin/v3.6' 2023-02-23 16:57:08 +01:00
Adolfo Gómez García
165bd89829 Fixed parameters order for coherence 2023-02-23 16:56:42 +01:00
Adolfo Gómez García
6c96da59a7 fixes 2023-02-23 16:52:55 +01:00
Adolfo Gómez García
7e84d183ca Merge remote-tracking branch 'origin/v3.6' 2023-02-23 16:48:54 +01:00
Adolfo Gómez García
f9f665d134 fixes for MFA 2023-02-23 16:48:51 +01:00
Adolfo Gómez García
52096b1eff Added Google Auth MFA 2023-02-23 16:44:47 +01:00
Adolfo Gómez García
ac49786492 Fixed "resetData" whe user is deleted from db, so mfa storage can be freed 2023-02-23 15:10:04 +01:00
Adolfo Gómez García
8820531e9f Merge remote-tracking branch 'origin/v3.6' 2023-02-23 03:27:19 +01:00
Adolfo Gómez García
28bff050c6 updated user_interface validate to errors 2023-02-23 03:27:10 +01:00
Adolfo Gómez García
b14581c522 Added reseting tries to mfa 2023-02-23 03:25:42 +01:00
Adolfo Gómez García
4e00e66611 Merge remote-tracking branch 'origin/v3.6' 2023-02-23 03:17:48 +01:00
Adolfo Gómez García
98954b5e3b Minor format fixes 2023-02-23 03:01:32 +01:00
Adolfo Gómez García
762c0e5392 Some minor MFA fixes 2023-02-23 02:57:37 +01:00
Adolfo Gómez García
0aaa734030 Fixed MFA stuff 2023-02-22 15:15:31 +01:00
Adolfo Gómez García
2edbad3548 Merge remote-tracking branch 'origin/v3.6' 2023-02-21 17:18:08 +01:00
Adolfo Gómez García
2d48320ac8 Small typing fix for openstack_client 2023-02-21 17:17:45 +01:00
Adolfo Gómez García
c58aa9596c Merge remote-tracking branch 'origin/v3.6' 2023-02-20 18:21:49 +01:00
Adolfo Gómez García
9192a0a822 small auth rest fix 2023-02-20 18:21:07 +01:00
Adolfo Gómez García
468cdb5497 Fixed non required fields and readded "_request" to params for classes 2023-02-20 17:56:10 +01:00
Adolfo Gómez García
5907985719 Removed support of tunnel for proxied SPICE connection (not supported) 2023-02-15 16:58:10 +01:00
Adolfo Gómez García
bb507959b9 Some more minor refactoring 2023-02-14 16:04:05 +01:00
Adolfo Gómez García
22116aba27 Refactoring some transports, better code 2023-02-14 15:52:18 +01:00
Adolfo Gómez García
6165d2db15 Reafactorization and fixes
Refactorized some exceptions names
Fixed Spice Protocol
Added "getConsoleConnection" as optional UserDeployment method
2023-02-14 15:09:20 +01:00
Adolfo Gómez García
2961469244 Merge remote-tracking branch 'origin/v3.6' 2023-02-14 14:48:27 +01:00
Adolfo Gómez García
a5192b8dbe Upgrading Proxmox for SPICE & S
PICE TRANSPORT
2023-02-14 14:48:17 +01:00
Adolfo Gómez García
cf0f6a0cce Spice cleans 2023-02-14 14:46:26 +01:00
Adolfo Gómez García
c8df5de095 Fixed spice upgrades 2023-02-14 14:41:56 +01:00
Adolfo Gómez García
bf21aad72f Merge remote-tracking branch 'origin/v3.6' 2023-02-14 14:30:19 +01:00
Adolfo Gómez García
d2d13d1089 Added support for service provided ca and spice proxy overriding 2023-02-14 14:30:04 +01:00
Adolfo Gómez García
e5e204fca0 spice support for proxy overriding 2023-02-14 14:25:54 +01:00
Adolfo Gómez García
a07f76f540 Added new options to coverage.ini to exclude some files from coverage report. 2023-02-13 17:47:49 +01:00
Adolfo Gómez García
881abecfc2 Refactorized REST exceptions 2023-02-13 17:35:29 +01:00
Adolfo Gómez García
fd73722abd Validation check on UserInterface 2023-02-13 17:09:01 +01:00
Adolfo Gómez García
22b624e3b8 Inserting validator to TextField on UserInterface 2023-02-13 17:03:13 +01:00
Adolfo Gómez García
da823d2e6c Refactoring UDS Exceptions 2023-02-13 16:35:35 +01:00
Adolfo Gómez García
4385fdf358 Merge remote-tracking branch 'origin/v3.6' 2023-02-10 14:09:54 +01:00
Adolfo Gómez García
978c39edd1 Fixed spice for ProxMox 2023-02-10 14:06:15 +01:00
Adolfo Gómez García
b4b04f801c Reports fixes (due to UserInterface defvalues "error" on dates) and added fastCrypt tests 2023-02-08 15:23:02 +01:00
Adolfo Gómez García
b8b6ede6f7 Merge remote-tracking branch 'origin/v3.6' 2023-02-07 18:48:21 +01:00
Adolfo Gómez García
fe91fa635b Better solution for default changing values 2023-02-07 18:47:55 +01:00
Adolfo Gómez García
dc57b87d42 Merged 3.6 changes 2023-02-07 18:33:24 +01:00
Adolfo Gómez García
39cba62009 Merge remote-tracking branch 'origin/v3.6' 2023-02-07 18:27:00 +01:00
Adolfo Gómez García
a75bc4a4b5 fixed reports dates 2023-02-07 18:25:55 +01:00
Adolfo Gómez García
44ff00025f Merge remote-tracking branch 'origin/v3.6' 2023-02-07 16:43:22 +01:00
Adolfo Gómez García
8aa94fd0c5 updated translations 2023-02-07 16:42:58 +01:00
Adolfo Gómez García
0db41e1a14 added spicde to proxmox 2023-02-07 16:37:26 +01:00
Adolfo Gómez García
659d6167c8 small cache fix 2023-02-06 16:15:54 +01:00
Adolfo Gómez García
d1645b5bbb Several changes:
* Fixed Tests for middleware, that has been moved to "uds" package
* Refactorized incorrect "unserialize" name to "deserialize" correct one
* Adding secure serializer based on pickle (basically encripting the data
  with a secret key)
* Removed oldSerializeForm from UserInterface, and left it just for tests...
2023-02-06 16:08:04 +01:00
Adolfo Gómez García
7d19b21638 Small fixed fix && refactorized a couple of samples 2023-02-06 02:39:33 +01:00
Adolfo Gómez García
b1cf1c405f Moved middleware to "uds", better place 2023-02-03 14:49:23 +01:00
Adolfo Gómez García
f71659b5a6 Added meta pool recursion save restiction and some more tests 2023-02-02 17:49:49 +01:00
Adolfo Gómez García
5b5beb30d6 Merge remote-tracking branch 'origin/v3.6' 2023-02-02 12:36:36 +01:00
Adolfo Gómez García
8cafc6d797 small guacamole dispatcher fix. Backported to 3.6 2023-02-02 12:35:57 +01:00
Adolfo Gómez García
4f12602db3 small guacamole dispatcher fix. Backported to 3.6 2023-02-02 12:35:37 +01:00
Adolfo Gómez García
02877f9095 Adding more tests 2023-02-01 18:30:20 +01:00
Adolfo Gómez García
e571f2ac58 Fixed PR from Future998 2023-01-31 14:46:06 +01:00
Adolfo Gómez García
1801feec6c Merge remote-tracking branch 'origin/v3.6' 2023-01-31 14:18:40 +01:00
Adolfo Gómez García
1fbc4b9bfd Fixed & updated patch from @Future998 2023-01-31 14:18:27 +01:00
Adolfo Gómez García
ab1609ab49 Merge remote-tracking branch 'origin/v3.6' 2023-01-31 14:06:24 +01:00
Adolfo Gómez García
d8fce3bb73 Backported pr from @Future998 to enable OpenNebula Spice support. Fix from merge. 2023-01-31 14:04:57 +01:00
Adolfo Gómez García
fb7fcd953e Merge remote-tracking branch 'origin/v3.6' 2023-01-31 13:50:59 +01:00
Adolfo Gómez García
e94b558ae9 Backported pr from @Future998 to enable OpenNebula Spice support 2023-01-31 13:47:21 +01:00
Adolfo Gómez García
ad4ead570b Merge remote-tracking branch 'origin/v3.6' 2023-01-31 13:38:05 +01:00
Adolfo Gómez
e218b2432d Merge pull request #73 from Future998/spice-tls
Add checkbox to enable SSL connection for SPICE
2023-01-31 13:37:03 +01:00
Adolfo Gómez García
990a5335d6 Adding more automated tests 2023-01-27 17:02:35 +01:00
Alexander Burmatov
01e776edfb Add checkbox to enable SSL connection for SPICE
If in OpenNebula not enabled TLS for SPICE protocol, when
cannot connect to OpenNebula with generated virt-viewer connection
config file, because "secure-channel" options successfully work
over TLS only.
This changes allow enable or disable TLS on UDS site.
2023-01-27 18:39:44 +03:00
Adolfo Gómez García
58c4c4e68f Fixed date field in the system cleaner log 2023-01-26 12:21:11 +01:00
Adolfo Gómez García
aca3073eea Added basic service data "composer" for user services, normal pools and meta pools 2023-01-25 13:16:50 +01:00
Adolfo Gómez García
597d72a609 adding more tests 2023-01-19 20:09:22 +01:00
Adolfo Gómez García
5b5de7ce90 fixed actor_v3 merge errors 2023-01-19 18:17:53 +01:00
Adolfo Gómez García
44be2f4df5 Merge remote-tracking branch 'origin/v3.6' 2023-01-19 13:59:44 +01:00
Adolfo Gómez García
5f8854335e fixed proxy detection && tests 2023-01-19 13:59:32 +01:00
Adolfo Gómez García
82234ff0dd fixed proxy detection && tests 2023-01-19 13:59:24 +01:00
Adolfo Gómez García
4a31d3a698 Merge remote-tracking branch 'origin/v3.6' 2023-01-18 23:56:15 +01:00
Adolfo Gómez García
f2f7edbd67 Fixed IP detection 2023-01-18 23:53:52 +01:00
Adolfo Gómez García
384fa0b4c0 added request ip detection 2023-01-18 23:53:18 +01:00
Adolfo Gómez García
bf5a0069b8 Fixed permissions visualization related issue 2023-01-17 13:10:27 +01:00
Adolfo Gómez García
db1d0e2640 Merge remote-tracking branch 'origin/v3.6' 2023-01-17 12:56:47 +01:00
Adolfo Gómez García
56cf0049db Merge remote-tracking branch 'origin/v3.5' into v3.6 2023-01-17 12:54:04 +01:00
Adolfo Gómez García
9478a86b02 Ignored "errored" machines on vm list 2023-01-17 12:53:25 +01:00
Adolfo Gómez García
d9d6d7e7c8 Merge remote-tracking branch 'origin/v3.6' 2023-01-17 12:38:43 +01:00
Adolfo Gómez García
e15ba650f9 limited ip size length 2023-01-17 12:37:31 +01:00
Adolfo Gómez García
86e8c759ec limited src ip and hostname size 2023-01-17 12:35:41 +01:00
Adolfo Gómez García
019523131d Upgraded interfaces 2023-01-16 19:25:45 +01:00
Adolfo Gómez García
dc4ecc5940 manually merged 2023-01-16 12:30:55 +01:00
Adolfo Gómez García
688c0e7630 Merge remote-tracking branch 'origin/v3.6' 2023-01-16 12:28:07 +01:00
Adolfo Gómez García
ed692c3d27 imported new fronted fixes && comments 2023-01-16 12:27:27 +01:00
Adolfo Gómez García
48cd8240e9 fixed field name error on auth beforeSave 2023-01-16 12:26:47 +01:00
Adolfo Gómez García
de03b67085 upgraded admin and user interfaces 2023-01-15 21:53:22 +01:00
Adolfo Gómez García
ec0a7d78c0 Merge branch 'master' of github.com:dkmstr/openuds 2023-01-15 21:24:56 +01:00
Adolfo Gómez García
5fb8130baa fixed put incorrectly reporting 500 on bad requests 2023-01-15 21:24:48 +01:00
Adolfo Gómez
426ac7048c small license fix 2023-01-13 12:36:01 +01:00
Adolfo Gómez García
01144fe9ba Merge remote-tracking branch 'origin/v3.6' 2023-01-11 14:52:11 +01:00
Adolfo Gómez García
75005399aa extended actor_v3 log in case of blocking uds actor accesses 2023-01-11 14:51:56 +01:00
Adolfo Gómez García
b06c804bfc imcorpored angular 15 gui 2023-01-11 13:33:17 +01:00
Adolfo Gómez García
7c1b4ab61e Fixed comands type checking and added a few samples to sample provider 2023-01-11 13:28:15 +01:00
Adolfo Gómez García
018ba4a3f8 fixed image saving 2023-01-11 12:39:31 +01:00
Adolfo Gómez García
e532780a6e upgraded frontend to angular 15 with material 15 2023-01-11 03:02:06 +01:00
Adolfo Gómez García
6bd6944c62 Merge remote-tracking branch 'origin/v3.6' 2023-01-09 14:27:35 +01:00
Adolfo Gómez García
cfc81004bc Fixed time reporting on syslog 2023-01-09 14:27:28 +01:00
Adolfo Gómez García
da02ad0c7c Backport fix time reporting of connection fix 2023-01-09 14:27:15 +01:00
Adolfo Gómez García
0eb86db282 Merge remote-tracking branch 'origin/v3.6' 2023-01-05 23:48:51 +01:00
Adolfo Gómez García
0a15f7bdce backported 4.0 version 2023-01-05 23:48:36 +01:00
Adolfo Gómez García
ba5f9120dc Split tunnel into "receiver" and "client" part 2023-01-05 23:47:32 +01:00
Adolfo Gómez García
7a41cc3d4d Merge remote-tracking branch 'origin/v3.6' 2023-01-05 18:17:13 +01:00
Adolfo Gómez García
2189267358 backported tunnel improvements 2023-01-05 18:17:04 +01:00
Adolfo Gómez García
beac5caa09 some minor improvements 2023-01-05 18:16:30 +01:00
Adolfo Gómez García
99f52844ac small tunnel fix 2023-01-05 17:20:12 +01:00
Adolfo Gómez García
efd132bd39 Merge remote-tracking branch 'origin/v3.6' 2023-01-04 23:48:18 +01:00
Adolfo Gómez García
1a9517675d some fixes backported from 4.0 2023-01-04 23:48:08 +01:00
Adolfo Gómez García
9767873cbc Fixed redirect testing method, and some minor changes to cache and storage 2023-01-04 23:46:50 +01:00
Adolfo Gómez García
852ae43b96 Fixed tunnel log on tunnel termination 2023-01-04 23:33:26 +01:00
Adolfo Gómez García
4a8a13fe73 fixed requirements.txt 2022-12-27 14:30:45 +01:00
Adolfo Gómez García
50bed7268a fixed SAML not reading friendlyName 2022-12-23 16:44:49 +01:00
Adolfo Gómez García
d76759bb2c Merge remote-tracking branch 'origin/v3.6' 2022-12-22 15:25:54 +01:00
Adolfo Gómez García
f91aeb3ffd final fixes for uds tunnel 2022-12-22 15:25:45 +01:00
Adolfo Gómez García
aa97309db9 backported final fixes 2022-12-22 15:24:28 +01:00
Adolfo Gómez García
3e947e1d82 backported final fixes 2022-12-22 15:16:01 +01:00
Adolfo Gómez García
796d000f8e fixed tunnel test 2022-12-21 21:13:54 +01:00
Adolfo Gómez García
19709bfe3b some fix for concurrent tests 2022-12-21 21:06:42 +01:00
Adolfo Gómez García
dcedb268dd backport udstunnel fix 2022-12-21 21:05:46 +01:00
Adolfo Gómez García
645f61c8e6 backport from 4.0 tunnel server 2022-12-21 20:40:38 +01:00
Adolfo Gómez García
97c72ee7ac Merge remote-tracking branch 'origin/v3.6' 2022-12-21 14:29:35 +01:00
Adolfo Gómez García
c800e18f5b added tests using "fake http" broker, that will allow us to make some full-server concurrency tests 2022-12-21 14:29:25 +01:00
Adolfo Gómez García
d462ecbb32 backport small fixes from dev version 2022-12-21 14:28:54 +01:00
Adolfo Gómez García
5f60058858 Merge remote-tracking branch 'origin/v3.6' 2022-12-20 23:40:01 +01:00
Adolfo Gómez García
c1e4c5b81a fixed udstunnel connection stop event bein the same for all connections 2022-12-20 23:39:51 +01:00
Adolfo Gómez García
a387ec9757 Fixed wait event being same for all connections 2022-12-20 23:39:15 +01:00
Adolfo Gómez García
e1ffbcc54b Merge remote-tracking branch 'origin/v3.6' 2022-12-20 18:31:41 +01:00
Adolfo Gómez García
d707771fe5 small tunnel fixes 2022-12-20 18:31:25 +01:00
Adolfo Gómez García
472299f878 Small fixes and more tests. Refactoring. 2022-12-20 18:31:04 +01:00
Adolfo Gómez García
fdd8ac00c9 Small fixes and more tests. Refactoring. 2022-12-20 18:30:55 +01:00
Adolfo Gómez García
ab0626977b Merge remote-tracking branch 'origin/v3.6' 2022-12-20 15:04:44 +01:00
Adolfo Gómez García
544fb21a01 small tunnel fixes 2022-12-20 15:04:26 +01:00
Adolfo Gómez García
4da813e65f more Small tunnel fixes 2022-12-20 15:04:06 +01:00
Adolfo Gómez García
159aa3c6ec fixed uds tunnel args 2022-12-19 18:02:38 +01:00
Adolfo Gómez García
46c3ef337a fixed tunnel server args 2022-12-19 18:02:21 +01:00
Adolfo Gómez García
8cc17464c3 removed -r parameter 2022-12-19 14:26:29 +01:00
Adolfo Gómez García
ab5a4e36bc Merge remote-tracking branch 'origin/v3.6' 2022-12-19 14:25:32 +01:00
Adolfo Gómez García
52773afd2f removed -r from udstunnel 2022-12-19 14:25:22 +01:00
Adolfo Gómez García
adeb6b2a46 updates from 4.0 backported 2022-12-19 01:25:29 +01:00
Adolfo Gómez García
6fb89f2b47 fixed tunnel 2022-12-19 01:15:47 +01:00
Adolfo Gómez García
49dddbfce7 Added full tunnel test 2022-12-18 22:16:40 +01:00
Adolfo Gómez García
0f5f3df3f0 improved tunnel server and tunnel server tests 2022-12-18 03:42:19 +01:00
Adolfo Gómez García
370799912f Added test to udstunnel man async proc 2022-12-17 21:03:00 +01:00
Adolfo Gómez García
9f4159f18d adding full server tests 2022-12-17 14:32:18 +01:00
Adolfo Gómez García
63d51c530b Updating tests for tunnel 2022-12-17 00:45:21 +01:00
Adolfo Gómez García
081dfc9995 added basic structure for testing tunnel server and some tests 2022-12-16 17:57:57 +01:00
Adolfo Gómez García
406f32c2fa Merge remote-tracking branch 'origin/v3.6' 2022-12-16 12:52:34 +01:00
Adolfo Gómez García
b7962a24f1 updated translations 2022-12-16 12:52:21 +01:00
Adolfo Gómez García
0f79d45b23 Merge remote-tracking branch 'origin/v3.6' 2022-12-16 12:47:41 +01:00
Adolfo Gómez García
94cab0c204 fixed Enforced misspeling :) 2022-12-16 12:47:21 +01:00
Adolfo Gómez García
33ed68b2d0 minor refactor and fixed mock test 2022-12-14 23:34:56 +01:00
Adolfo Gómez García
651cb5802e Merge remote-tracking branch 'origin/v3.6' 2022-12-14 16:45:52 +01:00
Adolfo Gómez García
fa3e6cb5a2 backport of 4.0 improvements 2022-12-14 16:25:57 +01:00
Adolfo Gómez García
a1782aa626 improving tunnel server 2022-12-14 16:24:31 +01:00
Adolfo Gómez García
36fca66c9a Adding tests and improving tunnel server 2022-12-14 16:09:33 +01:00
Adolfo Gómez García
f12ce12155 Adding "getParam" helper to handler, and small ticket fixes 2022-12-14 14:13:07 +01:00
Adolfo Gómez García
5ffc0bda06 More refactoring using match (simplifies reading code) 2022-12-14 01:38:22 +01:00
Adolfo Gómez García
d7f2571c0c refactoring using "match" 2022-12-14 01:24:22 +01:00
Adolfo Gómez García
e0cce7f48c Fixed IP on case of ipv6 request to match ipv4
refactorized REST clienmt API
2022-12-13 18:45:39 +01:00
Adolfo Gómez García
5c8afb4d0d Adder utility "matcher" to understand better arguments on rest calls 2022-12-13 16:52:33 +01:00
Adolfo Gómez García
57d2c40947 More on permissions refactor 2022-12-13 15:44:09 +01:00
Adolfo Gómez García
c0c3e7af13 Merge remote-tracking branch 'origin/v3.6' 2022-12-13 15:04:08 +01:00
Adolfo Gómez García
2a9900d2eb Fixed empty label not being saved on re match enforcement :) 2022-12-13 15:03:29 +01:00
Adolfo Gómez García
483b3c6ce7 More refactorization of object type and permissions 2022-12-13 14:37:57 +01:00
Adolfo Gómez García
42d22bd6b7 Merge remote-tracking branch 'origin/v3.6' 2022-12-13 14:09:51 +01:00
Adolfo Gómez García
ccf75e7104 enforced label to be same as url pattern chars 2022-12-13 14:09:17 +01:00
Adolfo Gómez García
735aacaade Merge remote-tracking branch 'origin/v3.6' 2022-12-13 13:43:48 +01:00
Adolfo Gómez García
c208814dd0 fixed label and autenticator labels to replace spaces by underscores 2022-12-13 13:43:08 +01:00
Adolfo Gómez García
5122d7eafb Merge remote-tracking branch 'origin/v3.6' 2022-12-13 13:16:22 +01:00
Adolfo Gómez García
6081122311 Fixed meta pool transport priority 2022-12-13 13:15:57 +01:00
Adolfo Gómez García
3d421ac38c Fixed transport priority on meta pools 2022-12-13 13:13:45 +01:00
Adolfo Gómez García
84c7836e8c Refactirizing permissions and objtype 2022-12-13 12:48:40 +01:00
Adolfo Gómez García
e37a3cef2e Merge remote-tracking branch 'origin/v3.6' 2022-12-12 14:24:17 +01:00
Adolfo Gómez García
d22f606f49 Added calendars new colums with rules, pools with access and pools with rules 2022-12-12 14:23:55 +01:00
Adolfo Gómez García
97d34ed827 Refactorized "modern" view module to main
Removed saving "os" to session (not needed)
2022-12-11 19:57:01 +01:00
Adolfo Gómez García
2fed4a5df4 Refactorized os detection & related 2022-12-11 16:29:40 +01:00
Adolfo Gómez García
1335b1c1c7 Merge remote-tracking branch 'origin/v3.6' 2022-12-11 13:02:12 +01:00
Adolfo Gómez García
859f09aa0b Backport of 4.0 crypto manager
For enhacements on user password hashing
2022-12-11 13:01:53 +01:00
Adolfo Gómez García
a2dce46e38 Improved internal db user password storage with salt 2022-12-11 03:33:55 +01:00
Adolfo Gómez García
a1c46a884b Security enhacements for login failures delays 2022-12-11 02:53:07 +01:00
Adolfo Gómez García
ca2227490e Added new serization method to user interface
Now it's more flexible and secure. It's compatible reading old data
2022-12-11 00:30:10 +01:00
Adolfo Gómez García
0e94fae1bf Replaced user interface
User interface serialization methods has been improved to:
* Allow versioning
* Posibility of change default serializer
* Now serializes to "safe yaml" instead of pickle
2022-12-11 00:20:57 +01:00
Adolfo Gómez García
0fb6b2a02d Advancing on new form serialization 2022-12-10 22:34:09 +01:00
Adolfo Gómez García
b4504a2b46 Some minor bandit complains fixed 2022-12-10 22:07:31 +01:00
Adolfo Gómez García
4e863fd282 Merge remote-tracking branch 'origin/v3.6' 2022-12-10 21:52:51 +01:00
Adolfo Gómez García
dba2526ffb Backported 4.0 tunnel server 2022-12-10 21:45:07 +01:00
Adolfo Gómez García
f6e90d54fe Adding tunnel server tests and some minor fixes 2022-12-10 02:00:02 +01:00
Adolfo Gómez García
4d38b61abc Added tests for UDS middlewares 2022-12-09 02:58:17 +01:00
Adolfo Gómez García
e292e726d3 Async fixes
Async client for UDS tests included
refactorized UDS middelwares to be sync and async
2022-12-08 14:44:47 +01:00
Adolfo Gómez García
e325653019 refactoring middleware as sync_and_async 2022-12-08 06:03:36 +01:00
Adolfo Gómez García
2cc7cacb92 adding utility method to conver to lists 2022-12-08 05:38:49 +01:00
Adolfo Gómez García
6d9e683b20 Small fix 2022-12-07 21:41:02 +01:00
Adolfo Gómez García
b19bf1a6e0 Refectoring Tunnel server 2022-12-07 21:40:17 +01:00
Adolfo Gómez García
8ace6e946b Updated to use uvloop if possible, and some fixes 2022-12-07 21:14:30 +01:00
Adolfo Gómez García
ffe2e33fa0 added uvloop support 2022-12-07 20:08:27 +01:00
Adolfo Gómez García
a7f853925a Merge remote-tracking branch 'origin/v3.6' 2022-12-06 20:05:36 +01:00
Adolfo Gómez García
d17dae8bdd Changed to thread_time to better calc 2022-12-06 20:05:20 +01:00
Adolfo Gómez García
9af6b91ed0 Merge remote-tracking branch 'origin/v3.6' 2022-12-06 20:02:03 +01:00
Adolfo Gómez García
c6b9817749 changed timeit.default_counter for time.perf_counter_ns 2022-12-06 20:00:08 +01:00
Adolfo Gómez García
b036c4627e merged decorators 2022-12-06 19:19:25 +01:00
Adolfo Gómez García
b34f09e58e updated cache decorator & added stats 2022-12-06 16:30:45 +01:00
Adolfo Gómez García
a1fb0bead7 Fixed decorator merge 2022-12-06 09:59:16 +01:00
Adolfo Gómez García
053fcfd3e3 updated cache decorators 2022-12-06 09:43:33 +01:00
Adolfo Gómez García
6f9976b159 Merge remote-tracking branch 'origin/v3.6' 2022-12-01 02:09:35 +01:00
Adolfo Gómez García
36e3c7eea9 added sample to SMS MFA on comments 2022-12-01 02:09:22 +01:00
Adolfo Gómez García
9bdfe639ac Several fixes:
* Adding full support for IPv6
* Expanding fields to adapt to new possible ips
* Fixing migrations & audit list to adapt to new kind of ips
2022-11-30 19:58:26 +01:00
Adolfo Gómez García
e80bad1f0c Fixing up things for ipv6 support 2022-11-30 19:06:23 +01:00
Adolfo Gómez García
0a41db6b53 Added tests for ipv6 networks 2022-11-30 18:30:45 +01:00
Adolfo Gómez García
d1e4f4d222 Adding net model tests 2022-11-30 02:58:05 +01:00
Adolfo Gómez García
43a1aee28c reverted bookworm change, too early to use it already :) 2022-11-29 19:37:27 +01:00
Adolfo Gómez García
0045e648bb Upgraded appimage building against bookworm debian 2022-11-29 18:58:39 +01:00
Adolfo Gómez García
03451b7a4f Merge remote-tracking branch 'origin/v3.6' 2022-11-29 13:44:54 +01:00
Adolfo Gómez García
61383fd385 Merge remote-tracking branch 'origin/v3.5' 2022-11-29 13:44:39 +01:00
Adolfo Gómez García
6772455111 fixed recipe to remove update info (non existing) and adding a signature to it 2022-11-29 13:44:10 +01:00
Adolfo Gómez García
5437e4ac7a Merge remote-tracking branch 'origin/v3.6' 2022-11-29 13:29:19 +01:00
Adolfo Gómez García
b69efb5426 fixed build process for clients with new app image builder (1.1.0) 2022-11-29 13:28:02 +01:00
Adolfo Gómez García
89e1c2eac5 fixing up network & more to support ipv6 2022-11-29 04:45:27 +01:00
Adolfo Gómez García
5c4141f9a2 more usefull info for debugging 2022-11-23 18:26:14 +01:00
Adolfo Gómez García
659013db56 Merge remote-tracking branch 'origin/v3.6' 2022-11-23 17:05:11 +01:00
Adolfo Gómez García
d8e8ddd1bb added logging environment variables if debug level is DEBUG 2022-11-23 17:05:02 +01:00
Adolfo Gómez García
2c34df7c71 fixed stats counters accum 2022-11-23 17:03:15 +01:00
Adolfo Gómez García
3ec78bc55c Merge remote-tracking branch 'origin/v3.6' 2022-11-23 16:38:08 +01:00
Adolfo Gómez García
c8770e5f4f updated translations 2022-11-23 16:37:43 +01:00
Adolfo Gómez García
aa07fd4482 done stats accumulator test 2022-11-15 20:10:38 +01:00
Adolfo Gómez García
4be989dd17 Merge remote-tracking branch 'origin/v3.6' 2022-11-15 19:44:10 +01:00
Adolfo Gómez García
bb0cb0012d fixed stats counters accum for days 2022-11-15 19:44:02 +01:00
Adolfo Gómez García
f2e3a2468a Fixed stats counters weekly 2022-11-15 19:43:47 +01:00
Adolfo Gómez García
2311422c2d Merge remote-tracking branch 'origin/v3.6' 2022-11-15 15:00:54 +01:00
Adolfo Gómez García
106c28cb34 removed table conversion to avoid problems with galera cluster 2022-11-15 15:00:36 +01:00
Adolfo Gómez García
ccb7b3603f Merge remote-tracking branch 'origin/v3.6' 2022-11-15 14:35:46 +01:00
Adolfo Gómez García
2165798408 updated translations 2022-11-15 14:35:30 +01:00
Adolfo Gómez García
9192f5e1ab Merge remote-tracking branch 'origin/v3.6' 2022-11-15 14:21:47 +01:00
Adolfo Gómez García
271351b3d6 updated translations 2022-11-15 14:21:36 +01:00
Adolfo Gómez García
45c1b70698 finished merging 2022-11-15 14:15:51 +01:00
Adolfo Gómez García
d0d6892858 removed a couple invalid imports 2022-11-15 14:08:51 +01:00
Adolfo Gómez García
8b4a5e540a Merge remote-tracking branch 'origin/v3.6' 2022-11-15 14:05:25 +01:00
Adolfo Gómez García
80e53615c5 added custom parameters for rdp client 2022-11-15 14:01:04 +01:00
Adolfo Gómez García
c7924e29f3 Merge remote-tracking branch 'origin/v3.6' 2022-11-15 13:36:58 +01:00
Adolfo Gómez García
899156843e removing convert InnoDB stats table to MyIsam (will broke Galera compat) 2022-11-15 13:35:52 +01:00
Adolfo Gómez García
81ef875f72 Merge remote-tracking branch 'origin/v3.6' 2022-11-14 14:12:04 +01:00
Adolfo Gómez García
139ca448ff Adding support for acummulated stats counters 2022-11-14 14:11:57 +01:00
Adolfo Gómez García
2b917839c7 fixed stats_counters query 2022-11-14 14:11:00 +01:00
Adolfo Gómez García
adec02dc3f fixed stats_counters on system 2022-11-13 03:46:30 +01:00
Adolfo Gómez García
31e8e5f0af adding REST system tests 2022-11-13 01:15:27 +01:00
Adolfo Gómez García
8d6f319489 Fixed more the tests, and reverted a refactoring error 2022-11-12 22:02:43 +01:00
Adolfo Gómez García
9ca30b5c30 Adding autoserializable and fixing up some tests 2022-11-12 21:47:48 +01:00
Adolfo Gómez García
57013ed1e1 Merge remote-tracking branch 'origin/v3.6' 2022-11-10 14:05:41 +01:00
Adolfo Gómez García
d96a639a3d added dependency "xset" for rpm and fixed exceptions when some programs were not found 2022-11-10 14:02:40 +01:00
Adolfo Gómez García
2f0fd0f083 Merge remote-tracking branch 'origin/v3.6' 2022-11-09 23:03:13 +01:00
Adolfo Gómez García
721d32c972 Fixing up stats counters accumulators 2022-11-09 23:02:41 +01:00
Adolfo Gómez García
4bf76143f2 Fixing up stats. Removed "zeros" from DB 2022-11-09 23:01:17 +01:00
Adolfo Gómez García
1cf2e2cd76 Adding stats counter acummulators 2022-11-09 21:48:38 +01:00
Adolfo Gómez García
e98483aa90 adding stats acummulator 2022-11-09 21:44:27 +01:00
Adolfo Gómez García
7799dcd58e Adding stats accumulator 2022-11-09 21:43:19 +01:00
Adolfo Gómez García
8d0a3a7405 Merge remote-tracking branch 'origin/v3.6' 2022-11-02 21:58:04 +01:00
Adolfo Gómez García
40364cdcce Renamed Interval type 2022-11-02 21:57:54 +01:00
Adolfo Gómez García
35640260f5 Merge remote-tracking branch 'origin/v3.6' 2022-11-02 21:45:43 +01:00
Adolfo Gómez García
54663e756d Merge remote-tracking branch 'origin/v3.6' 2022-11-02 21:45:32 +01:00
Adolfo Gómez García
39fd5dbf3f set stats_counters get_grouped to interval None by default 2022-11-02 21:45:15 +01:00
Adolfo Gómez García
396e0f0c38 updated stats_counters db to include interval_type for values 2022-11-02 21:38:01 +01:00
Adolfo Gómez García
fc6224dada Enhacements to stats counters 2022-11-02 19:47:31 +01:00
Adolfo Gómez García
ab564b77de Merge remote-tracking branch 'origin/v3.6' 2022-11-02 19:21:09 +01:00
Adolfo Gómez García
1d8d1fe2c9 Merge remote-tracking branch 'origin/v3.5' into v3.6 2022-11-02 19:20:50 +01:00
Adolfo Gómez García
d43edf2fba Fixed manage.py 2022-11-02 18:54:51 +01:00
Adolfo Gómez García
d2cae41ece Merge remote-tracking branch 'origin/v3.6' 2022-11-02 18:54:39 +01:00
Adolfo Gómez García
0923a3fbca removed nonsense indexes from stats 2022-11-02 18:53:41 +01:00
Adolfo Gómez García
43458cbf99 Reduced stats 2022-11-02 15:02:05 +01:00
Adolfo Gómez García
a068838e0e removec cProfile from manage.py 2022-11-02 02:58:54 +01:00
Adolfo Gómez García
7853f6b9b1 Merge remote-tracking branch 'origin/v3.6' 2022-11-02 02:57:38 +01:00
Adolfo Gómez García
65614d68a7 fixing up reports 2022-11-02 02:57:22 +01:00
Adolfo Gómez García
114247e407 Merge remote-tracking branch 'origin/v3.5' into v3.6 2022-11-02 02:57:00 +01:00
Adolfo Gómez García
ec2645b0a2 fixed stats_counters 2022-11-02 02:56:47 +01:00
Adolfo Gómez García
c07c21b6a9 updating user interface manager 2022-10-31 20:53:30 +01:00
Adolfo Gómez García
937240a9fc Refactoring Authenticators related and minor type checking fixes 2022-10-31 19:24:14 +01:00
Adolfo Gómez García
0cf33501b6 some minor test fixes 2022-10-31 14:10:10 +01:00
Adolfo Gómez García
15576fdc22 Updating user interface and making tests 2022-10-31 01:47:55 +01:00
Adolfo Gómez García
adb4b5326a Adding user interface tests and refactoring user interface 2022-10-30 23:14:13 +01:00
Adolfo Gómez García
284508632c Merge remote-tracking branch 'origin/v3.6' 2022-10-28 14:44:34 +02:00
Adolfo Gómez García
dd08257fb9 Merge remote-tracking branch 'origin/v3.5' into v3.6 2022-10-28 14:42:35 +02:00
Adolfo Gómez García
9d0df6cfae small fix for client detecti 2022-10-28 14:42:09 +02:00
Adolfo Gómez García
71a0a228fb merged backport of uds password encription 2022-10-27 14:55:43 +02:00
Adolfo Gómez García
910094065e Merge remote-tracking branch 'origin/v3.6' 2022-10-27 14:47:03 +02:00
Adolfo Gómez García
7bd0d571e6 increased security by encrypting with own key, different on each instalation 2022-10-27 14:46:34 +02:00
Adolfo Gómez García
ab6c55ec58 Merge remote-tracking branch 'origin/v3.6' 2022-10-26 18:33:26 +02:00
Adolfo Gómez García
ad269b3c28 added initial export command for relevant UDS entities 2022-10-26 18:32:52 +02:00
Adolfo Gómez García
00ae824baf Merge remote-tracking branch 'origin/v3.6' 2022-10-26 16:40:46 +02:00
Adolfo Gómez García
f3dd5753a3 fixed mfa_data name on db 2022-10-26 16:40:04 +02:00
Adolfo Gómez García
c4fcf7c57e Merge remote-tracking branch 'origin/v3.6' 2022-10-21 00:56:54 +02:00
Adolfo Gómez García
13336b966e updating delayed task 2022-10-21 00:56:12 +02:00
Adolfo Gómez García
7a64235440 Merge remote-tracking branch 'origin/v3.6' 2022-10-19 15:15:46 +02:00
Adolfo Gómez García
a76989d885 fixed not opening html5 2022-10-19 15:14:52 +02:00
Adolfo Gómez García
6b712d59a3 Merge remote-tracking branch 'origin/v3.6' 2022-10-19 14:20:18 +02:00
Adolfo Gómez García
5f0e5a5dfe Merge remote-tracking branch 'origin/v3.5' into v3.6 2022-10-19 14:19:46 +02:00
Adolfo Gómez García
cfbce5aef5 fixed caching calendars 2022-10-19 14:19:30 +02:00
Adolfo Gómez García
92960d47ed fixing merge issues 2022-10-18 20:47:26 +02:00
Adolfo Gómez García
8648fc605d small rdp fix for bandit 2022-10-17 18:21:32 +02:00
Adolfo Gómez García
6a71a505b3 Merge remote-tracking branch 'origin/v3.6' 2022-10-17 16:05:05 +02:00
Adolfo Gómez García
d2cb4356f0 Added user interface default value 2022-10-17 13:51:35 +02:00
Adolfo Gómez García
4153fa0fd9 fixes after merge 3.6 2022-10-16 18:54:24 +02:00
Adolfo Gómez García
daf4bbcc37 Merge remote-tracking branch 'origin/v3.6' 2022-10-16 18:47:51 +02:00
Adolfo Gómez García
4f4f1f24fd fixes for transports 2022-10-16 18:46:56 +02:00
Adolfo Gómez García
ffde47af94 Merge remote-tracking branch 'origin/v3.6' 2022-10-14 19:52:11 +02:00
Adolfo Gómez García
65d38d8722 updated translations 2022-10-14 19:51:58 +02:00
Adolfo Gómez García
db5a08b0c7 Merge remote-tracking branch 'origin/v3.6' 2022-10-14 19:51:53 +02:00
Adolfo Gómez García
2b767e6bf9 small transport fix¡ 2022-10-14 19:51:43 +02:00
Adolfo Gómez García
b16cea984c Updated mfa string 2022-10-14 19:07:41 +02:00
Adolfo Gómez García
7769351d42 adding spice support for proxmox 2022-10-14 02:07:12 +02:00
Adolfo Gómez García
c2c5bc8aa1 Merged and fixed 2022-10-14 00:47:37 +02:00
Adolfo Gómez García
bf635a5e9a small html fixes 2022-10-14 00:28:18 +02:00
Adolfo Gómez García
ae2ffccbc3 Added ask credentials dialog 2022-10-13 20:02:02 +02:00
Adolfo Gómez García
a005bf1ca0 fixed incorrect import 2022-10-13 15:05:32 +02:00
Adolfo Gómez García
013558eb77 Merge remote-tracking branch 'origin/v3.6' 2022-10-13 14:50:04 +02:00
Adolfo Gómez García
4de443395d Updated translations 2022-10-13 14:49:38 +02:00
Adolfo Gómez García
9f2bc5417f Fixed choiceField bug & MFA table 2022-10-13 14:47:37 +02:00
Adolfo Gómez García
9deb2dcd74 fixing up actor things 2022-10-13 00:04:26 +02:00
Adolfo Gómez García
2908b99435 Merge remote-tracking branch 'origin/v3.6' 2022-10-05 23:56:54 +02:00
Adolfo Gómez García
c6d1bf450c Fixed choicefield generator for strings (was generating "name" instead of "text") 2022-10-05 23:52:28 +02:00
Adolfo Gómez García
26d26315ac Merge remote-tracking branch 'origin/v3.6' 2022-10-05 23:06:23 +02:00
Adolfo Gómez García
cf21936f41 Added report for audit log for administration 2022-10-05 23:05:36 +02:00
Adolfo Gómez García
bcf185d54a Merge remote-tracking branch 'origin/v3.6' 2022-10-05 19:36:09 +02:00
Adolfo Gómez García
5d9c8ee53f better audit log 2022-10-05 19:35:45 +02:00
Adolfo Gómez García
e1acdf1c85 Merge remote-tracking branch 'origin/v3.6' 2022-10-05 19:16:53 +02:00
Adolfo Gómez García
7d3bfb5d3b replaced "-" with ":" for checking if a save field is optional so we can provide the default value" 2022-10-05 19:16:30 +02:00
Adolfo Gómez García
186bbb11e3 Merge remote-tracking branch 'origin/v3.6' 2022-10-05 18:08:05 +02:00
Adolfo Gómez García
b474e63924 updated translations 2022-10-05 18:06:48 +02:00
Adolfo Gómez García
09bbc7f22b Merge remote-tracking branch 'origin/v3.6' 2022-10-05 17:58:15 +02:00
Adolfo Gómez García
d48747abff Added administration audit and fixed some translations 2022-10-05 17:54:07 +02:00
Adolfo Gómez García
57f2c35af0 Several Fixes:
* Upgraded typing information on models
* Removed unused DBFile
* renamed osmanager.png wrong name
2022-10-01 06:45:41 +02:00
Adolfo Gómez García
8c40320b64 Merge remote-tracking branch 'origin/v3.6' 2022-09-29 16:32:56 +02:00
Adolfo Gómez García
8b3ad295cc Added MAC controled by uds for proxmox 2022-09-28 15:33:54 +02:00
Adolfo Gómez García
c03c479a14 Merge remote-tracking branch 'origin/v3.6' 2022-09-19 14:24:54 +02:00
Adolfo Gómez García
aa677353ad fixed tree command 2022-09-19 14:23:44 +02:00
Adolfo Gómez García
9c6c4078b1 Fixed showConfig 2022-09-19 14:04:53 +02:00
Adolfo Gómez García
22cee394ee Merge remote-tracking branch 'origin/v3.6' 2022-09-18 15:09:47 +02:00
Adolfo Gómez García
9fba2b45ad Added "ERROR" user services on report with log 2022-09-18 15:09:17 +02:00
Adolfo Gómez García
8f4f6bc5cb Merge remote-tracking branch 'origin/v3.6' 2022-09-17 00:14:59 +02:00
Adolfo Gómez García
71582fc415 fixed tree yaml generation 2022-09-16 23:27:12 +02:00
Adolfo Gómez García
0d1d38c18a added showconfig in yaml 2022-09-16 22:34:40 +02:00
Adolfo Gómez García
4ec8841a57 added tree command to allow an full overview of uds data 2022-09-16 18:45:37 +02:00
Adolfo Gómez García
2ecab27b16 Merge remote-tracking branch 'origin/v3.6' 2022-09-16 02:05:23 +02:00
Adolfo Gómez García
8c6390733c added showconfig command 2022-09-16 00:53:56 +02:00
Adolfo Gómez García
ade53fc893 Merge remote-tracking branch 'origin/v3.6' 2022-09-15 14:06:44 +02:00
Adolfo Gómez García
98f56ee58b restored deleted line by mistake on auth 2022-09-15 13:06:13 +02:00
Adolfo Gómez García
1c01c35a87 Renamed config value 2022-09-14 12:09:06 +02:00
Adolfo Gómez García
673d1b6813 Added "Ultimate Security". When enabled, UDS will not cache encrypted credentials on server, so no credential can be redirected 2022-09-13 16:14:54 +02:00
Adolfo Gómez García
1ba12bb82d Updated translations 2022-09-12 15:04:33 +02:00
Adolfo Gómez García
c6dfd3f362 Refactorizing gui variables - types 2022-09-12 14:41:15 +02:00
Adolfo Gómez García
f7888468c0 Refactorizing gui variables 2022-09-12 14:21:55 +02:00
Adolfo Gómez García
ce8bb30cf1 Merge remote-tracking branch 'origin/v3.6' 2022-09-12 12:40:16 +02:00
Adolfo Gómez García
f90f108869 Fixed UserInterface new guiField acceptance of values 2022-09-12 12:37:21 +02:00
Adolfo Gómez García
115d8562e1 Refactorized groups manager and fixed ipInNetwork
Signed-off-by: Adolfo Gómez García <dkmaster@dkmon.com>
2022-09-09 02:13:20 +02:00
Adolfo Gómez García
f6607d0416 Merged allow users remove from 3.6 2022-09-08 12:21:00 +02:00
Adolfo Gómez García
411bddd79d Merge remote-tracking branch 'origin/v3.6' 2022-09-08 12:20:35 +02:00
Adolfo Gómez García
88c3f9077b small cosmetic fix 2022-09-08 12:20:21 +02:00
Adolfo Gómez García
bd13a39845 erge remote-tracking branch 'origin/v3.6' 2022-09-08 12:16:03 +02:00
Adolfo Gómez García
2a01df542d Added "allow reset" and "allow release" to metapool. Automatically enabled is ALL member pools allows. 2022-09-08 12:15:18 +02:00
Adolfo Gómez García
c976536b5f added a new test and small fixes 2022-09-06 15:25:05 +02:00
Adolfo Gómez García
0721c833fb Fixed settings and security (changed order for security middleware to be after globalrequest to fill ips 2022-09-05 15:00:37 +02:00
Adolfo Gómez García
7b877e3aea Merge remote-tracking branch 'origin/v3.6' 2022-09-05 12:53:50 +02:00
Adolfo Gómez García
2733444355 Merge remote-tracking branch 'origin/v3.5' into v3.6 2022-09-05 12:53:31 +02:00
Adolfo Gómez García
cf6820aa2b Fixed security 2022-09-05 12:48:54 +02:00
Adolfo Gómez García
62f9f8f676 Merge remote-tracking branch 'origin/v3.6' 2022-09-02 16:47:40 +02:00
Adolfo Gómez García
6692e5ce6d Merge remote-tracking branch 'origin/v3.5' into v3.6 2022-09-02 16:45:25 +02:00
Adolfo Gómez García
1a85f60f4f Fixed "Database error" from OpenGnsys to include some more helpfull information 2022-09-02 16:45:11 +02:00
Adolfo Gómez García
2d6f55ef0b more tests and added a few exludes to coverage 2022-09-01 16:14:20 +02:00
Adolfo Gómez García
42b3826115 Added context to coverage and added first model test 2022-09-01 14:39:30 +02:00
Adolfo Gómez García
cb722c5e89 adding "build" to actor 2022-09-01 10:28:02 +02:00
Adolfo Gómez García
32b35c9651 fixed tests 2022-08-31 15:24:08 +02:00
Adolfo Gómez García
e33ea33797 Merge remote-tracking branch 'origin/v3.6' 2022-08-31 15:22:36 +02:00
Adolfo Gómez García
38b3318704 updated translations 2022-08-31 15:22:15 +02:00
Adolfo Gómez García
ccec281e0d Fixed text of maxServices 2022-08-31 15:09:55 +02:00
Adolfo Gómez García
4611c35b0d Merge remote-tracking branch 'origin/v3.6' 2022-08-31 13:54:55 +02:00
Adolfo Gómez García
8473b80978 fixed maxDeployed beinf overwriten 2022-08-31 13:52:45 +02:00
Adolfo Gómez García
230187d9ee small fix on service unmarshall 2022-08-31 13:52:11 +02:00
Adolfo Gómez García
c06c3df327 Merge remote-tracking branch 'origin/v3.6' 2022-08-31 12:52:37 +02:00
Adolfo Gómez García
092bb83001 Added "maxServices" to OpenGnsys to limit number of possible services provided by a single UDS Service 2022-08-31 12:45:33 +02:00
Adolfo Gómez García
5c6303fec0 Added more tests
* Fixed pytest to not look for classes
* Added 'destroy_after' property to user service for convenience
* Small cosmetic fixes
2022-08-31 00:10:57 +02:00
Adolfo Gómez García
b05c5b1396 Merge remote-tracking branch 'origin/v3.6' 2022-08-30 21:53:42 +02:00
Adolfo Gómez García
ac62aed420 upgrading cache updater to take into account maxDeployed to stop creating cache services 2022-08-30 21:53:03 +02:00
Adolfo Gómez García
8b540c350a Added more tests and a couple of cosmetic fixes 2022-08-30 17:40:29 +02:00
Adolfo Gómez García
db12077304 Adding more tests and fixes 2022-08-29 15:21:12 +02:00
Adolfo Gómez García
70488199b9 Merge remote-tracking branch 'origin/v3.6' 2022-08-29 15:20:50 +02:00
Adolfo Gómez García
3bdf4c18ad Fixed detecting canceling hanged 2022-08-29 15:20:43 +02:00
Adolfo Gómez García
e16be78ad5 Fixed remove or cancel detecting "hanged" canceling operations 2022-08-29 15:20:09 +02:00
Adolfo Gómez García
09c5cc2f43 Merge remote-tracking branch 'origin/v3.6' 2022-08-28 19:59:20 +02:00
Adolfo Gómez García
28319b216f updated compat level to 10 2022-08-28 19:23:04 +02:00
Adolfo Gómez García
07e6c3d0a8 unique ids testing 2022-08-28 13:41:57 +02:00
Adolfo Gómez García
96abb71d9c more tests 2022-08-28 13:23:04 +02:00
Adolfo Gómez García
7de259af87 adding more tests 2022-08-28 01:31:09 +02:00
Adolfo Gómez
1567996ebc Delete LICENSE.txt 2022-08-27 20:59:25 +02:00
Adolfo Gómez
4edb3b3f0c Create LICENSE 2022-08-27 20:59:08 +02:00
Adolfo Gómez García
07987504c3 added LICENSE.txt 2022-08-27 20:57:12 +02:00
Adolfo Gómez García
5f93b68c25 Modified transport to adapt for accept future client scripts in more langs 2022-08-27 19:09:12 +02:00
Adolfo Gómez García
d0e9c96573 Added new test and make pytests use parallel execution of tests using pytest-xdist 2022-08-25 22:28:57 +02:00
Adolfo Gómez García
a52ad44ef1 added basic web test and download testing 2022-08-25 17:55:51 +02:00
Adolfo Gómez García
69b778c922 Adding more tests and fixes 2022-08-24 22:16:47 +02:00
Adolfo Gómez García
5f12c2e7b3 Merge remote-tracking branch 'origin/v3.6' 2022-08-24 11:09:54 +02:00
Adolfo Gómez García
1a4a41a6b9 fixed logout building absolute url 2022-08-24 11:09:20 +02:00
Adolfo Gómez García
739b0c7f81 fixed logout absolute url building on logout 2022-08-24 11:08:56 +02:00
Adolfo Gómez García
78c7039c54 Merge remote-tracking branch 'origin/v3.6' 2022-08-23 15:23:25 +02:00
Adolfo Gómez García
e5e8ad5fbd Adding radius challenge MFA provided by Daniel Torregrosa (Thanks!) 2022-08-23 15:22:48 +02:00
Adolfo Gómez García
21d2a6fb27 Done actor initialize tests and fixed actor v3 initialization 2022-08-22 15:46:15 +02:00
Adolfo Gómez García
fa3e30c518 fixing tests 2022-08-21 19:37:32 +02:00
Adolfo Gómez García
c6be2562ee added test for initialize for managed machines 2022-08-21 14:23:03 +02:00
Adolfo Gómez García
4c19247a2c Adding more actor tests 2022-08-20 18:40:05 +02:00
Adolfo Gómez García
a6b502e0ba more fixes 2022-08-19 21:09:45 +02:00
Adolfo Gómez García
b12730d160 more test prepartion and fixes 2022-08-19 20:20:29 +02:00
Adolfo Gómez García
07031850e5 Advancing on tests 2022-08-19 00:46:38 +02:00
Adolfo Gómez García
a42857038c Fixes on migrations & finishing supporting test methods 2022-08-19 00:13:45 +02:00
Adolfo Gómez García
d19969fce3 Fixed migration field names on squashed migration. ManyToManyFields where not renamed on empty tables, so i had to move "manually" the creation of the fields on squashed one. Not a big issue, but strange. 2022-08-19 00:13:01 +02:00
Adolfo Gómez García
195e13682c Adding xxhash as fast alternative for some hash calcs (as cache i.e.) 2022-08-18 20:05:43 +02:00
Adolfo Gómez García
95b9b79b02 Adding testing elements 2022-08-18 19:46:22 +02:00
Adolfo Gómez García
225fed3012 Merge remote-tracking branch 'origin/v3.6' 2022-08-18 13:56:46 +02:00
Adolfo Gómez García
86ebd7766e Merge remote-tracking branch 'origin/v3.5' into v3.6 2022-08-18 13:56:32 +02:00
Adolfo Gómez García
83394f0d34 Fixed XEN/XCP-NG network moving on service 2022-08-18 13:56:07 +02:00
Adolfo Gómez García
d5eafb1179 Refactorized transport to adapt parameter typing 2022-08-17 23:42:33 +02:00
Adolfo Gómez García
11b56571d2 Removing old v2 actor rests. Not supported anymore 2022-08-17 20:26:51 +02:00
Adolfo Gómez García
18de1193b4 Updating tests and fied sample settings
- Fixed taskManager runner (added new parameters)
- refactoring and generating base rest testing
2022-08-17 20:15:32 +02:00
Adolfo Gómez García
d8164a9b4d Merge remote-tracking branch 'origin/v3.6' 2022-08-17 19:03:45 +02:00
Adolfo Gómez García
4f0ea76666 Merge remote-tracking branch 'origin/v3.5' into v3.6 2022-08-17 15:06:49 +02:00
Adolfo Gómez García
c34fc41f56 unmanaged fix 2022-08-17 14:55:33 +02:00
Adolfo Gómez García
18e9cab9ef fixed local log 2022-08-17 14:33:44 +02:00
Adolfo Gómez García
4d3aa1d17c Merge remote-tracking branch 'origin/v3.6' 2022-08-17 14:13:17 +02:00
Adolfo Gómez García
6053e34d1d Merge remote-tracking branch 'origin/v3.5' into v3.6 2022-08-17 14:12:52 +02:00
Adolfo Gómez García
90aa455586 fixed unmanaged 2022-08-17 14:12:13 +02:00
Adolfo Gómez García
f274ae2fe3 fixed a bit the tests and tests tools 2022-08-16 21:40:46 +02:00
Adolfo Gómez García
195d2a1336 More request definition cleanups 2022-08-16 14:30:20 +02:00
Adolfo Gómez García
12846f9b1f Small XenApi Fixes, requests cleanup 2022-08-16 14:29:38 +02:00
Adolfo Gómez García
748d8d7464 Replaced session PickleSerializer with Json-bases serializer (custom one). More secure 2022-08-16 13:08:47 +02:00
Adolfo Gómez García
0ed1f3ccee Added coverage support on testing 2022-08-16 00:18:32 +02:00
Adolfo Gómez García
fe712d27b7 adding services fixtures 2022-08-16 00:10:48 +02:00
Adolfo Gómez García
c56666ed4b small test fixes 2022-08-15 23:34:52 +02:00
Adolfo Gómez García
01184582b3 Fixing up testing and make them usable from vscode sidebar 2022-08-15 23:31:23 +02:00
Adolfo Gómez García
76745e8624 Fixing up bandit recomendations & minor typo errors 2022-08-15 14:10:17 +02:00
Adolfo Gómez García
17b040d9b3 adding tests 2022-08-15 00:29:39 +02:00
Adolfo Gómez García
07e1c6214e Added Test Service 2022-08-14 23:36:22 +02:00
Adolfo Gómez García
de9bbfc896 removeing deprecated pyqt methods 2022-08-14 21:57:28 +02:00
Adolfo Gómez García
d84977dee0 Merge remote-tracking branch 'origin/v3.6' 2022-08-14 21:53:33 +02:00
Adolfo Gómez García
11041ff44f Merge remote-tracking branch 'origin/v3.5' into v3.6 2022-08-14 21:52:40 +02:00
Adolfo Gómez García
bc2328a239 fixing up sqlite 2022-08-14 21:52:24 +02:00
Adolfo Gómez García
98826504d6 fixing up sqlite 2022-08-14 21:52:06 +02:00
Adolfo Gómez García
54ea57f330 added cache to checkIdle on macos 2022-08-12 22:49:19 +02:00
Adolfo Gómez García
cb4b2184a4 finishin operations for macos 2022-08-12 20:50:58 +02:00
Adolfo Gómez García
99fbb35512 Merge branch 'master' of github.com:dkmstr/openuds 2022-08-08 15:27:40 +02:00
Adolfo Gómez García
1374375ab9 Creating a couple of "test services" so we can make some automated tests 2022-08-08 15:27:30 +02:00
Adolfo Gómez García
909ef91181 Creating a couple of "test services" so we can make some automated tests 2022-08-08 15:27:11 +02:00
Adolfo Gómez García
01f9a1f9cd fixed for usersession 2022-08-07 13:32:07 +02:00
Adolfo Gómez García
78a3216b51 adding initial tracking of individial sessions on user services 2022-08-07 13:24:33 +02:00
Adolfo Gómez García
3a990e19a6 Merge remote-tracking branch 'origin/v3.5' into v3.6 2022-08-06 20:19:36 +02:00
Adolfo Gómez García
d9d3bc452c fixed login/logout 2022-08-06 20:19:23 +02:00
Adolfo Gómez García
e5c8b9c763 Merge remote-tracking branch 'origin/v3.6' 2022-08-06 19:30:31 +02:00
Adolfo Gómez García
e51e13b821 Merge remote-tracking branch 'origin/v3.6' 2022-08-06 19:30:01 +02:00
Adolfo Gómez García
8a150439ae Merge remote-tracking branch 'origin/v3.5' into v3.6 2022-08-06 19:29:43 +02:00
Adolfo Gómez García
ec89a2cfa8 adding session id to uds actor 2022-08-06 19:23:51 +02:00
Adolfo Gómez García
08f14bff57 Fixing up unmanaged actor 2022-08-05 13:33:57 +02:00
Adolfo Gómez García
653bff420f Fixed logout notification 2022-08-05 13:19:47 +02:00
Adolfo Gómez García
73a3c89e04 Fixed logout notification 2022-08-05 13:05:52 +02:00
Adolfo Gómez García
e79753748e Merge remote-tracking branch 'origin/v3.5' into v3.6 2022-08-04 21:56:39 +02:00
Adolfo Gómez García
adaabf9d83 Fixing up unmanaged actor 2022-08-04 21:37:33 +02:00
Adolfo Gómez García
0ed8bd6027 Merge branch 'master' of github.com:dkmstr/openuds 2022-08-04 15:55:52 +02:00
Adolfo Gómez García
ff25b4945a Started MacOS Unmanaged Support 2022-08-04 15:55:47 +02:00
Adolfo Gómez García
3a2a2a4669 Merge remote-tracking branch 'origin/v3.6' 2022-08-04 15:08:10 +02:00
Adolfo Gómez García
a8a9b24596 exit_url is now relative by default 2022-08-04 15:07:52 +02:00
Adolfo Gómez García
552ba3796b adding __slots__ to optimize a bit code 2022-08-02 15:26:30 +02:00
Adolfo Gómez García
a6c6bca2fd Merge remote-tracking branch 'origin/v3.6' 2022-08-01 14:39:34 +02:00
Adolfo Gómez García
f24c77f20a removed mic redirect on mac py default for xfreerdp (2.8 is "crashing"?) 2022-08-01 14:37:39 +02:00
Adolfo Gómez García
a3c27dbd72 minor fixes 2022-08-01 14:10:55 +02:00
Adolfo Gómez García
ec7cf91579 small fix to remove "remember_device" if not set 2022-07-29 17:06:49 +02:00
Adolfo Gómez García
d2fa5e38d0 small fix to remove "remember_device" if not set 2022-07-29 16:59:33 +02:00
Adolfo Gómez García
c98f8e31d5 Merge remote-tracking branch 'origin/v3.6' 2022-07-29 16:42:50 +02:00
Adolfo Gómez García
ada5374db5 fixed showing MFA on list 2022-07-29 16:42:24 +02:00
Adolfo Gómez García
301d68b1a2 fixed authenticators rest 2022-07-29 16:38:03 +02:00
Adolfo Gómez García
46b6bb2305 Fixes 2022-07-29 16:23:53 +02:00
Adolfo Gómez García
93ba05f6cb Fixes to MFAs 2022-07-29 16:20:14 +02:00
Adolfo Gómez García
e3976794d9 some minor refactors & used sys.intern as key for rest api 2022-07-28 13:22:02 +02:00
Adolfo Gómez García
94cf5582e2 Added RH-based unmanaged actor 2022-07-26 13:33:09 +02:00
Adolfo Gómez García
f10b370eff Added Calendar Actions to remove ALL cache items 2022-07-18 18:03:51 +02:00
Adolfo Gómez García
692c8601bf Merge remote-tracking branch 'origin/v3.6' 2022-07-15 10:27:02 +02:00
Adolfo Gómez García
afcfffbd29 Merge remote-tracking branch 'origin/v3.5' into v3.6 2022-07-15 10:26:47 +02:00
Adolfo Gómez García
3cfbdc86e0 Small cryptomanager typing fix 2022-07-15 10:26:02 +02:00
Adolfo Gómez García
063fa46899 Merge remote-tracking branch 'origin/v3.6' 2022-07-14 12:49:41 +02:00
Adolfo Gómez García
d1329849f3 Merge remote-tracking branch 'origin/v3.5' into v3.6 2022-07-14 12:49:29 +02:00
Adolfo Gómez García
ba759b3652 Fixed Proxmox MAC generation for internal DB (Case sensitive...) 2022-07-14 12:49:14 +02:00
Adolfo Gómez García
1e3478314b Reformating 2022-07-14 12:48:54 +02:00
Adolfo Gómez García
02aec9ebea Moved required client versio ton core __init__,py 2022-07-13 13:14:20 +02:00
Adolfo Gómez García
e33d63158a updated antular 2022-07-10 13:03:47 +02:00
Adolfo Gómez García
33258b0dcc Merge remote-tracking branch 'origin/v3.6' 2022-07-10 12:58:44 +02:00
Adolfo Gómez García
f5d2776478 Adde "custom html" support for MFA input code page 2022-07-06 17:41:09 +02:00
Adolfo Gómez García
0496117fc1 Fixing up mfa to include request on more methods 2022-07-06 14:34:42 +02:00
Adolfo Gómez García
b8e0dbf0c5 Merge remote-tracking branch 'origin/v3.6' 2022-07-06 13:24:41 +02:00
Adolfo Gómez García
89864b11c2 Fixed window upen 2022-07-06 13:20:10 +02:00
Adolfo Gómez García
fcdf599e18 Fixed HTML5 window opening & MFA 2022-07-06 13:17:35 +02:00
Adolfo Gómez García
05b6bebf36 bumping version to 3.6 2022-07-05 15:25:58 +02:00
Adolfo Gómez García
cdbc8d7ba1 bumping to v3.6 2022-07-05 15:20:44 +02:00
Adolfo Gómez García
072a722b09 Added udsactor-unamanged for rpm and bumped version to 3.6 2022-07-05 15:03:41 +02:00
Adolfo Gómez García
2d2e2d7b1f Upgrading version to next intermediary release 2022-07-05 14:52:17 +02:00
Adolfo Gómez García
1008bf988a upgraded migrations to adapt to MFA 2022-07-05 14:33:34 +02:00
Adolfo Gómez García
8ec815a75b Merge remote-tracking branch 'origin/v3.5-mfa' 2022-07-04 22:11:06 +02:00
Adolfo Gómez García
f4da75cea9 Adding MFA support to existing auths 2022-07-04 22:10:06 +02:00
Adolfo Gómez García
1c65722d24 added mfaData to admin 2022-07-04 21:29:41 +02:00
Adolfo Gómez García
2736390f95 Merge remote-tracking branch 'origin/v3.5-mfa' 2022-07-02 00:18:09 +02:00
Adolfo Gómez García
8783db925f fixed rest of MFA 2022-07-02 00:17:23 +02:00
Adolfo Gómez García
8b8bf7a321 Merge remote-tracking branch 'origin/v3.5-mfa' 2022-07-01 20:23:27 +02:00
Adolfo Gómez García
5e61871091 Added network to MFA and added initGui suppor for "providers" 2022-07-01 20:23:13 +02:00
Adolfo Gómez García
9a65d13890 test 2022-06-30 17:14:20 +02:00
Adolfo Gómez García
af2c01af66 fixing up merges from 3.5-mfa 2022-06-30 16:50:10 +02:00
Adolfo Gómez García
80b26446f6 translations 2022-06-30 16:45:13 +02:00
Adolfo Gómez García
a0ac50d9c2 small label fixes 2022-06-30 16:24:46 +02:00
Adolfo Gómez García
091a834074 Merge remote-tracking branch 'origin/v3.5-mfa' 2022-06-29 23:22:27 +02:00
Adolfo Gómez García
6094f55182 small MFA fixes for generic SMS 2022-06-29 23:17:52 +02:00
Adolfo Gómez García
11d9c77a79 Tested correct working of generic SMS sending using HTTP 2022-06-29 23:14:26 +02:00
Adolfo Gómez García
76e67b1f63 Fixing up MFA 2022-06-29 22:05:45 +02:00
Adolfo Gómez García
64fc61a2d6 Added generic SMS using HTTP server 2022-06-28 20:47:47 +02:00
Adolfo Gómez García
7b921ac161 Merge remote-tracking branch 'origin/v3.5-mfa' 2022-06-28 16:40:51 +02:00
Adolfo Gómez García
57b19757b9 fixed MFA 2022-06-28 16:40:35 +02:00
Adolfo Gómez García
0d281af982 merged 3.5-mfa till now 2022-06-28 16:38:25 +02:00
Adolfo Gómez García
365e2c56d3 Fixed mitration from MFA 2022-06-28 16:30:14 +02:00
Adolfo Gómez García
29fd2c068a Merge remote-tracking branch 'origin/v3.5-mfa' 2022-06-28 16:22:28 +02:00
Adolfo Gómez García
aec2f5b57f Added "not tested" generic SMS sending using an HTTP server 2022-06-28 14:50:39 +02:00
Adolfo Gómez García
4ba8bc9c5a Integrating mfa branch on 4.0. Initial changes. Work to do 2022-06-27 21:58:21 +02:00
Adolfo Gómez García
77e021a371 Fixed auth mfaIdentifier to provide userName 2022-06-27 21:30:59 +02:00
Adolfo Gómez García
2a25a8f70a removed nonsense comment copied from "sample" code used to create notifier 2022-06-24 16:53:59 +02:00
Adolfo Gómez García
b99a8de8c6 Added metadata config fields for SAML 2022-06-24 16:53:33 +02:00
Adolfo Gómez García
f922bbcd2e Removed legacy actors 2022-06-24 16:52:58 +02:00
Adolfo Gómez García
4db98684d3 refactorized 2022-06-24 13:27:45 +02:00
Adolfo Gómez García
a948d5eeb1 Added email MFA 2022-06-24 13:26:39 +02:00
Adolfo Gómez García
c7e6857492 If user has already been authorized, no mfa is allowed 2022-06-24 11:28:46 +02:00
Adolfo Gómez García
aaa4216862 Fixed MFA & Added remember me 2022-06-23 20:24:56 +02:00
Adolfo Gómez García
098396be87 Updared admin interface 2022-06-23 16:46:19 +02:00
Adolfo Gómez García
d02c693202 Fixed mfas rest path 2022-06-23 16:42:46 +02:00
Adolfo Gómez García
cb11a26fbe updated mfa icon 2022-06-23 16:23:27 +02:00
Adolfo Gómez García
43934d425f added timeout value 2022-06-23 15:56:14 +02:00
Adolfo Gómez García
5b499de983 Initial MFA done 2022-06-23 15:14:39 +02:00
Adolfo Gómez García
00d9f5759d Merge remote-tracking branch 'origin/v3.5' into v3.5-mfa 2022-06-23 14:05:25 +02:00
Adolfo Gómez García
a3bcedc38f Merge remote-tracking branch 'origin/v3.5' 2022-06-23 13:25:21 +02:00
Adolfo Gómez García
c6a40ac182 fixed global logout on federated auth 2022-06-23 12:51:41 +02:00
Adolfo Gómez García
7d9ffca559 Fixex internal db with sqlite 2022-06-23 12:23:22 +02:00
Adolfo Gómez García
ec02f63cac advancing on MFA implementation 2022-06-23 12:16:08 +02:00
Adolfo Gómez García
0de655d14f Adding MFA authorization page 2022-06-22 23:39:11 +02:00
Adolfo Gómez García
7ab6d439cb Fixed migration tree 2022-06-22 21:53:00 +02:00
Adolfo Gómez García
68e327847b Created migrations 2022-06-22 21:40:43 +02:00
Adolfo Gómez García
81ea07f0a0 Created migrations 2022-06-22 21:40:23 +02:00
Adolfo Gómez García
d7540c3305 Adding MFA 2022-06-22 17:04:18 +02:00
Adolfo Gómez García
2eff59908a Merge remote-tracking branch 'origin/v3.5' 2022-06-21 14:28:30 +02:00
Adolfo Gómez García
f43b9c7bfd Fixed small actor network card check and removed required of network for interface select 2022-06-20 19:42:36 +02:00
Adolfo Gómez García
a135e3ae9b Removed cache of SP metadata 2022-06-20 15:10:27 +02:00
Adolfo Gómez García
28db2f4e93 Added security options to SAML 2022-06-20 15:09:33 +02:00
Adolfo Gómez García
972c48ddee Merge branch 'v3.5' of github.com:dkmstr/openuds into v3.5 2022-06-17 22:27:37 +02:00
Adolfo Gómez García
118e642700 Fixed frame over buttons ons unmanaged setup 2022-06-17 22:27:23 +02:00
Adolfo Gómez
dfa441871b Fixed logger on Windows (import mistake) 2022-06-17 22:07:25 +02:00
Adolfo Gómez
18c5e3a242 Fixed logger on Windows (import mistake) 2022-06-17 21:59:24 +02:00
Adolfo Gómez García
3a4d571a6c Fixed actor tools changes for typeinfo 2022-06-17 13:54:52 +02:00
Adolfo Gómez García
3cc42e1e73 Adding udsuser to preconnect 2022-06-16 12:52:27 +02:00
Adolfo Gómez García
ffe9baa9a5 Adding udsuser to preconnect 2022-06-16 12:49:28 +02:00
Adolfo Gómez García
0b05009d3f Adding support for several network cards ond unmanaged 2022-06-14 16:51:37 +02:00
Adolfo Gómez García
fefd53c84f Merge remote-tracking branch 'origin/v3.5' 2022-06-13 11:25:25 +02:00
Adolfo Gómez García
b34b12ec9f Fixed RDP Transport with RDS Sessions 2022-06-13 11:24:44 +02:00
Adolfo Gómez García
1fb8956679 Merge remote-tracking branch 'origin/v3.5' 2022-06-07 22:05:20 +02:00
Adolfo Gómez García
fb70524cb3 fixed sampling points 2022-06-07 21:03:49 +02:00
Adolfo Gómez García
4c66401e4f Fixes to reports 2022-06-07 15:38:57 +02:00
Adolfo Gómez García
364ebd6f3a Fixed several reports 2022-06-06 22:29:42 +02:00
Adolfo Gómez García
d96a5e69b0 Merge remote-tracking branch 'origin/v3.5' 2022-06-06 21:42:55 +02:00
Adolfo Gómez García
493cbbb4e7 fixed samplingPoints 2022-06-06 21:42:04 +02:00
Adolfo Gómez García
b9330fd28a Merge remote-tracking branch 'origin/v3.5' 2022-06-06 21:26:42 +02:00
Adolfo Gómez García
5277a74c1c Backport of 4.0 report fixes 2022-06-06 21:26:29 +02:00
Adolfo Gómez García
b7d0fef8bb Stats reports fixes 2022-06-06 21:26:07 +02:00
Adolfo Gómez García
6cf8eb3e77 Fixed admin lang change 2022-06-06 19:06:11 +02:00
Adolfo Gómez García
214c04d636 Remaking counters stats 2022-06-06 19:04:11 +02:00
Adolfo Gómez García
1e01339b93 Fixed language change on admin 2022-06-06 19:03:47 +02:00
Adolfo Gómez García
8f260f5efb Merge remote-tracking branch 'origin/v3.5' 2022-06-03 13:49:23 +02:00
Adolfo Gómez García
2695a5ccdc small cosmetic fix 2022-06-03 13:44:37 +02:00
Adolfo Gómez García
9343f7c263 Added CERTIFICATE_BUNDLE_PATH possible variable on environment to check certificates 2022-06-03 13:44:00 +02:00
Adolfo Gómez García
7775964d62 Added never cache to indes 2022-05-26 15:57:14 +02:00
Adolfo Gómez García
3b0e100021 Merge remote-tracking branch 'origin/v3.5' 2022-05-26 15:37:37 +02:00
Adolfo Gómez García
a207e8f65f Fixed csrf_field name 2022-05-26 15:36:56 +02:00
Adolfo Gómez García
123b2243db updated main 2022-05-26 15:22:30 +02:00
Adolfo Gómez García
c9ef435d78 Merge remote-tracking branch 'origin/v3.5' 2022-05-26 15:20:25 +02:00
Adolfo Gómez García
0a0f2771ae Updated error page logic 2022-05-26 15:00:50 +02:00
Adolfo Gómez García
2f403d3336 Added configurable logout url 2022-05-23 21:36:52 +02:00
Adolfo Gómez García
9c0f2a1859 small README fix 2022-05-23 21:23:10 +02:00
Adolfo Gómez García
ab35451121 Creating tests 2022-05-22 21:51:43 +02:00
Adolfo Gómez García
b0327c4fa0 Creating tests 2022-05-22 21:51:11 +02:00
Adolfo Gómez García
928a7aa58f Creating tests 2022-05-22 21:50:51 +02:00
Adolfo Gómez García
f9e2ccb7d3 Merge remote-tracking branch 'origin/v3.5' 2022-05-20 09:08:13 +02:00
Adolfo Gómez García
8db0e515a5 merged 3.5 user frontend 2022-05-20 09:04:25 +02:00
Adolfo Gómez García
ceb5fd9bde updated csrf info 2022-05-20 09:03:45 +02:00
Adolfo Gómez García
fd0fbf63f0 Added help to configuration 2022-05-19 20:32:28 +02:00
Adolfo Gómez García
8d3653825a Removed Proxy, cleaned some more config variables, and added help to config variables. Refactorized a few config 2022-05-19 18:05:11 +02:00
Adolfo Gómez García
8836815186 improved safeHTML method 2022-05-19 09:17:42 +02:00
Adolfo Gómez García
2eb840e1c7 Merge remote-tracking branch 'origin/v3.5' 2022-05-19 09:15:42 +02:00
Adolfo Gómez García
7bfa6a6c4f Updated admin interface 2022-05-19 09:13:28 +02:00
Adolfo Gómez García
858b79614b Added improved safeHTML method to frontend 2022-05-19 09:11:10 +02:00
Adolfo Gómez García
859f18883f Updated user frontend 2022-05-17 16:48:40 +02:00
Adolfo Gómez García
66f62bcda0 Merge remote-tracking branch 'origin/v3.5' 2022-05-17 16:45:06 +02:00
Adolfo Gómez García
6b8e828835 adding messaging config 2022-05-17 16:45:04 +02:00
Adolfo Gómez García
45b47ce702 Updated user interface 2022-05-17 16:42:06 +02:00
Adolfo Gómez García
d56ce0c653 advancing on notifications 2022-05-15 22:48:17 +02:00
Adolfo Gómez García
801a4ef1a7 Adding level to notifiers and fixed up admin angular 2022-05-15 22:25:17 +02:00
Adolfo Gómez García
12c32bde14 fixed SAML auth 2022-05-10 15:35:52 +02:00
Adolfo Gómez García
002b51a656 Merge remote-tracking branch 'origin/v3.5' 2022-05-10 15:32:28 +02:00
Adolfo Gómez García
dd98ba5653 Remove clear of session on login (nonsense)0 2022-05-10 15:31:29 +02:00
Adolfo Gómez García
3405797bb8 Adding messaging 2022-05-09 21:04:36 +02:00
Adolfo Gómez García
5ce7d008e6 Merge remote-tracking branch 'origin/v3.5' 2022-04-29 16:06:12 +02:00
Adolfo Gómez García
0fe5b32224 Fixed RDP usb redir 2022-04-29 14:59:16 +02:00
Adolfo Gómez García
3ff7d1ea88 Changed script name to be authCallback URL 2022-04-28 18:16:22 +02:00
Adolfo Gómez García
91921537ce Adding tests 2022-04-27 00:37:23 +02:00
Adolfo Gómez García
0f587a4ec1 Merge remote-tracking branch 'origin/v3.5' 2022-04-25 14:31:45 +02:00
Adolfo Gómez García
a0adc1ded3 redirect to logout 2022-04-25 14:29:40 +02:00
Adolfo Gómez García
4f5cc505d3 redirect to logout 2022-04-25 14:28:18 +02:00
Adolfo Gómez García
8bac68b55b Fixed locked on machines_multi 2022-04-25 14:23:46 +02:00
Adolfo Gómez García
b5412e70fd Fixed Lock of service multi 2022-04-25 14:18:46 +02:00
Adolfo Gómez García
6a178478b4 Updated signatures for type checking on all models 2022-04-24 19:07:44 +02:00
Adolfo Gómez García
f3af6a13ff Merge remote-tracking branch 'origin/v3.5' 2022-04-24 17:14:33 +02:00
Adolfo Gómez García
75cd3c4845 Chanced a couple of declarations 2022-04-24 17:13:38 +02:00
Adolfo Gómez García
4067a5c423 Updating typy hints, etc... 2022-04-24 17:04:47 +02:00
Adolfo Gómez García
fbd7edf709 updating rest 2022-04-24 16:54:07 +02:00
Adolfo Gómez García
e8400b8702 updating models 2022-04-24 16:53:10 +02:00
Adolfo Gómez García
e8c45b568d Fixing up some typos 2022-04-24 16:52:45 +02:00
Adolfo Gómez García
3a16b75e82 fixed requests typo 2022-04-23 20:29:12 +02:00
Adolfo Gómez García
586e1c3789 moving REST dispatcher to its own file 2022-04-23 20:23:28 +02:00
Adolfo Gómez García
67f115e50f Merge remote-tracking branch 'origin/v3.5' 2022-04-12 22:54:01 +02:00
Adolfo Gómez García
540a2b83be Added brand to configjs so we can use it on a future 2022-04-12 22:30:32 +02:00
Adolfo Gómez García
b0255a980c Merge remote-tracking branch 'origin/v3.5' 2022-04-12 21:37:06 +02:00
Adolfo Gómez García
aa4d157c30 Fixed request session timeout 2022-04-12 21:36:17 +02:00
Adolfo Gómez García
aaa0f004ee Merge remote-tracking branch 'origin/v3.5' 2022-04-12 14:34:19 +02:00
Adolfo Gómez García
69ca93586a Fixed transport & groups deletion 2022-04-12 14:34:06 +02:00
Adolfo Gómez García
5a47d09c1a Merge remote-tracking branch 'origin/v3.5' 2022-04-08 15:29:49 +02:00
Adolfo Gómez García
cf283bba0f Fixed calendar action delete all groups 2022-04-08 15:29:13 +02:00
Adolfo Gómez García
0525bd4317 Merge remote-tracking branch 'origin/v3.5' 2022-04-06 21:32:31 +02:00
Adolfo Gómez García
9abaada7cb Fixed perms 2022-04-06 21:32:16 +02:00
Adolfo Gómez García
b359892454 images 2022-04-06 20:19:11 +02:00
Adolfo Gómez García
7d5ff93946 Merge remote-tracking branch 'origin/v3.5' 2022-04-06 14:22:53 +02:00
Adolfo Gómez García
927a86c835 Added USB redirection policy for windows 2022-04-06 14:21:52 +02:00
Adolfo Gómez García
4e78c2837c Fixed address passing 2022-04-04 21:20:22 +02:00
Adolfo Gómez García
502cebfc3a Merge remote-tracking branch 'origin/v3.5' 2022-04-04 21:16:37 +02:00
Adolfo Gómez García
2b5aa9c9a4 Fixed address passing to tunnel 2022-04-04 21:12:54 +02:00
Adolfo Gómez García
0f3f50f63c Added ThreadPoolExecutor to check handshakes... 2022-03-30 15:54:09 +02:00
Adolfo Gómez García
69192a2a1b Merge remote-tracking branch 'origin/v3.5' 2022-03-30 15:43:38 +02:00
Adolfo Gómez García
0ca85c5749 Changed check handshake method 2022-03-30 15:43:30 +02:00
Adolfo Gómez García
b3047e366d Fixed 3.5 tunnel DOS attacks tolerance 2022-03-30 15:11:00 +02:00
Adolfo Gómez García
4577552773 Fixed log 2022-03-29 22:36:27 +02:00
Adolfo Gómez García
bec985e360 Restored timeout 2022-03-29 22:14:18 +02:00
Adolfo Gómez García
ccb2dfbdbe Merge remote-tracking branch 'origin/v3.5' 2022-03-29 22:13:50 +02:00
Adolfo Gómez García
d2ef6e3704 Restored timeout 2022-03-29 22:12:43 +02:00
Adolfo Gómez García
b50b27d96e Remove external timeout 2022-03-29 22:06:17 +02:00
Adolfo Gómez García
bf4bb3f704 Merge remote-tracking branch 'origin/v3.5' 2022-03-29 22:01:32 +02:00
Adolfo Gómez García
5fb4461934 Remove external timeout 2022-03-29 22:01:10 +02:00
Adolfo Gómez García
5b4d017c53 Merge branch 'master' of github.com:dkmstr/openuds 2022-03-29 13:10:46 +02:00
Adolfo Gómez García
70b3544f2a added timeout to oppened tunnel to avoid possible DOS 2022-03-29 13:10:37 +02:00
Adolfo Gómez García
564b9db013 Merge remote-tracking branch 'origin/v3.5' 2022-03-29 13:08:54 +02:00
Adolfo Gómez García
1ff0a623db added timeout to oppened tunnel to avoid possible DOS 2022-03-29 13:08:49 +02:00
Adolfo Gómez García
2f5f87e122 added timeout to oppened tunnel to avoid possible DOS 2022-03-29 13:08:34 +02:00
Adolfo Gómez García
a9c32debd2 Merge remote-tracking branch 'origin/v3.5' 2022-03-28 14:00:20 +02:00
Adolfo Gómez García
d9be83863c increaded backlog 2022-03-28 13:59:37 +02:00
Adolfo Gómez García
c675acc2e7 increaded backlog 2022-03-28 13:58:56 +02:00
Adolfo Gómez García
5fed04d64d Included request on parameters, needed on 3.5 2022-03-24 14:21:20 +01:00
Adolfo Gómez García
0662100c30 Merge remote-tracking branch 'origin/v3.5' 2022-03-23 21:34:29 +01:00
Adolfo Gómez García
8a2e2deaf1 small phisical machine fix 2022-03-23 21:32:29 +01:00
Adolfo Gómez García
86990638dc Added new count method for LIMITED services 2022-03-23 21:28:49 +01:00
Adolfo Gómez García
74ad88d1bc Merge remote-tracking branch 'origin/v3.5' 2022-03-21 15:09:29 +01:00
Adolfo Gómez García
40b9572233 fixed tunnel to log bad handshake as hex 2022-03-21 15:08:39 +01:00
Adolfo Gómez García
de71785c76 Merge remote-tracking branch 'origin/v3.5' 2022-03-20 23:10:43 +01:00
Adolfo Gómez García
27cbf920d5 Fixed a couple of things 2022-03-20 23:10:35 +01:00
Adolfo Gómez García
5836b33299 Added new way of counting "active" machines (taking into account the removable and removing services also) 2022-03-17 14:53:32 +01:00
Adolfo Gómez García
9ca143c2db Merge remote-tracking branch 'origin/v3.5' 2022-03-15 20:26:02 +01:00
Adolfo Gómez García
282495ce0f Fixed OSS 2022-03-15 20:22:13 +01:00
Adolfo Gómez García
2b33ffc656 Fixed OSS 2022-03-15 20:07:19 +01:00
Adolfo Gómez García
72700075ef Small tunnel fix 2022-03-15 16:33:15 +01:00
Adolfo Gómez García
ccdd15ed50 Merge remote-tracking branch 'origin/v3.5' 2022-03-15 16:30:23 +01:00
Adolfo Gómez García
e0149900a7 Added protection on broken pipe to tunnel 2022-03-15 16:28:13 +01:00
Adolfo Gómez García
7bed6ac171 Small tunnel fix and installer info 2022-03-15 13:38:50 +01:00
Adolfo Gómez García
1d62dbbacd Added new admin interface supporting notifiers 2022-03-14 20:59:04 +01:00
Adolfo Gómez García
d04068e19f Creating notifiers 2022-03-14 17:03:00 +01:00
Adolfo Gómez García
66aa7ccef3 small type checking fix 2022-03-14 14:44:16 +01:00
Adolfo Gómez García
c0c54f9ccd Merge remote-tracking branch 'origin/v3.5' 2022-03-14 14:43:57 +01:00
Adolfo Gómez García
0d77e86af2 small type checking fix 2022-03-14 14:42:40 +01:00
Adolfo Gómez García
b41a8e38cf Fixed GetRootUser 2022-03-13 15:41:45 +01:00
Adolfo Gómez García
410b0952e9 fixed "autoimported" module 2022-03-13 15:02:07 +01:00
Adolfo Gómez García
b9f57c47b0 Adde generic factory and added module loader to jobs 2022-03-11 16:39:39 +01:00
Adolfo Gómez García
07b0b00b90 Done refactoring module loader 2022-03-10 21:05:59 +01:00
Adolfo Gómez García
6e69246ca8 Added moduleLoaders to almost everything now 2022-03-10 20:32:40 +01:00
Adolfo Gómez García
a5554ed85a Adding generic importers to simplify module loading 2022-03-10 18:58:16 +01:00
Adolfo Gómez García
6c17b77841 Addded generic Factory for UDS Modules 2022-03-09 23:17:19 +01:00
Adolfo Gómez García
05a04997d6 Improved passwords security on DB 2022-03-07 23:10:10 +01:00
Adolfo Gómez García
b477b78d61 Merge remote-tracking branch 'origin/v3.5' 2022-03-06 15:41:26 +01:00
Adolfo Gómez García
a179522f4c Fixed crypto key loading 2022-03-06 15:40:49 +01:00
Adolfo Gómez García
2b6193a1ec Fixed SAMLResponse conversion under some circunstances 2022-03-02 15:51:59 +01:00
Adolfo Gómez García
0e257c779b Converted HTTP-POSt to HTTP-Request on SAML logout 2022-03-01 12:58:09 +01:00
Adolfo Gómez García
43eb09e9e2 Fixed logout binding to redirect 2022-02-28 16:48:01 +01:00
Adolfo Gómez García
6eab070bd1 Merge remote-tracking branch 'origin/v3.5' 2022-02-27 23:42:42 +01:00
Adolfo Gómez García
21c2976d82 Fixed copyright for debian 2022-02-27 23:41:50 +01:00
Adolfo Gómez García
3f148f3bf0 notifications table 2022-02-25 03:05:27 +01:00
Adolfo Gómez García
f3c2015210 Fixed migrations from 3.5 2022-02-25 03:02:54 +01:00
Adolfo Gómez García
afd653422e Merge remote-tracking branch 'origin/v3.5' 2022-02-23 21:57:08 +01:00
Adolfo Gómez García
ee30ab4604 Fixed authcallbacks 2022-02-23 21:54:23 +01:00
Adolfo Gómez García
aad3336717 Migrated SAML auth to OneLogin library 2022-02-23 21:10:45 +01:00
Adolfo Gómez García
29e1694fce Removed lasso and added OneLogin saml library 2022-02-23 16:56:54 +01:00
Adolfo Gómez García
1fba4d3f9f Fixed check of ip 2022-02-23 14:17:29 +01:00
Adolfo Gómez García
5084fec43f Fixed SQLITE DB problems 2022-02-22 13:26:24 +01:00
Adolfo Gómez García
0ce1a565ab merged 3.5 temporal fix for login redirection 2022-02-21 14:34:58 +01:00
Adolfo Gómez García
6cc1a8823d Merge remote-tracking branch 'origin/v3.5' 2022-02-21 14:29:08 +01:00
Adolfo Gómez García
04e24d406f Added small fix to allow tempora user redirect 2022-02-21 14:28:49 +01:00
Adolfo Gómez García
3667c82529 added a new ldap constant to ldaputil 2022-02-20 00:24:38 +01:00
Adolfo Gómez García
8cd050f71d Fixed changes to allow redirects 2022-02-19 16:08:11 +01:00
Adolfo Gómez García
88905b4e63 Refactor of assigned an unused 2022-02-18 15:51:49 +01:00
Adolfo Gómez García
67db932b0f Updating authentication response methods to include a possible url on login failure 2022-02-17 21:44:10 +01:00
Adolfo Gómez García
1be8edec92 Added getRootDSE method to ldaputils 2022-02-17 15:50:27 +01:00
Adolfo Gómez García
65087f5d47 Added SAML auth as open 2022-02-16 21:12:48 +01:00
Adolfo Gómez García
5388d03213 gitignore al ldaputil small comment fix 2022-02-15 22:44:09 +01:00
Adolfo Gómez García
6da7a4134e Merge remote-tracking branch 'origin/v3.5' 2022-02-15 22:43:33 +01:00
Adolfo Gómez García
f58ef9b6d3 Removed sympy inclusion err 2022-02-15 15:16:04 +01:00
Adolfo Gómez García
18d4147d59 Changed OS Detection system 2022-02-15 15:05:55 +01:00
Adolfo Gómez García
b77330ac8f Added base notification mechanics 2022-02-13 19:38:40 +01:00
Adolfo Gómez García
7fca229537 Merge remote-tracking branch 'origin/v3.5' 2022-02-10 14:47:06 +01:00
Adolfo Gómez García
ccd429454e Updated translations due to recent fixes 2022-02-10 14:46:27 +01:00
Adolfo Gómez García
a2e5e00aa6 Merge remote-tracking branch 'origin/v3.5' 2022-02-10 13:33:50 +01:00
Adolfo Gómez García
5ce7ddc3a7 Fixed HTML5 transports and advanced tab translation for label 2022-02-10 13:32:05 +01:00
Adolfo Gómez García
02fcff2c94 refactorized alerts to messaging 2022-02-08 21:30:00 +01:00
Adolfo Gómez García
9e5b06e835 Adding notifier to allow sending some kind of event to outside recipients (as emails, telegram, ...) 2022-02-08 20:24:34 +01:00
Adolfo Gómez García
c7f96251ac Added level to notifier 2022-02-08 19:08:46 +01:00
Adolfo Gómez García
1b9fd22ba1 Merge remote-tracking branch 'origin/v3.5' 2022-02-07 16:12:51 +01:00
Adolfo Gómez García
3dd73f4723 Vertical label now appears "badly" with waseyprint. Disabled by now 2022-02-07 16:02:16 +01:00
Adolfo Gómez García
c3531f3e7e Fixed saving stats events (field conversion ignored original field name) 2022-02-07 15:54:38 +01:00
Adolfo Gómez García
fdd1b7235a Adding notifier base model. This will allow us to send remote notifications 2022-02-07 13:23:58 +01:00
Adolfo Gómez García
0d50e5ef93 Merged 3.5 fix on migrations 2022-02-06 04:02:38 +01:00
Adolfo Gómez García
ba7b1c0198 Fixed 0038 migration to include config moving 2022-02-06 04:01:29 +01:00
Adolfo Gómez García
c4a886c28d Fixed squashed migrations 2022-02-06 03:58:54 +01:00
Adolfo Gómez García
0355ef9591 squashed all previous to 3.5 migrations 2022-02-06 03:44:59 +01:00
Adolfo Gómez García
e0fa75cb00 squashed all previous to 3.5 migrations 2022-02-06 03:44:49 +01:00
Adolfo Gómez García
3b991e0749 Fixed ip lengths to allow future ipv6 support 2022-02-06 03:24:38 +01:00
Adolfo Gómez García
dd4dc738b4 Merge remote-tracking branch 'origin/v3.5' 2022-02-05 17:51:06 +01:00
Adolfo Gómez García
d5c9ee341d Fixed tunnel version 2022-02-05 17:50:55 +01:00
Adolfo Gómez García
ba90dae5d6 Fixed Tunnel version 2022-02-05 17:50:34 +01:00
Adolfo Gómez García
f58cc159a7 Removed comments of old code 2022-02-05 17:31:31 +01:00
Adolfo Gómez García
fee413aa23 Added basic HA check on metapools, after adding "isAvailable" to all existing services 2022-02-01 16:16:57 +01:00
Adolfo Gómez García
189db28dc5 Added migration to add HA to metapool 2022-02-01 16:05:44 +01:00
Adolfo Gómez García
86a237ccac Homogenized services response dict 2022-02-01 15:47:29 +01:00
Adolfo Gómez García
9041e48080 Added end notification to UDS 2022-02-01 13:49:34 +01:00
Adolfo Gómez García
4893fa4fbe Fixed counters 2022-02-01 13:10:13 +01:00
Adolfo Gómez García
082ef6830d Merge remote-tracking branch 'origin/v3.5' 2022-01-30 19:34:19 +01:00
Adolfo Gómez García
f7cd474264 Fixed double open on meta poools 2022-01-30 18:21:32 +01:00
Adolfo Gómez García
2a7b112437 Merge remote-tracking branch 'origin/v3.5' 2022-01-29 21:45:46 +01:00
Adolfo Gómez García
a4390f7918 upgrading service 2022-01-29 21:44:14 +01:00
Adolfo Gómez García
a255b52628 added info (apart of prefix to uuid) if pool is meta or not 2022-01-29 21:43:14 +01:00
Adolfo Gómez García
8d93144e24 Fixed meta pools non being correctly checked 2022-01-28 11:54:18 +01:00
Adolfo Gómez García
27d158f514 Fixed metapool admin 2022-01-28 11:14:32 +01:00
Adolfo Gómez García
e043a79721 Ported to asyncio uds tunnel. 2022-01-27 13:10:07 +01:00
Adolfo Gómez García
2f37caaf22 Merge remote-tracking branch 'origin/v3.5' 2022-01-27 12:17:16 +01:00
Adolfo Gómez García
2b4e771709 Fixed autorun check from api 2022-01-27 12:17:00 +01:00
Adolfo Gómez García
77b6eff8e4 Removing curio from tunneler, so we do not have an unneeded dependency 2022-01-26 14:32:41 +01:00
Adolfo Gómez García
7d8ae689b5 Moving from curio to asyncio. 2022-01-26 12:18:41 +01:00
Adolfo Gómez García
143b9b675b Merge remote-tracking branch 'origin/v3.5' 2022-01-21 12:07:24 +01:00
Adolfo Gómez García
3ebc0dd26f Fixed certs locations for some platforms 2022-01-21 12:04:54 +01:00
Adolfo Gómez García
ecb876157a small fix 2022-01-20 11:16:23 +01:00
Adolfo Gómez García
f40c2ed618 Added isAvailable for all services 2022-01-19 14:11:37 +01:00
Adolfo Gómez García
61a32e13a2 Merge remote-tracking branch 'origin/v3.5' 2022-01-18 14:12:47 +01:00
Adolfo Gómez García
79739bf9b8 Removed unused .desktop file for thinpro 2022-01-18 14:12:31 +01:00
Adolfo Gómez García
c14ae284b6 Merge remote-tracking branch 'origin/v3.5' 2022-01-18 13:34:46 +01:00
Adolfo Gómez García
f702c144fc small thinpro fix 2022-01-18 13:34:33 +01:00
Adolfo Gómez García
7fc51ce513 Added isAvailable for more services 2022-01-18 13:21:44 +01:00
Adolfo Gómez García
0208c9b3f9 Merge remote-tracking branch 'origin/v3.5' 2022-01-18 13:18:43 +01:00
Adolfo Gómez García
ce2d2b1c2e added installer for thinpro 7.2 2022-01-18 13:18:24 +01:00
Adolfo Gómez García
18a49cece3 Merge remote-tracking branch 'origin/v3.5' 2022-01-18 11:44:16 +01:00
Adolfo Gómez García
790c204b6a fixed uds client actor launching 2022-01-17 13:46:14 +01:00
Adolfo Gómez García
d80cf4052e removed -s 2022-01-17 13:43:51 +01:00
Adolfo Gómez García
03cdec8c31 Merge remote-tracking branch 'origin/v3.5' 2022-01-14 14:26:08 +01:00
Adolfo Gómez García
6a86b0ff04 Updated translations 2022-01-14 12:37:14 +01:00
Adolfo Gómez García
1667c8b4a8 adding "isAvaliable" method for services 2022-01-13 13:32:36 +01:00
Adolfo Gómez García
8018c7bed7 Merge remote-tracking branch 'origin/v3.5' 2022-01-12 13:35:02 +01:00
Adolfo Gómez García
0d412c4a9a Modified thinpro image tar from bz2 to gz 2022-01-12 13:25:26 +01:00
Adolfo Gómez García
ac9e6dafdf added thinpro installer generator 2022-01-12 13:20:33 +01:00
Adolfo Gómez García
58f4cd8356 Merge remote-tracking branch 'origin/v1.5' 2022-01-12 12:08:50 +01:00
Adolfo Gómez García
efd0ca3f88 Fixed tunnel stop comms 2022-01-11 15:36:18 +01:00
Adolfo Gómez García
edb4a32496 Updated translations 2022-01-10 14:34:09 +01:00
Adolfo Gómez García
e41c0f32bb Merge remote-tracking branch 'origin/v3.5' 2022-01-04 10:39:12 +01:00
Adolfo Gómez García
b239ff6cab Removed "harcoded" msrdc path for mac 2022-01-04 10:38:30 +01:00
Adolfo Gómez García
5de90bf421 Merge remote-tracking branch 'origin/v3.5' 2022-01-03 14:36:06 +01:00
Adolfo Gómez García
d55d1bc619 Added localized MSRDP as possible path 2022-01-03 14:35:48 +01:00
Adolfo Gómez García
493abb6228 Merge remote-tracking branch 'origin/v3.5' 2022-01-03 14:24:07 +01:00
Adolfo Gómez García
917a201483 Added localized MSRDP as possible path 2022-01-03 14:23:52 +01:00
Adolfo Gómez García
a071e2e8f5 Merge remote-tracking branch 'origin/v3.5' 2022-01-03 14:10:26 +01:00
Adolfo Gómez García
4809252434 Changed concurrent removal to take into account real removals, not removal checks 2022-01-03 14:07:46 +01:00
Adolfo Gómez García
12e74c16b5 * Explained why stop shuld be ignored if no user service is found
* Small type checking addons
* Added method to allow "check" the availability of a service, currently used before removal
* Fixed removal so concurrent removal refers to real removals, not to marked for removal
2022-01-03 14:02:41 +01:00
Adolfo Gómez García
6d873ceccd Merge remote-tracking branch 'origin/v3.5' 2021-12-22 14:05:47 +01:00
Adolfo Gómez García
8be0d9702a Fixed sessions providers for html5rdp 2021-12-22 14:04:49 +01:00
Adolfo Gómez García
26f45b429f Merge remote-tracking branch 'origin/v3.5' 2021-12-22 13:37:06 +01:00
Adolfo Gómez García
36acb0b0c0 Fixed transports sorting on metapools 2021-12-22 13:10:07 +01:00
Adolfo Gómez García
420b78d45d Fixed STOP "eating" on application stop 2021-12-21 15:58:46 +01:00
Adolfo Gómez García
e1ccc62dab Fixed minvalue for max services 2021-12-21 15:53:35 +01:00
Adolfo Gómez García
49b2bd8772 Merge remote-tracking branch 'origin/v3.5' 2021-12-21 11:19:47 +01:00
Adolfo Gómez García
6b0d98d4eb Fixed radius auth not using "appliaction Prefix" for extracting groups from Class Attribute (now accepts group=... and {appPrefix}group=.... as group markers 2021-12-21 11:14:57 +01:00
Adolfo Gómez García
354061f55c Merge remote-tracking branch 'origin/v3.5' 2021-12-20 12:12:28 +01:00
Adolfo Gómez García
7bec7bd7cc Fixed HTMLRDP for access to RDP session with automanaged users 2021-12-20 12:04:16 +01:00
Adolfo Gómez García
49975ab5d2 Upgrading for new django 4.0 2021-12-10 15:12:32 +01:00
Adolfo Gómez García
44f219402e removed orjson, uds uses numbers as key on dict and orjson does not supports it 2021-12-10 13:45:49 +01:00
Adolfo Gómez García
b3a8ae8abe Migrating to Django 4.0 (fixes) 2021-12-10 13:41:10 +01:00
Adolfo Gómez García
9ac2aaef81 Improved AutoAttributes & small typo fix on proxmox publication 2021-12-10 13:06:33 +01:00
Adolfo Gómez García
de0a2e2a34 Merge remote-tracking branch 'origin/v3.5' 2021-12-10 13:05:45 +01:00
Adolfo Gómez García
270957fab5 Updated settings sample 2021-12-10 13:04:54 +01:00
Adolfo Gómez García
1702cd910a Merge remote-tracking branch 'origin/v3.5' 2021-11-30 13:54:33 +01:00
Adolfo Gómez García
47c6ca42f1 added Content-Security-Policy to security 2021-11-30 13:54:15 +01:00
Adolfo Gómez García
78639af1a5 Merge remote-tracking branch 'origin/v3.5' 2021-11-30 13:32:56 +01:00
Adolfo Gómez García
c1f6ed376b added Content-Security-Policy to security 2021-11-30 13:32:37 +01:00
Adolfo Gómez García
8bebce4c6e added Content-Security-Policy to security 2021-11-30 13:31:12 +01:00
Adolfo Gómez García
e18f3746b4 Merge remote-tracking branch 'origin/v3.5' 2021-11-30 12:30:31 +01:00
Adolfo Gómez García
250ade6aee Fixed assignement of new services if pool is at 100% usage 2021-11-30 12:18:04 +01:00
Adolfo Gómez García
10bde45004 Merge remote-tracking branch 'origin/v3.5' 2021-11-26 11:59:07 +01:00
Adolfo Gómez García
bde63f7b4f Added check for database connection problem on config 2021-11-26 11:52:49 +01:00
Adolfo Gómez García
057a26ea7b Completed network filtering for authentication, and improbed network filtering on transports (better undestanding now) 2021-11-23 11:55:55 +01:00
Adolfo Gómez García
e8dae69f6f Several actiosn:
* Added Disabled as an option state for an authenticator
* Added networks to check source to authenticators
* Generalized network access, now is usable from transports and from authenticators
* Fixed configjs to adapt to new model
2021-11-22 13:39:08 +01:00
Adolfo Gómez García
91923654f0 Added orjson as json "first option" for REST API (python json else) 2021-11-21 18:10:49 +01:00
Adolfo Gómez García
a0365e1277 Merge remote-tracking branch 'origin/v3.5' 2021-11-19 14:14:12 +01:00
Adolfo Gómez García
eb4be53508 Fixed cache time and points on system chart info 2021-11-19 14:10:36 +01:00
Adolfo Gómez García
3003066a91 Removed "erroring" machine is it has any exception on connection 2021-11-18 15:35:04 +01:00
Adolfo Gómez García
10805ded7e Removed "erroring" machine is it has any exception on connection 2021-11-18 15:26:23 +01:00
Adolfo Gómez García
4b6ad6a2ed Merge remote-tracking branch 'origin/v3.5' 2021-11-16 14:20:07 +01:00
Adolfo Gómez García
21c221a6db Added check for circular connections on Xen when using backup server 2021-11-16 14:19:46 +01:00
Adolfo Gómez García
1857134f42 Fixed admin 2021-11-15 12:15:06 +01:00
Adolfo Gómez García
e06f13fc84 Updating validators 2021-11-12 12:14:16 +01:00
Adolfo Gómez García
6a14917ec5 Updating validators 2021-11-12 11:35:09 +01:00
Adolfo Gómez García
85aab86b02 Fixed token length and remade migration 2021-11-12 10:48:11 +01:00
Adolfo Gómez García
eeae98ca79 Added token alias to secure unmanaged machine token 2021-11-11 13:50:58 +01:00
Adolfo Gómez García
11f6eec913 Merge remote-tracking branch 'origin/v3.5' 2021-11-11 12:07:49 +01:00
Adolfo Gómez García
835dc05e63 Added scheduled action to pool so we can remove "old assigned machines" with a programmed action 2021-11-11 12:07:19 +01:00
Adolfo Gómez García
e4d40b651e Merge remote-tracking branch 'origin/v3.5' 2021-11-10 10:57:09 +01:00
Adolfo Gómez García
4cc4af5bd1 Fixed special case for admin form field of numeric fields without limits 2021-11-10 10:56:05 +01:00
Adolfo Gómez García
986a82f225 Fixed special case for admin form field of numeric fields without limits 2021-11-10 10:32:15 +01:00
Adolfo Gómez García
a05390ed6c Merge remote-tracking branch 'origin/v3.5' 2021-11-08 13:48:17 +01:00
Adolfo Gómez García
90b64c1721 Changed parameter _USERNAME_ for _USER_ on URL Transport (as in tooltip) 2021-11-08 13:28:09 +01:00
Adolfo Gómez García
c89c8d0523 Merge remote-tracking branch 'origin/v3.5' 2021-11-08 13:20:11 +01:00
Adolfo Gómez García
f403d4ff3e Fixed Min-Max admin values checking && set proxmox vmid as readonly 2021-11-08 13:18:58 +01:00
Adolfo Gómez García
c5071cf348 Fixed Min-Max admin values checking && set proxmox vmid as readonly 2021-11-08 13:16:44 +01:00
Adolfo Gómez García
7f4453bd37 Added stats to udsfs 2021-11-08 11:55:59 +01:00
Adolfo Gómez García
e3568bc580 Updating UDSFS 2021-11-05 12:51:04 +01:00
Adolfo Gómez García
f273d262ac A few more advancements 2021-11-04 14:03:17 +01:00
Adolfo Gómez García
b55df32db0 Advancing on UDSFS 2021-11-04 12:46:40 +01:00
Adolfo Gómez García
6792283e44 Merge remote-tracking branch 'origin/v3.5' 2021-11-03 15:21:43 +01:00
Adolfo Gómez García
679956702b Fixed legacy textx 2021-11-03 14:54:58 +01:00
Adolfo Gómez García
98d7a24656 Fixed check certificate on python 3.6 2021-11-03 14:39:58 +01:00
Adolfo Gómez García
33764e5c1c Merge remote-tracking branch 'origin/v3.5' 2021-11-02 11:59:09 +01:00
Adolfo Gómez García
b67771d5f3 Fixed HTMLRDP parameters 2021-11-02 11:56:21 +01:00
Adolfo Gómez García
2d1897f720 Merge remote-tracking branch 'origin/v3.5' 2021-11-02 11:06:06 +01:00
Adolfo Gómez García
672c35c903 Fixed admin date && updated translations 2021-11-02 11:05:38 +01:00
Adolfo Gómez García
be013ac6dc Adding type checking on fuse before proceding to use it 2021-11-01 22:28:45 +01:00
Adolfo Gómez García
398837c20f Adding type checking on fuse before proceding to use it 2021-11-01 22:26:18 +01:00
Adolfo Gómez García
a6f1e95cc0 Adding type checking on fuse before proceding to use it 2021-11-01 18:44:11 +01:00
Adolfo Gómez García
a957e368e7 Experimenting with use for adding an "UDS FS" so we can explore several UDS contained data easily 2021-11-01 00:40:54 +01:00
Adolfo Gómez García
6df1bc0a50 Removed Legacy client messages from frontend 2021-10-29 11:38:39 +02:00
Adolfo Gómez García
937465b2f2 Adding stats events for os manager relevant events (init, ready and release right now) 2021-10-28 16:17:26 +02:00
Adolfo Gómez García
e9df8c5cb1 Merge remote-tracking branch 'origin/v3.5' 2021-10-28 12:39:59 +02:00
Adolfo Gómez García
01119d1914 Fixed armhf appimage generation 2021-10-28 11:19:49 +02:00
Adolfo Gómez García
4f107ad464 Cleaning up things 2021-10-27 16:27:03 +02:00
Adolfo Gómez García
5b5a4e31e7 Merge remote-tracking branch 'origin/v3.5' 2021-10-27 13:06:45 +02:00
Adolfo Gómez García
98685c6e6a added back notifiedReady 2021-10-27 13:06:39 +02:00
Adolfo Gómez García
a4d1ecb95f Added call to "notifyReady" on osmanager ready notification 2021-10-27 13:05:41 +02:00
Adolfo Gómez García
cb064f9af5 Removing all actor 2.2 support 2021-10-27 12:54:45 +02:00
Adolfo Gómez García
604f1c4a89 Removing old UDS Actor 2.2 support 2021-10-27 12:20:41 +02:00
Adolfo Gómez García
590f3191ac Removing "globalRequest" cache and passing through received request object to authenticators 2021-10-26 21:15:07 +02:00
Adolfo Gómez García
e999e5acf8 Removed outdated documentation 2021-10-26 16:31:54 +02:00
Adolfo Gómez García
101f846f0d Merge remote-tracking branch 'origin/v3.5' 2021-10-25 14:45:18 +02:00
Adolfo Gómez García
237f7e5b77 Added igel port 2021-10-25 14:42:42 +02:00
Adolfo Gómez García
edb74ab9c6 Removed "legacy" 2.7 UDS Client (not working anymore on 3.5)
Fixed igel templates
2021-10-25 14:36:14 +02:00
Adolfo Gómez García
3ec0c15039 Merge remote-tracking branch 'origin/v3.5' 2021-10-25 14:07:39 +02:00
Adolfo Gómez García
86eb1a9421 Added "cloud marked" icons for tunneled transports 2021-10-25 12:56:18 +02:00
Adolfo Gómez García
ce433c0661 Merge remote-tracking branch 'origin/v3.5' 2021-10-23 22:37:07 +02:00
Adolfo Gómez García
c09ea0eb63 Moved security part from request to security middleware 2021-10-23 22:36:12 +02:00
Adolfo Gómez García
b185024aeb Merge remote-tracking branch 'origin/v3.5' 2021-10-22 14:41:24 +02:00
Adolfo Gómez García
ea79ccbee1 Added igel package creation scripts 2021-10-22 14:37:53 +02:00
Adolfo Gómez García
3a9312efe0 Fixed requests "getIdent" to retorn an unique id even in case of running as a asyncio task 2021-10-20 21:52:30 +02:00
Adolfo Gómez García
27535d4b43 Merge remote-tracking branch 'origin/v3.5' 2021-10-19 18:23:31 +02:00
Adolfo Gómez García
da82a26dd8 Now when we save a service pool, ensures that max_srvs is at leat 1 for services with cache 2021-10-19 18:21:32 +02:00
Adolfo Gómez García
1eeab5f75f Merge remote-tracking branch 'origin/v3.5' 2021-10-18 18:01:27 +02:00
Adolfo Gómez García
c129c83ca0 Added -s also to udsactor user space 2021-10-18 18:00:05 +02:00
Adolfo Gómez García
b2adafdec7 Merge remote-tracking branch 'origin/v3.5' 2021-10-18 17:17:16 +02:00
Adolfo Gómez García
d8e6de8c1e Removed unused variable 2021-10-18 17:16:17 +02:00
Adolfo Gómez García
9c6a72d3ac Merge remote-tracking branch 'origin/v3.5' 2021-10-18 17:09:00 +02:00
Adolfo Gómez García
e0d79cb590 Added -s to UDSClient python3 parameter, so local libs does not interfere with package 2021-10-18 17:04:44 +02:00
Adolfo Gómez García
59bd6c1649 Reversed the order for change password on 3.5 UDS 2021-10-18 16:59:59 +02:00
Adolfo Gómez García
564f0e17de added check for "emtpy" usernames or groups on creation 2021-10-18 13:05:53 +02:00
Adolfo Gómez García
842212f186 Removed ssh-tunnel not used on 3.5 release 2021-10-17 01:43:01 +02:00
Adolfo Gómez García
11342914cc Merge remote-tracking branch 'origin/v3.5' 2021-10-15 10:58:11 +02:00
Adolfo Gómez García
e4b609c4ce Fixed key for debian packages on client appimage recipe 2021-10-15 10:57:43 +02:00
Adolfo Gómez García
741855030f Removed "prints" :) 2021-10-15 10:44:22 +02:00
Adolfo Gómez García
293b7f02ad added small comment for future to actor v3 2021-10-13 11:19:44 +02:00
Adolfo Gómez García
fddd54fa99 Added correcto management of "logout" in case of an unmanaged machine "reboot" 2021-10-08 12:30:00 +02:00
Adolfo Gómez García
cd640af37f Added correcto management of "logout" in case of an unmanaged machine "reboot" 2021-10-08 12:28:37 +02:00
Adolfo Gómez García
b2f2deebce Merge remote-tracking branch 'origin/v3.5' 2021-10-08 00:57:22 +02:00
Adolfo Gómez García
6f99b63731 Locales 2021-10-08 00:57:08 +02:00
Adolfo Gómez García
6b3355f819 Added locking multi_ip machines if accessed from outside UDS flag & logic 2021-10-07 13:47:03 +02:00
Adolfo Gómez García
660cfdcd0e Adding console login/logout logic on static machines 2021-10-07 12:49:40 +02:00
Adolfo Gómez García
47df6c58fc Cosmetic chage to actorv3 2021-10-06 15:21:50 +02:00
Adolfo Gómez García
91c90766a3 Updated translations 2021-10-06 15:10:35 +02:00
Adolfo Gómez García
840a7a02bd Merge remote-tracking branch 'origin/v3.5' 2021-10-06 12:39:06 +02:00
Adolfo Gómez García
2a834460d1 Fixing up html5rdp 2021-10-06 12:38:45 +02:00
Adolfo Gómez García
f80b00667e Upgrading versions 2021-10-05 13:26:55 +02:00
Adolfo Gómez García
ef9325aab9 Start of v4.0. 3.5 is closed now 2021-10-05 12:29:29 +02:00
Adolfo Gómez García
5bd77676ca Fixed log of user correctly authenticated, but not belongs to any group 2021-10-05 12:23:13 +02:00
Adolfo Gómez García
8ef97a7773 Fix for client with python 3.6 2021-10-01 12:35:20 +02:00
Adolfo Gómez García
abafa7bfac Added group state "Inactive" 2021-09-29 14:50:40 +02:00
Adolfo Gómez García
dcb7b3e28e Make 3.5 client compatible with python 3.6 2021-09-29 13:42:26 +02:00
Adolfo Gómez García
41aa22fadd Removed optional parameter "transport" from ticket REST api creation. This is due to the fact than the transport needs to be checked on Client browser (user ip, SO, etc...) 2021-09-29 11:04:51 +02:00
Adolfo Gómez García
d02974ad87 Error page was not displayed correctly 2021-09-29 10:46:58 +02:00
Adolfo Gómez García
b2a067300c Added sample ticket auth test 2021-09-29 00:14:02 +02:00
Adolfo Gómez García
afbc75bff0 Added boolean True as valid force value 2021-09-29 00:13:33 +02:00
Adolfo Gómez García
4c453d2b1f Added more info to ticket timedout error on tunnel 2021-09-24 14:42:01 +02:00
Adolfo Gómez García
26f33626c2 Updated translations 2021-09-24 13:52:17 +02:00
Adolfo Gómez García
cb8284d076 Updated RDP scripts (simple cosmetic changes) 2021-09-23 16:53:17 +02:00
Adolfo Gómez García
ef3dd893d9 Added nicedcv protocol && a couple of aliases parameters for user_interface future migration 2021-09-21 16:43:27 +02:00
Adolfo Gómez García
d531a1612a Added "visibleFrom" to authenticators, so we can add custom filters for showing them on login screen 2021-09-16 13:30:38 +02:00
Adolfo Gómez García
de9c06bc2c Fixed "realname overwrite" on internaldb auth 2021-09-15 13:15:55 +02:00
Adolfo Gómez García
2400cc99cd Updated translations 2021-09-15 12:47:08 +02:00
Adolfo Gómez García
7f5c3c3bbd Fixed new remove all groups description & fixed not removing pinbar on tunnel rdp 2021-09-14 11:02:37 +02:00
Adolfo Gómez García
710f2fb0e4 Fixed task manager stop 2021-09-09 13:59:42 +02:00
Adolfo Gómez García
ede23ad793 Improved check of tunneled requests 2021-09-09 12:56:25 +02:00
Adolfo Gómez García
9a3913cc42 Added scheduled action "Remove all transports" and "remove all groups" 2021-09-07 13:55:16 +02:00
Adolfo Gómez García
5bf98782ea Added autocomplete to field types 2021-09-07 13:31:30 +02:00
Adolfo Gómez García
3a69c9205e Removed nonsense security check right now... 2021-09-07 12:15:44 +02:00
Adolfo Gómez García
3615db877e Fix small error on new singleton for taskManager 2021-09-06 13:39:40 +02:00
Adolfo Gómez García
2286ccaca1 Fixed about 2021-09-06 12:36:58 +02:00
Adolfo Gómez García
f90bf3a421 Added sedcurity middleware also 2021-09-04 22:17:41 +02:00
Adolfo Gómez García
df815776da Added asgi from newer model 2021-09-04 21:29:16 +02:00
Adolfo Gómez García
54f7fd21dc Better singleton pattern (more reusable) 2021-09-04 17:16:57 +02:00
Adolfo Gómez García
8e3d90e7f3 Removed "experimental" from AD group on OS Manager and fix on actor runner 2021-09-03 13:38:39 +02:00
Adolfo Gómez García
afa9e0aab6 Upgraded angular version of js 2021-09-03 02:25:01 +02:00
Adolfo Gómez García
77b0c7c8e1 added comment to user interface 2021-09-03 01:31:02 +02:00
Adolfo Gómez García
23afd01004 Fixed log removal 2021-09-02 13:27:27 +02:00
Adolfo Gómez García
c30a67d363 Fixed admin 2021-08-31 14:13:17 +02:00
Adolfo Gómez García
aa2d268453 Fixed admin interface small bug 2021-08-31 13:44:13 +02:00
Adolfo Gómez García
de40c72d9e Fixed "disabled" tag to allow login with only federated auths 2021-08-24 17:02:36 +02:00
Adolfo Gómez García
d0b30b561c Updated cache decorator and updated signatures of modified plugins 2021-08-24 14:07:35 +02:00
Adolfo Gómez García
e485374836 Formating and type fixing 2021-08-24 12:15:10 +02:00
Adolfo Gómez García
3934f2b88d Formating and type fixing all transports 2021-08-24 11:51:56 +02:00
Adolfo Gómez García
c72bcf4200 More formating 2021-08-23 14:59:07 +02:00
Adolfo Gómez García
1b7076e645 Changed "app.exec_" by "app.exec" for future pyqt6 2021-08-21 23:06:19 +02:00
Adolfo Gómez García
e637f208bd Changed app.exec_ by app.exec (future PyQt6) 2021-08-21 23:05:20 +02:00
Adolfo Gómez García
75e54618bb Removed duplicated download 2021-08-19 12:21:39 +02:00
Adolfo Gómez García
04864e3846 Fixed to ensure cache is uptated after template creation 2021-08-19 01:21:09 +02:00
Adolfo Gómez García
a52be141ea Added proxmox connection error check and try to handle y gracefully 2021-08-17 13:04:20 +02:00
Adolfo Gómez García
afcbd058d1 Formating & fixing type checkings 2021-08-14 15:47:21 +02:00
Adolfo Gómez García
8285e2daad More formating & minor typing fixes 2021-08-13 15:11:22 +02:00
Adolfo Gómez García
03bfb3efbb Formating & minor typing fixes 2021-08-13 14:53:23 +02:00
Adolfo Gómez García
8c4b84e7db removed statsManager and used directly "StatsManager.manager()" 2021-08-13 14:09:46 +02:00
Adolfo Gómez García
4f8fe793cc Updated translations 2021-08-13 13:34:38 +02:00
Adolfo Gómez García
286b320257 Updated openstack to look for correct volume api
Updated admin to make optional the "vnc" for user services
2021-08-13 13:33:39 +02:00
Adolfo Gómez García
68411f0726 UDS 3.4 now uses volumev3 for non legacy openstack connections (legacy maintains v2) 2021-08-11 18:59:18 +02:00
Adolfo Gómez García
1be49a6e0e Separated processes manager from main uds_tunnel 2021-08-05 12:53:44 +02:00
Adolfo Gómez García
c21c0b44ce Added guacamole rdp parameter for future suppport 2021-08-04 18:59:51 +02:00
Adolfo Gómez García
46aa9139a0 Fixed Guacamole dict 2021-08-02 13:14:57 +02:00
Adolfo Gómez García
574b19a905 Fixed bug on user services page load and updated translations 2021-07-29 13:13:43 +02:00
Adolfo Gómez García
612646bd1c Fixed userService name on ServiceNotReady exception && small fix to comment 2021-07-29 12:24:24 +02:00
Adolfo Gómez García
10d9279b89 Added default value as TRUE to font smoothing for RDP 2021-07-28 14:08:16 +02:00
Adolfo Gómez García
a8a5063083 Updated Guacamole to only accept authenticated tunnel connections
* Added handshake check BEFORE opening SSL tunnel
2021-07-28 12:57:58 +02:00
Adolfo Gómez García
29b6613c95 Updated space 2021-07-27 12:51:10 +02:00
Adolfo Gómez García
8aa7dc3c6f Added PORT to RDP connections 2021-07-27 12:40:12 +02:00
Adolfo Gómez García
e75d373d03 Service multi is fixed
(Also small tunnel beautify)
2021-07-23 14:00:21 +02:00
Adolfo Gómez García
91d2398ade Fixed multy phisical machines service to add a "custom" maximum duration for assignation 2021-07-21 13:59:12 +02:00
Adolfo Gómez García
f4e953c9c9 Fixed type checkings and detection of client launched when machine not ready 2021-07-20 13:32:28 +02:00
Adolfo Gómez García
f14f36b0d0 Merge remote-tracking branch 'origin/v3.0' 2021-07-19 13:27:00 +02:00
Adolfo Gómez García
d1e51c0103 Upgrading actor for unmanaged && fixed linux operation 2021-07-19 13:26:36 +02:00
Adolfo Gómez García
d38347c534 Fixed ticket for metapools & fixed get interfaces list for python > 3.2 (as is the case) 2021-07-19 13:25:43 +02:00
Adolfo Gómez García
6fd307e86e small fixes (typing) 2021-07-19 12:42:26 +02:00
Adolfo Gómez García
51407b54ee Small spelling fixes 2021-07-19 01:16:18 +02:00
Adolfo Gómez García
91f90c8630 Small sample fix 2021-07-18 15:45:03 +02:00
Adolfo Gómez García
ca5b54c8e2 Added hidden dark theme to administration 2021-07-14 13:49:58 +02:00
Adolfo Gómez García
8d74055357 Added "copy" feature to admin tables 2021-07-13 22:50:55 +02:00
Adolfo Gómez García
8e81d51a43 Fixed Admin tunnel tokens 2021-07-13 15:11:38 +02:00
Adolfo Gómez García
5ff6cdaf69 Fixed tunnel token headers && tunnel proxy typo 2021-07-13 15:00:00 +02:00
Adolfo Gómez García
13cbfe26c7 Fixes (Basically formating & type checking fixes 2021-07-13 13:36:42 +02:00
Adolfo Gómez García
d497235eeb * Added config parameter for "check removal processes hanged" and removed six from RDP client scripts (and regenerated signatures) 2021-07-13 11:53:22 +02:00
Adolfo Gómez García
7d8bcf2168 Fix small admin issue 2021-07-12 16:39:45 +02:00
Adolfo Gómez García
5706f9d681 Fixed drop down menus on mouse over 2021-07-12 15:12:11 +02:00
Adolfo Gómez García
cd06597918 Formatting fixes 2021-07-12 12:58:45 +02:00
Adolfo Gómez García
49ce5622d6 Correctly added Tokens table permissions type 2021-07-12 12:58:26 +02:00
Adolfo Gómez García
de5031febf Fixed memory cache cleanup 2021-07-12 12:57:48 +02:00
Adolfo Gómez García
b29baf2a29 Small fis on service pool 2021-07-10 21:16:33 +02:00
Adolfo Gómez García
aaa909fff0 Added tunnel info to normalize return values & log values 2021-07-10 13:19:45 +02:00
Adolfo Gómez García
99ee0b00fc Added actor token to admin 2021-07-09 13:13:31 +02:00
Adolfo Gómez García
f2643df05f added typos to cryptography 2021-07-08 22:31:25 +02:00
Adolfo Gómez García
2520cce429 Fixed error on status check for "respawneable" services 2021-07-08 17:47:12 +02:00
Adolfo Gómez García
962015c355 Added types to crypto 2021-07-08 17:46:46 +02:00
Adolfo Gómez García
582ba01014 Added minimun number to show "filter" on service list 2021-07-08 14:42:58 +02:00
Adolfo Gómez García
eec8588628 Updated translations 2021-07-08 14:31:44 +02:00
Adolfo Gómez García
37f59e952d Added translated filter string 2021-07-08 14:18:15 +02:00
Adolfo Gómez García
46bab75a92 Added crpytomanager typing 2021-07-08 14:17:59 +02:00
Adolfo Gómez García
8f7421ef9d Updated translations 2021-07-08 13:00:22 +02:00
Adolfo Gómez García
a7584f9e8e Fixed admin 2021-07-08 12:57:36 +02:00
Adolfo Gómez García
fad735bb87 Added ticket compat with 3.0 2021-07-08 12:22:36 +02:00
Adolfo Gómez García
5ba704ac8a Fixed Version number for actor 2021-07-08 10:40:56 +02:00
Adolfo Gómez García
3c5ef5817f Added tooo long machines on removing state as hanged 2021-07-06 14:46:21 +02:00
Adolfo Gómez García
de0db84a5d Added tooo long machines on removing state as hanged 2021-07-06 14:45:01 +02:00
Adolfo Gómez García
548b6e813d Fixed Proxmox concurrencly on vmid assignation problem 2021-07-06 12:39:22 +02:00
Adolfo Gómez García
31b513a7ef Type checking updates 2021-07-06 11:33:04 +02:00
Adolfo Gómez García
fa7ce3de0b Added more info to terminated connection on UDS tunnel 2021-07-05 18:12:46 +02:00
Adolfo Gómez García
3a7e7b8dfc Fixed Client on non standard ports 2021-07-05 18:03:22 +02:00
Adolfo Gómez García
c9488329b9 Fixed Client on non standard ports 2021-07-05 17:54:02 +02:00
Adolfo Gómez García
55c4574021 Added redirect to login on session timeout 2021-07-05 13:48:56 +02:00
Adolfo Gómez García
59179584f2 Fixed tunnel redirect 2021-07-05 10:46:43 +02:00
Adolfo Gómez García
92de3b01dd Removed "plugin download" event, not used 2021-07-04 16:50:42 +02:00
Adolfo Gómez García
c62d62dd65 commented the events generated and logged by UDS 2021-07-04 15:17:51 +02:00
Adolfo Gómez García
e02318e665 Enhacing tunnel data logging info 2021-07-04 13:25:42 +02:00
Adolfo Gómez García
612ae63cf2 Added events to HTML5 connection also (only conneciton event right now) 2021-07-04 13:04:11 +02:00
Adolfo Gómez García
cb44662134 commenting changes on tunnel 2021-07-03 22:01:42 +02:00
Adolfo Gómez García
a359ff2263 Fixing tunnel & client for mac 2021-07-03 21:48:38 +02:00
Adolfo Gómez García
9ca3a7cdeb Fixed proxy sent stats to UDS 2021-07-03 21:16:17 +02:00
Adolfo Gómez García
1736cae1c1 Fixed image upload 2021-07-03 20:59:23 +02:00
Adolfo Gómez García
727ffe0365 Added a basic bot check to request middleware to forbid bots access 2021-07-03 16:25:07 +02:00
Adolfo Gómez García
b031e0aa3c adding fixes on closing tunnel 2021-07-03 13:02:34 +02:00
Adolfo Gómez García
d7886a1281 adding fixes on closing tunnel 2021-07-03 12:58:26 +02:00
Adolfo Gómez García
09e88b60f5 Updated launcher so, if launcher is closed, all tunnels are also closed 2021-07-03 12:30:46 +02:00
Adolfo Gómez García
6af0617c2a Upgrading client for MAC multi open compatibility 2021-07-02 15:18:35 +02:00
Adolfo Gómez García
1417a66b21 Small fixes on OpenNebula complains 2021-07-02 12:45:16 +02:00
Adolfo Gómez García
9ba4234313 Removed NX 2021-07-02 11:06:23 +02:00
Adolfo Gómez García
e85e4c4e54 Merge remote-tracking branch 'origin/v3.0' 2021-07-02 11:02:11 +02:00
Adolfo Gómez García
693d14cd81 small typo fixes 2021-07-02 11:01:31 +02:00
Adolfo Gómez García
4be9e9ea69 Added more info to UDSClient and small typo fixed 2021-07-01 22:04:24 +02:00
Adolfo Gómez García
e38cd73f30 Added user agent 2021-07-01 21:46:00 +02:00
Adolfo Gómez García
43b785eb73 Added more info on ticket error 2021-07-01 21:42:25 +02:00
Adolfo Gómez García
9c4a4ed35c Fixed RDP for MacOS 2021-07-01 21:38:21 +02:00
Adolfo Gómez García
02737c0e8d Fixed guacamole auth url 2021-06-29 16:57:01 +02:00
Adolfo Gómez García
8bbd897cd0 Added ticket check 2021-06-29 16:26:10 +02:00
Adolfo Gómez García
c98933b6ed Fixed guacamole urls && small pam fix 2021-06-29 14:48:04 +02:00
Adolfo Gómez García
6e0292e76e Fixed guacamole new url && added 0000... as admin alias for auths 2021-06-29 13:02:09 +02:00
Adolfo Gómez García
8e6fced2ac Added second-log to login in case invalid username/password is detected 2021-06-29 11:33:58 +02:00
Adolfo Gómez García
c5a02686c4 added "auth_id" as alias for "authId" on login
Changed "uds_auth" to "uds_token"
2021-06-28 19:02:44 +02:00
Adolfo Gómez García
bddb9355c8 Adding tunnelers tokens for increased security 2021-06-28 15:36:52 +02:00
Adolfo Gómez García
25736f61b8 Removed requests "tests" and updated tunnel to use an authId 2021-06-28 13:12:49 +02:00
Adolfo Gómez García
2ee4a7bcaa Several fixes:
* Added tunnel & guacaomle "fake" authid for next security
* Fixed proxy detection & use
2021-06-28 13:05:48 +02:00
Adolfo Gómez García
0da916b57c Updated middleware 2021-06-28 11:02:47 +02:00
Adolfo Gómez García
03012dbaa7 Upgraded to Angular v12. This will be the last release supporting IE11 2021-06-27 22:06:16 +02:00
Adolfo Gómez García
4ae95e1930 Upgraded to Angular 12. Dropped support for admin for IE11 2021-06-27 21:57:15 +02:00
Adolfo Gómez García
906901753e Added "purge" to delete vm from UDS on proxmox 2021-06-25 13:51:24 +02:00
Adolfo Gómez García
109783a430 Fixed texts for client 2021-06-25 13:26:56 +02:00
Adolfo Gómez García
655a6447ba Improved Proxmox query efficiency for machines in a pookl 2021-06-25 13:21:09 +02:00
Adolfo Gómez García
52ac406853 Test migration removal 2021-06-24 12:35:47 +02:00
Adolfo Gómez García
55f9820f37 Fixed migration problem with user & group, when changing from unique_together to constrains on Meta model 2021-06-24 12:27:43 +02:00
Adolfo Gómez García
856d645652 merged 0041 and 0042 migrations 2021-06-24 12:02:41 +02:00
Adolfo Gómez García
fd789581ed Kept by now user and group unique_toguether 2021-06-24 12:02:23 +02:00
Adolfo Gómez García
a67ba2972b Updated translations 2021-06-24 11:25:49 +02:00
Adolfo Gómez García
acd1dd4702 No needed anymore here. It's already on client 2021-06-24 08:21:30 +02:00
Adolfo Gómez García
b914980793 Removing unique_together and index_together for newer Index and UniqueConstrains 2021-06-23 20:58:00 +02:00
Adolfo Gómez García
eab51248cd Fixed service launcher 2021-06-23 20:04:48 +02:00
Adolfo Gómez García
2834120b35 Fixing up status checking 2021-06-23 17:53:13 +02:00
Adolfo Gómez García
83a407d350 Added, for 3.5, check certificate as "no" for backwards compatibility (will be yes by default on 4.0 release) 2021-06-23 16:21:02 +02:00
Adolfo Gómez García
4f45caa2e9 :Merge branch 'master' of github.com:dkmstr/openuds 2021-06-23 16:17:31 +02:00
Adolfo Gómez García
011145e911 Upgraded tunnel.py to last real one 2021-06-23 16:17:23 +02:00
Adolfo Gómez
046f5836f7 Fixed logging 2021-06-23 15:59:15 +02:00
Adolfo Gómez García
4424f2a497 Fixing up client 2021-06-23 15:58:37 +02:00
Adolfo Gómez García
97841d655b more info on subprocesses 2021-06-23 15:14:12 +02:00
Adolfo Gómez García
f20a5a33b0 Fixed debian package dependency && update client tools to add some more debug info 2021-06-23 15:01:34 +02:00
Adolfo Gómez García
d1fb59ab77 Some minor cosmetic changes for UDSClient 2021-06-22 17:12:31 +02:00
Adolfo Gómez García
174d836f45 Merge remote-tracking branch 'origin/v3.0' 2021-06-22 12:11:11 +02:00
Adolfo Gómez García
1b12aee767 Fixed html open windows for 3.0 2021-06-22 12:10:30 +02:00
Adolfo Gómez García
a070f6878b Removed all 2.7 client due to "portables" clients being available 2021-06-22 11:35:50 +02:00
Adolfo Gómez García
d51b22096e Added check debug logging with a file 2021-06-21 18:00:57 +02:00
Adolfo Gómez García
9e0fbca339 Adding early stage unlinks... 2021-06-21 17:56:16 +02:00
Adolfo Gómez García
3e67ef2f6b Adding early stage unlinks...[F 2021-06-21 17:50:12 +02:00
Adolfo Gómez García
e7fe802b1d fixed bug on wait for tasks 2021-06-21 17:39:35 +02:00
Adolfo Gómez García
6f90a7ce83 fixed bug on wait for tasks 2021-06-21 17:15:51 +02:00
Adolfo Gómez García
25fec929a9 adding some debug to client 2021-06-21 17:11:32 +02:00
Adolfo Gómez García
1abe95c492 adding some debug to client 2021-06-21 17:04:57 +02:00
Adolfo Gómez García
d438fcf298 Updating client to allow wait for subprocesses also 2021-06-21 16:54:34 +02:00
Adolfo Gómez García
539e96d264 Added service initialization exceptio catch-and-retry 2021-06-21 15:28:24 +02:00
Adolfo Gómez García
d30a3a5e4c added tunnel rest url as no redirect url 2021-06-21 15:27:32 +02:00
Adolfo Gómez García
a302541df5 Fixed macos transports to search xfreerdp in path instead of using /usr/local/bin and added homebrew paths to default system ones 2021-06-21 11:21:46 +02:00
Adolfo Gómez García
9cdab65845 Fixed path fixing :) 2021-06-21 11:05:38 +02:00
Adolfo Gómez García
b9c55437ad fixed messages for MAC os 2021-06-21 10:58:37 +02:00
Adolfo Gómez García
0b0c72e65b Added /opt/homebrew/bin as path in mac os x for newer brew installs 2021-06-21 10:53:09 +02:00
Adolfo Gómez García
aef8c637ec added python-3-certifi as dependency for packages (now we do not use QtNetwork anymore for problems in M1) 2021-06-19 17:05:12 +02:00
Adolfo Gómez García
4ed3cbc787 Working on M1 with rosseta, so removed check (that does not recognizes m1 when running app with rosseta) 2021-06-19 17:01:39 +02:00
Adolfo Gómez García
60f69be354 More checks 2021-06-19 15:57:53 +02:00
Adolfo Gómez García
8e815c3316 some more fixes 2021-06-19 15:38:19 +02:00
Adolfo Gómez García
9180d04aaf Fix for show errors 2021-06-19 15:26:05 +02:00
Adolfo Gómez García
6e60a66ae9 Simplifying for M1 2021-06-19 15:16:49 +02:00
Adolfo Gómez García
58cfa779d1 Refactoring UDS Client to allow more possibilities 2021-06-19 14:45:51 +02:00
Adolfo Gómez García
eed4bc5fb7 Updating new UDSClient 2021-06-19 13:29:43 +02:00
Adolfo Gómez García
3ed3f03d25 Changed UDSClient to remove QApp Network access and used urllib instead 2021-06-19 12:41:51 +02:00
Adolfo Gómez García
21f811d995 Added cleanup of intermediary building folders 2021-06-18 10:50:08 +02:00
Adolfo Gómez García
985746139b Fixed Makefile && install script for different platforms 2021-06-17 18:32:22 +02:00
Adolfo Gómez García
9e4a9cc2fd * Added deadline "disabling" on osmanagers, so if we dont want to close sessions for expired users, we can do it 2021-06-17 14:21:40 +02:00
Adolfo Gómez García
c1d5e4b130 src/ 2021-06-17 13:19:47 +02:00
Adolfo Gómez García
21143ab7f2 Merge branch 'master' of github.com:dkmstr/openuds 2021-06-17 12:09:06 +02:00
Adolfo Gómez García
b62dfad922 Added i686 to appimage portable 2021-06-17 12:08:55 +02:00
Adolfo Gómez García
0b3bcbc63d Fixed UDSClientDir to /tmp (BTW, appimage-builder does not work on btrfs with compressed files due to squashfs) 2021-06-17 11:14:05 +02:00
Adolfo Gómez
b4a1e6a903 Merge branch 'master' of https://github.com/dkmstr/openuds 2021-06-16 18:31:13 +02:00
Adolfo Gómez
df9cb4eb6a Updated sysprep checking from info to debug 2021-06-16 18:31:06 +02:00
Adolfo Gómez García
7f4e7e3309 Merge branch 'master' of github.com:dkmstr/openuds 2021-06-16 18:28:17 +02:00
Adolfo Gómez García
741787f95b Fixed building of portables uds clients with freerdp + x2go client 2021-06-16 18:28:10 +02:00
Adolfo Gómez
7b0ad08685 Merge branch 'master' of https://github.com/dkmstr/openuds 2021-06-16 14:34:57 +02:00
Adolfo Gómez
25b663e069 Adding 'windows installations' checks before running uds service 2021-06-16 14:34:52 +02:00
Adolfo Gómez García
762e4154fd added -env 2021-06-16 12:11:09 +02:00
Adolfo Gómez García
1bb258d9dc Fixed WOL for multi manual assigment 2021-06-15 16:22:47 +02:00
Adolfo Gómez García
d5f29bd20f Added ignore certificate for getting server stats on localhost 2021-06-15 13:32:22 +02:00
Adolfo Gómez García
69fe9e0d38 * User preferences is deprecated (to be removed)
* NX is disabled in code (to be removed on 4.0)
* Increeased URL size for "URL" transport to 256 (was 64 only)
2021-06-15 11:49:16 +02:00
Adolfo Gómez García
41c94913f8 added full clients appimage 2021-06-11 12:02:26 +02:00
Adolfo Gómez García
0dce270a9e Created portable udsclient using appimage. Now also for raspberry pi 2021-06-10 17:25:23 +02:00
Adolfo Gómez García
594d431af7 Created portable udsclient using appimage 2021-06-10 17:02:11 +02:00
Adolfo Gómez García
71242eba10 moving appimage creator to linux folder 2021-06-10 16:17:21 +02:00
Adolfo Gómez García
2dded06dc5 Added app image creation recipe for UDSClient + freerdp 2021-06-10 12:15:45 +02:00
Adolfo Gómez García
38490e184e Updated criptography part to be compatible with older releases of crpytography package 2021-06-09 17:47:49 +02:00
Adolfo Gómez García
9e462478fc Removed six dependency for client-py3 and related 2021-06-09 12:39:06 +02:00
Adolfo Gómez García
44d8b2b754 Several upgrades for newer distributions:
* Removed pycrypto dependencies for UDSClient
* added "-platform xcb" for uds executables for Actor & client3
2021-06-09 12:12:31 +02:00
Adolfo Gómez García
5884cde35c a couple of comments 2021-06-08 20:58:55 +02:00
Adolfo Gómez García
3b18597d8e Removed PyCrypto code and translated to cryptography code 2021-06-08 19:08:41 +02:00
Adolfo Gómez García
f6ddc7eef1 Added ID to machine info on service creation 2021-06-08 18:44:52 +02:00
Adolfo Gómez García
ed61fbf7b8 No, if a child dies, UDS Tunnel will regenerate a new process and try to clean the old one 2021-06-08 11:48:53 +02:00
Adolfo Gómez García
fb088ecc02 Updated UDSClient
* Reformated code
* Fixed UDS Rest API Route to /uds/rest/... instead of /rest/... (will not be compatible with 2.x anymore)
2021-06-07 21:10:57 +02:00
Adolfo Gómez García
5396d04555 Merge remote-tracking branch 'origin/v3.0' 2021-06-07 21:02:30 +02:00
Adolfo Gómez García
610085e353 Added UDS-Version as header on response to REST api 2021-06-07 21:01:39 +02:00
Adolfo Gómez García
16d6e515c6 Added "version" method to REST api so we can check UDS Server version easily 2021-06-07 20:57:19 +02:00
Adolfo Gómez García
68b3b50acf Merge branch 'master' of github.com:dkmstr/openuds 2021-06-04 13:25:45 +02:00
Adolfo Gómez García
9d6560a56e fixed version 2021-06-04 12:07:07 +02:00
Adolfo Gómez García
25363269a6 Merge remote-tracking branch 'origin/v3.0' 2021-06-04 11:50:51 +02:00
Adolfo Gómez García
9731e57f01 Fixed metapool 2021-06-04 11:44:32 +02:00
Adolfo Gómez García
8aca8ead3d Merge remote-tracking branch 'origin/v3.0' 2021-06-03 21:02:36 +02:00
Adolfo Gómez García
7a030dd302 Updated & fixed url on same window 2021-06-03 12:50:22 +02:00
Adolfo Gómez García
f184fa778d Refactorized ldap and added "ignores" to non recognized correct values 2021-06-03 11:43:56 +02:00
Adolfo Gómez García
21f6df36b0 Refactor for all middlewares (now are all on same place..) 2021-06-01 13:17:53 +02:00
Adolfo Gómez García
394ceb9e66 Added radius authenticator for UDS 2021-06-01 12:41:58 +02:00
Adolfo Gómez García
5f8abdfa41 Merge remote-tracking branch 'origin/v3.0' 2021-05-31 11:33:13 +02:00
Adolfo Gómez García
b8af381042 Fixed autocomplete 2021-05-31 11:32:58 +02:00
Adolfo Gómez García
e21267b0fd Fixed autocomplete (at last!!) 2021-05-31 11:29:56 +02:00
Adolfo Gómez García
ee7e72cbd3 Fixed main 2021-05-31 11:13:44 +02:00
Adolfo Gómez García
cb92be3c66 Simplifying several "is True" 2021-05-27 13:04:18 +02:00
Adolfo Gómez García
8fc5c759d8 Merge remote-tracking branch 'origin/v3.0' 2021-05-27 10:58:18 +02:00
Adolfo Gómez García
7edf3094ed bitarray library previously returned True or False, now return 0 and 1, and we where checking against "is True" 2021-05-27 10:52:36 +02:00
Adolfo Gómez García
02c3ffbe75 bitarray library previously returned True or False, now return 0 and 1, and we where checking against "is True" 2021-05-27 10:50:17 +02:00
Adolfo Gómez García
041942b746 Updated locales 2021-05-27 10:49:32 +02:00
Adolfo Gómez García
6c936a7dfa Fixed report definition, so filename can be changed (not an class variable anymore) and added sample xlsx report onlist of users (only sample, commmented out) 2021-05-25 19:03:55 +02:00
Adolfo Gómez García
0cc40198b2 Merge remote-tracking branch 'origin/v3.0' 2021-05-25 10:41:25 +02:00
Adolfo Gómez García
21ab85818e Fixed realname on user creation 2021-05-25 10:40:13 +02:00
Adolfo Gómez García
9789a2f868 Updated admin for pool charts 2021-05-21 14:42:11 +02:00
Adolfo Gómez García
e8733e74d1 Added graphs to servicePool 2021-05-21 14:17:49 +02:00
Adolfo Gómez García
c6d281580b Added soft shutdown first for ProxMox 2021-05-21 12:18:55 +02:00
Adolfo Gómez García
1050ada43b Improved internaldb password security (sha3_256) and added extra security to uds cookie 2021-05-21 11:38:41 +02:00
Adolfo Gómez García
f39bc9c5ba Added stats collector a global value for all stats 2021-05-19 12:22:24 +02:00
Adolfo Gómez García
c987915c41 Added stats collector a global value for all stats 2021-05-19 12:20:35 +02:00
Adolfo Gómez García
12b8354a8e Merge remote-tracking branch 'origin/v3.0' 2021-05-19 12:20:11 +02:00
Adolfo Gómez García
a7d8058d09 Fixed authenticator ip && removed "accept Proxy" (uds now handles this automatically...) 2021-05-19 12:19:24 +02:00
Adolfo Gómez García
e7d1df5ba3 added "global" stats counter to optimize graphs on dashboard 2021-05-19 11:45:40 +02:00
Adolfo Gómez García
e87727b48f fixed counters types not being added for new counter type 2021-05-17 12:59:23 +02:00
Adolfo Gómez García
13ec1877de added number of services in cache for stats 2021-05-17 12:41:35 +02:00
Adolfo Gómez García
1b4060a727 Fixed pylance complains about runtime created variables 2021-05-17 12:13:06 +02:00
Adolfo Gómez García
d8e713ad51 Imported dns.reversename (not imported before) for IP Authenticator reverse resolution 2021-05-17 11:59:54 +02:00
Adolfo Gómez García
cdca39779b Fixed Complains about curio "runtime" types 2021-05-17 11:59:24 +02:00
Adolfo Gómez García
1345593c3a Fixed typo on ticket_store 2021-05-12 17:36:14 +02:00
Adolfo Gómez García
265d4f5103 added admin part for charts 2021-05-12 17:03:28 +02:00
Adolfo Gómez García
b85a702437 Added new index to stats_c and readded the graphs from uds 2.2 2021-05-12 14:40:58 +02:00
Adolfo Gómez García
e2d7fb0790 Reformated SimpleLDAP && fixed mypy complains about runtime variables
Added max session length for user and administrator, without the needing of editing the settings.py
2021-05-11 12:48:36 +02:00
Adolfo Gómez García
a573d2d55b added (at last), the check of invalid IP/hostname values on RDS servers or Phisical Machines 2021-05-10 10:47:00 +02:00
Adolfo Gómez García
de50fef63c Merge remote-tracking branch 'origin/v3.0' 2021-05-07 12:36:20 +02:00
Adolfo Gómez García
a017807d2a updated admin 2021-05-07 12:35:12 +02:00
Adolfo Gómez García
0133ddc2b5 Merge remote-tracking branch 'origin/v3.0' 2021-05-06 07:55:00 +02:00
Adolfo Gómez García
f8c9dd25df A new try to disable autocomplete on admin 2021-05-06 07:54:28 +02:00
Adolfo Gómez García
cddfd735b2 Merge remote-tracking branch 'origin/v3.0' 2021-05-04 13:07:10 +02:00
Adolfo Gómez García
3f6d12c89f Adding osDetector to UDSClient 2021-05-04 13:05:53 +02:00
Adolfo Gómez García
98293bba75 Merge remote-tracking branch 'origin/v3.0' 2021-05-04 13:05:31 +02:00
Adolfo Gómez García
469940074c Fixed VC Fixed pool "empty" token 2021-05-04 12:59:02 +02:00
Adolfo Gómez García
e920628395 Fixed connection client working 2021-05-04 12:32:56 +02:00
Adolfo Gómez García
07738e3dc2 Added support for detecting if UDS Client is launched correctly 2021-04-30 11:13:52 +02:00
Adolfo Gómez García
2b5543905a added "accesedByClient" property so we can check, from web, if local plugin is installed.... 2021-04-29 13:01:07 +02:00
Adolfo Gómez García
87c2ea8add added status checker to web API 2021-04-29 12:09:03 +02:00
Adolfo Gómez García
2a2a2b2ad0 small type checking fix & expresion fix 2021-04-28 10:47:35 +02:00
Adolfo Gómez García
47ef12ef6a Removed Crypto library remmanents. Old 2.2 RSA keys are no longer supported on 3.5 2021-04-28 10:42:45 +02:00
Adolfo Gómez García
451b8f6fb9 Fixes for mypy complains 2021-04-27 11:46:10 +02:00
Adolfo Gómez García
bd2b0cd171 Fixing mypy complains 2021-04-27 11:32:04 +02:00
Adolfo Gómez García
9a7afe7839 fixed MetaPool orderer 2021-04-27 11:31:43 +02:00
Adolfo Gómez García
18a8c81af6 Merge remote-tracking branch 'origin/v3.0' 2021-04-26 11:56:20 +02:00
Adolfo Gómez García
84ca0b2e41 Added metapool support for UDS Tickets 2021-04-26 11:44:31 +02:00
Adolfo Gómez García
09c65b2598 added proxy support for OpenStack & OpenStack legacy 2021-04-23 11:30:45 +02:00
Adolfo Gómez García
6e438bf4cb Added squashed migration from 26 to 38 2021-04-22 17:56:50 +02:00
Adolfo Gómez García
7502fe3bcc Removed squashed migrations 2021-04-22 17:43:29 +02:00
Adolfo Gómez García
e9a719a2eb Added metapools capacity of show grouped pools transports 2021-04-22 14:44:48 +02:00
Adolfo Gómez García
ce73d4e29f Updated admin fix from 3.0 2021-04-22 11:58:52 +02:00
Adolfo Gómez García
ffeaf9e22c Merge remote-tracking branch 'origin/v3.0' 2021-04-22 11:56:16 +02:00
Adolfo Gómez García
5355c7e420 Fixed admin deletion of calendar access for meta pools 2021-04-22 11:55:23 +02:00
Adolfo Gómez García
1e184a3a34 small fix on graphs (cosmetic) 2021-04-21 23:56:52 +02:00
Adolfo Gómez García
74d4349266 fixed signature of osManager publication method 2021-04-20 14:39:57 +02:00
Adolfo Gómez García
26c9f0edc8 Fixed scheduler next execution (typo make it wait DAYS instead of SECONDS!!! 2021-04-20 14:27:53 +02:00
Adolfo Gómez García
797a5df4a9 Fixed admin imgchoice 2021-04-20 13:30:13 +02:00
Adolfo Gómez García
8fbdda7b56 Merge remote-tracking branch 'origin/v3.0' 2021-04-19 12:59:44 +02:00
Adolfo Gómez García
d3c14520d4 Fixed small backslash typo on storage names 2021-04-19 12:59:18 +02:00
Adolfo Gómez García
9f04bdab05 Added custom parameters for freerdp mac clients.
distinct from linux custom parameters.
2021-04-16 11:21:21 +02:00
Adolfo Gómez García
5597af7d85 merged vnc from 3.0 2021-04-13 12:50:03 +02:00
Adolfo Gómez García
697c3e1c52 Merge remote-tracking branch 'origin/v3.0' 2021-04-13 12:47:27 +02:00
Adolfo Gómez García
fa32d485c9 Added VNC launch support from uds assigned services 2021-04-13 12:46:43 +02:00
Adolfo Gómez García
ae7f867482 fixed default value from html5rdp to any instead of rdp and fixed onw parameter 2021-04-13 11:45:43 +02:00
Adolfo Gómez García
f595219405 added fix for vscode complaining about alias && merged 2021-04-08 17:47:03 +02:00
Adolfo Gómez García
0fd24dadff Fixed sample settings for Django 3.2 new DEFAULT_AUTIFIELD and added local fonts also on admin interface 2021-04-08 17:41:03 +02:00
Adolfo Gómez García
d66e59bd50 small spelling typo fix 2021-04-08 10:23:54 +02:00
Adolfo Gómez García
cc12b7d5f6 Added "backport of new tunnel" to old python 2.7 client 2021-04-07 16:48:24 +02:00
Adolfo Gómez García
d67a9d6ddc fixed reference to Dani Torregrosa (sorry for the mispelling :) ) 2021-04-07 12:32:25 +02:00
Adolfo Gómez García
5ff3c58149 added Dani sugested changes for MSRDP of Microsoft on MacOsX 2021-04-07 10:36:57 +02:00
Adolfo Gómez García
9340e3c3c1 added "backup host" to xen server in case of connection failure to main server 2021-04-06 12:12:57 +02:00
Adolfo Gómez García
4357ef3be8 Merge remote-tracking branch 'origin/v3.0' 2021-04-05 13:21:46 +02:00
Adolfo Gómez García
afd36886d6 Added "switch to master" on login as default 2021-04-05 13:21:26 +02:00
Adolfo Gómez García
a3905c0c6c added time to enter credentials before closing new connections though tunnel 2021-04-05 11:24:30 +02:00
Adolfo Gómez García
03fc488f33 Fixed provider of Physical machines MANDATORY flag for advanced config 2021-03-29 12:52:58 +02:00
Adolfo Gómez García
2aee4e9417 Added log if could not resolve ip on PhisicalMachines multi 2021-03-25 12:37:43 +01:00
Adolfo Gómez García
b8494f51ac More fixes for WOL on Phisical Machines 2021-03-24 17:33:39 +01:00
Adolfo Gómez García
93a12c180e More fixes for WOL on Phisical Machines 2021-03-24 17:18:34 +01:00
Adolfo Gómez García
26aa9f6db7 Enhaced "wolURL" check 2021-03-24 12:13:26 +01:00
Adolfo Gómez García
3f881b3e17 Added support for name resolutions on service_multi && fixed max page limit from 50 to 100 2021-03-24 11:54:03 +01:00
Adolfo Gómez García
0a0b4cb740 Merge remote-tracking branch 'origin/v3.0' 2021-03-23 16:42:38 +01:00
Adolfo Gómez García
eb3638d62a fixed azuread login on html5rdp 2021-03-23 16:41:56 +01:00
Adolfo Gómez García
5df8f640d8 Added config for WOL on UDS 2021-03-23 16:12:51 +01:00
Adolfo Gómez García
8c68da806a Added config for WOL on UDS 2021-03-23 15:38:02 +01:00
Adolfo Gómez García
b9ba304493 Added "ignore port check" if WOLAPP is configured 2021-03-23 12:25:04 +01:00
Adolfo Gómez García
f7b8e644f9 Fixed sample REST1 for python3 && added reset suport for assigned user service using REST API 2021-03-22 11:42:11 +01:00
Adolfo Gómez García
034021522d Fixed .tar.gz installer info 2021-03-15 11:25:27 +01:00
Adolfo Gómez García
52d3ffeac3 added config to actor block attacks 2021-03-12 15:10:39 +01:00
Adolfo Gómez García
868ff2817a Merge remote-tracking branch 'origin/v3.0' 2021-03-12 15:07:50 +01:00
Adolfo Gómez García
ba716be0f3 Added actor block on failure security config 2021-03-12 15:07:03 +01:00
Adolfo Gómez García
51916e0949 Merge remote-tracking branch 'origin/v3.0' 2021-03-12 11:42:02 +01:00
Adolfo Gómez García
1505fd346b * Fixed configuration commands with parameters with "equal" sign
* Fixed access using ticket
2021-03-12 11:41:53 +01:00
Adolfo Gómez García
e517281c6a Merge remote-tracking branch 'origin/v3.0' 2021-03-11 14:27:57 +01:00
Adolfo Gómez García
49ee75d986 Fixed big mistake on storage 2021-03-11 14:27:45 +01:00
Adolfo Gómez García
c90f9c40fd Merge remote-tracking branch 'origin/v3.0' 2021-03-11 14:15:01 +01:00
Adolfo Gómez García
2acc72a1f7 Fixed big mistake on storage 2021-03-11 14:12:33 +01:00
Adolfo Gómez García
c6213ff37c Merge remote-tracking branch 'origin/v3.0' 2021-03-10 18:13:42 +01:00
Adolfo Gómez García
81d8544f5f Added "AzureAD" RDP login support 2021-03-10 18:13:08 +01:00
Adolfo Gómez García
35b0d709f6 small fix in case service_multi loads old values 2021-03-10 11:10:37 +01:00
Adolfo Gómez
3908c875d3 Merge pull request #65 from glyptodon/easy-compat
Ensure guacamole-auth-uds is compatible with third-party branding extensions.
2021-03-05 23:42:55 +01:00
Michael Jumper
c28c6c7b98 Complete removal of code partially removed by commit 073ce3d. 2021-03-05 12:13:21 -08:00
Michael Jumper
fe3fd6c35b Remove UDS icon (conflicts with any third-party branding). 2021-03-05 12:11:53 -08:00
Adolfo Gómez García
d11a010562 Cleanup temp environment before assigning it to an user 2021-03-05 11:01:23 +01:00
Adolfo Gómez García
a035633b58 Merge remote-tracking branch 'origin/v3.0' 2021-03-04 17:05:19 +01:00
Adolfo Gómez García
ef24656e29 added local fonts instead from google to allow intranets to work fine 2021-03-04 17:04:03 +01:00
Adolfo Gómez García
281adedd3b autocontained google fonts 2021-03-04 17:01:29 +01:00
Adolfo Gómez García
688acb0631 Added extra security control to guacamole tickets 2021-03-04 12:13:38 +01:00
Adolfo Gómez García
0bc1f72dc8 Merge remote-tracking branch 'origin/v3.0' 2021-03-03 12:31:45 +01:00
Adolfo Gómez García
8a8df3de35 Fixed policy for removal of old ips on multiple_ip and restored "/disabled" behavior 2021-03-03 12:31:35 +01:00
Adolfo Gómez García
5d52061041 Merge remote-tracking branch 'origin/v3.0' 2021-03-03 12:27:39 +01:00
Adolfo Gómez García
0e20ccc19c Fixed policy for removal of old ips on multiple_ip and restored "/disabled" behavior 2021-03-03 12:22:10 +01:00
Adolfo Gómez García
190079fddc Merge remote-tracking branch 'origin/v3.0' 2021-03-01 13:12:59 +01:00
Adolfo Gómez García
52f8dc7fde Now machines does not locks forever.... (fix) 2021-03-01 13:12:14 +01:00
Adolfo Gómez García
9f44e7fd25 Merge remote-tracking branch 'origin/v3.0' 2021-03-01 13:08:47 +01:00
Adolfo Gómez García
8af6cc008b Now machines does not locks forever.... 2021-03-01 13:08:31 +01:00
Adolfo Gómez García
ff685119ae Merge remote-tracking branch 'origin/v3.0' 2021-03-01 13:07:33 +01:00
Adolfo Gómez García
388cb2644b fixing up service_multi 2021-03-01 13:07:31 +01:00
Adolfo Gómez García
5f30e083b1 Now machines does not locks forever.... 2021-03-01 13:06:41 +01:00
Adolfo Gómez García
bda4057173 Merge remote-tracking branch 'origin/v3.0' 2021-03-01 13:01:06 +01:00
Adolfo Gómez García
017aa46403 Now machines does not locks forever.... 2021-03-01 13:00:30 +01:00
Adolfo Gómez García
7aec9a116e added "post-login-as-sysadmin" possibility of run windows script 2021-03-01 12:13:28 +01:00
Adolfo Gómez García
f57fea4699 Merge remote-tracking branch 'origin/v3.0' 2021-03-01 11:47:02 +01:00
Adolfo Gómez García
a2a8f157e0 Updated translations 2021-03-01 11:45:59 +01:00
Adolfo Gómez García
d52bc68015 Merge remote-tracking branch 'origin/v3.0' 2021-03-01 11:42:14 +01:00
Adolfo Gómez García
eb8f300c0e fixed page not found redirections 2021-03-01 11:41:47 +01:00
Adolfo Gómez García
8ab1342775 merged chango of timeouts on 3.0 2021-03-01 11:14:02 +01:00
Adolfo Gómez García
f602d641a0 Merge remote-tracking branch 'origin/v3.0' 2021-03-01 10:42:34 +01:00
Adolfo Gómez García
9cd084a222 Fixed phisical machines skitTime 2021-03-01 10:41:35 +01:00
Adolfo Gómez García
3e07cf53e4 added remove control characters of an unicode string 2021-02-25 13:45:37 +01:00
Adolfo Gómez García
2968bc7d41 Merge remote-tracking branch 'origin/v3.0' 2021-02-25 10:39:53 +01:00
Adolfo Gómez García
6a209c0836 Added new resolutions for RDP display 2021-02-25 10:39:12 +01:00
Adolfo Gómez García
6b131681cd Added new resolutions for screens to RDP client 2021-02-25 10:38:35 +01:00
Adolfo Gómez García
9568a9b180 Merge remote-tracking branch 'origin/v3.0' 2021-02-24 15:18:04 +01:00
Adolfo Gómez García
d7a8a441ad Fixed locale 2021-02-24 15:17:47 +01:00
Adolfo Gómez García
91fcbe7336 Fixed "image" parameter for wake remote machine 2021-02-23 14:19:47 +01:00
Adolfo Gómez García
2fd5b40809 Fixed Phisical machines issues & updated macos screen calc algorithn 2021-02-22 14:25:27 +01:00
Adolfo Gómez García
4e161b15f4 Merge remote-tracking branch 'origin/v3.0' 2021-02-17 16:02:29 +01:00
Adolfo Gómez García
7985c0f9d0 Updated translations 2021-02-17 16:02:13 +01:00
Adolfo Gómez García
328d35a289 Merged 3.0 HTML5 RDP changes 2021-02-17 15:40:43 +01:00
Adolfo Gómez García
af52727862 Merge remote-tracking branch 'origin/v3.0' 2021-02-17 15:35:36 +01:00
Adolfo Gómez García
d474f02baf added support for "legacy" window override on html5 for UDS 2021-02-17 15:33:56 +01:00
Adolfo Gómez García
672897f828 fixed test redirect && fixed frequency 2021-02-16 13:17:10 +01:00
Adolfo Gómez García
073ce3df12 removed old unused code 2021-02-16 10:20:28 +01:00
Adolfo Gómez García
09125bb1fa Merge remote-tracking branch 'origin/v3.0' 2021-02-15 12:14:39 +01:00
Adolfo Gómez García
041ff932e4 added log to services.log on case of phisical machine connection test failure 2021-02-15 12:11:01 +01:00
Adolfo Gómez García
f3e7e21149 Added log in case of file access problems 2021-02-15 11:38:59 +01:00
Adolfo Gómez García
348258daf2 Merge remote-tracking branch 'origin/v3.0' 2021-02-14 22:11:27 +01:00
Adolfo Gómez García
d1f83e4ae4 fixed detection of iPad & iPhone 2021-02-14 22:02:24 +01:00
Adolfo Gómez García
49a6e01477 Merge remote-tracking branch 'origin/v3.0' 2021-02-11 09:43:15 +01:00
Adolfo Gómez
9f2354191c Merge pull request #64 from glyptodon/simplify-config
Replace complex "udsfile" logic with simplified "uds-base-url" property.
2021-02-11 09:34:50 +01:00
Adolfo Gómez
6804982b0b Merge pull request #63 from glyptodon/revalidate-data
Re-validate UDS data for each connection attempt.
2021-02-11 09:33:39 +01:00
Michael Jumper
857f8602b8 Replace complex "udsfile" logic with simplified "uds-base-url" property. 2021-02-10 16:58:03 -08:00
Michael Jumper
584dee9fcd Re-validate UDS data for each connection attempt. 2021-02-10 16:45:01 -08:00
Adolfo Gómez García
e7bf7b0258 added "hidden" mac address treatment to phisical machines 2021-02-10 14:43:36 +01:00
Adolfo Gómez García
a3ced4af30 fixed get tag from auth name 2021-02-09 13:42:57 +01:00
Adolfo Gómez García
46d056de5d Merge remote-tracking branch 'origin/v3.0' 2021-02-09 12:39:13 +01:00
Adolfo Gómez García
b6cae240a7 small comment fix 2021-02-09 12:27:37 +01:00
Adolfo Gómez García
92e13c48de Added support for linux environmenv var expansion on parameters for freerdp 2021-02-08 12:53:42 +01:00
Adolfo Gómez García
d93e5dc566 Merge remote-tracking branch 'origin/v3.0' 2021-02-05 14:32:10 +01:00
Adolfo Gómez García
99a96bf343 added environment variable expansion to rdp parameters 2021-02-05 14:31:43 +01:00
Adolfo Gómez García
0b8a9444d1 upgraded user gui 2021-02-05 10:59:23 +01:00
Adolfo Gómez García
cea271a2ce Added typing to scheduler 2021-02-01 12:53:34 +01:00
Adolfo Gómez García
d2d190e8a4 Retry scheduler cleanup in case of locked db 2021-01-29 11:54:48 +01:00
Adolfo Gómez García
5b8ff497fa Improved sql for scheduler main loop 2021-01-29 11:53:38 +01:00
Adolfo Gómez García
ae6d36b86a manually imported changes to v3.0 on spool names variables 2021-01-28 14:06:03 +01:00
Adolfo Gómez García
600f50f203 Merge remote-tracking branch 'origin/v3.0' 2021-01-28 14:00:31 +01:00
Adolfo Gómez García
04d0acb17e Fixed count & added new vars to service pools name 2021-01-28 13:56:57 +01:00
Adolfo Gómez García
caf1d5d825 Adding support for custom connection userServices data for RDP 2021-01-28 13:09:43 +01:00
Adolfo Gómez García
99d3393a33 Merge remote-tracking branch 'origin/v3.0' 2021-01-26 16:07:49 +01:00
Adolfo Gómez García
80bd2c2f9c Fixed headers for rest.py 2021-01-26 16:01:56 +01:00
Adolfo Gómez García
1d06bd02c0 fixing tunnel on privileges dropping 2021-01-25 15:19:49 +01:00
Adolfo Gómez García
41991590ca added support for running as root and drop to an user later 2021-01-25 14:58:50 +01:00
Adolfo Gómez García
4313368f78 small fixes for tunnel 2021-01-25 12:47:00 +01:00
Adolfo Gómez García
50660d92e5 fixed tunnel to allow sending to broker connection stats on termination 2021-01-25 11:12:10 +01:00
Adolfo Gómez García
c796f5aaac fixed sample tunnel configuration 2021-01-25 08:42:50 +01:00
Adolfo Gómez García
9e88ff5daa * Added "no compression" to ssl options for tunnel
* Updated headers & reformated rest.py
2021-01-23 21:50:40 +01:00
Adolfo Gómez García
cb5a6f2430 Fixed osDetector name 2021-01-22 09:01:52 +01:00
Adolfo Gómez
0f87c022f3 Headers & comments fix 2021-01-22 09:00:59 +01:00
Adolfo Gómez García
69f1c88c3d Fixed headers 2021-01-22 07:28:17 +01:00
Adolfo Gómez García
6fc6fa0fe1 Remove pycrypto and only using cryptopraphy 2021-01-22 07:17:18 +01:00
Adolfo Gómez García
f634d4ef1a Added .env files for vscode editing 2021-01-22 07:16:53 +01:00
Adolfo Gómez García
f933181369 Merge remote-tracking branch 'origin/v3.0' 2021-01-21 11:00:45 +01:00
Adolfo Gómez García
99e6ec8090 add sample custom download to configjs.py 2021-01-21 11:00:13 +01:00
Adolfo Gómez
f0b6726e19 Merge branch 'master' of https://github.com/dkmstr/openuds 2021-01-20 12:42:38 +01:00
Adolfo Gómez
8424c14052 added certifi certificates to CA list for Qt on UDS Client 2021-01-20 12:42:30 +01:00
Adolfo Gómez García
97f709bf52 fixed opengnsys connector callbacks. 2021-01-20 09:00:25 +01:00
Adolfo Gómez García
c26c8d9df9 Removed OLD template (code cleanup) 2021-01-20 08:48:21 +01:00
Adolfo Gómez García
9f81d0a066 Upgraded angular version of interfaces to v11 2021-01-19 09:13:07 +01:00
Adolfo Gómez García
bb626889fb Working on next OpenGnsys service provider release 2021-01-19 08:47:05 +01:00
Adolfo Gómez García
d8fb0deef2 Working on next OpenGnsys service provider release 2021-01-19 08:46:00 +01:00
Adolfo Gómez García
743773e256 Working on new tunnel, translating client mods to new tunnel server 2021-01-18 11:24:34 +01:00
Adolfo Gómez García
4adc058e1a Updating client logic to new gen tunnel server 2021-01-18 07:51:47 +01:00
Adolfo Gómez García
f364b283e6 added tunnel check 2021-01-18 06:45:50 +01:00
Adolfo Gómez García
7e4975be99 cleanup new tunnel 2021-01-18 06:04:59 +01:00
Adolfo Gómez García
a2df121e45 fixed a couple readmes 2021-01-18 05:51:34 +01:00
Adolfo Gómez García
f402dadb0a Advanced A LOT on new tunnel server & client. First test passed 2021-01-15 11:31:39 +01:00
Adolfo Gómez García
865601b3c8 Merge remote-tracking branch 'origin/v3.0' 2021-01-14 17:43:07 +01:00
Adolfo Gómez García
20f2e4fd27 small header changes 2021-01-14 17:40:44 +01:00
Adolfo Gómez García
0da51dda92 fixed log of tunnel 2021-01-14 10:05:58 +01:00
Adolfo Gómez García
7c9c510ca0 minor updates to texts 2021-01-14 08:23:34 +01:00
Adolfo Gómez García
7ae9df21a5 added new tunnel server client 2021-01-14 08:17:49 +01:00
Adolfo Gómez García
2fd1dc5fc9 Advancing on forwarder 2021-01-14 08:11:02 +01:00
Adolfo Gómez García
a4986d3b4d Advancing on forwarder 2021-01-14 08:10:46 +01:00
Adolfo Gómez García
40abfb6014 Advancing on forwarder 2021-01-14 08:10:28 +01:00
Adolfo Gómez García
d6a8639b18 new tunnel server ready for testing phase 2021-01-14 06:01:06 +01:00
Adolfo Gómez García
971e5984d9 Advancing on new tunneler 2021-01-13 10:04:26 +01:00
Adolfo Gómez García
e486d6708d added local uds_tunnel work to openuds 2021-01-13 04:42:59 +01:00
Adolfo Gómez
f0bd3782d7 Merge branch 'master' of https://github.com/dkmstr/openuds 2021-01-11 03:04:38 +01:00
Adolfo Gómez García
7e9dde66ac Merge remote-tracking branch 'origin/v3.0' 2021-01-11 03:02:38 +01:00
Adolfo Gómez García
68d7ded5bc Upgraded windows script to be compatible with python2.7 & python3 (for future 3.5 client compatibility) 2021-01-11 03:01:11 +01:00
Adolfo Gómez
fa05d9425e Fixed for python 3 on Windows 2021-01-11 02:50:30 +01:00
Adolfo Gómez
75221a4842 fixed python3 version for windows 2021-01-11 01:33:32 +01:00
Adolfo Gómez García
4cc11d783a Merge remote-tracking branch 'origin/v3.0' 2020-12-18 11:10:35 +01:00
Adolfo Gómez García
105a6af885 fixed windows access scripts 2020-12-18 11:08:05 +01:00
Adolfo Gómez García
e5a38a65ed updated actor toke user on re-registration 2020-12-17 14:04:19 +01:00
Adolfo Gómez García
dcdea31061 fixing minor possible issues with staff members && reformating code, adapting to type checking, etc... 2020-12-17 13:56:15 +01:00
Adolfo Gómez García
6b3d222a12 Merge remote-tracking branch 'origin/v3.0' 2020-12-15 16:42:02 +01:00
Adolfo Gómez García
8719896f62 Merge remote-tracking branch 'origin/v3.0' 2020-12-15 16:41:54 +01:00
Adolfo Gómez García
bb71dd1cd3 updated translations 2020-12-15 13:54:32 +01:00
Adolfo Gómez García
a95c69a77e Fix to gui 2020-12-09 12:19:55 +01:00
Adolfo Gómez García
57d8b01757 Fixed rdp_file url generation for mac audio 2020-12-04 13:37:07 +01:00
Adolfo Gómez García
66fb59a13b fixed tests for service on 3.5 actor 2020-12-01 11:36:01 +01:00
Adolfo Gómez García
78372e593a refactorization 2020-11-27 15:56:17 +01:00
Adolfo Gómez García
1d7c57eb2f Merge remote-tracking branch 'origin/v3.0' 2020-11-27 14:33:11 +01:00
Adolfo Gómez García
b1c4385090 Added multiple ip service maxDeployed calc 2020-11-27 14:32:49 +01:00
Adolfo Gómez García
501565c088 Reformated & minor updates for workers 2020-11-27 11:12:06 +01:00
Adolfo Gómez García
f2d55d6141 Merge remote-tracking branch 'origin/v3.0' 2020-11-26 18:43:03 +01:00
Adolfo Gómez
620e8fee94 Merge branch 'v3.0' of https://github.com/dkmstr/openuds into v3.0 2020-11-26 18:42:07 +01:00
Adolfo Gómez
933ba772d9 fixed proxy mistyping 2020-11-26 18:41:58 +01:00
Adolfo Gómez García
e9a4da5acc Merge remote-tracking branch 'origin/v3.0' 2020-11-26 11:52:21 +01:00
Adolfo Gómez García
45461844b1 Fixed SAML issues on logout redirections 2020-11-26 11:25:22 +01:00
Adolfo Gómez García
522a5ebfb7 Merge remote-tracking branch 'origin/v3.0' 2020-11-25 18:40:11 +01:00
Adolfo Gómez García
a70e7a269b Updated proxmox so reset invokes reset instead of stop vm 2020-11-25 18:37:40 +01:00
Adolfo Gómez García
6868e471c5 Merge remote-tracking branch 'origin/v3.0' 2020-11-20 14:40:18 +01:00
Adolfo Gómez García
4866b8947c restored = instead of ### for mac cord url 2020-11-20 10:08:00 +01:00
Adolfo Gómez García
9e4922ba79 adde future recording of guacamole 2020-11-19 12:14:52 +01:00
Adolfo Gómez García
7a377b0065 adapting UDS to new tunnel 2020-11-18 12:21:58 +01:00
Adolfo Gómez García
b830b0ee0a Merge remote-tracking branch 'origin/v3.0' 2020-11-17 17:09:15 +01:00
Adolfo Gómez García
dcf5ea8574 fixed tunnel for nx 3.5 2020-11-17 17:08:48 +01:00
Adolfo Gómez
2251618c69 Merge pull request #58 from glyptodon/migrate-extension
Convert "guacamole-tunnel" web application into an equivalent Apache Guacamole extension.
2020-11-17 00:28:12 +01:00
Michael Jumper
a6876de0b1 Convert "guacamole-tunnel" web application into an equivalent Apache Guacamole extension. 2020-11-16 14:18:41 -08:00
Adolfo Gómez García
58a70e368e * Small RDP fix (typo)
* Added secure ticket type
* Reformated sevice view
2020-11-16 19:45:54 +01:00
Adolfo Gómez García
50f3b79ee3 Merge remote-tracking branch 'origin/v3.0' 2020-11-16 14:45:24 +01:00
Adolfo Gómez García
38a625452b fixed x2goscript to tunnel (using direct by mistake) 2020-11-16 14:44:24 +01:00
Adolfo Gómez García
4183069cec Fixed help for mac ox on freerdp 2020-11-16 13:27:20 +01:00
Adolfo Gómez García
905b1e7589 refactoring code 2020-11-16 13:10:02 +01:00
Adolfo Gómez García
024bb5e748 Updated default wait-time && fixed mac access 2020-11-16 13:09:33 +01:00
Adolfo Gómez García
e4345dfefa fixed tunnel scripts for macosx 2020-11-15 22:48:17 +01:00
Adolfo Gómez García
6c54f8e75a Fixed cache bug intruduced on encoders module removal
Improbed type checking for REST (ongoing)
Optimized queries (using prefetch) for service pools listing
2020-11-13 11:23:22 +01:00
Adolfo Gómez García
45ca92b77e Removed encoders modules 2020-11-13 09:35:18 +01:00
Adolfo Gómez García
06b0f1396f reformated storage source 2020-11-13 08:43:55 +01:00
Adolfo Gómez García
c698300096 Merge remote-tracking branch 'origin/v3.0' 2020-11-13 08:30:45 +01:00
Adolfo Gómez García
482cc4b2ae Removing "encoders" uds module 2020-11-13 08:30:27 +01:00
Adolfo Gómez García
ed15178549 fixed typo on storage locator. (The bug is in a code that is not used, but maybe in a future...) 2020-11-13 08:29:19 +01:00
Adolfo Gómez García
2f67eacfb6 * Removing "encoders" module (nonsense and sometimes confusing. Helped on python 2.7, but now... :)
* Revised reports to improve type checking
2020-11-12 13:55:09 +01:00
Adolfo Gómez García
b8e7dc07c3 Refactoring models (without DB modification) to better type checking 2020-11-12 12:13:35 +01:00
Adolfo Gómez García
52f524eb61 * Fixed comms to not "annoy" with warnings
* Added generateUuid to allow pass in an object
* renamed "is_meta" to more convenient "is_owned_by_meta
* Fixed 2.x actor rest api small bug (not used that part right now anyway, but for future)
2020-11-12 11:48:42 +01:00
Adolfo Gómez García
637519a162 Upgrading models for pylance typechecking 2020-11-12 08:35:45 +01:00
Adolfo Gómez García
65b47686db updating type checking 2020-11-11 14:36:31 +01:00
Adolfo Gómez García
1ab534c3aa * Adding more type checking (pylance type checking works fin with theese new "checks")
* Removed redundant fields not used
2020-11-11 13:32:02 +01:00
Adolfo Gómez García
8cd5437429 removing unused ManyToManyField (it has already a relation class) 2020-11-11 11:24:13 +01:00
Adolfo Gómez García
a475d45b7b * Added better type checking on Handler
* Fixed exception of ticket store exception
* Added initial nitification for unamanged
2020-11-11 09:03:02 +01:00
Adolfo Gómez García
4f3792ced5 added typing to calendar actions pairs 2020-11-11 09:01:43 +01:00
Adolfo Gómez García
3e061275b4 Added some more typing checks 2020-11-11 09:00:34 +01:00
Adolfo Gómez García
22415b98cd Commented out fix for passwords. Do not apply to 3.x mechanics 2020-11-11 08:48:36 +01:00
Adolfo Gómez García
d5f84a4209 upgrade locales 2020-11-10 16:29:20 +01:00
Adolfo Gómez
302b9a85d5 Merge pull request #57 from danitorregrosa/escape-conflicting-chars-rdp-credential-redirection
fix for proper escaping of conflicting chars in rdp credential redire…
2020-11-10 14:20:59 +01:00
danitorregrosa
08038b5b90 fix for proper escaping of conflicting chars in rdp credential redirection 2020-11-10 14:05:56 +01:00
Adolfo Gómez García
6d9a6baa2a Merge remote-tracking branch 'origin/v3.0' 2020-11-10 09:20:16 +01:00
Adolfo Gómez García
f3e2338cfb updated translations 2020-11-10 09:19:43 +01:00
Adolfo Gómez
fb69866f89 Merge remote-tracking branch 'origin/v3.0' 2020-11-09 09:19:31 +01:00
Adolfo Gómez
cd4708296e Merge branch 'v3.0' of https://github.com/dkmstr/openuds into v3.0 2020-11-09 09:09:14 +01:00
Adolfo Gómez
c3915fd8fe Added no proxy for local requests on udsactor 2020-11-09 09:09:05 +01:00
Adolfo Gómez García
74ad50d7d8 working on allowing services to detect user login on unmanaged services 2020-11-08 19:17:29 +01:00
Adolfo Gómez García
00dc4c5a7b Changed default encrypt to AES 2020-11-07 08:20:08 +01:00
Adolfo Gómez García
a495f36c43 .gitignore update 2020-11-07 08:19:32 +01:00
Adolfo Gómez García
f69a9dbc82 Merge remote-tracking branch 'origin/v3.0' 2020-11-06 01:08:09 +01:00
Adolfo Gómez García
253896e995 fixed incorrectly removing service with token on edition of service and duplication of token 2020-11-05 09:28:32 +01:00
Adolfo Gómez García
65879f4bd3 fixed ignorables for mac client 2020-11-03 07:29:18 +01:00
Adolfo Gómez García
a094e1ebee fixed log name being bytes instead of string 2020-11-03 05:41:32 +01:00
admin
c35dc90264 added ignorable 2020-11-03 04:59:51 +01:00
Adolfo Gómez García
1be48b99d4 making some tests with nuitka 2020-11-02 08:45:20 +01:00
Adolfo Gómez García
cab09aea9c Fixing up mac os RDP transport support 2020-10-31 07:21:01 +01:00
Adolfo Gómez García
da23222f0f Working on supporting better clients on Mac 2020-10-30 09:44:55 +01:00
Adolfo Gómez García
5d604bb629 Merge remote-tracking branch 'origin/v3.0' 2020-10-29 09:36:45 +01:00
Adolfo Gómez García
9d19aebdf6 Fixed macosx CoRD pkg location 2020-10-29 09:17:11 +01:00
Adolfo Gómez García
13de581b80 Improbed session clear on user logout 2020-10-29 07:49:43 +01:00
Adolfo Gómez García
76f4df5aa1 Added admin access API restriction by IP 2020-10-29 06:23:09 +01:00
Adolfo Gómez García
8634ce50c6 Fixed so, if an invalid IP is configured on trusted source, it gets logged and ignored 2020-10-29 06:22:52 +01:00
Adolfo Gómez García
758f409372 Renamed module "openStack" to more convenient "openstack", and a couple of minor fixes related to it 2020-10-28 06:55:15 +01:00
Adolfo Gómez García
edd6714cd0 removed version dependency from requirements for cryptography 2020-10-28 01:37:42 +01:00
Adolfo Gómez
a7f9880816 Merge pull request #56 from dkmstr/dependabot/pip/server/cryptography-3.2
Bump cryptography from 2.9.2 to 3.2 in /server
2020-10-28 00:49:29 +01:00
dependabot[bot]
d9bbbb35eb Bump cryptography from 2.9.2 to 3.2 in /server
Bumps [cryptography](https://github.com/pyca/cryptography) from 2.9.2 to 3.2.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/2.9.2...3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-27 22:53:01 +00:00
Adolfo Gómez García
5bf8e74018 Merge remote-tracking branch 'origin/v3.0' 2020-10-27 11:10:01 +01:00
Adolfo Gómez García
32c496e88a Increased AD path size to 256 for os manager 2020-10-27 11:02:27 +01:00
Adolfo Gómez García
f5b59889fc Merge remote-tracking branch 'origin/v3.0' 2020-10-27 07:57:48 +01:00
Adolfo Gómez García
538779e3c1 fixed usage on a day report 2020-10-27 07:55:32 +01:00
Adolfo Gómez García
6ced042153 upgraded debian build for actor and client 2020-10-23 08:34:10 +02:00
Adolfo Gómez García
e9f74d9ccc upgraded debian build for actor and client 2020-10-23 08:31:24 +02:00
Adolfo Gómez García
9815e21524 upgraded debian build 2020-10-23 08:28:02 +02:00
Adolfo Gómez García
666ae4e1d3 Added experimental support for L2 cache to Proxmox 2020-10-23 02:47:51 +02:00
Adolfo Gómez García
3e8a3efb75 Added L2 cache support for proxmox 2020-10-23 02:14:11 +02:00
Adolfo Gómez García
4094818ccc Merge remote-tracking branch 'origin/v3.0' 2020-10-22 11:14:04 +02:00
Adolfo Gómez García
6f5f17326e Fixed pools usage summary on emtpy pools 2020-10-22 11:13:41 +02:00
Adolfo Gómez García
43acedf7f6 small storage fix 2020-10-21 08:24:24 +02:00
Adolfo Gómez García
37f06617b8 Added dict-like storage management 2020-10-21 08:03:18 +02:00
Adolfo Gómez García
dd39bb4e64 Merge remote-tracking branch 'origin/v3.0' 2020-10-20 11:55:40 +02:00
Adolfo Gómez García
6dc6f5954b fixed typo on connection recovery 2020-10-20 11:29:46 +02:00
Adolfo Gómez García
bafd3bc6b3 Added support for configurable admin pagesizes 2020-10-20 11:11:52 +02:00
Adolfo Gómez García
48e0577e9f Merge remote-tracking branch 'origin/v3.0' 2020-10-20 11:10:20 +02:00
Adolfo Gómez García
61750f2f94 Improved services usage retrieval 2020-10-20 11:10:02 +02:00
Adolfo Gómez García
cb05113d88 Adding support for configurable page size of lists on admin 2020-10-20 09:19:10 +02:00
Adolfo Gómez García
afc4fd39ef Merge remote-tracking branch 'origin/v3.0' 2020-10-16 13:52:52 +02:00
Adolfo Gómez García
9c991fd8ef included sample code to allow use of css by tag (Authenticator tag) 2020-10-16 13:52:09 +02:00
Adolfo Gómez García
33502140cf Merge remote-tracking branch 'origin/v3.0' 2020-10-16 13:29:18 +02:00
Adolfo Gómez García
d840066468 Added config variable to allow some more modifications 2020-10-16 13:28:20 +02:00
Adolfo Gómez García
63280bf9cb Merge remote-tracking branch 'origin/v3.0' 2020-10-16 11:46:45 +02:00
Adolfo Gómez García
e8698316c6 Fixed calendar actions 2020-10-16 11:46:18 +02:00
Adolfo Gómez García
1d90f04245 Upgraded angualar version for user & admin 2020-10-15 04:40:32 +02:00
Adolfo Gómez García
a486e68e39 Removed old unused project files 2020-10-15 04:09:34 +02:00
Adolfo Gómez García
76e5aede37 Modified VERSION for future version release. Current stable is 3.0 2020-10-15 03:48:44 +02:00
Adolfo Gómez García
bbae1dca44 Fixed tags FULL removal 2020-10-14 17:55:20 +02:00
Adolfo Gómez García
1afe118481 Removed url redirection from html5. Now guacamole always closes window after end 2020-10-13 20:36:31 +02:00
Adolfo Gómez García
35c4e90be8 small fix for html5vnc 2020-10-13 20:32:57 +02:00
Adolfo Gómez García
b792c630c6 Fixed global removal concurrency check to speed up process 2020-10-09 13:43:54 +02:00
Adolfo Gómez García
958165c64f Fixed Opengnsys default max removing services 2020-10-09 13:41:57 +02:00
Adolfo Gómez García
2811521937 Removed old eclipse builders 2020-10-08 15:26:45 +02:00
Adolfo Gómez
792db7ba6c Update TODO.txt
Outdated TODO. Leaving empty for now.
2020-10-08 15:25:13 +02:00
Adolfo Gómez García
5740ec7e3e fixed (c) of pam_uds 2020-10-08 15:22:38 +02:00
Adolfo Gómez García
3cbb0675a6 Removed outdated docs 2020-10-08 15:20:05 +02:00
Adolfo Gómez García
bfd5f12f82 Fixed scheduled action executor with removing & restrained pools 2020-10-07 12:39:02 +02:00
Adolfo Gómez García
b5b2d20c27 Fixed metapool usage && visualization 2020-10-05 16:50:38 +02:00
Adolfo Gómez García
cf2c984065 Fixed metapool usage && visualization 2020-10-05 16:03:49 +02:00
Adolfo Gómez García
e38c05286f Fixed loading autoattributes from python 2 2020-10-01 15:35:36 +02:00
Adolfo Gómez García
5355cc5a51 Fixed Hanged Removal of non os managed services 2020-09-30 14:05:27 +02:00
Adolfo Gómez García
1789aee1e7 Added "connection.close" to release used connections early" (fixed) 2020-09-29 16:16:47 +02:00
Adolfo Gómez García
e184961eba Added "connection.close" to release used connections early" (fixed) 2020-09-29 16:13:43 +02:00
Adolfo Gómez García
10b8f3418f Added "connection.close" to release used connections early" 2020-09-29 15:48:39 +02:00
Adolfo Gómez García
60b1fabcaf added number of service pools to transports list 2020-09-29 13:47:12 +02:00
Adolfo Gómez García
b492e7674c added "total" macro to display services 2020-09-25 14:13:53 +02:00
Adolfo Gómez García
3d0a9f758f Fixed dependencies for Fedora 32 & OpenSuse 2020-09-24 16:33:00 +02:00
Adolfo Gómez García
a2aef2fba0 Fixed service launcher & metapool launcher to correctly recognize http urls 2020-09-23 14:07:05 +02:00
Adolfo Gómez García
9d6fd8a1ab Updated translations 2020-09-22 16:24:33 +02:00
Adolfo Gómez García
547607452a Added variable launch time for plugin launcher 2020-09-22 16:22:56 +02:00
Adolfo Gómez García
25d24f8102 fixed user/userservice removal 2020-09-15 10:49:21 +02:00
Adolfo Gómez García
9e77934136 Fixed info on model utils
Added "allow_agent=False" to forwarded connection of UDS client
2020-09-10 13:53:05 +02:00
Adolfo Gómez García
78129c9569 Allow use of tag if DISALLOW_GLOBAL_LOGIN 2020-09-08 13:01:32 +02:00
Adolfo Gómez García
2c27061534 Fixed altClass group retrieval for regexldap 2020-09-08 12:21:18 +02:00
Adolfo Gómez García
d46c806ae3 Fixed ldap _altuser attributes adding 2020-09-07 12:49:48 +02:00
Adolfo Gómez García
b35ffbbf58 Fixed translation 2020-09-03 15:48:28 +02:00
Adolfo Gómez García
407dff41ea Fixed user interface typo 2020-09-03 15:45:59 +02:00
Adolfo Gómez García
2627f96499 Fixed calendar action "Remove all user services" 2020-09-03 11:35:54 +02:00
Adolfo Gómez García
a0ba19010c updated requirements 2020-09-01 15:11:28 +02:00
Adolfo Gómez García
7650f3239a Fixed configuration save logging when migration are onwards 2020-09-01 15:10:29 +02:00
Adolfo Gómez García
35f932e88d Fixed restrained on admin 2020-08-31 18:00:45 +02:00
Adolfo Gómez García
fc188b5b9c Changed the mechanics for launching an external url 2020-08-28 17:09:56 +02:00
Adolfo Gómez García
bbc211ac8c updated admin interfaces 2020-08-28 14:32:08 +02:00
Adolfo Gómez García
fbd3d36461 Fixed test of simpleldap 2020-08-27 18:50:26 +02:00
Adolfo Gómez García
a527ff326d * Updated dependency for rpms (pycrypto) for UDS
* Included "urllib.parse" as import (not all platforms includes it on "urllib" import)
* Fixed stupid "b" on tools
2020-08-27 14:13:27 +02:00
Adolfo Gómez García
6a9b764e1e fixed temp filename 2020-08-27 13:26:46 +02:00
Adolfo Gómez García
06b7b58dd2 Fixed port error on spice tunnel 2020-08-26 16:31:26 +02:00
Adolfo Gómez García
9560ee0699 Fixed X2go authorize script for vapp 2020-08-25 15:13:05 +02:00
Adolfo Gómez García
cf88eb4c4b added support for 2.2 for backwards for script send 2020-08-25 14:45:33 +02:00
Adolfo Gómez García
f9154b57a7 Final fixes for multi domain && tagged auth 2020-08-25 13:57:48 +02:00
Adolfo Gómez García
6e6384fb00 Fixed authentication multihost 2020-08-25 13:46:20 +02:00
Adolfo Gómez García
f0caabf814 Fixed authentication multihost 2020-08-25 13:42:27 +02:00
Adolfo Gómez García
110f1c23f1 Updated translations 2020-08-25 10:52:46 +02:00
Adolfo Gómez García
0d63dabe9f Fixed admin interface 2020-08-25 10:32:40 +02:00
Adolfo Gómez García
e1b4825726 Fixed meta service pool. Negative priorities not accepted 2020-08-25 10:30:01 +02:00
Adolfo Gómez García
5e4114c719 Fixed clipboard (partially) for guacamole 2020-08-20 14:45:21 +02:00
Adolfo Gómez García
5c5ddd147c Fixed port on simple ldap 2020-08-20 11:53:18 +02:00
Adolfo Gómez García
d46eebc581 small regex ldap fix 2020-08-19 15:15:25 +02:00
Adolfo Gómez García
4216d1553a Fixed Regex LDAP accepting altClass as secondary search 2020-08-19 14:44:33 +02:00
Adolfo Gómez García
1e42bf6cbb Fixed base random pass length
Removed "tunnelCheck" from legacy nx transport (not used anyway)
2020-08-19 13:44:55 +02:00
Adolfo Gómez García
416b5e738f Fixed random password complexity 2020-08-18 00:47:56 +02:00
Adolfo Gómez García
2529039f49 Fixed getIdle for all platforms 2020-08-11 15:28:47 +02:00
Adolfo Gómez García
0ba8e83588 Removed memory for now from proxmox. Not really used 2020-08-11 12:33:40 +02:00
Adolfo Gómez García
e58b3e52e9 fixed download actors display on small screens 2020-08-11 11:23:18 +02:00
Adolfo Gómez García
3e72f634d4 Fixed "true" 2020-08-11 10:59:38 +02:00
Adolfo Gómez García
b61fd61e0e added "rmp --addsig" to build script. Note that you musth have configured an rmp key, or ignore the error output (and dont get signed the .rpm) 2020-08-10 08:44:50 +02:00
Adolfo Gómez García
39cf5b1ff7 fixed config save on multiple save 2020-08-08 20:23:30 +02:00
Adolfo Gómez García
adfed4f89d added custom value to set filter on top or bottom 2020-08-08 20:15:59 +02:00
Adolfo Gómez García
27f867f71a adder renamer for opensuse-leap 2020-08-08 00:21:27 +02:00
Adolfo Gómez García
73445c516b Added VNC HTML5 experimental transport (disabled by default) 2020-08-07 09:20:39 +02:00
Adolfo Gómez García
247bb2e549 fixed javascript login 2020-08-07 06:46:28 +02:00
Adolfo Gómez García
4a8fdfe09d fixed sample config 2020-08-07 05:48:07 +02:00
Adolfo Gómez García
5a3a9e2e42 fixed sample config 2020-08-06 17:32:36 +02:00
Adolfo Gómez García
ff4ff7899c * Upgraded user interface
* Fixed visual name max length (to 32)
2020-08-06 12:47:19 +02:00
Adolfo Gómez García
a34e8c2c9d Updated admin interface 2020-08-06 08:27:39 +02:00
Adolfo Gómez García
9a9afae79a Added {use} macro to Short name, so the % of pool use could be shown on pool name 2020-08-05 15:08:07 +02:00
Adolfo Gómez García
a3c31bcfb7 Updated admin 2020-08-05 15:07:35 +02:00
Adolfo Gómez García
060b4fce98 now "joinDomain" executes "rename" and ignores most part 2020-08-05 10:40:30 +02:00
Adolfo Gómez García
fc090497cc fixed sample config file 2020-08-04 07:55:43 +02:00
Adolfo Gómez García
44456213f7 Added new report "Authenticators stats" 2020-08-03 13:05:13 +02:00
Adolfo Gómez García
5d76b3269b fixed calendar actions add/remove group/transport 2020-08-03 13:04:18 +02:00
Adolfo Gómez García
786242d1cd Small improvement to events 2020-08-02 17:16:02 +02:00
Adolfo Gómez García
fc856ad7fb Small improvement to counter 2020-08-02 17:09:06 +02:00
Adolfo Gómez García
aecd933c98 more fixes to stats counters 2020-07-31 13:39:36 +02:00
Adolfo Gómez García
5602cca2b5 Fixed getCounters to be a bit more flexible 2020-07-31 06:30:44 +02:00
Adolfo Gómez García
50fc172fd7 improved getCounter kwargs parameters read 2020-07-30 06:21:03 +02:00
Adolfo Gómez García
0664968352 Updated dashboard 2020-07-30 05:13:51 +02:00
Adolfo Gómez García
0333dbd51a Fixed non visible config values 2020-07-30 05:13:11 +02:00
Adolfo Gómez García
6e19d59bdf Small fixes (typing, name & string related) 2020-07-30 04:12:42 +02:00
Adolfo Gómez García
fe7bbe8799 added small comment in case someone wants to use UDS as main site and redirect / to somewhere else 2020-07-29 20:11:03 +02:00
Adolfo Gómez García
c53dbd6714 removed print, not commited real stats saver :) 2020-07-29 15:13:02 +02:00
Adolfo Gómez García
3e8757e908 added auth stats to stats collector & stats manager 2020-07-29 13:53:00 +02:00
Adolfo Gómez García
e1d66db7ea Merge branch 'master' of github.com:dkmstr/openuds 2020-07-28 09:43:41 +02:00
Adolfo Gómez García
c38a68f4f6 Moved __import__ to recommended "importlib.import_module"
Fixed guacamole 500 error on some cases
2020-07-28 09:43:33 +02:00
Adolfo Gómez
db373979c2 fixed unknown literal caps 2020-07-27 09:03:05 +02:00
Adolfo Gómez
606e65eea4 Added session type to login request 2020-07-27 08:53:05 +02:00
Adolfo Gómez
4e3dce37f7 Removed SENS from uds actor 3.0. Not needed 2020-07-23 09:14:19 +02:00
Adolfo Gómez García
668c26dd8f Fixed token being cleaned on managed machines on logout 2020-07-22 23:33:23 +02:00
Adolfo Gómez García
735a093b0b Fixed service_multi, so, in case a phisical machines got "stuck on db" forever, could be removed by editing the service (remove, save, readd and done) 2020-07-22 07:10:30 +02:00
Adolfo Gómez García
8a49e7c437 Fixed type of error returned by StorageAccess 2020-07-22 06:38:35 +02:00
Adolfo Gómez García
03e3517baf Added access to storage using dict-like item 2020-07-22 06:26:53 +02:00
Adolfo Gómez García
db5ac8b12e Upgraded user interface to angular 10 2020-07-21 18:13:44 +02:00
Adolfo Gómez García
78dbd966b1 Upgraded admin interface 2020-07-21 17:57:07 +02:00
Adolfo Gómez García
cff8977c63 Fixed latam for html5 2020-07-21 17:45:46 +02:00
Adolfo Gómez García
a648f5686e Updated to client for python 3 2020-07-20 13:15:00 +02:00
Adolfo Gómez García
2fbdef1739 fixed invalid cert error on python 3 2020-07-20 11:50:20 +02:00
Adolfo Gómez García
7d4243d72a Fixed spice bugs. Thanks to a-sh1 2020-07-15 14:06:55 +02:00
Adolfo Gómez García
c520a63800 Fixed HTML5 rdp netbios domain name
Fixed publication cleaning on persistent machines (Cache is now removed correctly)
2020-07-14 14:54:40 +02:00
Adolfo Gómez García
12ce031217 fixed f4 proxy request with domain and domain name on html5 if used NETBIOS name 2020-07-14 14:03:03 +02:00
Adolfo Gómez García
3ead78adb9 Updated guacamole dependency to 1.1 2020-07-12 07:03:10 +02:00
Adolfo Gómez García
b238bba7a4 Added new "future" url paths for some dispatchers 2020-07-12 01:42:25 +02:00
Adolfo Gómez García
416a11c0ed Removed _ from hostnames (no valid) 2020-07-08 19:39:37 +02:00
Adolfo Gómez García
c286beac9f Removed _ from hostnames (no valid) 2020-07-08 19:27:09 +02:00
Adolfo Gómez García
a31411fbf0 Fixed a couple of things on UDS 2020-07-08 18:48:46 +02:00
Adolfo Gómez García
675e335aa4 Added UDS Actor version to uds actor request user agent 2020-07-03 14:34:28 +02:00
Adolfo Gómez García
31ee1d2858 Fixed background "cleaners" 2020-07-02 15:39:14 +02:00
Adolfo Gómez García
19edf417ba *More fix & improvements on cleaner workers 2020-07-01 16:45:03 +02:00
Adolfo Gómez García
510b0cb32a * Fixed and improved AssignedAndUnused check time (from 1 minutes to 5, more than enough)
* Improved query to filter assignedAndUnused
* Added "destroy_after" check for stuck worker
* Improved query for stuck check
2020-07-01 16:11:47 +02:00
Adolfo Gómez García
f9ada8349f Fixed Auth limiting by hostname/label && fixed actor changeip method (is ipchange) 2020-07-01 12:00:51 +02:00
Adolfo Gómez García
5e177059fe Added parameter to add or not digits on random string 2020-06-29 13:48:40 +02:00
Adolfo Gómez García
df86e8742c Updated translations 2020-06-25 13:55:49 +02:00
Adolfo Gómez García
526229b9cf Fixed admin tooltip 2020-06-25 13:54:41 +02:00
Adolfo Gómez García
8d39728ede Fixed service information 2020-06-25 13:53:49 +02:00
Adolfo Gómez García
5bb2cfdf8a Fixed error detection on new service allocation 2020-06-24 12:51:58 +02:00
Adolfo Gómez García
640de2e7b7 Upgraded angular && small report fix 2020-06-24 05:53:13 +02:00
Adolfo Gómez García
2f615358e3 updated frontend 2020-06-24 05:20:52 +02:00
Adolfo Gómez García
7c5cbe6604 new translations 2020-06-24 05:16:44 +02:00
Adolfo Gómez García
7c4ebd90aa Fixing up clients 2020-06-24 05:07:38 +02:00
Adolfo Gómez García
2d2030f8d5 Added downloadables & legacy downloadables 2020-06-24 03:41:48 +02:00
Adolfo Gómez García
243c89eb6d Fixed package builder for actor on python3 2020-06-24 03:16:37 +02:00
Adolfo Gómez García
6de8ccb018 Created packages for udsclient for modern rh/suse based installar (python3) 2020-06-24 03:01:04 +02:00
Adolfo Gómez García
f52b224a38 template fixed for uds client for python3 2020-06-24 01:47:49 +02:00
Adolfo Gómez García
909e706bbd Fixed UDSActor for rpm based % python3 2020-06-24 01:37:13 +02:00
Adolfo Gómez García
0fcbf8dc6a Updated translations 2020-06-24 00:56:13 +02:00
Adolfo Gómez García
bda2232629 Added Custom External URL Launcher 2020-06-24 00:48:06 +02:00
Adolfo Gómez García
308a9c68ab Updated locales 2020-06-23 14:10:19 +02:00
Adolfo Gómez García
e7a403d60e updated user moodle launcher 2020-06-23 14:06:47 +02:00
Adolfo Gómez García
14ddcfe797 fixed moodle URL 2020-06-23 13:25:54 +02:00
Adolfo Gómez García
afcb96d9b7 small fix 2020-06-22 16:12:40 +02:00
Adolfo Gómez García
96945e7834 Added "autocomplete off" to forms 2020-06-22 16:00:59 +02:00
Adolfo Gómez García
fdd241194d Updated .gitignore 2020-06-22 14:43:02 +02:00
Adolfo Gómez García
0dc78fc376 * Working on FEDORA/RH/OpenSuse & rpm based uds actor for python3 packager 2020-06-22 14:36:15 +02:00
Adolfo Gómez García
4b3c3cc183 Added custom html info on login page 2020-06-19 15:09:19 +02:00
Adolfo Gómez García
69c4efe793 fixed comments 2020-06-17 12:49:04 +02:00
Adolfo Gómez García
3c85ba692e Independized "Multimedia sync" flag from sound 2020-06-17 10:38:41 +02:00
Adolfo Gómez García
7ce2ac8bd7 Fixed /multimedia (changed for /video) when tranport flag "Multimedia sync" 2020-06-17 10:33:24 +02:00
Adolfo Gómez García
062b02a409 removed unusefull "loginurl" config parameter 2020-06-16 14:47:27 +02:00
Adolfo Gómez García
e3cb1ffaf1 enlarged options for rdp linux clients text fields 2020-06-16 13:39:32 +02:00
Adolfo Gómez García
7312c1ee6b Fixed Settings sample 2020-06-15 15:10:21 +02:00
Adolfo Gómez García
d296761ada Fixed federated auth callback 2020-06-15 14:55:52 +02:00
Adolfo Gómez García
da8d885107 Fixed locales 2020-06-12 17:15:09 +02:00
Adolfo Gómez García
9d64f7a539 Fixed model so "name", "..." are also provided to Modules 2020-06-12 14:04:34 +02:00
Adolfo Gómez García
f01d4302cf Fixed comms for non suporting coms user services 2020-06-12 13:53:51 +02:00
Adolfo Gómez García
d9a948df38 Fixed types for proxmox (network) 2020-06-11 18:04:12 +02:00
Adolfo Gómez García
5df07875f9 Fixed admin text 2020-06-11 17:38:36 +02:00
Adolfo Gómez García
c23f95e903 Fixed several proxmox issues 2020-06-11 17:34:36 +02:00
Adolfo Gómez García
6f8b67f3b8 updated translations 2020-06-10 16:42:00 +02:00
Adolfo Gómez García
7a6476569d fixed admin 2020-06-10 15:01:05 +02:00
Adolfo Gómez García
1638243d84 Fixed html5 && actor v3 2020-06-10 02:14:18 +02:00
Adolfo Gómez García
74c5643bcf New messages update 2020-06-08 18:07:40 +02:00
Adolfo Gómez García
7bc87c39a7 fixed state date optimization 2020-06-08 17:44:42 +02:00
Adolfo Gómez García
bf4a6e24d2 Fixed service multi 2020-06-08 16:47:08 +02:00
Adolfo Gómez García
0aa65e71b4 fixed debian dependency (python-six instead of python3-six) for udsclient 2020-06-08 16:02:41 +02:00
Adolfo Gómez García
4985747c97 Fixed skipTimeOnFailure store && integer division on python 3 for client 2020-06-08 14:35:07 +02:00
Adolfo Gómez García
8d9b8d9234 Added support for openstack showing subnets 2020-06-05 14:51:31 +02:00
Adolfo Gómez García
7b623bd986 Several fixes for mitration from 2.2.1 2020-06-03 13:49:19 +02:00
Adolfo Gómez García
72efd559c4 Translations 2020-06-02 15:41:03 +02:00
Adolfo Gómez García
24f77d37d4 Fixed minor javascript visualizations 2020-06-02 15:38:36 +02:00
Adolfo Gómez García
a982d64190 Removed L2 cache from openstack (not really usefull right now) 2020-06-02 01:06:00 +02:00
Adolfo Gómez García
56eefa10a9 updated locales 2020-05-30 20:56:53 +02:00
Adolfo Gómez García
779dfe1fc4 Added mor info to pools usage summary 2020-05-30 20:55:21 +02:00
Adolfo Gómez García
d0e7dde571 fixed user save 2020-05-29 15:22:49 +02:00
Adolfo Gómez García
7ee137b00e check permisions on users/groups administration 2020-05-29 14:46:36 +02:00
Adolfo Gómez García
1a42daa8e3 fixed rdp script signatures 2020-05-29 14:16:46 +02:00
Adolfo Gómez García
a630f1fc14 fixed over fixes xd (small "beauty") 2020-05-29 14:15:11 +02:00
Adolfo Gómez García
9454b9f63f Fixed linux rdp scripts 2020-05-29 14:10:01 +02:00
Adolfo Gómez García
b48bea14d2 Now ensures setReady does not steals, on error, the machine to the user 2020-05-29 04:48:14 +02:00
Adolfo Gómez García
1959051fe4 added cache for checking liveness on multiple ip 2020-05-29 03:43:36 +02:00
Adolfo Gómez García
6faf6ceaca Updated default input field length to 64. Fixed actor to allow unmanaged new methods. Fixed admin interface 2020-05-28 13:58:28 +02:00
Adolfo Gómez García
7ec2197634 improving actor to better support unmanaged hosts 2020-05-28 04:29:13 +02:00
Adolfo Gómez García
7a9dbc3edd added logging capabilites to Provider & Services Class. Added info on provider log when a machine is not accesible on phisical 2020-05-28 02:13:00 +02:00
Adolfo Gómez García
944bc0041b Fixed rdp netbios domain being swapped with username 2020-05-26 21:36:52 +02:00
Adolfo Gómez García
a7b33bb992 Fixed calendar actions 2020-05-26 18:34:40 +02:00
Adolfo Gómez García
06f4c933ed updated translations 2020-05-26 16:22:39 +02:00
Adolfo Gómez García
b1e1aebdf0 Added por check for phisical machines multi 2020-05-26 16:03:49 +02:00
Adolfo Gómez García
36609eaff3 remove empty ips from phisical machines on save 2020-05-26 14:32:57 +02:00
Adolfo Gómez García
71d6e389ea fingerprints is a comma separated string 2020-05-26 11:52:00 +02:00
Adolfo Gómez García
1983a218cb fixed typo on forward 2020-05-26 11:37:54 +02:00
Adolfo Gómez García
2fea5d1526 fixed typo on forward 2020-05-26 11:36:41 +02:00
Adolfo Gómez García
cede2c48e9 added forward checking fingerprints capability 2020-05-26 11:21:35 +02:00
Adolfo Gómez García
f306449b0e Fixed meta pool prefetch & configuration save 2020-05-25 12:55:05 +02:00
Adolfo Gómez García
786e419b27 Removed last focos of possible slowness showing services 2020-05-22 18:57:37 +02:00
Adolfo Gómez García
6ff997b054 fixed refactored var 2020-05-22 13:15:40 +02:00
Adolfo Gómez García
e0a512eefb More improvements on getServices 2020-05-22 12:43:41 +02:00
Adolfo Gómez García
fcea278d2f fixed certificate message 2020-05-22 10:56:17 +02:00
Adolfo Gómez García
aee16dd075 Improved user services queries a LOT :) 2020-05-22 03:18:04 +02:00
Adolfo Gómez García
42b06ff688 fixed metapools access 2020-05-20 14:04:32 +02:00
Adolfo Gómez García
158564552e Fixed pushing menus after dialog 2020-05-20 13:00:13 +02:00
Adolfo Gómez García
5b9fe17353 fixed prefetchs on some methods 2020-05-19 18:05:30 +02:00
Adolfo Gómez García
5ea3949d4c Improved service pool listing on high numbers... 2020-05-19 17:08:40 +02:00
Adolfo Gómez García
aa3744094b fixed pools usage summary report 2020-05-18 21:53:15 +02:00
Adolfo Gómez García
222ed0e9b0 Added new report (summary of pools usage between dates) 2020-05-18 15:37:32 +02:00
Adolfo Gómez García
cf76d7ae76 fixed log comments 2020-05-15 14:24:26 +02:00
Adolfo Gómez García
4dec86fe9d Several fixes:
* Loglevel now more "readable" for actor
* Added "remove delete protection" for cloned machine to template on proxmox
* Fixed bug on textbox
2020-05-15 14:08:32 +02:00
Adolfo Gómez García
62313ae67f fixed texbox default values 2020-05-14 14:51:46 +02:00
Adolfo Gómez García
aba2995371 moved several logs out of info level 2020-05-13 12:12:34 +02:00
Adolfo Gómez García
66e3dc11ea Fixed IP Proxy 2020-05-11 15:09:52 +02:00
Adolfo Gómez García
f1e8011f42 fixed comms for certificate checking 2020-05-11 14:16:11 +02:00
Adolfo Gómez García
616df1f0f2 Fixed translations && updated staff showing info 2020-05-11 14:06:33 +02:00
Adolfo Gómez García
65bb91c449 fixed xss && fixed configjs 2020-05-11 13:35:28 +02:00
Adolfo Gómez García
c69512bf8b fixed issue with actor certificates creation 2020-05-09 08:51:14 +02:00
Adolfo Gómez García
1e03a5cf6e fixed issue with actor certificates creation 2020-05-09 08:48:43 +02:00
Adolfo Gómez García
8c3ca38b3d updated translations 2020-05-07 11:53:38 +02:00
Adolfo Gómez García
cb8461b06c Fixed Admin by translations 2020-05-07 10:55:04 +02:00
Adolfo Gómez García
559c5c76ff fixed literals & typo 2020-05-07 10:37:26 +02:00
Adolfo Gómez García
a5b164930e updated translations 2020-05-06 13:53:18 +02:00
Adolfo Gómez García
92b4e2c898 Changed shadow default for xcp from 4 to 1 2020-05-06 13:51:03 +02:00
Adolfo Gómez García
eba6a7be7a renamed CrOs SO to Chrome OS 2020-05-05 16:32:25 +02:00
Adolfo Gómez García
b824c5431b updated client to allow some more customizations from dashboard 2020-05-05 12:35:57 +02:00
Adolfo Gómez García
f409b2986c fixing up stuff 2020-05-04 14:12:36 +02:00
Adolfo Gómez
ad4ea61613 Merge pull request #52 from shaba/devel
ovirt -> proxmox in Proxmox service
2020-04-30 09:25:55 +02:00
a8d0081fd1 ovirt -> proxmox in Proxmox service 2020-04-29 17:31:43 +03:00
Adolfo Gómez García
cdd3cd546f fixed names 2020-04-29 11:28:58 +02:00
Adolfo Gómez García
3d2423f0bf added warning capture && fixed cert issuer name 2020-04-29 08:05:25 +02:00
Adolfo Gómez García
612d05a408 generating certificates with criptography lib && added alt subject 2020-04-29 07:16:00 +02:00
Adolfo Gómez García
ab84330c7b added "strip" to IP list 2020-04-28 15:57:36 +02:00
Adolfo Gómez García
bd28300324 fixed redirection for custom auth if default 2020-04-28 11:54:06 +02:00
Adolfo Gómez García
e758ec36ff Several fixes:
* Extended windows domain OU
* Addded certification check in connections to UDS clients
* Removed empty paths from REST api
2020-04-28 11:02:36 +02:00
Adolfo Gómez García
c1adf35c99 added "initializeUnmanaged", but right now its unused" 2020-04-28 07:44:39 +02:00
Adolfo Gómez García
9aaab57a6a Fixed typo on opengnsys 2020-04-27 12:57:03 +02:00
Adolfo Gómez García
e38151a349 Added udsclient for python3 for debian/ubuntu based 2020-04-27 11:46:07 +02:00
Adolfo Gómez García
0b61e6096f done python3 client installer 2020-04-27 11:27:45 +02:00
Adolfo Gómez García
2e9b7046ff Updated OpenGnsys working 2020-04-27 10:46:37 +02:00
Adolfo Gómez García
4b3840f9c3 fixed an invalid reverse 2020-04-24 12:33:35 +02:00
Adolfo Gómez García
44632a497e fixed admin interface 2020-04-24 10:18:27 +02:00
Adolfo Gómez García
e5967b7ff3 moved uds.js to different location for admin and user 2020-04-24 10:02:18 +02:00
Adolfo Gómez García
57bc347625 Updated translations 2020-04-23 11:05:25 +02:00
Adolfo Gómez García
54bd713de6 updated usage by pool report 2020-04-22 11:45:06 +02:00
Adolfo Gómez García
2d3b3af978 removed invalid code from xen 2020-04-22 10:51:14 +02:00
Adolfo Gómez García
7ea139163d removed again local SRs because its possible to mark a local storage as "shared" on non cluster xen 2020-04-21 12:25:05 +02:00
Adolfo Gómez García
e93f2951be Updated usage by pool report 2020-04-21 11:58:50 +02:00
Adolfo Gómez García
7c37d37418 added "remove all assigned user services" as an action 2020-04-21 10:58:39 +02:00
Adolfo Gómez García
aee5b4501a fixed admin interface 2020-04-20 11:06:41 +02:00
Adolfo Gómez García
c597b307b5 fixed publication full persistent 2020-04-20 10:57:20 +02:00
Adolfo Gómez García
4c77d1ac78 fixed non full persistent 2020-04-20 10:20:34 +02:00
Adolfo Gómez García
40a820e770 re-added shared check 2020-04-16 21:20:39 +02:00
Adolfo Gómez García
1c6d58a53d allow local storage 2020-04-16 10:35:35 +02:00
Adolfo Gómez García
b2727e700b fixed typo on Xen check 2020-04-16 10:05:59 +02:00
Adolfo Gómez García
0de8ce3000 pep fix 2020-04-16 08:44:13 +02:00
Adolfo Gómez García
9e32996fa8 Added FIXED & Optional openstack Project ID & region for platforms that do not expose user apis 2020-04-16 06:55:35 +02:00
Adolfo Gómez García
addf24a30a Merge branch 'master' of github.com:dkmstr/openuds 2020-04-14 09:51:37 +02:00
Adolfo Gómez García
25d36a64fa added missing dep on debian 3.0 client 2020-04-14 09:51:23 +02:00
Adolfo Gómez
cc9326fc95 Merge pull request #51 from shaba/devel
add renamer for ALT
2020-04-14 07:41:25 +02:00
72a6c28549 add renamer for ALT 2020-04-14 03:27:49 +03:00
Adolfo Gómez García
d7e30d149c fixed proxmox tooltips && fixed error page redirection 2020-04-13 10:35:23 +02:00
Adolfo Gómez García
b8c37b279a fixes for open urls on new window if requested 2020-04-07 15:27:55 +02:00
Adolfo Gómez García
06bd7bb736 added setting support for "force on new window" 2020-04-07 15:23:35 +02:00
Adolfo Gómez García
c1a128335c fixed interface 2020-04-03 14:08:52 +02:00
Adolfo Gómez García
f9163b4e10 updated admin interface 2020-04-02 00:01:34 +02:00
Adolfo Gómez García
359857b9b3 fixed actor logout persistent & x2go authorize script 2020-04-01 14:08:49 +02:00
Adolfo Gómez García
43fbfdab3d fixes for udsadctor on script exec 2020-04-01 13:35:21 +02:00
Adolfo Gómez García
173caa250e fixed urls for auths 2020-03-30 18:16:45 +02:00
Adolfo Gómez García
5e971db73f added password encription for UDS 2020-03-30 18:11:02 +02:00
Adolfo Gómez García
aaa2ce825e updated admin interface && changed default end dato to "today" 2020-03-11 14:51:20 +01:00
Adolfo Gómez García
663c8f762a first tests with python 3 client went fine.. :) 2020-03-10 16:23:38 +01:00
Adolfo Gómez García
6ead895bdf created fork of client for python3 version 2020-03-10 14:04:27 +01:00
Adolfo Gómez García
7f0e3f0541 Fixed client message 2020-03-09 15:24:09 +01:00
Adolfo Gómez García
fd90648874 removed old js apps 2020-03-09 14:48:15 +01:00
Adolfo Gómez García
3e67852d8a * added os type verify to ticketing auth
* fixed getType method
2020-03-06 10:54:54 +01:00
Adolfo Gómez García
099a9ba3c1 fixed error shown to user 2020-03-02 18:58:24 +01:00
Adolfo Gómez García
1d807784d2 Fixed translations 2020-02-28 09:37:05 +01:00
Adolfo Gómez García
69085f28da fixed translation from angular 2020-02-28 09:34:05 +01:00
Adolfo Gómez García
15cfa45f69 Fixed doLog type hints 2020-02-28 09:07:54 +01:00
Adolfo Gómez García
f9a5b32993 Fixed small actor bug
Fixed logging in windows domain os manager
2020-02-27 10:21:13 +01:00
Adolfo Gómez García
e84965bb84 Fixed required fields for checkbox 2020-02-26 12:57:52 +01:00
Adolfo Gómez García
a8e58db3bd Updated translations 2020-02-25 15:42:39 +01:00
Adolfo Gómez García
7c384409f7 Addad HA to proxmox 2020-02-25 15:40:32 +01:00
Adolfo Gómez García
ff64d21137 Fixed url 2020-02-25 15:40:13 +01:00
Adolfo Gómez García
d6019384ef fixed actions & admin & gui small bugs 2020-02-25 14:47:42 +01:00
Adolfo Gómez García
92b4aadfbb Added experimental features flag for turning on/off highly experimenal features not intended for production environments 2020-02-25 01:17:39 +01:00
Adolfo Gómez García
52437afcf8 Proxmox is now working 2020-02-24 17:02:33 +01:00
Adolfo Gómez García
56492ccd2d initial deployment 2020-02-24 02:28:51 +01:00
Adolfo Gómez García
23bbda845c proxmox publications works (but not functional yet) 2020-02-24 01:49:16 +01:00
Adolfo Gómez García
b3c9f07d36 Creating proxmox connector (not working right now, started from ovirt as template) 2020-02-23 17:56:28 +01:00
Adolfo Gómez García
a86cbe46d6 Fixed default copy* info && renamed "test" class to "Test" as it should be 2020-02-21 10:46:09 +01:00
Adolfo Gómez García
8e73d38ea3 fixed unamanged windows actor reference 2020-02-20 12:02:16 +01:00
Adolfo Gómez García
841d088f6a added support for actor for static machine pool of ips 2020-02-20 11:59:10 +01:00
Adolfo Gómez García
f33987e62e Updated translations 2020-02-20 11:38:57 +01:00
Adolfo Gómez García
273e394937 Added small delay on login failure on web 2020-02-20 01:55:54 +01:00
Adolfo Gómez García
1df17f99ec Updated gui 2020-02-20 01:48:57 +01:00
Adolfo Gómez García
8a090049c7 upgraded web user ui 2020-02-19 15:32:58 +01:00
Adolfo Gómez García
2b912b035d * Added, as fallback "hostnamectl set-hostname" for actor renamers for linux
* Upgraded OpenNebula service to better check hostname
* added versatile hostname validator for hostnames
* Fixed sample settings.py
2020-02-19 15:30:35 +01:00
Adolfo Gómez García
34d47bdda9 added unamanaged actor for Linux 2020-02-19 12:06:21 +01:00
Adolfo Gómez García
06b0e86a39 updated admin 2020-02-18 18:54:50 +01:00
Adolfo Gómez García
c7c685865e fixed pools performance report typo error 2020-02-18 18:17:21 +01:00
Adolfo Gómez García
9bdaf4eab1 upgraded user interface to angular 9 2020-02-18 17:40:56 +01:00
Adolfo Gómez García
0282086065 Fixed client logou due to idle log 2020-02-18 17:40:34 +01:00
Adolfo Gómez García
5e7502f221 Added "idle" info on logout for actor 2020-02-18 14:54:53 +01:00
Adolfo Gómez García
ffeabe15ee fixed unmanaged 2020-02-18 14:32:21 +01:00
Adolfo Gómez García
3bc08d6b86 Updated crypto manager to use cryptography instead of pyCrypto 2020-02-18 01:46:24 +01:00
Adolfo Gómez García
2b4a0113a2 Fixing actor for unmanaged 2020-02-17 13:07:33 +01:00
Adolfo Gómez García
ac0be2f4aa Fixing linux for unmanaged hosts 2020-02-17 12:51:43 +01:00
Adolfo Gómez García
e13c8a93b3 Fixed makefile 2020-02-17 12:01:48 +01:00
Adolfo Gómez García
d33e5e3a1e Unmanaged for Linux 2020-02-13 09:49:30 +01:00
Adolfo Gómez García
8b991eae12 updated windowsos manager to include unmanaged actor 2020-02-11 18:56:50 +01:00
Adolfo Gómez
d11ffbd401 Updated rest to check own_token 2020-02-11 15:01:27 +01:00
Adolfo Gómez
903ccf2e0a fixed service login/logout 2020-02-11 14:43:10 +01:00
Adolfo Gómez García
b0d4be83a4 added actor configuration for unmanaged actors 2020-02-10 13:07:42 +01:00
Adolfo Gómez
efe7bb2a53 adapting actor to support unmanaged hosts 2020-02-10 12:01:38 +01:00
Adolfo Gómez García
56376ecd56 Updating v3 actor so we can honor service tokens for some kind of actions 2020-02-08 20:35:43 +01:00
Adolfo Gómez García
4ecb520496 fixed max length on text fields 2020-02-07 12:49:15 +01:00
Adolfo Gómez García
5b8e346788 added "log" method to userservice model 2020-02-06 21:43:46 +01:00
Adolfo Gómez García
211b227105 fixing actor & actor methods 2020-02-06 18:01:33 +01:00
Adolfo Gómez García
ac03d142d9 Updated OS Manager base methods "loggedIn" and "loggedOut" to be status, so they can be more usable, and finished v3 "notify" method 2020-02-06 09:30:10 +01:00
Adolfo Gómez García
8549f3cfa8 fixed issue whith transport allowing add of service pools that do not supports the transport protocol from transport add/edit 2020-02-05 10:46:36 +01:00
Adolfo Gómez García
cef382a1df Added actor tokens 2020-02-03 14:03:24 +01:00
Adolfo Gómez García
f47b208c33 added custom message per-pool for calendar access denied 2020-01-31 13:16:23 +01:00
Adolfo Gómez García
63824cdeee updated translations & basic fix 2020-01-31 12:17:55 +01:00
Adolfo Gómez García
907402229e updated translations & basic fix 2020-01-31 12:16:21 +01:00
Adolfo Gómez García
929903342f added "Experimental" to proxies title so it can be identified 2020-01-29 15:03:26 +01:00
Adolfo Gómez
f9b284ff8e fixed actor_client 2020-01-29 14:36:39 +01:00
Adolfo Gómez
138f97e317 Changed default from debug to info on uds actor 2020-01-29 14:33:11 +01:00
Adolfo Gómez García
6385e24e18 Fixed ticket related stuff & REST login with root user 2020-01-29 14:32:25 +01:00
Adolfo Gómez
dcc87b5f8c Merge branch 'master' of https://github.com/dkmstr/openuds 2020-01-28 16:06:24 +01:00
Adolfo Gómez García
08c15b6f60 fixed literal 2020-01-28 16:05:37 +01:00
Adolfo Gómez García
3fafef3b41 fix actor config 2020-01-28 16:03:49 +01:00
Adolfo Gómez García
49f76a5def fixed auth for REST api 2020-01-28 15:56:11 +01:00
Adolfo Gómez García
501ed22ae6 fixed login/logout for easier use 2020-01-28 13:48:26 +01:00
Adolfo Gómez
de827f6bd5 Update log.py
Fixed typo on var typing
2020-01-28 13:20:10 +01:00
Adolfo Gómez García
820ba906f0 Fixing tickets for v3 actors && changing path for "join" registry key for join domain on 2 steps 2020-01-28 13:05:50 +01:00
Adolfo Gómez García
9fd3ac280b fixed client early client hostname notify 2020-01-27 14:59:27 +01:00
Adolfo Gómez García
9b2dd802d7 fixed uds actor parameters 2020-01-27 14:01:53 +01:00
Adolfo Gómez García
1518cc0294 fixed udsactor pre command parameters 2020-01-27 13:33:00 +01:00
Adolfo Gómez García
d8826c2841 fixed admin visualization error of user service state 2020-01-27 13:17:42 +01:00
Adolfo Gómez García
8678fa8f79 fixing service 2020-01-23 14:42:13 +01:00
Adolfo Gómez García
5229caead5 Fixed Thin Version of UDS Client 2020-01-22 15:38:45 +01:00
Adolfo Gómez García
142f7122fc Fixed so now UDSClient can run with python 2 or python 3 2020-01-22 14:41:09 +01:00
Adolfo Gómez García
26e429019e fixing actor on exit 2020-01-20 17:42:33 +01:00
Adolfo Gómez García
dcf9e0137a fixing actor on exit 2020-01-20 17:38:01 +01:00
Adolfo Gómez García
525fa6e71c fixing actor on exit 2020-01-20 17:33:10 +01:00
Adolfo Gómez García
45429027bf fixes for service 2020-01-20 17:18:48 +01:00
Adolfo Gómez García
7cc6c6d3b8 fixed timeout on actor (too high) 2020-01-20 16:55:06 +01:00
Adolfo Gómez García
b3324eec91 Removed a couple of "DEBUG" and fixed remote logging
"
2020-01-20 14:13:11 +01:00
Adolfo Gómez García
099c0d9861 Fixed calendar actions typo & added calencat action "ignore unused" 2020-01-16 11:54:02 +01:00
Adolfo Gómez García
f888d1da61 Improvements
* Added taskmanager foreground exec method
* catch checkState exceptions (not expected anyway) and mark pubs as errored
2020-01-09 11:10:10 +01:00
Adolfo Gómez García
69c4fd6325 Fixed actor for linux 2020-01-08 14:38:19 +01:00
Adolfo Gómez García
a4353dde86 Fixed login url 2019-12-26 12:52:51 +01:00
Adolfo Gómez García
ddc2699774 Fixed oVirt jobs & aasigned an unused worker 2019-12-26 11:54:55 +01:00
Adolfo Gómez García
8cded2bca7 fixing upg 2019-12-26 10:08:32 +01:00
Adolfo Gómez García
fb3808991d Importing and upgrading packages generation for linux actors 2019-12-26 09:58:17 +01:00
Adolfo Gómez García
c2da7211c3 renamed actors to legacy_actors for. Will be removed on next release 2019-12-26 09:40:30 +01:00
Adolfo Gómez García
8e76c1d733 fixed ticket_store cleanup times 2019-12-23 13:20:34 +01:00
Adolfo Gómez García
c8839ed2a5 fixes for 3.0 2019-12-23 12:31:36 +01:00
Adolfo Gómez García
52208d18ae Fixed about 2019-12-23 11:22:13 +01:00
Adolfo Gómez García
a66a14a63e fix small error for django 3.0 2019-12-23 10:49:26 +01:00
Adolfo Gómez García
7801cf85c0 Fixed opennebula mac retrieval (moved to a later stage, just after "power on" vm) 2019-12-20 16:18:35 +01:00
Adolfo Gómez
7bfa539e70 fixed for windows & rest client api 2019-12-19 13:32:09 +01:00
Adolfo Gómez García
cf40396211 Merge branch 'master' of github.com:dkmstr/openuds 2019-12-19 13:06:25 +01:00
Adolfo Gómez García
faa7c37336 fixed actor config opening on "advanced" tab 2019-12-19 13:06:06 +01:00
Adolfo Gómez
4d2f7c1b95 fixed default loglevel to error 2019-12-19 13:04:55 +01:00
Adolfo Gómez García
7483a6f04f Added test configuration for uds actor & fixed some texts 2019-12-19 12:54:30 +01:00
Adolfo Gómez García
3e905381ff Added "test" method for actor v3 2019-12-19 12:54:08 +01:00
Adolfo Gómez
9150e71840 Fixed deadline & idle check 2019-12-18 08:36:31 +01:00
Adolfo Gómez
33d2dbbc52 Merge branch 'master' of https://github.com/dkmstr/openuds 2019-12-17 12:35:28 +01:00
Adolfo Gómez
fcb252deae added icon for windows apps 2019-12-17 12:35:21 +01:00
Adolfo Gómez García
93b1e71440 client execute bit 2019-12-17 12:29:52 +01:00
Adolfo Gómez
293cb129ed Fixing actor issues 2019-12-17 12:26:55 +01:00
Adolfo Gómez García
65d4b0b409 merged from windows 2019-12-17 06:23:38 +01:00
Adolfo Gómez García
12f39853e4 upgraded angular user gui version 2019-12-17 06:20:08 +01:00
Adolfo Gómez García
fb297d05c3 fixed admin issues 2019-12-17 06:19:16 +01:00
Adolfo Gómez García
97e84c968a added idle checking 2019-12-16 12:27:00 +01:00
Adolfo Gómez
0ac3fa1987 fixing client for windows 2019-12-12 15:36:34 +01:00
Adolfo Gómez García
633671d12c fixing message 2019-12-12 10:01:35 +01:00
Adolfo Gómez García
1ed4c1ad57 added support for message to actor 2019-12-12 08:35:02 +01:00
Adolfo Gómez García
2509f41c85 advancing on actor 2019-12-11 13:05:10 +01:00
Adolfo Gómez García
91272fcbb8 Refactoring comms part of user service manager and adding screenshot request capability 2019-12-10 21:17:46 +01:00
Adolfo Gómez García
0895d2feaf Added screenshot capability 2019-12-10 20:20:43 +01:00
Adolfo Gómez García
ff5601ce12 Client is advancing 2019-12-10 12:31:58 +01:00
Adolfo Gómez García
b78a41f0d3 uds actor advance 2019-12-05 09:40:06 +01:00
Adolfo Gómez García
6402106d85 Fixed windows getIdle 2019-12-04 14:59:46 +01:00
Adolfo Gómez García
3ed5d26245 advancing 2019-12-04 14:10:26 +01:00
Adolfo Gómez
72efa3221f fixing uds actor service for windows 2019-12-03 17:43:19 +01:00
Adolfo Gómez García
aabb08cad4 * Updated admin
* Updated actor
2019-12-03 15:22:45 +01:00
Adolfo Gómez García
78953ef5d9 Advanced a lot on actor 2019-12-03 10:36:23 +01:00
Adolfo Gómez García
a6cb350454 Implementing new IPC mechanics 2019-12-02 14:38:51 +01:00
Adolfo Gómez García
20bceadda9 fixed Admin interface 2019-12-01 20:46:19 +01:00
Adolfo Gómez García
4231eb5b9d Now actor start to work. A lot of work ahead, but first part seems fine :) 2019-12-01 20:26:20 +01:00
Adolfo Gómez García
d53d092483 Advanced on v2 api for actor 3.0 2019-12-01 13:32:17 +01:00
Adolfo Gómez García
371cc3d14b fixes 2019-11-30 22:41:57 +01:00
Adolfo Gómez García
8052809e86 Fixed typo 2019-11-30 22:37:12 +01:00
Adolfo Gómez García
ced7226f81 advancing on new v3 actor 2019-11-30 22:34:05 +01:00
Adolfo Gómez García
a8b94325e5 Fixed mistake (using owntoken as secret, and we should not... 2019-11-29 09:34:06 +01:00
Adolfo Gómez García
79f61098af Advancing on actor 2019-11-29 09:14:49 +01:00
Adolfo Gómez García
e5b4fb393f Actor v3 2019-11-29 02:23:56 +01:00
Adolfo Gómez García
6f3f573f61 Advancing on actor 2019-11-28 14:11:55 +01:00
Adolfo Gómez García
cf6a03b585 updating linux actor 2019-11-28 11:05:42 +01:00
Adolfo Gómez García
4cdbe5abae udsactor/linux/renamer/common.py 2019-11-28 11:04:08 +01:00
Adolfo Gómez
2c8963ba5f Updating new UDS Actor 2019-11-27 14:00:43 +01:00
Adolfo Gómez García
e76df6349d Advancing on new UDS Actor 2019-11-27 12:09:50 +01:00
Adolfo Gómez
282816b4eb Advancing on new UDS actor 2019-11-26 15:13:07 +01:00
Adolfo Gómez García
e967d994b1 Advancing on new v2 actor 2019-11-26 11:44:58 +01:00
Adolfo Gómez García
45b827e9e9 fixed admin issue on osmanagers for service pools 2019-11-22 13:56:09 +01:00
Adolfo Gómez
9e66503f0e Update rest.py 2019-11-22 13:53:39 +01:00
Adolfo Gómez García
52335b6e31 Added computername to actortoken db 2019-11-22 11:01:41 +01:00
Adolfo Gómez
d6691a4098 Fixing Config parameters 2019-11-22 10:56:05 +01:00
Adolfo Gómez García
bef9776a6b Updated udsacotr config tool 2019-11-22 09:36:16 +01:00
Adolfo Gómez
07d337364d Actor work 2019-11-22 08:43:25 +01:00
Adolfo Gómez García
2cf869150f advancing on new actor 2019-11-21 14:00:28 +01:00
Adolfo Gómez García
4df7c18ddc Updating new actor configuration tool 2019-11-21 12:34:02 +01:00
Adolfo Gómez García
09000f8b00 advancing on actor 2019-11-21 00:59:14 +01:00
Adolfo Gómez García
f517f73a0b working on new actor 2019-11-20 13:29:12 +01:00
Adolfo Gómez
04d204883b Setting up new actor based ofc on old one 2019-11-20 09:23:35 +01:00
Adolfo Gómez
37229e92e7 Initializing new uds actor 2019-11-20 02:11:28 +01:00
Adolfo Gómez García
c7dc116980 new experimental actor 2019-11-20 01:57:41 +01:00
Adolfo Gómez García
ede5d4b790 Ported to python >= 3.7 (needs already fixes, but most work done!! :) 2019-11-19 13:59:23 +01:00
Adolfo Gómez García
4a5669bdef cleaning for 3.0 2019-11-19 11:18:10 +01:00
Adolfo Gómez García
ef7bbebec8 cleaning for 3.0 2019-11-19 11:16:32 +01:00
Adolfo Gómez García
7e034a9de1 Fixed Xen 2019-11-18 14:50:15 +01:00
Adolfo Gómez García
8d680ad32d Renaming Xen provider 2019-11-18 09:53:31 +01:00
Adolfo Gómez García
76c47f7c76 fixes for ovirt & opennebula 2019-11-18 07:53:09 +01:00
Adolfo Gómez García
03e31f31b1 Fixes 2019-11-15 13:24:22 +01:00
Adolfo Gómez García
d67a1cd70c Merge branch 'master' of github.com:dkmstr/openuds 2019-11-14 13:18:36 +01:00
Adolfo Gómez García
dc381565cf Fixes for providers 2019-11-14 13:18:26 +01:00
Adolfo Gómez
dc0511045b Update README.md 2019-11-14 10:32:14 +01:00
Adolfo Gómez
b78bcbd726 Update README.md 2019-11-14 10:30:24 +01:00
Adolfo Gómez García
6038f93189 Fixing up services 2019-11-14 09:27:26 +01:00
Adolfo Gómez García
ee42653cea fixed edit fields 2019-11-13 13:56:06 +01:00
Adolfo Gómez García
eb2ad9da19 Adding "manual assignements" for UDS 2019-11-11 13:27:33 +01:00
Adolfo Gómez García
928360444b Fixes 2019-11-11 10:01:27 +01:00
Adolfo Gómez García
5d26833779 updating ip machine access 2019-11-11 09:11:23 +01:00
Adolfo Gómez García
d00057a03d Fixed oVirt and OpenStack for 3.x 2019-11-11 08:42:31 +01:00
Adolfo Gómez García
6da8d2057e Upgraded OpenStack 2019-11-08 12:13:24 +01:00
Adolfo Gómez García
103ad93cdf Upgrade OpenNebula 2019-11-08 11:29:12 +01:00
Adolfo Gómez García
ce91840622 upgrading OpenNebula connector 2019-11-07 14:42:18 +01:00
Adolfo Gómez García
99fe68608c Fixed OpenGnsys Provider 2019-11-06 13:01:29 +01:00
Adolfo Gómez García
2dc1634004 small fixes on tasks 2019-11-06 11:40:52 +01:00
Adolfo Gómez García
9cb9fc6de1 Added "delayed cancel" for some kind of services that are specially difficult to "cancel" while running... 2019-11-04 12:40:42 +01:00
Adolfo Gómez García
19754f7ed7 Fixed small admin glich 2019-10-28 07:34:34 +01:00
Adolfo Gómez García
6706866174 Upgraded admin interface 2019-10-25 10:55:36 +02:00
Adolfo Gómez García
ba40b38998 Updated serialize/deserialize 2019-10-24 14:37:20 +02:00
Adolfo Gómez García
4e647c1d7a Fixed GroupsManager import position 2019-10-23 12:51:55 +02:00
Adolfo Gómez García
b02e8e1f30 fixed allowCacheDecorator to take kwargs also into account 2019-10-23 12:02:41 +02:00
Adolfo Gómez García
7aee4efb15 * Added snackbar with progress info on new/edit, so if loading of for example, provider information, is slow, the user knows that "something is going on
* Small type check for user interface
2019-10-20 12:29:07 +02:00
Adolfo Gómez García
4c9ad55d99 Added types to providers & transports
fixed allowCache generic decorator
2019-10-17 13:19:19 +02:00
Adolfo Gómez García
a2dd2cccc9 added sqlite file to ignores 2019-10-16 13:25:04 +02:00
Adolfo Gómez García
de5411d153 Updated frontend & admin guis 2019-10-14 13:47:06 +02:00
Adolfo Gómez García
d916d9ea1f fixed delayed task typo 2019-10-14 13:24:19 +02:00
Adolfo Gómez
015cde5301 Merge pull request #46 from glyptodon/dead-keys
Leverage Guacamole.InputSink for dead key support.
2019-10-14 09:18:50 +02:00
Adolfo Gómez García
3f88884a82 Fixed log recovery for user services
Fixed taskManager stop & start identify
2019-10-14 09:07:02 +02:00
Michael Jumper
fea0f6aa34 Leverage Guacamole.InputSink for dead key support.
The Guacamole.InputSink object was added to guacamole-common-js as part
of the 1.0.0 release of Apache Guacamole, allowing composed key events
to be handled with Guacamole.Keyboard as any other keys would:

http://guacamole.apache.org/releases/1.0.0/#improved-keyboard-handling--support-for-dead-keys
2019-10-13 19:32:25 -07:00
Adolfo Gómez García
a393e0b5a3 fixed oVirt for 3.7 2019-10-03 15:45:32 +02:00
Adolfo Gómez García
fbff259691 Fixing up OVirt and related 2019-10-03 14:56:18 +02:00
Adolfo Gómez García
8908d1de9d If logging write to file fails, continue without it 2019-10-03 12:23:55 +02:00
Adolfo Gómez García
f53fa4a304 Removed ov user/password sender 2019-10-03 07:53:51 +02:00
Adolfo Gómez García
db2a43afc8 Added ov user/password sender 2019-10-03 07:17:00 +02:00
Adolfo Gómez García
66f498e7ed Added ov user/password sender 2019-10-03 07:11:42 +02:00
Adolfo Gómez García
a32bb87a78 sample provider moved to 3.7 2019-10-02 10:51:43 +02:00
Adolfo Gómez García
d48e71cfd3 fixing up sample service 2019-10-01 14:01:52 +02:00
Adolfo Gómez García
76a17b19df typing on generators 2019-10-01 01:47:10 +02:00
Adolfo Gómez García
c2b2cab228 Updated locales 2019-09-30 11:50:04 +02:00
Adolfo Gómez García
fdb630dc8e updated user inteface 2019-09-30 10:15:17 +02:00
Adolfo Gómez García
5abd8184dc Fixing up things for 3.7. providers part 2019-09-27 13:23:18 +02:00
Adolfo Gómez García
7b4563b359 Fixed publication typo (setstate for setState 2019-09-26 13:13:27 +02:00
Adolfo Gómez García
3c4f026a21 Updating gui versions 2019-09-25 12:17:32 +02:00
Adolfo Gómez García
e11009332e Fixed admin interface 2019-09-25 12:10:58 +02:00
Adolfo Gómez García
a06fc617f0 Fixed "has_key" and other issues 2019-09-24 10:02:05 +02:00
Adolfo Gómez García
917dd33349 updated signatures for scripts 2019-09-23 14:44:39 +02:00
Adolfo Gómez García
bdc6f2efb2 *Fixed x2go for python 3.7
* Removed remaining user preferences
* Small nx typo fix
2019-09-23 12:35:56 +02:00
Adolfo Gómez García
346c3a3d33 Fixed SPICE transport an typo on RDP transport 2019-09-23 11:31:41 +02:00
Adolfo Gómez García
99bfae10ad Small fixes for rdp transport 2019-09-23 08:33:50 +02:00
Adolfo Gómez García
01317df1f7 added ?stamp to javascripts for admin 2019-09-20 13:17:05 +02:00
Adolfo Gómez García
3e51037160 removed "test" from networks 2019-09-20 12:53:50 +02:00
Adolfo Gómez García
ccea5e64d3 checked basename + lenname in every provider that needs it 2019-09-20 12:52:25 +02:00
Adolfo Gómez García
ce5251178b * Fixed errors view
* Removed "downloads" from non staff users
2019-09-20 11:10:15 +02:00
Adolfo Gómez García
7be3838e41 Fixed old data transformation (squashed). To migrate to 3.0 we will need first to go thouth 2.x versions 2019-09-20 10:04:22 +02:00
Adolfo Gómez García
a0ef9c8cbe updated scripts signatures 2019-09-19 12:17:40 +02:00
Adolfo Gómez García
a25d33a615 Fixed RDP for python 3.7 2019-09-19 12:00:36 +02:00
Adolfo Gómez García
b955d0327d Fixed NX Transport for python 3.7 (anyway, this transport is now marked as deprecated) 2019-09-19 11:06:32 +02:00
Adolfo Gómez García
6ae4380cf2 Fixed html5rds for latam keyboard for next guacamole 2019-09-19 08:18:57 +02:00
Adolfo Gómez García
e69497c8cb * A couple of fixes for service pool model & user service model for typing check
* Small fix on linux random pass
* Fixed HTML5RDP for python 3.7 (improved, not failing in fact)
2019-09-18 11:02:46 +02:00
Adolfo Gómez García
c736f82697 small code fixes 2019-09-18 10:12:35 +02:00
Adolfo Gómez García
56367c58f4 Fixed Simple LDAP for python 3.7 2019-09-18 09:57:20 +02:00
Adolfo Gómez García
ebbdbedaf6 Fixed SampleAuth form python 3.7 2019-09-18 09:26:46 +02:00
Adolfo Gómez García
b6391b10a5 Fixed Regex LDAP Auth 2019-09-18 08:38:35 +02:00
Adolfo Gómez García
ce71a2e6e7 fixed regexldap auth for python 3.7 2019-09-17 10:36:10 +02:00
Adolfo Gómez García
69e456822e fixed ip auth for python 3.7 2019-09-17 09:59:48 +02:00
Adolfo Gómez García
0afcdc3bd0 fixed ip auth for python 3.7 2019-09-17 09:58:42 +02:00
Adolfo Gómez García
3850b2e01f fixed internaldb auth for python 3.7 2019-09-17 09:46:40 +02:00
Adolfo Gómez García
265578409e Fixes for authenticators & decorators 2019-09-16 12:08:41 +02:00
Adolfo Gómez García
bde6ac422b fixed REST user_services for python 3.x 2019-09-13 11:00:29 +02:00
Adolfo Gómez García
4a8a2d05ee fixed REST transports for python 3.x 2019-09-13 10:24:25 +02:00
Adolfo Gómez García
85ef989a4c fixed REST system & tickets for python 3.x 2019-09-13 10:20:23 +02:00
Adolfo Gómez García
2d05062241 *fixed providers, services, .. for REST API
fixed admin 1 item menus
2019-09-13 09:24:43 +02:00
Adolfo Gómez García
f43a8a3bf4 Fixed REST services_pools for python 3.x 2019-09-12 13:38:43 +02:00
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
Adolfo Gómez
668cd82d9e Merge pull request #45 from shaba/devel
Fix Error 500: Plaintext too large on Tools/Configure page.
2019-07-17 21:02:48 +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
45aa2e92ac updated changelog to 3.0 on debian actor 2019-07-10 10:17:22 +02:00
Adolfo Gómez García
7cf4659f5f fixed httpserver python 3.x issue 2019-07-09 13:26:44 +02:00
Adolfo Gómez García
45db8592b7 upgraded amin 2019-07-08 10:15:44 +02:00
Adolfo Gómez
e9f03f2075 Update client-ui.js
Changed connectionName
2019-07-04 13:18:19 +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
Adolfo Gómez
8f0da29a99 Merge pull request #42 from Jarli01/patch-2
Chore: Typos, capitalization and thought clarification
2019-06-10 23:40:48 +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
a3bbd00531 Merge branch 'master' of github.com:dkmstr/openuds 2019-05-16 08:36:23 +02:00
Adolfo Gómez García
6ab3bad34b Some cleanups on unused stuff 2019-05-16 08:35:41 +02:00
Adolfo Gómez
bb6f21248b Update TODO.txt 2019-05-14 14:16:03 +02:00
Adolfo Gómez
39a75bfcc0 Update README.md 2019-05-14 14:15:33 +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
41b849c1f5 Merge remote-tracking branch 'origin/v2.2' 2019-05-14 08:34:32 +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
8a7ceb926d imported pam_http fix 2019-05-13 17:19:44 +02:00
Adolfo Gómez García
70141ae972 fixing up pam_http 2019-05-13 17:11:12 +02:00
Adolfo Gómez García
20ead2954b fixing up pam_http 2019-05-13 16:56:19 +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
c47501e3e6 Fixed guacamole audio & video 2019-05-06 21:38:32 +02:00
Adolfo Gómez
a18f85b4f1 Merge pull request #39 from glyptodon/correct-av-mimetypes
Use Guacamole.AudioPlayer and Guacamole.VideoPlayer to query the audio/video mimetypes supported by the Apache Guacamole client.
2019-05-06 21:33:20 +02:00
Michael Jumper
9a816edcc0 Use Guacamole.AudioPlayer and Guacamole.VideoPlayer to query the audio/video mimetypes supported by the Apache Guacamole client. 2019-05-06 12:10:47 -07: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
3b05a06336 fixed missing include 2019-05-03 11:58:01 +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
Adolfo Gómez García
4dc4c27925 fixed RDP transport for 3.0 2019-04-24 09:31:58 +02:00
Adolfo Gómez García
363d247c8b Fixed tunnel rdp for 3.0 2019-04-23 15:11:41 +02:00
Adolfo Gómez García
842595be95 clientfix 2019-04-23 14:39:06 +02:00
Adolfo Gómez García
b248a284bb clientfix 2019-04-23 14:07:43 +02:00
Adolfo Gómez García
31d2775f4d clientfix 2019-04-23 14:05:09 +02:00
Adolfo Gómez García
bb84b64eb2 clientfix 2019-04-23 14:01:36 +02:00
Adolfo Gómez García
a7116b9e2e fixes 2019-04-23 13:44:37 +02:00
Adolfo Gómez García
2b9d625b5d testing client 2019-04-23 08:00:37 +02:00
Adolfo Gómez García
d16cc757af testing client 2019-04-23 07:45:23 +02:00
Adolfo Gómez García
1a43ce16e4 testing client 2019-04-23 07:43:55 +02:00
Adolfo Gómez García
deff947b03 Several
upgraded uds client projects
fixed admin js
rdp transport work
2019-04-23 07:28:29 +02:00
Adolfo Gómez García
436fe43098 fixes from 2.2 2019-04-15 11:51:11 +02:00
Adolfo Gómez García
7a2bd7dcf5 actor fix 2019-04-15 11:49:12 +02:00
Adolfo Gómez García
3caa49705e * update of cryptomanager Xor
* Fix config command
2019-04-10 08:17:52 +02:00
Adolfo Gómez García
6ab3fd5559 fixes for translations 2019-04-04 11:30:34 +02:00
Adolfo Gómez García
d6d6a4b44b fix 2019-04-04 11:11:10 +02:00
Adolfo Gómez García
b1a8d9b84c fixed translations 2019-04-04 11:09:57 +02:00
Adolfo Gómez García
272588f306 upgraded frontend 2019-04-04 10:32:35 +02:00
Adolfo Gómez García
87e7f1ca3c fixed double removal check 2019-04-03 21:50:00 +02:00
Adolfo Gómez García
d655b0f41a Added controls on how UDS works with domain controllers for machin/group accounts 2019-04-03 08:16:55 +02:00
Adolfo Gómez García
5422dcf78d Fixed 404 & 500 templates for new
* Try ssl before non ssl on domain os manager connections
2019-04-02 23:23:12 +02:00
Adolfo Gómez García
09eb130b11 fix commnet 2019-04-02 10:43:43 +02:00
Adolfo Gómez García
952322556c removed nonused tool 2019-04-02 07:49:27 +02:00
Adolfo Gómez García
194e232252 removed nonused tool 2019-04-02 07:48:55 +02:00
Adolfo Gómez García
9fee4adcc2 Merge remote-tracking branch 'origin/v2.2' 2019-03-28 12:22:15 +01:00
Adolfo Gómez García
ea11a25c52 Final fix 2019-03-28 12:17:27 +01:00
Adolfo Gómez García
f79f659711 Added so if ipc is closed, and logout is sent (if already logged in ofc) 2019-03-28 11:58:28 +01:00
Adolfo Gómez García
9130a12e52 Merge remote-tracking branch 'origin/v2.2' 2019-03-22 10:36:52 +01:00
Adolfo Gómez García
fddc69e0ea Fixed UDS actor postins 2019-03-22 10:36:35 +01:00
Adolfo Gómez García
30c445bef0 fixes 2019-03-22 10:36:07 +01:00
Adolfo Gómez García
47d234e1c5 small fixex 2019-03-15 13:20:48 +01:00
Adolfo Gómez García
83290f0a29 Merge remote-tracking branch 'origin/v2.2' 2019-03-08 10:34:19 +01:00
Adolfo Gómez García
b795260e4d Fixed access from MAC 2019-03-06 10:08:04 +01:00
Adolfo Gómez García
ea6d68ee93 fixes 2019-03-01 12:57:40 +01:00
Adolfo Gómez García
3fdb089b48 Re-added simple ldap 2019-02-27 11:13:33 +01:00
Adolfo Gómez García
ebf794cb67 Merge remote-tracking branch 'origin/v2.2' 2019-02-27 07:37:16 +01:00
Adolfo Gómez García
45bf24ecdd added check user on vm access, to avoid concurrency problems 2019-02-27 07:37:13 +01:00
Adolfo Gómez García
66464df043 small fix. Now checks the ownership of a machine before letting an user access it 2019-02-26 16:50:12 +01:00
Adolfo Gómez García
5d4e05309a re-added simple ldap 2019-02-26 12:54:16 +01:00
Adolfo Gómez García
a288dd4df3 Removed optimizes (nonsense with innodb) 2019-02-26 12:27:41 +01:00
Adolfo Gómez García
6156f2c6f6 Fix 2019-02-25 10:08:37 +01:00
Adolfo Gómez García
27a29d92e0 Several improvements
* Improved database saving model
* Code cleanup improvement :)
2019-02-24 12:15:12 +01:00
Adolfo Gómez García
6a7d10bf1d Merge remote-tracking branch 'origin/v2.2' 2019-02-24 11:49:14 +01:00
Adolfo Gómez García
6ec73b336d fixes 2019-02-24 11:48:38 +01:00
Adolfo Gómez García
b1f3407299 Fixes 2019-02-24 11:47:50 +01:00
Adolfo Gómez García
2b653b8b05 upgrades 2019-02-24 11:30:44 +01:00
Adolfo Gómez García
cd7beac87e Fixes 2019-02-24 11:24:54 +01:00
Adolfo Gómez García
6d50f99ad6 pydev 2019-02-24 11:01:16 +01:00
Adolfo Gómez García
f4f297a1e4 Merge remote-tracking branch 'origin/v2.2' 2019-02-24 11:00:43 +01:00
Adolfo Gómez García
dbee05d1bc More fixes 2019-02-24 10:59:47 +01:00
Adolfo Gómez García
cbfa9516bf Merge remote-tracking branch 'origin/v2.2' 2019-02-24 10:52:52 +01:00
Adolfo Gómez García
7910327a8a Removed non used deployed service method "assignTouser" 2019-02-24 10:51:12 +01:00
Adolfo Gómez García
9f01f2c368 Fix 2019-02-24 10:40:02 +01:00
Adolfo Gómez García
9e26580af5 Fixed several concurrency issues (very rare, btw, but possible :) ) 2019-02-24 10:16:50 +01:00
Adolfo Gómez García
f5abeb0a94 merged 2019-02-22 16:46:30 +01:00
Adolfo Gómez García
689b20ce2f A few more fixes for concurrency 2019-02-22 16:29:22 +01:00
Adolfo Gómez García
bac0b9755e Improved concurrency check on cache assignation 2019-02-22 15:37:42 +01:00
Adolfo Gómez García
33d2ca4ece Improved concurrency 2019-02-22 15:23:40 +01:00
Adolfo Gómez García
4e0c3b0c5d Updates 2019-02-21 14:52:44 +01:00
Adolfo Gómez García
d4aa2cc8e8 Upgraded web components 2019-02-20 07:45:29 +01:00
Adolfo Gómez García
c7c1103ed1 Fixed installed apps 2019-02-19 12:10:47 +01:00
Adolfo Gómez García
083b1f21fd Fixed Xen to work correctly with 3.7 2019-02-14 11:36:50 +01:00
Adolfo Gómez García
d7ac1f590a Updated to compatibility to python 3.7 (sync is a reserveed word) 2019-02-13 17:07:30 +01:00
Adolfo Gómez García
d523ae6001 upgrading environment 2019-02-12 11:26:04 +01:00
Adolfo Gómez García
581b13e70e Added new system info 2019-02-12 07:51:11 +01:00
Adolfo Gómez García
6889098ec8 Fixed pkexec
Removed "optimizeTable" for stats (nonsense...)
"
2019-02-11 11:13:12 +01:00
Adolfo Gómez García
683728fbc1 Locales & admin fix 2019-02-08 11:03:33 +01:00
Adolfo Gómez García
30ed88aefa Updating logic to remove table locking for some operations 2019-02-08 10:03:30 +01:00
Adolfo Gómez García
7b30f58750 Fixed services marshallers/unmarshallers for python 3.5 (correct usage
of binary data)
2019-02-07 11:20:44 +01:00
Adolfo Gómez García
0155f6c7fd * Added assigned services to meta pools (admin)
* Fixed serialization of oVirt
* Advanced a lot on meta pools (maybe they are yet usable?)
* minor fixex
2019-02-06 13:31:30 +01:00
Adolfo Gómez García
4509400605 * Advancing on metapools
* Removed non used old code
2019-02-05 13:52:51 +01:00
Adolfo Gómez García
e88256a892 Simplified code. Removed "assignedUserService" logic because pools will
allow only one userService per user, so everything can be located using
"pool"
2019-02-05 07:25:06 +01:00
Adolfo Gómez García
64faeec13c Updated translations (machine translation right now)
Fixed urls to new format
2019-02-04 10:00:15 +01:00
Adolfo Gómez García
b5352596e8 Updated grans method 2019-02-04 09:44:01 +01:00
Adolfo Gómez García
c1e8f6afe1 Updated to new admin interface 2019-02-04 09:15:46 +01:00
Adolfo Gómez García
2641fbbfcc fix 2019-01-30 09:43:01 +01:00
Adolfo Gómez García
923dbcc45b Removed old admin interface and added the new one based on Angular & Material 2019-01-30 06:40:36 +01:00
Adolfo Gómez García
0d4f2122c6 fixes on configuration administration section 2019-01-29 13:39:03 +01:00
Adolfo Gómez García
b55c9756e8 Added permissions for accounts & metapools 2019-01-24 07:27:15 +01:00
Adolfo Gómez García
cc1d022f40 fixed about 2019-01-22 09:19:59 +01:00
Adolfo Gómez García
d501d6037f Fix typo 2019-01-21 11:52:27 +01:00
Adolfo Gómez García
5353573ca3 Added "webLogoutHook" so we can, on authenticators, do some corrections
to response from authenticators
2019-01-21 11:48:10 +01:00
Adolfo Gómez García
26af865483 Upgraded javascript 2019-01-21 07:29:36 +01:00
Adolfo Gómez García
2bd4f3d8e5 Merge remote-tracking branch 'origin/v2.2'
# Conflicts:
#	server/src/uds/REST/methods/op_calendars.py
2019-01-18 08:34:47 +01:00
Adolfo Gómez García
efb3965d76 Fixed calendar action can create "empty" actions 2019-01-17 18:20:51 +01:00
Adolfo Gómez García
1a0c27f23c Fixes for new administration interface 2019-01-16 10:04:21 +01:00
Adolfo Gómez García
1b0f406de4 fixes for python 3.5 2019-01-14 10:34:51 +01:00
Adolfo Gómez García
21a5f4de09 Merge remote-tracking branch 'origin/v2.2' 2019-01-11 05:58:36 +01:00
Adolfo Gómez García
4778f5f931 fix translations 2019-01-11 05:57:51 +01:00
Adolfo Gómez García
29d0c242f7 Merge remote-tracking branch 'origin/v2.2' 2019-01-10 12:41:32 +01:00
Adolfo Gómez García
78656ed4a2 fixed 2019-01-10 12:40:23 +01:00
Adolfo Gómez García
c9a08cf1a1 Merge remote-tracking branch 'origin/v2.2' 2019-01-10 11:10:11 +01:00
Adolfo Gómez García
278bcb87de Fixed translations 2019-01-10 11:06:38 +01:00
Adolfo Gómez García
690fd7c9cc Added datepicker for chinese 2019-01-09 20:16:25 +01:00
Adolfo Gómez García
7b51bb7985 Added chinese lang to translations on sample file 2019-01-09 20:10:16 +01:00
Adolfo Gómez García
6f81892324 renamed chinese to zh_hans (traditional chinese) 2019-01-09 20:03:41 +01:00
Adolfo Gómez García
f603bd6c8f Merge remote-tracking branch 'origin/v2.2' 2019-01-09 13:53:28 +01:00
Adolfo Gómez García
a496fd97f1 added autotrasnlations for chinesse 2019-01-09 13:53:07 +01:00
Adolfo Gómez García
77bf401bd5 added eu autotranslations 2019-01-09 13:31:29 +01:00
Adolfo Gómez García
812e863e7f translations 2019-01-09 12:29:39 +01:00
Adolfo Gómez García
cd2d529524 Fixed IOS crash 2019-01-08 10:04:37 +01:00
Adolfo Gómez
445bbc6ee6 Merge pull request #37 from m-khan-glyptodon/Safari-Crash-Fix
IOS Safari crash fix
2019-01-08 09:54:33 +01:00
m-khan-glyptodon
cc9cf15c69 Added further documentation to max width and max height functions 2019-01-07 16:45:55 -08:00
m-khan-glyptodon
42ded5c382 Added documentation for the max height and max width functions 2019-01-07 16:45:55 -08:00
m-khan-glyptodon
8df513fbd3 Added scroll height and scroll width cap to fix ios safari crash 2019-01-07 15:08:42 -08:00
Adolfo Gómez García
164654143d Merge remote-tracking branch 'origin/v2.2' 2018-12-21 13:55:32 +01:00
Adolfo Gómez García
d9ad218e41 Merge remote-tracking branch 'origin/v2.2' 2018-12-21 13:55:20 +01:00
Adolfo Gómez García
8f76363b27 realname fixed on creation 2018-12-21 13:53:52 +01:00
Adolfo Gómez García
6a05403464 Added realname 2018-12-21 10:52:42 +01:00
Adolfo Gómez García
ac0eefc683 Merge remote-tracking branch 'origin/v2.2' 2018-12-20 16:46:07 +01:00
Adolfo Gómez García
43398cd125 Fixed user edition (user assignation) 2018-12-20 16:38:00 +01:00
Adolfo Gómez García
1da058cec6 Upgrading to new admin interface 2018-12-19 12:43:38 +01:00
Adolfo Gómez García
c5d1702758 Fixes for python 3 2018-12-18 10:52:03 +01:00
Adolfo Gómez García
fb818f06a5 fixes 2018-12-10 11:42:23 +01:00
Adolfo Gómez García
eae79364b8 Merge remote-tracking branch 'origin/v2.2' 2018-12-03 10:49:21 +01:00
Adolfo Gómez García
49564147a3 fixed on user services rest 2018-12-03 10:49:15 +01:00
Adolfo Gómez García
481eca7d16 Removed unused imports 2018-12-03 10:46:05 +01:00
Adolfo Gómez García
e382bfa19b Removed transaction from calendar actions execution. Not needed in fact. 2018-12-03 10:45:31 +01:00
Adolfo Gómez García
9094547f22 Testing windows 8 idle 2018-12-03 08:27:02 +01:00
Adolfo Gómez García
c2bd664545 translations 2018-11-29 10:18:59 +01:00
Adolfo Gómez García
04b68401cf minor fixes 2018-11-28 07:12:35 +01:00
Adolfo Gómez García
6300da4697 Merge remote-tracking branch 'origin/v2.2' 2018-11-27 11:59:40 +01:00
Adolfo Gómez García
8b4485d533 translations 2018-11-27 11:57:22 +01:00
Adolfo Gómez García
94501b1106 Merge remote-tracking branch 'origin/v2.2' 2018-11-27 11:18:24 +01:00
Adolfo Gómez García
696ad047a3 Merge remote-tracking branch 'origin/v2.2' 2018-11-27 11:18:14 +01:00
Adolfo Gómez García
682ce422b6 Translations 2018-11-27 11:17:49 +01:00
Adolfo Gómez García
906824cafc Fixups 2018-11-26 13:44:48 +01:00
Adolfo Gómez García
6f6633b819 Merge remote-tracking branch 'origin/v2.2' 2018-11-26 11:44:39 +01:00
Adolfo Gómez García
eb6065b203 Fixed so now services with no transports are not provided to template 2018-11-26 11:44:07 +01:00
Adolfo Gómez García
9451889bb3 Removed execution of "reg", using "winreg" instead (_winreg on 2.7) 2018-11-23 11:39:45 +01:00
Adolfo Gómez García
8120ae5c92 Final fix for no check redirections 2018-11-23 11:09:06 +01:00
Adolfo Gómez García
d1bb018dff Added "no warning for redirections' to remote connection 2018-11-23 11:07:58 +01:00
Adolfo Gómez García
694d60cb88 Some minor fixes 2018-11-23 10:55:00 +01:00
Adolfo Gómez García
a2a43fd041 Merge remote-tracking branch 'origin/v2.2' 2018-11-22 12:10:28 +01:00
Adolfo Gómez García
43cb02b177 Now on access error, reloads page 2018-11-22 12:09:58 +01:00
Adolfo Gómez García
01cc3eb147 Merge remote-tracking branch 'origin/v2.2' 2018-11-20 11:04:14 +01:00
Adolfo Gómez García
3e3ea59261 Updated translations 2018-11-20 11:02:58 +01:00
Adolfo Gómez García
462e53efea Merge remote-tracking branch 'origin/v2.2' 2018-11-20 11:00:42 +01:00
Adolfo Gómez García
589b12f490 new modern index && typo fix 2018-11-20 10:51:34 +01:00
Adolfo Gómez García
688a91325c Added servicepool add/remove from groups/transports 2018-11-20 10:50:18 +01:00
Adolfo Gómez García
3c905e8bc4 added spinner on app loading 2018-11-14 06:57:10 +01:00
Adolfo Gómez García
97e8c42b2f Fix on None notifyComms 2018-11-13 20:12:04 +01:00
Adolfo Gómez García
e814c47a24 Another fix for actor 2018-11-13 19:46:15 +01:00
Adolfo Gómez García
9fb19c6b9d Fix actor typ 2018-11-13 19:28:03 +01:00
Adolfo Gómez García
4375ee6d50 Fixups for actor 2018-11-13 18:38:35 +01:00
Adolfo Gómez García
de45c24bbc small fixes for updating 2018-11-13 13:18:19 +01:00
Adolfo Gómez García
ff2f508240 Fix on windows actor to check if lastInputInfo is valid or not... 2018-11-13 10:52:11 +01:00
Adolfo Gómez
f2ff09a882 Removed finished tasks 2018-11-12 16:27:58 +01:00
Adolfo Gómez García
68a58b7c73 removed /compression from freerdp (used -compression now) 2018-11-08 10:41:08 +01:00
Adolfo Gómez García
4441286c89 removed /compression from freerdp (used -compression now) 2018-11-08 10:40:14 +01:00
Adolfo Gómez García
0d97831b71 removed fontawesome not used anymore 2018-11-07 12:14:16 +01:00
Adolfo Gómez García
db7d3ef0e3 Updated gui to angular 7 2018-11-07 12:12:39 +01:00
Adolfo Gómez García
d0c9ca6234 Fixes for new admin gui 2018-11-06 10:08:09 +01:00
Adolfo Gómez García
857be90128 Merge remote-tracking branch 'origin/v2.2' 2018-11-05 11:28:44 +01:00
Adolfo Gómez García
c9410fbbac fixed removing user on case of error 2018-11-05 11:28:19 +01:00
Adolfo Gómez García
5a26063233 fixed dependency 2018-10-29 23:54:05 +01:00
Adolfo Gómez García
a68152fee3 Merge remote-tracking branch 'origin/v2.2' 2018-10-26 13:22:28 +02:00
Adolfo Gómez García
43157d722f Fixed Calendar Actions L2 2018-10-26 13:20:16 +02:00
Adolfo Gómez García
5bade926b1 Merge remote-tracking branch 'origin/v2.2' 2018-10-24 09:17:09 +02:00
Adolfo Gómez García
861258532d Python3 compat 2018-10-24 08:35:08 +02:00
Adolfo Gómez García
869f1d7031 Merge remote-tracking branch 'origin/v2.2' 2018-10-23 14:13:55 +02:00
Adolfo Gómez García
ba45e4c6d6 Fixed bug on case of exception on service saving 2018-10-23 14:13:36 +02:00
Adolfo Gómez García
ff3d27ad42 Fixed typo 2018-10-23 11:35:16 +02:00
Adolfo Gómez García
8088efa225 Some adjustements to OpenStack connector 2018-10-23 09:28:05 +02:00
Adolfo Gómez García
2b6a0ee449 imports 2018-10-22 12:30:06 +02:00
Adolfo Gómez García
300f2f3333 Fixed OpenStack for newer versions. Now has 2 providers for "legacy" and for "new" versions 2018-10-22 12:28:26 +02:00
Adolfo Gómez García
259bfc31c4 Merge remote-tracking branch 'origin/v2.2' 2018-10-22 10:56:35 +02:00
Adolfo Gómez García
c1e2e12dd9 Fixed "meta group" pools on information 2018-10-22 10:54:24 +02:00
Adolfo Gómez García
dc0d96c83a removed user template 2018-10-17 10:34:22 +02:00
Adolfo Gómez García
579b86c527 removed user template 2018-10-17 10:33:24 +02:00
Adolfo Gómez García
4bfcac0307 Merge remote-tracking branch 'origin/v2.2' 2018-10-15 10:56:46 +02:00
Adolfo Gómez García
265d2d8702 translations 2018-10-15 10:55:48 +02:00
Adolfo Gómez García
95e99670ee Changed names on openstack for older releases 2018-10-15 10:47:23 +02:00
Adolfo Gómez García
e33a6e4712 updated requirements 2018-10-11 05:43:56 +02:00
Adolfo Gómez García
73be005f6a changed error message on case of change user password error 2018-10-05 12:41:23 +02:00
Adolfo Gómez García
4c30e9d45e actor fix for python3/ubuntu16 (due to requests/json) 2018-10-04 13:08:26 +02:00
Adolfo Gómez García
68fbaf7ae0 removev python3-prctl as dependency and marqued as "recommended" 2018-10-04 12:54:49 +02:00
Adolfo Gómez García
78731b2e51 fixed requirements.txt to latest django 2018-10-04 08:29:01 +02:00
Adolfo Gómez García
b2cda46cc0 Merge remote-tracking branch 'origin/v2.2' 2018-10-03 13:45:22 +02:00
Adolfo Gómez García
cf7e8f19e2 updated translations 2018-10-03 13:45:05 +02:00
Adolfo Gómez García
879457db4e Merge remote-tracking branch 'origin/v2.2' 2018-10-03 13:44:49 +02:00
Adolfo Gómez García
256a7f2584 Now RDP defaults credssp to "TRUE" 2018-10-03 13:43:58 +02:00
Adolfo Gómez García
22b3aa848e Finished metepools admin part 2018-10-03 11:09:24 +02:00
Adolfo Gómez García
7d5ce53317 Finished metepools admin part 2018-10-03 11:08:24 +02:00
Adolfo Gómez García
f995903056 Merge remote-tracking branch 'origin/v2.2' 2018-10-02 15:26:51 +02:00
Adolfo Gómez García
7f1a776f69 Upgraded debian actor to python 3 2018-10-02 15:24:34 +02:00
Adolfo Gómez García
0169c64354 fixes 2018-10-02 13:12:34 +02:00
Adolfo Gómez García
d5be31f1d9 * Fixed version
* Moved actors to python3
2018-10-02 13:08:13 +02:00
Adolfo Gómez García
8968ada03b Adding metapools to UDS 2018-10-01 14:08:13 +02:00
Adolfo Gómez García
816dde8aca Preparing meta pools 2018-09-28 12:09:17 +02:00
Adolfo Gómez García
a47df49ca8 Changed order so now on mac CorD is tried first 2018-09-28 10:03:04 +02:00
Adolfo Gómez García
2e0972b71e Added loging on action over service pool 2018-09-24 18:57:11 +02:00
Adolfo Gómez García
b4e672bb43 Merge remote-tracking branch 'origin/v2.2' 2018-09-24 15:54:47 +02:00
Adolfo Gómez García
ee9a062201 added log in case of max services reached on service pool 2018-09-24 15:54:08 +02:00
Adolfo Gómez García
74ebf0dd30 Merge remote-tracking branch 'origin/v2.2' 2018-09-24 11:30:34 +02:00
Adolfo Gómez García
8384a43699 Updated trans, need revision already 2018-09-24 11:24:05 +02:00
Adolfo Gómez García
8c882852db added assigned service edition. Now we can change the onwership of a machine 2018-09-24 11:12:36 +02:00
Adolfo Gómez García
cbdd61cfa8 Small fixes 2018-09-21 11:07:39 +02:00
Adolfo Gómez García
e642f4df18 Updated about 2018-09-21 07:56:36 +02:00
Adolfo Gómez García
b8eda0cbc4 cleaning stuff for new interface 2018-09-20 14:12:37 +02:00
Adolfo Gómez García
ce3c1e3861 Merge remote-tracking branch 'origin/v2.2' 2018-09-19 07:28:16 +02:00
Adolfo Gómez García
8c85639dfe Fixed so UDS now works correctly with versiones newer that OCATA 2018-09-18 23:40:16 +02:00
Adolfo Gómez García
5c27b521af removing unused clusters part 2018-09-17 19:04:19 +02:00
Adolfo Gómez García
33a02ee8f3 cleaning for new angular interface 2018-09-14 05:50:26 +02:00
Adolfo Gómez García
44feef783b Merge remote-tracking branch 'origin/v2.2' 2018-09-13 10:21:29 +02:00
Adolfo Gómez García
5fbdb6834d fixed so concurrent creation storm is better handled now 2018-09-13 10:17:28 +02:00
Adolfo Gómez García
39877dacd9 fixes 2018-09-12 13:35:30 +02:00
Adolfo Gómez García
c8b1d0cb22 Mograting to modern user gui 2018-09-12 09:41:53 +02:00
Adolfo Gómez García
442a2cc72a Merge remote-tracking branch 'origin/v2.2' 2018-09-10 11:11:47 +02:00
Adolfo Gómez García
6bcf8a832f updated translations 2018-09-10 11:11:27 +02:00
Adolfo Gómez García
f0903ee505 fixed unique id 2018-09-10 11:02:25 +02:00
Adolfo Gómez García
9ffced6365 fixing up things 2018-09-10 10:40:34 +02:00
Adolfo Gómez García
4561e6c0fe Merge remote-tracking branch 'origin/v2.2' 2018-09-07 04:11:49 +02:00
Adolfo Gómez García
aa4bbcbeb3 Removed simple ldap from authenticators list. Its not used and its use
is very limited
2018-09-07 04:11:09 +02:00
Adolfo Gómez García
89f77dbbc6 Merge remote-tracking branch 'origin/v2.2' 2018-09-06 13:48:16 +02:00
Adolfo Gómez García
5863962e8a Added "display connection bar" option to transport 2018-09-06 13:45:21 +02:00
Adolfo Gómez García
afe5f0c965 fixed user groups assignation 2018-09-04 12:49:56 +02:00
Adolfo Gómez García
82c362b2b6 Fixed LDAP regex user search 2018-09-04 12:45:46 +02:00
Adolfo Gómez García
58886b00fa towards v3 2018-09-03 10:13:27 +02:00
Adolfo Gómez García
966d61fda1 Working towards new gui 2018-08-31 09:15:07 +02:00
Adolfo Gómez García
7a06279601 advancing on modern gui 2018-08-30 09:29:32 +02:00
Adolfo Gómez García
cb0150391a Added compat between new-future templates and existing ones 2018-08-22 05:52:54 +02:00
Adolfo Gómez García
121f5a6fa6 Merge remote-tracking branch 'origin/v2.2' 2018-08-20 13:48:54 +02:00
Adolfo Gómez García
c2a95711da Fixed trying to remove VM when LCM_STATE was "boot" or prior for
OpenNebula
2018-08-20 13:38:54 +02:00
Adolfo Gómez García
bc04f9c30f fixed password field
Updated requirements to django 2.1
2018-08-19 23:32:44 +02:00
Adolfo Gómez García
eb3188c6c1 Changed AES to CBC 2018-08-02 11:13:37 +02:00
Adolfo Gómez García
34b8902c71 Added AEScrypt y AESdecrypt 2018-08-02 01:58:49 +02:00
Adolfo Gómez García
3f76f6c1ab Some refactoring to easy indentify algorithm 2018-08-02 01:00:24 +02:00
Adolfo Gómez García
34028b99e7 Fixes from merge 2018-07-31 23:59:59 +02:00
Adolfo Gómez García
8867ef7036 Merge remote-tracking branch 'origin/v2.2' 2018-07-31 23:54:10 +02:00
Adolfo Gómez García
6cee32d680 fix lambda 2018-07-31 23:53:58 +02:00
Adolfo Gómez García
cce00adc51 Fixed string for "access denied" on logon 2018-07-26 12:52:08 +02:00
Adolfo Gómez García
e37b929adc merged from 2.2 2018-07-23 09:54:35 +02:00
Adolfo Gómez García
4b75be2f02 fully fixed password issue on HTML5 2018-07-19 21:14:08 +02:00
Adolfo Gómez García
34046c8a7e removed unsecure logging on exception on code 2018-07-19 11:22:04 +02:00
Adolfo Gómez García
f177b98c78 Fixed tickets auth 2018-07-18 23:11:55 +02:00
Adolfo Gómez García
4777b7e8f9 Fixes for passwords 2018-07-18 22:44:23 +02:00
Adolfo Gómez García
fbbdc529fe Fixes & DEBUG log fix 2018-07-17 21:16:17 +02:00
Adolfo Gómez García
e9f61b6a94 fixed single quote on passwords 2018-07-17 12:03:03 +02:00
Adolfo Gómez García
367a1779f5 fixed requirements 2018-07-13 07:02:48 +02:00
Adolfo Gómez García
99f834c41f fixed requirements 2018-07-13 06:54:53 +02:00
Adolfo Gómez García
2b868a71ba fixed paramiko dep 2018-07-13 06:54:21 +02:00
Adolfo Gómez García
1a0a1d17dc Merge remote-tracking branch 'origin/v2.2' 2018-07-02 14:10:56 +02:00
Adolfo Gómez García
f333f2f71f Fixed "keep on new publication" 2018-07-02 13:28:28 +02:00
Adolfo Gómez García
6c2a7ff6e6 Added basic metadata info to openstack server 2018-06-29 14:15:06 +02:00
Adolfo Gómez García
1936a02cf7 * Fixed get name from authCallback
* added convenient "comments" to some parts
* Fixed login, to cicly session only when logged in
2018-06-27 11:12:08 +02:00
Adolfo Gómez García
d8eb440b34 Advanced a lot on azure ad integration 2018-06-26 17:20:05 +02:00
Adolfo Gómez García
4570d79645 Added "hint" return type for managers helpers 2018-06-25 09:35:20 +02:00
Adolfo Gómez García
6936f6994d Updated random uuid method 2018-06-25 09:32:20 +02:00
Adolfo Gómez García
d60f1d82db Fixed datetime.now 2018-06-21 12:55:17 +02:00
Adolfo Gómez García
c72a6a32dc Fixed cache geting local datetime instead of 2018-06-21 12:47:20 +02:00
Adolfo Gómez García
757151c71a Merge remote-tracking branch 'origin/v2.2' 2018-06-12 13:28:52 +02:00
Adolfo Gómez García
7bdb3d77ba Fixed LogManager so now "cuts" correctly before writing log text
Removed debug that was "anoying
2018-06-12 13:25:54 +02:00
Adolfo Gómez García
f211f3482f small fixes & added open link on new window instead of current 2018-06-11 13:33:50 +02:00
Adolfo Gómez García
e52cec2ce7 Merge remote-tracking branch 'origin/v2.2' 2018-06-11 01:33:15 +02:00
Adolfo Gómez García
ff226dd8e5 included decorator 2018-06-11 01:30:32 +02:00
Adolfo Gómez García
574de727d3 Merge remote-tracking branch 'origin/v2.2' 2018-06-08 01:45:23 +02:00
Adolfo Gómez García
b0268346e5 Created Azure publication 2018-06-08 01:36:35 +02:00
Adolfo Gómez García
db87dd101b Merge remote-tracking branch 'origin/v2.2' 2018-06-06 15:30:14 +02:00
Adolfo Gómez García
9906b80702 Added russian 2018-06-06 15:29:52 +02:00
Adolfo Gómez García
be4a4a5b09 Fixed non asceii characters on user home for windows 2018-06-05 14:06:32 +02:00
Adolfo Gómez García
070088909e Fixed "idle checker" logout 2018-05-31 12:20:14 +02:00
Adolfo Gómez García
2066f4050c Merge remote-tracking branch 'origin/v2.2' 2018-05-28 09:55:14 +02:00
Adolfo Gómez García
9cbb297330 advances 2018-05-28 09:55:01 +02:00
Adolfo Gómez García
e9d23cf170 * Added "HIDDEN_FIELD" and "READ_ONLY_FIELD" to Configuration
* Added a "default" UDS Server (cluster) ID, so we can use it for a lot
of things :)
2018-05-28 09:54:23 +02:00
Adolfo Gómez García
9f98fc6f6d Merge remote-tracking branch 'origin/v2.2' 2018-05-18 12:03:50 +02:00
Adolfo Gómez García
b5ebd1f1fb Added RDP option to allow only "new local drives" from windows 2018-05-18 10:55:47 +02:00
Adolfo Gómez García
2ed4bf07cd Working on next-gen user id 2018-05-18 09:44:29 +02:00
Adolfo Gómez García
df17aa8687 Merge remote-tracking branch 'origin/v2.2' 2018-05-16 13:39:50 +02:00
Adolfo Gómez García
04e900bd8e work in progress, will log later 2018-05-16 13:39:44 +02:00
Adolfo Gómez García
0e99f53f0d Added "early client IP log" on dashboard 2018-05-16 13:36:17 +02:00
Adolfo Gómez García
af53a574f5 simple uds tags fixes 2018-05-11 12:06:00 +02:00
Adolfo Gómez García
15e4c949d3 Now the machine removal on windows takes care of child nodes.. (We have
noticed that Hyperv server 2016 creates a "node" behind machines on
domain)
2018-05-10 12:32:10 +02:00
Adolfo Gómez García
962d28b484 Merge remote-tracking branch 'origin/v2.2' 2018-05-10 12:21:22 +02:00
Adolfo Gómez García
2bbc74a87c Fixed domain deletion when a machine has child nodes 2018-05-10 12:19:54 +02:00
Adolfo Gómez García
ac5d3ebe14 Removed non used "moderm" stuff 2018-05-10 08:34:43 +02:00
Adolfo Gómez García
0e4e1e860d Now we can add/remove transports from an scheduled action 2018-05-09 08:14:39 +02:00
Adolfo Gómez García
0b201eada9 removed debug from xenserver 2018-05-09 00:24:51 +02:00
Adolfo Gómez García
73139094dc Merge remote-tracking branch 'origin/v2.2' 2018-05-09 00:24:36 +02:00
Adolfo Gómez García
9e270f6f7e fixed requirements 2018-05-09 00:22:30 +02:00
Adolfo Gómez García
81a358e4e2 Adding scheduled action on transports
Fixed PUT for detail items
2018-05-07 16:47:19 +02:00
Adolfo Gómez García
eead0d282c Merge remote-tracking branch 'origin/v2.2' 2018-05-02 10:46:18 +02:00
Adolfo Gómez García
ba09bab8a1 fix Actor for newer Oss 2018-05-02 10:40:57 +02:00
Adolfo Gómez García
ac24acc52d Merge remote-tracking branch 'origin/v2.2' 2018-04-27 16:54:22 +02:00
Adolfo Gómez García
4c4a54e50b Fixed debian to use first freerdp2 instead freerdp. Also, removed rdesktop 2018-04-27 16:52:09 +02:00
Adolfo Gómez García
5f44798fe6 Merge branch 'master' of github.com:dkmstr/openuds 2018-04-27 11:21:47 +02:00
Adolfo Gómez García
5b7d02964d Now AD search on full path instead of OU 2018-04-27 11:01:08 +02:00
Adolfo Gómez García
912c4d3d05 Merge remote-tracking branch 'origin/v2.2' 2018-04-27 10:55:42 +02:00
Adolfo Gómez García
0648a27daf Fixed for machine deletion on ou change 2018-04-27 10:53:04 +02:00
Adolfo Gómez García
496e5fb60d Removed all pycha references from project. All charts are now created
using matplotlib
2018-04-25 12:15:05 +02:00
Adolfo Gómez García
1406b036f7 Fixed another report (removed pycha) 2018-04-24 13:41:43 +02:00
Adolfo Gómez García
51cc23b223 * Fixed sample setting file
* Working on removal of pycha of reports
2018-04-24 11:27:51 +02:00
Adolfo Gómez García
2ad3517bcd Fixing up, removing pycha and using matplotlib instead 2018-04-23 15:08:58 +02:00
Adolfo Gómez García
52e703f9c2 Fixes 2018-04-20 10:39:26 +02:00
Adolfo Gómez García
2ce130786a Autcompletes 2018-04-18 12:25:20 +02:00
Adolfo Gómez García
9b2e9000e7 pep related fixes 2018-04-18 10:07:16 +02:00
Adolfo Gómez García
0021fd5ff9 pep related fixes 2018-04-18 01:06:06 +02:00
Adolfo Gómez García
f74b0b0fe9 pep related fixes 2018-04-18 00:44:21 +02:00
Adolfo Gómez García
62abc85191 pep related fixes 2018-04-18 00:38:59 +02:00
Adolfo Gómez García
429eead46d Fixes for python 3 (pep related, code warns, etc...) 2018-04-17 18:29:13 +02:00
Adolfo Gómez García
6293c09ca8 Fixed intragrations from 2.2 2018-04-14 19:15:44 +02:00
Adolfo Gómez García
6db1fdb86d Added content type to error responses on REST api 2018-04-14 18:53:26 +02:00
Adolfo Gómez García
af9e372d6b Merge remote-tracking branch 'origin/v2.2' 2018-04-12 13:11:01 +02:00
Adolfo Gómez García
b1223f623b Fixed RDP connection 2018-04-12 13:02:24 +02:00
Adolfo Gómez García
e72698e1da Merge remote-tracking branch 'origin/v2.2' 2018-03-30 19:00:50 +02:00
Adolfo Gómez García
22a78d8e69 addedd freerdp2-x11 as optional dependency 2018-03-30 19:00:24 +02:00
Adolfo Gómez García
04f532065a Merge remote-tracking branch 'origin/v2.2' 2018-03-28 12:43:37 +02:00
Adolfo Gómez García
39b6a59538 Fixed end date 2018-03-28 12:42:50 +02:00
Adolfo Gómez García
1d45fef879 Merge remote-tracking branch 'origin/v2.2' 2018-03-28 12:03:33 +02:00
Adolfo Gómez García
772a31da37 added fix for shotname 2018-03-28 12:02:57 +02:00
Adolfo Gómez García
cc95427e05 Merge remote-tracking branch 'origin/v2.2' 2018-03-26 12:34:24 +02:00
Adolfo Gómez García
0070b1618b Fixed for getByAttr1 to return FIRST element in case of error 2018-03-26 12:34:12 +02:00
Adolfo Gómez García
d3c5f47ac2 Merge remote-tracking branch 'origin/v2.2' 2018-03-23 10:53:02 +01:00
Adolfo Gómez García
3b04e2a180 translations 2 2018-03-23 10:52:54 +01:00
Adolfo Gómez García
838cedf7e2 Merge remote-tracking branch 'origin/v2.2' 2018-03-23 10:43:01 +01:00
Adolfo Gómez García
5d43c1dbff translations 1 2018-03-23 10:42:34 +01:00
Adolfo Gómez García
f3e8d98ae6 Merge remote-tracking branch 'origin/v2.2' 2018-03-23 10:40:16 +01:00
Adolfo Gómez García
9c65db5c25 X2go fixes 2018-03-23 10:39:34 +01:00
Adolfo Gómez García
a6397e9ff6 Fixed X2Go 2018-03-22 18:36:43 +01:00
Adolfo Gómez García
187d417eec Merge remote-tracking branch 'origin/v2.2' 2018-03-21 18:41:21 +01:00
Adolfo Gómez García
5909533161 Fixed "smooth fonts".Now works on linux xfreerdp clients also. 2018-03-21 18:40:32 +01:00
Adolfo Gómez García
cbaf42af26 Merge remote-tracking branch 'origin/v2.2' 2018-03-16 10:57:21 +01:00
Adolfo Gómez García
f3420a50ac translations 2018-03-16 10:56:57 +01:00
Adolfo Gómez García
f6eab2f3b2 Fixed migrations from 2.2 2018-03-16 10:02:14 +01:00
Adolfo Gómez García
6bbd8d1321 Merge remote-tracking branch 'origin/v2.2' 2018-03-16 09:53:49 +01:00
Adolfo Gómez García
1bd56debb9 Added reset to vdi 2018-03-16 09:51:55 +01:00
Adolfo Gómez García
83ad9141a8 Merge remote-tracking branch 'origin/v2.2' 2018-03-16 09:50:29 +01:00
Adolfo Gómez García
a1ed512453 fixes from merge 2018-03-16 09:43:01 +01:00
Adolfo Gómez García
4641fde008 Added reset to vdi 2018-03-16 09:37:04 +01:00
Adolfo Gómez García
1d3d79c562 fix for "reset" capacity 2018-03-16 06:15:19 +01:00
Adolfo Gómez García
33600bda6e Fixed rootless 2018-03-14 15:23:44 +01:00
Adolfo Gómez García
e4807cf648 sets "allow_users_reset" to false on save if service does not supports
it.
2018-03-14 09:51:17 +01:00
Adolfo Gómez García
b9cb82c054 Merge remote-tracking branch 'origin/v2.2' 2018-03-14 08:18:06 +01:00
Adolfo Gómez García
92de41d410 * Added support for "reset" services that support it.
Right now, we will test on enterprise this feature.
2018-03-14 08:03:23 +01:00
Adolfo Gómez García
ee72b65534 Merge from master guacamole updates 2018-03-12 07:21:22 +01:00
Adolfo Gómez
ca24954e8d Merge pull request #20 from glyptodon/update-guac-version
Update to 0.9.14 version of Apache Guacamole APIs.
2018-03-12 07:17:45 +01:00
Michael Jumper
b30f9334c5 Automatically reconnect after network errors (see upstream commit apache/guacamole-client@ecf506e). 2018-03-11 21:58:20 -07:00
Michael Jumper
a8e384cb43 Add error strings for status codes added upstream via GUACAMOLE-208 (see upstream commits apache/guacamole-client@dd6964a and apache/guacamole-client@ee4f8cf). 2018-03-11 21:55:47 -07:00
Michael Jumper
5136d013c2 Update to 0.9.14 version of Apache Guacamole APIs. 2018-03-11 21:33:30 -07:00
Adolfo Gómez García
374c35ea8c Merge remote-tracking branch 'origin/v2.2' 2018-03-09 11:19:17 +01:00
Adolfo Gómez García
dba5e4267a Fixed translations 2018-03-09 11:19:01 +01:00
Adolfo Gómez García
fb757fc1fd Merge remote-tracking branch 'origin/v2.2' 2018-03-08 20:33:21 +01:00
Adolfo Gómez García
f6d78201cb fixed cache in case of use in middle of "lock tables"... 2018-03-08 20:29:28 +01:00
Adolfo Gómez García
952cb1c3f7 Merge remote-tracking branch 'origin/v2.2' 2018-03-06 11:08:58 +01:00
Adolfo Gómez García
8162230f23 Fixed lazy trans on os managers 2018-03-06 11:06:40 +01:00
Adolfo Gómez García
f73de2f4c3 Merge remote-tracking branch 'origin/v2.2' 2018-03-05 13:59:40 +01:00
Adolfo Gómez García
bfb96b6d9f Translations 2018-03-05 13:59:20 +01:00
Adolfo Gómez García
f9316b230b Merge remote-tracking branch 'origin/v2.2' 2018-03-05 13:41:33 +01:00
Adolfo Gómez García
b37c87afb5 Added new "on logout" state 2018-03-05 13:38:40 +01:00
Adolfo Gómez García
8913d152e7 cosmetic 2018-03-05 13:37:33 +01:00
Adolfo Gómez García
8141d3bbdb Updated go fontawasome 5 2018-03-04 02:38:48 +01:00
Adolfo Gómez García
05f2f816e0 a couple of fixes for grunt-copy on user space template 2018-03-03 10:53:39 +01:00
Adolfo Gómez García
0c1313af8f Merge remote-tracking branch 'origin/v2.2' 2018-03-02 18:36:43 +01:00
Adolfo Gómez García
df98efc2da translations 2018-03-02 18:35:02 +01:00
Adolfo Gómez García
7320ba0e6d Added to "use" log the serviceName & the pool name 2018-03-02 18:09:12 +01:00
Adolfo Gómez García
9f89cc1482 Merge remote-tracking branch 'origin/v2.2' 2018-03-02 06:01:30 +01:00
Adolfo Gómez García
4271be9340 Added a couple of logs due to the fact that maybe in some moment we
change a datetime from db/uds and may "force" tasks
2018-03-02 06:00:04 +01:00
Adolfo Gómez García
8904cc9bc0 fixing migrations from 2.2 2018-03-02 05:47:17 +01:00
Adolfo Gómez García
e1efa5d5ed fixing migrations from 2.2 2018-03-02 05:46:56 +01:00
Adolfo Gómez García
b56b3ef6d8 Fixed & remove "auto_add_time" etc.. 2018-03-02 05:25:42 +01:00
Adolfo Gómez García
eacffbe20b Merge remote-tracking branch 'origin/v2.2' 2018-03-02 01:02:08 +01:00
Adolfo Gómez García
5f74c7fca8 * Changed the "persitent" management on case of new publication.
Now, if a machine is considered "persistent", on a new publication, UDS
Will not remove assigned services, nor will remove services of old
publications on logout.
2018-03-02 00:51:16 +01:00
Adolfo Gómez García
4a171b6aa5 Merge remote-tracking branch 'origin/v2.2' 2018-02-28 19:50:48 +01:00
Adolfo Gómez García
0bd09e70bf fixed README.txt 2018-02-28 19:50:27 +01:00
Adolfo Gómez García
52345d6970 Forgot the moderm folder :) 2018-02-26 07:30:22 +01:00
Adolfo Gómez García
697a07dda8 Working on templates 2018-02-26 07:11:59 +01:00
Adolfo Gómez García
ccd2215cf6 Finally, we are going to try translation to typescript, at least on user space for now. 2018-02-25 09:05:02 +01:00
Adolfo Gómez García
c2e5b705a7 Advanced a bit 2018-02-24 23:48:42 +01:00
Adolfo Gómez García
30006b90d4 Advancing on base template dev environment 2018-02-24 10:10:26 +01:00
Adolfo Gómez García
9d2abc83bf Added by now the bootstrap-select picerk beta. To be replace with stable & npm package when stable 2018-02-24 10:09:44 +01:00
Adolfo Gómez García
9e86df21e5 advancing on base templates. 2018-02-24 09:09:14 +01:00
Adolfo Gómez García
367b9ca26f Advancing on auto builders 2018-02-24 08:45:45 +01:00
Adolfo Gómez García
3be93f2dcf Testing aroung with typescripy/javascript. For now, will keep coffeescript, too many changes for using typescript and no time ;-) 2018-02-24 06:21:13 +01:00
Adolfo Gómez García
5d8a63e729 base empty template for user html 2018-02-24 05:38:23 +01:00
Adolfo Gómez García
f9886cae3b Replacing coffeescripy by typescript 2018-02-24 05:24:26 +01:00
Adolfo Gómez García
f9e10b8daf Updated 2018-02-23 09:40:14 +01:00
Adolfo Gómez García
b386839bdc started template for new user interface, using bootstrap 4 2018-02-23 09:00:59 +01:00
Adolfo Gómez García
32053627ad Merge remote-tracking branch 'origin/v2.2' 2018-02-20 14:32:51 +01:00
Adolfo Gómez García
9e991eebb2 Locales to date 2018-02-20 14:29:59 +01:00
Adolfo Gómez García
579092bac6 Merge remote-tracking branch 'origin/v2.2' 2018-02-20 13:27:16 +01:00
Adolfo Gómez García
ab8faf3ebb Small 2.2 fixes 2018-02-20 13:11:46 +01:00
Adolfo Gómez García
17e573dc14 First tests with mssql. With a couple of fixes, seems to work properly for "testing" porposes at least... 2018-02-16 06:15:21 +01:00
Adolfo Gómez García
bd267d7cd1 On Mysql, unsigned smalint can cover till 65536. Seems that on MS SQL
does not support this range (instead, supports only till 32768).
Also, due to something i do not understand, cannot change the type of
"level" field because it gas a constraint. So, as long as int and
smallint are compatibles at query leve, we have changed it on initial
creation to "PsotiveInteger" and shoudl be fine. (The already created
database will not suffer from this change)
2018-02-16 05:37:47 +01:00
Adolfo Gómez García
18d6a24631 fixes for django 2.x 2018-02-13 01:20:32 +01:00
Adolfo Gómez García
86a2c7c544 Small fix & debug info removal 2018-02-13 01:02:28 +01:00
Adolfo Gómez García
733522d574 * Added new squashed migration for next release
* Fixed several issues with django 2.x
2018-02-13 00:38:15 +01:00
Adolfo Gómez García
92a0c840a5 updated requirements with current neede versions 2018-02-12 22:03:48 +01:00
Adolfo Gómez García
92639b6771 preparing debian package for next release (just upgrading version numbers right now...) 2018-02-12 21:40:40 +01:00
Adolfo Gómez García
7b6d7df38b UDS 3.0 will be only python 3 compatible. We have upgrade django to 2.x, so we need python 3 to use it 2018-02-12 21:34:58 +01:00
Adolfo Gómez García
1ea2054d60 UDS 3.0 will be only python 3 compatible. We have upgrade django to 2.x, so we need python 3 to use it 2018-02-12 21:29:35 +01:00
Adolfo Gómez García
96721487de Fixed workers autoloader for python3 2018-02-12 19:22:57 +01:00
Adolfo Gómez García
c9075bfa0f Merge remote-tracking branch 'origin/v2.2' 2018-02-12 11:04:53 +01:00
Adolfo Gómez García
752b84a17a added xscreensaver dependencie to udsactor 2018-02-12 10:49:44 +01:00
Adolfo Gómez García
4ffdd4b882 Removed check of systray existance... 2018-02-12 10:43:34 +01:00
Adolfo Gómez García
ca0fc6a61d Updating windowmain to be functional on python2 & python3 2018-02-09 06:10:50 +01:00
Adolfo Gómez García
54136ae077 Upgraded reporting to weasyprint & python3.
Caution!!. pycha does not supports python3. Right now, we have patched
pycha on our servers, and will look for an updated alternative.
2018-02-08 08:05:18 +01:00
Adolfo Gómez García
8f38ae8f4a Fixed fields order not being returned correctly 2018-02-08 07:02:08 +01:00
Adolfo Gómez García
49654d9afe Removed duplicate password for testing (nonsense... :P) 2018-02-08 07:01:33 +01:00
Adolfo Gómez García
225bf75770 advancing on a reporting system compatible with python2 & python3 2018-02-07 21:38:17 +01:00
Adolfo Gómez García
a9844fc8b4 Merge remote-tracking branch 'origin/v2.2' 2018-02-07 16:43:35 +01:00
Adolfo Gómez García
d59661eb05 Fix report 2018-02-07 16:42:59 +01:00
Adolfo Gómez García
babcf53ea3 removing old geraldo reports and adding much more conveninet weasyprint 2018-02-07 11:53:31 +01:00
Adolfo Gómez García
a395847b32 Merge remote-tracking branch 'origin/v2.2' 2018-02-07 10:26:21 +01:00
Adolfo Gómez García
7c54eba78c Merge branch 'master' of github.com:dkmstr/openudt mes 2018-02-07 10:26:07 +01:00
Adolfo Gómez García
766786715d Removing geraldo reports/reportlabs in favor of weasyprint 2018-02-07 10:25:50 +01:00
Adolfo Gómez García
c81fc17593 Removing geraldo reports/reportlabs in favor of weasyprint 2018-02-07 10:25:22 +01:00
Adolfo Gómez García
a03f86f031 Fixed report to blob generation 2018-02-07 10:21:46 +01:00
Adolfo Gómez García
c9bea9cf78 Merge remote-tracking branch 'origin/v2.2' 2018-02-06 15:19:40 +01:00
Adolfo Gómez García
cc033105e2 fixed translations 2018-02-06 15:19:21 +01:00
Adolfo Gómez García
a665c72c25 Updated simpleldap authenticator to be python2 & python3 compatible 2018-02-01 07:06:25 +01:00
Adolfo Gómez García
dcf1ea7cac merge from 2.2 and fix 2018-02-01 05:25:17 +01:00
Adolfo Gómez García
9e293905b6 merge from 2.2 and fix 2018-02-01 05:23:36 +01:00
Adolfo Gómez García
a1bf0b92bb Enhanced "search user/groups" response on too many results 2018-02-01 04:59:20 +01:00
Adolfo Gómez García
bce764f0d3 Fixied unique generators for not using "lock tables" (towards full use of galer mariadb cluster) 2018-01-31 08:09:04 +01:00
Adolfo Gómez García
a4288b991d Removed "lock" from UniqueIdGenerator for future release 2018-01-29 12:45:18 +01:00
Adolfo Gómez García
c2a1e310ef Merge remote-tracking branch 'origin/v2.2' 2018-01-29 09:26:55 +01:00
Adolfo Gómez García
b6e5aeac29 Fixed string translation from coffeescript 2018-01-26 10:32:08 +01:00
Adolfo Gómez García
a6474101b4 small info fix 2018-01-25 08:34:01 +01:00
Adolfo Gómez García
8a06132b1a Updated LDAP REGEX to be compatible with python2 & pytohn3 2018-01-24 10:28:26 +01:00
Adolfo Gómez García
789084d3ed py3 2018-01-18 10:46:05 +01:00
Adolfo Gómez García
fab976fd8f Merge remote-tracking branch 'origin/v2.2' 2018-01-18 08:36:39 +01:00
Adolfo Gómez García
3420ac44be Fixed net to use only integers on py3 2018-01-18 08:32:16 +01:00
Adolfo Gómez García
42631f39da python 3.x 2018-01-16 12:37:56 +01:00
Adolfo Gómez García
c6003536ae python3.x 2018-01-16 11:30:04 +01:00
Adolfo Gómez García
5c3505856a Merge remote-tracking branch 'origin/v2.2' 2018-01-16 10:39:31 +01:00
Adolfo Gómez García
d0fb880880 Removed annoying debug 2018-01-16 10:38:23 +01:00
Adolfo Gómez García
e597381005 Merge remote-tracking branch 'origin/v2.2' 2018-01-16 10:37:11 +01:00
Adolfo Gómez García
f43a65e026 Fixed connection for not checking connections 2018-01-16 10:33:51 +01:00
Adolfo Gómez García
0d63c25f27 Common ldaputil for all ldap access, so py2 & py3 compat will be easier 2018-01-16 08:35:18 +01:00
Adolfo Gómez García
37c65c14e6 Fixing for python3.x 2018-01-15 23:38:00 +01:00
Adolfo Gómez García
6d5b154f3c Fixes for python3.x 2018-01-15 23:33:21 +01:00
Adolfo Gómez García
ea0727993e legacy bug, in a methond not in fact used (but maybe usable) 2018-01-15 23:32:55 +01:00
Adolfo Gómez García
61b8c270c4 Fixing up things for python 3.x compat 2018-01-15 17:02:33 +01:00
Adolfo Gómez García
b491c4a2c0 Merge remote-tracking branch 'origin/v2.2' 2018-01-12 11:53:01 +01:00
Adolfo Gómez García
8d00883213 Added "Chrome OS", and fixed the "unknown os" bug 2018-01-12 11:51:08 +01:00
Adolfo Gómez García
8ad77c736d Set that unknown os to be recognized right now as android 2018-01-12 11:25:24 +01:00
Adolfo Gómez García
f5325e47f7 Merge remote-tracking branch 'origin/v2.2' 2018-01-12 11:18:37 +01:00
Adolfo Gómez García
bfb65ccdb6 towerds python 3.x 2018-01-12 10:37:32 +01:00
Adolfo Gómez García
178bb12b62 Working on python3 compat, an fixing 2.2 merge issues :) (a couple only) 2018-01-12 10:03:05 +01:00
Adolfo Gómez García
0801bd0cfb * Fixed cache for invalidate it fi "pickle" protocol is mismatched (for
python3/python2 compat)
* Fixed BaseModule to return icon in "unicode" instead of "bytes"
2018-01-12 07:55:46 +01:00
Adolfo Gómez García
5fae347440 Fixing up for 3.x compatibility 2018-01-12 06:46:07 +01:00
Adolfo Gómez García
34ff0259ce Fixed icon for service inside providers (on dashboard) 2018-01-10 12:18:28 +01:00
Adolfo Gómez García
b4ba79cad2 Fixed look up user names on Windows Actor on lowercase 2018-01-10 12:10:53 +01:00
Adolfo Gómez García
5a13f52d8f Fixed translations 2018-01-09 22:50:46 +01:00
Adolfo Gómez García
3e8b681dae Merge remote-tracking branch 'origin/v2.2' 2018-01-09 22:36:59 +01:00
Adolfo Gómez García
0242eaaa54 fixed a couple of literals 2018-01-09 22:36:26 +01:00
Adolfo Gómez García
f2149c594e Merge remote-tracking branch 'origin/v2.2' 2018-01-09 14:35:58 +01:00
Adolfo Gómez García
7ec92d6005 translations 2018-01-09 14:35:42 +01:00
Adolfo Gómez García
1518be047c Merge remote-tracking branch 'origin/v2.2' 2018-01-09 14:33:46 +01:00
Adolfo Gómez García
dbc2bc1754 Fixed string 2018-01-09 14:33:38 +01:00
Adolfo Gómez García
4932fe37f7 Merge remote-tracking branch 'origin/v2.2' 2018-01-08 18:50:13 +01:00
Adolfo Gómez García
18f75ecb37 Updated translations 2018-01-08 18:48:41 +01:00
Adolfo Gómez García
61b147f450 Merge remote-tracking branch 'origin/v2.2' 2018-01-06 19:32:36 +01:00
Adolfo Gómez García
033a6265a8 Fixed ticket validity description on HTML5 2018-01-06 19:29:46 +01:00
Adolfo Gómez García
02ab1a8c7c Removed unused field 2018-01-06 19:27:17 +01:00
Adolfo Gómez García
8c6833f420 Several fixes
* Added missing migration
* More fixes towards python3 full compatibility (now it runs, but has
lots of unicode/bytes problems :) )
* Several minor fixes found during updating
2018-01-05 14:46:14 +01:00
Adolfo Gómez García
9726cd7858 Fixing up things for future python 3.x (advancing fast)) 2018-01-05 00:28:05 +01:00
Adolfo Gómez García
a81e08d3cd Fixed migrations to work on python3 2018-01-04 22:55:41 +01:00
Adolfo Gómez García
fa1dfea181 small fix for migrations 2018-01-04 22:43:52 +01:00
Adolfo Gómez García
b59067a20e Fixing up things for python3 near future upgrade 2018-01-04 22:16:21 +01:00
Adolfo Gómez García
fc2f8b8a37 Merge remote-tracking branch 'origin/v2.2' 2018-01-04 14:46:14 +01:00
Adolfo Gómez García
89155d6db9 HTML5 addin so we can define the duration of HTML5 tickets (for
disconnections, or F5 allowance)
2018-01-04 14:44:31 +01:00
Adolfo Gómez García
9b35224fc5 Removed "storage_type" from 4.1. It's not used, so not needed 2018-01-04 14:43:40 +01:00
Adolfo Gómez García
161c277ec6 Merge remote-tracking branch 'origin/v2.2' 2017-12-21 19:10:55 +01:00
Adolfo Gómez García
a0797ac07f Updated translations 2017-12-21 19:10:36 +01:00
Adolfo Gómez García
3694f10fff Merge remote-tracking branch 'origin/v2.2' 2017-12-21 19:05:33 +01:00
Adolfo Gómez García
bbcc06f503 Fixes on RDP for Linux.
On linux client freerdp 1.1, seems that /home-drive with
/drive:media,/media and /printer makes the client fail. (Works fine with
2.0).
We have replaced so:
1.- Now by default, on linux, redirect drives redirects /media
2.- You can check "redirect home" so /home is also redirected (take
care, /home, not home folder)
3.- If you want /home-drives, you can include it on "custom parameters"
2017-12-21 19:04:06 +01:00
Adolfo Gómez García
42ac0d6b03 Merge remote-tracking branch 'origin/v2.2' 2017-12-20 12:29:02 +01:00
Adolfo Gómez García
6fbf419064 Updated translations 2017-12-20 12:28:52 +01:00
Adolfo Gómez García
30ef566bef merged from v2.2 2017-12-20 12:28:38 +01:00
Adolfo Gómez García
cabc906758 Fixed a lof of transports string literals 2017-12-20 12:17:17 +01:00
Adolfo Gómez García
0b7535e76e Fixed string on x2go transport 2017-12-20 00:10:24 +01:00
Adolfo Gómez García
85db53e619 Merge remote-tracking branch 'origin/v2.2' 2017-12-19 22:44:32 +01:00
Adolfo Gómez García
f536112312 Updated translations 2017-12-19 22:42:50 +01:00
Adolfo Gómez García
1a1a4e84b2 Merged from 2.2. 2017-12-19 22:41:26 +01:00
Adolfo Gómez García
ab2ca6d527 Fixed text & descriptions for transports 2017-12-19 22:33:05 +01:00
Adolfo Gómez García
442b78ef2e Fixed smartcard parameter when empty 2017-12-19 13:52:20 +01:00
Adolfo Gómez García
9cfc348ee6 RDP aditions. 2017-12-18 12:48:15 +01:00
Adolfo Gómez García
6756142e44 Merged from 2.2 2017-12-15 12:41:50 +01:00
Adolfo Gómez García
0f1d1af736 RDP Transport fixes
* Now preferences are not for user, that is not useful. Now screen size,
color deppth, etc.. is selected on the transports.
* Preferences for RDP has been removed from "user preferences"
2017-12-15 12:33:15 +01:00
Adolfo Gómez García
6830d8db4e Fixed Client plugin version 2017-12-15 11:16:22 +01:00
Adolfo Gómez García
49862699f2 Merged 2017-12-14 15:28:34 +01:00
Adolfo Gómez García
d8db218c6d * Updated linux agents to include "udsvapp"
* Fixed reloading of master key, to do it "less sensitive" to database connection errros
* Removed nonsense info log from storage
* Added "customCmd" for UDS vApp on linux
2017-12-14 15:17:46 +01:00
Adolfo Gómez García
afbbc342ba Merged v2.2 & fixed typo 2017-12-14 10:52:55 +01:00
Adolfo Gómez García
81dd4e3b8c a little optimization 2017-12-12 19:42:09 +01:00
Adolfo Gómez García
9519c7c95b More fixes to scheduled actions. Now all should work as expected with start/end dates 2017-12-12 18:42:44 +01:00
Adolfo Gómez García
afa7cb8f39 Fixed another calendar issue 2017-12-12 18:04:47 +01:00
Adolfo Gómez García
dc640fd400 Added support so a deployed service can "ignore unused but assigned"
state. That is, UDS now can enforce the check to be ignored.
2017-11-29 12:50:54 +01:00
Adolfo Gómez García
76c822b015 Fixed RDPFile to split linux command lines correctly 2017-11-29 12:49:49 +01:00
Adolfo Gómez García
c7513328eb Smaill fix for authenticators list (so we can determine type) 2017-11-23 06:38:12 +01:00
Adolfo Gómez García
e5f0fcce69 Fixed SHUTOFF on OpenStack 2017-11-21 12:48:44 +01:00
Adolfo Gómez García
5e0d71042d Merge remote-tracking branch 'origin/v2.2' 2017-11-20 15:30:35 +01:00
Adolfo Gómez García
004acbab9a Fixing up thin thin plugin 2017-11-20 14:56:19 +01:00
Adolfo Gómez García
c566ec47a2 Fixes for thin thin plugin 2017-11-20 13:56:28 +01:00
Adolfo Gómez García
3e1a31954a * Added "requestLogoff", to be invoked before "user removal" of a
service
2017-11-20 01:01:52 +01:00
Adolfo Gómez García
3a42fb599c Merge remote-tracking branch 'origin/v2.2' 2017-11-15 15:39:41 +01:00
Adolfo Gómez García
ec5473d99f Fixed autoatrributes && rdp 2017-11-15 15:36:36 +01:00
Adolfo Gómez García
4cf62de3fd Fixing up encoders 2017-11-15 14:21:45 +01:00
Adolfo Gómez García
4c87d96cd3 Merge remote-tracking branch 'origin/v2.2' 2017-11-15 13:27:44 +01:00
Adolfo Gómez García
a43d6af237 Fixing up encoders/decoders 2017-11-15 13:11:34 +01:00
Adolfo Gómez García
f41f431f38 Added "hex" encoder if needed 2017-11-15 13:02:13 +01:00
Adolfo Gómez García
c5af877fce Fixed DBfile new "encoding-decoding' 2017-11-15 13:01:47 +01:00
Adolfo Gómez García
88dd6e7494 Fixed encoding to bzip2 2017-11-15 12:41:40 +01:00
Adolfo Gómez García
7fd7f48ee8 Mergin 2.2 changes into master 2017-11-14 15:19:32 +01:00
Adolfo Gómez García
e69800ccd2 Fixing up removing ".encode(bzip2, base64, zip)" from strings for Python 3 compatibility 2017-11-14 14:51:26 +01:00
Adolfo Gómez García
b1ba02c1f3 Added support or "ignore ssl" cert to openstack (to allow self signed) 2017-11-13 09:23:02 +01:00
Adolfo Gómez García
cb13ac1617 Fixing up REST api for client access 2017-11-10 14:10:26 +01:00
Adolfo Gómez García
dcfc5357aa Merge remote-tracking branch 'origin/v2.2' 2017-11-09 08:20:24 +01:00
Adolfo Gómez García
de051d99ac Small fix 2017-11-09 08:20:03 +01:00
Adolfo Gómez García
86b12f82bf Merge remote-tracking branch 'origin/v2.2' 2017-11-07 11:10:01 +01:00
Adolfo Gómez García
fa1e6a69e8 Added "minValue" (cosmetic) to memory & storage sizes on oVirt Service 2017-11-07 11:09:14 +01:00
Adolfo Gómez García
5360864aed Merge remote-tracking branch 'origin/v2.2' 2017-11-06 15:03:12 +01:00
Adolfo Gómez García
417ddc6d8d * Fixed calendar, so next execution updates correctly on calendar rule
edition
2017-11-06 10:56:35 +01:00
Adolfo Gómez García
238f08b7dd Fixed id on auth list on REST api 2017-11-03 12:13:32 +01:00
Adolfo Gómez García
739ee728d3 upgraded to 2.2 2017-10-30 10:24:45 +01:00
Adolfo Gómez García
b8042f5aa7 Merged changes from 2.2 2017-10-26 14:02:07 +02:00
Adolfo Gómez García
09d6001ef1 Merged changes from 2.2 2017-10-26 14:01:44 +02:00
Adolfo Gómez García
c5b9233d4a Lots of new things
* Now we can have a short name for correct visualization of UDS Services
* We now can allow release services
2017-10-26 13:35:53 +02:00
Adolfo Gómez García
22a8933e82 Added "release" icon (trash) 2017-10-26 10:47:55 +02:00
Adolfo Gómez García
a185baccdd fixed so /rest is allowed 2017-10-25 13:45:22 +02:00
Adolfo Gómez García
9e2a5d8b07 Merge remote-tracking branch 'origin/v2.2' 2017-10-25 13:31:58 +02:00
Adolfo Gómez García
2521f41e76 fixed so now Redirect To Https will redirect ALWAYS :) 2017-10-25 13:26:08 +02:00
Adolfo Gómez García
3f1f2066b4 Merged 2.2 2017-10-19 14:31:16 +02:00
Adolfo Gómez García
815de57b86 fixed executing 2017-10-19 14:27:17 +02:00
Adolfo Gómez García
428ddd493c * Fixed actor version
* Fixed run
2017-10-19 10:38:41 +02:00
Adolfo Gómez García
4de93ddf1f adapted "run" windows registry key value, so it contains also arguments 2017-10-19 08:07:45 +02:00
Adolfo Gómez García
e6b75e3807 Now, run allows the use of a full command line with parameters 2017-10-18 15:27:56 +02:00
Adolfo Gómez García
e835c018b4 Logs for debugging 2017-10-18 13:18:37 +02:00
Adolfo Gómez García
6b88209a93 Coding style related 2017-10-17 14:16:00 +02:00
Adolfo Gómez García
eb7773fb74 Merge remote-tracking branch 'origin/v2.2' 2017-10-17 13:24:23 +02:00
Adolfo Gómez García
098620cd05 Fix 2017-10-17 13:20:20 +02:00
Adolfo Gómez García
1519d7b8a1 Merge remote-tracking branch 'origin/v2.2' 2017-10-17 13:15:17 +02:00
Adolfo Gómez García
214f9c397b Improved "ensureResponseIsOk" to detect non json responses... 2017-10-17 13:14:56 +02:00
Adolfo Gómez García
528d1d3acc Code slyling related 2017-10-16 19:24:28 +02:00
Adolfo Gómez García
f1158b9d42 Merge remote-tracking branch 'origin/v2.2' 2017-10-16 19:08:18 +02:00
Adolfo Gómez García
8a87c2e057 Fixes 2017-10-16 19:08:14 +02:00
Adolfo Gómez García
47ae741952 Fixed exception on "notifyReadyFromOsManager' 2017-10-16 19:06:41 +02:00
Adolfo Gómez García
97dde33c48 Merge remote-tracking branch 'origin/v2.2' 2017-10-16 18:51:59 +02:00
Adolfo Gómez García
907fad4a55 On 2.2 and later, we force the python executable to be "python2.7" on
linux platforms (except for thin udsclient, that will execute python)
2017-10-16 13:08:47 +02:00
Adolfo Gómez García
7c3e289a6b * Deadline now on its own method
* Removed deadline from notifyUrls. It was a nonsense :).
2017-10-16 12:15:46 +02:00
Adolfo Gómez García
1f5a647ff3 Deadline & Fake set to false
* Added deadline to notifyURLS
* Now Fake = False
2017-10-16 12:02:01 +02:00
Adolfo Gómez García
0eebe6a0a5 Fixed Removal of service without os manager on "logout" 2017-10-16 11:10:39 +02:00
Adolfo Gómez García
953d4ac0c9 ¡ 2017-10-13 13:09:15 +02:00
Adolfo Gómez García
b8c09f48db Code style related fixes (a lot!!! :) ) 2017-10-13 13:06:27 +02:00
Adolfo Gómez García
8aa1607fee Fixed auth log 2017-10-13 13:05:45 +02:00
Adolfo Gómez García
a890a957c8 Merge remote-tracking branch 'origin/v2.2' 2017-10-13 12:17:11 +02:00
Adolfo Gómez García
64ed0a9a1f Merge branch 'master' of github.com:dkmstr/openuds 2017-10-13 12:16:59 +02:00
Adolfo Gómez García
0aa1311836 Fixed small bug on "useEmptyCreds". In fact, not used but "bug" exists 2017-10-13 12:16:32 +02:00
Adolfo Gómez García
1ac61edebe small fixes 2017-10-12 02:54:56 +02:00
Adolfo Gómez García
6eaa3fd450 PEP & related 2017-10-12 02:28:43 +02:00
Adolfo Gómez García
81ce78bbbd PEP & related 2017-10-12 02:05:44 +02:00
Adolfo Gómez García
a1478a04d8 Fixing up PEP related 2017-10-12 01:27:26 +02:00
Adolfo Gómez García
6d49ae6667 Fixed IP Machines service && "execute" method of action calendars 2017-10-12 01:23:02 +02:00
Adolfo Gómez García
76ff66661d Merge remote-tracking branch 'origin/v2.2' 2017-10-11 17:55:46 +02:00
Adolfo Gómez García
e60a4bc8fa Added "udsvapp" possibility 2017-10-09 15:18:59 +02:00
Adolfo Gómez García
5ebd081ff3 Merge remote-tracking branch 'origin/v2.2' 2017-10-09 09:21:38 +02:00
Adolfo Gómez García
6e5b73c3b7 Catalan up to date 2017-10-09 09:21:23 +02:00
Adolfo Gómez García
71f04e46be from 2.2 2017-10-05 11:11:35 +02:00
Adolfo Gómez García
cbb6d48cfb Merge remote-tracking branch 'origin/v2.2' 2017-10-05 11:09:42 +02:00
Adolfo Gómez García
ae4330fc9d Fixed custom spice error message on dashboard 2017-10-05 11:08:43 +02:00
Adolfo Gómez García
04a862840c Updating from 2.2 2017-10-05 11:05:18 +02:00
Adolfo Gómez García
b7147661e7 * Fixed several translations && translations upgrade
* Also removed nonsense check for AD
2017-10-05 10:58:25 +02:00
Adolfo Gómez García
3c07d2f667 Several improvements to messages for transports, and minor client
scripts fixed

* Added custom error message for SPICE
* Remover "import QT" from NX client scripts
2017-10-04 11:30:29 +02:00
Adolfo Gómez García
f54d87a295 Fixed NX legacy password generator. The $ must not be scaped to "\$" :) 2017-10-04 11:26:16 +02:00
Adolfo Gómez García
9f386a8d01 Merge remote-tracking branch 'origin/v2.2' 2017-10-02 10:44:54 +02:00
Adolfo Gómez García
ac8a661182 Merge remote-tracking branch 'origin/v2.2' 2017-10-02 10:44:14 +02:00
Adolfo Gómez García
13f97248f6 Fixed OSManager to allow:
1.- Posting "POST"-only messages through "GET" method. (Only basic
messages)
 2.- Allow notify login/logout for user services without os manager
2017-10-02 10:36:45 +02:00
Adolfo Gómez García
786945fcbf Fixiung up og 2017-09-29 12:33:03 +02:00
Adolfo Gómez García
1070b716a2 Fixiung up og 2017-09-29 12:10:21 +02:00
Adolfo Gómez García
ad1bf0fe0b Fixiung up og 2017-09-29 11:49:37 +02:00
Adolfo Gómez García
df70dd4fd8 Fixiung up og 2017-09-29 11:37:37 +02:00
Adolfo Gómez García
3038c545ce Fixiung up og 2017-09-29 11:09:35 +02:00
Adolfo Gómez García
8d3b28e3cb Fixiung up og 2017-09-29 11:05:29 +02:00
Adolfo Gómez García
c431e39d4a Fixiung up og 2017-09-29 11:04:13 +02:00
Adolfo Gómez García
770f2eef09 Fixing up og 2017-09-29 11:01:28 +02:00
Adolfo Gómez García
e702ff6bca Fixing up OpenGnsys 2017-09-29 10:02:44 +02:00
Adolfo Gómez García
c6cc1f2b43 x2go transport fix 2017-09-27 08:07:43 +02:00
Adolfo Gómez García
06f5184ddd Fixed OpenGnsys 2017-09-25 14:18:19 +02:00
Adolfo Gómez García
a071ce5e3e Merge remote-tracking branch 'origin/v2.2' 2017-09-21 15:50:07 +02:00
Adolfo Gómez García
d5688116e3 Merge remote-tracking branch 'origin/v2.1' into v2.2 2017-09-21 15:49:39 +02:00
Adolfo Gómez García
1e6f806563 Added base support for Catalan 2017-09-21 15:49:17 +02:00
Adolfo Gómez García
08ed93121b Added base support for Catalan 2017-09-21 15:48:45 +02:00
Adolfo Gómez García
840cc57fdc Updated with 2.2 version of WinDomainOsManager 2017-09-21 15:37:25 +02:00
Adolfo Gómez García
1ec1104356 Fixed advanced "alt class" setting to be optional 2017-09-21 09:26:34 +02:00
Adolfo Gómez García
cd19eae182 Merge remote-tracking branch 'origin/v2.2' 2017-09-20 10:16:22 +02:00
Adolfo Gómez García
234eb98f0c Included support for retrieving secondary LDAP records so the
information can be completed
2017-09-20 10:14:05 +02:00
Adolfo Gómez García
3c7d0f0e71 Merge remote-tracking branch 'origin/v2.2' 2017-09-19 16:32:16 +02:00
Adolfo Gómez García
fa7ab534a3 Updated openGnsys 2017-09-19 08:33:24 +02:00
Adolfo Gómez García
ee661461a5 Fixed windows domain "release", so if domain is not found can be easyly
identified
2017-09-19 08:32:51 +02:00
Adolfo Gómez García
aecf6854a4 Fixed Domain Os Manager for 2017-09-18 14:13:49 +02:00
Adolfo Gómez García
a3eb1f6e3f Fixing up things for 2.5 2017-09-18 09:46:00 +02:00
Adolfo Gómez García
b9634bfd10 Merged 2.2 2017-09-18 08:35:16 +02:00
Adolfo Gómez García
34cd90f9a1 Fixed macosx CoRD transports && backported OpenGnsys 2017-09-18 08:33:17 +02:00
Adolfo Gómez García
5091b69219 Merge remote-tracking branch 'origin/v2.2' 2017-09-13 14:32:33 +02:00
Adolfo Gómez García
201fb8ff9b A couple of cosmetic fixes 2017-09-13 14:31:41 +02:00
Adolfo Gómez García
d071f86c31 Updated filesaver version 2017-09-13 08:26:51 +02:00
Adolfo Gómez García
1c133eacd0 Fix for Windomain 2017-09-13 08:22:10 +02:00
Adolfo Gómez García
89ed019788 Fixed WinDomainOsManager to, in case of several servers actin as DC, look for the machine on all of them 2017-09-07 15:05:44 +02:00
Adolfo Gómez García
9930f4323c Small fix for windomain os manager, to better inform on errors adding to
group.
2017-09-04 18:12:03 +02:00
Adolfo Gómez García
167eb1861c Merge remote-tracking branch 'origin/v2.2' 2017-09-01 13:06:03 +02:00
Adolfo Gómez García
115beefa8a Fixed RDP TRansport to leave enabled by default clipboard redirection, for backward consistence 2017-09-01 13:05:27 +02:00
Adolfo Gómez García
611f3590e6 Added clipboard enabling/disabling on transport 2017-09-01 12:37:13 +02:00
Adolfo Gómez García
59635839cf Added check so we cannot use "no credentials" with an sec that is not rdp and set default sec level to "rdp" for html5 transport 2017-09-01 12:36:39 +02:00
Adolfo Gómez García
0d13156edf Merge remote-tracking branch 'origin/v2.2' 2017-08-04 15:20:12 +02:00
Adolfo Gómez García
4853729d7c Merge remote-tracking branch 'origin/v2.1' into v2.2 2017-08-04 15:19:58 +02:00
Adolfo Gómez García
e46b0d22e7 Now thinstation package is functional with gtk 2017-08-04 15:19:06 +02:00
Adolfo Gómez García
b5887ad1df Merged & fixed 2.2 changes 2017-08-02 16:29:47 +02:00
Adolfo Gómez García
a8b3b80f75 Merge remote-tracking branch 'origin/v2.1' into v2.2 2017-08-02 16:21:14 +02:00
Adolfo Gómez García
085b0c1393 Fixed Transport to remove references on scripts to Qt 2017-08-02 16:20:52 +02:00
Adolfo Gómez García
e257ca0571 First working (but already non functional) "thin plugin" for thinstation
(and any other linux also ;-) )
2017-08-02 16:20:25 +02:00
Adolfo Gómez García
29e062ba5d Small Fix, so UDS client gets an exception in case of UDS being unable
to identify client platform.
2017-08-02 16:08:46 +02:00
Adolfo Gómez García
2b9cd5508d * Advancing on "thin plugin" for UDS 2017-08-02 15:53:18 +02:00
Adolfo Gómez García
e5a6916109 Fixing up for 2.2 future release 2017-07-27 14:12:45 +02:00
Adolfo Gómez García
6a3093c49d Fix for miniamal server version to use "old method" 2017-07-27 14:04:36 +02:00
Adolfo Gómez García
498154ffb1 Updated version & Initial 2.2 uds client fix so it will support signed scripts 2017-07-27 14:01:04 +02:00
Adolfo Gómez García
79a591180d Removed "sec:rdp" from Linux xfreerdp client 2017-07-26 15:08:33 +02:00
Adolfo Gómez García
1e711eecbb Updated "update" date :) 2017-07-21 07:46:13 +02:00
Adolfo Gómez García
7da01597e6 Enabled HTML5 file sharing as experimental feature 2017-07-20 12:20:19 +02:00
Adolfo Gómez García
9f441c6b22 merged from 2.1 update 1 changes 2017-07-17 13:15:08 +02:00
Adolfo Gómez García
2e4bd4b1db * Fix on recovering v1 WindDomainOsManager
* Added support for "strange" groupnames (with parentheses, quotes, ...)
2017-07-17 12:14:35 +02:00
Adolfo Gómez García
f3f936e401 Improvements for Windows domain os manager (now we can add the machine to a group on creation) 2017-07-14 14:48:18 +02:00
Adolfo Gómez García
90ed08c779 Added a feature so in windows we can have a custom "RunOnce" mechanics
so we can include a custom call if needed.
2017-07-11 21:24:56 +02:00
Adolfo Gómez García
c2874e74c8 added some RDP 2017-07-06 12:35:06 +02:00
Adolfo Gómez García
3a11c9832f Fixed post-script for windows 2017-07-03 14:07:44 +02:00
Adolfo Gómez García
0f6ffb559b Fixed HTML5RDP files upload (commented anyway right now) 2017-07-03 10:37:58 +02:00
Adolfo Gómez
1e96bd2c13 Update README.md 2017-07-01 17:30:07 +02:00
Adolfo Gómez García
4769d7dc51 Added more REST API samples 2017-06-29 11:56:45 +02:00
Adolfo Gómez García
4fc2e98313 small fix for REST1 sample 2017-06-29 10:36:36 +02:00
Adolfo Gómez García
65d4e8f316 Fix so POSTs bodys of UDSActor are never empty 2017-06-27 10:40:15 +02:00
Adolfo Gómez García
876e9ee3b5 Merge remote-tracking branch 'origin/v2.1' 2017-06-20 08:18:36 +02:00
Adolfo Gómez García
09a48c9c5a added usage list to providers 2017-06-20 08:11:41 +02:00
Adolfo Gómez García
ac245e71e9 fix for AD machine removal 2017-06-16 09:56:58 +02:00
Adolfo Gómez García
e5d2c711ce Fixed for 2.1 finsl 2017-06-13 08:08:00 +02:00
Adolfo Gómez García
59e670f44e Merge remote-tracking branch 'origin/v2.1' 2017-06-08 11:34:12 +02:00
Adolfo Gómez García
de5e7380c4 Added a few "pretty" enhacements... 2017-06-08 11:31:47 +02:00
Adolfo Gómez García
2117433f8f Merge remote-tracking branch 'origin/v2.1' 2017-06-08 11:17:57 +02:00
Adolfo Gómez García
3e87c90c67 Added fast admin navigation links 2017-06-08 11:10:39 +02:00
Adolfo Gómez García
4a97872cdd Added usage info 2017-06-08 11:02:34 +02:00
Adolfo Gómez García
7d39e15c18 removed checkpoints 2017-06-06 13:17:55 +02:00
Adolfo Gómez García
77c7d71a96 Merge remote-tracking branch 'origin/v2.1' 2017-06-06 13:16:20 +02:00
Adolfo Gómez García
19e67f5a18 Updated translations 2017-06-06 13:16:03 +02:00
Adolfo Gómez García
ca877e513f Merge remote-tracking branch 'origin/v2.1' 2017-06-06 13:09:46 +02:00
Adolfo Gómez García
3e7c01f7f9 Added security option for HTML5 2017-06-06 12:18:41 +02:00
Adolfo Gómez García
0bda00e43d Added "custom parameter" for xfreerdp 2017-06-05 10:58:45 +02:00
Adolfo Gómez García
fe18faa863 Thistation 2017-06-05 09:55:12 +02:00
Adolfo Gómez García
808c715710 Added POST-CMD support 2017-06-01 12:25:48 +02:00
Adolfo Gómez García
648aad97ea Merge remote-tracking branch 'origin/v2.1' 2017-06-01 11:38:24 +02:00
Adolfo Gómez García
16d458bb69 Fixed locales 2017-06-01 11:38:03 +02:00
Adolfo Gómez García
e8ecf3d057 Merged changes to 2.1 2017-06-01 11:36:07 +02:00
Adolfo Gómez García
22a7e2336e Added config var for convert usernames to lowercase... 2017-06-01 09:35:43 +02:00
Adolfo Gómez García
f773cb5ecc Advancing on thin client & thinstation 2017-05-31 15:34:50 +02:00
Adolfo Gómez García
d1b6891ca7 Creating new "thin" uds client connector 2017-05-31 12:07:13 +02:00
Adolfo Gómez García
a9e65975c5 * Fixed X-Forwarded-Proto (was X-Forwarded-Protocol before...)
* Added "fix" on HTML5 javascript so it can fix the uds actor client
2017-05-26 10:55:47 +02:00
Adolfo Gómez García
c1377255b5 Added comment to metagroup groups combo 2017-05-24 11:52:58 +02:00
Adolfo Gómez García
cce8fa4869 Added double Crypt Method authentication 2017-05-24 10:23:16 +02:00
Adolfo Gómez García
dda1018901 fixed " on group names 2017-05-23 20:11:45 +02:00
Adolfo Gómez García
b44d02dbd9 Fixed tunnel wait 2017-05-22 14:16:38 +02:00
Adolfo Gómez García
cfded58563 Fixed 0x01 for 0x05 on cryptdata for windows rdp 2017-05-19 19:36:07 +02:00
Adolfo Gómez García
8642f4291b added pygtk dependencie to thinstation 2017-05-19 18:45:41 +02:00
Adolfo Gómez García
e83ff8d69d Fixed log to be INFO 2017-05-18 13:13:37 +02:00
Adolfo Gómez García
d8fa71c326 Merge remote-tracking branch 'origin/v2.1' 2017-05-18 12:39:42 +02:00
Adolfo Gómez García
16edf04f1d Updated build packages 2017-05-18 12:39:30 +02:00
Adolfo Gómez García
cbaa5cef46 Fixed error on udsclient for Linux that was creating the log file on
/tmp instead of home user folder
2017-05-18 12:36:05 +02:00
Adolfo Gómez García
aa4a96663c * Fixed a bug with removal/checkForRemoval on UserServiceManager that,
in case of a publication that finishes instantly (no one before 2.5
version), the valid services got into error instead of removal process.
* Added OpenGnsys, now works correctly (needs to do real tests against)
* Fixed template getting from adm interface for django >1.10
2017-05-18 12:31:03 +02:00
Adolfo Gómez García
8dc0239548 * Added "fake" opengnsys server
* Advanced with provider & service for Opengnsys
2017-05-17 13:55:38 +02:00
Adolfo Gómez García
da75dc79a7 Fixed OpenStack error information 2017-05-17 11:55:18 +02:00
Adolfo Gómez García
9965be5a76 Fixed MAC address to uppercase on Free & OpenStack 2017-05-16 14:49:34 +02:00
Adolfo Gómez García
9d6f3111da Adding thinstation stuff 2017-05-16 13:30:47 +02:00
Adolfo Gómez García
0d02dcb83b Merge remote-tracking branch 'origin/v2.1' 2017-05-16 09:37:38 +02:00
Adolfo Gómez García
9265ab3ac3 Fixed symlinks 2017-05-16 09:37:14 +02:00
Adolfo Gómez García
e5a770345b Merge remote-tracking branch 'origin/v2.1' 2017-05-16 09:32:03 +02:00
Adolfo Gómez García
34e70394e9 Updating directory structure 2017-05-16 09:30:52 +02:00
Adolfo Gómez García
3a750018e2 New "thin uds client" 2017-05-16 09:22:10 +02:00
Adolfo Gómez García
922659d284 Merge remote-tracking branch 'origin/v2.1' 2017-05-13 18:37:13 +02:00
Adolfo Gómez García
390eea5c3d Fixed translations 2017-05-13 18:27:31 +02:00
Adolfo Gómez García
dbf94b4c17 Fixed a couple of things 2017-05-13 18:24:59 +02:00
Adolfo Gómez García
bc8b2de151 Enable usb redir added 2017-05-13 18:21:26 +02:00
Adolfo Gómez García
c846bae301 Fixed report generation on 2.5 2017-05-10 10:48:37 +02:00
Adolfo Gómez García
bdefd11ade Fixing up proxy 2017-05-10 09:50:49 +02:00
Adolfo Gómez García
b73408043e Commented openstack volume availability for publishing only if not in
use.
2017-05-09 17:49:59 +02:00
Adolfo Gómez García
e8888afd22 Merge remote-tracking branch 'origin/v2.1' 2017-05-09 10:20:14 +02:00
Adolfo Gómez García
2ba6e4fa7c Updated locales & fixed usage summary report 2017-05-09 10:17:32 +02:00
Adolfo Gómez García
58d0f10eb0 Merge remote-tracking branch 'origin/v2.1' 2017-05-09 09:42:18 +02:00
Adolfo Gómez García
9bbd7fd57d Split usb sharing & auto new usb sharing into two options 2017-05-09 08:35:17 +02:00
Adolfo Gómez García
0ec3cb104a Fixed reversed options on spice transport 2017-05-09 08:25:22 +02:00
Adolfo Gómez García
72eedd8978 Merge remote-tracking branch 'origin/v2.1' 2017-05-08 09:33:42 +02:00
Adolfo Gómez García
b1f1d6701e removed log 2017-05-08 09:32:21 +02:00
Adolfo Gómez García
b2851b3c65 Merge remote-tracking branch 'origin/v2.1' 2017-05-08 09:31:32 +02:00
Adolfo Gómez García
d54b447bf7 Added "allow" smartcard redirection also, and added an small fix for
"usb sharing"
2017-05-05 14:00:44 +02:00
Adolfo Gómez García
6ca7c5fb34 Enable USB Auto Sharing controled by UDS Transport now 2017-05-05 13:43:00 +02:00
Adolfo Gómez García
ca9ad5efbd Seems that opennebula allows "spaces" on imagenames???. Fixed this removing it, and enhaced error notification in case of an image not found 2017-05-05 09:25:54 +02:00
Adolfo Gómez García
b5154cbbe9 added report for UPC 2017-05-05 01:43:19 +02:00
Adolfo Gómez García
a3ad88b9e6 Removed "adminitrative" permissions (left just full access, the other
was in fact an synonim)
2017-05-03 14:30:51 +02:00
Adolfo Gómez García
a4b9bf1fb9 Added new report for UPC 2017-05-03 12:30:59 +02:00
Adolfo Gómez García
a95684d864 Fixed tunWait 2017-04-20 19:24:28 +02:00
Adolfo Gómez García
6057e8a3f8 Removed unusefull exception log :) 2017-04-19 13:32:18 +02:00
Adolfo Gómez García
4fbbfb8d10 Added possible support for personalized logout url on login form 2017-04-19 13:24:32 +02:00
Adolfo Gómez García
2daafa2c4a Added "allow cross domain logins" as comment to login view 2017-04-19 10:26:18 +02:00
Adolfo Gómez García
b8e1e17735 Merge remote-tracking branch 'origin/v2.1' 2017-04-19 08:23:44 +02:00
Adolfo Gómez García
846489244e Fixed removal of users & authenticators 2017-04-18 14:24:22 +02:00
Adolfo Gómez García
ec33b46848 Removed trying to get opener StorageSession, as UDS will never do that, and under some cirtustances it may fail (for exmple, if using UDS API for getting a connection from a cross domain 2017-04-18 13:39:31 +02:00
Adolfo Gómez García
06d4909447 Merge remote-tracking branch 'origin/v2.1' 2017-04-18 00:32:44 +02:00
Adolfo Gómez García
e067f09958 Fixed added by Gliphtodown backported to 2.1 2017-04-18 00:32:27 +02:00
Adolfo Gómez
498a1a51eb Merge pull request #6 from glyptodon/update-glypto-copyright
Update Glyptodon copyright notice in applicable files.
2017-04-18 00:24:31 +02:00
Adolfo Gómez
3862605e3a Merge pull request #4 from glyptodon/remove-unused
Remove unused portions of legacy Guacamole UI.
2017-04-18 00:23:41 +02:00
Adolfo Gómez
b713ac9172 Merge pull request #5 from glyptodon/check-window-objects
Verify existence of localStorage / opener before attempting to reference.
2017-04-18 00:23:30 +02:00
Michael Jumper
1e96917c27 Remove unused CSS files. 2017-04-17 14:42:50 -07:00
Michael Jumper
5adc47fab8 Remove old, commented-out code. 2017-04-17 14:42:50 -07:00
Michael Jumper
2ca3b7ba25 Update copyright notice in applicable files. 2017-04-17 14:42:14 -07:00
Michael Jumper
8af8c91e2e Do not attempt to reference opener unless it is actually defined. 2017-04-17 14:41:57 -07:00
Michael Jumper
c7ba6e84b9 Do not attempt to reference localStorage unless it has been verified to exist. 2017-04-17 14:41:57 -07:00
Adolfo Gómez García
469fbaacda Merge remote-tracking branch 'origin/v2.1' 2017-04-17 23:11:59 +02:00
Adolfo Gómez García
8cbfcbb104 Removed "annoying" messages on log when need to retry database accesss 2017-04-17 22:52:31 +02:00
Michael Jumper
ba53a37d6f Remove unused GuacUI interface component classes. 2017-04-17 13:28:15 -07:00
Michael Jumper
d7006264ad Remove unused GuacUI utility functions. 2017-04-17 13:28:15 -07:00
Michael Jumper
3acda2fa28 Remove legacy code driving non-existant administration UI. 2017-04-17 13:28:15 -07:00
Michael Jumper
543e16500f Remove tracking of connection history and thumbnails. 2017-04-17 13:28:14 -07:00
Adolfo Gómez García
2a0a243dd1 merged 2.1 2017-04-10 02:45:17 +02:00
Adolfo Gómez García
2b5cf494db backported pom.xml from 2.5 2017-04-10 02:43:24 +02:00
Adolfo Gómez García
cdb3a2e8df Fixed version of guacamole transport 2017-04-10 02:40:32 +02:00
Adolfo Gómez
e7f6d8ddeb Merge pull request #3 from glyptodon/update-guac-api
Update to latest Guacamole API versions.
2017-04-10 02:33:59 +02:00
Adolfo Gómez García
39158bd7ae Removed download for Microsoft old RDP app 2017-04-10 01:43:42 +02:00
Michael Jumper
f68f78f48c Update to latest Guacamole API versions. 2017-04-08 16:58:03 -07:00
Adolfo Gómez García
95a695ee88 Fixed mac os x virt-viewer download url 2017-04-07 12:00:08 +02:00
Adolfo Gómez García
c5eb0432b3 Merge remote-tracking branch 'origin/v2.1' 2017-04-06 20:33:16 +02:00
Adolfo Gómez García
a860732ed2 small visual fix 2017-04-06 20:32:08 +02:00
Adolfo Gómez García
d6539dc543 Added visible attribute to services pools 2017-04-06 20:30:49 +02:00
Adolfo Gómez García
f2523fa8f2 Merge remote-tracking branch 'origin/v2.1' 2017-04-06 19:56:29 +02:00
Adolfo Gómez García
5d391a9fc4 Added exception log on case of invalid 2017-04-04 10:01:01 +02:00
Adolfo Gómez García
148cd249cd If removing takes too long, mark it as errored 2017-04-03 10:24:27 +02:00
Adolfo Gómez García
eb6ac84b5b Merge remote-tracking branch 'origin/v2.1' 2017-03-31 10:38:05 +02:00
Adolfo Gómez García
57e643333e Fixed TRanslations
Fixed SPICE name
2017-03-31 10:37:16 +02:00
Adolfo Gómez García
5794fab7da By default, on 2.1, linux machines will do a reboot after configure. 2017-03-31 10:23:39 +02:00
Adolfo Gómez García
3999507129 Merge remote-tracking branch 'origin/v2.1' 2017-03-31 08:08:31 +02:00
Adolfo Gómez García
9955e7bcff Fixed tunneled access for SPICE for opennebula (no secure port, no need
of channel config...)
2017-03-30 23:05:15 +02:00
Adolfo Gómez García
03db789be9 Merge remote-tracking branch 'origin/v2.1' 2017-03-29 13:33:59 +02:00
Adolfo Gómez García
86b252916c Set ready to y so initial wait is not done 2017-03-29 13:33:39 +02:00
Adolfo Gómez García
4ce97b4e7a removed duplicate except 2017-03-29 13:07:40 +02:00
Adolfo Gómez García
621722f5e3 Merge remote-tracking branch 'origin/v2.1' 2017-03-29 13:03:53 +02:00
Adolfo Gómez García
e81a8fdc5f Fixed ovirt.. 2017-03-29 13:02:17 +02:00
Adolfo Gómez García
897682eae4 Merge remote-tracking branch 'origin/v2.1' 2017-03-29 11:00:32 +02:00
Adolfo Gómez García
92cf8c36bd fixed ou with spaces 2017-03-29 10:53:34 +02:00
Adolfo Gómez García
5a3c14db2d Fixed SPICE with powered off machines (fixed check connection) 2017-03-29 10:23:07 +02:00
Adolfo Gómez García
de07a4f3cd Another small fix 2017-03-28 15:20:23 +02:00
Adolfo Gómez García
f531d338a0 Merge remote-tracking branch 'origin/v2.1' 2017-03-28 15:12:50 +02:00
Adolfo Gómez García
320a530bbc Several fixes so we can check availability of spice transport BEFORE
user tries to access it.
2017-03-28 15:12:14 +02:00
Adolfo Gómez García
615ed11197 Fixing up opennebula things 2017-03-28 14:27:36 +02:00
Adolfo Gómez García
5037fd2bd4 Merge remote-tracking branch 'origin/v2.1' 2017-03-27 10:36:48 +02:00
Adolfo Gómez García
e945ad9fe8 A couples of fixes for opennebula 2017-03-27 10:35:53 +02:00
Adolfo Gómez García
9cf5291064 Merge remote-tracking branch 'origin/v2.1' 2017-03-23 14:04:55 +01:00
Adolfo Gómez García
be3c242a7d Added delay on actor EINTR 2017-03-23 13:55:32 +01:00
Adolfo Gómez García
c1ac0d4734 merged ipc from actor 2.1 2017-03-23 10:01:27 +01:00
Adolfo Gómez García
f86712a05a ignore EINTR on connection error 2017-03-23 09:58:36 +01:00
Adolfo Gómez García
777ca4c016 Keep running on case of commmunitacion error with uds server... 2017-03-23 09:40:56 +01:00
Adolfo Gómez García
d838c8c9fe Merge remote-tracking branch 'origin/v2.1' 2017-03-22 15:07:03 +01:00
Adolfo Gómez García
f715f48a7b * Now if notifyReadyFromOsManager raises an error, puts the machine on
"error" state
* Fixed L2 cache on oVirt, that was not working correctly con 4.x
versions
2017-03-22 15:04:19 +01:00
Adolfo Gómez García
315dd77a5a Ovirt publication now take into account removed 2017-03-22 13:10:10 +01:00
Adolfo Gómez García
fd056eab9f Merge remote-tracking branch 'origin/v2.1' 2017-03-22 12:43:09 +01:00
Adolfo Gómez García
82f7f56590 Another small typo 2017-03-22 12:32:20 +01:00
Adolfo Gómez García
8e594c7c7f Fixed indent 2017-03-22 12:30:34 +01:00
Adolfo Gómez García
e99c77a97f fix for ovirt python sdk types 2017-03-22 12:03:11 +01:00
Adolfo Gómez García
cbc66f4017 Merge remote-tracking branch 'origin/v2.1' 2017-03-22 11:55:51 +01:00
Adolfo Gómez García
a80fc629a2 Backported ovirt cleanups from 2.5 to 2.1 2017-03-22 11:55:39 +01:00
Adolfo Gómez García
f5d1e39121 Fixes for ovirt cleanup 2017-03-22 11:53:59 +01:00
Adolfo Gómez García
8b644d4fec Removed "free old macs??" 2017-03-22 11:26:38 +01:00
Adolfo Gómez García
c981935270 Fixes for ovirt housekeeping 2017-03-22 11:10:28 +01:00
Adolfo Gómez García
8fb4f190e6 Added defred removal for cleaning up on ovirt as done on other
hypervisors
2017-03-22 10:47:56 +01:00
Adolfo Gómez García
4e2e023ac6 Merge remote-tracking branch 'origin/v2.1' 2017-03-22 10:13:48 +01:00
Adolfo Gómez García
17196ac31d Fixed 404 error on oVirt access 2017-03-22 10:01:20 +01:00
Adolfo Gómez García
9c0c3bcade Merge remote-tracking branch 'origin/v2.1' 2017-03-22 01:55:03 +01:00
Adolfo Gómez García
632bb3e6d4 Fixed openstack support for newer versions 2017-03-21 15:46:13 +01:00
Adolfo Gómez García
5287bfbe9c merged 2.1 fixes 2017-03-20 21:23:03 +01:00
Adolfo Gómez García
def1c59e4c Added CredSSP Support parameter to transport 2017-03-20 21:17:48 +01:00
Adolfo Gómez García
2acaa74270 Fixes & merges 2017-03-17 13:39:54 +01:00
Adolfo Gómez García
e90e56c426 Set enablecredsspsupport to 0 to allow windows10->windows10 connections
to work under some circustances...
2017-03-17 13:29:36 +01:00
Adolfo Gómez García
5f1676e56b Added usb support workaround for 4.0 & 4.1 of ovirt 2017-03-17 10:05:03 +01:00
Adolfo Gómez García
d816b141b1 Merge remote-tracking branch 'origin/v2.1' 2017-03-16 15:34:08 +01:00
Adolfo Gómez García
72230c5a60 Fixed linux actor with KDE
Removed temporally usb support for 4.x until a fix/workaround is found
2017-03-16 15:33:36 +01:00
Adolfo Gómez García
4793667435 * Fixed signatures && rdp transport direct now works fine again 2017-03-15 10:54:06 +01:00
Adolfo Gómez García
f86c5942f8 Merge remote-tracking branch 'origin/v2.1' 2017-03-15 10:03:37 +01:00
Adolfo Gómez García
fad5eca5b9 Fixed cord tunneled access for rdp 2017-03-15 09:57:13 +01:00
Adolfo Gómez García
a5b17d3015 Upgrading transports to new secured method 2017-03-15 09:46:51 +01:00
Adolfo Gómez García
1af160608e Merge remote-tracking branch 'origin/v2.1' 2017-03-14 13:46:20 +01:00
Adolfo Gómez García
8054f088b9 Added custom message text for calendar limitation 2017-03-14 13:45:38 +01:00
Adolfo Gómez García
f244bb7ece Merge remote-tracking branch 'origin/v2.1' 2017-03-10 13:24:17 +01:00
Adolfo Gómez García
544b8b7b25 Locales 2017-03-10 13:24:07 +01:00
Adolfo Gómez García
55964b7e3f Fixing up for signed-client code 2017-03-10 13:18:34 +01:00
Adolfo Gómez García
35a3e48b89 merged 2017-03-10 10:04:19 +01:00
Adolfo Gómez García
9944854b7b Working on new signed client scripts 2017-03-10 10:02:16 +01:00
Adolfo Gómez García
4d6f54f54c fixed tunnel wait 2017-03-10 10:00:34 +01:00
Adolfo Gómez García
2004f4f882 Added "preconnect" script for Linux 2017-03-09 17:34:28 +01:00
Adolfo Gómez García
6e6d7a8795 Fixed client & signature for RDP tunnel 2017-03-08 17:43:09 +01:00
Adolfo Gómez García
bf85332492 Merge remote-tracking branch 'origin/v2.1' 2017-03-08 17:38:21 +01:00
Adolfo Gómez García
08e33ee20e Fixed RDP tunnel 2017-03-08 17:01:44 +01:00
Adolfo Gómez García
0b928476d1 Adding signatures & signature checking for client scripts 2017-03-08 15:23:37 +01:00
Adolfo Gómez García
88fb4ce1b7 Merge remote-tracking branch 'origin/v2.1' 2017-03-07 10:41:17 +01:00
Adolfo Gómez García
330973ac30 * Fixed calendars "required" fields not being honored
* Fixed open nebula "volatile" disks
2017-03-07 10:26:47 +01:00
Adolfo Gómez García
1ad7385954 Merge remote-tracking branch 'origin/v2.1' 2017-03-06 14:17:28 +01:00
Adolfo Gómez García
f78c755f12 Several fixes for XenServer and L2 Cache... 2017-03-06 14:17:07 +01:00
Adolfo Gómez García
bbc2cdfa30 Fixed Opennebula & Xen connectors 2017-03-06 12:26:47 +01:00
Adolfo Gómez García
cdac261561 Merge remote-tracking branch 'origin/v2.1' 2017-03-06 09:31:03 +01:00
Adolfo Gómez García
8ebc0aeaaf Refactoring 2017-03-06 09:30:36 +01:00
Adolfo Gómez García
d566285098 Minor fixes 2017-03-06 08:40:22 +01:00
Adolfo Gómez García
4c7b48588f Fixed ovirt 4 client "unicode" problems :)
*
2017-03-03 11:03:09 +01:00
Adolfo Gómez García
55dd16d508 Refactoring fixing some code issues 2017-03-03 08:32:46 +01:00
Adolfo Gómez García
22313a517f Small opennebula fix for better control of certain situations... 2017-03-03 08:30:24 +01:00
Adolfo Gómez García
0c7a4911d2 Small message fix 2017-03-02 22:34:33 +01:00
Adolfo Gómez García
f11bccc868 Last fixes for OpenNebula (now correctly detect "done" VM State) 2017-02-28 11:38:17 +01:00
Adolfo Gómez García
c62e90f0a1 Small fix for better cancel on opennebula 2017-02-28 10:28:35 +01:00
Adolfo Gómez García
70dc779fc4 refactoring & fixes 2017-02-27 09:41:32 +01:00
Adolfo Gómez García
170319f871 Fix for very very weird situation (invalid argument in case no OS was
detected...)
2017-02-27 08:11:46 +01:00
Adolfo Gómez García
c6dd782150 * Fixed webLogout if we accesed UDS using ticketing system 2017-02-27 07:57:47 +01:00
Adolfo Gómez García
cc7740bafb Translation Fix 2017-02-27 07:45:38 +01:00
Adolfo Gómez García
1626fe96b1 Fixed getting password for access spice from OpenNebula 2017-02-22 13:32:28 +01:00
Adolfo Gómez García
efbca46af9 small typo 2017-02-22 12:51:32 +01:00
Adolfo Gómez García
548f44b1a7 last fixes 2017-02-22 12:30:02 +01:00
Adolfo Gómez García
2664be7ec4 fixes for linux actor 2017-02-22 11:49:42 +01:00
Adolfo Gómez García
bd3d0dd006 Minor fixes for actor for linux 2017-02-22 10:38:27 +01:00
Adolfo Gómez García
a83e218679 * Fixed use of Spice over OpenNebula
* Minor cosmetic fixes :)
2017-02-21 14:51:25 +01:00
Adolfo Gómez García
240be81f26 Big refactoring towards future 3.x version 2017-02-17 20:22:52 +01:00
Adolfo Gómez García
8ee34cd42b Coherence 2017-02-17 14:12:43 +01:00
Adolfo Gómez García
1ad57ee70c Simple fix 2017-02-17 14:11:58 +01:00
Adolfo Gómez García
c9ab76c19c Added infor message for multple join :) 2017-02-14 13:35:30 +01:00
Adolfo Gómez García
217655c276 Fixes for joining domains in multi steps using key from registro (HKEY_LOCAL_MACHINE\Sotware\UDSEntepriseActor, value "join" of type string must contain "old" (remenber that in 64 bits, this key can be under WOW3264Node) 2017-02-14 12:05:36 +01:00
Adolfo Gómez García
c80535fabb small fix for base rdp to backwards compatibility 2017-02-14 10:27:48 +01:00
Adolfo Gómez García
a499f13e56 fixed urls for dispatchers for django 1.10 2017-02-14 09:56:13 +01:00
Adolfo Gómez García
4e8b267da5 Merge remote-tracking branch 'origin/v2.1' 2017-02-14 09:54:49 +01:00
Adolfo Gómez García
57d1041f87 Fixed DBFile not found on "url" method 2017-02-14 09:53:41 +01:00
Adolfo Gómez García
bb41021eee Merge remote-tracking branch 'origin/v2.1' 2017-02-13 17:28:46 +01:00
Adolfo Gómez García
b56bf7b13f updated translations 2017-02-13 17:28:27 +01:00
Adolfo Gómez García
c7d9ed8d78 Fixes from 2.1 merge 2017-02-13 17:23:48 +01:00
Adolfo Gómez García
053eb55355 Merge remote-tracking branch 'origin/v2.1' 2017-02-13 17:09:16 +01:00
Adolfo Gómez García
3a137213a7 * Fixed mistake on osmanager dashboard template
* Added "custom string" to Linux Clients using xfreerdp client for
printer & smartcard
2017-02-13 16:58:35 +01:00
Adolfo Gómez García
9084c0e8b0 Merged from 2.1 2017-02-09 20:13:51 +01:00
Adolfo Gómez García
9c3d67a34c Fixes to OG 2017-02-09 20:04:38 +01:00
Adolfo Gómez García
90cb224c9a Translations fixes 2017-02-09 20:03:39 +01:00
Adolfo Gómez García
69ad1baa7d Translations fixes 2017-02-09 20:01:15 +01:00
Adolfo Gómez García
0d42fbdc84 Login & Info 2017-02-09 08:21:14 +01:00
Adolfo Gómez García
08f442b809 Started OpenGnsys UDS Provider 2017-02-09 08:12:56 +01:00
Adolfo Gómez García
6d2dee2664 Removed "print" 2017-02-09 07:52:30 +01:00
Adolfo Gómez García
ace11fd77a Added timeout to RDP Tranpsort & little fix for OpenNebula access using SPICE 2017-02-08 11:23:52 +01:00
Adolfo Gómez García
c3c11f3326 Fixed merge mistake 2017-02-07 07:55:00 +01:00
Adolfo Gómez García
f1a7c4661e Merge remote-tracking branch 'origin/v2.1' 2017-02-07 07:52:47 +01:00
Adolfo Gómez García
84d3a2d67f Added sample .service 2017-02-07 07:52:24 +01:00
Adolfo Gómez García
afa6f62daa Some additions yo HTML5 transport 2017-02-02 15:35:27 +01:00
Adolfo Gómez García
6c8f9affc2 Addedl length to name (128 max) 2017-02-02 14:10:52 +01:00
Adolfo Gómez García
fa0acb6a1a Locale updates (included arabian translation) 2017-02-02 00:26:21 +01:00
Adolfo Gómez García
4fa7d26191 Minor text upgrades 2017-02-02 00:15:23 +01:00
Adolfo Gómez García
186190ddff * Fixed Proxy model (1 more fix to go)
* Fixed names on coffee script files
* Added proxies admin interface
2017-01-31 09:26:18 +01:00
Adolfo Gómez García
9e2a1cc9f9 done accounting usage of services 2017-01-31 07:20:23 +01:00
Adolfo Gómez García
310d3ca618 Merge remote-tracking branch 'origin/v2.1' 2017-01-30 10:58:30 +01:00
Adolfo Gómez García
c8d26199cd Updating dashboard 2017-01-30 10:58:21 +01:00
Adolfo Gómez García
e22f489038 added temporary storage in memory for stlite 2017-01-30 10:57:35 +01:00
Adolfo Gómez García
11100e3fda Enhanced performance on sqlite 2017-01-30 10:41:32 +01:00
Adolfo Gómez García
a601220771 Updating dashboard to include accounts & proxy 2017-01-30 08:17:56 +01:00
Adolfo Gómez García
9b0e1eb7ce updated sample settings tu current version 2017-01-26 06:56:46 +01:00
Adolfo Gómez García
eeaef4604a Merge remote-tracking branch 'origin/v2.1' 2017-01-26 06:30:25 +01:00
Adolfo Gómez García
047eac18a7 added trace file for connections checking tracing 2017-01-26 06:26:45 +01:00
Adolfo Gómez García
cd45b9359c Merged from 2.1 2017-01-25 12:36:42 +01:00
Adolfo Gómez García
1b1ec6d736 Merge remote-tracking branch 'origin/v2.1' 2017-01-25 12:30:39 +01:00
Adolfo Gómez García
32b5354a15 fixed meta group information 2017-01-25 12:28:28 +01:00
Adolfo Gómez García
0d085ba708 Fixed RDP to add "font smoothing" capability
Fixed users_groups metagroups information
2017-01-25 10:49:27 +01:00
Adolfo Gómez García
d184f0eec3 Updated css for administration, now it easy access elements 2017-01-25 05:42:53 +01:00
Adolfo Gómez García
d9454fea63 Merge remote-tracking branch 'origin/v2.1' 2017-01-24 09:57:29 +01:00
Adolfo Gómez García
675d502f73 Added information for groups 2017-01-24 09:56:01 +01:00
Adolfo Gómez García
3f110fb6c6 Merged from 2.1 2017-01-23 11:54:35 +01:00
Adolfo Gómez García
4268004fcf Added information button (and information) to users, so certain information can be found more easily 2017-01-23 11:45:01 +01:00
Adolfo Gómez García
aabc5540d0 Fixes for several user text so the can be better understand 2017-01-20 11:01:39 +01:00
Adolfo Gómez García
09a49a1cb2 * Renamed udsProxy to udsproxy
* Woring first version proxy
* Added basic sample config file for udsproxy
* Added daemonize example for udsproxy
Fixed os manager treatment of ready
2017-01-20 10:29:33 +01:00
Adolfo Gómez García
68806c6366 Removed check of FQDN from domain 2017-01-20 09:40:28 +01:00
Adolfo Gómez García
d42482b6c3 Removing qt imports from plugin scripts 2017-01-20 06:54:27 +01:00
Adolfo Gómez García
83ed44b399 Merge remote-tracking branch 'origin/v2.1' 2017-01-20 05:35:16 +01:00
Adolfo Gómez García
343fed3245 Fixed & updated translations 2017-01-20 05:34:55 +01:00
Adolfo Gómez García
d1f4ce0884 * Added new images
* Fixes on Dashboard (advanced new sidevar disposition)
* Added Proxy element to DB (needs to finish this)
2017-01-20 04:58:05 +01:00
Adolfo Gómez García
d3417a1c79 Implemented "proxyRequest" method 2017-01-20 02:19:49 +01:00
Adolfo Gómez García
1a2619c170 * Advancing on proxy
* Preparing UDS to allow "proxied" requests to services (to simplify
access to remote "hidden" networks)
2017-01-19 18:50:00 +01:00
Adolfo Gómez García
ad5b8dcded Added support for using a proxy on requests methods to services 2017-01-19 18:38:28 +01:00
Adolfo Gómez García
16997b6298 Merging 2.1 fixes 2017-01-19 12:52:33 +01:00
Adolfo Gómez García
519e36e7bd Advancing on admin dashboard & accounting 2017-01-19 12:47:01 +01:00
Adolfo Gómez García
c740457860 Fixed doing "pkill" in correct session logout (only needs to do this on session timeout and persistent machines...) 2017-01-19 12:46:22 +01:00
Adolfo Gómez García
1d417c6075 Removed pkill right now 2017-01-19 11:02:33 +01:00
Adolfo Gómez García
dcc870d8e0 starting also proxy 2017-01-19 04:55:44 +01:00
Adolfo Gómez García
ab8cb7a7e0 Initial UDS Proxy for networks behind firewalls 2017-01-18 20:25:13 +01:00
Adolfo Gómez García
ec7d3d39bd Fixed a lot of things from javi 2017-01-17 11:17:55 +01:00
Adolfo Gómez García
5897cf33f2 Fixed 0024 migration to include also tags
Started accounts admin gui
2017-01-17 08:57:17 +01:00
Adolfo Gómez García
4401985f3c Adding constraints to cache and advancing so we can make use efficiently a predefined pool with uds & uds actor 2017-01-12 03:27:42 +01:00
Adolfo Gómez García
4e972e0aff * Added background color for selected items on admin choices
* Fixes to sample settings file for django 1.10
2017-01-11 02:27:29 +01:00
Adolfo Gómez García
4a16707be3 Merge remote-tracking branch 'origin/v2.1' 2017-01-10 17:20:07 +01:00
Adolfo Gómez García
2e98197376 Fixed to x2go transport 2017-01-10 17:19:29 +01:00
Adolfo Gómez García
bf131f896c Merged 2.1 changes 2017-01-10 02:24:04 +01:00
Adolfo Gómez García
df17a86820 Added a Physical "single machine" service to physicals machines
provider.
Fixed textbox admin template to honor "required"
2016-12-02 12:13:46 +01:00
Adolfo Gómez García
54c751e4c5 Removed "files" from actors' debian files (redundant? :) ) 2016-12-02 08:21:01 +01:00
Adolfo Gómez García
151d35459e Added execution of script on /etc/udsactor/post on Linux Actor after
getting "ready" on machine...
2016-11-28 09:47:31 +01:00
Adolfo Gómez García
1ae22ff249 Fixing opennebula password spice access 2016-11-24 10:06:25 +01:00
Adolfo Gómez García
983114af88 Updated translations 2016-11-24 09:55:04 +01:00
Adolfo Gómez García
8a828bd087 For testing experimental SPICE support on opennebula 2016-11-23 10:13:10 +01:00
Adolfo Gómez García
506364d578 Merged with 2.1 2016-11-22 11:14:38 +01:00
Adolfo Gómez García
76fc938604 Added limitation for users authenticated using tickets. (Tickets are
used from external apps to provide acces to one machine, but not to
provide access to all platform...)
2016-11-22 11:09:49 +01:00
Adolfo Gómez García
c08cb38dbc Fixing tunneled access for ovirt in case there is only "secure port" and
no "unsecure port"....
2016-11-21 16:49:37 +01:00
Adolfo Gómez García
f5dcb73e33 Fixed for mysql 5.7 2016-11-17 14:18:50 +01:00
Adolfo Gómez García
4108cf4df7 Added to enumeate by default images, templates & vms of user & his
group.
2016-11-10 11:38:05 +01:00
Adolfo Gómez García
f33c536adf Minor cosmetic changes 2016-11-07 03:03:12 +01:00
Adolfo Gómez García
a66b36e142 Finished with x2go? (more tests to go, but seems good right now...) 2016-11-07 02:59:38 +01:00
Adolfo Gómez García
c9bff899ba Added "experimental" to x2go transports 2016-11-07 02:36:46 +01:00
Adolfo Gómez García
82097b67f4 X2Go Working on linux & Windows 2016-11-07 02:35:23 +01:00
Adolfo Gómez García
3a58e0e446 * Fixed calendar rules with 0 interval
* Running X2Go direct connection from windows
* fixed Actor to notify correctly listening address on ip chang
2016-11-02 10:30:19 +01:00
Adolfo Gómez García
5ce61e1f98 Fixed "0" interval rules, that could hang UDS index page & consume all
memory
2016-10-31 12:55:56 +01:00
Adolfo Gómez García
5af198db75 More fixes (in fact, fixing fixes... :P) for actors 2016-10-27 08:25:30 +02:00
Adolfo Gómez García
1f6279cd46 Replaced REST listener address to listen on 0.0.0.0 so we do not need to
reassing listener on case of ip change of VM.
2016-10-27 08:05:01 +02:00
Adolfo Gómez García
a07f1d5b24 Advancing on x2go implementation 2016-10-24 16:59:29 +02:00
Adolfo Gómez García
26c0532fd5 first injection test seems to work 2016-10-23 22:09:32 +02:00
Adolfo Gómez García
9901bc2c8f *Updating linux client
* Updating x2go
2016-10-23 21:20:31 +02:00
Adolfo Gómez García
715957feb2 Some advances on x2go 2016-10-20 10:00:09 +02:00
Adolfo Gómez García
c7dc1e8b81 advancing on x2go support 2016-10-19 11:54:12 +02:00
Adolfo Gómez García
f1704787b8 Merge remote-tracking branch 'origin/v2.1' 2016-10-14 10:59:24 +02:00
Adolfo Gómez García
00798e5927 Merge remote-tracking branch 'origin/v2.0' into v2.1 2016-10-14 10:59:12 +02:00
Adolfo Gómez García
92c3fbd827 Update checkuuid timeout from 2 to 5 2016-10-14 10:58:41 +02:00
Adolfo Gómez García
eb3c61f0ea merge changes from 2.1 2016-10-14 09:33:53 +02:00
Adolfo Gómez García
a68837bf4b fixed new sub-menus for tranports 2016-10-14 09:30:04 +02:00
Adolfo Gómez García
387b7f51d4 * Added support for multi-level new menu items (for transport for
example, they are going too long...)
* Fixed all transports to include group
2016-10-14 08:17:52 +02:00
Adolfo Gómez García
0711bf5db3 merged from 2.1 2016-10-14 06:56:43 +02:00
Adolfo Gómez García
83a94d0ece updated operations from previous releases 2016-10-14 06:54:38 +02:00
Adolfo Gómez García
649a3515fc Added backport of x2go development branch for 2.1 version 2016-10-14 06:52:15 +02:00
Adolfo Gómez García
fe8f8be1d8 Merge remote-tracking branch 'origin/v2.0' into v2.1 2016-10-14 06:51:29 +02:00
Adolfo Gómez García
ea49e18f80 Now in case of connection error on checkuuid, the result will be that the check is correcot 2016-10-14 06:51:10 +02:00
Adolfo Gómez García
cd9f9ad523 updated changelod for uds debian based actors 2016-10-11 08:02:43 +02:00
Adolfo Gómez García
bba494cdc0 Merge remote-tracking branch 'origin/v2.0' into v2.1 2016-10-11 07:57:39 +02:00
Adolfo Gómez García
393819bc94 backported fix from 2.1 2016-10-11 07:53:31 +02:00
Adolfo Gómez García
49e3f72d89 Finishing up fixes... 2016-10-10 22:16:41 +02:00
Adolfo Gómez García
a266cdaeff Fixing on Linux getting mor than one XScreenSaverAllocInfo (too many
clients error with time...)
2016-10-10 22:03:19 +02:00
Adolfo Gómez García
43bf2de385 Small fix for actor timeout detection on centos 7 2016-10-10 21:43:50 +02:00
Adolfo Gómez García
447dc23914 Fixed 2.1 version 2016-10-10 08:35:56 +02:00
Adolfo Gómez García
5e0ba4990a Merge remote-tracking branch 'origin/v2.1' 2016-10-10 08:31:48 +02:00
Adolfo Gómez García
49aaaedbe9 Backporting transport limitation by connecting os 2016-10-10 08:31:32 +02:00
Adolfo Gómez García
e7b2811fa1 Added migration 2016-10-10 07:59:31 +02:00
Adolfo Gómez García
f9f1413a3e Updating to 2.1 intermediate version 2016-10-10 07:53:28 +02:00
Adolfo Gómez García
c11953cd03 Merge remote-tracking branch 'origin/v2.1' 2016-10-10 07:52:20 +02:00
Adolfo Gómez García
7892a196ac Adapting v2.1 2016-10-10 07:52:03 +02:00
Adolfo Gómez García
148a8a1ffc Merge remote-tracking branch 'origin/v2.1' 2016-10-10 07:42:41 +02:00
Adolfo Gómez García
7ab956fa4a minor fixes 2016-10-10 07:37:41 +02:00
Adolfo Gómez García
1658e9278a Merge remote-tracking branch 'origin/v2.0' 2016-10-10 07:22:45 +02:00
Adolfo Gómez García
17044d38bd Improvement on ready setting logged in counter to 0 2016-10-03 14:23:19 +02:00
Adolfo Gómez García
0dc461c30b Fixed setPropert 2016-10-03 13:42:24 +02:00
Adolfo Gómez García
7fc9adae8b Merged 2.0 fixes 2016-09-27 15:52:47 +02:00
Adolfo Gómez García
780f2b4a05 Fixed xen default shadow memory value 2016-09-27 15:51:16 +02:00
Adolfo Gómez García
14e42a6382 Fixing up accounting methods.
Now we have included an "temporal updating", so running services will
get their accounting updated every minute
2016-09-21 10:20:04 +02:00
Adolfo Gómez
d439f78f11 Merge pull request #2 from johnp/patch-1
Add necessary packages to requirements.txt
2016-09-20 08:18:33 +02:00
Adolfo Gómez García
ced5e06ff0 Added a counter posibility to login-logout 2016-09-19 16:14:54 +02:00
Johannes Pfrang
610e88cf09 Add necessary packages to requirements.txt
This does not include `pycairo`, as it does not provide an egg and therefore can't be installed via pip.
We should consider `cairocffi` instead, but `pycha` (last update 2013) would have to be patched then.
2016-09-19 11:51:05 +02:00
Adolfo Gómez García
293dd2d9a1 Forgot this :) 2016-09-16 08:30:37 +02:00
Adolfo Gómez García
57b5ae6dcf Fixes & corrections to initial usage accounting.
Fixes.
We already keep "stats" tables, but we think it is better to start using
a well-known location for accounting on usage.
2016-09-16 08:29:52 +02:00
Adolfo Gómez García
8c2b7bf4bb Started pools usage accounting mechanism 2016-09-16 07:55:24 +02:00
Adolfo Gómez García
3113524197 New fix for windomain.. :) 2016-09-12 18:50:40 +02:00
Adolfo Gómez García
2bf6a92de3 Removev "space removal" from OU for WinDomain OS Manager, and removed de
"add" of the dc...dc.
2016-09-12 18:47:35 +02:00
Adolfo Gómez García
8ac5cc068d Merge remote-tracking branch 'origin/v2.0' 2016-09-11 23:04:02 +02:00
Adolfo Gómez García
5e848cbc8c Fixed defvalue from 4 to 3 for ovirt, so migrations works fine from 1.9 to 2.x 2016-09-11 23:02:57 +02:00
Adolfo Gómez García
729b0310bd Merge remote-tracking branch 'origin/v2.0' 2016-09-11 22:21:30 +02:00
Adolfo Gómez García
f924604217 Backport for ovirt 4.0 2016-09-11 22:21:12 +02:00
Adolfo Gómez García
efc59c0124 fixed unresolved imports 2016-09-11 22:15:04 +02:00
Adolfo Gómez García
d229dab41e Finished basic support for ovirt4.
Now we need to have installed ovirt-engine-sdk-python 3.x and 4.x in
order to work properly
2016-09-11 22:13:11 +02:00
Adolfo Gómez García
fb9fa08090 * Adding support for ovirt 4.x keeping support for ovirt 3.x
Big changes on Python ovirt SDK API...
2016-09-11 20:53:45 +02:00
Adolfo Gómez García
2eaa447155 Includede persistent machines check idle also. 2016-09-07 16:49:40 +02:00
Adolfo Gómez García
682ce5d69f Adding phisical server for user (1 to N users) 2016-09-07 16:46:58 +02:00
Adolfo Gómez García
397bd29ce6 Started experimental x2go support (for linux clients only right now) 2016-09-07 15:33:10 +02:00
Adolfo Gómez García
cba154944d Now password fields are repeated, so we can ensure the vale before
submiting (on admin dashboard)
2016-09-06 23:29:13 +02:00
Adolfo Gómez García
efacaeec7f Viz command no more works correctly (and in fact, was never used), se we
have removed it
2016-08-26 03:08:01 +02:00
Adolfo Gómez García
05c00eb13a Fixed taskManager command for 2.0 also :) 2016-08-26 03:05:54 +02:00
Adolfo Gómez García
9347b3c29b Aded build version to be current datetime. On production environments,
better replace this with datetime/git commit
2016-08-26 03:01:13 +02:00
Adolfo Gómez García
8ba4a9827b Addapted middleware from pre-1.10 to post-1.10 2016-08-26 02:53:38 +02:00
Adolfo Gómez García
14bbf56145 Fixes to work with Django 1.0.
From this commit on master onwards, UDS needs Django 1.10 or greater.
Probably will need some more fixes, but basic ones are done
2016-08-26 02:37:30 +02:00
Adolfo Gómez García
71076a1b63 Merge remote-tracking branch 'origin/v2.0' 2016-08-25 13:21:36 +02:00
Adolfo Gómez García
3528424892 Fixed meta gruoups edition 2016-08-25 13:21:16 +02:00
Adolfo Gómez García
36dc8ecfd5 Added support for filtering transport on device basis 2016-08-24 11:27:34 +02:00
Adolfo Gómez García
34c6dd9cb5 Now we can notify source platform on REST API login. If not specified,
will try to guest from User Agent String.

This is important because we will add filters by platform to transports,
and we will need to know it.
2016-08-24 09:21:34 +02:00
Adolfo Gómez García
c34d70231c Now we can notify source platform on REST API login. If not specified,
will try to guest from User Agent String.

This is important because we will add filters by platform to transports,
and we will need to know it.
2016-08-24 09:21:34 +02:00
Adolfo Gómez García
5eb9af39f6 Merge remote-tracking branch 'origin/v2.0' 2016-08-17 20:49:23 +02:00
Adolfo Gómez García
2eef7222d5 Backported guacamole for 2.0 availability 2016-08-17 20:39:37 +02:00
Adolfo Gómez García
0d28a5b5f7 Backported guacamole for 2.0 availability 2016-08-17 20:38:56 +02:00
Adolfo Gómez García
1dc58be4fa Merge remote-tracking branch 'origin/v2.0' 2016-07-28 13:36:01 +02:00
Adolfo Gómez García
e0e7e26234 Fixed Translations 2016-07-28 13:33:28 +02:00
Adolfo Gómez García
2674563535 Fixed template config removal on publication failure 2016-07-27 18:22:37 +02:00
Adolfo Gómez García
a864fbac96 Publication now will correctly fail if the template cannot be cloned 2016-07-27 17:33:45 +02:00
Adolfo Gómez García
51c32a4350 Fixed for OpenNebula 5 (seems to work fine with 4 & 5 right now) 2016-07-26 16:29:40 +02:00
Adolfo Gómez García
1e7b729164 Updated 2.x translations 2016-07-26 15:06:29 +02:00
Adolfo Gómez García
ec95f27ee6 Updated translations && added server-keyboard-layout to guacamole 2016-07-26 13:44:36 +02:00
Adolfo Gómez García
15ce5aa938 Added failsafe to html5 keyboard 2016-07-26 12:58:56 +02:00
Adolfo Gómez
4a021a4ed4 Merge pull request #1 from glyptodon/cleanup
Clean up and upgrade Guacamole transport backend.
2016-07-26 03:25:09 +02:00
Michael Jumper
7b86ec97eb Include port number in service base URI of OpenUDS. 2016-07-25 03:48:54 -07:00
Michael Jumper
8bb9bf11d5 Read configuration from servlet context. 2016-07-25 03:48:22 -07:00
Adolfo Gómez García
d34e80e360 Merged fixes from 2.0 2016-07-22 18:00:50 +02:00
Adolfo Gómez García
39b353fb24 More Fixes 2016-07-22 17:57:45 +02:00
Adolfo Gómez García
7a0c8aa977 More Fixes for OpenNebula 4.x (for new API implementation) 2016-07-22 17:40:03 +02:00
Adolfo Gómez García
664418d4dc More fixes for OpenNebula 2016-07-22 16:54:09 +02:00
Adolfo Gómez García
381cf47abf * Fixed RDP to allow some optional parameters on linux clients
* dixed OpenNebula support
2016-07-21 13:51:31 +02:00
Adolfo Gómez García
a8853930a2 Minor fixes for actor 2016-07-19 14:18:29 +02:00
Adolfo Gómez García
ac02161eb9 Adding ticket messaging support on actor & server 2016-07-19 13:56:11 +02:00
Adolfo Gómez García
957403a23f Merge remote-tracking branch 'origin/v2.0' 2016-07-18 20:13:30 +02:00
Adolfo Gómez García
c5582c3092 Fixing open nebula 2016-07-18 20:13:14 +02:00
Adolfo Gómez García
1578c92a88 Adding support for OpenNebula 5.0 2016-07-18 20:12:38 +02:00
Adolfo Gómez García
6827380e99 Added - to title for xfreerdp 2016-07-15 15:33:44 +02:00
Adolfo Gómez
1c9bc68a66 Fixed header date 2016-07-14 10:50:37 +02:00
Adolfo Gómez García
62f637790c Fixed changelog of publications not being displayed on dashboard 2016-07-12 11:33:50 +02:00
Adolfo Gómez García
73192bb515 Merge remote-tracking branch 'origin/v2.0' 2016-07-12 01:44:42 +02:00
Adolfo Gómez García
bf5311b5af Added sessions cleanup to scheduled task list 2016-07-12 01:29:00 +02:00
Adolfo Gómez
d57ef0cc5e Update README.md 2016-07-11 22:20:07 +02:00
Adolfo Gómez García
105df6e0fb Merge remote-tracking branch 'origin/v2.0' 2016-07-11 22:17:47 +02:00
Adolfo Gómez García
d0e0418ede Fixed check due 2.0 just works only with opennebula 4.x due to api
changes on 5.x. 2.1 will cover both vversions
2016-07-11 22:16:46 +02:00
Adolfo Gómez García
cd859ca0cb Merge remote-tracking branch 'origin/v2.0' 2016-07-11 22:06:23 +02:00
Adolfo Gómez García
243cbbfd4b Fixed log removal for cache & assigned services admin tables 2016-07-11 22:04:58 +02:00
Adolfo Gómez García
5cb5b5f343 Adapted OpenNebula to work with version 4 & version 5 (more tests are
needed right now)
2016-07-11 21:46:42 +02:00
Adolfo Gómez García
e7984d5a8e Fixed javascript error 2016-07-11 14:14:10 +02:00
Adolfo Gómez García
eacce7adda fixed images on chrome 2016-07-11 13:44:27 +02:00
Adolfo Gómez García
622e8629ff Fixed image removal on service pool group 2016-07-11 12:43:22 +02:00
Adolfo Gómez García
f0049cb826 Removing oca python module and using xmlrpc to access opennebula (we have found problems with oca python accesing OpenNebula 5.0) 2016-07-11 03:44:38 +02:00
Adolfo Gómez García
643d8b40e1 Moved to 0023 migration for adding secure tickets 2016-07-10 21:00:49 +02:00
Adolfo Gómez García
e2db15ead7 Merged with 2.0 fixes 2016-07-10 20:59:31 +02:00
Adolfo Gómez García
50e368ee7a * Added owner to dbfile, so we can remove later them selectively
* Fixed samples
2016-07-10 20:56:32 +02:00
Adolfo Gómez García
6766fe41fe Signed-off-by: Adolfo Gómez García <dkmaster@dkmon.com> 2016-07-09 02:59:55 +02:00
Michael Jumper
24dbd884ad Restore use of WebSocket. 2016-07-08 15:45:36 -07:00
Michael Jumper
97fd0b8272 Migrate to Guice and upstream HTTP / WebSocket tunnel implementations. Clarify licensing. 2016-07-08 15:45:36 -07:00
Michael Jumper
6096313cae Add NOTICE file from upstream Apache Guacamole project. 2016-07-07 17:05:19 -07:00
Michael Jumper
6401ca3f05 Correct wording of readme.txt with respect to licensing and upstream project. 2016-07-07 17:03:52 -07:00
Michael Jumper
9f37956e99 Remove IDE-specific cruft. Ignore going forward. 2016-07-07 16:59:56 -07:00
Michael Jumper
0b48306f3e Remove definition for non-existent and unused servlet. 2016-07-07 14:41:06 -07:00
Adolfo Gómez
ba35968e8d Forgotten comma 2016-07-07 14:22:35 +02:00
Adolfo Gómez García
4adfac1c02 added comments field to index view 2016-07-07 13:10:18 +02:00
Adolfo Gómez García
437865b278 * Fixed a bug on Services Pool Groups Images
* Fixed a couple bugs on OpenNebula"
2016-07-05 15:40:26 +02:00
Adolfo Gómez García
83cdd9446b Fixing up password & rdp transport to allow working with tickets 2016-06-28 10:33:10 +02:00
Adolfo Gómez García
793b6c9004 Fixed RDP to allow freerdp from linux to select audio controller 2016-06-24 11:10:53 +02:00
Adolfo Gómez García
3f7fb77086 Started to implement a mechanism to allow a secure sso.
We have started a way for pass the credentials from UDS directly to
VM, without passing it to UDS.
  Currently we are working on a credential provider for windows, that
will interact with UDS. We will release this provider as soon as it is
functional ;-)
2016-06-17 12:15:07 +02:00
Adolfo Gómez García
2683fddfc1 * Added secure tickets, to be used only with secure known sources
(actors, tunnelers, ...)
2016-06-15 01:05:10 +02:00
Adolfo Gómez García
96bd117622 Comment fix 2016-06-15 00:58:33 +02:00
Adolfo Gómez García
8b2df76582 Small fix so HTML5 Transport remove leading/trailing whitespaces 2016-06-13 11:39:07 +02:00
Adolfo Gómez García
9c49158de2 * Updated translations
* Fixed some literals
2016-06-07 18:30:50 +02:00
Adolfo Gómez García
4196883bfb Fixed Timings on uds Actor
Fixed oVirt to allow USB Configuration on service (for spice). Defaults to not allow.
2016-06-04 20:02:34 +02:00
Adolfo Gómez García
8585d10623 Again, fixing deadline... 2016-06-02 09:57:43 +02:00
Adolfo Gómez García
c715b92ed0 fixed getDeadline 2016-06-01 11:12:12 +02:00
Adolfo Gómez García
a3726399f1 Fixed Calendars access restrictions 2016-05-31 12:04:53 +02:00
Adolfo Gómez García
8ce3efc7ee Fixed to allow 2.0 to work with 1.9 windows actor 2016-05-30 09:33:53 +02:00
Adolfo Gómez García
0bd3e1ac72 * Added alert icon for calender restricted services
* Fixed spice to add fullscreen support on transport definition & a bug
to allow using it.
* Fixed OS Detector to include "unknown" as an os on "all OSs"
2016-05-27 13:39:51 +02:00
Adolfo Gómez García
c2d4e995e7 Fixes & tests on UDS Actor for honoring max session duration (got from
calendars)
2016-05-24 07:40:53 +02:00
Adolfo Gómez García
1b71fef8b4 Fixed about to include build version && also upgraded it a bit 2016-05-20 13:34:53 +02:00
Adolfo Gómez García
074a4d525d Fixed up about dialog 2016-05-20 10:28:00 +02:00
Adolfo Gómez García
36e19574e0 Added version stamp 2016-05-20 09:50:53 +02:00
Adolfo Gómez García
ef9165b3a2 space :( 2016-05-20 09:39:19 +02:00
Adolfo Gómez García
14cddbb210 Forgot removing comments & try-catch block :) 2016-05-20 09:38:46 +02:00
Adolfo Gómez García
2d14884454 * Fixed time picker not working on chrome
* Added warn on service being replaced by new publication
2016-05-20 09:37:12 +02:00
Adolfo Gómez García
ba4eeffc77 * Fixed client to better show errors
* Adding new publication warn for currently logged in users
2016-05-19 13:50:52 +02:00
Adolfo Gómez García
59179b818e Added mechanics to recover in case of scheduler task that got stuck 2016-05-18 12:22:11 +02:00
Adolfo Gómez García
dbcdc84b3b * Now cleanUDS cleans up possible locks also.
This command is designed to be executed with UDS backend stopped, so be
care!! :)
* Added deadLine calculation to ServicePool based on access calendars
2016-05-18 10:31:43 +02:00
Adolfo Gómez García
c73dae361f Fixed headers replication on UDS Reports 2016-05-17 09:35:53 +02:00
Adolfo Gómez García
ec29371b41 Merge branch 'master' of github.com:dkmstr/openuds 2016-05-06 13:30:18 +02:00
Adolfo Gómez García
9365f5937b Advancend & sync 2016-05-06 13:30:06 +02:00
Adolfo Gómez García
971015d33a Advancend & sync 2016-05-06 13:29:29 +02:00
Adolfo Gómez García
7a742c043b Merge remote-tracking branch 'origin/v1.9' 2016-05-03 08:15:20 +02:00
Adolfo Gómez García
c08a0cb0ed Fixed a bug not allowing linux machines to register when using an case sensitive database0 2016-05-03 08:15:12 +02:00
Adolfo Gómez García
b5926dec6f Fixed a bug on free edition not allowing to register correctly linux machines 2016-05-03 08:14:14 +02:00
Adolfo Gómez García
2fdcdb014f Merge remote-tracking branch 'origin/v1.9' 2016-04-29 11:16:13 +02:00
Adolfo Gómez García
bd70a6290e fixed to work correctly on free 2016-04-29 11:15:07 +02:00
Adolfo Gómez García
3afa96f1c5 Fixed spice scripts 2016-04-28 12:50:30 +02:00
Adolfo Gómez García
5da12a8091 Fixed & Tested that now we can open multiple redirections over same
tunnel.
2016-04-28 12:49:23 +02:00
Adolfo Gómez García
08eeff5604 Fixed duplicate declaration 2016-04-28 10:55:34 +02:00
Adolfo Gómez García
169a946a03 Fixed small bug on return clone 2016-04-28 09:34:43 +02:00
Adolfo Gómez García
94842ce0ef A better implementation for shared connections 2016-04-28 09:34:03 +02:00
Adolfo Gómez García
0fb7d5ed1b * Fixed service pool group setup bug
* Fix to allow some kind of connections to (as spice), to open two
different tunnels (We have to test the fix)
2016-04-28 08:34:47 +02:00
Adolfo Gómez García
2021fd69ec *Merged fixes for UDS Client 2016-04-27 09:59:09 +02:00
Adolfo Gómez García
813764a100 Fixed UDS Client to allow host names with unicode characters 2016-04-27 09:43:08 +02:00
Adolfo Gómez García
cbd9330907 * Fixed Login with only one authenticator (not working before)
* Added cache flush on start for FileStorage to avoid problems
2016-04-27 06:59:34 +02:00
Adolfo Gómez García
a250cf4aef Fixed calendar access cache 2016-04-26 16:04:29 +02:00
Adolfo Gómez García
50bc3cd3ef Fixing up things 2016-04-26 15:13:54 +02:00
Adolfo Gómez García
4fb863cfa7 * Fixed several literals
* Added config type field for "choices"
* removed old version snippets
2016-04-25 12:39:58 +02:00
Adolfo Gómez García
3a1bd1eed3 Fixed query to obtain restraineds 2016-04-25 11:16:47 +02:00
Adolfo Gómez García
bce3e429cf Fixed ammend 2016-04-22 15:16:05 +02:00
Adolfo Gómez García
b5baea184f Merged 1.9 update for behind-proxy support 2016-04-22 15:12:28 +02:00
Adolfo Gómez García
42cbad4117 Merged 1.9 update for behind-proxy support 2016-04-22 15:04:36 +02:00
Adolfo Gómez García
09f329db62 Allow UDS behind a proxy 2016-04-22 15:03:06 +02:00
Adolfo Gómez García
6b5f9d266d Allow UDS behind a proxy 2016-04-22 14:59:34 +02:00
Adolfo Gómez García
242d9b5e6e Advancing with semantic 2016-04-22 07:05:04 +02:00
Adolfo Gómez García
99b17e573c adding semantic 2016-04-22 05:20:30 +02:00
Adolfo Gómez García
701edb91f1 adding semantic 2016-04-22 05:19:52 +02:00
Adolfo Gómez García
f0627db09f Removed legacy html templates.
Added select rendering to template so we can use whatever styles we like
2016-04-22 03:06:00 +02:00
Adolfo Gómez García
56a579e11b Fixed spanish translations 2016-04-21 10:40:36 +02:00
Adolfo Gómez García
4427448eca Updated translations & added proxy support for reverse auth, etc... 2016-04-20 15:25:41 +02:00
Adolfo Gómez García
203e2fcdd0 Added fast navigation to administration interface 2016-04-20 11:37:04 +02:00
Adolfo Gómez García
f7fa92e6c1 Added info to services 2016-04-19 11:17:34 +02:00
Adolfo Gómez García
425257a464 adding information to services, so we can figure whats going on from services list 2016-04-19 10:04:44 +02:00
Adolfo Gómez García
0acc07ebb3 Fixed log table 2016-04-19 05:11:34 +02:00
Adolfo Gómez García
030078a619 Added tabs to a bunch of forms on administration (forms are getting too
big right now)
2016-04-18 11:50:54 +02:00
Adolfo Gómez García
0e6ca4c188 Fixing translations 2016-04-18 07:09:03 +02:00
Adolfo Gómez García
c7d5a1c928 Updated translations 2016-04-18 07:01:51 +02:00
Adolfo Gómez García
e636a4afcd fixhed weblogout 2016-04-15 16:57:16 +02:00
Adolfo Gómez García
8b76324ffc Squashed migration from 1 to 16 (until v1.9). Will keep old migrations until 2.1 release 2016-04-14 14:17:20 +02:00
Adolfo Gómez García
8fe1e55770 Removed RGS migration from 2.0. You will need to at least upgrade to 1.7 before going to 2.0 2016-04-14 13:50:00 +02:00
Adolfo Gómez García
caae694628 Merge branch 'master' of github.com:dkmstr/openuds 2016-04-13 21:32:51 -07:00
Adolfo Gómez García
268e9d551a syntax fixes 2016-04-13 21:32:42 -07:00
Adolfo Gómez García
07137c2416 Several improvements to UDS Client connector 2016-04-14 06:01:41 +02:00
Adolfo Gómez García
273b2a59c4 fixed an error with edit list 2016-04-14 05:14:58 +02:00
Adolfo Gómez García
63364f4e72 added wait to forwarthread for rdp tunnel 2016-04-13 08:05:46 +02:00
Adolfo Gómez García
abc9622d53 Fixed 2.0 client bugs 2016-04-13 07:24:41 +02:00
Adolfo Gómez García
9cd7e2f67b Added a few adds to client & Updated required version for 2.0.0 server to 2.0.0 client 2016-04-12 11:22:29 +02:00
Adolfo Gómez García
9277d3b5fb ignoring binaries 2016-04-11 06:38:58 +02:00
Adolfo Gómez García
6f46e16be8 upgrade to use guacamole 0.9.9 2016-04-11 06:38:32 +02:00
Adolfo Gómez García
0b390e406a New generation of pam files for tunneler based on cmake 2016-04-08 09:44:19 +02:00
Adolfo Gómez García
f301e4654a Updating pam tunneler module 2016-04-08 07:45:52 +02:00
Adolfo Gómez García
62481899a1 fixed tunnel field order on admin interface 2016-04-07 10:28:23 +02:00
Adolfo Gómez García
869dfc8c06 * More translations update
* Added custom limits to providers that allow it
2016-04-07 07:16:15 +02:00
Adolfo Gómez García
939d456b9d Added memcached setting to sample file && minor fixes 2016-04-06 06:13:22 +02:00
Adolfo Gómez García
9c70fb3caf Added caching to FileStorage 2016-04-06 06:02:51 +02:00
Adolfo Gómez García
baf4a677dd Added shared files storage 2016-04-05 04:59:56 +02:00
Adolfo Gómez García
4c4820f166 Chaged a bit the default ssl behaviour 2016-04-04 19:30:23 +02:00
Adolfo Gómez García
2749bfc40c fixed an js translation 2016-04-04 18:33:54 +02:00
Adolfo Gómez García
704e0607eb * Fixed scheduler action to make these execute under a transaction
* Removed xmlrpc url
2016-04-04 18:27:38 +02:00
Adolfo Gómez García
401fbac63e Removed last remaining xmlrcp part 2016-04-04 11:00:51 +02:00
Adolfo Gómez García
7f1252a70a Updating translation & fixing translations errors 2016-04-04 09:42:51 +02:00
Adolfo Gómez García
2df103a348 fixed taglist template for production (javascript must be "nice" and cannot have comments on this templates) 2016-04-04 08:27:59 +02:00
Adolfo Gómez García
489bb44c92 Fixing up for 2.0 release 2016-04-04 07:24:30 +02:00
Adolfo Gómez García
c606b6f00e Fixing up for 2.0 release 2016-04-04 07:12:38 +02:00
Adolfo Gómez García
0b4b38abe7 Fixed model of Calandars && finished Scheduled calendar actions 2016-04-01 07:18:42 +02:00
Adolfo Gómez García
40b71fa983 Fixed to use new datatables 2016-03-31 10:47:59 +02:00
Adolfo Gómez García
6116db5147 basic scheduled actions working (needs backedn worker to be done) 2016-03-30 11:23:23 +02:00
Adolfo Gómez García
e979c6e1e2 Now we can create (but not edit) scheduled actions 2016-03-29 15:45:34 +02:00
Adolfo Gómez García
8f9d042cdd Now we can create (but not edit) scheduled actions 2016-03-29 15:42:41 +02:00
Adolfo Gómez García
fcf030e693 Advanfing on action editing for services pools 2016-03-29 05:30:05 +02:00
Adolfo Gómez García
31e6e01cad fixed deletion of service on validation error 2016-03-28 06:22:03 +02:00
Adolfo Gómez García
1aad0c85a4 Merge remote-tracking branch 'origin/v1.9' 2016-03-28 06:02:23 +02:00
Adolfo Gómez García
e6e16334b3 fixed deleting service on edition & not being valid 2016-03-28 06:02:04 +02:00
Adolfo Gómez García
6544a61f72 fixed deleting element on edition instead of new 2016-03-28 06:00:43 +02:00
Adolfo Gómez García
8a285fddfa Merge remote-tracking branch 'origin/v1.9' 2016-03-19 02:30:34 +01:00
Adolfo Gómez García
c069f51e8d Fixed UDS Version download for clients 2016-03-19 02:29:06 +01:00
Adolfo Gómez García
c9a690fe8c Removed nonsense public folder from templates 2016-03-18 02:01:17 +01:00
Adolfo Gómez García
847821c66c fixed core version 2016-03-18 01:49:29 +01:00
Adolfo Gómez García
b5387d4922 * Fixed Actions Calendars migrations
* Started support for actions calendars edition on dashboard
2016-03-16 11:30:56 +01:00
Adolfo Gómez García
b0a6807ea4 Merge remote-tracking branch 'origin/v1.9'
# Conflicts:
#	VERSION
#	actors/linux/build-packages.sh
#	actors/linux/debian/changelog
#	actors/linux/debian/files
#	client/linux/debian/changelog
#	client/linux/debian/files
2016-03-14 12:16:52 +01:00
Adolfo Gómez García
2e96074961 Upgrades for 2.0
* Added support for /uuid REST method
* Now the http server is relocated on IP Change detection
2016-03-14 12:12:56 +01:00
Adolfo Gómez García
f275a91a43 Adding retry capability to interactWithBroker 2016-03-14 09:52:41 +01:00
Adolfo Gómez García
135392d245 Added get next event from a given date to calendar 2016-03-10 11:46:22 +01:00
Adolfo Gómez García
ff622bb9cd * Added optimization for serialization/deserialization (now it get cached with db object)
* Fixed model so now we invoke initGui before getting values on fillInstanceFields
* Upgraded Max creating & Max removing limits so now they can be tied to an specific provider instead of a global variable
* Tested & Fixed OpenStack. Now it seems to work as it should do.
* Several minor fixes/improvements
2016-03-09 11:42:44 +01:00
Adolfo Gómez García
608c1317d7 Updated OpenStack client & added caching features
Added counters to Cache (maybe somtime will store them on db to keep track on performance
2016-03-08 12:36:42 +01:00
Adolfo Gómez García
9f4ef20dc1 OpenStack working (initially) 2016-03-07 18:28:32 +01:00
Adolfo Gómez García
73bd3cc28e several fixes & adaptions for 1.9.1 2016-03-06 17:24:42 +01:00
Adolfo Gómez García
ea9eb04461 minor version upgrade to contain all patches 2016-03-04 15:06:10 +01:00
Adolfo Gómez García
c45833c252 Advancing on openstack a bit more 2016-03-04 14:51:44 +01:00
Adolfo Gómez García
e260fc9790 Advancing toward Openstack provider at a nice pace.
We have decided finally to use directly the REST api instead of any
available API, because we need a fustfill of things only, and we have
this way a better control. (And it's not difficult to implement)
2016-03-04 13:33:36 +01:00
Adolfo Gómez García
cc6ba2ff41 Updated to start with identity api v3 instead of v2, and advanced a lot 2016-03-03 21:33:17 +01:00
Adolfo Gómez García
bec74ddc99 UDS Client for openstack 2016-03-03 19:35:19 +01:00
Adolfo Gómez García
7af7d11c8a * New Clients Versions
* Refactoring
* Minor fixes
2016-02-26 14:16:13 +01:00
Adolfo Gómez García
8934d978fe Almost finished calendars access 2016-02-23 11:23:49 +01:00
Adolfo Gómez García
8376e81532 Adding Access calendars admin 2016-02-23 09:44:40 +01:00
Adolfo Gómez García
6587d9ba2c Fixed downloads to point to 2.0 clients 2016-02-19 09:58:15 +01:00
Adolfo Gómez García
2654036fd2 fixed uds client to work correctly with firefox on kunbuntu 2016-02-19 09:46:22 +01:00
Adolfo Gómez García
f9226e7deb Fixed login fail messages for django 1.9 2016-02-19 08:37:22 +01:00
Adolfo Gómez García
56ac8aece9 Upgrade to Django 1.9 and advances on advances on states fixes (cosmetic fixes to better identify what we refer to) 2016-02-19 08:16:55 +01:00
Adolfo Gómez García
12737df530 Advancing on calendar access & scheduling 2016-02-18 11:03:38 +01:00
Adolfo Gómez García
7b9c835562 Advancing on calendar access & scheduling 2016-02-18 11:03:25 +01:00
Adolfo Gómez García
cbb809db77 * Improved cache for calendars checkings
* Added calentar access & actions models
* Started calendar-pool integration
2016-02-17 10:55:51 +01:00
Adolfo Gómez García
4f9085f0a2 Almost finished grouping services 2016-02-16 07:00:14 +01:00
Adolfo Gómez García
389cf62150 Experimenting & adavancing on services grouping 2016-02-15 11:04:21 +01:00
Adolfo Gómez García
44c367bf8f Addind public template for working on int 2016-02-15 02:34:46 +01:00
Adolfo Gómez García
efb0083161 removing dist from list 2016-02-15 01:38:02 +01:00
Adolfo Gómez García
16c1aba3e7 Added tags to search filter on admin, and also added "tabindex" to input fields 2016-02-12 10:58:57 +01:00
Adolfo Gómez García
07ed8b9762 Fixed Images & pools groups (added priority and enhaced visual on admin 2016-02-12 09:53:33 +01:00
Adolfo Gómez García
fbd0a59a70 Removed whitspaces from tags on addition 2016-02-12 04:52:23 +01:00
Adolfo Gómez García
a08fe53383 * Added "Service Pool Group" full logic, so new we can add services pools to groups, so we can visualzize them grouped. (already needs the visualizarion part)
* Finished basic taglist edition (fixed a bug & added the possibility of insert serveral comma separated values at once')
2016-02-12 04:47:44 +01:00
Adolfo Gómez García
e1b8c43cca Added "tag editing" admin control 2016-02-11 05:44:38 +01:00
Adolfo Gómez García
60f20e64f3 testing link on uds.css 2016-02-10 07:38:51 +01:00
Adolfo Gómez García
6bb1109fe1 Adding tags & tag edition to mayor elemets of uds administration (for filtering, etc..) 2016-02-10 03:53:51 +01:00
Adolfo Gómez García
134f2059dd Added tagging capability to most entities 2016-02-10 01:51:05 +01:00
Adolfo Gómez García
ec93e5c9cc Merge remote-tracking branch 'origin/v1.9' 2016-02-09 12:53:10 +01:00
Adolfo Gómez García
1487c21e1e Fixed .desktop to make it work from chrome 2016-02-09 12:51:30 +01:00
Adolfo Gómez García
fd6b0c9458 Another big step forward for OpenNebula provider 2016-02-09 09:45:36 +01:00
Adolfo Gómez García
c41648748a Fixed CoRD on mac with a domain 2016-02-08 09:33:56 +01:00
Adolfo Gómez García
de4aef3a5c * Important advances on OpenNebula service provider
* several semantic changes
* Minor improvements & fixes
2016-02-08 09:33:17 +01:00
Adolfo Gómez García
d024d74529 Merged 1.9 fixes 2016-02-01 17:55:42 +01:00
Adolfo Gómez García
6eb5a7ccc8 Fixed security check 2016-02-01 17:47:34 +01:00
Adolfo Gómez García
335fd338bd several fixes 2016-01-25 11:38:39 +01:00
Adolfo Gómez García
d7ac59f257 Merge remote-tracking branch 'origin/v1.9' 2016-01-20 10:05:29 +01:00
Adolfo Gómez García
1ff09a1a04 Added Header elements to UDSGeraldoReport to be added to "base" report 2016-01-20 10:04:09 +01:00
Adolfo Gómez García
ca54c2c099 Merge remote-tracking branch 'origin/v1.9' 2016-01-20 09:34:30 +01:00
Adolfo Gómez García
76d209aa25 New report by pool 2016-01-20 09:34:00 +01:00
Adolfo Gómez García
491a33421d csv test 2016-01-19 17:22:22 +01:00
Adolfo Gómez García
f1cbcf86e1 Adding report to see user access time/duration 2016-01-19 15:24:19 +01:00
Adolfo Gómez García
e2e0f96d3e Refactoring states for easier reading 2016-01-08 09:37:00 +01:00
Adolfo Gómez García
4be5d8d6e5 Added host verification to uds client (so urls are approved at least
first time by users)
2016-01-08 09:34:20 +01:00
Adolfo Gómez García
0365376ab0 Fixed not rebooting machine on join domain on windows XP 2015-11-26 08:06:15 +01:00
Adolfo Gómez García
b9929566f6 Merge remote-tracking branch 'origin/v1.9' 2015-11-25 17:18:13 +01:00
Adolfo Gómez García
f463f586a3 Added 'in use' to true to Phisical Machines as soon as they are assigned, so they kept the assignation forever 2015-11-25 17:14:02 +01:00
Adolfo Gómez García
f6492256a8 Merge remote-tracking branch 'origin/v1.9' 2015-11-19 11:49:21 +01:00
Adolfo Gómez García
6fe734f67e Fixed issues on windows32 for client on users that has disabled 8dot3names and has non ASCII characters on its user name 2015-11-19 11:17:37 +01:00
Adolfo Gómez García
66d2c63a20 Merge remote-tracking branch 'origin/v1.9' 2015-11-18 14:59:20 +01:00
Adolfo Gómez García
06f2faff35 Merge branch 'v1.9' of github.com:dkmstr/openuds into v1.9 2015-11-18 09:28:55 +01:00
Adolfo Gómez García
57bd5e8149 Instead of leaving a removed deployed service once it is removed in the list, we now erase it as soon as it removal process has finished 2015-11-18 09:28:42 +01:00
Adolfo Gómez
11b9d07aef fixed hidding in mac os x 2015-11-17 15:15:47 +01:00
Adolfo Gómez García
b6f582d84e Merger 1.9 fixes 2015-11-16 20:25:06 +01:00
Adolfo Gómez García
b777919f52 A few improvements 2015-11-16 20:22:58 +01:00
Adolfo Gómez García
6371a24d23 Fixed an small bug when checking service is in maintenance 2015-11-16 20:17:51 +01:00
Adolfo Gómez García
d94cc70eff Merge remote-tracking branch 'origin/v1.9' 2015-11-16 12:45:12 +01:00
Adolfo Gómez García
7d02f3682d Fixed so empty credentials are tested 2015-11-16 12:36:52 +01:00
Adolfo Gómez García
51fb42db10 Fixed so empty credentials are tested 2015-11-16 12:35:12 +01:00
Adolfo Gómez García
a352059ddc Added logging capability to client, in windows, take a look at https://github.com/paramiko/paramiko/issues/613 because some issues on windows 32 bits 2015-11-12 18:21:46 +01:00
Adolfo Gómez García
0187b94768 Made removal of user services more robust 2015-11-11 14:36:22 +01:00
Adolfo Gómez García
163245401b Merging 1.9 fixes 2015-11-11 12:15:41 +01:00
Adolfo Gómez García
7a0f28a227 Fixed so first service served from cache are fully usable instead of "waiting for os" 2015-11-11 12:10:30 +01:00
Adolfo Gómez García
0add4b4321 Fixed new service operations checker. Improved & easier to understand with this new model 2015-11-10 08:04:39 +01:00
Adolfo Gómez García
19fdcadbcd Upgrading the UserServiceOpChecker to a new & clearer one 2015-11-06 12:04:44 +01:00
Adolfo Gómez García
7b85adaddf Updated version for master 2015-11-06 05:57:26 +01:00
Adolfo Gómez García
d8a0a2f80a Merged 2015-11-06 04:58:06 +01:00
Adolfo Gómez García
8ec6ce7edb An small fix to tiketauth 2015-11-06 04:15:56 +01:00
Adolfo Gómez García
0eab8d0f3f Added a couple of fixes for ticket authentication 2015-11-06 04:08:10 +01:00
Adolfo Gómez García
ae9a9534fc Merge remote-tracking branch 'origin/v1.9', cookie retrieval 2015-11-06 03:50:44 +01:00
Adolfo Gómez García
b56dbcfdfd Replace an uds direct cookie access by "getUdsCookie" 2015-11-06 03:50:22 +01:00
Adolfo Gómez García
1c1003eb41 Added merged from v1.9 that did not goes as expected... :) 2015-11-05 10:34:16 +01:00
Adolfo Gómez García
4bc6d88006 fixing 2015-11-05 10:31:46 +01:00
Adolfo Gómez García
fe6c701e44 Added better transpor selection for tickets 2015-11-05 10:28:10 +01:00
Adolfo Gómez García
f08593881f Merge remote-tracking branch 'origin/v1.9' 2015-11-05 08:16:54 +01:00
Adolfo Gómez García
9a59725504 added .gitignore to ignore .mo files 2015-11-05 08:16:42 +01:00
Adolfo Gómez García
30cf167e5b Merge remote-tracking branch 'origin/v1.9' 2015-11-05 08:15:55 +01:00
Adolfo Gómez García
88b7b365e7 Removed translations binaries 2015-11-05 08:13:46 +01:00
Adolfo Gómez García
064d881c1e Checking up javascript stuff 2015-11-05 07:30:06 +01:00
Adolfo Gómez García
c3f9d673bd Merge remote-tracking branch 'origin/v1.9' 2015-11-05 07:28:43 +01:00
Adolfo Gómez García
bbc2790ce0 Fixed an issue with singue quotes on base template for translations 2015-11-05 07:25:42 +01:00
Adolfo Gómez García
64970b57ca fixed sitecustomize 2015-11-02 01:21:53 +01:00
Adolfo Gómez García
4695dcaa0c Merge remote-tracking branch 'origin/v1.9' 2015-11-02 00:47:08 +01:00
Adolfo Gómez García
2b11d1715b Fixed unicode on network names for VMWare linked clones 2015-11-02 00:45:33 +01:00
Adolfo Gómez García
e23f22d92d Several fixes for dashboard && new command to clean up cache 2015-10-29 06:57:02 +01:00
Adolfo Gómez García
c8492a4c47 Removed url encoding for connfig. Not a good idea :) 2015-10-27 03:31:06 +01:00
Adolfo Gómez García
962f1fcc1c Merge remote-tracking branch 'origin/v1.9' 2015-10-27 01:53:44 +01:00
Adolfo Gómez García
2d6f4e4f2d Fixed config management param to do urldecode of parameters 2015-10-27 01:53:10 +01:00
Adolfo Gómez García
6bc70ff4de Several minor fixes & aditions 2015-10-24 10:32:51 +02:00
Adolfo Gómez García
aaf4b539d5 Merge remote-tracking branch 'origin/v1.9' 2015-10-20 19:49:34 +02:00
Adolfo Gómez García
83efb81966 Fixed Windows domain 2015-10-20 19:42:14 +02:00
Adolfo Gómez García
03d0fc2ba4 Merge remote-tracking branch 'origin/v1.9' 2015-10-19 06:36:57 +02:00
Adolfo Gómez García
41f128c2ad Updating guacamole 2015-10-19 06:07:45 +02:00
Adolfo Gómez García
bb09ef2a69 Updating guacamole 2015-10-19 05:59:14 +02:00
Adolfo Gómez García
407b0ebf55 Merge remote-tracking branch 'origin/v1.9' 2015-10-16 16:59:14 +02:00
Adolfo Gómez García
98d78d9a2e Another consinstence fix in case of db connection failure 2015-10-16 16:58:53 +02:00
Adolfo Gómez García
033ac0d1f6 Seems to finished updating tables. Need to check new working 2015-10-16 08:30:33 +02:00
Adolfo Gómez García
c9e9f60ed1 * Added a more aggresive cache for types, tables & guis (Less requests to server)
* Fixed ServicePools tables
* Fixed log tables
2015-10-16 07:43:03 +02:00
Adolfo Gómez García
162c84e21c Merge remote-tracking branch 'origin/v1.9' 2015-10-15 19:25:57 +02:00
Adolfo Gómez García
9f6d126484 Added images to memory cache instead of db cache 2015-10-15 19:25:48 +02:00
Adolfo Gómez García
f1e27f1364 Fixed sample settings & database recovery on backend 2015-10-15 18:54:36 +02:00
Adolfo Gómez García
06c7a46d2a Fixed connection lost to mysql 2015-10-15 11:17:12 +02:00
Adolfo Gómez García
0877cc01f4 Almost fixed all tables on dashboard 2015-10-06 11:32:47 +02:00
Adolfo Gómez García
00e85357cf Dashboard upgrade & enhacements 2015-10-06 07:14:40 +02:00
Adolfo Gómez García
cc72b3742f Addind multiselects & overviews to dashboard 2015-10-06 05:39:16 +02:00
Adolfo Gómez García
dff20bd6e1 Added several indexes to optimize some db queries\nFixed too many connections due to not being closed on threads termination\nAdvanced on new dashboard 2015-10-05 13:17:54 +02:00
Adolfo Gómez García
69b6f7d7d8 Merge remote-tracking branch 'origin/v1.9' 2015-10-05 11:48:22 +02:00
Adolfo Gómez García
02a2800a4b Added "connection.close" after job is done, so we use a lot of less
concurrent db connections
2015-10-05 11:46:45 +02:00
Adolfo Gómez García
9881df5117 Clean white squared admin with collapsable menu 2015-10-02 01:08:21 +02:00
Adolfo Gómez García
bc2f83c937 Clean white squared admin with collapsable menu 2015-10-02 00:56:46 +02:00
Adolfo Gómez García
fa78b4b295 Clean white squared admin with collapsable menu 2015-10-02 00:55:58 +02:00
Adolfo Gómez García
95230292c3 Experimenting with dashboard 2015-10-01 07:23:26 +02:00
Adolfo Gómez García
fdaf974009 Advancing on styling. Adding new functionality to dashboard 2015-09-25 17:27:46 +02:00
Adolfo Gómez García
26764c4cab Fixing datatables integration 2015-09-25 04:55:07 +02:00
Adolfo Gómez García
52d0e8977c Styling dashboard 2015-09-24 07:33:52 +02:00
Adolfo Gómez García
1d7df7814c Merge remote-tracking branch 'origin/v1.9' 2015-09-23 17:50:13 +02:00
Adolfo Gómez García
1551fa8efa Updated client to work fine on windows 32 bits 2015-09-23 17:39:24 +02:00
Adolfo Gómez García
7e9a37e768 advancing & gui-element tables 2015-09-23 10:43:45 +02:00
Adolfo Gómez García
80bf6d77f1 Added "multiple deletions" feature 2015-09-23 03:31:26 +02:00
Adolfo Gómez García
2d7a2d6049 Advancing on new dashboard 2015-09-22 19:53:56 +02:00
Adolfo Gómez García
8363b41a68 Advancing on new dashboard look&feel 2015-09-22 09:46:28 +02:00
Adolfo Gómez García
9804678a30 Updating look&feel of admin dashboard 2015-09-22 04:13:15 +02:00
Adolfo Gómez García
1187c0aa5e * Added a template folder to work on admin design faster
* Updated Admin CSS (Testing new view)
* Minor fixes (typos)
2015-09-22 02:23:27 +02:00
Adolfo Gómez García
36adbe387c Bad resolve fixed 2015-09-22 01:04:32 +02:00
Adolfo Gómez García
df2dcf7acd Merge remote-tracking branch 'origin/v1.9'
# Conflicts:
#	server/src/uds/services/OVirt/OVirtProvider.py
#	server/src/uds/services/OVirt/client/oVirtClient.py

Conflicts resolved
2015-09-21 08:18:45 +02:00
Adolfo Gómez García
b64fa374d7 Updated ovirt engine so 3.5.4 works correctly with disk cloning (Bug has been fixed on oVirt) 2015-09-21 07:29:10 +02:00
Adolfo Gómez García
3fbb492921 Added summary when adding new calendar rule & merged migrations 2015-09-18 10:02:39 +02:00
Adolfo Gómez García
1b97e2015d More fixes to calendars 2015-09-18 08:06:07 +02:00
Adolfo Gómez García
3814986e41 Fixed calendar checking.\nUpdated CalendarRule model to allow different durations units 2015-09-18 00:47:21 +02:00
Adolfo Gómez García
037a4b523b Fixed calendar rules. Almost finished :-) 2015-09-17 06:53:35 +02:00
Adolfo Gómez García
522d493557 Advancing more on calendar rules edition 2015-09-15 10:43:26 +02:00
Adolfo Gómez García
2ac06f7345 Advancing more on calendar rules edition 2015-09-15 10:43:12 +02:00
Adolfo Gómez García
0745a7aa9a Advancing on rule editing 2015-09-13 04:43:59 +02:00
Adolfo Gómez García
7e419aed8d Updating components for 2.0 2015-09-13 03:30:48 +02:00
Adolfo Gómez García
baa9565140 Merge remote-tracking branch 'origin/v1.9' 2015-09-13 03:30:17 +02:00
Adolfo Gómez García
069dfb154a Updating components 2015-09-13 03:30:12 +02:00
Adolfo Gómez García
eea9db7a0d fixed incorrect position of datepickers 2015-09-13 03:29:38 +02:00
Adolfo Gómez García
485ed4d60b Merge remote-tracking branch 'origin/v1.9' 2015-09-12 22:11:13 +02:00
Adolfo Gómez García
44056dda3a Removed unused return 2015-09-12 22:09:47 +02:00
Adolfo Gómez García
4de3e83ade * Upgraded bootstrap-select
* Upgraded bootstrap-switch
2015-09-11 10:18:21 +02:00
Adolfo Gómez García
73713eac69 * Adding calendar (models, permissions, adm access, ....)
* Upgraded fontawesome
2015-09-11 01:39:01 +02:00
Adolfo Gómez García
6ed924655d Adding calendar/rules models 2015-09-09 10:01:48 +02:00
Adolfo Gómez García
7706262702 Merge remote-tracking branch 'origin/v1.9' 2015-09-08 19:46:31 +02:00
Adolfo Gómez García
d878d522d7 Fixed os manager edition on service pool 2015-09-08 19:27:19 +02:00
Adolfo Gómez García
e0843179cd Fixing up several minor lang issues 2015-09-07 21:40:12 +02:00
Adolfo Gómez García
c6683db6e6 Translations done 2015-09-04 11:59:36 +02:00
Adolfo Gómez García
063b062913 Added /sec:rdp to xfreerdp call 2015-08-31 17:49:25 +02:00
Adolfo Gómez García
3dd2521408 Removed "banner_timeout" parameter (not supported on old paramiko
versions, and not really needed)
2015-08-31 17:42:09 +02:00
Adolfo Gómez García
f8e61d475a Removed \n from VERSION 2015-08-09 09:41:25 +02:00
Adolfo Gómez García
e7cea4ff6e Fixing some VERSION dependant buildings to use a global file 2015-08-09 09:33:39 +02:00
Adolfo Gómez
33d37ec0c2 Added VERSION file 2015-08-09 09:25:35 +02:00
Adolfo Gómez García
512feaed81 Some minor inprovements to plugin 2015-08-09 09:21:42 +02:00
Adolfo Gómez García
93c6c1c20e Messages 2015-08-05 11:30:12 +02:00
Adolfo Gómez García
d2298f77b9 Some minor fixes 2015-08-03 02:27:20 +02:00
Adolfo Gómez García
6979d9bc17 Some improvements over REST api for actor 2015-07-14 12:47:03 +02:00
Adolfo Gómez García
d4135d527a Finished pools performance report 2015-07-07 19:39:44 +02:00
Adolfo Gómez García
91c678eb72 A couple of typos 2015-07-07 12:40:05 +02:00
Adolfo Gómez García
1ef2c7303f Updated Phisical machine to allow same ip on a service more than once
Fixed comment on UserServiceCleaner
Fixed edition of services without cache
2015-07-07 11:58:34 +02:00
Adolfo Gómez García
1b232d1113 Updating pools report 2015-07-07 03:40:34 +02:00
Adolfo Gómez García
78652b550b Started pool performace report 2015-07-02 11:40:44 +02:00
Adolfo Gómez García
95d0965503 Fixed services pools buttons 2015-07-02 11:40:06 +02:00
Adolfo Gómez García
d8f8815137 started new report & fixed init_cmd for mysql 5.6 2015-07-02 11:26:10 +02:00
Adolfo Gómez García
9bcf7076aa Fixed prefs 2015-06-22 14:47:30 +02:00
Adolfo Gómez García
ae71e2b4bd Latests update translations 2015-06-22 11:30:32 +02:00
Adolfo Gómez García
f8934acbe4 Added a couple csv reports 2015-06-21 21:51:36 +02:00
Adolfo Gómez García
abf6d3751b Fixed report & created "basic" report class 2015-06-21 12:21:59 +02:00
Adolfo Gómez García
b77fa7dfd6 Added changelog for publications to dashboard 2015-06-17 08:21:47 +02:00
Adolfo Gómez García
32a04edbf9 Added changelog at publish stage (needs to show it on admin) 2015-06-15 09:47:33 +02:00
Adolfo Gómez García
3ff281ffa3 * Started to add a "reason" for publication (an small changelog that
helps to keep track of reasonf for launching new publications)
* Removed non usable "Usage" report
2015-06-12 10:21:46 +02:00
Adolfo Gómez García
e07f1ae068 Updated uds __init__ & added several fixes 2015-06-09 16:32:26 +02:00
Adolfo Gómez García
119635862b Added "workaround" to oVirt 3.5 so publications can be made, but only on
the original machine storage (3.5 has a bug that does not allows to
relocate disks for templates using REST API).
2015-06-09 09:38:36 +02:00
Adolfo Gómez García
e553b904c5 Adding new tools libraries 2015-06-08 08:04:54 +02:00
Adolfo Gómez García
92db63d01d Added Basque to sample language list and fixed a literal on services 2015-06-05 13:01:30 +02:00
Adolfo Gómez García
3584ff189b Updated translations 2015-06-05 12:53:23 +02:00
Adolfo Gómez García
e8614cbf14 Added Basque lang support, but no translations are made (there is a collaborator company that will make it) 2015-06-05 10:23:33 +02:00
Adolfo Gómez García
399fc901fc Some minor fixes & aditions to "Storage"\nFixed EditList to correctly show tooltip 2015-06-02 22:13:55 +02:00
Adolfo Gómez García
524e234e6d Updated translations 2015-06-02 22:07:34 +02:00
Adolfo Gómez García
c14186fb4e Added hint on services about what kind of services they offers (VDI, VAPP, ..) 2015-05-29 09:21:36 +02:00
Adolfo Gómez García
eeea4a3f39 Added hint on services about what kind of services they offers (VDI, VAPP, ..) 2015-05-29 09:21:26 +02:00
Adolfo Gómez García
567f91414f Allows "respawn" of new services instead of existing one on service
launch
2015-05-27 09:51:30 +02:00
Adolfo Gómez García
e5710eb74c * Fixed log of "user logged in" and "user logged out"
* Small typo on debug log for windows os manager
* Added Headers to __init__ of windows os managers
2015-05-26 10:36:15 +02:00
Adolfo Gómez García
1733f142be * Several fixes to UDS Actor (minor ones)
* Minor adaptions to allow REST actor to connect with "tickets'
* Fix to TicketStore
2015-05-26 08:26:36 +02:00
Adolfo Gómez García
ccebca9748 Merge remote-tracking branch 'origin/v1.7' 2015-05-21 13:17:29 +02:00
Adolfo Gómez García
5dc2c16cbe Merge remote-tracking branch 'origin/v1.7' 2015-05-21 07:23:39 +02:00
Adolfo Gómez García
b9175be480 A couple minor fixes for RDP transports 2015-05-18 10:02:29 +02:00
Adolfo Gómez García
884bbe7363 Updated translations 2015-05-17 22:17:51 +02:00
Adolfo Gómez García
98b9e6b659 more makeup 2015-05-17 21:35:31 +02:00
Adolfo Gómez García
1c4339f404 Adding some "beauty" icons 2015-05-15 10:41:19 +02:00
Adolfo Gómez García
0ffc9964d0 Merge remote-tracking branch 'origin/v1.7'
Conflicts:
	server/src/uds/REST/methods/providers.py
	server/src/uds/REST/methods/services.py
	server/src/uds/REST/methods/tickets.py
	server/src/uds/REST/model.py
	server/src/uds/web/views/service.py
2015-05-14 12:39:58 +02:00
Adolfo Gómez García
18c9406900 Several fixes... :) 2015-05-14 12:25:35 +02:00
Adolfo Gómez García
e7a3c7ebeb Removed transcomp (not user anymore) 2015-05-13 07:13:12 +02:00
Adolfo Gómez García
724aecd21c Updating translations 2015-05-13 07:12:55 +02:00
Adolfo Gómez García
b00a023f30 *Updated a new buch of icons
Changed reload method for main page
* Added cache support for some kinds of pages
2015-05-13 06:52:13 +02:00
Adolfo Gómez García
592510f0f3 * Added new "Global ID Generator"
* Added a single point for all unique generators (uds.core.util.unique)
2015-05-13 05:58:50 +02:00
Adolfo Gómez García
c96e566ebf * Updated a bunch of icons
* Changed modal of transport, now it says connections
* Removed old rdptransport from current version
* Fixed error view (was getting idError as string instead of integer)
* Started to add protocol dependency to services, so we can limit some kined of services to a protocol
2015-05-13 05:57:47 +02:00
Adolfo Gómez García
78526b3560 The index is now "static", so we reload it every minute for the user to
get the state of different services updated.
2015-05-10 07:33:12 +02:00
Adolfo Gómez García
04ec90ad61 * Transports associadted to Providers working correctly
* Spice transport added (EXPERIMENTAL version)
2015-05-10 07:19:57 +02:00
Adolfo Gómez García
e69914a9a5 Fixed os detection on request when no user agent is privided (defaults
to Unknown)
2015-05-10 06:40:23 +02:00
Adolfo Gómez García
c1c54f38cc Working on Spice protocol support.
* Added "provider specific" transport support
* Fixed dashboard to new transport support
2015-05-06 09:31:37 +02:00
Adolfo Gómez García
dad83c5c50 Merge remote-tracking branch 'origin/v1.7' 2015-05-06 05:47:23 +02:00
Adolfo Gómez García
eb7185b9e3 Fixed possition of base64 js. When using "compressor" on production, it was not working on prev place 2015-05-06 02:16:39 +02:00
Adolfo Gómez García
776702f971 Added own version to client REST request for required version 2015-05-06 01:53:21 +02:00
Adolfo Gómez García
6fb9b11f1b Fixing versions so they are shown on web interface 2015-05-05 08:17:59 +02:00
Adolfo Gómez García
d3e2ab85b8 Fixed building process of actor packages 2015-05-05 07:13:30 +02:00
Adolfo Gómez García
35a4dd659c Fixed building process of client packages 2015-05-05 07:08:57 +02:00
Adolfo Gómez García
e0d2abbbd6 fixing versions. Too much changes, we are going to give out it as 1.9.0 2015-05-05 07:01:09 +02:00
Adolfo Gómez García
5db3429b2c Added user access report
added ipython notebook notes (could be it helpfull?)
fixed datepicker locales loader (UDS one)
Several fixes for reporting
2015-05-05 06:49:31 +02:00
Adolfo Gómez García
dd0c605ff4 Added datepicker to complete "date" type gui field
Started login report
several minor fixes to adapt to reporting
2015-05-03 13:32:31 +02:00
Adolfo Gómez García
54d41c1931 * Added stat about accessing platform (OS, browser & browser version)
* Added bar informing about cookie usage by site
2015-05-03 03:58:50 +02:00
Adolfo Gómez García
9ee66cf6ed * Added "force" parameter to ticket request for ticket authenticated
access
* Added detection of browser to OSDetector, so now request always have
the current browser type/version
* Fixed decorator/template tag to use new request.os.Browser &
request.os.Version
2015-05-03 03:33:05 +02:00
Adolfo Gómez García
a34de035cb * Added creation date to user & group, so we can include "auto clean by age" mechanichs
* Added changelogs to Publications, so we can "store" if we like a text with every publication
* Added "ServiceNotReadyError" as method of controlling if a service is ready, instead of returning None
* Merged several migrations into one
* Updated message error so we include a "code" when service is not ready
* Added user getService to userServiceManager, that is where it must be
2015-04-30 13:03:32 +02:00
Adolfo Gómez García
1dac61ea69 Merge remote-tracking branch 'origin/v1.7' 2015-04-30 08:23:57 +02:00
Adolfo Gómez García
7c7c609ea8 fixex pydev for current version 2015-04-29 17:45:02 +02:00
Adolfo Gómez García
f8b34e1d23 Merge remote-tracking branch 'origin/v1.7' 2015-04-29 17:44:26 +02:00
Adolfo Gómez García
42a3df5c82 Merge remote-tracking branch 'origin/v1.7' 2015-04-29 17:19:55 +02:00
Adolfo Gómez García
ec48f27792 Merge remote-tracking branch 'origin/v1.7' 2015-04-29 17:17:23 +02:00
Adolfo Gómez García
c042ab6b31 * Updated following admin components:
- jquery
  - Filesaver
  - datatables
  
* Added full support for report generation, in dashboard & REST backend
2015-04-29 07:59:21 +02:00
Adolfo Gómez García
40641659a5 Started "definitive" reporting system for dashboard 2015-04-28 05:03:01 +02:00
Adolfo Gómez García
f7fbc5a0c4 Fixed systray icon of UDS and a couple of minor fixes 2015-04-27 22:13:34 +02:00
Adolfo Gómez García
4a6e21d1ec Upgraded UDS Actor systray icon. The "black" background was due i was saving images witg "transparent pixel color included" from gimp 2015-04-27 22:01:31 +02:00
Adolfo Gómez García
d6dcd265a4 * Tests on reports (will be added as REST methods, this is just tests..
:) )
* Small fix to REST udsactor (got VERSION from new part)
2015-04-27 20:40:06 +02:00
Adolfo Gómez García
8fe589fa75 Finished Ticket launching mechanics, used with some external plugins
(such as UMA's Moodles plugin for UDS)
2015-04-27 07:07:44 +02:00
Adolfo Gómez García
656f10a1ca Merge branch 'master' of github.com:dkmstr/openuds 2015-04-27 05:22:30 +02:00
Adolfo Gómez García
f39d780a88 Removed "util" ticket and adapted several 1.8 db model stuff (UnsavedForeignKey) 2015-04-27 05:17:25 +02:00
Adolfo Gómez
134e9c0b61 updated .gitignore for mac buildings 2015-04-26 06:41:20 -07:00
Adolfo Gómez García
f411eec5f4 towards 1.7.5 2015-04-26 03:27:06 +02:00
Adolfo Gómez García
a996562a5e Cleaning up thing for 1.7.5 2015-04-26 03:18:15 +02:00
Adolfo Gómez García
1ea3261b27 Restored autorun functionality 2015-04-24 17:32:15 +02:00
Adolfo Gómez García
a1bd7274f4 Advancing on basic reports 2015-04-24 04:19:43 +02:00
Adolfo Gómez García
3206390c9c Removing Java plugins related code 2015-04-23 07:08:08 +02:00
Adolfo Gómez García
4ed20850ae Added downloadables for clients 2015-04-23 07:07:14 +02:00
Adolfo Gómez García
ef302205bc some cleanups 2015-04-23 06:32:03 +02:00
Adolfo Gómez García
e651d3348d All existing transports are now ported to new model. Need to do more
tests, but conversion seems to be finished (or almost.. :) )
2015-04-22 06:39:09 +02:00
Adolfo Gómez García
cc3cce6038 Migrating from Java to New agent for NX 2015-04-21 19:13:15 +02:00
Adolfo Gómez García
5b3e5242d1 Merge remote-tracking branch 'origin/v1.7' 2015-04-21 12:29:32 +02:00
Adolfo Gómez García
8686741410 fixed build packages 2015-04-20 09:24:15 +02:00
Adolfo Gómez García
199e0d3559 Almost finished connector 2015-04-20 07:33:01 +02:00
Adolfo Gómez García
6b19e75ce7 Advancing on transports & client fixes 2015-04-14 08:33:10 +02:00
Adolfo Gómez García
c3316a4745 Fixed forwarding scheme so it works with all platforms... 2015-04-13 13:55:18 +02:00
Adolfo Gómez García
250441056b Initial version for linux packagers 2015-04-10 17:31:35 +02:00
Adolfo Gómez García
bdef8b2e8c * Simplified Transports after tests
* Added direct linux support for xfreerdp right now
2015-04-08 15:21:09 +02:00
Adolfo Gómez García
aef71ba48c Adding icons for windows and fixing up things 2015-04-07 18:17:21 +02:00
Adolfo Gómez
86e5b9fcaa added mac osx icons file 2015-04-07 03:34:53 -07:00
Adolfo Gómez García
8d01e77a94 advancing new transport system 2015-04-07 12:28:41 +02:00
Adolfo Gómez García
d34248b868 advancing new transport system 2015-04-07 12:28:31 +02:00
Adolfo Gómez
c15151a35d adding icons for macosx 2015-04-07 03:21:03 -07:00
Adolfo Gómez García
b5609a7b0c tunning up things 2015-04-07 12:02:45 +02:00
Adolfo Gómez García
4067de702c tunning uds client 2015-04-07 11:57:57 +02:00
Adolfo Gómez García
375f574e9e more fixes 2015-04-07 11:43:33 +02:00
Adolfo Gómez
ee59f45838 fixing up tunnel stuff 2015-04-07 02:41:59 -07:00
Adolfo Gómez
ae5fafae76 fixin up things on mac os x 2015-04-07 02:04:51 -07:00
Adolfo Gómez
dc1dd977fc Removed notes & added basic macosx info 2015-04-06 23:18:41 -07:00
Adolfo Gómez García
f8b95382b0 * Extracting script to "template" files for transports
* Fixes to UDS Client
2015-04-07 07:59:47 +02:00
Adolfo Gómez García
2f655dce16 Advancing on Mac OS RDP TRansport and a couple minor fixes to UDS Plugin 2015-04-02 09:36:46 +02:00
Adolfo Gómez García
c5138dbc9c First part seems to work fine on mac os x with Microsoft Remote Desktop 2015-04-01 09:44:41 +02:00
Adolfo Gómez García
8a17d5d017 More on mac 2015-04-01 09:36:52 +02:00
Adolfo Gómez García
089f62e6f8 More for mac related 2015-04-01 09:32:13 +02:00
Adolfo Gómez García
e4192e6064 Advancing on client for mac os x 2015-04-01 09:07:11 +02:00
Adolfo Gómez
646334ece5 test.rdp 2015-03-31 23:13:53 -07:00
Adolfo Gómez
2480a79450 adding more notes for mac os x 2015-03-31 23:13:25 -07:00
Adolfo Gómez García
f173146d8f * Implemented uds connector script for RDP (just for windows right now)
* Advanced a lot with java removal process
* Implemented usefull things on client part
2015-03-31 18:10:44 +02:00
Adolfo Gómez García
62f50304fe Advancing on uds client connector 2015-03-30 12:08:44 +02:00
Adolfo Gómez García
c70d94e866 Started client part 2015-03-30 08:11:29 +02:00
Adolfo Gómez García
dc006e7cbc using new method for client (more homogeneous) 2015-03-27 14:44:45 +01:00
Adolfo Gómez García
c5444f0df2 Almost done with web part of new model. Retired java checks from code & pages 2015-03-27 07:41:42 +01:00
Adolfo Gómez García
c7d3e4022f added bypass plugin detection to preferences 2015-03-26 17:31:40 +01:00
Adolfo Gómez García
151623e407 Advancing on web part of new no-java version of UDS 2015-03-26 14:24:03 +01:00
Adolfo Gómez García
67393e88db Merge remote-tracking branch 'origin/v1.7' 2015-03-25 10:10:54 +01:00
Adolfo Gómez García
d87f4de4ff Web part of new uds plugin almost done 2015-03-24 12:05:40 +01:00
Adolfo Gómez García
b08fd3d60e Merge remote-tracking branch 'origin/v1.7' 2015-03-24 10:42:08 +01:00
Adolfo Gómez García
4d9d4bdbee Merge remote-tracking branch 'origin/v1.7' 2015-03-24 09:43:23 +01:00
Adolfo Gómez García
65c7b34ee0 Started client plugin 2015-03-24 08:05:51 +01:00
Adolfo Gómez García
2303861650 Advancing a bit more towards new uds transport model 2015-03-23 20:06:03 +01:00
Adolfo Gómez García
38b7ac892e Merge remote-tracking branch 'origin/v1.7' 2015-03-23 12:24:42 +01:00
Adolfo Gómez García
ccf35fcd49 Advancing on uds client 2015-03-23 12:08:39 +01:00
Adolfo Gómez García
d6e031e9e6 Creating new ticketing model, based on an independent table 2015-03-23 02:27:56 +01:00
Adolfo Gómez García
7b29d698dc Merge remote-tracking branch 'origin/v1.7' 2015-03-23 02:23:56 +01:00
Adolfo Gómez García
989600e639 Fixed uuid model case 2015-03-23 02:22:54 +01:00
Adolfo Gómez García
e02b3ad881 Merge remote-tracking branch 'origin/v1.7' 2015-03-20 15:16:15 +01:00
Adolfo Gómez García
c71d86825c Added download page for new uds plugin 2015-03-20 13:30:52 +01:00
Adolfo Gómez García
bb8931e7d4 Merge remote-tracking branch 'origin/v1.7' 2015-03-18 11:08:06 +01:00
Adolfo Gómez García
011ba37d2a Several minor fixes and protocol detection seems to work 2015-03-17 12:34:32 +01:00
Adolfo Gómez García
d73c8f49cc Several minor fixes and protocol detection seems to work 2015-03-17 12:34:19 +01:00
Adolfo Gómez García
3ddf2f91ad converted sample from utf16 to utf8 2015-03-16 14:42:43 +01:00
Adolfo Gómez García
809aea2c87 UDS Client project 2015-03-16 14:40:19 +01:00
Adolfo Gómez García
4e2fce147f linux notes 2015-03-16 14:39:13 +01:00
Adolfo Gómez García
26e01af696 linux notes 2015-03-16 14:38:48 +01:00
Adolfo Gómez García
cb9359f9af Fixed checking permissions on custom methods of publications 2015-03-16 11:28:53 +01:00
Adolfo Gómez García
bad482b7f1 Test for windows schema registering 2015-03-15 11:34:13 +01:00
Adolfo Gómez García
a94f7b335b Merge branch 'master' of github.com:dkmstr/openuds 2015-03-15 11:32:46 +01:00
Admin
41b86509e0 testing building on mac os x 2015-03-15 02:35:57 -07:00
Adolfo Gómez García
27224fa8a1 Starting to work on reporting 2015-03-10 09:25:18 +01:00
Adolfo Gómez García
9656aab27d Merge remote-tracking branch 'origin/v1.7' 2015-03-09 16:53:46 +01:00
Adolfo Gómez García
3e97481af2 fixed permissions tests 2015-03-09 16:08:16 +01:00
Adolfo Gómez García
705c3d7b76 Merge remote-tracking branch 'origin/v1.7' 2015-03-09 15:54:37 +01:00
Adolfo Gómez García
f300770b29 Merge remote-tracking branch 'origin/v1.7' 2015-03-09 08:29:45 +01:00
Adolfo Gómez García
5623c65763 Template 2015-03-06 09:52:48 +01:00
Adolfo Gómez García
5dca92ca5e * Added new "main dashboard" template for non admin (staff) users 2015-03-06 09:52:07 +01:00
Adolfo Gómez García
c1fd898d62 Some retouch on permissions delegation... seems nice right now :) 2015-03-05 19:10:46 +01:00
Adolfo Gómez García
2435f589b9 Needs more testing, but permission delegation seems to work right now. 2015-03-05 15:20:46 +01:00
Adolfo Gómez García
6387629e7e Almos finished permissions gui 2015-03-04 12:07:22 +01:00
Adolfo Gómez García
5bde71b117 Advancing on permissions 2015-03-03 16:58:49 +01:00
Adolfo Gómez García
b2eb7cc9c1 Advancing on permissions 2015-03-03 16:58:32 +01:00
Adolfo Gómez García
48df4390bd Started dashboard permissions edit 2015-03-02 17:02:02 +01:00
Adolfo Gómez García
9920af9c59 Adding permissions managing to objects 2015-03-02 11:51:20 +01:00
Adolfo Gómez García
681b1333d1 Advancing thought permissions delegation 2015-03-02 08:30:45 +01:00
Adolfo Gómez García
67b8955189 Started permission delegation 2015-03-01 22:04:52 +01:00
Adolfo Gómez García
d542503f55 * Adapting to new "near" auth groups 2015-02-28 12:00:57 +01:00
Adolfo Gómez García
be5ed5a70b Merge remote-tracking branch 'origin/v1.7' 2015-02-28 09:46:33 +01:00
Adolfo Gómez García
fbcc2210b3 minor fix 2015-02-26 15:16:49 +01:00
1864 changed files with 247784 additions and 181625 deletions

11
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,11 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/server" # Location of package manifests
schedule:
interval: "weekly"

19
.github/workflows/auto-assign.yml vendored Normal file
View File

@@ -0,0 +1,19 @@
name: Auto Assign
on:
issues:
types: [opened]
pull_request:
types: [opened]
jobs:
run:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: 'Auto-assign issue'
uses: pozil/auto-assign-issue@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
assignees: dkmstr
numOfAssignee: 1

20
.github/workflows/dependency-review.yml vendored Normal file
View File

@@ -0,0 +1,20 @@
# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: 'Dependency Review'
on: [pull_request]
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@v3
- name: 'Dependency Review'
uses: actions/dependency-review-action@v3

98
.gitignore vendored
View File

@@ -3,70 +3,20 @@
*.orig
*~
*.swp
.DS_Store
*_enterprise.*
.settings/
.ipynb_checkpoints
.idea/
# Debian buildings
*.debhelper*
*-stamp
*.substvars
# /client/administration/
/client/administration/*.suo
# /client/administration/UdsAdmin/
/client/administration/UdsAdmin/*.user
# /client/administration/UdsAdmin/bin/
/client/administration/UdsAdmin/bin/Debug
/client/administration/UdsAdmin/bin/Release
# /client/administration/UdsAdmin/obj/x86/
/client/administration/UdsAdmin/obj/x86/Debug
/client/administration/UdsAdmin/obj/x86/Release
# /client/administration/installer/UDSAdminInstaller/
/client/administration/installer/UDSAdminInstaller/MSChart.exe
/client/administration/installer/UDSAdminInstaller/UDSAdminSetup.exe
# /guacamole-tunnel/
/guacamole-tunnel/target
# /linuxActor/
/linuxActor/udsactor_*
# /linuxActor/src/debian/
/linuxActor/src/debian/udsactor
# /linuxActorNX/
/linuxActorNX/udsactor-nx_*
# /linuxActorNX/src/debian/
/linuxActorNX/src/debian/udsactor-nx
# /linuxActorXRDP/
/linuxActorXRDP/udsactor-xrdp_*
# /linuxActorXRDP/src/debian/
/linuxActorXRDP/src/debian/udsactor-xrdp
# /nxtransport/jar/
/nxtransport/jar/*.sh
/nxtransport/jar/*.jar
# /nxtuntransport/jar/
/nxtuntransport/jar/*.sh
/nxtuntransport/jar/*.jar
# /rdptransport/java/jar/
/rdptransport/java/jar/*.sh
/rdptransport/java/jar/*.jar
.coverage*
# /server/
*_enterprise
/server/openuds.sublime-project
/server/openuds.sublime-workspace
# /server/src/
/server/src/taskmanager.pid
@@ -89,7 +39,6 @@
# /server/src/uds/
/server/src/uds/*_enterprise.py
/server/src/uds/fixtures
/server/src/uds/tests
# /server/src/uds/auths/
/server/src/uds/auths/*-enterprise
@@ -129,37 +78,10 @@
# /server/src/uds/transports/
/server/src/uds/transports/*-enterprise
# /udsService/
/udsService/*.suo
.vscode
.mypy_cache
.pytest_cache
.python-version
# /udsService/installer/
/udsService/installer/UDSActorSetup.exe
# /udsService/rpc/bin/
/udsService/rpc/bin/Debug
/udsService/rpc/bin/Release
/udsService/rpc/bin/x86
# /udsService/rpc/obj/
/udsService/rpc/obj/Debug
/udsService/rpc/obj/Release
/udsService/rpc/obj/x86
# /udsService/udsService/bin/
/udsService/udsService/bin/Debug
/udsService/udsService/bin/Release
/udsService/udsService/bin/x64
# /udsService/udsService/obj/
/udsService/udsService/obj/x64
/udsService/udsService/obj/x86
# /udsService/udsgui/bin/
/udsService/udsgui/bin/Debug
/udsService/udsgui/bin/Release
/udsService/udsgui/bin/x86
# /udsService/udsgui/obj/
/udsService/udsgui/obj/Debug
/udsService/udsgui/obj/Release
/udsService/udsgui/obj/x86
target/
server/test-vars.ini

16
.gitmodules vendored Normal file
View File

@@ -0,0 +1,16 @@
[submodule "guacamole-auth-uds"]
path = guacamole-auth-uds
url = git@github.com:VirtualCable/guacamole-auth-uds.git
branch = master
[submodule "tunnel-server"]
path = tunnel-server
url = git@github.com:VirtualCable/uds-tunnel-server.git
branch = master
[submodule "actor"]
path = actor
url = git@github.com:VirtualCable/uds-actor.git
branch = master
[submodule "client-py3"]
path = client
url = git@github.com:VirtualCable/uds-client.git
branch = master

29
LICENSE Normal file
View File

@@ -0,0 +1,29 @@
BSD 3-Clause License
Copyright (c) 2022-2024, Virtual Cable S.L.U.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -1,7 +1,17 @@
![UDS Logo](https://www.udsenterprise.com/static//img/logoUDSNav.png)
openuds
OpenUDS
=======
OpenUDS Is an Open Source Source project, initiated by Spanish Company Virtualcable and released Open Source with the help of several Spanish Universities.
OpenUDS (Universal Desktop Services) is a multiplatform connection broker for:
- VDI: Windows and Linux virtual desktops administration and deployment
- App virtualization
- Desktop services consolidation
- ...
This is an Open Source project, initiated by Spanish Company Virtual Cable and released Open Source with the help of several Spanish Universities.
Please feel free to contribute to this project.
Notes
=====
* From 4.0 onwards (current master), OpenUDS has been splitted in several repositories and contains submodules. Remember to use "git clone --resursive ..." to fetch it ;-).
* 4.0 version is tested on Python 3.11. It will probably work on 3.12 and 3.13 too (maybe 3.10, but not tested also)

11
SECURITY.md Normal file
View File

@@ -0,0 +1,11 @@
# Security
Virtual Cable takes the security of our software products and services seriously.
If you find any vulnerability, please, report it to "agomez@virtualcable.net".
Please, do not use the issue tracker for security vulnerabilities.
[]: # Path: README.md
Thank you very much for your interest in OpenUDS.

View File

@@ -1,6 +0,0 @@
* Add "Scheduler" to manage pools, and posibbly other operations (Expect to release an version 1.7.1??)
* Improve stats
* Add App Virtualization support
* Add "Meta Pools"
* Manage to connect several UDS in "tree", so one UDS can be provider o another UDS

1
VERSION Normal file
View File

@@ -0,0 +1 @@
4.0.0

1
actor Submodule

Submodule actor added at 04ce3fc2d1

8
actors/.gitignore vendored
View File

@@ -1,8 +0,0 @@
bin
*_enterprise*
udsactor*.deb
udsactor*.build
udsactor*.changes
/udsactor_1.7.0.dsc
/udsactor_1.7.0.tar.xz
/udsactor*.rpm

View File

@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>actors</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.python.pydev.PyDevBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.python.pydev.pythonNature</nature>
</natures>
</projectDescription>

View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse-pydev version="1.0"?><pydev_project>
<pydev_pathproperty name="org.python.pydev.PROJECT_SOURCE_PATH">
<path>/${PROJECT_DIR_NAME}/src</path>
</pydev_pathproperty>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_VERSION">python 2.7</pydev_property>
<pydev_property name="org.python.pydev.PYTHON_PROJECT_INTERPRETER">Default</pydev_property>
</pydev_project>

View File

@@ -1 +0,0 @@
/udsactor-opensuse-1.7.0.spec

View File

@@ -1,96 +0,0 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Directories
SOURCEDIR := ../src
LIBDIR := $(DESTDIR)/usr/share/UDSActor
BINDIR := $(DESTDIR)/usr/bin
SBINDIR = $(DESTDIR)/usr/sbin
APPSDIR := $(DESTDIR)/usr/share/applications
CFGDIR := $(DESTDIR)/etc/udsactor
INITDIR := $(DESTDIR)/etc/init.d
POLKITDIR := $(DESTDIR)/usr/share/polkit-1/actions/
XDGAUTOSTARTDIR := $(DESTDIR)/etc/xdg/autostart
KDEAUTOSTARTDIR := $(DESTDIR)/usr/share/autostart
PYC := $(shell find $(SOURCEDIR) -name '*.py[co]')
CACHES := $(shell find $(SOURCEDIR) -name '__pycache__')
clean:
rm -rf $(PYC) $(CACHES) $(DESTDIR)
install-udsactor-xrdp:
mkdir -p $(BINDIR)
cp scripts/uds-sesman.sh $(BINDIR)/uds-sesman
cp scripts/uds-wait-session.sh $(BINDIR)/uds-wait-session
chmod 0755 $(BINDIR)/uds-sesman
chmod 0755 $(BINDIR)/uds-wait-session
install-udsactor-nx:
mkdir -p $(BINDIR)
cp scripts/udsnxstart.sh $(BINDIR)/udsnxstart
cp scripts/udsnxstop.sh $(BINDIR)/udsnxstop
chmod 0755 $(BINDIR)/udsnxstart
chmod 0755 $(BINDIR)/udsnxstop
install-udsactor:
rm -rf $(DESTDIR)
mkdir -p $(LIBDIR)
mkdir -p $(BINDIR)
mkdir -p $(SBINDIR)
mkdir -p $(APPSDIR)
mkdir -p $(CFGDIR)
mkdir -p $(POLKITDIR)
mkdir -p $(XDGAUTOSTARTDIR)
mkdir -p $(KDEAUTOSTARTDIR)
mkdir $(LIBDIR)/img
# Cleans up .pyc and cache folders
rm -f $(PYC) $(CACHES)
cp -r $(SOURCEDIR)/udsactor $(LIBDIR)/udsactor
cp $(SOURCEDIR)/img/uds.png $(LIBDIR)/img
cp $(SOURCEDIR)/UDSActorConfig.py $(LIBDIR)
cp $(SOURCEDIR)/UDSActorUser.py $(LIBDIR)
# QT Dialogs & resources
cp $(SOURCEDIR)/*_ui.py $(LIBDIR)
cp $(SOURCEDIR)/UDSActor_rc.py $(LIBDIR)
# Menu GUI app
cp desktop/UDS_Actor_Configuration.desktop $(APPSDIR)
# Autostart elements for gnome/kde
cp desktop/UDSActorTool.desktop $(XDGAUTOSTARTDIR)
cp desktop/UDSActorTool.desktop $(KDEAUTOSTARTDIR)
# scripts
cp scripts/udsactor $(BINDIR)
cp scripts/UDSActorConfig-pkexec $(SBINDIR)
cp scripts/UDSActorTool-startup $(BINDIR)
# Policy to run as administrator
cp policy/org.openuds.pkexec.UDSActorConfig.policy $(POLKITDIR)
# Fix permissions
chmod 755 $(BINDIR)/udsactor
chmod 755 $(BINDIR)/UDSActorTool-startup
chmod 755 $(SBINDIR)/UDSActorConfig-pkexec
chmod 755 $(LIBDIR)/UDSActorConfig.py
chmod 755 $(LIBDIR)/UDSActorUser.py
chmod 644 $(POLKITDIR)/org.openuds.pkexec.UDSActorConfig.policy
# If for red hat based, copy init.d
ifeq ($(DISTRO),rh)
mkdir -p $(INITDIR)
cp debian/udsactor.init $(INITDIR)/udsactor
ln -s /usr/share/UDSActor/UDSActorConfig.py $(SBINDIR)/UDSActorConfig
ln -s /usr/share/UDSActor/UDSActorUser.py $(BINDIR)/UDSActorTool
endif
# chmod 0755 $(BINDIR)/udsactor
uninstall:
rm -rf $(LIBDIR)
# rm -f $(BINDIR)/udsactor
rm -rf $(CFGDIR)

View File

@@ -1,30 +0,0 @@
#!/bin/bash
VERSION=1.7.0
RELEASE=1
top=`pwd`
cat udsactor-template.spec |
sed -e s/"version 1.7.0"/"version ${VERSION}"/g |
sed -e s/"release 1"/"release ${RELEASE}"/g > udsactor-$VERSION.spec
# Now fix dependencies for opensuse
cat udsactor-template.spec |
sed -e s/"name udsactor"/"name udsactor-opensuse"/g |
sed -e s/"PyQt4"/"python-qt4"/g |
sed -e s/"libXScrnSaver"/"libXss1"/g > udsactor-opensuse-$VERSION.spec
# Right now, udsactor-xrdp-1.7.0.spec is not needed
for pkg in udsactor-$VERSION.spec udsactor-opensuse-$VERSION.spec; do
rm -rf rpm
for folder in SOURCES BUILD RPMS SPECS SRPMS; do
mkdir -p rpm/$folder
done
rpmbuild -v -bb --clean --buildroot=$top/rpm/BUILD/$pkg-root --target noarch $pkg 2>&1
done
#rm udsactor-$VERSION

View File

@@ -1,3 +0,0 @@
/udsactor/
/udsactor-xrdp/
/udsactor-nx/

View File

@@ -1,5 +0,0 @@
udsactor (1.7.0) stable; urgency=medium
* Initial release.
-- Adolfo Gómez García <agomez@virtualcable.es> Mon, 17 Nov 2014 05:32:41 +0100

View File

@@ -1 +0,0 @@
9

View File

@@ -1,31 +0,0 @@
Source: udsactor
Section: admin
Priority: optional
Maintainer: Adolfo Gómez García <agomez@virtualcable.es>
Build-Depends: debhelper (>= 7), po-debconf
Standards-Version: 3.9.2
Homepage: http://www.virtualcable.es
Package: udsactor
Section: admin
Priority: optional
Architecture: all
Depends: policykit-1(>=0.100), python-requests (>=0.8.2), python-qt4 (>=4.9), python-six(>=1.1), python-prctl(>=1.1.1), python (>=2.7), libxss1, ${misc:Depends}
Description: Actor for Universal Desktop Services (UDS) Broker
This package provides the required components to allow this machine to work on an environment managed by UDS Broker.
Package: udsactor-xrdp
Section: x11
Priority: optional
Architecture: all
Depends: xrdp (>= 0.5.0), udsactor (>= ${binary:Version}), libpam-modules-bin (>=1.0), ${misc:Depends}
Description: UDS Actor component for xrdp
This package provides connection between uds actor and xrdp
Package: udsactor-nx
Section: x11
Priority: optional
Architecture: all
Depends: nxnode (>= 3.5.0), udsactor (>= ${binary:Version}), ${misc:Depends}
Description: UDS Actor component for nx
This package provides connection between uds actor and nx

View File

@@ -1,26 +0,0 @@
Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
Name: udsactor
Maintainer: Adolfo Gómez García
Source: http://www.udsenterprise.com/
Copyright: 2014 Virtual Cable S.L.U.
License: BSD-3-clause
License: GPL-2+
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.

View File

@@ -1 +0,0 @@
readme.txt

View File

@@ -1,3 +0,0 @@
udsactor_1.7.0_all.deb admin optional
udsactor-xrdp_1.7.0_all.deb x11 optional
udsactor-nx_1.7.0_all.deb x11 optional

View File

@@ -1,46 +0,0 @@
#!/usr/bin/make -f
# -*- makefile -*-
configure: configure-stamp
configure-stamp:
dh_testdir
touch configure-stamp
build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
build-stamp: configure-stamp
dh_testdir
$(MAKE)
touch $@
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
dh_clean
install: build
dh_testdir
dh_testroot
dh_prep
dh_installdirs
$(MAKE) DESTDIR=$(CURDIR)/debian/udsactor install-udsactor
$(MAKE) DESTDIR=$(CURDIR)/debian/udsactor-xrdp install-udsactor-xrdp
$(MAKE) DESTDIR=$(CURDIR)/debian/udsactor-nx install-udsactor-nx
binary-arch: build install
# emptyness
binary-indep: build install
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installdebconf
dh_installinit --no-start
dh_python2=python
dh_compress
dh_link
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep
.PHONY: build clean binary-indep binary install configure

View File

@@ -1 +0,0 @@
3.0 (native)

View File

@@ -1,37 +0,0 @@
#!/bin/sh
NXNODECFG=/usr/NX/etc/node.cfg
. /usr/share/debconf/confmodule
set -e
case "$1" in
configure)
TMPFILE=$(mktemp /tmp/node.cfg.XXXXX)
trap "rm -f $TMPFILE" 0
cat $NXNODECFG | sed -e "s/.*udsnxst.*//; s/\(UserScriptAfterSessionStart *=.*\)/#\1/;s/\(UserScriptAfterSessionClose *=.*\)/#\1/" > $TMPFILE
echo >> $TMPFILE
echo "# Added by udsactor-nx (udsnxstart and udsnxstop)" >> $TMPFILE
echo UserScriptAfterSessionStart = \"/usr/bin/udsnxstart\" >> $TMPFILE
echo UserScriptAfterSessionClose = \"/usr/bin/udsnxstop\" >> $TMPFILE
cp $TMPFILE $NXNODECFG
invoke-rc.d nxserver restart
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
# Don't know why, but descriptors get "weird" when launched daemon, so we tell here to debconf to stop.
# Solved not starting the service right now, defered to next reboot
exit 0

View File

@@ -1,30 +0,0 @@
#!/bin/sh
NXNODECFG=/usr/NX/etc/node.cfg
. /usr/share/debconf/confmodule
set -e
case "$1" in
purge)
;;
remove)
if [ -f $NXNODECFG ]; then
TMPFILE=$(mktemp /tmp/node.cfg.XXXXX)
trap "rm -f $TMPFILE" 0
cat $NXNODECFG | sed -e "s/.*udsnxst.*//" > $TMPFILE
cp $TMPFILE $NXNODECFG
invoke-rc.d nxserver restart
fi
;;
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#

View File

@@ -1,39 +0,0 @@
#!/bin/sh
SESMANFILE=/etc/pam.d/xrdp-sesman
. /usr/share/debconf/confmodule
set -e
case "$1" in
configure)
trap "cp $SESMANFILE $SESMANFILE.uds.old" 0
TMPFILE=$(mktemp /tmp/sesman.XXXXX)
trap "rm -f $TMPFILE" 0
grep -v uds $SESMANFILE > $TMPFILE # Removes all UDS lines from sesman if they exists
echo >> $TMPFILE
echo "# Added by udsactor-xrdp" >> $TMPFILE
echo "session optional pam_exec.so /usr/bin/uds-sesman" >> $TMPFILE
cp $TMPFILE $SESMANFILE
trap "rm -f $TMPFILE" 0
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
# Don't know why, but descriptors get "weird" when launched daemon, so we tell here to debconf to stop.
# Solved not starting the service right now, defered to next reboot
exit 0

View File

@@ -1,30 +0,0 @@
#!/bin/sh -e
SESMANFILE=/etc/pam.d/xrdp-sesman
. /usr/share/debconf/confmodule
set -e
case "$1" in
purge)
;;
remove)
if [ -f $SESMANFILE ]; then
TMPFILE=$(mktemp /tmp/sesman.XXXXX)
trap "rm -f $TMPFILE" 0
grep -v uds $SESMANFILE > $TMPFILE # Removes all UDS lines from sesman if they exists
cp $TMPFILE $SESMANFILE
trap "rm -f $TMPFILE" 0
fi
;;
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#

View File

@@ -1,45 +0,0 @@
#!/bin/sh -e
. /usr/share/debconf/confmodule
db_version 2.0
# This conf script is capable of backing up
db_capb backup
if [ -f /etc/udsactor/udsactor.cfg ] && [ "$1" != "reconfigure" ]; then
echo "/etc/udsactor/udsactor.cfg already exists, leaving untouched."
exit 0
fi
STATE=1
while [ "$STATE" != 0 -a "$STATE" != 4 ]; do
case "$STATE" in
1)
db_input high udsactor/host || true
;;
2)
db_input high udsactor/secure || true
;;
3)
db_input high udsactor/masterKey || true
;;
esac
if db_go; then
STATE=$(($STATE + 1))
else
STATE=$(($STATE - 1))
fi
done
# If "cancelled", exit
if [ "$STATE" = 0 ]; then
exit 0
fi
# If using reconfigure, and already exists an configuration file, move it to a backup
if [ -f /etc/udsactor/udsactor.cfg ] && [ "$1" = "reconfigure" ]; then
echo "/etc/udsactor.cfg backup to /etc/udsactor.cfg.back"
mv /etc/udsactor/udsactor.cfg /etc/udsactor/udsactor.cfg.back
fi

View File

@@ -1,23 +0,0 @@
#!/bin/sh -e
### BEGIN INIT INFO
# Provides: udsactor
# Required-Start: $local_fs $remote_fs $network $syslog $named
# Required-Stop: $local_fs $remote_fs $network $syslog $named
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: UDS Actor
### END INIT INFO
#
# . /lib/lsb/init-functions
case "$1" in
start|stop|restart)
/usr/bin/udsactor $1
;;
force-reload)
/usr/bin/udsactor restart
;;
*) echo "Usage: $0 {start|stop|restart|force-reload}" >&2; exit 1 ;;
esac

View File

@@ -1,2 +0,0 @@
/usr/share/UDSActor/UDSActorConfig.py /usr/sbin/UDSActorConfig
/usr/share/UDSActor/UDSActorUser.py /usr/bin/UDSActorTool

View File

@@ -1,53 +0,0 @@
#!/bin/sh
. /usr/share/debconf/confmodule
set -e
case "$1" in
configure)
# If new "fresh" install or if configuration file has disappeared...
if [ "$2" = "" ] || [ ! -f /etc/udsactor/udsactor.cfg ]; then
db_get udsactor/host
host=$RET
db_get udsactor/secure
ssl=$RET
if [ "$ssl" = "true" ]; then
ssl=True;
else
ssl=False;
fi
db_get udsactor/masterKey
masterKey=$RET
# If already has a config file there
if [ -f /etc/udsactor/udsactor.cfg ]; then
cp /etc/udsactor/udsactor.cfg /etc/udsactor/udsactor.cfg.dpkg-old
fi
echo "[uds]" > /etc/udsactor/udsactor.cfg
echo "host = $host" >> /etc/udsactor/udsactor.cfg
echo "logLevel = 30000" >> /etc/udsactor/udsactor.cfg
echo "ssl = $ssl" >> /etc/udsactor/udsactor.cfg
echo "masterKey = $masterKey" >> /etc/udsactor/udsactor.cfg
fi
# Fix perms so only root can access "masterKey"
chmod 0700 /etc/udsactor
chmod 0600 /etc/udsactor/udsactor.cfg
chown root:root /etc/udsactor
chown root:root /etc/udsactor/udsactor.cfg
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

View File

@@ -1,14 +0,0 @@
#!/bin/sh -e
. /usr/share/debconf/confmodule
set -e
if [ "$1" = "purge" ] ; then
if [ -f /etc/udsactor/udsactor.cfg ]; then
mv /etc/udsactor/udsactor.cfg /etc/udsactor/udsactor.cfg.dpkg-backup
# Remove .pyc leaved behind
rm -rf /usr/share/UDSActor || true > /dev/null 2>&1
fi
fi

View File

@@ -1 +0,0 @@
#! /bin/bash -e

View File

@@ -1,20 +0,0 @@
Template: udsactor/host
Type: string
Default:
Description: UDS Server address:
The actor needs the address of the server in order to communicate with it.
Provide here full address (or i) of the UDS server
Template: udsactor/secure
Type: boolean
Default: true
Description: Use secure (https) connection to communicate with UDS server?
If selected, the communication will be done using https.
If not selected, the communication will be done using http
Template: udsactor/masterKey
Type: string
Default:
Description: Master Key:
This key is available on UDS Administration interface.
Look for it under configuration, on Security tab.

View File

@@ -1,12 +0,0 @@
[Desktop Entry]
Name=UDS Actor Tool
Comment=UDS Actor Userspace tools
Exec=/usr/bin/UDSActorTool-startup
Icon=/usr/share/UDSActor/img/uds.png
Terminal=false
Type=Application
NoDisplay=true
X-KDE-autostart-after=panel
X-KDE-StartupNotify=false
X-DBUS-StartupType=Unique
X-KDE-UniqueApplet=true

View File

@@ -1,11 +0,0 @@
[Desktop Entry]
Name=UDS Actor Configuration
Version=1.0
Exec=/usr/sbin/UDSActorConfig-pkexec
Comment=UDS Actor Configuration Application. (Must be executed as root)
Icon=/usr/share/UDSActor/img/uds.png
Type=Application
Terminal=false
StartupNotify=true
Encoding=UTF-8
Categories=Settings;System;

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<action id="org.freedesktop.policykit.pkexec.run-UDSActorConfig">
<description>Run UDS Actor Configuration Program</description>
<message>Authentication is required to run UDS Actor Configuration</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>auth_admin_keep</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/UDSActorConfig</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">TRUE</annotate>
</action>
</policyconfig>

View File

@@ -1,3 +0,0 @@
UDSActor is the client actor needed to get machines managed by UDS Broker.
Please, visit http://www.udsenterprise.com for more information

View File

@@ -1,2 +0,0 @@
#!/bin/sh
pkexec "/usr/sbin/UDSActorConfig" "$@"

View File

@@ -1,10 +0,0 @@
#!/bin/sh
# Simple hack to wait for systray to be present
# Exec tool if not already runned by session manager
ps -ef | grep "$USER" | grep -v grep | grep -v UDSActorTool-startup | grep 'UDSActorTool' -q
# If not already running
if [ $? -eq 1 ]; then
sleep 5
exec /usr/bin/UDSActorTool
fi

View File

@@ -1,13 +0,0 @@
#!/bin/sh
env > /tmp/env.txt
if [ "$PAM_TYPE" = "open_session" ]; then
nohup /usr/bin/udsactor login $PAM_USER &
# Wait in backgroud to TTY to close (close_session is not being invoked right now)
nohup /usr/bin/uds-wait-session &
elif [ "$PAM_TYPE" = "close_session" ]; then
nohup /usr/bin/udsactor logout $PAM_USER &
fi
return 0

View File

@@ -1,12 +0,0 @@
#!/bin/sh
while :
do
sleep 5 # Wait 5 seconds between checks
found=`ps -f -u$PAM_USER | grep -v grep | grep -v uds-wait-session | grep "$PAM_TTY" | wc -l`
if [ "$found" = "0" ]; then
/usr/bin/udsactor logout $PAM_USER
exit 0
fi
done

View File

@@ -1,6 +0,0 @@
#!/bin/sh
FOLDER=/usr/share/UDSActor
cd $FOLDER
python -m udsactor.linux.UDSActorService $@

View File

@@ -1,3 +0,0 @@
#!/bin/sh
exec /usr/bin/udsactor login $2 &

View File

@@ -1,3 +0,0 @@
#!/bin/sh
exec /usr/bin/udsactor logout $2 &

View File

@@ -1,69 +0,0 @@
%define _topdir %(echo $PWD)/rpm
%define name udsactor
%define version 1.7.0
%define release 1
%define buildroot %{_topdir}/%{name}-%{version}-%{release}-root
BuildRoot: %{buildroot}
Name: %{name}
Version: %{version}
Release: %{release}
Summary: Actor for Universal Desktop Services (UDS) Broker
License: BSD3
Group: Admin
Requires: python-six python-requests PyQt4 libXScrnSaver
Vendor: Virtual Cable S.L.U.
URL: http://www.udsenterprise.com
Provides: udsactor
%define _rpmdir ../
%define _rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
%install
curdir=`pwd`
cd ../..
make DESTDIR=$RPM_BUILD_ROOT DISTRO=rh install-udsactor
cd $curdir
%clean
rm -rf $RPM_BUILD_ROOT
curdir=`pwd`
cd ../..
make DESTDIR=$RPM_BUILD_ROOT DISTRO=rh clean
cd $curdir
%post
systemctl enable udsactor.service > /dev/null 2>&1
%preun
systemctl disable udsactor.service > /dev/null 2>&1
systemctl stop udsactor.service > /dev/null 2>&1
%postun
# $1 == 0 on uninstall, == 1 on upgrade for preun and postun (just a reminder for me... :) )
if [ $1 -eq 0 ]; then
rm -rf /etc/udsactor
rm /var/log/udsactor.log
fi
# And, posibly, the .pyc leaved behind on /usr/share/UDSActor
rm -rf /usr/share/UDSActor > /dev/null 2>&1
%description
This package provides the required components to allow this machine to work on an environment managed by UDS Broker.
%files
%defattr(-,root,root)
/etc/udsactor
/etc/xdg/autostart/UDSActorTool.desktop
/etc/init.d/udsactor
/usr/bin/UDSActorTool-startup
/usr/bin/udsactor
/usr/bin/UDSActorTool
/usr/sbin/UDSActorConfig
/usr/sbin/UDSActorConfig-pkexec
/usr/share/UDSActor/*
/usr/share/applications/UDS_Actor_Configuration.desktop
/usr/share/autostart/UDSActorTool.desktop
/usr/share/polkit-1/actions/org.openuds.pkexec.UDSActorConfig.policy

View File

@@ -1,69 +0,0 @@
%define _topdir %(echo $PWD)/rpm
%define name udsactor
%define version 1.7.0
%define release 1
%define buildroot %{_topdir}/%{name}-%{version}-%{release}-root
BuildRoot: %{buildroot}
Name: %{name}
Version: %{version}
Release: %{release}
Summary: Actor for Universal Desktop Services (UDS) Broker
License: BSD3
Group: Admin
Requires: python-six python-requests PyQt4 libXScrnSaver
Vendor: Virtual Cable S.L.U.
URL: http://www.udsenterprise.com
Provides: udsactor
%define _rpmdir ../
%define _rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
%install
curdir=`pwd`
cd ../..
make DESTDIR=$RPM_BUILD_ROOT DISTRO=rh install-udsactor
cd $curdir
%clean
rm -rf $RPM_BUILD_ROOT
curdir=`pwd`
cd ../..
make DESTDIR=$RPM_BUILD_ROOT DISTRO=rh clean
cd $curdir
%post
systemctl enable udsactor.service > /dev/null 2>&1
%preun
systemctl disable udsactor.service > /dev/null 2>&1
systemctl stop udsactor.service > /dev/null 2>&1
%postun
# $1 == 0 on uninstall, == 1 on upgrade for preun and postun (just a reminder for me... :) )
if [ $1 -eq 0 ]; then
rm -rf /etc/udsactor
rm /var/log/udsactor.log
fi
# And, posibly, the .pyc leaved behind on /usr/share/UDSActor
rm -rf /usr/share/UDSActor > /dev/null 2>&1
%description
This package provides the required components to allow this machine to work on an environment managed by UDS Broker.
%files
%defattr(-,root,root)
/etc/udsactor
/etc/xdg/autostart/UDSActorTool.desktop
/etc/init.d/udsactor
/usr/bin/UDSActorTool-startup
/usr/bin/udsactor
/usr/bin/UDSActorTool
/usr/sbin/UDSActorConfig
/usr/sbin/UDSActorConfig-pkexec
/usr/share/UDSActor/*
/usr/share/applications/UDS_Actor_Configuration.desktop
/usr/share/autostart/UDSActorTool.desktop
/usr/share/polkit-1/actions/org.openuds.pkexec.UDSActorConfig.policy

View File

@@ -1,61 +0,0 @@
%define _topdir %(echo $PWD)/rpm
%define name udsactor-xrdp
%define version 1.7.0
%define release 1
%define buildroot %{_topdir}/%{name}-%{version}-%{release}-root
BuildRoot: %{buildroot}
Name: %{name}
Version: %{version}
Release: %{release}
Summary: Glue between UDS Actor and XRDP
License: BSD3
Group: Admin
Requires: xrdp udsactor pam
Vendor: Virtual Cable S.L.U.
URL: http://www.udsenterprise.com
Provides: udsactor-xrdp
%define _rpmdir ../
%define _rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm
%install
curdir=`pwd`
cd ../..
make DESTDIR=$RPM_BUILD_ROOT DISTRO=rh install-udsactor-xrdp
cd $curdir
%clean
rm -rf $RPM_BUILD_ROOT
curdir=`pwd`
cd ../..
make DESTDIR=$RPM_BUILD_ROOT DISTRO=rh clean
cd $curdir
%post
SESMANFILE=/etc/pam.d/xrdp-sesman
TMPFILE=$(mktemp /tmp/sesman.XXXXX)
grep -v uds $SESMANFILE > $TMPFILE
echo >> $TMPFILE
echo "# Added by udsactor-xrdp" >> $TMPFILE
echo "session optional pam_exec.so /usr/bin/uds-sesman" >> $TMPFILE
cp $TMPFILE $SESMANFILE
rm $TMPFILE > /dev/null 2>&1
%preun
%postun
SESMANFILE=/etc/pam.d/xrdp-sesman
TMPFILE=$(mktemp /tmp/sesman.XXXXX)
grep -v uds $SESMANFILE > $TMPFILE
cp $TMPFILE $SESMANFILE
rm $TMPFILE > /dev/null 2>&1
%description
This package provides the required components to allow this machine to work on an environment managed by UDS Broker.
%files
%defattr(-,root,root)
/usr/bin/*

View File

@@ -1,4 +0,0 @@
build
.idea
*_enterprise*
/samples/

View File

@@ -1,5 +0,0 @@
<RCC>
<qresource prefix="images">
<file>img/uds.png</file>
</qresource>
</RCC>

View File

@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
type="win32"
name="UDSActorConfig"
version="1.6.0.0"
processorArchitecture="x86"
/>
<description>Description</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

View File

@@ -1,112 +0,0 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
from __future__ import unicode_literals
import sys
from PyQt4 import QtCore, QtGui
import six
from udsactor import store
from udsactor import REST
from udsactor import utils
from udsactor.log import logger
from setup_dialog_ui import Ui_UdsActorSetupDialog
class UDSConfigDialog(QtGui.QDialog):
def __init__(self, data, parent=None):
QtGui.QDialog.__init__(self, parent)
self.ui = Ui_UdsActorSetupDialog()
self.ui.setupUi(self)
if data is not None:
self.ui.host.setText(data.get('host', ''))
self.ui.masterKey.setText(data.get('masterKey', ''))
self.ui.useSSl.setCurrentIndex(1 if data.get('ssl', False) is True else 0)
self.ui.logLevelComboBox.setCurrentIndex(int(data.get('logLevel', '10000')) / 10000 - 1)
def _getCfg(self):
return {
'host': six.text_type(self.ui.host.text()),
'masterKey': six.text_type(self.ui.masterKey.text()),
'ssl': self.ui.useSSl.currentIndex() == 1,
'logLevel': (self.ui.logLevelComboBox.currentIndex() + 1) * 10000
}
def textChanged(self):
enableButtons = self.ui.host.text() != '' and self.ui.masterKey.text() != ''
self.ui.testButton.setEnabled(enableButtons)
self.ui.saveButton.setEnabled(enableButtons)
def cancelAndDiscard(self):
logger.debug('Cancelling changes')
self.close()
def testParameters(self):
logger.debug('Testing connection')
try:
cfg = self._getCfg()
api = REST.Api(
cfg['host'], cfg['masterKey'], cfg['ssl'])
api.test()
QtGui.QMessageBox.information(
self, 'Test Passed', 'The test was executed successfully', QtGui.QMessageBox.Ok)
logger.info('Test was passed successfully')
except Exception as e:
logger.info('Test error: {}'.format(utils.exceptionToMessage(e)))
QtGui.QMessageBox.critical(self, 'Test Error', utils.exceptionToMessage(e), QtGui.QMessageBox.Ok)
def acceptAndSave(self):
cfg = self._getCfg()
store.writeConfig(cfg)
self.close()
if __name__ == "__main__":
app = QtGui.QApplication(sys.argv)
if store.checkPermissions() is False:
QtGui.QMessageBox.critical(None, 'Notice', 'This Program must be executed as administrator', QtGui.QMessageBox.Ok)
sys.exit(1)
# Read configuration
cfg = store.readConfig()
if cfg is not None:
logger.setLevel(int(cfg.get('logLevel', 20000)))
else:
logger.setLevel(20000)
myapp = UDSConfigDialog(cfg)
myapp.show()
sys.exit(app.exec_())

View File

@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
type="win32"
name="UDSActorService"
version="1.6.0.0"
processorArchitecture="x86"
/>
<description>Description</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

View File

@@ -1,308 +0,0 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
from __future__ import unicode_literals
import sys
from PyQt4 import QtGui
from PyQt4 import QtCore
import pickle
import time
import signal
from udsactor import ipc
from udsactor import utils
from udsactor.log import logger
from udsactor.service import IPC_PORT
from udsactor import operations
from about_dialog_ui import Ui_UDSAboutDialog
from message_dialog_ui import Ui_UDSMessageDialog
from udsactor.scriptThread import ScriptExecutorThread
trayIcon = None
def sigTerm(sigNo, stackFrame):
if trayIcon:
trayIcon.quit()
# About dialog
class UDSAboutDialog(QtGui.QDialog):
def __init__(self, parent=None):
QtGui.QDialog.__init__(self, parent)
self.ui = Ui_UDSAboutDialog()
self.ui.setupUi(self)
def closeDialog(self):
self.hide()
class UDSMessageDialog(QtGui.QDialog):
def __init__(self, parent=None):
QtGui.QDialog.__init__(self, parent)
self.ui = Ui_UDSMessageDialog()
self.ui.setupUi(self)
def displayMessage(self, message):
self.ui.message.setText(message)
self.show()
def closeDialog(self):
self.hide()
class MessagesProcessor(QtCore.QThread):
logoff = QtCore.pyqtSignal(name='logoff')
displayMessage = QtCore.pyqtSignal(QtCore.QString, name='displayMessage')
script = QtCore.pyqtSignal(QtCore.QString, name='script')
exit = QtCore.pyqtSignal(name='exit')
information = QtCore.pyqtSignal(dict, name='information')
def __init__(self):
super(self.__class__, self).__init__()
# Retries connection for a while
for _ in range(10):
try:
self.ipc = ipc.ClientIPC(IPC_PORT)
self.ipc.start()
break
except Exception:
logger.debug('IPC Server is not reachable')
self.ipc = None
time.sleep(2)
self.running = False
def stop(self):
self.running = False
if self.ipc:
self.ipc.stop()
def isAlive(self):
return self.ipc is not None
def requestInformation(self):
if self.ipc is not None:
info = self.ipc.requestInformation()
logger.debug('Request information: {}'.format(info))
def sendLogin(self, userName):
if self.ipc:
self.ipc.sendLogin(userName)
def sendLogout(self, userName):
if self.ipc:
self.ipc.sendLogout(userName)
def run(self):
if self.ipc is None:
return
self.running = True
# Wait a bit so we ensure IPC thread is running...
time.sleep(2)
while self.running and self.ipc.running:
try:
msg = self.ipc.getMessage()
if msg is None:
break
msgId, data = msg
logger.debug('Got Message on User Space: {}:{}'.format(msgId, data))
if msgId == ipc.MSG_MESSAGE:
self.displayMessage.emit(QtCore.QString.fromUtf8(data))
elif msgId == ipc.MSG_LOGOFF:
self.logoff.emit()
elif msgId == ipc.MSG_SCRIPT:
self.script.emit(QtCore.QString.fromUtf8(data))
elif msgId == ipc.MSG_INFORMATION:
self.information.emit(pickle.loads(data))
except Exception as e:
try:
logger.error('Got error on IPC thread {}'.format(utils.exceptionToMessage(e)))
except:
logger.error('Got error on IPC thread (an unicode error??)')
if self.ipc.running is False and self.running is True:
logger.warn('Lost connection with Service, closing program')
self.exit.emit()
class UDSSystemTray(QtGui.QSystemTrayIcon):
def __init__(self, app_, parent=None):
self.app = app_
style = app.style()
icon = QtGui.QIcon(style.standardPixmap(QtGui.QStyle.SP_DesktopIcon))
QtGui.QSystemTrayIcon.__init__(self, icon, parent)
self.menu = QtGui.QMenu(parent)
exitAction = self.menu.addAction("About")
exitAction.triggered.connect(self.about)
self.setContextMenu(self.menu)
self.ipc = MessagesProcessor()
self.maxIdleTime = None
self.timer = QtCore.QTimer()
self.timer.timeout.connect(self.checkIdle)
self.showIdleWarn = True
if self.ipc.isAlive() is False:
raise Exception('no connection to service, exiting')
self.stopped = False
self.ipc.displayMessage.connect(self.displayMessage)
self.ipc.exit.connect(self.quit)
self.ipc.script.connect(self.executeScript)
self.ipc.logoff.connect(self.logoff)
self.ipc.information.connect(self.information)
# Pre generate a request for information (general parameters) to daemon/service
self.ipc.requestInformation()
self.aboutDlg = UDSAboutDialog()
self.msgDlg = UDSMessageDialog()
self.counter = 0
self.timer.start(5000) # Launch idle checking every 5 seconds
self.graceTimerShots = 6 # Start counting for idle after 30 seconds after login, got on windows some "instant" logout because of idle timer not being reset??
self.ipc.start()
# If this is running, it's because he have logged in
self.ipc.sendLogin(operations.getCurrentUser())
def checkIdle(self):
if self.maxIdleTime is None: # No idle check
return
if self.graceTimerShots > 0:
self.graceTimerShots -= 1
return
idleTime = operations.getIdleDuration()
remainingTime = self.maxIdleTime - idleTime
if remainingTime > 300: # Reset show Warning dialog if we have more than 5 minutes left
self.showIdleWarn = True
logger.debug('User has been idle for: {}'.format(idleTime))
if remainingTime <= 0:
logger.info('User has been idle for too long, notifying Broker that service can be reclaimed')
self.quit()
if self.showIdleWarn is True and remainingTime < 120: # With two minutes, show a warning message
self.showIdleWarn = False
self.msgDlg.displayMessage("You have been idle for too long. The session will end if you don't resume operations")
def displayMessage(self, message):
logger.debug('Displaying message')
self.msgDlg.displayMessage(message)
def executeScript(self, script):
logger.debug('Executing script')
th = ScriptExecutorThread(script)
th.start()
def logoff(self):
self.counter += 1
print("Loggof --", self.counter)
def information(self, info):
'''
Invoked when received information from service
'''
logger.debug('Got information message: {}'.format(info))
if 'idle' in info:
idle = int(info['idle'])
operations.initIdleDuration(idle)
self.maxIdleTime = idle
logger.debug('Set screensaver launching to {}'.format(idle))
else:
self.maxIdleTime = None
def about(self):
self.aboutDlg.exec_()
def quit(self):
logger.debug('Quit invoked')
if self.stopped is False:
self.stopped = True
try:
# If we close Client, send Logoff to Broker
self.ipc.sendLogout(operations.getCurrentUser())
self.timer.stop()
self.ipc.stop()
except Exception:
# May we have lost connection with server, simply exit in that case
pass
try:
operations.loggoff() # Invoke log off
except Exception:
pass
self.app.quit()
if __name__ == '__main__':
app = QtGui.QApplication(sys.argv)
if not QtGui.QSystemTrayIcon.isSystemTrayAvailable():
# QtGui.QMessageBox.critical(None, "Systray", "I couldn't detect any system tray on this system.")
sys.exit(1)
# This is important so our app won't close on message windows
QtGui.QApplication.setQuitOnLastWindowClosed(False)
try:
trayIcon = UDSSystemTray(app)
except Exception:
logger.error('UDS Service is not running. Tool stopped')
sys.exit(1)
# Sets a default idle duration, but will not be used unless idle is notified from server
operations.initIdleDuration(3600 * 10)
trayIcon.show()
# Catch kill and logout user :)
signal.signal(signal.SIGTERM, sigTerm)
res = app.exec_()
logger.debug('Exiting')
trayIcon.quit()
sys.exit(res)

View File

@@ -1,251 +0,0 @@
# -*- coding: utf-8 -*-
# Resource object code
#
# Created: Fri Nov 21 12:40:02 2014
# by: The Resource Compiler for PyQt (Qt v4.8.6)
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore
qt_resource_data = "\
\x00\x00\x0c\xe0\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x30\x00\x00\x00\x30\x08\x06\x00\x00\x00\x57\x02\xf9\x87\
\x00\x00\x00\x04\x67\x41\x4d\x41\x00\x00\xb1\x8f\x0b\xfc\x61\x05\
\x00\x00\x00\x20\x63\x48\x52\x4d\x00\x00\x7a\x26\x00\x00\x80\x84\
\x00\x00\xfa\x00\x00\x00\x80\xe8\x00\x00\x75\x30\x00\x00\xea\x60\
\x00\x00\x3a\x98\x00\x00\x17\x70\x9c\xba\x51\x3c\x00\x00\x00\x06\
\x62\x4b\x47\x44\x00\xff\x00\xff\x00\xff\xa0\xbd\xa7\x93\x00\x00\
\x00\x07\x74\x49\x4d\x45\x07\xde\x0b\x11\x04\x03\x27\xf2\xbb\x98\
\x60\x00\x00\x0b\xe4\x49\x44\x41\x54\x68\xde\xe5\x9a\x7b\x6c\x1c\
\xc7\x79\xc0\x7f\x33\xbb\x7b\xef\x3b\x8a\xa4\xf8\x96\x48\x49\xa4\
\x25\x59\x91\x28\xc9\x72\xf4\x96\x6d\xc5\x6d\x9a\xca\x71\x22\x03\
\xb2\xe3\x5a\x71\xd2\x04\xa8\xdd\xb8\x06\x52\xd8\x4e\xd5\x36\x29\
\x60\xd4\x70\x5c\x38\x69\x8a\x06\x4d\xd0\xba\x45\x03\xb8\xa8\x0b\
\x34\x45\x0d\xd7\xad\x9d\x1a\x4d\xdc\xd4\x8f\xc0\x55\xf4\xb2\xf5\
\x20\x65\x53\x2f\x4a\x22\x45\x4a\x24\xef\x8e\xf7\xda\xdd\x99\xe9\
\x1f\x47\x52\x77\xe4\x1d\x7d\x92\x6c\x14\x45\x3f\xe0\x70\xb7\x3b\
\xdf\x7e\xf3\xfd\xbe\x99\x6f\xf6\x9b\xdd\x13\xc6\x18\xc3\xff\x61\
\x91\xff\xdb\x0e\xfc\xbf\x07\xb0\xaf\x45\xd9\x18\x83\x31\x3e\xda\
\xb8\x18\xe3\xa1\x8d\x87\xd6\x2e\x06\x1f\x8c\xc2\xa0\xd1\x5a\xe1\
\xfb\x06\xcf\xd3\xf8\xbe\x41\x69\x83\xd6\x60\x4c\xf1\x03\x02\x21\
\x04\x96\xb4\xb1\x2c\x1b\xc7\x0e\x60\xdb\x01\x02\x4e\x88\x60\x20\
\x8c\x6d\x3b\x1f\x1d\x80\x31\x06\xa5\x33\x14\xdc\x21\xf2\xee\x30\
\xae\x37\x4a\xde\x1b\xa6\xe0\x0d\xe1\xf9\x13\x78\x6a\x02\xcf\x9f\
\x40\xeb\x49\x94\xce\x71\x69\x24\xc3\xc5\xa1\x3c\xa3\x97\x0b\x8c\
\x8d\x17\x48\x4f\x7a\x14\x5c\x83\xef\x1a\x3c\x05\x46\x0b\x40\x60\
\x59\x01\xc2\xa1\x18\xe1\x70\x82\x44\xb4\x81\x44\xbc\x81\xfa\xba\
\x16\xda\x5b\x96\xb1\xa8\xed\x26\x3a\x5a\x7b\x68\x6f\x5e\x8a\xe3\
\x04\x3f\x14\x40\x54\x4a\x62\x5f\x65\x98\xcc\xf5\x31\x96\x7a\x93\
\x54\xf6\x28\x79\x77\x10\xd7\xbb\x82\xaf\x92\x28\x95\x45\xe3\x21\
\x00\x03\x08\xc0\x75\x0d\xef\x1e\xf5\x38\xf4\x6e\x81\x74\xd2\xc5\
\x53\x36\x9e\x49\xa0\x09\x82\xb0\x40\x48\x04\x80\x50\x48\xe3\x23\
\x85\x42\x90\x47\xea\x2c\xc2\xa8\x62\xb0\x84\xc4\xb6\xc3\xc4\x63\
\x0d\x34\x37\x2e\x62\xf5\xf2\x2d\xec\xdc\xfa\x05\xba\xbb\xd6\xcc\
\x0b\x52\x06\xe0\x7a\x57\x18\x9d\x78\x8d\xf3\x97\xff\x9e\x4c\xee\
\x7d\x94\xce\x62\x8c\x87\xa1\xa8\x32\xed\x74\xe9\x6f\x63\x0c\x07\
\x0e\xba\xfc\xfc\xcd\x3c\x79\xd5\xc8\x84\xbd\x93\x94\xbd\x8d\x9c\
\x5c\x84\x21\x80\xc1\x9a\xd2\x06\x21\xc0\x8e\x26\xb0\x63\x31\x2c\
\x9d\xc1\xf6\x47\x08\xba\xfd\x04\x0b\x27\x08\x15\x8e\x13\xf0\x06\
\x90\x3a\x8d\x30\x3e\x96\x65\x13\x8f\x35\xb2\x75\xc3\x5d\xec\xdd\
\xbd\x8f\x96\xa6\xae\xf9\x01\x5c\xef\x32\xfd\x83\x4f\x32\x3c\xf6\
\x2f\x68\x53\x98\xea\xf2\xaa\xc3\x65\x17\x95\xb4\x69\x65\xf8\xd9\
\x7f\xe6\xf8\xc5\x91\x66\xce\x86\xbf\x45\x5a\xae\x9b\xd2\xf1\xa7\
\xbe\xa7\xe0\x9d\x20\x76\xbc\x09\x19\x49\x4c\x59\x90\x18\x21\x01\
\x89\x30\x1a\xa9\xd3\x04\xdd\x3e\xa2\xd9\xb7\x88\x65\x5e\x27\x9c\
\xdf\x8f\xd4\x93\x20\x24\x9b\xd7\xef\xe2\x91\x2f\x7d\x87\xf6\x96\
\x65\x73\x7c\x99\x59\x85\x86\xc6\x5e\x62\x78\xec\x45\xb4\x29\x5c\
\xcd\x81\x1a\x92\xc8\xb2\xa0\xad\xcd\x22\x19\xf9\x1c\x69\xb9\x0e\
\x81\x87\xc4\x43\x60\x8a\xce\x1b\x83\xb0\x03\x38\xf5\xed\xc8\x70\
\x7c\xea\xbc\x46\xe0\x23\x8d\x8b\x34\x79\x04\x1e\x5a\x86\xc9\x86\
\x36\x70\xb9\xe1\x51\xce\xb7\xfd\x90\xe1\xe6\x67\xf0\xec\x0e\x30\
\x9a\xfd\x47\x5e\xe3\x85\x97\x9e\x65\x3c\x39\x52\x19\xc0\xf7\x5d\
\x06\x87\xdf\x41\xa0\x6a\x72\xde\x94\xb4\x1b\x60\xe5\x4d\x36\x9b\
\xd7\xe6\xc0\xe8\xb9\x5a\xb6\x83\x5d\xdf\x8e\x0c\x84\x11\xa2\xba\
\x45\x81\x46\xe2\x03\x1a\xdf\x6e\x66\x22\xf1\x00\xc3\xcd\xcf\xe0\
\xdb\xed\x28\xe5\xf1\xce\xa1\x57\x39\xda\xff\x36\xb3\x53\x56\x02\
\x28\xed\x31\x30\x38\x8e\xeb\x6b\xaa\xf6\x51\x55\x04\x4e\x40\xb0\
\x67\xcb\x4b\xdc\xbe\xfc\xa7\x68\x23\xaf\xc2\x4b\x0b\x27\xd1\x8c\
\x0c\x46\xe6\x09\x89\x98\x75\x24\x8a\xf9\x25\x20\x15\xdf\xc5\xd8\
\x82\x2f\x63\x84\xcd\x78\x72\x84\xfd\x47\x5e\x23\x93\x4b\xcd\x05\
\xb0\xed\x20\x9e\xdb\x40\xdf\x29\x77\x2a\x1a\x57\x4d\x8b\x79\xba\
\x9d\x6e\xd3\x46\x62\x09\x8f\x3d\xb7\xbe\xc0\x8a\x96\x7e\xb4\xb6\
\x30\x46\x20\x9c\x10\x22\x14\x9d\xc9\x83\xea\xe3\x39\x77\x7c\x8b\
\xd7\xd8\x4c\x46\x7f\x05\x2d\xe3\x80\xe1\xf4\xe0\x31\xb2\xd9\x0a\
\x00\x96\xb4\x59\xde\xb5\x95\xfe\x01\xc5\xa9\x41\xaf\xcc\xa8\x99\
\xa7\xdb\xd2\x36\x65\x2c\x5a\x12\x17\x78\x70\xf3\xdf\xb0\xa8\x7e\
\x10\x83\x40\x3a\x21\x84\xbc\xa6\x7b\xe5\x9c\x5e\x7c\xab\x0d\x25\
\xe3\x60\x0c\x63\x13\x97\x70\xbd\xfc\x5c\x00\x80\x4d\x6b\xee\x65\
\x49\xfb\x56\x8e\x9c\xc8\x71\xe9\x8a\x2a\x5b\x32\x67\x0f\xb4\x98\
\xf5\x29\x6d\x59\xd5\xf1\x2e\x5f\xdd\xfe\x97\xc4\x82\x19\x0c\xf6\
\x9c\xf6\xea\x96\x2a\xeb\x18\x61\x81\x28\x06\xc1\x57\x2e\xba\x2c\
\xcf\x4a\x00\x82\x81\x08\xbb\x77\xfe\x21\xd1\xf0\x32\x0e\x1e\xcd\
\x92\xce\x28\x64\x89\xdd\x52\x98\xd2\x04\x2e\x3f\x2f\x50\xda\xa2\
\x77\xf1\x01\xf6\x6c\xf8\x07\x1c\x91\x46\x95\xf5\x37\x7d\xc5\x7c\
\x8b\x74\xb9\x08\x53\x40\xe8\x02\x08\x08\xd8\x41\xa4\x28\x2f\xdf\
\xca\x8e\x7a\x3a\x37\x73\xe7\xc6\x87\x48\x4d\x06\x39\x74\x3c\x87\
\xd2\xa6\x6a\x1e\x54\x9f\x5a\x02\x63\xe0\xd3\x9f\xf8\x57\x3e\xb3\
\xe2\x9f\x91\xc6\xc7\x98\xeb\xad\x19\x25\xb6\x1a\x47\x9a\x2c\x20\
\x48\xc4\x1b\x71\xec\xe0\x2c\x8d\x12\x71\xec\x20\xdb\xd7\x3f\xc8\
\x96\xde\xfb\x38\x3f\xac\x39\x72\x22\x8f\xaf\xae\xba\x5a\x09\xa4\
\xf2\x54\x92\xd8\x96\xcb\x3d\x6b\x7f\xc4\xa7\x96\xfc\x23\x52\x28\
\x8c\x29\xd5\x98\x3d\x9e\x25\xc7\x57\xab\xbe\x62\x1a\xfb\xe7\x91\
\xda\xc5\x20\xe8\x68\xed\x21\x1c\x8a\x55\x07\x00\x88\x47\x1b\xb9\
\xfb\xf6\x7d\x74\xb6\xae\xa5\xff\x74\x9e\x81\x73\xee\x4c\x29\x31\
\xdb\xf1\xf9\xc4\x20\x09\xdb\x93\xec\x59\xf5\xa7\x6c\x6a\x7b\x05\
\x65\xec\x59\x10\x55\x64\x26\x1a\x02\x81\xc1\xf1\x2e\x02\x2e\x52\
\x48\xda\x5b\x96\x11\x0a\x46\xe6\x07\x00\x68\x69\xec\x66\xf7\xce\
\x6f\x62\xcb\x04\x47\x4f\xe6\x18\x9b\x28\xe6\x83\xa9\xd0\x57\xa5\
\x73\xd3\xa2\xb1\x88\x05\xc6\xb8\x7f\xd5\xd3\xac\x5e\xf8\xd6\x14\
\x44\x6d\x04\x06\x03\xc6\xc7\xf1\xcf\x83\xf1\x08\x87\x62\xb4\xb7\
\x74\xe3\x38\x81\x0f\x07\x00\x58\xdd\x73\x27\xbb\x76\x3c\x86\xe7\
\x85\x78\xeb\x40\x86\x74\x46\x97\x25\xf5\xf4\x10\x97\x7e\x4f\xff\
\x2e\x3d\xd6\x46\x52\x1f\x1a\xe6\x6b\xb7\x7c\x9d\x3b\x16\xff\x98\
\x68\xc0\x23\x12\x90\x04\x2c\x31\xc7\x5e\xb9\x35\x89\x65\x72\x04\
\xbc\xb3\x80\x21\x1e\xab\x67\x61\x7d\x1b\x62\x56\x12\x57\x5d\xa4\
\x03\x4e\x84\xed\xeb\xf7\x32\x78\x69\x3f\xff\xfd\xde\x2b\x1c\x3c\
\x96\x65\x63\x6f\x84\x50\xf0\xaa\x81\x4a\x23\x50\x29\xa2\x1a\x58\
\x10\x1c\x66\xef\xea\x27\xd9\x3e\x79\x12\x3b\xfc\x04\x59\x3f\xca\
\x68\xda\xe7\x42\xd2\x30\x32\xa9\xb9\x90\x34\x8c\xe7\x4a\x43\x22\
\x90\x3a\x8d\xed\x5f\x42\x00\x89\x68\x3d\xf5\x75\xcd\x73\xac\x57\
\x05\xc8\xbb\xa7\x30\xe2\xbf\xd8\xd8\x1b\xe6\xe4\xd9\x10\xe7\x2e\
\x66\xa9\x8b\x5b\xf4\xae\x08\x81\x10\x73\x72\x60\x76\x99\x3d\x17\
\xc2\x22\x6c\xa7\x58\xd3\xf8\x3c\x8b\x9a\xa0\xb3\xf5\x77\x51\xa6\
\x81\x64\xde\x30\x9e\x35\x5c\x48\x1a\xde\x3e\xe3\xf3\xc6\x29\xc5\
\xc9\x51\x8d\xa7\xc1\x52\x63\xd8\xfe\x15\x10\x82\xc6\xfa\x76\x16\
\x36\x74\xcc\x0f\xe0\xf9\x59\xb2\x85\x3e\x32\xf9\x37\x48\xe7\xf6\
\x63\x4c\x9a\x05\x75\x9a\xad\x1b\x7a\xf9\xb7\xd7\x8f\x70\xfc\xfd\
\x3c\xb1\xa8\xa4\xa7\x33\x58\x5c\x2c\xaa\xc6\xbc\x72\x9b\x41\xe2\
\xa9\x1c\xe7\x46\xfe\x0e\x08\xb0\xa4\xed\x51\xda\x12\xf5\xb4\x25\
\xe0\xe6\x16\xc3\x8e\x6e\x8b\x87\xb7\x18\xfe\xbd\xdf\xe7\xfb\x6f\
\xf8\xa4\x86\x2e\x61\xe9\x2b\xd8\x96\xcd\xd2\xc5\xab\x88\x45\x17\
\xcc\x0f\x30\x30\xf8\x36\xbf\x38\xfa\x07\x2c\x5f\x9a\xa0\x3e\x11\
\x26\x99\x6b\xe2\x83\xd1\xf5\x1c\x1e\xdd\x8e\x8e\xbf\x84\x97\xfe\
\x33\x0e\xbc\x97\xa5\x2e\x66\xd1\xd4\x50\x4c\xc8\xda\xa6\x51\x29\
\x84\xc0\xd7\x39\xce\x8e\xfc\x08\x03\x74\x77\xfc\x1e\x96\x0c\x22\
\x84\x20\x64\x43\x6b\x42\xf0\xe5\x4f\x06\x68\x89\xc1\x93\xcf\x5f\
\x44\xea\x34\x4e\x28\xc4\x8a\xee\x5b\x11\x15\xca\xd9\x32\x00\x5f\
\x49\xde\x3c\xd0\xc7\x89\x01\x87\xce\x9e\xaf\x32\x90\xfa\x0a\x43\
\xc9\xa5\x14\xfc\x30\x76\xa4\x91\x80\x7b\x80\x7c\xfe\x27\x1c\x39\
\x91\x63\xcb\x2d\x51\x22\x21\x59\xb1\x14\xab\x65\x54\xb4\xce\x70\
\x6e\xe4\x6f\x89\x85\x57\xd0\xd6\x78\xef\x1c\xe7\x36\x76\xc2\xad\
\x2d\x49\xfa\xce\xb8\x84\x82\x0d\x2c\xeb\xea\xad\x68\xb7\x2c\xa5\
\x1b\xea\xda\x49\x44\x5b\x18\x1a\x99\xe0\xcd\xe3\x3d\x9c\x1d\x5f\
\x85\xa7\x22\x48\x21\xd0\xd6\x62\xbc\xf8\x37\x11\xce\x4d\x0c\x8d\
\xba\x1c\x3e\x9e\xc3\xf5\x4c\xcd\xe5\x77\x25\x50\xa5\xb3\x0c\x5c\
\xfc\x2e\x23\x13\xaf\x62\x8c\x2a\x6b\x77\xc8\xb1\x50\xf4\x01\x82\
\x65\x9d\xbd\xb4\x2c\xec\xfc\x70\x80\x70\x30\x41\xeb\xc2\x9e\xe2\
\x4a\xac\x2e\x22\x84\x40\x88\xe2\x5e\x56\x20\xd1\x81\x2d\xb8\x89\
\x6f\x63\x88\x31\x70\xae\x40\xdf\xa9\x3c\x52\xce\x57\xdc\x55\x1f\
\x8d\x69\xc9\x15\xce\x32\x70\xe1\x59\x26\x26\x7f\x39\x6b\xb3\x62\
\x58\x10\x8b\xd2\xbd\x64\x2d\x3b\xb7\xdc\x8b\x25\xad\x1a\x00\x42\
\x09\x16\xb7\xf6\x22\xa4\x44\xf8\xfd\x88\x59\x95\x1f\x80\x0a\xee\
\x42\x45\xbe\x04\x48\x8e\x7f\x90\xe7\xe2\xa8\x37\xb3\xd3\x9a\x7d\
\x0f\xa8\x65\x34\x0c\x30\x99\x3b\xc1\xe9\xa1\xbf\x40\xe9\xec\xcc\
\xf9\x68\x38\xce\xde\x7b\xf6\xf1\x8d\x87\x9f\x63\xfb\xc6\xcf\x57\
\xb5\x55\x06\x10\x74\x22\x74\xb6\xf6\x12\x0a\x26\x90\xaa\x1f\x74\
\xb2\x42\xf8\x02\x78\xd1\x47\xd1\xc1\x9d\x78\xae\xe6\xc0\x7b\x39\
\x92\x69\x55\x75\xbb\x58\xcb\x88\x18\xe0\x4a\xea\x75\x2e\x8d\xbd\
\x3c\x33\x0a\x52\x5a\x34\x35\x74\xd0\xb3\x64\x2d\xb1\x48\x5d\x6d\
\x00\x42\x48\x96\x76\xdc\x42\x5b\xd3\xcd\x08\x35\x84\xf4\x0e\x55\
\x74\xc9\xd8\xcb\xf1\x12\x4f\x61\x02\x6b\x19\x1b\xf7\x38\x74\x3c\
\x47\xbe\x30\x7f\xd1\x57\xa9\xad\xac\xec\x30\x1e\x67\x86\x7f\x48\
\x36\x7f\xaa\x06\xe4\x2a\x00\x00\x2d\x0d\x3d\xac\x58\xb2\x03\x5b\
\xe4\xb0\x0a\xaf\x82\xc9\x57\xbc\x50\x3b\xb7\xe2\xc5\x9e\x00\x21\
\x39\x3f\xec\x72\xf2\x74\x61\xa6\x34\xa8\x65\x03\x39\x7b\xdb\x2a\
\x80\xbc\x7b\x9e\xcb\xa9\xd7\x31\x15\xa6\x6e\xcd\x00\xb6\x1d\x60\
\xdb\xba\x07\x88\x86\xe3\x58\x85\xff\x40\xf8\xc7\xaa\x38\x24\x50\
\xa1\xdd\xa8\xc8\x83\x28\xa5\x39\xfa\x7e\x8e\xa1\x51\x0f\x4b\x56\
\xd2\xa4\xea\x9d\xbb\x54\x94\xce\x92\xca\x1c\xc6\x57\x93\xd7\x0f\
\x00\xd0\xd9\xda\xcb\x9d\x9b\xbe\x86\xe5\x1f\xc3\xc9\x3c\x87\x30\
\xa9\xca\x57\x8b\x70\x71\x2a\x85\x77\xe3\x7b\xb0\xff\x48\x96\xe4\
\x64\x79\x3e\x18\xe6\x26\x77\x29\x50\x39\x88\xc1\xf5\x46\xf1\x55\
\x95\xfe\x6a\x05\x00\xd8\xd2\xfb\x05\xda\x9a\x56\x60\xe5\x5f\xc4\
\x72\xdf\xa9\x3a\x2d\xb4\x68\xc3\x8b\xfe\x0e\x38\xdd\x24\x27\x7d\
\x8e\x9d\x2c\xe0\xba\xf3\xdf\x1f\xe6\x6e\x45\xab\x8f\xca\x75\x03\
\x2c\x5c\xd0\xc5\x9d\x1b\x7f\x9b\x70\xc0\xc3\x49\x3f\x85\xd0\x23\
\x95\x15\x85\x40\x05\xb7\xe1\xc5\x1e\xc7\x18\x8b\xd3\xe7\x0b\x9c\
\xb9\xe0\x5e\xc7\xf3\xa5\xa2\x38\x76\x3d\xb6\x15\xab\x59\xbf\x2a\
\x80\x65\x39\x6c\x59\x7b\x3f\x9b\xd7\xdc\x8f\xa3\x0e\x12\x48\x7d\
\x0b\xf4\x95\xb9\xfe\x03\x10\xc4\x8f\xfc\x26\x2a\xfa\x10\xbe\x27\
\x78\xaf\x3f\xc7\xc4\x3c\x4b\x6b\x69\xe4\x4b\xa7\x92\x63\xd5\xd1\
\x98\xb8\x03\xdb\xaa\xa3\x56\xa9\x0a\x20\x84\x20\x16\x69\xe4\xb3\
\xb7\x7d\x83\x25\x1d\xeb\xb1\xf2\xff\x84\x93\x7d\x0e\x4c\xa6\x0a\
\x84\x8d\x17\x7b\x0c\x13\xdc\x46\x26\xa3\x38\x74\x3c\x87\xef\x9b\
\xaa\xcb\x26\x15\xce\x37\x26\x6e\xa7\xb9\xfe\x33\x15\x8b\xb6\x6b\
\x06\x98\x96\xe6\x86\x65\xdc\xb3\xf3\x8f\x58\x10\x8d\x62\x4f\x7e\
\x1f\x3b\xf7\x42\xf5\x88\x5a\x8b\xf1\xe2\x8f\x21\x9c\x2e\x2e\x5c\
\x72\x39\x75\xce\x9d\xb7\xb8\x9b\x79\x44\x0f\x44\x83\xcb\x58\xd6\
\xfe\x38\x8e\xbd\xa0\x66\xe7\x6b\x02\x00\xf8\x44\xf7\x4e\xbe\x78\
\xd7\xf7\x68\x4c\x84\x71\x52\xfb\xb0\xb3\xcf\x03\xf9\x0a\x05\x9a\
\x8d\x0a\xfe\x1a\x5e\xec\xeb\x68\x1d\xa0\xef\x54\x9e\x89\x94\xfa\
\x90\x1b\x9b\xa4\x2e\xb2\x8e\x55\x4b\xbe\x47\x2c\xbc\xfc\x9a\x9c\
\xaf\x19\xc0\xb2\x1c\xd6\xaf\xfc\x2c\x77\xdf\xb6\x8f\x86\x58\x1c\
\x27\xf5\xfb\xd8\x99\xbf\x46\x98\xf2\x52\xa3\xe8\xa8\x83\x1f\xde\
\x8b\x76\x56\x93\x4c\x7b\x7c\x70\xa6\x80\x2e\x79\x4c\x72\x55\xaf\
\x28\x0d\x89\x1d\xac\xec\xfa\x36\xf5\xf1\x4d\x73\xf6\xbb\x1f\x19\
\x00\x40\xc0\x09\xb3\x7d\xfd\x17\xb9\xf7\xd3\x4f\x13\x0b\x7a\x38\
\xe9\xa7\x71\xd2\xcf\x80\xc9\xcd\xd1\x35\xb2\x11\x15\xf9\x0a\xc6\
\x08\x4e\x9f\x2f\xcc\x3c\xd5\x98\x2d\x8d\x89\x3b\x58\xd9\xf9\x14\
\x0b\x62\x1b\xae\xcb\xf9\x6b\x02\x00\x08\x06\xa2\x6c\x5e\x73\x1f\
\xbf\xf1\xeb\xdf\xa5\xa9\x2e\x4e\x20\xfb\x03\x02\xc9\x47\x11\xaa\
\x1f\xf0\xcb\x5e\x45\xa9\xe0\x1d\x08\xab\x89\x5c\x4e\x71\x7a\xd0\
\x2d\x5b\x91\x2c\x19\xa1\xbd\xf1\x01\x6e\xee\x7a\x96\x58\x78\xc5\
\x75\x39\x3e\x2d\xd7\xfc\xe8\xd8\xb6\x03\x6c\x5b\xbf\x97\xa6\x86\
\xa5\xbc\xfc\xf3\x3f\xe1\xe8\x07\xcf\x23\xbd\xc3\x78\x91\x47\x50\
\xe1\xbb\x40\xb6\x4e\x2d\x8f\x06\x84\x85\x90\x70\x79\xdc\x47\xa9\
\xe2\xbe\x22\xe8\xb4\xd3\xd5\xfa\x30\xed\x8d\xf7\x11\x70\x1a\x6e\
\xc8\xf9\xeb\x02\x28\x46\xd0\xe6\xe6\xa5\xb7\x51\x1f\x6f\xe3\xc5\
\x9f\xfd\x31\x87\xfa\x5e\x26\x97\x7a\x02\x55\x78\x0d\x15\xfe\x3c\
\xc6\xea\xc0\xce\xfd\x18\xa1\x47\x99\x79\x65\x22\x20\x12\xea\xa1\
\xbb\xfd\x71\x5a\x1a\x3e\x87\x14\x37\xf2\xd8\xfd\xaa\x88\x1b\xfd\
\xaf\x44\x6a\x72\x84\xc3\xfd\xaf\xf0\x93\xb7\xff\x9c\x8b\xa3\xfd\
\x28\x13\x06\x11\x06\x3d\x06\xc6\x43\x69\x58\xb3\xa2\x8e\x5d\x3b\
\xee\xa6\xab\xf9\x11\x12\xd1\x75\x48\x79\x6d\x2f\xb3\x3f\x56\x80\
\x69\x49\x67\x2e\xf3\xd3\x77\xfe\x8a\x5f\x1e\x7f\x91\x2b\xc9\x41\
\x72\x85\x14\x96\x74\xe8\x6c\x5b\xcc\x9e\x5f\xfd\x2d\x56\x76\x3d\
\x84\x65\x45\x6e\xbc\xa3\x8f\x0b\x00\x40\x29\x8f\xa1\xcb\x27\x39\
\x73\xe1\x20\x23\xe3\xa7\x89\x84\x63\xac\xee\xd9\x44\xfb\xc2\x4f\
\x22\x65\xe0\xc6\x3b\xf8\xb8\x01\xa6\xc5\x18\x83\x52\x2e\x42\x58\
\x58\xd6\x47\x33\xd7\xab\xc9\xff\x00\xbd\xd9\x0a\x65\xdf\x68\x9f\
\x0e\x00\x00\x00\x25\x74\x45\x58\x74\x64\x61\x74\x65\x3a\x63\x72\
\x65\x61\x74\x65\x00\x32\x30\x31\x34\x2d\x31\x31\x2d\x31\x30\x54\
\x30\x35\x3a\x32\x30\x3a\x30\x36\x2b\x30\x31\x3a\x30\x30\x8d\xd4\
\xe4\x1f\x00\x00\x00\x25\x74\x45\x58\x74\x64\x61\x74\x65\x3a\x6d\
\x6f\x64\x69\x66\x79\x00\x32\x30\x31\x34\x2d\x31\x30\x2d\x31\x36\
\x54\x30\x35\x3a\x32\x32\x3a\x31\x38\x2b\x30\x32\x3a\x30\x30\xf2\
\x2f\xb1\x0f\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
"
qt_resource_name = "\
\x00\x06\
\x07\x03\x7d\xc3\
\x00\x69\
\x00\x6d\x00\x61\x00\x67\x00\x65\x00\x73\
\x00\x03\
\x00\x00\x70\x37\
\x00\x69\
\x00\x6d\x00\x67\
\x00\x07\
\x0b\xb6\x57\xa7\
\x00\x75\
\x00\x64\x00\x73\x00\x2e\x00\x70\x00\x6e\x00\x67\
"
qt_resource_struct = "\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\
\x00\x00\x00\x12\x00\x02\x00\x00\x00\x01\x00\x00\x00\x03\
\x00\x00\x00\x1e\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
"
def qInitResources():
QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
def qCleanupResources():
QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data)
qInitResources()

View File

@@ -1,240 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>UDSAboutDialog</class>
<widget class="QDialog" name="UDSAboutDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>466</width>
<height>402</height>
</rect>
</property>
<property name="font">
<font>
<family>Verdana</family>
<pointsize>9</pointsize>
</font>
</property>
<property name="windowTitle">
<string>About UDS Actor</string>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="modal">
<bool>true</bool>
</property>
<layout class="QVBoxLayout">
<property name="spacing">
<number>9</number>
</property>
<property name="margin">
<number>9</number>
</property>
<item>
<widget class="QLabel" name="LogoLabel">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;img src=&quot;:/images/img/uds.png&quot;/&gt; UDS Actor Tools&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>5</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="TitleLabel">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:9pt; font-weight:600;&quot;&gt;UDS Actor&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="VersionLabel">
<property name="text">
<string>Version 1.7.0</string>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>5</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="aboutTab">
<attribute name="title">
<string>&amp;About</string>
</attribute>
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>9</number>
</property>
<item>
<widget class="QTextBrowser" name="aboutBrowser">
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Verdana'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif';&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-weight:600;&quot;&gt;(c) 2014, Virtual Cable S.L.U.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-style:italic;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;http://www.udsenterprise.com&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.udsenterprise.com&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;a href=&quot;http://www.openuds.org&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt; text-decoration: underline; color:#0000ff;&quot;&gt;http://www.openuds.org&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif';&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="authorsTab">
<attribute name="title">
<string>A&amp;uthors</string>
</attribute>
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>9</number>
</property>
<item>
<widget class="QTextBrowser" name="authorsBrowser">
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Verdana'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif';&quot;&gt;Adolfo Gómez García &amp;lt;agomez@virtualcable.es&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="openExternalLinks">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="licenseTab">
<attribute name="title">
<string>&amp;License Agreement</string>
</attribute>
<layout class="QVBoxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="margin">
<number>9</number>
</property>
<item>
<widget class="QTextBrowser" name="licenseBrowser">
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Verdana'; font-size:9pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;Copyright (c) 2014 Virtual Cable S.L.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;All rights reserved.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;Redistribution and use in source and binary forms, with or without modification,&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;are permitted provided that the following conditions are met:&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt; * Redistributions of source code must retain the above copyright notice,&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt; this list of conditions and the following disclaimer.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt; * Redistributions in binary form must reproduce the above copyright notice,&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt; this list of conditions and the following disclaimer in the documentation&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt; and/or other materials provided with the distribution.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt; * Neither the name of Virtual Cable S.L. nor the names of its contributors&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt; may be used to endorse or promote products derived from this software&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt; without specific prior written permission.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &amp;quot;AS IS&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Close</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources>
<include location="UDSActor.qrc"/>
</resources>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>clicked(QAbstractButton*)</signal>
<receiver>UDSAboutDialog</receiver>
<slot>closeDialog()</slot>
<hints>
<hint type="sourcelabel">
<x>432</x>
<y>381</y>
</hint>
<hint type="destinationlabel">
<x>282</x>
<y>362</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>closeDialog()</slot>
</slots>
</ui>

View File

@@ -1,154 +0,0 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'about-dialog.ui'
#
# Created: Tue Dec 09 10:54:30 2014
# by: PyQt4 UI code generator 4.11.2
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_UDSAboutDialog(object):
def setupUi(self, UDSAboutDialog):
UDSAboutDialog.setObjectName(_fromUtf8("UDSAboutDialog"))
UDSAboutDialog.resize(466, 402)
font = QtGui.QFont()
font.setFamily(_fromUtf8("Verdana"))
font.setPointSize(9)
UDSAboutDialog.setFont(font)
UDSAboutDialog.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
UDSAboutDialog.setModal(True)
self.vboxlayout = QtGui.QVBoxLayout(UDSAboutDialog)
self.vboxlayout.setSpacing(9)
self.vboxlayout.setMargin(9)
self.vboxlayout.setObjectName(_fromUtf8("vboxlayout"))
self.LogoLabel = QtGui.QLabel(UDSAboutDialog)
self.LogoLabel.setObjectName(_fromUtf8("LogoLabel"))
self.vboxlayout.addWidget(self.LogoLabel)
spacerItem = QtGui.QSpacerItem(20, 5, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
self.vboxlayout.addItem(spacerItem)
self.TitleLabel = QtGui.QLabel(UDSAboutDialog)
self.TitleLabel.setObjectName(_fromUtf8("TitleLabel"))
self.vboxlayout.addWidget(self.TitleLabel)
self.VersionLabel = QtGui.QLabel(UDSAboutDialog)
self.VersionLabel.setObjectName(_fromUtf8("VersionLabel"))
self.vboxlayout.addWidget(self.VersionLabel)
spacerItem1 = QtGui.QSpacerItem(20, 5, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
self.vboxlayout.addItem(spacerItem1)
self.tabWidget = QtGui.QTabWidget(UDSAboutDialog)
self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
self.aboutTab = QtGui.QWidget()
self.aboutTab.setObjectName(_fromUtf8("aboutTab"))
self.vboxlayout1 = QtGui.QVBoxLayout(self.aboutTab)
self.vboxlayout1.setSpacing(6)
self.vboxlayout1.setMargin(9)
self.vboxlayout1.setObjectName(_fromUtf8("vboxlayout1"))
self.aboutBrowser = QtGui.QTextBrowser(self.aboutTab)
self.aboutBrowser.setOpenExternalLinks(True)
self.aboutBrowser.setObjectName(_fromUtf8("aboutBrowser"))
self.vboxlayout1.addWidget(self.aboutBrowser)
self.tabWidget.addTab(self.aboutTab, _fromUtf8(""))
self.authorsTab = QtGui.QWidget()
self.authorsTab.setObjectName(_fromUtf8("authorsTab"))
self.vboxlayout2 = QtGui.QVBoxLayout(self.authorsTab)
self.vboxlayout2.setSpacing(6)
self.vboxlayout2.setMargin(9)
self.vboxlayout2.setObjectName(_fromUtf8("vboxlayout2"))
self.authorsBrowser = QtGui.QTextBrowser(self.authorsTab)
self.authorsBrowser.setOpenExternalLinks(True)
self.authorsBrowser.setObjectName(_fromUtf8("authorsBrowser"))
self.vboxlayout2.addWidget(self.authorsBrowser)
self.tabWidget.addTab(self.authorsTab, _fromUtf8(""))
self.licenseTab = QtGui.QWidget()
self.licenseTab.setObjectName(_fromUtf8("licenseTab"))
self.vboxlayout3 = QtGui.QVBoxLayout(self.licenseTab)
self.vboxlayout3.setSpacing(6)
self.vboxlayout3.setMargin(9)
self.vboxlayout3.setObjectName(_fromUtf8("vboxlayout3"))
self.licenseBrowser = QtGui.QTextBrowser(self.licenseTab)
self.licenseBrowser.setObjectName(_fromUtf8("licenseBrowser"))
self.vboxlayout3.addWidget(self.licenseBrowser)
self.tabWidget.addTab(self.licenseTab, _fromUtf8(""))
self.vboxlayout.addWidget(self.tabWidget)
self.buttonBox = QtGui.QDialogButtonBox(UDSAboutDialog)
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.vboxlayout.addWidget(self.buttonBox)
self.retranslateUi(UDSAboutDialog)
self.tabWidget.setCurrentIndex(0)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("clicked(QAbstractButton*)")), UDSAboutDialog.closeDialog)
QtCore.QMetaObject.connectSlotsByName(UDSAboutDialog)
def retranslateUi(self, UDSAboutDialog):
UDSAboutDialog.setWindowTitle(_translate("UDSAboutDialog", "About UDS Actor", None))
self.LogoLabel.setText(_translate("UDSAboutDialog", "<html><head/><body><p><img src=\":/images/img/uds.png\"/> UDS Actor Tools</p></body></html>", None))
self.TitleLabel.setText(_translate("UDSAboutDialog", "<html><head/><body><p><span style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:600;\">UDS Actor</span></p></body></html>", None))
self.VersionLabel.setText(_translate("UDSAboutDialog", "Version 1.7.0", None))
self.aboutBrowser.setHtml(_translate("UDSAboutDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Verdana\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Sans Serif\';\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Sans Serif\'; font-weight:600;\">(c) 2014, Virtual Cable S.L.U.</span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Sans Serif\'; font-style:italic;\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a href=\"http://www.udsenterprise.com\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt; text-decoration: underline; color:#0000ff;\">http://www.udsenterprise.com</span></a></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><a href=\"http://www.openuds.org\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt; text-decoration: underline; color:#0000ff;\">http://www.openuds.org</span></a></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'Sans Serif\';\"><br /></p></body></html>", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.aboutTab), _translate("UDSAboutDialog", "&About", None))
self.authorsBrowser.setHtml(_translate("UDSAboutDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Verdana\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'Sans Serif\';\">Adolfo Gómez García &lt;agomez@virtualcable.es&gt;</span></p></body></html>", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.authorsTab), _translate("UDSAboutDialog", "A&uthors", None))
self.licenseBrowser.setHtml(_translate("UDSAboutDialog", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Verdana\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">Copyright (c) 2014 Virtual Cable S.L.</span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">All rights reserved.</span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">Redistribution and use in source and binary forms, with or without modification,</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">are permitted provided that the following conditions are met:</span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"> * Redistributions of source code must retain the above copyright notice,</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"> this list of conditions and the following disclaimer.</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"> * Redistributions in binary form must reproduce the above copyright notice,</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"> this list of conditions and the following disclaimer in the documentation</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"> and/or other materials provided with the distribution.</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"> * Neither the name of Virtual Cable S.L. nor the names of its contributors</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"> may be used to endorse or promote products derived from this software</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"> without specific prior written permission.</span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot;</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-family:\'MS Shell Dlg 2\'; font-size:8pt;\">OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></p>\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8pt;\"><br /></p></body></html>", None))
self.tabWidget.setTabText(self.tabWidget.indexOf(self.licenseTab), _translate("UDSAboutDialog", "&License Agreement", None))
import UDSActor_rc

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -1,89 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>UDSMessageDialog</class>
<widget class="QDialog" name="UDSMessageDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>339</width>
<height>188</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>Verdana</family>
<pointsize>10</pointsize>
</font>
</property>
<property name="windowTitle">
<string>UDS Actor</string>
</property>
<widget class="QWidget" name="verticalLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>321</width>
<height>171</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTextBrowser" name="message"/>
</item>
<item>
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>15</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections>
<connection>
<sender>buttonBox</sender>
<signal>clicked(QAbstractButton*)</signal>
<receiver>UDSMessageDialog</receiver>
<slot>closeDialog()</slot>
<hints>
<hint type="sourcelabel">
<x>203</x>
<y>161</y>
</hint>
<hint type="destinationlabel">
<x>337</x>
<y>125</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>closeDialog()</slot>
</slots>
</ui>

View File

@@ -1,61 +0,0 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'message-dialog.ui'
#
# Created: Tue Dec 9 11:27:47 2014
# by: PyQt4 UI code generator 4.11.2
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_UDSMessageDialog(object):
def setupUi(self, UDSMessageDialog):
UDSMessageDialog.setObjectName(_fromUtf8("UDSMessageDialog"))
UDSMessageDialog.resize(339, 188)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(UDSMessageDialog.sizePolicy().hasHeightForWidth())
UDSMessageDialog.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily(_fromUtf8("Verdana"))
font.setPointSize(10)
UDSMessageDialog.setFont(font)
self.verticalLayoutWidget = QtGui.QWidget(UDSMessageDialog)
self.verticalLayoutWidget.setGeometry(QtCore.QRect(10, 10, 321, 171))
self.verticalLayoutWidget.setObjectName(_fromUtf8("verticalLayoutWidget"))
self.verticalLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget)
self.verticalLayout.setMargin(0)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.message = QtGui.QTextBrowser(self.verticalLayoutWidget)
self.message.setObjectName(_fromUtf8("message"))
self.verticalLayout.addWidget(self.message)
spacerItem = QtGui.QSpacerItem(20, 15, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
self.verticalLayout.addItem(spacerItem)
self.buttonBox = QtGui.QDialogButtonBox(self.verticalLayoutWidget)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Ok)
self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
self.verticalLayout.addWidget(self.buttonBox)
self.retranslateUi(UDSMessageDialog)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("clicked(QAbstractButton*)")), UDSMessageDialog.closeDialog)
QtCore.QMetaObject.connectSlotsByName(UDSMessageDialog)
def retranslateUi(self, UDSMessageDialog):
UDSMessageDialog.setWindowTitle(_translate("UDSMessageDialog", "UDS Actor", None))

View File

@@ -1,327 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>UdsActorSetupDialog</class>
<widget class="QDialog" name="UdsActorSetupDialog">
<property name="windowModality">
<enum>Qt::WindowModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>243</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>Verdana</family>
<pointsize>9</pointsize>
</font>
</property>
<property name="windowTitle">
<string>UDS Actor Configuration</string>
</property>
<property name="autoFillBackground">
<bool>false</bool>
</property>
<property name="locale">
<locale language="English" country="UnitedStates"/>
</property>
<property name="sizeGripEnabled">
<bool>false</bool>
</property>
<property name="modal">
<bool>true</bool>
</property>
<widget class="QPushButton" name="testButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>160</y>
<width>361</width>
<height>23</height>
</rect>
</property>
<property name="toolTip">
<string>Click to test the selecter parameters</string>
</property>
<property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Click on this button to test the server host and master key parameters.&lt;/p&gt;&lt;p&gt;A window will be displayed with results after the test is executed.&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;This button will only be active if all parameters are filled.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>Test parameters</string>
</property>
</widget>
<widget class="QPushButton" name="saveButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="geometry">
<rect>
<x>20</x>
<y>190</y>
<width>101</width>
<height>23</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Accepts changes and saves them</string>
</property>
<property name="whatsThis">
<string>Clicking on this button will accept all changes and save them, closing the configuration window</string>
</property>
<property name="text">
<string>Accept &amp;&amp; Save</string>
</property>
</widget>
<widget class="QPushButton" name="cancelButton">
<property name="geometry">
<rect>
<x>260</x>
<y>190</y>
<width>121</width>
<height>23</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Cancel all changes and discard them</string>
</property>
<property name="whatsThis">
<string>Discards all changes and closes the configuration window</string>
</property>
<property name="text">
<string>Cancel &amp;&amp; Discard</string>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>361</width>
<height>131</height>
</rect>
</property>
<layout class="QFormLayout" name="formLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="verticalSpacing">
<number>16</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label">
<property name="text">
<string>UDS Server Host</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="host">
<property name="acceptDrops">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Uds Broker Server Addres. Use IP or FQDN</string>
</property>
<property name="whatsThis">
<string>Enter here the UDS Broker Addres using either its IP address or its FQDN address</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>UDS Master Key</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="masterKey">
<property name="toolTip">
<string>Master key to communicate with UDS Broker</string>
</property>
<property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enter the Master Key (found on&lt;span style=&quot; font-weight:600;&quot;&gt; UDS Configuration&lt;/span&gt; section) of the UDS Broker to allow communication of the Actor with Broker&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Security</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QComboBox" name="useSSl">
<property name="toolTip">
<string>Select communication security with broker</string>
</property>
<property name="whatsThis">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Select the security for communications with UDS Broker.&lt;/p&gt;&lt;p&gt;The recommended method of communication is &lt;span style=&quot; font-weight:600;&quot;&gt;Use SSL&lt;/span&gt;, but selection needs to be acording to your broker configuration.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<item>
<property name="text">
<string>Do not use SSL</string>
</property>
</item>
<item>
<property name="text">
<string>Use SSL</string>
</property>
</item>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="logLevelLabel">
<property name="text">
<string>Log Level</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QComboBox" name="logLevelComboBox">
<property name="currentIndex">
<number>1</number>
</property>
<property name="frame">
<bool>true</bool>
</property>
<item>
<property name="text">
<string notr="true">DEBUG</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">INFO</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">ERROR</string>
</property>
</item>
<item>
<property name="text">
<string notr="true">FATAL</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</widget>
<resources/>
<connections>
<connection>
<sender>host</sender>
<signal>textChanged(QString)</signal>
<receiver>UdsActorSetupDialog</receiver>
<slot>textChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>123</x>
<y>31</y>
</hint>
<hint type="destinationlabel">
<x>143</x>
<y>48</y>
</hint>
</hints>
</connection>
<connection>
<sender>masterKey</sender>
<signal>textChanged(QString)</signal>
<receiver>UdsActorSetupDialog</receiver>
<slot>textChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>258</x>
<y>75</y>
</hint>
<hint type="destinationlabel">
<x>299</x>
<y>84</y>
</hint>
</hints>
</connection>
<connection>
<sender>cancelButton</sender>
<signal>pressed()</signal>
<receiver>UdsActorSetupDialog</receiver>
<slot>cancelAndDiscard()</slot>
<hints>
<hint type="sourcelabel">
<x>315</x>
<y>165</y>
</hint>
<hint type="destinationlabel">
<x>231</x>
<y>161</y>
</hint>
</hints>
</connection>
<connection>
<sender>testButton</sender>
<signal>pressed()</signal>
<receiver>UdsActorSetupDialog</receiver>
<slot>testParameters()</slot>
<hints>
<hint type="sourcelabel">
<x>239</x>
<y>132</y>
</hint>
<hint type="destinationlabel">
<x>285</x>
<y>185</y>
</hint>
</hints>
</connection>
<connection>
<sender>saveButton</sender>
<signal>pressed()</signal>
<receiver>UdsActorSetupDialog</receiver>
<slot>acceptAndSave()</slot>
<hints>
<hint type="sourcelabel">
<x>71</x>
<y>165</y>
</hint>
<hint type="destinationlabel">
<x>124</x>
<y>181</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>textChanged()</slot>
<slot>cancelAndDiscard()</slot>
<slot>testParameters()</slot>
<slot>acceptAndSave()</slot>
</slots>
</ui>

View File

@@ -1,142 +0,0 @@
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'setup-dialog.ui'
#
# Created: Tue Dec 9 17:29:24 2014
# by: PyQt4 UI code generator 4.11.2
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_UdsActorSetupDialog(object):
def setupUi(self, UdsActorSetupDialog):
UdsActorSetupDialog.setObjectName(_fromUtf8("UdsActorSetupDialog"))
UdsActorSetupDialog.setWindowModality(QtCore.Qt.WindowModal)
UdsActorSetupDialog.resize(400, 243)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(UdsActorSetupDialog.sizePolicy().hasHeightForWidth())
UdsActorSetupDialog.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setFamily(_fromUtf8("Verdana"))
font.setPointSize(9)
UdsActorSetupDialog.setFont(font)
UdsActorSetupDialog.setAutoFillBackground(False)
UdsActorSetupDialog.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
UdsActorSetupDialog.setSizeGripEnabled(False)
UdsActorSetupDialog.setModal(True)
self.testButton = QtGui.QPushButton(UdsActorSetupDialog)
self.testButton.setEnabled(False)
self.testButton.setGeometry(QtCore.QRect(20, 160, 361, 23))
self.testButton.setObjectName(_fromUtf8("testButton"))
self.saveButton = QtGui.QPushButton(UdsActorSetupDialog)
self.saveButton.setEnabled(False)
self.saveButton.setGeometry(QtCore.QRect(20, 190, 101, 23))
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.saveButton.sizePolicy().hasHeightForWidth())
self.saveButton.setSizePolicy(sizePolicy)
self.saveButton.setObjectName(_fromUtf8("saveButton"))
self.cancelButton = QtGui.QPushButton(UdsActorSetupDialog)
self.cancelButton.setGeometry(QtCore.QRect(260, 190, 121, 23))
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.cancelButton.sizePolicy().hasHeightForWidth())
self.cancelButton.setSizePolicy(sizePolicy)
self.cancelButton.setObjectName(_fromUtf8("cancelButton"))
self.layoutWidget = QtGui.QWidget(UdsActorSetupDialog)
self.layoutWidget.setGeometry(QtCore.QRect(20, 20, 361, 131))
self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
self.formLayout = QtGui.QFormLayout(self.layoutWidget)
self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
self.formLayout.setMargin(0)
self.formLayout.setVerticalSpacing(16)
self.formLayout.setObjectName(_fromUtf8("formLayout"))
self.label = QtGui.QLabel(self.layoutWidget)
self.label.setObjectName(_fromUtf8("label"))
self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
self.host = QtGui.QLineEdit(self.layoutWidget)
self.host.setAcceptDrops(False)
self.host.setObjectName(_fromUtf8("host"))
self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.host)
self.label_3 = QtGui.QLabel(self.layoutWidget)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_3)
self.masterKey = QtGui.QLineEdit(self.layoutWidget)
self.masterKey.setObjectName(_fromUtf8("masterKey"))
self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.masterKey)
self.label_4 = QtGui.QLabel(self.layoutWidget)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_4)
self.useSSl = QtGui.QComboBox(self.layoutWidget)
self.useSSl.setObjectName(_fromUtf8("useSSl"))
self.useSSl.addItem(_fromUtf8(""))
self.useSSl.addItem(_fromUtf8(""))
self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.useSSl)
self.logLevelLabel = QtGui.QLabel(self.layoutWidget)
self.logLevelLabel.setObjectName(_fromUtf8("logLevelLabel"))
self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.logLevelLabel)
self.logLevelComboBox = QtGui.QComboBox(self.layoutWidget)
self.logLevelComboBox.setFrame(True)
self.logLevelComboBox.setObjectName(_fromUtf8("logLevelComboBox"))
self.logLevelComboBox.addItem(_fromUtf8(""))
self.logLevelComboBox.setItemText(0, _fromUtf8("DEBUG"))
self.logLevelComboBox.addItem(_fromUtf8(""))
self.logLevelComboBox.setItemText(1, _fromUtf8("INFO"))
self.logLevelComboBox.addItem(_fromUtf8(""))
self.logLevelComboBox.setItemText(2, _fromUtf8("ERROR"))
self.logLevelComboBox.addItem(_fromUtf8(""))
self.logLevelComboBox.setItemText(3, _fromUtf8("FATAL"))
self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.logLevelComboBox)
self.retranslateUi(UdsActorSetupDialog)
self.logLevelComboBox.setCurrentIndex(1)
QtCore.QObject.connect(self.host, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), UdsActorSetupDialog.textChanged)
QtCore.QObject.connect(self.masterKey, QtCore.SIGNAL(_fromUtf8("textChanged(QString)")), UdsActorSetupDialog.textChanged)
QtCore.QObject.connect(self.cancelButton, QtCore.SIGNAL(_fromUtf8("pressed()")), UdsActorSetupDialog.cancelAndDiscard)
QtCore.QObject.connect(self.testButton, QtCore.SIGNAL(_fromUtf8("pressed()")), UdsActorSetupDialog.testParameters)
QtCore.QObject.connect(self.saveButton, QtCore.SIGNAL(_fromUtf8("pressed()")), UdsActorSetupDialog.acceptAndSave)
QtCore.QMetaObject.connectSlotsByName(UdsActorSetupDialog)
def retranslateUi(self, UdsActorSetupDialog):
UdsActorSetupDialog.setWindowTitle(_translate("UdsActorSetupDialog", "UDS Actor Configuration", None))
self.testButton.setToolTip(_translate("UdsActorSetupDialog", "Click to test the selecter parameters", None))
self.testButton.setWhatsThis(_translate("UdsActorSetupDialog", "<html><head/><body><p>Click on this button to test the server host and master key parameters.</p><p>A window will be displayed with results after the test is executed.</p><p><br/></p><p>This button will only be active if all parameters are filled.</p></body></html>", None))
self.testButton.setText(_translate("UdsActorSetupDialog", "Test parameters", None))
self.saveButton.setToolTip(_translate("UdsActorSetupDialog", "Accepts changes and saves them", None))
self.saveButton.setWhatsThis(_translate("UdsActorSetupDialog", "Clicking on this button will accept all changes and save them, closing the configuration window", None))
self.saveButton.setText(_translate("UdsActorSetupDialog", "Accept && Save", None))
self.cancelButton.setToolTip(_translate("UdsActorSetupDialog", "Cancel all changes and discard them", None))
self.cancelButton.setWhatsThis(_translate("UdsActorSetupDialog", "Discards all changes and closes the configuration window", None))
self.cancelButton.setText(_translate("UdsActorSetupDialog", "Cancel && Discard", None))
self.label.setText(_translate("UdsActorSetupDialog", "UDS Server Host", None))
self.host.setToolTip(_translate("UdsActorSetupDialog", "Uds Broker Server Addres. Use IP or FQDN", None))
self.host.setWhatsThis(_translate("UdsActorSetupDialog", "Enter here the UDS Broker Addres using either its IP address or its FQDN address", None))
self.label_3.setText(_translate("UdsActorSetupDialog", "UDS Master Key", None))
self.masterKey.setToolTip(_translate("UdsActorSetupDialog", "Master key to communicate with UDS Broker", None))
self.masterKey.setWhatsThis(_translate("UdsActorSetupDialog", "<html><head/><body><p>Enter the Master Key (found on<span style=\" font-weight:600;\"> UDS Configuration</span> section) of the UDS Broker to allow communication of the Actor with Broker</p></body></html>", None))
self.label_4.setText(_translate("UdsActorSetupDialog", "Security", None))
self.useSSl.setToolTip(_translate("UdsActorSetupDialog", "Select communication security with broker", None))
self.useSSl.setWhatsThis(_translate("UdsActorSetupDialog", "<html><head/><body><p>Select the security for communications with UDS Broker.</p><p>The recommended method of communication is <span style=\" font-weight:600;\">Use SSL</span>, but selection needs to be acording to your broker configuration.</p></body></html>", None))
self.useSSl.setItemText(0, _translate("UdsActorSetupDialog", "Do not use SSL", None))
self.useSSl.setItemText(1, _translate("UdsActorSetupDialog", "Use SSL", None))
self.logLevelLabel.setText(_translate("UdsActorSetupDialog", "Log Level", None))

View File

@@ -1,215 +0,0 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
import urllib3
from udsactor import operations
from udsactor import store
from udsactor import REST
from udsactor import ipc
from udsactor import httpserver
from time import sleep
import random
import requests
import json
import logging
def testRest():
# cfg = store.readConfig()
cfg = {'host': '172.27.0.1:8000', 'masterKey': '8f914604ad2c5c558575856299866bbb', 'ssl': False}
print(cfg)
print("Intefaces: ", list(operations.getNetworkInfo()))
print("Joined Domain: ", operations.getDomainName())
# renameComputer('win7-64')
# joinDomain('dom.dkmon.com', 'ou=pruebas_2,dc=dom,dc=dkmon,dc=com', 'administrador@dom.dkmon.com', 'Temporal2012', True)
# reboot()
r = REST.Api(cfg['host'], cfg['masterKey'], cfg['ssl'], scrambledResponses=True)
print("Connected: {}".format(r.isConnected))
r.test()
try:
r.init('02:46:00:00:00:07')
except REST.UnmanagedHostError:
print('Unmanaged host (confirmed)')
uuid = r.init('02:46:00:00:00:08')
print("Notify comm:", r.notifyComm('http://172.27.0.1:8000/'))
print("Connected: {}".format(r.isConnected))
print('uuid = {}'.format(uuid))
# print 'Login: {}'.format(r.login('test-user'))
# print 'Logout: {}'.format(r.logout('test-user'))
print("Information: >>{}<<".format(r.information()))
print("Login: >>{}<<".format(r.login('Pepito')))
print(r.setReady([(v.mac, v.ip) for v in operations.getNetworkInfo()]))
print(r.log(10000, 'Test error message'))
def ipcTest():
s = ipc.ServerIPC(39188) # I have got the enterprise number for Virtual Cable. This number is not about ports, but as good as any other selection :)
s.start()
sleep(1)
client = ipc.ClientIPC(39188)
client.start()
client2 = ipc.ClientIPC(39188)
client2.start()
print("Requesting information")
client.requestInformation()
print("Sending login info")
client.sendLogin('user1')
print("Sending logout info")
client.sendLogout('mariete' * 1000)
print('Sending message')
s.sendMessage(ipc.MSG_LOGOFF, None)
s.sendMessage(ipc.MSG_MESSAGE, 'Cierra la sesión')
s.sendMessage(33, 'invalid')
s.sendMessage(ipc.MSG_SCRIPT, 'print "hello"')
print('Message sent')
for c in (client, client2):
print(c.getMessage())
print(c.getMessage())
print(c.getMessage())
client.stop()
client.join()
s.sendMessage(ipc.MSG_LOGOFF, None)
s.sendMessage(ipc.MSG_MESSAGE, 'Cierra la sesión')
s.sendMessage(33, 'invalid')
s.sendMessage(ipc.MSG_SCRIPT, 'print "hello"')
print(client2.getMessage())
print(client2.getMessage())
print(client2.getMessage())
client2.stop()
s.stop()
client2.join()
s.join()
def ipcServer():
s = ipc.ServerIPC(39188, {'idle': 180}) # I have got the enterprise number for Virtual Cable. This number is not about ports, but as good as any other selection :)
s.start()
counter = 0
while True:
try:
counter += 1
print("Sending new message {}".format(counter))
s.sendMessage(ipc.MSG_MESSAGE, 'This is a test message ñöitó 33.3€ {}'.format(counter))
counter += 1
s.sendMessage(ipc.MSG_SCRIPT, 'print "This is a test message ñöitó 33.3€ {}"'.format(counter))
counter += 1
s.sendMessage(ipc.MSG_LOGOFF, None)
sleep(1)
except:
break
s.stop()
def testIdle():
for _ in range(1, 10):
print(operations.getIdleDuration())
sleep(1)
def testServer():
# Disable verify warinings
logging.getLogger("requests").setLevel(logging.ERROR)
urllib3.disable_warnings() # @UndefinedVariable
s = ipc.ServerIPC(39188) # I have got the enterprise number for Virtual Cable. This number is not about ports, but as good as any other selection :)
s.start()
client = ipc.ClientIPC(39188)
client.start()
while True:
try:
port = random.randrange(32000, 64000)
server = httpserver.HTTPServerThread(('172.27.0.8', port), s)
break
except:
pass
serverUrl = server.getServerUrl()
server.start()
print(serverUrl)
res = requests.post(serverUrl + '/message', data=json.dumps({'message': 'Test message'}), headers={'content-type': 'application/json'}, verify=False)
print(res)
print(res.json())
res = requests.post(serverUrl + '/script', data=json.dumps({'script': 'import time\ntime.sleep(1)\nfor v in xrange(10): print "Hello world, this is an script"'}), headers={'content-type': 'application/json'}, verify=False)
print(res)
print(res.json())
res = requests.post(serverUrl + '/script', data=json.dumps({'script': 'print "Hello world, this is an script"', 'user': True}), headers={'content-type': 'application/json'}, verify=False)
print(res)
print(res.json())
res = requests.get(serverUrl + '/information?param1=1&param2=2', headers={'content-type': 'application/json'}, verify=False)
print(res)
print(res.json())
print("Messages:")
print(client.getMessage())
print(client.getMessage())
# try:
# while True:
# Sleep(1000)
# except:
# pass
server.stop()
s.stop()
client.stop()
def testRemote():
serverUrl = "https://172.27.0.208:52562/633a1245873848b7b4017c23283bc195"
print(serverUrl)
res = requests.post(serverUrl + '/message', data=json.dumps({'message': 'Test message'}), headers={'content-type': 'application/json'}, verify=False)
print(res)
print(res.json())
res = requests.post(serverUrl + '/script', data=json.dumps({'script': 'import time\ntime.sleep(1)\nfor v in xrange(10): print "Hello world, this is an script"'}), headers={'content-type': 'application/json'}, verify=False)
print(res)
print(res.json())
res = requests.post(serverUrl + '/script', data=json.dumps({'script': 'print "Hello world, this is an script"', 'user': True}), headers={'content-type': 'application/json'}, verify=False)
print(res)
print(res.json())
res = requests.get(serverUrl + '/information?param1=1&param2=2', headers={'content-type': 'application/json'}, verify=False)
print(res)
print(res.json())
if __name__ == '__main__':
# ipcServer()
# ipcTest()
testRest()
# testIdle()
# testServer()
# testRemote()

View File

@@ -1,232 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 201 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
# pylint: disable-msg=E1101,W0703
from __future__ import unicode_literals
import requests
import logging
import json
import uuid
import six
import warnings
from udsactor.log import logger
from udsactor import __version__ as VERSION
from .utils import exceptionToMessage
VERIFY_CERT = False
class RESTError(Exception):
ERRCODE = 0
class ConnectionError(RESTError):
ERRCODE = -1
# Errors ""raised"" from broker
class InvalidKeyError(RESTError):
ERRCODE = 1
class UnmanagedHostError(RESTError):
ERRCODE = 2
class UserServiceNotFoundError(RESTError):
ERRCODE = 3
class OsManagerError(RESTError):
ERRCODE = 4
# Disable warnings log messages
try:
import urllib3 # @UnusedImport
except Exception:
from requests.packages import urllib3 # @Reimport
try:
urllib3.disable_warnings() # @UndefinedVariable
warnings.simplefilter("ignore")
except Exception:
pass # In fact, isn't too important, but wil log warns to logging file
def ensureResultIsOk(result):
if 'error' not in result:
return
for i in (InvalidKeyError, UnmanagedHostError, UserServiceNotFoundError, OsManagerError):
if result['error'] == i.ERRCODE:
raise i(result['result'])
err = RESTError(result['result'])
err.ERRCODE = result['error']
raise err
class Api(object):
def __init__(self, host, masterKey, ssl):
self.host = host
self.masterKey = masterKey
self.useSSL = True if ssl else False
self.uuid = None
self.mac = None
self.url = "{}://{}/rest/actor/".format(('http', 'https')[self.useSSL], self.host)
self.idle = None
self.secretKey = six.text_type(uuid.uuid4())
try:
self.newerRequestLib = requests.__version__.split('.')[0] >= '1'
except Exception:
self.newerRequestLib = False # I no version, guess this must be an old requests
# Disable logging requests messages except for errors, ...
logging.getLogger("requests").setLevel(logging.CRITICAL)
# Tries to disable all warnings
try:
warnings.simplefilter("ignore") # Disables all warnings
except Exception:
pass
def _getUrl(self, method, key=None, ids=None):
url = self.url + method
params = []
if key is not None:
params.append('key=' + key)
if ids is not None:
params.append('id=' + ids)
params.append('version=' + VERSION)
if len(params) > 0:
url += '?' + '&'.join(params)
return url
def _request(self, url, data=None):
try:
if data is None:
# Old requests version does not support verify, but they do not checks ssl certificate by default
if self.newerRequestLib:
r = requests.get(url, verify=VERIFY_CERT)
else:
logger.debug('Requesting with old')
r = requests.get(url) # Always ignore certs??
else:
if self.newerRequestLib:
r = requests.post(url, data=data, headers={'content-type': 'application/json'}, verify=VERIFY_CERT)
else:
logger.debug('Requesting with old')
r = requests.post(url, data=data, headers={'content-type': 'application/json'})
r = json.loads(r.content) # Using instead of r.json() to make compatible with oooold rquests lib versions
except requests.exceptions.RequestException as e:
raise ConnectionError(e)
except Exception as e:
raise ConnectionError(exceptionToMessage(e))
ensureResultIsOk(r)
return r
@property
def isConnected(self):
return self.uuid is not None
def test(self):
url = self._getUrl('test', self.masterKey)
return self._request(url)['result']
def init(self, ids):
'''
Ids is a comma separated values indicating MAC=ip
Server returns:
uuid, mac
Optionally can return an third parameter, that is max "idle" request time
'''
logger.debug('Invoking init')
url = self._getUrl('init', key=self.masterKey, ids=ids)
res = self._request(url)['result']
logger.debug('Got response parameters: {}'.format(res))
self.uuid, self.mac = res[0:2]
self.idle = int(res[2])
if self.idle < 30:
self.idle = None # No values under 30 seconds are allowed :)
return self.uuid
def postMessage(self, msg, data, processData=True):
logger.debug('Invoking post message {} with data {}'.format(msg, data))
if self.uuid is None:
raise ConnectionError('REST api has not been initialized')
if processData:
data = json.dumps({'data': data})
url = self._getUrl('/'.join([self.uuid, msg]))
return self._request(url, data)['result']
def notifyComm(self, url):
logger.debug('Notifying comms {}'.format(url))
return self.postMessage('notifyComms', url)
def login(self, username):
logger.debug('Notifying login {}'.format(username))
return self.postMessage('login', username)
def logout(self, username):
logger.debug('Notifying logout {}'.format(username))
return self.postMessage('logout', username)
def information(self):
logger.debug('Requesting information'.format())
return self.postMessage('information', '')
def setReady(self, ipsInfo):
logger.debug('Notifying readyness: {}'.format(ipsInfo))
data = ','.join(['{}={}'.format(v[0], v[1]) for v in ipsInfo])
return self.postMessage('ready', data)
def notifyIpChanges(self, ipsInfo):
logger.debug('Notifying ip changes: {}'.format(ipsInfo))
data = ','.join(['{}={}'.format(v[0], v[1]) for v in ipsInfo])
return self.postMessage('ip', data)
def log(self, logLevel, message):
data = json.dumps({'message': message, 'level': logLevel})
return self.postMessage('log', data, processData=False)

View File

@@ -1,101 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
from tempfile import gettempdir
from os.path import exists, join
CERTFILE = 'UDSActor.pem'
def createSelfSignedCert(force=False):
certFile = join(gettempdir(), CERTFILE)
if exists(certFile) and not force:
return certFile
certData = '''-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCb50K3mIznNklz
yVAD7xSQOSJQ6+NPXj7U9/4zLZ+TvmbQ7RqUUsxbfxHbeRnoYTWV2nKk4+tHqmvz
ujLSS/loFhTSMqtrLn7rowSYJoQhKOUkAiQlWkqCfItWgL5pJopDpNHFul9Rn3ds
PMWQTiGeUNR4Y3RnBhr1Q1BsqAzf4m6zFUmgLPPmVLdF4uJ3Tuz8TSy2gWLs5aSr
5do4WamwUfYjRSVMJECmwjUM4rQ8SQgg0sHBeBuDUGNBvBQFac1G7qUcMReeu8Zr
DUtMsXma/l4rA8NB5CRmTrQbTBF4l+jb2BDFebDqDUK1Oqs9X35yOQfDOAFYHiix
PX0IsXOZAgMBAAECggEBAJi3000RrIUZUp6Ph0gzPMuCjDEEwWiQA7CPNX1gpb8O
dp0WhkDhUroWIaICYPSXtOwUTtVjRqivMoxPy1Thg3EIoGC/rdeSdlXRHMEGicwJ
yVyalFnatr5Xzg5wkxVh4XMd0zeDt7e3JD7s0QLo5lm1CEzd77qz6lhzFic5/1KX
bzdULtTlq60dazg2hEbcS4OmM1UMCtRVDAsOIUIZPL0M9j1C1d1iEdYnh2xshKeG
/GOfo95xsgdMlGjtv3hUT5ryKVoEsu+36rGb4VfhPfUvvoVbRx5QZpW+QvxaYh5E
Fi0JEROozFwG31Y++8El7J3yQko8cFBa1lYYUwwpNAECgYEAykT+GiM2YxJ4uVF1
OoKiE9BD53i0IG5j87lGPnWqzEwYBwnqjEKDTou+uzMGz3MDV56UEFNho7wUWh28
LpEkjJB9QgbsugjxIBr4JoL/rYk036e/6+U8I95lvYWrzb+rBMIkRDYI7kbQD/mQ
piYUpuCkTymNAu2RisK6bBzJslkCgYEAxVE23OQvkCeOV8hJNPZGpJ1mDS+TiOow
oOScMZmZpail181eYbAfMsCr7ri812lSj98NvA2GNVLpddil6LtS1cQ5p36lFBtV
xQUMZiFz4qVbEak+izL+vPaev/mXXsOcibAIQ+qI/0txFpNhJjpaaSy6vRCBYFmc
8pgSoBnBI0ECgYAUKCn2atnpp5aWSTLYgNosBU4vDA1PShD14dnJMaqyr0aZtPhF
v/8b3btFJoGgPMLxgWEZ+2U4ju6sSFhPf7FXvLJu2QfQRkHZRDbEh7t5DLpTK4Fp
va9vl6Ml7uM/HsGpOLuqfIQJUs87OFCc7iCSvMJDDU37I7ekT2GKkpfbCQKBgBrE
0NeY0WcSJrp7/oqD2sOcYurpCG/rrZs2SIZmGzUhMxaa0vIXzbO59dlWELB8pmnE
Tf20K//x9qA5OxDe0PcVPukdQlH+/1zSOYNliG44FqnHtyd1TJ/gKVtMBiAiE4uO
aSClod5Yosf4SJbCFd/s5Iyfv52NqsAyp1w3Aj/BAoGAVCnEiGUfyHlIR+UH4zZW
GXJMeqdZLfcEIszMxLePkml4gUQhoq9oIs/Kw+L1DDxUwzkXN4BNTlFbOSu9gzK1
dhuIUGfS6RPL88U+ivC3A0y2jT43oUMqe3hiRt360UQ1GXzp2dMnR9odSRB1wHoO
IOjEBZ8341/c9ZHc5PCGAG8=
-----END PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
MIID7zCCAtegAwIBAgIJAIrEIthCfxUCMA0GCSqGSIb3DQEBCwUAMIGNMQswCQYD
VQQGEwJFUzEPMA0GA1UECAwGTWFkcmlkMREwDwYDVQQHDAhBbGNvcmNvbjEMMAoG
A1UECgwDVURTMQ4wDAYDVQQLDAVBY3RvcjESMBAGA1UEAwwJVURTIEFjdG9yMSgw
JgYJKoZIhvcNAQkBFhlzdXBwb3J0QHVkc2VudGVycHJpc2UuY29tMB4XDTE0MTAy
NjIzNDEyNFoXDTI0MTAyMzIzNDEyNFowgY0xCzAJBgNVBAYTAkVTMQ8wDQYDVQQI
DAZNYWRyaWQxETAPBgNVBAcMCEFsY29yY29uMQwwCgYDVQQKDANVRFMxDjAMBgNV
BAsMBUFjdG9yMRIwEAYDVQQDDAlVRFMgQWN0b3IxKDAmBgkqhkiG9w0BCQEWGXN1
cHBvcnRAdWRzZW50ZXJwcmlzZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw
ggEKAoIBAQCb50K3mIznNklzyVAD7xSQOSJQ6+NPXj7U9/4zLZ+TvmbQ7RqUUsxb
fxHbeRnoYTWV2nKk4+tHqmvzujLSS/loFhTSMqtrLn7rowSYJoQhKOUkAiQlWkqC
fItWgL5pJopDpNHFul9Rn3dsPMWQTiGeUNR4Y3RnBhr1Q1BsqAzf4m6zFUmgLPPm
VLdF4uJ3Tuz8TSy2gWLs5aSr5do4WamwUfYjRSVMJECmwjUM4rQ8SQgg0sHBeBuD
UGNBvBQFac1G7qUcMReeu8ZrDUtMsXma/l4rA8NB5CRmTrQbTBF4l+jb2BDFebDq
DUK1Oqs9X35yOQfDOAFYHiixPX0IsXOZAgMBAAGjUDBOMB0GA1UdDgQWBBRShS90
5lJTNvYPIEqP3GxWwG5iiDAfBgNVHSMEGDAWgBRShS905lJTNvYPIEqP3GxWwG5i
iDAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQAU0Sp4gXhQmRVzq+7+
vRFUkQuPj4Ga/d9r5Wrbg3hck3+5pwe9/7APoq0P/M0DBhQpiJKjrD6ydUevC+Y/
43ZOJPhMlNw0o6TdQxOkX6FDwQanLLs7sfvJvqtVzYn3nuRFKT3dvl7Zg44QMw2M
ay42q59fAcpB4LaDx/i7gOYSS5eca3lYW7j7YSr/+ozXK2KlgUkuCUHN95lOq+dF
trmV9mjzM4CNPZqKSE7kpHRywgrXGPCO000NvEGSYf82AtgRSFKiU8NWLQSEPdcB
k//2dsQZw2cRZ8DrC2B6Tb3M+3+CA6wVyqfqZh1SZva3LfGvq/C+u+ItguzPqNpI
xtvM
-----END CERTIFICATE-----'''
with open(certFile, "wt") as f:
f.write(certData)
return certFile

View File

@@ -1,198 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
from __future__ import unicode_literals
from udsactor.log import logger
from udsactor import utils
from udsactor.certs import createSelfSignedCert
from udsactor.scriptThread import ScriptExecutorThread
import threading
import string
import random
import json
import six
from six.moves import socketserver # @UnresolvedImport, pylint: disable=import-error
from six.moves import BaseHTTPServer # @UnresolvedImport, pylint: disable=import-error
import time
import ssl
startTime = time.time()
class HTTPServerHandler(BaseHTTPServer.BaseHTTPRequestHandler):
uuid = None
service = None
lock = threading.Lock()
def sendJsonError(self, code, message):
self.send_response(code)
self.send_header('Content-type', 'application/json')
self.end_headers()
self.wfile.write(json.dumps({'error': message}))
return
def do_GET(self):
# Very simple path & params splitter
path = self.path.split('?')[0][1:].split('/')
try:
params = dict((v.split('=') for v in self.path.split('?')[1].split('&')))
except Exception:
params = {}
if path[0] != HTTPServerHandler.uuid:
self.sendJsonError(403, 'Forbidden')
return
if len(path) != 2:
self.send_response(200)
self.send_header('Content-type', 'application/json')
self.end_headers()
# Send the html message
self.wfile.write(json.dumps("UDS Actor has been running for {} seconds".format(time.time() - startTime)))
return
try:
operation = getattr(self, 'get_' + path[1])
result = operation(params) # Protect not POST methods
except AttributeError:
self.sendJsonError(404, 'Method not found')
return
except Exception as e:
logger.error('Got exception executing GET {}: {}'.format(path[1], utils.toUnicode(e.message)))
self.sendJsonError(500, str(e))
return
self.send_response(200)
self.send_header('Content-type', 'application/json')
self.end_headers()
# Send the html message
self.wfile.write(json.dumps(result))
def do_POST(self):
path = self.path.split('?')[0][1:].split('/')
if path[0] != HTTPServerHandler.uuid:
self.sendJsonError(403, 'Forbidden')
return
if len(path) != 2:
self.sendJsonError(400, 'Invalid request')
return
try:
HTTPServerHandler.lock.acquire()
length = int(self.headers.getheader('content-length'))
content = self.rfile.read(length)
print(length, ">>", content, '<<')
params = json.loads(content)
operation = getattr(self, 'post_' + path[1])
result = operation(params) # Protect not POST methods
except AttributeError:
self.sendJsonError(404, 'Method not found')
return
except Exception as e:
logger.error('Got exception executing POST {}: {}'.format(path[1], utils.toUnicode(e.message)))
self.sendJsonError(500, str(e))
return
finally:
HTTPServerHandler.lock.release()
self.send_response(200)
self.send_header('Content-type', 'application/json')
self.end_headers()
# Send the html message
self.wfile.write(json.dumps(result))
def post_logoff(self, params):
logger.debug('Sending LOGOFF to clients')
HTTPServerHandler.service.ipc.sendLoggofMessage()
return 'ok'
# Alias
post_logout = post_logoff
def post_message(self, params):
logger.debug('Sending MESSAGE to clients')
if 'message' not in params:
raise Exception('Invalid message parameters')
HTTPServerHandler.service.ipc.sendMessageMessage(params['message'])
return 'ok'
def post_script(self, params):
logger.debug('Received script: {}'.format(params))
if 'script' not in params:
raise Exception('Invalid script parameters')
if 'user' in params:
logger.debug('Sending SCRIPT to clients')
HTTPServerHandler.service.ipc.sendScriptMessage(params['script'])
else:
# Execute script at server space, that is, here
# as a secondary thread
th = ScriptExecutorThread(params['script'])
th.start()
return 'ok'
def post_preConnect(self, params):
logger.debug('Received Pre connection')
if 'user' not in params or 'protocol' not in params:
raise Exception('Invalid preConnect parameters')
return HTTPServerHandler.service.preConnect(params.get('user'), params.get('protocol'))
def get_information(self, params):
# TODO: Return something useful? :)
return 'Information'
class HTTPServerThread(threading.Thread):
def __init__(self, address, service):
super(self.__class__, self).__init__()
if HTTPServerHandler.uuid is None:
HTTPServerHandler.uuid = ''.join(random.choice(string.ascii_letters + string.digits) for _ in range(48))
HTTPServerHandler.service = service
self.certFile = createSelfSignedCert()
self.server = socketserver.TCPServer(address, HTTPServerHandler)
self.server.socket = ssl.wrap_socket(self.server.socket, certfile=self.certFile, server_side=True)
def getServerUrl(self):
return 'https://{}:{}/{}'.format(self.server.server_address[0], self.server.server_address[1], HTTPServerHandler.uuid)
def stop(self):
logger.debug('Stopping REST Service')
self.server.shutdown()
def run(self):
self.server.serve_forever()

View File

@@ -1,421 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
from __future__ import unicode_literals
import socket
import threading
import sys
import six
import traceback
import pickle
from udsactor.utils import toUnicode
from udsactor.log import logger
# The IPC Server will wait for connections from clients
# Clients will open socket, and wait for data from server
# The messages sent (from server) will be the following (subject to future changes):
# Message_id Data Action
# ------------ -------- --------------------------
# MSG_LOGOFF None Logout user from session
# MSG_MESSAGE message,level Display a message with level (INFO, WARN, ERROR, FATAL) # TODO: Include level, right now only has message
# MSG_SCRIPT python script Execute an specific python script INSIDE CLIENT environment (this messages is not sent right now)
# The messages received (sent from client) will be the following:
# Message_id Data Action
# ------------ -------- --------------------------
# REQ_LOGOUT Logout user from session
# REQ_INFORMATION None Request information from ipc server (maybe configuration parameters in a near future)
# REQ_LOGIN python script Execute an specific python script INSIDE CLIENT environment (this messages is not sent right now)
#
# All messages are in the form:
# BYTE
# 0 1-2 3 4 ...
# MSG_ID DATA_LENGTH (little endian) Data (can be 0 length)
# With a previos "MAGIC" header in fron of each message
MSG_LOGOFF = 0xA1
MSG_MESSAGE = 0xB2
MSG_SCRIPT = 0xC3
MSG_INFORMATION = 0xD4
# Request messages
REQ_INFORMATION = MSG_INFORMATION
REQ_LOGIN = 0xE5
REQ_LOGOUT = MSG_LOGOFF
VALID_MESSAGES = (MSG_LOGOFF, MSG_MESSAGE, MSG_SCRIPT, MSG_INFORMATION)
REQ_INFORMATION = 0xAA
# Reverse msgs dict for debugging
REV_DICT = {
MSG_LOGOFF: 'MSG_LOGOFF',
MSG_MESSAGE: 'MSG_MESSAGE',
MSG_SCRIPT: 'MSG_SCRIPT',
MSG_INFORMATION: 'MSG_INFORMATION',
REQ_LOGIN: 'REQ_LOGIN',
REQ_LOGOUT: 'REQ_LOGOUT'
}
MAGIC = b'\x55\x44\x53\x00' # UDS in hexa with a padded 0 to the right
# Allows notifying login/logout from client for linux platform
ALLOW_LOG_METHODS = sys.platform != 'win32'
# States for client processor
ST_SECOND_BYTE = 0x01
ST_RECEIVING = 0x02
ST_PROCESS_MESSAGE = 0x02
class ClientProcessor(threading.Thread):
def __init__(self, parent, clientSocket):
super(self.__class__, self).__init__()
self.parent = parent
self.clientSocket = clientSocket
self.running = False
self.messages = six.moves.queue.Queue(32) # @UndefinedVariable
def stop(self):
logger.debug('Stoping client processor')
self.running = False
def processRequest(self, msg, data):
logger.debug('Got Client message {}={}'.format(msg, REV_DICT.get(msg)))
if self.parent.clientMessageProcessor is not None:
self.parent.clientMessageProcessor(msg, data)
def run(self):
self.running = True
self.clientSocket.setblocking(0)
state = None
recv_msg = None
recv_data = None
while self.running:
try:
counter = 1024
while counter > 0: # So we process at least the incoming queue every XX bytes readed
counter -= 1
b = self.clientSocket.recv(1)
if b == b'':
# Client disconnected
self.running = False
break
buf = six.byte2int(b) # Empty buffer, this is set as non-blocking
if state is None:
if buf in (REQ_INFORMATION, REQ_LOGIN, REQ_LOGOUT):
logger.debug('State set to {}'.format(buf))
state = buf
recv_msg = buf
continue # Get next byte
else:
logger.debug('Got unexpected data {}'.format(buf))
elif state in (REQ_INFORMATION, REQ_LOGIN, REQ_LOGOUT):
logger.debug('First length byte is {}'.format(buf))
msg_len = buf
state = ST_SECOND_BYTE
continue
elif state == ST_SECOND_BYTE:
msg_len += buf << 8
logger.debug('Second length byte is {}, len is {}'.format(buf, msg_len))
if msg_len == 0:
self.processRequest(recv_msg, None)
state = None
break
state = ST_RECEIVING
recv_data = b''
continue
elif state == ST_RECEIVING:
recv_data += six.int2byte(buf)
msg_len -= 1
if msg_len == 0:
self.processRequest(recv_msg, recv_data)
recv_data = None
state = None
break
else:
logger.debug('Got invalid message from request: {}, state: {}'.format(buf, state))
except socket.error as e:
# If no data is present, no problem at all, pass to check messages
pass
except Exception as e:
tb = traceback.format_exc()
logger.error('Error: {}, trace: {}'.format(e, tb))
if self.running is False:
break
try:
msg = self.messages.get(block=True, timeout=1)
except six.moves.queue.Empty: # No message got in time @UndefinedVariable
continue
logger.debug('Got message {}={}'.format(msg, REV_DICT.get(msg)))
try:
m = msg[1] if msg[1] is not None else b''
l = len(m)
data = MAGIC + six.int2byte(msg[0]) + six.int2byte(l & 0xFF) + six.int2byte(l >> 8) + m
try:
self.clientSocket.sendall(data)
except socket.error as e:
# Send data error
logger.debug('Socket connection is no more available: {}'.format(e.args))
self.running = False
except Exception as e:
logger.error('Invalid message in queue: {}'.format(e))
logger.debug('Client processor stopped')
try:
self.clientSocket.close()
except Exception:
pass # If can't close, nothing happens, just end thread
class ServerIPC(threading.Thread):
def __init__(self, listenPort, clientMessageProcessor=None):
super(self.__class__, self).__init__()
self.port = listenPort
self.running = False
self.serverSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.serverSocket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
self.threads = []
self.clientMessageProcessor = clientMessageProcessor
def stop(self):
logger.debug('Stopping Server IPC')
self.running = False
for t in self.threads:
t.stop()
socket.socket(socket.AF_INET, socket.SOCK_STREAM).connect(('localhost', self.port))
self.serverSocket.close()
for t in self.threads:
t.join()
def sendMessage(self, msgId, msgData):
'''
Notify message to all listening threads
'''
logger.debug('Sending message {}({}),{} to all clients'.format(msgId, REV_DICT.get(msgId), msgData))
# Convert to bytes so length is correctly calculated
if isinstance(msgData, six.text_type):
msgData = msgData.encode('utf8')
for t in self.threads:
if t.isAlive():
logger.debug('Sending to {}'.format(t))
t.messages.put((msgId, msgData))
def sendLoggofMessage(self):
self.sendMessage(MSG_LOGOFF, '')
def sendMessageMessage(self, message):
self.sendMessage(MSG_MESSAGE, message)
def sendScriptMessage(self, script):
self.sendMessage(MSG_SCRIPT, script)
def sendInformationMessage(self, info):
self.sendMessage(MSG_INFORMATION, pickle.dumps(info))
def cleanupFinishedThreads(self):
'''
Cleans up current threads list
'''
aliveThreads = []
for t in self.threads:
if t.isAlive():
logger.debug('Thread {} is alive'.format(t))
aliveThreads.append(t)
self.threads[:] = aliveThreads
def run(self):
self.running = True
self.serverSocket.bind(('localhost', self.port))
self.serverSocket.setblocking(1)
self.serverSocket.listen(4)
while True:
try:
(clientSocket, address) = self.serverSocket.accept()
# Stop processing if thread is mean to stop
if self.running is False:
break
logger.debug('Got connection from {}'.format(address))
self.cleanupFinishedThreads() # House keeping
logger.debug('Starting new thread, current: {}'.format(self.threads))
t = ClientProcessor(self, clientSocket)
self.threads.append(t)
t.start()
except Exception as e:
logger.error('Got an exception on Server ipc thread: {}'.format(e))
class ClientIPC(threading.Thread):
def __init__(self, listenPort):
super(ClientIPC, self).__init__()
self.port = listenPort
self.running = False
self.clientSocket = None
self.messages = six.moves.queue.Queue(32) # @UndefinedVariable
self.connect()
def stop(self):
self.running = False
def getMessage(self):
while self.running:
try:
return self.messages.get(timeout=1)
except six.moves.queue.Empty: # @UndefinedVariable
continue
return None
def sendRequestMessage(self, msg, data=None):
logger.debug('Sending request for msg: {}({}), {}'.format(msg, REV_DICT.get(msg), data))
if data is None:
data = b''
if isinstance(data, six.text_type): # Convert to bytes if necessary
data = data.encode('utf-8')
l = len(data)
msg = six.int2byte(msg) + six.int2byte(l & 0xFF) + six.int2byte(l >> 8) + data
self.clientSocket.sendall(msg)
def requestInformation(self):
self.sendRequestMessage(REQ_INFORMATION)
def sendLogin(self, username):
self.sendRequestMessage(REQ_LOGIN, username)
def sendLogout(self, username):
self.sendRequestMessage(REQ_LOGOUT, username)
def messageReceived(self):
'''
Override this method to automatically get notified on new message
received. Message is at self.messages queue
'''
pass # Messa
def receiveBytes(self, number):
msg = b''
while self.running and len(msg) < number:
try:
buf = self.clientSocket.recv(number - len(msg))
if buf == b'':
logger.debug('Buf {}, msg {}({})'.format(buf, msg, REV_DICT.get(msg)))
self.running = False
break
msg += buf
except socket.timeout:
pass
if self.running is False:
logger.debug('Not running, returning None')
return None
return msg
def connect(self):
self.clientSocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
self.clientSocket.connect(('localhost', self.port))
self.clientSocket.settimeout(2) # 2 seconds timeout
def run(self):
self.running = True
while self.running:
try:
msg = b''
# We look for magic message header
while self.running: # Wait for MAGIC
try:
buf = self.clientSocket.recv(len(MAGIC) - len(msg))
if buf == b'':
self.running = False
break
msg += buf
if len(msg) != len(MAGIC):
continue # Do not have message
if msg != MAGIC: # Skip first byte an continue searchong
msg = msg[1:]
continue
break
except socket.timeout: # Timeout is here so we can get stop thread
continue
if self.running is False:
break
# Now we get message basic data (msg + datalen)
msg = bytearray(self.receiveBytes(3))
# We have the magic header, here comes the message itself
if msg is None:
continue
msgId = msg[0]
dataLen = msg[1] + (msg[2] << 8)
if msgId not in VALID_MESSAGES:
raise Exception('Invalid message id: {}'.format(msgId))
data = self.receiveBytes(dataLen)
if data is None:
continue
self.messages.put((msgId, data))
self.messageReceived()
except socket.error as e:
logger.error('Communication with server got an error: {}'.format(toUnicode(e.strerror)))
self.running = False
return
except Exception as e:
tb = traceback.format_exc()
logger.error('Error: {}, trace: {}'.format(e, tb))
try:
self.clientSocket.close()
except Exception:
pass # If can't close, nothing happens, just end thread

View File

@@ -1,161 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
from __future__ import unicode_literals
from udsactor import operations
from udsactor.service import CommonService
from udsactor.service import initCfg
from udsactor.service import IPC_PORT
from udsactor import ipc
from udsactor.log import logger
from udsactor.linux.daemon import Daemon
from udsactor.linux import renamer
import sys
import time
try:
from prctl import set_proctitle
except Exception: # Platform may not include prctl, so in case it's not available, we let the "name" as is
def set_proctitle(_):
pass
class UDSActorSvc(Daemon, CommonService):
def __init__(self, args=None):
Daemon.__init__(self, '/var/run/udsa.pid')
CommonService.__init__(self)
def rename(self, name, user=None, oldPassword=None, newPassword=None):
'''
Renames the computer, and optionally sets a password for an user
before this
'''
# Check for password change request for an user
if user is not None:
logger.info('Setting password for user {}'.format(user))
try:
operations.changeUserPassword(user, oldPassword, newPassword)
except Exception as e:
# We stop here without even renaming computer, because the
# process has failed
raise Exception(
'Could not change password for user {} (maybe invalid current password is configured at broker): {} '.format(user, unicode(e)))
renamer.rename(name)
self.setReady()
def joinDomain(self, name, domain, ou, account, password):
logger.fatal('Join domain is not supported on linux platforms right now')
def run(self):
initCfg()
logger.debug('Running Daemon')
set_proctitle('UDSActorDaemon')
# Linux daemon will continue running unless something is requested to
if self.interactWithBroker() is False:
logger.debug('Interact with broker returned false, stopping service after a while')
return
if self.isAlive is False:
logger.debug('The service is not alive after broker interaction, stopping it')
return
if self.rebootRequested is True:
logger.debug('Reboot has been requested, stopping service')
return
self.initIPC()
# *********************
# * Main Service loop *
# *********************
# Counter used to check ip changes only once every 10 seconds, for
# example
counter = 0
while self.isAlive:
counter += 1
if counter % 10 == 0:
self.checkIpsChanged()
# In milliseconds, will break
self.doWait(1000)
self.endIPC()
self.endAPI()
self.notifyStop()
def usage():
sys.stderr.write("usage: {} start|stop|restart|login 'username'|logout 'username'\n".format(sys.argv[0]))
sys.exit(2)
if __name__ == '__main__':
logger.setLevel(20000)
if len(sys.argv) == 3 and sys.argv[1] in ('login', 'logout'):
logger.debug('Running client udsactor')
client = None
try:
client = ipc.ClientIPC(IPC_PORT)
if 'login' == sys.argv[1]:
client.sendLogin(sys.argv[2])
sys.exit(0)
elif 'logout' == sys.argv[1]:
client.sendLogout(sys.argv[2])
sys.exit(0)
else:
usage()
except Exception as e:
logger.error(e)
elif len(sys.argv) != 2:
usage()
logger.debug('Executing actor')
daemon = UDSActorSvc()
if len(sys.argv) == 2:
if 'start' == sys.argv[1]:
daemon.start()
elif 'stop' == sys.argv[1]:
daemon.stop()
elif 'restart' == sys.argv[1]:
daemon.restart()
else:
usage()
sys.exit(0)
else:
usage()

View File

@@ -1,182 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: : http://www.jejik.com/authors/sander_marechal/
@see: : http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python/
'''
from __future__ import unicode_literals
import sys
import os
import time
import atexit
from udsactor.log import logger
from signal import SIGTERM
class Daemon:
"""
A generic daemon class.
Usage: subclass the Daemon class and override the run() method
"""
def __init__(self, pidfile, stdin='/dev/null', stdout='/dev/null', stderr='/dev/null'):
self.stdin = stdin
self.stdout = stdout
self.stderr = stderr
self.pidfile = pidfile
def daemonize(self):
"""
do the UNIX double-fork magic, see Stevens' "Advanced
Programming in the UNIX Environment" for details (ISBN 0201563177)
http://www.erlenstar.demon.co.uk/unix/faq_2.html#SEC16
"""
try:
pid = os.fork()
if pid > 0:
# exit first parent
sys.exit(0)
except OSError as e:
logger.error("fork #1 error: {}".format(e))
sys.stderr.write("fork #1 failed: {}\n".format(e))
sys.exit(1)
# decouple from parent environment
os.chdir("/")
os.setsid()
os.umask(0)
# do second fork
try:
pid = os.fork()
if pid > 0:
# exit from second parent
sys.exit(0)
except OSError as e:
logger.error("fork #2 error: {}".format(e))
sys.stderr.write("fork #2 failed: {}\n".format(e))
sys.exit(1)
# redirect standard file descriptors
sys.stdout.flush()
sys.stderr.flush()
si = open(self.stdin, 'r')
so = open(self.stdout, 'a+')
se = open(self.stderr, 'a+', 0)
os.dup2(si.fileno(), sys.stdin.fileno())
os.dup2(so.fileno(), sys.stdout.fileno())
os.dup2(se.fileno(), sys.stderr.fileno())
# write pidfile
atexit.register(self.delpid)
pid = str(os.getpid())
with open(self.pidfile, 'w+') as f:
f.write("{}\n".format(pid))
def delpid(self):
try:
os.remove(self.pidfile)
except Exception:
# Not found/not permissions or whatever...
pass
def start(self):
"""
Start the daemon
"""
logger.debug('Starting daemon')
# Check for a pidfile to see if the daemon already runs
try:
pf = open(self.pidfile, 'r')
pid = int(pf.read().strip())
pf.close()
except IOError:
pid = None
if pid:
message = "pidfile {} already exist. Daemon already running?\n".format(pid)
logger.error(message)
sys.stderr.write(message)
sys.exit(1)
# Start the daemon
self.daemonize()
try:
self.run()
except Exception as e:
logger.error('Exception running process: {}'.format(e))
if os.path.exists(self.pidfile):
os.remove(self.pidfile)
def stop(self):
"""
Stop the daemon
"""
# Get the pid from the pidfile
try:
pf = open(self.pidfile, 'r')
pid = int(pf.read().strip())
pf.close()
except IOError:
pid = None
if pid is None:
message = "pidfile {} does not exist. Daemon not running?\n".format(self.pidfile)
logger.info(message)
# sys.stderr.write(message)
return # not an error in a restart
# Try killing the daemon process
try:
while True:
os.kill(pid, SIGTERM)
time.sleep(1)
except OSError as err:
if err.errno == 3: # No such process
if os.path.exists(self.pidfile):
os.remove(self.pidfile)
else:
sys.stderr.write(err)
sys.exit(1)
def restart(self):
"""
Restart the daemon
"""
self.stop()
self.start()
# Overridables
def run(self):
"""
You should override this method when you subclass Daemon. It will be called after the process has been
daemonized by start() or restart().
"""

View File

@@ -1,80 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
from __future__ import unicode_literals
import logging
import os
import tempfile
import six
# Valid logging levels, from UDS Broker (uds.core.utils.log)
OTHER, DEBUG, INFO, WARN, ERROR, FATAL = (10000 * (x + 1) for x in six.moves.xrange(6)) # @UndefinedVariable
class LocalLogger(object):
def __init__(self):
# tempdir is different for "user application" and "service"
# service wil get c:\windows\temp, while user will get c:\users\XXX\temp
# Try to open logger at /var/log path
# If it fails (access denied normally), will try to open one at user's home folder, and if
# agaim it fails, open it at the tmpPath
for logDir in ('/var/log', os.path.expanduser('~'), tempfile.gettempdir()):
try:
fname = os.path.join(logDir, 'udsactor.log')
logging.basicConfig(
filename=fname,
filemode='a',
format='%(levelname)s %(asctime)s %(message)s',
level=logging.DEBUG
)
self.logger = logging.getLogger('udsactor')
os.chmod(fname, 0o0600)
return
except Exception:
pass
# Logger can't be set
self.logger = None
def log(self, level, message):
# Debug messages are logged to a file
# our loglevels are 10000 (other), 20000 (debug), ....
# logging levels are 10 (debug), 20 (info)
# OTHER = logging.NOTSET
self.logger.log(int(level / 1000) - 10, message)
def isWindows(self):
return False
def isLinux(self):
return True

View File

@@ -1,245 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
from __future__ import unicode_literals
import socket
import platform
import fcntl
import os
import ctypes # @UnusedImport
import ctypes.util
import subprocess
import struct
import array
import six
from udsactor import utils
from .renamer import rename
def _getMacAddr(ifname):
'''
Returns the mac address of an interface
Mac is returned as unicode utf-8 encoded
'''
if isinstance(ifname, list):
return dict([(name, _getMacAddr(name)) for name in ifname])
if isinstance(ifname, six.text_type):
ifname = ifname.encode('utf-8') # If unicode, convert to bytes (or str in python 2.7)
try:
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
info = bytearray(fcntl.ioctl(s.fileno(), 0x8927, struct.pack(str('256s'), ifname[:15])))
return six.text_type(''.join(['%02x:' % char for char in info[18:24]])[:-1])
except Exception:
return None
def _getIpAddr(ifname):
'''
Returns the ip address of an interface
Ip is returned as unicode utf-8 encoded
'''
if isinstance(ifname, list):
return dict([(name, _getIpAddr(name)) for name in ifname])
if isinstance(ifname, six.text_type):
ifname = ifname.encode('utf-8') # If unicode, convert to bytes (or str in python 2.7)
try:
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
return six.text_type(socket.inet_ntoa(fcntl.ioctl(
s.fileno(),
0x8915, # SIOCGIFADDR
struct.pack(str('256s'), ifname[:15])
)[20:24]))
except Exception:
return None
def _getInterfaces():
'''
Returns a list of interfaces names coded in utf-8
'''
max_possible = 128 # arbitrary. raise if needed.
space = max_possible * 16
if platform.architecture()[0] == '32bit':
offset, length = 32, 32
elif platform.architecture()[0] == '64bit':
offset, length = 16, 40
else:
raise OSError('Unknown arquitecture {0}'.format(platform.architecture()[0]))
s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
names = array.array(str('B'), b'\0' * space)
outbytes = struct.unpack(str('iL'), fcntl.ioctl(
s.fileno(),
0x8912, # SIOCGIFCONF
struct.pack(str('iL'), space, names.buffer_info()[0])
))[0]
namestr = names.tostring()
# return namestr, outbytes
return [namestr[i:i + offset].split(b'\0', 1)[0].decode('utf-8') for i in range(0, outbytes, length)]
def _getIpAndMac(ifname):
ip, mac = _getIpAddr(ifname), _getMacAddr(ifname)
return (ip, mac)
def getComputerName():
'''
Returns computer name, with no domain
'''
return socket.gethostname().split('.')[0]
def getNetworkInfo():
for ifname in _getInterfaces():
ip, mac = _getIpAndMac(ifname)
if mac != '00:00:00:00:00:00': # Skips local interfaces
yield utils.Bunch(name=ifname, mac=mac, ip=ip)
def getDomainName():
return ''
def getLinuxVersion():
lv = platform.linux_distribution()
return lv[0] + ', ' + lv[1]
def reboot(flags=0):
'''
Simple reboot using os command
'''
# Workaround for dummy thread
if six.PY3 is False:
import threading
threading._DummyThread._Thread__stop = lambda x: 42
subprocess.call(['/sbin/shutdown', 'now', '-r'])
def loggoff():
'''
Right now restarts the machine...
'''
# Workaround for dummy thread
if six.PY3 is False:
import threading
threading._DummyThread._Thread__stop = lambda x: 42
subprocess.call(['/usr/bin/pkill', '-u', os.environ['USER']])
# subprocess.call(['/sbin/shutdown', 'now', '-r'])
# subprocess.call(['/usr/bin/systemctl', 'reboot', '-i'])
def renameComputer(newName):
rename(newName)
def joinDomain(domain, ou, account, password, executeInOneStep=False):
pass
def changeUserPassword(user, oldPassword, newPassword):
'''
Simple password change for user using command line
'''
os.system('echo "{1}\n{1}" | /usr/bin/passwd {0} 2> /dev/null'.format(user, newPassword))
class XScreenSaverInfo(ctypes.Structure):
_fields_ = [('window', ctypes.c_long),
('state', ctypes.c_int),
('kind', ctypes.c_int),
('til_or_since', ctypes.c_ulong),
('idle', ctypes.c_ulong),
('eventMask', ctypes.c_ulong)]
# Initialize xlib & xss
try:
xlibPath = ctypes.util.find_library('X11')
xssPath = ctypes.util.find_library('Xss')
xlib = ctypes.cdll.LoadLibrary(xlibPath)
xss = ctypes.cdll.LoadLibrary(xssPath)
# Fix result type to XScreenSaverInfo Structure
xss.XScreenSaverQueryExtension.restype = ctypes.c_int
xss.XScreenSaverAllocInfo.restype = ctypes.POINTER(XScreenSaverInfo) # Result in a XScreenSaverInfo structure
except Exception: # Libraries not accesible, not found or whatever..
xlib = xss = None
def initIdleDuration(atLeastSeconds):
'''
On linux we set the screensaver to at least required seconds, or we never will get "idle"
'''
# Workaround for dummy thread
if six.PY3 is False:
import threading
threading._DummyThread._Thread__stop = lambda x: 42
subprocess.call(['/usr/bin/xset', 's', '{}'.format(atLeastSeconds + 30)])
# And now reset it
subprocess.call(['/usr/bin/xset', 's', 'reset'])
def getIdleDuration():
'''
Returns idle duration, in seconds
'''
if xlib is None or xss is None:
return 0 # Libraries not available
# production code might want to not hardcode the offset 16...
display = xlib.XOpenDisplay(None)
event_base = ctypes.c_int()
error_base = ctypes.c_int()
available = xss.XScreenSaverQueryExtension(display, ctypes.byref(event_base), ctypes.byref(error_base))
if available != 1:
return 0 # No screen saver is available, no way of getting idle
info = xss.XScreenSaverAllocInfo()
xss.XScreenSaverQueryInfo(display, xlib.XDefaultRootWindow(display), info)
if info.contents.state != 0:
return 3600 * 100 * 1000 # If screen saver is active, return a high enough value
return info.contents.idle / 1000.0
def getCurrentUser():
'''
Returns current logged in user
'''
return os.environ['USER']

View File

@@ -1,80 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
import six
import os
DEBUG = False
CONFIGFILE = '/etc/udsactor/udsactor.cfg' if DEBUG is False else '/tmp/udsactor.cfg'
def checkPermissions():
return True if DEBUG else os.getuid() == 0
def readConfig():
res = {}
try:
cfg = six.moves.configparser.SafeConfigParser() # @UndefinedVariable
cfg.optionxform = six.text_type
cfg.read(CONFIGFILE)
# Just reads 'uds' section
for key in cfg.options('uds'):
res[key] = cfg.get('uds', key)
if res[key].lower() in ('true', 'yes', 'si'):
res[key] = True
elif res[key].lower() in ('false', 'no'):
res[key] = False
except Exception:
pass
return res
def writeConfig(data):
cfg = six.moves.configparser.SafeConfigParser() # @UndefinedVariable
cfg.optionxform = six.text_type
cfg.add_section('uds')
for key, val in data.items():
cfg.set('uds', key, str(val))
# Ensures exists destination folder
dirname = os.path.dirname(CONFIGFILE)
if not os.path.exists(dirname):
os.mkdir(dirname, mode=0o700) # Will create only if route to path already exists, for example, /etc (that must... :-))
with open(CONFIGFILE, 'w') as f:
cfg.write(f)
os.chmod(CONFIGFILE, 0o0600)

View File

@@ -1,103 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
from __future__ import unicode_literals
import traceback
import sys
import six
if sys.platform == 'win32':
from udsactor.windows.log import LocalLogger # @UnusedImport
else:
from udsactor.linux.log import LocalLogger # @Reimport
# Valid logging levels, from UDS Broker (uds.core.utils.log)
OTHER, DEBUG, INFO, WARN, ERROR, FATAL = (10000 * (x + 1) for x in six.moves.xrange(6)) # @UndefinedVariable
class Logger(object):
def __init__(self):
self.logLevel = INFO
self.logger = LocalLogger()
self.remoteLogger = None
def setLevel(self, level):
'''
Sets log level filter (minimum level required for a log message to be processed)
:param level: Any message with a level below this will be filtered out
'''
self.logLevel = int(level) # Ensures level is an integer or fails
def setRemoteLogger(self, remoteLogger):
self.remoteLogger = remoteLogger
def log(self, level, message):
if level < self.logLevel: # Skip not wanted messages
return
# If remote logger is available, notify message to it
try:
if self.remoteLogger is not None and self.remoteLogger.isConnected and level >= INFO:
self.remoteLogger.log(level, message)
except Exception as e:
self.logger.log(FATAL, 'Error notifying log to broker: {}'.format(e.message))
self.logger.log(level, message)
def debug(self, message):
self.log(DEBUG, message)
def warn(self, message):
self.log(WARN, message)
def info(self, message):
self.log(WARN, message)
def error(self, message):
self.log(ERROR, message)
def fatal(self, message):
self.log(FATAL, message)
def exception(self):
try:
tb = traceback.format_exc()
except Exception:
tb = '(could not get traceback!)'
self.log(DEBUG, tb)
def flush(self):
pass
logger = Logger()

View File

@@ -1,310 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
from __future__ import unicode_literals
from udsactor.log import logger
from . import operations
from . import store
from . import REST
from . import ipc
from . import httpserver
from .scriptThread import ScriptExecutorThread
from .utils import exceptionToMessage
import socket
import time
import random
IPC_PORT = 39188
cfg = None
def initCfg():
global cfg # pylint: disable=global-statement
cfg = store.readConfig()
if logger.logger.isWindows():
# Logs will also go to windows event log for services
logger.logger.serviceLogger = True
if cfg is not None:
logger.setLevel(cfg.get('logLevel', 20000))
else:
logger.setLevel(20000)
cfg = {}
# If ANY var is missing, reset cfg
for v in ('host', 'ssl', 'masterKey'):
if v not in cfg:
cfg = None
break
class CommonService(object):
def __init__(self):
self.isAlive = True
self.api = None
self.ipc = None
self.httpServer = None
self.rebootRequested = False
self.knownIps = []
socket.setdefaulttimeout(20)
def reboot(self):
self.rebootRequested = True
def setReady(self):
self.api.setReady([(v.mac, v.ip) for v in operations.getNetworkInfo()])
def interactWithBroker(self):
'''
Returns True to continue to main loop, false to stop & exit service
'''
# If no configuration is found, stop service
if cfg is None:
logger.fatal('No configuration found, stopping service')
return False
self.api = REST.Api(cfg['host'], cfg['masterKey'], cfg['ssl'])
# Wait for Broker to be ready
counter = 0
while self.isAlive:
try:
# getNetworkInfo is a generator function
netInfo = tuple(operations.getNetworkInfo())
self.knownIps = dict(((i.mac, i.ip) for i in netInfo))
ids = ','.join([i.mac for i in netInfo])
if ids == '':
# Wait for any network interface to be ready
logger.debug('No valid network interfaces found, retrying in a while...')
raise Exception()
logger.debug('Ids: {}'.format(ids))
self.api.init(ids)
# Set remote logger to notify log info to broker
logger.setRemoteLogger(self.api)
break
except REST.InvalidKeyError:
logger.fatal('Can\'t sync with broker: Invalid broker Master Key')
return False
except REST.UnmanagedHostError:
# Maybe interface that is registered with broker is not enabled already?
# Right now, we thing that the interface connected to broker is
# the interface that broker will know, let's see how this works
logger.fatal('This host is not managed by UDS Broker (ids: {})'.format(ids))
return False # On unmanaged hosts, there is no reason right now to continue running
except Exception as e:
logger.debug('Exception on network info: retrying')
logger.exception()
# Any other error is expectable and recoverable, so let's wait a bit and retry again
# but, if too many errors, will log it (one every minute, for
# example)
counter += 1
if counter % 60 == 0: # Every 5 minutes, raise a log
logger.info('Trying to inititialize connection with broker (last error: {})'.format(exceptionToMessage(e)))
# Wait a bit before next check
self.doWait(5000)
# Broker connection is initialized, now get information about what to
# do
counter = 0
while self.isAlive:
try:
logger.debug('Requesting information of what to do now')
info = self.api.information()
data = info.split('\r')
if len(data) != 2:
logger.error('The format of the information message is not correct (got {})'.format(info))
raise Exception
params = data[1].split('\t')
if data[0] == 'rename':
try:
if len(params) == 1: # Simple rename
logger.debug('Renaming computer to {}'.format(params[0]))
self.rename(params[0])
# Rename with change password for an user
elif len(params) == 4:
logger.debug('Renaming computer to {}'.format(params))
self.rename(params[0], params[1], params[2], params[3])
else:
logger.error('Got invalid parameter for rename operation: {}'.format(params))
return False
break
except Exception as e:
logger.error('Error at computer renaming stage: {}'.format(e.message))
return False
elif data[0] == 'domain':
if len(params) != 5:
logger.error('Got invalid parameters for domain message: {}'.format(params))
return False
self.joinDomain(params[0], params[1], params[2], params[3], params[4])
break
else:
logger.error('Unrecognized action sent from broker: {}'.format(data[0]))
return False # Stop running service
except REST.UserServiceNotFoundError:
logger.error('The host has lost the sync state with broker! (host uuid changed?)')
return False
except Exception as e:
if counter % 60 == 0:
logger.warn('Too many retries in progress, though still trying (last error: {})'.format(exceptionToMessage(e)))
counter += 1
# Any other error is expectable and recoverable, so let's wait
# a bit and retry again
# Wait a bit before next check
self.doWait(5000)
if self.rebootRequested:
try:
operations.reboot()
except Exception as e:
logger.error('Exception on reboot: {}'.format(e.message))
return False # Stops service
return True
def checkIpsChanged(self):
if self.api is None or self.api.uuid is None:
return # Not connected
netInfo = tuple(operations.getNetworkInfo())
for i in netInfo:
# If at least one ip has changed
if i.mac in self.knownIps and self.knownIps[i.mac] != i.ip:
logger.info('Notifying ip change to broker (mac {}, from {} to {})'.format(i.mac, self.knownIps[i.mac], i.ip))
try:
# Notifies all interfaces IPs
self.api.notifyIpChanges(((v.mac, v.ip) for v in netInfo))
# Regenerates Known ips
self.knownIps = dict(((v.mac, v.ip) for v in netInfo))
except Exception as e:
logger.warn('Got an error notifiying IPs to broker: {} (will retry in a bit)'.format(e.message.decode('windows-1250', 'ignore')))
def clientMessageProcessor(self, msg, data):
logger.debug('Got message {}'.format(msg))
if self.api is None:
logger.info('Rest api not ready')
return
if msg == ipc.REQ_LOGIN:
self.api.login(data)
elif msg == ipc.REQ_LOGOUT:
self.api.logout(data)
self.onLogout(data)
elif msg == ipc.REQ_INFORMATION:
info = {}
if self.api.idle is not None:
info['idle'] = self.api.idle
self.ipc.sendInformationMessage(info)
def initIPC(self):
# ******************************************
# * Initialize listener IPC & REST threads *
# ******************************************
logger.debug('Starting IPC listener at {}'.format(IPC_PORT))
self.ipc = ipc.ServerIPC(IPC_PORT, clientMessageProcessor=self.clientMessageProcessor)
self.ipc.start()
if self.api.mac in self.knownIps:
address = (self.knownIps[self.api.mac], random.randrange(40000, 44000))
logger.info('Starting REST listener at {}'.format(address))
self.httpServer = httpserver.HTTPServerThread(address, self)
self.httpServer.start()
# And notify it to broker
self.api.notifyComm(self.httpServer.getServerUrl())
def endIPC(self):
# Remove IPC threads
if self.ipc is not None:
try:
self.ipc.stop()
except Exception:
logger.error('Couln\'t stop ipc server')
if self.httpServer is not None:
try:
self.httpServer.stop()
except Exception:
logger.error('Couln\'t stop REST server')
def endAPI(self):
if self.api is not None:
try:
self.api.notifyComm(None)
except Exception:
logger.error('Couln\'t remove comms url from broker')
self.notifyStop()
# ***************************************************
# Methods that ARE overriden by linux & windows Actor
# ***************************************************
def rename(self, name, user=None, oldPassword=None, newPassword=None):
'''
Invoked when broker requests a rename action
MUST BE OVERRIDEN
'''
raise NotImplementedError('Method renamed has not been implemented!')
def joinDomain(self, name, domain, ou, account, password):
'''
Invoked when broker requests a "domain" action
MUST BE OVERRIDEN
'''
raise NotImplementedError('Method renamed has not been implemented!')
# ****************************************
# Methods that CAN BE overriden by actors
# ****************************************
def doWait(self, miliseconds):
'''
Invoked to wait a bit
CAN be OVERRIDEN
'''
time.sleep(float(miliseconds) / 1000)
def notifyStop(self):
'''
Overriden to log stop
'''
logger.info('Service is being stopped')
def preConnect(self, user, protocol):
'''
Invoked when received a PRE Connection request via REST
'''
logger.debug('Pre-connect does nothing')
return 'ok'
def onLogout(self, user):
logger.debug('On logout invoked for {}'.format(user))

View File

@@ -1,148 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
# _*_ coding: iso-8859-1 _*_
from __future__ import unicode_literals
import win32com.client # @UnresolvedImport, pylint: disable=import-error
import win32com.server.policy # @UnresolvedImport, pylint: disable=import-error
import os
from udsactor.log import logger
# based on python SENS example from
# http://timgolden.me.uk/python/win32_how_do_i/track-session-events.html
# from Sens.h
SENSGUID_PUBLISHER = "{5fee1bd6-5b9b-11d1-8dd2-00aa004abd5e}"
SENSGUID_EVENTCLASS_LOGON = "{d5978630-5b9f-11d1-8dd2-00aa004abd5e}"
# from EventSys.h
PROGID_EventSystem = "EventSystem.EventSystem"
PROGID_EventSubscription = "EventSystem.EventSubscription"
IID_ISensLogon = "{d597bab3-5b9f-11d1-8dd2-00aa004abd5e}"
class SensLogon(win32com.server.policy.DesignatedWrapPolicy):
_com_interfaces_ = [IID_ISensLogon]
_public_methods_ = [
'Logon',
'Logoff',
'StartShell',
'DisplayLock',
'DisplayUnlock',
'StartScreenSaver',
'StopScreenSaver'
]
def __init__(self, service):
self._wrap_(self)
self.service = service
def Logon(self, *args):
logger.debug('Logon event: {}'.format(args))
if self.service.api is not None and self.service.api.isConnected:
try:
data = self.service.api.login(args[0])
logger.debug('Data received for login: {}'.format(data))
data = data.split('\t')
if len(data) == 2:
logger.debug('Data is valid: {}'.format(data))
windir = os.environ['windir']
with open(os.path.join(windir, 'remoteip.txt'), 'w') as f:
f.write(data[0])
with open(os.path.join(windir, 'remoteh.txt'), 'w') as f:
f.write(data[1])
except Exception as e:
logger.fatal('Error notifying logon to server: {}'.format(e))
def Logoff(self, *args):
logger.debug('Logoff event: arguments: {}'.format(args))
if self.service is not None and self.service.api is not None and self.service.api.isConnected:
try:
self.service.api.logout(args[0])
except Exception as e:
logger.fatal('Error notifying logoff to server: {}'.format(e))
logger.debug('Invoking onLogout: {}'.format(self.service))
self.service.onLogout(args[0])
logger.debug('Invoked!!')
def StartShell(self, *args):
# logevent('StartShell : %s' % [args])
pass
def DisplayLock(self, *args):
# logevent('DisplayLock : %s' % [args])
pass
def DisplayUnlock(self, *args):
# logevent('DisplayUnlock : %s' % [args])
pass
def StartScreenSaver(self, *args):
# When finished basic actor, we will use this to provide a new parameter: logout on screensaver
# This will allow to easily close sessions of idle users
# logevent('StartScreenSaver : %s' % [args])
pass
def StopScreenSaver(self, *args):
# logevent('StopScreenSaver : %s' % [args])
pass
def logevent(msg):
logger.info(msg)
# def register():
# call the CoInitialize to allow the registration to run in an other
# thread
# pythoncom.CoInitialize()
# logevent('Registring ISensLogon')
# sl=SensLogon()
# subscription_interface=pythoncom.WrapObject(sl)
# event_system=win32com.client.Dispatch(PROGID_EventSystem)
# event_subscription=win32com.client.Dispatch(PROGID_EventSubscription)
# event_subscription.EventClassID=SENSGUID_EVENTCLASS_LOGON
# event_subscription.PublisherID=SENSGUID_PUBLISHER
# event_subscription.SubscriptionName='Python subscription'
# event_subscription.SubscriberInterface=subscription_interface
# event_system.Store(PROGID_EventSubscription, event_subscription)
# pythoncom.PumpMessages()
# #logevent('ISensLogon stopped')

View File

@@ -1,317 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
from __future__ import unicode_literals
# pylint: disable=unused-wildcard-import, wildcard-import
import win32serviceutil # @UnresolvedImport, pylint: disable=import-error
import win32service # @UnresolvedImport, pylint: disable=import-error
import win32security # @UnresolvedImport, pylint: disable=import-error
import win32net # @UnresolvedImport, pylint: disable=import-error
import win32event # @UnresolvedImport, pylint: disable=import-error
import win32com.client # @UnresolvedImport, @UnusedImport, pylint: disable=import-error
import pythoncom # @UnresolvedImport, pylint: disable=import-error
import servicemanager # @UnresolvedImport, pylint: disable=import-error
import os
from udsactor import operations
from udsactor.service import CommonService
from udsactor.service import initCfg
from udsactor.log import logger
from .SENS import SensLogon
from .SENS import logevent
from .SENS import SENSGUID_EVENTCLASS_LOGON
from .SENS import SENSGUID_PUBLISHER
from .SENS import PROGID_EventSubscription
from .SENS import PROGID_EventSystem
class UDSActorSvc(win32serviceutil.ServiceFramework, CommonService):
'''
This class represents a Windows Service for managing actor interactions
with UDS Broker and Machine
'''
_svc_name_ = "UDSActor"
_svc_display_name_ = "UDS Actor Service"
_svc_description_ = "UDS Actor for machines managed by UDS Broker"
# 'System Event Notification' is the SENS service
_svc_deps_ = ['EventLog', 'SENS']
def __init__(self, args):
win32serviceutil.ServiceFramework.__init__(self, args)
CommonService.__init__(self)
self.hWaitStop = win32event.CreateEvent(None, 1, 0, None)
self._user = None
def SvcStop(self):
self.ReportServiceStatus(win32service.SERVICE_STOP_PENDING)
self.isAlive = False
win32event.SetEvent(self.hWaitStop)
SvcShutdown = SvcStop
def notifyStop(self):
servicemanager.LogMsg(servicemanager.EVENTLOG_INFORMATION_TYPE,
servicemanager.PYS_SERVICE_STOPPED,
(self._svc_name_, ''))
def doWait(self, miliseconds):
win32event.WaitForSingleObject(self.hWaitStop, miliseconds)
def rename(self, name, user=None, oldPassword=None, newPassword=None):
'''
Renames the computer, and optionally sets a password for an user
before this
'''
hostName = operations.getComputerName()
if hostName.lower() == name.lower():
logger.info('Computer name is now {}'.format(hostName))
self.setReady()
return
# Check for password change request for an user
if user is not None:
logger.info('Setting password for user {}'.format(user))
try:
operations.changeUserPassword(user, oldPassword, newPassword)
except Exception as e:
# We stop here without even renaming computer, because the
# process has failed
raise Exception(
'Could not change password for user {} (maybe invalid current password is configured at broker): {} '.format(user, unicode(e)))
operations.renameComputer(name)
# Reboot just after renaming
logger.info('Rebooting computer got activate new name {}'.format(name))
self.reboot()
def oneStepJoin(self, name, domain, ou, account, password):
'''
Ejecutes the join domain in exactly one step
'''
currName = operations.getComputerName()
# If name is desired, simply execute multiStepJoin, because computer
# name will not change
if currName.lower() == name.lower():
self.multiStepJoin(name, domain, ou, account, password)
else:
operations.renameComputer(name)
logger.debug('Computer renamed to {} without reboot'.format(name))
operations.joinDomain(
domain, ou, account, password, executeInOneStep=True)
logger.debug(
'Requested join domain {} without errors'.format(domain))
self.reboot()
def multiStepJoin(self, name, domain, ou, account, password):
currName = operations.getComputerName()
if currName.lower() == name.lower():
currDomain = operations.getDomainName()
logger.debug('Name: "{}" vs "{}", Domain: "{}" vs "{}"'.format(currName.lower(), name.lower(), currDomain.lower(), domain.lower()))
if currDomain is not None:
logger.info(
'Machine {} is part of domain {}'.format(name, domain))
self.setReady()
else:
operations.joinDomain(
domain, ou, account, password, executeInOneStep=False)
else:
operations.renameComputer(name)
logger.info(
'Rebooting computer got activate new name {}'.format(name))
self.reboot()
def joinDomain(self, name, domain, ou, account, password):
ver = operations.getWindowsVersion()
ver = ver[0] * 10 + ver[1]
logger.info('Starting joining domain {} with name {} (detected operating version: {})'.format(
domain, name, ver))
# Accepts one step joinDomain, also remember XP is no more supported by
# microsoft, but this also must works with it because will do a "multi
# step" join
if ver >= 60:
self.oneStepJoin(name, domain, ou, account, password)
else:
self.multiStepJoin(name, domain, ou, account, password)
def preConnect(self, user, protocol):
logger.debug('Pre connect invoked')
if protocol != 'rdp': # If connection is not using rdp, skip adding user
return 'ok'
# Well known SSID for Remote Desktop Users
REMOTE_USERS_SID = 'S-1-5-32-555'
p = win32security.GetBinarySid(REMOTE_USERS_SID)
groupName = win32security.LookupAccountSid(None, p)[0]
useraAlreadyInGroup = False
resumeHandle = 0
while True:
users, _, resumeHandle = win32net.NetLocalGroupGetMembers(None, groupName, 1, resumeHandle, 32768)
if user in [u['name'] for u in users]:
useraAlreadyInGroup = True
break
if resumeHandle == 0:
break
if useraAlreadyInGroup is False:
logger.debug('User not in group, adding it')
self._user = user
try:
userSSID = win32security.LookupAccountName(None, user)[0]
win32net.NetLocalGroupAddMembers(None, groupName, 0, [{'sid': userSSID}])
except Exception as e:
logger.error('Exception adding user to Remote Desktop Users: {}'.format(e))
else:
self._user = None
logger.debug('User {} already in group'.format(user))
return 'ok'
def onLogout(self, user):
logger.debug('Windows onLogout invoked: {}, {}'.format(user, self._user))
try:
REMOTE_USERS_SID = 'S-1-5-32-555'
p = win32security.GetBinarySid(REMOTE_USERS_SID)
groupName = win32security.LookupAccountSid(None, p)[0]
except Exception:
logger.error('Exception getting Windows Group')
return
if self._user is not None:
try:
win32net.NetLocalGroupDelMembers(None, groupName, [self._user])
except Exception as e:
logger.error('Exception removing user from Remote Desktop Users: {}'.format(e))
def SvcDoRun(self):
'''
Main service loop
'''
try:
initCfg()
logger.debug('running SvcDoRun')
servicemanager.LogMsg(servicemanager.EVENTLOG_INFORMATION_TYPE,
servicemanager.PYS_SERVICE_STARTED,
(self._svc_name_, ''))
# call the CoInitialize to allow the registration to run in an other
# thread
logger.debug('Initializing com...')
pythoncom.CoInitialize()
# ********************************************************
# * Ask brokers what to do before proceding to main loop *
# ********************************************************
if self.interactWithBroker() is False:
logger.debug('Interact with broker returned false, stopping service after a while')
self.notifyStop()
win32event.WaitForSingleObject(self.hWaitStop, 5000)
return
if self.isAlive is False:
logger.debug('The service is not alive after broker interaction, stopping it')
self.notifyStop()
return
if self.rebootRequested is True:
logger.debug('Reboot has been requested, stopping service')
self.notifyStop()
return
self.initIPC()
except Exception: # Any init exception wil be caught, service must be then restarted
logger.exception()
logger.debug('Exiting service with failure status')
os._exit(-1) # pylint: disable=protected-access
# ********************************
# * Registers SENS subscriptions *
# ********************************
logevent('Registering ISensLogon')
subscription_guid = '{41099152-498E-11E4-8FD3-10FEED05884B}'
sl = SensLogon(self)
subscription_interface = pythoncom.WrapObject(sl)
event_system = win32com.client.Dispatch(PROGID_EventSystem)
event_subscription = win32com.client.Dispatch(PROGID_EventSubscription)
event_subscription.EventClassID = SENSGUID_EVENTCLASS_LOGON
event_subscription.PublisherID = SENSGUID_PUBLISHER
event_subscription.SubscriptionName = 'UDS Actor subscription'
event_subscription.SubscriptionID = subscription_guid
event_subscription.SubscriberInterface = subscription_interface
event_system.Store(PROGID_EventSubscription, event_subscription)
logger.debug('Registered SENS, running main loop')
# *********************
# * Main Service loop *
# *********************
# Counter used to check ip changes only once every 10 seconds, for
# example
counter = 0
while self.isAlive:
counter += 1
# Process SENS messages, This will be a bit asyncronous (1 second
# delay)
pythoncom.PumpWaitingMessages()
if counter >= 15: # Once every 15 seconds
counter = 0
try:
self.checkIpsChanged()
except Exception as e:
logger.error('Error checking ip change: {}'.format(e))
# In milliseconds, will break
win32event.WaitForSingleObject(self.hWaitStop, 1000)
logger.debug('Exited main loop, deregistering SENS')
# *******************************************
# * Remove SENS subscription before exiting *
# *******************************************
event_system.Remove(
PROGID_EventSubscription, "SubscriptionID == " + subscription_guid)
self.endIPC() # Ends IPC servers
self.endAPI() # And deinitializes REST api if needed
self.notifyStop()
if __name__ == '__main__':
initCfg()
win32serviceutil.HandleCommandLine(UDSActorSvc)

View File

@@ -1,77 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
from __future__ import unicode_literals
import servicemanager # @UnresolvedImport, pylint: disable=import-error
import logging
import os
import tempfile
# Valid logging levels, from UDS Broker (uds.core.utils.log)
OTHER, DEBUG, INFO, WARN, ERROR, FATAL = (10000 * (x + 1) for x in xrange(6))
class LocalLogger(object):
def __init__(self):
# tempdir is different for "user application" and "service"
# service wil get c:\windows\temp, while user will get c:\users\XXX\temp
logging.basicConfig(
filename=os.path.join(tempfile.gettempdir(), 'udsactor.log'),
filemode='a',
format='%(levelname)s %(asctime)s %(message)s',
level=logging.DEBUG
)
self.logger = logging.getLogger('udsactor')
self.serviceLogger = False
def log(self, level, message):
# Debug messages are logged to a file
# our loglevels are 10000 (other), 20000 (debug), ....
# logging levels are 10 (debug), 20 (info)
# OTHER = logging.NOTSET
self.logger.log(level / 1000 - 10, message)
if level < INFO or self.serviceLogger is False: # Only information and above will be on event log
return
if level < WARN: # Info
servicemanager.LogInfoMsg(message)
elif level < ERROR: # WARN
servicemanager.LogWarningMsg(message)
else: # Error & Fatal
servicemanager.LogErrorMsg(message)
def isWindows(self):
return True
def isLinux(self):
return False

View File

@@ -1,219 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
from __future__ import unicode_literals
import win32com.client # @UnresolvedImport, pylint: disable=import-error
import win32net # @UnresolvedImport, pylint: disable=import-error
import win32security # @UnresolvedImport, pylint: disable=import-error
import win32api # @UnresolvedImport, pylint: disable=import-error
import win32con # @UnresolvedImport, pylint: disable=import-error
import ctypes
from ctypes.wintypes import DWORD, LPCWSTR
import os
from udsactor import utils
from udsactor.log import logger
def getErrorMessage(res=0):
msg = win32api.FormatMessage(res)
return msg.decode('windows-1250', 'ignore')
def getComputerName():
return win32api.GetComputerNameEx(win32con.ComputerNamePhysicalDnsHostname)
def getNetworkInfo():
obj = win32com.client.Dispatch("WbemScripting.SWbemLocator")
wmobj = obj.ConnectServer("localhost", "root\cimv2")
adapters = wmobj.ExecQuery("Select * from Win32_NetworkAdapterConfiguration where IpEnabled=True")
try:
for obj in adapters:
for ip in obj.IPAddress:
if ':' in ip: # Is IPV6, skip this
continue
if ip is None or ip == '' or ip.startswith('169.254') or ip.startswith('0.'): # If single link ip, or no ip
continue
# logger.debug('Net config found: {}=({}, {})'.format(obj.Caption, obj.MACAddress, ip))
yield utils.Bunch(name=obj.Caption, mac=obj.MACAddress, ip=ip)
except Exception:
return
def getDomainName():
'''
Will return the domain name if we belong a domain, else None
(if part of a network group, will also return None)
'''
# Status:
# 0 = Unknown
# 1 = Unjoined
# 2 = Workgroup
# 3 = Domain
domain, status = win32net.NetGetJoinInformation()
if status != 3:
domain = None
return domain
def getWindowsVersion():
return win32api.GetVersionEx()
EWX_LOGOFF = 0x00000000
EWX_SHUTDOWN = 0x00000001
EWX_REBOOT = 0x00000002
EWX_FORCE = 0x00000004
EWX_POWEROFF = 0x00000008
EWX_FORCEIFHUNG = 0x00000010
def reboot(flags=EWX_FORCEIFHUNG | EWX_REBOOT):
hproc = win32api.GetCurrentProcess()
htok = win32security.OpenProcessToken(hproc, win32security.TOKEN_ADJUST_PRIVILEGES | win32security.TOKEN_QUERY)
privs = ((win32security.LookupPrivilegeValue(None, win32security.SE_SHUTDOWN_NAME), win32security.SE_PRIVILEGE_ENABLED),)
win32security.AdjustTokenPrivileges(htok, 0, privs)
win32api.ExitWindowsEx(flags, 0)
def loggoff():
win32api.ExitWindowsEx(EWX_LOGOFF)
def renameComputer(newName):
# Needs admin privileges to work
if ctypes.windll.kernel32.SetComputerNameExW(DWORD(win32con.ComputerNamePhysicalDnsHostname), LPCWSTR(newName)) == 0: # @UndefinedVariable
# win32api.FormatMessage -> returns error string
# win32api.GetLastError -> returns error code
# (just put this comment here to remember to log this when logger is available)
error = getErrorMessage()
computerName = win32api.GetComputerNameEx(win32con.ComputerNamePhysicalDnsHostname)
raise Exception('Error renaming computer from {} to {}: {}'.format(computerName, newName, error))
NETSETUP_JOIN_DOMAIN = 0x00000001
NETSETUP_ACCT_CREATE = 0x00000002
NETSETUP_ACCT_DELETE = 0x00000004
NETSETUP_WIN9X_UPGRADE = 0x00000010
NETSETUP_DOMAIN_JOIN_IF_JOINED = 0x00000020
NETSETUP_JOIN_UNSECURE = 0x00000040
NETSETUP_MACHINE_PWD_PASSED = 0x00000080
NETSETUP_JOIN_WITH_NEW_NAME = 0x00000400
NETSETUP_DEFER_SPN_SET = 0x1000000
def joinDomain(domain, ou, account, password, executeInOneStep=False):
'''
Joins machine to a windows domain
:param domain: Domain to join to
:param ou: Ou that will hold machine
:param account: Account used to join domain
:param password: Password of account used to join domain
:param executeInOneStep: If true, means that this machine has been renamed and wants to add NETSETUP_JOIN_WITH_NEW_NAME to request so we can do rename/join in one step.
'''
# If account do not have domain, include it
if '@' not in account and '\\' not in account:
if '.' in domain:
account = account + '@' + domain
else:
account = domain + '\\' + account
# Do log
flags = NETSETUP_ACCT_CREATE | NETSETUP_DOMAIN_JOIN_IF_JOINED | NETSETUP_JOIN_DOMAIN
if executeInOneStep:
flags |= NETSETUP_JOIN_WITH_NEW_NAME
flags = DWORD(flags)
domain = LPCWSTR(domain)
# Must be in format "ou=.., ..., dc=...,"
ou = LPCWSTR(ou) if ou is not None and ou != '' else None
account = LPCWSTR(account)
password = LPCWSTR(password)
res = ctypes.windll.netapi32.NetJoinDomain(None, domain, ou, account, password, flags)
# Machine found in another ou, use it and warn this on log
if res == 2224:
flags = DWORD(NETSETUP_DOMAIN_JOIN_IF_JOINED | NETSETUP_JOIN_DOMAIN)
res = ctypes.windll.netapi32.NetJoinDomain(None, domain, None, account, password, flags)
if res != 0:
# Log the error
error = getErrorMessage(res)
if res == 1355:
error = "DC Is not reachable"
print res, error
raise Exception('Error joining domain {}, with credentials {}/*****{}: {}, {}'.format(domain.value, account.value, ', under OU {}'.format(ou.value) if ou.value is not None else '', res, error))
def changeUserPassword(user, oldPassword, newPassword):
computerName = LPCWSTR(getComputerName())
user = LPCWSTR(user)
oldPassword = LPCWSTR(oldPassword)
newPassword = LPCWSTR(newPassword)
res = ctypes.windll.netapi32.NetUserChangePassword(computerName, user, oldPassword, newPassword)
if res != 0:
# Log the error, and raise exception to parent
error = getErrorMessage()
raise Exception('Error changing password for user {}: {}'.format(user.value, error))
class LASTINPUTINFO(ctypes.Structure):
_fields_ = [
('cbSize', ctypes.c_uint),
('dwTime', ctypes.c_uint),
]
def initIdleDuration(atLeastSeconds):
'''
In windows, there is no need to set screensaver
'''
pass
def getIdleDuration():
lastInputInfo = LASTINPUTINFO()
lastInputInfo.cbSize = ctypes.sizeof(lastInputInfo)
ctypes.windll.user32.GetLastInputInfo(ctypes.byref(lastInputInfo))
millis = ctypes.windll.kernel32.GetTickCount() - lastInputInfo.dwTime # @UndefinedVariable
return millis / 1000.0
def getCurrentUser():
'''
Returns current logged in username
'''
return os.environ['USERNAME']

View File

@@ -1,94 +0,0 @@
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Virtual Cable S.L.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without modification,
# are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice,
# this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright notice,
# this list of conditions and the following disclaimer in the documentation
# and/or other materials provided with the distribution.
# * Neither the name of Virtual Cable S.L. nor the names of its contributors
# may be used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
'''
@author: Adolfo Gómez, dkmaster at dkmon dot com
'''
from __future__ import unicode_literals
from win32com.shell import shell # @UnresolvedImport, pylint: disable=import-error
import _winreg as wreg # @UnresolvedImport, pylint: disable=import-error
import win32security # @UnresolvedImport, pylint: disable=import-error
import cPickle
DEBUG = False
# Can be changed to whatever we want, but registry key is protected by permissions
def encoder(data):
return data.encode('bz2')
def decoder(data):
return data.decode('bz2')
path = 'Software\\UDSActor'
baseKey = wreg.HKEY_CURRENT_USER if DEBUG is True else wreg.HKEY_LOCAL_MACHINE # @UndefinedVariable
def checkPermissions():
return True if DEBUG else shell.IsUserAnAdmin()
def fixRegistryPermissions(handle):
if DEBUG:
return
# Fix permissions so users can't read this key
v = win32security.GetSecurityInfo(handle, win32security.SE_REGISTRY_KEY, win32security.DACL_SECURITY_INFORMATION)
dacl = v.GetSecurityDescriptorDacl()
n = 0
# Remove all normal users access permissions to the registry key
while n < dacl.GetAceCount():
if unicode(dacl.GetAce(n)[2]) == u'PySID:S-1-5-32-545': # Whell known Users SID
dacl.DeleteAce(n)
else:
n += 1
win32security.SetSecurityInfo(handle, win32security.SE_REGISTRY_KEY,
win32security.DACL_SECURITY_INFORMATION | win32security.PROTECTED_DACL_SECURITY_INFORMATION,
None, None, dacl, None)
def readConfig():
try:
key = wreg.OpenKey(baseKey, path, 0, wreg.KEY_QUERY_VALUE) # @UndefinedVariable
data, _ = wreg.QueryValueEx(key, '') # @UndefinedVariable
wreg.CloseKey(key) # @UndefinedVariable
return cPickle.loads(decoder(data))
except Exception:
return None
def writeConfig(data):
try:
key = wreg.OpenKey(baseKey, path, 0, wreg.KEY_ALL_ACCESS) # @UndefinedVariable
except Exception:
key = wreg.CreateKeyEx(baseKey, path, 0, wreg.KEY_ALL_ACCESS) # @UndefinedVariable
fixRegistryPermissions(key.handle)
wreg.SetValueEx(key, "", 0, wreg.REG_BINARY, encoder(cPickle.dumps(data))) # @UndefinedVariable
wreg.CloseKey(key) # @UndefinedVariable

1
client Submodule

Submodule client added at 5b044bca34

1
guacamole-auth-uds Submodule

Submodule guacamole-auth-uds added at d85819b4af

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry including="**/*.java" kind="src" path="src/main/java"/>
<classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar"/>
<classpathentry kind="lib" path="/home/dkmaster/.m2/repository/org/glyptodon/guacamole/guacamole-common/0.8.0/guacamole-common-0.8.0.jar"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>

View File

@@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>guacamole-tunnel</name>
<comment>NO_M2ECLIPSE_SUPPORT: Project files created with the maven-eclipse-plugin are not supported in M2Eclipse.</comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@@ -1,81 +0,0 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.openuds.server</groupId>
<artifactId>transport</artifactId>
<packaging>war</packaging>
<version>1.7.0</version>
<name>Guacamole Transport</name>
<url>http://openuds.org/</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<finalName>transport</finalName>
<plugins>
<!-- Compile using Java 1.6 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<!-- Overlay guacamole-common-js (zip) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<overlays>
<overlay>
<groupId>org.glyptodon.guacamole</groupId>
<artifactId>guacamole-common-js</artifactId>
<type>zip</type>
</overlay>
</overlays>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<!-- Servlet API -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<!-- Main Guacamole library -->
<dependency>
<groupId>org.glyptodon.guacamole</groupId>
<artifactId>guacamole-common</artifactId>
<version>0.9.4</version>
<scope>compile</scope>
</dependency>
<!-- Guacamole JavaScript library -->
<dependency>
<groupId>org.glyptodon.guacamole</groupId>
<artifactId>guacamole-common-js</artifactId>
<version>0.9.4</version>
<type>zip</type>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>

View File

@@ -1,147 +0,0 @@
package org.openuds.guacamole;
import java.io.BufferedReader;
import java.io.FileReader;
import java.net.URL;
import java.util.Arrays;
import java.util.Enumeration;
import java.util.Hashtable;
import java.util.Properties;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.glyptodon.guacamole.GuacamoleException;
import org.glyptodon.guacamole.net.GuacamoleSocket;
import org.glyptodon.guacamole.net.GuacamoleTunnel;
import org.glyptodon.guacamole.net.InetGuacamoleSocket;
import org.glyptodon.guacamole.protocol.ConfiguredGuacamoleSocket;
import org.glyptodon.guacamole.protocol.GuacamoleClientInformation;
import org.glyptodon.guacamole.protocol.GuacamoleConfiguration;
import org.glyptodon.guacamole.servlet.GuacamoleHTTPTunnelServlet;
import org.glyptodon.guacamole.servlet.GuacamoleSession;
public class TunnelServlet
extends GuacamoleHTTPTunnelServlet {
/**
*
*/
private static final long serialVersionUID = 2010742981126080080L;
private static final String UDS_PATH = "/guacamole/";
private static final String UDSFILE = "udsfile";
private static final String UDS = "uds";
private static Properties config = null;
private String getConfigValue(String value) throws GuacamoleException {
if( config == null ) {
try {
config = new Properties();
config.load(getServletContext().getResourceAsStream("/WEB-INF/tunnel.properties"));
if( null != config.getProperty(UDSFILE)) {
BufferedReader bufferedReader = new BufferedReader(new FileReader(config.getProperty(UDSFILE)));
URL u = new URL(bufferedReader.readLine());
String uds = u.getProtocol() + "://" + u.getAuthority();
bufferedReader.close();
config.put(UDS, uds);
}
} catch( Exception e ) {
throw new GuacamoleException(e.getMessage(), e);
}
}
System.out.println("Getting value of " + value + ": " + config.getProperty(value));
return config.getProperty(value);
}
@Override
protected GuacamoleTunnel doConnect(HttpServletRequest request)
throws GuacamoleException {
String data = request.getParameter("data");
String width = request.getParameter("width");
String height = request.getParameter("height");
if( data == null || width == null || height == null)
throw new GuacamoleException("Can't read required parameters");
Hashtable<String,String> params = Util.readParameters( getConfigValue(UDS) + UDS_PATH + data);
if( params == null ) {
System.out.println("Invalid credentials");
throw new GuacamoleException("Can't access required user credentials");
}
System.out.println("Got parameters from remote server: " + data + ", " + width + "x" + height);
GuacamoleClientInformation info = new GuacamoleClientInformation();
info.setOptimalScreenWidth(Integer.parseInt(width));
info.setOptimalScreenHeight(Integer.parseInt(height));
System.out.println("Optiomal size: " + width + "x" + height);
// Add audio mimetypes
String[] audio_mimetypes = request.getParameterValues("audio");
if (audio_mimetypes != null)
info.getAudioMimetypes().addAll(Arrays.asList(audio_mimetypes));
// Add video mimetypes
String[] video_mimetypes = request.getParameterValues("video");
if (video_mimetypes != null)
info.getVideoMimetypes().addAll(Arrays.asList(video_mimetypes));
// Create our configuration
GuacamoleConfiguration config = new GuacamoleConfiguration();
config.setProtocol(params.get("protocol"));
System.out.println("Parsing parameters");
Enumeration<String> keys = params.keys();
while( keys.hasMoreElements() ) {
String key = keys.nextElement();
if( "protocol".equals(key) )
continue;
System.out.println("Parameter " + key + ": " + params.get(key));
config.setParameter(key, params.get(key));
}
System.out.println("Opening soket");
// Connect to guacd - everything is hard-coded here.
GuacamoleSocket socket = null;
try {
socket = new ConfiguredGuacamoleSocket(
new InetGuacamoleSocket("127.0.0.1", 4822),
config, info
);
} catch( Exception e ) {
System.out.print(e.getMessage());
System.out.print(e);
}
System.out.println("Initializing socket " + socket.toString());
// Establish the tunnel using the connected socket
GuacamoleTunnel tunnel = new GuacamoleTunnel(socket);
System.out.println("Initializing tunnel " + tunnel.toString());
// Attach tunnel to session
HttpSession httpSession = request.getSession(true);
GuacamoleSession session = new GuacamoleSession(httpSession);
session.attachTunnel(tunnel);
System.out.println("Returning tunnel");
// Return pre-attached tunnel
return tunnel;
}
}

View File

@@ -1,185 +0,0 @@
package org.openuds.guacamole;
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.security.cert.X509Certificate;
import java.util.Hashtable;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.HttpsURLConnection;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSession;
import javax.net.ssl.SSLSocketFactory;
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
public class Util {
//
public static Hashtable<String,String> readParameters(String url) {
//String url = unscramble(data);
//String params = getUrl(url);
//return parseParams(params);
//String params = Credentials.getAndRemove(data);
String params = getUrl(url);
if( params == null || params.equals("ERROR"))
return null;
return parseParams(params);
}
public static Hashtable<String,String> parseParams(String params)
{
Hashtable<String,String> res = new Hashtable<String, String>();
String[] parms = params.split("\n");
for( int i = 0; i < parms.length; i++) {
String[] val = parms[i].split("\t");
if( val.length == 1 )
res.put(val[0], "");
else
res.put(val[0], val[1]);
}
return res;
}
public static boolean download(String baseUrl, String id, String outputFileName)
{
return Util.download(baseUrl, id, outputFileName, true);
}
public static boolean download(String baseUrl, String id, String outputFileName, boolean ignoreCert)
{
// SSL Part got from sample at http://code.google.com/p/misc-utils/wiki/JavaHttpsUrl
try {
final TrustManager[] trustAllCerts = new TrustManager[] { new X509TrustManager() {
@Override
public void checkClientTrusted( final X509Certificate[] chain, final String authType ) {
}
@Override
public void checkServerTrusted( final X509Certificate[] chain, final String authType ) {
}
@Override
public X509Certificate[] getAcceptedIssuers() {
return null;
}
} };
// Install the all-trusting trust manager
final SSLContext sslContext = SSLContext.getInstance( "SSL" );
sslContext.init( null, trustAllCerts, new java.security.SecureRandom() );
// Create an ssl socket factory with our all-trusting manager
final SSLSocketFactory sslSocketFactory = sslContext.getSocketFactory();
java.net.URL u = new java.net.URL(baseUrl + id);
java.net.URLConnection uc = u.openConnection();
System.out.println(baseUrl);
System.out.println(uc);
// If ignoring server certificates, disable ssl certificate checking
if( ignoreCert && uc instanceof HttpsURLConnection) {
((HttpsURLConnection)uc).setSSLSocketFactory( sslSocketFactory );
}
String contentType = uc.getContentType();
int contentLength = uc.getContentLength();
if (contentType.startsWith("text/") || contentLength == -1) {
throw new IOException("This is not a binary file.");
}
InputStream raw = uc.getInputStream();
InputStream in = new BufferedInputStream(raw);
byte[] data = new byte[contentLength];
int bytesRead = 0;
int offset = 0;
while (offset < contentLength) {
bytesRead = in.read(data, offset, data.length - offset);
if (bytesRead == -1)
break;
offset += bytesRead;
}
in.close();
if (offset != contentLength) {
throw new IOException("Only read " + offset + " bytes; Expected " + contentLength + " bytes");
}
java.io.FileOutputStream out = new java.io.FileOutputStream(outputFileName);
out.write(data);
out.flush();
out.close();
} catch(Exception e) {
System.out.println("Unable to download file, already present or network error? " + e.getMessage());
return false;
}
return true;
}
public static String getUrl(String url) {
return Util.getUrl(url, true);
}
public static String getUrl(String url, boolean ignoreCert) {
try {
// SSL Part got from sample at http://code.google.com/p/misc-utils/wiki/JavaHttpsUrl
final TrustManager[] trustAllCerts = new TrustManager[] { new X509TrustManager() {
@Override
public void checkClientTrusted( final X509Certificate[] chain, final String authType ) {
}
@Override
public void checkServerTrusted( final X509Certificate[] chain, final String authType ) {
}
@Override
public X509Certificate[] getAcceptedIssuers() {
return null;
}
} };
// Install the all-trusting trust manager
final SSLContext sslContext = SSLContext.getInstance( "SSL" );
sslContext.init( null, trustAllCerts, new java.security.SecureRandom() );
// Create an ssl socket factory with our all-trusting manager
final SSLSocketFactory sslSocketFactory = sslContext.getSocketFactory();
java.net.URL u = new java.net.URL(url);
java.net.URLConnection uc = u.openConnection();
System.out.println(url);
System.out.println(uc instanceof HttpsURLConnection);
// If ignoring server certificates, disable ssl certificate checking and hostname checking
if( ignoreCert && uc instanceof HttpsURLConnection) {
((HttpsURLConnection)uc).setSSLSocketFactory( sslSocketFactory );
((HttpsURLConnection)uc).setHostnameVerifier(
new HostnameVerifier() {
@Override
public boolean verify(String arg0, SSLSession arg1) {
return true;
}
});
}
BufferedReader in = new BufferedReader(new InputStreamReader(uc.getInputStream()));
StringBuilder data = new StringBuilder();
String inputLine;
while ((inputLine = in.readLine()) != null) {
data.append(inputLine);
data.append("\n");
}
in.close();
return data.toString();
} catch(Exception e) {
System.out.println("Unable to get url. Network error? " + e.getMessage());
return null;
}
}
}

View File

@@ -1,5 +0,0 @@
# We can specify the uds server here as:
# uds=http://172.27.0.1:8000
# Or we can get the server from an external file. The path part of the URL inside the file will be removed,
# so, if we put "https://example.com/other", the value of uds configuration will be "https://example.com"
udsfile=/var/ssh_443/etc/uds.conf

View File

@@ -1,41 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<!-- Basic config -->
<welcome-file-list>
<welcome-file>index.xhtml</welcome-file>
</welcome-file-list>
<!-- Guacamole Tunnel Servlet -->
<servlet>
<description>Tunnel Servlet</description>
<servlet-name>Tunnel</servlet-name>
<servlet-class>
org.openuds.guacamole.TunnelServlet
</servlet-class>
</servlet>
<servlet>
<description>Credentials Servlet</description>
<servlet-name>Credentials</servlet-name>
<servlet-class>
org.openuds.guacamole.CredentialsServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Tunnel</servlet-name>
<url-pattern>/tunnel</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>Credentials</servlet-name>
<url-pattern>/creds</url-pattern>
</servlet-mapping>
</web-app>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 586 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 512 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 611 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 690 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 525 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 707 B

Some files were not shown because too many files have changed in this diff Show More