gitea/services/auth
silverwind 68ec9b4859
Migrate margin and padding helpers to tailwind ()
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:

```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g'   {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g'   {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g'   {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g'   {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g'   {web_src/js,templates,routers,services}/**/*
```
..
source Migrate margin and padding helpers to tailwind ()
auth.go Move context from modules to services ()
auth_test.go Fix attachment download bug ()
auth_token.go Enhanced auth token / remember me ()
auth_token_test.go Refactor timeutil package ()
basic.go Unify two factor check ()
group.go Remove `Named` interface ()
httpsign.go Use db.Find instead of writing methods for every object ()
interface.go Reduce usage of `db.DefaultContext` ()
main_test.go Enhanced auth token / remember me ()
oauth2.go Fix tarball/zipball download bug ()
reverseproxy.go Start to migrate from `util.OptionalBool` to `optional.Option[bool]` ()
session.go Fix the bug that user may logout if he switch pages too fast ()
signin.go remove util.OptionalBool and related functions ()
source.go Final round of `db.DefaultContext` refactor ()
sspi.go remove util.OptionalBool and related functions ()
sspiauth_posix.go Make SSPI auth mockable ()
sspiauth_windows.go Make SSPI auth mockable ()
sync.go Use db.Find instead of writing methods for every object ()