Skip to content

Commit 14e6cc0

Browse files
committed
Release 1.4.x
1 parent 742b92e commit 14e6cc0

File tree

4 files changed

+39
-17
lines changed

4 files changed

+39
-17
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# FauxAPI - v1.3
2-
A REST API interface for pfSense 2.3.x and 2.4.x to facilitate devops:-
1+
# FauxAPI - v1.4
2+
A REST API interface for pfSense 2.3.x, 2.4.x, 2.5.x to facilitate devops:-
33
- https://github.com/ndejong/pfsense_fauxapi
44

55
Additionally available are a set of [client libraries](#client-libraries)
@@ -935,10 +935,11 @@ curl \
935935
The FauxAPI has been developed against the following pfSense versions
936936
- **2.3.x** - 2.3.2, 2.3.3, 2.3.4, 2.3.5
937937
- **2.4.x** - 2.4.3, 2.4.4, 2.4.5
938+
- **2.5.x** - 2.5.0-DEVELOPMENT-amd64-20200527-1410
938939
939-
FauxAPI has not been tested against 2.3.0 or 2.3.1. Additionally, it is apparent that the pfSense
940-
packaging technique changed significantly prior to 2.3.x so it is unlikely that it will be
941-
backported to anything prior to 2.3.0.
940+
FauxAPI has not been tested against 2.3.0 or 2.3.1. Additionally, it is apparent the pfSense
941+
packaging technique changed significantly prior to 2.3.x so it is unlikely it will be backported
942+
to anything prior to 2.3.0.
942943
943944
Testing is reasonable but does not achieve 100% code coverage within the FauxAPI
944945
codebase. Two client side test scripts (1x Bash, 1x Python) that both
@@ -995,6 +996,11 @@ pfSense test infrastructure if it already exists.*
995996
- testing against pfSense 2.3.5
996997
- testing against pfSense 2.4.3
997998
999+
#### v1.4 - 2020-05-31
1000+
- Added **system_info** function to return various useful system information.
1001+
- include include `phpsessionmanager.inc` since it is commonly required in other function calls
1002+
- testing against pfSense 2.4.5
1003+
- testing against pfSense 2.5.0 (pfSense-CE-2.5.0-DEVELOPMENT-amd64-20200527-1410.iso)
9981004
9991005
## FauxAPI License
10001006
```

pfSense-pkg-FauxAPI/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# $FreeBSD$
22

33
PORTNAME= pfSense-pkg-FauxAPI
4-
PORTVERSION= 1.3
5-
PORTREVISION= 5
4+
PORTVERSION= 1.4
5+
PORTREVISION= 1
66
CATEGORIES= sysutils
77
MASTER_SITES= # empty
88
DISTFILES= # empty

pfSense-pkg-FauxAPI/files/usr/local/pkg/fauxapi.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* - A REST API interface for pfSense to facilitate dev-ops.
1010
* - https://github.com/ndejong/pfsense_fauxapi
1111
*
12-
* Copyright 2016 Nicholas de Jong
12+
* Copyright 2020 Nicholas de Jong
1313
*
1414
* Licensed under the Apache License, Version 2.0 (the "License");
1515
* you may not use this file except in compliance with the License.

pfSense-pkg-FauxAPI/files/usr/local/www/fauxapi/admin/about.php

Lines changed: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
<div>
4646
<!--READMESTART-->
4747
<h1>
48-
<a id="user-content-fauxapi---v13" class="anchor" href="#fauxapi---v13" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>FauxAPI - v1.3</h1>
49-
<p>A REST API interface for pfSense 2.3.x and 2.4.x to facilitate devops:-</p>
48+
<a id="user-content-fauxapi---v14" class="anchor" href="#fauxapi---v14" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>FauxAPI - v1.4</h1>
49+
<p>A REST API interface for pfSense 2.3.x, 2.4.x, 2.5.x to facilitate devops:-</p>
5050
<ul>
5151
<li><a href="https://github.com/ndejong/pfsense_fauxapi">https://github.com/ndejong/pfsense_fauxapi</a></li>
5252
</ul>
@@ -939,10 +939,18 @@ function thus causing all FauxAPI actions to be logged and auditable on a per
939939
<hr>
940940
<h2>
941941
<a id="user-content-versions-and-testing" class="anchor" href="#versions-and-testing" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Versions and Testing</h2>
942-
<p>The FauxAPI has been developed against pfSense 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.4.3, 2.4.4 it has
943-
not (yet) been tested against 2.3.0 or 2.3.1. Further, it is apparent that the pfSense
944-
packaging technique changed significantly prior to 2.3.x so it is unlikely that it will be
945-
backported to anything prior to 2.3.0.</p>
942+
<p>The FauxAPI has been developed against the following pfSense versions</p>
943+
<ul>
944+
<li>
945+
<strong>2.3.x</strong> - 2.3.2, 2.3.3, 2.3.4, 2.3.5</li>
946+
<li>
947+
<strong>2.4.x</strong> - 2.4.3, 2.4.4, 2.4.5</li>
948+
<li>
949+
<strong>2.5.x</strong> - 2.5.0-DEVELOPMENT-amd64-20200527-1410</li>
950+
</ul>
951+
<p>FauxAPI has not been tested against 2.3.0 or 2.3.1. Additionally, it is apparent the pfSense
952+
packaging technique changed significantly prior to 2.3.x so it is unlikely it will be backported
953+
to anything prior to 2.3.0.</p>
946954
<p>Testing is reasonable but does not achieve 100% code coverage within the FauxAPI
947955
codebase. Two client side test scripts (1x Bash, 1x Python) that both
948956
demonstrate and test all possible server side actions are provided. Under the
@@ -1000,15 +1008,23 @@ interface to (partly) address <a href="https://github.com/ndejong/pfsense_fauxap
10001008
<li>added a "source" attribute to the logs making it easier to grep fauxapi events,
10011009
for example <code>clog /var/log/system.log | grep fauxapi</code>
10021010
</li>
1003-
<li>plenty of dcoumentation fixes and updates</li>
1004-
<li>added documentation highlighting features and capabilities that existed without
1005-
them being obvious</li>
1011+
<li>plenty of documentation fixes and updates</li>
1012+
<li>added documentation highlighting features and capabilities that existed but were not
1013+
previously obvious</li>
10061014
<li>added the <a href="https://github.com/ndejong/pfsense_fauxapi/tree/master/extras"><code>extras</code></a> path
10071015
in the project repo as a better place to keep non-package files, <code>client-libs</code>, <code>examples</code>,
10081016
<code>build-tools</code> etc</li>
10091017
<li>testing against pfSense 2.3.5</li>
10101018
<li>testing against pfSense 2.4.3</li>
10111019
</ul>
1020+
<h4>
1021+
<a id="user-content-v14---2020-05-31" class="anchor" href="#v14---2020-05-31" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>v1.4 - 2020-05-31</h4>
1022+
<ul>
1023+
<li>Added <strong>system_info</strong> function to return various useful system information.</li>
1024+
<li>include include <code>phpsessionmanager.inc</code> since it is commonly required in other function calls</li>
1025+
<li>testing against pfSense 2.4.5</li>
1026+
<li>testing against pfSense 2.5.0 (pfSense-CE-2.5.0-DEVELOPMENT-amd64-20200527-1410.iso)</li>
1027+
</ul>
10121028
<h2>
10131029
<a id="user-content-fauxapi-license" class="anchor" href="#fauxapi-license" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>FauxAPI License</h2>
10141030
<pre><code>Copyright 2016-2020 Nicholas de Jong

0 commit comments

Comments
 (0)