-
-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #168 from pliablepixels/secrets
add secret support
- Loading branch information
Showing
10 changed files
with
142 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Change Log | ||
|
||
## [v4.5.8](https://github.com/pliablepixels/zmeventnotification/tree/v4.5.8) (2019-11-06) | ||
**Implemented enhancements:** | ||
|
||
- Allow for secret tokens to be used in ES and OD configs [\#167](https://github.com/pliablepixels/zmeventnotification/issues/167) | ||
|
||
|
||
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
__version__ = "4.4.7" | ||
__version__ = "4.5.8" | ||
VERSION=__version__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
if [ -z "$1" ]; then | ||
echo "Inferring version name from hooks/zmes_hook_helpers/__init__.py" | ||
if [[ `cat hook/zmes_hook_helpers/__init__.py` =~ ^__version__\ =\ \"(.*)\" ]]; | ||
then | ||
TAGVER=${BASH_REMATCH[1]} | ||
else | ||
echo "Bad version parsing" | ||
exit | ||
fi | ||
else | ||
TAGVER=$1 | ||
fi | ||
VER="${TAGVER/v/}" | ||
read -p "Future release is v${VER}. Please press any key to confirm..." | ||
#github_changelog_generator -u pliablepixels -p zmNinja --future-release v${VER} | ||
github_changelog_generator --future-release v${VER} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
if [ -z "$1" ]; then | ||
echo "Inferring version name from hooks/zmes_hook_helpers/__init__.py" | ||
if [[ `cat hook/zmes_hook_helpers/__init__.py` =~ ^__version__\ =\ \"(.*)\" ]]; | ||
then | ||
TAGVER=${BASH_REMATCH[1]} | ||
else | ||
echo "Bad version parsing" | ||
exit | ||
fi | ||
else | ||
TAGVER=$1 | ||
fi | ||
VER="${TAGVER/v/}" | ||
echo "Creating tag:v$VER" | ||
|
||
read -p "Please generate CHANGELOG and commit it BEFORE you tag. Press a key when ready..." | ||
read -p "Press any key to create the tag or Ctrl-C to break..." -n1 | ||
git tag -fa v$VER -m"v$VER" | ||
git push -f --tags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# your secrets file | ||
[secrets] | ||
ZMES_PICTURE_URL=https://portal/zm/index.php?view=image&eid=EVENTID&fid=objdetect&width=600 | ||
#ZMES_PICTURE_URL=https://portal/zm/index.php?view=image&eid=EVENTID&fid=snapshot&width=600 | ||
ZM_USER=user | ||
ZM_PASSWORD=password | ||
ZM_PORTAL=https://portal/zm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters