Update the Copyright year.
A subsequent commit will deal with .po's.
Fix diag_dns.php hostname usage
diag_dns.php: Fix button icon to match text for alias actions.
System DNS Server changes. Implements #10931
There are significant changes here, but ultimately should be a smoothtransition. See https://redmine.pfsense.org/issues/10931 for moredetails.
DNS/Ping/Traceroute IDN support. Issue #10538
Merge pull request #4151 from vktg/urltablefeature
switch to resolve_host_addresses() func
This is 2020. Issue #9245
Fix copyright message years to reflect BSDP -> ESF -> Netgate
Use correct variable in IP address validation check for DNS. Fixes #9543
Allow a trailing dot in a hostname on diag_dns.php. Fixes #9276
Remove links to DNSStuf tools. Fixes #9275
Update copyright notices to 2019. Happy New Year
Fix #9121: Initialize arrays to prevent PHP 7 errors
PHP7 - Resolve illegal string offset warning
Update the Copyright notice for pfSense.
Do not print JS when there are input errors on diag_dns.php; fix json_encode syntax. Ticket #7999
Encode hostname parameter contents in javascript for diag_dns.php. Fixes #7999
Merge pull request #3737 from phil-davis/diag-dns-hide-add-alias-button
Merge pull request #3734 from phil-davis/patch-1
Merge pull request #3735 from phil-davis/dns-lookup-add-alias
Diag DNS disable Add Alias button when host field is changed
Diag DNS do not create an empty alias if name does not resolve
Diag DNS do not show Add Alias if no priv to add alais
Diag DNS fix update alias button text after add alias
1) Lookup a name with Diag DNS2) Press "Add Alias" The alias is added, but the button still says "Add Alias".
Actually the alias exists by now. The button should say "Update Alias".
Fix: once we have emitted the alias create/update success message, we can set $alias_exists true so that the rest of the code is based on the (possibly new) state.
Remove duplicate write_config from diag_dns
Add reason to write_config() call
Required fields in diagnostics
Fix diag_dns regressions
After testing diag_dns behaviour some regressions have been noticed.
1) Looking up ipv6.google.com (it only has AAAA records) doesn't work - gethostbyname() only supports v4, ipv6.google.com only has v6 - this bug was recently and inadvertently introduced...
Move copyright from ESF to Netgate
Fix diag_dns ipaddr set to use in IP WHOIS and IP Info
- Do not call resolve_host_addresses() when hostname cannot be resolved by gethostbyname(). The old check was considering gethostbyname would return NULL in this case but it returns a string with the hostname...
Removed unused variable $hostname
Add output encoding to diag_dns.php for results returned from DNS. Fixes #6737
Code style and comments
No functional change - just making style consistent
Move to Apache License 2.0
Review license / copyright on all files (final round)
chmod 0644 php web pages
Fix PTR lookups on diag_dns.php. Ticket #6561
Change button order on diag_dns.php so hitting enter in the field does a lookup rather than update alias. semi-related to Ticket #6561
Merge pull request #3028 from PiBa-NL/2.3_dnsV6
Diagnostics - DNS Lookup, also query for IPv6 addresses
Always use require_once
The usage of require() and require_once() throughout the system isinconsistent, and "bugs" come up now and then when the order of"requires" is a bit different and some require() happens after theinclude file is already included/required....
Merge pull request #2839 from phil-davis/patch-6
Allow to update existing alias from diag DNS
See Redmine #6077This seems the easy and reasonable thing to do. Make the button text reflect what is going to happen "Add alias" or "Update alias". Then the backend code can just either create a new alias or overwrite an existing one.
Handle alias from CNAME in diag_dns
If I resolve a CNAME with diag_dns, it gives back the translated FQDNs - e.g. www.inf.org translates to inf.org. Then press "Add Alias".Problem: The existing code puts a "/32" CIDR after that in the alias "www_inf_org" in the config - "inf.org./32" - and if you then edit the "www_inf_org" alias it shows as "inf.org./32" in the Network or FQDN Address field. Normally when putting an FQDN into an alias, no CIDR is inserted....
Truncate alias name at 31 characters to prevent creating an invalid ruleset. Ticket #6075
Use correct subnet mask for IPv6. Fixes #6039
Revert "Merge pull request #2728 from phil-davis/form_button"
This reverts commit a32bed49516f3df3d104a5026a5b2c74451f348f, reversingchanges made to 9ec9978267a5d1985d6da8ba35d52b7174239d2f.
Internationalize Form_Button text
The text of a Form_Button is not translated internally. Some Form_Buttoncalls already had the button text enclosed in gettext(), this does itfor the remaining ones.
Bring some consistency to the way most buttons are displayed (color, icons, etc). Ticket #5965
Still need to review Advanced buttons and Repeatable block buttons.
Review alert wording. End sentence with period, remove redundant 'Warning', 'Error', etc. prefixes, since alerts are now color coded. Remove <b> tags.
Use print_info_box() to generate alerts
Convert section titles to title case
add call gettext function for translate
Internationalization batch 1
All simple php echo to short
Short version is far more used than long php echo. This brings all code to same standard where possible.
Convert remaining short_open_tag occurances. See PR #2378
Convert short open tags to full tags
Short open tag is discouraged since it is only available if enabled
See https://secure.php.net/manual/en/language.basic-syntax.phptags.php
Remove all pfSense_MODULE and pfSense_BUILDER_BINARIES definitions, whatever was the reason they were added, it was never finished and it's not being used
Code style usr local www a-e
better spacing
Calling all of these "Page" in the privilege name is redundant since they are all pages and the "WebCfg" prefix implies they are pages.
Add some missing privileges to pages
Added use of class autoloading (GUI stuff only)
Any GUI script that loads the guiconfig.inc file will have access tothe autoloader.
fix Bug #5400
interface=wan could be offline/disabled in multi-wan systems.also, currently no code in diag_ping.php to convert 'wan' => source-ip
Merge with master
Copyright and license cleanup
- Remove personal copyright from people who assigned it to employer (ESF)- Remove $Id$- Remove extra spaces
Diag review
Moved action-buttons in-line styling to pfSense.css
Merge with bootstrap
bootstrap usr/local/www a to e minor edits
bootstrap, use require_once for classes/Form.class.php
Merge branch 'master' into bootstrap
Move main pfSense content to src/