1
0
mirror of https://github.com/dkmstr/openuds.git synced 2024-12-24 21:34:41 +03:00
Commit Graph

3836 Commits

Author SHA1 Message Date
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
Adolfo Gómez García
62540b2773
Added new fields to udsactor registration and better config values check on udstunnel 2023-05-10 22:28:34 +02:00
Adolfo Gómez García
a2bfcd3d5a
fixed "time" parameter from ticket (missing on check) 2023-05-09 14:21:13 +02:00
Adolfo Gómez García
684ca07750
Minor fixes 2023-05-08 14:36:22 +02:00
Adolfo Gómez García
9fc3b456c8
Merge remote-tracking branch 'origin/v3.6' 2023-05-05 00:43:34 +02:00
Adolfo Gómez García
2d6a381321
small typo fix 2023-05-05 00:43:24 +02:00
Adolfo Gómez García
66170448ab
fixes to telegram notifier and tunnel server test 2023-05-04 15:12:55 +02:00
Adolfo Gómez García
df5622c889
Merge remote-tracking branch 'origin/v3.6' 2023-05-04 14:46:13 +02:00
Adolfo Gómez García
36a4f9a68b
recovered mic for xfreerdp on mac 2023-05-03 21:59:09 +02:00
Adolfo Gómez García
96468a935d
Finished telegram notifier and removed not "interesting" levels from notifiers, ensuring no spam 2023-05-03 21:50:29 +02:00
Adolfo Gómez García
a7a658e42d
Added forgotten "notify" to telegram notifier :) 2023-05-03 01:34:12 +02:00
Adolfo Gómez García
3fa6478f94
Added telegram bot support to notifiers (not tested already) 2023-05-03 01:21:26 +02:00
Adolfo Gómez García
7244e8dec5
Starting telegram notifier 2023-05-02 23:45:50 +02:00
Adolfo Gómez García
1c0bdf189e
removed registering method from notification manager (finally, will not be used) 2023-05-02 16:05:34 +02:00
Adolfo Gómez García
1e85965d10
fixing up logging load 2023-04-28 03:28:46 +02:00
Adolfo Gómez García
646ec42dd6
merged from 3.6 2023-04-25 13:10:56 +02:00
Adolfo Gómez García
ac4177f22b
Merge remote-tracking branch 'origin/v3.6' 2023-04-25 13:09:13 +02:00
Adolfo Gómez García
21e8b5aa56
some minor formatting 2023-04-25 13:09:10 +02:00
Adolfo Gómez García
48aec57256
recovered "azuread" logging compat 2023-04-25 13:08:19 +02:00
Adolfo Gómez García
122d5c5634
Fixes and refactoring 2023-04-25 12:06:49 +02:00
Adolfo Gómez García
983320e70b
More linting and some more refactor 2023-04-25 12:01:48 +02:00
Adolfo Gómez García
916e34a138
Refacotorized models.util to uds.core.util.model 2023-04-25 10:56:29 +02:00
Adolfo Gómez García
44cb9a2df3
Refactoring model utils, model constants and some linting 2023-04-24 22:29:43 +02:00
Adolfo Gómez García
e81982dd41
make clients prior to 3.5 not supported in any case 2023-04-24 14:17:28 +02:00
Adolfo Gómez García
b9788e8f42
Added redirection of error messages to systemd journal 2023-04-24 12:33:31 +02:00
Adolfo Gómez García
c4703a5e91
upgraded settings for black 2023-04-23 02:34:15 +02:00