forgejo/models/user
wxiaoguang 5612cf32e5
Refactor sha1 and time-limited code (#31023)
Remove "EncodeSha1", it shouldn't be used as a general purpose hasher
(just like we have removed "EncodeMD5" in #28622)

Rewrite the "time-limited code" related code and write better tests, the
old code doesn't seem quite right.

(cherry picked from commit fb1ad920b769799aa1287441289d15477d9878c5)

Conflicts:
	modules/git/utils_test.go
	trivial context conflict because sha256 testing in Forgejo has diverged
2024-05-26 18:43:30 +02:00
..
fixtures Implement remote user login source and promotion to regular user 2024-04-25 13:03:49 +02:00
avatar.go
badge.go
block.go
block_test.go
email_address.go Refactor sha1 and time-limited code (#31023) 2024-05-26 18:43:30 +02:00
email_address_test.go
error.go
external_login_user.go
federated_user.go initial 2024-05-16 08:15:43 +02:00
federated_user_test.go initial 2024-05-16 08:15:43 +02:00
follow.go
follow_test.go
list.go
main_test.go
must_change_password.go
openid.go
openid_test.go
redirect.go
redirect_test.go
search.go Implement remote user login source and promotion to regular user 2024-04-25 13:03:49 +02:00
setting.go
setting_keys.go Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
setting_test.go
user.go Refactor sha1 and time-limited code (#31023) 2024-05-26 18:43:30 +02:00
user_repository.go initial 2024-05-16 08:15:43 +02:00
user_system.go
user_test.go rename fkt name 2024-05-17 08:15:51 +02:00
user_update.go