Commit Graph

724 Commits

Author SHA1 Message Date
Jared Goodwin
0f9ea4957b Clean up errors and majority of warnings. 2023-07-25 14:05:59 -07:00
Jared Goodwin
28079f887a Refactor API controllers. 2023-07-25 11:34:35 -07:00
Jared Goodwin
8b341562bc Refactor OrganizationManagementController, ApiAuthorizationFilter, and ExpiringTokenFilter. 2023-07-25 07:18:34 -07:00
Jared Goodwin
b500f7e9e0 Refactor DataService for nullability. Need to refactor calling services next. 2023-07-24 16:11:43 -07:00
Jared Goodwin
e5470f9d5f First pass of nullable references. 2023-07-24 09:16:22 -07:00
Jared Goodwin
a164bcad69 Convert to file-scoped namespaces. 2023-07-21 10:16:29 -07:00
Jared Goodwin
4a7bf7c5ae Added missing await. 2023-07-18 08:50:43 -07:00
Jared Goodwin
066a1bdd4d Update DataCleanupService to also remove expired recordings. 2023-07-05 14:51:15 -07:00
Jared Goodwin
eff8985822 Implement remote control session recording. 2023-07-03 14:23:44 -07:00
Jared Goodwin
65f61eec82 Add FilterDevicesByOnlineStatus to AgentHubSessionCache. 2023-06-24 12:12:50 -07:00
Jared Goodwin
f1e83df87a Realign property name casing in DeviceClientDto. Move update check after reconnection, so these can be properly cased later. 2023-06-24 10:06:00 -07:00
Jared Goodwin
2cac4a59e6 Make dropdown widths match. 2023-06-23 09:35:58 -07:00
Jared Goodwin
7c8337146a Add DeviceClientDto for transfer from agent to server. Refactor to allow correct scoping of services in tests. 2023-06-23 07:51:47 -07:00
Jared Goodwin
fb0bfe4579 Update tests. 2023-06-23 04:20:25 -07:00
Jared Goodwin
593944f86d Change icon so it doesn't conflict with View Only. 2023-06-22 14:06:25 -07:00
Jared Goodwin
0b8123ad1e Add unit tests. 2023-06-22 13:40:05 -07:00
Jared Goodwin
3bb5098910 Make IMessenger scoped (which essentially becomes singleton per user). 2023-06-22 10:16:21 -07:00
Jared Goodwin
f5f11cac49 Add logging on the server for wake commands sent. 2023-06-22 09:52:24 -07:00
Jared Goodwin
7d7fa9f9cd Fix offline device logic error. 2023-06-22 09:16:08 -07:00
Jared Goodwin
c4a97ee6c7 Add mac addresses to displayed device info. 2023-06-22 09:00:49 -07:00
Jared Goodwin
0630b2e007 Account for null (need nullable references enabled). 2023-06-22 08:51:59 -07:00
Jared Goodwin
e8b428e733 Register WOL service in agent. Show toast after sending WOL commands. 2023-06-22 08:37:07 -07:00
Jared Goodwin
db421ce4b9 Initially load only one day of server logs. 2023-06-22 07:57:58 -07:00
Jared Goodwin
be8073d4d6 Add migrations. 2023-06-22 07:57:39 -07:00
Jared Goodwin
1794059822 Implement wake-on-lan. 2023-06-22 07:57:31 -07:00
Jared Goodwin
e5f16d2359 Update NuGet packages. 2023-06-15 08:43:33 -07:00
Jared Goodwin
2d73f74bd9 Fix device heartbeat. Move harnesses outside of AuthorizeView. 2023-06-15 05:35:19 -07:00
Jared Goodwin
b10cebccd6 Remove unneeded semicolon. 2023-06-15 05:13:28 -07:00
Jared Goodwin
bc690e8beb Create authorization policies for OrganizationAdmin and ServerAdmin. Use these within the routing system via Authorize attribute instead of directly checking on each page. 2023-06-14 15:06:13 -07:00
Jared Goodwin
73bd139710 Implement new IHubEventHandler methods. 2023-06-08 06:22:32 -07:00
Jared Goodwin
934bf9a14a Adjust load tester. Made AddOrUpdateDevice async. 2023-06-02 13:31:01 -07:00
Jared Goodwin
382a9a6c32 Implement submodule changes. Handle task cancellation in CpuUtilizationSampler. 2023-06-01 15:24:10 -07:00
Jared Goodwin
a2cea49c2f Update submodule. 2023-05-23 15:46:57 -07:00
Jared Goodwin
2c4269742b Add EF migrations. 2023-05-23 14:59:05 -07:00
Jared Goodwin
c647e03aea Refactor logging. Update submodule. 2023-05-23 14:46:20 -07:00
Jared Goodwin
db19e92823 Finish implementing Serilog, LogManager, and full-screen loader. 2023-05-22 15:43:45 -07:00
Jared Goodwin
d1c432efd9 Implement Serilog and LogsManager. 2023-05-22 10:27:02 -07:00
Jared Goodwin
509919179f Merge branch 'master' into jaredg-respect-httplogging-setting 2023-05-22 09:08:47 -07:00
Jared Goodwin
b418621244 Force dark theme until light theme is implemented on viewer. 2023-05-19 13:31:13 -07:00
Jared Goodwin
1909925e11 Merge branch 'master' into jaredg-viewer-design-update 2023-05-19 13:24:56 -07:00
Jared Goodwin
bea7a0c0f3 WIP on viewer design implementation. 2023-05-18 09:33:38 -07:00
Jared Goodwin
f3dd219e79
Merge pull request #636 from immense/jaredg-fix-remotecontrol-api
Fix SignalR call to start remote control session.
2023-05-17 07:32:26 -07:00
Jared Goodwin
543538ce44 Fix SignalR call to start remote control session. 2023-05-17 07:30:41 -07:00
Jared Goodwin
1a796500dd WIP on replacing DbLogger with Serilog. 2023-05-16 08:53:37 -07:00
Jared Goodwin
c1fffe26df Don't register HTTP logging services if option is disabled in appsettings. 2023-05-16 06:52:35 -07:00
Jared Goodwin
79d354084d Revert log level change, as it will be handled in another PR. 2023-05-16 06:49:52 -07:00
Jared Goodwin
eb7cfc1356 Use ExecuteDeleteAsync to speed up deletion of all server logs. 2023-05-15 17:47:48 -07:00
Jared Goodwin
9ea17adb4f Fix NRE in scripts page. Refactor logic. 2023-05-15 17:47:27 -07:00
Jared Goodwin
c96319d88b Comment out debug logging from EF Core. 2023-05-12 10:39:05 -07:00
Jared Goodwin
9324e6a1b5 Quiet some of the logs. 2023-05-12 07:05:26 -07:00