Commit Graph

70 Commits

Author SHA1 Message Date
Oliver Gorwits
ae2daec7e3 [#208] Always show port log icon 2015-03-24 22:32:25 +00:00
Oliver Gorwits
3991f6a356 dont display unecessary padding in device port cells 2015-02-24 20:57:08 +00:00
Oliver Gorwits
cceae236d1 Update IP Inventory to show MAC address and have working Last Used sort 2014-12-24 18:23:13 +00:00
Oliver Gorwits
ae5ca802f4 [#152] HP devices with port names "D##" not sorted by portsort.js
In naturalsort there is handling for Float, Decimal and Scientific notation.
This looks for numbers like:
'10.04f','10.039F','10.038d','1.528535047e5'

It was breaking port sorting for ports named like "D1", "D10" etc.

Have removed support for sorting these numbers as it's unlikely we need that
in Netdisco, for now.
2014-10-09 16:58:02 +01:00
Oliver Gorwits
93b19240e2 fix tabs 2014-10-09 14:43:51 +01:00
Oliver Gorwits
b63cd0b643 extract common DT options to template 2014-09-15 22:15:48 +01:00
Eric A. Miller
0b090e2ca6 Add custom portsort js based upon natural sort plug-in for port sorting in DataTables 2014-08-12 18:48:59 -04:00
Oliver Gorwits
97efd3b920 latest build of DataTables for Chrome
DO NOT update the CSS - it seems to remove some of the vertical table lines
2014-08-06 23:11:25 +01:00
Oliver Gorwits
29d3ac707b [#108] Port Bounce port control feature (down and up in succession) 2014-07-31 21:25:22 +01:00
Oliver Gorwits
298e7cd892 some fixes to sidebar css 2014-06-12 14:54:09 +01:00
Eric A. Miller
1fa4dba7e8 Add missing processing style to dataTables.bootstrap.css 2014-06-11 18:24:55 -04:00
Eric A. Miller
0634795e4d Natural sort plug-in for DataTables 2014-06-04 22:41:34 -04:00
Eric A. Miller
b90bf5bccc Move capitalizeFirstLetter() to netdisco.js as common utility function 2014-05-28 23:37:55 -04:00
Eric A. Miller
08608511cb Add He JavaScript HTML entity encoder/decoder, http://mths.be/he 2014-05-27 23:27:05 -04:00
Eric A. Miller
54e65cde30 update jQuery.floatThead to 1.2.7 2014-05-27 23:27:04 -04:00
Eric A. Miller
eb267777ad use jquery.floatThead rather than DataTables FixedHeader extension 2014-05-27 23:27:04 -04:00
Eric A. Miller
980f8ae2a6 DataTables | Table plug-in for jQuery (v1.10.0) with Bootstrap styling 2014-05-27 23:27:04 -04:00
Oliver Gorwits
ae535a63d9 Move system information to the Netdisco "home" page 2014-02-22 17:43:22 +00:00
Oliver Gorwits
5623422452 No longer show warning notification when userlog retrieve fails 2014-02-22 12:22:44 +00:00
Oliver Gorwits
09a63e4183 add a spinner to all waiting messages 2014-02-22 09:07:19 +00:00
Oliver Gorwits
04f0125b4f make ipinventory datepicker look/act like node search datepicker 2014-02-03 23:29:54 +00:00
Oliver Gorwits
68275e6986 Node search by date (but not time) 2014-02-03 23:12:17 +00:00
Oliver Gorwits
642546fd24 LAG support.
Also, archive disappeared nodes from device after macsuck.

Squashed commit of the following:

commit 6d16cddaab
Merge: 37d9bda 3fdf780
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 19 15:48:41 2014 +0000

    Merge branch 'master' of ssh://git.code.sf.net/p/netdisco/netdisco-ng into og-agg

commit 37d9bda2bb
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 18:50:22 2014 +0000

    release 2.021000_004

commit 3939a2a51c
Merge: cf23636 571d57d
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 18:45:14 2014 +0000

    Merge branch 'og-agg' of ssh://olly_g@git.code.sf.net/p/netdisco/netdisco-ng into og-agg

commit cf23636ddf
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 18:43:59 2014 +0000

    archive disappeared nodes from device - really important!

commit 571d57dcc7
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 18:20:51 2014 +0000

    release 2.021000_003

commit 444bc1e81d
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 17:51:54 2014 +0000

    protect sprintf from undefined remote_type

commit 5b875c4641
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 17:49:40 2014 +0000

    tidy connected device+node layout

commit c09dddb7d1
Merge: 4f5501c 95fc6b1
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 17:46:39 2014 +0000

    Merge branch 'og-agg' of ssh://olly_g@git.code.sf.net/p/netdisco/netdisco-ng into og-agg

commit 4f5501c613
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 17:46:23 2014 +0000

    allow sanity checks on lag member before moving node

commit 95fc6b18dc
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 14:02:19 2014 +0000

    release 2.021000_002

commit 8b809c445f
Merge: 04d486e fe3e8e3
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 13:58:31 2014 +0000

    Merge branch 'og-agg' of ssh://git.code.sf.net/p/netdisco/netdisco-ng into og-agg

commit fe3e8e3ef2
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 13:57:31 2014 +0000

    do not set master neigh if master is a slave

commit 04d486e433
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 13:38:45 2014 +0000

    display remote ip if only remote ip

commit 14f9eb01ad
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 13:35:54 2014 +0000

    show all members of lag when searching for lag master

commit 5b2a0a0a4b
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 13:35:16 2014 +0000

    fix copy of remote master to local master remote_port

commit 86a9854f39
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 10:00:13 2014 +0000

    show both link and device type icons

commit 88510552e5
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 09:57:29 2014 +0000

    hide neighbor device ID and add sidebar option to show

commit 29da3097cb
Merge: 8bca30d 9fe92fb
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 09:04:15 2014 +0000

    Merge branch 'og-agg' of ssh://git.code.sf.net/p/netdisco/netdisco-ng into og-agg

commit 9fe92fb5e8
Merge: 6620a03 5557811
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 09:03:02 2014 +0000

    Merge branch 'og-agg' of ssh://olly_g@git.code.sf.net/p/netdisco/netdisco-ng into og-agg

commit 6620a03686
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 08:56:13 2014 +0000

    also store master neighbor port

commit 8bca30d085
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 00:41:46 2014 +0000

    release 2.021000_001

commit 5557811aeb
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jan 13 00:38:18 2014 +0000

    fix icon placement in editable device port cells

commit 25292e1ce8
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 22:20:08 2014 +0000

    fix name of class

commit 99ce56d794
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 22:13:53 2014 +0000

    remove brackets from lag name

commit 27aa80ed93
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 22:12:06 2014 +0000

    rename link agg legend

commit 84ed4c5008
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 22:11:15 2014 +0000

    move lag member icon into port icon column

commit 67c9c783ec
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 21:58:11 2014 +0000

    fix Cisco stack port ignore

commit 4531c61246
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 21:51:41 2014 +0000

    move nodes to lag master port

commit ffc6b9c315
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 20:45:58 2014 +0000

    use group icon for slave and master

commit 68fd345e37
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 20:34:01 2014 +0000

    indicate aggregate master

commit 79c69f5a0f
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 19:14:48 2014 +0000

    show aggreate parent in device ports

commit 3a4beed2f1
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 18:46:25 2014 +0000

    store aggregate port into db

commit fd7bb0cd62
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jan 12 17:49:39 2014 +0000

    add device_port cols for aggregate links data
2014-01-19 15:51:47 +00:00
Oliver Gorwits
862f2ba5b1 [#66] Fix display of vlan membership 2014-01-11 09:44:35 +00:00
Oliver Gorwits
caacb31a34 need a patched floatThead (https://github.com/mkoryak/floatThead/pull/12) 2014-01-02 20:28:57 +00:00
Oliver Gorwits
f716582700 update floatThead plugin to imporove performance for large tables 2014-01-02 13:14:51 +00:00
Oliver Gorwits
49b94e94ed fix broken css selector 2014-01-01 23:09:08 +00:00
Oliver Gorwits
c08701e10d Allow device port searching with preference for port/name/vlan 2014-01-01 22:59:34 +00:00
Eric A. Miller
a2bba4484d Squashed commit of the following:
commit 49e585ef4bcbafd1964f0d0b8b9eda4b2624c86e
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Dec 30 23:20:05 2013 +0000

    default is to have age filter enabled

commit c3635b3b096ea73906a553db5b588eaee29b2145
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Dec 30 23:15:08 2013 +0000

    disable Seen IPs checkbox when v6ish cidr is seen

commit f1550f2dcff96a9b2d77cbc3a8582429f3b078df
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Dec 30 22:56:12 2013 +0000

    make daterange green when age filter activated

commit 838578f2b9935c6f2abba7679f2ba87f30f651a3
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Dec 30 22:47:29 2013 +0000

    use class to control input colouring

commit 291d230e6a0216b4f5ad52b8eb04f3949ffe85e3
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Dec 30 22:43:45 2013 +0000

    move cidr input and remove sidebar title

    this is only so that the tooltip on the cide input isn't obscured
    by the table heading. I've no idea how to avoid that happening :-/

commit d0df5c7af82bea3fc674585962ca67f4cd82e553
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Dec 30 22:11:34 2013 +0000

    layout fixes for ipinventory sidebar

commit faeb614147e673d4d08822cafb65ca003c400edd
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Dec 30 21:27:01 2013 +0000

    prevent autoload for ipinventory data; prevent submit if CIDR is empty

commit b993611ff9bf1bd1eaed410beab09c754c786b1a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Dec 30 21:08:26 2013 +0000

    revert to 0.0.0.0/32 default search

commit d9e34ec19a2ca0d5893215a0508478985c96076e
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Dec 30 20:59:22 2013 +0000

    set age sort to desc - show oldest unused

commit 4a4231c69c8483c65d211119d772ad40a3a95b69
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Dec 30 20:55:00 2013 +0000

    fix parameter names; make 0.0.0.0/0 default

commit 5fb6e42426ae8bf96d81b2f2ad25d118c900646d
Author: Eric A. Miller <emiller@cpan.org>
Date:   Mon Dec 30 15:16:13 2013 -0500

    Add IP Inventory report with options sidebar

commit 4b84ca3714990199303cd5e099310e4c1ff1458f
Author: Eric A. Miller <emiller@cpan.org>
Date:   Mon Dec 30 14:34:29 2013 -0500

    Add 'IP' as a report category

commit 849ae4e0a6f51102cb90236629f4e1b43fc9bc2e
Author: Eric A. Miller <emiller@cpan.org>
Date:   Mon Dec 30 14:33:10 2013 -0500

    Add CidrIps virtual view ResultSource. Enumerates all IP addresses within an IPv4 subnet.

commit 30abbb957bd40270a14ca6289e76f70bf721696e
Author: Eric A. Miller <emiller@cpan.org>
Date:   Mon Dec 30 14:29:27 2013 -0500

    Add Dan Grossman's date range picker component for Twitter Bootstrap.  Component relies on Moment.js which is also added.

commit 19830639bdbcd409a49228f18d29f6dff5e933e8
Author: Eric A. Miller <emiller@cpan.org>
Date:   Mon Dec 30 14:23:11 2013 -0500

    DBIx::Class::Helpers is currently a requirement for DBIx::Class::ResultSource::View's which use Helper::Row::SubClass.  Use a base ResultSet class so that we can make Helper::ResultSet::SetOperations and Helper::ResultSet::Shortcut available to all of our classes.  SetOperations is specifically needed for UNION operations, Shortcut's are candy.  Note: Trying to add entire Helper::ResultSet seemed to cause problems.
2013-12-31 13:53:49 -05:00
Oliver Gorwits
a2cc3f989e Port Log now viewable via an icon by device port name 2013-12-29 21:28:48 +00:00
Oliver Gorwits
7749082dfd fix placement of netmap sidebar help 2013-12-29 20:05:46 +00:00
Oliver Gorwits
e5d341b007 fix bug with submitting empty navbar search 2013-12-29 19:58:28 +00:00
Oliver Gorwits
cfb04e98d1 Ask for Reason when changing Port up/down Status, or VLAN 2013-12-29 18:16:49 +00:00
Oliver Gorwits
6079c7dfed Device Neighbor Map can have max depth and VLAN filter 2013-12-29 16:23:46 +00:00
Oliver Gorwits
424396d55d reorder items in navbar and rename Admin Tasks to Admin 2013-12-29 11:04:09 +00:00
Oliver Gorwits
07ec293229 Add device/node/vlan/port specific search from Navbar 2013-12-28 00:08:12 +00:00
Oliver Gorwits
d0cd743006 Set of Port Name (description) fixed to assume OK dialog response 2013-11-02 18:09:55 +00:00
Oliver Gorwits
253bf769fb Update Print media CSS to handle new UI components 2013-10-08 13:44:56 +01:00
Oliver Gorwits
622bd629cb rename no_port_control to check_userlog 2013-09-23 20:00:50 +01:00
Oliver Gorwits
9025976495 navbar background image :)
http://www.flickr.com/photos/7827976@N05/464520552
user: jonstead
licence: http://creativecommons.org/licenses/by/2.0/
2013-09-23 16:04:59 +01:00
Oliver Gorwits
3a3bf64f18 correct mistake in applying spin to refresh icon 2013-09-23 11:21:48 +01:00
Oliver Gorwits
a09d494858 fix another strikethrough corner case 2013-09-22 18:14:37 +01:00
Oliver Gorwits
108e1b5201 add invert port search option, fix wildcarding on partial 2013-09-22 16:46:11 +01:00
Oliver Gorwits
230c6e3c0c make strikethrough of navbar work in more cases 2013-09-22 16:15:45 +01:00
Oliver Gorwits
5f028adc47 fix width of sidebar fields 2013-09-22 14:57:51 +01:00
Oliver Gorwits
3f455db8e1 minor fix for defaults icon hover style 2013-09-22 14:02:32 +01:00
Oliver Gorwits
06df98cf55 try to make clear intent of each search button 2013-09-22 13:58:57 +01:00
Oliver Gorwits
66bf13b714 "Undo" icon in device port sidebar to reset form to defaults
Squashed commit of the following:

commit 204f5627e0
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri Sep 20 22:33:32 2013 +0100

    update undo icon link

commit 49399301b9
Merge: 905a192 ce604ca
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri Sep 20 21:04:56 2013 +0100

    Merge branch 'master' into og-reset-cookie

commit 905a192426
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri Sep 20 21:04:18 2013 +0100

    fix tooltip z-index bug, add undo icon

commit 3377518634
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri Sep 13 08:36:16 2013 +0100

    reset params used in query
2013-09-20 22:34:35 +01:00
Oliver Gorwits
ce604ca20b CSV download support via provides_csv plugin attr
Squashed commit of the following:

commit e44f203f47
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri Sep 20 20:00:46 2013 +0100

    also set filename on csv download link

commit 26b47d1296
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri Sep 20 19:56:38 2013 +0100

    conditionally show csv icon for device and search tabs

commit 119d2c672d
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri Sep 20 19:48:24 2013 +0100

    tweak look of csv icon

commit 89816892be
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri Sep 20 19:38:31 2013 +0100

    enable csv icon link rewrite for all pages

commit ac29769402
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri Sep 20 19:28:49 2013 +0100

    use single route handler for ajax and csv response

commit 4b6f89635d
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri Sep 20 18:59:08 2013 +0100

    no need for separate csv link template

commit 1021329e1c
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri Sep 20 18:57:20 2013 +0100

    display download as csv icon conditionally

commit ce57cdba69
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri Sep 20 09:23:57 2013 +0100

    Based on jeneric's CSV download templates;

    - try to reduce code duplication by using same route handler for ajax and csv,
      using request->is_ajax to switch the template, and set content-type

    - use new HTML5 "download" attribute on links so content-disposition header is
      no longer necessary

    - download CSV icon is placed on all tables (per report/device/serach section)

    - update download CSV link using javascript just before table content is
      fetched - this is necessary to make sure updated sidebar query params are
      included

    The idea here is to allow us to support CSV download in the pages which
    display tables by only doing the following:

    - (existing routes:) replace "ajax" with "get" route handler

    - add logic to switch template in handler, based on request->is_ajax

    - write _csv.tt version of the template, to spit out CSV file content

    This makes it much easier for new devs to write reports supporting CSV, I
    think?

commit d3553d2623
Author: Eric A. Miller <emiller@cpan.org>
Date:   Thu Sep 19 22:30:27 2013 -0400

    add csv download to duplex mismatch, half duplex, and port utilization reports

commit 5d4df72a24
Author: Eric A. Miller <emiller@cpan.org>
Date:   Wed Sep 18 23:50:27 2013 -0400

    add csv download to ap channel distribution report

commit 0824d7936a
Author: Eric A. Miller <emiller@cpan.org>
Date:   Wed Sep 18 23:42:53 2013 -0400

    need Template::Plugin::CSV for csv output

commit bb1f842d92
Author: Eric A. Miller <emiller@cpan.org>
Date:   Wed Sep 18 23:35:28 2013 -0400

    add csv download option to device addresses

commit 99ada1132c
Author: Eric A. Miller <emiller@cpan.org>
Date:   Wed Sep 18 23:32:57 2013 -0400

    add csv download option to device, port, and vlan search pages
2013-09-20 20:15:32 +01:00
Oliver Gorwits
77690513b8 much better wildcard/partial port search
This does not require silly quoting. It adds a "partial"
checkbox in the ports sidebar. If this is ticked, simple
wildcarding * and ? are also supported.
2013-09-10 23:26:08 +01:00