MojoFacets.git
14 years agoadded changes controller
Dobrica Pavlinusic [Sat, 22 May 2010 12:16:29 +0000 (14:16 +0200)]
added changes controller

14 years agostore requests in /tmp/changes using Storable
Dobrica Pavlinusic [Sat, 22 May 2010 12:02:07 +0000 (14:02 +0200)]
store requests in /tmp/changes using Storable

14 years agoremove redundant debug of $facet
Dobrica Pavlinusic [Fri, 21 May 2010 22:49:15 +0000 (00:49 +0200)]
remove redundant debug of $facet

14 years agospeedup selected facet count
Dobrica Pavlinusic [Fri, 21 May 2010 18:29:21 +0000 (20:29 +0200)]
speedup selected facet count

14 years agowe need count always on screen
Dobrica Pavlinusic [Fri, 21 May 2010 18:02:28 +0000 (20:02 +0200)]
we need count always on screen

14 years agoMerge branch 'master' of github.com:dpavlin/mojo_facets
Dobrica Pavlinusic [Fri, 21 May 2010 17:51:19 +0000 (19:51 +0200)]
Merge branch 'master' of github.com:dpavlin/mojo_facets

14 years agoupdate checked-count via javascript
Dobrica Pavlinusic [Fri, 21 May 2010 17:50:56 +0000 (19:50 +0200)]
update checked-count via javascript

14 years agouse jQuery UI position for hint
Dobrica Pavlinusic [Fri, 21 May 2010 17:35:49 +0000 (19:35 +0200)]
use jQuery UI position for hint

14 years agodon't dump every x pixel in debug log
Dobrica Pavlinusic [Fri, 21 May 2010 17:34:44 +0000 (19:34 +0200)]
don't dump every x pixel in debug log

14 years agouse before_dispatch plugin hook to audit requests
Dobrica Pavlinusic [Fri, 21 May 2010 14:09:44 +0000 (16:09 +0200)]
use before_dispatch plugin hook to audit requests

14 years agolink to alternative all page from facet
Dobrica Pavlinusic [Fri, 21 May 2010 09:02:37 +0000 (11:02 +0200)]
link to alternative all page from facet

14 years agofloat sort-by right
Dobrica Pavlinusic [Fri, 21 May 2010 08:42:26 +0000 (10:42 +0200)]
float sort-by right

14 years agoall=2 will display other repeatable values
Dobrica Pavlinusic [Thu, 20 May 2010 21:06:45 +0000 (23:06 +0200)]
all=2 will display other repeatable values

This allows you to see facet of values not passing filter, but from
same items, allowing co-relation analysys

14 years agobetter debug output from _param_scalar
Dobrica Pavlinusic [Thu, 20 May 2010 21:02:57 +0000 (23:02 +0200)]
better debug output from _param_scalar

14 years agotweak _data_items to work as noral
Dobrica Pavlinusic [Thu, 20 May 2010 20:42:36 +0000 (22:42 +0200)]
tweak _data_items to work as noral

Additional param will return all values, ignoring filters
instead of looking in session for it

14 years agodraw only sub-sample of huge datasets
Dobrica Pavlinusic [Thu, 20 May 2010 20:31:44 +0000 (22:31 +0200)]
draw only sub-sample of huge datasets

This enables much faster drawing on datasets with more than width
graph pixels, but decreases graph resolution

14 years agoshow number of facet values after submit button
Dobrica Pavlinusic [Thu, 20 May 2010 19:42:00 +0000 (21:42 +0200)]
show number of facet values after submit button

14 years agodump debug only will less than 100 values
Dobrica Pavlinusic [Thu, 20 May 2010 19:30:58 +0000 (21:30 +0200)]
dump debug only will less than 100 values

14 years agocount/all links for facets
Dobrica Pavlinusic [Thu, 20 May 2010 19:27:17 +0000 (21:27 +0200)]
count/all links for facets

