LuCI - OpenWrt Configuration Interface
Find a file
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
.github Merge pull request #5567 from TDT-AG/pr/20211202-github-issue-templates 2022-01-13 10:34:10 +01:00
applications luci-app-commands: drop luci-compat dependency 2022-10-26 23:16:51 +02:00
build build: i18n-scan.pl: add support for ucode sources and templates 2022-10-25 01:03:37 +02:00
collections luci-ssl-nginx: drop libiwinfo-lua dependency 2022-10-26 23:41:33 +02:00
contrib/package contrib: introduce ucode-mod-html 2022-10-25 01:03:36 +02:00
docs CI: automatically update jsapi docs 2021-10-08 17:16:04 -10:00
libs treewide: add explicit Lua runtime dependencies where needed 2022-10-25 01:03:37 +02:00
modules luci-base: dispatcher.uc: update uci session ID in Lua context 2022-10-27 11:14:52 +02:00
protocols treewide: add explicit Lua runtime dependencies where needed 2022-10-25 01:03:37 +02:00
themes luci-theme-openwrt-2020: convert Lua templates to ucode 2022-10-26 22:43:56 +02:00
.gitignore .gitignore: adjust paths for autogenerated plural_formula sources 2022-10-25 13:26:56 +02:00
CONTRIBUTING.md CONTRIBUTING.md: Fix sign_your_work link. 2020-03-01 14:33:20 -08:00
jsdoc.conf.json docs: various updates 2019-11-07 12:39:24 +01:00
LICENSE * new project: ff-luci - Freifunk Lua Configuration Interface 2008-03-02 21:52:58 +00:00
luci.mk luci.mk: fix compatibility with GNU Make 4.2 2022-10-25 12:20:22 +02:00
NOTICE Update my email addresses in the license headers 2015-01-16 23:49:44 +01:00
package.json CI: automatically update jsapi docs 2021-10-08 17:16:04 -10:00
README.md docs: various updates 2019-11-07 12:39:24 +01:00

OpenWrt luci feed

Translation status

Description

This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.

Usage

This feed is enabled by default. Your feeds.conf.default (or feeds.conf) should contain a line like:

src-git luci https://github.com/openwrt/luci.git

To install all its package definitions, run:

./scripts/feeds update luci
./scripts/feeds install -a -p luci

API Reference

You can browse the generated API documentation directly on Github.

Development

Documentation for developing and extending LuCI can be found in the Wiki

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.

Translation status

Translation status