MojoFacets.git
13 years agoadded remove profile link
Dobrica Pavlinusic [Mon, 28 Jun 2010 14:49:02 +0000 (16:49 +0200)]
added remove profile link

13 years agonytprof.disabled added
Dobrica Pavlinusic [Mon, 28 Jun 2010 14:41:06 +0000 (16:41 +0200)]
nytprof.disabled added

We don't really want to profile generation of html from profile data :-)

13 years agogenerate profile output
Dobrica Pavlinusic [Mon, 28 Jun 2010 14:32:01 +0000 (16:32 +0200)]
generate profile output

13 years agomake application URL point to localhost
Dobrica Pavlinusic [Mon, 28 Jun 2010 13:24:56 +0000 (15:24 +0200)]
make application URL point to localhost

13 years agoChrome application
Dobrica Pavlinusic [Sun, 27 Jun 2010 23:42:34 +0000 (01:42 +0200)]
Chrome application

13 years agoconvert to $update
Dobrica Pavlinusic [Sun, 27 Jun 2010 23:25:48 +0000 (01:25 +0200)]
convert to $update

13 years agomake profile optional
Dobrica Pavlinusic [Sun, 27 Jun 2010 23:21:13 +0000 (01:21 +0200)]
make profile optional

13 years agoprofile feature
Dobrica Pavlinusic [Sun, 27 Jun 2010 23:18:00 +0000 (01:18 +0200)]
profile feature

13 years agotoggle columns on regex
Dobrica Pavlinusic [Sun, 27 Jun 2010 17:20:09 +0000 (19:20 +0200)]
toggle columns on regex

13 years agodon't save generated datasets
Dobrica Pavlinusic [Sun, 27 Jun 2010 17:12:22 +0000 (19:12 +0200)]
don't save generated datasets

13 years agocreate storable dump from vmstat
Dobrica Pavlinusic [Sun, 27 Jun 2010 16:47:45 +0000 (18:47 +0200)]
create storable dump from vmstat

It also supports arbitrary command before vmstat, for example:

  $ ./vmstat.pl ssh disk

will connect to disk and issue vmstat there

13 years agodon't dump scalars in export
Dobrica Pavlinusic [Sun, 27 Jun 2010 16:46:35 +0000 (18:46 +0200)]
don't dump scalars in export

This destroy numeric scalars

13 years agoload storable files
Dobrica Pavlinusic [Sun, 27 Jun 2010 15:50:45 +0000 (17:50 +0200)]
load storable files

This involves special file format which is basically dumps of storable
objects joined together

13 years agoMerge branch 'facet-eval'
Dobrica Pavlinusic [Sat, 26 Jun 2010 22:47:24 +0000 (00:47 +0200)]
Merge branch 'facet-eval'

13 years agoeval code snippet on facet data facet-eval
Dobrica Pavlinusic [Sat, 26 Jun 2010 22:41:58 +0000 (00:41 +0200)]
eval code snippet on facet data

Using $out to generate results and $v for value and $c for count

13 years agorename long-running pages > PROFILE s
Dobrica Pavlinusic [Sat, 26 Jun 2010 22:20:03 +0000 (00:20 +0200)]
rename long-running pages > PROFILE s

13 years agouse PROFILE to specify minimum duration
Dobrica Pavlinusic [Sat, 26 Jun 2010 21:38:38 +0000 (23:38 +0200)]
use PROFILE to specify minimum duration

This allows us to ignore short timed requests, and focus just on
long running ones

13 years agoenable changing values to 0
Dobrica Pavlinusic [Sat, 26 Jun 2010 21:38:17 +0000 (23:38 +0200)]
enable changing values to 0

13 years agomove configurable variables in code
Dobrica Pavlinusic [Sat, 26 Jun 2010 21:18:09 +0000 (23:18 +0200)]
move configurable variables in code

added PROFILE

13 years agoregister plugin
Dobrica Pavlinusic [Sat, 26 Jun 2010 21:16:55 +0000 (23:16 +0200)]
register plugin

