348 Commits

Author SHA1 Message Date
Franco Fichtner
aa3a73bfe7 globals: mostly zap cf_conf_path for #1
Also style, license prettify, obvious bugs along the way.
2015-02-22 11:58:32 +01:00
Ad Schellevis
3f8a9f0898 further cleanup of php-fpm code, related to https://github.com/opnsense/core/issues/42 2015-02-22 10:51:51 +00:00
Franco Fichtner
67601e0d79 globals: prune softcoded paths that are never gonna change anyway
Enables us to find all paths better using grep.  Always trying to
use the full path, even for system utility invoke in case those
move from ports to base or vice versa, related to #1.
2015-02-22 10:28:08 +01:00
Franco Fichtner
0d90515002 system: simplify and prettify theme selection 2015-02-22 10:11:33 +01:00
Sjon Hortensius
e7916b44d7 minor: properly complete and close SPAN tag 2015-02-21 15:51:50 +01:00
Ad Schellevis
09f5def8eb additional logging 2015-02-21 15:43:34 +01:00
Ad Schellevis
f09c19275e additional logging information included for configd 2015-02-21 15:37:20 +01:00
Ad Schellevis
ffc617a08a fix configd (check_reload_status), plugin support broke the main service.... 2015-02-21 14:35:35 +01:00
Ad Schellevis
6c413a9550 disable dummynet code, dummynet not functional at the moment, re-enable after kernel fix. 2015-02-21 12:29:54 +00:00
Ad Schellevis
9f39b41b22 prevent ipfw modules for CP from getting loaded when not enabled 2015-02-21 12:28:38 +00:00
Franco Fichtner
227a53ba29 src: phpcs sure is picky today 2015-02-21 11:03:13 +01:00
Franco Fichtner
acc9db9efb src: minor style adjustments 2015-02-21 10:57:46 +01:00
Franco Fichtner
ed7e3c3e17 src: fix syntax errors 2015-02-21 10:23:37 +01:00
Franco Fichtner
25bd166a33 src: whitespace sweep 2015-02-21 06:26:03 +01:00
Ad Schellevis
07afd164d0 cleanup old php fpm leftover, related to https://github.com/opnsense/core/issues/42 2015-02-20 17:08:45 +00:00
Jos Schellevis
a723fe13b0 Remove openvpn tabs from pppoe server page, fixes #52 2015-02-20 16:58:04 +00:00
Ad Schellevis
4de4dd3479 typo 2015-02-20 16:18:44 +01:00
Ad Schellevis
978695e191 remove ipv6 fcgi-fpm leftovers 2015-02-20 16:08:38 +01:00
Ad Schellevis
a939026c98 Merge branch 'master' of ssh://github.com/opnsense/core 2015-02-20 16:07:39 +01:00
Ad Schellevis
5ba49ee3d4 rename squid service to proxy 2015-02-20 15:37:29 +01:00
Jos Schellevis
4d643d5a78 Fix DHCP6 Server GUI pages 2015-02-20 14:35:23 +00:00
Ad Schellevis
837062e2ce configd (check_reload_status) add extra config directory to improve plugin support 2015-02-20 15:14:27 +01:00
Ad Schellevis
5f38b93d67 add alternate root location for template generation (for local testing) 2015-02-20 14:45:56 +01:00
Jos Schellevis
37cadc2547 added mimetype for svg images to portal page system, fixes #50 2015-02-20 13:12:28 +00:00
Jos Schellevis
fbfbf54b9d Fix Copy my MAC address in services dhcp edit, fixes #46 2015-02-20 11:22:05 +00:00
Jos Schellevis
5e8323921c Fix upload of custom captive portal pages and corrected some links, fixes #49 2015-02-20 11:15:45 +00:00
Ad Schellevis
91bf66effe ipfw ruleset not loaded after start/restart of captive portal (https://github.com/opnsense/core/issues/49)
this is not a complete fix of the issue, but forces a reload of the ruleset. The behaviour of stopping a zone is not correct now, becasue the ruleset remains active the clients cannot access the internet. A workaround is disabling the zone and stopping it then.
2015-02-20 09:33:43 +00:00
Ad Schellevis
e1e27eaadf Implement csrf for api calls to support jquery ajax requests.
For now the API implementation is pretty basic and mainly targeted at ajax usage, proper authentication for machine to machine use should be implemenented later.

The example /ui/sample/ contains a simple echo service.
2015-02-19 18:09:17 +01:00
Ad Schellevis
4ae7b073d9 mvc template fix 2015-02-19 15:48:59 +01:00
Ad Schellevis
acea710226 MenuSystem: handle empty description field in interface 2015-02-19 15:31:55 +01:00
Ad Schellevis
3537bcc503 add Interfaces to menu system, in the current setup this is the only dynamic item. May need an easier hook in the future, but or now this works fine 2015-02-19 15:07:48 +01:00
Ad Schellevis
38000b3acb dns forwarder reload flushed setting (https://github.com/opnsense/core/issues/37)
changed post handling for apply button.
2015-02-19 12:41:17 +00:00
Franco Fichtner
01d102aaf8 menu: fix more navigation weirdness 2015-02-18 00:25:29 +01:00
Franco Fichtner
99a8f51d6b menu: do no collapse on UPnP navigate
Awful fix, but works for now.  The package system will be
removed anyway...
2015-02-18 00:10:05 +01:00
Franco Fichtner
0c53d46228 rrd: remove custom override and zap the resulting non-error 2015-02-17 21:39:55 +01:00
Franco Fichtner
82fefce60a src: DISABLE_PHP_LINT_CHECKING is *not* the brightest of ideas
While there, clean up the copyright headers into a consistent and
readable style.  Claims that we `strip' copyrights are funny.  :)
2015-02-13 19:20:20 +01:00
Franco Fichtner
80be8544f3 openvpn: mostly fix for #36 and the usual splatter 2015-02-13 19:14:11 +01:00
Ad Schellevis
218674c253 - add default behavior for csrf prevention.
- extend menusystem ( documentation on our wiki )
2015-02-13 15:24:08 +01:00
Ad Schellevis
f77f5ed955 added transition class for legacy ACL support (based on pages) 2015-02-12 18:27:51 +01:00
Ad Schellevis
78e41a00cb cleanup ipfw leftovers which used the php-pfSense module (unused) 2015-02-12 08:46:10 +01:00
Ad Schellevis
159b57db83 add empty volt cache directory 2015-02-11 18:57:33 +01:00
Ad Schellevis
57467599f8 * added public http directory for new mvc framework including css / js parts.
* initial implementation for base\menusystem.
* copied in some of the template parts from the legacy system after cleanup html code.
2015-02-11 18:14:53 +01:00
Jos Schellevis
9a73dd2171 Fixed wizzard default settings and reload/redirect, fixes #16 2015-02-10 13:16:30 +00:00
Jos Schellevis
4608ae4b6a Fix button for deleting selected rules in NAT pages, fixes #10 2015-02-10 10:18:36 +00:00
Franco Fichtner
922d375b5c src: whitespace sweep 2015-02-10 10:42:00 +01:00
Franco Fichtner
ea25770055 rc: fix embarrassing typo ;) 2015-02-09 17:21:00 +01:00
Franco Fichtner
48d3b71ada rc: rewrite version foo in message of the day 2015-02-09 17:17:53 +01:00
Ad Schellevis
9deebbfc1c fix profiler option in configd (check_reload_status) 2015-02-09 17:09:04 +01:00
Franco Fichtner
639d099341 crypt: use the proper OpenSSL version when appropriate
This is not the fix I have been meaning to push, but openssl_encrypt()
and openssl_decrypt() are too low level.  They do AES-256-CBC, but not
key derivation as well as salt and IV handling.  Getting this 100%
compatible with OpenSSL was the blocker then.  Also, experts have said
that the cipher should not be used anymore, adding more annoyances as
this config output does not have a version information prefix...
2015-02-08 20:46:08 +01:00
Jos Schellevis
96808b5649 Several fixes, GUI and LDAP 2015-02-06 17:13:19 +00:00