Commit Graph
84 Commits
Author SHA1 Message Date
cigamit 1a14cbb440 Introduce new get_cacti_version function to reduce database calls on pages 2017-05-14 12:29:30 -05:00
Tony Roman 8a179d7d7f Fix up to move if elseif else blocks to PSR 2017-05-07 19:57:36 -04:00
Tony Roman 27045ea52d Fixup install process to streamline releases
- Added and moved code to CACTI_VERSION constant
 - Merged cacti versions and hash codes array to have one place to add versions
 - Moved cacti version to file to facitate automation needs
 - Cleaned up cli database upgrade script
2017-05-01 08:58:29 -04:00
cigamit e2243f62d2 feature: Make Cacti more tolerant of empty PHP_SELF on some web servers 2017-04-22 08:22:01 -05:00
Patrick 9499d3bcbb Small optimisations and bugfixes:
auth.php:
- placed result of get_selected_theme() in var

functions.php:
- mailer():
  - fetch date from setting by caching method
  - read_config_option('settings_from_email') unnecessary
  - 2x undefined function $mail->replyTo() (should be addReplyTo())
- calculate_percentiles()
  - Final return statement has undeclared variable; I believe this should be results instead of result, but could not reproduce

index.php:
- only fetch the fields needed for querying external_links
- 2x </td> instead of </tr>
2017-04-04 11:42:28 +02:00
cigamit 3c7ef42902 Resolving Issue #329
Also first step in resolving issue #186
2017-02-23 17:40:19 -06:00
cigamit 75c6359894 Resolving Issue #329 2017-02-22 20:03:17 -06:00
cigamit b5e8984a35 Resolving Issue #251 2017-02-01 17:17:39 -06:00
cigamit afc256c3c2 Re-add Copyright to login, with robots Meta 2017-01-27 23:16:42 -06:00
cigamit a2f20b80ea Make permission denied messages consistent. 2017-01-16 20:49:10 -06:00
Tony Roman 35a5988f41 Update source code files copyright to new year 2017-01-01 13:45:29 -05:00
cigamit da27a9cb6d add font-awesome to additional pages 2016-12-21 21:08:25 -06:00
cigamit 3fc496bfe2 Remove version info from Login screen
Necessary for externally accessible sites
2016-10-26 21:55:46 -05:00
cigamit 81f39d4dc1 use html5 doctype 2016-09-05 13:38:14 -05:00
Browniebraun c898114219 make use of i18n function calls. 2016-03-31 19:01:05 +02:00
cigamit f2edfcbe53 update theme to a user setting 2016-02-14 10:48:34 -06:00
cigamit cf9aba7635 set $current_user for each page load
allows this global to be used by various aspects without having a
separate call.
2016-02-13 09:13:53 -06:00
Micke2k d188f1631d Change Copyright year 2015 -> 2016 2016-01-29 21:46:02 +04:00
cigamit a80afac086 correct typo in auth.php
correcting small typo
2016-01-17 19:20:08 -06:00
cigamit 04a7e14080 resolving Bug:2617 2016-01-17 16:33:37 -06:00
cigamit 3b33a55ca4 Correct issues with multiple domains
Plugin merge testing
2015-08-08 20:58:32 -05:00
cigamit 227ef26077 Minor tweak to auth for cacti_db_version
Minor tweak to reduce the query volume to generate a page.
2015-08-02 17:14:17 -05:00
Jimmy Conner 5bde3da972 1) Update Copyright Years Correct a few minor CY Issues
2) Allow Locking/UnLocking of Graphs
3) ToolTips
4) Correct Minor Issues with Login/Out/Permission associated with Theme JS
5) Upgrade jQuery which has Fixes for Major issue in Safari 7/8.1

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7662 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-04 01:52:50 +00:00
Andreas Braun e6c2c8b333 typo
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7648 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-02 16:19:57 +00:00
Jimmy Conner cb7b19b218 A little bit of cleanup
Change double quotes to single quotes where possible
Move to prepared statements were possible

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7602 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-24 07:35:21 +00:00
Jimmy Conner 15bc773c89 Add authentication cookies
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7589 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-23 04:49:29 +00:00
Jimmy Conner 1e792abce1 New login & permission denied screens
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7584 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-21 05:26:19 +00:00
Jimmy Conner 04340b729b 1) Correct issue in _db_replace not handling primary keys correctly
2) Fix undefined variable in lib/tree.php
3) Properly copy and add users and their permissions
4) Move about/login/logout/permission images into CSS for themes
5) Remember my last settings tabs between refreshes
6) Only show Boost specifics when checked
7) Remove DOS eol's in database.php

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7574 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-18 05:33:42 +00:00
Jimmy Conner ac6d6929cc Remove some unnecessary ending PHP closing tags
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7571 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-17 03:02:03 +00:00
Andreas Braun af69e37e7b - merge DSSTATS, Boost and Settings to the mainstream
- Enhancement of breadcrumbs to include Tree information in Ajax response.
- Removing all double quotes from 'include' files for performance.
- Some cleanups in cdef.php
- Enhancement of 'Send Test Email' to use Dialog jQuery plugin
- Fixed (finally) the last remaining issues with re-sizable columns
- Some CSS cleanup
- Fix main tabs not highlighting
- Add consistent help screens to CLI and pollers relative to versions and copyright years (now a constant)

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7551 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-08 19:52:37 +00:00
Andreas Braun a59aedace8 add latest changes
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7535 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-03 16:34:51 +00:00
Tony Roman 65be30ffe0 Update copyright to 2014
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7437 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-03-30 19:54:50 +00:00
Tony Roman ce40281901 Update copyright to 2013 for 0.8.8
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7386 860744bd-22fc-0310-8c96-e9fe5004b5ca
2013-07-21 23:00:42 +00:00
Tony Roman a257958a0b Update copyright to 2012
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@7016 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-02-27 07:04:37 +00:00
Tony Roman 2d039dd7db Merge PIA into 0.8.7 branch
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@7006 860744bd-22fc-0310-8c96-e9fe5004b5ca
2012-02-27 01:14:45 +00:00
Tony Roman 9acba795fe Update copyright to 2011
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6233 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-27 03:44:05 +00:00
Reinhard Scheck d15dbc5d19 reverting last change, I'm an idiot looking at the wrong config.php.dist
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6205 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-06 21:40:47 +00:00
Reinhard Scheck 299eb82f90 backporting url_path issues from PIA
we REALLY should integrate PIA asap! Now having two locations to pay attention to

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6204 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-01-06 21:37:33 +00:00
Larry Adams ca27b126b3 -bug#0001773: character encoding problem after upgrade to 0.8.7f
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5981 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-06-06 16:23:06 +00:00
Larry Adams 53cb8a11b5 QA: Adding form actions
QA: Removing height,width elements
QA: Removing some absmiddle
QA: Resolving some duplicated elements issues
QA: Resolving several CSS warnings

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5865 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-04 18:29:29 +00:00
Larry Adams c3c831c1b5 QA: Background color's missing #
QA: Several lists missing "<ul></ul>" tags
QA: Message manipulation feature
QA: HtmlSpecialChars almost everywhere
QA: Removed some proprietary 'background' statements
QA: Went "almost" transitional.  Export forces not.
QA: Some issues with user_admin.php

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5856 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-04 08:35:24 +00:00
Larry Adams 7f9a2cd52c bug: Do not provide a "Return" link if there is no referrer.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5824 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-01 20:45:04 +00:00
Larry Adams c5403f3844 QA: Update copyrights
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5806 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-04-28 03:48:09 +00:00
Larry Adams e5b390923a -bug: Access Denied messages don't allow re-direction to login page
QA: old error reporting string remains in global.php
QA: default snmp version value in global settings invalid

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5805 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-04-28 03:34:02 +00:00
Reinhard Scheck 657ee176b2 -bug#0001311: Access denied for graph-only users when accessing index.php
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5674 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-02-21 18:44:16 +00:00
Tony Roman 26d1957d62 Update copyright to 2009
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4931 860744bd-22fc-0310-8c96-e9fe5004b5ca
2009-02-11 22:53:50 +00:00
Larry Adams 22f9e12ddb Update Copyright Notice for 2008.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4434 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-01-29 00:40:43 +00:00
Tony Roman 144878ba8d Disabling guest user should not allow guest viewing of graphs
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4198 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-23 05:02:37 +00:00
Tony Roman a340320406 Extensive authentication changes and LDAP support added
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4080 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-08-16 23:52:57 +00:00
Tony Roman 4fe05b968b Altered config.php, and include/config_* to include/global_*
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@4007 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-07-05 04:45:43 +00:00