Commit graph

94 commits

Author SHA1 Message Date
Roland
d8ef0e70e0
chore: sync Wails CLI version in CI with go.mod (v2.14.0) (#2547)
Some checks are pending
Multiplatform Docker build & push / build (push) Waiting to run
Code quality - linting and typechecking / linting (push) Waiting to run
Backend testing with Postgres / test-postgres (push) Waiting to run
The Dependabot bump updated github.com/wailsapp/wails/v2 to v2.14.0 in
go.mod but the wails workflow still installed the CLI at v2.12.0. Align
the CI install and document in AGENTS.md that both must be updated
together.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-13 14:41:11 +07:00
dependabot[bot]
fa03a9ba70
build(deps): bump @getalby/sdk from 7.0.0 to 8.0.3 in /frontend (#2488)
* build(deps): bump @getalby/sdk from 7.0.0 to 8.0.3 in /frontend

Bumps [@getalby/sdk](https://github.com/getAlby/js-sdk) from 7.0.0 to 8.0.3.
- [Release notes](https://github.com/getAlby/js-sdk/releases)
- [Commits](https://github.com/getAlby/js-sdk/compare/v7.0.0...v8.0.3)

---
updated-dependencies:
- dependency-name: "@getalby/sdk"
  dependency-version: 8.0.3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: bump node version in workflows

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2026-08-04 16:25:24 +07:00
hermes-alby
bf0ebe1f33
ci: support builds for fork pull requests (#2492)
ci: skip macOS signing for untrusted PRs

Co-authored-by: Hermes Agent <hermes-agent@users.noreply.github.com>
2026-08-04 16:14:30 +07:00
hermes-alby
a4dec48322
fix: update Bark FFI bindings (#2400)
fix: update bark ffi bindings

Co-authored-by: Hermes Agent <hermes-agent@users.noreply.github.com>
2026-06-05 13:01:04 +07:00
Roland
df67a2c24e
fix: link Windows CNG libs for bark FFI (#2397)
* fix: link Windows CNG libs for bark FFI

The bark FFI static library is built for the GNU/mingw target and embeds
Rust's getrandom/ring code, which references Windows CNG symbols such as
BCryptGenRandom. The upstream bark bindings only link -lbark_ffi_go, so the
mingw linker fails with "undefined reference to BCryptGenRandom".

cgo merges LDFLAGS across packages, so supply the missing Windows system
libraries from our own bark package without modifying the vendored module.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix: move cgo directive out of Go doc comment for bark windows

The descriptive comment block was contiguous with the import "C" line, so
the entire block became the cgo C preamble and the C compiler tried to parse
the prose (unknown type name 'The', stray quotes/backticks). Separate the Go
documentation from the cgo preamble with a blank line and keep only the #cgo
directive in a /* */ block immediately preceding import "C".

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix: link Windows CNG libs for bark via extldflags

cgo #cgo LDFLAGS directives from our package are ordered before the bark
module on the link line, so the single-pass mingw linker discards -lbcrypt
before it sees the undefined BCryptGenRandom reference from libbark_ffi_go.a.

Append the Windows system libraries via -extldflags instead, which places
them after -lbark_ffi_go so the linker can resolve the symbols.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix: link bark Windows CNG libs via CGO_LDFLAGS start-group

wails drops -ldflags=-extldflags, so the system libraries never reached the
external linker. Set them through CGO_LDFLAGS instead (read directly by cgo)
and wrap them with bark in a --start-group, so the linker re-scans the group
and resolves BCryptGenRandom regardless of library order.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix: gate bark backend to platforms with prebuilt FFI libs

The bark FFI bindings ship no native library for 32-bit ARM Linux, so the
armv6 build failed to link bark's own FFI symbols. Constrain the real bark
implementation to bark's supported platforms (darwin/linux amd64+arm64,
windows amd64) and add a stub for everything else that returns an
"unsupported" error if the bark backend is selected at runtime.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-04 17:20:04 +07:00
hermes-alby
804075faff
ci: align Wails CLI version (#2398)
Co-authored-by: Hermes Agent <hermes-agent@users.noreply.github.com>
2026-06-04 16:17:43 +07:00
Adithya Vardhan
d830561bc3
chore: ignore google.golang.org/grpc updates (#2225) 2026-04-13 18:16:24 +05:30
Adithya Vardhan
3cacb181b8
fix: update wails in workflow to v2.11.0 (#2156) 2026-03-23 16:42:58 +05:30
Roland
1083047624
fix: github docker build runs out of space (#1991) 2025-12-17 01:35:32 +07:00
Roland
6db84bbda9
fix: bump macos runner images to 14 (#1974) 2025-12-12 15:57:56 +07:00
Roland
bf8bd38a45
chore: add dependabot for frontend dependencies (#1687) 2025-09-08 12:42:45 +05:30
dependabot[bot]
a88a9da338
build(deps): bump github.com/wailsapp/wails/v2 from 2.10.1 to 2.10.2 (#1470)
* build(deps): bump github.com/wailsapp/wails/v2 from 2.10.1 to 2.10.2

Bumps [github.com/wailsapp/wails/v2](https://github.com/wailsapp/wails) from 2.10.1 to 2.10.2.
- [Release notes](https://github.com/wailsapp/wails/releases)
- [Commits](https://github.com/wailsapp/wails/compare/v2.10.1...v2.10.2)

---
updated-dependencies:
- dependency-name: github.com/wailsapp/wails/v2
  dependency-version: 2.10.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: bump wails version in workflow

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2025-07-10 00:14:26 +07:00
Roman D
8f699d1afd
chore: bump Windows version to 2022 in the Wails build action (#1399) 2025-06-11 12:02:20 +07:00
Adithya Vardhan
3ccdb1e161
fix: update workflows to use ubuntu 24.04 (#1265)
* fix: update workflows to use ubuntu 24.04

* chore: use ubuntu 22.04
2025-04-17 13:29:48 +07:00
Roman D
5b02fb9ee2
chore: bump Go version to 1.24 (#1258)
* chore: bump Go version to 1.24

* chore: update base Docker image

* chore: bump Wails version to 2.10.1 in the GitHub action
2025-04-15 23:47:57 +07:00
Roland Bewick
e107e05d80 chore: remove unused green and breezlight backends 2025-03-15 13:11:36 +07:00
Roman D
e2e5967874
fix: dedicated Wails build for Ubuntu 24.04 to work around libwebkit2gtk-4.1 incompatibility (#1104)
* fix: dedicated Wails build for Ubuntu 24.04 to work around libwebkit2gtk-4.1 incompatibility

* fix: install correct libwebkit2gtk version on Linux

* fix: correct context name for OS version

* fix: correct context name for OS version
2025-02-20 13:23:31 +07:00
Roland
7acb486a88
fix: use ubuntu 22.04 for github workflows (#1033) 2025-01-28 16:20:56 +07:00
Roman D
df9393194a
feat: PostgreSQL support (#922)
* feat: enable Postgres connections

* feat: implement migration templates

* feat: convert sqlite-specific migrations to migration templates; adjust SQL syntax

* fix: add migration to fix postgres incompatibilities in the DB schema

* fix: correct SQL syntax for comparisons in the transactions service

* feat: database migration tool

* chore: update tests for testing with Postgres

* fix: update test

* fix: explicitly store mock timestamps in UTC

* chore: add txdb to go.mod and run tidy

* fix: serialize concurrent transactions when running tests with txdb

* chore: update README to mention postgres

* fix: use timestamptz in Postgres

* test: add Github action for testing the backend with Postgres

* chore: fix migration name and add comments

* docs: add db migration notes to README

* fix: address PR feedback

* fix: rename the cmd/migrate tool to cmd/db_migrate

* feat: add schema check in the DB migration tool

* test: use testdb instead of txdb for testing with Postgresql

* fix: fix tests after merge

* chore: comment out unused VACUUM in migrations

* fix: reset Postgres sequences after migrating data

* docs: update migrate command in readme

* fix: do not allow backup for migration when postgres is enabled

* chore: add debug logs for db backend type

* chore: use Logrus instead of slog for db_migrate

* fix: initialize logger in the keys tests

* test: add db_migrate test

* fix: use transaction object in db_migrate function

* fix: txlock in db migration test

---------

Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2025-01-16 17:17:24 +07:00
Roland
cf09632610
chore: bump macos version in github runner (#863) 2024-12-09 10:51:15 +07:00
Adithya Vardhan
eaab2d8c1c
chore: use proper title in wails (#662) 2024-10-22 21:40:35 +07:00
dependabot[bot]
d5243802cd
build(deps): bump github.com/wailsapp/wails/v2 from 2.9.1 to 2.9.2 (#695)
* build(deps): bump github.com/wailsapp/wails/v2 from 2.9.1 to 2.9.2

Bumps [github.com/wailsapp/wails/v2](https://github.com/wailsapp/wails) from 2.9.1 to 2.9.2.
- [Release notes](https://github.com/wailsapp/wails/releases)
- [Commits](https://github.com/wailsapp/wails/compare/v2.9.1...v2.9.2)

---
updated-dependencies:
- dependency-name: github.com/wailsapp/wails/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: bump wails version in github workflow

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2024-09-24 22:44:37 +07:00
im-adithya
55090884da fix: upload all server artifacts in release workflow 2024-09-04 21:10:42 +05:30
Roland
172f2cd17b
fix: release workflow yaml indentation (#608) 2024-09-04 14:48:35 +07:00
Roland Bewick
96ed9a13cc fix: add apple secrets to release workflow http job 2024-09-04 14:42:13 +07:00
Roland
50fa01e48e
chore: run extra workflows on PR (#563)
* chore: run extra workflows on PR

* fix: pull request workflows
2024-08-29 16:26:05 +07:00
Adithya Vardhan
4ab48edb2a
feat: generate macos http build in actions (#506)
* feat: generate macos http build in actions

* chore: fix

* chore: only notarize dmg during release

* chore: use runner.os instead of matrix.build.os
2024-08-27 20:09:50 +07:00
Roland
d8ba37427f
fix: remove race flag from go test commands (#304)
* fix: remove race flag from go test commands

* fix: multi_ payments assertions
2024-07-20 17:31:17 +07:00
dependabot[bot]
894c2c3350
build(deps): bump github.com/wailsapp/wails/v2 from 2.8.2 to 2.9.1 (#229)
* build(deps): bump github.com/wailsapp/wails/v2 from 2.8.2 to 2.9.1

Bumps [github.com/wailsapp/wails/v2](https://github.com/wailsapp/wails) from 2.8.2 to 2.9.1.
- [Release notes](https://github.com/wailsapp/wails/releases)
- [Commits](https://github.com/wailsapp/wails/compare/v2.8.2...v2.9.1)

---
updated-dependencies:
- dependency-name: github.com/wailsapp/wails/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: bump wails workflow cli version

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2024-07-10 12:51:22 +07:00
Roland
c2d6c5e7e8
fix: undo release on tag (#220) 2024-07-05 22:11:23 +07:00
Roland
7fa09ab88d
chore: run release workflow on new tag (#219) 2024-07-05 22:07:09 +07:00
Roland Bewick
3088373477 chore: rename everything to alby hub 2024-07-05 20:32:40 +07:00
Roland
8b84ec88a7
fix: add version tag to linux http executables (#552) 2024-07-01 15:59:31 +07:00
Adithya Vardhan
b4dae446cd
chore: fix race condition in multi_ tests by adding mutex (#530) 2024-06-28 13:59:48 +07:00
Roman D
ad06b1bf5e
chore: bump import-codesign-certs version and disable notarization for non-release Wails macOS builds (#527)
Co-authored-by: Roman Dmitrienko <roman@dmitrienko.com>
2024-06-27 19:19:49 +07:00
Roman D
d12cb8e485
fix: use Go version from go.mod in Github actions (#526)
Co-authored-by: Roman Dmitrienko <roman@dmitrienko.com>
2024-06-27 19:19:12 +07:00
Michael Bumann
88f93fe8f3
chore: create bz2 archives in http build (#523) 2024-06-27 14:57:51 +07:00
Roman D
fa27483bd3
fix: increase yarn timeout in Docker image to fix failing arm64 builds (#517)
Co-authored-by: Roman Dmitrienko <roman@dmitrienko.com>
2024-06-27 09:40:30 +07:00
Roland Bewick
8df1d6b5f3 fix: do not run docker and http workflows after release is published 2024-06-26 14:37:06 +07:00
Roland Bewick
798a40adc3 fix: merge multiple artifacts into same directory in release workflow 2024-06-26 14:04:33 +07:00
Roland Bewick
11169a905f fix: re-add path to download artifacts steps in release workflow 2024-06-26 13:39:43 +07:00
Roman D
8e577394fb
fix: build proper Docker image for arm64 (#501)
Co-authored-by: Roman Dmitrienko <roman@dmitrienko.com>
Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2024-06-26 11:57:05 +07:00
Michael Bumann
85381b9183
Build linux http executables (#480)
Co-authored-by: Roman Dmitrienko <roman@dmitrienko.com>
Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2024-06-25 22:04:30 +07:00
Roland Bewick
b393b900a3 fix: do not do docker push for dependabot PRs 2024-06-22 14:40:13 +07:00
Roland Bewick
fc046eb1c6 fix: use same Wails CLI version as the go package 2024-06-22 13:43:54 +07:00
Roland Bewick
bd81d12920 fix: pass tag to gh release create 2024-06-22 12:43:48 +07:00
Roland
bd2903682d
Feat: version display (#475) 2024-06-22 12:22:01 +07:00
Roland Bewick
c3f6a2313c chore: only enable manually starting release workflow 2024-06-21 13:14:27 +07:00
Roland Bewick
8c34eb8f85 fix: download correct RPI archive in release workflow 2024-06-21 12:51:06 +07:00
Roland Bewick
4f241b78aa fix: link to wails workflow 2024-06-21 12:36:31 +07:00