-
v0.0.5 Stable
released this
2026-01-19 12:17:25 +00:00 | 0 commits to main since this release-
Fixed default amount display: Pay User dialog now correctly shows sats amount when lightning payment is selected (was incorrectly showing fiat value)
-
Fixed invoice response parsing: Changed from
payment_requesttobolt11field name to match LNbits API response -
Fixed NameError in payables/pay endpoint: Corrected undefined
walletreference to useauth.user_idfor payment metadata -
Fixed user wallet lookup with truncated IDs: Added prefix-based lookup for 8-char user IDs from Beancount accounts
-
Added
get_user_wallet_settings_by_prefix()function in crud.py for matching truncated user IDs to full UUIDs -
Updated
/api/v1/user-wallet/{user_id}endpoint to support both full UUIDs and truncated 8-char IDs -
Lightning payments from Castle to users now work correctly end-to-end
https://git.aiolabs.dev/padreug/castle/compare/v0.0.4...v0.0.5
Downloads
-
Source code (ZIP)
2 downloads
-
Source code (TAR.GZ)
0 downloads
-
-
v0.0.4 Stable
released this
2026-01-19 11:29:08 +00:00 | 1 commits to main since this release-
Centralized authorization module: New
auth.pywithAuthContext,require_super_user, andrequire_authenticatedhelpers -
Fixed 6 critical unprotected endpoints that exposed sensitive data
-
Consolidated 16+ admin endpoints with duplicated super_user checks into standardized patterns
-
Standardized on
user_id(wallet.wallet.user) instead ofwallet_idfor consistency -
Added concurrency protection for Fava/Beancount ledger writes to prevent race conditions
-
Global asyncio.Lock to serialize all write operations
-
Per-user locks for finer-grained concurrency control
-
Retry logic with exponential backoff for checksum conflicts
-
New
add_entry_idempotent()method to prevent duplicate entries -
ChecksumConflictErrorexception for conflict handling -
Fixed approve/reject endpoints to use Fava source API correctly
-
Properly read entry metadata (filename, lineno) from parsed entry
-
Read full source file via GET /source, modify specific lines, write back via PUT /source
-
Added Fava settings UI in super admin Settings dialog (URL, ledger slug, timeout)
-
Fava client reinitializes automatically when settings are updated
-
Fixed race conditions in toolbar buttons - added
settingsLoadedflag to prevent wrong buttons appearing beforeisSuperUserwas determined -
Fixed "Cannot read properties of undefined (reading 'user')" error from premature Vue mount() call
https://git.aiolabs.dev/padreug/castle/compare/v0.0.3...v0.0.4
Downloads
-
Source code (ZIP)
2 downloads
-
Source code (TAR.GZ)
1 download
-
-
v0.0.3 Stable
released this
2026-01-02 19:27:46 +00:00 | 6 commits to main since this releaseChanges since v0.0.2:
Downloads
-
Source code (ZIP)
3 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
v0.0.2 Stable
released this
2026-01-02 17:24:28 +00:00 | 8 commits to main since this releaseFix Fava API endpoint for getting entry context
Downloads
-
Source code (ZIP)
2 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
v0.0.1 Stable
released this
2025-12-31 15:50:48 +00:00 | 9 commits to main since this releaseDownloads
-
Source code (ZIP)
3 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)