summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_rules.php
Commit message (Collapse)AuthorAgeFilesLines
* Firewall / Rules - Consolidate Move Separators FunctionNOYB2016-02-121-19/+6
| | | | Consolidate the moving of separators for add/copy/dup/delete into a generic function.
* Merge pull request #2619 from ↵Stephen Beaver2016-02-111-4/+13
|\ | | | | | | NOYB/Firewall_/_Rules_-_Display_Separators_Efficiency
| * Firewall / Rules - Display Separators EfficiencyNOYB2016-02-111-4/+13
| | | | | | | | Use a list of separator rows to call the display separator function only for rows which there are separator(s). More efficient than looping through the list of separators on every row.
* | Convert section titles to title casek-paulius2016-02-101-1/+1
|/
* Merge pull request #2600 from NOYB/Firewall_/_Rules_-_Page_Efficiency_UpgradeStephen Beaver2016-02-091-30/+31
|\
| * Make display separators function generic and move to filter.inc.NOYB2016-02-081-18/+3
| |
| * Firewall / Rules - Page Efficiency UpgradeNOYB2016-02-081-30/+46
| | | | | | | | | | | | | | | | | | | | | | | | 1) Only load the rules of the selected interface instead of loading all the rules of all interfaces and hiding them. Very inefficient and can result in sluggishness. Especially with large number of rules and/or large alias tables. 1.1) Rule separators indexed to their position within their interface so they work with only loading the selected interface rules. 2) Supports consecutive separators. 3) Fixes #5559 - horizontal scrollbar when no rules to display (all hidden). No longer hiding rules. 4) Corrects case where a single rule defined on any interface would prevent the alert messages from being displayed on all interfaces.
* | Added "Quick" icon to legendStephen Beaver2016-02-091-0/+1
| |
* | Typo in icon colorStephen Beaver2016-02-091-1/+1
| |
* | Fixed #5860Stephen Beaver2016-02-091-1/+5
|/
* Implemented #5846 as requestedStephen Beaver2016-02-081-2/+3
|
* Fixed #5841Stephen Beaver2016-02-041-2/+2
|
* Remove bonus spaceStephen Beaver2016-01-291-1/+1
|
* Possible fix for #5752Stephen Beaver2016-01-291-1/+6
|
* Minor cleanupNewEraCracker2016-01-291-6/+6
| | | | 1) Undo typos in sasl.inc. 2) Remove unused code from CSS. 3) Correct typos in some comments. 4) Convert short_open_tag to full tags. 5) Make 'else' block look like the others.
* Separator bar stuff moved to pfSenseHelpers.js so that it can be more easily ↵Stephen Beaver2016-01-281-158/+12
| | | | | | applied to other pages Separators added to firewall_nat.php
* Remove no longer needed codeStephen Beaver2016-01-281-3/+2
|
* Adjest separators on rule move or deleteStephen Beaver2016-01-281-0/+34
|
* Fixup text for delete rule confirmation popupPhil Davis2016-01-281-1/+1
| | | | It is was asking "Are you sure you wish to delete?" On any buttons that have a confirmation popup the title text needs to be something that works on the end of "Are you sure you wish to".
* Update typo spotted by @phil-davisRenato Botelho2016-01-281-1/+1
|
* Remove href to prevent page scrolling on clickStephen Beaver2016-01-281-4/+4
|
* Cosmetic changes - part deuxStephen Beaver2016-01-281-5/+10
| | | | | Calculate colspans in casenumber of columns change again "bytes" => "B" to reduce column width
* Cosetic update - Part 1Stephen Beaver2016-01-281-5/+7
|
* Show rule state details in firewall rules.Luiz Otavio O Souza2016-01-281-2/+53
| | | | | | Inspired by pull request #1901 from marcelloc/hitcount_23_02. State visualization and kill will be committed in a subsequent commit.
* Fixed variable names for power save modesStephen Beaver2016-01-261-0/+2
|
* HTML Compliance - Firewall Rules - SeparatorNOYB2016-01-261-2/+2
| | | | | The font element is obsolete. Use CSS instead. <font class="bg-danger">The Bad</font>
* TypoStephen Beaver2016-01-251-1/+1
|
* Fixed #5810Stephen Beaver2016-01-241-10/+29
|
* Fix PR syntax errorStephen Beaver2016-01-241-1/+1
|
* Tidy up "firewall_rules.php"Colin Fleming2016-01-221-9/+21
| | | | | | | - add missing closing anachor tags - close input tag correctly - add missing closing TD tag - remove invalid ALT
* Fix #5794 remove print_info_box_np chackes for gettext("apply")Phil Davis2016-01-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 1) Get rid of the stristr() checks to "guess" if an apply button should be used. 2) Change print_info_box() so it can take a button name of "close" , "apply" or none to decide which button to show. 3) Delete function print_info_box_np_undo() - nothing calls it. 4) Add new function print_apply_box() to provide an easy wrapper for print_info_box() with the parameters to be 'warning' level and 'apply' button. 5) Change print_info_box_np() calls to just print_info_box() or print_apply_box() as appropriate. There is 1 direct call to print_info_box_np() from vpn_ipsec_mobile.php remaining. That tries to make a "create" button. It was not working before this change. It needs to be sorted out and fixed separately. After this change there is no dependency on a string containing text like "apply" to make the apply button appear. Then we can work on re-engineering the internal code of print_info_box_np() print_info_box() and print_apply_box() to fit together however we like. It should be easy to preserving the current API to print_info_box() and print_apply_box().
* Remove close button from firewall_rulesPhil Davis2016-01-211-1/+1
| | | | Issue: https://redmine.pfsense.org/issues/5788
* Comment fixStephen Beaver2016-01-201-1/+1
|
* Remove debugStephen Beaver2016-01-201-1/+0
|
* Escape HTML on re-saving separator textStephen Beaver2016-01-201-1/+2
|
* Provide warning message onleavinghte pageStephen Beaver2016-01-201-2/+32
| | | | | Allow Esc key to cancel a new separator Allow Enter key to save a new separator
* Changed color scheme to use existing bg-* classesStephen Beaver2016-01-191-21/+30
| | | | | Simplfied color change mechanism Implemented "Cancel" button
* Add colors to the separator barsStephen Beaver2016-01-191-10/+43
|
* Eliminate foreach for speed.Stephen Beaver2016-01-191-9/+6
|
* New separator text box has focus when createdStephen Beaver2016-01-191-1/+3
|
* Fixed issue with separator bar at very top of floating rule listStephen Beaver2016-01-191-5/+17
|
* Completed basic #5373Stephen Beaver2016-01-191-16/+70
| | | | May add a color option after some testing
* Merge pull request #2477 from phil-davis/gt6Renato Botelho2016-01-191-9/+9
|\
| * Internationalize firewall_rules pagesPhil Davis2016-01-191-9/+9
| | | | | | | | | | | | | | | | I might have gone too far wrapping '(other)', 'any', 'default', 'none' in gettext() but actually if translating to a language with non-Latin script then it can be useful to translate even these sort of single words, because there might be some people who cannot even read Latin script.
* | Restore separator bar delete functionalityStephen Beaver2016-01-191-6/+19
| |
* | Add Javascript htmlchars() equivalent to dynamically created inputsStephen Beaver2016-01-191-2/+14
| | | | | | | | Temporarily remove function that broke action icons
* | Fixup firewall rules schedule status imagesPhil Davis2016-01-191-4/+4
|/ | | | | 1) $iconfn is not the var that contains the 'type' of block or reject. 2) In the bottom if-else of the diff "times-circle" was repeated twice. 3) It seemed odd to me that wen the schedule was out of its time that the icons would always be in "text-danger" color. My suggestion, make them "text-warning" which distinguishes them from the green or red that is shown when the schedule is active.
* Added separator delete iconStephen Beaver2016-01-181-2/+8
|
* Prototype #5373Stephen Beaver2016-01-181-1/+28
|
* Consistent panel-heading h2Phil Davis2016-01-141-1/+1
| | | | | | Make all the panel-heading uses also have consistent <h2 class="panel-title"> so they all display the same size. Forum https://forum.pfsense.org/index.php?topic=105275.0
OpenPOWER on IntegriCloud