-
Couldn't load subscription status.
- Fork 1
Preparing for Version 2.0 #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,25 @@ | ||
| --- 2.0 --- | ||
|
|
||
| feature: Allow creation of named Trees | ||
| feature: Allow Adding optional sub-branches to new Trees | ||
| feature: Add more callbacks to make navaigation smoother | ||
| feature: Move away from concept of 'Personal Trees' till Cacti arrives there | ||
|
|
||
| --- 1.1 --- | ||
|
|
||
| issue: Correct some image issues | ||
| issue: Made default sorting Alphabetic for new trees | ||
| issue; Made default sorting Inherited for new branches/graphs | ||
|
|
||
| --- 1.0 --- | ||
|
|
||
| feature: Updated to work with 1.x | ||
|
|
||
| --- 0.2 --- | ||
|
|
||
| feature: Added option to display as a console menu item instead | ||
| feature: Added option to save to an existing Graph Tree | ||
|
|
||
| --- v0.1 --- | ||
|
|
||
| Initial Release |
This file contains hidden or 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,10 +1,10 @@ | ||
| [info] | ||
| compat = 1.1.9 | ||
| compat = 1.2.17 | ||
| author=Howard Jones | ||
| homepage=https://github.com/howardjones/cacti-quicktree | ||
| webpage=https://github.com/howardjones/cacti-quicktree | ||
| longname=QuickTree for Cacti 1.x | ||
| longname=QuickTree for Cacti | ||
| name=quicktree | ||
| version=1.1.0 | ||
| version=2.0 | ||
| email=howie@thingy.com | ||
| url=http://www.network-weathermap.com/versions.php |
This file contains hidden or 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 hidden or 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,6 +1,4 @@ | ||
| <?php | ||
|
|
||
| header("Location:../index.php"); | ||
| header('Location:../index.php'); | ||
|
|
||
| // vim:ts=4:sw=4: | ||
| ?> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains hidden or 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,4 @@ | ||
| <?php | ||
|
|
||
| header("Location:../index.php"); | ||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains hidden or 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,75 @@ | ||
| #!/bin/sh | ||
| #+-------------------------------------------------------------------------+ | ||
| #| Copyright (C) 2004-2021 Howard Jones | | ||
| #| | | ||
| #| This program is free software; you can redistribute it and/or | | ||
| #| modify it under the terms of the GNU General Public License | | ||
| #| as published by the Free Software Foundation; either version 2 | | ||
| #| of the License, or (at your option) any later version. | | ||
| #| | | ||
| #| This program is distributed in the hope that it will be useful, | | ||
| #| but WITHOUT ANY WARRANTY; without even the implied warranty of | | ||
| #| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | | ||
| #| GNU General Public License for more details. | | ||
| #+-------------------------------------------------------------------------+ | ||
| #| Cacti: The Complete RRDtool-based Graphing Solution | | ||
| #+-------------------------------------------------------------------------+ | ||
| #| This code is designed, written, and maintained by the Cacti Group. See | | ||
| #| about.php and/or the AUTHORS file for specific developer information. | | ||
| #+-------------------------------------------------------------------------+ | ||
| #| http://www.cacti.net/ | | ||
| #+-------------------------------------------------------------------------+ | ||
|
|
||
| # get script name | ||
| SCRIPT_NAME=`basename ${0}` | ||
|
|
||
| # locate base directory of Cacti | ||
| REALPATH_BIN=`which realpath 2>/dev/null` | ||
| if [ $? -gt 0 ] | ||
| then | ||
| echo "ERROR: unable to locate realpath" | ||
| echo | ||
| echo "Linux: Confirm coreutils installed" | ||
| echo "Mac: Brew install coreutils" | ||
| echo | ||
| exit 1 | ||
| fi | ||
| BASE_PATH=`${REALPATH_BIN} ${0} | sed s#/locales/${SCRIPT_NAME}##` | ||
|
|
||
| # locate xgettext for processing | ||
| XGETTEXT_BIN=`which xgettext 2>/dev/null` | ||
| if [ $? -gt 0 ] | ||
| then | ||
| echo "ERROR: Unable to locate xgettext" | ||
| echo | ||
| echo "Linux: Install GNU gettext" | ||
| echo "Mac: Brew install GNU gettext" | ||
| echo | ||
| exit 1 | ||
| fi | ||
|
|
||
| # Update main gettext POT file with application strings | ||
| echo "Updating Cacti language gettext language file..." | ||
| cd ${BASE_PATH} | ||
|
|
||
| ${XGETTEXT_BIN} --no-wrap --copyright-holder="The Cacti Group" --package-name="Cacti" --package-version=`cat include/cacti_version` --msgid-bugs-address="developers@cacti.net" -F -k__gettext -k__ -k__n:1,2 -k__x:1c,2 -k__xn:1c,2,3 -k__esc -k__esc_n:1,2 -k__esc_x:1c,2 -k__esc_xn:1c,2,3 -k__date -o locales/po/cacti.pot `find . -maxdepth 2 -name \*.php` | ||
|
|
||
| sed -i 's/FULL NAME <EMAIL@ADDRESS\>/Howard Jones <howie@thingy.com>/g' locales/po/cacti.pot | ||
| sed -i 's/LANGUAGE <LL@li.org>/Howard Jones <howie@thingy.com>/g' locales/po/cacti.pot | ||
| sed -i 's/CHARSET/UTF-8/g' locales/po/cacti.pot | ||
|
|
||
| # Merge any changes to POT file into language files | ||
| echo "Merging updates to language files..." | ||
|
|
||
| for file in `ls -1 locales/po/*.po`;do | ||
| echo "Updating $file from cacti.pot" | ||
| msgmerge --backup off --no-wrap --update -F $file locales/po/cacti.pot | ||
| done | ||
|
|
||
| for file in `ls -1 locales/po/*.po`;do | ||
| ofile=$(basename --suffix=.po ${file}) | ||
| echo "Converting $file to LC_MESSAGES/${ofile}.mo" | ||
| msgfmt ${file} -o locales/LC_MESSAGES/${ofile}.mo | ||
| done | ||
|
|
||
| exit 0 |
This file contains hidden or 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,5 @@ | ||
| <?php | ||
|
|
||
| header("Location:../index.php"); | ||
|
|
||
| ?> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.