Commit Graph

237 Commits

Author SHA1 Message Date
Jared Goodwin
ac6487c6c5 Another pass of nullable refactoring. 2023-07-26 11:31:34 -07:00
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
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
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
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
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
1794059822 Implement wake-on-lan. 2023-06-22 07:57:31 -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
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
1a796500dd WIP on replacing DbLogger with Serilog. 2023-05-16 08:53:37 -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
80d3b3813b Implement changes to IViewerAuthorizer. 2023-05-10 09:29:09 -07:00
Jared Goodwin
7b69141355 Add healthcheck controller with loopback-only authorization filter. Add curl install to Dockerfile. 2023-05-03 12:31:10 -07:00
Jared Goodwin
e2e92e9ab4 Fix scripts page "Creator" display field and public filter. 2023-05-02 12:21:44 -07:00
Jared Goodwin
02c08986a3 Implement submodule changes. 2023-04-28 10:14:59 -07:00
Jared Goodwin
12aef747d8 Update NUGet packages. Fix libman.json. 2023-04-27 12:03:45 -07:00
Jared Goodwin
0edbf4de3a Replace WindowsService.cs. 2023-04-27 10:50:06 -07:00
Jared Goodwin
e3cf287165 Fix session info state after reconnects. Use hosting for agent. Fix shutdown process. Fix idle timer when disconnected. 2023-04-26 15:10:33 -07:00
Jared Goodwin
bb2126bbab Sync Remotely with latest integration changes. 2023-04-25 15:09:57 -07:00
Jared Goodwin
cf39b88246 Update submodule. 2023-04-21 09:53:52 -07:00
Jared Goodwin
c0b10ef93d Refactor to align with changes in submodule. 2023-04-18 14:40:32 -07:00
Jared Goodwin
564668f6cc Enable lockout on new accounts created on the organization page. 2023-02-14 20:46:36 -08:00
Jared Goodwin
d5bb45a793 Restrict standard users from accessing device groups that don't have any users. 2023-02-01 21:01:19 -08:00
Jared Goodwin
eff1b634e4 Add "ForceClientHttps" application option. 2023-02-01 20:43:12 -08:00
Jared Goodwin
97e31b44fc
Fix NRE in ViewerPageDataProvider. (#571) 2023-01-20 07:32:36 -08:00
Jared Goodwin
6ddc20b322
Add UseHttpLogging option in appsettings. (#562)
* Add UseHttpLogging option.

* Default to false for UseHttpLogging.

* Fix log downloads.
2023-01-14 15:55:16 -08:00
Jared Goodwin
080aed5d7b
Installer and client download fixes. (#549)
* Check for empty ETag during install.  Update log path.

* Use effective theme in ClientDownloadsController.  Fix typo.

* Fix FileLogger pattern matching.

* Change log wording.
2023-01-02 14:03:09 -08:00
Jared Goodwin
3f8d63c2c0
Azure Pipelines, Docker, and embedded server data. (#543)
* Add Azure Pipelines yml.

* Remove Server Installer.

* Update Release Build.yml for Azure Pipelines

* Update Release Build.yml

* Update Release Build.yml for Azure Pipelines

* Update Release Build.yml for Azure Pipelines

* Update Release Build.yml for Azure Pipelines

* Update Release Build.yml for Azure Pipelines

* Update signtool.exe

* Update Release Build.yml

* Update Publish.ps1

* Update pipeline and Dockerfile.

* Move docker files.

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Update Dockerfile

* Move files.

* Update Dockerfile

* Update Dockerfile

* Create RewritableStream.

* Finish implementation of rewritable stream and embedded data searcher.

* Remove RelayCode.

* Get branding from default org if orgId is missing.

* Update README.md

* Remove AppConstants.ServerUrl.  Fix main module file path.

* Update submodule.

* Extract embedded data in Program.cs.

* Add logging.  Update submodule.

* Remove size block.  BinaryWriter prefixes size.

* Remove unused async

* Update Immense.RemoteControl

* Update Release Build.yml for Azure Pipelines

* Update Release Build.yml for Azure Pipelines

* Use UpgradeService for determining out of date clients.
2022-12-31 19:10:40 -08:00
Jared Goodwin
3ef4cdf81a
Extract remote control functionality into separate library. (#539)
* Convert server to new single-file startup model.

* Add remote control implementations.

* Implement IViewerAuthorizer.

* Update hub endpoints.

* Implement HubEventHandler.

* Implement ViewerHubDataProvider.

* Implement page data provider.

* Implement RCL and refactor.

* Update submodule.

* Replace submodule with NuGet.

* Update copy URL.

* Update NuGet.

* Remove deprecated WebRTC.

* Remove deprecated WebRTC.

* Update Immense.RemoteControl

* Building out desktop projects.

* Bring more services into submodule.

* Update submodule.

* Update submodule.

* Refactoring for module.

* Update submodule.

* Update submodule

* Got Windows desktop app running.

* Refactor for submodule changes.

* FIx unattended session start.

* Switch desktop app out of console mode.

* Fix tests.

* Update publishing.

* Remove ClickOnce middleware.

* Remove ClickOnce remnants.

* Update submodule

* Add some logging.

* Update Linux path.

* Update submodule.

* Add cleanup service for unattended sessions that failed to start.

* Update submodule.

* Fix chat.

* Add ValidateExecutableReferencesMatchSelfContained property.

* Add other submodule projects.  Align checkbox.

* Update submodule.  Reduce deserialization in the browser, resulting in faster renders.

* Update submodule.

* Update submodule.

* Update submodule.

* Update submodule.

* Add orgId back for branding.

* Get branding loading in desktop apps.

* Update submodule.

* Create log dir.

* Refactor version check on config page.

* Update submodule.

* Update submodule.

* Change submodule URL.

* Correct namespace.

* Update submodule.

* Checkout submodules recursively.
2022-12-23 06:39:12 -08:00
Jared Goodwin
eae16cb3dc Update ASP.NET Core version in install scripts/services. Update GitHub URLs. Update Docker Ubuntu image to Jammy. 2022-09-16 10:06:39 -07:00