15453 Commits

Author SHA1 Message Date
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
Ad Schellevis
1a5f089ee3 * implement add/del for array types (not recursive)
* added save/backup actions on config class
2015-01-28 17:05:22 +01:00
Jos Schellevis
2798c28fe9 Gui update for firewall_nat_edit 2015-01-28 15:05:12 +00:00
Jos Schellevis
8719477be8 Gui fixes and enhancements 2015-01-28 12:15:03 +00:00
Ad Schellevis
f694e05740 * documentation tag fixures to better support phpDocumentor
* initial model implementation using Phalcon validators and custom binding to config object

Still a lot to dow here, no impact on current install base
2015-01-28 11:37:18 +01:00
Jos Schellevis
b3fea6b917 Fixed some issues with unbound Gui pages 2015-01-27 16:51:18 +00:00
Jos Schellevis
60a5170dc8 Several GUI fixes, including mobile presentation 2015-01-27 14:20:30 +00:00
Ad Schellevis
55d5a5d405 add Phalcon validators to model 2015-01-26 22:17:44 +01:00
Ad Schellevis
d9e78ccb38 work in progress new mvc framework for gui part 2015-01-26 21:44:35 +01:00
Franco Fichtner
9af57742fd openssl: fix issues with port version not finding config
Really don't want to ship this file locally so that others
might be encouraged to edit it (again).
2015-01-25 15:13:20 +01:00
Franco Fichtner
ab28de2e19 rc: rework sshd handling
* Prefer the openssh-portable port, but fall back to the base
  version if it is available.

* Refactor the key generation to produce less duplicated code.

* Locking is completely bogus, but I have no clue how to fix
  that short term without doing a full audit of the subsystem-dirty
  mechanic.
2015-01-25 13:57:16 +01:00
Franco Fichtner
2833fbcad4 util: kill two bogus functions 2015-01-24 23:30:55 +01:00
Franco Fichtner
edd1601b81 rc: ingore SIGINT and SIGQUIT in pseudo-shell 2015-01-24 16:21:36 +01:00
Franco Fichtner
83e26cc536 src: coding style and whitespace cleanups 2015-01-24 12:41:28 +01:00
Franco Fichtner
f31a12bf6a config: migrate to the new theme unconditionally
While there, remove custom code and things that are not
needed.  Also, there's this thing called `require_once'.
2015-01-24 11:50:42 +01:00
Franco Fichtner
a273c30544 firmware: rework the update script
* Add pkg autoremove for stale package removal.
* Refactor progress file output in case it'll change.
* Truncate the progress file directly on startup.

Unfortunately, that doesn't solve the lingering of upgrade
info after navigating away from the firmware page.  Need to
find a better solution here...
2015-01-23 23:08:03 +01:00
Jos Schellevis
4f8cea3719 Firmware update enhancements and System GUI pages cleanup 2015-01-23 14:49:49 +00:00
Ad Schellevis
4a553914dd work in progress new frontend model, setup basic mvc structure. Lots of work to do here.. 2015-01-21 22:05:14 +01:00
Jos Schellevis
be92da6c35 Fixed some issue with user manager and enhanced gui parts 2015-01-21 15:58:15 +00:00
Jos Schellevis
6000388b06 Cleanups and bootstrap enhancements 2015-01-21 14:48:13 +00:00
Jos Schellevis
21aea24595 Code cleanups and gui enhancements 2015-01-21 12:40:34 +00:00
Ad Schellevis
d24b90a91c work in progress new phalcon model code, doesn't interfere with current codebase 2015-01-20 16:04:43 +01:00
Jos Schellevis
cc42648fca Added searchbox to dropdown in firewal_rules, the drop down becomes visible when too many interfaces are active to be shown in tabs.. this features uses silviomoreto/bootstrap-select, license is MIT. Also added the MIT license to the templates root. 2015-01-19 14:38:37 +00:00
Frank Wall
16ada72d63 set 3sec autoboot_delay 2015-01-18 15:03:51 +01:00
Franco Fichtner
90bae8e7e3 firmware: regenerate php.ini after an upgrade
PHP plugins may change and then clobber the custom php.ini we have
previously generated.  To make sure everything keeps running smoothly,
always regerate it directly after an upgrade, even though there may
have been no changes.
2015-01-16 14:11:04 +01:00
Jos Schellevis
4e0b972a94 Firmware upgrade fix pkg only upgarde issue 2015-01-16 10:48:55 +00:00