Commit Graph

146 Commits

Author SHA1 Message Date
Scott Ullrich
0089af7c1e Increase execution time 2010-01-21 19:20:10 -05:00
Scott Ullrich
b8d220ab8a Nuke pkg_build_filter_rules();. It would have never covered reinstallation cases. 2009-12-24 21:30:22 -05:00
jim-p
58362f9d5d Fix webgui protocol detection here, too. 2009-12-24 20:37:21 -05:00
Scott Ullrich
7a927e67a5 Require filter.inc and shaper.inc 2009-11-21 19:28:00 -05:00
Ermal Luçi
5d65350b30 Missed commit on removing all_interfaces. 2009-10-05 18:52:13 +00:00
Ermal Luçi
203de6bf85 Remove support for all_interfaces from wizard.php it is not used anywhere. Convert the interfaces_selection to use the interface API. 2009-10-05 18:49:42 +00:00
Scott Ullrich
1d333258dc Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to include 2009 on files that I have asserted (C) on 2009-09-14 21:49:40 -04:00
Ermal Luçi
07bcca251d Add needed filter_reload call. 2009-07-08 14:50:28 +00:00
Renato Botelho
457106da66 Revert 2 last hunks of last commit since it's not related with the fix 2009-06-25 16:17:30 -03:00
Manoel Carvalho
dcf6d56377 PHP wasn't generating javascript for input fields named with brackets like "iface_array[]" 2009-06-25 16:13:40 -03:00
Scott Ullrich
7e542bd186 Remove is_int check, it appears to be failing 2009-06-20 21:18:27 -04:00
Scott Ullrich
13e92c3697 Unbreal rowhelper in 2.0 2009-06-20 20:25:09 -04:00
Scott Ullrich
4c09b655fb Ensure size is a int 2009-06-20 19:19:08 -04:00
Ermal Luçi
a9b2e638f8 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). 2009-05-29 21:49:50 +00:00
Bill Marquette
625dcc400c Massive javascript cleanup, all .js files now live in $g['www_path']/javascript
Purged unused JS
2009-03-14 14:41:04 -05:00
Bill Marquette
e4f8f7d260 make packages use the same formfield css the rest of the UI uses 2009-03-13 20:35:05 -05:00
Bill Marquette
2e069686fb Move Scriptaculous/Prototype includes to head.inc and remove the code duplication 2009-03-13 01:04:26 -05:00
Scott Ullrich
916b74c604 When editing a record and not posting, there must be a valid id.
This will fix pages coming in from after authing that accidently
drop &id=0
2009-02-14 22:44:09 -05:00
Scott Ullrich
0f68e35268 Test that item has a value instead of using isset which
will return true on blank <descr/> items.
2009-02-10 13:46:05 -05:00
Scott Ullrich
6e32d276d0 Do not allow \ in fieldnames. 2008-12-12 18:20:37 +00:00
Scott Ullrich
349ef5c973 Do not attempt to save blank fieldname values 2008-10-25 06:46:55 +00:00
Scott Ullrich
41fd044584 Ignore listtopic fields 2008-10-25 02:53:37 +00:00
Scott Ullrich
32487e426c Add listtopic field type 2008-10-25 00:44:36 +00:00
Ermal Luçi
85a5da131c * Rename get_current_wan_address to get_interface_ip
* Rename get_real_wan_interface to get_real_interface
* Simplify get_interface_ip by using find_interface_ip which should help in speed to since its using caching. Pointed by billm@
* Cleanup some code when passing or remove some unused one.
2008-10-23 21:51:53 +00:00
Scott Ullrich
f1412ed6c4 Allow setting the size of password fields 2008-10-11 23:27:11 +00:00
Mark Crane
82458abb20 pkg_edit add <wrap>off</wrap> for textarea 2008-09-29 22:09:11 +00:00
Matthew Grooms
6b07c15ad8 Rewrite the pfsense privilege system with the following goals in mind ...
1) Redefine page privileges to not use static urls
2) Accurate generation of privilege definitions from source
3) Merging the user and group privileges into a single set
4) Allow any privilege to be added to users or groups w/ inheritance
5) Cleaning up the related WebUI pages
2008-08-01 06:30:34 +00:00
Matthew Grooms
a93e56c58a Overhaul IPsec related code. Shared functions have been consolidated into
a new file named /etc/ipsec.inc. Tunnel definitions have been split into
phase1 and phase2. This allows any number of phase2 definitions to be
created for a single phase1 definition. Several facets of configuration
have also been improved. The key size for variable length algorithms can
now be selected and the phase1 ID options have been extended to allow for
more flexible configuration. Several NAT-T related issues have also been
resolved.

