Commit Graph

44 Commits (6cf7192d6ae13bd52263ed3d0b93e81412d459f1)

Author SHA1 Message Date
Steven 7fc7b19d64 chore: deprecate user setting legacy api 1 year ago
Steven fa6693a7ae chore: update list memos 1 year ago
Irving Ou 9c18960f47
feat: support Postgres (#2569)
* skeleton of postgres

skeleton

* Adding Postgres specific db schema sql

* user test passed

* memo store test passed

* tag is working

* update user setting test done

* activity test done

* idp test passed

* inbox test done

* memo_organizer, UNTESTED

* memo relation test passed

* webhook test passed

* system setting test passed

* passed storage test

* pass resource test

* migration_history done

* fix memo_relation_test

* fixing server memo_relation test

* passes memo relation server test

* paess memo test

* final manual testing done

* final fixes

* final fixes cleanup

* sync schema

* lint

* lint

* lint

* lint

* lint
1 year ago
Steven 1a5bce49c2 chore: implement webhook store 1 year ago
Steven 0ee938c38b chore: remove unused inbox status 1 year ago
Steven 18107248aa chore: rename list inbox 1 year ago
Steven 1b34119e60 chore: update activity store definition 1 year ago
Steven 9d2b785be6 chore: fix inbox test 1 year ago
Steven 67d2e4ebcb chore: update method name 1 year ago
Steven 4ea78fa1a2 chore: impl inbox store methods 1 year ago
Steven a6ee61e96d chore: update package name 1 year ago
Steven 607fecf437 chore: update store tests 1 year ago
Steven 87ddeb2c79 chore: adjust store test for 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 6007f48b7d chore: retire memo resource relation table 1 year ago
Steven d6789550a0 refactor: migrate tag to driver 1 year ago
Steven 63b55c4f65 chore: fix tests 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 4424c8a231 chore: add resource service definition 1 year ago
Steven 33d9c13b7e chore: remove openid field from user 1 year ago
boojack ad1822d308
chore: update db utils (#2177) 2 years ago
boojack 7c5296cf35
chore: update id type to int32 (#2076) 2 years ago
boojack 8328b5dd4a
chore: upgrade version to `0.14.2` (#2035)
* chore: upgrade version to `0.14.2`

* chore: remove TestConcurrentReadWrite test
2 years ago
boojack 4c33d8d762
chore: remove unused transaction in store (#1995)
* chore: remove unused transaction in store

* chore: update
2 years ago
boojack 7e391bd53d
chore: remove resource public id (#1912)
* chore: remove resource public id

* chore: update
2 years ago
boojack 0e05c62a3b
chore: update common utils (#1908) 2 years ago
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
2 years ago
boojack 1fa9f162a5
refactor: migrate resource to apiv1 (#1901) 2 years ago
boojack 5b6c98582e
refactor: migrate storage to apiv1 (#1890)
* refactor: migrate storage to apiv1

* chore: update

* chore: update

* chore: update
2 years ago
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
2 years ago
boojack 9a8d43bf88
chore: update user store names (#1877)
* chore: update user store names

* chore: update
2 years ago
boojack 6a78887f1d
chore: update store types name (#1862) 2 years ago
boojack 7226a9ad47
chore: update idp store (#1856) 2 years ago
boojack b44f2b5ffb
chore: migrate user setting to api v1 package (#1855)
* chore: migrate to api v1 package

* chore: update
2 years ago
boojack b34aded376
refactor: migration idp api (#1842)
* refactor: migration idp api

* chore: update
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 ea728d232d
refactor: memo store (#1741) 2 years ago
boojack 5c5199920e
chore: seed data for new user (#1655) 2 years ago
boojack fab8a71fd2
feat: implement memo relation store (#1598)
* feat: implement memo relation store

* chore: update
2 years ago
CorrectRoadH 630d84348e
feat: add resource backend unit test (#1521)
* add resource unit test

* add more resource unit test

* change variable name

* add more test cases

* delete unnecessary line

* eslint

* add more asset
2 years ago
boojack c9a5df81ce
chore: update store tests (#1449) 2 years ago
boojack 0baf6b0e19
feat: add test for user store (#1438) 2 years ago