Commit Graph

26 Commits (695fb1e0ca6359a5b0dbc074c04180481c9101a4)

Author SHA1 Message Date
Athurg Gooth 4f1bb55e55
fix: metric env not affect (#2450)
fix metric env not affect
1 year ago
Steven 052216c471 chore: fix list activities typo 1 year ago
Steven 59f0ee862d chore: fix viper default value 1 year ago
Athurg Gooth bfdb33f26b
chore: add a flag to change metric switch (#2447)
* add a flag to change metric switch

* change the default value of metric
1 year ago
Steven 5b3af827e1 chore: move common packages to internal 1 year ago
Steven a5df36eff2 chore: update metrics 1 year ago
Athurg Gooth 95bfcb8055
chore: print profile.Data in boot log (#2373)
Print profile.Data in boot log
1 year ago
Athurg Gooth 096c489eb3
feat: copy data between drivers (#2370)
* Add copydb command to copy data between drivers

* Check if table is empty before copy
1 year ago
Steven a6ee61e96d chore: update package name 1 year ago
Athurg Gooth c72f221fc0
feat: support mysql as backend storage driver (#2300)
* Rename checkDSN to checkDataDir

* Add option to set DSN and db driver

* Add mysql driver skeleton

* Add mysql container in compose for debug

* Add basic function for mysql driver

* Cleanup go mod with tidy

* Cleanup go.sum with tidy

* Add DeleteUser support for mysql driver

* Fix UpdateUser of mysql driver

* Add DeleteTag support for mysql driver

* Add DeleteResource support for mysql driver

* Add UpdateMemo and DeleteMemo support for mysql driver

* Add MemoRelation support for mysql driver

* Add MemoOrganizer support for mysql driver

* Add Idp support for mysql driver

* Add Storage support for mysql driver

* Add FindMemosVisibilityList support for mysql driver

* Add Vacuum support for mysql driver

* Add Migration support for mysql driver

* Add Migration support for mysql driver

* Fix ListMemo failed with referece

* Change Activity.CreateTs type in MySQL

* Change User.CreateTs type in MySQL

* Fix by golangci-lint

* Change Resource.CreateTs type in MySQL

* Change MigrationHistory.CreateTs type in MySQL

* Change Memo.CreateTs type in MySQL
1 year ago
Athurg Gooth 5121e9f954
chore: move migration and seed code into driver (#2294)
Move migration and seed code into driver
1 year ago
Athurg Gooth ca98367a0a
chore: store vacuum and clean (#2293)
* Move all vacuum code into driver

* Remove db from Store
1 year ago
Steven 96395b6d75 chore: rename package `sqlite3` to `sqlite` 1 year 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
1 year ago
Steven cd0ea6558d chore: update golangci-lint config 1 year ago
Steven 33d9c13b7e chore: remove openid field from user 1 year ago
boojack ad1822d308
chore: update db utils (#2177) 2 years ago
Sandu Liviu Catalin 6c01e84099
feat: add configuration option to bind server to specific address (#2165) 2 years ago
boojack 19e7731abb
chore: generate ts definition (#2156)
* chore: generate ts definition

* chore: update
2 years ago
boojack cbe27923b3
chore: update commands (#2074) 2 years ago
Athurg Gooth 11abc45440
feat: add command to move blob from local to db (#2026)
* Add `mvrss` command to move blob from local to db

* Add comment for mvrss command
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
boojack 0baf6b0e19
feat: add test for user store (#1438) 2 years ago
Dmitry Shemin e7ee181a91
feat: add setup cmd (#1418)
This command can be used for automatization of initial application's setup
2 years ago
boojack a21ff5c2e3
chore: update project structure (#1382) 2 years ago
boojack 1517688076
chore: update code structure (#1139)
* chore: update code structure

* chore: update
2 years ago