MojoFacets.git
11 years agohide .columns files
Dobrica Pavlinusic [Sun, 16 Dec 2012 22:05:08 +0000 (23:05 +0100)]
hide .columns files

11 years agoread DBF files using XBase module
Dobrica Pavlinusic [Sun, 16 Dec 2012 21:58:45 +0000 (22:58 +0100)]
read DBF files using XBase module

11 years agoregister extension in import modules and load automatically
Dobrica Pavlinusic [Sun, 16 Dec 2012 21:36:43 +0000 (22:36 +0100)]
register extension in import modules and load automatically

11 years agoskip quote separator
Dobrica Pavlinusic [Sun, 16 Dec 2012 19:52:16 +0000 (20:52 +0100)]
skip quote separator

11 years agoadded .pairs format NAME1="VAL1" NAME2="VAL2" ...
Dobrica Pavlinusic [Fri, 24 Aug 2012 12:51:29 +0000 (14:51 +0200)]
added .pairs format NAME1="VAL1" NAME2="VAL2" ...

11 years agorefresh gnuplot graph without page reload
Dobrica Pavlinusic [Sun, 12 Aug 2012 17:38:04 +0000 (19:38 +0200)]
refresh gnuplot graph without page reload

11 years agohide columns from gnuplot graph
Dobrica Pavlinusic [Sun, 12 Aug 2012 16:52:44 +0000 (18:52 +0200)]
hide columns from gnuplot graph

11 years agotake timefmt from session for newly loaded data
Dobrica Pavlinusic [Sun, 12 Aug 2012 15:15:02 +0000 (17:15 +0200)]
take timefmt from session for newly loaded data

11 years agohighlight table row on hover
Dobrica Pavlinusic [Sun, 12 Aug 2012 15:05:45 +0000 (17:05 +0200)]
highlight table row on hover

11 years agoremote debug output from load screen
Dobrica Pavlinusic [Sun, 12 Aug 2012 14:07:21 +0000 (16:07 +0200)]
remote debug output from load screen

11 years agoplaceholder for GNUPlot timefmt
Dobrica Pavlinusic [Sun, 12 Aug 2012 14:04:19 +0000 (16:04 +0200)]
placeholder for GNUPlot timefmt

11 years agodon't redirect to index if we didn't change current dataset
Dobrica Pavlinusic [Sun, 12 Aug 2012 13:58:13 +0000 (15:58 +0200)]
don't redirect to index if we didn't change current dataset

11 years agoall_checkboxes now work on tables too
Dobrica Pavlinusic [Sun, 12 Aug 2012 13:49:02 +0000 (15:49 +0200)]
all_checkboxes now work on tables too

This was required to add regex file selector when loading files

11 years agochange gnuplot with using select element
Dobrica Pavlinusic [Sun, 12 Aug 2012 12:59:28 +0000 (14:59 +0200)]
change gnuplot with using select element

11 years agoallow dash in filename.encoding.csv
Dobrica Pavlinusic [Sat, 11 Aug 2012 14:46:23 +0000 (16:46 +0200)]
allow dash in filename.encoding.csv

11 years agouse Text::Unaccent which is in Debian packages
Dobrica Pavlinusic [Sat, 11 Aug 2012 14:46:01 +0000 (16:46 +0200)]
use Text::Unaccent which is in Debian packages

11 years agoMerge branch 'master' of git.rot13.org:/git/MojoFacets
Dobrica Pavlinusic [Sat, 11 Aug 2012 14:12:43 +0000 (16:12 +0200)]
Merge branch 'master' of git.rot13.org:/git/MojoFacets

11 years agoMerge branch 'master' of github.com:dpavlin/MojoFacets
Dobrica Pavlinusic [Sat, 11 Aug 2012 14:08:13 +0000 (16:08 +0200)]
Merge branch 'master' of github.com:dpavlin/MojoFacets

Conflicts:
bin/debian-install.sh
public/code/pool.label.pl

11 years agoremove debug output
Dobrica Pavlinusic [Sat, 11 Aug 2012 13:07:22 +0000 (15:07 +0200)]
remove debug output

11 years agomark data changed on commit
Dobrica Pavlinusic [Sat, 11 Aug 2012 13:07:04 +0000 (15:07 +0200)]
mark data changed on commit

