Branch: master
Commits on Jan 21, 2019
  1. fixed functions assign_existing_admin() and invite_admin() to support…

    malle-pietje committed Jan 21, 2019
    … controller versions 5.9 and higher because of changes in controller behavior
Commits on Jan 19, 2019
  1. minor code tweaks for improved readability

    malle-pietje committed Jan 19, 2019
    added function/method assign_existing_admin()
    fixed code for function/method invite_admin()
Commits on Dec 14, 2018
  1. made regex to extract cookies case insensitive, though this would onl…

    malle-pietje committed Dec 14, 2018
    …y be needed for corner cases this is still RFC compliant (
    changed the layout of the README file to put more emphasis on the installation options and the basic example, and less on the list of methods/functions
Commits on Nov 5, 2018
  1. API client class v1.1.37

    malle-pietje committed Nov 5, 2018
    updated both READMEs
    added cmd_stat() function, can currently only be used to reset DPI counters for the current site
    added optional group_id parameter to list_firewallgroups() which allows you to select a single firewall group, thanks to @VWT-Dan for the suggestion
Commits on Oct 24, 2018
  1. API client class v1.1.36

    malle-pietje committed Oct 24, 2018
    added methods stat_ips_events(), set_ips_settings_base(), supported with controllers 5.9.10 and higher
    thanks go to @leonardogyn for providing access to a controller and test network for test/validation purposes
Commits on Oct 20, 2018
  1. general code cleanup

    malle-pietje committed Oct 20, 2018
    added spaces throughout Client.php following PSR-2 guidelines that were skipped with the previous commit
    added visibility to constructor and destructor methods following PSR-2 recommendations
    declare user and password properties and visibility following PSR-2 recommendations
    updated README to add recently added functions/methods
    minor general changes to the README
Commits on Oct 10, 2018
  1. API client class v1.1.34

    malle-pietje committed Oct 10, 2018
    - added spaces throughout Client.php following PSR-2 guidelines
    - changed checks to prevent 0 (zero) values from being submitted to the API for routes where this can have negative side effects
Commits on Oct 2, 2018
  1. Merge branch 'master' of into…

    malle-pietje committed Oct 2, 2018
    … tempbranch
  2. getters and setters for private variables (#28)

    jamieaitken authored and malle-pietje committed Oct 2, 2018
    Merging PR #28
Commits on Aug 28, 2018
  1. - added stat_speedtest_results() method/function to collect results f…

    malle-pietje committed Aug 28, 2018
    …rom scheduled speed tests
    - added list_backups() method/function to list auto backups
Commits on Aug 19, 2018
  1. Merge branch 'master' of

    malle-pietje committed Aug 19, 2018
    resilve merge conflicts
  2. updated comments for stats-related methods/function to make clear sta…

    malle-pietje committed Aug 19, 2018
    …rt/end values must be provided in milliseconds
    changed use of objects as payload input for json_encode, to associative arrays for consistency
    added functions/methods for firewall groups: list_firewallgroups(), create_firewallgroup(), edit_firewallgroup(), delete_firewallgroup()
    added checks for required boolean parameters
  3. Dev edit client fixedip (#24)

    Warafux authored and malle-pietje committed Aug 19, 2018
    * Added Fixed ip function
    Sets the value of use_fixedip and fixed_ip fields of a specific client.
    * Added network_id field
    -Optional fields network_id and fixed_ip
    -If use_fixedip is false, network_id and fixed_ip will be ignored
    -If else, send the data if defined (if not, previous values)
    * fix typo (forgot to includo json_encode)
    * Get specific network data by its ID
Commits on Jul 2, 2018
  1. added user/client device stats methods/functions:

    malle-pietje committed Jul 2, 2018
    added example to demonstrate use of these new functions
Commits on May 21, 2018
  1. added unblock_list.php and block_list.php examples, contributed by @m…

    malle-pietje committed May 21, 2018
    added create_user() method/function
    added forget_sta() method/function which is supported on controller version 5.9.* and higher
Commits on Apr 11, 2018
Commits on Apr 10, 2018
Commits on Mar 30, 2018
Commits on Mar 24, 2018
  1. General code cleanup (replace tabs by spaces, etc.)

    malle-pietje committed Mar 24, 2018
    Finalised merge of PRs #10, #11, #12 and #13
    Methods/functions added:
    - list_country_codes()
    - set_guestlogin_settings_base()
    - set_site_connectivity()
    - set_site_country()
    - set_site_guest_access()
    - set_site_locale()
    - set_site_mgmt()
    - set_site_name()
    - set_site_ntp()
    - set_site_snmp()
    Examples added:
    - ap_upgrade_firmware.php
    - site_provisioning_example
    - update_ac-iw_ports.php
  2. added example to change AC-IW port config

    malle-pietje committed Mar 24, 2018
    renamed update_wlan_settings_5.5.X.php to update_device_wlan_settings_5.5.X.php
Commits on Mar 19, 2018
  1. - Foreach the array to verify if we really need to update the setting…

    smos authored and malle-pietje committed Mar 19, 2018
    …s so we only trigger for real updates. (#13)
    - Move Test array settings down so you don't accidentally delete sites
    - Don't delete sites in debug mode.
    - Automatically adopt device if it matches the configured LAN settings, ofcourse this only works correctly when LAN settings are unique between sites.
Commits on Mar 18, 2018
  1. Add ap_upgrade_firmware.php to Examples (#12)

    4oo4 authored and malle-pietje committed Mar 18, 2018
    - add ap_upgrade_firmware.php, contributed by @4oo4
Commits on Mar 17, 2018
  1. Merge pull request #11 from smos/master

    malle-pietje committed Mar 17, 2018
    Add a few more function for setting site specific parameters. It was …
Commits on Mar 13, 2018
  1. Add a few more function for setting site specific parameters. It was …

    Seth Mos
    Seth Mos committed Mar 13, 2018
    …neccesary to create several setting functions
    for setting the information, although the site configuration is returned whole as one object.
    I also added a provisioning example that I use with our internal ERP that automatically creates, updates and deletes sites according to internal ERP
    site information. I added a settings template that has a couple of the most useful defaults, like auto upgrade, country and locale.
Commits on Mar 10, 2018
  1. Merge pull request #10 from patrice-guillemette/master

    malle-pietje committed Mar 10, 2018
    PR by @patrice-guillemette to update Client.php
    - add method/function set_site_name()
    - add method/function set_guestlogin_settings_base()
Commits on Mar 9, 2018
Commits on Feb 1, 2018
  1. minor changes

    malle-pietje committed Feb 1, 2018
    added an example to update WLAN settings for recent controllers (5.5.X and higher)
Commits on Jan 29, 2018