-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #172 from jaredhendrickson13/v140
v1.4.0 Features & Fixes
- Loading branch information
Showing
182 changed files
with
17,813 additions
and
24,291 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
.idea | ||
tests/unit_test_framework/__pycache__/ | ||
tests/e2e_test_framework/__pycache__/ | ||
*.DS_Store | ||
.phplint-cache | ||
|
||
*.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
pfSense-pkg-API/files/etc/inc/api/endpoints/APIFirewallRuleSort.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
// Copyright 2022 Jared Hendrickson | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
require_once("api/framework/APIEndpoint.inc"); | ||
|
||
class APIFirewallRuleSort extends APIEndpoint { | ||
public function __construct() { | ||
$this->url = "/api/v1/firewall/rule/sort"; | ||
} | ||
|
||
protected function put() { | ||
return (new APIFirewallRuleSortUpdate())->call(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
pfSense-pkg-API/files/etc/inc/api/endpoints/APIServicesDHCPdOptions.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
// Copyright 2022 Jared Hendrickson | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
require_once("api/framework/APIEndpoint.inc"); | ||
|
||
class APIServicesDHCPdOptions extends APIEndpoint { | ||
public function __construct() { | ||
$this->url = "/api/v1/services/dhcpd/options"; | ||
} | ||
|
||
protected function post() { | ||
return (new APIServicesDHCPdOptionsCreate())->call(); | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
pfSense-pkg-API/files/etc/inc/api/endpoints/APISystemCRL.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
// Copyright 2021 Jared Hendrickson | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
require_once("api/framework/APIEndpoint.inc"); | ||
|
||
class APISystemCRL extends APIEndpoint { | ||
public function __construct() { | ||
$this->url = "/api/v1/system/crl"; | ||
} | ||
|
||
protected function get() { | ||
return (new APISystemCRLRead())->call(); | ||
} | ||
|
||
protected function post() { | ||
return (new APISystemCRLCreate())->call(); | ||
} | ||
|
||
protected function delete() { | ||
return (new APISystemCRLDelete())->call(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
pfSense-pkg-API/files/etc/inc/api/endpoints/APISystemPackage.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?php | ||
// Copyright 2022 Jared Hendrickson | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
require_once("api/framework/APIEndpoint.inc"); | ||
|
||
class APISystemPackage extends APIEndpoint { | ||
public function __construct() { | ||
$this->url = "/api/v1/system/package"; | ||
$this->query_excludes = ["all"]; | ||
} | ||
|
||
protected function get() { | ||
return (new APISystemPackageRead())->call(); | ||
} | ||
|
||
protected function post() { | ||
return (new APISystemPackageCreate())->call(); | ||
} | ||
|
||
protected function delete() { | ||
return (new APISystemPackageDelete())->call(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
pfSense-pkg-API/files/etc/inc/api/endpoints/APIUserGroupMember.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
// Copyright 2022 Jared Hendrickson | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
require_once("api/framework/APIEndpoint.inc"); | ||
|
||
class APIUserGroupMember extends APIEndpoint { | ||
public function __construct() { | ||
$this->url = "/api/v1/user/group/member"; | ||
} | ||
|
||
protected function post() { | ||
return (new APIUserGroupMemberCreate())->call(); | ||
} | ||
|
||
protected function delete() { | ||
return (new APIUserGroupMemberDelete())->call(); | ||
} | ||
} |
Oops, something went wrong.