Commit Graph

6617 Commits

Author SHA1 Message Date
PiBa-NL
29fa6f0f46 gateway monitoring, give apinger some time to properly 'initialize' before using its results 2017-06-24 20:09:21 +02:00
Steve Beaver
05ae852482 Correct spacing for extra small view portal (phone) 2017-06-19 16:18:44 -04:00
Steve Beaver
2d933f5a40 Restore MITM warning 2017-06-19 14:46:34 -04:00
Steve Beaver
377f257002 Include host name if so configured 2017-06-19 14:08:45 -04:00
Steve Beaver
f902a15c5e Restore cookie warning via pop-up 2017-06-19 13:46:22 -04:00
Steve Beaver
1eca4f60bb Ignore loginpage color values from previous version that used the file name 2017-06-19 13:19:11 -04:00
Steve Beaver
d58a73785c Improved login page graphic 2017-06-19 13:15:53 -04:00
Steve Beaver
f6f1e11771 Revised CSS for login page 2017-06-16 18:34:49 -04:00
jim-p
e90eaf31f0 Fix handling of the 'type' parameter so it is validated and encoded on diag_table.php. Fixes #7652 2017-06-16 15:24:38 -04:00
jim-p
9c8540ca53 Add input validation for interface names on firewall_nat_edit.php and fix encoding of the interface name in dst_change. Fixes #7651 2017-06-16 15:24:38 -04:00
jim-p
d0acfddd3a Prevent the filename from being used to run XSS in the diag_edit.php file browser. Fixes #7650 2017-06-16 15:24:38 -04:00
Steve Beaver
6b7b9d3500 Change login page footer positioning
Change paid support link to https://www.netgate.com/support
2017-06-16 07:46:42 -04:00
Steve Beaver
4edbea4ce4 Remove experimental login page stuff 2017-06-15 14:57:37 -04:00
Steve Beaver
e29fb69977 Improve "new design" notice 2017-06-15 14:22:14 -04:00
Steve Beaver
e79ff1ee2c Experimental login page design
Set your favorite color in System->General->"Login CSS file"
2017-06-15 14:07:48 -04:00
jim-p
e8140fa4bf Remove pftop peak and rate from the sort options as they won't produce anything useful when run the way the GUI does. Fixes #7580 2017-06-15 10:42:22 -04:00
jim-p
646a993ec7 Remove pftop size from this list, too. Fixes #7579 2017-06-15 10:41:46 -04:00
jim-p
4de753e52d Change IPsec widget tunnel status to handle newer strongSwan childid format. Fixes #7499 2017-06-15 09:56:33 -04:00
jim-p
bf55e97770 Restore the captive portal feature to view the captive portal page directly from the portal web server. Add this as an additional button so both methods are possible. Fixes #7646 2017-06-14 10:30:33 -04:00
jim-p
aa18c5b9b6 Redact BGP MD5 password/key in status output. Fixes #7642 2017-06-13 13:11:23 -04:00
jim-p
835d8b72ef Don't remove examples from packages as obsolete, some packages rely on the files being there. 2017-06-12 14:48:10 -04:00
doktornotor
8679b7402e Comment typo/whitespace fix 2017-06-12 11:08:43 +02:00
Renato Botelho
aa8b282d68 Add Spanish (Argentina) to the list of available languages 2017-06-09 16:43:31 -04:00
Renato Botelho
8504e13152 Update translation files 2017-06-09 16:42:08 -04:00
Renato Botelho
cb049de9ed Regenerate pot 2017-06-09 16:39:36 -04:00
Martin Hagelin
6db1639823 Fix DNS wildcard support for Loopia
Fix for the problem that wildcard CNAME records disappear from Loopia when doing a DNS update. As discussed here: https://forum.pfsense.org/index.php?topic=67793.0
2017-06-09 09:10:50 +02:00
Steve Beaver
f18475cb25 Fix anchor tag location 2017-06-08 08:23:50 -04:00
jim-p
88fbd229e0 Merge pull request #3750 from PiBa-NL/20170606-denyconfigwrite 2017-06-07 11:38:10 -04:00
PiBa-NL
6356e3e8c7 permissions, log when user tries to save the configuration but has the 'deny config write' permission 2017-06-06 23:52:17 +02:00
jim-p
de147d3d61 Add more checks to eliminate empty config tags in package settings. Fixes #7624 2017-06-05 11:24:17 -04:00
Steve Beaver
067a2bdf96 Improve comment 2017-06-01 09:15:41 -04:00
Steve Beaver
de88f4218c Use the section ID as an anchor so that hyperlinks can jump directly to that sectiom
e.g.: $section = new Form_Section("My section", "a_here");
then: https://firewall/system_somepage.php#a_here
2017-06-01 08:58:46 -04:00
Renato Botelho
63cbb6551b Fix preg_match call without delimiter and also use preg_quote() to variable used in pattern 2017-05-30 07:44:44 -03:00
Renato Botelho
7c2ca1543c Merge pull request #3740 from stilez/patch-59 2017-05-29 15:20:35 -03:00
Renato Botelho
d4d9aa66ac Merge pull request #3731 from ylecuyer/ylecuyer-patch-1 2017-05-29 15:19:56 -03:00
Renato Botelho
1ab0621507 Update translation files 2017-05-29 08:28:41 -03:00
Renato Botelho
766084d35f Regenerate pot 2017-05-29 08:25:03 -03:00
stilez
ff4e29fb9d Don't create system notices for errors in user-entered ad-hoc PHP (diag_command.php) 2017-05-27 14:14:46 +01:00
stilez
1155cd6318 Various updates to PR
1) convert echo to print, and add infobox, as requested in PR comments
2) If no identifiable line number, say so
3) EVAL gives an error message format that wasn't picked up, it is now. Test case - enter as the code:  eval("X");
4) Warn that EVAL gives a "spurious" "error at line 1" as well, the real error is in the (...). See above test case for this.
5) Simplify translators' job a bit
6) Try to reduce errors in user code giving NOTICES (see PR comments). Start by defining a dir for user code (only) and putting code in it.
2017-05-27 13:49:30 +01:00
stilez
8d80a771e3 create global for user code dir, in diag_command.php
Going to try and stop user code generating notices, by putting it in a specific dir which doesn't give notices for syntax errors.
2017-05-27 13:44:06 +01:00
Renato Botelho
2c8c85787b Merge pull request #3728 from PiBa-NL/20170511-fastauth 2017-05-26 11:55:19 -03:00
Renato Botelho
8b8fb93d41 Merge pull request #3717 from phil-davis/patch-11 2017-05-26 11:54:38 -03:00
stilez
d2d58d6ad1 add comment 2017-05-25 05:11:37 +01:00
stilez
4711322b4a typo 2017-05-25 05:08:56 +01:00
Phil Davis
d900381c93 Add missing break for cloudflare case 2017-05-25 06:18:28 +05:45
stilez
fd1bd705c5 If user-entered PHP errors out, display the error line in context to help the user
If the user enters PHP in the command-line page, and it errors out, it's usually a typo or something minor. But the user is left with an error that references a /tmp file which doesn't exist at the point they read the message, a line number that's incorrect, and their input which doesn't display line numbers anyhow.

This patch fixes this, so that a user who wants to enter php command-line in the GUI and gets an error, can quickly identify the exact line causing the error. 

If an error occurs (detected by either non-zero return value or output matching an error message referencing the temp script file), then an short DIV is shown above the usual PHP output for "error location". It gives the correct error line number, and shows the code with line numbers and syntax highlighting (using php's native "-s" option), pre-scrolled to the error line.
2017-05-24 07:39:28 +01:00
Renato Botelho
7b084fd314 SG-23* serial number is igb0 mac address 2017-05-23 16:04:51 -03:00
Renato Botelho
62174481d7 Merge pull request #3739 from PiBa-NL/20170521-js-versioning 2017-05-23 13:59:58 -03:00
Renato Botelho
f8ba7256e0 Merge pull request #3737 from phil-davis/diag-dns-hide-add-alias-button 2017-05-23 13:59:20 -03:00
Renato Botelho
2470b276fe Merge pull request #3729 from znerol/bug/master/tmp-script 2017-05-23 13:57:38 -03:00