Commit Graph

424 Commits

Author SHA1 Message Date
Oliver Gorwits
5a18bf68e3 another hack for odd tooltip behaviour 2013-04-22 23:03:14 +01:00
Oliver Gorwits
f1b27c2a83 hack for odd z-order of tips with navbar (boostrap bug?) 2013-04-22 22:44:13 +01:00
Oliver Gorwits
e77affd7a1 fix for jQuery 1.9 change in attr() handling 2013-04-22 22:24:34 +01:00
Oliver Gorwits
45a2f05b26 fix bad assumption about mibs destination dir 2013-04-20 00:07:50 +01:00
Oliver Gorwits
9875c70f41 much better handling of mibhome 2013-04-19 23:36:06 +01:00
Oliver Gorwits
d735cc657d specify dependency versions explicitly.
By specifying version '0' we accidentally allowed some brokenness,
with *other* broken modules which don't specify versions required.
So, we do it ourselves as it's our users who feel the pain.

BTW skipped this for JSON and for DBD::Pg which might have stable
OS-installed versions, instead.
2013-04-19 23:04:05 +01:00
Oliver Gorwits
cb6f125c73 discover root_ip properly 2013-04-13 20:26:59 +01:00
Oliver Gorwits
8228e73f5b better name for util package 2013-04-13 19:47:23 +01:00
Oliver Gorwits
4546036f4f bug fixes in getting wireless info 2013-04-13 19:23:55 +01:00
Oliver Gorwits
78554e5516 refactor snmp_connect to handle versions and device classes 2013-04-13 19:07:44 +01:00
Oliver Gorwits
ca9edd114a rename discoverall to discovernew 2013-04-13 15:23:52 +01:00
Oliver Gorwits
1b897e4aee change debug log tag for store_device 2013-04-13 14:51:06 +01:00
Oliver Gorwits
8a5306e056 rename Discover.pm to Device.pm 2013-04-13 14:50:10 +01:00
Oliver Gorwits
3197e38819 allow netdisco-do to do all acton 2013-04-13 14:48:31 +01:00
Oliver Gorwits
211166fa67 minor version tweak to requirements 2013-04-11 21:13:57 +01:00
Oliver Gorwits
d21f9e8e19 add discover/refresh, scheduler jobs, netdisco-do
New Poller daemon worker can discover and refresh devices.
  New Scheduler daemon worker replaces the cron jobs with config.
  New netdisco-do script allows running a job one-off from CLI.

Squashed commit of the following:

commit fa25f36e14
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed Apr 10 22:43:47 2013 +0100

    fix HTTP port at 5000

commit 202ea4a84c
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed Apr 10 22:33:03 2013 +0100

    bug fixes in discover

commit 925d9e4d6b
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed Apr 10 21:51:44 2013 +0100

    add mini app for one-time jobs

commit d3a6c08a9d
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed Apr 10 21:46:55 2013 +0100

    better name for subaction

commit 4adf473b20
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed Apr 10 20:15:18 2013 +0100

    add logging of db add/del

commit 8aacafedaa
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed Apr 10 19:49:00 2013 +0100

    copy all remaining messages from netdisco 1

commit 3e1156df1f
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Apr 8 22:09:40 2013 +0100

    alter some log levels and messages

commit e7ea92920f
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Apr 8 20:32:33 2013 +0100

    store wireless ssid and port info to DB

commit d1d16938a1
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri Apr 5 08:52:59 2013 +0100

    update packaging for new files and deps

commit 965990786f
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 4 22:22:50 2013 +0100

    implementation of find_neighbors

commit 03c4d8ef09
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 4 20:42:11 2013 +0100

    add discoverall and discover_neighbors poller jobs

commit df68ff0890
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 4 19:52:37 2013 +0100

    implementation of store_modules

commit c2ac19e647
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 4 19:32:14 2013 +0100

    implementation of store_power

commit b7fb8c64a0
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 4 18:48:09 2013 +0100

    implementation of store_vlans

commit b8ddbd1eca
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 4 17:08:06 2013 +0100

    implementation of store_wireless (without storing, yet)

commit 2a14057481
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 4 16:47:21 2013 +0100

    implementation of store_interfaces (without wireless)

commit d5b2b71d34
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 4 15:12:19 2013 +0100

    only start Manager if there are pollers or interactives

commit f4a3dac760
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 4 15:03:10 2013 +0100

    change sub names so as not to collide with Dancer

