Commit Graph

272 Commits

Author SHA1 Message Date
boojack
8e2844e0c5
fix: tag regexp (#409)
* chore: enable `no-unused-vars`

* fix: tag regexp
2022-11-04 00:28:29 +00:00
boojack
cf75054106
feat: add system setting to allow user signup (#407) 2022-11-03 21:47:36 +08:00
boojack
b7fbbed895
chore: update pagination for getting all memos (#396) 2022-11-01 14:57:33 +00:00
boojack
006cb56d28
fix: heatmap data (#394) 2022-11-01 14:06:02 +00:00
boojack
55dee0df7e
fix: session max age (#392) 2022-11-01 13:03:33 +00:00
boojack
2a275b2875
fix: memo list default value (#390) 2022-11-01 09:12:00 +08:00
boojack
ef5492074e
chore: update memo stats api (#387) 2022-10-31 20:57:07 +08:00
boojack
64f0662a61
fix: get memo list order (#370) 2022-10-29 12:54:54 +00:00
boojack
8fb59bbfb9
chore: release v0.7.0 (#367)
chore: update release version
2022-10-29 10:18:24 +00:00
Zeng1998
e85d368f87
feat: patch resource filename (#360)
* feat: resource filename rename

* update: resource filename rename

* update: resource filename rename

* update: validation about the filename

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-10-29 07:40:09 +00:00
boojack
95376f78f6
feat: add metric plugin (#361) 2022-10-29 03:15:39 +00:00
boojack
94df09c8c0
chore: update memo list api (#350) 2022-10-27 14:02:42 +00:00
boojack
9705406b82
feat: remove foreign key and triggers (#345) 2022-10-26 15:00:09 +00:00
Zhou Yunliang
4e00b1b0cd
feat: rss support (#343)
* feat: rss support

* chore: go mod tidy

* chore: change route group prefix

* Update server/server.go

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

* Update server/rss.go

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

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-10-26 20:13:02 +08:00
boojack
f09bb2689c
chore: release v0.6.1 (#332) 2022-10-21 15:21:37 +00:00
boojack
1c2998c4d8
feat: pagination for memo list (#330) 2022-10-21 14:51:41 +00:00
Zeng1998
fc5d5cf231
fix: patch memo with resource list (#328)
fix: 修改memo时添加图片不显示
2022-10-21 22:16:05 +08:00
boojack
b68d6e2693
feat: update memo sort option setting (#326)
feat: add memo display ts
2022-10-21 11:57:57 +00:00
Steven
6c53bd00f6 chore: restore user email 2022-10-15 11:27:12 +08:00
Steven
d670adc11f chore: release v0.6.0 2022-10-14 23:25:07 +08:00
Steven
f407488128 chore: update dev version 2022-10-14 23:03:54 +08:00
boojack
246851fdbe
fix: create memo with visibility (#281) 2022-10-13 09:01:09 +08:00
boojack
21c30ac157
chore: hide user email (#282) 2022-10-13 09:01:02 +08:00
steven
4477f47c25 chore: release version 0.5.0 2022-10-03 18:49:11 +08:00
steven
85dc29bfb9 feat: add linkedMemoAmount to resource 2022-10-03 09:39:49 +08:00
boojack
222c792539
fix: tag regexp (#253) 2022-10-02 23:12:06 +08:00
steven
ae8f292306 feat: create memo with resourceIdList 2022-10-01 10:57:14 +08:00
steven
33d31b7dca fix: delete memo resource 2022-10-01 00:06:56 +08:00
steven
4c465bef2d feat: add memo resource apis 2022-09-30 22:58:59 +08:00
steven
3bde9543f3 chore: update dev version v0.5.0 2022-09-30 22:58:12 +08:00
Steven
dc3052e225 chore: release v0.4.5 2022-09-24 09:41:14 +08:00
Steven
9b2e57cee5 fix: api access checks 2022-09-24 09:34:01 +08:00
Steven
63468dbaf3 chore: update memo detail access handler 2022-09-21 19:31:02 +08:00
Steven
721aa3c907 chore: update v0.4.4 2022-09-16 23:04:40 +08:00
Steven
19ef97a7ec chore: update dev version 2022-09-16 21:45:56 +08:00
Steven
707d1a96eb chore: move version pkg to server/version 2022-09-12 17:25:34 +08:00
Steven
b8a7df21f2 chore: release v0.4.3 2022-09-09 20:00:04 +08:00
Steven
fbce43870f chore: update resource base url 2022-09-09 07:40:21 +08:00
Steven
b1e6956441 chore: add cache for resource 2022-09-09 00:50:58 +08:00
boojack
e9ac6affef
feat: add explore page (#205) 2022-09-09 00:06:05 +08:00
Steven
f303dc21a0 chore: add get all memo api 2022-09-05 21:14:17 +08:00
Steven
d68891d91d chore: fix tag regex 2022-09-05 20:15:34 +08:00
Steven
4743818fe7 chore: update not found handler in deleting 2022-09-03 18:54:22 +08:00
Steven
64332c3e6a chore: update tag regexp 2022-08-25 23:58:03 +08:00
boojack
cdbd934c4e
fix: tag regexp (#173) 2022-08-25 19:24:21 +08:00
Steven
7d0407013e chore: make golangci-lint happy 2022-08-24 21:53:12 +08:00
boojack
e54ff5ec9e
fix: unescape filename (#158) 2022-08-22 20:26:47 +08:00
Steven
f0a23f4620 fix: generate uuid when creating new user 2022-08-21 19:10:02 +08:00
Steven
c60bb12424 chore: update user setting validator 2022-08-20 21:51:28 +08:00
Steven
3b1bb4a95d chore: disable setting memo visibility when creating 2022-08-20 21:22:36 +08:00
Steven
05a5c59a7e chore: update user create validator 2022-08-20 21:03:15 +08:00
Steven
68b30063a9 chore: update prod schema 2022-08-20 11:36:24 +08:00
Steven
d5b88775d9 chore: update user setting keys 2022-08-19 21:56:22 +08:00
Steven
e3fac742c5 chore: update logger 2022-08-19 00:45:02 +08:00
Steven
ce390f3f79 chore: add memo visibility with user setting 2022-08-19 00:00:47 +08:00
boojack
90b881502d
feat: add user_setting model (#145)
* feat: add `user_setting` model

* chore: add global store

* chore: update settings in web

* chore: update `i18n` example
2022-08-13 14:35:33 +08:00
boojack
d8e10ba399 chore: use tx for stores 2022-08-07 10:17:12 +08:00
boojack
8c28721839 chore: use tx for user store 2022-08-07 09:23:46 +08:00
boojack
84564891be feat: add view resource dialog 2022-08-07 01:30:48 +08:00
boojack
99df4acfe9 chore: use cors middleware 2022-07-30 14:52:37 +08:00
boojack
5617118fa8 fix: acl middleware 2022-07-28 20:09:25 +08:00
boojack
d83f204d8c chore: update acl middleware 2022-07-27 19:45:37 +08:00
boojack
7b1bad5b29 feat: update delete user api 2022-07-26 22:32:26 +08:00
boojack
0c2adfa1d2 feat: add delete user api 2022-07-26 21:41:20 +08:00
boojack
b7339e00ba feat: update finding memo with visibility 2022-07-26 21:12:20 +08:00
boojack
15e1037433 chore: create backup when migration 2022-07-22 23:21:12 +08:00
boojack
1b50ab5dca chore: use echo static middleware to serve dist 2022-07-15 21:25:29 +08:00
boojack
6053df050c chore: update create memo with visibility 2022-07-15 21:25:07 +08:00
boojack
46d7ecca88 feat: use go embed 2022-07-10 09:02:56 +08:00
boojack
0505598509 fix: data desensitize 2022-07-09 21:01:09 +08:00
boojack
7c94db0ca0 chore: use flags instead of env vars 2022-07-09 12:57:08 +08:00
boojack
6a8c559e8c chore: update visitor view buttons 2022-07-09 12:00:26 +08:00
boojack
ac560dfcf9 chore: update get user by id 2022-07-09 08:31:07 +08:00
boojack
1afc183458 feat: update memo visibility in frontend 2022-07-08 23:38:24 +08:00
boojack
697d01e306
feat: add visibility field to memo (#109)
* feat: add `visibility` field to memo

* chore: fix typo
2022-07-08 22:23:27 +08:00
boojack
aed137472c fix: open id checking order 2022-07-08 22:17:17 +08:00
boojack
bdc9632b5b
chore: rename user role (#108)
* chore: rename user role to `host`

* chore: related frontend changes

* chore: fix migration file

* chore: use tricky sql
2022-07-08 22:16:18 +08:00
boojack
6f32643d7c
refactor: visitor view (#107)
* refactor: update api

* refactor: visitor view

* chore: update seed data
2022-07-07 23:11:20 +08:00
Hyoban
6b5d5e757e
feat: personal memos page (#105)
* feat: no need to log in to view memos

* chore: add a normal user to seed

* feat: page for other members

* fix: replace window.location

* fix: can not get username on home

* fix: check userID

* fix: can visit other user's page after login

* fix: do not redirect on wrong path

* fix: path error when clicked heatmap

* refactor: revise for review

* chore: remove unused import

* refactor: revise for review

* feat: update each user's route to /u/:userId.

* chore: eslint for import sort

* refactor: revise for review
2022-07-07 20:22:36 +08:00
boojack
592e037f21 feat: use api with open_id instead of webhooks 2022-07-05 22:04:17 +08:00
boojack
2fe2b82809 chore: update seed data 2022-07-02 15:01:59 +08:00
boojack
536627007d
feat: schema migration handler (#100)
* chore: update about site dialog

* feat: schema migration

* chore: lint with golangci
2022-07-02 10:47:16 +08:00
boojack
5b2e6a568f
chore: get tags by openid (#95) 2022-06-28 22:32:10 +08:00
boojack
011fcc7dd4 chore: rename module 2022-06-27 22:09:06 +08:00
Hyoban
a62c982a3d
fix: cannot register in production (#91) 2022-06-27 19:11:56 +08:00
boojack
4ce728300b chore: data desensitize for owner 2022-06-22 19:16:31 +08:00
boojack
ceef257348 chore: get tags from exist memos 2022-06-21 23:29:07 +08:00
boojack
85ce72282b fix: response type 2022-06-21 22:29:06 +08:00
Steven
9f81362027
feat: add /api/tag (#82) 2022-06-21 21:58:33 +08:00
STEVEN
164873b344
chore: find memo by tag (#74) 2022-06-14 23:09:03 +08:00
boojack
7b6be96eb3 chore: add patch memo by open api 2022-05-22 22:39:24 +08:00
boojack
c3c2882dc5 chore: update server profile 2022-05-22 09:29:34 +08:00
boojack
7b668f17f5 chore: rename repo 2022-05-21 12:33:18 +08:00
boojack
7b8a825489 chore: add greeting banner 2022-05-20 22:48:36 +08:00
boojack
bc22f69ac5 refactor: raw struct for store 2022-05-19 18:32:04 +08:00
boojack
74ab42069f chore: add service version 2022-05-17 21:21:13 +08:00
boojack
c492317ffe feat: member manage section in setting dialog 2022-05-16 22:19:39 +08:00
boojack
fbf4afff8e refactor: store 2022-05-16 07:37:23 +08:00
STEVEN
5fc0fb24f4
feat: upload resource by openid api (#55) 2022-05-15 22:54:21 +08:00
STEVEN
f1cca0f298
feat: add user role field (#49)
* feat: add user role field

* chore: fix typo

* feat: update signup api
2022-05-15 10:57:54 +08:00
boojack
d947a512e6 chore: typo Id to ID 2022-05-03 02:05:43 +08:00
boojack
da94b96b0e chore: update mode flag 2022-05-02 09:40:25 +08:00
boojack
406109b091 update: db initialization 2022-05-01 11:06:29 +08:00
email
b3a431570c feat: system api with profiles 2022-03-29 20:53:43 +08:00
email
1cebf1dbd0 feat: const session secret key in dev 2022-03-29 07:30:29 +08:00
email
8f76120e4e chore: clean server 2022-03-29 00:01:34 +08:00
email
3874523e61 chore: format server code 2022-02-18 22:21:10 +08:00
email
6f3663cd96 feat: user hash password 2022-02-06 16:19:20 +08:00
email
c77996a891 feat: open api for get memos 2022-02-06 00:25:41 +08:00
email
ef8034836c fix: get session handler 2022-02-05 17:04:23 +08:00
email
61cf4512b0 fix: delete response json 2022-02-05 13:17:43 +08:00
email
925773dbd6 chore: address comments 2022-02-05 11:43:25 +08:00
email
825bea59f0 fix: user api 2022-02-04 21:24:21 +08:00
email
4535e0ce6d fix: resource api 2022-02-04 18:54:24 +08:00
email
d609f2741d feat: compose response data 2022-02-04 17:06:04 +08:00
email
d6418f5ff9 chore(go): use json instead of jsonapi 2022-02-04 16:51:48 +08:00
email
a8f0c9a7b1 fix: get&set session 2022-02-04 00:56:44 +08:00
email
d661134b03 refactor: backend 2022-02-03 15:32:03 +08:00
email
9bec29a03e feat: support open api with webhooks 2022-01-09 11:44:12 +08:00
STEVEN
aa40793a68
Add resources api (#9)
* feat: add resource api

* update delete model return variables
2021-12-14 20:08:12 +08:00
steven
50c8947ad5 feat: remove user wx_open_id key 2021-12-12 21:49:46 +08:00
steven
f70ad6891d add dockerfile 2021-12-12 11:43:27 +08:00