Commit Graph

2906 Commits

Author SHA1 Message Date
callebtc
0735b5bf7d update to cashu 0.5.3 with db fix 2022-11-26 02:14:39 +01:00
Arc
e1dfdbba76
Merge pull request #1148 from motorina0/satspay_fix
fix `staspay` webhook for LN payment
2022-11-25 07:29:34 -08:00
ben
166df0104e Revert "Merge remote-tracking branch 'origin/fix/strip_html_db' into gerty"
This reverts commit 490ab65165.
2022-11-25 14:22:14 +00:00
ben
490ab65165 Merge remote-tracking branch 'origin/fix/strip_html_db' into gerty 2022-11-25 14:21:00 +00:00
callebtc
aa0fbde541 use isinstance, not type 2022-11-25 15:20:39 +01:00
callebtc
b970f0cb0c rewrite values in db 2022-11-25 15:11:58 +01:00
callebtc
60cc0ca11a strip html 2022-11-25 14:53:03 +01:00
Vlad Stan
44754df991 refactor: remove single use var 2022-11-25 14:37:26 +02:00
Vlad Stan
cd53f9930b chore: update comment 2022-11-25 14:37:02 +02:00
Vlad Stan
3178b79fe4 chore: format code 2022-11-25 14:31:00 +02:00
Vlad Stan
15c257fd65 fix: object is not subscriable 2022-11-25 14:20:56 +02:00
Vlad Stan
1a9cd81ee9 fix: persist webhook call status 2022-11-25 14:12:13 +02:00
Vlad Stan
ead710e591 fix: important info, should be visible in the logs 2022-11-25 11:32:30 +02:00
Vlad Stan
1aecedac84 refactor: move business logic logic to helpers.py 2022-11-25 11:25:40 +02:00
Vlad Stan
6f5c9a7798 chore: code clean-up 2022-11-25 11:06:45 +02:00
Vlad Stan
5440d4ab19 feat: store onchain charge config with the charge 2022-11-25 10:48:57 +02:00
ben
5be1cf2973 Fixed fe bugs, working fine 2022-11-25 01:00:29 +00:00
ben
83e4eb16b1 Caching working, fetches from mempool every 20 secs 2022-11-25 00:49:31 +00:00
ben
e84eedd66f cleaned up 2022-11-24 23:31:22 +00:00
ben
e6a3c63dd5 Shared mempool.space cache 2022-11-24 19:27:12 +00:00
ben
b4c970a005 Merge branch 'main' into gerty 2022-11-24 16:55:04 +00:00
Vlad Stan
4e984eae56 fix: center back button 2022-11-24 17:39:40 +02:00
Vlad Stan
3356bab5ca fix: refresh when both onchain and ln are present 2022-11-24 17:33:58 +02:00
Vlad Stan
d3c3622d22 fix: mempool hostname 2022-11-24 17:20:12 +02:00
Vlad Stan
00ba09d201 fix: remove wallet inkey 2022-11-24 17:08:32 +02:00
callebtc
7bfd8f3a62 overwrite mock data 2022-11-24 16:08:12 +01:00
Vlad Stan
fdfd9b1d9f fix: call webhook in the background (from the task.py) 2022-11-24 16:57:59 +02:00
Vlad Stan
a641ef4836 refactor: remove duplicate code 2022-11-24 16:55:35 +02:00
callebtc
179ac940e2 mypy 2022-11-24 15:25:37 +01:00
callebtc
0d48110783 better error 2022-11-24 15:24:16 +01:00
callebtc
a469132b40 mypy 2022-11-24 15:22:13 +01:00
callebtc
930ebfd6cc clean up for merge 2022-11-24 15:17:20 +01:00
ben
3cea3a0ba8 Removed payments websocket example
To be prob added back at a later date
2022-11-24 11:18:38 +00:00
Arc
e1b44a000b
Merge pull request #1140 from motorina0/fix_cln_unhashed_description
fix: allow both `description_hash` and `unhashed_description` to be present
2022-11-24 02:57:42 -08:00
Vlad Stan
4b4f18fad5 fix: oldObj should not overwrite properties 2022-11-24 11:39:35 +02:00
Vlad Stan
a8d4835b74 fix: use lnbitswallet form data 2022-11-24 10:42:28 +02:00
ben
dce4da96b7 fixed function name clash 2022-11-24 00:46:39 +00:00
ben
c2a737ab84 Black 2022-11-24 00:34:46 +00:00
ben
f876f0659f Moved into correct files, and added payment example 2022-11-24 00:21:39 +00:00
ben
fde128e961 Better naming 2022-11-23 23:35:02 +00:00
ben
cea4f9350c black 2022-11-23 22:42:32 +00:00
ben
152991fbec added try for return 2022-11-23 22:31:11 +00:00
ben
2f08255e92 added get option 2022-11-23 22:27:09 +00:00
ben
4b707b5a30 updated function names 2022-11-23 22:22:33 +00:00
ben
51ca515d26 renamed for clarity 2022-11-23 21:51:32 +00:00
ben
5a96bcd558 Adds universal websocket manager any extension can use
Connect to the `ws://<your-lnbits>/api/v1/ws/{item_id}` endpoint

