Skip to content
  1. Dec 20, 2015
  2. Dec 16, 2015
    • Daniel Dickinson's avatar
      validation: Add option ipv4only option to host and hostport datatypes · c481f3f3
      Daniel Dickinson authored
      Some applications only support ipv4 so add ipv4only option
      to host and hostport datatypes so that for thos applications
      that when an IP address is specified only and ipv4 ip address
      gets accepted.
      c481f3f3
    • Daniel Dickinson's avatar
      modules/luci-base: Fix ipaddrport validator to support ipv6 · bbcfad79
      Daniel Dickinson authored
      The previous versiono of ipaddrport validator only worked for ipv4
      due to disallowing colons (:) in ip address which obvious fails for
      ipv6.  We now instead allow either ipv4 address or an ipv6 address of
      the form [<ipv6address>]:port
      bbcfad79
    • Daniel Dickinson's avatar
      luci-base: Make default for FileUpload 'safe' · b475ec69
      Daniel Dickinson authored
      Some files and pointers to files are not safe to remove without a replacement
      file and config pointing to the file.  For instance for uhttpd application in
      the works, removing the certificate or key config or files without having the
      replacements in places renders the WeUI inaccessible.
      
      The only other place where FileUpload is currently used is for wifi certificates
      for which the 'safe' handling is also preferred.  Therefore make the default for
      the FileUpload widget the safe handling and add a property self.unsafeupload that
      allows for the old unsafe handling should it prove useful in some case.
      
      Also allow to specify a file already on router instead of uploading a file.
      
      Signed-off By: Daniel Dickinson <openwrt@daniel.thecshore.com>
      b475ec69
  3. Dec 15, 2015
  4. Dec 13, 2015
  5. Dec 09, 2015
  6. Dec 06, 2015
  7. Dec 02, 2015
  8. Nov 21, 2015
  9. Nov 17, 2015
  10. Nov 16, 2015
  11. Nov 03, 2015
  12. Nov 01, 2015
  13. Oct 31, 2015
  14. Oct 30, 2015
  15. Oct 27, 2015
  16. Oct 22, 2015
  17. 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
  18. Oct 20, 2015
  19. Oct 13, 2015
  20. 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
  21. Oct 10, 2015
  22. Oct 08, 2015
  23. Oct 07, 2015
  24. Oct 06, 2015