Commit Graph

127 Commits (55e0fbf24e2177095f487d38b4dbcb870990616d)

Author SHA1 Message Date
Athurg Gooth 55e0fbf24e
fix: create activity without some attributes (#2356) 1 year ago
Athurg Gooth eaac17a236
fix: create memo without some attributes (#2355) 1 year ago
Athurg Gooth 1fbd568dfe
fix: create resource without some attributes (#2354) 1 year ago
Athurg Gooth c0619ef4a4
fix: CreateIdentityProvider without id (#2352) 1 year ago
Athurg Gooth b2aa66b4fd
fix: migration always in mysql (#2353) 1 year ago
Steven b938c8d7b6 chore: only show comments in memo detail page 1 year ago
Steven 553de3cc7e fix: mysql syntax 1 year ago
Steven c0422dea5b chore: fix sqlite migrator 1 year ago
Steven 7791fb10d8 chore: update new db driver 1 year ago
Steven a6ee61e96d chore: update package name 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
Steven 9abf294eed chore: update seed data 1 year ago
Steven 71ee299de7 chore: drop shortcut 1 year ago
Steven 6007f48b7d chore: retire memo resource relation table 1 year ago
Steven 8c2f89edc5 chore: update demo username 1 year ago
Steven 6cff920f0c chore: update user demo data 1 year ago
Steven cd0ea6558d chore: update golangci-lint config 1 year ago
Steven 3a1f82effa fix: migration script 1 year ago
Steven a3d7cc9392 fix: migration script 1 year ago
Steven 28a1888163 chore: fix user seed data 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 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
boojack 4419b4d4ae
chore: update version and remove isDev flag (#1452)
* chore: update version and remove isDev flag

* chore: update
2 years ago
boojack 1cab30f32f
feat: add public id field to resource (#1451)
* feat: add public id field to resource

* feat: support reset resource link
2 years ago
boojack 4f2adfef7b
chore: update system setting name convention (#1448) 2 years ago
boojack 8a33290722
chore: update user setting key convention (#1447)
* chore: update user settng key convention

* chore: update
2 years ago
boojack 41c50e758a
chore: revert resource visibility changes (#1444) 2 years ago
boojack 993ea024fd
chore: update demo seed data (#1421) 2 years ago
Zeng1998 f3090b115d
feat: support local storage (#1383)
* feat: support local storage

* update

* update

* update

* update
2 years ago
boojack ff8851fd9f
fix: golangci-lint version (#1381)
* chore: update interface declare

* chore: update args

* chore: update

* chore: update
2 years ago
boojack 977e7f55e5
feat: add visibility field to resource (#1185) 2 years ago
boojack cc23d5cafe
chore: upgrade version to `0.11.0` (#1143)
* chore: upgrade version to `0.11.0`

* chore: update
2 years ago