luci/modules/luci-base
Jo-Philipp Wich 2d352a9251 luci-base: cbi: atomically reorder uci sections
Since the switch to ubus uci operations we do not have a local application-
side cursor cache anymore, instead uci operations happen synchronously in
the rpcd backend server.

This may cause cbi section reorder operations involving multiple elements
to fail, because anonymous section hashes may change due to rehashing
between consecutive ubus uci reorder calls.

In order to avoid that problem, use the ubus uci batch reorder extension,
which allows to pass a complete (or partial) list of section ids in the
desired order in one call, bypassing the volatile section id problem.

Fixes #1844.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-03 20:02:44 +02:00
..
htdocs luci-base: cbi.js: remove unused serialize functions 2018-05-30 16:04:07 +02:00
luasrc luci-base: cbi: atomically reorder uci sections 2018-06-03 20:02:44 +02:00
po luci-base: update Japanese translation 2018-06-01 02:45:53 +09:00
root Merge pull request #1769 from jow-/master 2018-05-18 16:44:33 +02:00
src Revert "luci-base: add urldecode() and urlencode() C implementations" 2018-04-18 16:21:27 +02:00
Makefile luci-base: drop dependency on libuci-lua 2018-04-18 16:54:53 +02:00