Commit Graph

390 Commits

Author SHA1 Message Date
boojack
8d88477538
chore: rename http getter package (#1349) 2023-03-14 08:38:54 +08:00
boojack
50f36e3ed5
chore: upgrade version to 0.11.2 (#1336) 2023-03-11 13:20:24 +08:00
boojack
e5cbb8cd56
refactor: openAI config system setting (#1333) 2023-03-11 12:26:40 +08:00
Cologler
8c774316ae
refactor: build storage key (#1326)
* refactor build storage key

* sort imports

* use gofmt to format code
2023-03-09 22:41:48 +08:00
Yunwei Xiao
c57cea1aaa
fix: fix the typo of openai (#1298) 2023-03-07 08:38:41 +08:00
Wujiao233
003161ea54
feat: support set openai api host (#1292)
* Docker

* feat: support set openai api host

* fix css

* fix eslint

* use API in backend & put host check in plugin/openai

* fix go-static-checks
2023-03-06 20:10:53 +08:00
Zeng1998
fd99c5461c
feat(s3): customize filenames via placeholders (#1285)
* feat(s3): customize filenames via placeholders

* fix go-static-checks

* add tips on the frontend

* fix eslint check

* remove yarn.lock

* remove Config.Path

* update tips

* fix

* update
2023-03-06 12:04:19 +00:00
boojack
4335897367
chore: remove metrics plugin (#1276)
* chore: remove metrics plugin

* chore: update
2023-03-05 21:42:32 +08:00
boojack
e150599274
chore: upgrade version to v0.11.1 (#1247) 2023-03-04 18:49:50 +08:00
boojack
df04e852bf
feat: implement openai integration (#1245)
* feat: implement openai integration

* chore: update
2023-03-04 18:22:10 +08:00
Alex Zhao
9d4bb5b3af
feat: add support for s3 path (#1233)
* add support for path

* fix typo and switch positions with Path and Bucket

* using path method instead of string concatenation
2023-03-04 07:59:44 +08:00
Thareek Anvar M
e83ea7fd76
fix: login security issue (#1198)
* fix

* fix bug

* changes

* Revert "changes"

This reverts commit 2b2084c7bd.

* should close the toast if its error also

* no internal errors + sso

* change the text to Incorrect login credentials, please try again
2023-03-01 22:33:43 +08:00
boojack
9577f6dbe8
feat: add resource visibility to user setting (#1190) 2023-02-27 22:16:33 +08:00
boojack
977e7f55e5
feat: add visibility field to resource (#1185) 2023-02-27 21:26:50 +08:00
Zhizhen He
50a99e9120
fix: correct comments for exported functions and variables (#1158) 2023-02-25 20:48:38 +08:00
Zeng1998
57479b250a
chore: remove validators on the frontend (#1156)
* chore: update minlength of username

* remove the validator on frontend

* update
2023-02-25 14:59:29 +08:00
boojack
6e2e7ac782
fix: remove memo list api (#1151) 2023-02-24 21:11:12 +08:00
boojack
cc23d5cafe
chore: upgrade version to 0.11.0 (#1143)
* chore: upgrade version to `0.11.0`

* chore: update
2023-02-24 08:31:54 +08:00
boojack
9c5b44d070
feat: update storage schema (#1142) 2023-02-24 00:02:51 +08:00
boojack
84fb8b2288
feat: update storage setting section (#1140) 2023-02-23 23:22:34 +08:00
boojack
6d2d322140
chore: show pinned memos in explore (#1141) 2023-02-23 19:59:18 +08:00
boojack
1517688076
chore: update code structure (#1139)
* chore: update code structure

* chore: update
2023-02-23 00:07:16 +08:00
boojack
29124f56bb
chore: update memo service (#1138)
* chore: update memo service

* chore: update
2023-02-22 20:07:55 +08:00
boojack
42d849abfc
chore: update explore header style (#1137) 2023-02-22 19:21:08 +08:00
boojack
ffe1073292
fix: schema path for demo mode (#1124) 2023-02-19 16:34:15 +08:00
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>
2023-02-19 13:36:45 +08:00
boojack
d0b8b076cf
feat: implement sign in with SSO (#1119)
* feat: implement sign in with SSO

* chore: update

* chore: update

* chore: update
2023-02-19 09:50:30 +08:00
Stephen Zhou
65aa51d525
feat: generate RSS item title and limit item count (#1117)
* feat: generate RSS item title and limit item count

* Update server/rss.go

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

* Update server/rss.go

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-02-18 22:20:28 +08:00
boojack
852903bdbd
fix: idp config definition (#1115)
fix: idp definition
2023-02-18 18:31:03 +08:00
boojack
0f57629d25
feat: implement idp server (#1111)
* feat: implement idp server

* chore: update
2023-02-18 11:29:12 +08:00
boojack
096a71c58b
feat: add avatar_url field to user table (#1106)
refactor: add `avatar_url` field to user table
2023-02-17 23:55:56 +08:00
boojack
c6e525b06f
chore: remove unused fields of storage table (#1104) 2023-02-17 20:12:08 +08:00
boojack
caf054bae7
chore: add beta badge to storage (#1099)
* chore: add beta badge to storage

* chore: update
2023-02-16 21:21:39 +08:00
boojack
7e8011ba34
chore: support deleting storage (#1095) 2023-02-15 22:54:46 +08:00
Zeng1998
2493bb0fb7
feat: storage service frontend (#1088) 2023-02-14 09:56:04 +08:00
Christopher
4641e89c17
feat(system): support for disabling public memos (#1003)
* feat(system): support for disabling public memos

* fix(web/editor): set visibility to private on disabled public memos

* feat(server/memo): find/check if public memos are disabled

* fix(server/memo): handle error for finding system error

* fix(server/memo): unmarshal visiblity when getting system settings

* chore(web): move side effect imports to end

* Update memo.go

---------

Co-authored-by: boojack <stevenlgtm@gmail.com>
2023-02-13 16:07:31 +00:00
Zeng1998
1e4a81dea9
feat: storage service backend (#1086)
* feat: storage service backend

* update go.mod

* update the column name (urlPrefix -> url_prefix)

* update

* update
2023-02-13 19:36:48 +08:00
boojack
870559046f
chore: update skipper name (#1080) 2023-02-12 17:29:23 +08:00
boojack
b11d2130a0
chore: validate external link (#1069) 2023-02-11 17:34:29 +08:00
boojack
aad97c4c54
chore: update signup api (#1067) 2023-02-11 15:15:56 +08:00
boojack
3590d3f8b6
feat: update store cache (#1066)
* feat: update store cache

* chore: update
2023-02-11 14:19:26 +08:00
boojack
b366ce7594
fix: delete tag (#1062) 2023-02-10 23:57:02 +08:00
Zeng1998
1eacf5367d
chore: upgrade version to 0.10.3 (#1060) 2023-02-10 12:03:18 +08:00
boojack
a004dcf320
fix: pass empty condition in rss (#1058)
fix: handle empty condition in rss
2023-02-10 08:28:14 +08:00
boojack
bec1558488
fix: patch resource id (#1055) 2023-02-09 23:20:36 +08:00
Stephen Zhou
168c4f6950
feat: more rss info (#1052)
* feat: more rss info

* fix: ci
2023-02-09 21:17:15 +08:00
boojack
1ace332152
feat: graceful shutdown server (#1016) 2023-02-03 10:30:18 +08:00
Zeng1998
2d14047c73
fix: pdf resource preview (#1008) 2023-02-02 20:34:24 +08:00
boojack
4a7b764ab3
chore: remove unused flags for sqlite (#997) 2023-01-30 00:03:21 +08:00
boojack
6c3ff6de63
chore: get resource blob optional (#991) 2023-01-25 16:11:02 +08:00
boojack
82f61f2a0e
chore: upgrade version to 0.10.2 (#983) 2023-01-21 08:56:26 +08:00
boojack
c5368fe8d3
chore: update resource dialog style (#982) 2023-01-21 08:46:49 +08:00
Wujiao233
0aaf153717
fix: video and audio can't play on safari (#980)
* fix: video can't play on safari

* fix: audio can't play on safari
2023-01-20 16:52:38 +08:00
Zeng1998
f8855ddb56
feat: support empty content memo (#963)
feat: support empty-text memo
2023-01-17 20:56:57 +08:00
boojack
fae0b64a08
fix: delete tag api (#950)
* fix: delete tag api

* chore: update
2023-01-14 12:08:31 +08:00
boojack
677750ef51
chore: upgrade version to 0.10.1 (#949) 2023-01-14 08:00:07 +08:00
boojack
219d2754a0
chore: remove existed tags in suggestion (#944) 2023-01-13 22:37:30 +08:00
boojack
40d25f7dca
fix: skip api error for static middleware (#941) 2023-01-13 07:06:15 +08:00
boojack
8c146aed68
feat: update memo resources style (#933)
* feat: update memo resources style

* chore: update
2023-01-12 00:00:44 +08:00
boojack
0f057e81e9
fix: version compare (#916)
* fix: version compare

* chore: update
2023-01-07 13:58:42 +08:00
boojack
e2e8130f4c
fix: sort version (#914) 2023-01-07 11:49:58 +08:00
boojack
46c13a4b7f
chore: add skipper for secure (#913) 2023-01-07 10:51:34 +08:00
boojack
491859bbf6
chore: update activity metrics (#908) 2023-01-05 20:56:50 +08:00
boojack
f16123a624
chore: update memo create activity (#903) 2023-01-03 23:49:11 +08:00
boojack
d50ad9433f
feat: persistent session name (#902)
* feat: persistent session name

* chore: update
2023-01-03 23:05:42 +08:00
boojack
79180928d4
chore: update server activity (#898) 2023-01-03 20:05:37 +08:00
boojack
e5550828a0
chore: update activity payload (#891) 2023-01-02 23:18:12 +08:00
boojack
5195012217
feat: add activity table (#888)
feat: introduce activity
2023-01-01 23:55:02 +08:00
boojack
a797280e3f
chore: update middleware skipper (#887)
* chore: update middleware skipper

* chore: update
2023-01-01 23:26:21 +08:00
boojack
861eeb7b0f
chore: add skipper in CSRF (#885) 2023-01-01 21:32:17 +08:00
boojack
24b21aa9d7
chore: update version to 0.9.1 (#882) 2022-12-31 15:40:53 +08:00
boojack
c9bb2b785d
chore: fix CSRF (#876) 2022-12-30 00:17:19 +08:00
boojack
b6f7a85a2a
fix: reload page when sign out (#871) 2022-12-28 20:58:59 +08:00
boojack
3556ae4e65
fix: access control (#870) 2022-12-28 20:22:52 +08:00
boojack
f888c62840
chore: update userinfo validator (#868)
* chore: update userinfo validator

* chore: update actions

* chore: update
2022-12-27 21:51:43 +08:00
boojack
afc9709484
chore: update dev config (#857) 2022-12-25 10:39:45 +08:00
boojack
05b41804e3
chore: hide host user email (#856) 2022-12-25 10:28:51 +08:00
boojack
27fd1e2880
chore: remove secure flag (#848) 2022-12-24 08:31:37 +08:00
boojack
99d9cc9168
fix: set csp header only for resource (#836) 2022-12-23 20:02:42 +08:00
boojack
119603da5d
chore: upgrade version to 0.9.0 (#835) 2022-12-23 19:49:55 +08:00
boojack
c07b4a57ca
feat: add secure middleware (#832) 2022-12-23 18:58:55 +08:00
boojack
9f25badde3
chore: update logo format to png (#830) 2022-12-23 00:21:53 +08:00
boojack
7efa749c66
feat: customize system profile (#828) 2022-12-22 19:48:44 +08:00
boojack
68a77b6e1f
feat: create tag dialog (#814) 2022-12-21 23:59:03 +08:00
boojack
c177db69d5
chore: update tag regexp (#785) 2022-12-20 09:44:41 +08:00
boojack
b704c20809
chore: return raw text for html (#782) 2022-12-19 18:45:17 +08:00
lujiefsi
726285e634
chore: restrict the html file (#749)
* restrict the html file

* replace spaces with table

* remove space
2022-12-19 18:26:50 +08:00
boojack
b67ed1ee13
feat: customize system profile (#774)
* feat: system setting for customized profile

* chore: update

* feat: update frontend

* chore: update
2022-12-18 21:18:30 +08:00
boojack
7ec22482c1
chore: upgrade version to 0.8.3 (#755) 2022-12-16 23:12:07 +08:00
Zeng1998
1dee8ae49f
fix: url resource filename decode (#738)
* fix: url resource filename decode

* update

* update

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

Co-authored-by: boojack <stevenlgtm@gmail.com>
2022-12-12 20:00:21 +08:00
boojack
dd6e2337e6
chore: update version to 0.8.2 (#722) 2022-12-10 13:23:38 +08:00
Zeng1998
147185309c
feat: vacuum database in setting (#694)
* feat: vacuum database in setting

* update

* update

* update

* update
2022-12-07 22:45:47 +08:00
boojack
a467a7c173
feat: upgrade dev version to 0.8.1 (#656)
* feat: upgrade version to `0.8.1`

* chore: update
2022-12-02 21:09:11 +08:00
boojack
7c6d7226f5
feat: update appearance selector (#645) 2022-12-01 20:57:19 +08:00
Zeng1998
0402cb7b27
fix: no user settings returns when patch user (#622) 2022-11-28 19:38:44 +08:00
Zeng1998
54271c1598
chore: fix some typos (#587) 2022-11-26 06:23:29 +00:00
boojack
85db6721de
chore: disable metrics collector (#580) 2022-11-26 09:23:38 +08:00
boojack
b511a7b634
fix: user patch with empty email (#578) 2022-11-25 22:34:24 +08:00
boojack
88c3b1ad0f
feat: update prod version (#577) 2022-11-25 22:17:24 +08:00
boojack
29880be283
chore: update tests (#572) 2022-11-25 21:51:53 +08:00
boojack
2042737004
feat: add username field (#544)
* feat: add username field

* chore: update
2022-11-23 22:27:21 +08:00
boojack
a0667abec8
chore: update data initial requests (#538) 2022-11-22 23:45:11 +08:00
boojack
17c1b97d23
fix: tag regexp (#518)
* fix: tag regexp

* chore: update
2022-11-21 23:49:52 +08:00
boojack
013ded1e04
chore: code clean (#516) 2022-11-21 23:23:05 +08:00
boojack
2d49e96a8a
feat: get image blob in backend (#495)
* feat: get image blob in backend

* chore: update
2022-11-19 18:43:56 +08:00
boojack
477130aa85
chore: update db filesize access control (#493) 2022-11-19 17:07:40 +08:00
boojack
878e0eabc8
feat: add crawler plugin (#492)
* feat: add crawler plugin

* chore: update

* chore: go mod tidy

* chore: update
2022-11-19 16:58:55 +08:00
boojack
a4a5e539ed
chore: update dev version (#489) 2022-11-19 09:57:54 +08:00
boojack
a2831b37c4
feat: add database filesize in UI (#488) 2022-11-18 21:17:52 +08:00
boojack
ceac53b6d0
feat: additional script system setting (#467) 2022-11-14 22:21:19 +08:00
Stephen Zhou
205ad0fd6d
chore: change rss item title (#464) 2022-11-14 13:28:50 +08:00
boojack
bf07ab9e2f
fix: remove duplicate tag (#450)
fix: remove dumplicate tag
2022-11-12 11:31:16 +08:00
boojack
fe05e6a464
chore: update version 0.7.2 (#447) 2022-11-12 09:19:44 +08:00
boojack
79af7e8abf
fix: parse tag list (#446) 2022-11-12 09:02:44 +08:00
boojack
a142d975d7
feat: additional style system setting (#444)
* feat: additional style system setting

* feat: remove editor font setting
2022-11-11 23:42:44 +08:00
boojack
8f119c4265
chore: update session key (#440) 2022-11-10 20:51:37 +08:00
boojack
dc5d705f8c
feat: vacuum records manually (#420) 2022-11-06 04:21:58 +00:00
boojack
0d6281ef6b
chore: update signin page (#410)
* chore: update signin page

* chore: update version `v0.7.1`
2022-11-04 12:28:16 +00:00
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