desertsp / valine-admin Goto Github PK
View Code? Open in Web Editor NEW🔥A simple comment system based on LeanCloud and Valine.
Home Page: https://deserts.io/valine-admin-document/
License: MIT License
🔥A simple comment system based on LeanCloud and Valine.
Home Page: https://deserts.io/valine-admin-document/
License: MIT License
访问二级域名,没有进入设置界面
删了_User表中的全部数据
依旧没有进入设置界面
直接进入登录界面
如果回复的内容是链接开头的,如下:
那么这条评论会结合前面的链接拼接成一个无效的超链接,这种效果也出现在了通知邮件的内容里,建议修复,谢谢!
无论是用脚本还是自己按步骤部署都会失败
错误代码为
[Git] master: Merge pull request #2 from ZvonimirSun/master
STDOUT 11:04:16
运行环境: nodejs
STDOUT 11:04:16
正在下载和安装依赖项 ...
STDERR 11:07:22
部署失败:npm WARN deprecated [email protected]: Critical security bugs fixed in 2.5.5
npm ERR! registry error parsing json
npm ERR! registry error parsing json
npm ERR! Linux 4.13.0-26-generic
npm ERR! argv "/usr/local/nvm/versions/node/v6.14.2/bin/node" "/usr/local/bin/npm" "install" "--production" "--registry=http://registry.npm.taobao.org" "--disturl=http://npm.taobao.org/dist" "--sass-binary-site=https://npm.taobao.org/mirrors/node-sass/"
npm ERR! node v6.14.2
npm ERR! npm v3.10.10
npm ERR! failed to fetch from registry: http://registry.npm.taobao.org/mime
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /home/leanengine/app/npm-debug.log
这一步能不能详细点呀....没弄懂怎么添加。
Valine Admin 是基于Leancloud云引擎示例代码开发的。项目代码量很少,修修补补也不会很多。不求各位看官Star。
一些有能力的朋友Fork后做了不少有意义的修改,比如兼容新版Valine,增加邮件模板功能等。由于本人忙于考试,项目疏于管理,也鲜有人发起Pull Requests,带来了很多不必要的重复工作。
然而,有些人不进行Fork就将该项目代码发布在个人Github上,去除了Contributor相关信息,使用Deserts上的博文内容却未注明引用来源,在博客和论坛中摇尾乞怜要Star。
鉴于此,恳请有能力的朋友在修改本项目后提交Pull Requests,遇到部署失败等问题时留下您的联系方式并详述遇到的问题,也欢迎所有人到我的博客相关文章下面留言。
最新的一个评论,那一行总是左边空白好多,能帮忙看下不?
地址:https://guanayan.github.io/2019/04/03/%E6%88%91%E7%9A%84%E5%8D%9A%E5%AE%A2/
请问如何设置姓名或者邮箱必填了,谢谢
国际版的评论后台不能注册 https://haoyue.avosapps.us/sign-up 打开显示not found
,但是 https://haoyue.avosapps.us/ 可以正常打开,请问是怎么回事??
如图
受制于leancloud免费实例时间限制,
是否可以本地化部署?
获取@对象失败!
SMTP邮箱配置异常: { Error: Greeting never received
STDOUT web1 21:11:35
at SMTPConnection._formatError (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:605:19)
STDOUT web1 21:11:35
at SMTPConnection._onError (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:591:20)
STDOUT web1 21:11:35
at Timeout._greetingTimeout.setTimeout (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:532:22)
STDOUT web1 21:11:35
at ontimeout (timers.js:386:11)
STDOUT web1 21:11:35
at tryOnTimeout (timers.js:250:5)
STDOUT web1 21:11:35
at Timer.listOnTimeout (timers.js:214:5) code: 'ETIMEDOUT', command: 'CONN' }
网上找到的相关信息
版本是该仓库的最新版本。
日志如下:
STDOUT web1 23:54:19
{ Error: 140251656853312:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:../deps/openssl/openssl/ssl/s23_clnt.c:827:
STDOUT web1 23:54:19
STDOUT web1 23:54:19
at Error (native) code: 'ECONNECTION', command: 'CONN' }
怀疑和Email里面含有'_'字符有关
前几天还正常,今天突然登不上了
LeanEngine: /Comment/afterSave: 500: ReferenceError: PARENT_NICK is not defined
STDERR
at eval (eval at (/home/leanengine/app/utilities/send-mail.js:40:45), :1:385)
STDERR
at Object.exports.notice (/home/leanengine/app/utilities/send-mail.js:40:24)
STDERR
at sendNotification (/home/leanengine/app/cloud.js:10:14)
STDERR
at /home/leanengine/app/cloud.js:44:12
STDERR
at err (/home/leanengine/app/node_modules/leanengine/lib/leanengine.js:356:23)
STDERR
at promiseTry (/home/leanengine/app/node_modules/leanengine/lib/leanengine.js:354:10)
STDERR
at Promise (/home/leanengine/app/node_modules/leanengine/lib/leanengine.js:249:7)
STDERR
at callClassHook (/home/leanengine/app/node_modules/leanengine/lib/leanengine.js:237:10)
STDERR
at promiseTry (/home/leanengine/app/node_modules/leanengine/lib/leanengine.js:104:16)
STDERR
at err (/home/leanengine/app/node_modules/leanengine/lib/leanengine.js:356:23)
STDERR
at promiseTry (/home/leanengine/app/node_modules/leanengine/lib/leanengine.js:354:10)
STDERR
at /home/leanengine/app/node_modules/leanengine/lib/leanengine.js:86:5
STDERR
at call (/home/leanengine/app/node_modules/connect/index.js:239:7)
STDERR
at next (/home/leanengine/app/node_modules/connect/index.js:183:5)
STDERR
at next (/home/leanengine/app/node_modules/connect/index.js:161:14)
STDERR
at /home/leanengine/app/node_modules/leanengine/middleware/leancloud-headers.js:82:18
访问 xxx.leanapp.cn/sign-up
直接 302 重定向到 xxx.leanapp.cn/
预期应该是后台审核后才显示吧,可是目前是直接展示,只是后台标记为垃圾评论?
用的是 https://cdn.bootcss.com/valine/1.3.4/Valine.min.js 这个版本的Valine,貌似Valine也需要做一下处理。。。。
我在使用邮件发送的功能时报错535
https://github.com/DesertsP/Valine
这个项目好像关闭了Issues,所以就来这里了,希望作者能看到,
我的站点http://jike.freevar.com
我设置了path: window.location.href
希望每部影片有对应的评论,而不是所有影片的是相同评论。但是设置了该参数后并不生效。
ps:在原版Valine设置path: window.location.href
参数是生效的。
您好,
leancloud是支持跨域,可以使用Master Key,
所以如果只是管理评论,是不是可以不需要部署,
可以使用静态页面即可
这条评论没有 @ 任何人
STDOUT
垃圾评论检测完成,放行~
STDOUT
{ Error: Message failed: 554 5.2.0 STOREDRV.Submission.Exception:OutboundSpamException; Failed to process message due to a permanent exception with message WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. OutboundSpamException: WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. [Hostname=TY2PR06MB3117.apcprd06.prod.outlook.com]
STDOUT
at SMTPConnection._formatError (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:605:19)
STDOUT
at SMTPConnection._actionSMTPStream (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:1478:34)
STDOUT
at SMTPConnection._responseActions.push.str (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:968:22)
STDOUT
at SMTPConnection._processResponse (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:764:20)
STDOUT
at SMTPConnection._onData (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:570:14)
STDOUT
at TLSSocket._socket.on.chunk (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:710:55)
STDOUT
at emitOne (events.js:96:13)
STDOUT
at TLSSocket.emit (events.js:188:7)
STDOUT
at readableAddChunk (_stream_readable.js:176:18)
STDOUT
at TLSSocket.Readable.push (_stream_readable.js:134:10)
STDOUT
at TLSWrap.onread (net.js:559:20)
STDOUT
code: 'EMESSAGE',
STDOUT
response: '554 5.2.0 STOREDRV.Submission.Exception:OutboundSpamException; Failed to process message due to a permanent exception with message WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. OutboundSpamException: WASCL UserAction verdict is not None. Actual verdict is HipNotify, ShowTierUpgrade. [Hostname=TY2PR06MB3117.apcprd06.prod.outlook.com]',
STDOUT
responseCode: 554,
STDOUT
command: 'DATA' }
现在点击 查看回复的完整內容 并不会跳转 是不是链接有问题
不知道是哪里配置错了,用站长邮箱发评论会收到提醒
STDOUT web1 13:05:26
> [email protected] start /home/leanengine/app
STDOUT web1 13:05:26
> node server.js
STDOUT web1 13:05:26
STDOUT web1 13:05:28
at SMTPConnection._responseActions.push.str (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:366:26)
STDOUT web1 13:05:28
Node app is running on port: 3000
STDOUT web1 13:05:28
SMTP邮箱配置异常: { Error: Invalid login: 535 Error: ÇëʹÓÃÊÚȨÂëµÇ¼¡£ÏêÇéÇë¿´: http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=1001256
STDOUT web1 13:05:28
at SMTPConnection._formatError (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:606:19)
STDOUT web1 13:05:28
at SMTPConnection._processResponse (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:762:20)
STDOUT web1 13:05:28
at SMTPConnection._onData (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:558:14)
STDOUT web1 13:05:28
at TLSSocket._socket.on.chunk (/home/leanengine/app/node_modules/nodemailer/lib/smtp-connection/index.js:510:47)
STDOUT web1 13:05:28
at emitOne (events.js:96:13)
STDOUT web1 13:05:28
at readableAddChunk (_stream_readable.js:176:18)
STDOUT web1 13:05:28
at TLSSocket.Readable.push (_stream_readable.js:134:10)
STDOUT web1 13:05:28
at TLSWrap.onread (net.js:559:20)
STDOUT web1 13:05:28
code: 'EAUTH',
STDOUT web1 13:05:28
response: '535 Error: ÇëʹÓÃÊÚȨÂëµÇ¼¡£ÏêÇéÇë¿´: http://service.mail.qq.com/cgi-bin/help?subtype=1&&id=28&&no=1001256',
STDOUT web1 13:05:28
responseCode: 535,
STDOUT web1 13:05:28
command: 'AUTH PLAIN' }
STDOUT web1 13:05:28
实例启动成功:{"runtime":"nodejs-v6.14.4","version":"3.3.2"}
我使用默认模板可以正常。但使用彩色模板就是接收不到邮件。
邮件通知里的链接可以设置了跳转到对应评论,但是当跳转到对应页面的时候,评论框及其内容是没有加载出来的,所以无法跳转到对应的评论。
是不是可以等评论框及其内容加载完成后再次跳转到对应评论?
建议加个在指定时间发送邮件通知的功能,因为有时候工作时间或休息时间不希望接收邮件(防打扰)。
在指定时间发送邮件方便我们在那个时间【统一】处理这些评论回复的邮件
希望增加一个POST_TITLE,可以取document.title, 网站的名字游客可能记不住,但是评论过的帖子的名称游客会记忆更深刻一点,然后我们把POST_TITLE放到通知邮件的标题里去,游客收到邮件提醒就不会感到陌生了,这样子体验会更好。
如题
更新后 后台管理登录没有反应。 在user表中邮件重置了密码也不能登录 。
1)不能评论,评论框下面显示:
Code -1: Request has been terminated
Possible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.
2)设置了verify = false, 但是还是需要输入验证码
麻烦看下:)
如题
邮件提醒正常,但是每次会多一封:
您请求重设应用 hexo 的密码。点击下列链接来重设您的帐号密码(链接在 48 小时内有效):
这是什么原因造成的?有人知道么?
如题,这导致通知邮箱都发不出去。
大佬你好 麻烦问下 如果使用Valine 用户要想给你留言是不是就要注册Valine的账号
希望能根据邮箱来判断博主。
自己发的回复建议不再提醒。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.