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
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
c0116199ed
finders of test utils are now more versatile
2024-06-21 20:14:33 +02:00
Adolfo Gómez García
8108946342
upgrading angular
2024-06-20 04:24:32 +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
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
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
8f17f2e545
Security fixes from git
2024-04-11 16:31:45 +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
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
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
1a0b83327c
actorv3 fixes (cosmetic...)
2024-03-15 02:35:45 +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
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
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
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
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
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
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