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
Respect themes.
If we don't have any adddeleteedit fields or a special redirect, default to pkg_edit.php?xml=$xml&id=0.
It no longer breaks when the output of a package is displayed.
Minor cleanup.
Add rounded tabs.
Fix missing ')'.
Clean up eval()s.
Code cleanup
Include IP on interface when all_interfaces is enabled
Correctly show all interfaces
Add <all_interfaces> option
Allow filtering of interfaces_selection box
Use $pgtitle
Set page titles accordingly
Add field greyout.
Set title to Package Editor if $title is unset
parse_xml_config -> parse_xml_config_pkg
No need to backup $config and restore. This is a ages old bug.
Fix package saving.
Allow a GET savemsg= parm to notify user of updating, etc.
No more xmlparse_pkg.
Minor cleanup and parse_xml_config_pkg -> parse_xml_config.
require -> require_once
Include pkg-utils.inc to atleast get the scripts running again. It doesn't install correctly however.
Look at the correct field to deterimine which item should be selected in the interfaces_selection widget
Reset size in between widgets
Allow additional entries to be inserted into the interfaces selection widget.The first usage of this will be with carpdev.
Make Save and Cancel buttons the same size
Add a Cancel button which takes the browser back to the page prior.
pka -> pkga
Fix handling of <note> fields.
Add $Id$ tag
Gotta load the global functions before the rest of them :)
Add basic support for <custom_php_global_functions> tag.
Populate interface drop down with the correct selected interface when editing a package record.
Add note field
is_subqueue() returns 1 if the item is a subqeueu
Do not redirect if preoutput is setup
Instead of hard coding an interface address, use the friendly name in packages.
Process before form events
Run custom_php_command_before_form commands beforecustom_php_resync_config_command if they exist
Eliminate extra <br>
Set the page title to <title>
Allow $myurl in the url of the tabs .. $myurl is translated to getenv("HTTP_HOST") on the fly
Update tab codef.