Commit Graph

106 Commits

Author SHA1 Message Date
Jared Goodwin
1a796500dd WIP on replacing DbLogger with Serilog. 2023-05-16 08:53:37 -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
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
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
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
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
b62659f6f9 Update publish profiles. Fix API changes in SignalR. 2021-12-02 07:13:51 -08:00
Jared Goodwin
5d79725c34 Don't delete script results when clearing logs. 2021-07-29 07:58:18 -07:00
Jared Goodwin
04d1e0429a Remove unused condition of empty device groups. 2021-07-29 07:58:17 -07:00
Jared Goodwin
37feeed7ba Add branding reset button. Add numeric inputs for rgb values. 2021-07-29 07:58:14 -07:00
Jared Goodwin
cefb7d14a8 Add condition for device no longer existing when filtering users. 2021-07-29 07:58:11 -07:00
Jared Goodwin
20469a16aa Fix issue where outdated script runs would still run, even if superseded by more recent one. Added regression test. 2021-07-29 07:58:11 -07:00
Jared Goodwin
e729fb6bc1 Add more details to script run error emails. 2021-07-29 07:58:09 -07:00
Jared Goodwin
0ec0b7054f DataService refactoring. 2021-07-29 07:58:07 -07:00
Jared Goodwin
3d49b74bf2 Change GetAllUsersInOrganization signature. 2021-07-29 07:58:05 -07:00
Jared Goodwin
5b576406b7 Don't run missed quick scripts. 2021-07-29 07:58:05 -07:00
Jared Goodwin
6a0cb369ac Trigger heartbeat when device is expanded. 2021-07-29 07:58:03 -07:00
Jared Goodwin
347d92eed5 Make deep links for tabs. 2021-07-29 07:57:38 -07:00
Jared Goodwin
051e3f5332 Add alert details modal. Fix GetEffectiveTheme. 2021-07-29 07:57:38 -07:00
Jared Goodwin
b497a4c8bc Remove synchronous code from AuthComponentBase. 2021-07-29 07:57:37 -07:00
Jared Goodwin
e5c9734ce4 Workarounds for issues with Postgres DB provider using async DbContext calls. 2021-07-29 07:57:37 -07:00
Jared Goodwin
ed48f209d0 Add new navigation properties to enable cascade delete. 2021-07-29 07:57:37 -07:00
Jared
428d699d69 Load navigation properties when delete device so cascade delete will work. 2021-07-29 07:57:36 -07:00
Jared Goodwin
8c3f997b89 Merged PR 5: Replace Server UI with Blazor 2021-07-29 07:57:31 -07:00
Jared
c00e01436b Add button and API endpoint to clear all alerts. 2021-07-29 07:57:28 -07:00
Jared
d3a4e5be40 Fix NRE. 2021-07-29 07:57:26 -07:00
Jared
b89eabcdeb Populate relay codes. 2021-07-29 07:56:55 -07:00
Jared
e2665771de Remove third-party relay services. 2021-07-29 07:56:55 -07:00
Jared Goodwin
7f3536017f Merged PR 4: Branding 2021-07-29 07:56:55 -07:00
Jared
1e1dd129c0 Remove redundancy. 2021-07-29 07:56:54 -07:00
Jared
e220f994a9 Remove all records in server admin. 2021-07-29 07:56:54 -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
0b8ed9f8ee Add per-device WebRTC setting. 2021-07-29 07:56:52 -07:00
Jared
4ea68cf40d Normalize username. 2021-07-29 07:56:50 -07:00
Jared
f53b33fb50 Null check. Add ServiceDependencies folder to gitignore. 2021-07-29 07:56:50 -07:00
Jared
5937304ed8 Device filtering fixes. 2021-07-29 07:56:50 -07:00
Jared
1ab0d2a496 Refactor entities. 2021-07-29 07:56:50 -07:00
Jared
2b93bae58a Fix device filtering. 2021-07-29 07:56:49 -07:00
Jared
934ff31be5 Use IDataService interface in Identity areas. 2021-07-29 07:56:49 -07:00
Jared
ce1e4bf8e0 Add device banning. Extract interfaces from DataService and ApplicationConfig. Create unit tests. 2021-07-29 07:56:49 -07:00
Jared
3e09a96671 Update to .NET 5. (#176)
* Retarget .NET 5.

* Delete binaries

* Create ClickOnce publish profile.

* Add IncludeAllContentForSelfExtract

* Retarget .NET 5.

* Delete binaries

* Create ClickOnce publish profile.

* Add IncludeAllContentForSelfExtract

* Remove trim publish option.

* Update Program.cs

* Bump .NET Framework apps up to v4.8.

* Remove use of obsolete DatabaseErrorPageMiddleware.

* Delete ClickOnce-Win10-x64.pubxml
2021-07-29 07:56:49 -07:00
Jared
e63715aaa6 Add data annotation to Invite. Normalize username in user query. Force exit in ShutdownServiceWin (WebRTC is still preventing the process from closing sometimes). 2021-07-29 07:56:48 -07:00
Jared
0ca6710211 Add Put to DevicesController. 2021-07-29 07:56:45 -07:00
Jared
eea84a79b4 Code cleanup. 2021-07-29 07:56:44 -07:00