Skip to content
  1. Aug 15, 2016
  2. Aug 04, 2016
  3. Jul 29, 2016
  4. Jun 09, 2016
  5. Jun 03, 2016
  6. May 30, 2016
  7. May 25, 2016
  8. May 14, 2016
  9. May 01, 2016
  10. Apr 26, 2016
  11. Apr 17, 2016
  12. Apr 08, 2016
  13. Apr 01, 2016
    • Oskari Rauta's avatar
      Update network.lua · 57e58b9b
      Oskari Rauta authored
      Fix display of WAN status when WAN is provided by using WWAN device or similar with other similar similar methods.
      Explanation:
      Before this, protocol was fetched from /etc/config/network for interface which often is wan_4 - but protocol is configured in file as wan, and therefore protocol is always none, since configuration is made for wan and then setup as wan_4 and possibly wan_6 if ipv6 is being used. This commit uses ubus to get used active protocol. For example, in case of qmi, it displays protocol as dhcp since even if I configured wan to use qmi, dhcp was used as a protocol for getting IP address.
      57e58b9b
  14. Mar 30, 2016
    • Hannu Nyman's avatar
      timezone data: update to 2016c · 859e4353
      Hannu Nyman authored
      
      
      Update timezone data to 2016c.
      
      2016b: http://mm.icann.org/pipermail/tz-announce/2016-March/000036.html
      
         Changes affecting future time stamps
      
           New zones Europe/Astrakhan and Europe/Ulyanovsk for Astrakhan and
           Ulyanovsk Oblasts, Russia, both of which will switch from +03 to +04
           on 2016-03-27 at 02:00 local time.  They need distinct zones since
           their post-1970 histories disagree.  New zone Asia/Barnaul for Altai
           Krai and Altai Republic, Russia, which will switch from +06 to +07
           on the same date and local time.  Also, Asia/Sakhalin moves from +10
           to +11 on 2016-03-27 at 02:00.
      
           As a trial of a new system that needs less information to be made up,
           the new zones use numeric time zone abbreviations like "+04"
           instead of invented abbreviations like "ASTT".
      
           Haiti will not observe DST in 2016.
      
           Palestine's spring-forward transition on 2016-03-26 is at 01:00,
           not 00:00. Guess future transitions will be March's last Saturday
           at 01:00, not March's last Friday at 24:00.
      
      2016c: http://mm.icann.org/pipermail/tz-announce/2016-March/000037.html
      
         Changes affecting future time stamps
      
           Azerbaijan no longer observes DST.
      
           Chile reverts from permanent to seasonal DST.
           Guess that future transitions are August's and May's second
           Saturdays at 24:00 mainland time.  Also, call the period from
           2014-09-07 through 2016-05-14 daylight saving time instead of
           standard time, as that seems more appropriate now.
      
      Note for Openwrt usage:
      
      Either musl or busybox does not like the new timezone format.
      Although the rule looks ok in /etc/TZ, timezone is interpreted wrongly
      by date, uptime etc. "Old timezones" are handle correctly, but these
      new "<+04>-4" style zones do not work. Example below:
      
      Europe/Helsinki
       root@OpenWrt:~# cat /etc/TZ
       EET-2EEST,M3.5.0/3,M10.5.0/4
       root@OpenWrt:~# uptime
        11:00:52 up 18:17,  load average: 0.43, 0.13, 0.11
       root@OpenWrt:~# date
       Wed Mar 30 11:00:55 EEST 2016
      
      Europe/Astrakhan
       ( Time is showed as GMT instead of the correct zone and
         zone name is parsed wrongly )
       root@OpenWrt:~# cat /etc/TZ
       <+04>-4
       root@OpenWrt:~# uptime
        08:02:52 up 18:19,  load average: 0.17, 0.18, 0.13
       root@OpenWrt:~# date
       Wed Mar 30 08:02:59 +04>-4 2016
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      859e4353
  15. Mar 25, 2016
  16. Mar 21, 2016
  17. 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
  18. 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
  19. 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
  20. 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
  21. Mar 01, 2016
  22. Feb 26, 2016
  23. Feb 24, 2016
  24. Feb 23, 2016
  25. Feb 20, 2016
  26. Feb 19, 2016
  27. Feb 17, 2016
  28. Feb 15, 2016
  29. Feb 10, 2016