462 Commits

Author SHA1 Message Date
Ad Schellevis
98d98ef814 error in constructor 2015-03-05 15:12:00 +01:00
Ad Schellevis
7d27e7dd6f fix for 06ff13943b (commitcomment-10034901) 2015-03-05 15:01:27 +01:00
Ad Schellevis
4c87b1db7c work in progress proxy feature 2015-03-05 14:55:53 +01:00
Ad Schellevis
230575ef20 style / functionality fixes for base template 2015-03-05 14:55:06 +01:00
Ad Schellevis
ef8e307bdc add https://github.com/nakupanda/bootstrap3-dialog to standard codebase to ease jQuery/bootstrap dialogs 2015-03-05 14:54:05 +01:00
Ad Schellevis
7ec082ce91 unused form_input, refactored ro form_input_tr.volt 2015-03-05 14:52:18 +01:00
Ad Schellevis
dd03573465 add standard table input template 2015-03-05 14:50:10 +01:00
Franco Fichtner
e9b5d28ceb inc/config: exterminate cf_path softcoding 2015-03-05 12:59:23 +01:00
Franco Fichtner
08e6c7d71d rc: missed a cf usage 2015-03-05 12:38:00 +01:00
Franco Fichtner
15eb08bb8b inc/interfaces: tmp_path extermination 2015-03-05 12:02:01 +01:00
Franco Fichtner
34d524143d inc/filter: replace tmp_path softcoding 2015-03-05 10:36:56 +01:00
Franco Fichtner
6bbf6cf2b3 inc/config: tmp_path removal, style, review & stale code 2015-03-05 09:36:17 +01:00
Franco Fichtner
ae8716546d rc: migration glue for <= 15.1.7 installs 2015-03-05 09:10:33 +01:00
Franco Fichtner
7f6507d049 inc/config: recover using factory results, too
The code is full of duplicated paths and can probably be shrunk
down to 50% of its current size, making it easier to follow,
debug, extend, yadda, yadda...
2015-03-05 09:06:52 +01:00
Franco Fichtner
c7f253ffd4 src: deprecate /cf/conf in favour of /conf
It's been confusing to say the least, resulting in multiple
misuses throughout the code.  The idea was that /cf pointed
to a read-write root, while / pointed to read-only root.
For non-embedded images this was emulated by linking
/conf -> /cf/conf, which, is a bit questionable because now
you can write from /conf as well and don't have to use /cf/conf
at all.

A couple of lines are left in /usr/local/etc/rc which need to
be reviewed so that migration paths are safe for all types
of firmware upgrades.
2015-03-05 08:10:00 +01:00
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