malle-pietje
f6201ec21c
minor changes
...
added an example to update WLAN settings for recent controllers (5.5.X and higher)
2018-02-01 16:56:17 +01:00
malle-pietje
cab0c1a35d
Update README.md
2017-10-26 17:14:39 +02:00
malle-pietje
2b5ed31759
Update README.md
2017-10-26 17:12:51 +02:00
malle-pietje
a13ff36409
Merge branch 'master' of github.com:Art-of-WiFi/UniFi-API-client
2017-10-26 17:07:48 +02:00
malle-pietje
c4bc1243eb
- minor code cleanup and input validation/sanitization improvements
...
- added delete_device() function/method
- added move_device() function/method
- added optional `type` parameter to stat_sessions()
- updated README
2017-10-26 17:06:59 +02:00
malle-pietje
c25f4d1937
Update disable_device.php
2017-10-20 09:25:59 +02:00
malle-pietje
e3e70cce72
fixed bug caused by typo with "if (in_array()..."
2017-10-19 11:53:04 +02:00
malle-pietje
449baa70a3
updated README
2017-10-19 11:24:24 +02:00
malle-pietje
2dc5136eba
minor code clean up
...
added archive_alarm() function/method
2017-10-19 11:20:33 +02:00
malle-pietje
e1f3cd6e73
updates to README
2017-10-18 10:09:55 +02:00
malle-pietje
141b0ff55f
fixed typo in list_known_rogueaps()
2017-10-18 08:35:11 +02:00
malle-pietje
e6ffb2e5de
addition of several new functions/methods and minor code cleanup
...
- added list_known_rogueaps() function/method
- added stat_status() function/method
- added power_cycle_switch_port() function/method
2017-10-18 08:25:48 +02:00
malle-pietje
746a29fbcf
code optimization, improved parameter validation and debug messages
...
- removed repetitive code (json_decode and $this>baseurl)
- added capture of JSON decoding errors when debug = true
- use intval() on function/method parameters which must be an integer
- further parameter validation/checks
2017-10-12 17:21:50 +02:00
malle-pietje
6fd7e6e598
added new functions for 5-minutes stats and minor code cleanup
...
- stat_5minutes_site()
- stat_5minutes_aps()
- added optional parameter to list_dashboard() to allow fetching of 5minutes stats
2017-10-10 09:37:29 +02:00
malle-pietje
4611dbb28c
applied small formatting change to README
2017-10-06 12:59:20 +02:00
malle-pietje
cc486f652d
fixed typo in examples/change_wlan_password.php
2017-10-06 12:55:44 +02:00
malle-pietje
008280e870
minor code cleanup and various changes:
...
- added a 6th parameter to the constructor to enable SSL cert verification, recommended for production environments
- added examples/change_wlan_password.php to demonstrate WLAN password/PSK change
- updated main README accordingly
2017-10-06 12:46:07 +02:00
malle-pietje
971c77ab5f
various tweaks and an addition
...
- more relaxed handling of $site in set_site(), now we only issue an error message when provided (short) site name is probably incorrect and debug mode is
true
- added test_connection.php, a command line script which can be used to quickly test the connection to your controller with various cURL options which you can
quickly change
2017-09-14 12:15:21 +02:00
malle-pietje
03cb083986
minor changes
...
- more strict comparisons where possible
- slightly changed error messages
- enabled the CURLOPT_CONNECTTIMEOUT cURL option to timeout a controller connection after 10 seconds
2017-09-11 16:50:24 +02:00
malle-pietje
8df2fcc522
Merge branch 'master' of github.com:Art-of-WiFi/UniFi-API-client
2017-09-08 12:37:17 +02:00
malle-pietje
eba7819c17
various changes and additions:
...
IMPORTANT CHANGE: renamed all functions/methods named add_*() to create_*()
improved data validation
modified several existing methods/functions to leverage REST endpoints
added create_network() method/function
added set_networksettings_base() method/function
added delete_network() method/function
added list_radius_profiles() method/function
added create_radius_account() method/function
added set_radius_account_base() method/function
added delete_radius_account() method/function
2017-09-08 12:36:12 +02:00
malle-pietje
462d8a81a1
Update README.md
2017-09-07 17:46:22 +02:00
malle-pietje
0373c8369f
updated README
2017-09-07 12:48:14 +02:00
malle-pietje
cf41e75269
updated README
2017-09-07 12:36:12 +02:00
malle-pietje
e235267a8a
updated README
2017-09-07 12:34:31 +02:00
malle-pietje
9896f6d85f
updated README
2017-09-07 12:33:56 +02:00
malle-pietje
4f84cfc550
updated README
2017-09-07 12:33:09 +02:00
malle-pietje
efa6704c97
minor changes to examples and README for consistency
2017-09-07 12:31:47 +02:00
malle-pietje
5c893c1237
updated README
2017-09-07 12:29:13 +02:00
malle-pietje
ab38e6f7ad
updated README
2017-09-07 12:27:20 +02:00
malle-pietje
0ac6653ec0
updated README
2017-09-06 17:16:32 +02:00
malle-pietje
34c0acf813
various improvements and additions:
...
- changed all public properties to private properties
- added getter/setter for site property
- modified the constructor to be more robust
- added check for existance of curl module
- added method/function set_wlansettings_base() which uses REST and is now leveraged by several other methods/functions
- added method/function set_wlan_mac_filter()
2017-09-06 17:12:17 +02:00
malle-pietje
b9067cd2b0
updated README
2017-09-05 17:56:14 +02:00
malle-pietje
3a23ad15c1
updated README
2017-09-05 17:52:20 +02:00
malle-pietje
9f79d825c4
updated README
2017-09-05 17:22:06 +02:00
malle-pietje
8155b81fed
updated README
2017-09-05 16:18:03 +02:00
malle-pietje
edf91b19da
updated README
2017-09-05 16:13:13 +02:00
Erik Slooff
15c9112894
updated README
2017-09-05 15:00:32 +02:00
Erik Slooff
0ec9d8735d
updated README
2017-09-05 14:59:45 +02:00
Erik Slooff
3819cc8986
updated README
2017-09-05 14:46:51 +02:00
Erik Slooff
cd24ef1c2c
updated examples to use the composer autoloader
2017-09-05 13:04:11 +02:00
Erik Slooff
e4d368cc72
fixed typo in composer.json
2017-09-05 12:58:51 +02:00
Erik Slooff
cd49846df2
modified the required PHP version in composer.json
2017-09-05 12:22:55 +02:00
Erik Slooff
508dde33f0
initial commit
2017-09-05 11:48:35 +02:00