Commit Graph

243 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
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
Fausto Gutierrez
3971b26797
Update meshcentral-config-schema.json
Add "deviceMeshRouterLinks" missing type & properties attributes before properties list.
2023-07-27 17:38:11 +02:00
Fausto Gutierrez
66ced6df27
Update meshcentral-config-schema.json (change formatting)
This way it is easier to edit and maintain
2023-07-27 17:08:55 +02:00
Fausto Gutierrez
c244b12ec6
Update meshcentral-config-schema.json (fix typo)
to only **all** some users -> to only **allow** some users
2023-07-19 14:01:54 +02:00
Ylian Saint-Hilaire
1df35c13c4 Added emailDelaySeconds, so email delay can be configured. 2022-12-15 10:19:29 -08:00
Ylian Saint-Hilaire
275cc04e03 Documentation fixes. 2022-11-01 13:00:07 -07:00
Ylian Saint-Hilaire
7f183ac2fd Added Zulip messaging integration (#4694) 2022-11-01 12:27:06 -07:00
Ylian Saint-Hilaire
6b8acc1675 ntfy improvements. 2022-10-31 14:28:10 -07:00
Ylian Saint-Hilaire
3761a93961 Completed Discord integration (#4651) 2022-10-27 10:38:15 -07:00
Ylian Saint-Hilaire
c62bc9c962 Third round of Telegram support changes, can now edit messaging account (#4650) 2022-10-22 10:42:16 -07:00
Ylian Saint-Hilaire
7e3dce0ef7 First pass at adding Telegram support (#4650) 2022-10-22 07:23:55 -07:00
silversword411
dee3f58892
fixing typos 2022-09-30 13:02:07 -04: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
7ea293df60 Added db encryption descriptions in the config.json schema. 2022-08-31 12:46:16 -07:00
Ylian Saint-Hilaire
46e7464b49 More work on server device paging. 2022-08-31 11:54:21 -07:00
Ylian Saint-Hilaire
f7dc1d749b Added 'keepcerts' option to force keeping HTTPS/MPS cert. 2022-08-26 15:43:12 -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
37bcae368b First working version of Windows agent icon replacement. 2022-08-11 13:34:06 -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
silversword411
70bc23a55b
typo hunting 2022-07-31 16:39:45 -04:00