366 Commits

Author SHA1 Message Date
Ad Schellevis
77de1e2265 update backend service
- extra code injection prevention for script types
- add script_output type (return script results from stdout)
2015-02-23 20:53:24 +01:00
Ad Schellevis
cc590e0fa4 style fix 2015-02-23 17:38:16 +01:00
Ad Schellevis
735eb4c4c6 style fix menusystem 2015-02-23 17:04:26 +01:00
Ad Schellevis
c320911bfe add library path to phalcon scripting 2015-02-23 16:37:26 +01:00
Ad Schellevis
0949c6a7c8 style fix active menu item 2015-02-23 15:01:51 +01:00
Ad Schellevis
a205dc2d54 refactor mvc Core components ( split model and library code ) 2015-02-23 13:50:16 +01:00
Ad Schellevis
c2206b3a5a move src/opnsense/mvc/public to src/opnsense/www (mvc framework) 2015-02-23 12:33:56 +00:00
Ad Schellevis
61f44db096 typo in comment 2015-02-23 13:06:02 +01:00
Ad Schellevis
a2262eaf3d fix mvc sample (csrf protection was broken after a forward) 2015-02-23 12:18:59 +01:00
Franco Fichtner
f1bbc9199d pkg: add multi-repo safety belts
Via: https://forum.opnsense.org/index.php?topic=42.0
2015-02-23 06:34:01 +01:00
Franco Fichtner
0fa0ed31e0 openvpn: add fallback chain for openssl 2015-02-23 06:20:00 +01:00
Franco Fichtner
78dfd81e27 system: add fallback chain for openssl 2015-02-23 06:17:08 +01:00
Franco Fichtner
d247841ac4 certs: add fallback chain for openssl and lots of style 2015-02-23 05:53:19 +01:00
Franco Fichtner
9314298f10 openvpn: proper style and a TODO for zapping OpenSSL (#42) 2015-02-23 05:46:26 +01:00
Ad Schellevis
65ab157cd6 fixed typo
issue  https://github.com/opnsense/core/issues/63
2015-02-22 16:59:25 +00:00
Ad Schellevis
fc27ba4c1e small typo 2015-02-22 14:04:51 +00:00
Franco Fichtner
b30d7406ce rc: drop occasional .sh suffix for consistency 2015-02-22 12:20:09 +01:00
Franco Fichtner
22a3d39e05 src: Niceness cannot be bought; it has to be earned. 2015-02-22 12:12:12 +01:00
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