commit a8f0894986
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 4 14:47:28 2013 +0100

    implementation of refresh, discover, and store_device

commit 4c2e3cf82d
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 4 11:38:15 2013 +0100

    make get_device return a new result object

commit e6ac131658
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 4 10:38:22 2013 +0100

    better POD section name

commit 6c5b6bbbee
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Apr 4 10:37:46 2013 +0100

    implement separate snmp_connect and snmp_connect_rw methods

commit 62c8e19063
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Apr 1 20:06:29 2013 +0100

    fix for unique constraint on job queue for locally queued jobs

commit ebb65996e6
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Apr 1 20:00:36 2013 +0100

    add refresh poller job

commit 05928e8cf6
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Apr 1 19:31:39 2013 +0100

    Refactor Util namespace

    Squashed commit of the following:

    commit 789c528fcf
    Author: Oliver Gorwits <oliver@cpan.org>
    Date:   Mon Apr 1 19:31:07 2013 +0100

        update manifest and fix typo

    commit b95d0951f2
    Author: Oliver Gorwits <oliver@cpan.org>
    Date:   Mon Apr 1 19:22:41 2013 +0100

        refactor ::Util namespace

    commit a8dde50343
    Author: Oliver Gorwits <oliver@cpan.org>
    Date:   Sun Mar 31 13:45:27 2013 +0100

        no need to search for device - IP should already be exact

commit b42daee4c1
Merge: 6e52762 95bb8fc
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed Mar 27 21:00:09 2013 +0000

    Merge branch 'master' into og-poller

commit 6e527629a2
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Mar 26 23:39:23 2013 +0000

    fixes and log messages

commit cfcb7a956f
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Mar 26 22:57:06 2013 +0000

    bug fixes

commit 48f779a8d0
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Mar 26 22:42:16 2013 +0000

    add config for scheduled tasks

commit 2f6efcb312
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Mar 26 22:15:04 2013 +0000

    create poller worker and add poller type stubs

commit 52b28b0ab8
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Mar 26 22:04:00 2013 +0000

    code tidy

commit 96db66739f
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Mar 25 22:35:11 2013 +0000

    more insane but more working version of the job queue constraint

commit cb25216f40
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 24 20:22:11 2013 +0000

    make scheduler start automatic based on housekeeping setting existing

commit 0acbe8abd3
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 24 19:45:24 2013 +0000

    add scheduler based on Algorithm::Cron

commit 49d136b57a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 24 18:48:10 2013 +0000

    add unique constraint on admin/job queue
2013-04-10 22:55:49 +01:00
Oliver Gorwits
95bb8fc06c Update to latest Bootstrap and JQuery, and temp. fix #7326 in Bootstrap 2013-03-27 20:58:54 +00:00
Oliver Gorwits
bb3f706a8f rename plugins doc .pm to .pod 2013-03-17 15:29:01 +00:00
Oliver Gorwits
cbb1e8074a bump version for release 2013-03-17 14:48:23 +00:00
Oliver Gorwits
65d01be38c Squashed commit of the following:
commit b054119d9c
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 17 14:29:58 2013 +0000

    hide Reports menu if there are no reports

commit d86e670600
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 17 14:23:59 2013 +0000

    add Report docs for developers

commit ee8351eb30
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 17 14:06:39 2013 +0000

    split Plugin docs into user and developer pages

commit 5e4b8f3063
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 17 12:59:47 2013 +0000

    add duplex report into default config

commit 8fd622f50c
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 17 12:56:51 2013 +0000

    update query for duplex mismatch to check left and right are both not DOWN

commit 6d9170598c
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Mar 11 23:10:38 2013 +0000

    use the new duplex mismatch query in a template

commit 786977354b
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Mar 11 22:54:21 2013 +0000

    add VIEW for duplex mismatches

commit f37ae8568e
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Mar 11 22:54:01 2013 +0000

    remove unecessary assign

commit 13af853582
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 23:40:53 2013 +0000

    fixes to main app to support reports

commit 55a0f3d8dc
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 22:18:48 2013 +0000

    also update fontawesome to match bootstrap version

commit 83a2c74242
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 22:07:23 2013 +0000

    update bootstrap again, to include glyphicons with correct path

commit 25be8bfa92
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 19:27:37 2013 +0000

    implement first report - duplex mismatch - as a placeholder only

commit 00265a9323
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 18:41:40 2013 +0000

    report error on failure to load a plugin

commit af8f124bb2
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 18:37:19 2013 +0000

    change id for tag in device and search tab plugins

