autobrr/internal/domain
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
..
testdata feat(releases): retry failed downloads (#491) 2022-10-19 21:52:31 +02:00
action.go feat(actions): qBittorrent add priority handling (#1315) 2023-12-25 22:39:31 +01:00
api.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
client.go feat(downloadclient): set downloadClientId for arr clients (#1081) 2023-09-03 15:34:55 +02:00
client_test.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
config.go fix(config): PostgresExtraParams struct tag (#1294) 2023-12-12 20:35:12 +01:00
error.go feat(filters): add support for multiple external filters (#1030) 2023-08-15 23:07:39 +02:00
event.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
feed.go feat(feeds): improve caching (#1191) 2023-10-21 17:03:52 +02:00
filter.go refactor(filters): checkMaxDownloads (#1285) 2023-12-25 22:54:52 +01:00
filter_test.go fix(filters): do not split commas inside valid Regexp (#1212) 2023-12-25 15:45:50 +01:00
indexer.go fix(indexers): toggle state (#1214) 2023-11-19 23:11:12 +01:00
indexer_test.go feat(definitions): add expectations for test lines (#1257) 2023-11-18 15:41:39 +01:00
irc.go feat(irc): support optional bot mode (#1246) 2023-11-22 19:57:16 +01:00
macros.go feat(macros): add SizeString DownloadURL and InfoURL (#1080) 2023-09-03 13:27:47 +02:00
macros_test.go feat(macros): add SizeString DownloadURL and InfoURL (#1080) 2023-09-03 13:27:47 +02:00
notification.go feat(notifications): add LunaSea support (#1284) 2023-12-15 23:13:44 +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(macros): add SizeString DownloadURL and InfoURL (#1080) 2023-09-03 13:27:47 +02:00
releasetags.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
releasetags_test.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
user.go feat(auth): change password and username (#1295) 2023-12-26 15:50:57 +01:00