428 Commits

Author SHA1 Message Date
Franco Fichtner
d72df5d071 make: lint over all files that are `ok' for PHP...
Seeing PHP ignore text files makes it easier to lint over more
files for a simple reason:  maybe someone sneaked a PHP file
into the repo and forgot the proper file extension, which is not
uncommon for utilities in *bin/ -- makes it easier to catch those.
2015-03-03 15:46:56 +01:00
Ad Schellevis
f2ce49486a increase default timeout on backend calls 2015-03-03 14:00:26 +01:00
Ad Schellevis
8d0c2d2308 CP try to fix "noe no longer exists" when calling isEnabled 2015-03-03 13:50:59 +01:00
Franco Fichtner
c94b5c6da9 rc: change PHP error reporting a bit more
* We can now see the errors we suppress.  E_WARNING is the one that
  should be zapped as soon as possible.

* According to the manual, display_startup_errors should not be enabled.

* Add ignore_repeated_errors to avoid multiple reports in e.g. loops.
2015-03-03 09:42:20 +00:00
Franco Fichtner
1ff9cef76d inc: fix usage due to PHP's is_array() warning level raise 2015-03-03 10:28:31 +01:00
Franco Fichtner
21abc3627e shortcuts: fix warning and revive miniupnpd file
While there, don't expose the main include file to the web server.
2015-03-03 10:06:13 +01:00
Franco Fichtner
f958a96258 www: kill edit.php as well 2015-03-03 09:49:22 +01:00
Franco Fichtner
831ff3581a mvc: add the crash reporter to the menu 2015-03-03 09:45:44 +01:00
Franco Fichtner
f2a21ac446 www: remove exec.php
(1) It has been disabled since our first release.
(2) It is not part of our development workflow.
(3) It is quite dangerous and potentally fatal.
2015-03-03 09:40:26 +01:00
Franco Fichtner
ab30163d2e crash reporter: fix menu expand and title 2015-03-03 09:37:34 +01:00
Franco Fichtner
86c2883228 menu: expose the crash reporter a wee bit more
Quality is important; we hide PHP warnings so it's good to let
our beloved users/testers check and forward them regularly.  :)
2015-03-03 09:32:24 +01:00
Franco Fichtner
288deb5c29 inc: fix two overly spammy warnings 2015-03-03 09:23:25 +01:00
Franco Fichtner
d78e572606 crash_reporter: more tweaking for better error reporting 2015-03-03 09:14:22 +01:00
Franco Fichtner
9e1b921efe rc: fix a couple of parse errors that previously went unnoticed 2015-03-03 08:53:54 +01:00
Franco Fichtner
fd370c5712 crash_reporter: tweak the error reporting
* add E_PARSE to show proper info about parse errors
* remove PHP 5.5 support, we've never shipped it
* fix textarea display width and disable send button
2015-03-03 07:21:25 +00:00
Ad Schellevis
7efba9edca display alias names, needs further cleanup (https://github.com/opnsense/core/issues/77) 2015-03-02 19:27:10 +00:00
Franco Fichtner
a34980d0f3 rc: php.ini regeneration yields no output 2015-03-02 13:29:00 +01:00
Franco Fichtner
b3310f8eaf rc: print message when system is up to date 2015-03-02 13:24:12 +01:00
Franco Fichtner
dd21a823cb rc: another newline shuffle 2015-03-02 13:21:25 +01:00
Franco Fichtner
03434f0be3 src: remove the unused phpshellsessions developer tools 2015-03-02 13:19:15 +01:00
Franco Fichtner
10002c2278 pkg: auto-mounting the repo taints pkg(8) setups
Move the config files out of the way, but still install them properly.
2015-03-02 13:07:01 +01:00
Franco Fichtner
c2d2fe4b90 rc: shuffle newlines around a wee bit too (#32) 2015-03-02 12:35:09 +01:00
Franco Fichtner
478d738e8c rc: fix console menu firmware upgrade (#32)
Just rewrite that stuff completely...  Pretty simple now, right?  :)
2015-03-02 12:12:38 +01:00
Franco Fichtner
ed6c71d6a3 rc: fix annoying MOTD/console menu gap and update copyright header 2015-03-02 11:25:19 +01:00
Franco Fichtner
58899e5598 src: prune unused xmlreader/xmlwriter code 2015-03-02 09:15:44 +01:00
Franco Fichtner
797b0e64b8 src: migrate the version file to a new home
We now use /usr/local/opnsense/version/xxx as our version database.
Apart from the core package, opnsense-update(8) also puts its own
version information in there.  To stay somewhat consistent, the
version file should resemble the package name, even though that
looks strange in our case: /usr/local/opnsense/version/opnsense.
It's just that /usr/local/etc is too open and might clash with
other things in the future.
2015-03-02 09:08:44 +01:00
System Administrator
bd37d25d7e CP add extra rule for bug https://github.com/opnsense/core/issues/73 2015-03-02 04:51:03 +00:00
Franco Fichtner
f326c29757 rc: remove openssh base support
We don't have OpenSSH in base anymore so we can zap the fallback.
And since openssh-portable is a direct dependency of opnsense, we
can be pretty sure it'll be there.
2015-02-28 19:02:57 +01:00
Franco Fichtner
53b031e8cb certificates: lower the default lifetime to approximately 1 year
Discussed with: @deZillium (Twitter)
2015-02-28 08:14:49 +01:00
Franco Fichtner
78bdb9aef5 pkg: fix error on +PRE_DEINSTALL 2015-02-27 23:10:26 +01:00
Franco Fichtner
931efa6867 src: fix all the whitespaces! 2015-02-27 14:50:26 +01:00
Franco Fichtner
14b71e383c mvc: fix for nasty syntax error, whoops 2015-02-27 14:48:50 +01:00
Ad Schellevis
944798c437 Merge branch 'master' of gist.github.com:opnsense/core 2015-02-27 13:39:52 +00:00
Ad Schellevis
a6afaf2330 fixed typo in CP rule generation ( https://github.com/opnsense/core/issues/73 ) 2015-02-27 13:39:16 +00:00
Franco Fichtner
37a6e42e4f rc: better fix for bogons, checksums were missing #74 2015-02-27 14:39:10 +01:00
Ad Schellevis
66a9c2703d update rc.update_bogons (https://github.com/opnsense/core/issues/74) 2015-02-27 11:17:41 +00:00
Franco Fichtner
0f2443ee72 rc: there's always something else that breaks...
Just move to the actual rc script in the repo from our hook and
revert back to a simple mount inside that one.  Problem solved.
2015-02-26 15:49:15 +01:00
Franco Fichtner
f00447ed1e rc: fix unionfs stuck in read-only mode
Pondering whether this is a bug in the actual file system code...
2015-02-26 13:18:39 +01:00
Ad Schellevis
45f573e8b3 fix for https://github.com/opnsense/core/issues/69 2015-02-26 07:47:25 +00:00
Franco Fichtner
78eaeba0a4 make: the new auto-mount needs a full path 2015-02-25 22:01:37 +01:00
Ad Schellevis
4d177fb5c3 fix for https://github.com/opnsense/core/issues/41 2015-02-25 20:54:27 +00:00
Ad Schellevis
f39eae4237 fixed typo related to https://github.com/opnsense/core/issues/69 2015-02-25 19:53:04 +00:00
Franco Fichtner
02f96dacf8 pkg: pull in all files, contents and insert placeholders 2015-02-25 20:42:17 +01:00
Ad Schellevis
6229f0fa4f fix squid status reporting 2015-02-25 19:38:15 +00:00
Ad Schellevis
bf4987f550 force return status of squid status command to 0 ( <> 0 raises an exception ) 2015-02-25 19:31:52 +00:00
Ad Schellevis
8762e8bda9 some code for proxy feature, work in progress 2015-02-25 20:22:27 +01:00
Ad Schellevis
79e657ab64 add support for su into main shell menu system, needed for standard rc scripts 2015-02-25 18:54:07 +00:00
Jos Schellevis
bd3f5f3635 Set DNS Resolver Advanced defaults, fixes #62 2015-02-25 15:34:22 +00:00
Ad Schellevis
f7d4063ea4 remove reference to check_reload_status 2015-02-25 08:57:22 +01:00
Franco Fichtner
eaed16aeb3 pkg: move the automount to /etc/rc so that...
/usr/local/etc/rc is always the latest version.  Issue
popped up again since check_reload_status was replaced.
2015-02-25 08:12:12 +01:00