Commit Graph

30872 Commits

Author SHA1 Message Date
Renato Botelho
bed6c19b3c Detect binary packages installed but not registered in the system and do it during boot 2016-03-03 15:02:39 -03:00
Renato Botelho
c86db913df Add an option to get_pkg_info() that makes it do not try to update metadata 2016-03-03 14:49:11 -03:00
Renato Botelho
e440add81f Remove get_pkg_id, last calls to it was removed 2016-03-03 13:07:17 -03:00
Renato Botelho
0db9a65c88 Remove Status -> Monitoring related packages from poudriere bulk 2016-03-03 10:36:25 -03:00
Renato Botelho
91b8e8f217 Remove Status -> RRD Graphs in favor of Status -> Monitoring. Ticket #5498 2016-03-03 10:34:49 -03:00
Stephen Beaver
d5ef2e580e Merge pull request 2702 from NOYB/HTML_Compliance_-_Diagnostics_/_S.M.A.R.T._Status_/_Information_&_Tests 2016-03-03 08:15:37 -05:00
NOYB
4d3a100558 HTML Compliance - Diagnostics / S.M.A.R.T. Status / Information & Tests
Remove unused/duplicate ID's; action, device, submit.
2016-03-03 08:15:13 -05:00
Renato Botelho
b0fc4b281c Add new RRD package to the list 2016-03-03 10:14:57 -03:00
Chris Buechler
962603e65e Merge pull request #2700 from al-right/master 2016-03-03 02:53:09 -06:00
NOYB
2ebc9a38a0 HTML Compliance - Diagnostics / S.M.A.R.T. Status / Information & Tests
Remove unused/duplicate ID's; action, device, submit.
2016-03-03 00:17:39 -08:00
Chris Buechler
37d41653f5 Shift the values to account for the removal of the gateways one. Ticket #5905 2016-03-03 01:45:23 -06:00
Chris Buechler
b5fcc2b5e4 Remove the code block to "fake" DHCPv6 server, now that it's unnecessary. Ticket #3029
also ref: https://forum.pfsense.org/index.php?topic=107537.msg600111#msg600111
2016-03-03 01:32:39 -06:00
Chris Buechler
91aff739c7 Use correct variable. Ticket #5946 2016-03-02 20:45:25 -06:00
Chris Buechler
c32b49172a Clarify log, remove old commented out things that are unnecessary. 2016-03-02 19:38:22 -06:00
Chris Buechler
8a85a809a2 Fix text for OpenVPN client that was copied from server, client's second. 2016-03-02 19:00:36 -06:00
Chris Buechler
471b81f8f7 Always send a -HUP to dhcp6c in interfaces_track6_configure for DHCP6 WAN types. Doing so isn't any more disruptive than what it's already doing, and that ensures track6 interfaces don't lose their IPv6 IPs. Ticket #5945 2016-03-02 18:20:43 -06:00
Anders Lind
fc6194181e Merge pull request #1 from al-right/al-right-patch-1
Al right patch 1
2016-03-02 23:42:49 +01:00
Jared Dillard
3b53c22761 Ticket #5905 remove unused code 2016-03-02 16:21:36 -06:00
Jared Dillard
c468562532 Ticket #5905 remove hardcoded colors 2016-03-02 15:52:29 -06:00
Anders Lind
e3e21e7094 Update status_dhcpv6_leases.php
Fix lacking of incrementation of index when two characters have been passed.

Fix check of $n so that the octal value is checked as an octal value.
2016-03-02 22:32:41 +01:00
Jared Dillard
7dbbf1f5a8 Ticket #5905 remove hardcoded colors 2016-03-02 13:38:03 -06:00
Jared Dillard
76bd03bb0e ticket #5615 fix popover hover 2016-03-02 13:17:59 -06:00
Jared Dillard
5a33116990 change hardcoded colors to classes 2016-03-02 11:51:59 -06:00
Jared Dillard
b18c31498e fix styles for bordered table on dark theme 2016-03-02 11:06:26 -06:00
Jared Dillard
8fd55d388a update old styles with new css classes 2016-03-02 11:05:56 -06:00
jim-p
1c225a9855 Ensure the extensions.ini has no duplications before setting up php.ini. Fixes #5943 2016-03-02 11:41:20 -05:00
Renato Botelho
909a195421 Read xml files from /usr/local/share/pfSense/menu and load menu entries 2016-03-02 12:24:28 -03:00
Renato Botelho
a6121be4fa Merge pull request #2696 from phil-davis/patch-1 2016-03-02 08:39:40 -03:00
Renato Botelho
fe03d0848b Merge pull request #2697 from phil-davis/patch-2 2016-03-02 08:39:00 -03:00
Renato Botelho
f563a9643f Merge pull request #2699 from NOYB/HTML_Compliance_-_Diagnostics_/_Edit_File 2016-03-02 08:37:06 -03:00
Renato Botelho
fe4fb82f33 Merge pull request #2698 from phil-davis/patch-3 2016-03-02 08:35:03 -03:00
NOYB
e4c0e9b177 HTML Compliance - Diagnostics / Edit File
Attribute width not allowed on element input at this point.
<input type=number id=gotoline width=6>
Width attribute is only valid on input element for type image.
Changed to use size attribute.

Stray end tag input.

