shroominic and GitHub
e9302bdfcb
Merge pull request #141 from Routstr/improve-latency-by-3s
...
improve latency by 3s
2025-08-21 15:38:29 -03:00
Shroominic
3af531aacd
improve latency by 3s
2025-08-21 15:36:51 -03:00
shroominic and GitHub
47d65b57f7
Merge pull request #140 from Routstr/fix-wallet-problems
...
batch checkstates + lru cache for wallet objects
2025-08-21 14:12:19 -03:00
Shroominic
983b3a1b23
fix pytests
2025-08-20 13:34:28 -03:00
Shroominic
35134e5401
fix caching
2025-08-20 10:39:27 -03:00
Shroominic
cb72d73ced
fix
2025-08-20 10:25:33 -03:00
Shroominic
dbd9b72a23
batch checkstates + lru cache for wallet objects
2025-08-20 10:18:44 -03:00
shroominic and GitHub
f784a2a36d
Merge pull request #139 from Routstr/x-routstr-request-id-header
...
x-routstr-request-id header
2025-08-18 12:14:49 -03:00
Shroominic
31f53f7904
fix pytests
2025-08-17 22:07:38 -03:00
Shroominic
9f485e4dbb
x-routstr-request-id header
2025-08-17 22:03:35 -03:00
shroominic and GitHub
cea6ddcd03
Merge pull request #138 from Routstr/132-fix-v1balancerefund-bugs
...
132 fix v1balancerefund bugs
2025-08-17 17:11:47 -03:00
Shroominic
7fce5318b6
fmt
2025-08-17 17:09:17 -03:00
Shroominic
56cc14928c
fix tests
2025-08-17 17:08:40 -03:00
Shroominic
97cdc0dbcd
fix msat balance convertsion
2025-08-17 16:59:21 -03:00
Shroominic
cf24cefc1f
fix msat/sat balance indicator
2025-08-17 16:59:06 -03:00
Shroominic
71dbbe44dd
change /models to include_in_schema=False
2025-08-17 16:57:39 -03:00
shroominic and GitHub
8e8c32151d
Merge pull request #135 from Routstr/133-admin-dashboard-multi-currency
...
multi mint admin dashboard
2025-08-17 15:50:01 -03:00
Shroominic
84b903a6c2
multi mint admin dashboard
2025-08-17 15:48:12 -03:00
shroominic and GitHub
f8665400cd
Merge pull request #131 from Routstr/129-implement-periodic_payout-to-lnurl
...
Implement periodic payout to owners lnurl
2025-08-16 16:34:45 -03:00
Shroominic
9e41f05742
fix refund
2025-08-16 16:33:06 -03:00
Shroominic
150918c5a7
refactor wallet, periodic payouts and LNURL payments
2025-08-15 16:50:30 -03:00
Shroominic
9f89e0485e
add LNURL helpers
2025-08-15 16:49:04 -03:00
Shroominic
ff3d268192
add balances_for_mint_and_unit db method
2025-08-15 16:48:43 -03:00
shroominic and GitHub
d5800335a6
Merge pull request #128 from Routstr/124-msat---sat-non-trusted-swap-not-working
...
fixxxx msat -> sat non trusted swap not working #124
2025-08-14 14:09:09 -03:00
Shroominic
1858f7dd28
fixxxx
2025-08-13 23:37:21 -03:00
shroominic and GitHub
c300082fd7
Merge pull request #127 from Routstr/fix-msat-refund
...
Fix msat refund
2025-08-13 17:56:22 -03:00
Shroominic
192518c9df
fix tests
2025-08-13 17:54:04 -03:00
Shroominic
558d442cd1
dont include fees
2025-08-13 17:11:36 -03:00
Shroominic
07257d5682
refund api keys with mint+currency details
2025-08-13 16:52:26 -03:00
Shroominic
f4d6762baa
init api keys with refund mint+currency details
2025-08-13 16:52:06 -03:00
Shroominic
dda016669f
add refund mint+currency to api table
2025-08-13 16:51:00 -03:00
shroominic and GitHub
5d3d80c386
Merge pull request #126 from Routstr/fix-and-improve-logging
...
Fix and improve logging
2025-08-12 20:26:32 -03:00
shroominic and GitHub
9bab7aee7d
rm prints
2025-08-12 15:41:05 -03:00
Shroominic
6924f6c18a
rm alembic logging
2025-08-12 15:31:17 -03:00
Shroominic
8360d2a6fd
feat: add log investigation feature and modern UI to admin dashboard
...
- Add 'Investigate Logs' button with modal for request ID input
- Implement /admin/logs/{request_id} endpoint for log viewing
- Parse and display JSON log entries with formatting
- Search through last 7 days of log files
- Add modern minimal CSS design system
- Improve typography with system font stack
- Add card layouts, shadows, and rounded corners
- Implement smooth transitions and hover effects
- Add emoji icons for visual interest
- Rename 'User's API Keys' to 'Temporary Balances'
2025-08-12 15:30:02 -03:00
Shroominic
de5c2bd502
feat: add comprehensive logging to proxy endpoints
...
- Log complete request flow from entry to completion
- Add detailed bearer token validation logging
- Track payment processing with balance changes
- Log streaming vs non-streaming response detection
- Add categorized error logging (connection, timeout, network)
- Use key hash for secure tracking without exposing full keys
- Log response type analysis for chat completions
- Track failed request payment reversals
2025-08-12 15:29:45 -03:00
Shroominic
eeb458f8fe
feat: enhance logging in payment processing modules
...
- Add comprehensive logging for cost calculations and pricing
- Log token validation with secure previews (first 20 chars)
- Add detailed logging for X-Cashu token processing flow
- Implement specific error categorization for CASHU errors
- Add logging for streaming response handling and usage extraction
- Log refund processing with retry attempts
- Track header modifications in upstream requests
- Include request IDs in error responses
2025-08-12 15:29:30 -03:00
Shroominic
185f060b54
feat: integrate logging into FastAPI application
...
- Initialize logging configuration at startup
- Add LoggingMiddleware for request tracking
- Add structured logging for application lifecycle events
- Register exception handlers for better error responses
- Add proper error handling in startup/shutdown
2025-08-12 15:29:14 -03:00
Shroominic
9c4b827d74
feat: add comprehensive logging infrastructure
...
- Add centralized logging configuration with daily rotation
- Implement custom TRACE log level for detailed debugging
- Add security filter to redact sensitive data (tokens, keys, passwords)
- Add request ID tracking via middleware and context variables
- Add version filter to include package version in all logs
- Implement structured JSON logging for production
- Add exception handlers with request ID tracking
- Configure Rich console handler for development
2025-08-12 15:29:01 -03:00
Shroominic
b552aea520
fix folder name
2025-08-12 15:02:22 -03:00
Shroominic
5173e0f133
convert prints to logging
2025-08-12 15:02:15 -03:00
Shroominic
67348d7fb2
rm alembic logging override
2025-08-12 14:36:22 -03:00
shroominic and GitHub
4c15114fc0
Merge pull request #125 from Routstr/migrate-docker-smoothly
...
Migrate docker smoothly
2025-08-11 14:43:00 -03:00
Shroominic
3d42960d20
fmt
2025-08-11 14:42:22 -03:00
Shroominic
4c3d11f09c
migrate-docker-smoothly
2025-08-11 14:41:44 -03:00
shroominic and GitHub
432fa25ff8
Merge pull request #122 from Routstr/fix-msat-bearer-payments
...
fix msat Bearer payments
2025-08-11 00:02:21 -03:00
Shroominic
c35464fb11
fix tests
2025-08-10 23:58:58 -03:00
Shroominic
bb32844104
Merge remote-tracking branch 'origin/main' into fix-msat-bearer-payments
2025-08-10 23:44:49 -03:00
shroominic and GitHub
ec5eeae49f
Merge pull request #123 from Routstr/fix-ci
...
fix CI
2025-08-10 23:43:55 -03:00
Shroominic
d75939b547
fix CI
2025-08-10 23:41:56 -03:00