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