Commit Graph

6468 Commits

Author SHA1 Message Date
Simon Smith 102489447d
check db exists first before creating in postgres (#5968)
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-31 19:20:15 +01:00
si458 8e8cc4b327 rename 2x mac image
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-31 14:05:20 +01:00
si458 ce93c896ce fix null values in filters
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-31 13:55:41 +01:00
si458 7b67b992e2 fix postgres nedbtodb
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-31 13:52:16 +01:00
Simon Smith 95bbd7157f
add filter for events (#5975)
* add filter to node events
* add filter to my events
* add filter to user events
* improve sql querys

Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-31 13:50:38 +01:00
Simon Smith 8e6cc14981
set flatpickr to 1 minute increments (#5974)
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-29 18:11:29 +00:00
buckybytes 862e2ee80b
Various grammar, spelling, and clarity issues. (#5964)
* Update plugins.md

* Update faq.md

* Update debugging.md

* Update customization.md

* Update codesigning.md

* Update assistant.md
2024-03-27 11:26:38 +00:00
si458 81e98033fc fix mac memory part number
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-25 13:41:42 +00:00
Ylian Saint-Hilaire fbae83dd9f Version 1.1.22 2024-03-24 11:43:32 -07:00
adnan29979 8498414ae9
Doc update - Agent Invitation Customization (#5937)
* Update assistant.md

* Email Invite and customization

* Update assistant.md

* Email Invitation pic upload

* point agent invitation customization to assistant.md
2024-03-24 11:32:08 -07:00
Ylian Saint-Hilaire d33aa25e5b Updated Spanish translation. 2024-03-24 11:14:42 -07:00
Ylian Saint-Hilaire 8775b7dcf7 Set login autocomplete to off when set to false in config.json. 2024-03-24 11:03:33 -07:00
Simon Smith e6ee2034d1
add biosSerial/biosMode to csv (#5949)
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-22 14:31:47 +00:00
Simon Smith f874e76f0c
wake mac screen with caffeinate (#5935)
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-15 12:13:19 +00:00
adnan29979 105612c199
Doc update - Custom Web Icons (#5931) 2024-03-14 20:35:04 +00:00
silversword411 4027ee1b28
Fixing realname in notification for terminal sessions (#5928) 2024-03-14 14:51:33 +00:00
Simon Smith 4f11d7fdbc
allow meshctrl.js to reply with output from runcommands (#5932)
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-14 14:33:02 +00:00
si458 b8238ef34d add selfupdate version to schema
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-10 16:26:52 +00:00
si458 4b6da03d2f fix crash caused my oidc merge
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-10 11:54:55 +00:00
mstrhakr 05fca6cb36
Fix formatting issues from merging (#5909)
* fix formatting issues in webserver.js

* fix formatting issues is meshcentral.js
2024-03-09 23:46:01 -08: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
mstrhakr dfc08b05a9
Login/logout bugfix for OIDC strategy. (#5920)
* add extra logging

* fix how strategy is saved
2024-03-09 23:44:18 -08:00
si458 fbe1445691 fix windows arm terminal
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-08 18:03:31 +00:00
si458 05ee40c591 add 'EFI Development Kit II / OVMF' as VM
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-08 17:04:08 +00:00
si458 872794e15f update showpaths with domain custom folders #5496
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-08 15:22:12 +00:00
Aaron Meese 334fee706e
Changed `insure` to `ensure` (#5913) 2024-03-07 16:08:11 +00:00
si458 e9c28d03b5 add windows arm 64bit to agentinvite page
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-07 15:21:10 +00:00
si458 2d75bbde33 add osx mpkg customized filename
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-07 10:19:31 +00:00
mstrhakr ab0d9c188d
Update Passport version in meshcentral.js - Fix bad merge (#5908) 2024-03-06 19:00:24 +00:00
petervanv d71ca89b58
Dutch language update 1.1.21 (#5903)
Update 3
2024-03-05 22:34:38 +00:00
wdlut 0e896fe9fe
Bugfix for plugin filemode #5865 (#5897)
Some files were created with file rights of 0o000. It was not even possible to read them.
2024-03-05 10:33:13 +00:00
si458 0a59f9dbae update agentinvite with osx universal mpkg
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-05 10:21:16 +00:00
si458 c1bec67839 allow multiple osx mpkg installs now and update uninstall.command
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-04 16:34:41 +00:00
si458 234acd3347 add displayname to macos pkg
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-04 12:50:22 +00:00
si458 473b9d0265 add osx custom filename to zip
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-04 11:17:43 +00:00
si458 6f47f2bc89 add note about apple quarantine for binarys
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-04 11:11:42 +00:00
si458 548c1b9bb4 fix mac memory and invalid smc values
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-04 10:57:09 +00:00
tschettervictor 3ffc92e917
Update common.js (#5895)
typo

Co-authored-by: Ylian Saint-Hilaire <ysainthilaire@hotmail.com>
2024-03-03 17:50:26 -08: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 436a3cb9be Only set fileMode if not win32, #5865 2024-03-03 12:31:32 -08:00
wdlut e6a71d77a1
Preservation of the executable rights of the files contained in a plugin (#5865)
On file systems that support this, the executable rights of a plug-in's files are retained.
2024-03-03 12:27:28 -08:00
Ylian Saint-Hilaire 9e9cd821bf Use userid instead of username when username is null in authlog, #5870 2024-03-03 12:21:21 -08:00
Ylian Saint-Hilaire 27f7648953 Updated archiver to 7.0.0 2024-03-03 11:30:52 -08:00
Ylian Saint-Hilaire c937764980 Merge branch 'master' of https://github.com/Ylianst/MeshCentral 2024-03-03 11:13:32 -08:00
Ylian Saint-Hilaire e8c4f322cb Fix for saving SSH/RDP credentials when a dot is in the username, #5833 2024-03-03 11:13:16 -08:00
si458 fb62df326c pad interfaces panel for firefox scrolling #4275
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-03 00:58:15 +00:00
Simon Smith 2318a0bb32
add relay and port to devicesharing in meshctrl.js
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-02 21:56:14 +00:00
si458 636255c8af fix Unzip translations
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-02 15:33:18 +00:00
Simon Smith 9241c43435
add unzip to files
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-03-02 15:16:06 +00:00