Commit Graph
1514 Commits
Author SHA1 Message Date
Jimmy Conner d64cf042f4 Update images for modern theme
Remove lib/tree.php

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7652 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-03 04:23:41 +00:00
Jimmy Conner aead1c8f3f 1) CLog again
2) Correct some plugin issues related to snmpagent
3) Update modern jQueryUI CSS and images (again)
4) Add autocomplete for device in a few areas add new form object for generic callback
5) Give filter and form objects the jQueryUI styling in modern
6) Convert the Tree edit code to an API
7) Minor CSS changes

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7651 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-03 04:20:32 +00:00
Andreas Braun e17be171cc merge SNMPAgent to main. notification receivers not complete so far
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7650 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-02 16:21:54 +00:00
Andreas Braun c2471d17f4 indexing issue in db_fetch_cell_prepared()
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7649 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-02 16:20:32 +00:00
Jimmy Conner 4c7200b3c2 1) Fix page refresh on tree
2) Fix performance issue on initially rendering all trees

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7646 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-01 04:43:31 +00:00
Jimmy Conner 4d353f3ac1 1) More removal of colons
2) Add Filter Icon to Filters
3) It's not a Host, it's a Device

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7645 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-01 01:23:29 +00:00
Jimmy Conner cc50b39a7f 1) Remove 'Default' everywhere
2) Remove colons at the end of filter names

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7644 860744bd-22fc-0310-8c96-e9fe5004b5ca
2015-01-01 00:27:19 +00:00
Jimmy Conner e4eebf5837 1) Re-introduce collapsible menus
2) Move RRDTool Default Font to Visual (most people using 1.3+)
3) Fix Placeholers, set on a few fields
4) Have Host Pinged as Callback when Editing Host
5) Fix User Menu Visibility Glitch
6) Fix issue where FTP Options would not appear under Settings Export
7) SNMP Options before Availability Options when editing host

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7643 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-31 20:18:37 +00:00
Jimmy Conner be9b7edb63 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@7642 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-31 05:37:49 +00:00
Jimmy Conner e6d6427823 1) Part 1 of adding Tool Tip Feature to Table Headers
2) Part 1 of adding new Graph Items

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7641 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-30 22:03:46 +00:00
Jimmy Conner 5a10ac1cde 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@7640 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-30 19:56:56 +00:00
Jimmy Conner c2bc81f01e 1) Remove RRDtool 1.0 support
2) Consolidate Graph and XPort functions
3) Reorganize Graph function to make more modular
4) Leave XPort wrapper function for backward compatibility
5) Turn fetch cache into a static

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7639 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-30 19:56:09 +00:00
Jimmy Conner 3cc4018310 Integrate Secpass plugin into the core
Add function to installer to allow easy adding of columns, just like plugins have

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7633 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-30 05:53:31 +00:00
Jimmy Conner 51099dba7b 1) Have the ordering actually work
2) API'ify the tree code
3) Consolidate Tree functions
4) CLI testing

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7632 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-30 03:46:34 +00:00
Jimmy Conner 9e6d9d93b8 Remove duplicate code in database.php by forcing normal calls to use through the prepared functions. By default prepares are emulated, so there is no performance loss, there might even be a performance gain because of the prepared plan caching by PDO.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7630 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-30 02:52:24 +00:00
Jimmy Conner 63c24d2f1f Add tree changes. So Long Order Key!
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7625 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-29 15:28:24 +00:00
Jeff Pasnak 6e9f636abf #0002492 - Standardize mysql syntax - final pass
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7621 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-28 21:09:38 +00:00
Jimmy Conner efb572d79f Patch for SSL/TLS in PHPMailer
also fix the bullet_arrow images

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7616 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-27 05:25:44 +00:00
Jeff Pasnak fa0e971385 #0002492 - Standardize mysql syntax - start of lib
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7615 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-26 19:32:18 +00:00
Jimmy Conner 313a24f568 Remove MYSQL_ATTR_FOUND_ROWS
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7610 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-25 18:23:34 +00:00
Jimmy Conner f15161aba2 1) Correct change password redirect loop.
2) Remove 'legacy_menu_nav' option in settings
3) Add 'placeholder' as a form option
4) Fix undefined variable when logging in using authentication tokens
5) Convert Cacti to use PHPMailer Class
6) Add option to send emails through secure connections SSL/TLS
7) Minor form Cleanup
8) Add SMTP Ping Function for Quick Tests
9) Minor CSS change in Classic mode

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7607 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-24 19:55:18 +00:00
Jimmy Conner 9baca61343 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@7604 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-24 08:44:40 +00:00
Jimmy Conner 5580b4ca1a 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@7603 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-24 08:08:44 +00:00
Jimmy Conner 8831aa88ac 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@7601 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-24 06:30:15 +00:00
Jimmy Conner 7e0d44e5a6 Fix some bad logic in boost_poller_on_demand
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7600 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-24 06:22:33 +00:00
Jimmy Conner ab3e9865ad A few more prepared statements for authentication functions
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7599 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-24 04:09:50 +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 bf1046a437 Add back in line accidentally removed earlier
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7595 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-24 02:05:57 +00:00
Jimmy Conner b58196118c Remove ADODB
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7593 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-24 01:38:21 +00:00
Jimmy Conner fdf134da74 1) Enhance the Right pane to present 'Logout | Change Password' as a drop-down.
2) Minor changes to filter HTML to remove width attributes where they were not required
3) Don't focus on the filter in mobile browsers, it's evil
4) Previous and Next << and >> are now in CSS (TO-DO: Need to update classic CSS though to make more visible)


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7592 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-24 01:30:08 +00:00
Jimmy Conner 0358e37ce9 More Q/A and cleanup of the database functions
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7591 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-23 18:22:30 +00:00
Jimmy Conner be2530fd9d Correct an error in plugins.php
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7590 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-23 17:26:30 +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 10348ee7b4 Quick fix for db_execute on invalid queries
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7588 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-23 04:39:35 +00:00
Jimmy Conner f99e1d33e8 Better fix for affected rows (PDO really needs a better method)
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7587 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-22 06:06:13 +00:00
Jimmy Conner dbce81125c Need to return the connection for plugins that use a separate DB. I would rather they were passing the db name instead, but it would break too many things at this point.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7586 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-22 05:04:29 +00:00
Jimmy Conner a3424967e4 1) Reverted cacti login image (attached)
2) Change password now requests current password too
3) Place 'Change Password' link on page if auth_method==1.  Thinking that this should be a user_profile.php page instead....


