release: 1.3.0-beta.1.

pull/597/head v1.3.0-beta.1
ruibaby 2020-02-25 15:30:19 +08:00
parent ca33475e31
commit 7166829d87
39 changed files with 2 additions and 408 deletions

View File

@ -9,7 +9,7 @@ apply plugin: 'io.spring.dependency-management'
group = 'run.halo.app'
archivesBaseName = 'halo'
version = '1.2.0'
version = '1.3.0-beta.1'
sourceCompatibility = '1.8'
description = 'Halo, personal blog system developed in Java.'

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
.profile-center-avatarHolder[data-v-5b5b3393]{text-align:center;margin-bottom:24px}.profile-center-avatarHolder>.avatar[data-v-5b5b3393]{margin:0 auto;width:104px;height:104px;margin-bottom:20px;border-radius:50%;overflow:hidden;cursor:pointer}.profile-center-avatarHolder>.avatar img[data-v-5b5b3393]{height:100%;width:100%}.profile-center-avatarHolder .username[data-v-5b5b3393]{color:rgba(0,0,0,.85);font-size:20px;line-height:28px;font-weight:500;margin-bottom:4px}.profile-center-detail p[data-v-5b5b3393]{margin-bottom:8px;padding-left:26px;position:relative}.profile-center-detail i[data-v-5b5b3393]{position:absolute;height:14px;width:14px;left:0;top:4px}

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
@font-face{font-family:fontello;src:url(../fonts/fontello.e73a0647.eot);src:url(../fonts/fontello.e73a0647.eot#iefix) format("embedded-opentype"),url(../fonts/fontello.8d4a4e6f.woff2) format("woff2"),url(../fonts/fontello.a782baa8.woff) format("woff"),url(../fonts/fontello.068ca2b3.ttf) format("truetype"),url(../assets/fontello.9354499c.svg#fontello) format("svg");font-weight:400;font-style:normal}[class*=" fa-halo-"]:before,[class^=fa-halo-]:before{font-family:fontello;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-halo-bold:before{content:"\E800"}.fa-halo-italic:before{content:"\E801"}.fa-halo-link:before{content:"\E803"}.fa-halo-picture-o:before{content:"\E804"}.fa-halo-repeat:before{content:"\E805"}.fa-halo-undo:before{content:"\E806"}.fa-halo-trash-o:before{content:"\E807"}.fa-halo-floppy-o:before{content:"\E808"}.fa-halo-compress:before{content:"\E809"}.fa-halo-eye:before{content:"\E80A"}.fa-halo-eye-slash:before{content:"\E80B"}.fa-halo-question-circle:before{content:"\E80C"}.fa-halo-times:before{content:"\E80D"}.fa-halo-arrows-alt:before{content:"\F0B2"}.fa-halo-bars:before{content:"\F0C9"}.fa-halo-list-ul:before{content:"\F0CA"}.fa-halo-list-ol:before{content:"\F0CB"}.fa-halo-strikethrough:before{content:"\F0CC"}.fa-halo-underline:before{content:"\F0CD"}.fa-halo-table:before{content:"\F0CE"}.fa-halo-columns:before{content:"\F0DB"}.fa-halo-quote-left:before{content:"\F10D"}.fa-halo-code:before{content:"\F121"}.fa-halo-superscript:before{content:"\F12B"}.fa-halo-subscript:before{content:"\F12C"}.fa-halo-header:before{content:"\F1DC"}.fa-halo-window-maximize:before{content:"\F2D0"}.markdown-body strong{font-weight:bolder}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0ba750a2"],{aa1e:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("a-row",{attrs:{gutter:12}},[e("a-col",{style:{"padding-bottom":"12px"},attrs:{xl:10,lg:10,md:10,sm:24,xs:24}},[e("a-card",{attrs:{title:t.title,bodyStyle:{padding:"16px"}}},[e("a-form",{attrs:{layout:"horizontal"}},[e("a-form-item",{attrs:{label:"名称:",help:"* 页面上所显示的名称"}},[e("a-input",{model:{value:t.tagToCreate.name,callback:function(a){t.$set(t.tagToCreate,"name",a)},expression:"tagToCreate.name"}})],1),e("a-form-item",{attrs:{label:"别名",help:"* 一般为单个标签页面的标识,最好为英文"}},[e("a-input",{model:{value:t.tagToCreate.slugName,callback:function(a){t.$set(t.tagToCreate,"slugName",a)},expression:"tagToCreate.slugName"}})],1),e("a-form-item",["create"===t.formType?e("a-button",{attrs:{type:"primary"},on:{click:t.handleSaveClick}},[t._v("保存")]):e("a-button-group",[e("a-button",{attrs:{type:"primary"},on:{click:t.handleSaveClick}},[t._v("更新")]),"update"===t.formType?e("a-button",{attrs:{type:"dashed"},on:{click:t.handleAddTag}},[t._v("返回添加")]):t._e()],1),"update"===t.formType?e("a-popconfirm",{attrs:{title:"你确定要删除【"+t.tagToCreate.name+"】标签?",okText:"确定",cancelText:"取消"},on:{confirm:function(a){return t.handleDeleteTag(t.tagToCreate.id)}}},[e("a-button",{staticStyle:{float:"right"},attrs:{type:"danger"}},[t._v("删除")])],1):t._e()],1)],1)],1)],1),e("a-col",{style:{"padding-bottom":"12px"},attrs:{xl:14,lg:14,md:14,sm:24,xs:24}},[e("a-card",{attrs:{title:"所有标签",bodyStyle:{padding:"16px"}}},[0==t.tags.length?e("a-empty"):t._l(t.tags,(function(a){return e("a-tooltip",{key:a.id,attrs:{placement:"topLeft"}},[e("template",{slot:"title"},[e("span",[t._v(t._s(a.postCount)+" 篇文章")])]),e("a-tag",{staticStyle:{"margin-bottom":"8px"},attrs:{color:"blue"},on:{click:function(e){return t.handleEditTag(a)}}},[t._v(t._s(a.name))])],2)}))],2)],1)],1)],1)},o=[],r=(e("7f7f"),e("d28d")),i={data:function(){return{formType:"create",tags:[],tagToCreate:{}}},computed:{title:function(){return this.tagToCreate.id?"修改标签":"添加标签"}},created:function(){this.loadTags()},methods:{loadTags:function(){var t=this;r["a"].listAll(!0).then((function(a){t.tags=a.data.data}))},handleSaveClick:function(){this.createOrUpdateTag()},handleAddTag:function(){this.formType="create",this.tagToCreate={}},handleEditTag:function(t){this.tagToCreate=t,this.formType="update"},handleDeleteTag:function(t){var a=this;r["a"].delete(t).then((function(t){a.$message.success("删除成功!"),a.loadTags(),a.handleAddTag()}))},createOrUpdateTag:function(){var t=this;this.tagToCreate.name?(this.tagToCreate.id?r["a"].update(this.tagToCreate.id,this.tagToCreate).then((function(a){t.$message.success("更新成功!"),t.loadTags(),t.tagToCreate={}})):r["a"].create(this.tagToCreate).then((function(a){t.$message.success("保存成功!"),t.loadTags(),t.tagToCreate={}})),this.handleAddTag()):this.$notification["error"]({message:"提示",description:"标签名称不能为空!"})}}},s=i,l=e("2877"),c=Object(l["a"])(s,n,o,!1,null,null,null);a["default"]=c.exports},d28d:function(t,a,e){"use strict";var n=e("9efd"),o="/api/admin/tags",r={listAll:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return Object(n["a"])({url:o,params:{more:t},method:"get"})},createWithName:function(t){return Object(n["a"])({url:o,data:{name:t},method:"post"})},create:function(t){return Object(n["a"])({url:o,data:t,method:"post"})},update:function(t,a){return Object(n["a"])({url:"".concat(o,"/").concat(t),data:a,method:"put"})},delete:function(t){return Object(n["a"])({url:"".concat(o,"/").concat(t),method:"delete"})}};a["a"]=r}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d2165e6"],{c1bd:function(a,e,t){"use strict";t.r(e);var s=function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("div",{staticClass:"container-wrapper"},[a._m(0),t("div",{staticClass:"animated"},[t("a-form",{attrs:{layout:"vertical"}},[t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.1s"}},[t("a-input",{attrs:{placeholder:"用户名"},model:{value:a.resetParam.username,callback:function(e){a.$set(a.resetParam,"username",e)},expression:"resetParam.username"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"user"},slot:"prefix"})],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.2s"}},[t("a-input",{attrs:{placeholder:"邮箱"},model:{value:a.resetParam.email,callback:function(e){a.$set(a.resetParam,"email",e)},expression:"resetParam.email"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"mail"},slot:"prefix"})],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.3s"}},[t("a-input",{attrs:{type:"password",placeholder:"验证码"},model:{value:a.resetParam.code,callback:function(e){a.$set(a.resetParam,"code",e)},expression:"resetParam.code"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"safety-certificate"},slot:"prefix"}),t("a",{attrs:{slot:"addonAfter",href:"javascript:void(0);"},on:{click:a.handleSendCode},slot:"addonAfter"},[a._v("\n 获取\n ")])],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.4s"}},[t("a-input",{attrs:{type:"password",placeholder:"新密码",autocomplete:"new-password"},model:{value:a.resetParam.password,callback:function(e){a.$set(a.resetParam,"password",e)},expression:"resetParam.password"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.5s"}},[t("a-input",{attrs:{type:"password",placeholder:"确认密码",autocomplete:"new-password"},model:{value:a.resetParam.confirmPassword,callback:function(e){a.$set(a.resetParam,"confirmPassword",e)},expression:"resetParam.confirmPassword"}},[t("a-icon",{staticStyle:{color:"rgba(0,0,0,.25)"},attrs:{slot:"prefix",type:"lock"},slot:"prefix"})],1)],1),t("a-form-item",{staticClass:"animated fadeInUp",style:{"animation-delay":"0.6s"}},[t("a-button",{attrs:{type:"primary",block:!0},on:{click:a.handleResetPassword}},[a._v("重置密码")])],1),t("a-row",[t("router-link",{attrs:{to:{name:"Login"}}},[t("a",{staticClass:"tip animated fadeInUp",style:{"animation-delay":"0.7s"}},[a._v("\n 返回登陆\n ")])])],1)],1)],1)])},r=[function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("div",{staticClass:"halo-logo animated fadeInUp"},[t("span",[a._v("Halo"),t("small",[a._v("重置密码")])])])}],i=t("50fc"),o={data:function(){return{resetParam:{username:"",email:"",code:"",password:"",confirmPassword:""}}},methods:{handleSendCode:function(){var a=this;if(this.resetParam.username)if(this.resetParam.email){var e=this.$message.loading("发送中...",0);i["a"].sendResetCode(this.resetParam).then((function(e){a.$message.info("邮件发送成功,五分钟内有效")})).finally((function(){e()}))}else this.$notification["error"]({message:"提示",description:"邮箱不能为空!"});else this.$notification["error"]({message:"提示",description:"用户名不能为空!"})},handleResetPassword:function(){var a=this;this.resetParam.username?this.resetParam.email?this.resetParam.code?this.resetParam.password?this.resetParam.confirmPassword?this.resetParam.confirmPassword===this.resetParam.password?i["a"].resetPassword(this.resetParam).then((function(e){a.$message.info("密码重置成功!"),a.$router.push({name:"Login"})})):this.$notification["error"]({message:"提示",description:"确认密码和新密码不匹配!"}):this.$notification["error"]({message:"提示",description:"确认密码不能为空!"}):this.$notification["error"]({message:"提示",description:"新密码不能为空!"}):this.$notification["error"]({message:"提示",description:"验证码不能为空!"}):this.$notification["error"]({message:"提示",description:"邮箱不能为空!"}):this.$notification["error"]({message:"提示",description:"用户名不能为空!"})}}},n=o,l=t("2877"),c=Object(l["a"])(n,s,r,!1,null,null,null);e["default"]=c.exports}}]);

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d221c57"],{cc89:function(t,e,n){"use strict";n.r(e);var s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("exception-page",{attrs:{type:"404"}})},i=[],c=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"exception"},[n("div",{staticClass:"img"},[n("img",{attrs:{src:t.config[t.type].img}})]),n("div",{staticClass:"content"},[n("h1",[t._v(t._s(t.config[t.type].title))]),n("div",{staticClass:"desc"},[t._v(t._s(t.config[t.type].desc))]),n("div",{staticClass:"action"},[n("a-button",{attrs:{type:"primary"},on:{click:t.handleToHome}},[t._v("返回首页")])],1)])])},a=[],o={404:{img:"/images/404.svg",title:"404",desc:"抱歉,你访问的页面不存在"},500:{img:"/images/500.svg",title:"500",desc:"抱歉,服务器出错了"}},l=o,r={name:"Exception",props:{type:{type:String,default:"404"}},data:function(){return{config:l}},methods:{handleToHome:function(){this.$router.push({name:"Dashboard"})}}},p=r,u=n("2877"),d=Object(u["a"])(p,c,a,!1,null,null,null),g=d.exports,m={components:{ExceptionPage:g}},f=m,v=Object(u["a"])(f,s,i,!1,null,null,null);e["default"]=v.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long