laf
a152f3566e
Fixed API route order to resolve get_port_graphs working
2014-12-12 19:35:49 +00:00
Paul Gear
d9e35ff2c2
Merge pull request #360 from laf/issue-358
...
Added new API route for billing information
2014-12-06 18:54:05 +00:00
laf
1bcc078853
Fixed formatting update
2014-12-02 23:44:23 +00:00
laf
1108ef7939
Added new api route for billing
2014-12-02 23:43:11 +00:00
laf
d9a5d11782
More fixes to CDR and Quota values
2014-12-02 21:38:32 +00:00
laf
13712b1aed
Fixed bill display issues when calculating CDR
2014-12-02 21:16:08 +00:00
Paul Gear
9b609c5869
Merge pull request #357 from laf/issue-laf-91
...
Fixed global search box bootstrap code
2014-12-01 20:35:41 +00:00
Paul Gear
05d998c1f8
Merge remote-tracking branch 'laf/issue-laf-90'
...
Conflicts:
html/api_v0.php
html/includes/api_functions.inc.php
2014-12-01 20:27:50 +00:00
laf
e4e2cfe3cf
Fixed global search box bootstrap code
2014-11-30 17:49:52 +00:00
laf
0a7a1a0ef6
Added docs for the route
2014-11-30 17:11:08 +00:00
laf
1a3f5504d0
Added new API route to obtain available ports for a device
2014-11-30 15:45:10 +00:00
laf
4d7b4ef432
Added new route for retrieving available device graphs
2014-11-29 15:43:19 +00:00
Neil Lathwood
744f3d81c9
Removed check for image/png content-type
...
14:08 <lafwood> blahdeblah: Quick question about the portgroups api route, you added a check for image/png
14:09 <lafwood> I'm not sure that's what that function is meant for. Event sending -H "Accept: image/png" on a curl request fails. I think this is for checking if you send an image to the api rather than what's to be output
14:27 <lafwood> Sending -H "Content-type: image/png" works but this for defining what content-type the request will send.
14:29 <lafwood> I think the curl request needs to send an Accept and then the API check for this, I'll put a PR through to remove the current code until it can be looked at in more detail.
2014-11-29 14:29:58 +00:00
Paul Gear
9930670119
Tidy API entry points & doc; error if something other than image/png is asked for from portgroup graphs
2014-11-25 21:45:15 +10:00
Paul Gear
935e51d3c8
Merge remote-tracking branch 'laf/issue-laf-85' into issue-laf-85
2014-11-23 19:19:58 +10:00
Paul Gear
06780f1003
Testing EdgeOS support
2014-11-22 20:23:02 +10:00
Paul Gear
f254bc465f
Resize VyOS image
2014-11-22 17:52:23 +10:00
Paul Gear
198cf9ac08
Testing VyOS support
2014-11-22 17:47:32 +10:00
laf
213ba09f9f
Fixed some scrutinizer issues
2014-11-12 23:19:57 +00:00
laf
3522f66f69
Added new route to display graphs for peering,transit and core
2014-11-12 23:05:47 +00:00
Paul Gear
62532e652f
Add pagination at top
2014-11-12 20:56:14 +10:00
Paul Gear
a8341c7608
Stylistic fixes
2014-11-12 20:55:49 +10:00
Paul Gear
b705233a0c
Merge PR#336: Updated eventlog page to use paged results
2014-11-12 20:54:59 +10:00
Paul Gear
3460031135
Stylistic fixes
2014-11-12 19:42:44 +10:00
Paul Gear
d39956454c
Merge Neil's changes for 'Updated edit snmp device section to show relevant v1,v2c or v3 options #317 '
2014-11-12 19:31:30 +10:00
Paul Gear
de52585796
Merge pull request #335 from laf/issue-laf-74
...
Added bgp peers route to display all bgp peers
2014-11-12 19:13:12 +10:00
Paul Gear
3f29197f4b
Merge pull request #334 from laf/issue-laf-73
...
Fixed BGP session count to exclude sessions that no longer have a device associated
2014-11-12 19:10:16 +10:00
laf
fca7252a74
updated sql queries
2014-11-02 20:31:26 +00:00
laf
f2a66b1ea8
updated incorrectly named variable reference
2014-11-02 20:28:43 +00:00
laf
25b62fd97c
Updated eventlog page to use page function
2014-11-02 20:20:25 +00:00
Neil Lathwood
9a3d5bc560
Merge pull request #333 from laf/issue-laf-80
...
Updated arp search page to use new MySQL pagination
2014-10-30 10:26:04 +00:00
laf
b4b160ead4
Updates from scrutinizer recommendations
2014-10-29 21:30:35 +00:00
laf
a792d10a76
Fixed BGP session count to exclude sessions that no longer have a device associated
2014-10-29 19:52:50 +00:00
laf
fd3ecdf42f
Updated arp search page to use new MySQL pagination
2014-10-29 18:34:26 +00:00
laf
9eafe9af2a
Added function to generate pagination for mysql results
2014-10-29 18:30:42 +00:00
laf
db7b613cb7
Moved the placement of datetimer picker js library in index.php
2014-10-29 10:48:18 +00:00
Paul Gear
8ab0bcb324
Remove unused jqplot functions (was PR#306)
2014-10-28 08:39:19 +10:00
Paul Gear
f7821198da
Updated graphs page to use bootstrap datetimepicker PR#306
...
- Separated from removal of jqplot code
- Merge remote-tracking branch 'laf/issue-laf-52'
Conflicts:
html/index.php
2014-10-28 08:37:49 +10:00
Paul Gear
ce62a1d324
Merge pull request #329 from laf/issue-laf-76
...
Added link to changelog
2014-10-28 07:58:21 +10:00
Paul Gear
2fbdfe4cfd
Integrate moment PR#308
2014-10-28 07:47:52 +10:00
Paul Gear
736888ee8a
Integrate bootstrap datetimepicker PR#308
2014-10-28 07:46:08 +10:00
laf
3ede85267b
Added changelog as a hyperlink on version number as well
2014-10-27 21:03:59 +00:00
laf
ede8c1d888
Added link to changelog
2014-10-27 20:55:48 +00:00
Paul Gear
24e20bb847
Merge commit 'a07849b73a0c73c2bcee75d4e1649db239a8b93f' as 'html/js/moment'
2014-10-28 05:59:36 +10:00
laf
3e4a494047
Added bgp peers route to display all bgp peers
2014-10-26 15:48:51 +00:00
Paul Gear
0d704de9b0
Merge commit 'cc43b3595b596d50b7891ad8cbf0830c5c92f609' as 'html/js/datetime'
2014-10-25 09:38:01 +10:00
Paul Gear
f7892d0c5a
A little note for later
2014-10-25 09:16:20 +10:00
Paul Gear
208ac0b104
Merge remote-tracking branch 'laf/issue-laf-47'
2014-10-25 08:49:28 +10:00
Paul Gear
5f08c36043
Merge pull request #321 from laf/issue-laf-66
...
Added stripslashes to fix formatting issues
2014-10-22 21:59:20 +10:00
Paul Gear
39ed79c7e4
Merge pull request #318 from laf/issue-laf-64
...
Updated transport list to be generated from $config values
2014-10-22 21:58:07 +10:00
Paul Gear
69c3d926ff
Merge pull request #315 from laf/issue-laf-58
...
Added the ability to call the api for a list of endpoints
2014-10-22 21:46:34 +10:00
Paul Gear
2832872c87
Merge pull request #314 from laf/issue-laf-60
...
Added names to all the relevant api routes
2014-10-22 21:42:30 +10:00
Paul Gear
15392ecf40
Merge pull request #313 from laf/issue-laf-61
...
Added a response code when things are ok - oops
2014-10-22 21:37:39 +10:00
Paul Gear
90c41ff650
Merge pull request #312 from laf/issue-laf-59
...
Removed trailing slash from v0 part of the uri
2014-10-22 21:37:17 +10:00
Paul Gear
9bf617b586
Merge pull request #310 from laf/issue-laf-54
...
Updated authToken response code to be 401
2014-10-22 21:34:21 +10:00
laf
2b9341e773
Updated disabled field to readonly as this stops submission of that field
2014-10-22 11:17:25 +01:00
Neil Lathwood
bb1a63635b
Merge pull request #316 from laf/issue-laf-62
...
Changed graphs using yearh to year
2014-10-20 20:29:50 +01:00
Neil Lathwood
3f0ec58844
Fixed issues with using web installer due to variable name change
2014-10-18 18:21:04 +00:00
Neil Lathwood
e903748e1d
Added stripslashes to fix formatting issues
2014-10-11 19:35:34 +00:00
Neil Lathwood
4a19553e31
Merge pull request #319 from laf/issue-laf-67
...
Moved the Add Host button as it was hidden on snmp v1/v2c options
2014-10-11 18:15:15 +01:00
Neil Lathwood
7c23774cb2
Moved the Add Host button as it was hidden on snmp v1/v2c options
2014-10-11 17:01:44 +00:00
Neil Lathwood
a0b801f60d
Updated transport list to be generated from $config values
2014-10-11 16:55:32 +00:00
Paul Gear
b400ff839d
Merge pull request #307 from laf/issue-laf-53
...
Updated adduser to check for existing user and use password hashing
2014-10-11 16:16:41 +10:00
Paul Gear
7b26b4d79f
Merge pull request #305 from laf/issue-laf-51
...
Added a LIMIT 10 into all the front page boxes
2014-10-11 15:58:55 +10:00
Neil Lathwood
e886d1957e
Updated edit snmp device section to show relevant v1,v2c or v3 options
2014-10-09 18:54:19 +00:00
Neil Lathwood
154c67f180
Changed graphs using yearh to year
2014-10-09 17:12:07 +00:00
Neil Lathwood
24ee2541ee
Defining output array as per scrutinizer
2014-10-09 16:47:11 +00:00
Neil Lathwood
0be049fde9
Added the ability to call the api for a list of endpoints
2014-10-09 16:20:04 +00:00
Neil Lathwood
78c083ce7a
Added names to all the relevant api routes
2014-10-09 16:16:26 +00:00
Neil Lathwood
b6db82d8af
Added a response code when things are ok - oops
2014-10-09 16:14:06 +00:00
Neil Lathwood
111a827a63
Removed trailing slash from v0 part of the uri
2014-10-09 15:44:33 +00:00
Neil Lathwood
cd8b2299df
Updated authToken response code to be 401
2014-10-07 23:53:26 +00:00
Neil Lathwood
1ab63f43ba
Updated to split out datetimepicker libraries into own PR
2014-10-07 19:59:17 +00:00
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
laf
cbeb0ae378
SNMP passwords are now hidden on an edit snmp form
2014-09-23 23:54:23 +01:00
laf
8790bfee0a
Added api call to delete device
2014-09-17 21:03:02 +01:00
laf
d40244cb06
Moved to version 0 of the api for release
2014-09-17 18:49:04 +01:00
laf
e81ce9ff60
Removed one of the router variables as it was not needed
2014-09-17 18:45:44 +01:00
laf
a0b52743d0
Updated api routes to new format + moved includes file to correct location
2014-09-16 22:19:29 +01:00
laf
5d83c30708
Started work on creating/updating tokens
2014-09-16 22:19:29 +01:00
laf
070f4d60bd
Added documentation and a function to tidy up json output
2014-09-16 22:19:28 +01:00
laf
ad6d425333
Added add_device api call
2014-09-16 22:19:28 +01:00
laf
b8df0596a9
Added list devices api call
2014-09-16 22:19:28 +01:00
laf
dabe45a257
Updated url in comments to match new format
2014-09-16 22:19:28 +01:00
laf
47c91b458e
Moved to use X-Auth-Token header for auth and new url format for later use
2014-09-16 22:19:28 +01:00
laf
96c0457a75
More updates to api
2014-09-16 22:19:28 +01:00
laf
edec1c0c7d
Initial API release
2014-09-16 22:19:28 +01:00
Paul Gear
0fce5d623c
Merge branch 'master' of git://github.com/librenms/librenms
2014-08-27 20:32:10 +10:00
Paul Gear
e9381f9501
Make add button display consistent on user edit screen
2014-08-27 20:09:29 +10:00
laf
b563b8425d
Updated null to false for secure cookie
2014-08-20 16:42:09 +01:00
laf
183c69e304
Removed session regeneration
2014-08-20 16:24:27 +01:00
laf
38907c98ad
Updated layout of the ports table to fix alignment issues
2014-08-18 22:22:41 +01:00
Paul Gear
12e100d7ea
Merge pull request #278 from laf/issue-167
...
Added email field for add user form
2014-08-16 09:34:13 +10:00
laf
7378b7a4e1
Added email field for add user form
2014-08-01 23:06:05 +01:00
Paul Gear
b9c2d68bbb
Merge pull request #268 from laf/issue-laf-32
...
Added support for Cisco ASA Connection graphs
2014-07-17 20:09:30 +10:00
Paul Gear
6214f3990e
Merge pull request #269 from laf/issue-laf-8
...
Updated poller/discovery forms to use validate_device_id function
2014-07-16 22:09:36 +10:00
Paul Gear
1025bf644b
Merge pull request #262 from laf/cleanup
...
Removed unnecessary files
2014-07-16 22:09:13 +10:00
laf
de5a900bd3
Updated drive_id to storage_id
2014-07-08 19:40:13 +01:00
laf
9585796271
Fixed links for health graphs
2014-07-07 00:50:16 +01:00
laf
cd90c2f071
Updated layout for delete device so it is consistent
2014-07-03 20:45:30 +01:00
laf
b0f6e7cf35
Updated poller/discovery forms to use validate_device_id function
2014-07-03 20:38:28 +01:00