Bad value for attribute cols on element textarea: The empty string is not a valid positive integer.
<textarea id=fileContent name=fileContent class=form-control rows=30 cols=">
Syntax of positive integer: One or more digits (0-9), with at least one which is non-zero.
For example: 42 is valid, but 00 is not.
This is being handled by css so setting to default value.

Stray start tag script.
</html>↩↩<script type=text/javascript>↩$(doc
Scripts being placed after the page closing tags is bad form.
The scripts in foot.inc that are required by filebrowser/browse.js should be provide by other means such as a scripts include file so that browser.js, and others, can be placed before the page close tags of foot.inc. Foot.inc should be just that. Not the start of something more. This is a design issue. Leaving for another time.
2016-03-01 21:15:14 -08:00
Chris Buechler
5d314c0a2c Fix DHCPv6 server check to allow track6. Ticket #3029 2016-03-01 19:51:17 -06:00
Chris Buechler
8332312ba1 Add function to return the physical interface(s) for a given parent. related to Ticket #5081 2016-03-01 19:19:20 -06:00
Phil Davis
c48401e7f5 Add code to handle DHCP leases in multiple pools
1) Add code from RELENG_2_2 cf3aff59ed that checks for leases that are in pools other than the ordinary first pool. This code has been missed from the bootstrap conversion.

2) Make the leases per interface/pool work properly. The counter $dlsc did not get incremented much anyway, because of break statements in the previous code. I have made it key $dhcp_leases_subnet_counter by the interface and starting IP of the pool - this is a unique identifier of each pool, so the counter for it can be reliably incremented as leases are considered in any order.

3) Sort $dhcp_leases_subnet_counter before displaying the counter data - that way the displayed data is always nicely ordered by interface name and then increasing pool start IP, regardless of the order that the leases happened to be found.
2016-03-02 07:01:25 +05:45
Jared Dillard
dc60c81618 add D3 styles 2016-03-01 15:51:54 -06:00
Jared Dillard
d6607b8779 remove old files 2016-03-01 15:49:27 -06:00
Jared Dillard
6de302283e move 3rd party files to vendor folder 2016-03-01 15:49:27 -06:00
Anders Lind
ba045ef146 Check $active
Fix missing check for $active to avoid creating a route to a released lease.
2016-03-01 22:08:55 +01:00
Chris Buechler
eb56633d5f Show n/a for static mappings, as prior versions did. Ticket #5942 2016-03-01 14:16:15 -06:00
Anders Lind
5e422c880d Fix substr mistake
Made a silly mistake and overlooked an important difference between javascript substring() and php substr().
Tightened regex check for octal value.
2016-03-01 20:26:41 +01:00
Anders Lind
0ce280674e Missed to fix all $mappings 2016-03-01 20:06:06 +01:00
Anders Lind
b5ce1a5376 Fix indexing of $mappings and fix column headers
Remove "$entry['iaid'] . " from $mappings[] since the IAID of the IA_NA != IAID of the IA_PD, please see note in https://redmine.pfsense.org/issues/4206#note-9

Add table header for the icon in the Delegated Prefixes section to fix alignment of the column headers.
2016-03-01 19:55:29 +01:00
Renato Botelho
e5d0f71afb Consider product_name suffix on rsync 2016-03-01 14:49:17 -03:00
Renato Botelho
a7d60d2633 Allow to have a suffix on images filename 2016-03-01 12:39:00 -03:00
Renato Botelho
acd5c0cd72 Use a function to create nanobsd image filename and reduce duplicated code 2016-03-01 12:19:38 -03:00
Renato Botelho
e04de268bd Do not obsolete /usr/share/syscons, it should fix #4387 2016-03-01 12:19:38 -03:00
Phil Davis
b8f62ec244 print_callout class setting
The last test here looks not good having just a single equals sign - if the interpreter evaluates this then $class will always get set to 'info'.
In practice it should work OK, because the evaluation of boolean conditions left to right should stop when any of the other tests to the left evaluates false. So $class will only be set to 'info' if it is not already 'default' 'danger' or 'warning'.

Actually the code could be:
a) Obfuscated version with empty if block content:
if ($class != 'default' && $class != 'danger' && $class != 'warning' && $class = 'info') {
    // Noop - the if test above has already set $class to 'info' as required.
}

or

b) Clearer version without bothering with any test for $class != 'info' :
if ($class != 'default' && $class != 'danger' && $class != 'warning') {
    $class = 'info';
}
2016-03-01 19:56:26 +05:45
Phil Davis
28a05cf19c Use MiB units for memory disk size
Forum: https://forum.pfsense.org/index.php?topic=106547.0
The underlying FreeBSD command seems to allocate space in MiB - e.g. https://www.freebsd.org/doc/handbook/disks-virtual.html examples show a 5m disk getting 10240 sectors (of 512 bytes) = 5120 KiB = 5 MiB. Even though the formatted space shown by df ends up being less, the underlying total allocated space is the specified size in MiB.
/etc/rc.embedded does commands like:
mdmfs -S -M -s 123m md /tmp
Which will make a 123MiB memory disk.
2016-03-01 19:26:51 +05:45
Stephen Beaver
db653fc6f1 Merge pull request #2695 from derelict-pf/master 2016-03-01 08:16:03 -05:00