Ad Schellevis
42eab8f94f
add Tokenize2 to core, should eventually replace the old one, but better fix functionality first. The old one has quite difficult handling with events, which complicated https://github.com/opnsense/core/issues/1858
...
this item however was also on the list in https://github.com/opnsense/core/issues/2227
2018-06-11 22:46:31 +02:00
Ad Schellevis
c10b69cd05
typo, feedback from poeditor
2018-06-11 17:27:30 +02:00
Franco Fichtner
41a111b056
menu: drop trailing slash part two
2018-06-11 14:38:15 +02:00
Ad Schellevis
5ea028d824
MVC, when pushing attributes to a form using setFormData() tigger onChange event to support custom hooks, a bit related to https://github.com/opnsense/core/issues/1858
2018-06-11 14:24:19 +02:00
Franco Fichtner
5d60c32c75
menu: drop trailing slashes
2018-06-11 14:23:01 +02:00
Ad Schellevis
2408d6a126
change rule "interface address" parsing to use "interface:0" in stead of "interface", for https://github.com/opnsense/core/issues/2457
2018-06-11 09:17:01 +02:00
Franco Fichtner
4ee000098a
Keywords: do not hint at deleting files needed
...
This is shown on deinstall, but deinstall is really just
reinstall or upgrade.
2018-06-11 08:41:00 +02:00
Franco Fichtner
cf91b51633
rc: migrate files to new rc.syshook layout
2018-06-11 05:24:41 +00:00
Franco Fichtner
bd691df008
rc: rc.syshook ordering issue old vs. new layout
...
Migrate all scripts in order to not break sorting.
2018-06-11 05:18:25 +00:00
Franco Fichtner
5dd6901b2b
rc: sprinkle more exec, better rc.syshook usage in shutdown
2018-06-11 00:03:43 +02:00
Franco Fichtner
a738f9f7ee
rc: expire was weird...
...
We modified $index and $count but that is not what helps
iterate over all accounts. Furthermore, if accounts are
disabled, not only write the config but also let the system
know that accounts need to be disabled... ;)
2018-06-11 00:01:57 +02:00
Franco Fichtner
fab3238a16
rc: move cron jobs as well
2018-06-10 23:39:10 +02:00
Franco Fichtner
185d8fab90
rc: do not leak banner.php script location
2018-06-10 20:00:23 +00:00
Franco Fichtner
177ca71909
system: move carp to rc.syshook
...
Cut out the middleman that is rc.carp and allow fully
plugabble calls to rc.syshook carp instead...
Make the "return" statements actual errors, and change
the level for the devd script to 101 to align with the
other custom hooks that we use.
CC: @adschellevis
2018-06-10 19:44:17 +00:00
Franco Fichtner
43966ce7b7
rc: pluggable backup via rc.syshook
...
To achieve this pass additional arguments and also parse
a subdirectory to find the appropriate scripts. Eventually
it should make exclusive use of the directories.
2018-06-10 19:08:05 +00:00
Ad Schellevis
f9f896533c
OpenVPN server, allow cloning of servers.
2018-06-10 11:33:49 +02:00
Franco Fichtner
86d9bbb267
rc: typo in previous
2018-06-07 11:56:09 +02:00
Franco Fichtner
0008970cdc
rc: merge carp scripts
2018-06-07 09:54:23 +00:00
Franco Fichtner
4e7b97cc39
rc: small carp audit, we should merge both scripts and use $type in devd
2018-06-07 11:30:39 +02:00
Franco Fichtner
5a388966dc
openvpn: audit creation process #2440
2018-06-07 08:38:01 +00:00
Franco Fichtner
47bb783c26
openvpn: small issue in style #2440
2018-06-06 20:25:39 +00:00
Franco Fichtner
4e1cddf3bb
openvpn: why not delete the interface? #2450
2018-06-06 22:16:03 +02:00
Alexander Shursha
2896c69d0d
Translate tunables.
2018-06-06 17:50:30 +02:00
Ad Schellevis
901d63cee6
groups, validation issue, spaces are not allowed here
2018-06-06 09:33:48 +02:00
Franco Fichtner
49021d93e7
openvpn: #2440
...
Only firewall pages left...
2018-06-05 19:49:59 +00:00
Franco Fichtner
02ca3bd6f3
openvpn: style #2440
2018-06-05 19:39:06 +00:00
Franco Fichtner
1d6b49090f
www: missed some spots #2440
...
Remove static wol references, going away in 18.7 and
wol hasn't been in the default install for a while.
2018-06-05 19:36:36 +00:00
Franco Fichtner
83151f5632
dashboard: style for interface list #2440
2018-06-05 19:22:01 +00:00
Franco Fichtner
7693f344d4
unbound: style #2440
2018-06-05 19:16:08 +00:00
Franco Fichtner
161ea34ace
dhcp: v6 style #2440
2018-06-05 19:01:53 +00:00
Franco Fichtner
e541a547e9
dhcp: v4 page style #2440
2018-06-05 18:56:49 +00:00
Franco Fichtner
4d8c96057e
dnsmasq: style #2440
2018-06-05 18:49:19 +00:00
Franco Fichtner
93457293c9
services: start style update #2440
2018-06-05 17:40:51 +00:00
Franco Fichtner
390c0b3378
www: more style in various pages
2018-06-05 17:34:33 +00:00
Franco Fichtner
bb7b6a39eb
firewall: alias restyle #2440
2018-06-05 17:21:50 +00:00
Franco Fichtner
d8ba407978
system: rework this again #2443
2018-06-05 14:37:07 +02:00
Franco Fichtner
38a6867085
system: fix for % usage in exec_safe/mwexecf #2443
2018-06-05 14:31:06 +02:00
Franco Fichtner
df5dddaf87
pkg: fix plist
2018-06-04 20:50:25 +00:00
Franco Fichtner
07ef03335a
ipsec: style update #2440
2018-06-04 20:49:48 +00:00
Ad Schellevis
a14378c553
css add flags for https://github.com/opnsense/core/issues/1858
2018-06-04 22:19:38 +02:00
Ad Schellevis
a6a4a03724
IDS, typo in stylesheet
2018-06-04 21:40:19 +02:00
Franco Fichtner
c5ed71ad26
interfaces: style for #2440
2018-06-04 12:18:04 +00:00
Franco Fichtner
d621a6882d
www: diag pages style #2440
2018-06-04 11:34:13 +00:00
Franco Fichtner
f33f527cf1
system: rework style in remaining pages #2440
2018-06-04 11:20:59 +00:00
Franco Fichtner
e9850d0860
system: configuration section style cleanup #2440
2018-06-03 19:12:04 +00:00
Franco Fichtner
fef90667ca
system: authentication page consolidation for #2440
2018-06-03 19:04:36 +00:00
Franco Fichtner
cd7ebecdd3
system: restyle users and groups
2018-06-03 16:43:06 +00:00
Ad Schellevis
b36461e52c
Firewall/Util, add isDomain() method using the same logic as in the legacy code base, needed for https://github.com/opnsense/core/issues/1858
...
We probably could also use filter_var here, but while shifting to new code it's probably better to align the logic to avoid searching for inconsistencies after migration.
2018-06-03 18:32:08 +02:00
Franco Fichtner
333b505094
system: admin priv colouring adjustments
...
Use "page-all" for showing admin capabilities as user / group
icon in red. This allows to spot non-root users with full admin
capabilities and also which groups yield this power. The scope
should only be used for read-only access / deletetion prevention.
2018-06-03 16:14:09 +00:00
Ad Schellevis
b44b48cc2d
firewall/alias, wrong item referenced for outbound rules, closes https://github.com/opnsense/core/issues/1711
2018-06-03 18:08:12 +02:00