Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Commit

Permalink
Merge pull request #48 from maier/master
Browse files Browse the repository at this point in the history
v2.5.0
  • Loading branch information
maier authored Feb 1, 2018
2 parents 2739073 + 907e9bd commit f6538e8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion provision/cosi-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- hosts: all
vars:
# update when src/package.json version bumped and ready for release
cosi_site_version: "2.4.4"
cosi_site_version: "2.5.0"
# note, **just** the file name, not a "path" the specified file is expected
# to be in ./content/files relative to cosi-site.js
installer_rpm_file: "cosi-{{ cosi_site_version }}-1.noarch.rpm"
Expand Down
5 changes: 5 additions & 0 deletions src/CHAGNELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 2.5.0 2018-02-01

* Revise legend_formulas
* update template regex to support backtick and dash in plugin names w/subgroups (e.g. process_memory)

### 2.4.4 2018-01-26

* fix JSON in dashboard template
Expand Down
2 changes: 1 addition & 1 deletion src/lib/validators/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ class Validators {
errors.push(`Invalid template category '${req.params.t_cat}'`);
}

if (!req.params.t_name.match(/^[a-z0-9_]+$/i)) {
if (!req.params.t_name.match(/^[a-z0-9-_`]+$/i)) {
errors.push(`Invalid template name '${req.params.t_name}'`);
}

Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cosi-site",
"version": "2.4.4",
"version": "2.5.0",
"private": true,
"license": "SEE LICENSE IN LICENSE",
"description": "Circonus One Step Install registration API",
Expand Down
2 changes: 1 addition & 1 deletion src/util/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cosi-cli",
"version": "2.4.4",
"version": "2.5.0",
"description": "Circonus One Step Install utility",
"private": true,
"author": "matt maier (https://github.com/maier)",
Expand Down

0 comments on commit f6538e8

Please sign in to comment.