Commit Graph
74 Commits
Author SHA1 Message Date
cigamit 9f79d702f3 rename settings_graphs to settings_user, rename settings_graphs_group to settings_user_group
If you are running in development, you have to issue these two commands
rename table settings_graphs to settings_user;
rename table settings_graphs_group to settings_user_group
2016-02-14 14:26:48 -06: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
cigamit 26053b7527 replace deprecated get_request_var_post() with get_nfilter_request_var()
replace the deprecated calls and also start developer mode injection
checking
2016-02-11 16:46:14 -06:00
cigamit 2387bd4a08 removing many $_GET, $_REQUEST, and $_POST variable usage
There are still three steps to go in this overall.  The first is to
replace all the page filtering session storing and validation functions
and the second is to propagate those changes into various areas of the
lib directory that include the use of the various variables, lastly,
developer mode will have to be enable to see if there are any variables
used in the code that have not been sanitized.  Note, at this point the
develop branch should be thought of as slightly unstable
2016-02-07 12:51:49 -06:00
Linegod dabfabf219 replace ['action'] with set_default_action 2016-02-06 09:57:05 -06:00
Micke2k d188f1631d Change Copyright year 2015 -> 2016 2016-01-29 21:46:02 +04:00
cigamit 253b34c591 Remove <strong> tags where prudent 2015-09-07 21:30:04 -05:00
cigamit 4fc14f929d Remove deprecated tags and remove inline styles
Removing <strong> in many areas
Moving inline styles to classes
2015-08-09 19:55:44 -05:00
cigamit e33f692d2c new form functions for ajax
add two new form functions to support ajax
move some double to single quotes
2015-06-15 00:14:43 -05:00
Jimmy Conner 262097062d 1) Correct visibility issues with Authentication methods
2) Insure that all form spacers can be collapsible, even with visibility 
events tied to them
3) Set initial visibility of the general header to none
4) Fix auth_profile.php to behave as expected, (save,return)
5) Minor tweak to graph_settings.php
6) New button function
7) Add some core jQuery functions

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7666 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-04 18:03:36 +00:00
Jimmy Conner a4d8dbaf5a 1) Add user profile management page for users (save not working yet)
2) Add user email field in upgrade
3) Extend collapsible columns to more pages and sections, and soon all 
sections
4) More modern theme tweaks like form objects and calendar widget
5) Add new realm for user profile management.

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7663 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-04 02:16:11 +00: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
Jimmy Conner 5646c33484 A little bit of cleanup
Change double quotes to single quotes where possible
Move to prepared statements were possible
Fix line endings on a few files

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7609 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-25 07:00:57 +00:00
Jimmy Conner 372e18d535 Move some uses of db_qstr to prepared statements instead
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7598 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-24 03:59:10 +00:00
Jimmy Conner 6a2312ec94 - When editing a tree, use overflow to keep GUI manageable.
- Enhance lib/ping.php error checking
- Clean out some more dos2unix issue
- Add some comments to lib/rrd.php
- Add some additional checks in cdef.php
- Major simplification of Graph Settings page.  Add more Dynamic views 
to keep it simple.

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7583 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-20 02:20:47 +00:00
Jimmy Conner 47de436a96 Backport database.php from Main as a starting point.
We will then begin to move to utilizing the PDO library (unless we vote otherwise).
ADODB is being left included for now until I can rewrite the Syslog plugin.


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7573 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-17 06:31:32 +00:00
Andreas Braun 19394ea42e 1) Autoclean RRDfiles including settings to control (Removed Backup option. However, Delete and Archive Remain)
2) Improved and Moved RRDCleaner Under Utilities (Tested to 1M RRDfiles, very fast)
3) Normalized the 'message' display so it can be used in 'All' Ajax page refreshes
4) Fixed a JavaScript issue that prevented List View from working well.
5) Remove some deprecated references to "Dual" and "Single" pane Tree View
6) Added 'pulsate' Javascript function for some nice notification (see RRDCleaner GUI)

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7553 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-11 23:26:22 +00:00
Jimmy Conner 988cdc9345 A few more changes to settings ajax
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7549 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-07 05:25:38 +00:00
Jimmy Conner 6d905c8735 Add ajax to graph settings
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7548 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-07 03:23:01 +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 b09354888e Addition theme fixes and javascript updates
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7482 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-11-09 23:49:23 +00:00
Tony Roman d82550439a Now with Themes!
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7480 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-11-08 19:14:29 +00:00
Andreas Braun 0a67496c07 deprecation of $colors array
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7479 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-11-05 06:03:18 +00:00
Jimmy Conner 301dccf54e -bug#0002455: Incomplete and incorrect input parsing leads to remote code execution and SQL injection attack scenarios
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7454 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-06-28 05:43:01 +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 c7c5855af7 bug: Graph settings and settings check boxes do not allow unchecking to be saved
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6978 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-12-21 23:29:39 +00:00
Larry Adams 8162fbeeb1 -bug#0002062: Multiple security vunerbilities done a little less harmful
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6858 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-10-12 19:43:42 +00:00
Larry Adams bc4a8bf3c9 -bug#0002062: Multiple security vunerbilities
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6857 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-10-12 19:07:35 +00:00
Larry Adams c69546e194 -bug#0001992: Saving Graphs Settings Breaks Cacti
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6370 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-05-08 18:23:51 +00:00
Reinhard Scheck d94dbd9850 -bug#0001967: Reflected XSS on Cacti 0.8.7g
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@6355 860744bd-22fc-0310-8c96-e9fe5004b5ca
2011-03-27 08:11:30 +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
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 d7016229f1 -feature: Make the Graphs pages render like the rest of Cacti
-bug: Graph List selectors do not persist between pages
-QA: Removing "custom" session causes problems with Timespan Selector


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@5835 860744bd-22fc-0310-8c96-e9fe5004b5ca
2010-05-03 16:17:21 +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
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 f8c13908e9 -bug: IE generates errors on both the host and graph settings pages as well as firefox in some conditions on graph pages.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4734 860744bd-22fc-0310-8c96-e9fe5004b5ca
2008-09-21 07:12:18 +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
Larry Adams 2e9bc29678 -bug#0001011: System Level Font Settings Not Applied to Graphs
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4176 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-19 01:35:26 +00:00
Tony Roman 67a4e06473 Fixed bug that did not allow modification of graph settings by the user
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/main@4140 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-09-09 22:02:02 +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 e625781ec6 Typos suck and I'm glad I have a script to update copyrights
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3898 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-03-04 20:17:57 +00:00
Tony Roman 8ff975973a Proper date range needed in copyright
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3896 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-03-04 20:11:14 +00:00
Tony Roman e116f23ff7 Copyright update for php files
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3894 860744bd-22fc-0310-8c96-e9fe5004b5ca
2007-03-04 19:30:21 +00:00
Jimmy Conner 70931a6890 Bug: The Graph Settings Page was using the graph refresh interval, which caused it to refresh while the user is inputting data.
So basically, if the user sets the interval to 1, its almost impossible for them to fix it, as it just keeps reloading.

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3755 860744bd-22fc-0310-8c96-e9fe5004b5ca
2006-08-28 06:48:12 +00:00
Ian Berry fab32d2f87 eliminate endless loop in config_settings.php
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@2026 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-08-28 05:44:27 +00:00
Ian Berry 5632372b7e fix default graph settings in user management (bug#0000271)
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1964 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-08-20 04:46:58 +00:00
Larry Adams cf350f3633 some more changes for coming and going from Graph Settings
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1930 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-08-13 20:26:16 +00:00