Commit Graph

2271 Commits

Author SHA1 Message Date
Neil Lathwood
7feaf2fcba Moved the 10 limit for down boxes to config option 2014-10-07 19:37:52 +00:00
Paul Gear
88fb66c774 Merge pull request #303 from laf/issue-laf-48
Updated addhost page to only show relevant snmp v1/v2c/v3 options
2014-10-07 20:13:38 +10:00
Paul Gear
5887009b63 Merge pull request #300 from laf/issue-laf-44
Added a route to the API that will get vlans for a given device
2014-10-07 19:56:01 +10:00
Paul Gear
e6fe3bea4f Merge pull request #294 from laf/api
Added the ability to create tokens
2014-10-07 19:41:47 +10:00
Paul Gear
3d0c11bca4 Merge pull request #299 from laf/issue-laf-43
Added a new library to support on screen notification messages
2014-10-07 19:40:42 +10:00
Paul Gear
d665a101ac Merge pull request #297 from laf/issue-laf-42
Fixed the placement of overlib popup images
2014-10-07 19:32:41 +10:00
Paul Gear
b4cc92475d Merge pull request #295 from laf/issue-laf-37
Adding ping and poller graphs for devices
2014-10-07 19:31:21 +10:00
laf
48bc04bfcc Removed custom.js file and include 2014-10-07 10:28:13 +01:00
laf
7f95922160 Updated adduser to check for existing user and use password hashing 2014-10-06 18:39:48 +01:00
laf
794c33e57b Updated create token to auto-generate token 2014-10-06 17:19:04 +01:00
laf
c913b28f93 Re-added bootstrap.min.js 2014-10-04 20:23:26 +01:00
laf
61f94e05cc Added support for a datetime picker and used on graphs page 2014-10-04 20:09:52 +01:00
laf
347288ac23 Moved vlans route + updated docs 2014-10-04 02:05:32 +01:00
laf
d57c0614bf Updated route url to /api/v0/devices/hostname/vlans 2014-10-04 01:59:45 +01:00
laf
2ed285e4b1 Initial setup for datetime picker 2014-10-04 01:57:28 +01:00
laf
d1bc21bf58 Added a LIMIT 10 into all the front page boxes 2014-10-03 12:00:05 +01:00
laf
7e458d1f58 Updated addhost page to only show relevant snmp v1/v2c/v3 options 2014-10-02 23:14:45 +01:00
laf
3f2f78a993 Changed disable/enable option round 2014-10-02 22:56:28 +01:00
laf
183278f99f Added missing array() around NOW 2014-10-02 21:05:41 +01:00
laf
ece190493d Added ability to disable rediscovery button for devices 2014-10-02 20:23:32 +01:00
laf
2be63b2041 Added an option to rediscover a device from the web page 2014-10-02 20:17:45 +01:00
laf
c55c1a71ba missed out the response code and header 2014-10-01 21:12:21 +01:00
laf
a87dd794e4 Updated vlans returned, was a double array by accident 2014-10-01 21:00:07 +01:00
laf
d2f727cfcb Added a total vlan response in api 2014-10-01 20:53:15 +01:00
laf
b8a2b7c291 Added /vlans/:hostname route to the API 2014-10-01 20:49:34 +01:00
laf
8851fe42ca Added a new library to support on screen notification messages 2014-10-01 00:14:26 +01:00
laf
9ba4b464ea Added urldecode/encode support 2014-09-30 21:30:22 +01:00
laf
22f2f9e045 Removing urlencode/decode to put in a separate pr 2014-09-30 21:28:48 +01:00
laf
5519f97d35 Fixed the placement of overlib popup images 2014-09-30 21:24:47 +01:00
laf
9a178363a0 Added ping response graphs and some small updates 2014-09-30 19:13:50 +01:00
laf
6a1ebd9db4 Updated graph from area to line 2014-09-30 19:13:50 +01:00
laf
6c28f6367e Poller run time graphing 2014-09-30 19:13:50 +01:00
laf
40ffbe03e8 Fixed the device image in the devices list (now shows image) 2014-09-30 02:27:52 +01:00
laf
dbab1c12ca Added urldecode/urlencode to ifname variables 2014-09-30 01:26:37 +01:00
laf
af5e4e6483 Updated password generator function from scrutinizer report 2014-09-30 00:33:28 +01:00
laf
17a3689a78 Added the ability to create tokens 2014-09-30 00:17:55 +01:00
Paul Gear
11f475b405 Syntaxy fix 2014-09-28 09:56:33 +10:00
Paul Gear
508e0b816d Fix Scrutinizer errors 2014-09-28 09:30:36 +10:00
Paul Gear
8a3117f0dc Rewrite ugly if-else one-liners as ternary operator 2014-09-28 09:30:18 +10:00
Paul Gear
d6245fd6ba Correctly set error code for missing SNMP version 2014-09-27 18:34:23 +10:00
Paul Gear
82613f17ee keep scrutinizer from complaining about snmpver not being set for all execution paths 2014-09-27 18:27:45 +10:00
Paul Gear
e48c1a6730 Use more accurate HTTP status code for device add 2014-09-27 16:34:43 +10:00
Paul Gear
9d4a9dfa30 Re-implement get_device using existing primitives 2014-09-27 16:34:36 +10:00
Paul Gear
48d3a43669 Tidy device deletion 2014-09-27 16:32:55 +10:00
Paul Gear
7a1d342348 Order devices by API entry point 2014-09-27 15:26:27 +10:00
Paul Gear
76f5ab87a9 Add function to get information about a single device 2014-09-27 15:25:43 +10:00
Paul Gear
a58c857ed2 Provide more useful diagnostics when adding a device via the API 2014-09-27 15:23:32 +10:00
Paul Gear
0a351ecf58 Supply more specific error code when API token is missing or invalid 2014-09-27 14:48:08 +10:00
Paul Gear
1ddb2901cc Minor tweaks to footer to show we're our own project now. :-) 2014-09-27 13:51:07 +10:00
Paul Gear
69edfae5a3 Make API docs match current state of API 2014-09-27 12:08:03 +10:00