Commit Graph

5731 Commits

Author SHA1 Message Date
Vlad Stan
67d8b67ee5
Create super user account if it does not exist (#1688)
* fix: temp create account for `super_user_id` if missing

* chore: remove dumb import

* refactor: move logic outside `crud`

* feat: add uuid4 conversion

* fix: require valid string in .env file

* fix: update the `settings.super_user` value in case or normalisation for UUID4

* fix: allow long super_user

* chore: code format

* fix: add UI redirect with the normalized user

* fix: normalize `super_user` up one level

* fix: should normalize user in non-ui mode also
2023-05-09 09:22:19 +01:00
Vlad Stan
132d8a9320
fix: rename bool super_user to is_super_user (#1690) 2023-05-09 09:20:51 +01:00
jackstar12
c0f66989cb
Serverside Pagination for payments (#1613)
* initial backend support

* implement payments pagination on frontend

* implement search for payments api

* fix pyright issues

* sqlite support for searching

* backwards compatability

* formatting, small fixes

* small optimization

* fix sorting issue, add error handling

* GET payments test

* filter by dates, use List instead of list

* fix sqlite

* update bundle

* test old payments endpoint aswell

* refactor for easier review

* optimise test

* revert unnecessary change

---------

Co-authored-by: dni  <office@dnilabs.com>
2023-05-09 09:18:53 +01:00
dni ⚡
45b199a8ef
create datadir on launch (#1674)
* create datadir on launch
* change makedirs to Path.mkdir
2023-05-09 10:04:27 +02:00
dni ⚡
159aa24a4e
update 0.10.6 (#1689) 2023-05-09 09:48:05 +02:00
Guillaume H
62812938bd
French language added (#1686)
* French language added
---------
Co-authored-by: Dood597 <66718486+Dood597@users.noreply.github.com>
2023-05-09 09:47:06 +02:00
dni ⚡
3c92ef2900
FIX: #1661 (#1663)
fixup
2023-05-04 17:22:24 +02:00
dni ⚡
7feac3bb5e
add lnbits version to frontend (#1677) 2023-05-04 17:21:37 +02:00
Tiago Vasconcelos
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
callebtc
b4fce8b00b
fix internal invoice check (#1681)
* fix internal invoice check

* return error

* make format
2023-05-04 17:20:37 +02:00
Arc
bd47527d34
Merge pull request #1672 from lnbits/paymentsocketjson
Output json to payment websocket
2023-05-02 18:42:51 +01:00
ben
171aa08e0c output json 2023-05-02 18:40:46 +01:00
Arc
bc2c5fd1a9
Merge pull request #1648 from lnbits/typeignore-generic
removing type ignores from views/generic.py
2023-05-02 14:50:00 +01:00
Arc
67c377affc
Merge pull request #1670 from lnbits/fixsparkimage
Fixes spark image on homepage
2023-05-02 14:25:59 +01:00
ben
09d67249cc format 2023-05-02 14:11:01 +01:00
ben
068965d81b Missing div 2023-05-02 14:07:25 +01:00
ben
aec15ae820 format 2023-05-02 13:43:54 +01:00
ben
c714a2641d Adds websocket for payments 2023-05-02 12:53:36 +01:00
ben
b9d3fc5744 Fix spark image 2023-05-02 12:27:51 +01:00
dni ⚡
21157fffe2
removing type ignores from views/generic.py
suggestion motorina1

Update lnbits/core/views/generic.py

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>

quickfix
2023-04-27 16:28:16 +02:00
dni ⚡
f8058825d8
FEAT: introduce bundle_assets variable and decouple it from DEBUG (#1660) 2023-04-27 16:05:49 +02:00
dni ⚡
bfb27020ee
regression: fatfinger removed block styles (#1659)
quickfix

format
2023-04-27 15:38:52 +02:00
dni ⚡
667de4d1f0
generate .super_user file on startup if adminui is enabled (#1651)
* generate .super_user file on startup if adminui is enabled
* only save super_user id instead of url
2023-04-25 10:25:50 +02:00
dni ⚡
5c119e903d
increment cache version for service-worker.js (#1644)
* increment cache version
* add serviceworker incrementer on make bundle
2023-04-25 10:25:09 +02:00
dni ⚡
3f3af53240
prepare lnbits version 0.10.5 (#1649) 2023-04-25 10:24:24 +02:00
dni ⚡
1b84ebf13d
FEAT: build static files with npm (sass, concat, minify), remove build step from python, include minified bundle files (#1601) 2023-04-21 14:51:46 +02:00
dni ⚡
bef2d4a72e
remove boltz_client as dependecy (#1610) 2023-04-21 14:42:52 +02:00
dni ⚡
04471b8b5b
remove python38 from pyproject.toml (#1632) 2023-04-21 14:37:26 +02:00
Arc
be1d515307
Merge pull request #1642 from lnbits/new-version
change version to 0.10.4
2023-04-21 13:15:28 +01:00
dni ⚡
87d1de2a31
change version to 0.10.4.1 2023-04-21 13:18:03 +02:00
dni ⚡
0546fb0a77
change version to 0.10.4 2023-04-21 13:08:01 +02:00
Arc
efafd00b43
Merge pull request #1621 from lnbits/fix_adminui_lnd
fix inputs on Lnd funding sources
2023-04-20 09:51:19 +01:00
Arc
07946d873f
Merge pull request #1630 from lnbits/update/flake8
FEAT: improve on flake8 linting
2023-04-20 09:49:11 +01:00
Arc
91b28ebf83
Merge pull request #1612 from lnbits/fix_admin_ext_access
Fix admin ext access
2023-04-20 09:46:18 +01:00
Arc
dfb6378976
Merge pull request #1627 from lnbits/fix/formatting
formatting did only run on branch main?
2023-04-20 09:41:17 +01:00
Arc
64fde0093c
Merge pull request #1636 from lnbits/improve-errors-lndrest
BUG: SSL certificate for lndrest is required even though it could be a publicly issued one
2023-04-20 09:39:52 +01:00
Arc
c8f9473e01
Merge pull request #1634 from lnbits/allow_bip21_scan
Allow for scanning BIP21 QR codes
2023-04-20 09:36:52 +01:00
Arc
fea6183aef
Merge pull request #1608 from lnbits/feat/i18n
FEAT: add localisation to lnbits frontend
2023-04-20 09:25:35 +01:00
dni ⚡
adae3b4302
optional ssl certifiace for lndrest 2023-04-19 10:51:00 +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
dni ⚡
fe315d0a9b
FEAT: remove python 3.7 and update dependencies (#1629)
* FEAT: remove python 3.7 and update dependencies

* readd pylint
2023-04-17 09:44:08 +02:00
dni ⚡
156a19f05c
improve errorhandling for lndrest #252 (#1631) 2023-04-17 09:26:37 +02:00
dni ⚡
06fa6c10c1
reintroduce E203, black does not like that one 2023-04-17 08:38:12 +02:00
dni ⚡
0b596c00ca
reduce max string length 2023-04-17 08:29:01 +02:00
dni ⚡
0af22a6256
E471 2023-04-17 08:21:45 +02:00
dni ⚡
1ac9d2572d
E203, E221 2023-04-17 08:16:59 +02:00
dni ⚡
4a72a5b6b3
E241, E501 2023-04-17 08:14:04 +02:00
dni ⚡
b465ecf22a
E265 2023-04-17 08:11:07 +02:00
dni ⚡
42b7cd3046
fix E266 2023-04-17 08:09:34 +02:00