Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@

<div align="center">

<h1 align="center">sentinel</h3>
<h1 align="center">mycelium</h3>

<p align="center">
Remote Monitoring and Management (RMM) Software.
<br />
<a href="https://JelleBuning/sentinel/not_found">Demo</a>
<a href="https://JelleBuning/mycelium/not_found">Demo</a>
·
<a href="https://github.com/JelleBuning/sentinel/wiki">Explore the docs</a>
<a href="https://github.com/JelleBuning/mycelium/wiki">Explore the docs</a>
</p>
</div>

Expand Down Expand Up @@ -61,9 +61,9 @@
<!-- ABOUT THE PROJECT -->
## About The Project

Sentinel is a powerful, scalable, and secure Remote Monitoring and Management (RMM) platform designed to help IT professionals and Managed Service Providers (MSPs) efficiently manage, monitor, and secure client devices and networks from a single dashboard.
Mycelium is a powerful, scalable, and secure Remote Monitoring and Management (RMM) platform designed to help IT professionals and Managed Service Providers (MSPs) efficiently manage, monitor, and secure client devices and networks from a single dashboard.

With Sentinel, you'll gain full visibility and control over endpoints, proactive alerts, and automation tools that simplify maintenance tasks and increase operational efficiency.
With Mycelium, you'll gain full visibility and control over endpoints, proactive alerts, and automation tools that simplify maintenance tasks and increase operational efficiency.


### Features
Expand Down Expand Up @@ -97,11 +97,11 @@ This installation method utilizes Docker Compose for a streamlined setup. Ensure

```yaml
version: '3.4'
name: sentinel
name: mycelium
services:
sentinel-api:
container_name: "sentinel-api"
image: ghcr.io/jellebuning/sentinel-api
mycelium-api:
container_name: "mycelium-api"
image: ghcr.io/jellebuning/mycelium-api
ports:
- "7000:8080"
environment:
Expand Down Expand Up @@ -154,13 +154,13 @@ Distributed under the GNU Affero General Public License v3.0 License. See `LICEN

<!-- MARKDOWN LINKS & IMAGES -->
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
[contributors-shield]: https://img.shields.io/github/contributors/JelleBuning/sentinel.svg?style=for-the-badge
[contributors-url]: https://github.com/JelleBuning/sentinel/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/JelleBuning/sentinel.svg?style=for-the-badge
[forks-url]: https://github.com/JelleBuning/sentinel/network/members
[stars-shield]: https://img.shields.io/github/stars/JelleBuning/sentinel.svg?style=for-the-badge
[stars-url]: https://github.com/JelleBuning/sentinel/stargazers
[issues-shield]: https://img.shields.io/github/issues/JelleBuning/sentinel.svg?style=for-the-badge
[issues-url]: https://github.com/JelleBuning/sentinel/issues
[license-shield]: https://img.shields.io/github/license/JelleBuning/sentinel.svg?style=for-the-badge
[license-url]: https://github.com/JelleBuning/sentinel/blob/master/LICENSE
[contributors-shield]: https://img.shields.io/github/contributors/JelleBuning/mycelium.svg?style=for-the-badge
[contributors-url]: https://github.com/JelleBuning/mycelium/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/JelleBuning/mycelium.svg?style=for-the-badge
[forks-url]: https://github.com/JelleBuning/mycelium/network/members
[stars-shield]: https://img.shields.io/github/stars/JelleBuning/mycelium.svg?style=for-the-badge
[stars-url]: https://github.com/JelleBuning/mycelium/stargazers
[issues-shield]: https://img.shields.io/github/issues/JelleBuning/mycelium.svg?style=for-the-badge
[issues-url]: https://github.com/JelleBuning/mycelium/issues
[license-shield]: https://img.shields.io/github/license/JelleBuning/mycelium.svg?style=for-the-badge
[license-url]: https://github.com/JelleBuning/mycelium/blob/master/LICENSE
10 changes: 5 additions & 5 deletions .github/workflows/dotnet_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,17 @@ jobs:
dotnet-version: '10.0.x'

- name: Publish win-x64
run: dotnet publish ./src/Sentinel.Api/Sentinel.Api.csproj --configuration Release --output ./publish/win-x64 --self-contained true --runtime win-x64
run: dotnet publish ./src/Mycelium.Api/Mycelium.Api.csproj --configuration Release --output ./publish/win-x64 --self-contained true --runtime win-x64

