Commit Graph

114 Commits

Author SHA1 Message Date
Pavol Rusnak
bc36e6bc4c
fix flake8 F541 (f-string is missing placeholders) 2023-01-30 11:46:44 +00:00
ben
39f0000fa5 Merge remote-tracking branch 'origin/main' into extension_install_02 2023-01-26 12:39:11 +00:00
calle
f0d58a8365
Wallets: add custom invoice expiry (#1396)
* expiry for fakewallet

* expiry for lnd

* lnbits backend

* fix: eclair descriptionHash fixed and expiry added

* cln and sparko

* test expiry

* Eclair from AdminUI and bugfix for nonexistent payments

* add to settings and .env and remove lntxbot

* remove duplicate and format

* add invoice expiry

* add min max and step

* UI works now

* test should fail, sanity check, will revert

* revert, ready for merge

Co-authored-by: Tiago Vasconcelos <talvasconcelos@gmail.com>
2023-01-26 11:08:40 +01:00
Vlad Stan
9cca87f738
Merge branch 'main' into extension_install_02 2023-01-25 09:50:54 +02:00
Vlad Stan
331c8e593b
fix: ignore extra settings fields (#1398)
* fix: ignore extra settings fields

* fix: format
2023-01-23 14:25:54 +01:00
Vlad Stan
8971fb5f00 feat: add default value for lnbits_extensions_manifests 2023-01-23 14:58:32 +02:00
Vlad Stan
ca1dcd6768 chore: comment typos 2023-01-20 18:26:58 +02:00
Vlad Stan
0b3324cd8f refactor: create TransientSettings for settings that are not to be persisted 2023-01-20 18:10:29 +02:00
Vlad Stan
478d74efc8 fix: separate lnbits_deactivated_extensions from lnbits_disabled_extensions` 2023-01-20 09:39:27 +02:00
Vlad Stan
12d32a4811 feat: add GITHUB_TOKEN for github api calls (prevent rate-limit) 2023-01-18 17:38:51 +02:00
Vlad Stan
6ec1a668ae chore: code format 2023-01-18 17:38:36 +02:00
Vlad Stan
8c1479427d fix: merge issues 2023-01-18 17:38:36 +02:00
Vlad Stan
598d2a6939 feat: re-route trafic when an extension is upgraded 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
callebtc
2718773b60 fix: add missing entries 2023-01-10 17:25:12 +01:00
callebtc
7650d5775f backwards compatible 2022-12-19 15:54:31 +01:00
Vlad Stan
1d509fb9d2 fix: typo Setings -> Settings 2022-12-19 11:07:24 +02:00
dni ⚡
04f0f5b83b improve wording 2022-12-12 12:27:52 +01:00
Vlad Stan
63ea3369d3 fix: do not hide Exception message 2022-12-12 10:20:27 +02:00
Vlad Stan
3288722ef4 refactor: spit ReadOnlySettings 2022-12-09 15:13:58 +02:00
Vlad Stan
49855669a5 refactor: move init logic at the bottom 2022-12-09 13:40:22 +02:00
Vlad Stan
6d1db80bb3 refactor: build dynamically readonly_variables 2022-12-09 13:37:36 +02:00
Vlad Stan
d6d42250a9 refactor: use JSON for settings 2022-12-09 13:14:22 +02:00
Vlad Stan
0ed2ec6519 refactor: extract funding sources to their own classes 2022-12-09 11:35:46 +02:00
Vlad Stan
68b4a20e26 feat: enable validator for ReadonlySettings 2022-12-09 11:06:43 +02:00
Vlad Stan
7952a462e3 feat: extract parent LNbitsSetings class 2022-12-09 10:57:53 +02:00
Vlad Stan
0d4954c01a chore: temp commit (does not work); don't want to lose changes 2022-12-09 09:46:30 +02:00
Vlad Stan
d15782521d refactor: include admin extension into core 2022-12-08 15:41:52 +02:00
Tiago Vasconcelos
301cc6229e remove lnbits_admin_extensions from readonly variables 2022-12-08 10:15:34 +00:00
dni ⚡
b4e8659006 fix default value for reserve fee
format
2022-12-07 15:58:33 +01: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 ⚡
c189ec49e5 add superuser class to obscure superuser_id for admin in the ui 2022-12-07 11:00:48 +01:00
dni ⚡
344e951368 remove unused comment, and drop readonly settings on update 2022-12-06 15:30:53 +01:00
dni ⚡
d2cd972663 refactor from settings.py into admin crud, but broke frontend
formatting
2022-12-06 11:02:01 +01:00
dni ⚡
c56a31e6f5 add superuser and refactor check_admin function, also put it into satspay 2022-12-05 20:41:23 +01:00
dni ⚡
9d67c8e4e5 checks, redundant error handling 2022-12-05 17:50:13 +01:00
dni ⚡
e49112d4ee rename read_only_variables to readonly_variables 2022-12-05 16:13:26 +01:00
dni ⚡
9b37c68b7c calle, change logger.warning messages 2022-12-05 16:10:35 +01:00
dni ⚡
35920bae48 code improvements, bugfixes 2022-12-05 15:43:26 +01:00
Tiago Vasconcelos
c3e6ed9089 fix for default ad image URL 2022-12-02 14:59:02 +00:00
Tiago Vasconcelos
52cbc7d0f7 make format 2022-12-02 14:38:21 +00:00
Tiago Vasconcelos
4410968bf5 enable disable ads and display ads 2022-12-02 14:36:09 +00:00
Tiago Vasconcelos
f7dd533daa make ad space as a CSV formatted string 2022-12-01 22:16:55 +00:00
dni ⚡
e3e62fc073 formatting 2022-11-30 23:52:13 +01:00
dni ⚡
86d2780c9f fix template typos and also update settings in memory after a admin PUT 2022-11-30 23:47:52 +01:00
dni ⚡
e740ad3cf8 fix lnbitswallet issue, add ad_space_title, change lntips funding source 2022-11-30 16:53:46 +01:00
dni ⚡
b49545f48b exlude forwarded_allow_ips 2022-11-29 20:29:08 +01:00
dni ⚡
acc27a4714 fix lndgrpc regtest errors 2022-11-24 15:43:15 +01:00
dni ⚡
74eece78de merge from master 2022-11-24 14:35:32 +01:00
ben
71d105b5d5 Accidental delete 2022-11-23 17:06:45 +00:00