328 Commits

Author SHA1 Message Date
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
Ad Schellevis
c60d3f3e46 extended example with a simple REST call 2015-02-06 18:11:29 +01:00
Ad Schellevis
1925af934f Merge branch 'master' of ssh://github.com/opnsense/core 2015-02-05 18:37:13 +01:00
Ad Schellevis
6dca11144d hook Phalcon controllers into current authentication 2015-02-05 18:36:22 +01:00
System Administrator
1c7f3ce5a5 added modules in lighttpd for url routing to phalcon, tags to apply actual routing added as comment 2015-02-05 17:17:00 +00:00
Ad Schellevis
44de656e35 fix API template, wrong arguments 2015-02-05 17:58:28 +01:00
Ad Schellevis
34093398f0 minor code cleanups and first (simple) ideas for a (rest) api implementation. 2015-02-05 17:49:52 +01:00
Jos Schellevis
c2912e2c45 Useragent check removed as we now have a responsive interface and small responsive fixes 2015-02-04 11:11:16 +00:00
Ad Schellevis
566cb086e7 cleanup 2015-02-04 08:47:15 +01:00
Ad Schellevis
9519de183e Added profile option to check_reload_status (configd), measured framework overhead, current max processing for the daemon is about 6200 req/s on my macbook. ( limited by socket.accept, if needed we could implement another dispatch method in the future)
Simple implementation to use the backend service from the frontend implemented.
2015-02-03 18:24:12 +01:00
Ad Schellevis
4b16c7531e add post loading event to BaseField 2015-02-01 17:22:51 +01:00
Franco Fichtner
968a31b33f src: whitespace cleanup and style error fix 2015-01-31 12:45:24 +01:00
Ad Schellevis
7ec92daee1 Phalcon MVC work including first (not completed yet) demo form. 2015-01-30 18:36:01 +01:00
Jos Schellevis
dec1e97232 Small GUI fix for interfaces 2015-01-30 15:49:55 +00:00
Franco Fichtner
6b72bcb02a crypt: reformat page, coding style and minor tweaks 2015-01-29 23:25:57 +01:00
Franco Fichtner
e5d2f6a8c8 openvpn: zap unused OpenSSL-related funtion
While there, "maybe" copyright translates to "yes" copyright.
If someone wants to oppose this, feel free to verify each code
line and submit a pull request to remove those two statements.
2015-01-29 23:17:08 +01:00
Franco Fichtner
a711dae485 captiveportal: avoid using /usr/bin/openssl for vouchers
We do not want to use OpenSSL from base and it may go away at
some point as well, breaking e.g. this page.  Instead, use the
internal tools or the OpenSSL plugin.  More of this on the way.
2015-01-29 22:53:16 +01:00
Ad Schellevis
249de9dfa5 work in progress OPNsense frontend mvc framework 2015-01-29 18:11:19 +01:00
Jos Schellevis
1dc13c29c2 Fix for regenerating certicifates in captiveportal/voucher 2015-01-29 10:38:35 +00:00
Jos Schellevis
4e3584728d Fixed GUI related issues for firewall_nat_out_edit 2015-01-28 16:39:26 +00:00
Franco Fichtner
41e87a9090 certificates: small tweaks
* US and CA are in the alphabetic list already; no more favouritism.

* Use require_once consistently.  Minor header tweaks.

* Replace legacy State/City info and fix spelling for "Saschsen".

Nice touch Jos, I had a big smile on my face while skimming that
commit.  :)
2015-01-28 17:29:16 +01:00