Skip to content
  1. Jun 28, 2019
  2. Jun 26, 2019
  3. Jun 22, 2019
  4. Jun 12, 2019
  5. Jun 11, 2019
  6. Jun 09, 2019
  7. Jun 05, 2019
    • Anton Kikin's avatar
      luci-base: update Russian translation · 886e0b3e
      Anton Kikin authored
      
      
      Signed-off-by: default avatarAnton Kikin <a.kikin@tano-systems.com>
      886e0b3e
    • Jo-Philipp Wich's avatar
      luci-mod-system: fix SimpleForm usage on file editing pages · 1c09ee5e
      Jo-Philipp Wich authored
      
      
      When a value identical to the stored one is submitted, the CBI framework
      will not emit an option write event and therfore not store the value in
      the form data dictionary passed to SimpleForm.handle().
      
      This usage pattern usally works be accident for file editor views such
      as admin_system/crontab because \r\n windows style line endings are
      substituted with unix \n ones before writing the data, defeating the
      equality check in CBI.
      
      When a single line without trailing newline is submitted however, the
      CBI will not see a difference to the data stored in the file and clear
      out the value on subsequent saves.
      
      This commit alignes the logic used by various SimpleForm views to
      behave identically and predictable:
      
       - File data is handled in the SimpleForm.handle() callback
       - The forcewrite property is used to disable equality checks
       - Submission of an empty string empties the backing file
      
      Fixes: #2737
      Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
      1c09ee5e
  8. Jun 04, 2019
  9. Jun 03, 2019
  10. May 18, 2019
  11. May 17, 2019
  12. May 15, 2019
  13. May 13, 2019
  14. May 07, 2019
  15. May 06, 2019
  16. May 02, 2019
  17. Apr 30, 2019
  18. Apr 25, 2019
  19. Apr 23, 2019
  20. Apr 21, 2019
  21. Apr 12, 2019
  22. Apr 10, 2019
  23. Apr 08, 2019
  24. Apr 02, 2019
  25. Mar 29, 2019
    • Florian Eckert's avatar
      luci-base: add cbi tsection error msg option · b347bd14
      Florian Eckert authored
      
      
      In some situation it is usefull to inform the use that this section
      could not get delete, because this config is referenced or is in use.
      
      Example pseudo code:
      
      function s.remove(self, sid)
      	<check if secation could get deleted>
      	if output == nil then
      		self.error_msg = translatef("Unable to remove this section")
      		return nil
      	end
      end
      
      Signed-off-by: default avatarFlorian Eckert <fe@dev.tdt.de>
      b347bd14
  26. Mar 27, 2019