APKPM.git
12 years agocreate indexes on inherited tables
Dobrica Pavlinusic [Sun, 20 May 2012 19:41:52 +0000 (21:41 +0200)]
create indexes on inherited tables

12 years agofix warnings
Dobrica Pavlinusic [Sun, 20 May 2012 19:28:08 +0000 (21:28 +0200)]
fix warnings

12 years agopartition tables using date
Dobrica Pavlinusic [Mon, 5 Dec 2011 19:00:57 +0000 (20:00 +0100)]
partition tables using date

12 years agoextract CPE_vendor_ip_username
Dobrica Pavlinusic [Mon, 28 Nov 2011 13:09:04 +0000 (14:09 +0100)]
extract CPE_vendor_ip_username

This will be used to poll bitstram users

12 years agorequire that second field in same line begins with letters
Dobrica Pavlinusic [Mon, 28 Nov 2011 12:39:49 +0000 (13:39 +0100)]
require that second field in same line begins with letters

This fixes corner case in which values in timestap with date and time
where time gets recognized as second value in same line

12 years agonumberField without space
Dobrica Pavlinusic [Sun, 27 Nov 2011 19:28:45 +0000 (20:28 +0100)]
numberField without space

12 years agofix parsing of optional values
Dobrica Pavlinusic [Sun, 27 Nov 2011 19:24:48 +0000 (20:24 +0100)]
fix parsing of optional values

12 years agoparse show adsl perl $port
Dobrica Pavlinusic [Sun, 27 Nov 2011 18:28:39 +0000 (19:28 +0100)]
parse show adsl perl $port

12 years agocorrectly parse IP and then ports from command-line
Dobrica Pavlinusic [Sun, 27 Nov 2011 18:15:14 +0000 (19:15 +0100)]
correctly parse IP and then ports from command-line

12 years agoparse show interface $port adsl-status
Dobrica Pavlinusic [Tue, 22 Nov 2011 18:31:57 +0000 (19:31 +0100)]
parse show interface $port adsl-status

This change also adds custom callback which (if implemented) allows
sub-modules to call (also new) command_out to just return command
output without parsing it.

This was implemented to parse one particular table in this change.

12 years agocollect perf-data
Jakov Curic [Tue, 22 Nov 2011 17:35:30 +0000 (18:35 +0100)]
collect perf-data

12 years agotweak min_process for workers to 1
Dobrica Pavlinusic [Tue, 4 Oct 2011 13:03:52 +0000 (15:03 +0200)]
tweak min_process for workers to 1

12 years agouse do_high for CRM_search
Dobrica Pavlinusic [Tue, 4 Oct 2011 12:06:00 +0000 (14:06 +0200)]
use do_high for CRM_search

12 years agocorrectly decode JSON arrays also in do_high
Dobrica Pavlinusic [Tue, 4 Oct 2011 12:05:47 +0000 (14:05 +0200)]
correctly decode JSON arrays also in do_high

12 years agoreturn JSON hash from ZTE(DSLAM|MSAN)_IP workers for DSLAM_search
Dobrica Pavlinusic [Tue, 4 Oct 2011 12:02:07 +0000 (14:02 +0200)]
return JSON hash from ZTE(DSLAM|MSAN)_IP workers for DSLAM_search

12 years agouse persistant worker to query DSLAM
Dobrica Pavlinusic [Tue, 4 Oct 2011 11:34:57 +0000 (13:34 +0200)]
use persistant worker to query DSLAM

12 years agoadded do_high to execute German function as high_priority one
Dobrica Pavlinusic [Tue, 4 Oct 2011 11:34:34 +0000 (13:34 +0200)]
added do_high to execute German function as high_priority one

12 years agoadded return of hash $ret to CPE_info
Jakov Curic [Sun, 2 Oct 2011 10:45:07 +0000 (12:45 +0200)]
added return of hash $ret to CPE_info

12 years agofix more quirks in right column parsing
Dobrica Pavlinusic [Mon, 26 Sep 2011 13:21:53 +0000 (15:21 +0200)]
fix more quirks in right column parsing