11 years agorestore save to storable file on table change
Dobrica Pavlinusic [Sat, 11 Aug 2012 12:30:57 +0000 (14:30 +0200)]
restore save to storable file on table change

11 years agoupdate application script to latest mojolicous
Dobrica Pavlinusic [Sat, 11 Aug 2012 12:27:40 +0000 (14:27 +0200)]
update application script to latest mojolicous

This allows us to run using morbo and restore reload on developemnt
feature

11 years agoone more Debian package required to run
Dobrica Pavlinusic [Fri, 10 Aug 2012 12:36:13 +0000 (14:36 +0200)]
one more Debian package required to run

11 years agochange all dependencies to Debian packages
Dobrica Pavlinusic [Thu, 9 Aug 2012 18:41:48 +0000 (20:41 +0200)]
change all dependencies to Debian packages

11 years agoupgrade Mojolicious to 2.x hooks
Dobrica Pavlinusic [Sun, 15 Jul 2012 14:55:50 +0000 (16:55 +0200)]
upgrade Mojolicious to 2.x hooks

12 years agoguess CSV separator char based on first line
Dobrica Pavlinusic [Sun, 4 Dec 2011 17:55:16 +0000 (18:55 +0100)]
guess CSV separator char based on first line

12 years agowe need additional perl module
Dobrica Pavlinusic [Sun, 4 Dec 2011 17:55:08 +0000 (18:55 +0100)]
we need additional perl module

12 years agosupport mirror pools
Dobrica Pavlinusic [Thu, 22 Sep 2011 08:04:43 +0000 (10:04 +0200)]
support mirror pools

12 years agomore perl modules availabe in debian packages
Dobrica Pavlinusic [Thu, 22 Sep 2011 08:03:19 +0000 (10:03 +0200)]
more perl modules availabe in debian packages

12 years agohard-code text/tab-separated-values mime type
Dobrica Pavlinusic [Mon, 19 Sep 2011 14:09:10 +0000 (16:09 +0200)]
hard-code text/tab-separated-values mime type

files from MojoFacets are stored in public/export/
and don't have .tsv extesion, so I forced mime type and removed
dependecy on Media::Type::Simple

12 years agoGoogle Docs Uploader http://www.perlmonks.org/?node_id=839022
Alessandro Ghedini [Mon, 19 Sep 2011 14:08:08 +0000 (16:08 +0200)]
Google Docs Uploader perlmonks.org/?node_id=839022

12 years agocount also mirrors
Dobrica Pavlinusic [Mon, 19 Sep 2011 14:05:13 +0000 (16:05 +0200)]
count also mirrors

12 years agocreate lable from pool name (for bonnie)
Dobrica Pavlinusic [Mon, 19 Sep 2011 13:32:26 +0000 (15:32 +0200)]
create lable from pool name (for bonnie)

12 years agooffer reload instead of remove for changed files
Dobrica Pavlinusic [Sun, 18 Sep 2011 20:49:49 +0000 (22:49 +0200)]
offer reload instead of remove for changed files

12 years agoconfigure with gnuplot style via parameter
Dobrica Pavlinusic [Sun, 18 Sep 2011 19:23:21 +0000 (21:23 +0200)]
configure with gnuplot style via parameter

12 years agoextract number of drives, cache and log from pool name
Dobrica Pavlinusic [Sun, 18 Sep 2011 13:24:30 +0000 (15:24 +0200)]
extract number of drives, cache and log from pool name

12 years agoreformat bonnie++ latency into ms
Dobrica Pavlinusic [Sun, 18 Sep 2011 12:41:48 +0000 (14:41 +0200)]
reformat bonnie++ latency into ms

12 years agoMerge branch 'master' of github.com:dpavlin/MojoFacets
Dobrica Pavlinusic [Sun, 18 Sep 2011 11:20:07 +0000 (13:20 +0200)]
Merge branch 'master' of github.com:dpavlin/MojoFacets

12 years agorefactor save_action to save only params
Dobrica Pavlinusic [Fri, 8 Jul 2011 12:23:17 +0000 (14:23 +0200)]
refactor save_action to save only params

12 years agouse Mojo::UserAgent instead of Mojo::Client
Dobrica Pavlinusic [Fri, 8 Jul 2011 10:00:35 +0000 (12:00 +0200)]
use Mojo::UserAgent instead of Mojo::Client