Please note, IPsec remote access functionality has been temporarily
disabled. An improved implementation will be included in a follow up
commit.
2008-07-11 01:55:30 +00:00
Scott Ullrich
1ebe9f62f4 Do not redeclare gettext 2008-03-10 00:38:23 +00:00
Scott Ullrich
d8c1a6c53c Make scripts XSS input safe.
Pointed-out: by hoopercharles@gmail.com
2008-02-12 04:40:35 +00:00
Scott Ullrich
d88c6a9fdf Switch over to array style page titles. Obtained-from: m0n0wall 2007-11-16 00:48:53 +00:00
Scott Ullrich
ae2ea68c42 Ensure that all form elements have an id. 2007-10-17 02:13:46 +00:00
Scott Ullrich
4fd34ccee4 Kill trailing space and note that dsh submitted last patch. 2007-01-20 20:52:51 +00:00
Scott Ullrich
67fa245aca Fix multiple selection in RELENG_1 package editor. -HEAD does not suffer from this bug as the codebase is different. 2007-01-20 20:51:47 +00:00
Seth Mos
656a2feab2 MFC fixes for Ticket 1187 by proxy for Scott Dale 2006-12-17 21:40:52 +00:00
Scott Ullrich
c7a121882a Set value to ON when checked. 2006-12-08 19:29:51 +00:00
Scott Ullrich
45a636478b Kill trailing space 2006-12-08 19:26:52 +00:00
Scott Ullrich
855cab2166 Add checkbox support to rowhelper 2006-12-08 19:26:18 +00:00
Scott Ullrich
9996eff6ce 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. 2006-09-26 19:22:41 +00:00
Scott Ullrich
3c61688623 Fix interfaces selection widget. Now selections are restored. 2006-09-26 19:15:49 +00:00
Bill Marquette
d012cff409 display page title during package editing 2006-09-01 04:44:20 +00:00
Bill Marquette
e156775235 per dsh@ this breaks enablechange() when multiselect is used (routed package
is an example of this)
2006-09-01 00:13:31 +00:00
Scott Ullrich
03664f640d Rowhelper saves rows in incorrect order when you save for the 1st time
Ticket #1000
2006-06-22 13:35:01 +00:00
Scott Ullrich
e34c9c0047 <br> before showing options 2006-06-08 20:39:29 +00:00
Scott Ullrich
14db714e02 Add dummy stubs for some code that was MFC'd 2006-06-07 19:22:18 +00:00
Scott Ullrich
fbd14b1382 MFC more needed package improvements 2006-06-07 19:17:16 +00:00
Scott Ullrich
57876601b7 add multiple select support
todo: figure out the new mystery which is our system in -HEAD. it sure is
shiny.
2006-06-01 04:22:01 +00:00
Scott Ullrich
b91540da0b MFC from HEAD
* Add gettext() dummy function to avoid needing gettext from -HEAD's php binary.
2006-04-20 21:53:38 +00:00
Scott Ullrich
b627d72c1e Kill Warning: in_array(): Wrong datatype for second argument in /usr/local/www/pkg_edit.php on line 417 errors 2006-04-19 18:34:38 +00:00
Scott Ullrich
5e4b648eb6 Nuke a c/r if included. 2006-04-19 18:30:27 +00:00