Commit graph

179 commits

Author SHA1 Message Date
Arc
d0599458c6
Format wallet UI tweaks (#1732)
* Formatting wallet stuff

* Bundle fundle

* Added v-if
2023-05-24 13:41:03 +01:00
Tiago Vasconcelos
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
Arc
6f2771e334
Merges extensions into one page (#1656)
* Merged extensions into one page

* Bundle files updated

* Fixed install bug

* feat: client side version compatibility check

* fix: hide `Activated/Deactivated` toggle for non-admins

* feat: translate labels to `EN`

* feat: add other language translations

* chore: update bundle for i18n

* feat: check extension version server-side

* feat: show warning message

* refactor: nicer mapping

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

* chore: code format

* chore: extra log

* feat: check_latest_version of ext

* feat: show tooltip for new version

* chore: `make bundle`

* chore: `mypy`

* chore: code clean-up

* feat: show version in badge (spacing is fine)

* chore: make bundle

* feat: check `min_lnbits_version` and `warning` in `config.json`

* chore: code formatting

* chore: downgrade log level

* fix: extract `ExtensionsInstallSettings` as readonly

* fix: do not show installed and deactivated extensions

* chore: format

* fix: `Enable` button tooltip

* fix: set installed release after installation

* fix: hide deactivated extensions from regular users

* bundle fundle

* bundle fundle

---------

Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
Co-authored-by: dni  <office@dnilabs.com>
2023-05-11 01:14:07 +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 ⚡
8c3b4a87b1
add i18n to frontend, still incomplete, but a start 2023-04-13 09:32:12 +02:00
dni ⚡
a9bdf24425
FEAT: use versioning for frontend (npm) and copy it to lnbits/static/vendor for easier updating (#1590)
* remove static/vendor

* add node dependencies

* add bolt11-decoder

* run npm install inside dockerimage

* only use bundle.js and bundle.css

* use node_modules for bundling vendor assets

* remove dead code

* make argument optional

* reintroduce vendor dir

* reintroduce vendor and single javascript files, minification

* wrong moment, remove minification

* lock packages with non critical issues

* black
2023-03-31 12:46:24 +02:00
dni ⚡
43c9c9754b
FEAT: #1552 add copy payment_hash to payment details (#1591)
* add copy to payment details

* icon for calle
2023-03-30 14:30:50 +02:00
calle
84e369aad2
UI: rename extensions button (#1535)
* UI: rename extensions button

* change JS
2023-02-22 10:01:52 +01:00
Ben Arc
81e4cfb6f4 Users need to be able to see "add extensions", even if they don't have extensions 2023-02-20 18:03:20 +00:00
ben
50458901d6 Added generic icon for iconless plugiins 2023-01-25 16:55:08 +00:00
Vlad Stan
a2284da4c3 feat: use Add Extension menu item 2023-01-20 14:33:45 +02:00
Vlad Stan
66c908e600 chore: migrate after major changes on main 2023-01-18 17:38:36 +02:00
ben
a8c4bea53d Updated extension card layout 2023-01-01 18:14:20 +00:00
ben
f5250e0584 initial
Added bunch tiles, more to add
2022-12-31 01:46:55 +00:00
Vlad Stan
50a509dfc3 chore: code-format 2022-12-12 11:36:24 +02:00
Vlad Stan
9e61c80d02 feat: move Admin to left hand side menu 2022-12-12 11:31:29 +02:00
Vlad Stan
6cab77ece4
Merge branch 'main' into FinalAdminUI 2022-12-12 10:49:31 +02:00
Vlad Stan
84a24c389f feat: add Admin Console icon 2022-12-09 14:27:32 +02:00
callebtc
befdeb040e add expiry to frontend 2022-12-02 19:05:22 +01:00
dni ⚡
ee4049ec1f
fix javascript issue, Fixes: #890 (#891)
Co-authored-by: dni <dni.khr@gmail.com>
2022-08-16 17:01:20 +02:00
Vlad Stan
7bb936b09b feat: allow custom file name for exportCSV 2022-07-28 15:04:14 +03:00
blackcoffeexbt
c0c26fb98e
Extension list UI improvements (#769)
* Extensions list is now sorted alphabetically

* Added extension list search

* Prettified changes

* Removed console.log

* Code improvements based on motorina0 feedback

* Remove console.log from lnbits/templates/base.html

Run prettier
2022-07-23 10:46:30 +02:00
Lee Salminen
94e4495026 run prettier 2022-07-05 16:16:46 -06:00
Lee Salminen
aa51d85d65 Merge branch 'main' into improved-pwa 2022-07-05 15:10:57 -06:00
calle
92887ed169
Format: prettier (#707)
* format: prettier

* gh-actions: add prettier checkg

* actions
2022-07-05 21:14:56 +02:00
Lee Salminen
b298e12cd3 add offline indicator 2022-07-04 13:03:21 -06:00
Ben Arc
e9065833c0 Fixed themes, added bitcoin theme 2022-02-17 21:34:36 +00:00
benarc
4b11342f0c works 2022-02-07 20:43:47 +00:00
benarc
75e78d2ab6 FakeWallet own denomination now working 2022-02-02 17:28:00 +00:00
Tiago vasconcelos
41abbb44f7 added new error message (detail) 2021-10-19 17:01:57 +01:00
Stefan Stammberger
fe79709698
fix: several more API calls restored 2021-08-29 19:38:42 +02:00
Stefan Stammberger
5ae124408e
fix: wallet page
Javascript was incompatible because of the switch to FastAPI.
2021-08-28 13:55:31 +02:00
Tiago vasconcelos
723c9ea3ab cleanup 2021-08-06 12:37:30 -03:00
fiatjaf
2f309c9863 postgres support. 2021-07-02 17:34:31 -03:00
Tiago vasconcelos
277460edb7 final push for themes 2021-07-01 12:34:50 +01: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
Arc
a6835840a2
Merge pull request #241 from talvasconcelos/feature/readthemeenv
Read .env themeing colors
2021-07-01 00:08:34 +01:00
Ben Arc
27a0b64b03 made flamingo darker 2021-06-30 17:34:22 +01:00
Tiago vasconcelos
87d12634f7 Read .env themeing colors
- allowed/availabe themes defined by admin
2021-06-30 17:00:56 +01:00
Ben Arc
55c564fe21 Fixed jukebox to match style 2021-06-30 13:38:10 +01:00
Ben Arc
4e43d2d52e theme saved and works 2021-06-30 12:40:58 +01:00
Ben Arc
66445b228a Fixed bug 2021-06-29 10:00:10 +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
Tiago vasconcelos
d91dbbcac3 allow invoices to be generated using Fiat values 2021-06-14 11:13:49 -03:00
fiatjaf
a3fbcd46cd livestream: notifications and comments. 2021-04-11 00:44:55 -03:00
fiatjaf
b2efd71d3c allow extensions to hide themselves. 2021-03-27 22:49:53 -03:00
fiatjaf
7e4a42e7ff stop doing the check_invoices thing on each call. do it once on lnbits starup and then rely on the invoices listener. 2021-03-21 17:57:33 -03:00
fiatjaf
f27c2ebc21 marginally improve the checkpending situation. 2021-03-21 17:11:00 -03:00