Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.1.0 Fixes & Features #23

Merged
merged 38 commits into from
Dec 9, 2020
Merged

v1.1.0 Fixes & Features #23

merged 38 commits into from
Dec 9, 2020

Conversation

jaredhendrickson13
Copy link
Owner

@jaredhendrickson13 jaredhendrickson13 commented Oct 14, 2020

  • Adds user specified Content-Type support
  • Changes API Token authentication to support credentials passed via Authorization header
  • Fixes bug where host overrides could not be updated when the existing host and domain values matched the updated values
  • Adds gateway status endpoint to read gateway metrics (e.g. packet loss, latency)
  • Adds interface status endpoint to read interface metrics (e.g. packets in, packets out, collisions, errors)
  • Adds system status endpoint to read system metrics (e.g. CPU, RAM, Disk usage)
  • Adds update functionality to interface endpoint
  • Adds apply interface endpoint to apply pending interface configuration
  • Changes interface endpoint to not apply new configuration by default, this allows clients to create/update multiple interface configurations quickly and apply them all at once.
  • Fixes various interface bugs
  • Adds gateway creation, update and deletion functions
  • Changes routing endpoints to not apply new configurations by default, this allows clients to create/update multiple routing object configurations quickly and apply them all at once
  • Adds update function to port forwards endpoint
  • Adds endpoint for creating, updating, reading, and deleting outbound NAT entries
  • Adds endpoint for creating, updating, reading, and deleting 1:1 NAT entries
  • Adds endpoint for reading DDNS configuration and status
  • Adds endpoint for reading DHCP Leases

@jaredhendrickson13 jaredhendrickson13 linked an issue Oct 14, 2020 that may be closed by this pull request
Jared Hendrickson added 2 commits October 17, 2020 09:36
…ptions, fixed HTTP response code for unknown content type
@jaredhendrickson13 jaredhendrickson13 linked an issue Oct 19, 2020 that may be closed by this pull request
Jared Hendrickson added 2 commits October 19, 2020 10:31
…via Authorization header, updated documentation to reflect this changed, updated unit test framework to authenticate using header when auth_mode is set to token
@jaredhendrickson13 jaredhendrickson13 linked an issue Oct 22, 2020 that may be closed by this pull request
Jared Hendrickson added 2 commits November 6, 2020 15:30
… changed API query numeric lookups to use float comparison instead of integers, created unit test for status gateway endpoint, updated documentation
@jaredhendrickson13 jaredhendrickson13 linked an issue Nov 12, 2020 that may be closed by this pull request
Jared Hendrickson added 4 commits November 12, 2020 15:03
…est to test interface status endpoint, updated docs
…, mem, disk usage, created unit test for system status endpoint, updated docs
… to interface endpoint, increased validation to interfaces endpoint, added interface apply endpoint to apply pending interface configuration, updated interface endpoint unit test, updated docs, fixed bug that prevented interfaces from being found
@jaredhendrickson13 jaredhendrickson13 linked an issue Nov 14, 2020 that may be closed by this pull request
Jared Hendrickson and others added 10 commits November 18, 2020 14:50
…, added update function to port forward endpoint, updated unit test for port forwards, updated documentation
…ngs, created unit test for 1:1 NAT endpoint, updated documentation, fixed bug that prevent interface from being located when using default description
…nit test for outbound NAT endpoint, updated docs
…ngs, created unit test for outbound NAT mapping endpoint, updated documentation
… routing gateway unit test, updated docs, included bug fix for blank alias entry bug
…pply endpoints to apply pending changes, updated documentation
@jaredhendrickson13 jaredhendrickson13 linked an issue Nov 25, 2020 that may be closed by this pull request
…ed unit test for DDNS endpoint, updated docs
@jaredhendrickson13 jaredhendrickson13 linked an issue Nov 29, 2020 that may be closed by this pull request
@jaredhendrickson13
Copy link
Owner Author

jaredhendrickson13 commented Nov 29, 2020

Test build for v110 is available if anyone is interested. I'll try to keep it up-to-date as I make changes. Note, this build is incomplete and may not operate as expected. I'd recommend trying it on a test instance of pfSense, not your main instance.

pkg delete pfSense-pkg-API && pkg add https://github.com/jaredhendrickson13/pfsense-api/files/5667207/pfSense-pkg-API-1.1_0_pre.zip && /etc/rc.restart_webgui

pfSense-pkg-API-1.1_0_pre.zip

Jared Hendrickson added 2 commits November 30, 2020 09:30
…s, added endpoint to read current DHCP leases, added unit test for DHCP leases endpoint, updated documentation
@jaredhendrickson13 jaredhendrickson13 linked an issue Nov 30, 2020 that may be closed by this pull request
…p, restorating, updates, uninstallation and reverting version, added persistent config mode to keep API config even after update
@jaredhendrickson13 jaredhendrickson13 merged commit 2c30d7c into master Dec 9, 2020
@jaredhendrickson13 jaredhendrickson13 deleted the v110 branch December 9, 2020 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment