Commit Graph

23567 Commits

Author SHA1 Message Date
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
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
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
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
Renato Botelho
2d6e7bfb45 Improve /etc/sshd:
. Create ed25519 key for ssh and silent daemon
. Remove some exec() calls
. We do not need to re-create all keys if /root/.ssh/authorized_keys is
  empty
. Remove some redundancy and declare a single array with all keys
2014-05-30 09:01:02 -03:00
Ermal
7a47edcc26 Include the v4 prefix on the v6 netmask to make routing more sane and alos tracking interface configurations work! 2014-05-29 20:07:25 +00:00
Renato Botelho
ae73fcb170 Merge pull request #1220 from ExolonDX/branch_master_01 2014-05-29 11:29:55 -03:00
Colin Fleming
7786daaa9d Tidy up "diag_tables.php" XHTML
Add BODY tag
Add ACTION to FORM tag
Add CDATA section to SCRIPTS
Remove NAME from OPTION tag, not valid in XHTML
Update HTML Boolean operators
Add SUMMARY to TABLE
Close IMG tag and add ALT
Move closing Anchor tag into PHP staement
Change Paragraph tag to TR tag and close
Update non breaking space tag
Add missing closing FORM, closing BODY and closing HTML tags
2014-05-29 15:18:26 +01:00
Renato Botelho
36b9bb281e Unset iflist and iflist_disabled 2014-05-29 10:53:20 -03:00
nagyrobi
4e6b0a0e08 Update services_ntpd.php
Add validation for the case of no server specified, fall back to pool.ntp.org
2014-05-29 14:20:39 +02:00
Renato Botelho
6e73977bd7 Show disabled interface when it was already part of interface group, it avoids to show a random interface instead and let user to add it by mistake. It should fix #3680 2014-05-29 08:52:46 -03:00