- Jan 03, 2023
-
-
Jan-Niklas Burfeind authored
-
Jan-Niklas Burfeind authored
-
Jan-Niklas Burfeind authored
changes ln from third to first form (see man ln)
-
- Dec 13, 2022
-
-
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
-
- Dec 10, 2022
-
-
Maciej Krüger authored
-
- Feb 22, 2022
-
-
Igor Scheller authored
-
- Feb 01, 2022
-
-
Matthias Schiffer authored
This was a remnant of LuCI that was never used in gluon-web.
-
- Oct 07, 2021
-
-
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
-
- May 14, 2021
-
-
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.
-
- Jul 03, 2020
-
-
Matthias Schiffer authored
Replace the ugly arrow shown in Firefox with a custom SVG arrow. Tested and working in Firefox, Chrome and Edge. The arrow doesn't show in IE, but the gluon-web-model JavaScript is already severely broken in IE, so we don't care.
-
- Jul 02, 2020
-
-
Matthias Schiffer authored
-
- Jun 06, 2020
-
-
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.
-
- Jun 05, 2020
-
-
Matthias Schiffer authored
Validation errors are mostly handled in the frontend (by displaying invalid fields with a red background). There was some code left in the backend for handling different kinds of errors, and returning custom error messages from validate(), but the resulting value was not used anywhere.
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
- Jun 04, 2020
-
-
Matthias Schiffer authored
- Add a dependency array to section template - Lift dependency handling from AbstractValue to Node - Split resolve_depends() into a function handling dependencies of a node itself (resolve_node_depends()), which now is used for all nodes, and the existing recursive descent through the node tree - When any node's dependencies are not satisfied, all descendents are reset recursively, meaning that an option in a section that is hidden will always be ignored, as if the option's own dependencies were unsatisfied Fixes: #1349
-
Matthias Schiffer authored
This is currently unused in our packages.
-
Matthias Schiffer authored
Fixes dependency tracking for individual <option> elements (currently unused).
-
- Apr 05, 2020
-
-
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)
-
- Jun 16, 2019
-
-
bobcanthelpyou authored
-
bobcanthelpyou authored
-
Matthias Schiffer authored
-
- Sep 01, 2018
-
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
Matthias Schiffer authored
-
- Jul 17, 2018
-
-
Matthias Schiffer authored
-
- Apr 13, 2018
-
-
Matthias Schiffer authored
-
- Mar 08, 2018
-
-
Matthias Schiffer authored
-
- Mar 07, 2018
-
-
Matthias Schiffer authored
-
- Feb 25, 2018
-
-
Matthias Schiffer authored
Also bring back gluon-web-theme's i18n strings.
-
Matthias Schiffer authored
-