Commit Graph
100 Commits
Author SHA1 Message Date
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
Tiago Vasconcelos 8381e32148 add diagonally mode toggle 2022-12-19 15:29:02 +00:00
Tiago Vasconcelos 105d6b7964 rename extension to Shop 2022-12-19 15:21:35 +00:00
Tiago Vasconcelos 6a44ac3425 fix button type 2022-12-15 14:56:30 +00:00
Tiago Vasconcelos 210c736181 remove icon add button for better UX 2022-12-15 14:41:24 +00:00
Tiago Vasconcelos 7b274433d0 disable topup for non super user admin 2022-12-14 16:09:27 +00:00
Tiago Vasconcelos 61c3476ba7 fix display columns for hide api and or ad space 2022-12-08 11:46:44 +00:00
Tiago Vasconcelos 0706ceed12 restrict non super user admins actions 2022-12-08 10:35:13 +00:00
Tiago Vasconcelos 04017c9730 remove super user id 2022-12-08 10:34:42 +00:00
Tiago Vasconcelos 5797f0a77d clean up logs 2022-12-08 10:34:27 +00:00
Tiago Vasconcelos 301cc6229e remove lnbits_admin_extensions from readonly variables 2022-12-08 10:15:34 +00:00
Tiago Vasconcelos 02e82a8fdf fix add user and admins-WIP remove super user id from API 2022-12-06 16:08:21 +00:00
Tiago Vasconcelos c3e6ed9089 fix for default ad image URL 2022-12-02 14:59:02 +00:00
Tiago Vasconcelos fe5e1241bf fix some of Vlad's review comments 2022-12-02 14:52:31 +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