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
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
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
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
db77332c17
Fixed New Openstack implementation. Much more convenient
2024-03-10 01:51:15 +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
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
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
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
3bf7af2e3d
Fixing typing also on tests
2024-02-26 05:50:36 +01:00
Adolfo Gómez García
975dd80c5d
Some more fixes
2024-02-23 04:26:38 +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
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
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
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
8d26fff400
fixed specialization and specialization tests
2024-02-16 21:56:53 +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
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
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
1d569d009a
Moving common "specializations" algos for services to a common base
2024-02-02 00:22:17 +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
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
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
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
d2c466c542
updating max.... names to better ones
2024-01-24 21:25:15 +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
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 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
009df1f4cb
Refactoring, upgraded gui to angular 17 and some test fix
2024-01-16 05:03:10 +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
9dbb47a4ad
more refactoring and fixes and tests...
2024-01-16 00:14:00 +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
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
cd737c4b5f
fixed user interface serialization with stored_field_name (typo fix...)
2024-01-12 02:15:50 +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
84f1fef5d7
advancing on refactoring
2024-01-10 22:41:41 +01:00
Adolfo Gómez García
ad1b8cb51d
More refactorization
2024-01-10 19:17:15 +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
f6c6578b00
advancing on refactoring
2024-01-10 02:01:03 +01:00
Adolfo Gómez García
6ae18f4a58
advancing on refactoring
2024-01-09 02:45: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
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
bac161b46c
updated tests and more refactoring
2024-01-05 01:02:11 +01:00