bzr branch
http://darksoft.org/webbzr/adei/trunk
1
by Suren A. Chilingaryan
Initial import |
1 |
BROWSER SUPPORT
|
2 |
===============
|
|
3 |
The ADEI is optimized for browsers of mozilla family. However it tested and |
|
4 |
shown to work with Opera and Internet Explorer as well. Tested in: |
|
5 |
* Mozilla Seamonkey 1.1.7 (Linux, amd64) |
|
24
by Suren A. Chilingaryan
Logger subsystem |
6 |
* Mozilla Firefox 3.0 (Linux, amd64)
|
1
by Suren A. Chilingaryan
Initial import |
7 |
* Mozilla Firefox 2.0.0.11 (Linux, x86)
|
12
by Suren A. Chilingaryan
Layout redesign: search tab, controls, menu |
8 |
* Opera 9.27 (Linux, x86)
|
1
by Suren A. Chilingaryan
Initial import |
9 |
* Internet Explorer 6.0 SP1 (Win2000)
|
10 |
* Internet Explorer 7.0 (WinXP)
|
|
11 |
* Safari 3.1 (WinXP)
|
|
12 |
||
13 |
Following browsers are not thorougly tested, but reported to work |
|
14 |
* Safari 3.0.4 (MacOS 10.4.11, PowerPC G4) |
|
15 |
* Safari (MacOS Tiger)
|
|
43
by Suren A. Chilingaryan
Data filtering support |
16 |
* Arora, QT-WebKit 4.4.0 (Linux, amd64)
|
105
by Suren A. Chilingaryan
Konqueror support |
17 |
* Konqueror 4.2 (Linux, amd64)
|
1
by Suren A. Chilingaryan
Initial import |
18 |
|
19 |
Following browsers are surelly not working: |
|
20 |
* Konqueror 3.5.7 |
|
21 |
||
22 |
||
23 |
FUNCTIONS
|
|
24 |
=========
|
|
25 |
Overall: |
|
26 |
- Clicking on buttons on the left side of image will open various
|
|
27 |
controls: |
|
28 |
1) Various graphic options
|
|
29 |
2) Source of the data: database, data group, etc
|
|
30 |
3) Data export settings
|
|
31 |
- Mentioned above buttons may had special pictograms allowing fast
|
|
32 |
access to the encompassed options, allowing basic operations without |
|
33 |
opening full controls. |
|
34 |
||
35 |
Graph: |
|
36 |
- Holding left mouse key it is possible to select area. Afterwards the
|
|
37 |
selection area could be adjusted and shifted. Besides that it is possible |
|
38 |
to select: |
|
39 |
+ Only timeframe leaving the allowed value-range untouched. To achieve
|
|
40 |
that, please, select area with only a few pixels height. |
|
41 |
+ Only accepted value range leaving the timeframe untouch. To achieve
|
|
42 |
that, please, slect area with only a few pixels width. |
|
43 |
Following actions can be pefrormed with selection: |
|
44 |
+) Zoom: by double clicking within the selction, or by clicking |
|
45 |
on apply button attached to the selection. |
|
46 |
+) Export: Export the data within selection using current export |
|
47 |
settings. Achieved by clicking on export button attached to the |
|
48 |
selection. |
|
49 |
+) Cancel: To cancel selection just click with a mouse somethere |
|
50 |
outside of the selection. |
|
51 |
- By clicking on the graphic it is possible to get information about
|
|
52 |
data items displayed (and alter items mask: display only selected items |
|
53 |
or remove selected items from display). |
|
54 |
+ The mentioned information is shown in popup window which could be
|
|
55 |
moved and resized. If it's moved, the folowing clicks will alter |
|
56 |
content in the window but not window position and size. |
|
57 |
+ To enable again size and possition auto-adjustment the window
|
|
58 |
should be closed by clicking "close" button in the left-upper |
|
59 |
angle. |
|
60 |
+ The second button in the angle will maximize window.
|
|
61 |
- Changing certain parameters (for example items, non-by-item masks,
|
|
62 |
display window size) will automaticaly apply configuration. The rest |
|
63 |
of the parameters should be manually applied. |
|
64 |
- The graphic is pereodically auto-updated to display newly obtained
|
|
65 |
data (update rate is specified in the server configuration). |
|
66 |
- The accuracy of the graph is highly dependent on amount of the data
|
|
67 |
items and may varry from 1 to appr. 100 pixels (actual values are |
|
68 |
specified in the server configuration). |
|
69 |
- Zooming time window in and out could be done with mouse wheel.
|
|
70 |
||
71 |
History: |
|
72 |
- The history is only updated if the graph (or some equivalent on other
|
|
73 |
pages) is changed. The alteration of EXPORT setting will be ignored by |
|
74 |
history (but they will be reflected in the browser location). |
|
75 |
||
76 |
||
77 |
TIME.
|
|
78 |
====
|
|
79 |
In order to prevent problems with time, it is highly recommended: |
|
80 |
a) Set CACHE MySQL to GMT timezone |
|
81 |
b) Set C/en_US locale |
|
82 |
||
83 |
DATABASES.
|
|
84 |
=========
|
|
85 |
* MSSQL (Microsoft SQL Server)
|
|
86 |
- The PDO(dblib) and mssql_* should not be used. The php driver is (5.2.4)
|
|
87 |
really ugly. It obtains whole result dataset in internal buffer. |
|
88 |
- The PDO(ODBC) driver works correctly.
|
|
89 |
||
90 |
* ODBC
|
|
91 |
- ODBC have some problems as well (both PDO and odbc_* versions):
|
|
92 |
+ It crashes when executed using mod_php, but works from php_cli
|
|
93 |
+ While executed with php_cli, the php is hang on exit
|
|
94 |
this have been solved by |
|
95 |
+ using apache 2.2.6, instead of 2.0.x
|
|
96 |
+ removing -fPIC compilation flag
|
|
97 |
+ compiling into the php only odbc, pdo and mysql DB modules
|
|
98 |
- Still there are in some circumstances quite strange behavior. The
|
|
99 |
'query' request could fail with error code '0' or just complaining what |
|
100 |
it could not prepare SQL request. |
|
101 |
+ This is a bug in PhP odbc(PDO/non-PDO) driver or in it interaction with
|
|
102 |
FreeTDS odbc driver. |
|
103 |
+ The problem looks to arise when a single connection tries to open
|
|
104 |
second result set (two parallel queries exists) to the database. |
|
105 |
+ Please, note that the following would trigger a error:
|
|
106 |
while () { |
|
107 |
$res = $odbc->Query(); |
|
108 |
} |
|
109 |
and this not (since, in the first case connection closed after another is |
|
110 |
openned): |
|
111 |
while () { |
|
112 |
$res = NULL; |
|
113 |
$res = $odbc->Query(); |
|
114 |
} |
|
115 |
+ The problem is handled in database.php by converting resultsets to the
|
|
116 |
arrays. We expect what all big queries are executed with Prepare. |
|
117 |
||
118 |
||
119 |
MULTIPLE SETUPS
|
|
120 |
===============
|
|
121 |
To use multiple configurations with single code base, it is necesary to |
|
122 |
enable "$SETUP_MULTI_MODE = true;" in the configuration. |
|
123 |
Afterwards, it is possible to specify required setup with |
|
124 |
a) '?setup=<setup_name>' - in the browser |
|
125 |
b) 'php -- -setup <setup_name>' - in scripts |
|
126 |