Commit Graph
100 Commits
Author SHA1 Message Date
daee2b3418 Check for theme params on the URL (#2678)
---------

Co-authored-by: dni  <office@dnilabs.com>
2024-09-24 11:44:07 +02:00
Tiago VasconcelosandGitHub 8aa1716e32 Add detailed CSV export option (#2618) 2024-09-04 13:04:55 +03:00
fbd22c1a22 fix: QR request case (#2668)
* fix the hotfix to fix a fuckup
* fixup!

---------

Co-authored-by: dni  <office@dnilabs.com>
2024-09-03 16:05:55 +02:00
Tiago VasconcelosandGitHub 937936ff33 fix fuck up on refactor (#2665)
Bug introduced in #2656
2024-09-03 12:03:09 +02:00
Tiago VasconcelosandGitHub 28df100d9a Fix lnurl fallback (#2656)
* Fix lnurl fallback

Wrong string case search

Closes #1599

* optimize the code

* one more clean up
2024-08-30 12:48:24 +01:00
Tiago VasconcelosandGitHub 209cf7fbe0 fix chips on server page (#2654)
Fix chips not having the remove functionality

Closes #2471
2024-08-30 12:19:22 +01:00
Tiago VasconcelosandGitHub 405a2f0776 fix decode info (#2655)
Closes #1837
2024-08-30 12:15:29 +01:00
Tiago VasconcelosandGitHub cbe858b385 show wallet names in dropdown (#2653)
Extensions will need it also

Fix #2517
2024-08-29 21:43:00 +01:00
Tiago VasconcelosandGitHub 296b1dfa9a add copy buttons (#2643) 2024-08-19 15:23:03 +02:00
Tiago VasconcelosandGitHub 38ef1b0061 feat: add a copy wallet button (#2613)
* feat: add a copy wallet button
* fix: make button consistent
* feat: hide API keys
Closes #2462
* fix: consistency in icons
* fix: missing end tag
2024-07-31 08:51:17 +02:00
0076a85fdb fix: typo in phoenixd wallet (#2473)
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2024-05-03 18:49:09 +02:00
Tiago VasconcelosandPavol Rusnak 1dd096213e v-text missing 2024-03-27 17:41:08 +01:00
97f8a4ab38 fix: urls for includes on print.html (#2185)
* fix the url for js libs
* fix the url for css

---------

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2023-12-18 09:30:38 +01:00
Tiago VasconcelosandGitHub 24b02cc656 fix not showing account for existing users (#2173) 2023-12-12 17:25:35 +00:00
Tiago VasconcelosandGitHub a83fb13335 add fiat balance to wallet (#2157)
also fixed payments table fiat denomination for consistency
2023-12-06 17:54:58 +01:00
Tiago VasconcelosandPavol Rusnak 08571368c0 restore ad space title 2023-12-02 23:15:42 +01:00
e46b12d267 fix issue with displaying languages (#2130)
* fix issue with displaying languages

* readd tooltip

* remove all raw stuff

* fix api docs tooltip

* fix remaining {% raw %} + $t() usage

---------

Co-authored-by: dni  <office@dnilabs.com>
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2023-11-30 12:55:46 +00:00
Tiago VasconcelosandGitHub 90c54f2c30 pass custom extra on payment out (#2089) 2023-11-21 12:20:08 +01:00
11d57e9d52 hotfix toolbar title (#2096)
fix button wrapping on toolbar

Co-authored-by: Arc <33088785+arcbtc@users.noreply.github.com>
2023-11-13 14:42:01 +00:00
Tiago VasconcelosandPavol Rusnak 371dacf8b2 make QR img bigger, adjust css 2023-10-11 15:45:42 +02:00
Tiago VasconcelosandPavol Rusnak ebaad7fe49 q-btn inside block 2023-10-11 15:45:42 +02:00
c2a11fa0bb Add a customizable logo to QR (#1955)
* add QR_LOGO variable
* add logo to images folder
* css for overlaying logo on qr
* qr url on settings
* add qr url to global env
* add QR url input on theme tab in adminUI
* new component added
* use svg
* remove white border around logo in the QR

---------

Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
Co-authored-by: dni  <office@dnilabs.com>
2023-10-09 21:11:11 +02:00
52608c4ffc Add Markdown capability globally (#1965)
* add markdown capability globally

* add markdown to site description

* add showdown to package.json

remove it from vendor.json, its bundled

* formatting

* io

* Update lnbits/core/templates/core/index.html

---------

Co-authored-by: dni  <office@dnilabs.com>
2023-09-27 11:32:03 +01:00
d79a55b4c6 Don't create user if allowed users is set (#1822)
* dont allow creating of users when allowed users are set
* add info to .env.example

---------

Co-authored-by: dni  <office@dnilabs.com>
2023-09-26 08:08:36 +02:00
Tiago VasconcelosandGitHub 1ee2d53069 do not show deleted wallets (#1942)
* do not show deleted wallets

* rename parameter for clarity
2023-09-18 19:21:20 +01:00
f526a93b6c make wallets name prettier! (#1918)
* make wallets name prettier!

* Update lnbits/core/templates/admin/index.html

Co-authored-by: dni  <office@dnilabs.com>

* Update lnbits/core/templates/admin/index.html

Co-authored-by: dni  <office@dnilabs.com>

---------

Co-authored-by: Arc <33088785+arcbtc@users.noreply.github.com>
Co-authored-by: dni  <office@dnilabs.com>
2023-09-12 13:51:56 +02:00
576e20d0cd Add deleted flag wallet (#1826)
* add deleted flag on wallets

set deleted on delete wallet

2 twelves

format

fail on create invoice

make deleted check on SQL query

nazi flake8

add_test

boom... it works and passes!!

* add app fixture

vlad's recommendations

add deleted

* Add deleted flag to Wallet

* restore crud

* do not check for wallet in services.py

* add deleted flag on wallets

set deleted on delete wallet

2 twelves

format

fail on create invoice

make deleted check on SQL query

nazi flake8

add_test

boom... it works and passes!!

* add app fixture

vlad's recommendations

* add deleted

* error checks

---------

Co-authored-by: callebtc <93376500+callebtc@users.noreply.github.com>
2023-09-11 14:06:31 +01:00
4b25714b31 Fix drawer (#1836)
* make sidebar above tabs on mobile
* Can we add padding instead
* fix: add padding for small screen
* make bundle... again

---------

Co-authored-by: Ben <ben@arc.wales>
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
2023-07-26 10:35:52 +02:00
Tiago VasconcelosandGitHub befb288900 Fix admin notifications (#1803)
* fix save badge being on all the time

* make deep copy and add restart to notification popup
2023-07-21 09:50:18 +02:00
Tiago VasconcelosandGitHub 758a4ecaf6 Fix user label across lnbits (#1771)
* check for super user on get_user
* remove unecessary assingments
2023-06-20 08:41:57 +02:00
Tiago VasconcelosandGitHub 6eab3dae01 add loop for language selection (#1725)
add languages

add portuguese

fix bug with singlequotes, and a vendor.json

fixup formatting

include bundle

rename files
2023-05-24 11:43:31 +01:00
Tiago VasconcelosandGitHub eab19280d5 fix "boolean" query for sqlite (#1727)
use false
2023-05-24 12:14:21 +02:00
Tiago VasconcelosandGitHub 587b763f03 Add user role (#1712)
* Add user role

* make format
2023-05-19 09:32:02 +02:00
Tiago VasconcelosandGitHub 590b52cb31 Update print.html (#1678)
* Update print.html

Fix print.html not getting the JS libraries

* Update print.html

Add `INCLUDED_CSS` also
2023-05-04 17:21:18 +02:00
Tiago Vasconcelos ce82439fd8 format 2023-04-18 17:02:49 +01:00
Tiago Vasconcelos 0a210f766d allow to scan BIP21 QR codes 2023-04-18 15:39:53 +01:00
Tiago Vasconcelos de38f38723 fix inputs on Lnd funding sources 2023-04-13 11:43:19 +01:00
Tiago Vasconcelos fc7a799b89 add image by URL and limit size on API 2023-01-11 16:33:01 +00:00
Tiago Vasconcelos d6a1aa5009 fix error when no categories are defined 2023-01-10 14:20:46 +00:00
Tiago Vasconcelos ab73698a45 add product image with url 2023-01-09 19:11:16 +00:00
Tiago Vasconcelos 44fa30fdc3 check uploaded image size in API 2023-01-09 12:31:12 +00:00
Tiago Vasconcelos 4d5c7133bc create smaller base64 image in UI 2023-01-09 12:30:21 +00:00
Tiago Vasconcelos 3cdb1ab180 mergeable 2023-01-06 16:00:26 +00:00
Tiago Vasconcelos 319e28ef3f removed as it breaks tags. there's no % in tags 2023-01-06 15:16:41 +00:00
Tiago Vasconcelos 6a262428cd fix indentation 2023-01-06 12:53:26 +00:00
Tiago Vasconcelos 89266f9aa2 Merge remote-tracking branch 'origin/fix/paymentChain_splitPayment' into fix/paymentChain_splitPayment 2023-01-06 12:47:06 +00:00
Tiago Vasconcelos 1032ad3417 add amount to livestream 2023-01-06 12:45:55 +00:00
Tiago Vasconcelos c8cdf2f1d2 tags don't have percent 2023-01-06 12:45:43 +00:00
Tiago Vasconcelos 70899994fe clean visual aid comments 2023-01-06 11:31:19 +00:00
8bb801ac99 Update lnbits/extensions/livestream/tasks.py
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2023-01-06 11:29:38 +00:00
aaecb2b381 Update lnbits/extensions/splitpayments/tasks.py
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2023-01-06 11:29:18 +00:00
Tiago Vasconcelos bc0d86c771 correct amount on invoice 2023-01-06 10:27:03 +00:00
Tiago Vasconcelos 41faf42afe calle's suggestion 2023-01-06 09:46:43 +00:00
Tiago Vasconcelos 9e96025dc7 mypy 2023-01-05 14:37:31 +00:00
Tiago Vasconcelos 954bbc6de4 Merge branch 'main' into fix/paymentChain_splitPayment 2023-01-05 12:25:28 +00:00
Tiago Vasconcelos 7a7bd93639 refactor splitpayments with tags 2023-01-05 12:20:31 +00:00
Tiago Vasconcelos 4ae88ad3b9 before merging main 2023-01-05 11:05:03 +00:00
Tiago Vasconcelos 58b6b9505d add splitpayments tag to extra if no tag 2023-01-04 16:53:12 +00:00
Tiago Vasconcelos ea91c37489 fix typo in tasks and add/fix extra props 2023-01-04 16:53:12 +00:00
Tiago Vasconcelos c22329e86b fix invoices extra props 2023-01-04 16:51:41 +00:00
Tiago Vasconcelos c0f742bc3e fix splitpayments flow and add amount in extra dict 2023-01-04 16:51:02 +00:00
Tiago Vasconcelos 7328d222a0 prusnak's suggestion 2023-01-04 11:28:43 +00:00
Tiago Vasconcelos 491495aa8a Merge remote-tracking branch 'origin/diagon-alley' into diagon-alley 2023-01-04 11:16:55 +00:00
Tiago Vasconcelos 9291b54ef7 mypyfication and format 2023-01-04 11:16:20 +00:00
Tiago Vasconcelos 87933d1f8b Merge branch 'main' into diagon-alley 2023-01-03 12:25:11 +00:00
Tiago Vasconcelos b6f87e5a1e some sat sugar in market products 2022-12-30 17:07:06 +00:00
Tiago Vasconcelos 7c1a639796 make markets great again 2022-12-30 16:51:09 +00:00
Tiago Vasconcelos 715709ce25 fix typo 2022-12-30 12:03:34 +00:00
Tiago Vasconcelos 77051d2609 toggle shipped 2022-12-30 12:00:16 +00:00
Tiago Vasconcelos 301cfb25d9 market is not fully ready! added stall name 2022-12-30 10:59:24 +00:00
Tiago Vasconcelos 0b9672076d add remove product and reset cart buttons 2022-12-30 10:30:29 +00:00
Tiago Vasconcelos 0fdc13666f fix NaN in cart total 2022-12-30 10:00:11 +00:00
Tiago Vasconcelos 6634c568b2 fix returning link on create 2022-12-29 12:05:02 +00:00
Tiago Vasconcelos 690ef74313 fix products price in fiat 2022-12-29 12:02:03 +00:00
Tiago Vasconcelos 02810fb358 add UUID as id 2022-12-29 11:21:29 +00:00
Tiago Vasconcelos 11b015e516 add currency to stalls show products in fiat 2022-12-27 11:12:29 +00:00
Tiago Vasconcelos b1473fc1a4 add currency option 2022-12-22 18:26:34 +00:00
Tiago Vasconcelos c412371ee6 cleanup 2022-12-22 12:33:15 +00:00
Tiago Vasconcelos 738f392270 Merge branch 'main' into diagon-alley 2022-12-22 12:25:30 +00:00
Tiago Vasconcelos ef73f3ca75 fix some bugs and format 2022-12-22 12:23:22 +00:00
Tiago Vasconcelos cdb5e8176d more cleanup 2022-12-22 12:13:25 +00:00
Tiago Vasconcelos 293edd0d6b bring key backup and add bookmark dialog 2022-12-22 12:07:38 +00:00
Tiago Vasconcelos 4ad7d915e5 checkwebsocket function 2022-12-22 11:03:23 +00:00
Tiago Vasconcelos 270712e07d DROP CaSCADE for deleting shops 2022-12-22 10:45:56 +00:00
Tiago Vasconcelos 1191957495 clean up prints 2022-12-22 10:45:34 +00:00
Tiago Vasconcelos 2a078651b9 add product button to table 2022-12-22 10:45:18 +00:00
Tiago Vasconcelos 952677ae13 refactor keys 2022-12-22 10:44:56 +00:00
Tiago Vasconcelos b179b48edc message notification 2022-12-22 10:44:10 +00:00
Tiago Vasconcelos 10a1a28d04 make chat work again + some weird formatting... again 2022-12-21 18:35:53 +00:00
Tiago Vasconcelos b59fa77dbd some formatting 2022-12-21 17:47:15 +00:00
Tiago Vasconcelos c9c7ad90ab remove view details from product card 2022-12-21 17:47:00 +00:00
Tiago Vasconcelos 272e5b6fd0 use nostr-tools but nip04 encrypt doesn't work 2022-12-21 17:46:27 +00:00
Tiago Vasconcelos 8e337c890e endpoint to add buyer public key to db 2022-12-21 17:45:44 +00:00
Tiago Vasconcelos 8037557db6 remove private key everywhere 2022-12-21 17:44:37 +00:00
Tiago Vasconcelos f1f68658d2 make partials for readability 2022-12-20 16:44:33 +00:00
Tiago Vasconcelos dd09eac2a5 generate keys on frontend 2022-12-20 16:44:00 +00:00
Tiago Vasconcelos 70a051a413 make format && generate keys with schnorr 2022-12-20 16:11:56 +00:00
Tiago Vasconcelos 9b69851155 Merge remote-tracking branch 'origin/diagon-alley' into diagon-alley 2022-12-20 09:53:54 +00:00
Tiago Vasconcelos 7a1ec09104 add toast on add to cart 2022-12-20 09:53:37 +00:00
Tiago Vasconcelos 8fdebc2a98 Merge branch 'main' into diagon-alley 2022-12-19 15:56:17 +00:00