Michael Steenbeek
5d49c6afcd
PHP: Fix lots of refs to undefined vars ( #2952 )
2018-11-22 09:22:57 +01:00
Franco Fichtner
a095c72857
firewall: avoid translating "by", remove excessive markup
2018-11-22 09:04:15 +01:00
Franco Fichtner
fcae284873
mvc: adapt headers
2018-11-22 08:57:00 +01:00
Franco Fichtner
69381716bc
system: always prefill these values according to perference; closes #2948
2018-11-21 18:26:13 +01:00
Franco Fichtner
b56aaecc8d
system: while at it...
2018-11-21 15:25:37 +01:00
Franco Fichtner
bfcfe4d823
system: avoid silent fatal error when OUs could not be retrieved
2018-11-21 15:09:17 +01:00
Franco Fichtner
e5cb29c344
firewall: previous broke page actually
2018-11-21 11:45:34 +01:00
Michael Steenbeek
7f09e04d81
Fix some HTML errors
2018-11-21 11:42:01 +01:00
Franco Fichtner
9325d87b4e
firmware: finalise mtree health check
...
Not what I was expecting from a base tool like mtree...
* Missing files are not seen as an error condition, so
remove our ignored files (they show up as nonexistent)
and then count how many files are missing. If there
is at least a missing file show the output and don't
say everything is swell.
* Since we prefilter MTREE_OUT on a real error just show
the output since it's likely there's an error to see.
2018-11-21 09:03:42 +01:00
Ad Schellevis
57bef4363f
OpenVPN type fix, for https://github.com/opnsense/core/issues/2787
2018-11-21 08:30:19 +01:00
Franco Fichtner
760300db52
firmware: stop checking /var due to MFS possibililty
2018-11-21 08:27:28 +01:00
Franco Fichtner
10df4a19a3
openvpn: style fixes, annotate property issue
2018-11-21 08:03:46 +01:00
Franco Fichtner
cecd7b68c1
ui: whitespace sweep says this file needs a lot of cleanups
2018-11-21 08:03:06 +01:00
Franco Fichtner
32c5691951
system: fix visibility in NextCloud backup class
2018-11-21 08:02:34 +01:00
Franco Fichtner
dd16e3d4da
system: fix clashing vars in previous function merge #2914 #2948
2018-11-21 07:25:49 +01:00
Ad Schellevis
ceb54b9657
OpenVPN export, move base filename into own method for easier reuse. https://github.com/opnsense/core/issues/2787
2018-11-20 20:39:31 +01:00
Ad Schellevis
0a0e5ee747
OpenVPN export, regression in configuredSetttings(), use collected presets when server settings aren't found. for https://github.com/opnsense/core/issues/2787
2018-11-20 20:23:48 +01:00
Ad Schellevis
9d782f5008
OpenVPN export, implement (zip) archive format. for https://github.com/opnsense/core/issues/2787
2018-11-20 20:04:39 +01:00
Ad Schellevis
a11c26d9e5
OpenVPN export, fix some regressions in file export. for https://github.com/opnsense/core/issues/2787
2018-11-20 20:04:01 +01:00
Ad Schellevis
53b43e7397
OpenVPN export, add ca's in export_pkcs12() for https://github.com/opnsense/core/issues/2787
2018-11-20 20:02:42 +01:00
Ad Schellevis
f7dce2da6b
OpenVPN export, !empty() and 0... for https://github.com/opnsense/core/issues/2787
2018-11-20 20:01:47 +01:00
Ad Schellevis
d5770f0225
OpenVPN export, hostname is required. for https://github.com/opnsense/core/issues/2787
2018-11-20 20:01:06 +01:00
Ad Schellevis
53364c35ba
OpenVPN export, fix download binary content, pass base64 to data: element. for https://github.com/opnsense/core/issues/2787
2018-11-20 19:59:44 +01:00
Franco Fichtner
f3cb7e51ca
man: fix date
2018-11-20 18:48:41 +01:00
Franco Fichtner
245401492b
importer: make clear that /conf/config.xml is required
2018-11-20 18:44:02 +01:00
Michael Steenbeek
fdd9d606a9
ipsec.inc: Initialise vars, fix misspelling, remove unused vars ( #2942 )
2018-11-20 17:55:34 +01:00
Ad Schellevis
e0692a85b3
Javascript, fix multiple issues
2018-11-20 16:20:05 +01:00
Michael Steenbeek
0b1f1ec735
Fix #2645 : IPsec debug not working ( #2941 )
2018-11-20 13:26:39 +01:00
Ad Schellevis
2ac140318f
OpenVPN export, p12 password is optional for applicable types, for https://github.com/opnsense/core/issues/2787
2018-11-20 11:21:45 +01:00
Michael Steenbeek
1923dbeb25
Add src/opnsense/www/.htrouter.php to .gitignore ( #2937 )
2018-11-20 11:04:14 +01:00
Michael Steenbeek
46d49602dd
Fix #2612 : Check gets pushed too far away on long descriptions
2018-11-20 11:02:51 +01:00
Michael Steenbeek
9d6ae78448
Implement #2848 : Update bootstrap-select to v1.13.3
2018-11-20 11:02:51 +01:00
Michael Steenbeek
db93291cb9
Clean up generation of strongswan.conf ( #2940 )
2018-11-20 11:02:21 +01:00
Ad Schellevis
063bf6ccb2
openvpn: cleanups
2018-11-20 10:18:46 +01:00
Franco Fichtner
af59982489
mvc: translate validation messages in PortField
2018-11-20 09:28:01 +01:00
Franco Fichtner
90cd162fec
system: inline get_dpinger_status() #2914
...
Avoids a couple of calls and checks...
2018-11-20 09:06:54 +01:00
Franco Fichtner
6e4538d98c
system: simplify return_gateways_status() for #2914
...
* Fill default values first before going through the monitors.
* Remove $byname = false, we can still look up the gateway.
* Avoid calling functions twice; remove spurious variables.
* Use stristr() where status is read to avoid mismatches.
* Kill 'srcip' and 'monitorip' weirdness.
2018-11-20 08:46:48 +01:00
Franco Fichtner
936a50ba95
system: switch default argument for return_gateways_status()
...
Loosely related to #2914 , $byname = true seems to be the default
and not returning by name has little benefit. Getting rid of the
argument in the next commit.
2018-11-20 08:11:56 +01:00
Franco Fichtner
ca1a5fc4a2
system: IPv6 static gateway lookup #2914
2018-11-20 08:05:55 +01:00
Franco Fichtner
f5d4c2b85b
system: gateway lookup should honour disable flag #2914
2018-11-20 07:57:51 +01:00
Franco Fichtner
95ef3e917e
rc: make this more obvious
...
PR: https://forum.opnsense.org/index.php?topic=10306.0
2018-11-20 06:20:01 +01:00
Ad Schellevis
811d9efd65
OpenVPN export, inline cert+key for https://github.com/opnsense/core/issues/2787
2018-11-19 22:17:19 +01:00
Ad Schellevis
0b028c1799
OpenVPN export, work in progress for https://github.com/opnsense/core/issues/2787
...
Add custom input and cleanup supportedOptions() method
2018-11-19 22:00:23 +01:00
Franco Fichtner
94f49e3627
system: improve previous slightly #2914
2018-11-19 21:54:45 +01:00
Ad Schellevis
f623fc6249
OpenVPN export, decode certificate+private key before usage. for https://github.com/opnsense/core/issues/2787
2018-11-19 21:48:44 +01:00
Ad Schellevis
d001f34479
OpenVPN export, add export_pkcs12() to BaseExporter for easy pkcs12 generation. for https://github.com/opnsense/core/issues/2787
...
Example usage (from inherited object):
$p12 = $this->export_pkcs12($this->config['client_crt'], $this->config['client_prv'], $this->config['p12_password']);
2018-11-19 21:45:59 +01:00
opnsenseuser
04df3de895
sidebar - performance & optimisation; closes #2938
2018-11-19 21:02:39 +01:00
Franco Fichtner
a66c8df416
system: allow auto-detect of gateways in static IPv4 setup #2914
...
A bit more weirdness here. It's time for a larger rework...
2018-11-19 17:46:22 +00:00
Ad Schellevis
a945e8b64d
Openvpn export, add p12 password input for https://github.com/opnsense/core/issues/2787
2018-11-19 18:24:08 +01:00
Franco Fichtner
6bf0dbd70b
firmware: extend health checks, avoid issues with our mods
2018-11-19 17:01:37 +00:00