Skip to content
  1. Mar 20, 2016
    • Hannu Nyman's avatar
      luci-base: fix bug in util.lua in 'shellsqescape' · e2e26964
      Hannu Nyman authored
      
      
      Fix a bug introduced by #561
      
      Function 'shellsqescape' calls 'gsub' with the empty result string 'res'
      instead of the actual parameter 'value'. This leads into error:
      .../util.lua:160: bad argument #1 to 'gsub' (string expected, got nil)
      
      Fix error by passing the correct parameter to the function.
      
      After the fix, the unmount button introduced by #561 finally works.
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      e2e26964
  2. Mar 19, 2016
  3. Mar 17, 2016
  4. Mar 16, 2016
    • Hannu Nyman's avatar
      Add support for showing ipv6 NAT table in Luci · a77ff300
      Hannu Nyman authored
      
      
      When kmod-nf-nat6 and kmod-ipt-nat6 are installed, the firewall has also
      the 'nat' table for ipv6, and packages like 'adblock' utilize that table.
      
      Currently that table is not shown on the Luci firewall status page,
      although it is visible by 'ip6tables -L -v -t nat' from console.
      
      Detect 'nat' table's presence from /proc/net/ip6_tables_names
      
      Show 'nat' table in Status->Firewall->IPv6 if that table is present.
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      a77ff300
  5. Mar 11, 2016
    • Hannu Nyman's avatar
      luci-base: Include Openwrt build revision in displayed version string · 50451c4a
      Hannu Nyman authored
      
      
      The version string displayed in the footer and the overview page contains
      both LuCI and Openwrt versions. But due to differences in the contents
      of /etc/openwrt_release the exact Openwrt revision r..... may be missing:
      * In trunk that revision is included in the DISTRIB_DESCRIPTION field that
        is displayed in Luci as the Openwrt version.
      * In release branches, that field contains the release number like 15.05.
      
      Revision number is always present in DISTRIB_REVISION field, so add the
      revision from that field in case the revision is not already present
      in the string.
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      50451c4a
  6. Mar 10, 2016
    • Hannu Nyman's avatar
      LuCI: Display the proper LuCI git branch in GUI · 7553654b
      Hannu Nyman authored
      
      
      Adjust luci.mk and luci-base to find out correctly if Luci is built
      from master or from a branch. Display that value in the footer and
      the overview page.
      
      * Evaluate the git branch in luci.mk and pass that to LuCI submodules
        as a make variable. Use branch name, ignore tags.
      * Deprecate svn detection in luci-base's mkversion.sh that generates
        version.lua. Simply use the value passed by make.
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      7553654b
  7. Mar 07, 2016
    • Hauke Mehrtens's avatar
      luci-mod-admin-full: add dsl configuration · c3711b3a
      Hauke Mehrtens authored
      
      
      This makes it possible to configure the DSL line from luci.
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      c3711b3a
    • Hauke Mehrtens's avatar
      luci-mod-admin-full: extend dsl stats · bedac198
      Hauke Mehrtens authored
      
      
      This adds a lot of new status information about the dsl line.
      It now looks like this on a Telekom line:
      
      Status: UP
      Line State: showtime_tc_sync [0x801]
      Line Mode: G.993.2 (VDSL2)
      Annex: B
      Profile: 17a
      Data Rate: 51.391 Mb/s / 10.046 Mb/s
      Max. Attainable Data Rate (ATTNDR): 63.817 Mb/s / 23.908 Mb/s
      Latency: 4.0 ms / 8.0 ms
      Line Attenuation (LATN): 10.5 dB / 9.9 dB
      Signal Attenuation (SATN): 8.2 dB / 14.4 dB
      Noise Margin (SNR): 10.5 dB / 9.7 dB
      Aggregate Transmit Power(ACTATP): -14 dB / 12.4 dB
      Forward Error Correction Seconds (FECS): 1 / 1723485
      Errored seconds (ES): 0 / 2477
      Severely Errored Seconds (SES): 0 / 50
      Loss of Signal Seconds (LOSS): 0 / 0
      Unavailable Seconds (UAS): 31 / 31
      Header Error Code Errors (HEC): 0 / 0
      Non Pre-emtive CRC errors (CRC_P): 0 / 0
      Pre-emtive CRC errors (CRCP_P): 0 / 0
      Line Uptime: 2m 3s
      ATU-C System Vendor ID: Broadcom 176.15
      Power Management Mode: L0 - Synchronized
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      bedac198
    • Hauke Mehrtens's avatar
      luci-mod-admin-full: rename ADSL to DSL · d7a3a3da
      Hauke Mehrtens authored
      
      
      This could also be a VDSL link
      
      Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
      d7a3a3da
  8. Mar 01, 2016
  9. Feb 26, 2016
  10. Feb 24, 2016
  11. Feb 23, 2016
  12. Feb 20, 2016
  13. Feb 19, 2016
  14. Feb 17, 2016
  15. Feb 15, 2016
  16. Feb 10, 2016
  17. Feb 09, 2016
  18. Feb 08, 2016
  19. Feb 07, 2016
    • Hannu Nyman's avatar
      timezone data: update to 2016a · 9b5724d3
      Hannu Nyman authored
      
      
      Update timezone data to 2016a.
      
      http://mm.icann.org/pipermail/tz-announce/2016-January/000035.html
      
         Changes affecting future time stamps
      
           America/Cayman will not observe daylight saving this year after all.
           Revert our guess that it would.  (Thanks to Matt Johnson.)
      
           Asia/Chita switches from +0800 to +0900 on 2016-03-27 at 02:00.
           (Thanks to Alexander Krivenyshev.)
      
           Asia/Tehran now has DST predictions for the year 2038 and later,
           to be March 21 00:00 to September 21 00:00.  This is likely better
           than predicting no DST, albeit off by a day every now and then.
      
         Changes affecting past and future time stamps
      
           America/Metlakatla switched from PST all year to AKST/AKDT on
           2015-11-01 at 02:00.  (Thanks to Steffen Thorsen.)
      
           America/Santa_Isabel has been removed, and replaced with a
           backward compatibility link to America/Tijuana.  Its contents were
           apparently based on a misreading of Mexican legislation.
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      9b5724d3
  20. Feb 03, 2016
  21. Feb 02, 2016
  22. Jan 25, 2016
  23. Jan 23, 2016
  24. Jan 21, 2016