Commit Graph
100 Commits
Author SHA1 Message Date
Oliver Gorwits ed1bfa1ae7 observium sparklines plugin; support X:: namespace 2013-05-30 08:17:02 +01:00
Oliver Gorwits 76b7636c74 rename private settings keys 2013-05-30 06:30:06 +01:00
Oliver Gorwits fdac8f6c33 add macwalk and arpnip buttons to device details 2013-05-30 05:59:53 +01:00
Oliver Gorwits 3d688c7d83 Revert "reduce refresh to 5sec"
This reverts commit 8ea9ec7dd9.
2013-05-30 05:57:20 +01:00
Oliver Gorwits dc62382112 support for arpwalk and macwalk and all jobs via web 2013-05-30 05:51:22 +01:00
Oliver Gorwits 8bc7d83c98 simplify discover options to only discoverall and discover 2013-05-30 05:35:41 +01:00
Oliver Gorwits 8ea9ec7dd9 reduce refresh to 5sec 2013-05-29 20:23:08 +01:00
Oliver Gorwits 8c54e6c58b show undiscovered neighbor properly 2013-05-29 20:11:06 +01:00
Oliver Gorwits e0ee25628f avoid unecessary log for queueing 2013-05-29 19:54:09 +01:00
Oliver Gorwits d5565423f2 avoid warning on undefined remote type 2013-05-29 19:51:37 +01:00
Oliver Gorwits 5d9b58a6b2 avoid explosion when not admin 2013-05-29 19:48:22 +01:00
Oliver Gorwits 377bb942e0 avoid undefined warning 2013-05-29 19:47:19 +01:00
Oliver Gorwits 08806dcfa2 get_db_version will be 0 at first deploy 2013-05-29 19:46:42 +01:00
Oliver Gorwits 9511c17056 fix name of Template module 2013-05-29 19:15:55 +01:00
Oliver Gorwits eb0288de35 initial config settings documentation 2013-05-28 07:17:07 +01:00
Oliver Gorwits 7f2ea7f8dc remove check_mac to own module, use in macsuck too 2013-05-27 15:37:35 +01:00
Oliver Gorwits b995cf6398 show probable but undiscovered neighbor is ports display 2013-05-27 15:01:29 +01:00
Oliver Gorwits dd8d461188 new schema version for is_uplink and is_uplink_admin 2013-05-27 14:52:41 +01:00
Oliver Gorwits 3f6a7b5aa2 make sure device_port is updated when manual_topo is set 2013-05-27 14:49:32 +01:00
Oliver Gorwits 33bf9a6599 export store_arp and store_node 2013-05-26 19:51:49 +01:00
Oliver Gorwits 0ed356d560 use row lock not table lock 2013-05-25 17:12:31 +01:00
Oliver Gorwits f830bc3a3b move macsuck/arpnip/discover to ::Core namespace 2013-05-25 16:38:33 +01:00
Oliver Gorwits be40788987 add maybe_uplink to device_port; more macsuck implementation 2013-05-25 01:24:04 +01:00
Oliver Gorwits 88371026d5 start on macsuck; tweak update locking 2013-05-24 14:35:09 +01:00
Oliver Gorwits 6f7c87ac07 ORDER BY ... FOR UPDATE will allow us to avoid table lock 2013-05-24 13:10:58 +01:00
Oliver Gorwits 7c438e01fc yet more efficient arpnip 2013-05-24 12:12:46 +01:00
Oliver Gorwits c74c56dc02 guard against race with *_or_* DBIC methods 2013-05-24 11:34:23 +01:00
Oliver Gorwits d50c54972e more efficient arpnip 2013-05-20 23:42:41 +01:00
Oliver Gorwits 73c8979130 fix confusing name 2013-05-19 22:52:15 +01:00
Oliver Gorwits bf78e82411 fix mistake in DBIx::Class schema 2013-05-19 22:37:22 +01:00
Oliver Gorwits 6a5af95836 arpnip implementation 2013-05-19 22:34:25 +01:00
Oliver Gorwits 594abd3f82 PostgreSQL explicit locking support.
Squashed commit of the following:

commit 76e1539102
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed May 15 23:54:25 2013 +0100

    finished explicit locking module

commit 369387258b
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue May 14 23:50:42 2013 +0100

    initial implementation of locking from schema object
2013-05-16 00:00:50 +01:00
Oliver Gorwits 55c6d4fe63 add discover button to device details page 2013-05-14 21:05:01 +01:00
Oliver Gorwits 11fd8bf964 fix typo and clear port box on autocomplete dropdown 2013-05-14 20:43:43 +01:00
Oliver Gorwits a00f9b5c2e move admin tasks and remove JobControl package 2013-05-14 20:38:54 +01:00
Oliver Gorwits 74bc0023df complete job queue delete and kill running timers properly when reloading page 2013-05-14 20:26:45 +01:00
Oliver Gorwits dd6947f38d fix improper use of bootstrap table class 2013-05-11 16:51:28 +01:00
Oliver Gorwits cd5b83f71e fix update view icon in sidebar 2013-05-11 15:56:28 +01:00
Oliver Gorwits e9349f325d css audit 2013-05-11 15:50:55 +01:00
Oliver Gorwits 201470275d add job queue to standard plugins list 2013-05-09 23:48:05 +01:00
Oliver Gorwits a18a3c72a3 fix table headings and improve Action display in Job Queue 2013-05-09 23:37:43 +01:00
Oliver Gorwits 70f5da8bb6 implement "no devices" prompt for admin users to do first discover 2013-05-09 23:30:32 +01:00
Oliver Gorwits 2e8ac83173 more js refactoring for report and search 2013-05-09 21:53:39 +01:00
Oliver Gorwits 479ac0e55d refactor js for device tabs 2013-05-09 21:50:29 +01:00
Oliver Gorwits 6a17fe5d6c fix crazy races with javasacript by using global delegations 2013-05-09 21:05:42 +01:00
Oliver Gorwits e94e3cef3b remove Try::Tiny from web runtime 2013-05-08 23:06:41 +01:00
Oliver Gorwits c746e68b9b make topo autocomplete more responsive 2013-05-07 21:54:11 +01:00
Oliver Gorwits 24c511786f display name and IP for device typeahead 2013-05-07 21:52:17 +01:00
Oliver Gorwits 52ab7d1266 add drop-down control for the topo form fields 2013-05-07 21:47:05 +01:00
Oliver Gorwits 5744b6845f complete the topology editor (add/delete) 2013-05-07 21:25:30 +01:00
Oliver Gorwits b510fbe8c5 add new admin tasks to default plugins list 2013-05-07 00:59:11 +01:00
Oliver Gorwits 11d55e0129 Manual Device Topology
Needed to add the 'autocomplete' jQuery UI component because
it can do minLength=0 properly. Used the smoothness UI theme.

