/adei/trunk

To get this branch, use:
bzr branch http://darksoft.org/webbzr/adei/trunk
339 by Suren A. Chilingaryan
Update of ToDo lists
1
Minor improvements
2
==================
3
 - Support for multi-column formatting in WiKi (good alignment modes)
341 by Suren A. Chilingaryan
Really support INF and NAN in the caching code
4
 - Support image-maps in WiKi
214 by Suren A. Chilingaryan
Support limited group listings in WiKi, vertically align tables to top in WiKi
5
 - Datetime picker is ugly, find replacement (dhtmlx). Besides, Datetime picker 
339 by Suren A. Chilingaryan
Update of ToDo lists
6
 produces current time in local timezone. Should be UTC instead. Requirements:
7
    a) Allow easily selection of intervals from - to, like some air companies do
8
    b) Straight forward way of selecting time (without need to update date afterwards)
9
    c) Open correct month/year page, not current one
149 by Suren A. Chilingaryan
Y-axis labeling fixes (specially case xxxxxxxx.000001)
10
 - Y-value precision of big numbers under high zooms (500.000000000001) should
11
 be implemented using string arithmetics. Negative numbers should be considered,
12
 see implementation at php code.
13
  a) window.js/SetCustomAxis/*.toPrecision - increase from 7 to something....
14
  b) implement computations using string arithmetics
339 by Suren A. Chilingaryan
Update of ToDo lists
15
 - The detector name should appear on the plot after ASEC: We can implement it 
16
 with configurable callback to display information.
17
 - Allow to request data from cache in get_data service. Based on this do the 
18
 joining of archived databases to present continious data flow.
19
 - Allow limited enforcement of resolutions in graph and views (both increasing
20
 and decreasing)
21
 - At the moment we are reseting the mask/experiment/window properties after 
22
 LogGroup have been changed. We should try to use current 
23
    a) window/interval if they are inside the range.
24
    b) Preserve "all" mask (and named masks as well if they exists for both groups)
25
481 by Suren A. Chilingaryan
Various improvements for OpenShift operation
26
ADEI scaling
27
============
28
    Create inmemory copy in adei_rt database (drop from script everythin older than a day), MEMORY MySQL engine
29
	Maintain 3 databases: adei, adei_conf, adei_rt
30
	Add System script "add_rt" which configures triggers (based on per-group configuration).
31
	    CREATE TRIGGER auditlog AFTER UPDATE ON frequencies
32
	    FOR EACH ROW BEGIN  
33
		INSERT INTO frequencies_audit select * from frequencies where freqId = NEW.freqId;
34
	    END;
35
	Move md5 and downloads to adei_conf
36
37
	- Drop/Resize scripts should drop "adei_rt" tables...
38
	- Everything in adei_rt is disconnected (ensure on setup population). 
39
	- Drop everything older than a day
40
41
    Configure replication of in-memory database if necessary
42
43
339 by Suren A. Chilingaryan
Update of ToDo lists
44
Version 0.0.9 (Custom visualization and export)
198 by Suren A. Chilingaryan
Update of setups
45
=============
339 by Suren A. Chilingaryan
Update of ToDo lists
46
 A. Implement interface to provide custom visualization modes 
47
  - Port RRD custom visualization mode
48
  - Visualization of time series in % relative to mean value estimated by 
49
  previous hour (resolution interval).
50
  - Plots including simple statistics: mean, variance, relative arror
51
  - In single channel mode, draw MIN-MAX-MEAN-?
52
 B. PNG export customization
53
54
Version 0.0.10 (Persistent customizations)
55
==============
56
A. Basic user support
57
B. Metainformation caching
214 by Suren A. Chilingaryan
Support limited group listings in WiKi, vertically align tables to top in WiKi
58
 1. Cache all names in ADEI database
59
 2. Cache axes
60
 3. Allow editing of the names
339 by Suren A. Chilingaryan
Update of ToDo lists
61
C. MASK/Experiment Editor
198 by Suren A. Chilingaryan
Update of setups
62
 1. Include Save Mask, Save Time Window buttons (We need to update SOURCE and 
63
    MENU if new mask/experiment is added)
64
 2. Mask / Experiment editor. It should be allowed to delete mask, alter its
65
    name, view included items (possibly allowing deletion)
339 by Suren A. Chilingaryan
Update of ToDo lists
66
 3. Support for mask properties, allowing selection of special ways of display
67
68
Version 0.0.11 (Interface improvements)
69
==============
70
A. Better Graph Navigation
71
 - Activate / deactivate Axis, do mouse zooming only on active ones
72
 - Move current window using keyboard keys
73
 - Move left-rigth/up-down then dragging on the axis. 
74
 - Near borders of graph remove the control from the croper, change pictogram 
75
 to 'hands' and allow moving source_window currently on display.
76
 - Shading will redrawing
77
 - If we had selcted an area of graph and afterwards have adjusted the 
78
 configuration in sidebar, the selection is canceled. It would be nice 
79
 to check if new values are within the currently displayed window and, 
80
 if so, adjust selection instead.
81
B. Legend
82
 - Information about clicked location
83
 - Add "Show Only", "Remove" buttons.
84
C. Navigation Bar
85
 - Allow selection of navigation modules. The default "navigator" illustrates
86
 recordings density (red - green?), with special color highlight the places 
87
 where are distance between points exceeding specified threshold (missing
88
 data).
89
 - Use the cropper for navigation, but fixed width (defined by currently 
90
 selected window) and always visible
91
D. Interface improvements
92
 - Hide some sidebar/control tabs depending on the selected page
93
94
VERSION 0.0.12 (Analysis Interface)
95
==============
96
A. DVIN style analysis interface
97
 - Using selection interface export the data into the analysis module 
98
 using specified resolution.
99
 - Do  operations on exported time series: add, substract, and multiply 
100
 by constast
101
102
VERSION 0.0.13 (Views)
103
==============
104
A. Interface
105
 - Visualize Multi-dimensional time series based using video playback. 
106
 In appropriate box of left pane, we will have a picture and slider 
107
 allowing navigation. About 10-50 positions distributed uniformely 
108
 over the selected time. On each position the first item after 
109
 time is displayed. The timestamp is shown on as well.
110
B. Implementations
111
 - Displacement search view
112
 - Integral under selected part of graph
113
114
VERSION 0.0.14 (Tagging)
115
==============
116
 - Using selection add tags. Tag consists of type (a value from predefined 
117
 list), and custom text. Examples of types: Comment, Invalid data, Recache, 
118
 etc.
119
 - Some marks then may be used by ADEI system scripts to do some maitenance.
120
 For example, - recaching marked segments. Or more complex variant, - the 
121
 marked segments should be processed with certain filters (and hence re-
122
 cached aferwards). For this case, we should be able to provide some 
123
 parameters with mark type as well.
124
 - Integrate tagging module with search engine. Additionaly, it should be
125
 possible to find all tags for the data currently on display.
126
127
Version 0.0.15 (Search improvements)
128
==============
129
 - Search for intervals where conditions (<>=) are met (only aggregated 
130
 caching tables are used)
131
 - Autogenerate experiments by thresholding some of the channels (using
132
 specified above feature)
133
 - In case of item search, add addition button to add found item into the 
134
 virtual tree.
135
 - "Jan" find all Januaries containing data and auto-select the current 
136
 one
137
 - Buttons to Open/Close result descriptions and module results
198 by Suren A. Chilingaryan
Update of setups
138
139
---------------------------------------------------------------------------
140
339 by Suren A. Chilingaryan
Update of ToDo lists
141
VERSION 0.1 (Multitouch)
142
===========
143
 1. Finish multitouch interfaces for iPhone / iPad / Android versions
144
145
VERSION 0.2 (Aggregation and Caching)
146
===========
147
 1. Split large groups into the multiple cache tables. Due to colum limit in the
148
 mysql (other databases are limited as well), the maximum number of items per
149
 group is currently limited by ~500 (assuming 3 cache columns per channel).
150
 2. Interface for managing custom caches. For instance,
151
  - MEDIAN style approach. On each smalles caching interval it is MEDIAN. Then
152
  the middle of this intervals select to represent value of next caching 
153
  level. And so on.
154
  - ALTERNATIVE MEAN could be over items, or over length (considering that the 
155
  old value is valid until next one).
156
 3. Tere is different types of channels: analog, count rate, digital (flags), 
157
 direction. This data should be aggregated and displayed
158
 in different ways. For example, 
143 by Suren A. Chilingaryan
Support for dates prior to Jan 01, 1970
159
    a) 355grad and 5grad should not be averaged to 180, but to 0
160
    b) digital flags could not be averaged at all.
339 by Suren A. Chilingaryan
Update of ToDo lists
161
 4. Support for Subcaches (if density is above threshold use apporpiate 
162
 subcache). Join current table and subcache to automatically sort.
163
 5. Support for 'omit_raw_cache' option (using READER instead of raw cache table)
164
 Intended to reduce caching table size if connection to data source is reliable
165
 and it is not overloaded
143 by Suren A. Chilingaryan
Support for dates prior to Jan 01, 1970
166
341 by Suren A. Chilingaryan
Really support INF and NAN in the caching code
167
Version 0.3 (Status Display)
339 by Suren A. Chilingaryan
Update of ToDo lists
168
=============
198 by Suren A. Chilingaryan
Update of setups
169
1. Control infastracture
339 by Suren A. Chilingaryan
Update of ToDo lists
170
 - Finalyze checking of values prior to setting setpoints
171
 - Implement VirtualControlGroup joining specified control groups, to 
172
 refer from ExpressVI
173
2. Real-time infrastructure
174
 - CACHE updating daemon and check renewals
175
 - Real-time display of the last 100-200 records [separate window]
341 by Suren A. Chilingaryan
Really support INF and NAN in the caching code
176
3. GUI for fast prototyping of status displays
339 by Suren A. Chilingaryan
Update of ToDo lists
177
178
Version 1.0 (Code style)
179
===========
180
 1. require, include_once => $ADEI->RequireClass(array(), overridable)
181
 2. globals => $ADEI->GetGlobalOption
182
 3. Remove references(&) from all class variables
183
 4. Use static ADEI calls where possible
184
 5. Standartize error handling in JS scripts: Throw from async parts? And call 
185
 adeiError in all others? Use "translate" calls everythere.
186
187
Chili
222 by Suren A. Chilingaryan
Few fixes
188
=====
438 by Suren A. Chilingaryan
Add plot_mode to URL
189
 - Integrate Spectrum/Background module to ASEC version (how?)
190
 - Import CSV data into the ADEI (I suggest trough ASEC CSV importer)
191
 - Make Electrical Field always black, count rates - blue, lightnings - red (chili ask to re-enumerate channels in PNG exporter)
192
339 by Suren A. Chilingaryan
Update of ToDo lists
193
 - Better keep not 2 , but 3 numbers after comma in E format
194
 - no vsegda nugno sokhranyat rezultati; delat nebolshie kommentarii; chto bi 
195
 vozvrashatsya pozdnee; sravnivat raznie sobitiya; no nikakikh protokolov ne 
196
 ostaetsya; vspomni hbook-I; ves analiz ostavalsya; dage mogno bilo povtgorit 
197
 posledovatelnost deistvij.
198
415 by Suren A. Chilingaryan
Synchronize ToDo lists with zweb
199
Andreas
200
======= 
201
 - Remove database name from the chart title
202
 - Include channel list into the graph
203
  
222 by Suren A. Chilingaryan
Few fixes
204