12 years agofix space before semicolumn
Dobrica Pavlinusic [Mon, 26 Sep 2011 13:01:13 +0000 (15:01 +0200)]
fix space before semicolumn

12 years agouse only non-whitespace chars
Dobrica Pavlinusic [Mon, 26 Sep 2011 10:17:34 +0000 (12:17 +0200)]
use only non-whitespace chars

12 years agoextract mac address
Jakov Curic [Mon, 26 Sep 2011 10:16:32 +0000 (12:16 +0200)]
extract mac address

12 years agopull bitstream users from JSON API
Dobrica Pavlinusic [Tue, 16 Aug 2011 14:04:59 +0000 (16:04 +0200)]
pull bitstream users from JSON API

12 years agodon't cache timeout errors from gearman
Dobrica Pavlinusic [Thu, 14 Jul 2011 08:53:47 +0000 (10:53 +0200)]
don't cache timeout errors from gearman

12 years agorefresh gnuplot on column change
Dobrica Pavlinusic [Wed, 13 Jul 2011 18:22:24 +0000 (20:22 +0200)]
refresh gnuplot on column change

this is possible because we use multiple layers of caching, to toggling
column on/off is fast enough

12 years agoincude with in filename to create unique gnuplots
Dobrica Pavlinusic [Wed, 13 Jul 2011 18:21:43 +0000 (20:21 +0200)]
incude with in filename to create unique gnuplots

12 years agomove gnuplot graph below table
Dobrica Pavlinusic [Wed, 13 Jul 2011 16:18:20 +0000 (18:18 +0200)]
move gnuplot graph below table

it loads last

12 years agoredraw gnuplot only if SQL for it changes
Dobrica Pavlinusic [Tue, 12 Jul 2011 12:41:14 +0000 (14:41 +0200)]
redraw gnuplot only if SQL for it changes

12 years agodisplay last ping for user
Dobrica Pavlinusic [Tue, 12 Jul 2011 12:10:55 +0000 (14:10 +0200)]
display last ping for user

12 years agoautofocus search field
Dobrica Pavlinusic [Tue, 12 Jul 2011 12:10:45 +0000 (14:10 +0200)]
autofocus search field

12 years agogenerate result as Store_sql does
Dobrica Pavlinusic [Tue, 12 Jul 2011 10:25:45 +0000 (12:25 +0200)]
generate result as Store_sql does

12 years agoencode hstore for PostgreSQL in Store_insert
Dobrica Pavlinusic [Tue, 12 Jul 2011 09:55:50 +0000 (11:55 +0200)]
encode hstore for PostgreSQL in Store_insert

12 years agotry to select from database if there is no redis row
Dobrica Pavlinusic [Tue, 12 Jul 2011 08:57:25 +0000 (10:57 +0200)]
try to select from database if there is no redis row

12 years agoget last cpe_ record from redis
Dobrica Pavlinusic [Mon, 11 Jul 2011 16:41:07 +0000 (18:41 +0200)]
get last cpe_ record from redis

12 years agoexpire LDAP and CRM entries after 15 min
Dobrica Pavlinusic [Mon, 11 Jul 2011 16:31:18 +0000 (18:31 +0200)]
expire LDAP and CRM entries after 15 min

12 years agostore last table.name.username json for 15 min
Dobrica Pavlinusic [Mon, 11 Jul 2011 16:29:18 +0000 (18:29 +0200)]
store last table.name.username json for 15 min

12 years agofix user.html link
Dobrica Pavlinusic [Mon, 11 Jul 2011 16:25:44 +0000 (18:25 +0200)]
fix user.html link

12 years agocleanup cpe_limit
Dobrica Pavlinusic [Mon, 11 Jul 2011 09:57:39 +0000 (09:57 +0000)]
cleanup cpe_limit

12 years agoalways have 1 sql worker ready for web_ui
Dobrica Pavlinusic [Mon, 11 Jul 2011 00:31:18 +0000 (02:31 +0200)]
always have 1 sql worker ready for web_ui