I tried to setup $self->plugins->namespaces but it didn't work for me.

13 years agoprofile using Devel::NYTProf
Dobrica Pavlinusic [Sat, 26 Jun 2010 21:15:53 +0000 (23:15 +0200)]
profile using Devel::NYTProf

13 years agocommit_changed is correct name
Dobrica Pavlinusic [Sat, 26 Jun 2010 16:49:47 +0000 (18:49 +0200)]
commit_changed is correct name

13 years agocheck commit_changed columns against dataset
Dobrica Pavlinusic [Sat, 26 Jun 2010 16:48:59 +0000 (18:48 +0200)]
check commit_changed columns against dataset

13 years agodisplay size of data using Storable
Dobrica Pavlinusic [Sat, 26 Jun 2010 16:41:06 +0000 (18:41 +0200)]
display size of data using Storable

Discussion about this is at:

http://www.perlmonks.org/?node_id=846678

http://gist.github.com/454137

13 years agono warnings for missing mtime
Dobrica Pavlinusic [Sat, 26 Jun 2010 13:49:14 +0000 (15:49 +0200)]
no warnings for missing mtime

13 years agoadded /debug dump of $loaded
Dobrica Pavlinusic [Sat, 26 Jun 2010 13:42:28 +0000 (15:42 +0200)]
added /debug dump of $loaded

13 years agomove selection of visible snippets to top
Dobrica Pavlinusic [Fri, 25 Jun 2010 20:38:00 +0000 (22:38 +0200)]
move selection of visible snippets to top

13 years agouse columns from header
Dobrica Pavlinusic [Fri, 25 Jun 2010 20:23:20 +0000 (22:23 +0200)]
use columns from header

13 years agoalways show remove link
Dobrica Pavlinusic [Fri, 25 Jun 2010 19:00:07 +0000 (21:00 +0200)]
always show remove link

13 years agouse remove class for remove link
Dobrica Pavlinusic [Fri, 25 Jun 2010 18:45:24 +0000 (20:45 +0200)]
use remove class for remove link

13 years agoadded /code/remove?path=
Dobrica Pavlinusic [Fri, 25 Jun 2010 18:44:29 +0000 (20:44 +0200)]
added /code/remove?path=

13 years agocleanup status handling
Dobrica Pavlinusic [Fri, 25 Jun 2010 17:14:46 +0000 (19:14 +0200)]
cleanup status handling

This allows show/hide to use class names to toggle changes of
some type on/off

13 years agoremove CR from code snippets
Dobrica Pavlinusic [Fri, 25 Jun 2010 16:51:42 +0000 (18:51 +0200)]
remove CR from code snippets

13 years agoexample reduce code to use $out, $key and $value
Dobrica Pavlinusic [Fri, 25 Jun 2010 16:45:28 +0000 (18:45 +0200)]
example reduce code to use $out, $key and $value

13 years agouse $key and $value to name code file
Dobrica Pavlinusic [Fri, 25 Jun 2010 16:43:53 +0000 (18:43 +0200)]
use $key and $value to name code file

13 years agodocument $out, $key, $value in perl code snippets
Dobrica Pavlinusic [Fri, 25 Jun 2010 16:36:05 +0000 (18:36 +0200)]
document $out, $key, $value in perl code snippets

13 years agoadded $key and $value for columns in generated dataset
Dobrica Pavlinusic [Fri, 25 Jun 2010 16:33:29 +0000 (18:33 +0200)]
added $key and $value for columns in generated dataset

13 years agodescrible double click on table to edit cells
Dobrica Pavlinusic [Fri, 25 Jun 2010 16:26:38 +0000 (18:26 +0200)]
describle double click on table to edit cells

13 years agofix reload MojoFacets::Data error
Dobrica Pavlinusic [Thu, 24 Jun 2010 23:41:41 +0000 (01:41 +0200)]
fix reload MojoFacets::Data error

13 years agofix $out generation
Dobrica Pavlinusic [Thu, 24 Jun 2010 23:26:52 +0000 (01:26 +0200)]
fix $out generation

