Commit Graph

382 Commits

Author SHA1 Message Date
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
Eric A. Miller
9de265700e Include plugin templates
Fix variable scoping in stateLoadParams
2014-08-14 21:05:52 -04:00
Eric A. Miller
cf73887279 Load js base64 encode / decode 2014-08-14 19:49:58 -04:00
Eric A. Miller
78cf09a337 Include colVis css 2014-08-14 19:46:53 -04:00
Eric A. Miller
468700371d Change nowrap class name 2014-08-12 23:25:02 -04:00
Eric A. Miller
ffb3a4a9fe Hide port column options which will be determined by ColVis, keep available for links and to enable override of ColVis saved state 2014-08-12 23:19:03 -04:00
Eric A. Miller
e559267d4f Initial version of json based device port view 2014-08-12 23:15:38 -04:00
Eric A. Miller
7c34916db0 Load netdisco-util.js and ColVis extension 2014-08-12 23:12:31 -04:00
Eric A. Miller
1b154797ab JS base64 encode / decode 2014-08-12 23:08:55 -04:00
Eric A. Miller
f4b3b8ffe8 New netdisco-util.js for js utility functions, move capitalizeFirstLetter to new file 2014-08-12 23:01:54 -04:00
Eric A. Miller
716c2fe11f Add no wrap style and div clear to netdisco.css 2014-08-12 23:00:02 -04:00
Eric A. Miller
875620700f Add DataTables ColVis extension 2014-08-12 22:56:19 -04:00
Eric A. Miller
7f768b544f Use custom portsort plug-in on port columns within DataTables not using server-side processing 2014-08-12 21:51:26 -04:00
Eric A. Miller
746d500175 Use custom portsort plug-in for DataTables in device ports tab 2014-08-12 18:52:11 -04: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
9afbe6d7e6 New backend daemon code, no SQLite. MCE::Flow.
Squashed commit of the following:

commit 3284b62509
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 21:17:06 2014 +0100

    config defaults tidying

commit ade7bcd880
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 20:00:01 2014 +0100

    high priority jobs are picked first and inserted to prio queue

commit d450dfd2bd
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 19:25:21 2014 +0100

    better status

commit b8a742e5de
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 16:54:03 2014 +0100

    update proctitle when worker not running

commit 0c3675a8f4
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 16:48:58 2014 +0100

    remove all trace of SQLite - new lightweight Job object

commit a13ed25f6a
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 14:45:22 2014 +0100

    rename pollers to tasks

commit 44b50f413f
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 14:13:00 2014 +0100

    update docs

commit 517b1ae4c1
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 13:55:31 2014 +0100

    merge interactive and poller worker types

commit e9043b90e8
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 13:47:41 2014 +0100

    only take one job at a time per worker

commit 2366738d54
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 13:43:31 2014 +0100

    auto job priorities

commit 1fd473fd50
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 13:18:59 2014 +0100

    preload all worker modules into shared memory

commit 9ceb43c0f7
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 13:13:07 2014 +0100

    daemon clean

commit c817a35537
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Aug 10 12:36:24 2014 +0100

    first refactor for MCE::Flow and MCE::Queue
2014-08-10 21:34:46 +01:00
Oliver Gorwits
cb9667f58c navbar_autocomplete config item to disable main navbar autocomplete 2014-08-08 23:17:25 +01: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
04d89320a8 Squashed commit of the following:
* Support for stuffing other locations into @INC at runtime
* Reports config is now a list (see ReleaseNotes)

commit 19756faf57
Merge: 2e8afbe 29d3ac7
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Jul 31 21:32:30 2014 +0100

    Merge branch 'master' into og-autoload

    Conflicts:
    	Netdisco/share/public/javascripts/netdisco_portcontrol.js

commit 2e8afbeea6
Merge: d340c3b 18f507e
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed Jul 23 20:09:18 2014 +0100

    Merge branch 'master' into og-autoload

commit d340c3b135
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jul 7 22:25:38 2014 +0100

    tweak dirty css

commit 032cd82c46
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jul 6 23:05:17 2014 +0100

    add dirty classes

commit 2b72c989fa
Merge: 1b8ac7c b77025f
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri Jul 4 11:28:01 2014 +0100

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

commit b77025f34c
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Jul 3 23:35:35 2014 +0100

    hide save icon

commit 5df5a73aed
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed Jul 2 22:31:18 2014 +0100

    blue color

commit a3bf20f074
Merge: 1839f26 db53c00
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed Jul 2 15:17:25 2014 +0100

    Merge branch 'master' into og-autoload

commit 1b8ac7ca1f
Merge: 1839f26 db53c00
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed Jul 2 09:23:31 2014 +0100

    Merge branch 'master' into og-autoload

commit 1839f2634b
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed Jul 2 03:43:53 2014 +0100

    add jquery.fix.clone.js

commit 3eee9f1997
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed Jul 2 00:08:27 2014 +0100

    save button css

commit 95b6cb61b3
Merge: 13957e8 58e5d05
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Jul 1 21:50:01 2014 +0100

    Merge branch 'master' into og-autoload

    Conflicts:
    	Netdisco/share/config.yml

commit 13957e82dc
Merge: bedbec6 6abceba
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jun 30 22:50:40 2014 +0100

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

commit bedbec6b4b
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jun 30 22:49:49 2014 +0100

    css fixes

commit 6e2d5a4b48
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jun 30 21:30:26 2014 +0100

    css fixes

commit 755fc92c59
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jun 30 13:05:43 2014 +0100

    reports now a list not a hash

commit 6abcebafbe
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jun 29 12:41:47 2014 +0100

    start as non-root if port switch not required

commit e5e0c0c8d1
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Jun 28 13:10:51 2014 +0100

    fix err in docs

commit 6d680aabed
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sat Jun 28 11:10:23 2014 +0100

    move content

commit d2668d6db7
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Fri Jun 27 00:30:54 2014 +0100

    minor styling

commit e46cbd252d
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Thu Jun 26 23:19:19 2014 +0100

    add bootstrap-switch checkbox styling

commit 5b0a723c9f
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Wed Jun 25 22:20:57 2014 +0100

    typo in defaults

commit e45fa89c44
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Tue Jun 24 22:42:45 2014 +0100

    css for configuration pane

commit 62c53a5e49
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jun 23 23:33:26 2014 +0100

    minor typo

commit caedbdadc6
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Mon Jun 23 20:35:30 2014 +0100

    properly search the template path!! [#103]

commit 5742bc7856
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jun 22 23:13:53 2014 +0100

    fix registering template paths

commit 2b09476f29
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jun 22 22:19:35 2014 +0100

    allow INC stuffing via NETDISCO_INC env var

commit 7c47a277be
Merge: 128e96f 3a1cd19
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jun 22 22:17:11 2014 +0100

    Merge branch 'master' into og-autoload

commit 128e96f9a3
Author: Oliver Gorwits <oliver@cpan.org>
Date:   Sun Jun 22 20:48:01 2014 +0100

    use Module::Find to load Auto things and Web
2014-07-31 22:54:28 +01:00
Oliver Gorwits
29d3ac707b [#108] Port Bounce port control feature (down and up in succession) 2014-07-31 21:25:22 +01:00