Commit Graph

29446 Commits

Author SHA1 Message Date
Stephen Beaver
05ff0c6569 Merge pull request #2366 from NOYB/HTML_Compliance_-_Firewall_/_Schedules_/_Edit 2016-01-07 10:06:12 -05:00
Stephen Beaver
37d4f3639a Merge pull request #2372 from phil-davis/patch-2 2016-01-07 10:04:21 -05:00
Stephen Beaver
eccb4c9ea5 Merge pull request #2373 from phil-davis/patch-3 2016-01-07 10:03:43 -05:00
Stephen Beaver
53d619c2f3 Merge pull request #2374 from phil-davis/patch-5 2016-01-07 10:03:18 -05:00
Stephen Beaver
224176a498 Merge pull request #2371 from NewEraCracker/php-standards 2016-01-07 09:52:45 -05:00
Stephen Beaver
e6f5c46414 Fixed #5742 2016-01-07 09:41:04 -05:00
Phil Davis
db5ccb6a1f firewall_shaper_queues show green success after apply
After applying changes done from firewall_shaper_queues the message should be green-success.
2016-01-07 20:02:23 +05:45
Phil Davis
c7593c816d diag_nanobsd whitespace
Just a bit of consistency while I am here.
2016-01-07 19:53:58 +05:45
Renato Botelho
06dea9aa32 Fix #5743, spell typo 2016-01-07 12:08:23 -02:00
Phil Davis
bfc94df0bf Shaper use full bandwidth units of measure
In 2.2.* the shaper bandwidth type dropdowns show "Bit/s", "Kbit/s"... but in 2.3-BETA they are just showing "b", "Kb"...
That is fixed in the various array() definitions here.
I also added GetBwscaleText() function that will return the full text "Bit/s" etc associated with the current bandwidth type. Then call that in a couple of places that were displaying just the "raw" bandwidthtype on the screen. e.g. firewall_shaper_queues.php was displaying just "Kb" etc and now it will display "Kbit/s". That "issue" was in 2.2.* also - so that is an "enhancement".
2016-01-07 19:39:45 +05:45
Stephen Beaver
e849c17a98 SHow the infoblock on page load by specifying div id="infoblock_open" 2016-01-07 08:45:48 -05:00
Renato Botelho
716d10e0eb Make sure httpsname is a valid domain to avoid breaking nginx conf 2016-01-07 11:45:36 -02:00
Stephen Beaver
38c575a3dd Merge pull request #2364 from phil-davis/patch-5 2016-01-07 08:38:32 -05:00
Stephen Beaver
49b482738c Allow an infoblock to be displayed (not hidden) on page load y specifying id='infoblock_open' 2016-01-07 08:30:53 -05:00
Renato Botelho
301d868673 Process pfSense.obsoletedfiles on nanobsd. Spotted by phil-davis 2016-01-07 10:49:45 -02:00
Renato Botelho
baa6804a3a Merge pull request #2370 from phil-davis/patch-11 2016-01-07 10:32:47 -02:00
Renato Botelho
e4b20e955a Merge pull request #2368 from phil-davis/patch-8 2016-01-07 10:30:58 -02:00
Renato Botelho
fbce6729de Merge pull request #2367 from phil-davis/patch-7 2016-01-07 10:29:40 -02:00
Phil Davis
c63c190974 Remove unused var in get_std_save_message
$d_sysrebootreqd_path seems to be a leftover from some ancient group of global $d_* vars that are no longer used.
2016-01-07 18:10:24 +05:45
NewEraCracker
e56374a843 Increase max_input_vars
Since Suhosin has a configured limit of 5000 maximum input variables, for consistency, PHP should be configured with a similar setting (the default is just 1000). This will allow BIG forms to save without any problem in the future.
2016-01-07 12:24:54 +00:00
Renato Botelho
beb818578f Merge pull request #2363 from phil-davis/patch-3 2016-01-07 10:24:37 -02:00
Renato Botelho
eb9b6a694f Merge pull request #2329 from marcelloc/patch-1 2016-01-07 10:23:04 -02:00
NewEraCracker
5bff8af8e4 Adjust more calls to print_info_box with unquoted strings 2016-01-07 12:09:13 +00:00
Phil Davis
6f80b61e0b diag_tables change deleteall to clearall
This is part 1(a) only of https://redmine.pfsense.org/issues/5742
When the name is 'deleteall' then a popup comes saying "You may not delete the last row".
2016-01-07 17:10:23 +05:45
Phil Davis
356ba46434 diag_nanobsd clean up handling of RO<->RW switching
1) When the Save button has been used to save the Permanent Read/Write setting then display a success message so the user knows it worked.
2) Move the "This setting is only temporary..." setHelp to be with the Read/Write status area, where it is in 2.2.6. That text was under the Permanent Read/Write checkbox, where it was not true.
3) Always set the $btnlbl text used for the $robtn - there were ways to have the system in permanent read-write and then the button would not have a custom label, and so it would just say "Submit"
4) Only display the $robtn when it is relevant - if permanent RW is set and the running system is actually in RW then press a "Switch to Read-only" button actually does nothing anyhow, so there is no point displaying button.
2016-01-07 14:30:17 +05:45
NOYB
799969cbf5 HTML Compliance - Firewall / Schedules / Edit
The align attribute on the td element is obsolete. Use CSS instead.
The cellspacing attribute on the table element is obsolete. Use CSS instead.
The cellpadding attribute on the table element is obsolete. Use CSS instead.
The border attribute on the table element is presentational markup. Consider using CSS instead.
A table row was 6 columns wide, which is less than the column count established by the first row (7).
2016-01-07 00:34:38 -08:00
Phil Davis
e47f1893a1 Config history info - make it an info box
Currently this display as an orange box. It seems to me that it is ordinary info and should be an info box (displaying in blue).
Note: with the current behavior the text is always displayed, after changing it to an info box the "i" icon has to be clicked to show the text.
Do we sometimes(like in this example) want the info text to be automagically displayed on initial page load?
2016-01-07 12:26:30 +05:45
Phil Davis
e0a30a5166 Rationalize add and delete buttons for limiter GUI
1) When you click to add a new limiter or new queue, then the "Add new queue" button is displayed down the bottom. That is dumb - you are already adding and actually you need to enter the data and save first before adding something else.
2) When you are adding something (like in (1)) the Delete button is displayed. That is also dumb - there is nothing to delete until you have pressed save to add it!
3) When clicking on a Limiter at the top of the tree, the Delete button says "Delete this queue", but it is the top level limiter that is being edited and could be deleted, The $_GET/$_POST that happens sends "pipe" and "queue" both with the name of the top-level limiter. So in the end $queue always exists. So we only want the text "Delete this queue" if $queue exists and the queue name is NOT the same as the pipe name.