12 years agomake ldap keys bold
Dobrica Pavlinusic [Sun, 10 Jul 2011 23:27:03 +0000 (01:27 +0200)]
make ldap keys bold

12 years agoremove obsolete css
Dobrica Pavlinusic [Sun, 10 Jul 2011 23:21:58 +0000 (01:21 +0200)]
remove obsolete css

12 years agogeneralize right panel with on/off checkbox
Dobrica Pavlinusic [Sun, 10 Jul 2011 23:13:24 +0000 (01:13 +0200)]
generalize right panel with on/off checkbox

12 years agodisplay messages from each step
Dobrica Pavlinusic [Sun, 10 Jul 2011 22:40:06 +0000 (00:40 +0200)]
display messages from each step

12 years agodefine graph for EasyGateWay
Dobrica Pavlinusic [Sun, 10 Jul 2011 21:55:56 +0000 (23:55 +0200)]
define graph for EasyGateWay

12 years agocorrectly decode hstore with @ in data
Dobrica Pavlinusic [Sun, 10 Jul 2011 21:45:02 +0000 (23:45 +0200)]
correctly decode hstore with @ in data

12 years agoreally call clear_LDAP
Dobrica Pavlinusic [Sun, 10 Jul 2011 20:58:23 +0000 (22:58 +0200)]
really call clear_LDAP

12 years agofetch (LDAP|CRM)_search from redis
Dobrica Pavlinusic [Sun, 10 Jul 2011 20:53:52 +0000 (22:53 +0200)]
fetch (LDAP|CRM)_search from redis

12 years agouse checkboxes to select gnuplot columns
Dobrica Pavlinusic [Sun, 10 Jul 2011 20:39:34 +0000 (22:39 +0200)]
use checkboxes to select gnuplot columns

12 years agoshow redis info
Dobrica Pavlinusic [Sun, 10 Jul 2011 17:54:31 +0000 (19:54 +0200)]
show redis info

12 years agostore CRM and LDAP entries in redis
Dobrica Pavlinusic [Sun, 10 Jul 2011 17:44:55 +0000 (19:44 +0200)]
store CRM and LDAP entries in redis

12 years agodisplay cpe_* tables and select limit via radio button
Dobrica Pavlinusic [Sun, 10 Jul 2011 17:19:07 +0000 (19:19 +0200)]
display cpe_* tables and select limit via radio button

12 years agoextract gnuplot_draw function and remove old code
Dobrica Pavlinusic [Sun, 10 Jul 2011 16:00:00 +0000 (18:00 +0200)]
extract gnuplot_draw function and remove old code

12 years agoconvert table to $resource
Dobrica Pavlinusic [Sun, 10 Jul 2011 14:26:49 +0000 (16:26 +0200)]
convert table to $resource

12 years agoLDAP_search using $resource
Dobrica Pavlinusic [Sun, 10 Jul 2011 13:33:21 +0000 (15:33 +0200)]
LDAP_search using $resource

12 years agoauto-select single result from CRM
Dobrica Pavlinusic [Sun, 10 Jul 2011 13:09:21 +0000 (15:09 +0200)]
auto-select single result from CRM

12 years agorewrite CRM_search using $resource
Dobrica Pavlinusic [Sun, 10 Jul 2011 13:06:12 +0000 (15:06 +0200)]
rewrite CRM_search using $resource

12 years agomove user.html template to static one
Dobrica Pavlinusic [Sun, 10 Jul 2011 12:06:19 +0000 (14:06 +0200)]
move user.html template to static one

It's pure Angular anyway

12 years agoadded limit
Dobrica Pavlinusic [Sun, 10 Jul 2011 11:59:33 +0000 (13:59 +0200)]
added limit

12 years agorefator self.cpe out
Dobrica Pavlinusic [Sun, 10 Jul 2011 11:59:23 +0000 (13:59 +0200)]
refator self.cpe out

