summaryrefslogtreecommitdiffhomepage
path: root/modules
AgeCommit message (Collapse)Author
2019-02-21luci-base: Update Spanish translationFranco Castillo
Update Spanish translation Signed-off-by: Franco Castillo <castillofrancodamian@gmail.com>
2019-02-13treewide: move freifunk-related packages to separate repoSven Roederer
Even Freifunk was one of the major factory to create the LuCI-system, it's now only a very small part of LuCI. LuCI has become a much bigger thing and it seems that it's time to move the packages only relating to Freifunk into it's own feed. On the mailinglist it was discussed [1] and a repo below the general Freifunk team on github was created. This commit removes all packages that will be hosted in the new repo [2] 1 - http://lists.freifunk.net/pipermail/wlannews-freifunk.net/2019-February/004818.html 2 - https://github.com/freifunk/openwrt-packages Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
2019-02-12treewide: avoid double-escaping CBI section labelsJo-Philipp Wich
Since the section labels are already HTML-escaped implicitely by the striptags() function, we must not escape them again in attr() or ifattr(). Fixes: #2524 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-02-12luci-base: dispatcher: support raw values in attr() and ifattr()Jo-Philipp Wich
Extend the attr() and ifattr() template functions to take an optional further parameter indicating that the passed value should not be escaped. This is needed for cases where the input already is escaped through other means, e.g. when the value was previously filtered through the striptags() template helper. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-02-12luci-mod-status: iptables.js: fix parsing IP addresses in rulesJo-Philipp Wich
Rework the regexp pattern to allow both IP addresses without mask and IPv6 addresses with netmask instead of CIDR notation. Fixes: #2495, #2530 Fixes: f6bfac211 ("luci-mod-status: rework iptables status page") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-02-11luci-base: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2019-02-07luci-base: update Ukrainian translationYurii
Signed-off-by: Yurii yuripet@gmail.com
2019-02-04luci-base: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-02-04i18n: sync translationsINAGAKI Hiroshi
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-01-30luci-mod-rpc: drop "secret" value from rpc session objectsJo-Philipp Wich
Drop the "secret" value from RPC session objects in order to make them compatible with ordinary web sessions used by the LuCI web interface. That secret value was never used for anything and is the only difference compared to normal LuCI login sessions. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-01-30Merge pull request #2466 from HenryGiraldo/masterJo-Philipp Wich
luci-mod-network: Add mesh_rssi_threshold and encryption
2019-01-30Merge pull request #2421 from SibrenVasse/ssid_formatJo-Philipp Wich
SSID escaping
2019-01-26luci-base: update Ukrainian translationYurii
Signed-off-by: Yurii yuripet@gmail.com
2019-01-25luci-base: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2019-01-24i18n: sync translationsHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-01-24treewide: cleanup LEDE referencesHannu Nyman
Remove old LEDE references. Also remove one obviously wrong translation from pt-br Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-01-21Merge pull request #2442 from TDT-AG/pr/20190109-luci-mod-system-pollintervalJo-Philipp Wich
luci-mod-system: add pollinterval option
2019-01-17luci-mod-network: Add mesh_rssi_threshold and encryptionEnrique Giraldo
* make mesh_rssi_threshold configurable * add SAE encryption support Signed-off-by: Enrique Giraldo <enrique.giraldo@galgus.net>
2019-01-15luci-base: update Russian translationAnton Kikin
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-01-11luci-mod-network: fix extraneous escapingSibren Vasse
Signed-off-by: Sibren Vasse <github@sibrenvasse.nl>
2019-01-11Merge pull request #2450 from pmelange/fix/luci-mod-freifunk_basicsJo-Philipp Wich
luci-mod-freifunk: fix the list of community profiles
2019-01-11luci-mod-freifunk: fix the list of community profilespmelange
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2019-01-11luci-mod-freifunk: replace calls to get_all() with separate get() callspmelange
The get_all() function has changed and how it was used before no longer works properly. These changes not only change to individual get() calls, but actually adds to the readability of the code and reduces file size. Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
2019-01-11Merge pull request #2425 from cshoredaniel/pr-fix-ipaddrport-jsJo-Philipp Wich
luci-base: Fix addr:port validate always fails
2019-01-10luci-base: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2019-01-09luci-mod-system: add pollinterval optionFlorian Eckert
Make pollinterval configurable. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-01-05luci-base: update Polish translationKrystian Kozak
Polish translation has been updated. Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
2019-01-05luci-base: Fix addr:port validate always failsDaniel F. Dickinson
In cbi.js there is an error which causes ipaddrport validation to always fail. JS match() return the entire match as ret[0] and individual matches (for multiple ()) as the subsequent list members. So we fix it by just fixing the index in the calls that want the individual parts. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2019-01-04Merge pull request #2409 from yousong/install-packagesJo-Philipp Wich
treewide: fix redirecting to System->Software
2019-01-02timezone data: update to 2018iHannu Nyman
Update timezone data to 2018i http://mm.icann.org/pipermail/tz-announce/2018-December/000053.html http://mm.icann.org/pipermail/tz-announce/2018-December/000054.html 2018h: * Qyzylorda, Kazakhstan moved from +06 to +05 on 2018-12-21. * New zone Asia/Qostanay because Qostanay, Kazakhstan didn't move. * Metlakatla, Alaska observes PST this winter only. * Guess Morocco will continue to adjust clocks around Ramadan. * Add predictions for Iran from 2038 through 2090. 2018i: * São Tomé and Príncipe switches from +01 to +00 on 2019-01-01. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-01-01treewide: fix query arguments to admin/system/opkgYousong Zhou
Right now the handler only recognizes "query=xx" argument, others will be ignored. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-01-01treewide: fix redirecting to System->SoftwareYousong Zhou
By replacing url "admin/system/packages" with "admin/system/opkg" Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-12-29luci-base: update Ukrainian translationYurii
Signed-off-by: Yurii yuripet@gmail.com
2018-12-29luci-base: rework filebrowser initializationJo-Philipp Wich
Do not call cbi_init() from the browser field template but lazily initialize the field, like it is being done for all other widgets as well. Fixes: #2398 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-26luci-base: fix Japanese translationINAGAKI Hiroshi
Fixed Japanese translation. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-12-26luci-base: fix zh-tw translationGyrotron
Fixes #1092 Signed-off-by: Simmar Kalsi simmarkalsi@gmail.com [reword commit message subject] Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-12-20luci-base: use default poll intervalFlorian Eckert
Replace all XHR poll time number with -1 so they will use the default poll interval time value from "/etc/config/luci". If this is not set then 5 seconds as default is used. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-20modules: use configurable poll intervalFlorian Eckert
Make poll interval configurable. Use option from ---- config core 'main' option pollinterval '5' --- This will only be used if the interval option is less or equal zero. If the poll interval is not configured then a default value of 5 seconds is used. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-20luci-base: update Japanese translationINAGAKI Hiroshi
Updated Japanese translations. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-12-20i18n: sync translationsINAGAKI Hiroshi
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2018-12-19Merge pull request #2350 from TDT-AG/pr/20181204-luci-mod-systemJo-Philipp Wich
luci-mod-system: add translation for led trigger names
2018-12-14luci-base: update Simplified Chinese translationZheng Qian
Signed-off-by: Zheng Qian <sotux82@gmail.com>
2018-12-13luci-base: fix table compare upon writing ipaddr changesJo-Philipp Wich
Fixes: b33192a03 ("luci-base: support cidr list notation for option ipaddr and ip6addr") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-13luci-base: properly option ipaddr in single cidr string notation as wellJo-Philipp Wich
When an interface configuration specifies both "option ipaddr 1.2.3.4/24" and "option netmask", then netifd will ignore the netmask in favor to the prefix encoded in the cidr string. Support this variant as well by treating a sole cidr string value as singöe-item cidr list. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-13luci-base: fix typo in german translationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-13luci-base: update german translationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-13luci-base: resync translation templatesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-13luci-base: support cidr list notation for option ipaddr and ip6addrJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-13luci-base: cbi.js: update deps on dynlist changes, honor placeholderJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-12luci-base: fix UCI changelog markup mistakeAnton Kikin
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>