Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
e8da943
ci: build and test on pfSense-2.8.0-BETA
jaredhendrickson13 Apr 8, 2025
0fc2898
create/delete FreeRADIUS user (initial commit)
vitspec99 May 12, 2025
56efb61
'motp_enable' is StringField with "on"/"off" choices and required now.
vitspec99 May 13, 2025
ec57b29
Endpoint properly named now.
vitspec99 May 14, 2025
8966314
Merge branch 'master' of github.com:jaredhendrickson13/pfsense-api in…
jaredhendrickson13 May 20, 2025
0d73211
Merge pull request #698 from vitspec99/FreeRADIUS-users
jaredhendrickson13 May 20, 2025
a257c17
tests: adjust FirewallRule tests for pfSense 2.8.0
jaredhendrickson13 May 21, 2025
9a19154
fix: clear gateway cache before applying routing changes
jaredhendrickson13 May 21, 2025
77d0f85
style: run prettier on changed files
jaredhendrickson13 May 21, 2025
5ffa656
fix: password hashes are now nested under an 'item' key
jaredhendrickson13 May 21, 2025
2675cd1
style: run prettier on changed files
jaredhendrickson13 May 21, 2025
40f17dc
fix: use get_pf_reserved() to identify reserved names instead of globals
jaredhendrickson13 May 22, 2025
bf9ef30
fix: replace OpenVPNClientSpecificOverride remove_route field with re…
jaredhendrickson13 May 22, 2025
ea3870d
fix: do not allow push_reset and remove_options to both be set
jaredhendrickson13 May 23, 2025
2102e7c
fix: adjust expected bool strings for push_reset
jaredhendrickson13 May 23, 2025
496ca39
fix: use new services_dhcpd_configure() function to apply DHCP Server…
jaredhendrickson13 May 23, 2025
93e6330
fix: trim leading and extra slashes in config paths
jaredhendrickson13 May 23, 2025
aeed77c
ci: deprecate builds and tests for pfSense 2.7.2 and 24.03
jaredhendrickson13 May 26, 2025
85a805a
tests: debug PortForward natreflection test
jaredhendrickson13 May 26, 2025
7028bd0
fix: clear dirty dhcp subsystem after applying
jaredhendrickson13 May 26, 2025
2b3411d
tests: remove defaultleasetime and maxleasetime from DHCPServerAddres…
jaredhendrickson13 May 26, 2025
6951958
fix: ensure a sane default is used for ConfigHistoryRevision's 'files…
jaredhendrickson13 May 26, 2025
b9d927e
- wrong named FreeRADIUSUser.inc deleted due ServicesFreeRADIUSUser(s…
vitspec99 May 26, 2025
13379b3
fix: better normalize config paths beforing writing/reading
jaredhendrickson13 May 29, 2025
c241b45
fix: format ca config for cert_renew in CertificateAuthorityRenew
jaredhendrickson13 May 29, 2025
09c9097
tests: check trust store directory in CertificateAuthority tests inst…
jaredhendrickson13 May 29, 2025
ead4396
fix: format cert config for cert_renew in CertificateRenew
jaredhendrickson13 May 29, 2025
d285618
fix: format crl config for crl_update in CertificateRevocationList
jaredhendrickson13 May 29, 2025
ec4e12e
tests: adjust nat reflection pattern checks in PortForward tests
jaredhendrickson13 May 29, 2025
43e8fb8
style: run prettier on changed files
jaredhendrickson13 May 29, 2025
7252634
fix: ensure ConfigHistoryRevision default is >=0
jaredhendrickson13 May 29, 2025
52fb6f6
ci: don't test on pfsense 2.7.2
jaredhendrickson13 May 29, 2025
bd7f554
feat: add 'advanced' field to HAProxyBackendServer #682
jaredhendrickson13 May 29, 2025
66cc8a0
Comments fixed
vitspec99 May 29, 2025
47c972e
ci: build, deploy and test against pfSense-2.8.0-RELEASE
jaredhendrickson13 May 29, 2025
5bd1bf6
fix: update ui button css classes #620
jaredhendrickson13 May 30, 2025
09795d1
ci: make 2.8.0 the default pfsense version in releases
jaredhendrickson13 May 30, 2025
2e8d378
- wrong named FreeRADIUSUser.inc deleted due ServicesFreeRADIUSUser(s…
vitspec99 May 26, 2025
2916d75
Comments fixed
vitspec99 May 29, 2025
13a7b27
Merge pull request #701 from vitspec99/FreeRADIUS-users
jaredhendrickson13 May 30, 2025
434882b
docs: update supported versions
jaredhendrickson13 May 30, 2025
0c2b268
feat: add OpenVPNLog Model, Endpoint and tests
jaredhendrickson13 May 31, 2025
d37af63
feat: add AuthLog Model, Endpoint and tests
jaredhendrickson13 May 31, 2025
e80ece0
Merge branch 'next_minor' of github.com:jaredhendrickson13/pfsense-ap…
jaredhendrickson13 May 31, 2025
8e916df
style: make format consistent in FreeRADIUSUser model
jaredhendrickson13 May 31, 2025
dafa390
chore: add help texts to FreeRADIUSUser fields
jaredhendrickson13 May 31, 2025
345e484
chore: make FreeRADIUSUser 'motp_enable' a BooleanField
jaredhendrickson13 May 31, 2025
7a5c0a0
chore: replace FreeRADIUS _create override with validate_extra
jaredhendrickson13 May 31, 2025
0b8b74a
chore: optimize imports
jaredhendrickson13 May 31, 2025
c3fe50a
chore: add return types for FreeRADIUSUser apply_create and apply_delete
jaredhendrickson13 May 31, 2025
76cf27a
chore: change conditions to expect motp_enable as boolean
jaredhendrickson13 May 31, 2025
226dd9f
chore: add missing doc string to FreeRADIUSUser validate_extra
jaredhendrickson13 May 31, 2025
35c42a6
feat: allow FreeRADIUSUsers to be updated and replaced
jaredhendrickson13 May 31, 2025
0efdc21
tests: add tests for the FreeRADIUSUser model
jaredhendrickson13 May 31, 2025
0b951c8
feat: use standard cron expressions for dispatcher schedules
jaredhendrickson13 May 31, 2025
5e4429f
fix: run AvailablePackageCache at irregular interval #700
jaredhendrickson13 May 31, 2025
6e2fa88
fix: improve file cleanup when the package is deleted
jaredhendrickson13 May 31, 2025
e392334
build: use FreeBSD 15 for vagrant builds by default
jaredhendrickson13 May 31, 2025
3b4ae01
feat: fully implement WireGuardTunnel 'descr' field #705
jaredhendrickson13 May 31, 2025
78bdb7e
fix: allow WireGuardTunnel 'descr' to be empty
jaredhendrickson13 May 31, 2025
3363f33
tests: corrected expected schedule string in Dispatcher test
jaredhendrickson13 May 31, 2025
7db1947
tests: check correct cron syntax in Dispatcher
jaredhendrickson13 May 31, 2025
4b40141
style: run prettier on changed files
jaredhendrickson13 May 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
strategy:
matrix:
include:
- FREEBSD_VERSION: FreeBSD-14.0-CURRENT
FREEBSD_ID: freebsd14
- FREEBSD_VERSION: FreeBSD-15.0-CURRENT
FREEBSD_ID: freebsd15

Expand Down Expand Up @@ -57,8 +55,8 @@ jobs:
strategy:
matrix:
include:
- PFSENSE_VERSION: pfSense-2.7.2-RELEASE
FREEBSD_ID: freebsd14
- PFSENSE_VERSION: pfSense-2.8.0-RELEASE
FREEBSD_ID: freebsd15
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
Expand Down Expand Up @@ -105,8 +103,8 @@ jobs:
strategy:
matrix:
include:
- PFSENSE_VERSION: pfSense-2.7.2-RELEASE
FREEBSD_ID: freebsd14
- PFSENSE_VERSION: pfSense-2.8.0-RELEASE
FREEBSD_ID: freebsd15
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
Expand All @@ -132,8 +130,8 @@ jobs:
strategy:
matrix:
include:
- PFSENSE_VERSION: pfSense-2.7.2-RELEASE
FREEBSD_ID: freebsd14
- PFSENSE_VERSION: pfSense-2.8.0-RELEASE
FREEBSD_ID: freebsd15

steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ concurrency: build
env:
SWAGGER_UI_VERSION: "5.17.10"
PYTHON_VERSION: "3.10"
DEFAULT_PFSENSE_VERSION: "2.7.2"
DEFAULT_PFSENSE_VERSION: "2.8.0"

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
Expand All @@ -26,10 +26,8 @@ jobs:
matrix:
include:
# Note: The first item in this matrix must use env.DEFAULT_PFSENSE_VERSION as the PFSENSE_VERSION!
- FREEBSD_VERSION: FreeBSD-14.0-CURRENT
PFSENSE_VERSION: "2.7.2"
- FREEBSD_VERSION: FreeBSD-15.0-CURRENT
PFSENSE_VERSION: "24.03"
PFSENSE_VERSION: "2.8.0"
- FREEBSD_VERSION: FreeBSD-15.0-CURRENT
PFSENSE_VERSION: "24.11"

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ commands are included below for quick reference.
Install on pfSense CE:

```bash
pkg-static add https://github.com/jaredhendrickson13/pfsense-api/releases/latest/download/pfSense-2.7.2-pkg-RESTAPI.pkg
pkg-static add https://github.com/jaredhendrickson13/pfsense-api/releases/latest/download/pfSense-2.8.0-pkg-RESTAPI.pkg
```

Install on pfSense Plus:

```bash
pkg-static -C /dev/null add https://github.com/jaredhendrickson13/pfsense-api/releases/latest/download/pfSense-24.03-pkg-RESTAPI.pkg
pkg-static -C /dev/null add https://github.com/jaredhendrickson13/pfsense-api/releases/latest/download/pfSense-24.11-pkg-RESTAPI.pkg
```

> [!WARNING]
Expand Down
8 changes: 4 additions & 4 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
Vagrant.configure("2") do |config|
config.vm.guest = :freebsd
config.vm.box = ENV['FREEBSD_VERSION'] || "freebsd/FreeBSD-14.0-CURRENT"
config.vm.box = ENV['FREEBSD_VERSION'] || "freebsd/FreeBSD-15.0-CURRENT"
config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", disabled: true
config.ssh.shell = "sh"
config.vm.base_mac = "080027D14C66"

config.vm.provision "shell", inline: <<-SHELL
pkg update
pkg upgrade
pkg install -y python38
pkg install -y python311
pkg install -y php82-composer
pkg install -y gitup
gitup ports
su vagrant -c "python3.8 -m ensurepip"
su vagrant -c "python3.8 -m pip install jinja2"
su vagrant -c "python3.11 -m ensurepip"
su vagrant -c "python3.11 -m pip install jinja2"
SHELL
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
Expand Down
290 changes: 140 additions & 150 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading