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