aboutsummaryrefslogtreecommitdiff
path: root/internal/auth/auth.go
Commit message (Collapse)AuthorAge
* all: replace `interface{}` with `any` (#7330)Joe Chen2023-02-02
| | | Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
* chore: consistently use `errors.Cause` for identifying error types (#7264)Joe Chen2022-11-27
|
* auth: decouple types and functions from db (#6320)ᴜɴᴋɴᴡᴏɴ2020-09-20
|
* access_token: migrate to GORM and add tests (#6086)ᴜɴᴋɴᴡᴏɴ2020-04-11
| | | | | | | | | * access_token: migrate to GORM * Add tests * Fix tests * Fix test clock
* lfs: implement HTTP routes (#6035)ᴜɴᴋɴᴡᴏɴ2020-04-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Bootstrap with GORM * Fix lint error * Set conn max lifetime to one minute * Fallback to use gorm v1 * Define HTTP routes * Finish authentication * Save token updated * Add docstring * Finish authorization * serveBatch rundown * Define types in lfsutil * Finish Batch * authutil * Finish basic * Formalize response error * Fix lint errors * authutil: add tests * dbutil: add tests * lfsutil: add tests * strutil: add tests * Formalize 401 response
* refactor: unify error handling in routing layerᴜɴᴋɴᴡᴏɴ2020-03-16
|
* conf: overhaul auth and user settings (#5942)ᴜɴᴋɴᴡᴏɴ2020-02-27
| | | | | | * conf: overhaul auth and user settings * ci: update travis Go versions
* conf: overhaul security settingsᴜɴᴋɴᴡᴏɴ2020-02-22
|
* conf: overhaul server settings (#5928)ᴜɴᴋɴᴡᴏɴ2020-02-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * conf: rename package * Requires Go 1.12 * Fix lint * Fix lint * Overhaul * db: fix tests * Save my work * Fix tests * Server.UnixSocketPermission * Server.LocalRootURL * SSH settings * Server.OfflineMode * Save my work * App.Version * Remove [server] STATIC_ROOT_PATH * Server.LandingURL
* log: migrate to unknwon.dev/clog/v2 (#5927)ᴜɴᴋɴᴡᴏɴ2020-02-20
| | | | | | * Add unknwon.dev/clog/v2 * Update all places
* internal: move packages under this directory (#5836)Unknwon2019-10-24
* Rename pkg -> internal * Rename routes -> route * Move route -> internal/route * Rename models -> db * Move db -> internal/db * Fix route2 -> route * Move cmd -> internal/cmd * Bump version