Commit Graph

10 Commits (63b55c4f65c1b4f2e94f40c4a2c808ab064231d6)

Author SHA1 Message Date
Steven 63b55c4f65 chore: fix tests 2 years ago
Athurg Gooth 41eba71f0f
chore: split sql to driver (#2279)
* Add new database interface for SQL operations

* Move SQL code of Activity into Database

* Rename `Database` into `Driver`

* Move SQL code of SystemSetting into Driver

* Fix store.New in text code

* Change database into driver in the variables

* Change sqlite3.New into sqlite3.NewDriver
2 years ago
Steven cd0ea6558d chore: update golangci-lint config 2 years ago
boojack ad1822d308
chore: update db utils (#2177) 2 years ago
boojack 723c444910
chore: update server tests (#2118) 2 years ago
boojack 5f819fc86f
chore: update auth middleware (#2057)
* chore: update auth middleware

* chore: update

* chore: update
2 years ago
boojack da70917b08
chore: update auth page (#1920)
* chore: update auth page

* chore: update
2 years ago
boojack 4ed9a3a0ea
refactor: migrate auth routes to v1 package (#1841)
* feat: add api v1 packages

* chore: migrate auth to v1

* chore: update test
2 years ago
Athurg Gooth ddf4cae537
feat: disable CGO_ENABLED (#1766)
* Replace mattn/go-sqlite3 with modernc.org/sqlite

* Disable CGO to make binary work without special c lib

* Replace mattn/go-sqlite3 with modernc.org/sqlite in testing code

* Tidy go module

---------

Co-authored-by: Athurg Feng <athurg@gooth.org>
2 years ago
boojack 994d5dd891
feat: server tests (#1556)
* feat: server tests

* chore: update
2 years ago