Commit Graph

158 Commits

Author SHA1 Message Date
Andrew Camilleri
26c43efdf0
Add Reverse Connection deployment mode
Some checks failed
Build and publish Docker images / build (push) Has been cancelled
Build and publish Docker images / publish (push) Has been cancelled
New deployment option where the user runs a bash one-liner on their
VPS that connects back to the configurator over HTTP. The configurator
sends commands through the tunnel to read server configuration,
avoiding outbound SSH entirely. This prevents VPS abuse detection
flags from rapid SSH connect/disconnect patterns.

Architecture:
- IRemoteExecutor interface abstracts command execution over SSH
  or HTTP tunnel, letting LoadSettings work with either transport
- TunnelSession uses System.Threading.Channels for synchronized
  command/result handoff between configurator and polling agent
- TunnelService manages session lifecycle with auto-cleanup
- TunnelController serves the agent script and handles poll/result
- One-time secret per session prevents unauthorized access
- At deploy time, generates a bash script (same as Manual mode)

Bump version to 0.0.28.
2026-05-04 15:12:47 +02:00
Andrew Camilleri
800a087cea
Bump version to 0.0.27
Some checks failed
Build and publish Docker images / build (push) Has been cancelled
Build and publish Docker images / publish (push) Has been cancelled
2026-04-29 10:54:05 +02:00
Andrew Camilleri
cf9c1b0e95
Reuse SSH connection between test and settings load
TestSSH now returns the live SshClient instead of disposing it,
and LoadSettingsThroughSSH accepts it as a parameter. This halves
the number of SSH connections per form submission, avoiding the
rapid connect/disconnect/reconnect pattern that triggers VPS abuse
detection. Bump version to 0.0.26.
2026-04-29 10:20:35 +02:00
Andrew Camilleri
2a74d71342
Fix FastSync to only be available for pruned nodes
Some checks failed
Build and publish Docker images / build (push) Has been cancelled
Build and publish Docker images / publish (push) Has been cancelled
The UTXO snapshot bootstrap was incorrectly restricted to full
(non-pruned) nodes. Inverted the logic in the UI toggle, help text,
and script generation so FastSync is offered only when pruning is
enabled. Bump version to 0.0.25.
2026-04-20 15:21:50 +02:00
Andrew Camilleri
3dd48083c8
Remove obsolete Dockerfiles dir, fix container port, fix SSH sudo
- Delete arch-specific Dockerfiles (CI uses multi-platform buildx now)
- Move entrypoint.sh to repo root
- Set ASPNETCORE_HTTP_PORTS=80 so Kestrel listens on port 80 (.NET 8+ defaults to 8080)
- Fix SSH root check to use single exec channel instead of separate su + whoami
- Bump version to 0.0.24
2026-04-20 15:01:38 +02:00
Andrew Camilleri
db4ef8b78a
Auto-tag from csproj version, update README for current wizard
Some checks failed
Build and publish Docker images / build (push) Has been cancelled
Build and publish Docker images / publish (push) Has been cancelled
CI now reads <Version> from csproj on master push, creates a git
tag if it doesn't exist, and publishes versioned Docker images
alongside latest. README updated to reflect the 6-step wizard,
GHCR image references, and versioning workflow.
2026-04-17 14:59:20 +02:00
Andrew Camilleri
e663d78c92
Add Version property to csproj for versioned Docker builds
Some checks failed
Build and publish Docker images / build (push) Has been cancelled
Build and publish Docker images / publish (push) Has been cancelled
Sets <Version>0.0.23</Version> as source of truth for assembly version.
Git tags (v*) drive versioned Docker image publishing via the existing
semver patterns in the GitHub Actions workflow.
2026-04-17 14:49:04 +02:00
Andrew Camilleri
223fd91886
New design system, fix SSH config loading, add Bitcoin node detection
Complete CSS rewrite: Inter + JetBrains Mono fonts, modern dark/light
palette, clean Bootstrap 5 bridge (removed 650+ lines of font-face
bloat). Deploy result tabs restyled with underline indicators.

