Change copyright statement to reflect reality
modify copyright statement to reflect reality
Remove almost all calls to history.back() and make Cancel button back to HTTP_REFERER, there are a couple of places I didn't touch on this commit because it requires more work
We need to allow subdirectories under /usr/local/pkg, here is the proper fix
Avoid directory traversal when reading package xml files, also check if file exists before try to read it
Replace Header() calls by lowercase
Update "pkg_edit.,php"
"custom_php_after_head_command", if the PHP code also containsJavaScript ("squid_auth.xml" for example) then this will cause HTMLerrors, as you are not supposed to have anything between the closingHEAD tag and the opening BODY tag....
Tidy up Ampersand XHTML
Deprecate Ampersand in Anchor tags
fixes Bug #3569
On packages that uses row_helper when user clicks on add or delete button, the page scrolls to top.It seems something with ajaxhttp://stackoverflow.com/questions/1061580/jquery-click-on-anchor-element-forces-scroll-to-top
A simple return false after jquery action fixes the unwanted scroll.
replaced uppercase html tags with lowercasejs files saved as UTF-8 / LFlanguage="JavaScript" deprecated, replaced with type="text/javascript"
xhtml Compliancereplaced <br>, <br/> and </br> with <br />
Update "pkg_edit.php" XHTML
Update HTML Boolean operator
Set network interfaces description as interface name.
Remove call-time pass by reference for do_input_validation, helps ticket #2565
Fix #3127
By default htmlspecialchars does not consider single quotes, what can bea problem when value attribute is set using it. Replace value attributeset to use double quotes on places where it's obviously recieving aresult of htmlspecialchars() call.
Fix #3113, fix multiple english spell errors s/seperet/separat/
Update "pkg_edit.php"
Move closing TR tag outside, otherwise the 'foreach' statement willproduce a duplicate closing TR tag.
Add missing closing B tagAdd missing closing TD tag
Tidy up "pkg_edit.php" XHTML
Remove duplicate $size variableAdd summary statement to TABLE tags
Close INPUT tagsUpdate HTML boolean operatorsAdd missing start TR tagRemove "name" statement from OPTION tag, invalid in XHTMLRemove duplicate "id" statement in SELECT tag
Update pkg_edit.php
Correct CDATA sections in SCRIPT tagCorrect ALT statement in IMG tag
Correct CDATA section in SCRIPT tag
Close BR and IMG tags and add ALT statement to IMG tagsChange ONCLICK to lower caseMove "fbegin.inc" PHP statement before the SCRIPTSAdd CDATA sections to SCRIPT tags
Add onchange tag to checkbox too
Fix PHP errors relating to using string offset as an array
add input autocomplete array aliases
More encoding...
pkg_edit - add show_disable_value option to select_source xml option
If a package has donotsave, still process its input validation. Properly handle preoutput in the case of input errors also.
fix select_source option
include more features to interfaces_selection<showips><showvirtualips><showlistenall><hideinterfaceregex>
New features will show only with these new options on xml file
new pkg_edit.php code with revised functions, no 0-99 loop on row_helper, movable rows, tootip with domtt.new field types button, info as well combinefileds working and colspan2 on nodisplaname option.jquery code improved too.tested on squid, dansguardian, sshdcond , filer , pfblocker package.
Fix tag order.
Removed flawed HTML.
Added interface_selection to choose a interface in tinydns failover selectionChanged the $text so that no "option value" is preselected when adding a newrow with addrowto function.
Added rowsize[] for use in row_helper_dynamic.js
Added empty option line so not to write to config.xml if not filled in
Fix missing description in rowhelper.
Fix use post here, since the other var isn't defined as it was before my commit yesterday.
Fix handling of interface selectors in packages.
Revert "Correct displaying any availble default value."
This reverts commit 01c170c4612a4afdbaa2d6e9bf98552dddc1cde3.
Correct displaying any availble default value.
Allow packages to specify that their tabmenus should not be a drop-down list by using a <no_drop_down/> tag.
Allow setting package interfaces to loopback (lo0)
Move this validation down so we can still assume id=0 if it's not present, and then redirect if it's non-numeric.
Form image buttons are submit buttons and thus default buttons, causing unwanted behavior with the enter key. Use links instead, where possible.
Add style to rowhelper normal text fields in packages for consistency.
Fix misc input validation errors. Move routed/* to same dir as pkg items
Ensure that the value is returned as 'selected' when using a multiple select list.
Change windows.onLoad event to rely on DOM readiness instead, for enablechange() function. Tested on Safari, Chrome, FFox and IE7+8 on windows and OSX.
Ensure $value is unset so that subsequent rowhelper fields, without <value/> don't have a previous $value set.
Add Save + Cancel buttons to be below advanced features section if advanced features is enabled.
Fix enablechange() js problem caused by converting print() to echo().
Converted all print() statements to echo() and also added 2 new XML tags for packages to create an 'Advanced Features' section.Tags are <advanced_options/> and <advancedfield/> which when enabled will add the advanced field into the new advanced section and also gives it a shiny new 'Advanced' button to click.
New Package XML tag 'tab_level' allows for multiple rows of tab displays.
Ignore sorting field types
Fix gettext issues
Reviewing gettext()
Implementing gettext()
Restore select_source value correctly
Update (C) to 2010
Add binding support for row helper drop downs
Allow mapping a select drop down to any area of config.xml
Check for an empty <config/> as the first setting for a given package's config. When present, this breaks saving for certain packages (namely Squid's caching tab).
Fix rowhelper size usage.
Increase execution time
Nuke pkg_build_filter_rules();. It would have never covered reinstallation cases.
Fix webgui protocol detection here, too.
Require filter.inc and shaper.inc
Missed commit on removing all_interfaces.
Remove support for all_interfaces from wizard.php it is not used anywhere. Convert the interfaces_selection to use the interface API.
Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on
Add needed filter_reload call.
Revert 2 last hunks of last commit since it's not related with the fix
PHP wasn't generating javascript for input fields named with brackets like "iface_array[]"
Remove is_int check, it appears to be failing
Unbreal rowhelper in 2.0
Ensure size is a int
Present a new package option filter_rules_needed which has a function name to be called if the package needs to create firewall rules. The function should have a switch statement one with 'nat' option wich is called for nat/rdr and one with 'rule' option which is needed for rules. This will help on removing from filter.inc all the packages hardcoded includes and rules and give some more dynamicity. The rules by this function will be included on rules.nat.packages and rules.packages on /tmp partition and called by anchors include file when filter reloads(still this has to come).
Massive javascript cleanup, all .js files now live in $g['www_path']/javascriptPurged unused JS
make packages use the same formfield css the rest of the UI uses
Move Scriptaculous/Prototype includes to head.inc and remove the code duplication
When editing a record and not posting, there must be a valid id.
This will fix pages coming in from after authing that accidentlydrop &id=0
Test that item has a value instead of using isset whichwill return true on blank <descr/> items.
Do not allow \ in fieldnames.
Do not attempt to save blank fieldname values
Ignore listtopic fields
Add listtopic field type
Allow setting the size of password fields
pkg_edit add <wrap>off</wrap> for textarea
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...
Overhaul IPsec related code. Shared functions have been consolidated intoa new file named /etc/ipsec.inc. Tunnel definitions have been split intophase1 and phase2. This allows any number of phase2 definitions to becreated for a single phase1 definition. Several facets of configuration...
Do not redeclare gettext
Make scripts XSS input safe.
Pointed-out: by hoopercharles@gmail.com
Switch over to array style page titles. Obtained-from: m0n0wall
Ensure that all form elements have an id.
Kill trailing space and note that dsh submitted last patch.
Fix multiple selection in RELENG_1 package editor. -HEAD does not suffer from this bug as the codebase is different.
MFC fixes for Ticket 1187 by proxy for Scott Dale