Commit Graph

643 Commits

Author SHA1 Message Date
Jared Goodwin
97e31b44fc
Fix NRE in ViewerPageDataProvider. (#571) 2023-01-20 07:32:36 -08:00
Jared Goodwin
c5a1a56bdf
Move HTTP logging above forwarded headers, so the unmodified headers are logged. (#566) 2023-01-17 18:52:33 -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
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
f6984b4c34
Pattern match to IConfigurationRoot and reload. (#546) 2022-12-31 20:50:43 -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
Jared Goodwin
377c32a33b Fix mouse move. 2022-08-01 18:41:53 -07:00
Jared Goodwin
3d15470d3d Move mouse at the start of touch scroll. Add deadzone before initiating scrolling. 2022-08-01 18:06:02 -07:00
Jared Goodwin
d4bdd57d15 Merge branch 'master' into remove-deprecated-webclient 2022-08-01 17:21:16 -07:00
Christopher Gebhardt
ec333a7a33 fix: Prevent invalid authorization headers from accessing the API
The API is secured by this authorization filter that should prevent access to the API when the auhorization header is invalid. Instead the filter just set the status to 403, but delivered the data anyway.

This commit fixes this by explicitly setting the result to an UnauthorizedResult, which prevents access to the API.

#495
2022-07-22 10:26:07 +02:00
Jared Goodwin
cedb8281cb Replace WebRequest in AgentSocket. 2022-07-18 19:34:20 -07:00
Jared Goodwin
a3a6094b97 Remove unused DownloadFile hub method. 2022-07-18 16:40:26 -07:00
Jared Goodwin
808c1f7593 Add two-finger touch scrolling. 2022-07-16 05:42:33 -07:00
Jared Goodwin
54a8726c29 Update packages. 2022-07-06 07:40:21 -07:00
Jared Goodwin
47378133d1 Replace System.Drawing with SkiaSharp. 2022-07-06 07:36:38 -07:00
Jared Goodwin
a096df3b5e Automatically refresh devices on update using a debouncer to avoid excessive CPU usage. 2022-07-06 06:38:44 -07:00
Steve Sobol
de799fdb27
Merge pull request #420 from fanuelsen/master
Add Dockerfile configured to not run Remotely as root
2022-01-17 22:36:52 -08:00
dkattan
bb90a33042
Merge pull request #417 from immense/feature/base64-encode-basic-auth
Base64 encode API Token
2021-12-15 06:07:42 -06:00
dkattan
c3e80e6635
Merge pull request #416 from immense/feature/device-group-api
Added Get route for device groups
2021-12-15 06:04:56 -06:00
Steve Sobol
846e5415b7 DeviceGroup(): return NotFound, instead of BadRequest 2021-12-14 17:28:20 -08:00
Steve Sobol
66d15a6d4e Ensure that auth payload includes both a key ID and a secret 2021-12-14 17:14:28 -08:00
Steve Sobol
539cf62b7c Check for a valid Authorization: header 2021-12-14 17:10:09 -08:00
dkattan
d506c8da34
Merge pull request #418 from immense/app-db-factory
Create AppDbFactory.
2021-12-09 18:12:52 -06:00
Per-Ole
0717cf8110
Running container as root is not best practice
Added rootless dockerfile option.
2021-12-09 12:53:01 +01:00
Christian Bankester
0d9d1c2321
Merge pull request #364 from FingerlessGlov3s/patch-1
Fix typo on user delete column
2021-12-03 15:25:24 -06:00
dkattan
4913535bc4 Made the authorization header require a Basic base64 encoded token instead of the literal key:secret as PowerShell 7 complains when you don't use a base64 encoded value. 2021-12-03 14:46:19 -06:00
dkattan
6176d966c0 Added Get route for device groups 2021-12-03 14:05:33 -06:00
Jared Goodwin
217138bdd0 Create AppDbFactory. 2021-12-03 07:09:20 -08:00
Jared Goodwin
295a5d1d9e Fix tests. 2021-12-02 16:13:16 -08:00
Jared Goodwin
f82bf69cee Fixed error when trying to save device back into group "None". 2021-12-02 12:40:35 -08:00
Jared Goodwin
4041c14cfc Enable compression in single-file publish. 2021-12-02 07:20:49 -08:00
Jared Goodwin
b62659f6f9 Update publish profiles. Fix API changes in SignalR. 2021-12-02 07:13:51 -08:00
Jared Goodwin
39044acb02 Update projects. 2021-12-02 06:10:03 -08:00
FingerlessGloves
20d1186ddb
Fix typo on user delete column
Currently the column name says delete group, but the action is for deleting users.
2021-10-16 22:20:56 +01:00
Jared Goodwin
ed1c9809d0 Add means of migrating devices to a new server URL. 2021-08-17 14:35:03 -07:00
Jared Goodwin
ec2ae45e88 Merged PR 9: Auto-quality tweaks.
Auto-quality updates.
2021-08-07 17:53:14 +00:00
Jared goodwin
af0884e260 Update NuGet packages. 2021-08-05 15:17:01 -07:00
Jared Goodwin
079bd5bfb0 Delete unused index model file. 2021-07-29 08:10:24 -07:00
Jared Goodwin
33ebb5302c Fix invite button. ClientId changed to CasterId. 2021-07-29 07:58:19 -07:00
Jared Goodwin
24eb298914 Remove AutoQuality and simplify caster throttling. 2021-07-29 07:58:19 -07:00
Jared Goodwin
ef27410b6c Fix font color in #blazor-error-ui. 2021-07-29 07:58:18 -07:00
Jared Goodwin
f570b8ab3f Reduce SignalR buffer size and max message size. Check for duplicate session ID. 2021-07-29 07:58:18 -07:00
Jared Goodwin
a4a6fd4f77 Return early if key is valid. 2021-07-29 07:58:18 -07:00
Jared Goodwin
8bcbd9bef5 Pass correct variable into CreateApiToken. 2021-07-29 07:58:18 -07:00
Jared Goodwin
cfbf8ec984 Update manifest. 2021-07-29 07:58:18 -07:00
Jared Goodwin
e3f2809bb7 Remove @msgpack/msgpack dependency. Use msgpack5 instead. 2021-07-29 07:58:18 -07:00