Count link will show just selected facets, while all will show all
facets in dataset

14 years agodon't display ¶ after last item
Dobrica Pavlinusic [Thu, 20 May 2010 18:51:18 +0000 (20:51 +0200)]
don't display ¶ after last item

14 years agoinsert ¶ between repeatable values
Dobrica Pavlinusic [Thu, 20 May 2010 18:35:56 +0000 (20:35 +0200)]
insert ¶ between repeatable values

14 years agofix values shown for facets
Dobrica Pavlinusic [Thu, 20 May 2010 18:03:55 +0000 (20:03 +0200)]
fix values shown for facets

We really need to take them from filter if available or from all
available facets

14 years agoreport added/deleted filters
Dobrica Pavlinusic [Thu, 20 May 2010 17:59:52 +0000 (19:59 +0200)]
report added/deleted filters

14 years agodebug dump $facet
Dobrica Pavlinusic [Thu, 20 May 2010 17:59:20 +0000 (19:59 +0200)]
debug dump $facet

14 years agodon't mark old session data as loaded
Dobrica Pavlinusic [Thu, 20 May 2010 17:42:19 +0000 (19:42 +0200)]
don't mark old session data as loaded

14 years agocalculate pos from value to prevent rounding errors
Dobrica Pavlinusic [Tue, 18 May 2010 15:00:09 +0000 (17:00 +0200)]
calculate pos from value to prevent rounding errors

14 years agocorrect num_labels if smaller than data range
Dobrica Pavlinusic [Tue, 18 May 2010 14:49:22 +0000 (16:49 +0200)]
correct num_labels if smaller than data range

14 years agodon't display numeric when dataset isn't numeric
Dobrica Pavlinusic [Tue, 18 May 2010 14:38:41 +0000 (16:38 +0200)]
don't display numeric when dataset isn't numeric

14 years agogenerate_labels in single place
Dobrica Pavlinusic [Tue, 18 May 2010 14:34:27 +0000 (16:34 +0200)]
generate_labels in single place

14 years agomove allmost everything into data object
Dobrica Pavlinusic [Tue, 18 May 2010 13:52:54 +0000 (15:52 +0200)]
move allmost everything into data object

14 years agorename min/max
Dobrica Pavlinusic [Tue, 18 May 2010 13:44:39 +0000 (15:44 +0200)]
rename min/max

14 years agostart mojo daemon
Dobrica Pavlinusic [Tue, 18 May 2010 13:44:18 +0000 (15:44 +0200)]
start mojo daemon

14 years agodraw x label on fixed increments even for numeric
Dobrica Pavlinusic [Tue, 18 May 2010 13:25:06 +0000 (15:25 +0200)]
draw x label on fixed increments even for numeric

14 years agoforce minimal y axis (count) to 0
Dobrica Pavlinusic [Tue, 18 May 2010 12:44:09 +0000 (14:44 +0200)]
force minimal y axis (count) to 0

14 years agoalways show first x label for numeric data
Dobrica Pavlinusic [Tue, 18 May 2010 12:07:49 +0000 (14:07 +0200)]
always show first x label for numeric data

14 years agomove chart a bit down
Dobrica Pavlinusic [Tue, 18 May 2010 11:38:47 +0000 (13:38 +0200)]
move chart a bit down

14 years agopack one more y label before top one
Dobrica Pavlinusic [Tue, 18 May 2010 11:28:10 +0000 (13:28 +0200)]
pack one more y label before top one

14 years agofix y labels position
Dobrica Pavlinusic [Tue, 18 May 2010 11:25:19 +0000 (13:25 +0200)]
fix y labels position

14 years agomake lines opaque
Dobrica Pavlinusic [Tue, 18 May 2010 11:21:17 +0000 (13:21 +0200)]
make lines opaque

14 years agomove labels on y axis in middle of line
Dobrica Pavlinusic [Tue, 18 May 2010 11:17:29 +0000 (13:17 +0200)]
move labels on y axis in middle of line