POST data to the websocket with `https://<your-lnbits>/api/v1/ws/{item_id}`
2022-11-23 21:47:26 +00:00
ben
5827eb33c5 Merge branch 'main' into gerty 2022-11-23 21:07:16 +00:00
Arc
c8e18ac4be
Merge pull request #1138 from lnbits/ad_space_update
Improved optional ad space
2022-11-23 10:47:53 -08:00
ben
71d105b5d5 Accidental delete 2022-11-23 17:06:45 +00:00
ben
390d74eaf6 prettier 2022-11-23 16:57:27 +00:00
Arc
544fd60894
Merge pull request #1144 from lnbits/add/add_select_wallet_splits
add select users wallet
2022-11-23 08:49:03 -08:00
ben
b4bee6512c Merge remote-tracking branch 'origin/main' into ad_space_update 2022-11-23 16:08:19 +00:00
Vlad Stan
69c0b753f5 fix: remove de-selected wallet 2022-11-23 17:32:34 +02:00
Vlad Stan
b9986b562a fix: oldObj values lost 2022-11-23 17:04:08 +02:00
Tiago Vasconcelos
aed52297f3 fix typo in events 2022-11-23 13:48:36 +00:00
Tiago Vasconcelos
50dc6f9c55 add select users wallet 2022-11-23 13:43:04 +00:00
Vlad Stan
3edbe1b895 fix: allow both description_hash and unhashed_description to be present 2022-11-22 11:52:29 +02:00
ben
f458fc416c black 2022-11-20 18:23:18 +00:00
ben
27ad32eede slight ui tweak for mobile 2022-11-20 18:06:29 +00:00
ben
0836ba6c77 Added to homescreen 2022-11-20 17:59:43 +00:00
ben
3048120609 img not needed 2022-11-20 17:36:00 +00:00
ben
0c94b159e2 Improved ad space function 2022-11-20 17:29:07 +00:00
dni âš¡
41aa074350
Add webhook_api_key and webhook_custom_data to lnurlp webhook (#1065)
* add webhook_api_key and webhook_custom_data to lnurlp

* formatting

* add json validation to lnurlp custom_data

* motorina0 improvements
2022-11-19 14:44:21 -06:00
dni âš¡
604e52c45d
more mypy extension fixes (#1096)
* mypy fix jukebox

* mypy fix ngrok

* mypy fix satsdice

* remove exts from mypy exclude
2022-11-19 14:42:10 -06:00
dni âš¡
0096ce8ad1
let poetry run lnbits recognize forwarded_ips for https (#1109) 2022-11-19 14:41:37 -06:00
calle
f70d30bfa6
Update migrations.py 2022-11-19 14:34:13 -06:00
calle
066015c05c
Update migrations.py
f string
2022-11-19 14:33:18 -06:00
calle
4b408c1f0a
Update migrations.py
f string
2022-11-19 14:32:17 -06:00
dni âš¡
22bb67a249
lnurl withdraw, better errorhandling for callback endpoint (#1107) 2022-11-19 14:12:33 -06:00
Thomas Verstreken
b698dac52c
Fix typo's (#1136)
Costumer to Customer, costumer to customer
2022-11-19 14:10:12 -06:00
Vlad Stan
d64e960ef6 chore: code clean-up and formatting 2022-11-18 13:58:56 +02:00
Tiago Vasconcelos
edf76ad7cc add input number 2022-11-18 13:28:53 +02:00
Tiago Vasconcelos
1b76a7d068 format 2022-11-18 13:28:53 +02:00
Tiago Vasconcelos
12b69a7f82 fix reseting rounding and better UX 2022-11-18 13:28:53 +02:00
callebtc
f4c0c92655 strings 2022-11-18 13:28:52 +02:00
Tiago Vasconcelos
9430aa28c7 add rounding tip option 2022-11-18 13:28:52 +02:00
Tiago Vasconcelos
96046b8d0c add default tip by rounding to value 2022-11-18 13:28:52 +02:00
Vlad Stan
0039a48e73 fix: total amount (amount + tip) 2022-11-18 13:14:21 +02:00
Vlad Stan
9ecf6f273b fix: total amount for invoice 2022-11-18 13:14:21 +02:00
Tiago Vasconcelos
476f915fd2 format 2022-11-18 13:14:21 +02:00
Tiago Vasconcelos
b0b1446483 fixed display amount 2022-11-18 13:14:21 +02:00
Vlad Stan
ea1d9eb088
Merge pull request #1116 from lnbits/add/add_tpos_last_tx_list
Add the ability to check for last (5) transactions
2022-11-18 13:13:55 +02:00
Tiago Vasconcelos
79fc0b9be4 wrap db call in try except 2022-11-18 10:56:14 +00:00
Tiago Vasconcelos
28e62f3333 make format 2022-11-18 10:27:23 +00:00
Tiago Vasconcelos
ebeecdecca add "No paid invoices" if... no paid invoices 2022-11-18 10:22:11 +00:00
Black Coffee
00e846b49b Reduce precision in get_percent_difference func 2022-11-18 09:48:55 +00:00
Black Coffee
9ca928c6e1 Gerty label tweaks 2022-11-18 09:46:26 +00:00
Black Coffee
189593af75 Added blockheight as standalone screen to Gerty 2022-11-17 21:55:23 +00:00
Black Coffee
7ef61b6d3c gerty tweaks 2022-11-17 17:43:52 +00:00
Black Coffee
60962713f4 gerty tweaks 2022-11-17 17:43:09 +00:00
Black Coffee
b8be50a592 gerty tweaks 2022-11-17 17:42:15 +00:00
Black Coffee
4a6f7050cd gerty tweaks 2022-11-17 17:40:15 +00:00
Black Coffee
1d7109ddf9 gerty tweaks 2022-11-17 17:39:04 +00:00
Tiago Vasconcelos
2eaf5e5668 remove commented out code 2022-11-17 15:33:20 +00:00
Black Coffee
41c22b2587 Disable mempool fees for mini gerty 2022-11-17 15:14:45 +00:00
Black Coffee
b2e2c11af8 Added mini gerty api support to front end 2022-11-17 15:11:31 +00:00
ChuckNorrison
3cbbe2a93d fix integer to bigint for extensions
Some more INTEGER to BIGINT conversion for postgresql database
2022-11-17 15:44:59 +01:00
Black Coffee
592a52e9a2 Added type to Gerty extension Vue, migration and Crud 2022-11-17 14:13:20 +00:00
Vlad Stan
906b541861 chore: code format 2022-11-17 15:48:34 +02:00
cryptoteun
8370acc1f7 added warning to backup keys 2022-11-17 15:47:59 +02:00
Vlad Stan
94ad2cc96d
Merge pull request #1133 from ChuckNorrison/patch-3
fix integer out of range for apipayments
2022-11-17 15:45:41 +02:00
Vlad Stan
bd85e5dbe3 feat: set custom file name to the exported CSV 2022-11-17 15:05:26 +02:00
Tiago Vasconcelos
9f03d25a8c fix issue with export to CSV 2022-11-17 15:05:26 +02:00
Tiago Vasconcelos
e93d1b322b make format 2022-11-17 13:02:32 +00:00
Tiago Vasconcelos
121331fa0b refactor get latest payments 2022-11-17 13:00:53 +00:00
Tiago Vasconcelos
facc7bbf5e remove core db action from extension 2022-11-17 13:00:17 +00:00
Tiago Vasconcelos
4549190e86 abstract get latest payments for extensions 2022-11-17 12:59:40 +00:00
Tiago Vasconcelos
a2092675cd added some UI sugar, removed pending tx 2022-11-17 12:58:54 +00:00
Tiago Vasconcelos
8e85651c4f make format 2022-11-17 12:58:54 +00:00
Tiago Vasconcelos
9f7b4c1370 add button and list 2022-11-17 12:58:54 +00:00
Tiago Vasconcelos
8d8a309258 api endpoint to get last payments 2022-11-17 12:58:54 +00:00
Tiago Vasconcelos
0b883d02b3 get payment from db 2022-11-17 12:58:54 +00:00
Tiago Vasconcelos
7d7a2b67ee fix raise error on delete request 2022-11-17 14:47:52 +02:00
Vlad Stan
7cd6dde39e
Merge pull request #1110 from lnbits/api-docs-button
API DOCS button in footer toolbar
2022-11-17 14:42:33 +02:00
Vlad Stan
032df0e50c feat: allow decimal fee rate 2022-11-17 14:21:12 +02:00
ChuckNorrison
1971b9a24b
fix integer out of range for apipayments
related to #1030, this was missing
2022-11-16 23:06:21 +01:00
Vlad Stan
00aa0c6cd9 chore: code format 2022-11-16 16:32:57 +02:00
callebtc
8e9b2cfc38 update mint cover 2022-11-14 08:16:46 -06:00
callebtc
76effde1ac update mint cover 2022-11-14 08:14:59 -06:00
callebtc
694b6c4bd5 update mint cover 2022-11-14 08:09:56 -06:00
callebtc
d6cf0311d8 update mint cover 2022-11-14 08:09:15 -06:00
callebtc
e44e8c855c update mint cover 2022-11-14 08:08:35 -06:00
Black Coffee
df56b84ad2 Tweaks 2022-11-14 14:07:26 +00:00
callebtc
9479d6f970 open in same window 2022-11-14 08:01:53 -06:00
Black Coffee
a0a7ae9be1 Added single page stats back to Gerty 2022-11-14 13:28:25 +00:00
callebtc
1728fe053d change pages 2022-11-13 19:15:40 -06:00
Tiago Vasconcelos
f3b720b690
Fix usermanager API keys (#1117)
* fix wrong API keys on examples

* add hability to keep wallet after user delete #344

* make format
2022-11-12 11:11:24 -06:00
ben
9f84e7e408 typo 2022-11-11 23:59:29 +00:00
ben
029e8baf53 added tasks to make tickets 2022-11-11 23:46:22 +00:00
callebtc
c3ada1124f clean cli 2022-11-09 15:37:08 +01:00
callebtc
2fc9a8304b clean 2022-11-09 15:36:07 +01:00
callebtc
2e5bf44757 one worker at a time 2022-11-08 23:38:36 +01:00
callebtc
72c98ed24b only one worker at a time 2022-11-08 23:34:26 +01:00
ben
61dd9817b6 fixed atm 2022-11-08 13:47:03 +00:00
callebtc
55f8c0b1a7 notification 2022-11-07 21:59:58 +01:00
callebtc
d955e434b0 fix invoice input 2022-11-07 18:29:54 +01:00
callebtc
9ad18ba292 string fix 2022-11-07 17:53:52 +01:00
callebtc
6b46a5b371 read qr tokens 2022-11-07 17:50:12 +01:00
callebtc
39822fc063 wider 2022-11-07 17:45:16 +01:00
callebtc
6ef47bd0c7 wider 2022-11-07 17:44:36 +01:00
callebtc
c50e45803a invoices first 2022-11-07 17:31:30 +01:00
callebtc
8cda2f3465 denser 2022-11-07 17:23:04 +01:00
Black Coffee
b1c9e9a87e Update gerty api line lengths 2022-11-07 16:18:40 +00:00
callebtc
fdb3243d54 fix html 2022-11-07 17:08:30 +01:00
callebtc
fbd8f6a8e5 clean 2022-11-07 16:54:25 +01:00
callebtc
2db8006d9e take private key from config 2022-11-07 16:26:39 +01:00
callebtc
0724893650 camera for tokens 2022-11-07 16:16:15 +01:00
Black Coffee
6cb837d2b7 Removed "priority" text from Gerty mempool display 2022-11-07 15:01:26 +00:00
Black Coffee
d856d4c920 Ran make format 2022-11-07 15:00:45 +00:00
callebtc
00e8255e0b scrolling works 2022-11-07 15:36:52 +01:00