13 years agoMerge branch 'master' of git.rot13.org:/git/MojoFacets
Dobrica Pavlinusic [Thu, 26 May 2011 12:40:29 +0000 (14:40 +0200)]
Merge branch 'master' of git.rot13.org:/git/MojoFacets

13 years agouse Text::CSV for CSV files
Dobrica Pavlinusic [Thu, 26 May 2011 12:38:59 +0000 (14:38 +0200)]
use Text::CSV for CSV files

This does remove support for semicolumn separated files and special
format in which second line is header (instead of first one), but
our own CSV parser was subtly wrong in some corner cases, so
corectess wins.

13 years agowe really need Module::Install for Makefile.PL
Dobrica Pavlinusic [Thu, 26 May 2011 12:38:42 +0000 (14:38 +0200)]
we really need Module::Install for Makefile.PL

13 years agodon't die on _param_scalar without default
Dobrica Pavlinusic [Sun, 22 May 2011 20:29:40 +0000 (22:29 +0200)]
don't die on _param_scalar without default

13 years agoconvert @row->{foo} into @{$row->{foo}}
Dobrica Pavlinusic [Thu, 14 Apr 2011 16:42:13 +0000 (18:42 +0200)]
convert @row->{foo} into @{$row->{foo}}

13 years agoMerge branch 'master' of mjesec.ffzg.hr:/git/MojoFacets
Dobrica Pavlinusic [Sun, 3 Apr 2011 19:55:00 +0000 (21:55 +0200)]
Merge branch 'master' of mjesec.ffzg.hr:/git/MojoFacets

13 years agomore robust _hash_eq
Dobrica Pavlinusic [Sun, 3 Apr 2011 19:54:30 +0000 (21:54 +0200)]
more robust _hash_eq

13 years agodump lookup debug with new config option
Dobrica Pavlinusic [Fri, 1 Apr 2011 16:27:54 +0000 (18:27 +0200)]
dump lookup debug with new config option

13 years agodon't set generated on own storable files, since they are disk-based
Dobrica Pavlinusic [Thu, 31 Mar 2011 21:47:15 +0000 (23:47 +0200)]
don't set generated on own storable files, since they are disk-based

13 years agoexample for repeatable or non-repeatable values
Dobrica Pavlinusic [Thu, 31 Mar 2011 19:00:02 +0000 (21:00 +0200)]
example for repeatable or non-repeatable values

13 years agofix current dataset scalar value for lookup
Dobrica Pavlinusic [Thu, 31 Mar 2011 18:33:35 +0000 (20:33 +0200)]
fix current dataset scalar value for lookup

13 years agoprovide Statistics::Descriptive callback for repeatable values
Dobrica Pavlinusic [Thu, 31 Mar 2011 18:27:47 +0000 (20:27 +0200)]
provide Statistics::Descriptive callback for repeatable values

13 years agosimple lookup on scalar values
Dobrica Pavlinusic [Thu, 31 Mar 2011 17:47:43 +0000 (19:47 +0200)]
simple lookup on scalar values

13 years agoremove some of debug
Dobrica Pavlinusic [Thu, 31 Mar 2011 17:42:25 +0000 (19:42 +0200)]
remove some of debug

13 years agofuzzy select lookup dataset name
Dobrica Pavlinusic [Thu, 31 Mar 2011 17:40:18 +0000 (19:40 +0200)]
fuzzy select lookup dataset name

13 years agosupport scalar values in lookup
Dobrica Pavlinusic [Thu, 31 Mar 2011 17:32:31 +0000 (19:32 +0200)]
support scalar values in lookup

13 years agosupport loading of /tmp/mojofacets.*.storable
Dobrica Pavlinusic [Thu, 31 Mar 2011 16:27:30 +0000 (18:27 +0200)]
support loading of /tmp/mojofacets.*.storable

13 years agolookup into different dataset
Dobrica Pavlinusic [Thu, 31 Mar 2011 16:01:40 +0000 (18:01 +0200)]
lookup into different dataset

using syntax like:

lookup($row->{from}, 'on_path' => 'on_col', sub {
# $on is record from on_path dataset
# where $on_col matches $row->{$from}

map {
push @{$update->{on_id}} => $_;
} @{$on->{id2}}
});

13 years agotreat NULL (undef) from SQL correctly as empty or _missing
Dobrica Pavlinusic [Thu, 3 Feb 2011 15:45:53 +0000 (16:45 +0100)]
treat NULL (undef) from SQL correctly as empty or _missing

