6100 Commits

Author SHA1 Message Date
Ad Schellevis
e434df240c (mvc) remove incomplete error handling, was superseded 22701ee038 (diff-755c67cb284868a802a88a873c75038c) closes https://github.com/opnsense/core/issues/1234 2016-10-22 13:20:48 +02:00
Ad Schellevis
5a6f5b6422 (ipsec) restart should stop/start the service in stead of trying an apply again.
The current issue is you can't actually restart ipsec without disabling and enabling the service, which is odd and confusing.

Convert actions to configd template and change service registration.
2016-10-22 10:56:59 +02:00
Franco Fichtner
6d2c81d74b plugins: everything should be plugins...
Since plugins are now tied to the heartbeat of the system itself,
it makes sense to split out hardcoded base functionality into
their pluggable counterparts.  Start with the candidates that
already have a plugin file.

Discussed with: @adschellevis
2016-10-21 08:52:30 +02:00
Franco Fichtner
67aeec79be pkg: plist fixed 2016-10-21 08:30:25 +02:00
Franco Fichtner
023090c006 Merge pull request #1231 from fabianfrz/fix_squid_config
fix broken squid configuration
2016-10-21 07:31:58 +02:00
Fabian Franz
bbab5ea335 fix broken squid configuration 2016-10-20 21:17:46 +02:00
Ad Schellevis
1667f2c397 (traffic shaper) add support for address lists, and invert src/dst. closes https://github.com/opnsense/core/issues/1226 2016-10-18 21:30:28 +02:00
Ad Schellevis
acb242efee (mvc, model) add support for lists of networks/addresses in NetworkField, requirement for https://github.com/opnsense/core/issues/1226 2016-10-18 20:59:46 +02:00
Ad Schellevis
f864511762 (proxy) add basic auth support for remote ACL's, replace urllib2 with requests. 2016-10-17 22:13:37 +02:00
Ad Schellevis
1af75a8258 (theme) add support for custom theme.js hook (3), login page missing jQuery... 2016-10-17 21:09:08 +02:00
Ad Schellevis
c34ac4df00 (theme) add support for custom theme.js hook (2), login page 2016-10-17 21:01:55 +02:00
Ad Schellevis
2155d52f38 (theme/style) remove table-sort style, cleanup. 2016-10-17 18:53:55 +02:00
Ad Schellevis
6f2bd69847 (theme) add support for custom theme.js hook 2016-10-17 16:01:00 +02:00
Ad Schellevis
d82608e143 (theme) fix spacing 2016-10-17 15:08:12 +02:00
Ad Schellevis
38fc7d4d41 ndp status page not showing all entries, fix data-identifier for both ndp and arp 2016-10-17 13:13:54 +02:00
Ad Schellevis
870fcde171 wrong order, fixes performance issues on status_interfaces.php 2016-10-17 11:55:52 +02:00
Ad Schellevis
f5acc7f446 PSR style fixes for https://github.com/opnsense/core/pull/1150 2016-10-17 11:48:58 +02:00
Ad Schellevis
87d2cc6fe5 Merge pull request #1150 from pv2b/improve-validation-exception
(BaseModel) Always log the class where validation failed
2016-10-17 09:17:02 +02:00
Franco Fichtner
5e127d5e35 pkg: fix plist for previous 2016-10-17 08:42:40 +02:00
Ad Schellevis
58ca02846b (IDS) extend support for compressed files with "inline::" keyword to be able to download parts of an archive (required to download snort rules).
Change processing order to always stream data to tempfiles first, so we can reuse downloaded files (an archive scan isn't very expensive)
2016-10-16 19:26:55 +02:00
Ad Schellevis
fe81d2e887 (IDS) add support for compressed rule files, unpack *.rules into defined target filename 2016-10-16 16:54:05 +02:00
Franco Fichtner
9cfd81e194 Revert "shaper: core component shouldn't use a plugin file"
This reverts commit 5e1bb85658e0ba6f865e386b522852563d8cf5e2.
2016-10-16 12:13:55 +02:00
Franco Fichtner
5e1bb85658 shaper: core component shouldn't use a plugin file
We don't know the ultimate performance penalty of using plugins
for every component, so for now keep core functionality in
services.inc.
2016-10-16 11:33:57 +02:00
Ad Schellevis
b37375228c (services.inc / services_radvd_configure) more duplication for https://github.com/opnsense/core/issues/1196 2016-10-15 12:19:34 +02:00
Ad Schellevis
607d8eccd0 (services.inc / services_radvd_configure) fix for https://github.com/opnsense/core/issues/1196 and cleanups
Quite some inconsistencies in this function, parameters that can't be set, lack of logic and code duplication.
* removes get_configured_pppoe_server_interfaces(), which can't work anyway... pppoe server interfaces are registered via the plugin itself.
* $dhcpv6ifconf['mode'] can't be set anywhere....
* don't try to revalidate rainterface
* collect "real interface" from dhcpif, shouldn't use carp if
* remove code duplication in dns collection
* move checks up for interface we should skip (when possible)
2016-10-15 12:00:09 +02:00
Ad Schellevis
dc3b4419a3 (traffic shaper) add service control, closes https://github.com/opnsense/core/issues/1217 2016-10-14 21:36:23 +02:00
Ad Schellevis
02956706e2 (services) add support for "non stoppable" services, configuration options without status. needed for https://github.com/opnsense/core/issues/1217 2016-10-14 21:32:56 +02:00
Franco Fichtner
a53938e42c rc: update recovery templates for FreeBSD 11.0 2016-10-14 17:02:06 +02:00
Franco Fichtner
96b8cbe2a5 rc: run through more static updates before applying updates 2016-10-14 17:01:08 +02:00
Franco Fichtner
7b7d7ab7ea rc: mute ssh kill, it fails on boot up for good reasons 2016-10-14 16:56:12 +02:00
Franco Fichtner
5365f3802b system: add Czech to language selection 2016-10-14 08:08:27 +02:00
Franco Fichtner
c5c1c11049 ntp: fixed typos
Spotted by: pavelb
2016-10-13 23:07:14 +02:00
Franco Fichtner
bb991e8627 Merge pull request #1216 from kekek2/master
Add translatable template
2016-10-13 09:47:57 +02:00
Alexander Shursha
6735984b29 Add translatable template 2016-10-13 10:45:13 +03:00
Ad Schellevis
0fd140660c (Captive portal) add expire voucher option, closes https://github.com/opnsense/core/issues/899 2016-10-12 20:15:38 +02:00
Ad Schellevis
25d8428cb6 (IDS) hide toggle buttons after grid load, for https://github.com/opnsense/core/issues/1129 2016-10-12 19:13:37 +02:00
Franco Fichtner
6eea44ffe1 ipsec: tweak previous a wee bit 2016-10-12 13:08:12 +02:00
Ad Schellevis
5dc95bac60 (ipsec shared secrets) fix spacing, add type. closes https://github.com/opnsense/core/issues/1214 2016-10-12 12:12:09 +02:00
Franco Fichtner
029393adf2 firewall: url_safe() conversion, closes #1168
While there, kill "if (write_config())" constructs as this
really isn't a thing.
2016-10-12 08:36:16 +02:00
Franco Fichtner
34604d5a71 dhcp: crash report and stray array_shift() for prefixes.php 2016-10-11 18:02:57 +02:00
Franco Fichtner
e6fa852e1f firmware: piped status return was wrong 2016-10-11 08:47:19 +02:00
Franco Fichtner
f7ffa6e4d6 firewall: $tableaddrs cannot be empty
Not sure if this works, but it looks better than before.
2016-10-11 08:37:13 +02:00
Franco Fichtner
143a9b340f inc: url_safe() for #1168
This doesn't do anything in particular, because we don't know
what the input is without parsing it further.  It's not worse
than before in any case.  ;)
2016-10-11 08:30:13 +02:00
Franco Fichtner
f39ce32b96 services: url_safe() for #1168 2016-10-11 08:23:59 +02:00
Franco Fichtner
c5ab052b67 system: url_safe() for #1168 2016-10-11 08:11:12 +02:00
Franco Fichtner
717c2cbecd pkg: fix plist for previous commit 2016-10-10 22:39:36 +02:00
Ad Schellevis
302c232381 (mvc, migrations) add 1.0.0 versions to existing models 2016-10-10 20:58:27 +02:00
Franco Fichtner
2d7698a642 rc: we only care about config migration messages on pkg upgrade 2016-10-10 20:30:06 +02:00
Franco Fichtner
bdfe6bfc30 rc: move convert_config() to first place, new code depends on it 2016-10-10 20:11:33 +02:00
Franco Fichtner
804d915b8b openvpn: go full-circle on zip package
We don't need 7z anymore, so it's better to use the lightweight package.
2016-10-10 19:54:32 +02:00