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