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
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