Skip to content
This repository has been archived by the owner on Dec 8, 2019. It is now read-only.

Commit

Permalink
Maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
devfacet committed Mar 6, 2017
1 parent 346d234 commit ccc54ec
Show file tree
Hide file tree
Showing 19 changed files with 100 additions and 138 deletions.
12 changes: 8 additions & 4 deletions .editorconfig
@@ -1,14 +1,18 @@
root = true

[*]

indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false

[*.md]
trim_trailing_whitespace = false

[*.{js,json,yml,yaml}]
indent_style = space
indent_size = 2

trim_trailing_whitespace = false
#[*.go]
#indent_style = tab
#indent_size = 8
2 changes: 1 addition & 1 deletion .gitattributes
Expand Up @@ -15,4 +15,4 @@

*.bat text
*.sh text
*.exe binary
*.exe binary
18 changes: 8 additions & 10 deletions .gitignore
@@ -1,17 +1,15 @@
.DS_Store
.idea
.settings
.env
.coverrun
.coverdata
cover.out
xunit.xml
Thumbs.db

*.log
*.heapsnapshot
*.pprof
*.exe
*.prof
*.out

tmp/
logs/
reports/
releases/
vendor/
node_modules/
sources/
source/
28 changes: 0 additions & 28 deletions .jshintrc

This file was deleted.

4 changes: 3 additions & 1 deletion .travis.yml
@@ -1,6 +1,8 @@
sudo: false

language: node_js

node_js:
- "0.10"
- "0.12"
- "4"
- "6"
70 changes: 35 additions & 35 deletions CHANGELOG.md
@@ -1,55 +1,55 @@
## Changelog
# Changelog

### 4.0.2 (2016-09-24)
## 4.0.2 (2016-09-24)

