dni ⚡
a9bdf24425
FEAT: use versioning for frontend (npm) and copy it to lnbits/static/vendor for easier updating ( #1590 )
...
* remove static/vendor
* add node dependencies
* add bolt11-decoder
* run npm install inside dockerimage
* only use bundle.js and bundle.css
* use node_modules for bundling vendor assets
* remove dead code
* make argument optional
* reintroduce vendor dir
* reintroduce vendor and single javascript files, minification
* wrong moment, remove minification
* lock packages with non critical issues
* black
2023-03-31 12:46:24 +02:00
dni ⚡
407a61cd29
add version to fastapi app and startup log ( #1568 )
...
* add version to fastapi app and startup log
* move version into settings
* remove unused dep
2023-03-30 14:19:45 +02:00
Vlad Stan
239f166a14
fix: format relative path
2023-03-20 16:07:20 +02:00
dni ⚡
8410776ffb
only make it fallback when adminui is enabled
2023-03-02 12:07:20 +01:00
dni ⚡
e93fbd24be
FEAT: add funding source fallback and VoidWallet warning for frontend
2023-03-02 12:03:58 +01:00
dni ⚡
6f194fe2f8
introduce baseurl and remove force_https ( #1549 )
...
* introduce baseurl and remove force_https
* calle's suggestions
2023-02-28 13:45:43 +01:00
Vlad Stan
0d5fef1cb9
Add redirect paths for extensions ( #1532 )
...
* feat: basic redirect to extension endpoint
* feat: filter by headers
* refactor: extract `middleware.py`
* fix: do not add twice the same extension to redirects
* chore: code clean-up
2023-02-22 10:12:16 +01:00
Vlad Stan
16a997663d
fix: activate default installed extensions ( #1533 )
2023-02-22 09:43:17 +01:00
Vlad Stan
61fb44a04e
feat: add default extension install (LNBITS_EXTENSIONS_DEFAULT_INSTALL
)
2023-02-16 10:48:12 +02:00
Pavol Rusnak
bc36e6bc4c
fix flake8 F541 (f-string is missing placeholders)
2023-01-30 11:46:44 +00:00
Pavol Rusnak
a0cc55c5a1
fix pylint C0209 (consider-using-f-string)
2023-01-30 11:46:43 +00:00
Vlad Stan
8ab4cb8c08
fix: restore installed extensions
2023-01-25 15:00:39 +02:00
Vlad Stan
46faa62b8b
fix: upgrade vs install
2023-01-25 14:32:41 +02:00
Vlad Stan
b57e808198
chore: add extra log
2023-01-23 11:51:53 +02:00
Vlad Stan
b069fe17d8
chore: add comments for register_new_ext_routes
2023-01-20 17:48:52 +02:00
Vlad Stan
fa5d824eea
refactor: remove redundant changes
2023-01-20 15:59:44 +02:00
Vlad Stan
ea31e148ae
refactor: simplify download & extract logic
2023-01-20 15:55:58 +02:00
Vlad Stan
730017ed62
fix: import after renaming
2023-01-20 10:06:32 +02:00
Vlad Stan
478d74efc8
fix: separate lnbits_deactivated_extensions
from lnbits_disabled_extensions
`
2023-01-20 09:39:27 +02:00
Vlad Stan
0a7a589935
fix: call load_disabled_extension_list
2023-01-19 15:49:43 +02:00
Vlad Stan
6773f33ad1
fix: re-mount routes for restored extensions
2023-01-19 11:12:48 +02:00
Vlad Stan
aa006b66d1
feat: update pre-installed extensions on re-create
2023-01-19 10:15:56 +02:00
Vlad Stan
69b8dfa21f
fix: mypy
2023-01-18 18:40:27 +02:00
Vlad Stan
ce1639792a
fix: order of migrations
2023-01-18 18:35:02 +02:00
Vlad Stan
e52baab1c2
fix: register extension route after re-install
2023-01-18 17:38:51 +02:00
Vlad Stan
98735d79c7
fix: revert onstartup
extension route init
2023-01-18 17:38:51 +02:00
Vlad Stan
1d2e994862
feat: download extensions if missing
2023-01-18 17:38:51 +02:00
Vlad Stan
0ab913e502
chore: code format
2023-01-18 17:38:36 +02:00
Vlad Stan
2edb9da387
fix: name conflict
2023-01-18 17:38:36 +02:00
Vlad Stan
795d05c109
refactor: extract extensions.py
2023-01-18 17:38:36 +02:00
Vlad Stan
ece7a82b3d
fix: make function async
2023-01-18 17:38:36 +02:00
Vlad Stan
a6e3b5e049
feat: use hash for unique extension id
2023-01-18 17:38:36 +02:00
Vlad Stan
8f8ebbeeaa
refactor: class rename and code format
2023-01-18 17:38:36 +02:00
Vlad Stan
3fbac927e9
chore: clean-up
2023-01-18 17:38:36 +02:00
Vlad Stan
6c41ac841b
feat: temporary fix for upgrades
2023-01-18 17:38:36 +02:00
Vlad Stan
66c908e600
chore: migrate after major changes on main
2023-01-18 17:38:36 +02:00
Vlad Stan
dc0c4564af
fix: merge conflict
2022-12-16 12:27:26 +02:00
Vlad Stan
2eeef5c1ed
Merge branch 'main' into FinalAdminUI
2022-12-16 12:21:25 +02:00
callebtc
78f94483d0
fix: no stacktrace for validartion errors
2022-12-14 19:10:26 +01:00
callebtc
5b8c5d52da
fix: no stack trace for http errors
2022-12-14 19:09:01 +01:00
callebtc
317c17c1b3
make format
2022-12-14 18:42:45 +01:00
callebtc
4a060baa75
feat: error responses work
2022-12-14 18:40:07 +01:00
callebtc
fa7bbb62e2
correct error codes in tests
2022-12-14 14:59:11 +01:00
callebtc
b5eb8b7ee8
add handler for RequestValidationError
2022-12-14 14:33:13 +01:00
callebtc
f47772d528
fix: fastapi exception handling and printing
2022-12-14 14:18:42 +01:00
Vlad Stan
60bb556f2c
fix: log init exceptions
2022-12-09 10:31:29 +02:00
Vlad Stan
d15782521d
refactor: include admin extension into core
2022-12-08 15:41:52 +02:00
dni ⚡
89933c2d30
test should pass now, WALLET is initialised after the settings are loaded from db.
2022-12-07 13:38:33 +01:00
dni ⚡
d2cd972663
refactor from settings.py into admin crud, but broke frontend
...
formatting
2022-12-06 11:02:01 +01:00
dni ⚡
b4126e664b
nitpicks from vlad
2022-12-05 12:28:26 +01:00