summaryrefslogtreecommitdiffstats
path: root/src/usr
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #2473 from phil-davis/gt5Renato Botelho2016-01-195-68/+145
|\ \ \
| * | | Standardize NAT NPtPhil Davis2016-01-195-68/+145
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Give NAT NPt GUI the same sort of interface as NAT 1:1 1) Checkbox to select multiple mappings and then delete selected mappings 2) Tick/cross to enable/disable a mapping 3) Ability to "Add a new mapping based on this one" 4) Double-click to edit an entry 5) Ability to reorder mappings and save the new order - probably nobody cares about that but it is easy to provide it the same as on other forms, and so users can order the entries as they like. Note: It used to try to automagically sort the entries based on ipcmp() of the value of 'external' - that does not work in 2.2.* because 'external' is not a key at all for NPt. So I took that out - seemed more consistent to provide the user drag-drop entry ordering feature. Other bits of text in firewall NAT, 1:1 and Out standardized to make all of them match.
* | | Fix browser tab textStephen Beaver2016-01-191-1/+1
| | |
* | | 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
* | | Merge pull request #2475 from phil-davis/patch-2Renato Botelho2016-01-191-4/+4
|\ \ \
| * | | 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.
* | | Remove obsolete L7 text from messagesPhil Davis2016-01-191-6/+6
|/ / | | | | | | The layer7 condition in the if test for this block was removed when layer7 support was removed in master. The text of these input error strings also needs to be modified.
* | Clarify input validation output. Ticket #5778Chris Buechler2016-01-181-1/+1
| |
* | classes/Form/Textarea.class.php, setNoWrap, make it work properly on FireFox ↵PiBa-NL2016-01-181-1/+1
| | | | | | | | and Chromium
* | Include the zone in link for display of login page so it shows up correctly.Chris Buechler2016-01-181-2/+2
|/
* Added separator delete iconStephen Beaver2016-01-181-2/+8
|
* Prototype #5373Stephen Beaver2016-01-182-2/+29
|
* add missing space between wordsChris Buechler2016-01-181-1/+1
|
* Merge pull request #2467 from NewEraCracker/widget-tunesStephen Beaver2016-01-181-10/+6
|\
| * Small tunning to all aspects involving widgetsNewEraCracker2016-01-181-10/+6
| | | | | | | | 1) Perform exclusion of non .inc files while reading directory. 2) Be more strict when checking for widget title. 3) We are in the PHP 5.5 age. We can convert certain pieces to anonymous functions and overall better coding.
* | Changed var name sine label is an HTML reserved name.Stephen Beaver2016-01-181-2/+2
| |
* | Fixed #5779Stephen Beaver2016-01-181-2/+13
| | | | | | | | Save/restore group label on delete row
* | Merge pull request #2469 from phil-davis/gt4Renato Botelho2016-01-185-42/+42
|\ \
| * | Internationalize firewall aliases and NATPhil Davis2016-01-195-42/+42
| |/
* | Merge pull request #2466 from phil-davis/patch-5Renato Botelho2016-01-181-1/+11
|\ \
| * | Use current interface description for breadcrumbPhil Davis2016-01-181-1/+1
| | | | | | | | | | | | If you enter invalid stuff in the interface description - e.g. "123" - and press save, then you get a warning about it, but the breadcrumb changes to "Interfaces: 123" - the wrongly entered description (that was not applied). If you enter a valid string for 'descr' then by this point $wancfg has the new value anyway and so the breadcrumb will change correctly if you make a valid entry in 'descr' and save.
| * | Fix #5778 do not save changes if interface description matches an alias namePhil Davis2016-01-181-0/+10
| |/ | | | | | | | | | | | | See https://redmine.pfsense.org/issues/5778 for details of how to reproduce the problem. Note that similar code to make the "Sorry, an alias with the name XXX already exists" message is also at the top of interfaces.inc - it compares the current interface descr from the config with the currently existing alias names. That check would help warn the user if someone managed to add an alias name that matched the interface name. I guess it was there from some time in the past when the alias edit code did not cross-validate the alias name with the interface descriptions. I have left that check there - it does no harm to have it "just in case". The new code that I added checks the proposed interface description in $_POST against the existing alias names and will give an input_error if there is a match.
* | Merge pull request #2468 from phil-davis/patch-6Renato Botelho2016-01-181-4/+4
|\ \
| * | firewall_nat_1to1 fix save button textPhil Davis2016-01-181-2/+2
| | | | | | | | | | | | There was no text appearing when hovering over the Save button, and Save did not actually save the changed rule order. Make the code the same sort of stuff as in firewall_nat and it works.
| * | firewall_nat_1to1 config descr and delete buttonPhil Davis2016-01-181-2/+2
| |/ | | | | | | 1) The description written when the config was saved said "Outbound" but should be "1 to 1". gettext() it while here. 2) The Delete button had no text displayed when hovering over it - make it like in firewall_nat.
* | Merge pull request #2464 from phil-davis/patch-3Renato Botelho2016-01-181-25/+37
|\ \
| * | Remove tab embedded in text - firewall_aliases_editPhil Davis2016-01-181-1/+1
| | |
| * | Internationalize firewall_aliases_editPhil Davis2016-01-181-25/+37
| | | | | | | | | | | | | | | 1) Wrap all the various arrays of text that are displayed to the user in gettext() 2) Give the possibility to translate the singular of words like "host", "network" that get substituted into message strings. 3) Where there are multiple %s in an sprintf() use %$1s %s2s to be really sure, even though it seems to be a case where the order of substitution will never be swapped.
* | | Add "GoTo line #" controlStephen Beaver2016-01-181-0/+55
| |/ |/|
* | Improved widget sorting (case insensitive)Stephen Beaver2016-01-181-4/+5
| |
* | Display existing updatefreqPhil Davis2016-01-181-1/+7
|/ | | | when user is editing an alias type that uses the subnet CIDR field as the URL table update frequency. Forum: https://forum.pfsense.org/index.php?topic=105457.0
* Firewall / Aliases / Edit - PatternNOYB2016-01-181-1/+20
| | | | Address field is used for a wide variety of input types. Including URLs which require a much greater character set acceptance.
* Merge pull request #2454 from phil-davis/patch-2Renato Botelho2016-01-181-22/+24
|\
| * diag_testport change some tabs to spacePhil Davis2016-01-181-2/+2
| |
| * diag_testport alert message logic re-factoringPhil Davis2016-01-181-21/+20
| | | | | | as suggested by @rbgarga
| * Rationalize message display on diag_testportPhil Davis2016-01-171-23/+26
| | | | | | | | | | | | 1) The logic of the various tests that determined which messages were displayed was all a bit odd, and there were ways that things could happen and no message was displayed. Now it displays the "warning" information message the first time, and 1 of the 4 possible result messages depending on the result status and if showtest was on. 2) Internationalize - put the gettext() into calls with full sentences and sprintf() wrappers as necessary. Now I can get each of the 4 possible result messages, and always get a result message.
* | Merge pull request #2456 from phil-davis/gt2Renato Botelho2016-01-183-5/+5
|\ \
| * | Internationalize remaining diag* codePhil Davis2016-01-173-5/+5
| | |
* | | Merge pull request #2458 from phil-davis/gt3Renato Botelho2016-01-182-8/+8
|\ \ \
| * | | Internationalize edit and execPhil Davis2016-01-172-8/+8
| |/ / | | | | | | | | | Note: in the end, edit.php has only whitespace format changes.
* | | Merge pull request #2460 from NOYB/Firewall_/_Schedules_/_Edit_-_Add_Minutes_45Renato Botelho2016-01-181-2/+2
|\ \ \
| * | | Firewall / Schedules / Edit - Add Minutes 45NOYB2016-01-181-2/+2
| | | |
* | | | Merge pull request #2461 from NewEraCracker/php-standardsRenato Botelho2016-01-181-7/+9
|\ \ \ \
| * | | | Minor corrections to guiconfig.incNewEraCracker2016-01-181-7/+9
| |/ / / | | | | | | | | | | | | Set logarr as array() per default, default invert to empty string, improve variable representation within strings
* | | | fix typoNOYB2016-01-181-1/+1
| | | |
* | | | s/schedule/aliasNOYB2016-01-181-1/+1
| | | |
* | | | Alias name consistency in Firewall alias edit and schedules edit.NOYB2016-01-182-3/+3
|/ / /
* | | Show interface description in traffic graph widget settingsPhil Davis2016-01-181-1/+1
| | | | | | | | | Forum: https://forum.pfsense.org/index.php?topic=105448.0
* | | Test for an array here to avoid an error if the var isn't an arrayjim-p2016-01-171-0/+3
| | |
OpenPOWER on IntegriCloud