Commit Graph

  • 396bbe8271
    Merge 0e5a7da09d into 9726378e3c Kyouma54 2024-11-17 07:15:32 -0300
  • a0c685f46f
    Merge 33b5d240c7 into 9726378e3c Mark de Groot 2024-11-17 07:09:17 -0300
  • d80ac3c9a0
    Merge 006953899f into 9726378e3c Sebastian Grodzicki 2024-11-17 07:00:04 -0300
  • 0e5a7da09d
    Adding support to cURL http protocol Kyouma54 2024-11-17 06:58:59 -0300
  • 9726378e3c bumped version to 1.1.101 master v1.1.101 malle-pietje 2024-11-15 10:33:11 +0100
  • 494375f8b5 - added a private property $cookies_created_at to store the timestamp when the cookies were created/updated. - added a getter method get_cookies_created_at() to return the timestamp when the cookies were created/updated. This information can be useful to determine how old the cookies are. - minor comments clean up malle-pietje 2024-11-15 10:31:10 +0100
  • 3dbc24daca further tweaks malle-pietje 2024-11-04 13:43:57 +0100
  • 93d1d8ec3f tweaked hyperlink malle-pietje 2024-11-04 13:38:18 +0100
  • b8620f7672 changed link to hyperlink malle-pietje 2024-11-04 13:37:01 +0100
  • 1e2e709d4a inserted link to installation instructions malle-pietje 2024-11-04 13:34:41 +0100
  • 472d2eaa68 restructured and updated supported versions info malle-pietje 2024-11-04 13:32:34 +0100
  • 1522992e49 bumped version to 1.1.100 fixed incorrect return type for create_voucher(), reported by @pa- v1.1.100 malle-pietje 2024-10-29 12:14:00 +0100
  • 70f6a374e2 - added get_system_log() method to get data from the system logs, returns pages results - minor formatting changes v1.1.99 malle-pietje 2024-10-23 13:30:34 +0200
  • ff9e6f0225 merged #244 for a small change to the start_rolling_upgrade() method, contributed by @Jacobtims minor additional change to allow changes to the payload of the start_rolling_upgrade() method v1.1.98 malle-pietje 2024-10-17 16:41:45 +0200
  • 00a637dbc4
    Add "uxg" to start_rolling_upgrade payload (#244) Jacob Timmerman 2024-10-17 16:31:25 +0200
  • 9792698b96 Add "uxg" to start_rolling_upgrade payload Jacob 2024-10-17 15:36:45 +0200
  • f7c9aff577 Merge branch 'master' into feat/fix-start-rolling-upgrade Jacob 2024-10-17 15:36:05 +0200
  • 6498b0255b Merge branch 'master' of github.com:Art-of-WiFi/UniFi-API-client merging #243 v1.1.97 malle-pietje 2024-10-17 14:56:47 +0200
  • 05e791bcf0 minor changes malle-pietje 2024-10-17 14:56:36 +0200
  • 192a1262c3
    Fix payload start_rolling_upgrade method (#243) Jacob Timmerman 2024-10-17 14:55:54 +0200
  • 5b95e6c66e
    Fix payload start_rolling_upgrade method Jacob Timmerman 2024-10-17 13:19:45 +0200
  • 30056f50fc - bumped version to 1.1.96 - removed @version tag in docblock as it contained redundant information - merged #241 which adds a method to download a generated backup, (contributed by @Jacobtims) v1.1.96 malle-pietje 2024-10-14 14:34:48 +0200
  • d040c512a7
    Add method to download generated backup (#241) Jacob Timmerman 2024-10-14 14:31:44 +0200
  • b94f0c51e4 Add method to download generated backup Jacob 2024-10-14 14:10:28 +0200
  • b633fa54c7 added ability top determine attributes to fetch with AP and site stats general minor clean up bumped version to 1.1.95 v1.1.95 malle-pietje 2024-10-07 12:54:19 +0200
  • 5327d0c534 minor changes malle-pietje 2024-10-07 10:39:48 +0200
  • f1fc80f34f API client class v1.1.94 - minor fix based on Scrutinizer feedback - re-added update_admin() method to the class; for some reason, the merge of #228 was not successful v1.1.94 malle-pietje 2024-08-12 10:24:03 +0200
  • f82d1a6b64 removed exit following suggestion from Scrutinizer malle-pietje 2024-08-08 17:56:33 +0200
  • 6f6e80e862 cleanup some comments/doc blocks malle-pietje 2024-08-08 17:45:03 +0200
  • 4fefc11761 simplified the contructor by assigning default values to properties within the argument list malle-pietje 2024-08-08 17:37:33 +0200
  • 0db5effe6f minor fix to return type hinting based on feedback from Scrutinizer malle-pietje 2024-08-07 16:26:54 +0200
  • fd69d844a6 API client class v1.1.93 - added the migrate_device() method to migrate one or more devices from one controller to another - added the cancel_migrate_device() method to cancel the migration for one or more devices - added the upgrade_all_devices() method to upgrade all devices of a selected type to the latest firmware version - changed the force_provision() method to allow for multiple MAC addresses to be passed as a parameter - minor changes to a number of doc-blocks - general changes for improved consistency and readability v1.1.93 malle-pietje 2024-08-07 16:03:09 +0200
  • 12b85ce9db moved 2 properties to constants which seems more appropriate reformatted single-line comments v1.1.92 malle-pietje 2024-08-06 12:30:47 +0200
  • 54ec631d4b added a new example demonstrating the change of site settings malle-pietje 2024-08-04 15:35:26 +0200
  • fdea77fce0
    Add days paramater to generate_backup method (#232) Jacob Timmerman 2024-08-02 17:12:29 +0200
  • 6513bbb6c5 Add days paramater to generate_backup method Jacob 2024-08-02 10:42:00 +0200
  • 108ddd3995 further cleanup of notes in doc blocks malle-pietje 2024-07-31 11:16:02 +0200
  • 63600f4da1 - added delete_admin()` method, contributed by @Jacobtims - reformatting of notes in the doc blocks v1.1.91 malle-pietje 2024-07-31 10:55:21 +0200
  • 20aa3e1377 merging PR #228 malle-pietje 2024-07-31 10:25:02 +0200
  • 96b43f7684 Add permissions parameters to admin update Jacob 2024-07-08 12:15:10 +0200
  • 325ebce7fe Add method to update an admin user Jacob 2024-07-04 11:42:02 +0200
  • d36a088101 API client class v1.1.90 - remove existing x-csrf-token headers before adding a new one, UniFi OS does not like multiple x-csrf-tokens in the same request v1.1.90 malle-pietje 2024-02-27 18:48:41 +0100
  • 006953899f Update GitHub Actions Sebastian Grodzicki 2024-02-11 18:33:22 +0100
  • 0dad74b8ee Add UniFi 7.4/7.5/8.0 Sebastian Grodzicki 2024-02-11 18:28:40 +0100
  • 8ac38f8a0a Add PHP 8.3 Sebastian Grodzicki 2024-02-11 18:23:40 +0100
  • 33d0ddd316 Drop PHP <7.4 Sebastian Grodzicki 2024-02-11 18:20:00 +0100
  • 8d17eb72a0 Add integration tests Sebastian Grodzicki 2023-04-17 13:55:28 +0200
  • af05836d08 Use PHPUnit 8 Sebastian Grodzicki 2023-04-17 15:37:37 +0200
  • a95b37b7fa Test set_site Sebastian Grodzicki 2023-04-17 10:46:44 +0200
  • 34c2da60f1 Setup CI Sebastian Grodzicki 2023-04-17 09:50:50 +0200
  • fecb1cd810 Setup PHPUnit Sebastian Grodzicki 2023-04-17 09:15:27 +0200
  • 007117cbfc API client class v1.1.89 - added create_tag(), set_tagged_devices(), get_tag(), and delete_tag() methods to manage tags, contributed by @brenard, #205 v1.1.89 malle-pietje 2024-02-11 17:24:31 +0100
  • 7e60ce3e87 API client class v1.1.88 - added list_fingerprint_devices() method to list fingerprints for clients devices, contributed by @dream-rhythm, #213 - minor code cleanup v1.1.88 malle-pietje 2024-02-11 14:46:30 +0100
  • 83d4f121ed API client class v1.1.87 - further code cleanup and refactoring to pass more phpstan tests v1.1.87 malle-pietje 2024-02-11 12:33:37 +0100
  • bd39c325d2 API client class v1.1.86 - fixes issue with curl_init() returning CurlHandle class objects instead of curl handlers with PHP 8 and higher v1.1.86 malle-pietje 2024-02-10 13:26:47 +0100
  • 4b175ddf9b API client class v1.1.85 - removed unnecessary type casting in several methods - fixed return type hinting in several methods where return type would be an array|bool instead of just array - relaxed parameter type hinting in the constructor to allow for null values for several parameters ($site and $version) that have sensible defaults, reported by @pbksol - using phpstan, the class now passes level 5 checks v1.1.85 malle-pietje 2024-02-10 12:13:00 +0100
  • 48482d661a API client class v1.1.84 - PHP 7.4 is now the minimum required version - updated the code for 7.4. specific features such as parameter type hinting, return types, etc. - added the ability to the constructor to change the key that is used to store the unificookie in the session, ($_SESSION['unificookie'] is used by default), this is useful when running multiple applications on the same server v1.1.84 malle-pietje 2024-02-09 18:11:43 +0100
  • 5bfcbe1d41
    Add Fingerprint source params 陳琮斌 2024-02-06 14:58:15 +0800
  • c791d01649
    Fix Fignerprint device api path 陳琮斌 2024-02-06 14:06:52 +0800
  • 4e1eb43da4
    Add Fingerprint devices API Support 陳琮斌 2024-02-06 13:57:44 +0800
  • 62c0b84121
    Merge f677016497 into 563739345c Hunter Grayson 2024-01-10 14:36:20 -0700
  • 563739345c applied tweaks to the README file malle-pietje 2024-01-05 11:08:06 +0100
  • fdc5f06765 applied tweaks to the README file malle-pietje 2024-01-05 11:04:39 +0100
  • 35b2fb37f3 applied tweaks to the README file malle-pietje 2024-01-05 11:02:38 +0100
  • 8c1b33ed09 added note to README regarding Issues that are not related to the PHP API client malle-pietje 2024-01-05 10:47:11 +0100
  • b6a22abc01 further changes and updates to the README file malle-pietje 2023-12-21 11:09:36 +0100
  • 3aa658eab0 minor changes to the instructions in the README file malle-pietje 2023-12-21 10:41:38 +0100
  • a4258f1963 updated the instructions in the README file malle-pietje 2023-12-21 10:36:10 +0100
  • cf5ba015b0 removed statement about cookies no longer being supported... malle-pietje 2023-12-18 15:15:19 +0100
  • 2970f79290 API client class v1.1.83 - added a 'accept: application/json' header to the login requests - re-added support for cookies when working with a UniFi OS-based controller v1.1.83 malle-pietje 2023-12-18 15:08:24 +0100
  • 7fe7a40873 further updates to README malle-pietje 2023-12-18 12:35:58 +0100
  • df1f70547c updated README added announcement of minimum PHP version moving to 7.4 malle-pietje 2023-12-18 12:32:03 +0100
  • e89daaf1a3 API client class v1.1.82 - allow filtering by multiple MAC addresses in list_devices(), contributed by @sgrodzicki, #189 v1.1.82 malle-pietje 2023-12-18 11:42:56 +0100
  • d66c3ddd75 API client class v1.1.81 - hotfix to address cookie issues in UniFi OS 3.2.7, reported by @tflatebo - fixed minor typos - minor code reformatting of the examples - starting with this release, cookies are no longer supported when connecting to a UniFi OS-based controller - added set_vlan_to_port.php example, contributed by @SamuelSchnelly, #203 - allow additional parameters in create_wlan()'s payload, contributed by @sgrodzicki, #191 v1.1.81 malle-pietje 2023-12-18 11:11:27 +0100
  • 181d5df887
    Add get_tag method Benjamin Renard 2023-12-13 12:14:24 +0100
  • e73f16f580
    Update method to set HTTP request method Benjamin Renard 2023-12-13 12:14:08 +0100
  • b0ae356b9a
    Merge branch 'Art-of-WiFi:master' into master Benjamin Renard 2023-12-13 11:47:14 +0100
  • 58929aac1c Solution for issue #199 Samuel Schnelly 2023-11-15 14:20:23 +0100
  • a3e42643e6
    Add option to pass 2FA on login Mauro Baptista 2023-07-20 12:18:03 -0400
  • edb9b08180
    Merge branch 'Art-of-WiFi:master' into hotspot-login zaserge 2023-06-27 23:05:39 +0300
  • 340fed1d36 Allow additional parameters in payload Sebastian Grodzicki 2023-04-16 14:45:31 +0200
  • 276d8c0e74
    Merge c5a743ed16 into 9e092f8b85 Mark de Groot 2023-04-02 20:41:52 -0700
  • 91979ae602 Revert unnecessary changes Sebastian Grodzicki 2023-03-28 15:48:19 +0200
  • f73635bbd8 Revert changes from examples folder Sebastian Grodzicki 2023-03-28 15:45:58 +0200
  • e3f7f426ea Allow both array/string and remove deprecation message Sebastian Grodzicki 2023-03-28 15:41:41 +0200
  • 93ba24f5c1 Allow filtering by multiple MAC addresses in list_devices() Sebastian Grodzicki 2023-03-28 13:18:57 +0200
  • 9e092f8b85 Merge branch 'master' of github.com:Art-of-WiFi/UniFi-API-client merge for device-basic v1.1.80 malle-pietje 2023-03-28 12:22:42 +0200
  • e4dc2e273c
    Add stat/device-basic endpoint (#188) Sebastian Grodzicki 2023-03-28 12:21:43 +0200
  • 67d318ca91 - bumped version to class v1.1.80 - added generate_backup_site() method, contributed by @labo-jad malle-pietje 2023-03-28 12:19:29 +0200
  • 12d140f088 Add stat/device-basic endpoint Sebastian Grodzicki 2023-03-27 20:02:05 +0200
  • 7b92512d69 Added support for querying other controllers (eg. Access) Lubor Nosek 2022-10-23 12:49:50 +0200
  • f677016497 cast ap_group_ids string to array in create_wlan hunter-hunter 2022-08-24 14:31:40 -0400
  • 98ccaff838 change create_wlan function hunter-hunter 2022-08-22 13:05:38 -0400
  • e79a30585c Hotspot manager's operator - fixed login error when using operator's login - added create_voucher_hotspot.php example zaserge 2022-05-08 18:43:39 +0300
  • d8ebba27b5
    Merge branch 'Art-of-WiFi:master' into patch-1 Paulo Ferreira 2022-04-06 10:28:32 -0300
  • cbe89d913c API client class v1.1.79 - updated README to reflect support for 7.X - get_last_error_message() now always returns a string which is empty if no message is available - applied PR #151 in slightly different way for consistency with other similar code sections, contributed by @banakito - changed default argument values in several methods/functions from null to an empty string v1.1.79 malle-pietje 2022-03-28 11:57:57 +0200
  • 485e8166cc
    Solve deprecated passing null to a string in PHP 8.1 banakito 2022-03-25 13:28:11 +0100
  • 4fe1780e1d API client class v1.1.78 - fixed create_radius_account() method to make Tunnel Type and Medium optional parameters, reported by @CodeByJacob v1.1.78 malle-pietje 2022-03-11 13:24:31 +0100
  • 61bd2eda0d API client class v1.1.77 - removed unnecessary CURLOPT_HEADER from the login() method - added several more possible attributes for client stats - cast VLAN id to string in create_radius_account() v1.1.77 malle-pietje 2022-03-11 12:08:40 +0100
  • 44d886ab47 fix create_radius_account function Jakub Wojtaś 2022-02-18 14:56:21 +0100