Larry Adams
cff56e9111
additional MySQL 5.x compatibility changes
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3267 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-10-31 01:07:13 +00:00
Larry Adams
2a4c5c89f4
incorporate a timeout to ss_fping.php
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3234 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-10-17 01:31:40 +00:00
Larry Adams
8c76565505
changes for mysql 5.x support
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3211 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-10-08 22:25:24 +00:00
Ian Berry
5d36ebf9ee
remove empty field checks for non-templated fields (bug#0000543)
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3135 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-08-23 00:50:01 +00:00
Larry Adams
0a2e0401f6
bug#000498 altering PHP Script Server Scripts damages data template on Multiple Ouput Scripts
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3032 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-07-02 01:42:38 +00:00
Tony Roman
81f671d8d0
SECURITY: Hardened PHP Project Advisory #022005 - Cacti Multiple SQL Injection Vulnerabilities
...
SECURITY: Hardened PHP Project Advisory #032005 - Cacti Remote Command Execution Vulnerability
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@3001 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-06-26 00:17:16 +00:00
Ian Berry
1e19326714
check data input field values against regex/empty checks when applicable (bug#0000478)
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@2935 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-06-10 03:03:44 +00:00
Larry Adams
563ad26994
suggestions for validation logic bug#0000402
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@2860 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-05-27 03:50:11 +00:00
Larry Adams
766f2c0423
suggestions for validation logic bug#0000402
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@2848 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-05-26 22:23:57 +00:00
Larry Adams
c0ebc88f1f
data templates fixes for logarithmic issues
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@2847 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-05-26 22:13:12 +00:00
Ian Berry
dcaf10186c
add GET variable input validation for unquoted SQL values (IDEF#1001)
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/branches/BRANCH_0_8_6/cacti@2833 860744bd-22fc-0310-8c96-e9fe5004b5ca
2005-05-25 02:55:11 +00:00
Ian Berry
ea47f3eddf
prevent duplicate data templates from being displayed (bug#0000304)
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@2112 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-09-29 20:41:04 +00:00
Ian Berry
20be031c1d
display data templates with no set data input method (bug#0000310)
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@2111 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-09-29 20:25:22 +00:00
Larry Adams
18f4904258
Fix for data_template change data_input_method problem.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@2038 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-08-30 20:19:30 +00:00
Ian Berry
de0ba09964
make box padding=3 to keep consistency
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1820 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-07-22 04:56:30 +00:00
Larry Adams
bd3917a4eb
get rid of a little SQL
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1814 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-07-22 02:53:33 +00:00
Larry Adams
b73d9711d4
I think you will like this change.
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1813 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-07-22 02:48:37 +00:00
Ian Berry
353184fa63
use html templates/html* functions where possible
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1610 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-24 19:16:05 +00:00
Ian Berry
74894f9135
move lib/form.php to lib/html*
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1602 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-22 04:12:08 +00:00
Ian Berry
7d0512bd01
move the actions dropdown form code into draw_actions_dropdown()
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1565 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-07 01:57:18 +00:00
Ian Berry
943cf8c200
correct 'check all' to not be 'invert all' across the board (bug#0000124)
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1560 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-06-07 00:24:58 +00:00
Ian Berry
4408f18def
update the way templated custom data fields work:
...
- if the field is templated, empty, and a host field; use the host value
- if the field is template, non-empty, and a host field, use the template field value
- if the field is non-templated, use the user-specified value (per-data source)
unify the valid host field check in lib/config_form.php
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1485 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-01-25 02:38:32 +00:00
Ian Berry
9014054837
updated the copyright to 2004
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1469 860744bd-22fc-0310-8c96-e9fe5004b5ca
2004-01-19 06:05:14 +00:00
Ian Berry
7aff0ab7bf
add 'drop_multi_rra' form type and remove the hack on data sources/template pages
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1398 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-26 04:50:10 +00:00
Ian Berry
9742b6feee
remember to update the *local tables when deleting a template
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1383 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-17 02:33:38 +00:00
Ian Berry
009b6e1dd5
fix hidden id storage on edit form that caused data template items to keep growing
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1325 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-06 01:51:18 +00:00
Ian Berry
2bf08d6814
add hash support when saving
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1293 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-10-26 02:26:49 +00:00
Ian Berry
7f17afd9c2
move some template related functions into lib/template.php
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1265 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-10-14 04:35:47 +00:00
Ian Berry
f15d5f6a39
move all edit form data to 'include/config_form.php'
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1231 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-09-23 03:17:14 +00:00
Ian Berry
39866609d3
unified all edit form code; updated references to the new 'lib/' directory
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1228 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-09-22 04:31:58 +00:00
Ian Berry
2c93a748f7
some undefined variable errors
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1206 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-08-29 04:55:06 +00:00
Ian Berry
a8e7b42624
data source item adds/removes should be propagated correctly; 'Associated RRA's' propagates now; took away the 'Use Per-Data Source Value' checkbox for fields that it doesn't apply to
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1159 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-08-19 06:38:34 +00:00
Ian Berry
a1ab357f80
fix redirect after a save error as to &view_rrd=
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1140 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-08-17 06:33:17 +00:00
Ian Berry
5334d7e22c
eliminating some db orphans
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@994 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-30 02:49:53 +00:00
Ian Berry
f6c72bdb2d
fix some undefined variable errors
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@957 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-23 07:19:04 +00:00
Ian Berry
638ea8ad4e
fix error if no RRA's are selected
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@923 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-14 16:55:35 +00:00
Ian Berry
e27c873bd4
replaced cancel/save buttons with no/yes buttons on action forms
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@919 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-13 05:31:48 +00:00
Ian Berry
2bc3b10624
allow negative integers for min/max values
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@886 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-04-24 19:35:55 +00:00
Ian Berry
20b0b6f558
added delete and duplicate actions, got rid of 'full view' support
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@832 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-04-14 00:36:15 +00:00
Ian Berry
e3b9739bc0
redirection problem when deleting data source items
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@783 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-27 03:57:09 +00:00
Ian Berry
d17b024d84
fixed potential db orphans and got rid of one undefined var error
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@687 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-13 05:46:01 +00:00
Ian Berry
f8195dbac2
add counter so the tabs can be numbered
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@667 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-10 07:52:20 +00:00
Ian Berry
f2d6374c74
added better looking tabs to these pages
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@645 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-09 22:06:15 +00:00
Ian Berry
c01ef55ffd
header fixes
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@597 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-27 08:04:50 +00:00
Ian Berry
7ccdb3604c
using $_SERVER instead of getenv()
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@586 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-24 01:27:00 +00:00
Ian Berry
dc6de06fd6
replace references to mysql's LAST_INSERT_ID() with an abstracted db_fetch_insert_id()
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@578 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-23 22:44:54 +00:00
Ian Berry
40e09eeea8
data_input_field_id stuff
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@527 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-17 08:35:29 +00:00
Ian Berry
7dc4fb9e76
converted to generic ids like the other forms so the array-based form stuff works well across varying pages
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@515 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-16 06:56:53 +00:00
Ian Berry
85dd291c42
making everything work under E_ALL
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@483 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-09 09:19:28 +00:00
Ian Berry
f93b7e58f5
form save validation checks; save code unification/cleaup
...
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@472 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-06 06:04:00 +00:00