Code Monkey home page Code Monkey logo

pipe's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pipe's Issues

errors from cd console npm install

cd console
npm install

ERR! code 128
npm ERR! An unknown git error occurred
npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/Vanessa219/vuetify.git
npm ERR! Warning: Permanently added 'github.com,20.205.243.166' (ECDSA) to the list of known hosts.
npm ERR! [email protected]: Permission denied (publickey).
npm ERR! fatal: Could not read from remote repository.
npm ERR!

Pipe启动后报错:Scan error on column index 1, name "created_at"

基本上是按照官方文档进行的傻瓜式搭建。除了mysql参数后面的∥seTime=True&loc=Local&timeout=1s由于字符报错被我截断了。

以下是报错内容。相关敏感内容做了脱敏处理

2020-08-07T06:10:13.802379689Z D 2020/08/07 14:10:13 confs.go:193: configurations [&model.Configuration{Server:"http://ip:5897", StaticServer:"http://ip:5897", StaticResourceVersion:"1596209481092", LogLevel:"debug", ShowSQL:false, SessionSecret:"xxx", SessionMaxAge:86400, RuntimeMode:"prod", SQLite:"", MySQL:"user:pw@(127.0.0.1:3306)/pipe?charset=utf8mb4", Postgres:"", Port:"5897", AxiosBaseURL:"/api", MockServer:"http://localhost:8888"}]
2020-08-07T06:10:13.805429718Z D 2020/08/07 14:10:13 themes.go:43: loaded [7] themes
2020-08-07T06:10:13.837058023Z D 2020/08/07 14:10:13 db.go:56: used [MySQL] as underlying database
2020-08-07T06:10:14.238637288Z I 2020/08/07 14:10:14 main.go:75: Pipe (v2.0.0) is running [http://ip:5897]
2020-08-07T14:10:17.163819382Z E 2020/08/07 22:10:17 blacklistcron.go:42: refresh blacklist IPs failed: [Get "https://hacpai.com/apis/blacklist/ip": context deadline exceeded (Client.Timeout exceeded while awaiting headers)]
2020-08-07T15:11:41.701718425Z W 2020/08/07 23:11:41 oauthctl.go:101: can not get user by name [xxx]
2020-08-07T15:40:14.167840962Z E 2020/08/07 23:40:14 articlesrv.go:50: get platform most view articles failed: sql: Scan error on column index 1, name "created_at": unsupported Scan, storing driver.Value type []uint8 into type *time.Time
2020-08-07T15:40:14.170797452Z E 2020/08/07 23:40:14 recommendcron.go:50: not found author of article [id=1596813101689, authorID=0]
2020-08-07T15:49:28.197014309Z E 2020/08/07 23:49:28 initsrv.go:70: checks platform init status failed: sql: Scan error on column index 1, name "created_at": unsupported Scan, storing driver.Value type []uint8 into type *time.Time
2020-08-07T15:49:36.836880311Z W 2020/08/07 23:49:36 oauthctl.go:101: can not get user by name [xxx]

请问我该如何解决以让我的pipe正常运行?谢谢

浏览计数插件化

文章浏览计数、博客浏览计数将通过引入 js 插件实现统计和展现,该插件由社区提供,数据存储和服务接口均在社区实现。


皮肤需要修改:文章列表浏览数、博客访问总数、文章页面浏览数,在出现这些计数变量的地方用 span 包上,例如:

<span data-uvstaturl="{{.Article.URL}}">{{.Article.ViewCount}}</span>

errors from postgresql

service/db.go:61)
[2022-02-03 15:58:39] pq: no schema has been selected to create in
F 2022/02/03 15:58:39 db.go:62: auto migrate tables failed: pq: no schema has been selected to create in

或许可以期待一个docker一键最小脚本?caddy+sqlite那种?

你在什么场景下需要该功能?

请尽量清晰精准地描述你碰到的问题。

描述可能的解决方案

