Skip to content
  1. Dec 02, 2015
  2. Nov 21, 2015
  3. Nov 17, 2015
  4. Nov 16, 2015
  5. Nov 03, 2015
  6. Nov 01, 2015
  7. Oct 31, 2015
  8. Oct 30, 2015
  9. Oct 27, 2015
  10. Oct 22, 2015
  11. Oct 21, 2015
    • Jo-Philipp Wich's avatar
      luci-base: ensure that base url is emitted with trailing slash · 79383f5a
      Jo-Philipp Wich authored
      
      
      Now that we don't have an url token anymore, '/cgi-bin/luci' becomes a valid
      url while cookies are restricted to only '/cgi-bin/luci/' and below.
      
      In order to ensure that the first request after login refers to a path
      covered by the authentication cookie, change build_url() to always append
      a trailing slash if we're referring to the base url.
      
      This should fix the login problems mentioned in #516.
      
      While we're touching the dispatcher, also remove remaining url token code.
      
      Signed-off-by: default avatarJo-Philipp Wich <jow@openwrt.org>
      79383f5a
    • Jo-Philipp Wich's avatar
      luci-base: remove security token from urls · 86326e0d
      Jo-Philipp Wich authored
      
      
      Now that sensitive urls require post requests and only accept them if a valid
      security token is sent along the request, we can drop the global random url
      token to improve LuCI usability.
      
      The main improvement is the ability to use multiple tabs with the same login
      session, but also deep linking to specific urls without the need for another
      login becomes feasible, e.g. for documentation purposes.
      
      Signed-off-by: default avatarJo-Philipp Wich <jow@openwrt.org>
      86326e0d
  12. Oct 20, 2015
  13. Oct 13, 2015
  14. Oct 12, 2015
    • Hannu Nyman's avatar
      Timezone information: update to 2015g · 2cfd11b2
      Hannu Nyman authored
      
      
      Changes in 2015g:
      http://mm.icann.org/pipermail/tz-announce/2015-October/000034.html
      
           Norfolk moves from +1130 to +1100 on 2015-10-04 at 02:00 local time.
      
           Fiji's 2016 fall-back transition is scheduled for January 17, not 24.
      
           Fort Nelson, British Columbia will not fall back on 2015-11-01. It has
           effectively been on MST (-0700) since it advanced its clocks on 2015-03-08.
           New zone America/Fort_Nelson.
      
      Note: the Turkey-related one-time rule change is not apparently catched by
      the zoneinfo2lua script, so that change is not included in this commit.
      (Turkey's 2015 fall-back transition is scheduled for Nov. 8, not Oct. 25.)
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      2cfd11b2
  15. Oct 10, 2015
  16. Oct 08, 2015
  17. Oct 07, 2015
  18. Oct 06, 2015
  19. Sep 29, 2015
  20. Sep 18, 2015
  21. Sep 17, 2015
  22. Sep 16, 2015
    • Hannu Nyman's avatar
      Luci opkg/packages: Show package size in list of available packages · 3288fe76
      Hannu Nyman authored
      
      
      Add package *.ipk size information to package listing in Luci,
      as opkg was today extended to support listing also the size information.
      Visible fields are now: name, version, size, description
      
      That will help users considering installation of a certain package
      to assess its size impact on flash.
      
      Note: Opkg data includes the size of the .ipk file, not the expanded size.
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      3288fe76
  23. Sep 01, 2015
    • Hannu Nyman's avatar
      Luci opkg/packages: Limit version string display to 26 chars · ca75918f
      Hannu Nyman authored
      
      
      Many packages currently include a git commit hash in version string.
      That makes versions string very long and the version column takes much space
      when listing available/installed packages in Luci.
      
      Longest version string is 58 characters (micropython).
      85 packages have at least 50 chars and 150 packages at least 40 chars.
      
      Adjust Luci to display max. 26 characters (= luci's own version string).
      
      Longer version strings are cut to: "first 21c" + ".." + "last 3c"
      
      The last 3 chars are used to preserve the possible PKG_REVISION string.
      E.g. 'opkg' has only hash+PKG_REVISION, so using only start of the string
      might not be optimal.
      
      Examples:
      
      1.3.10-20150302-f2a889564b3a215902622b040a1247af38cb8203-1
      1.3.10-20150302-f2a88..3-1
      
      0.1-20150302-654c7d288603f7dae09eb09b57fb67b38c7ac6c3-1
      0.1-20150302-654c7d28..3-1
      
      9c97d5ecd795709c8584e972bfdf3aee3a5b846d-7
      9c97d5ecd795709c8584e..d-7
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      ca75918f