491 Commits

Author SHA1 Message Date
Franco Fichtner
aa5fc1bf6f inc/system: tmp_path extermination 2015-03-07 08:48:28 +01:00
Franco Fichtner
a47ad5e740 src: prune, prettify or zap scripts that use PHP shebang 2015-03-07 08:48:28 +01:00
Franco Fichtner
cabdbf8c28 src: move files back, the update system isn't ready for this 2015-03-06 18:44:41 +01:00
Franco Fichtner
5e648312ac pkg: restart configd to sync the new code
While there, switch to the defaults when reloading the webgui.
2015-03-06 17:34:07 +01:00
Ad Schellevis
32cbae0642 backend code fixes 2015-03-06 15:13:36 +01:00
Ad Schellevis
dacbb3c58e Merge branch 'master' of ssh://github.com/opnsense/core 2015-03-06 14:57:46 +01:00
Ad Schellevis
0923072a98 update backend class to support end of stream response 2015-03-06 14:54:42 +01:00
Franco Fichtner
7992bedfd3 rc: rename firmware console script for consistency 2015-03-06 14:44:34 +01:00
Ad Schellevis
1d0edfbd94 accidentally changed socket path in client util 2015-03-06 14:17:04 +01:00
Ad Schellevis
5bddaab1ca fix execute command test utility for configd 2015-03-06 14:15:17 +01:00
Ad Schellevis
7ac44e8c7b add end of stream marker to configd backend service (and commandline tool) 2015-03-06 14:12:16 +01:00
Franco Fichtner
baa9f79874 src: 50 shades of white 2015-03-06 09:25:42 +01:00
Franco Fichtner
ee277400d3 pptp: more files got lost in a GUI bootstrap update 2015-03-05 19:22:17 +01:00
Franco Fichtner
14b3ab2256 pptp: fix `Call to undefined function vpn_pptpd_configure()' 2015-03-05 19:14:08 +01:00
Franco Fichtner
098d503461 diag_backup: tmp_path removal 2015-03-05 18:27:52 +01:00
Franco Fichtner
7f2e2612ea inc/util: tmp_path removal plus usual style splatter 2015-03-05 18:18:18 +01:00
Franco Fichtner
d90e3a5ee7 inc: tmp_path removal in smaller files 2015-03-05 18:01:49 +01:00
Franco Fichtner
7fd322f1a6 rc: tmp_path removal 2015-03-05 17:53:04 +01:00
Jos Schellevis
0fa44defb7 Change missing icon to glyphicon, fixes #78 2015-03-05 16:36:10 +00:00
Jos Schellevis
68cae6e9f3 Fix Resolve dialog on Firewall log widget 2015-03-05 16:33:06 +00:00
Franco Fichtner
92bc0fe569 rc: rework halt/reboot and fix dhcplease/rrd persistency (#56)
I know, I know, backing up rrd and restoring it after reboot seems
like overkill, but the good thing is that if you ever decide to
install from a clean image the config import is able to pick up
your backups as well and you will not lose any history.
2015-03-05 17:25:34 +01:00
Jos Schellevis
aea19e3f66 Fix firewall log icons in ajax calls 2015-03-05 16:21:42 +00:00
Franco Fichtner
170f72e09b firmware: restart the web server from here as well 2015-03-05 16:56:27 +01:00
Jos Schellevis
831080adf1 fix rule matching on logging, fixes #87 2015-03-05 15:51:23 +00:00
Franco Fichtner
a96ad64ce6 rc: when files move it's crucial to restart the web server 2015-03-05 16:36:18 +01:00
Franco Fichtner
559e42e0b1 inc/legacy: tmp_path refactor and the adventure down the rabbit hole
* Renamed pfsense-utils.inc to legacy.inc, which can cause issues
  on git auto-mount developer machines.  Be wary.

* Removed '/usr/local/www/' prefix from require statements that
  should never use absolute paths (unless you are never going to
  move files, but we already did...).

* Remove an unhealthy function that wrote arbitrary PHP files and then
  style checked them, twice.

* The usual license cleanups so that the headers are easy to read
  and actually make you want to see the rest of the file because of it.

* Code style, indent and obvious bug fix (missed unlock in return path).
2015-03-05 16:28:43 +01:00
Franco Fichtner
594315618f inc/ipsec: proper softcoding for tmp_path
This allows us to grep for the file name as "name.something.xml"
and still be able to find the variable or path or binary or so,
while the actual file name is only set once avoiding typos in the
process as well...
2015-03-05 15:52:30 +01:00
Jos Schellevis
e6a2743a1c change image to glyphicon 2015-03-05 14:21:25 +00:00
Ad Schellevis
45a7671196 remove unused code 2015-03-05 15:12:49 +01:00
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