Skip to content

Commit b4c35a4

Browse files
Merge branch 'master' of github.com:jaredhendrickson13/pfsense-api into next_minor
2 parents 51d5efc + 90eb8e8 commit b4c35a4

File tree

8 files changed

+37
-36
lines changed

8 files changed

+37
-36
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
/usr/local/bin/VBoxManage controlvm ${{ matrix.FREEBSD_VERSION }} poweroff || true
4747
/usr/local/bin/VBoxManage snapshot ${{matrix.FREEBSD_VERSION}} restore initial
4848
49-
- uses: actions/upload-artifact@v5
49+
- uses: actions/upload-artifact@v6
5050
with:
5151
name: pfSense-pkg-RESTAPI-${{ env.BUILD_VERSION }}-${{ matrix.FREEBSD_ID }}.pkg
5252
path: pfSense-pkg-RESTAPI-${{ env.BUILD_VERSION }}-${{ matrix.FREEBSD_ID }}.pkg
@@ -63,7 +63,7 @@ jobs:
6363
FREEBSD_ID: freebsd15
6464
steps:
6565
- uses: actions/checkout@v6
66-
- uses: actions/download-artifact@v6
66+
- uses: actions/download-artifact@v7
6767
with:
6868
name: pfSense-pkg-RESTAPI-${{ env.BUILD_VERSION }}-${{ matrix.FREEBSD_ID }}.pkg
6969
path: pfSense-pkg-RESTAPI-${{ env.BUILD_VERSION }}-${{ matrix.FREEBSD_ID }}.pkg
@@ -96,7 +96,7 @@ jobs:
9696
/usr/local/bin/VBoxManage controlvm ${{ matrix.PFSENSE_VERSION }} poweroff || true
9797
/usr/local/bin/VBoxManage snapshot ${{ matrix.PFSENSE_VERSION }} restore initial
9898
99-
- uses: actions/upload-artifact@v5
99+
- uses: actions/upload-artifact@v6
100100
with:
101101
name: openapi-${{ matrix.PFSENSE_VERSION }}.json
102102
path: openapi-${{ matrix.PFSENSE_VERSION }}.json
@@ -113,7 +113,7 @@ jobs:
113113
FREEBSD_ID: freebsd15
114114
steps:
115115
- uses: actions/checkout@v6
116-
- uses: actions/download-artifact@v6
116+
- uses: actions/download-artifact@v7
117117
with:
118118
name: openapi-${{ matrix.PFSENSE_VERSION }}.json
119119
path: openapi-${{ matrix.PFSENSE_VERSION }}.json
@@ -144,7 +144,7 @@ jobs:
144144
steps:
145145
- uses: actions/checkout@v6
146146

147-
- uses: actions/download-artifact@v6
147+
- uses: actions/download-artifact@v7
148148
with:
149149
name: pfSense-pkg-RESTAPI-${{ env.BUILD_VERSION }}-${{ matrix.FREEBSD_ID }}.pkg
150150
path: pfSense-pkg-RESTAPI-${{ env.BUILD_VERSION }}-${{ matrix.FREEBSD_ID }}.pkg

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
/usr/local/bin/VBoxManage controlvm ${{ matrix.FREEBSD_VERSION }} poweroff || true
6161
/usr/local/bin/VBoxManage snapshot ${{matrix.FREEBSD_VERSION}} restore initial
6262
63-
- uses: actions/upload-artifact@v5
63+
- uses: actions/upload-artifact@v6
6464
with:
6565
name: pfSense-${{ matrix.PFSENSE_VERSION }}-pkg-RESTAPI.pkg
6666
path: pfSense-${{ matrix.PFSENSE_VERSION }}-pkg-RESTAPI.pkg
@@ -76,7 +76,7 @@ jobs:
7676
steps:
7777
- uses: actions/checkout@v6
7878

79-
- uses: actions/download-artifact@v6
79+
- uses: actions/download-artifact@v7
8080
with:
8181
name: pfSense-${{ env.DEFAULT_PFSENSE_VERSION }}-pkg-RESTAPI.pkg
8282
path: pfSense-${{ env.DEFAULT_PFSENSE_VERSION }}-pkg-RESTAPI.pkg
@@ -112,13 +112,13 @@ jobs:
112112
/usr/local/bin/VBoxManage snapshot pfSense-${{ env.DEFAULT_PFSENSE_VERSION }}-RELEASE restore initial
113113
114114
- name: Upload OpenAPI schema
115-
uses: actions/upload-artifact@v5
115+
uses: actions/upload-artifact@v6
116116
with:
117117
name: openapi.json
118118
path: openapi.json
119119

120120
- name: Upload GraphQL schema
121-
uses: actions/upload-artifact@v5
121+
uses: actions/upload-artifact@v6
122122
with:
123123
name: schema.graphql
124124
path: schema.graphql
@@ -151,13 +151,13 @@ jobs:
151151
mv ./site/* ./www/
152152
153153
- name: Download OpenAPI schema
154-
uses: actions/download-artifact@v6
154+
uses: actions/download-artifact@v7
155155
with:
156156
name: openapi.json
157157
path: openapi.json
158158

159159
- name: Download GraphQL schema
160-
uses: actions/download-artifact@v6
160+
uses: actions/download-artifact@v7
161161
with:
162162
name: schema.graphql
163163
path: schema.graphql

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"require": {
3-
"firebase/php-jwt": "v6.11.*",
3+
"firebase/php-jwt": "v7.0.*",
44
"webonyx/graphql-php": "^15.13"
55
}
66
}

composer.lock

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"devDependencies": {
3-
"prettier": "^3.7.3",
3+
"prettier": "^3.7.4",
44
"@prettier/plugin-php": "^0.24.0",
55
"@stoplight/spectral-cli": "^6.15.0"
66
}

pfSense-pkg-RESTAPI/files/usr/local/pkg/RESTAPI/ModelTraits/OpenVPNClientExportTraits.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ trait OpenVPNClientExportTraits {
193193
public function validate_legacy(bool $legacy): bool {
194194
if ($legacy) {
195195
global $legacy_incompatible_ciphers;
196+
$legacy_incompatible_ciphers = $legacy_incompatible_ciphers ?? [];
196197
$settings = get_openvpnserver_by_id($this->server->value);
197198
if (in_array($settings['data_ciphers_fallback'], $legacy_incompatible_ciphers)) {
198199
throw new ConflictError(

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
jinja2~=3.1.6
22
pylint~=4.0.4
3-
black~=25.11.0
3+
black~=25.12.0
44
mkdocs~=1.6.1

0 commit comments

Comments
 (0)