Commit Graph

12537 Commits

Author SHA1 Message Date
Phil Davis
ff7990df20 Fix display style typo
I could not see any difference in rendering of the page after fixing this, but it looks it it should be fixed.
2015-02-23 14:18:15 -03:00
Phil Davis
41de7158bd Fix display style typo
I could not see any difference in rendering of the page after fixing this, but it looks it it should be fixed.
2015-02-23 14:18:08 -03:00
Phil Davis
ba7d3bd3f9 OpenVPN server improve handling of authmode
Currently if the user is clicking around while they are setting up an OpenVPN server, they can do stuff like this:
a) Select Server Mode - Remote Access (SSL/TLS + User Auth)
b) Select something in Backend for authentication
c) Change their mind and select Server Mode - Peer to Peer (SSL/TLS)
d) Enter the other settings and Save
Now the OpenVPN server config has an 'authmode' key in it.
Probably does no harm, I suspect it will simply not be used when building the server.conf for Peer to Peer, but it looks a bit odd when analysing/diagnosing a config for problems.
Other fields that are mode-specific have tests to only save the values at the end if the appropriate mode is the one finally selected.

While I am here, I also constantly forget to click on "Local Database" authmode when setting up a new server. It gives the validation error message, then I click on "Local Database" again and save. Seems unnecessary - when defining a new OpenVPN server why not default this to have the first entry in the list be the one selected? So I did that. What do you think? 1 place less for many users to need to click.
2015-02-23 14:18:03 -03:00
Phil Davis
683eb99247 vpn_openvpn_server.php white space 2015-02-23 14:17:58 -03:00
Phil Davis
d2ffc02fed Mention interface name on DHCP edit GUI
IMHO it can be confusing on the DHCP edit page for static mapped entries to know which interface the entry is being edited/added for. Specially if the user comes from the Status DHCP Leases page, the lease they are editing/adding could be for 1 of many LAN-style interfaces.
This also made it easier for me to see which interface entry I was editing when I was testing https://github.com/pfsense/pfsense/pull/1504
2015-02-23 09:30:45 -03:00
Phil Davis
aeb5bf8e93 Status_dhcp_leases fix edit button for static entries with no IP address
The edit button for static entries always has an index id=0 and thus pressing the edit button goes to (mostly) edit the wrong entry.
It was easier and made the code cleaner to get rid of the looping through the staticmap array every time trying to matach IP, MAC address... That data ('if' and 'staticmap_array_index') is easily gathered further up, the first time the staticmap array for each DHCP interface is traversed. I think this should also be more efficient when there are many static mapping entries.
Forum: https://forum.pfsense.org/index.php?topic=89072.msg493241#msg493241
2015-02-23 09:29:53 -03:00
k-paulius
8261c0b6ac Fix broken links to dhcp6c.conf man page.
manpath FreeBSD+Ports no longer exits and needs to be replaced with FreeBSD+10.1-RELEASE+and+Ports
2015-02-23 09:23:37 -03:00
Phil Davis
c0fde4e403 Success typo
might as well fix it while I notice it
2015-02-23 09:18:55 -03:00
Chris Buechler
7b404fdec0 Add GUI control for MOBIKE. Hide it when IKEv1 selected. Enable toggling of NAT-T field display so it's on for IKEv1, off for IKEv2. Do same for reauth while here. Ticket #3979 2015-02-18 00:39:26 -06:00
BBcan177
3ddc5d1af0 Update fbegin.inc - Missing '/' in path
Found this issue in conjunction with user Digdug3
2015-02-13 16:24:24 -02:00
Chris Buechler
e2d0aee863 force minimum 100000 byte log file size. Some have been confused thinking this is KB, in some cases causing problems. This should help, and there shouldn't be a need for logs smaller than that. 2015-02-13 00:19:15 -06:00
jim-p
1ac99c4e5d Set srctrack separate from this test or the value won't save unless the sticky box status also changed. 2015-02-12 11:24:02 -05:00
Chris Buechler
d4a18f1345 Merge branch 'RELENG_2_2' of git.pfmechanics.com:pfsense/pfsense into RELENG_2_2 2015-02-11 22:29:39 -06:00
Chris Buechler
6972f14e5e get rid of wizards/initial/ images that were never used 2015-02-11 22:28:17 -06:00
Ermal LUÇI
657932fd09 Remove dead code and unset vars so next time the code works properly avoiding cache issues. 2015-02-11 20:34:47 +01:00
Phil Davis
1444c08e3e Random text typos
that I noticed.
2015-02-11 07:02:30 -02:00
Phil Davis
4ab7f8f4e8 Fix typo in class in bridge edit
Fixing this makes nice little pencil icons appear in front of the text
entry fields.
2015-02-11 07:00:22 -02:00
Chris Buechler
24cbfd5a63 Check if Unbound is enabled and using the same port before allowing dnsmasq to be enabled. part of Ticket #4332 2015-02-11 01:14:53 -06:00
Chris Buechler
5ece44f7ab touch up Unbound text 2015-02-09 22:34:14 -06:00
Chris Buechler
3d5e8dce44 Use appropriate interface field description when working with floating rules, it was confusing and potentially incorrect for floating rule purposes. 2015-02-09 14:22:23 -06:00
Chris Buechler
5cb2a42541 fix up text 2015-02-06 22:28:07 -06:00
Tuyan Ozipek
cdcf197b58 Fixed not being able to save custom and custom-v6 dyndns
entries due to "host" being posted empty, and thus failing
is_domain() check.
2015-02-04 16:23:33 -02:00
Chris Buechler
98b3de7829 fix responder-only IPsec text 2015-02-03 12:54:50 -06:00
Chris Buechler
adf17d4f0e fix text 2015-02-02 21:32:44 -06:00
Renato Botelho
4520b2d2b7 Fix aliases popup width when fields are hidden when page is loaded. It should fix #4238 2015-02-02 15:28:51 -02:00
Phil Davis
b82159a625 Unbound domain override IP:port validation
The domain override is IP:port is invalid if either the IP address OR port is invalid.
Previously you could put an invalid IP with valid port, or valid IP with invalid port.
2015-02-02 05:56:40 -02:00
Phil Davis
87549136cc Remove latin-1 encoding of RSS feed
Many thanks to Gertjan in forum https://forum.pfsense.org/index.php?topic=87504.msg484017#msg484017
Specifically setting the output encoding to latin-1 was causing the "black diamonds" for special characters in the http://blog.pfsense.org RSS feed (e.g. the registered trademark sign after pfSense did not come out).
It should all work by letting simplepie do its default stuff with the RSS feed.
2015-02-02 05:54:28 -02:00
Chris Buechler
76a9ad942e Add input validation to prevent the use of AES > 128 where glxsb is enabled. Ticket #4361 2015-01-31 16:30:53 -06:00
Ermal LUÇI
fdc9ac09ef Fixes #4360 allow marking a connection as responder only, the same behviour as mobile connections 2015-01-31 19:49:17 +01:00
Ermal LUÇI
908edbd3d1 Fixes #4359 Allow controlling uniqueids 2015-01-31 19:36:13 +01:00
Phil Davis
b8150520dd Traffic Shaper Wizard Upstream SIP Server
Not being remembered and actioned.
Bug #4314
2015-01-31 11:08:53 +01:00
Ermal LUÇI
41da54ce14 Fixes #4353 Identify when strongswan.conf needs a reload and restart ipsec service. 2015-01-31 11:06:55 +01:00
Ermal LUÇI
ee65c642df Fixes #4333 Unset previous defined values before using the new ones 2015-01-31 10:45:31 +01:00
Ermal LUÇI
95c93bc3f6 Fixes #4340 encode username same as with password to avoid issues with special chars. 2015-01-31 10:13:37 +01:00
Ermal LUÇI
7c449a56f2 Do not reuse reqid on copy of phase2 Fixes #4349 2015-01-30 20:59:35 +01:00
Chris Buechler
76d450e23a fix input validation, = is OK here 2015-01-29 03:06:50 -06:00
Renato Botelho
b601f897a5 Accept port range on Outbound NAT. Fixes #4300 2015-01-28 16:45:58 -02:00
Warren Baker
a27f0c10a9 Add support for 0x20 DNS random bit support. Fixes #4205 2015-01-28 13:33:57 -02:00
Phil Davis
7c7c2ba2f0 Support for Office365 Mail
https://redmine.pfsense.org/issues/4176
Allow the user to choose SMTP authentication mechanism PLAIN or LOGIN.
For existing configs with this option not set, PLAIN is the default, and will appear first in the dropdown box, so next time the user saves the SMTP Notification settings, PLAIN will be the value selected and saved.
2015-01-28 13:23:54 -02:00
Phil Davis
4c40e2a764 Unimportant typos in user and group manager
that do not effect anything.
2015-01-28 06:55:49 -02:00
Renato Botelho
04c8360c72 Teach ufslabels.sh to deal with DESTDIR, useful on installation 2015-01-27 12:22:35 -02:00
Renato Botelho
8c392069ff Improve a bit sh syntax and fix it for multiple swap devices 2015-01-27 12:22:35 -02:00
Renato Botelho
802956d6cf Fix sed syntax, -i requires a space before the parameter. Also fix regex to find swap device 2015-01-27 10:38:58 -02:00
Chris Buechler
a8b61be689 use example.com for examples 2015-01-27 00:26:06 -06:00
Chris Buechler
5e3affe26d these descriptions were flipped. Ticket #4273 2015-01-27 00:21:37 -06:00
Renato Botelho
8e24d1dacd Make sure radvd is reconfigured when CARP is enabled/disabled. It should fix #4252 2015-01-22 10:01:37 -02:00
Renato Botelho
ca276264ee Add missing require for filter.inc since vpn_ipsec_configure() calls filter_configure(). It should fix #4236 2015-01-19 09:25:51 -02:00
Jared Dillard
1195a12d3b move jquery ui css to theme folders 2015-01-16 18:02:43 -06:00
Phil Davis
5b7c33fc7e Firewall Rules Apply be friendly to other languages
Forum: https://forum.pfsense.org/index.php?topic=86808.0
Redmine: https://redmine.pfsense.org/issues/3886

print_info_box_np() when called with just the first $msg parameter has some rough tests to decide if the "Apply" button should be displayed. It checks if the translation of "apply", "save" or "create" appears in the $msg string (which is a translated string itself). If the $msg string did not translate, and thus remains in English, but gettext("apply") does translate then the e.g. Turkish word for "apply" is not going to appear in the English $msg string. So things go wrong.

print_info_box_np already has extra parameters to tell it explicitly $showapply - and for this stuff we know we want the apply button, regardless of how the various text string translations work out. Thus I have provided those parameters here.

I also changed the construction of the text to pass as $msg, breaking it up like in firewall_aliases.php - this means that the string "You must apply the changes in order for them to take effect." translates and you get at least that Turkish displayed.

IMHO it would be beneficial to change lots of these print_info_box_np calls to explicitly set $showapply=true - that will ensure that the apply button shows (and thus the user can perform the needed actions) regardless of how well/not well the translation of the text turns out.
2015-01-15 19:05:32 -02:00
Ermal LUÇI
8d4e768a27 Time to let these go 2015-01-15 21:42:00 +01:00