Commit graph

85 commits

Author SHA1 Message Date
Pavol Rusnak
3bd68cb394
fix pyright lnbits/extensions
Co-authored-by: dni  <office@dnilabs.com>
2023-02-06 13:35:38 +01:00
Pavol Rusnak
a49a654137
fix flake8 F401+F403 (module imported but unused + unable to detect undefined names) 2023-01-30 11:46:45 +00:00
Pavol Rusnak
86e8a3a315
fix flake8 E711 (comparison-to-none) 2023-01-30 11:46:44 +00:00
Pavol Rusnak
15d7fbeace
run autoflake
```
autoflake -i --remove-unused-variables $(find . -name "*.py")
```
2023-01-30 11:46:43 +00:00
Tiago Vasconcelos
fc7a799b89 add image by URL and limit size on API 2023-01-11 16:33:01 +00:00
dni ⚡
341e8aa3e4 formatting 2023-01-04 13:36:08 +01:00
dni ⚡
cef6382e7a fix mypy offlineshop issues 2023-01-04 12:21:12 +01:00
Pavol Rusnak
3d0c66f0f6
remove unnecessary argument encoding from bytes.decode() and str.encode()
the encoding parameter defaults to utf-8, so it's not needed
2023-01-03 22:38:28 +01:00
ben
e0f55d3e8c Tile size standard should be 128px 2023-01-03 20:05:44 +00:00
ben
a8c4bea53d Updated extension card layout 2023-01-01 18:14:20 +00:00
ben
59a8ff9dce All extension icons swapped for logo tiles 2022-12-31 14:15:23 +00:00
ben
f5250e0584 initial
Added bunch tiles, more to add
2022-12-31 01:46:55 +00:00
Gene Takavic
e7cf4e6cb8 make format 2022-12-28 23:46:06 +01:00
Gene Takavic
71eebc1441 QR invoices and lnurls got prefix and uppercased 2022-12-28 23:42:36 +01:00
Black Coffee
20b06e4922 Corrected casing of LNbits (not LNBits) throughout repo 2022-11-30 14:14:31 +00:00
calle
fd696b1dc1
Merge pull request #1135 from ChuckNorrison/postgre-bigint
fix integer to bigint for extensions
2022-11-29 12:11:07 +01:00
Thomas Verstreken
b698dac52c
Fix typo's (#1136)
Costumer to Customer, costumer to customer
2022-11-19 14:10:12 -06: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
Tiago Vasconcelos
7d7a2b67ee fix raise error on delete request 2022-11-17 14:47:52 +02:00
Arc
edf954d355
Merge pull request #979 from dasrecord/patch-1
Update wordlists.py
2022-09-20 11:47:18 +01:00
dasrecord
c341a64190
Update wordlists.py
another spelling correction
2022-09-19 15:58:33 -07:00
dasrecord
dd443925c2
Update wordlists.py
spelling correction
2022-09-19 15:56:32 -07:00
calle
0f760bf39e
Lnurlp: use unhashed_description instead of description_hash (#878)
* dont assume field

* pass unhashed_description instead of description_hash for LNURL stuff

* more
2022-08-14 21:59:36 +02:00
calle
f1ec7e33f0
Mega-merge 2: Invoice/refactor description hash (WIP) (#814)
* description hashing in backend
2022-08-01 16:20:25 +02:00
Tiago vasconcelos
4ca701a442 Merge remote-tracking branch 'lnbits/fix/offlineshop_fiat_decimals' into fix/offlineshop_fiat_decimals 2022-07-28 11:09:06 +01:00
Tiago vasconcelos
a601e178ea add missing param in add item 2022-07-28 11:08:15 +01:00
ben
fa0649646c Merge remote-tracking branch 'origin/main' into fix/offlineshop_fiat_decimals 2022-07-28 10:31:28 +01:00
Tiago vasconcelos
254fa67859 allow for decimals in fiat unit 2022-07-27 22:49:23 +01:00
ben
3a28ff1020 added swagger to extensions 2022-07-27 19:21:04 +01:00
Tiago Vasconcelos
41dc1b0512
Fix/hotfix tpos 2 (#783)
* fix older tpos without tips

* bad math requesting invoice

* make format
2022-07-27 16:45:17 +02:00
ben
244d6f23bf Merge branch 'main' into matthewcroughan/nixify 2022-07-23 20:09:24 +01:00
ben
0e8da3c368 Fixed path for extension templates 2022-07-23 20:08:59 +01:00
calle
f4e7d62ca3
make format everything (#743) 2022-07-16 14:23:03 +02:00
matthewcroughan
36e92765d3 treewide: use StaticFiles() rather than rel path
This commit is not exhaustive, and it is a trend in this codebase to not
use StaticFiles() and instead use relative paths. This means the code
cannot run anywhere other than the source code directory, as it will not
find the files it is looking for
2022-07-08 11:06:26 +01:00
calle
92887ed169
Format: prettier (#707)
* format: prettier

* gh-actions: add prettier checkg

* actions
2022-07-05 21:14:56 +02:00
blackcoffeexbt
f44bd55b4b
Corrected example CURL requests in multiple extension API docs (#689)
* Updated api docs example CURL calls for satspay server

* Updated api docs example CURL calls for copilot extension

* Updated api docs example CURL calls for jukebox extension

* Updated api docs example CURL calls for livestream extension

* Updated api docs example CURL calls for lnaddress extension

* Updated api docs example CURL calls for lnurldevices extension

* Updated api docs example CURL calls for lnurlp extension

* Updated api docs example CURL calls for offlineshop extension

* Updated api docs example CURL calls for paywall extension

* Updated api docs example CURL calls for satsdice extension

* Updated api docs example CURL calls for splitpayments extension

* Fix typo double slash in satsdice extension api docs

* Updated api docs example CURL calls for tpos extension

* Updated api docs example CURL calls for watchonly extension
2022-07-05 17:20:42 +02:00
callebtc
f8400512f7 black formating 2022-06-01 14:53:05 +02:00
Ben Arc
dbab181759 Admin users can credit accounts 2022-01-31 16:29:42 +00:00
benarc
56397026c8 Chore, applied black 2021-11-26 05:58:20 +00:00
Tiago vasconcelos
cfac70d394 general cleanup and unused imports removal 2021-11-25 18:52:16 +00:00
Tiago vasconcelos
2c4c7369f3 fix currencies list 2021-11-09 10:41:59 +00:00
benarc
980a878537 added manual payment check for offline shop 2021-11-03 12:33:29 +00:00
Tiago vasconcelos
0125c07c6b Revert "proposal to allow decimal valued items in fiat"
This reverts commit e58a6923fc.
2021-10-25 18:42:36 +01:00
Tiago vasconcelos
e58a6923fc proposal to allow decimal valued items in fiat 2021-10-25 18:25:57 +01:00
benarc
e03370188a Fixed payment checking 2021-10-22 00:41:30 +01:00
Tiago vasconcelos
a840970366 fix require admin key endpoints 2021-10-20 12:03:11 +01:00
benarc
1d3bb016a2 I want them to turn black 2021-10-17 18:33:29 +01:00
Stefan Stammberger
a5c0a2bb50
fix: offlineshop ext lnurl handling 2021-09-19 13:34:31 +02:00
Stefan Stammberger
e3c7ca0726
feat: update offlineshop extension 2021-09-16 19:42:05 +02:00
Stefan Stammberger
3e5af8c1d1
refactor: purge Quart from the codebase
Most functionality is still broken
2021-08-27 20:54:42 +02:00