summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_shaper_layer7.php
Commit message (Collapse)AuthorAgeFilesLines
* Code spacingPhil Davis2015-06-151-15/+15
| | | | | | | and other random stuff I noticed. I think this finishes messing with code style. The codebase should match the developer style guide closely enough that 99.9% of changes will not feel the need to also massage the formatting.
* Code style firewall shaperPhil Davis2015-05-111-261/+257
|
* Minor changes to firewall_shaper_layer7Phil Davis2015-05-111-7/+3
| | | | | | | | The tabbing of this code is not so good, so it is difficult to see what is going on. I will format that in a later pull request. These things look unbalanced but actually were not at run time. These changes make it easier to check the code in an editor that can show the balanced "table" "/table", "selected" "/selected". 1) Take the "table" start declaration out of the output form var that has been built up. Put it in-line in the code so it can be seen to match the "/table" now at line 575. $output var is no longer needed. 2) Remove 3 "/select" that were each inside an "if" statement. Put a single "/select" at the end. This makes it easy to see the matching "select" and "/select" and also ensures there will always be a "/select" written. I thought these things were worth doing separate to code-style, as they are "real" changes. The L7 form still works in my testing.
* This broke a variety of things. Revert "Deprecated and non-static method ↵Chris Buechler2015-01-091-1/+1
| | | | | | messages" This reverts commit 91b9a02fb131746c67fdf9f34282f123a13f1b13.
* Deprecated and non-static method messagesPhil Davis2015-01-091-1/+1
| | | | | | | | | | | | | | | | Fix various files that can emit messages like: PHP Strict Standards: Non-static method SimplePie_Misc::array_unique() should not be called statically, assuming $this from incompatible context in /etc/inc/simplepie/simplepie.inc on line 5508 php-fpm[16262]: /rc.newipsecdns: PHP ERROR: Type: 8192, File: /etc/inc/shaper.inc, Line: 4365, Message: Assigning the return value of new by reference is deprecated Some of these style messages have been reported on the forum, e.g. https://forum.pfsense.org/index.php?topic=86448.0 I had RSS widget on, and simplepie sent the system beserk telling about all this stuff.
* Fix lineup of copyright linesPhil Davis2015-01-011-1/+1
| | | | | and module names and other bits of formatting and typos in header comment sections.
* Welcome 2015Renato Botelho2014-12-311-1/+1
|
* Change copyright statement to reflect realityJim Thompson2014-11-101-0/+1
|
* replaced <br>, <br/> with <br /> in ANSI encoded files. Converted these ↵ayvis2014-03-181-6/+6
| | | | files to UTF-8
* Remove call-time pass by reference from traffic shaper files, it should fix ↵Renato Botelho2013-09-121-1/+1
| | | | #2565
* Tidy up "firewall_shaper_layer7.php" XHTMLColin Fleming2013-04-031-28/+28
| | | | | | | | | | Add missing closing SPAN tag Remove P tag and class from shaper message Swap TABLE and DIV tags Add CDATA sections to SCRIPT tags and escape closing SECTION and OPTION tags Add missing TR tag Add missing end DIV tag
* Tidy up "traffic shaper layer7" XHTMLColin Fleming2013-03-221-55/+51
| | | | | | | | | | | Close INPUT, BR, P and IMG tags Add "alt" to IMG tags Add CDATA section to scripts Move "tree.css" and "tree.js" to the HEAD statement and close the HEAD statement manually Spelling mistake Update PHP shorthand tag Update HTML boolean operators
* Refine saving/applying on more pages - don't show apply or take an action ↵jim-p2012-10-091-4/+4
| | | | unless the user is allowed to do that.
* Activate new shortcuts/status in the rest of the areas that are currently setup.jim-p2012-08-101-1/+1
|
* Fix typo in comment.jim-p2010-11-161-1/+1
|
* Form image buttons are submit buttons and thus default buttons, causing ↵Erik Fonnesbeck2010-11-121-2/+2
| | | | unwanted behavior with the enter key. Use links instead, where possible.
* Fix XSS issuesScott Ullrich2010-11-121-4/+3
|
* Merge remote branch 'mainline/master'Renato Botelho2010-08-121-1/+1
|\ | | | | | | | | | | | | | | | | 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
| * Remove or simplify some (s)printf calls.Erik Fonnesbeck2010-08-111-1/+1
| |
* | Use <?php instead of the short form, use <?= and remove spaces and tabs from EOLRenato Botelho2010-08-121-62/+62
|/
* Checked gettext() implementation on firewall_shaper_layer7.phpCarlos Eduardo Ramos2010-07-131-1/+1
|
* Checked gettext() implementation on firewall_shaper_layer7.phpCarlos Eduardo Ramos2010-07-121-1/+1
|
* Fixing gettext calls on firewall_shaper_layer7.phpVinicius Coque2010-07-021-2/+2
|
* Review of firewall_shaper_layer7Neriberto C.Prado2010-06-301-1/+1
|
* Implement gettext() calls in firewall_shaper_layer7.phpNeriberto C.Prado2010-06-291-20/+20
|
* Add status links to shaper pages.jim-p2010-06-021-0/+1
|
* Require filter.inc and shaper.incScott Ullrich2009-11-211-0/+3
|
* Do not 'spam' a new ipfw-classifyd for each save. If we hit save for an ↵Ermal Luçi2009-11-101-4/+7
| | | | existing configuration(did changes to existing one) just tell ipfw-classifyd to reload the config.
* Remove \r it makes editing in vi ugly.Ermal Luçi2009-11-101-589/+589
|
* Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to ↵Scott Ullrich2009-09-141-9/+14
| | | | include 2009 on files that I have asserted (C) on
* * Reorganize the 'apply' button infrustructure in the GUI.Ermal Luçi2009-06-301-6/+6
| | | | | | - Present three new functions is/mark/clear_subsystem_dirty('name_of_subsystem'). This makes easier to create such things without needing to introduce new globals. - Convert all pages to the new infrustructure - This improves a lot the control on this notification
* * Create two new functions lock($subsystem)/unlock() to have more reliable ↵Ermal Luçi2009-05-081-5/+2
| | | | | | | | | | | locking using semaphores. This function can sleep till the resource is free and can help find not well behaving code. * Remove most of the config_lock/config_unlock logics on the whole scripts/pages it is an abuse of this. If any sybsytem wants to lock can do so with its own lock. * Lock the config when doing a filter reload to avoid parallell recursion on this function, since it is not reentrant. This compenstates for the removal of lock aquiring from the scripts/pages. * config_lock/config_unlock are now compate shims that do nothing. They are preserved since packages 'abuse' them too.
* Removed hard limit that was limiting the number of protocols to 100Helder Pereira2009-01-071-9/+4
|
* Using correct functionaHelder Pereira2008-12-211-3/+3
|
* Use propper functions.Ermal Luçi2008-12-211-3/+3
|
* Also removed "action allow" from a javascript arrayHelder Pereira2008-12-211-1/+1
|
* Removed "action allow" from layer7 rules definition since it didn't make senseHelder Pereira2008-12-211-1/+1
|
* This patch adds the initial support for layer7 protocol inspection gui.Helder Pereira2008-12-201-0/+592
OpenPOWER on IntegriCloud