Commit Graph

29 Commits

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