14 years agomock console. object for browsers without it
Dobrica Pavlinusic [Tue, 18 May 2010 11:06:06 +0000 (13:06 +0200)]
mock console. object for browsers without it

14 years agocorrected x_inc for non-numeric facets
Dobrica Pavlinusic [Mon, 17 May 2010 22:19:47 +0000 (00:19 +0200)]
corrected x_inc for non-numeric facets

14 years agodrop simple histograms for non-numeric
Dobrica Pavlinusic [Mon, 17 May 2010 22:15:54 +0000 (00:15 +0200)]
drop simple histograms for non-numeric

14 years agosignal sorted numeric output
Dobrica Pavlinusic [Mon, 17 May 2010 22:15:34 +0000 (00:15 +0200)]
signal sorted numeric output

14 years agocolor include/exclude links
Dobrica Pavlinusic [Mon, 17 May 2010 21:14:55 +0000 (23:14 +0200)]
color include/exclude links

14 years agofilter checkboxes client-side
Dobrica Pavlinusic [Mon, 17 May 2010 21:02:00 +0000 (23:02 +0200)]
filter checkboxes client-side

14 years agocount empty values and use that in _is_numeric
Dobrica Pavlinusic [Mon, 17 May 2010 15:51:42 +0000 (17:51 +0200)]
count empty values and use that in _is_numeric

This allows better detection of sparse numeric types

14 years agodisplay x labels only evey 20px to reduce clutter
Dobrica Pavlinusic [Sun, 16 May 2010 22:48:05 +0000 (00:48 +0200)]
display x labels only evey 20px to reduce clutter

14 years agoadded x and y labels
Dobrica Pavlinusic [Sun, 16 May 2010 22:40:15 +0000 (00:40 +0200)]
added x and y labels

14 years agofloat right chart
Dobrica Pavlinusic [Sun, 16 May 2010 21:32:57 +0000 (23:32 +0200)]
float right chart

14 years agoul#facet, move count out of label
Dobrica Pavlinusic [Sun, 16 May 2010 21:32:19 +0000 (23:32 +0200)]
ul#facet, move count out of label

14 years agocorrectly init max and min values for x and y
Dobrica Pavlinusic [Sun, 16 May 2010 21:31:33 +0000 (23:31 +0200)]
correctly init max and min values for x and y

14 years agodraw numeric facet counts using canvas
Dobrica Pavlinusic [Sun, 16 May 2010 19:29:25 +0000 (21:29 +0200)]
draw numeric facet counts using canvas

14 years agodisplay filter and count+select link for facets
Dobrica Pavlinusic [Sun, 16 May 2010 17:30:22 +0000 (19:30 +0200)]
display filter and count+select link for facets

14 years agomove debug output outside form
Dobrica Pavlinusic [Sun, 16 May 2010 15:08:56 +0000 (17:08 +0200)]
move debug output outside form

14 years agoshow hidden columns in gray
Dobrica Pavlinusic [Sun, 16 May 2010 15:08:30 +0000 (17:08 +0200)]
show hidden columns in gray

14 years agopick column for display only on first load of data
Dobrica Pavlinusic [Sun, 16 May 2010 14:02:46 +0000 (16:02 +0200)]
pick column for display only on first load of data

14 years agoshow number of items in each loaded file
Dobrica Pavlinusic [Sat, 15 May 2010 22:23:41 +0000 (00:23 +0200)]
show number of items in each loaded file

14 years agoshow filters aplicable to loaded sets columns
Dobrica Pavlinusic [Sat, 15 May 2010 22:15:41 +0000 (00:15 +0200)]
show filters aplicable to loaded sets columns

14 years agospeed up faceted filters
Dobrica Pavlinusic [Sat, 15 May 2010 21:46:45 +0000 (23:46 +0200)]
speed up faceted filters

Unroll all filter values into hash for easier and much faster faceted filtering

