From a467a7c173520926e941a1d18c32d109144e7509 Mon Sep 17 00:00:00 2001 From: boojack Date: Fri, 2 Dec 2022 21:09:11 +0800 Subject: [PATCH] feat: upgrade dev version to `0.8.1` (#656) * feat: upgrade version to `0.8.1` * chore: update --- server/server.go | 3 ++ server/version/version.go | 4 +-- web/src/components/Settings/MemberSection.tsx | 6 ++-- web/src/helpers/consts.ts | 6 ++-- web/src/less/memo-detail.less | 4 +-- web/src/less/memo-editor.less | 4 +-- web/src/less/resources-selector-dialog.less | 28 ++----------------- web/src/less/search-bar.less | 6 ++-- web/src/less/shortcut-list.less | 2 +- web/src/less/tag-list.less | 2 +- web/src/locales/en.json | 2 +- web/src/pages/Auth.tsx | 2 +- web/src/pages/MemoDetail.tsx | 22 --------------- web/src/theme/index.ts | 5 ++++ 14 files changed, 28 insertions(+), 68 deletions(-) diff --git a/server/server.go b/server/server.go index f821ed70..243f26ad 100644 --- a/server/server.go +++ b/server/server.go @@ -61,6 +61,9 @@ func NewServer(profile *profile.Profile) *Server { rootGroup := e.Group("") s.registerRSSRoutes(rootGroup) + webhookGroup := e.Group("/h") + s.registerResourcePublicRoutes(webhookGroup) + publicGroup := e.Group("/o") s.registerResourcePublicRoutes(publicGroup) s.registerGetterPublicRoutes(publicGroup) diff --git a/server/version/version.go b/server/version/version.go index fb57fea9..74248d09 100644 --- a/server/version/version.go +++ b/server/version/version.go @@ -7,10 +7,10 @@ import ( // Version is the service current released version. // Semantic versioning: https://semver.org/ -var Version = "0.8.0" +var Version = "0.8.1" // DevVersion is the service current development version. -var DevVersion = "0.8.0" +var DevVersion = "0.8.1" func GetCurrentVersion(mode string) string { if mode == "dev" { diff --git a/web/src/components/Settings/MemberSection.tsx b/web/src/components/Settings/MemberSection.tsx index 1b2883f6..1d7504a3 100644 --- a/web/src/components/Settings/MemberSection.tsx +++ b/web/src/components/Settings/MemberSection.tsx @@ -158,12 +158,10 @@ const PreferencesSection = () => { {t("common.yourself")} ) : ( - - } - /> undefined} /> diff --git a/web/src/theme/index.ts b/web/src/theme/index.ts index 6dac7471..2dae5fd9 100644 --- a/web/src/theme/index.ts +++ b/web/src/theme/index.ts @@ -2,6 +2,11 @@ import { extendTheme } from "@mui/joy"; const theme = extendTheme({ components: { + JoyButton: { + defaultProps: { + size: "sm", + }, + }, JoySelect: { defaultProps: { size: "sm",