- name: Publish linux-x64
run: dotnet publish ./src/Sentinel.Api/Sentinel.Api.csproj --configuration Release --output ./publish/linux-x64 --self-contained true --runtime linux-x64
run: dotnet publish ./src/Mycelium.Api/Mycelium.Api.csproj --configuration Release --output ./publish/linux-x64 --self-contained true --runtime linux-x64

- name: Release files
uses: softprops/action-gh-release@v3
with:
files: |
./publish/linux-x64/Sentinel.Api
./publish/win-x64/Sentinel.Api.exe
./publish/linux-x64/Mycelium.Api
./publish/win-x64/Mycelium.Api.exe

docker-release:
needs: test
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f
with:
context: .
file: ./src/Sentinel.Api/Dockerfile
file: ./src/Mycelium.Api/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
18 changes: 18 additions & 0 deletions Mycelium.slnx
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<Solution>
<Folder Name="/src/">
<Project Path="src/Mycelium.Api.Application/Mycelium.Api.Application.csproj" />
<Project Path="src/Mycelium.Api.Domain/Mycelium.Api.Domain.csproj" />
<Project Path="src/Mycelium.Api.Infrastructure/Mycelium.Api.Infrastructure.csproj" />
<Project Path="src/Mycelium.Api/Mycelium.Api.csproj" />
<Project Path="src/Mycelium.Common/Mycelium.Common.csproj" />
<Project Path="src/Mycelium.WorkerService.Common/Mycelium.WorkerService.Common.csproj" />
<Project Path="src/Mycelium.WorkerService.Core.Linux/Mycelium.WorkerService.Core.Linux.csproj" />
<Project Path="src/Mycelium.WorkerService.Core.Windows/Mycelium.WorkerService.Core.Windows.csproj" />
<Project Path="src/Mycelium.WorkerService.Core/Mycelium.WorkerService.Core.csproj" />
<Project Path="src/Mycelium.WorkerService.RemoteAccess/Mycelium.WorkerService.RemoteAccess.csproj" />
<Project Path="src/Mycelium.WorkerService/Mycelium.WorkerService.csproj" />
</Folder>
<Folder Name="/tests/">
<Project Path="tests/Mycelium.Api.Integration.Tests/Mycelium.Api.Integration.Tests.csproj" />
</Folder>
</Solution>
18 changes: 0 additions & 18 deletions Sentinel.slnx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Mediator;
using Sentinel.Api.Application.DTO.User;
using Mycelium.Api.Application.DTO.User;

namespace Sentinel.Api.Application.Commands.Auth.Login;
namespace Mycelium.Api.Application.Commands.Auth.Login;

public record LoginCommand(string Email, string Password) : IRequest<SignInUserResponse>;
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Mediator;
using Sentinel.Api.Application.DTO.User;
using Sentinel.Api.Application.Interfaces;
using Mycelium.Api.Application.DTO.User;
using Mycelium.Api.Application.Interfaces;

namespace Sentinel.Api.Application.Commands.Auth.Login;
namespace Mycelium.Api.Application.Commands.Auth.Login;

public class LoginCommandHandler(IAuthRepository authRepository) : IRequestHandler<LoginCommand, SignInUserResponse>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using FluentValidation;

namespace Sentinel.Api.Application.Commands.Auth.Login;
namespace Mycelium.Api.Application.Commands.Auth.Login;

public class LoginCommandValidator : AbstractValidator<LoginCommand>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Mediator;
using Sentinel.Api.Application.DTO.Token;
using Mycelium.Api.Application.DTO.Token;

namespace Sentinel.Api.Application.Commands.Auth.RefreshToken;
namespace Mycelium.Api.Application.Commands.Auth.RefreshToken;

public record RefreshTokenCommand(string AccessToken, string RefreshToken) : IRequest<TokenDto>;
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Mediator;
using Sentinel.Api.Application.DTO.Token;
using Sentinel.Api.Application.Interfaces;
using Mycelium.Api.Application.DTO.Token;
using Mycelium.Api.Application.Interfaces;

namespace Sentinel.Api.Application.Commands.Auth.RefreshToken;
namespace Mycelium.Api.Application.Commands.Auth.RefreshToken;

