Compare commits

..

10 Commits
1.2.1 ... 1.2.3

Author SHA1 Message Date
Rowan Manning
d0feee8dd5 Version 1.2.3 2014-01-13 09:38:10 +00:00
Rowan Manning
f97e224679 Update the tests to allow for the new CSV format 2014-01-13 09:37:16 +00:00
Rowan Manning
ddbb0db33d Remove spaces in the CSV header row 2014-01-13 09:33:51 +00:00
Quannon Au
e0290b4fc5 Issue 74 - Fix CSV format for Mac Excel 2014-01-10 11:25:16 -08:00
perryharlock
1f6ea332ac Version 1.2.2 2014-01-09 11:44:25 +00:00
perryharlock
5b109fb23d Amend versioning instructions 2014-01-09 11:43:44 +00:00
perryharlock
3b03af7e8f Merge branch 'develop' of github.com:nature/pa11y-dashboard into develop 2014-01-09 11:05:22 +00:00
perryharlock
1c96369bb0 Issue 68 - Bad spacing when graph not visible 2014-01-09 11:04:53 +00:00
Rowan Manning
e421444487 Versioning clarifications 2014-01-09 10:36:08 +00:00
Rowan Manning
5c7d9bfc43 Add notes on publishing a release 2014-01-09 10:31:50 +00:00
7 changed files with 27 additions and 9 deletions

View File

@@ -31,8 +31,23 @@ Coding Guidelines
* Don't commit code without passing tests (run `grunt test`).
Versioning
----------
We use [Semantic Versioning][semver] in this project. The process for releasing a new version is as follows; this should only be done by core contributors you don't need to include a tagged version in your pull-requests.
* Switch to `master` and merge the `develop` branch into it
* Update the version number in `package.json` and `README.md`
* Commit the changes with the message: "Version x.x.x" (x.x.x being the new version number)
* Tag the commit with the version number (just the numbers, no "version" or "v")
* Push with tags: `git push --tags`
* Check out the `develop` branch, merge `master` into it, and push
* On GitHub, add [release notes][release-notes] for the new version. The title should be "Version x.x.x", and the description should be a list of new features/fixes
[bugs]: https://github.com/nature/pa11y-dashboard/issues?labels=bug&state=open
[ready]: https://github.com/nature/pa11y-dashboard/issues?labels=ready&state=open
[issues]: https://github.com/nature/pa11y-dashboard/issues
[milestones]: https://github.com/nature/pa11y-dashboard/issues/milestones
[release-notes]: https://github.com/nature/pa11y-dashboard/releases
[semver]: http://semver.org/

View File

@@ -3,7 +3,7 @@ pa11y-dashboard
pa11y-dashboard is a web interface to the [pa11y][pa11y] accessibility reporter; allowing you to focus on *fixing* issues rather than hunting them down.
**Current Version:** *1.2.1*
**Current Version:** *1.2.3*
**Build Status:** [![Build Status][travis-img]][travis]
**Node Version Support:** *0.10*

View File

@@ -1,6 +1,6 @@
{
"name": "pa11y-dashboard",
"version": "1.2.1",
"version": "1.2.3",
"private": true,
"description": "pa11y-dashboard is a visual web interface to the pa11y accessibility reporter",

File diff suppressed because one or more lines are too long

View File

@@ -70,7 +70,7 @@
}
.dropdown-toggle {
margin-top:0;
margin-bottom:10px;
margin-bottom:5px;
}
.list-group {
li .list-group-item {
@@ -238,6 +238,9 @@
h2 {
word-wrap:break-word;
}
.h4 {
margin-bottom:22px;
}
}
.date {
margin-top:5px;
@@ -320,7 +323,7 @@ ul.date-links {
}
&.single-result {
margin-top:-55px;
margin-top:-52px;
.show-stats {
display:none;

View File

@@ -46,13 +46,13 @@ function route (app) {
app.express.get('/:id/:rid.csv', getTaskAndResult, function (req, res) {
var task = res.locals.task;
var result = res.locals.result;
var rows = ['"code", "message", "type"'];
var rows = ['"code","message","type"'];
result.results.forEach(function (msg) {
rows.push([
JSON.stringify(msg.code),
JSON.stringify(msg.message),
JSON.stringify(msg.type)
].join(', '));
].join(','));
});
res.attachment(getDownloadFileName(task, result, 'csv'));
res.send(rows.join('\n'));

View File

@@ -20,7 +20,7 @@ describe('GET /<task-id>/<result-id>.csv', function () {
});
it('should output CSV results', function () {
assert.match(this.last.body, /^"code", "message", "type"/);
assert.match(this.last.body, /^"code","message","type"/);
});
});