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

Full beta v0.0.1 #1

Merged
merged 17 commits into from
Mar 9, 2020
Merged

Full beta v0.0.1 #1

merged 17 commits into from
Mar 9, 2020

Conversation

jaredhendrickson13
Copy link
Owner

No description provided.

…art, /services/stop, /services/restart), changed format of individual start, stop, restart service enpoints to self identify the service and action being requested. Updated pkg-plist and Makefile
…ions and processes, all endpoints will simply call these functions in the future. Completed /interfaces/add/index.php with all IPv6 interface configuration options.
…/portforwards/delete/, added UI/config control to only allow read access from API, fixed permissions issue where read only permissions allowed services to start and stop
… and modify existing sshd configurations, added endpoints for /system/hostname/ and /system/hostname/modify/ to read and modify the existing system hostname, added pre-run check to ensure a supported version of pfSense is running before making any changes, updated Makefile and pkg-plist accordingly
- Added endpoint for /system/certificates/ to read all system SSL certificates
- Added endpoint for /system/certifciates/add to import a new SSL certificate
- Added endpoint for /system/certificates/delete to delete an existing SSL certificate
- Added endpoint for /users/authservers/ to read all LDAP and RADIUS authentication server configurations
- Added endpoint for /users/authservers/ldap/ to read LDAP authentication server configurations
- Added endpoint for /users/authservers/radius/ to read RADIUS authentication server configurations
- Changed default API token hash algorithm to SHA256
- Added SHA512 to allow API token hash algorithms
- Added snippet to check if a user is disabled before allowing API access
- Added API call to add LDAP authentication server
- Added API call to delete LDAP authentication server
- Added API call to delete RADIUS authentication server
- Added API call to delete any authentication server
- Update pkg-plist and Makefile
…. This allows functions to pull the error message from a centralized location using it's unique error code

- Add function and API call to read the error code library as JSON. This allows third-party scripts/software to directly integrate with the APIs error reporting.
- Changed API configuration location from /pfsense/config/installedpackages/package/id to /pfsense/config/installedpackages/package/id/conf for better readability
- Added API call to read API configuration
- Update pkg-plist and Makefile
- Updated README.md and prepped for merge to master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant