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
Set value to ON when checked.
Kill trailing space
Add checkbox support to rowhelper
Detect if stored item in config.xml is an array. If it's an array simply pass array along, if its not then attempt to explode the array.
Fix interfaces selection widget. Now selections are restored.
display page title during package editing
per dsh@ this breaks enablechange() when multiselect is used (routed packageis an example of this)
Rowhelper saves rows in incorrect order when you save for the 1st time
Ticket #1000
<br> before showing options
Add dummy stubs for some code that was MFC'd
MFC more needed package improvements
add multiple select support
todo: figure out the new mystery which is our system in -HEAD. it sure isshiny.
Kill Warning: in_array(): Wrong datatype for second argument in /usr/local/www/pkg_edit.php on line 417 errors
Nuke a c/r if included.
MFC Fernando's OpenVPN changes.
Correctly restore interface array selections
Process include_file
Correct warnings and errors found eclipse
Remove #!/usr/local/bin/php
MFC 8610'cancel' -> 'Cancel'
Do not show value = foo
Turn off debugging helper line
When multiple and size is defined for a interface, treat it as a php array.
Fix a XXX
updating files to use theme imagesremoving images from /usr/local/wwwadding specific images into the correct theme directories