Commit Graph

181 Commits

Author SHA1 Message Date
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
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
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
54a8726c29 Update packages. 2022-07-06 07:40:21 -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
af0884e260 Update NuGet packages. 2021-08-05 15:17:01 -07:00
Jared Goodwin
44638a330f Update NuGet packages. 2021-07-29 07:58:17 -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
aac8db5cc6 Add name to Server artifact. Update installer. Update packages. 2021-07-29 07:58:14 -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
Jared Goodwin
bbe4cc16b5 Remove missing namespace. 2021-07-29 07:58:07 -07:00
Jared Goodwin
35db42bd8b Remove .NET Framework version check. New installs will be prompted. Existing installs should be resolved by now. 2021-07-29 07:58:07 -07:00
Jared Goodwin
61738688c4 Display message when attempting MacOS remote control. 2021-07-29 07:58:07 -07:00
Jared Goodwin
17b77a39f8 Add Mac updater. 2021-07-29 07:58:06 -07:00
Jared Goodwin
cc5de5a534 Begin building Mac services in Agent project. 2021-07-29 07:58:05 -07:00
Jared Goodwin
051e3f5332 Add alert details modal. Fix GetEffectiveTheme. 2021-07-29 07:57:38 -07:00
Jared Goodwin
119c177a3f Add Warning output to error out in PS Core results. 2021-07-29 07:57:37 -07:00
Jared Goodwin
b6f0df54a7 Reorder lines. 2021-07-29 07:57:36 -07:00
Jared
1dd65a8057 Fix output of information/verbose/etc. streams in PowerShell. 2021-07-29 07:57:36 -07:00
Jared
a82b26c1c4 Show message when logs are empty. 2021-07-29 07:57:32 -07:00
Jared Goodwin
d2bb8b926b Merged PR 6: Linux capture fixes. 2021-07-29 07:57:32 -07:00
Jared Goodwin
8c3f997b89 Merged PR 5: Replace Server UI with Blazor 2021-07-29 07:57:31 -07:00
Jared
12e789e545 NuGet package updates. 2021-07-29 07:57:28 -07:00
Jared
c55e353cdd NuGet package updates. 2021-07-29 07:57:27 -07:00
Jared
7db7d0b859 Code cleanup. 2021-07-29 07:57:27 -07:00
RecursiveProgrammer
e9b6c78c2d I am not aware if '& disown' is valid in this context. It is throwing an error on Ubuntu: Issues/1 2021-07-29 07:57:27 -07:00
RecursiveProgrammer
b3ad1671c0 makefile is used by the make command to compile the code for the Agent binary 2021-07-29 07:57:27 -07:00
Jared Goodwin
7f3536017f Merged PR 4: Branding 2021-07-29 07:56:55 -07:00
Jared
b945475600 Use timespan for readability. 2021-07-29 07:56:54 -07:00
Jared
45b17b8a9a Swap chat host/client roles. 2021-07-29 07:56:53 -07:00
Jared
300086da01 Add try/catch around HubConnection sends. 2021-07-29 07:56:53 -07:00
Jared
ceebbcaa63 Update packages. 2021-07-29 07:56:53 -07:00
Jared
dd9e71b772 Revert frame diffing to original method. Add Clear Logs/Scripting History. Alert for outdated .NET Framework version. 2021-07-29 07:56:52 -07:00
Jared
ceaf92f01f Add handling for failed auto-updates. 2021-07-29 07:56:52 -07:00