14 years agorun under Devel::NYTProf for profile
Dobrica Pavlinusic [Sat, 15 May 2010 21:36:31 +0000 (23:36 +0200)]
run under Devel::NYTProf for profile

14 years agostore filters globally on server
Dobrica Pavlinusic [Sat, 15 May 2010 17:41:12 +0000 (19:41 +0200)]
store filters globally on server

This will share faceted filters across loaded files, but it will also share
filters with *ALL* visitors of site

14 years agostore filters on server
Dobrica Pavlinusic [Sat, 15 May 2010 15:12:59 +0000 (17:12 +0200)]
store filters on server

This allows us to have huge faceted filters.

We stored filters in cookie and that works until whole session
(including all filtered values) is smaller than 4K which is
limit of cookie size (session in stored in cookie)

14 years agomake current item bold
Dobrica Pavlinusic [Sat, 15 May 2010 15:05:59 +0000 (17:05 +0200)]
make current item bold

14 years agoseparate columns with pipe symbol
Dobrica Pavlinusic [Fri, 14 May 2010 09:09:42 +0000 (11:09 +0200)]
separate columns with pipe symbol

14 years agouse only filters which apply to current data set
Dobrica Pavlinusic [Thu, 13 May 2010 22:56:15 +0000 (00:56 +0200)]
use only filters which apply to current data set

14 years agoremove filter clearing on load
Dobrica Pavlinusic [Thu, 13 May 2010 22:41:12 +0000 (00:41 +0200)]
remove filter clearing on load

This allows us to filter multiple data file by same criteria

14 years agoMerge branch 'master' of github.com:dpavlin/mojo_facets
Dobrica Pavlinusic [Thu, 13 May 2010 22:19:42 +0000 (00:19 +0200)]
Merge branch 'master' of github.com:dpavlin/mojo_facets

14 years agoload multiple files at once
Dobrica Pavlinusic [Thu, 13 May 2010 22:17:15 +0000 (00:17 +0200)]
load multiple files at once

This is quote sweeping change, introducing single global $loaded
variable to cache all metadata about loaded data and data itself.

14 years agostring all multi-line quotes (^)
Dobrica Pavlinusic [Thu, 13 May 2010 08:08:00 +0000 (10:08 +0200)]
string all multi-line quotes (^)

14 years agorefresh header names on json load
Dobrica Pavlinusic [Wed, 12 May 2010 22:05:54 +0000 (00:05 +0200)]
refresh header names on json load

14 years agobetter parsing of multi-line fields
Dobrica Pavlinusic [Wed, 12 May 2010 21:53:38 +0000 (23:53 +0200)]
better parsing of multi-line fields

14 years agofix filter reset on load
Dobrica Pavlinusic [Wed, 12 May 2010 21:52:29 +0000 (23:52 +0200)]
fix filter reset on load

14 years agoshow all as count
Dobrica Pavlinusic [Wed, 12 May 2010 20:51:16 +0000 (22:51 +0200)]
show all as count

14 years agoshow currently loaded file
Dobrica Pavlinusic [Wed, 12 May 2010 20:45:47 +0000 (22:45 +0200)]
show currently loaded file

14 years agosplice corrupt multi-lines and report them
Dobrica Pavlinusic [Wed, 12 May 2010 20:32:48 +0000 (22:32 +0200)]
splice corrupt multi-lines and report them

14 years agoreset filters on file load
Dobrica Pavlinusic [Wed, 12 May 2010 20:18:36 +0000 (22:18 +0200)]
reset filters on file load

14 years agohover on columns shows yellow background
Dobrica Pavlinusic [Wed, 12 May 2010 20:10:41 +0000 (22:10 +0200)]
hover on columns shows yellow background

14 years agosupport multi-line fields quoted by ^ in header
Dobrica Pavlinusic [Wed, 12 May 2010 20:06:02 +0000 (22:06 +0200)]
support multi-line fields quoted by ^ in header