public class RefreshTokenCommandHandler(IAuthRepository authRepository) : IRequestHandler<RefreshTokenCommand, TokenDto>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using FluentValidation;

namespace Sentinel.Api.Application.Commands.Auth.RefreshToken;
namespace Mycelium.Api.Application.Commands.Auth.RefreshToken;

public class RefreshTokenCommandValidator : AbstractValidator<RefreshTokenCommand>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Mediator;

namespace Sentinel.Api.Application.Commands.Auth.VerifyTotp;
namespace Mycelium.Api.Application.Commands.Auth.VerifyTotp;

public record VerifyTotpCommand(int UserId, string AuthenticityToken, string OtpAttempt) : IRequest<DTO.Token.TokenDto>;
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using Mediator;
using Sentinel.Api.Application.DTO.Token;
using Sentinel.Api.Application.DTO.User;
using Sentinel.Api.Application.Interfaces;
using Mycelium.Api.Application.DTO.Token;
using Mycelium.Api.Application.DTO.User;
using Mycelium.Api.Application.Interfaces;

namespace Sentinel.Api.Application.Commands.Auth.VerifyTotp;
namespace Mycelium.Api.Application.Commands.Auth.VerifyTotp;

public class VerifyTotpCommandHandler(IAuthRepository authRepository) : IRequestHandler<VerifyTotpCommand, TokenDto>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using FluentValidation;

namespace Sentinel.Api.Application.Commands.Auth.VerifyTotp;
namespace Mycelium.Api.Application.Commands.Auth.VerifyTotp;

public class VerifyTotpCommandValidator : AbstractValidator<VerifyTotpCommand>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Mediator;

namespace Sentinel.Api.Application.Commands.Devices.ExecuteSecurityScan;
namespace Mycelium.Api.Application.Commands.Devices.ExecuteSecurityScan;

public record ExecuteSecurityScanCommand(int DeviceId) : IRequest;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Mediator;
using Sentinel.Api.Application.Interfaces;
using Mycelium.Api.Application.Interfaces;

namespace Sentinel.Api.Application.Commands.Devices.ExecuteSecurityScan;
namespace Mycelium.Api.Application.Commands.Devices.ExecuteSecurityScan;

public class ExecuteSecurityScanCommandHandler(IDeviceMessenger deviceMessenger)
: IRequestHandler<ExecuteSecurityScanCommand>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Mediator;

namespace Sentinel.Api.Application.Commands.Devices.Ping;
namespace Mycelium.Api.Application.Commands.Devices.Ping;

public record PingDeviceCommand(int DeviceId) : IRequest;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Mediator;
using Sentinel.Api.Application.Interfaces;
using Mycelium.Api.Application.Interfaces;

namespace Sentinel.Api.Application.Commands.Devices.Ping;
namespace Mycelium.Api.Application.Commands.Devices.Ping;

public class PingDeviceCommandHandler(IDeviceRepository deviceRepository) : IRequestHandler<PingDeviceCommand>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using FluentValidation;

namespace Sentinel.Api.Application.Commands.Devices.Ping;
namespace Mycelium.Api.Application.Commands.Devices.Ping;

public class PingDeviceCommandValidator : AbstractValidator<PingDeviceCommand>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Mediator;
using Sentinel.Api.Application.DTO.Device;
using Mycelium.Api.Application.DTO.Device;

namespace Sentinel.Api.Application.Commands.Devices.Register;
namespace Mycelium.Api.Application.Commands.Devices.Register;

public record RegisterDeviceCommand(Guid OrganisationHash, string Name) : IRequest<DeviceTokenResponse>;
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Mediator;
using Sentinel.Api.Application.DTO.Device;
using Sentinel.Api.Application.Interfaces;
using Mycelium.Api.Application.DTO.Device;
using Mycelium.Api.Application.Interfaces;

namespace Sentinel.Api.Application.Commands.Devices.Register;
namespace Mycelium.Api.Application.Commands.Devices.Register;

public class RegisterDeviceCommandHandler(IDeviceRepository deviceRepository)
: IRequestHandler<RegisterDeviceCommand, DeviceTokenResponse>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using FluentValidation;

namespace Sentinel.Api.Application.Commands.Devices.Register;
namespace Mycelium.Api.Application.Commands.Devices.Register;

