Commit Graph

23726 Commits

Author SHA1 Message Date
Renato Botelho
c352b9d149 Merge pull request #1034 from vsquared56/master 2014-06-13 09:25:45 -03:00
Renato Botelho
6f3d20631d Replace Header() calls by lowercase 2014-06-13 08:59:57 -03:00
Renato Botelho
44b79ffb8d Merge pull request #1222 from phil-davis/patch-8 2014-06-13 08:37:30 -03:00
Renato Botelho
bcfd894ebd Merge pull request #1229 from ExolonDX/branch-master_06 2014-06-13 08:36:52 -03:00
Renato Botelho
718af29d29 Merge pull request #1228 from ExolonDX/branch_master_05 2014-06-13 08:36:47 -03:00
N0YB
f5b26faabc Remove htmlspecialchars() call for a fixed string. 2014-06-13 01:17:27 -07:00
Ermal
cbe38717c6 Bring the code of captiveportal up to speed with its module counterpart requirments 2014-06-12 21:06:10 +00:00
Renato Botelho
1d8b3cddda Fix i386 default URL for snapshots 2014-06-12 09:53:53 -03:00
Renato Botelho
11eaf7bfe6 Do not expire already disabled users, it fixes #3644 2014-06-12 09:31:03 -03:00
Renato Botelho
859a530456 Fix #3665, show IPSec tunnel description on status page 2014-06-12 08:59:12 -03:00
Renato Botelho
bd75704311 Fix a typo on variable name 2014-06-12 08:33:41 -03:00
Renato Botelho
6186c00a11 Fix td class 2014-06-12 08:16:29 -03:00
Renato Botelho
f01c3b5973 Fix #3702, make sure tunnel inside IP is set when interface changes 2014-06-11 14:56:24 -03:00
Chris Buechler
daa169f756 remove extra . 2014-06-11 00:23:31 -05:00
Renato Botelho
f2c8603164 Be more precise to match members of a bridge interface, it should fix #3637 2014-06-10 14:20:57 -03:00
Renato Botelho
ff3da5dba6 Fix #3700 and other syntax issues:
- Remove -G parameter from pfctl since it doesn't exist anymore
- Initialize $old_router
- Fix sh syntax on variable assign, it couldn't have space before =
- Simplify logic
- Avoid flush states twice, if it was done on IP change, don't do it
  again if router also has changed
2014-06-10 10:42:52 -03:00
Renato Botelho
6a0f34b86b Do not allow interface group name to be bigger than 15 chars, helps ticket #3208 2014-06-09 15:32:08 -03:00
N0YB
529ba86a3f Populate gateway address field with tilde if there is no address or friendly interface.
This is to match the update data.
2014-06-08 14:50:35 -07:00
N0YB
1f47798a53 Fix gateway widget size change on first update.
Inner table size changes on the first update because the table in update data does not have the same attributes as the widget.  i.e. border, cellpadding, cellspacing, style & summary.

Also remove an errant td end tag.
2014-06-08 14:47:57 -07:00
Renato Botelho
2f9951fe0e Add some protection to parameters that come through _GET 2014-06-06 11:48:15 -03:00
Colin Fleming
5689813244 Tidy up misc. widgets XHTML
captive_portal_status.widget.php
Remove NAME from TABLE tag, not valid in XHTML

carp_status.widget.php
Add missing closing TD tag

dyn_dns_status.widget.php and
installed_packages.widgete.php
Update TD class to single line

load_balancer_status.widget.php
Add quotes to missing TD background colour

traffic_graphs.widget.php
Tidy up HTML Boolean operator
Make NAME and ID in INPUT tag unique

wake_on_lan.widget.php
Remove B tag from "widgetsubheader", alread in CSS
Center message across all columns within table
2014-06-05 22:44:55 +01:00
Colin Fleming
2690afba23 Update "pkg_edit.,php"
"custom_php_after_head_command", if the PHP code also contains
JavaScript ("squid_auth.xml" for example) then this will cause HTML
errors, as you are not supposed to have anything between the closing
HEAD tag and the opening BODY tag.