13 years agowe really need separate on_path for apply
Dobrica Pavlinusic [Thu, 24 Jun 2010 23:11:11 +0000 (01:11 +0200)]
we really need separate on_path for apply

13 years agoremoved debug output to speedup code commit
Dobrica Pavlinusic [Thu, 24 Jun 2010 22:54:17 +0000 (00:54 +0200)]
removed debug output to speedup code commit

13 years agoload items after commit with modified path
Dobrica Pavlinusic [Thu, 24 Jun 2010 22:53:45 +0000 (00:53 +0200)]
load items after commit with modified path

13 years agocleanup changes and apply code on dataset
Dobrica Pavlinusic [Thu, 24 Jun 2010 22:39:12 +0000 (00:39 +0200)]
cleanup changes and apply code on dataset

This involved creating few more __ MojoFacets::Data methods

13 years agoapply on current dataset by default
Dobrica Pavlinusic [Thu, 24 Jun 2010 19:20:27 +0000 (21:20 +0200)]
apply on current dataset by default

13 years agomove /changes to root
Dobrica Pavlinusic [Thu, 24 Jun 2010 19:13:24 +0000 (21:13 +0200)]
move /changes to root

13 years agoautomatically dump right header for each type once
Dobrica Pavlinusic [Thu, 24 Jun 2010 18:57:36 +0000 (20:57 +0200)]
automatically dump right header for each type once

13 years agodump changes with code
Dobrica Pavlinusic [Thu, 24 Jun 2010 18:56:58 +0000 (20:56 +0200)]
dump changes with code

13 years agotry to better explain actions and changes
Dobrica Pavlinusic [Thu, 24 Jun 2010 18:19:30 +0000 (20:19 +0200)]
try to better explain actions and changes

13 years agodocument data export
Dobrica Pavlinusic [Thu, 24 Jun 2010 16:25:22 +0000 (18:25 +0200)]
document data export

13 years agoexplain usage of $update in code eval
Dobrica Pavlinusic [Thu, 24 Jun 2010 16:22:38 +0000 (18:22 +0200)]
explain usage of $update in code eval

13 years agosave commit_changed
Dobrica Pavlinusic [Thu, 24 Jun 2010 15:47:35 +0000 (17:47 +0200)]
save commit_changed

13 years agoignore changes without unique in commit
Dobrica Pavlinusic [Thu, 24 Jun 2010 15:31:16 +0000 (17:31 +0200)]
ignore changes without unique in commit

13 years agoextract _save_change and use for code commits
Dobrica Pavlinusic [Thu, 24 Jun 2010 15:30:05 +0000 (17:30 +0200)]
extract _save_change and use for code commits

13 years agostrip traling slash for dirs in _export_path
Dobrica Pavlinusic [Thu, 24 Jun 2010 14:52:19 +0000 (16:52 +0200)]
strip traling slash for dirs in _export_path

13 years agoimport filters with unac columns
Dobrica Pavlinusic [Thu, 24 Jun 2010 11:52:52 +0000 (13:52 +0200)]
import filters with unac columns

13 years agonormalize JUST column names
Dobrica Pavlinusic [Thu, 24 Jun 2010 10:58:15 +0000 (12:58 +0200)]
normalize JUST column names

13 years agouse Module::Install
Dobrica Pavlinusic [Thu, 24 Jun 2010 10:51:42 +0000 (12:51 +0200)]
use Module::Install

this allows us to install required modules without extra step thanks
to auto_install

13 years agoshow all applicable filters
Dobrica Pavlinusic [Thu, 24 Jun 2010 09:51:51 +0000 (11:51 +0200)]
show all applicable filters

Previously we showed only filters which have columns visible, but still
applied filters on dataset

13 years agoexport paths changed filenames
Dobrica Pavlinusic [Thu, 24 Jun 2010 09:21:41 +0000 (11:21 +0200)]
export paths changed filenames

We replace all non-word characters with _