Added typeahead AJAX calls to support the topology searching.

Added new plugin and template for the topology editing page.
2013-05-07 00:56:19 +01:00
Oliver Gorwits bf7a419d08 add a little colour to lone tab titles 2013-05-06 22:16:24 +01:00
Oliver Gorwits 9690a31f19 complete Manage Pseudo Devices 2013-05-06 22:03:17 +01:00
Oliver Gorwits 024f4d9a83 use bootstrap font colour instead of css 2013-05-06 00:49:47 +01:00
Oliver Gorwits f75f1e5cbf add frontend update/del forms, and display port count 2013-05-06 00:45:18 +01:00
Oliver Gorwits f0899e16b3 add frontend pseudo device add form 2013-05-05 23:53:20 +01:00
Oliver Gorwits 3271c01931 complete the code for admin tasks page loading 2013-05-05 21:45:38 +01:00
Oliver Gorwits 38f70624f3 set up file paths consistently in all scripts 2013-05-05 17:04:30 +01:00
Oliver Gorwits c761ca839b Helper script to import the Netdisco 1.x Topology file to the database 2013-05-05 17:00:42 +01:00
Oliver Gorwits f468b48049 Handle whitespace ahead of OUI data 2013-05-05 16:20:39 +01:00
Oliver Gorwits 5c8a5754f6 also set neighbor info when discovering device interfaces 2013-05-05 16:16:20 +01:00
Oliver Gorwits acb988b6af try to avoid duplicate execution of scheduled jobs 2013-05-05 15:34:20 +01:00
Oliver Gorwits c6bcaf66c5 do not clobber manual topo when discovering neighbors 2013-05-05 14:23:35 +01:00
Oliver Gorwits d9a6a1882a User icon color indicates port_control/admin ability 2013-05-05 13:05:18 +01:00
Oliver Gorwits 2cdcb9db7e add support for admin tasks as plugins 2013-04-29 23:34:27 +01:00
Oliver Gorwits 075a770c9a skip pseudo devices (vendor netdisco) 2013-04-29 22:23:20 +01:00
Oliver Gorwits 045c022d42 incorporate manual topo info from the topology db table 2013-04-29 21:58:33 +01:00
Oliver Gorwits 09285d42b4 add unique constraints to topology table 2013-04-27 18:39:12 +01:00
Oliver Gorwits 2780b72e49 muted help text in sidebar 2013-04-27 15:38:05 +01:00
Oliver Gorwits 733d4f83fb sorry, testing hook changes 2013-04-27 14:39:54 +01:00
Oliver Gorwits 71e366e352 sorry, testing hook changes 2013-04-27 14:34:36 +01:00
Oliver Gorwits 7f9eaa99f5 sorry, testing hook changes 2013-04-27 14:33:44 +01:00
Oliver Gorwits 5215fd632d sorry, testing hook changes 2013-04-27 14:30:07 +01:00
Oliver Gorwits be817d60c2 sorry, testing hook changes 2013-04-27 14:21:45 +01:00
Oliver Gorwits 1fd3695358 sorry, testing hook changes 2013-04-27 14:18:57 +01:00
Oliver Gorwits ac448c4a91 sorry, testing hook changes 2013-04-27 14:13:03 +01:00
Oliver Gorwits c563b8d9af sorry, testing hook changes 2013-04-27 14:08:54 +01:00
Oliver Gorwits 3abcfb01d5 sorry, testing hook changes 2013-04-27 14:06:25 +01:00
Oliver Gorwits 877a81facf sorry, testing hook changes 2013-04-27 14:05:25 +01:00
Oliver Gorwits 8eee83e12a Phone node icon is a little phone handset 2013-04-24 22:29:37 +01:00
Oliver Gorwits 8dca426e92 select MAC Address display format on Node and Device Port search 2013-04-24 22:18:04 +01:00
Oliver Gorwits 558184d8ac update TODO and Changes 2013-04-24 21:10:01 +01:00
Oliver Gorwits 0c20d4191f fix bug dupe id in Partial Name checks 2013-04-23 23:03:02 +01:00
Oliver Gorwits 407a3eb270 make navbar search fuzzier 2013-04-23 22:50:10 +01:00
Oliver Gorwits 7940e1aeda fix for form_inputs not being defined 2013-04-23 22:49:00 +01:00
Oliver Gorwits 9663fb5f2a refactor for shared green highlighting in port and search 2013-04-23 22:34:29 +01:00
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