12 years agodecode hstore column back into HASH
Dobrica Pavlinusic [Sat, 9 Jul 2011 20:59:38 +0000 (22:59 +0200)]
decode hstore column back into HASH

12 years agoreturn simple table dump sa json
Dobrica Pavlinusic [Sat, 9 Jul 2011 20:18:15 +0000 (22:18 +0200)]
return simple table dump sa json

12 years agospecify just hash names and generate SQL from it
Dobrica Pavlinusic [Sat, 9 Jul 2011 19:50:18 +0000 (21:50 +0200)]
specify just hash names and generate SQL from it

12 years agogenerate _cpe_vendor and _cpe_parser fields in LDAP_search response
Dobrica Pavlinusic [Sat, 9 Jul 2011 19:09:27 +0000 (21:09 +0200)]
generate _cpe_vendor and _cpe_parser fields in LDAP_search response

12 years agognuplot object now has structure
Dobrica Pavlinusic [Sat, 9 Jul 2011 18:44:58 +0000 (20:44 +0200)]
gnuplot object now has structure

12 years agofix gnuplot sql
Dobrica Pavlinusic [Sat, 9 Jul 2011 18:33:33 +0000 (20:33 +0200)]
fix gnuplot sql

12 years agopass gearman timeout option correctly
Dobrica Pavlinusic [Sat, 9 Jul 2011 17:16:19 +0000 (17:16 +0000)]
pass gearman timeout option correctly

12 years agoset and get json correctly in redis for caching gearman
Dobrica Pavlinusic [Sat, 9 Jul 2011 16:29:35 +0000 (16:29 +0000)]
set and get json correctly in redis for caching gearman

12 years agonew poll example SQL queries
Dobrica Pavlinusic [Sat, 9 Jul 2011 15:29:13 +0000 (15:29 +0000)]
new poll example SQL queries

12 years agocache gearman calls from web_ui in redis
Dobrica Pavlinusic [Sat, 9 Jul 2011 14:24:06 +0000 (14:24 +0000)]
cache gearman calls from web_ui in redis

12 years agoadded links for database schema
Dobrica Pavlinusic [Fri, 8 Jul 2011 23:23:16 +0000 (01:23 +0200)]
added links for database schema

12 years agoimplement psql plain-text output
Dobrica Pavlinusic [Fri, 8 Jul 2011 23:20:22 +0000 (01:20 +0200)]
implement psql plain-text output

12 years agorename tables and functions to make them consistant
Dobrica Pavlinusic [Wed, 6 Jul 2011 20:04:36 +0000 (22:04 +0200)]
rename tables and functions to make them consistant

12 years agocleanup schema dir
Dobrica Pavlinusic [Wed, 6 Jul 2011 18:41:28 +0000 (20:41 +0200)]
cleanup schema dir

12 years agorename file
Dobrica Pavlinusic [Wed, 6 Jul 2011 18:39:33 +0000 (20:39 +0200)]
rename file

12 years agoadded error columns
Dobrica Pavlinusic [Wed, 6 Jul 2011 18:39:19 +0000 (20:39 +0200)]
added error columns

12 years agofix eval typo
Dobrica Pavlinusic [Wed, 6 Jul 2011 16:06:24 +0000 (18:06 +0200)]
fix eval typo

12 years agocleanup CPE poller to use new H1:: modules
Dobrica Pavlinusic [Wed, 6 Jul 2011 14:47:12 +0000 (16:47 +0200)]
cleanup CPE poller to use new H1:: modules

12 years agoparse full adsl info --show
Dobrica Pavlinusic [Wed, 6 Jul 2011 14:22:19 +0000 (16:22 +0200)]
parse full adsl info --show

12 years agofix perms
Dobrica Pavlinusic [Wed, 6 Jul 2011 11:45:26 +0000 (13:45 +0200)]
fix perms

12 years agomake EasyGateway stand-alone module called from CPE_ping
Dobrica Pavlinusic [Wed, 6 Jul 2011 11:43:27 +0000 (13:43 +0200)]
make EasyGateway stand-alone module called from CPE_ping