git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7585 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-22 01:56:46 +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 4ffc111e34 Quick test of a prepared statement. You can also use named parameters if you like.
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7582 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-19 08:36:00 +00:00
Jimmy Conner e038586bbb Create quick functions for prepared statements.
I had originally added in caching of the prepared resource, and reusing it instead calling prepare again, but from what I have found, MySQL is caching the result anyways, so there is no real difference.

I would like to find a way to combine these with the original functions without causing backward compatibility problems.  I will see what I can come up with.

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7581 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-19 08:34:36 +00:00
Jimmy Conner 6d51ed791d Change database.php to utilize PDO functions
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7580 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-19 06:32:59 +00:00
Jimmy Conner 7e28035cfe Correct some missed $cnn->qstr references
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7578 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-18 08:56:55 +00:00
Jimmy Conner bd51d47da2 Fix undefined error
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7576 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-18 07:58:29 +00:00
Jimmy Conner 0bfb523159 split is depreciated
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7575 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-18 07:56:32 +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 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
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
Jimmy Conner a38da95ebf 1) Copy user should include group permissions
2) Remove easytabs as we don't use it
3) Correct typo in data_queries.php
4) Add Hotkeys (always put filter in focus, and ctrl-c clears filter)
5) Add CSS to Login Page
6) Make Setting filter -> applyFilter and Clearing -> clearFilter 
consistent in support of item 4)
7) $('#navigation_right').show() in graph_view.php was interfering with 4)
8) Correct issue where boost stats under utilities.php did not know 
where bottom_footer.php was
9) If refreshMSeconds is not defined, don't throw and JS error

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7570 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-17 02:48:32 +00:00
Andreas Braun c3c0000349 -fix boost and dsstats poller bottom hooks
-minor bug fixes

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7567 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-16 05:52:10 +00:00
Andreas Braun c420519083 feature: All sorting done using Ajax
feature: Support column alignment
feature: Provide visual indicator of sort status
feature: Prevent deletion of Cacti objects in use
feature: Provide 'in use' for Templates
bugfix: avoid software loop in CDEF definition

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.8@7566 860744bd-22fc-0310-8c96-e9fe5004b5ca
2014-12-15 17:08:35 +00:00