Commit graph

10 commits

Author SHA1 Message Date
Roland
4402d2fff8
fix: remove request bodies from error logs (#2533)
The Wails request router included the full request body in its error
log entries, and the HTTP app creation handler logged the whole request
struct on failure. Log only the route, method and error instead,
matching the existing behavior of the /api/mnemonic handler, and log
only the route and method for requests in the desktop frontend.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-11 15:49:26 +07:00
Adithya Vardhan
90d802f277
chore: fix ts errors (#1448) 2025-06-26 16:34:50 +05:30
Roland
51ce7c64a0
Feat: allow hosting alby hub on subpath (#1439)
* feat: add base path to front end

- add docker build arg to set base path frontend is served under
- set vite.config.ts base value based on docker build arg
- update http variant request function to inject base path during calls to /api and /images
- update how static assets are loaded from public folder to inject base path during vite build

To use a base path build the docker image with --build-arg BASE_PATH=/hub/.
All assets and api calls from the frontend will use that base path as prefix.

The backend service is not using the base path, when using a proxy the base path has to be stripped.

* chore: simplify base path usage and add extra documentation

* chore: add extra documentation

---------

Co-authored-by: 8de2fdb0 <89734465+8de2fdb0@users.noreply.github.com>
2025-06-26 16:23:40 +05:30
René Aaron
55d36374b8
fix: open links from async functions on ios (#1213)
fix: open links from async functions
2025-03-21 15:24:34 +01:00
Roland
8c17360b4f
feat: JWT auth (#418)
* feat: jwt auth

* feat: add basic developer page

* fix: logout

* chore: add extra copy in developer settings

* fix: developer page ui & copy

* fix: move debug tools to settings layout

* fix: change jwt secret length

* fix: remove empty headers property

* fix: remove empty comment

* fix: use proper json object for auth token response

* chore: update bitcoin connect dependency

* feat: basic csp (#439)

* feat: basic csp

* fix: remove vaul to avoid injection of inline scripts and styles

* fix: images to work with CSP

* chore: remove posthog

* chore: remove chatwoot

* fix: image csp issues

---------

Co-authored-by: René Aaron <rene@twentyuno.net>
Co-authored-by: René Aaron <100827540+reneaaron@users.noreply.github.com>
2024-08-10 17:04:15 +07:00
Roland
d06b421769
Split service into packages (#435) 2024-06-17 19:42:09 +07:00
Adithya Vardhan
0778682a21
feat: add OAuth support in wails (#250)
Co-authored-by: Roland Bewick <roland.bewick@gmail.com>
2024-05-03 11:46:15 +07:00
Roland Bewick
e6f7f9e3e4 feat: basic onboarding flow 2024-01-24 21:54:12 +07:00
Roland Bewick
c2c5f05058 fix: remove ignore copied request file, prepare build-specific-js for http mode 2024-01-22 09:06:34 +07:00
Michael Bumann
7e23cd2d31 build specific api files
based on the build this copies the request api that will be used in the JS app
2024-01-20 01:20:40 +01:00