Skip to content

thebrecht/nodeclub

This branch is 1927 commits behind cnodejs/nodeclub:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

71b6c27 · Mar 14, 2012

History

46 Commits
Mar 13, 2012
Feb 15, 2012
Mar 13, 2012
Mar 3, 2012
Mar 9, 2012
Mar 14, 2012
Mar 13, 2012
Mar 3, 2012
Mar 13, 2012
Mar 14, 2012
Mar 13, 2012
Mar 13, 2012
Mar 9, 2012
Mar 13, 2012

Repository files navigation

nodeclub

基于nodejs的社区系统

介绍

Node Club 是用 Node.jsMongoDb 开发的新型社区软件,界面优雅,功能丰富,小巧迅速, 已在Node.js 中文技术社区 CNode 得到应用,但你完全可以用它搭建自己的社区。

安装部署

// install node npm mongodb  
// run mongod
cd nodeclub
npm install ./
cp config.default.js config.js
// modify the config file as yours
node app.js

其它

小量修改了两个依赖模块:node-markdown,express

  • node-markdown/lib/markdown.js

allowedTags 添加:

embed  //支持 flash 视频
table|thead|tbody|tr|td|th|caption  //支持表格

allowedAttributes 添加:

embed:'src|quality|width|height|align|allowScriptAccess|allowFullScreen|mode|type'
table: 'class'
  • express/node_modules/connect/lib/middleware/csrf.js 添加:
if (req.body && req.body.user_action === 'upload_image') return next();

关于pull request

从现在开始,所有提交都要严格遵循代码规范

Authors

Below is the output from git-summary.

 project: nodeclub
 commits: 45
 files  : 242
 authors: 
    22  fengmk2                 48.9%
     9  muyuan                  20.0%
     7  dead-horse              15.6%
     3  Kenny Zhao              6.7%
     1  LeToNode                2.2%
     1  roymax                  2.2%
     1  thebrecht               2.2%
     1  张洋                  2.2%

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%