lnbits-legend/lnbits
Arc e1bb2113ed
feat: install wizard on first launch (#1977)
* Login form loading

* add first install middleware and settings

* updates

* Login form loading

* add first install middleware and settings

* updates

* only set first install when superuser is created

* refactor first install

* only show if first install

* cleanup

* set password

* update calls

* login superuser on first install

* fix

* fixup!

* fixup!

* fixup!

* fixup!

* fixup!

* last fixup!

* fix mypy and prettier CI errors

* disable first install

* add random super user

* set first install after startup

* remove user id from form

* Update lnbits/core/views/auth_api.py

Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>

* Update lnbits/core/views/auth_api.py

Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>

* Update lnbits/middleware.py

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

* addressing Vlad's comments

* remove super user

* move to transient settings

* fix: show `first_install` page even after a server restart

* fix: do not add `user_id` in the auth token

* fix: `make check` errors

* fix: `username` is not optional for `UpdateSuperuserPassword`

* feat: nicer error message

---------

Co-authored-by: dni  <office@dnilabs.com>
Co-authored-by: Tiago Vasconcelos <talvasconcelos@gmail.com>
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
2024-01-25 13:33:40 +00:00
..
core feat: install wizard on first launch (#1977) 2024-01-25 13:33:40 +00:00
nodes cln: allow unpaid amountless invoices (#2138) 2023-12-19 12:12:52 +01:00
static feat: improve PWA configuration (#2214) 2024-01-23 08:14:37 +01:00
templates Move UI configs to profile (#2201) 2024-01-15 11:51:34 +02:00
utils refactor: extract AESCipher to crypto.py (#2202) 2024-01-15 11:51:15 +02:00
wallets introduce Wallet.normalize_endpoint to remove code duplication 2024-01-22 10:06:22 -06:00
__init__.py
__main__.py overall fixes 2022-10-25 09:23:30 +02:00
app.py feat: install wizard on first launch (#1977) 2024-01-25 13:33:40 +00:00
bolt11.py adding bolt11 lib and removing bolt11.py from the codebase (#1817) 2023-09-25 12:06:54 +02:00
commands.py Deactivate all extensions flag (#2206) 2024-01-22 12:18:12 +02:00
db.py feat: add created_at and updated_at to wallets and accounts (#2177) 2023-12-21 12:37:56 +00:00
decorators.py [FEAT] Auth, Login, OAuth, create account with username and password #1653 (#2092) 2023-12-12 11:38:19 +01:00
extension_manager.py Deactivate all extensions flag (#2206) 2024-01-22 12:18:12 +02:00
helpers.py Deactivate all extensions flag (#2206) 2024-01-22 12:18:12 +02:00
jinja2_templating.py fix pyright lnbits 2023-04-04 07:34:17 +02:00
lnurl.py feat: lnurl library update 2023-12-06 12:55:01 +01:00
middleware.py feat: install wizard on first launch (#1977) 2024-01-25 13:33:40 +00:00
requestvars.py
server.py feat: add file logging (#2023) 2023-10-12 11:24:05 +02:00
settings.py feat: install wizard on first launch (#1977) 2024-01-25 13:33:40 +00:00
tasks.py Startup optimization: nonblocking expiry check (#1943) 2023-09-25 12:32:01 +02:00