dangole has quit [Remote host closed the connection]
jeff___m has quit [Ping timeout: 480 seconds]
vincejv has joined #openwrt-devel
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
jeff___m has joined #openwrt-devel
floof58 has quit [Ping timeout: 480 seconds]
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
jeff___m has quit [Ping timeout: 480 seconds]
floof58 has joined #openwrt-devel
<rmilecki>
i hate javascript
<rmilecki>
LuCI has insane entry level
<rmilecki>
(unless all you do is copy & paste & modify existing module)
<rmilecki>
dhcp.js has 700 lines of options code (no functions) in its .render() - how is anyone mean to navigate through that?
<rmilecki>
jow: how can I add custom E(...) elements to the form.Map ? all usa cases I can find are using m.section(...)
<rmilecki>
jow: i want to mix UCI sections management with custom non-UCI UI elements
<rmilecki>
non-UCI page simply return a view (E(...)) from their .render() CB
<rmilecki>
but I want to have a mix
<rmilecki>
ohh, I found something: s.cfgsections = function() { return [ '_status' ] };
<rmilecki>
it seems I have to pretend it's about UCI and fake UCI section
<rmilecki>
...
<colo>
rmilecki: yeah, I also gave up rather quickly when I tried to create my first luci integration. I guess it's not for people who don't have to deal with this language day in, day out ;)
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
<f00b4r0>
rmilecki: doesn't admin/system/startup do what you want (manage /etc/init.d/ ?)
Tapper has joined #openwrt-devel
<rmilecki>
ah, and for custom per-UCI-section entries (not related to any UCI option) we fake .taboption() with a proper .cfgvalue CB
goliath has joined #openwrt-devel
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
Misanthropos has quit [Ping timeout: 480 seconds]
Forst has quit [Read error: No route to host]
Forst has joined #openwrt-devel
<russell-->
well, that's weird. i have an APU4 that suddenly failed to boot:
<russell-->
error: failure reading sector 0x2a00 from `hd0'.
<jow>
rmilecki: override render, call original render and modify resulting dom
<jow>
rmilecki: question is what you want to achive though
<jow>
rmilecki: thanks, seen it. This should probably be a generic facility which is activated by setting a property on the map, like `m.init = "dnsmasq";` - this would then arrange the buttons etc.
<jow>
rmilecki: I don't expect you to do this, just thinking about it
<jow>
rmilecki: in any case it might make sense to move CBIServiceEnabled and CBIServiceRunning to modules/luci-base/htdocs/luci-static/resources/tools/widgets.js
<jow>
rmilecki: and factor the hardcoded "dnsmasq" out into a property, so any map can use those widgets
<jow>
like o = s.option(tools.CBIServiceEnabled); o.service = "dnsmasq";
jeff___m has joined #openwrt-devel
<russell-->
not sure it would have helped, but is there a reason /boot isn't mounted read-only?
jeff___m has quit [Ping timeout: 480 seconds]
rua has quit [Remote host closed the connection]
tmn505 has joined #openwrt-devel
rua has joined #openwrt-devel
Borromini has joined #openwrt-devel
rua has quit [Quit: Leaving.]
msg has joined #openwrt-devel
<msg>
helloooooo
<msg>
In luci (modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js) how do you remove one particular dependency? Or how do you add a dependency that can have a parameter set to value 0 OR not having that parameter defined at all
<dangole>
anyone has an idea why buildbot on mt7622 is failing? yes, some images are now too large and hence check-size removes them. but that shouldn't be a problem and isn't when i'm building locally with the same options and also github CI was all fine with that...
<dangole>
I suspect KERNEL_SIZE check returns false and that make Make abort
tidalf has joined #openwrt-devel
tidalf has quit [Remote host closed the connection]
tidalf has joined #openwrt-devel
tidalf has quit [Remote host closed the connection]
tidalf has joined #openwrt-devel
tidalf is now known as Guest3035
Guest3035 has quit [Read error: Connection reset by peer]
<KanjiMonster>
dangole: look a few lines above at 3670 - 3673; it's the mt7622-rfb1 image build that fails
<dangole>
yes, i've seen that, weirdly it doesn't fail if i build it locally, nor did the Github CI fail on the PR which contained the change which makes it fail on the buildbots now
Borromini has joined #openwrt-devel
<dangole>
had the same yesterday with mt7986 buildbot, there it was bash vs. ash vs. dash Shell running on my host vs. github CI vs. buildbots...