Commit Graph

401 Commits

Author SHA1 Message Date
Oliver Gorwits
7f2a9b7c3b Merge branch 'master' into em-device-ports-json
Conflicts:
	Netdisco/share/views/ajax/datatabledefaults.tt
2014-11-16 22:41:02 +00:00
Oliver Gorwits
a8208121c2 [#133] Custom reports respect sorting in SQL 2014-11-16 22:29:11 +00:00
Oliver Gorwits
269cbf8708 Merge branch 'master' into em-device-ports-json
Conflicts:
	Netdisco/lib/App/Netdisco/Web/Device.pm
2014-11-16 21:59:35 +00:00
Oliver Gorwits
f6ae7be611 [#170] Show device SNMP::Info class in web interface 2014-11-16 21:49:36 +00:00
Oliver Gorwits
1f7fe169ec [#159] Macsuck archive behaviour same as ND1 (unseen nodes remain active) 2014-11-14 23:55:25 +00:00
Oliver Gorwits
a308d1a177 [#162] Change from Net::MAC to NetAddr::MAC
Note that IEEE and Microsoft are the WRONG WAY ROUND in NetAddr::MAC. I've
emailed the author about this. A dirty hack is in place to deal with it.
2014-11-14 22:49:07 +00:00
Oliver Gorwits
e4c668fb12 Add "Run Expire Job" to the Admin Menu 2014-11-14 22:26:03 +00:00
Oliver Gorwits
dd6904cb18 Merge branch 'master' into em-device-ports-json 2014-11-13 21:35:41 +00:00
Eric A. Miller
78a31b9b1c Typo in template 2014-11-05 20:44:54 -05:00
Oliver Gorwits
799358f86c get rid of device_ports and self_options template vars 2014-11-03 19:59:42 +00:00
Oliver Gorwits
8277763c80 fix ports links for new path 2014-11-01 12:36:33 +00:00
Oliver Gorwits
a1b5b301db save sidebar settings when Update View; fix bugs 2014-11-01 12:26:04 +00:00
Oliver Gorwits
e83bc2185f start to save sidebar in datatables state 2014-11-01 11:36:51 +00:00
Oliver Gorwits
627421241a re-enable history mangling 2014-10-25 22:02:13 +01:00
Oliver Gorwits
cf786f282e remove cookie processing 2014-10-25 21:59:17 +01:00
Oliver Gorwits
cc44cdde62 make sure page says when colvis changed, and is not stored in state 2014-10-25 21:52:12 +01:00
Oliver Gorwits
3a4df4527d filter is not saved with state 2014-10-25 21:34:09 +01:00
Oliver Gorwits
2e29f0b11d sidebar defaults follow params; fix state saving 2014-10-25 21:20:28 +01:00
Oliver Gorwits
bd3bcb36f8 sidebar built from config, colvis defaults from sidebar 2014-10-25 19:19:56 +01:00
Oliver Gorwits
ca6a08ef46 Change from ?tab=tabname param to .../tabname path
The reason for this is that DataTables keys local data on the page path, so
each tab should have its own path. We're already doing this for reports and
admin tasks, so it also makes sense to have consistency with search and device
tabs.

Squashed commit of the following:

commit 4ad33a23a81122496adfe561ad14f039e6255eff
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 14:46:17 2014 +0100

    fix search preference selection

commit 363e094935d386961e8773f787af41c46b83129a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 14:36:45 2014 +0100

    fix css selector to match begins with /search

commit 43c972ee0d9401f74dcc3bd30052dba130b0d068
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 14:18:24 2014 +0100

    fix history push

commit 84f83eb46874b0222c0484014389713e4f027c8a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 14:06:44 2014 +0100

    update sidebar form for tab-path, remove hidden tab name field

commit 344d4679a83f714c998cd475c041f8effab0c696
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 14:05:49 2014 +0100

    update template links for tab path

commit 9cf370d7eb4413aac6fc19c2c13a9bf670600965
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 14:04:57 2014 +0100

    move tab-specific JS from common into specific includes files

commit c2d8592a18e389535368d1e74fed29fe5a0eabd8
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 14:02:46 2014 +0100

    fix mode

commit 52487cea47eaaea7f5c74536ad6d4bb2a8d6ba4c
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 14:01:15 2014 +0100

    move from tab param to tabname template var

commit b5a2424631a0050d5de3bc658746a40cd822e869
Merge: 531782b d8102bf
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Oct 25 10:50:00 2014 +0100

    Merge branch 'master' into em-device-ports-json
2014-10-25 14:51:15 +01:00
Oliver Gorwits
531782b30c working device ports sidebar column and in-cell checkboxes 2014-10-23 23:04:02 +01:00
Oliver Gorwits
33880ce8b3 sidebar live toggling of node properties 2014-10-11 13:01:03 +01:00
Oliver Gorwits
df6f2dc3c7 Merge branch 'master' into em-device-ports-json 2014-10-11 12:03:36 +01: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
090cd631d4 Fix typo in the Device By Location report template 2014-10-07 18:48:38 +01:00
Oliver Gorwits
cd22c741e5 initial support for bind params in custom reports 2014-09-30 08:02:27 +01:00
Oliver Gorwits
f6b1112931 Administration (SSH, Telnet, Web) links for devices 2014-09-29 21:35:57 +01:00
Oliver Gorwits
4a6081fc58 add expire_jobs and set default expire times 2014-09-27 11:31:37 +01:00
Oliver Gorwits
97d1232860 Merge branch 'master' into em-device-ports-json
Conflicts:
	Netdisco/share/public/css/netdisco.css
	Netdisco/share/views/ajax/device/ports.tt
2014-09-16 19:29:41 +01:00
Oliver Gorwits
c70dcf60d5 better format for table page sizes 2014-09-16 18:42:46 +01:00
Oliver Gorwits
fb365f1203 Setting for items in number of records per table page menu 2014-09-15 23:42:00 +01:00
Oliver Gorwits
b63cd0b643 extract common DT options to template 2014-09-15 22:15:48 +01:00
Oliver Gorwits
fb7bcbf120 fix undef data error in JS, and when no remote_(ip|port) 2014-08-25 17:13:11 +01:00
Oliver Gorwits
4c08de9512 Add Nodes discovered through LLDP/CDP report 2014-08-25 16:45:38 +01:00
Oliver Gorwits
3b6ae9e58e Port search also searches on the Remote ID and Type 2014-08-25 15:17:01 +01:00
Oliver Gorwits
f6b854f99f Revert "Search device by CDP/LLDP advertised ID or Type"
This reverts commit 7411cf6cdd.
2014-08-25 14:54:15 +01:00
Oliver Gorwits
7411cf6cdd Search device by CDP/LLDP advertised ID or Type 2014-08-25 13:38:45 +01:00
Eric A. Miller
a2d805d6f4 Add span tags to node properties to facilitate javascript show/hide functionality 2014-08-20 22:21:38 -04:00
Eric A. Miller
50acd404d8 Clean-up 2014-08-20 20:59:55 -04:00
Eric A. Miller
83eccd0ea5 Use camelCase rather than Hungarian notation, fix breaks with archived nodes, pagingType not available with bootstrap theme 2014-08-18 23:31:35 -04:00
Oliver Gorwits
1d4a66a554 better pagelength options 2014-08-18 23:00:06 +01:00
Oliver Gorwits
085752550d move pager to top of table 2014-08-18 22:54:41 +01:00
Oliver Gorwits
2ff8c8d1e3 set placeholder on filter input 2014-08-18 22:25:44 +01:00
Oliver Gorwits
4ef5feed8c fix showing tooltip when col is shown 2014-08-18 22:20:28 +01:00
Oliver Gorwits
173ea3853d put colvis controls in sidebar [experimental] 2014-08-18 22:14:27 +01:00
Oliver Gorwits
d44e9dacb4 fixes for port control 2014-08-18 20:17:37 +01:00
Oliver Gorwits
64f779e569 cosmetic fixes 2014-08-18 19:17:50 +01:00
Oliver Gorwits
141977f155 minor fixes for Chrome JS parsing 2014-08-17 22:49:12 +01:00
Eric A. Miller
febcec1865 Check for existence before trying to override state variable 2014-08-14 22:41:39 -04:00