public class RegisterDeviceCommandValidator : AbstractValidator<RegisterDeviceCommand>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Mediator;

namespace Sentinel.Api.Application.Commands.Devices.RequestRemoteAccess;
namespace Mycelium.Api.Application.Commands.Devices.RequestRemoteAccess;

public record RequestRemoteAccessCommand(int DeviceId) : IRequest;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Mediator;
using Sentinel.Api.Application.Interfaces;
using Mycelium.Api.Application.Interfaces;

namespace Sentinel.Api.Application.Commands.Devices.RequestRemoteAccess;
namespace Mycelium.Api.Application.Commands.Devices.RequestRemoteAccess;

public class RequestRemoteAccessCommandHandler(IDeviceMessenger deviceMessenger)
: IRequestHandler<RequestRemoteAccessCommand>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Mediator;

namespace Sentinel.Api.Application.Commands.Devices.Restart;
namespace Mycelium.Api.Application.Commands.Devices.Restart;

public record RestartDeviceCommand(int DeviceId) : IRequest;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Mediator;
using Sentinel.Api.Application.Interfaces;
using Mycelium.Api.Application.Interfaces;

namespace Sentinel.Api.Application.Commands.Devices.Restart;
namespace Mycelium.Api.Application.Commands.Devices.Restart;

public class RestartDeviceCommandHandler(IDeviceMessenger deviceMessenger)
: IRequestHandler<RestartDeviceCommand>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Mediator;
using Sentinel.Common.DTO.Device.Information;
using Mycelium.Common.DTO.Device.Information;

namespace Sentinel.Api.Application.Commands.Devices.Update.DeviceInformation;
namespace Mycelium.Api.Application.Commands.Devices.Update.DeviceInformation;

public record UpdateDeviceInformationCommand(int DeviceId, UpdateDeviceInformationDto DeviceInfo) : IRequest;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Mediator;
using Sentinel.Api.Application.Interfaces;
using Mycelium.Api.Application.Interfaces;

namespace Sentinel.Api.Application.Commands.Devices.Update.DeviceInformation;
namespace Mycelium.Api.Application.Commands.Devices.Update.DeviceInformation;

public class UpdateDeviceInformationCommandHandler(IDeviceRepository deviceRepository)
: IRequestHandler<UpdateDeviceInformationCommand>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using FluentValidation;

namespace Sentinel.Api.Application.Commands.Devices.Update.DeviceInformation;
namespace Mycelium.Api.Application.Commands.Devices.Update.DeviceInformation;

public class UpdateDeviceInformationCommandValidator : AbstractValidator<UpdateDeviceInformationCommand>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Mediator;
using Sentinel.Common.DTO.Device;
using Mycelium.Common.DTO.Device;

namespace Sentinel.Api.Application.Commands.Devices.Update.SecurityInformation;
namespace Mycelium.Api.Application.Commands.Devices.Update.SecurityInformation;

public record UpdateSecurityInformationCommand(int DeviceId, SecurityInformationDto SecurityInfo) : IRequest;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Mediator;
using Sentinel.Api.Application.Interfaces;
using Mycelium.Api.Application.Interfaces;

namespace Sentinel.Api.Application.Commands.Devices.Update.SecurityInformation;
namespace Mycelium.Api.Application.Commands.Devices.Update.SecurityInformation;

public class UpdateSecurityInformationCommandHandler(IDeviceRepository deviceRepository)
: IRequestHandler<UpdateSecurityInformationCommand>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Mediator;
using Sentinel.Common.DTO.Device;
using Mycelium.Common.DTO.Device;

namespace Sentinel.Api.Application.Commands.Devices.Update.SoftwareInformation;
namespace Mycelium.Api.Application.Commands.Devices.Update.SoftwareInformation;

public record UpdateSoftwareInformationCommand(int DeviceId, SoftwareInformationDto SoftwareInfo) : IRequest;
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Mediator;
using Sentinel.Api.Application.Interfaces;
using Mycelium.Api.Application.Interfaces;

namespace Sentinel.Api.Application.Commands.Devices.Update.SoftwareInformation;
namespace Mycelium.Api.Application.Commands.Devices.Update.SoftwareInformation;

public class UpdateSoftwareInformationCommandHandler(IDeviceRepository deviceRepository)
: IRequestHandler<UpdateSoftwareInformationCommand>
Expand Down
Loading