mirror of
https://github.com/openwrt/luci.git
synced 2026-04-15 10:51:51 +00:00
8b0195ea67cf7cf75b315eca62baa23e033706f9
- Add new RPC declarations: - callLuciRpcGetNetworkDevices - callLuciRpcGetDHCPLeases - Add ethers_cache for MAC-to-hostname mapping - Replace object literals with Object.create(null) for caches: dns_cache, service_cache - Make sure 'Disable DNS lookups' shows addresses - Change lookup_queue from array to Set to simplify processing - Introduce updateDnsCache(addr, name) helper to update caches and remove addresses from queues - Update service lookup to match uppercase cache keys - Rework address resolution workflow as async/await 1. DHCP leases 2. Reverse DNS via callNetworkRrdnsLookup 3. Host hints / MAC-to-host mapping 4. Network devices / MAC cache - Re-write pollData() as async - Update ACL JSON to grant luci-mod-status access to luci-rpc methods: getHostHints, getNetworkDevices, getDHCPLeases This refactor modernizes the connections view host lookup logic, reduces redundant RPC queries, and improves maintainability and cache reliability. Signed-off-by: Konstantin Glukhov <KGlukhov@Hotmail.com>
OpenWrt luci feed
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.
- Server side Lua APIs; Note: deprecated - Lua will be removed in future. Use ucode rpcd for server side operations.
- Client side JavaScript APIs
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
Use Weblate instead of direct editing of the *.po files.
Description
Languages
JavaScript
65.1%
C
17.3%
Lua
6.6%
CSS
3.7%
UnrealScript
3%
Other
4.2%