* Update dependencies
* Show connections without subscriptions (fixes #2 and #6)
- Update dependencies
- Show connections without subscriptions (fixes #2 and #6)

### 4.0.1 (2016-03-20)
## 4.0.1 (2016-03-20)

* Maintenance
- Maintenance

### 4.0.0 (2015-10-17)
## 4.0.0 (2015-10-17)

* Change `NATS_URL` to `NATS_MON_URL`
* Add routes page
- Change `NATS_URL` to `NATS_MON_URL`
- Add routes page

### 3.1.0 (2015-10-04)
## 3.1.0 (2015-10-04)

* Add subscriptions list to connections page
* Remove getDataAll
* Add query support for `nats` route
* Update dependencies
- Add subscriptions list to connections page
- Remove getDataAll
- Add query support for `nats` route
- Update dependencies

### 3.0.1 (2015-09-14)
## 3.0.1 (2015-09-14)

* Changes for static file serving
- Changes for static file serving

### 3.0.0 (2015-09-07)
## 3.0.0 (2015-09-07)

* Add client lib
* Add metrics lib
* Add routes lib
* Refactoring server lib
* Add Websocket support
* Replace the chart lib
* Refactoring charts
* Add connections page
- Add client lib
- Add metrics lib
- Add routes lib
- Refactoring server lib
- Add Websocket support
- Replace the chart lib
- Refactoring charts
- Add connections page

### 2.0.0 (2015-08-18)
## 2.0.0 (2015-08-18)

* Refactoring app and server
* Remove Websocket for now
* Add more metrics
- Refactoring app and server
- Remove Websocket for now
- Add more metrics

### 1.0.2 (2015-08-12)
## 1.0.2 (2015-08-12)

* Misc. updates
- Misc. updates

### 1.0.1 (2015-08-12)
## 1.0.1 (2015-08-12)

* Misc. updates
- Misc. updates

### 1.0.0 (2015-08-12)
## 1.0.0 (2015-08-12)

* Initial release
- Initial release
2 changes: 1 addition & 1 deletion LICENSE.txt
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Fatih Cetinkaya (http://github.com/fatihcode/natsboard)
Copyright (c) 2015 Fatih Cetinkaya (http://github.com/devfacet/natsboard)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
21 changes: 11 additions & 10 deletions README.md
@@ -1,4 +1,4 @@
## NATSboard
# NATSboard

[![NPM][npm-image]][npm-url] [![Build Status][travis-image]][travis-url]

Expand All @@ -12,32 +12,33 @@ Dashboard for monitoring NATS. It provides real-time information from NATS serve

![Dashboard](public/img/ss-natsboard-v3-3.png)

### Installation
## Installation

```
```bash
npm install natsboard -g
```

### Usage
## Usage

[gnatsd server](http://nats.io/download/) **should** be running with `-m` parameter.

```
```bash
gnatsd -m 8222
natsboard
```
```

# Custom port
gnatsd -m 12345
natsboard --nats-mon-url http://localhost:12345
```

### License
## License

Licensed under The MIT License (MIT)
For the full copyright and license information, please view the LICENSE.txt file.

[npm-url]: http://npmjs.org/package/natsboard
[npm-image]: https://badge.fury.io/js/natsboard.svg

[travis-url]: https://travis-ci.org/fatihcode/natsboard
[travis-image]: https://travis-ci.org/fatihcode/natsboard.svg?branch=master
[travis-url]: https://travis-ci.org/devfacet/natsboard
[travis-image]: https://travis-ci.org/devfacet/natsboard.svg?branch=master

1 change: 0 additions & 1 deletion index.js
@@ -1,6 +1,5 @@
/*
* NATSboard
* Copyright (c) 2015 Fatih Cetinkaya (http://github.com/fatihcode/natsboard)
* For the full copyright and license information, please view the LICENSE.txt file.
*/

Expand Down
1 change: 0 additions & 1 deletion lib/client.js
@@ -1,6 +1,5 @@
/*
* NATSboard
* Copyright (c) 2015 Fatih Cetinkaya (http://github.com/fatihcode/natsboard)
* For the full copyright and license information, please view the LICENSE.txt file.
*/

Expand Down
1 change: 0 additions & 1 deletion lib/metrics.js
@@ -1,6 +1,5 @@
/*
* NATSboard
* Copyright (c) 2015 Fatih Cetinkaya (http://github.com/fatihcode/natsboard)
* For the full copyright and license information, please view the LICENSE.txt file.
*/

Expand Down
1 change: 0 additions & 1 deletion lib/routes.js
@@ -1,6 +1,5 @@
/*
* NATSboard
* Copyright (c) 2015 Fatih Cetinkaya (http://github.com/fatihcode/natsboard)
* For the full copyright and license information, please view the LICENSE.txt file.
*/

Expand Down
1 change: 0 additions & 1 deletion lib/server.js
@@ -1,6 +1,5 @@
/*
* NATSboard
* Copyright (c) 2015 Fatih Cetinkaya (http://github.com/fatihcode/natsboard)
* For the full copyright and license information, please view the LICENSE.txt file.
*/

Expand Down
63 changes: 27 additions & 36 deletions package.json
Expand Up @@ -2,56 +2,47 @@
"name": "natsboard",
"version": "4.0.2",
"description": "Dashboard for monitoring NATS",
"keywords": [
"natsboard",
"nats",
"dashboard",
"monitoring"
],
"homepage": "http://github.com/fatihcode/natsboard",
"repository": {
"type": "git",
"url": "https://github.com/fatihcode/natsboard.git"
},
"bugs": {
"url": "http://github.com/fatihcode/natsboard/issues"
},
"license": "MIT",
"private": false,
"author": {
"name": "fatih",
"url": "http://github.com/fatihcode"
},
"contributors": [],
"main": "./index.js",
"main": "index.js",
"bin": {
"natsboard": "bin/natsboard"
},
"scripts": {
"lint": "jshint --reporter node_modules/jshint-stylish lib/*.js test/*.js",
"lint:build": "mkdir -p reports/ && jshint --reporter checkstyle lib/*.js test/*.js > reports/jshint-checkstyle.xml",
"lint": "jshint --reporter node_modules/jshint-stylish lib/* test/*",
"lint:build": "jshint --reporter checkstyle lib/* test/* > reports/jshint-checkstyle.xml",
"depcheck": "dependency-check . lib/*",
"depcheck:unused": "dependency-check ./package.json --unused --no-dev lib/*",
"test:unit": "mkdir -p reports/ && NODE_ENV=test multi='spec=- xunit=reports/mocha-xunit.xml' istanbul cover _mocha -- -R mocha-multi test/test-*.js --timeout 10000 && istanbul check-coverage",
"test": "npm run depcheck && npm run depcheck:unused && npm run lint && npm run test:unit",
"test:unit": "mkdir -p reports/ && NODE_ENV=test multi='spec=- xunit=reports/mocha-xunit.xml' istanbul cover _mocha -- -R mocha-multi && istanbul check-coverage",
"test:coveralls": "cat reports/coverage/lcov.info | node_modules/coveralls/bin/coveralls.js",
"test": "npm run lint && npm run test:unit",
"start": "bin/natsboard"
},
"engines": {
"node": ">=0.10.0"
"repository": {
"type": "git",
"url": "https://github.com/devfacet/natsboard.git"
},
"keywords": [
"natsboard",
"nats",
"dashboard",
"monitoring"
],
"author": "devfacet",
"license": "MIT",
"homepage": "http://github.com/devfacet/natsboard",
"dependencies": {
"express": "4.14.x",
"request": "2.75.x",
"utilex": "3.0.x",
"express": "4.15.x",
"request": "2.80.x",
"utilex": "3.x.x",
"nodejs-websocket": "1.7.x"
},
"devDependencies": {
"chai": "3.5.x",
"jshint": "2.9.x",
"jshint-stylish": "2.2.x",
"mocha": "2.5.x",
"mocha-multi": "0.9.x",
"dependency-check": "2.6.x",
"istanbul": "0.4.x"
"mocha": "3.2.x",
"mocha-multi": "0.10.x",
"dependency-check": "2.8.x",
"istanbul": "0.4.x",
"nats": "0.7.x"
}
}
}
2 changes: 1 addition & 1 deletion public/connections.html
Expand Up @@ -40,7 +40,7 @@
<li><a href="/dashboard.html">Dashboard</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="http://github.com/fatihcode/natsboard">About</a></li>
<li></li>
</ul>
</div><!--/.nav-collapse -->
</div>
Expand Down
2 changes: 1 addition & 1 deletion public/dashboard.html
Expand Up @@ -40,7 +40,7 @@
<li class="active"><a href="/dashboard.html">Dashboard</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="http://github.com/fatihcode/natsboard">About</a></li>
<li></li>
</ul>
</div><!--/.nav-collapse -->
</div>
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Expand Up @@ -40,7 +40,7 @@
<li><a href="/dashboard.html">Dashboard</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="http://github.com/fatihcode/natsboard">About</a></li>
<li></li>
</ul>
</div><!--/.nav-collapse -->
</div>
Expand Down

0 comments on commit ccc54ec

Please sign in to comment.