Commit graph

42 commits

Author SHA1 Message Date
dni ⚡
2940cf97c5
feat: parse nested pydantic models fetchone and fetchall + add shortcuts for insert_query and update_query into Database (#2714)
* feat: add shortcuts for insert_query and update_query into `Database`
example: await db.insert("table_name", base_model)
* remove where from argument
* chore: code clean-up
* extension manager
* lnbits-qrcode  components
* parse date from dict
* refactor: make `settings` a fixture
* chore: remove verbose key names
* fix: time column
* fix: cast balance to `int`
* extension toggle vue3
* vue3 @input migration
* fix: payment extra and payment hash
* fix dynamic fields and ext db migration
* remove shadow on cards in dark theme
* screwed up and made more css pushes to this branch
* attempt to make chip component in settings dynamic fields
* dynamic chips
* qrscanner
* clean init admin settings
* make get_user better
* add dbversion model
* remove update_payment_status/extra/details
* traces for value and assertion errors
* refactor services
* add PaymentFiatAmount
* return Payment on api endpoints
* rename to get_user_from_account
* refactor: just refactor (#2740)
* rc5
* Fix db cache (#2741)
* [refactor] split services.py (#2742)
* refactor: spit `core.py` (#2743)
* refactor: make QR more customizable
* fix: print.html
* fix: qrcode options
* fix: white shadow on dark theme
* fix: datetime wasnt parsed in dict_to_model
* add timezone for conversion
* only parse timestamp for sqlite, postgres does it
* log internal payment success
* fix: export wallet to phone QR
* Adding a customisable border theme, like gradient (#2746)
* fixed mobile scan btn
* fix test websocket
* fix get_payments tests
* dict_to_model skip none values
* preimage none instead of defaulting to 0000...
* fixup test real invoice tests
* fixed pheonixd for wss
* fix nodemanager test settings
* fix lnbits funding
* only insert extension when they dont exist

---------

Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
Co-authored-by: Tiago Vasconcelos <talvasconcelos@gmail.com>
Co-authored-by: Arc <ben@arc.wales>
Co-authored-by: Arc <33088785+arcbtc@users.noreply.github.com>
2024-10-29 09:58:22 +01:00
Arc
7f628948c9
bug: carousel and adv desc fix (#2562)
* Carousel image fix
* pushed carousel nav to top as well so yt controls are accessible
* Added some extra breathing room for the adv description
2024-06-26 13:21:34 +02:00
blackcoffeexbt
fe12eccc42
Updated new wallet warning modal text to clarify importance of backing up login creds (#2273)
* Updated new wallet warning modal text to clarify importance of backing up creds


Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
2024-02-20 14:36:39 +02:00
dni ⚡
4d1c4f6348
[FEAT] add cache busting via static_url_for and settings.cache_version (#1964)
closes #1954
this PR add cache busting to `/static`
additionally i combined `lnbits/core/static` with `lnbits/static`, it was not necessary and added a lot of duplicate code for cache busting. now you have to include all static files inside the html files with `{{ static_url_for("static", "app.css" ) }}`

Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2023-10-27 13:50:49 +02:00
Tiago Vasconcelos
371dacf8b2 make QR img bigger, adjust css 2023-10-11 15:45:42 +02:00
Tiago Vasconcelos
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
arbadacarba
83a04d8f74
CI adjustment - Pinkify Legend (#1766)
Add files via upload
Update base.scss
* making the bundle for pinkify
fix flamingo

---------

Co-authored-by: dni  <office@dnilabs.com>
2023-07-05 14:39:39 +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
Ben Arc
910727a7f4 Sadly had to tone down
due to font color of buttons
2023-02-20 23:17:40 +00:00
Ben Arc
9f049c1952 Added cyber theme
Because we all liked the theme from this pr https://github.com/lnbits/lnbits/pulls?page=2&q=is%3Apr+is%3Aopen
2023-02-20 22:41:11 +00:00
dni ⚡
ca75b328a1
remove invoices (#1515)
* remove invoices

* remove invoices tests

* remove unused tests/extensions dir

* fix issue

* formatting

* test passing locally. and i dont know why

* fix _extension_dir loading

* gitkeep extension dir

* formatting

* remove bundle from check

* do not prettier compliled css

* do not prettier compliled css

* create extension dir, if it does not exists, just to be sure

* Update lnbits/extension_manager.py

---------

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2023-02-20 15:34:18 +01:00
ben
7bfc455960 mobile tweak 2023-01-03 19:35:24 +00:00
ben
4fe408f067 Fixed css 2022-11-29 22:13:40 +00:00
Black Coffee
f074d81827 Remove theme settings on satspay invoice page and default to blue theme to allow users to skin satspay invoice page more easily 2022-11-28 15:18:01 +02:00
blackcoffeexbt
e5b4c54348
Added line wrapping for text in code examples to make it readable on normal sized screens (#688) 2022-07-05 17:20:59 +02:00
benarc
165d663491 Added freedom forum theme 2022-04-20 00:36:11 +01:00
Ben Arc
10492ec3d0 Changed bitcoin theme back 2022-02-17 23:40:29 +00:00
Ben Arc
302d79a30f Improved bitcoin theme 2022-02-17 23:33:55 +00:00
Ben Arc
573c4cf5ea Changed theme order to default to classic 2022-02-17 21:46:51 +00:00
Ben Arc
e9065833c0 Fixed themes, added bitcoin theme 2022-02-17 21:34:36 +00:00
Tiago vasconcelos
2cd6877645 Merge branch 'master' into feature/readthemeenv 2021-07-01 12:05:40 +01:00
Tiago vasconcelos
4493e93890 small fix for theme picking/seting 2021-07-01 11:54:45 +01:00
Ben Arc
c778149d4f Tweaked few more color themes 2021-06-30 23:14:39 +01:00
Ben Arc
bf26bf963f added theme color 2021-06-30 22:48:47 +01:00
Ben Arc
27a0b64b03 made flamingo darker 2021-06-30 17:34:22 +01:00
Ben Arc
e8e4116cdf Improved pink 2021-06-30 13:42:47 +01:00
Ben Arc
55c564fe21 Fixed jukebox to match style 2021-06-30 13:38:10 +01:00
Ben Arc
eac125a28e Works, although .env not currently supported 2021-06-30 13:08:11 +01:00
Ben Arc
4e43d2d52e theme saved and works 2021-06-30 12:40:58 +01:00
Ben Arc
78605982fc Working, but need to store selection in localstorage 2021-06-29 09:39:12 +01:00
Ben Arc
b0c0b9f851 Changed primary/secondary colours to branded 2021-06-29 02:10:30 +01:00
Ben Arc
c39dfbaee2 Kinda working test 2021-06-29 01:19:35 +01:00
Ben Arc
8f441f32b5 added envs, testing color switch 2021-06-28 22:57:23 +01:00
fiatjaf
bdbb58b2b0 wrap memo columns in payments table. 2020-10-15 00:59:00 -03:00
fiatjaf
16541d40c6 show more data in txinfo modal and fee on main table.
- also center-align icons in main table.
- and use "x time ago" instead of raw dates by default in main table
  (raw date is accessible on a tooltip, on the modal and on the CSV export).
2020-10-05 22:38:06 -03:00
fiatjaf
e0b8470d40 show unpaid invoices, balance calculated on server-side so isn't affected. 2020-09-29 15:43:11 -03:00
Eneko Illarramendi
8dfdd15adb fix: self host icon fonts 2020-04-29 13:24:49 +02:00
Eneko Illarramendi
efbba20872 style: minor tweaks 2020-04-21 23:13:37 +02:00
Eneko Illarramendi
dd23b20090 chore: various tweaks 2020-04-16 20:58:16 +02:00
Eneko Illarramendi
fb7dfb3a32 chore: minor fixes 2020-04-05 12:19:25 +02:00
Eneko Illarramendi
75d97ddfc1 refactor: camera ready 2020-03-10 23:12:22 +01:00
Eneko Illarramendi
f98a5040ac refactor: decorators, models and more broken bits 2020-03-04 23:11:15 +01:00