Commit Graph

35 Commits (b897b243e501934fee724beb1615efec30eb5aff)

Author SHA1 Message Date
Steven 1167df29d8 feat: add security related settings 6 months ago
Steven d11bd30ec6 chore: tweak logger 6 months ago
Steven c3f381c8c5 chore: add instance url to profile 7 months ago
Steven 8bf7cdfd31 feat: add password auth flag 7 months ago
Johnny 736637a362
feat: add public flag instead of system setting to enable signup (#3589) 8 months ago
Steven 10c57167cc chore: remove unused flags 10 months ago
Steven 8101a5e0b1 chore: add origin flag to config cors 11 months ago
Steven 8fe6874b1b chore: add description field to user 12 months ago
Steven b0f52ade7a chore: remove metric service 1 year ago
Steven 4a6da91719 chore: fix serve frontend flag 1 year ago
Steven 8e11826db1 chore: update workspace setting service 1 year ago
Steven e5de8c08f5 chore: clean debug code 1 year ago
Steven c608877c3e chore: clean binary entries 1 year ago
Athurg Gooth 4f1bb55e55
fix: metric env not affect (#2450)
fix metric env not affect
1 year ago
Athurg Gooth fd5d51ee54
fix: some fields of profile leaked without auth (#2408)
* fix some fields of profile leaked without auth

* protect driver and dsn of profile
1 year ago
Steven 9bfb2d60b9 chore: tweak wording 1 year ago
Steven 87ddeb2c79 chore: adjust store test for mysql 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
Steven cd0ea6558d chore: update golangci-lint config 1 year ago
Sandu Liviu Catalin 6c01e84099
feat: add configuration option to bind server to specific address (#2165) 2 years ago
Lincoln Nogueira 3b76c6792c
feat: add preliminar Windows support (#1636)
Add preliminar Windows support for both
development and production environments.

Default profile.Data will be set to "C:\ProgramData\memos" on Windows.
Folder will be created if it does not exist, as this behavior is
expected for Windows applications.

System service installation can be achieved with third-party tools,
explained in docs/windows-service.md.

Not sure if it's worth using https://github.com/kardianos/service
to make service support built-in.

This could be a nice addition alongside #1583 (add Windows artifacts)
2 years ago
boojack 977e7f55e5
feat: add visibility field to resource (#1185) 2 years ago
Zhizhen He 50a99e9120
fix: correct comments for exported functions and variables (#1158) 2 years ago
boojack 1517688076
chore: update code structure (#1139)
* chore: update code structure

* chore: update
2 years ago
boojack ffe1073292
fix: schema path for demo mode (#1124) 2 years ago
Yoshino-s afaaec8492
feat(mode): add demo mode (#1121)
* feat(mode): add demo mode

* chroe: Update store/db/db.go

Co-authored-by: boojack <stevenlgtm@gmail.com>

* chroe: Update store/db/db.go

Co-authored-by: boojack <stevenlgtm@gmail.com>

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2 years ago
boojack 870559046f
chore: update skipper name (#1080) 2 years ago
boojack afc9709484
chore: update dev config (#857) 2 years ago
Steven 707d1a96eb chore: move `version` pkg to `server/version` 3 years ago
Steven 7d0407013e chore: make `golangci-lint` happy 3 years ago
boojack 15e1037433 chore: create backup when migration 3 years ago
boojack 7c94db0ca0 chore: use flags instead of env vars 3 years ago
boojack 536627007d
feat: schema migration handler (#100)
* chore: update about site dialog

* feat: schema migration

* chore: lint with golangci
3 years ago
boojack 011fcc7dd4 chore: rename module 3 years ago
boojack c3c2882dc5 chore: update server profile 3 years ago