请尽量清晰精准地描述你期待我们要做的,描述你想到的实现方案。

描述你认为的候选方案

请尽量清晰精准地描述你能接受的候选解决方案。

其他信息

请提供关于该功能建议的其他附加信息。

github现在登陆不了

现在github登陆不了,我怎么用github的账号和b3log的账号关联,或者和微信账号关联登陆

数据库连接池泄露

GetCategoryArticleCount 使用标准库sql查询,结果rows未关闭,导致连接池泄露

编译pipi最新版本的错误

1、下载最新版本,git clone https://github.com/88250/pipe.git
2、编译的错误,
go build -i -v
..\github.com\gin-gonic\gin\binding\default_validator.go:11:2: cannot find package "github.com/go-playground/validator/v10" in any of:
D:\Program Files\Go\src\github.com\go-playground\validator\v10 (from $GOROOT)
D:\work\1CHCP\project\toolmaker\src\github.com\go-playground\validator\v10 (from
$GOPATH)
..\github.com\88250\pipe\controller\feedctl.go:20:2: cannot find package "github.com/gorilla/feeds" in any of:
D:\Program Files\Go\src\github.com\gorilla\feeds (from $GOROOT)
D:\work\1CHCP\project\toolmaker\src\github.com\gorilla\feeds (from $GOPATH)
..\github.com\88250\pipe\controller\sitemapctl.go:16:2: cannot find package "github.com/ikeikeikeike/go-sitemap-generator/stm" in any of:
D:\Program Files\Go\src\github.com\ikeikeikeike\go-sitemap-generator\stm (from $GOROOT)
D:\work\1CHCP\project\toolmaker\src\github.com\ikeikeikeike\go-sitemap-generator\stm (from $GOPATH)
..\github.com\88250\pipe\controller\articlectl.go:27:2: cannot find package "github.com/vinta/pangu" in any of:
D:\Program Files\Go\src\github.com\vinta\pangu (from $GOROOT)
D:\work\1CHCP\project\toolmaker\src\github.com\vinta\pangu (from $GOPATH)

3、单独获取依赖包也是错误的:
go get github.com\go-playground\validator\v10
package github.com/go-playground/validator/v10: cannot find package "github.com/go-playground/validator/v10" in
any of:
D:\Program Files\Go\src\github.com\go-playground\validator\v10 (from $GOROOT)
D:\work\1CHCP\project\toolmaker\src\github.com\go-playground\validator\v10 (from $GOPATH)

请问该如何处理?谢谢了。

社区图床更换新域名

img.hacpai.com 替换为 b3logfile.com,新上传的文件将会使用新域名,老地址仅支持老文件访问。

是否可以提供前后端分离的版本

是否可以提供前后端分离的版本,这样维护/移植也比较方便。目前流行的的架构都是前后端分离,使用restful接口通讯。

谢谢

请问Pipe License类型?

Hi @88250
pipe这个新的blog平台很不错,但没有看到源代码的授权方式,请问License是什么类型的?可以在此基础上开发吗?

Good luck。

支持 PostgreSQL 数据库

Pipe会支持PostgreSQL数据库吗?修改也简单,1、加载postgresql driver;2、修改gorm type mediumtext为text;3、去掉SQL语句的中的``。

修复登录验证安全漏洞

Pipe 博客端的社区集成登录存在一个安全漏洞,影响范围是 v1.9.1-v2.0.0 间的所有版本,稍后会进行修复,感谢 cc thas 反馈 ❤️

自定义域名登录问题

版本:v1.8.8
域名:https://pipe.localvar.cn/
博客使用了另一个域名(nginx重定向):https://blog.localvar.cn/

选择文章,点击编辑,github登录后回到原页面,再点击编辑,一直重重前述过程,其它管理员页面有同样问题。

大概调了以下程序,好像是 session 部分有问题,怀疑是一个域名下的cookie在另一个域名下读不出来。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.