Commits on May 6, 2016
  1. Change the default output of pkg.php lists to be encoded before displ…

    jim-p committed May 6, 2016
    …ay. Preserve the old behavior as an option in case a package needs it
Commits on Apr 4, 2016
Commits on Mar 3, 2016
Commits on Mar 2, 2016
  1. Merge pull request #2691 from NOYB/ICMPv6_Firewall_Log_Display_-_Fixe…

    rbgarga committed Mar 2, 2016
Commits on Feb 27, 2016
  1. ICMPv6 Firewall Log Display - Fixes 5933 - RELENG_2_2

    NOYB committed Feb 27, 2016
    ICMPv6 logging was not being displayed in firewall log.
Commits on Feb 17, 2016
  1. Merge branch 'RELENG_2_2' of into…

    Jeremy Porter
    Jeremy Porter committed Feb 17, 2016
    … RELENG_2_2
  2. RCC support fix

    Jeremy Porter
    Jeremy Porter committed Feb 17, 2016
  3. Backport ipsec_dump_mobile() from 2.3 to make it work witn new strong…

    rbgarga committed Feb 17, 2016
    …swan port (without stroke_list.c patch)
  4. Fix typo in RCC update

    WilliamHiles committed Feb 17, 2016
Commits on Feb 16, 2016
Commits on Feb 14, 2016
  1. Fix #5890 find disk slices as candidates for loading "config.xml" at …

    nwholloway committed Feb 14, 2016
    In commit 873c170, the call to "/bin/ls /dev/{$disk}s*" was surrounded
    with "escapeshellarg" so the wildcard is not expanded.
    Use "glob" to find the slices for a disk instead.
Commits on Feb 11, 2016
Commits on Feb 10, 2016
  1. Make RRD lists global, validate graph name using whitelist of known v…

    jim-p committed Feb 10, 2016
    …alues rather than blacklist of characters, beef up validation and escaping of related values while here. Fixes #5874 for 2.2.x
Commits on Feb 9, 2016
  1. Merge pull request #2607 from phil-davis/patch-5

    Chris Buechler
    Chris Buechler committed Feb 9, 2016
  2. Fix #3209 editing unassigned VLAN tag can change an assigned interfac…

    phil-davis committed Feb 9, 2016
    …e - RELENG_2_2
    Might as well fix this bug in 2.2.* as well, since it is easy and was obviously an error.
Commits on Jan 30, 2016
  1. Merge pull request #2575 from davidjwood/RELENG_2_2-ppp-ipv6-new

    Chris Buechler
    Chris Buechler committed Jan 30, 2016
Commits on Jan 26, 2016
Commits on Jan 25, 2016
  1. Wrap pkg_full_path in htmlspecialchars()

    phil-davis committed Jan 25, 2016
    Because it contains $xml which is itself wrapped in htmlspecialchars() for display.
  2. Enhance error output when package file not found - RELENG_2_2

    phil-davis committed Jan 25, 2016
    I had a system that had upgraded but the Notes package had not managed to (re)install. In that situation the Notes item is on the Status menu but there is no notes.xml or other notes code on the the system.
    When I go to Status->Notes I get:
    Warning: substr_compare(): The start position cannot exceed initial string length in /usr/local/www/pkg.php on line 56 File not found notes.xml
    The warning is because realpath() returns false in this case and cannot be used is a parameter to substr_compare().
    Handle this case, and make the error message more informative.
    Note: In RELENG_2_2 print_info_box_np() puts a "Close" button and has no way to stop that. It looks dumb, but that can be cleaned up in 2.3 master. I am just doing this in RELENG_2_2 to avoid the PHP warning.
Commits on Jan 20, 2016
  1. Initialize $stop_time inside foreach to make sure it resets to proper…

    rbgarga committed Jan 20, 2016
    … value each iteration since it's changed inside loop. Reported on #2487
Commits on Jan 19, 2016
Commits on Jan 18, 2016
  1. Use current interface description for breadcrumb - RELENG_2_2

    phil-davis committed Jan 18, 2016
    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.
Commits on Jan 11, 2016
Commits on Jan 7, 2016
  1. Rationalize add and delete buttons for limiter GUI RELENG_2_2

    phil-davis committed Jan 7, 2016
    This has annoyed me in the past. I noticed it in 2.3-BETA just now and went to look on a 2.2.6 system and realized it is an issue there also.
    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 press save to add it!
    3) When clicking on a Limiter at the top of the tree, the Delete button syas "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.
    I am submitting this for RELENG_2_2 because I wanted to sort that out anyway to understand what was wrong and how it should behave.
    Then I can look at 2.3-BETA and make it work nicely there...
Commits on Jan 6, 2016
  1. Attempt to ensure interface_dhcpv6_configure() is called at the most …

    davidjwood committed Jan 6, 2016
    …appropriate time
    * ppp-ipv6 for PPP type with dhcp6usev4iface (or PPP without dhcp6usev4iface, as dhcp6usev4iface appears to be a no-op on this type of connection)
    * rc.newwanip for non-PPP type with dhcp6usev4iface (no change in this commit)
    * interface_configure() in all other cases