13 years agodump undef or NULL values as \N
Dobrica Pavlinusic [Wed, 23 Jun 2010 16:32:06 +0000 (18:32 +0200)]
dump undef or NULL values as \N

This is compatibile with PostgreSQL dump file format, and allows
us to correctly align columns for export to gnuplot

13 years agofix support for cp1250 encoded files
Dobrica Pavlinusic [Wed, 23 Jun 2010 16:18:45 +0000 (18:18 +0200)]
fix support for cp1250 encoded files

13 years agoeven more agressicly script export path
Dobrica Pavlinusic [Tue, 22 Jun 2010 22:15:03 +0000 (00:15 +0200)]
even more agressicly script export path

13 years agosubmit form on export checkbox set
Dobrica Pavlinusic [Tue, 22 Jun 2010 22:14:41 +0000 (00:14 +0200)]
submit form on export checkbox set

13 years agowrap image in next line
Dobrica Pavlinusic [Tue, 22 Jun 2010 21:58:32 +0000 (23:58 +0200)]
wrap image in next line

13 years agoredirect to load without session path
Dobrica Pavlinusic [Tue, 22 Jun 2010 21:42:22 +0000 (23:42 +0200)]
redirect to load without session path

13 years agoremove link added to each export
Dobrica Pavlinusic [Tue, 22 Jun 2010 21:05:27 +0000 (23:05 +0200)]
remove link added to each export

13 years agouse param to trasfer timefmt to gnuplot image
Dobrica Pavlinusic [Tue, 22 Jun 2010 20:51:15 +0000 (22:51 +0200)]
use param to trasfer timefmt to gnuplot image

13 years agoshow png pictures below each export or items
Dobrica Pavlinusic [Tue, 22 Jun 2010 20:50:23 +0000 (22:50 +0200)]
show png pictures below each export or items

13 years agoshow import link only for filters
Dobrica Pavlinusic [Tue, 22 Jun 2010 20:46:43 +0000 (22:46 +0200)]
show import link only for filters

13 years agosort files by mtime descending
Dobrica Pavlinusic [Tue, 22 Jun 2010 20:44:17 +0000 (22:44 +0200)]
sort files by mtime descending

13 years agounac export paths
Dobrica Pavlinusic [Tue, 22 Jun 2010 20:29:26 +0000 (22:29 +0200)]
unac export paths

13 years agoremove unused modules
Dobrica Pavlinusic [Tue, 22 Jun 2010 20:29:14 +0000 (22:29 +0200)]
remove unused modules

13 years agoalways use binmode => ':utf8' with File::Slurp
Dobrica Pavlinusic [Tue, 22 Jun 2010 19:11:37 +0000 (21:11 +0200)]
always use binmode => ':utf8' with File::Slurp

13 years agouse binmode to load data in cp1250 encoding
Dobrica Pavlinusic [Tue, 22 Jun 2010 19:04:36 +0000 (21:04 +0200)]
use binmode to load data in cp1250 encoding

13 years agoshow subscript n for numeric columns
Dobrica Pavlinusic [Tue, 22 Jun 2010 19:00:22 +0000 (21:00 +0200)]
show subscript n for numeric columns

13 years agoadded export checkbox and timefmt for x axis
Dobrica Pavlinusic [Tue, 22 Jun 2010 18:32:08 +0000 (20:32 +0200)]
added export checkbox and timefmt for x axis

13 years agodon't use style on img#gnuplot
Dobrica Pavlinusic [Tue, 22 Jun 2010 18:12:47 +0000 (20:12 +0200)]
don't use style on img#gnuplot

13 years agodraw multiple columns on gnuplot
Dobrica Pavlinusic [Tue, 22 Jun 2010 17:37:18 +0000 (19:37 +0200)]
draw multiple columns on gnuplot

13 years agoshow png exports
Dobrica Pavlinusic [Tue, 22 Jun 2010 16:34:00 +0000 (18:34 +0200)]
show png exports

13 years agodraw gnuplot graph server-side
Dobrica Pavlinusic [Tue, 22 Jun 2010 16:05:25 +0000 (18:05 +0200)]
draw gnuplot graph server-side

