Skip to content
Snippets Groups Projects
  1. Jan 03, 2023
  2. Dec 13, 2022
    • Maciej Krüger's avatar
      gluon-web-model: resolve hang when submitting form with disabled element · a0db0a46
      Maciej Krüger authored
      I was made aware of a bug when submitting the form while the element is
      disabled based on it's dependencies
      
      The fix was to inherit from AbstractValue instead of just node
      
      AbstractValue's AbstractValue:resolve_node_depends() in particular
      solves the issue, but it made more sense to just use the full base class
      a0db0a46
  3. Dec 10, 2022
  4. Feb 22, 2022
  5. Feb 01, 2022
  6. Oct 07, 2021
    • Matthias Schiffer's avatar
      Set PKG_VERSION in gluon.mk · f419db58
      Matthias Schiffer authored
      This removes PKG_VERSION and PKG_RELEASE from most Makefiles, as the
      value was never useful for Gluon packages; instead, PKG_VERSION is set
      to 1 in gluon.mk.
      
      It also removes two other weird definitions:
      
      - gluon-iptables-clamp-mss-to-pmtu replicating the old PKG_VERSION logic
        from gluon-core, but without the fixed PKG_BUILD_DIR to prevent
        unnessary rebuilds
      - gluon-hoodselector set GLUON_VERSION=3
      f419db58
  7. May 14, 2021
    • Matthias Schiffer's avatar
      gluon-web-model: add state tracking to sections · df9fa32d
      Matthias Schiffer authored
      This add support for a write() method on sections, in addition to the
      value and form level write(). write() is only called when the section is
      valid and visible. In addition, write() is empty by default, so it can be
      overridden more easily.
      df9fa32d
  8. Jul 03, 2020
  9. Jul 02, 2020
  10. Jun 06, 2020
    • Matthias Schiffer's avatar
      gluon-web-model: fix conflicting table fields "reset" · e8c65ef7
      Matthias Schiffer authored
      With 11a3b566 ("gluon-web-model: add dependency support for
      sections"), a "reset" function was added to all model nodes. This
      conflicts with the "reset" field of the Form object, making reset
      buttons show labels like "function: 0xbb8d50" and possibly breaking form
      processing when packages override the reset field.
      e8c65ef7
  11. Jun 05, 2020
  12. Jun 04, 2020
  13. Apr 05, 2020
    • Kasalehlia's avatar
      gluon-web-model: update inputs on form reset · bf090a8a
      Kasalehlia authored
      Register to 'reset' event on form element and make call to 'update' function
      delayed in 'data-update' handler to allow the form values to update beforehand.
      
      When using a form's 'reset' button, form field visibility was not updated.
      This could lead to situations where a checkbox had to be toggled again
      twice to display the detail text inputs. (Example taken from private
      wifi package)
      bf090a8a
  14. Jun 16, 2019
  15. Sep 01, 2018
  16. Jul 17, 2018
  17. Apr 13, 2018
  18. Mar 08, 2018
  19. Mar 07, 2018
  20. Feb 25, 2018
Loading