Commit Graph

269 Commits

Author SHA1 Message Date
si458
d1368791e9 move orphanAgentUser to domain config-schema
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-10-08 14:01:02 +01:00
si458
113adb5b85 add debug/log to schema file
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-09-30 14:07:34 +01:00
si458
0bee2be3cf generate manifest.json from domain and add pwalogo
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-09-24 19:09:14 +01:00
si458
1d04a13a64 add oldStyle to consentMessages as workaround for win-userconsent crashing #6290
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-09-10 11:01:23 +01:00
si458
7b48e3b5f5 update webrtc servers and examples
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-09-01 18:56:33 +01:00
si458
aae551dab9 autobackup improvements #6324
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-08-15 11:32:24 +01:00
Simon Smith
77f44fc308 fix local amt with sqlite/mysql/postgres #6321
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2024-08-13 17:46:37 +01:00
Simon Smith
6da9222871
add s3 autobackup support (#6280)
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-07-29 14:41:36 +01:00
si458
10b57dcf9e fix default linuxshell for mobile ui #6275
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-07-24 10:15:43 +01:00
si458
4d75d48eea add watchdog to config-schema
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-07-23 13:10:01 +01:00
si458
62cae4cf8a fix autobackup: true
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-07-18 10:48:40 +01:00
si458
df91c90d33 fix ip fliters from files #3401
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-06-20 22:34:08 +01:00
Simon Smith
0a89d07937
add userSessionsSort for session sorting (#6177)
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-06-14 09:56:02 +01:00
si458
26ac23c80d fix web-rdp/web-ssh save creds per user
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-05-24 17:27:22 +01:00
si458
5a7e3d9869 fix allowSavingDeviceCredentials description
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-05-24 16:25:25 +01:00
si458
7e7361de9b add/fix iplocation
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-05-21 20:01:45 +01:00
si458
385a4738cd forgot oidc group schema fix
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-05-21 16:56:56 +01:00
Simon Smith
bf7957ebff
add zerossl acme (#6084)
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-05-12 15:45:24 +01:00
si458
f39b6f8859 add smtp user/pass to schema and help docs
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-04-18 20:22:25 +01:00
si458
afc6165827 nochecks description attempt 3 #5987
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-04-03 11:41:16 +01:00
si458
c9c0a6cb67 fix nocheck description again #5987
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-04-03 11:22:29 +01:00
si458
b46c322c41 fix nochecks description #5987
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-04-03 11:18:46 +01:00
si458
4ff5a5c912 add letsencrypt nochecks to schema #5987
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-04-03 11:14:42 +01:00
si458
b8238ef34d add selfupdate version to schema
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-10 16:26:52 +00:00
Josiah Baldwin
150e2337f5
Add options for overriding TLS ciphers used (#5915)
* Add the ability to set TLS cipher suites

Added config option to set the TLS ciphers instead of relying on a hardcoded list of ciphers determined by meshcentral.

* Added option to use default node ciphers

This allows the ciphers used to be set to the recommended ciphers by nodejs, as well as allowing the user to override the ciphers using the "--tls-cipher-list" command line switch for node.

* Updated validArguments array to include "usenodedefaulttlsciphers" and "tlsciphers" as options
2024-03-09 23:45:10 -08:00
Aaron Meese
334fee706e
Changed insure to ensure (#5913) 2024-03-07 16:08:11 +00:00
Ylian Saint-Hilaire
bab35e7bca Removed Reddit auth strategy since it never worked well. 2024-03-03 16:34:01 -08:00
mstrhakr
4be5b7273e
Migrate to openid client (#5856)
* Create forksync.yml

* update oidc to use openid-client

* update oidc module requirements

* working oidc+

includes all oauth2 clients automatically migrated. azure will need some kind of fix for the uid

* update openid-client install checks

* created overarching schema for OIDC

* bug fixs for azure login

* update schema

prepare schema for unified oidc module

* update 'oidc' to strategy variable

* working azure+ groups

groups from azure are in,
you can use memberOf or transitiveMemberOf in config (Graphs API)

* clean up old config import + working google oidc

previous config map was recursive nonsense, changed to multiple IFs

* added convertStrArray

* de-expanded scope

put all other auth strategies back to normal and fixed oidc strategy

* swap back to using authlog debugger

* Update meshcentral-config-schema.json

* working google oidc + groups

* working azure+groups (again)

* init oidc docs

very incomplete but basic config is present

* add oidc

* more work on docs

* add scope and claim options

plus fixed a few bugs and faults in my logic
used logs correctly

* further cleanup debug

* more debug cleanup

* continue documentation push

fixed minor debug bugs also

* more work on docs

missing links, need to get azure preset docs, probably more.

* done with docs

its good enough for now

* minor fix + presets get correct icon

* fix google oidc not visible at login

* fix bug with emailVerified property

* fix logout bug + debug cleanup

* fix strategy logout bug +cleanup

* fixed preset login icon

* fix alert + fix schema

* terminate lines

* Dutch language update 1.0.85

line up polish translation

* Fixed guest web relay session revocation (#4667)

* Updated French translation.

* Add hook to allow adding custom api endpoints to Express routing

* Updated German translation.

* Update meshcentral-config-schema.json (change formatting)

This way it is easier to edit and maintain

* Fixed schema.

* fix meshcentral-config-schema.json

* add language selector to login (#5648)

* add language selector to login

* add showLanguageSelect to pick top or bottom boxe

* remove additionalProperties: false in schema to allow comments #5697

Signed-off-by: si458 <simonsmith5521@gmail.com>

* fix notes in docs

* Fix web relay session handling and redirection due to bad merge

* Added option to check HTTP origin.

* add links and fix typo

* move groups after strategy

* Update version split in docs

* Fix preset issuer URL in OIDC strategy

* Update clientid and clientsecret to client_id and client_secret

* Update meshcentral-config-schema.json and fix bad rebase

* Update meshcentral-config-schema.json

* fix bad rebase

* fix bad rebase

* Add 'connect-flash' to passport dependencies

* Remove unnecessary passport dependencies - fix bad rebase

* Fix auth strategy bug and remove console.log statement

* Set groupType to the preset name if it exists, otherwise use the strategy name

* remove finally block from

* Refactor authentication logging in handleStrategyLogin to include strategy name

---------

Signed-off-by: si458 <simonsmith5521@gmail.com>
Co-authored-by: petervanv <58996467+petervanv@users.noreply.github.com>
Co-authored-by: Ylian Saint-Hilaire <ysainthilaire@hotmail.com>
Co-authored-by: Martin Mädler <martin.maedler@gmail.com>
Co-authored-by: Fausto Gutierrez <28719096+faustogut@users.noreply.github.com>
Co-authored-by: Simon Smith <simonsmith5521@gmail.com>
2024-03-03 16:03:27 -08:00
Ylian Saint-Hilaire
f2e43cc6da Added option to check HTTP origin. 2024-02-17 11:22:38 -08:00
si458
0232056219 add extra defaults and descriptions to schema
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-02-14 13:44:23 +00:00
si458
d02b63a4a2 remove additionalProperties: false in schema to allow comments #5697
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-01-15 19:45:46 +00:00
si458
1295af4677 fix config schema 2024
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-01-15 19:15:19 +00:00
Simon Smith
e967f00977
allow setting meshcentral assistant type for agentinvites (#5672)
* allow setting meshcentral assistant type for agentinvites

Signed-off-by: si458 <simonsmith5521@gmail.com>

* forgot webserver for assistantTypeAgentInvite

Signed-off-by: si458 <simonsmith5521@gmail.com>

* dont use capital letters with domain args

Signed-off-by: si458 <simonsmith5521@gmail.com>

---------

Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-01-07 22:21:54 -08:00
Simon Smith
e4001e67ef
add language selector to login (#5648)
* add language selector to login

* add showLanguageSelect to pick top or bottom boxe
2024-01-04 02:17:27 +00:00
si458
b17d04ddc5 add extra telegram options to docs/config #5587
Signed-off-by: si458 <simonsmith5521@gmail.com>
2023-11-27 15:14:51 +00:00
Simon Smith
5581f3ace8
add slack webhooks messaging (#5569)
* add slack webhooks messaging

Signed-off-by: si458 <simonsmith5521@gmail.com>

* remove my test slack incoming webhook

Signed-off-by: si458 <simonsmith5521@gmail.com>

---------

Signed-off-by: si458 <simonsmith5521@gmail.com>
2023-11-25 12:45:18 -08:00
si458
fb8883a9d9 add lockAgentDownload to schema and config
Signed-off-by: si458 <simonsmith5521@gmail.com>
2023-11-15 14:30:53 +00:00
jrf280
bc0550a791
Added device group name to search results as config option (#5544) 2023-11-12 15:18:00 -08:00
Simon Smith
c05cbeae88
showNotesPanel in device view (#5543)
Signed-off-by: si458 <simonsmith5521@gmail.com>
2023-11-12 10:13:21 -08:00
Simon Smith
c9b47edc75 explain allowlogintoken correctly
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2023-10-18 12:06:44 +01:00
Ylian Saint-Hilaire
6e1138ee5b Added scrollToTop option in domain section of the config.json. 2023-10-08 21:33:23 -07:00
Simon Smith
82c94cdf9d rename hidepowerstate to hidepowertimeline 2023-10-06 12:31:25 +00:00
Simon Smith
8b8ec48430 hide powerstate with hidepowerstate
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2023-10-06 12:01:04 +00:00
Simon Smith
d8d13bda42 add authorization to ntfy
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2023-10-04 12:49:55 +00:00
Ylian Saint-Hilaire
49fa88fb69 Clarify file:// in CertURL configuration. 2023-10-03 21:07:30 -07:00
Ylian Saint-Hilaire
3a3663bb55 Improvements to show config option in MyServer tab. 2023-10-03 20:35:02 -07:00
Simon Smith
93ea293a23
add dns to domains in schema 2023-09-07 21:36:41 +01:00
Simon Smith
163f8f80f1
fix meshcentral-config-schema.json 2023-08-13 00:18:50 +01:00
Ylian Saint-Hilaire
022ebd7311 Fixed schema. 2023-08-06 14:47:25 -07:00
Ylian Saint-Hilaire
a98302e058
Merge branch 'master' into patch-2 2023-08-06 14:25:26 -07:00