summaryrefslogtreecommitdiffhomepage
path: root/modules
AgeCommit message (Collapse)Author
2015-10-04Merge pull request #488 from hnyman/black-flashHannu Nyman
luci-base: change index.html to be more like current themes
2015-10-03luci-mod-admin-full: status: survive broken DSL status outputJo-Philipp Wich
Only attempt to call "dsl_func" if the dsl_control lucistat output could be successfully evaluated. Works around https://dev.openwrt.org/ticket/20607 Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-29resources/icons: Use ZopfliPNG to save 5.4 KBMangix
Signed-off by: Rosen Penev <rosenp@gmail.com>
2015-09-29luci-base: change index.html to be more like current themesHannu Nyman
Change index.html that is visible for a second when entering Luci: * Black text on white background (instead of white on black) * Specify font as Arial/Helvetica Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-28luci-mod-admin-full: fix dnsmasq no-hosts/addn-hosts optionsOliver Middleton
no-hosts does not disable addn-hosts. Signed-off-by: Oliver Middleton <olliemail27@gmail.com>
2015-09-18luci-base: set default mediaurlbase to bootstrap (current default theme)Hannu Nyman
The mediaurlbase option in the default /etc/config/luci still points to the old openwrt.org theme that is not installed by default. The discrepancy was noted in the commit message for 55ab4e4ce22 After 55ab4e4ce22 the installed theme's uci-defaults script will correct the setting at first boot, but we should not have a deprecated theme as the default value. Set the default value to the default theme 'bootstrap'. Related old discussion at #302 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-18luci-mod-admin-full: opkg config / prevent word-wrapHannu Nyman
Prevent word-wrap on the config input areas. Especially the feed definition lines can be long, and automatic word-wrap can decrease clarity. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-17i18n/polish/base: changing form of the wordCezary Jackiewicz
2015-09-17i18n/polish/base: truncate strings to better fit in viewCezary Jackiewicz
2015-09-17Merge pull request #470 from thesabbir/patch-01Hannu Nyman
merged modules/luci-mod-rpc: fix #466 #427 attempt to index global 'luci' (a nil value)
2015-09-17Merge pull request #473 from ekaitz-zarraga/fix-luci-failsafeHannu Nyman
modules/luci-mod-failsafe: Fix nil file descriptor error
2015-09-16Luci opkg/packages: Show package size in list of available packagesHannu Nyman
Add package *.ipk size information to package listing in Luci, as opkg was today extended to support listing also the size information. Visible fields are now: name, version, size, description That will help users considering installation of a certain package to assess its size impact on flash. Note: Opkg data includes the size of the .ipk file, not the expanded size. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-15luci-mod-admin-full: restore opkg feed config capabilityHannu Nyman
opkg config was recently changed by https://dev.openwrt.org/changeset/46491/ Existing /etc/opkg.conf was split to three: /etc/opkg.conf -> base opkg configuration /etc/opkg/distfeeds.conf -> default Openwrt package feeds /etc/opkg/customfeeds.conf -> custom package feeds Since then, the actual feed definitions have not been visible/configurable, as only /etc/opkg.conf has been visible in Luci. This patch restores the capability to see and edit package feed definitions. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-14modules/luci-mod-failsafe: Fix nil file descriptor errorEkaitz Zárraga
Signed-off-by: Ekaitz Zárraga <ekaitz.zarraga@fon.com>
2015-09-12modules/luci-mod-rpc: fix attempt to index global 'luci' (a nil value)Sabbir Ahmed
2015-09-01Luci opkg/packages: Limit version string display to 26 charsHannu Nyman
Many packages currently include a git commit hash in version string. That makes versions string very long and the version column takes much space when listing available/installed packages in Luci. Longest version string is 58 characters (micropython). 85 packages have at least 50 chars and 150 packages at least 40 chars. Adjust Luci to display max. 26 characters (= luci's own version string). Longer version strings are cut to: "first 21c" + ".." + "last 3c" The last 3 chars are used to preserve the possible PKG_REVISION string. E.g. 'opkg' has only hash+PKG_REVISION, so using only start of the string might not be optimal. Examples: 1.3.10-20150302-f2a889564b3a215902622b040a1247af38cb8203-1 1.3.10-20150302-f2a88..3-1 0.1-20150302-654c7d288603f7dae09eb09b57fb67b38c7ac6c3-1 0.1-20150302-654c7d28..3-1 9c97d5ecd795709c8584e972bfdf3aee3a5b846d-7 9c97d5ecd795709c8584e..d-7 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-01Fix module lines in several luadoc filesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-01luci.utils.contains: update documentation to match realityKarl Palsson
Signed-off-by: Karl Palsson <karlp@remake.is>
2015-08-18http.protocol: Support filehandlers for unhandled encodingsKarl Palsson
The setfilehandler() functions used for mime and url encoded message bodies all operate with a signature of fh(meta, chunk, eof), but for unhandled encodings, the callback was directly assigned to the sink function, which has a signature of snk(chunk). Insert a wrapper to properly generate the EOF flag, and include a stub "meta" block providing a virtual "name" and also the original client provided Content-Type header, to possibly help with taking alternative actions in the file handler. The sink function created for raw content decoding also used the wrong signature for the sink function. Signed-off-by: Karl Palsson <karlp@remake.is>
2015-08-17Timezone information: update to 2015fHannu Nyman
Changes in 2015e and 2015f: http://mm.icann.org/pipermail/tz-announce/2015-June/000032.html http://mm.icann.org/pipermail/tz-announce/2015-August/000033.html Morocco will suspend DST from 2015-06-14 03:00 through 2015-07-19 02:00, not 06-13 and 07-18 as we had guessed. Assume Cayman Islands will observe DST starting next year, using US rules. Although it isn't guaranteed, it is the most likely. North Korea switches to +0830 on 2015-08-15. The abbreviation remains "KST". Uruguay no longer observes DST. Moldova starts and ends DST at 00:00 UTC, not at 01:00 UTC. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-04ipkg.lua: compare_versions() Replace Lua Math Library callChristian Schoenebeck
function compare_versions(): replace Lua Math Library call with if clause Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-08-02cbi.lua: Fix Flag.parse() to set "self.section.changed"Christian Schoenebeck
Add to set "self.section.changed" on changes like other values do. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-07-27ipkg.lua: new function compare_versionChristian Schoenebeck
* minor fix function _list() set to local * new function compare_version() lua version of opkg compare-version Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-07-27Fix: A disabled wireless network may be shown as enabled, when multiple ↵Georgi Valkov
networks are defined on the same radio.
2015-07-27Fix: Status for disabled wireless networks may display the SSID, BSSID and ↵Georgi Valkov
Mode of an active network on the same radio.
2015-07-27When editing an AP wireless network in LuCI, if one or more STA networks are ↵Georgi Valkov
also present on the same radio, then the channel is locked and cannot be changed for the AP. The case when all STA networks are disabled is not considered. This patch fixes the issue. Disabled networks no longer apply a lock on the channel.
2015-07-27Workaround: saved administration site user and pass may appear on the ↵Georgi Valkov
Wireless configuration page, replacing the WPA key.
2015-07-15luci-mod-rpc: move luci config require into the authentication function (#427)Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-07-15luci-mod-rpc: add missing luci config requireJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-07-14Add luci support for dnsmasq option '--servers-file'Lars Kruse
Signed-off-by: Lars Kruse <lists@sumpfralle.de>
2015-07-03luci-mod-admin-full: restart the firewall instead of reloading itJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-28fix ifname in wifi overview (freifunk public status).Manuel Munz
2015-06-28Fix routes on freifunk public status pageManuel Munz
2015-06-17Update base.pofabio70mi
Corrected "Aggironamento Automatico" to "Aggiornamento Automatico"
2015-06-10Merge pull request #389 from hnyman/timezone2015dJo-Philipp Wich
Timezone information is updated to 2015d, released on 24 Apr 2015.
2015-05-30modules/freifunk: fix basics cbi modelManuel Munz
2015-05-26luci-base: prevent parsing the form input after cbi emergency saveJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-05-26luci-base: fallback to a simple text editor if uci config cannot be loadedJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-05-26luci-base: rename .gitignore to .placeholderJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-05-23Timezone information is updated to 2015d, released on 24 Apr 2015.Hannu Nyman
I used build/zoneinfo2lua.pl to pull data from my Ubuntu 15.04. Changes in 2015d are rather small: http://mm.icann.org/pipermail/tz-announce/2015-April/000031.html Changes affecting future time stamps Egypt will not observe DST in 2015 and will consider canceling it permanently. For now, assume no DST indefinitely. Change affecting time zone abbreviations The abbreviations for Hawaii-Aleutian standard and daylight times have been changed from HAST/HADT to HST/HDT, as per US Government Printing Office style. This affects only America/Adak since 1983, as America/Honolulu was already using the new style. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-05-18luci-base: Add cache control in index.html nightcoffee
Signed-off-by: Night Coffee <ydkf@qq.com>
2015-04-27Merge pull request #358 from freifunk-leipzig/masterJo-Philipp Wich
luci-mod-admin-full: change adress to an ipv6-enabled host
2015-04-27Merge pull request #370 from 981213/pull_requestJo-Philipp Wich
Fix some Simplified Chinese translations in luci.
2015-04-25luci-mod-admin-full: mount points SWAP fixAndrija Vucinic
SWAP section was showing an error. Fixed it to display the devices/size properly.
2015-04-24luci-base:Add some Simplified Chinese translation for luci-base郭传鈜
2015-04-21fix wrong xhtml tags in po filesChristian Schoenebeck
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-04-20Synchronize translationsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-19Timezone data: Update to 2015cHannu Nyman
Timezone information is updated to 2015c, released on 14 Apr 2015. I used build/zoneinfo2lua.pl to pull data from my Ubuntu 14.10. Changes in 2015b and 2015c are rather small: http://mm.icann.org/pipermail/tz-announce/2015-March/000029.html http://mm.icann.org/pipermail/tz-announce/2015-April/000030.html Mongolia will start observing DST again this year, from the last Saturday in March at 02:00 to the last Saturday in September at 00:00. Palestine will start DST on March 28, not March 27. Also, correct the fall 2014 transition from September 26 to October 24. Adjust future predictions accordingly. Egypt's spring-forward transition is at 24:00 on April's last Thursday, not 00:00 on April's last Friday. 2015's transition will therefore be on Thursday, April 30 at 24:00, not Friday, April 24 at 00:00. Similar fixes apply to 2026, 2037, 2043, etc. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-04-17luci-mod-admin-full: handle missing size for block devicesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-15luci-mod-admin-full: switch to a ipv6 enabled hostFreifunkUFO
change hostname to dev.openwrt.org.. that is available via ipv4 AND ipv6