13 years agoallow spaces in $row->{'field with space'}
Dobrica Pavlinusic [Sun, 16 Jan 2011 19:46:48 +0000 (20:46 +0100)]
allow spaces in $row->{'field with space'}

13 years agowe have stub for console.debug only
Dobrica Pavlinusic [Sun, 16 Jan 2011 19:29:20 +0000 (20:29 +0100)]
we have stub for console.debug only

13 years agoonly load code
Dobrica Pavlinusic [Sat, 15 Jan 2011 14:09:10 +0000 (15:09 +0100)]
only load code

leaving dependencies and description unset

13 years agoall code just loads snippets without dependencies
Dobrica Pavlinusic [Sat, 15 Jan 2011 13:02:01 +0000 (14:02 +0100)]
all code just loads snippets without dependencies

before it also tried to test them, and transfer (non-existant) dependency
information and description both of which are (probably) wrong because
you just want to modify that code snippet to fit current dataset

13 years agoinvalidate filters on other datasets
Dobrica Pavlinusic [Fri, 14 Jan 2011 18:39:47 +0000 (19:39 +0100)]
invalidate filters on other datasets

13 years agoadded </tt> for filename
Dobrica Pavlinusic [Fri, 14 Jan 2011 18:22:50 +0000 (19:22 +0100)]
added </tt> for filename

13 years agodrop down to switch datasets loaded in items display
Dobrica Pavlinusic [Fri, 14 Jan 2011 15:51:11 +0000 (16:51 +0100)]
drop down to switch datasets loaded in items display

13 years agoignore double clicks on cells in edit mode
Dobrica Pavlinusic [Fri, 14 Jan 2011 14:27:48 +0000 (15:27 +0100)]
ignore double clicks on cells in edit mode

13 years agoMerge branch 'master' of github.com:dpavlin/MojoFacets
Dobrica Pavlinusic [Wed, 12 Jan 2011 19:42:12 +0000 (20:42 +0100)]
Merge branch 'master' of github.com:dpavlin/MojoFacets

13 years agosource-changed compares old and current value
Dobrica Pavlinusic [Wed, 12 Jan 2011 19:41:12 +0000 (20:41 +0100)]
source-changed compares old and current value

13 years agosupport multi-line "foo\nbar" CSV fields
Dobrica Pavlinusic [Wed, 12 Jan 2011 15:01:29 +0000 (16:01 +0100)]
support multi-line "foo\nbar" CSV fields

13 years agouse full_path
Dobrica Pavlinusic [Wed, 12 Jan 2011 14:39:50 +0000 (15:39 +0100)]
use full_path

13 years agouse user= and password= from *.sql file for auth
Dobrica Pavlinusic [Wed, 29 Dec 2010 10:56:39 +0000 (11:56 +0100)]
use user= and password= from *.sql file for auth

Similar to .my.cnf format, so you can just copy/paste credentials

13 years agoexample SQL file with dbi included in comment
Dobrica Pavlinusic [Tue, 28 Dec 2010 17:02:17 +0000 (18:02 +0100)]
example SQL file with dbi included in comment

13 years agofix header extraction from query
Dobrica Pavlinusic [Tue, 28 Dec 2010 16:52:22 +0000 (17:52 +0100)]
fix header extraction from query

13 years agoadded MojoFacets::Import::SQL
Dobrica Pavlinusic [Tue, 28 Dec 2010 16:50:23 +0000 (17:50 +0100)]
added MojoFacets::Import::SQL

13 years agouse full_path
Dobrica Pavlinusic [Tue, 28 Dec 2010 16:49:48 +0000 (17:49 +0100)]
use full_path

13 years agouse full_path
Dobrica Pavlinusic [Tue, 28 Dec 2010 16:48:59 +0000 (17:48 +0100)]
use full_path

13 years agoimport data from SQL database using DBI
Dobrica Pavlinusic [Tue, 28 Dec 2010 16:44:57 +0000 (17:44 +0100)]
import data from SQL database using DBI

13 years agodocument import from CouchDB
Dobrica Pavlinusic [Fri, 24 Dec 2010 15:19:26 +0000 (16:19 +0100)]
document import from CouchDB

13 years agoimport CouchDB views
Dobrica Pavlinusic [Fri, 24 Dec 2010 15:19:21 +0000 (16:19 +0100)]
import CouchDB views

