Commit Graph

170 Commits

Author SHA1 Message Date
Jared Goodwin
7a362c9cb9 Add cancellation token to FileLogsManager methods. 2023-07-31 11:16:50 -07:00
Jared Goodwin
afc4f6e49c Fix/improve log streaming from agent. 2023-07-27 11:17:37 -07:00
Jared Goodwin
aa11983acf Refactor script results and move entities. 2023-07-26 15:56:24 -07:00
Jared Goodwin
6e1c2318a4 Create new convention for transferring DTOs to entities. 2023-07-26 15:22:43 -07:00
Jared Goodwin
2ac886a03e Create default debug org. 2023-07-26 14:35:58 -07:00
Jared Goodwin
cf0fad5c42 Add missing type on SendResultsToApi. 2023-07-26 12:55:11 -07:00
Jared Goodwin
e70d083a3f Don't send the whole script result back from the API. 2023-07-26 12:52:15 -07:00
Jared Goodwin
ac6487c6c5 Another pass of nullable refactoring. 2023-07-26 11:31:34 -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
a164bcad69 Convert to file-scoped namespaces. 2023-07-21 10:16:29 -07:00
Jared Goodwin
72c393de18 Hotfix for resolving scripting shells through DI. 2023-07-20 15:33:54 -07:00
Jared Goodwin
7459f2f2dd Extract interfaces from all agent services. Replace use of static Logger. 2023-06-24 12:05:11 -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
60b6dbd318 Log on agent when wake command is received. 2023-06-22 07:57:54 -07:00
Jared Goodwin
1794059822 Implement wake-on-lan. 2023-06-22 07:57:31 -07:00
Jared Goodwin
382a9a6c32 Implement submodule changes. Handle task cancellation in CpuUtilizationSampler. 2023-06-01 15:24:10 -07:00
Jared Goodwin
0381742064 Merge master. 2023-05-04 11:43:22 -07:00
Jared Goodwin
da79bc74e2 Move native interop code to new project. 2023-05-04 11:14:57 -07:00
Jared Goodwin
a4e6e55700 Make transient IScreenCaster service disposable. 2023-05-03 07:15:54 -07:00
Jared Goodwin
757086b9d0 Use AppVersionHelper in DeviceInfoGeneratorBase. 2023-05-02 17:17:29 -07:00
Jared Goodwin
172a80a697 Pre-extract archive in CI/CD before Dockerfile. 2023-04-28 15:20:30 -07:00
Jared Goodwin
4578915ea8 Fix WPF RelayCommand binding issue. 2023-04-27 14:27:47 -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
c0b10ef93d Refactor to align with changes in submodule. 2023-04-18 14:40:32 -07: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
56ee561ca2
Bug - Proto forwarded header not being seen by ASP.NET Core. (#554)
* Set permissions on log file so non-elevated process can write to it.

* Replace more instances of static Logger with ILogger<T>.

* Add default Docker host to known proxies.

* Update Immense.RemoteControl

* Update Immense.RemoteControl
2023-01-06 16:48:03 -08:00
Jared Goodwin
95b9a45a0c
Fix regression bug related to agent reconnection. (#552)
* Update agent status on reconnect, without waiting for heartbeat.
2023-01-04 06:29:22 -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
85bc735620
IConfiguration reload in Docker. (#548)
* Pattern match to IConfigurationRoot and reload.

* Update documentation.

* AgentHubConnection and logger updates.  Trying to deprecate static Logger.

* Update build.yml

* Update build.yml
2023-01-01 15:20:03 -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
cedb8281cb Replace WebRequest in AgentSocket. 2022-07-18 19:34:20 -07:00
Jared Goodwin
30fd342925 Replace WebClient with HttpClient for agent updates. 2022-07-18 18:04:57 -07:00
Jared Goodwin
a3a6094b97 Remove unused DownloadFile hub method. 2022-07-18 16:40:26 -07:00
Jared Goodwin
72d42d7351 Fix etag parsing. 2022-07-06 06:45:27 -07:00
Jared Goodwin
2c00af892e Trim the etag. 2021-12-02 11:34:52 -08:00
Jared Goodwin
674036601e Fix empty etag issue. 2021-12-02 07:44:40 -08:00
Jared Goodwin
39044acb02 Update projects. 2021-12-02 06:10:03 -08:00
Jared Goodwin
8987f7dd18 Reset server verification token when switching servers. 2021-09-25 08:36:41 -07:00
Jared Goodwin
ed1c9809d0 Add means of migrating devices to a new server URL. 2021-08-17 14:35:03 -07:00
Jared Goodwin
3a16ce62b6 Fix GetLogs. 2021-08-15 13:34:13 -07:00
Jared Goodwin
233f8a43d0 Restart ExternalScriptingShell process if exited. Add Ctrl + Q shortcut to clear terminal output. 2021-07-29 07:58:16 -07:00
Jared Goodwin
a23a76fcf2 Add explicit method for deleting logs. 2021-07-29 07:58:15 -07:00
Jared Goodwin
d0307fa006 Fix Current User for macOS. 2021-07-29 07:58:14 -07:00
Jared Goodwin
66325ccc45 Add macOS arm64. 2021-07-29 07:58:11 -07:00
Jared Goodwin
16c296bccc Fix macOS installer. 2021-07-29 07:58:11 -07:00