autobrr/internal/database
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(actions): qBittorrent add priority handling (#1315) 2023-12-25 22:39:31 +01:00
action_test.go feat(filters): show enabled and disabled actions in list view (#1304) 2023-12-17 21:18:26 +01:00
api.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
api_test.go feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
database.go feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
database_test.go feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
download_client.go feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
download_client_test.go feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
feed.go feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
feed_cache.go feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
feed_cache_test.go feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
feed_test.go feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
filter.go feat(filters): show enabled and disabled actions in list view (#1304) 2023-12-17 21:18:26 +01:00
filter_test.go feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
indexer.go fix(indexes): toggle on and off with switch (#1164) 2023-10-03 21:57:11 +02:00
indexer_test.go feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
irc.go feat(irc): support optional bot mode (#1246) 2023-11-22 19:57:16 +01:00
irc_test.go feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
notification.go feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
notification_test.go feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
postgres.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
postgres_migrate.go feat(actions): qBittorrent add priority handling (#1315) 2023-12-25 22:39:31 +01:00
release.go feat(web): link Dashboard stats to Releases page (#1281) 2023-12-25 14:03:29 +01:00
release_test.go feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
sqlite.go feat(database): setup integration tests (#1118) 2023-11-18 20:04:30 +01:00
sqlite_migrate.go feat(actions): qBittorrent add priority handling (#1315) 2023-12-25 22:39:31 +01:00
user.go feat(auth): change password and username (#1295) 2023-12-26 15:50:57 +01:00
user_test.go feat(auth): change password and username (#1295) 2023-12-26 15:50:57 +01:00
utils.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
utils_test.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00