Note: These issues are also in 2.2.6 - see https://github.com/pfsense/pfsense/pull/2362 for the changes to fix in RELENG_2_2.
2016-01-07 11:12:41 +05:45
Stephen Beaver
24c16d618e Merge pull request #2361 from phil-davis/patch-2 2016-01-06 23:32:31 -05:00
Phil Davis
3253083680 firewall_shaper_vinterface URL reference
As far as I can see this URL should be self-referring - to firewall_shaper_vinterface.php
But I am having trouble finding how to test it, because whenever $pipe is set, so is $queue so I never get down the "else".
Anyway, this seems an obvious fix, and there might be other stuff related to when creating a limiter as distinct from a queue inside that limiter.
2016-01-06 23:32:27 -05:00
Phil Davis
1846840d8b firewall_shaper_vinterface URL reference
As far as I can see this URL should be self-referring - to firewall_shaper_vinterface.php
But I am having trouble finding how to test it, because whenever $pipe is set, so is $queue so I never get down the "else".
Anyway, this seems an obvious fix, and there might be other stuff related to when creating a limiter as distinct from a queue inside that limiter.
2016-01-07 10:10:18 +05:45
Chris Buechler
b93bb38c8c Set secure_mode=yes in miniupnpd config. Ticket #5627 2016-01-06 22:25:06 -06:00
Stephen Beaver
a518c507ca Open help link in a new tab 2016-01-06 21:09:53 -05:00
Chris Buechler
c2aa7860a9 Merge pull request #2355 from jlduran/no-preload-in-hsts 2016-01-06 18:05:49 -06:00
Stephen Beaver
e418b7b672 Change method name to setIsRequired() to match other similar methods 2016-01-06 16:18:29 -05:00
Stephen Beaver
ecbe25ad78 Merge pull request #2360 from NewEraCracker/regex-fixes 2016-01-06 16:16:21 -05:00
NewEraCracker
a55329caeb Fix all unterminated character class for pattern 2016-01-06 21:03:57 +00:00
Stephen Beaver
474e30185c Merge pull request #2359 from NewEraCracker/typo-fixes 2016-01-06 16:01:36 -05:00
NewEraCracker
1f70d78cf0 Fix minor typos and correct code standards 2016-01-06 20:44:38 +00:00
Stephen Beaver
311e4ad5ea Fixed #5723 2016-01-06 14:53:36 -05:00
jim-p
b55564f1da Fix a bunch of text issues on DNS resolver advanced options 2016-01-06 14:24:32 -05:00
Stephen Beaver
7bf3669437 Added new method setRequired() (shortcut for setAttribute("required", true) ) 2016-01-06 11:32:58 -05:00
Renato Botelho
9cd1455d9d Validate pppoe_subnet before use it in calculation. Ticket #5720 2016-01-06 14:27:55 -02:00
Renato Botelho
f1926a4125 Change number of PPPoE users range to 1-255 and add an extra POST validation 2016-01-06 14:27:55 -02:00
Renato Botelho
b424b7efef Fix field name validation 2016-01-06 14:27:55 -02:00
Renato Botelho
be5132091a Replace n_l2tp_units field by a drop-down from 1 to 255 and add a post validation just to be sure. Ticket #5720 2016-01-06 14:27:55 -02:00
Stephen Beaver
09d720fcba Fix success message color 2016-01-06 11:23:20 -05:00
Stephen Beaver
245eb71fb2 Fixed #5738 2016-01-06 10:06:10 -05:00
Stephen Beaver
bb49a4d951 Merge pull request #2358 from NOYB/HTML_Compliance_-_Firewall_/_Rules_/_WAN 2016-01-06 08:19:56 -05:00
Stephen Beaver
d4e718028d Merge pull request #2356 from phil-davis/lognginx 2016-01-06 08:18:15 -05:00