Commit Graph

137 Commits (82effea070d0b0f3afb930c389e4a8195e080dd6)

Author SHA1 Message Date
Steven d06d01cef2 chore: release mysql driver 2 years ago
Athurg Gooth af7c0a76d0
fix: fail to update user's update_ts (#2410) 2 years ago
Steven 1b105db958 chore: fix field syntax 2 years ago
Steven 6f2ca6c87a chore: update find memo api 2 years ago
guopeng 73f59eaf09
fix: storage setting changed don't take effect (#2385)
* fix: Storage setting changed don't take effect

* fix: Storage setting changed don't take effect

* fix: Storage setting changed don't take effect
2 years ago
Athurg Gooth 6bb6c043e5
feat: add support for ListMemoOrganizer (#2367)
* Add support for ListMemoOrganizer

* fix rows not close
2 years ago
Athurg Gooth fa2bba51c1
feat: add support for ListActivity (#2365)
Add support for ListActivity
2 years ago
Athurg Gooth 425b43b3bb
fix: ListTag not support omit params (#2366)
fix ListTag not support omit params
2 years ago
Athurg Gooth 287f1beb90
fix: create storage without some attributes (#2358) 2 years ago
Athurg Gooth 7680be1a2f
fix: create user without some attributes (#2357) 2 years ago
Athurg Gooth 55e0fbf24e
fix: create activity without some attributes (#2356) 2 years ago
Athurg Gooth eaac17a236
fix: create memo without some attributes (#2355) 2 years ago
Athurg Gooth 1fbd568dfe
fix: create resource without some attributes (#2354) 2 years ago
Athurg Gooth c0619ef4a4
fix: CreateIdentityProvider without id (#2352) 2 years ago
Athurg Gooth b2aa66b4fd
fix: migration always in mysql (#2353) 2 years ago
Steven b938c8d7b6 chore: only show comments in memo detail page 2 years ago
Steven 553de3cc7e fix: mysql syntax 2 years ago
Steven c0422dea5b chore: fix sqlite migrator 2 years ago
Steven 7791fb10d8 chore: update new db driver 2 years ago
Steven a6ee61e96d chore: update package name 2 years ago
Athurg Gooth 5121e9f954
chore: move migration and seed code into driver (#2294)
Move migration and seed code into driver
2 years ago
Steven 9abf294eed chore: update seed data 2 years ago
Steven 71ee299de7 chore: drop shortcut 2 years ago
Steven 6007f48b7d chore: retire memo resource relation table 2 years ago
Steven 8c2f89edc5 chore: update demo username 2 years ago
Steven 6cff920f0c chore: update user demo data 2 years ago
Steven cd0ea6558d chore: update golangci-lint config 2 years ago
Steven 3a1f82effa fix: migration script 2 years ago
Steven a3d7cc9392 fix: migration script 2 years ago
Steven 28a1888163 chore: fix user seed data 2 years ago
Steven 33d9c13b7e chore: remove openid field from user 2 years ago
boojack ad1822d308
chore: update db utils (#2177) 2 years ago
boojack 4af0d03e93
chore: add user profile page (#2175)
chore: some enhancements
2 years ago
boojack 4c33d8d762
chore: remove unused transaction in store (#1995)
* chore: remove unused transaction in store

* chore: update
2 years ago
Lincoln Nogueira c8961ad489
fix: database is locked (#1992)
* fix: database is locked

The option "_journal_mode=WAL" is currently *not* being applied when
provided in the DSN.

This issue affects only new memos installations, not older ones where
the database journal was properly set to WAL mode by the previous sqlite
library go-sqlite3.

modernc.org/sqlite DSN parsing is different from go-sqlite3. It requires
the `_pragma=` prefix and even some options order matter.

https://gitlab.com/cznic/sqlite/-/issues/115

Closes #1985

* chore: upgraded notes on sqlite DSN
2 years ago
boojack 5e20094386
chore: add indexes (#1959) 2 years ago
boojack 40a30d46af
chore: update db connection params (#1960) 2 years ago
boojack 698380f940
chore: update seed data (#1928) 2 years ago
boojack 7e391bd53d
chore: remove resource public id (#1912)
* chore: remove resource public id

* chore: update
2 years ago
boojack 223404a240
chore: update memo seed data (#1884) 2 years ago
boojack 07e82c3f4a
fix: schema migrate (#1846)
* fix: schema migrate

* 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 2e34ce90a1
chore: upgrade version `0.13.1` (#1754) 2 years ago
boojack 1d7627dd72
chore: upgrade version `0.13.0` (#1685)
* chore: upgrade version `0.13.0`

* chore: update
2 years ago
boojack 1a8310f027
chore: update system setting default value (#1665) 2 years ago
Zeng1998 9eafb6bfb5
chore: add the default value of MaxUploadSizeMiB (#1663) 2 years ago
boojack cd6ab61c2d
chore: add memo_relation (#1585) 2 years ago
boojack 6ff7cfddda
fix: return external link directly (#1465)
* fix: return external link directly

* chore: update
2 years ago
boojack bdc00d67b2
chore: add default local storage path (#1457) 2 years ago
boojack 5aa4ba32c9
fix: system setting field name (#1453) 2 years ago