steven
a928c4f845
chore: update error format
2023-09-29 13:04:54 +08:00
Athurg Gooth
5121e9f954
chore: move migration and seed code into driver ( #2294 )
...
Move migration and seed code into driver
2023-09-27 11:56:20 +08:00
Athurg Gooth
ca98367a0a
chore: store vacuum and clean ( #2293 )
...
* Move all vacuum code into driver
* Remove db from Store
2023-09-26 20:27:31 -05:00
Steven
63b55c4f65
chore: fix tests
2023-09-26 19:15:18 +08:00
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
2023-09-26 17:16:58 +08:00
Steven
cd0ea6558d
chore: update golangci-lint config
2023-09-17 22:55:13 +08:00
boojack
ad1822d308
chore: update db utils ( #2177 )
2023-08-26 07:33:45 +08:00
boojack
723c444910
chore: update server tests ( #2118 )
2023-08-10 09:01:38 +08:00
boojack
7c5296cf35
chore: update id type to int32 ( #2076 )
2023-08-04 21:55:07 +08:00
boojack
5f819fc86f
chore: update auth middleware ( #2057 )
...
* chore: update auth middleware
* chore: update
* chore: update
2023-07-31 20:55:40 +08:00
Alexandr Tumaykin
f91f09adea
feat: use username instead of uid ( #1977 )
...
* #1916 replace userId to username
* resolve
---------
Co-authored-by: Александр Тумайкин <AATumaykin@tsum.ru>
2023-07-20 19:48:39 +08:00
boojack
da70917b08
chore: update auth page ( #1920 )
...
* chore: update auth page
* chore: update
2023-07-09 21:13:26 +08:00
boojack
a7573d5705
refactor: migrate memo to apiv1 ( #1907 )
...
* refactor: migrate memo to apiv1
* chore: update
* chore: update
* chore: update
* chore: upate
* chore: update
* chore: update
2023-07-06 21:56:42 +08:00
boojack
66e65e4dc1
refactor: migrate definition to api v1 ( #1879 )
...
* refactor: user api v1
* refactor: system setting to apiv1
* chore: remove unused definition
* chore: update
* chore: refactor: system setting
* chore: update
* refactor: migrate tag
* feat: migrate activity store
* refactor: migrate shortcut apiv1
* chore: update
2023-07-02 18:56:25 +08:00
boojack
b44f2b5ffb
chore: migrate user setting to api v1 package ( #1855 )
...
* chore: migrate to api v1 package
* chore: update
2023-06-26 23:06:53 +08:00
boojack
4ed9a3a0ea
refactor: migrate auth routes to v1 package ( #1841 )
...
* feat: add api v1 packages
* chore: migrate auth to v1
* chore: update test
2023-06-17 21:25:46 +08:00
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>
2023-05-29 13:29:42 +08:00
boojack
ea728d232d
refactor: memo store ( #1741 )
2023-05-25 21:50:37 +08:00
boojack
2cc5691efd
chore: update memo relation types ( #1658 )
2023-05-14 23:17:05 +08:00
boojack
5c5199920e
chore: seed data for new user ( #1655 )
2023-05-13 22:25:15 +08:00
CorrectRoadH
700fe6b0e4
fix: return pinned status after edit ( #1629 )
...
* stash
* query pinned status after patch
* eslint
* refactor query
* eslint
* process specify case
* add test
* Update memo.go
2023-05-09 09:03:09 +08:00
boojack
b6564bcd77
feat: implement memo relation server ( #1618 )
2023-05-01 16:09:41 +08:00
boojack
994d5dd891
feat: server tests ( #1556 )
...
* feat: server tests
* chore: update
2023-04-17 21:34:59 +08:00