Fix LoadFromServer checkbox value being overwritten on form round-trip.
Fix SSH config loading for non-standard BTCPay installs by reading
BTCPAY_ENV_FILE and BTCPAY_BASE_DIRECTORY from btcpay-env.sh profile.

Add Bitcoin node detection via bitcoin-cli getblockchaininfo — shows
sync status on Chain settings, disables FastSync for synced nodes.

Fix cloud-init script: single multiline runcmd block instead of
separate entries, skip sudo su lines since cloud-init runs as root.
2026-04-17 14:30:51 +02:00
Andrew Camilleri
a884f27760
UI overhaul: modern design, remove Additional Services, fix dark mode
- Remove Additional Services wizard step (confusing/unused), rewire
  Lightning → Advanced flow, renumber steps to 6 total
- Add Cloudflare tunnel docs link on Domain settings page
- Sticky CTA buttons on all steps so they're always visible
- Fix dark mode text visibility for .text-muted elements
- Disable FastSync checkbox when pruning is enabled
- Replace Lightning "None" sad face with clean "Skip for now" card
- Replace phoenixd logo with correct ACINQ Phoenix app icon (transparent PNG)
- Compact header, smaller stepper circles, tighter card images
- Theme toggle button styled with border and hover effect
- Clean up CSS: remove unused Additional Services grid styles
2026-04-16 22:54:03 +02:00
Andrew Camilleri
c44708430c
Remove CircleCI config, replaced by GitHub Actions
Some checks are pending
Build and publish Docker images / build (push) Waiting to run
Build and publish Docker images / publish (push) Waiting to run
2026-04-15 21:16:31 +02:00
Andrew Camilleri
5e7abe495b
drop arm/v7 from Docker build platforms
Some checks failed
Build and publish Docker images / build (push) Has been cancelled
Build and publish Docker images / publish (push) Has been cancelled
.NET 10 SDK does not support linux/arm/v7 (32-bit ARM) restore.
arm64 covers all modern Raspberry Pi (3/4/5 in 64-bit mode).
2026-04-13 15:44:54 -04:00
Andrew Camilleri
0774bcb18c
Modernize to .NET 10, fix bugs, add features (#5, #6, #9, #13, #20, #22, #23, #24, #25, #26, #27, #28)
- Upgrade from .NET Core 3.1 to .NET 10, SSH.NET 2016.1.0 to 2024.1.0
- Fix ServerData JSON deserialization crash with boolean lsblk fields (#13)
- Fix DiskFreeResult.Parse overflow with TryParse and null safety (#20)
- Fix SSH connection issues via SSH.NET library upgrade (#22)
- Fix bash generation to detect existing btcpayserver-docker dir (#5)
- Add disk space and server resources display in Summary page (#6)
- Add FastSync support for initial Bitcoin sync (#9)
- Add SSH key authentication for remote deployments (#23)
- Replace CircleCI with GitHub Actions publishing to GHCR and Docker Hub (#24)
- Add unified multi-arch Dockerfile using Docker Buildx (#24)
- Make additional services data-driven via ServiceRegistry (#27)
- Add CloudInit deployment type for VPS provisioning (#28)
- Fix Summary page duplicate Libre Patron entry and typos (#26)
- Replace deprecated WebClient with IHttpClientFactory
- Remove Startup.cs in favor of minimal hosting in Program.cs
- Fix ThunderHub validation targeting wrong model property
2026-04-13 15:42:18 -04:00
Pavlenex
a6dfb7b1e0
Merge pull request #19 from britttttk/patch-1
Fix Intro
2021-01-06 23:54:42 +01:00
britttttk
e0e823924e
Fix Intro
Remove incomplete and duplicate sentence.
2021-01-06 13:04:49 -07:00
Kukks
9f319a72cb simplify Startup requirements 2020-11-05 10:22:45 +01:00
Pavlenex
324507ac38
Merge pull request #18 from cpleonardo/docs-fix
Duplicated word "makes" in README.md
2020-10-25 09:18:06 +01:00
cesar
c29cfd29ff Duplicated word "makes" in README.md
Changes to be committed:
	modified:   README.md
2020-10-24 21:09:42 -05:00
Pavlenex
8dcf98535e
Merge pull request #16 from dennisreimann/patch-1
Fix ThirdPartyHosting docs link
2020-10-23 10:23:25 +02:00
Dennis Reimann
d60ecf0299
Fix ThirdPartyHosting docs link 2020-10-23 10:18:08 +02:00
Kukks
8f10ccae89 make parser more resilient for block devices 2020-10-23 08:43:44 +02:00
Kukks
dcc16f7a7b fail gracefully when trying to do cool stuff 2020-10-22 08:16:25 +02:00
britttttk
f568ea9c9e
Add readme to configurator (#15)
* add an images to img directory

* Add configurator readme

* Apply suggestions from code review

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>

* add local deployment with Docker

* Update README.md

Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
2020-10-22 08:12:51 +02:00
Zaxounette
75d8b84919
TorRelaySettings.cshtml - _parent becomes _blank & update dead link (#12)
* TorRelaySettings.cshtml - _parent replacement

Replaced _parent by _blank

* Update broken link
2020-10-12 18:11:05 +02:00
Kukks
6be20ab73f fix git details fetching 2020-07-19 16:40:58 +02:00
Kukks
059aecb724 restrict specific addons to bitcoin only 2020-07-19 16:40:07 +02:00
Kukks
9aa168fbe2 fix table responsiveness 2020-07-09 08:34:44 +02:00
Kukks
d05ef55ad8 Revert "do not enforce password when cookie file option not set is not set"
This reverts commit 816013fce8.
2020-07-09 07:46:20 +02:00
Kukks
816013fce8 do not enforce password when cookie file option not set is not set 2020-07-09 07:41:59 +02:00
Kukks
a6c1a89a57 contain all setup in extension 2020-06-09 15:21:21 +02:00
Kukks
05a6bf74dc fix ram byte fetch 2020-06-09 11:48:37 +02:00
Kukks
f65bf40ad2 suggest memory fragment based on device ram 2020-06-09 11:48:24 +02:00
Kukks
2dbb81bd1c rename options and start moving logic 2020-06-09 11:48:07 +02:00
Kukks
d6b960fcd9 Add missing additional services in summary 2020-06-07 12:33:57 +02:00
Kukks
df8179d059 Add PiHole 2020-06-06 18:05:47 +02:00
Kukks
e58c0784ee show space usage on docker volume path 2020-06-06 16:44:25 +02:00
Kukks
3b80ce7cfb Refactor UI hadnling for additional services 2020-06-04 14:09:58 +02:00
Kukks
428a110ea3 fix text 2020-06-04 09:06:31 +02:00
Kukks
29ebf622ae code format 2020-06-04 09:03:45 +02:00
Kukks
31b34a2d4e add warning
closes #7
2020-06-04 09:03:31 +02:00
Kukks
8db0676b72 Remove unused imports 2020-06-04 08:02:58 +02:00
Kukks
b9209fe5a2 Add ThunderHub as an option 2020-06-04 07:59:26 +02:00
Kukks
0222f52387 set to btc if nothing selected 2020-06-03 16:38:53 +02:00
Kukks
10636b97a7 use expression in eoc for better detection 2020-06-03 16:34:21 +02:00
Kukks
3a64b647d7 Run apt-get update 2020-06-03 15:10:25 +02:00
Andrew Camilleri
9abeb6d713
Update config.yml 2020-05-14 17:44:48 +02:00
Andrew Camilleri
87a2d8ee85
Update config.yml 2020-05-14 17:42:45 +02:00
Zaxounette
7efc2bbe6d
DomainSettings.cshtml - Broken link (#11)
Broken link.
2020-04-28 21:02:21 +02:00
Dennis Reimann
780e2f93f7
Apply BTCPay design basics (#10)
* Apply BTCPay design basics

Basics for #8.

* Improve and unify spacings

* Optimize images

* Card fixes

* Add favicon files

Makes use of the [favicons defined in the design system](https://design.btcpayserver.org/resources/favicon/).

* Deployment destination updates

* Use latest design system styles

* Add theme switch
2020-04-28 07:53:33 +02:00
Kukks
7e12be26a5 add electrumx 2020-03-16 14:58:31 +01:00
Kukks
4fdc7a5df9 fix formatting 2020-03-16 14:47:03 +01:00