luci/modules
Jo-Philipp Wich 767acf32d4 luci-base: dispatcher.uc: update uci session ID in Lua context
Make sure that the uci session ID of the `luci.model.uci` module within
the Lua context is updated once we acquire the login session information.

In case legacy themes are used, the probing of the theme header template
might indirectly load the Lua runtime and the Lua side `luci.dispatcher`
module which in turn will load the `luci.model.uci` and set the session
ID there which is not yet initialized at this point in time.

This results in broken uci change handling within legacy Lua applications
when a legacy theme is loaded.

Fixes: #6060
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-27 11:14:52 +02:00
..
luci-base luci-base: dispatcher.uc: update uci session ID in Lua context 2022-10-27 11:14:52 +02:00
luci-compat treewide: separate Lua runtime resources 2022-10-25 01:03:37 +02:00
luci-lua-runtime luci-lua-runtime: render cbi header/footer templates via ucode runtime 2022-10-26 22:02:16 +02:00
luci-mod-admin-full luci-base: use cgi-io and rpcd-mod-file to handle file upload and browsing 2019-09-10 15:28:16 +02:00
luci-mod-admin-mini treewide: removed trailing whitespaces and extra newlines in 'modules' 2021-01-20 17:48:16 +02:00
luci-mod-battstatus Translated using Weblate (Danish) 2022-08-01 10:34:29 +03:00
luci-mod-dashboard Translated using Weblate (German) 2022-10-09 19:47:52 +03:00
luci-mod-network luci-mod-network: remove uppercase for interface name in modal view 2022-10-27 10:46:54 +02:00
luci-mod-rpc treewide: removed trailing whitespaces and extra newlines in 'modules' 2021-01-20 17:48:16 +02:00
luci-mod-status luci-mod-status: transform status page Lua template into ucode template 2022-10-25 01:03:37 +02:00
luci-mod-system luci-mod-system: drop unused Lua code 2022-10-25 01:03:37 +02:00