Skip to content
  1. Dec 20, 2015
  2. Dec 18, 2015
  3. 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
  4. Dec 15, 2015
  5. Dec 13, 2015
  6. Dec 09, 2015
  7. Dec 08, 2015
  8. Dec 06, 2015
  9. Dec 02, 2015
  10. Nov 26, 2015
  11. Nov 21, 2015
  12. Nov 20, 2015
  13. Nov 19, 2015
  14. Nov 17, 2015
  15. Nov 16, 2015
  16. Nov 06, 2015
  17. Nov 05, 2015
    • Hannu Nyman's avatar
      luci-mod-admin-full: limit interface name length to 15 chars · b1217c88
      Hannu Nyman authored
      
      
      Limit the name of a new interface to 15 characters.
      Add a note about the maximum length and the automatic protocol/bridge
      prefixes (br-, 6in4-, pppoe- etc.).
      
      Reference to:
      https://dev.openwrt.org/ticket/20380
      https://github.com/openwrt/luci/issues/507
      
      There is a 15 character limit to the "real" interface name,
      enforced both in the firewall and dnsmasq. The real interface name
      includes the possible prefix "br-", "6in4-" etc. Example of an error:
        interface name `br-lan_protected' must be shorter than IFNAMSIZ (15)
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      b1217c88
  18. Nov 03, 2015
  19. Nov 01, 2015
  20. Oct 31, 2015
  21. Oct 30, 2015
  22. Oct 27, 2015