Commit Graph

385 Commits

Author SHA1 Message Date
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
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