commit b818d4156f
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 18:29:57 2013 +0000

    change id for tag in navbar plugins

commit f513000f08
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 17:21:23 2013 +0000

    implement register_report() and replace More menu with Reports menu

commit 4a16e3fde3
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Mar 10 17:00:44 2013 +0000

    Upgraded to Twitter Bootstrap 2.3.1 - customized for 13px font 18px line
2013-03-17 14:37:21 +00:00
Oliver Gorwits
a67478dd5c Convert useless die to error+return in Plugin.pm 2013-03-10 15:00:43 +00:00
Oliver Gorwits
b9e8e86148 fix broken doc links 2013-03-10 14:50:25 +00:00
Oliver Gorwits
a950ce533e Plugins can now 'register_template_path' and supply their own HTML templates 2013-03-10 00:50:39 +00:00
Oliver Gorwits
4f54f0f609 update META.yml version number 2013-03-07 21:52:04 +00:00
Oliver Gorwits
02c46e2275 bump version for release 2013-03-07 21:49:58 +00:00
Oliver Gorwits
ae307f30b3 documentation fixups 2013-03-05 23:20:40 +00:00
Oliver Gorwits
069e1a22bc update manifest 2013-03-05 23:02:00 +00:00
Oliver Gorwits
66d0b25af3 moar documentation 2013-03-05 22:54:31 +00:00
Oliver Gorwits
5390b99a12 many small fixes to packaging and daemons after testing 2013-03-05 21:38:18 +00:00
Oliver Gorwits
639366c324 update manifest file 2013-03-05 19:33:10 +00:00
Oliver Gorwits
5511005a23 update install doc to remove config which is now implicit 2013-03-05 19:26:26 +00:00
Oliver Gorwits
6cf40b0807 update TODO 2013-03-05 00:05:33 +00:00
Oliver Gorwits
c94e890bb9 DB Schema upgrades are now all single-step in case user has applied any already 2013-03-04 23:45:36 +00:00
Oliver Gorwits
b7ae4dfc57 add cache headers for static content 2013-03-04 23:01:31 +00:00
Oliver Gorwits
877f035ffd prevent duplicate requests caused by favicon.ico 2013-03-04 23:00:24 +00:00
Oliver Gorwits
e3c0ae3554 All links and redirects are now relative
WARNING - this might break. We'll revert this commit if so.
The rationale is for those using proxies where the host name is not proxied
on, as in Apache's ProxyPreserveHost.
RFC2161 does not permit relative Location: header, but an upcoming revision
stil in-draft will apparently allow relative spec. I believe all browsers to
support relative Location: headers already.
2013-03-04 21:40:43 +00:00
Oliver Gorwits
9848de5c26 update TODO and Changelog 2013-03-04 20:54:20 +00:00
Oliver Gorwits
a24ec2ffdc modify all bin scripts to find localenv and work from git clone 2013-03-04 20:52:24 +00:00
Oliver Gorwits
c4b60e47a2 allow netdisco-deploy to work from git and without localenv 2013-03-04 20:47:11 +00:00
Oliver Gorwits
376b1cf9dd support for running from git or build dir 2013-03-04 20:31:32 +00:00
Oliver Gorwits
c4e6e4c8eb try really hard to find a localenv if one isn't already in place 2013-03-04 20:31:00 +00:00
Oliver Gorwits
a02a325dcc remove unecessary PATH extension 2013-03-04 19:32:35 +00:00
Oliver Gorwits
adfcf19998 update TODO 2013-03-04 08:43:48 +00:00
Oliver Gorwits
d82fe1e2b0 refactor web start scripts to be more portable 2013-03-04 00:19:18 +00:00
Oliver Gorwits
8e9466b64f URI and HTML escape template variables 2013-03-02 18:48:19 +00:00
Oliver Gorwits
043eef9d4d clarify Device or Node data in Node Search 2013-03-02 16:04:22 +00:00
Oliver Gorwits
5d33591903 Search by device port MAC no longer fatal 2013-03-02 15:56:13 +00:00
Oliver Gorwits
26c5014479 Partial Match option when searching on device port name 2013-03-02 15:25:01 +00:00
Oliver Gorwits
a94b5a913d avoid use of DNS when looking up devices in DB by IP 2013-02-24 23:15:49 +00:00
Oliver Gorwits
8a0311d4c5 eliminate unecessary COUNT check on available local jobs 2013-02-24 23:02:28 +00:00