Commit Graph

29458 Commits

Author SHA1 Message Date
NOYB
67c19b9505 Function is now in guiconfig.inc 2016-01-07 13:29:29 -05:00
NOYB
f81ad804aa Per Colin (PR #2300)
Use Bootstraps text alignment classes

As per "http://getbootstrap.com/css/#type-alignment", use CLASS
statement instead in inline STYLE statement (much tidier)
2016-01-07 13:29:29 -05:00
NOYB
87be90eda9 Staus - System - Logs - VPN - Write Config Only
If no logging changes have been made, only write the config file.
2016-01-07 13:29:29 -05:00
NOYB
68fdc24d80 Status - System Logs - VPN
Revamp log file selection method to be consistent with the other system logs.
Add advanced filter section; only activated for the non-vpn.log files (needs testing with vpn.log file first, continue using dump_clog_vpn until tested).
Add manage log section
2016-01-07 13:29:28 -05:00
jim-p
ff8e3635b6 Cleanup some text and fix default behavior of some NTP options to match 2.2.6 and what the text described. 2016-01-07 13:10:25 -05:00
Stephen Beaver
e36f265e69 Merge pull request #2377 from phil-davis/patch-2 2016-01-07 10:49:17 -05:00
Phil Davis
c57b2aaded diag_tables give different message when last updated is unknown
and put the message in an infoblock_open so the user can close/open it as they wish.
2016-01-07 21:31:35 +05:45
Stephen Beaver
b5dbd20177 Merge pull request #2376 from phil-davis/patch-2 2016-01-07 10:30:24 -05:00
Phil Davis
16424666c7 Unset $entries array after clearing table
Without this, when the table is cleared then the "now old and gone" entries are being redisplayed the first time after the clear table happens.
2016-01-07 21:11:15 +05:45
Stephen Beaver
037d58299a Merge branch 'patch-6' of https://github.com/phil-davis/pfsense
* 'patch-6' of https://github.com/phil-davis/pfsense:
  status_logs_filter_summary make the info box open on initial page load
  status_logs_filter_summary make the info an info box
2016-01-07 10:10:18 -05:00
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
Phil Davis
0a7d86bd90 status_logs_filter_summary make the info box open on initial page load 2016-01-07 20:27:02 +05:45
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
b9adcf8bfe status_logs_filter_summary make the info an info box
The existing behavior in 2.3-BETA is that if you close this box with the "x" it goes away completely and you cannot get it back.
Do we want to make it a "proper" info box that can be open and closed as desired? (like I did here)
Note: with this change the info "i" is displayed in the closed state. Maybe it should be open by default?
2016-01-07 12:45:49 +05:45
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