13 years agoremove storable file also unloads it from memory
Dobrica Pavlinusic [Wed, 22 Dec 2010 11:12:31 +0000 (12:12 +0100)]
remove storable file also unloads it from memory

13 years agomake repeatable field uppercase
Dobrica Pavlinusic [Thu, 16 Dec 2010 17:49:13 +0000 (18:49 +0100)]
make repeatable field uppercase

13 years agostore added column in description on test of code
Dobrica Pavlinusic [Thu, 16 Dec 2010 17:46:41 +0000 (18:46 +0100)]
store added column in description on test of code

13 years agoextract dependent columns using evil regex
Dobrica Pavlinusic [Thu, 16 Dec 2010 17:44:21 +0000 (18:44 +0100)]
extract dependent columns using evil regex

13 years agouse _ as separator foo.bar.baz -> foo_bar_baz
Dobrica Pavlinusic [Thu, 16 Dec 2010 17:28:17 +0000 (18:28 +0100)]
use _ as separator foo.bar.baz -> foo_bar_baz

This allows writing of column names without quotes and doesn't
conflict with dot usage for code snippets

13 years agofix _design doc skipping
Dobrica Pavlinusic [Wed, 15 Dec 2010 18:02:32 +0000 (19:02 +0100)]
fix _design doc skipping

13 years agoskip CouchDB _design documents
Dobrica Pavlinusic [Tue, 14 Dec 2010 21:50:32 +0000 (22:50 +0100)]
skip CouchDB _design documents

13 years agoflatten CouchDB documents for MojoFacets
Dobrica Pavlinusic [Tue, 14 Dec 2010 21:30:13 +0000 (22:30 +0100)]
flatten CouchDB documents for MojoFacets

13 years agoCouchDB _all_docs importer
Dobrica Pavlinusic [Tue, 14 Dec 2010 21:24:25 +0000 (22:24 +0100)]
CouchDB _all_docs importer

13 years agoimprove CSV delimiter heuristics
Dobrica Pavlinusic [Fri, 10 Dec 2010 13:03:53 +0000 (14:03 +0100)]
improve CSV delimiter heuristics

13 years agorun with arbitrary CSV file
Dobrica Pavlinusic [Fri, 10 Dec 2010 13:01:25 +0000 (14:01 +0100)]
run with arbitrary CSV file

13 years agoredirect to /data/load without dataset
Dobrica Pavlinusic [Sun, 31 Oct 2010 09:32:32 +0000 (10:32 +0100)]
redirect to /data/load without dataset

13 years agocomment out filters which can be huge
Dobrica Pavlinusic [Fri, 29 Oct 2010 20:13:14 +0000 (22:13 +0200)]
comment out filters which can be huge

13 years agouse return $self->redirect_to all over the place
Dobrica Pavlinusic [Fri, 29 Oct 2010 19:20:39 +0000 (21:20 +0200)]
use return $self->redirect_to all over the place

this fixes redirections in newer Mojolicious and is more exact

13 years agouse local files only if available
Dobrica Pavlinusic [Fri, 29 Oct 2010 19:02:47 +0000 (21:02 +0200)]
use local files only if available

13 years agoMojo package is now in Mojolicious distribution
Dobrica Pavlinusic [Fri, 29 Oct 2010 17:28:19 +0000 (19:28 +0200)]
Mojo package is now in Mojolicious distribution

13 years agoMore dependencies on clean system
Dobrica Pavlinusic [Fri, 29 Oct 2010 17:19:51 +0000 (19:19 +0200)]
More dependencies on clean system

this makes perl Makefile.PL pass :-)

13 years agofirst install perl modules available in Debian
Dobrica Pavlinusic [Fri, 29 Oct 2010 17:15:27 +0000 (19:15 +0200)]
first install perl modules available in Debian

13 years agomove invalidation before $out processing
Dobrica Pavlinusic [Tue, 19 Oct 2010 15:35:23 +0000 (17:35 +0200)]
move invalidation before $out processing

This change allows us to write sequences like this:

$out->{eprints_id} ||= 700;
$update->{eprints_id} = $out->{eprints_id}++;

We use $out like global variable, and increment values for all
filtered fields

13 years agosplit filename into word and numeric part
Dobrica Pavlinusic [Tue, 19 Oct 2010 00:56:17 +0000 (02:56 +0200)]
split filename into word and numeric part