14 years agoMerge branch 'master' of github.com:dpavlin/mojo_facets
Dobrica Pavlinusic [Wed, 12 May 2010 20:01:11 +0000 (22:01 +0200)]
Merge branch 'master' of github.com:dpavlin/mojo_facets

14 years agodocument source data formats
Dobrica Pavlinusic [Wed, 12 May 2010 20:00:29 +0000 (22:00 +0200)]
document source data formats

14 years agosplit lines on CR LF
Dobrica Pavlinusic [Wed, 12 May 2010 19:49:26 +0000 (21:49 +0200)]
split lines on CR LF

14 years agoreset columns on load of .txt file
Dobrica Pavlinusic [Wed, 12 May 2010 18:44:45 +0000 (20:44 +0200)]
reset columns on load of .txt file

This allow us to peresent user always with exact order of columns from file

14 years agohide empty values in list
Dobrica Pavlinusic [Wed, 12 May 2010 18:39:04 +0000 (20:39 +0200)]
hide empty values in list

14 years agopreserve header column ordering
Dobrica Pavlinusic [Wed, 12 May 2010 18:32:08 +0000 (20:32 +0200)]
preserve header column ordering

14 years agoload pipe separated .txt files
Dobrica Pavlinusic [Wed, 12 May 2010 18:07:06 +0000 (20:07 +0200)]
load pipe separated .txt files

14 years agoshow only columns which exist in dataset
Dobrica Pavlinusic [Wed, 12 May 2010 18:06:38 +0000 (20:06 +0200)]
show only columns which exist in dataset

14 years agostore show in session and show current one
Dobrica Pavlinusic [Fri, 16 Apr 2010 19:45:12 +0000 (21:45 +0200)]
store show in session and show current one

14 years agosplit links into admin template
Dobrica Pavlinusic [Fri, 16 Apr 2010 19:09:18 +0000 (21:09 +0200)]
split links into admin template

14 years agopoint rest of /data/table to /data/items
Dobrica Pavlinusic [Fri, 16 Apr 2010 17:06:04 +0000 (19:06 +0200)]
point rest of /data/table to /data/items

14 years agodisplay field name in <tt>
Dobrica Pavlinusic [Fri, 16 Apr 2010 17:05:45 +0000 (19:05 +0200)]
display field name in <tt>

14 years agorender items using table or list
Dobrica Pavlinusic [Fri, 16 Apr 2010 16:55:40 +0000 (18:55 +0200)]
render items using table or list

14 years agostyle table a bit
Dobrica Pavlinusic [Thu, 15 Apr 2010 18:23:52 +0000 (20:23 +0200)]
style table a bit

14 years agono warnings for non-numeric
Dobrica Pavlinusic [Thu, 15 Apr 2010 18:19:16 +0000 (20:19 +0200)]
no warnings for non-numeric

14 years agosupport missing values in facets
Dobrica Pavlinusic [Thu, 15 Apr 2010 17:53:05 +0000 (19:53 +0200)]
support missing values in facets

14 years agonicer info bar
Dobrica Pavlinusic [Sun, 11 Apr 2010 14:55:41 +0000 (16:55 +0200)]
nicer info bar

14 years agochange number of results on page
Dobrica Pavlinusic [Sun, 11 Apr 2010 14:21:35 +0000 (16:21 +0200)]
change number of results on page

14 years agosplit sorting links into own template
Dobrica Pavlinusic [Fri, 9 Apr 2010 19:03:02 +0000 (21:03 +0200)]
split sorting links into own template

14 years agomove all_checkboxes in own template and include it
Dobrica Pavlinusic [Fri, 9 Apr 2010 18:35:21 +0000 (20:35 +0200)]
move all_checkboxes in own template and include it

14 years agosort using all values
Dobrica Pavlinusic [Tue, 6 Apr 2010 21:58:14 +0000 (23:58 +0200)]
sort using all values