Save the host name and domain to a temporary location until the setup wizard is finished to prevent triggering the DNS rebind message. Fixes #1022 Also use this information to implement the redirect for changed host for ticket #455
Handling this properly when the web gui is on an alternate port number.
Make this check more general in case someone makes a wizard that changes an opt interface's IP address and wants to use the "Reload in progress" step. Ticket #455
Add workaround for referrer check to not be triggered on the previous IP address when redirected by the setup wizard.
Redirect to the correct IP at the end of the setup wizard if accessing it on an IP address that was changed. Fixes #455
Use addslashes() here to prevent unescaped quotes from causing PHP errors. Fixes advanced/custom options in OpenVPN wizard.
Resolves #971. Fix wizard.php to show interface descriptive names. Pointy-hat: gnhb
Add a patch to wizard.php to support input_errors from sullrich (with some modifications).
Rename 'name' to 'descr' for CA, Certificates, and CRLs, to gain CDATA protection and standardize field names. Ticket #320.
Update wizard files for setup wizard to write proper config for current ppp architecture.
I also allowed selection of physical interface from the wizard screen. This is crucialbecause if the user has the WAN set to anything other than the same phyical interface used...
CA/CERT Move
Resolves #732. Make the wizard behave better and actually work by correcting typos in code. Make it faster by not using HTTP redirection for showing errors. Try to make it more user friendly, though some more work is needed.
Merge remote branch 'mainline/master'
Conflicts: usr/local/www/diag_smart.php usr/local/www/firewall_rules_edit.php usr/local/www/interfaces.php usr/local/www/load_balancer_pool_edit.php usr/local/www/pkg_mgr_settings.php
Add missing )
Fix printf/sprintf mixups.
Small gettext() fixes
Fix gettext implementation on wizard.php
Implement gettext() calls on wizard.php
Restore the code for getting the step's title and description after the step ID is set so that it is read from the correct step.
Show $g['product_name'] on wizards
Hide GMZ offset zones in setup wizard. Ticket #464
Check if a variable is set before trying to unset. Otherwise, this will blow up with $a[b][c] if $a[b] doesn't exist.
Fix typo.
Ticket #642. Fix logic for the wizard code to unset and arraynum usage.
For settings that exist in the configuration but are blank, only consider it true when associated with a checkbox.
Fix logic.
Ticket #493. Set a value for checkboxes since the parsers marks empty tags(<tag/>) as arrays.
Ticket #493. Ticket #302. Actually correct code flow to be correct and consistent to what it should do.
Fix wizard handling of password fields. Ticket #500.
Ticket #313. Use $myurl when calling fixup_string to get the URL for the image link.
Use alias style when creating aliases in wizards.
Add the counterpart of enablefields.
Actually get values from the CA based on what was choosen during wizard.
Merge common name fields with descriptive name. Default to 3650 days of lifetime and 2048 bits key length.
Ticket #414. Fix wizard framework to properly display this. Not sure how it actually worked before!
Add my copyright.
Add a function that allows to show/hide fields. Also correct the enable/disable function.
Improve wizard by adding more steps and cleaness.
Improve the wizard. Make it produce a correct openvpn server config.
Mostly style fixes.
Make the wizard ressemble the style as on other pages. Use switch instead of if else to make code more readble.
Improve a lot the wizard.php page to be more userfriendly and add control types for certificates.
Only extract timezone info if we have a field type 'timezone_select'
Correctly set variable values during each iteration. Ticket #414. Spotted-by: irc(Efonne)
Ticket #313. Search if the string to be replaced really exists instead of doing a blind replace.
Fix wizard webgui URL usage so it chooses https/http properly for refresh link and logo link
use _SERVER[\'HTTP_HOST\']
Use _SERVER['HTTP_HOST'] instead of lanip Resolves #157
Rework includes. Ticket #170
Resolves #170. Yet again include fallout changes.
Resolves #170. This is really a fallout from include changes. Pointy-hat: sullrich@
Remove support for all_interfaces from wizard.php it is not used anywhere. Convert the interfaces_selection to use the interface API.
Add alias completion support to wizard. Resolves #25
Fix some typos in wizard.php code introduced by previous commit.Add 'displayname' even to option fields of select.Convert traffic_shaper_wizard to use display better names with the introduced 'displayname'
Add a 'displayname' field to make it easier to print better labels for inputs.
Inculde wizard.css if it exists
Include wizard.css or all.css, wizard.css being the first
Include wizard.css if it exists after all.css
Requested-by: Holger
Set css
Rewrite the pfsense privilege system with the following goals in mind ...
1) Redefine page privileges to not use static urls2) Accurate generation of privilege definitions from source3) Merging the user and group privileges into a single set4) Allow any privilege to be added to users or groups w/ inheritance...
traffic shaping wizards are no longer special and they never should be!
Make scripts XSS input safe.
Pointed-out: by hoopercharles@gmail.com
Switch over to array style page titles. Obtained-from: m0n0wall
Correctly display POST messages
Fixup color code
Suggested-by: DSH
Move ending </body> and </html> down to end.
Noticed-by Daniel S
Kill carriage returns on timezone list
During the traffic shaping wizard turn the logo into a "abort" button. Clicking this will whipe the previous steps configuration.
MFC 10652Make wizard work on described OPT interfaces
MFC: For next snapshot
MFC 9611Ticket #792 - fix 6 month old shaper bug that caused erratic speeds and latencies. With a 10Mbit queue and 4 iperf jobs running through it in default and otherL queues, I can get an icmp through in otherH with a mere 25ms additional latency on average.
During traffic shaper wizard rewire the logo to remove shaper rules to basically abort the incremental shaper process
Remove #!/usr/local/bin/php
MFC 7995Add FieldValidate() JS function back - accidently removed in 1.28
MFC 7244Allow the wizard to send the user error messages
MFC 7243Make interface code look the same as other fields
MFC 7049Fix protocol detection for $myurl Stop $myurl from putting : in url when no alternate port is selected
Spell interfaces correctly
If the wizard step title is Reload in progress then set the top image url to the LAN ip so that it matches what the system will try to access in 120 seconds.
Add interface_selection box widget
Remove extra #
Change color to #333333
Suggested-by: hoba
Change rounded corner color to match the rest of the items
Round the corners
Use a white background
updating files to use theme imagesremoving images from /usr/local/wwwadding specific images into the correct theme directories
Code cleanup
include head.inc and round corners on tabs
use parse_xml_config_pkg()
Correctly popultae $myurl and friends
Fixes Ticket #179
xmlparse.inc is included already in config.inc which is included in guiconfig.inc
no more xmlparse_pkg.inc
No more xml_parse_config_pkg.
Restore form state upon loading.
Correctly handle checkboxes in the wizard
Add greyout support. This is still very experimental ;)
Allow for <warning> tag
If the field type is checkbox then set the value in config.xml to TRUE if its "on"