Tony Murray
7250376104
refactor: Don't access $_SESSION directly for Auth ( #8513 )
...
* Don't access $_SESSION directly for Auth
* fix style
* add property annotations
2018-04-07 21:55:28 +01:00
Robert (KHobbits)
ea477e1b28
Add support for a wider range of link speeds when mapping links. ( #7533 )
...
Use a formula to work out link speed on network map, rather than using defined speeds.
2017-11-01 23:14:03 -05:00
Søren Rosiak
a9ab96e83f
feature: Improve Device Neighbour WebUI ( #7487 )
2017-10-15 09:26:01 -05:00
Neil Lathwood
34c35f3627
webui: Updated remaining display options where we do not show sysName if hostname is IP ( #6585 )
...
* webui: Updated remaining display options where we do not show sysName if hostname is IP
* renamed function + simplified
2017-05-05 06:25:58 -05:00
Neil Lathwood
1bbbaff58b
refactor: Moved ifLabel -> cleanPort and updated the usage ( #6288 )
...
* refactor: Moved ifLabel -> cleanPort and updated the usage
* added list of tags allowed
* few updates as per comments from @murrant
* Added simple unit tests
* double display for javascript popover
* Remove ifNameDescr() function
Fix realtime port page
* remove accidental temp code
* Remove double display calls in ajax tables
2017-04-04 08:08:23 +01:00
towster
acbdda94b8
fix: show sysName on network map when ip_to_sysname enabled ( #5962 )
2017-02-21 08:04:18 +00:00
Neil Lathwood
da5783d917
feature: Add mysql failed query logging + fixed queries that break ONLY_FULL_GROUP_BY ( #5327 )
...
* feature: Add mysql failed query logging + fixed queries that break ONLY_FULL_GROUP_BY
* fix all schema errors and update system
2017-01-07 11:32:38 -06:00
Tony Murray
c48b71d0af
Remove external uses of GenGroupSQL()
2016-09-18 19:08:33 -05:00
Tony Murray
8c639aa5a4
PSR2 Cleanup: /html edition
...
Travis tests for code conformance. Ignore warnings for now.
Fixed all errors, left most warnings.
2016-08-18 21:29:30 -05:00
Tijmen de Mes
fa94c8953c
Fixed invalid query to get devices in networkmap when XDP is used.
2016-06-28 11:44:35 +02:00
pblasquez
a3d2e1b439
Optimize map SQL
...
Changing LEFT joins to INNER joins brought a 70k result down from 4.1s to 1.7 in my testing. The only benefit to LEFT joins is to retrieve rows with no match, but we filter those rows out in the WHERE clause.
Was able to map interconnections between 254 devices in 47s with both 'mac' and 'xdp' options turned on.
2016-06-23 22:45:41 -07:00
Josh Driver
72cebe413e
Improvements for the link selection for the Network Map
...
Currently the Network Map will draw multiple links between
devices and ports, overlapping themselves on the graph. The
criteria used to select the link is also unspecified.
Instead only allow a single link between any two devices/ports.
Also prefer links with shorter names, and for links derived
using arp/mac, prioritise links with a matching ip address.
2016-06-05 21:45:46 +09:30
vitalisator
6b583c447c
fix maps
2016-03-05 15:32:59 +01:00
Jay McEntire
a77c9d234c
Menu UI for map groups.
2016-03-03 16:43:13 -07:00
Jay McEntire
6866dfb176
Initial adds for map group functionality.
2016-02-16 17:14:58 -07:00
Eldon Koyle
9659bb322b
Fix map bug caused by loopback cable
...
Fix a map bug where vis.js aborts because a device is inserted twice.
Need to add to $tmp_ids before checking the next device.
2015-12-02 17:07:32 -07:00
laf
87d273fc7d
Removed / from link for installs not in /
2015-11-16 20:58:16 -08:00
Louis Rossouw
9fb2c0d674
Implement configurable network map parameters.
2015-07-29 01:17:08 +02:00
Daniel Preussker
b48e12a749
Merge pull request #1528 from laf/issue-1461
...
Updates to improve map quality
2015-07-24 10:16:56 +00:00
Neil Lathwood
cac95d3581
Merge pull request #1486 from spinza/fixzeromac
...
Ignore links based on 'unreal' mac addresses.
2015-07-19 22:03:08 +01:00
Louis Rossouw
b9cb02057a
Ignore links based on 'unreal' mac adresses.
2015-07-19 22:54:16 +02:00
laf
59990d2258
Initialise arrays needed for merge
2015-07-19 21:45:56 +01:00
Neil Lathwood
e948db4e8c
Revert "Ignore links based on 'unreal' mac addresses."
2015-07-19 22:04:18 +01:00
Louis Rossouw
00bbd02b1d
Ignore links based on 'unreal' mac adresses.
2015-07-19 21:08:11 +02:00
laf
5d5d3b470d
Updates to improve map quality
2015-07-19 17:59:08 +01:00
laf
9092f2729d
Removed duplicate array
2015-07-18 17:18:31 +01:00
laf
c4dbe18437
Sorting duplicate links
2015-07-18 17:07:37 +01:00
laf
5633e6a005
Try and stop reverse links
2015-07-18 17:03:01 +01:00
laf
31f174c7b1
Docs + some variable changes
2015-07-18 16:15:57 +01:00
laf
87321516be
Some small changes
2015-07-18 15:59:19 +01:00
laf
137fbf593c
Updated physics and sql query
2015-07-18 15:48:07 +01:00
laf
4c39421787
Network map sql update + fix for duplicate links
2015-07-15 20:09:20 +01:00
Job Snijders
d8693f05ae
Fix coding style part 2
2015-07-15 11:04:22 +02:00
laf
746f918a8a
More map updates
2015-07-14 13:11:54 +01:00
laf
dfcf5c912a
Updated where queries
2015-07-14 12:15:05 +01:00
laf
69c2b35212
Added restriction for device_id
2015-07-14 12:13:46 +01:00
laf
eb2f0d7a54
More network map updates
2015-07-14 11:47:42 +01:00
einhirn
94ea73a595
another minor correction about $port being undefined in some cases
2015-06-18 18:29:55 +02:00
einhirn
fdfe776c5a
minor correction about being undefined in some cases
2015-06-18 16:57:36 +02:00
einhirn
653696b949
fixed a bug where stale link/device data would lead to broken map
2015-06-18 16:32:01 +02:00
laf
841cb803b3
Some tidying up of variables/array
2015-06-02 00:50:09 +01:00
laf
f0395e453e
Final final updates to get better map support
2015-06-02 00:37:34 +01:00
Neil Lathwood
988cb3b240
Last update to get map working for mac addresses
2015-06-02 00:03:06 +01:00
laf
bdc4deb435
Updated to use mac address data
2015-06-01 23:27:41 +01:00
laf
b5fcc73ce6
Fixed map due to using jquery to resize
2015-05-03 22:39:25 +01:00
Rosiak
bedb546779
Added detection for window height for map page - Correction
...
Fixes issue #879
2015-04-29 22:59:30 +02:00
laf
b2cf6a815f
Added detection for window height for map page
2015-04-29 18:22:04 +01:00
laf
2b744b81b1
Updated to use new overlib variable
2015-04-18 15:47:07 +01:00
laf
0da8a79a5f
Fixed function calls
2015-04-17 20:42:28 +01:00
laf
31d3950dbf
Changed node shape to be box
2015-04-17 20:22:57 +01:00