| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* build(deps): bump gorm.io/gorm from 1.20.6 to 1.20.7
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.20.6 to 1.20.7.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/compare/v1.20.6...v1.20.7)
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Fix compile error
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: ᴜɴᴋɴᴡᴏɴ <u@gogs.io>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
* schemadoc: add go:generate to output database schema
* Check errors
* Revert string renames
|
| |
|
| |
|
|
|
|
|
| |
* Only use AutoMigrate to create new tables
* Revert models.go
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use GORM in all write paths
* Migrate to GORM
* Fix lint errors
* Use GORM to init table
* dbutil: make writer detect error
* Add more tests
* Rename to clearTables
* db: finish adding tests
* osutil: add tests
* Fix load source files path
|
|
|
|
|
|
|
|
|
| |
* Improve DB test setup
* Discard GORM logs in non-verbose mode
* Add tests to lfs
* Fix data race
|
|
|
|
|
|
|
|
|
| |
* access_token: migrate to GORM
* Add tests
* Fix tests
* Fix test clock
|
| |
|
|
* 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
|