Franco Fichtner
ba798a7fce
globals: changing the laws of UNIX is bad (1/many)
...
/tmp is unlikely to change. If, however you decide to change
it to somewhere else the likelihood of someone else hardcoding
/tmp just to annoy you is so high that it simply makes no sense
to keep any softcoding in this regard. More batches coming, but
since the usage is so widespread, I'll push it bit by bit.
2015-03-05 08:10:00 +01:00
Franco Fichtner
4b01b9d347
globals: further -- zap conf_path global
2015-03-05 07:35:45 +01:00
Ad Schellevis
f0ec037b08
work in progres proxy feature
2015-03-04 18:33:28 +01:00
Ad Schellevis
994c5b9138
add default form input field template partial
2015-03-04 18:32:05 +01:00
Ad Schellevis
06ff13943b
fix small typo's
2015-03-04 18:30:28 +01:00
Ad Schellevis
95d3af241d
add setters and getters to map json like content to model
2015-03-04 18:28:23 +01:00
Ad Schellevis
a7644ef6db
implement jQuery form handling functions into base template
2015-03-04 18:26:05 +01:00
Franco Fichtner
531e9be888
services/dnydns: support Duck DNS ( #43 )
2015-03-04 14:50:03 +01:00
Franco Fichtner
02d6fcf365
service/dyndns: sort the list alphabetically while at it
2015-03-04 13:49:45 +01:00
Franco Fichtner
4560299918
services/dyndns: general sanity and custom* hostname apply fix
2015-03-04 13:36:44 +01:00
Franco Fichtner
9e078f9179
login: it's pretty obvious that username and password are mandatory
2015-03-04 07:27:13 +01:00
Franco Fichtner
b648161a20
inc: fixes #86 and consolidates usage to REQUEST_URI
...
Let's trust the routing on this one, so that when we have it we
won't trip over this stuff again...
2015-03-04 07:15:23 +01:00
Franco Fichtner
3ba3cba107
src: s/session_commit/session_write_close/g for consistency
2015-03-04 07:04:35 +01:00
Franco Fichtner
1f8264ac02
inc: fix authgui indent and hard to read code by adding style
...
Currently debugging #86 but the file is impossible to read...
2015-03-04 06:58:43 +01:00
Franco Fichtner
708a2cabd6
inc: isset warning fix
2015-03-04 06:36:46 +01:00
Franco Fichtner
9973047edf
inc: move main GUI includes to the existing inc dir
2015-03-04 06:34:06 +01:00
Franco Fichtner
676e9a4ad7
services: fix annother is_array() is isset issue()
2015-03-04 06:28:27 +01:00
Franco Fichtner
93ef487f30
inc: avoid www exposure of include files (1 of a couple more)
...
These changes create instability on development images in
conjunctio with mount for core.git: since files move they
exist in two places at once, maybe screwing up the system.
There's no sensible way other than asking for or building
a new snapshot package for opnsensense and going from there.
2015-03-04 06:22:43 +01:00
Ad Schellevis
ae21adb10b
shared javascript module to use in mvc framework (form processing)
2015-03-03 18:28:01 +01:00
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