lnbits-legend/lnbits/core/views
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
..
__init__.py refactor: breaking bad 2020-03-08 23:00:41 +01:00
admin_api.py [FEAT] Node Managment (#1895) 2023-09-25 15:04:44 +02:00
api.py feat: add currency amount to lnurl/lnaddress payments 2024-01-22 10:23:14 -06:00
auth_api.py feat: install wizard on first launch (#1977) 2024-01-25 13:33:40 +00:00
generic.py feat: install wizard on first launch (#1977) 2024-01-25 13:33:40 +00:00
node_api.py set User-Agent when accessing external resources (#2100) 2023-11-30 12:54:07 +00:00
public_api.py adding bolt11 lib and removing bolt11.py from the codebase (#1817) 2023-09-25 12:06:54 +02:00
tinyurl_api.py refactor: move tinyurl to its own router (#2154) 2023-12-06 10:54:40 +01:00
webpush_api.py refactor: move webpush to it own router 2023-12-06 11:13:24 +01:00