Commit Graph

7 Commits (b74322dfce8d15e9204900913bb815a7b0ba073f)

Author SHA1 Message Date
Lunny Xiao a666829a37
Move user related model into models/user ()
* Move user related model into models/user

* Fix lint for windows

* Fix windows lint

* Fix windows lint

* Move some tests in models

* Merge
wxiaoguang 81926d61db
Decouple unit test, remove intermediate `unittestbridge` package ()
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Lunny Xiao a4bfef265d
Move db related basic functions to models/db ()
* Move db related basic functions to models/db

* Fix lint

* Fix lint

* Fix test

* Fix lint

* Fix lint

* revert unnecessary change

* Fix test

* Fix wrong replace string

* Use *Context

* Correct committer spelling and fix wrong replaced words

Co-authored-by: zeripath <art27@cantab.net>
zeripath 055f6d2296 Fix "data race" in testlogger ()
* Fix data race in testlogger

* Update git_helper_for_declarative_test.go
B-OnTheGo e47df0b301 Enforce token on api routes [fixed critical security issue ] ()
Lauris BH 57de1ff991
Fix API raw file content access for default branch ()
Lauris BH 08b124dd47
Fix API raw requests for commits and tags ()