Add the CLOSEHEAD PHP variable, move the include HEAD.INC into the PHP
IF statement and manually close the HEAD tab, else just include HEAD.INC
2014-06-05 19:41:50 +01:00
Renato Botelho
1c52509cab Fix #3691, use curl instead of fetch to download update files 2014-06-05 08:55:05 -03:00
jim-p
88e545b435 Whitespace fixes 2014-06-04 15:25:33 -04:00
jim-p
2da48592df Allow the user to select "None" for OpenVPN client certificate, so long as they supply and auth user/pass. Ticket #3633 2014-06-04 15:22:09 -04:00
jim-p
df13b0771b Just use ID here instead. 2014-06-04 14:17:37 -04:00
jim-p
5344099abc Various fixes to diag_dump_states.php (Add interface column, some extra validation safety, etc). Should fix #2121 2014-06-04 14:13:23 -04:00
Renato Botelho
e949001934 Silent pbi_info 2014-06-03 15:15:51 -03:00
Renato Botelho
29732bc3cf Update csrf-magic to 1.0.4 2014-06-03 14:39:56 -03:00
Renato Botelho
bc29d9fd91 Reduce possible noise 2014-06-03 10:59:32 -03:00
Renato Botelho
ee7f5e7abe Merge pull request #1226 from ExolonDX/branch_master_04 2014-06-03 09:33:41 -03:00
Renato Botelho
f133039195 Merge pull request #1225 from ExolonDX/branch_master_03 2014-06-03 09:33:34 -03:00
Renato Botelho
ccc3b027cd Merge pull request #1224 from ExolonDX/branch_master_02 2014-06-03 09:33:24 -03:00
Renato Botelho
960ed83f44 Merge pull request #1223 from ExolonDX/branch_master_01 2014-06-03 09:33:14 -03:00
Colin Fleming
580a6561e1 Tidy up "status_queues.php" XHTML
Add closing BODY and closing HTML tags if "traffic shaping is not
configured."
2014-06-03 13:12:39 +01:00
Colin Fleming
2a351d3235 Tidy up "status_openvpn.php" XHTML
Move the closing FORM tag after the PHP check if there are any OpenVPN
instances.
2014-06-03 13:08:30 +01:00
Colin Fleming
e6f98d5b74 Tidy up "diag_dns.php" XHTML
Move the "=" sign into the first table cell, this allows the output to
line up in the second cell,
Tidy up the table from the "resolution time" output.
2014-06-03 12:52:15 +01:00
Colin Fleming
26509223bc Tidy up "crash_reporter.php" XHTML
Tidy up Paragraph tags
Close INPUT tags
2014-06-03 12:28:17 +01:00
Phil Davis
c4107752ce Handle firewall log filter regex input better bug #3689
If the user inputs an invalid regex in any of the filter fields, then a page full of "warning" messages appear in the GUI, about whatever is invalid. 
If for some reason the user wants to match a forward slash somewhere, then they have to realize to escape it, doing "\/" instead of just "/". Be nice to this special case, because the user does not necessarily know that "/" is being used as the delimiter in the preg_match call. Turn "/" into "\/" (when the "\" is not already put in by the user).
For other regex issues, suppress the warning output, using "@". When the user inputs some invalid garbage in a filter field, an empty filtered firewall log table will be displayed, rather than screens full of PHP warning output.
2014-06-03 15:09:29 +05:45
Matt Smith
ed10564bfe allow ipaliases to be configured on lo0 2014-06-02 15:46:18 -05:00
Renato Botelho
0db055f097 Merge pull request #1219 from nagyrobi/patch-13 2014-06-02 08:27:22 -03:00
jim-p
0bb15b9964 Fix filename 2014-05-31 10:40:56 -04:00
jim-p
2fc7b00393 Fix variable name 2014-05-31 10:40:17 -04:00
Chris Buechler
cac386b68e remove openbgpd bits from system_gateways_edit and system.inc. The package
match is case-sensitive and hasn't matched the openbgpd package's name in
at least 5 years, so it doesn't do anything. It's far from functional in
any useful manner even fixing that issue.
2014-05-30 20:01:46 -05:00
jim-p
24c57e72a9 Drop a note on the page about how to repair a failed mirror. 2014-05-30 14:40:49 -04:00
jim-p
52398a6b56 Bring in proper gmirror support for the GUI and notifications.
Made a general gmirror library to perform various gmirror tasks and get information, using some of the former widget logic to start. Updated widget to use this new code.
Added a Diag > GEOM Mirrors page that displays information about existing mirrors and perform various management tasks. Current actions include rebuilding a drive, forgetting disconnected mirror drives, insert/remove, deactivate/activate, clearing medatada. It's now possible to use the GUI to rebuild a failed mirror by performing a forget, then insert action to replace a missing/dead drive.
Also included is a notification setup. Mirror status is polled every 60 seconds, and if any aspect of the mirror changes, notifications are issues that alert in the GUI and by SMTP, etc.
2014-05-30 14:15:06 -04:00
Renato Botelho
8490ba0fc6 glob() is already called by unlink_if_exists 2014-05-30 10:18:37 -03:00
jim-p
cb4f4ea906 client-config-dir is also useful when using OpenVPN's internal DHCP while bridging. 2014-05-30 08:45:10 -04:00
Renato Botelho
5125c74626 Add @ to silent any possible return of posix_kill 2014-05-30 09:30:12 -03:00
Renato Botelho
33b4268901 Fix typo 2014-05-30 09:05:03 -03:00