Commit Graph

126 Commits

Author SHA1 Message Date
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
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
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
si458
fb8883a9d9 add lockAgentDownload to schema and config
Signed-off-by: si458 <simonsmith5521@gmail.com>
2023-11-15 14:30:53 +00:00
Simon Smith
c05cbeae88
showNotesPanel in device view (#5543)
Signed-off-by: si458 <simonsmith5521@gmail.com>
2023-11-12 10:13:21 -08: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
3a3663bb55 Improvements to show config option in MyServer tab. 2023-10-03 20:35:02 -07:00
silversword411
7209093767 Removing deprecated flag 2023-10-02 22:05:37 -04:00
Ylian Saint-Hilaire
7002ce1ea2 Added emailDelaySeconds to sample advanced config. 2022-12-15 10:21:16 -08:00
Sherif Metwally
627aa8662f correct config.json schema URL to match github schema location 2022-12-12 11:51:28 +02:00
Ylian Saint-Hilaire
3761a93961 Completed Discord integration (#4651) 2022-10-27 10:38:15 -07:00
Ylian Saint-Hilaire
7e3dce0ef7 First pass at adding Telegram support (#4650) 2022-10-22 07:23:55 -07:00
Ylian Saint-Hilaire
1ae01b2113 Added LDAP site admin support, OpenID samples and schema and more (#4506) 2022-09-06 00:30:07 -07:00
Ylian Saint-Hilaire
dce036658e Added use URL SMS provider so anyone can bridge to their own SMS solution (#4478) 2022-09-01 13:31:10 -07:00
Ylian Saint-Hilaire
46e7464b49 More work on server device paging. 2022-08-31 11:54:21 -07:00
Ylian Saint-Hilaire
334a9b8321 Added LDAPSyncWithUserGroups to config.json schema (#4415) 2022-08-22 11:57:11 -07:00
Ylian Saint-Hilaire
daa4c60b77 You can now restrict what LDAP users can login based on LDAP membership groups (#4415) 2022-08-21 14:05:51 -07:00
Ylian Saint-Hilaire
f6c3883735 Added support for pre-defined scripts. 2022-08-19 20:15:06 -07:00
Ylian Saint-Hilaire
15a76d3932 Added strictCommonName option for matching the Intel AMT ACM activation cert. 2022-08-15 21:49:01 -07:00
Ylian Saint-Hilaire
8c9067ed4a SQLite fixes and addition to config.json schema. 2022-08-15 16:28:06 -07:00
Ylian Saint-Hilaire
1f239481b7 Added basic AceBase support (#4398) 2022-08-13 18:32:17 -07:00
Ylian Saint-Hilaire
48c6b42a0b Started work on integrating Windows agent icon customization prior to agent signing. 2022-08-10 13:12:59 -07:00
Ylian Saint-Hilaire
b760bb6116 Fix agent metadata (agentFileInfo), the ProductVersion and FileVersion. 2022-08-04 01:47:36 -07:00
Ylian Saint-Hilaire
ea977d8c0d Alternate messaging system improvements (#4274) 2022-07-15 14:23:01 -07:00
Ylian Saint-Hilaire
947d9094cb Added support for Crowdsec, an open-source and collaborative IPS (Intrusion Prevention System) 2022-07-06 20:34:04 -07:00
Ylian Saint-Hilaire
18f4fe9c3a Added relayAliasPort setting to support relay port behind reverse proxies, #4222 2022-07-04 20:20:25 -07:00
Ylian Saint-Hilaire
5ba9d7e503 Added support to HTTP web relay on the main web server port with used with a specified DNS name, #4210 2022-07-03 00:44:58 -07:00
Ylian Saint-Hilaire
0d3454fb86 Added authenticode HTTP proxy support, #4168 2022-06-23 15:39:40 -07:00
Ylian Saint-Hilaire
34fdb39dcd Completed support for chaning windows executable file information resources. 2022-06-20 14:31:28 -07:00
Ylian Saint-Hilaire
44994a5a9b Added experimental options to change the Windows agent resource executable information. 2022-06-20 12:03:23 -07:00
silversword411
025daa3a13
Adding back agentTimeStampServer 2022-06-20 07:46:19 -04:00
silversword411
bfacd5ed73
Adding more items to advanced json 2022-06-20 07:25:03 -04:00
Ylian Saint-Hilaire
18c11a344c Added agent time stamping when signing a Windows agent. 2022-06-18 00:07:45 -07:00
silversword411
357c96eba4 Syncing same-config-advaned with meshcentral-config-schema.json 2022-06-09 16:35:58 -04:00
Ylian Saint-Hilaire
c04666895c Added agent signature locking support. 2022-05-29 12:35:27 -07:00
mstrhakr
8e0e72ec18 fixed typos and missing special chars 2022-04-08 12:00:10 -04:00
mstrhakr
4eefe1531c reorganized example config 2022-04-08 00:15:53 -04:00
mstrhakr
48a68197b2 added oidc section
also seems to be some kind of formatting change causing multiple other changes
2022-04-06 12:41:56 -04:00
Ylian Saint-Hilaire
e3205137e5 Added RunOnServerStarted, RunOnServerUpdated, RunOnServerError options. #3768 2022-03-17 11:19:18 -07:00
Ylian Saint-Hilaire
c67f574180 Version 0.9.94 2022-03-02 10:04:16 -08:00
Ylian Saint-Hilaire
e160f8e73f Added user consent config options, #3692 2022-02-22 12:32:49 -08:00
Ylian Saint-Hilaire
3aaf2f9257 Added assistantconfig options in config.json. 2022-01-31 10:21:13 -08:00
Ylian Saint-Hilaire
959603b4e9 Added agent logo support. 2022-01-18 13:34:10 -08:00
Ylian Saint-Hilaire
b352cc8409 Added AgentKey support, #3468 2022-01-16 13:59:14 -08:00
Ylian Saint-Hilaire
ce93843a51 More work on mobile guest sharing site. 2022-01-05 02:43:58 -08:00
Ylian Saint-Hilaire
d3e15d7f60 Changed config.json schema URL. 2022-01-04 22:55:01 -08:00