13 years agocreate export of all data in tab-separated format
Dobrica Pavlinusic [Tue, 22 Jun 2010 15:29:47 +0000 (17:29 +0200)]
create export of all data in tab-separated format

13 years agodon't generate zero for null values
Dobrica Pavlinusic [Tue, 22 Jun 2010 15:01:47 +0000 (17:01 +0200)]
don't generate zero for null values

13 years agoreformat float using sprintf
Dobrica Pavlinusic [Tue, 22 Jun 2010 14:26:29 +0000 (16:26 +0200)]
reformat float using sprintf

13 years agoinvalidate changed columns on commit
Dobrica Pavlinusic [Tue, 22 Jun 2010 14:26:06 +0000 (16:26 +0200)]
invalidate changed columns on commit

13 years agodon't add duplicate columns on commit
Dobrica Pavlinusic [Tue, 22 Jun 2010 14:20:14 +0000 (16:20 +0200)]
don't add duplicate columns on commit

13 years agoconvert dd.mm.yyyy to yyyy-mm-dd
Dobrica Pavlinusic [Tue, 22 Jun 2010 14:15:16 +0000 (16:15 +0200)]
convert dd.mm.yyyy to yyyy-mm-dd

13 years agomodify multiple columns
Dobrica Pavlinusic [Tue, 22 Jun 2010 14:14:52 +0000 (16:14 +0200)]
modify multiple columns

13 years agosupport various $out values
Dobrica Pavlinusic [Tue, 22 Jun 2010 13:23:50 +0000 (15:23 +0200)]
support various $out values

This allows us to create datasets from scalars, arrays and hashes

13 years agoedit column depends
Dobrica Pavlinusic [Tue, 22 Jun 2010 12:39:41 +0000 (14:39 +0200)]
edit column depends

13 years agoextract changed columns from $update
Dobrica Pavlinusic [Tue, 22 Jun 2010 12:37:47 +0000 (14:37 +0200)]
extract changed columns from $update

13 years agonew syntax for row $update in test
Dobrica Pavlinusic [Tue, 22 Jun 2010 11:56:35 +0000 (13:56 +0200)]
new syntax for row $update in test

we now use $update instead of $row so we can cleanly track changed
columns changed

13 years agofixed type <tt> code errors
Dobrica Pavlinusic [Tue, 22 Jun 2010 11:43:25 +0000 (13:43 +0200)]
fixed type <tt> code errors

13 years agosimple CSV file import
Dobrica Pavlinusic [Tue, 22 Jun 2010 11:29:27 +0000 (13:29 +0200)]
simple CSV file import

13 years agoshow dependent or all code snippets button
Dobrica Pavlinusic [Mon, 21 Jun 2010 12:40:36 +0000 (14:40 +0200)]
show dependent or all code snippets button

13 years agoredirect to /data/index if path doesn't exist
Dobrica Pavlinusic [Mon, 21 Jun 2010 12:28:57 +0000 (14:28 +0200)]
redirect to /data/index if path doesn't exist

13 years agostart google chrome with Speed Tracer and app support
Dobrica Pavlinusic [Mon, 21 Jun 2010 12:06:26 +0000 (14:06 +0200)]
start google chrome with Speed Tracer and app support

13 years agoMerge branch 'cols_changed-exact'
Dobrica Pavlinusic [Sun, 20 Jun 2010 17:47:28 +0000 (19:47 +0200)]
Merge branch 'cols_changed-exact'

13 years agorefresh items if $out is generated cols_changed-exact
Dobrica Pavlinusic [Sun, 20 Jun 2010 17:46:52 +0000 (19:46 +0200)]
refresh items if $out is generated

by reload /data/items after new dataset is created

13 years agoshow scrollbar for console bigger than 2/3
Dobrica Pavlinusic [Sun, 20 Jun 2010 17:03:14 +0000 (19:03 +0200)]
show scrollbar for console bigger than 2/3