autobrr/internal/http
KaiserBh df2612602b
feat(auth): change password and username (#1295)
* feat(backend): added change password api endpoint.

* feat(web): added profile UI to change password.

I think we can change the username too, but I don't know if we should for now disabled the username field.

* refactor: don't leak username or password.

* refactor: protect the route.

* generic

* feat: add ChangeUsername

* fix(tests): speculative fix for TestUserRepo_Update

* Revert "feat: add ChangeUsername"

This reverts commit d4c1645002883a278aa45dec3c8c19fa1cc75d9b.

* refactor into 1 endpoint that handles both

* feat: added option to change username as well. :pain:

* refactor: frontend

* refactor: function names in backend

I think this makes it more clear what their function is

* fix: change to 2 cols with separator

* refactor: update user

* fix: test db create user

---------

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
Co-authored-by: soup <soup@r4tio.dev>
Co-authored-by: martylukyy <35452459+martylukyy@users.noreply.github.com>
Co-authored-by: ze0s <ze0s@riseup.net>
2023-12-26 15:50:57 +01:00
..
action.go feat(releases): replay actions (#932) 2023-05-15 21:30:04 +02:00
apikey.go feat(http): improve error handling (#1006) 2023-07-02 14:03:39 +02:00
auth.go feat(auth): change password and username (#1295) 2023-12-26 15:50:57 +01:00
config.go feat(web): show more app info (#1145) 2023-09-22 22:05:14 +02:00
download_client.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
encoder.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
feed.go feat(feeds): add force run (#1243) 2023-11-18 21:54:53 +01:00
filter.go enhancement(web): ui overhaul (#1155) 2023-11-18 14:46:16 +01:00
health.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
indexer.go fix(indexes): toggle on and off with switch (#1164) 2023-10-03 21:57:11 +02:00
irc.go feat(http): improve error handling (#1006) 2023-07-02 14:03:39 +02:00
logs.go feat(logs): sanitize basic auth in urls (#1188) 2023-10-28 12:04:57 +02:00
logs_sanitize_test.go feat(logs): sanitize basic auth in urls (#1188) 2023-10-28 12:04:57 +02:00
middleware.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
notification.go feat(http): improve error handling (#1006) 2023-07-02 14:03:39 +02:00
release.go fix(releases): search with postgres (#1181) 2023-10-16 20:27:15 +02:00
server.go feat(auth): change password and username (#1295) 2023-12-26 15:50:57 +01:00
update.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00