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
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
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
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
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
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
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 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
9aa8d0da86
Replacing several diferent "registration" tables to a single, versatile one.
2023-07-12 19:36:42 +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
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
841097d4c3
Fixed service pool loggin
2023-06-22 15:49:38 +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
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
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 García
ba1cc3d372
added gpu availability check on proxmox
2023-05-30 17:53:38 +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
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
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
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
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
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
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
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
004ea3e7df
linting
2023-05-15 20:11:00 +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
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