12 years agostore ip for CPE.EasyGateway.queued
Dobrica Pavlinusic [Tue, 5 Jul 2011 20:55:10 +0000 (22:55 +0200)]
store ip for CPE.EasyGateway.queued

12 years agoEasyGateway_info accepts just IP address
Dobrica Pavlinusic [Tue, 5 Jul 2011 20:54:51 +0000 (22:54 +0200)]
EasyGateway_info accepts just IP address

12 years agoCPE_poll
Dobrica Pavlinusic [Tue, 5 Jul 2011 19:55:45 +0000 (21:55 +0200)]
CPE_poll

12 years agoremove old poll implementation replaced with CPE
Dobrica Pavlinusic [Tue, 5 Jul 2011 19:43:52 +0000 (21:43 +0200)]
remove old poll implementation replaced with CPE

12 years agomodify schema for new CPE stats
Dobrica Pavlinusic [Tue, 5 Jul 2011 19:42:47 +0000 (21:42 +0200)]
modify schema for new CPE stats

12 years agostore columns availabe in schema and ignore others
Dobrica Pavlinusic [Tue, 5 Jul 2011 19:42:18 +0000 (21:42 +0200)]
store columns availabe in schema and ignore others

12 years agospeed up select test
Dobrica Pavlinusic [Tue, 5 Jul 2011 19:23:06 +0000 (21:23 +0200)]
speed up select test

12 years agosetup min_processes to 0 for all workers
Dobrica Pavlinusic [Tue, 5 Jul 2011 19:00:35 +0000 (21:00 +0200)]
setup min_processes to 0 for all workers

12 years agorename davolink table and collect queued and ok
Dobrica Pavlinusic [Tue, 5 Jul 2011 18:53:23 +0000 (20:53 +0200)]
rename davolink table and collect queued and ok

12 years agoshow CPE stats instead of (unused) poll
Dobrica Pavlinusic [Tue, 5 Jul 2011 17:57:33 +0000 (19:57 +0200)]
show CPE stats instead of (unused) poll

12 years agobetter redis CPE stats
Dobrica Pavlinusic [Tue, 5 Jul 2011 17:57:10 +0000 (19:57 +0200)]
better redis CPE stats

12 years agoadded pid file
Dobrica Pavlinusic [Tue, 5 Jul 2011 17:55:07 +0000 (19:55 +0200)]
added pid file

12 years agotune CPE and EasyGateway processes
Dobrica Pavlinusic [Tue, 5 Jul 2011 17:09:40 +0000 (19:09 +0200)]
tune CPE and EasyGateway processes

12 years agofix prefix remove
Dobrica Pavlinusic [Tue, 5 Jul 2011 17:09:26 +0000 (19:09 +0200)]
fix prefix remove

12 years agostore CPE poll stats
Dobrica Pavlinusic [Tue, 5 Jul 2011 17:09:09 +0000 (19:09 +0200)]
store CPE poll stats

12 years agoreplacement for APKPM::Poll
Dobrica Pavlinusic [Tue, 5 Jul 2011 12:42:44 +0000 (14:42 +0200)]
replacement for APKPM::Poll

renamed to CPE since it *is* CPE poller, and now with support for
polling from Davolink and EasyGateway

12 years agopull adsl by default if nothing specified
Dobrica Pavlinusic [Tue, 5 Jul 2011 12:31:15 +0000 (14:31 +0200)]
pull adsl by default if nothing specified

12 years agosave pid file so we can restart workers
Dobrica Pavlinusic [Tue, 5 Jul 2011 11:23:48 +0000 (13:23 +0200)]
save pid file so we can restart workers

12 years agoEasyGateway SOAP poller
Dobrica Pavlinusic [Sun, 3 Jul 2011 19:30:55 +0000 (21:30 +0200)]
EasyGateway SOAP poller

12 years agoadded variant to zte_poll
Dobrica Pavlinusic [Thu, 23 Jun 2011 11:27:19 +0000 (13:27 +0200)]
added variant to zte_poll