Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-12-25 | libs/web: fix missing escapes in network_ifacelist widget | Jo-Philipp Wich | |
2012-12-25 | libs/core: make luci.util.spairs(), kspairs() and vspairs() return the ↵ | Jo-Philipp Wich | |
sequential index as 3rd variable | |||
2012-12-20 | don't use symlink to /lib/functions.sh | Jo-Philipp Wich | |
Signed-off-by: Luka Perkov <luka@openwrt.org> | |||
2012-12-19 | ccache not loading or storing cache files | Jo-Philipp Wich | |
I've noticed that there is nothing in my /tmp/luci-modulecache directory. Digging into it it looks like because both the expected uid and mode of the files doesn't match, so for security reasons they're long being loaded or saved by ccache.lua (from the luci-lib-core package). I'm not sure how far back this has been broken but I it appears to have been quite some time, possibly years? I've included a patch which updates the checks to use the right newer function name / structure name. It decreases page load times by about 10-15% on my bcm2708 (raspberrypi). I can create a ticket if you'd prefer. The patch is against the luci-0.11 branch but should apply to trunk as well. Signed-off-by: Bryan Mayland <bmayland@leoninedev.com> | |||
2012-12-02 | libs/web: make JS String.format() and String.serialize() available as ↵ | Jo-Philipp Wich | |
prototype options, introduce String.nobr() | |||
2012-12-02 | libs/web: let luci.i18n.setlanguage() return the lang that was actually loaded | Jo-Philipp Wich | |
2012-11-26 | libs/core: remove unused luci.util.escape(), map luci.util.striptags() to ↵ | Jo-Philipp Wich | |
luci.template.parser.striptags() | |||
2012-11-26 | libs/web: various changes in template library | Jo-Philipp Wich | |
- rename sanitize_pcdata() and sanitize_utf8() to pcdata() and utf8() - implement striptags() | |||
2012-11-26 | libs/web: Allow to disable buttons in cbi models from the controller | Manuel Munz | |
2012-11-26 | remove .i18n annotations from controller files | Jo-Philipp Wich | |
2012-11-26 | "Waiting for router..." is misleading on non-router devices. Use "Waiting ↵ | Daniel Golle | |
for changes to be applied..." instead. | |||
2012-11-25 | libs/web: remove unneeded include | Jo-Philipp Wich | |
2012-11-25 | libs/web: remove leftover debugging code in template_parser.c | Jo-Philipp Wich | |
2012-11-25 | libs/core: use luci.template.parser.hash() instead of lmo.hash() | Jo-Philipp Wich | |
2012-11-25 | libs/web: rewrite template engine, merge lmo library | Jo-Philipp Wich | |
- template parser: merge lmo library - template parser: rewrite to operate on memory mapped files - template parser: implement proper line number reporting on syntax errors - template parser: process translate tags directly and bypass Lua - template lmo: introduce load_catalog(), change_catalog() and close_catalog() - template lmo: rewrite index processing to operate directly on the memory mapped file - template lmo: implement binary search keys, reducing the lookup complexity to O(log n) - po2lmo: write sorted indixes when generating *.lmo archives - i18n: use the template parser for translations - i18n: stub load(), loadc() and clear() - i18n: map setlanguage() to load_catalog() | |||
2012-11-23 | libs/lmo: fix whitespace handling in string hashing, optimize code | Jo-Philipp Wich | |
2012-11-21 | libs/lmo: canonize key strings before hashing them, fixes missing ↵ | Jo-Philipp Wich | |
translations for original strings with line breaks or white spaces embedded | |||
2012-11-21 | libs/core: introduce get_status_by_address() in luci.model.network | Jo-Philipp Wich | |
2012-11-21 | libs/web: fix luci.http.write_json() to properly encode control chars in strings | Jo-Philipp Wich | |
2012-11-15 | libs/ipkg: simplify parsing logic to take advantage of the opkg improvements ↵ | Jo-Philipp Wich | |
in trunk, introduce find() operation | |||
2012-10-29 | merge branch changes into trunk | Jo-Philipp Wich | |
2012-10-06 | libs/web: relax validation for hostnames to allow names like ↵ | Jo-Philipp Wich | |
_kerberos._udp.EXAMPLE.COM | |||
2012-09-15 | libs/web: transparently handle userdata in write_json() | Jo-Philipp Wich | |
2012-09-15 | libs/core: explicitely load luci.i18n in network model | Jo-Philipp Wich | |
2012-09-15 | libs/core: adapt luci.model.network for wifi-iface instances which are ↵ | Jo-Philipp Wich | |
members of multiple networks | |||
2012-09-13 | libs/core: remove route enabled check in network model after netifd update ↵ | Jo-Philipp Wich | |
in OpenWrt trunk | |||
2012-08-29 | libs/web: merge luci.http.protocol fix from Fonosfera | Jo-Philipp Wich | |
See http://trac.fonosfera.org/fon-ng/changeset/2102/trunk/luci/libs/http . | |||
2012-08-29 | [PATCH] nixio HAS_SHADOW test link error | Jo-Philipp Wich | |
The nixio library can mistakenly build without shadow password support due to the compile-time test failing. Because the test for HAS_SHADOW in the nixio Makefile uses the default CC flags, the test may attempt to cross-compile with different VFP abi than libc does and will therefore not link. Passing CCFLAGS on the command line builds the test correctly and will enable HAS_SHADOW if available. | |||
2012-08-27 | libs/nixio: add missing parameter to alarm reset | Jo-Philipp Wich | |
2012-08-27 | libs/nixio: cancel pending alarm after successfully returning from getnameinfo() | Jo-Philipp Wich | |
2012-08-27 | libs/sys: use 100ms timeouts for name resolution of host hints | Jo-Philipp Wich | |
2012-08-27 | libs/nixio: implement optional timeout for getnameinfo() on Linux | Jo-Philipp Wich | |
2012-08-17 | libs/core: also add gre0 to default interface ignore pattern | Jo-Philipp Wich | |
2012-08-14 | libs/web: export translatef() into templates | Jo-Philipp Wich | |
2012-08-14 | libs/sys: fix getiwinfo() for "radioX.networkY" notation if the target ↵ | Jo-Philipp Wich | |
network is not yet committed to uci | |||
2012-08-09 | libs/web: rework unspecified/create logic for checkboxes in network_netlist ↵ | Jo-Philipp Wich | |
widget | |||
2012-08-09 | libs/web: support placeholder attribute for comboboxes, fix validation ↵ | Jo-Philipp Wich | |
quirks with input->select transition in comboboxes | |||
2012-08-09 | libs/sys: remove _parse_delimitted_table() and incorperate /etc/config/dhcp ↵ | Jo-Philipp Wich | |
leases into mac_hints() | |||
2012-08-08 | libs/sys: remove wifi.channels() | Jo-Philipp Wich | |
2012-08-08 | libs/sys: remove wifi.getiwconfig() and wifi.getiwscan() | Jo-Philipp Wich | |
2012-08-08 | libs/sys: introduce net.mac_hints(), net.ipv4_hints() and net.ipv6_hints() ↵ | Jo-Philipp Wich | |
functions to obtain lists of peers from various sources (e.g. ethers, leases, arp cache) | |||
2012-08-08 | libs/web: add missing css class to cbi simpleform template | Jo-Philipp Wich | |
2012-08-08 | libs/web: adapt dispatcher to sauth api changes | Jo-Philipp Wich | |
2012-08-08 | libs/web: rework luci.sauth | Jo-Philipp Wich | |
- perform decoding/encoding transparently in read() and write() - remove decode() and encode() helpers - introduce reap() to kill expired sessions | |||
2012-08-07 | Rework authentication system | Jo-Philipp Wich | |
The validity of authentication tokens was determined by the mtime of respective authentication tokens on filesystem stored in $sessionpath. Talking about hardware without RTC or without a prior connection to a time server, date/time usually around 1970 - so is the mtime of the authentication token file in $sessionpath. When now configuring an internet connection via LuCI, the system might fetch the current date/time (e.g. via ntp) which invalidates the token, returns "403 Forbidden" and kicks the user out of the interface. This patch changes the authentication system to use time values based on the uptime of the machine - rather than values based upon gettimeofday() and {a|m}time values - and save them inside the token. That way can always determine the difference between login (last interaction respectively) and the current time, in- dependant of the system clock jumping backwards/forwards. Warning: This patch removes the clean() function and respective calls. This means, invalid tokens will NOT be determined and removed from filesystem automatically anymore. Before, every HTTP-call caused a scan for invalid tokens, which is quite expensive. Instead consider using a cron job deleting all stalled files periodically. Contributed by T-Labs, Deutsche Telekom Innovation Laboratories Signed-off-by: Mirko Vogt <mirko@openwrt.org> | |||
2012-07-24 | libs/web: support creating networks in checkbox network widget (#457) | Jo-Philipp Wich | |
2012-07-18 | libs/sys: workaround broken entries in /proc/net/ipv6_route, observed on ↵ | Jo-Philipp Wich | |
brcm-2.4 | |||
2012-06-29 | libs/core: only consider enabled routes when finding wan interface | Jo-Philipp Wich | |
2012-06-27 | libs/sys: fix login with empty password after previous commit | Jo-Philipp Wich | |
2012-06-27 | libs/sys: fix luci.sys.checkpasswd() semantics | Jo-Philipp Wich | |