summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2015-09-17luci-theme-material: fix no password set, Luci displays information is ↵Lutty Yang
illegible. Fixed the visibility of "no password set" warning. Signed-off-by: Lutty Yang<lutty@wcan.in>
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-17Merge pull request #478 from LuttyYang/masterHannu Nyman
Merge new theme 'material' / luci-theme-material Material is a clean HTML5 theme for LuCI. It is based on luci-theme-bootstrap and MUI.
2015-09-17Material is a clean HTML5 theme for LuCI. It is based on ↵Lutty Yang
luci-theme-bootstrap and MUI Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-17luci-app-firewall: use maxlength datatype instead of validate functionHannu Nyman
Switch the zonename validation to use a compound datatype "and(uciname,maxlength(14))" instead of a separate 'validate' function. Remove the unnecessary function that was introduced by 34e875b Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-16documentation: delete obsoleted file that has a troublesome nameHannu Nyman
Remove SubmitPatchesHowTo:.md that contains obsolete advise about svn and submitting patches via trac. The filename also contains ":", which causes trouble for some git clients (e.g. TortoiseGit). Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-16fix path errorLutty Yang
2015-09-16fix path errorLutty Yang
2015-09-16init Material Design themeLutty Yang
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-15Merge pull request #475 from hnyman/opkg-feed-configHannu Nyman
luci-mod-admin-full: restore opkg feed config capability
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-12Merge pull request #471 from freifunk-berlin/remove_bnoManuel Munz
community-profiles: remove bno profile
2015-09-12community-profiles: remove bno profilePhilipp Borgers
The Berlin Nord-Ost community profile is not up-to-date and as far as I know the community does not exist anymore.
2015-09-12modules/luci-mod-rpc: fix attempt to index global 'luci' (a nil value)Sabbir Ahmed
2015-09-02statistics: fix typoHannu Nyman
sed -i "s/collected date/collected data/" Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-02contrib: remove obsolete luasrcdiet packaging, its built as part of ↵Jo-Philipp Wich
luci-base now Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-02contrib: remove obsolete uhttpd packagingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-02contrib: remove obsolete host uci configurationsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-02Remove obsolete toplevel MakefileJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-02build/makedocs.sh: handle relative output directoriesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-02Merge pull request #463 from hnyman/max-len-versionHannu Nyman
Luci opkg/packages: Limit version string display to 26 chars
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-01luci-lib-ip: fix documentation issueJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-01Regenerate api documentationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-01Move doc/ to documentation/api/Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
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-09-01Add generated documentation to repositoryJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-01Merge pull request #460 from jplitza/masterJo-Philipp Wich
luci-lib-jsonc: Fix memory leak in stringify()
2015-09-01Merge pull request #416 from fabio70mi/patch-1Hannu Nyman
Update base.po
2015-08-31luci-lib-jsonc: Fix memory leak in stringify()Jan-Philipp Litza
2015-08-31Merge pull request #393 from nmav/no-group-matchHannu Nyman
luci-app-ocserv: list users with no group
2015-08-30Merge pull request #457 from jplitza/masterJo-Philipp Wich
luci-lib-jsonc: fix handling of strange keys, allow encoding []
2015-08-30luci-lib-jsonc: allow encoding empty listsJan-Philipp Litza
To be consistent with the behavior of luci-lib-json, an empty Lua table should be encoded to an empty JSON list, not an empty JSON object. To still allow encoding empty JSON objects, the usage of anything other than a number or a string as a key (for example an empty table or a function) can be used to force encoding as an object: json.stringify({}) -- "[]" json.stringify({[{}] = true}) -- "{}" Signed-off-by: Jan-Philipp Litza <janphilipp@litza.de>
2015-08-30luci-lib-jsonc: Ignore non-string-or-number keys in tablesJan-Philipp Litza
Previously, the following caused a segmentation fault: json.stringify({[{}] = true}) This was caused by lua_tostring() returning NULL for anything but strings and numbers, letting json_object_object_add crash. This patch makes jsonc ignore all keys which have no string representation altogether. Signed-off-by: Jan-Philipp Litza <janphilipp@litza.de>
2015-08-30statistics: remove references to Lucid from scriptsHannu Nyman
Both init.d and uci-defaults scripts included in luci-app-statistics still contained stuff related to lucid, which package was removed by https://github.com/openwrt/luci/commit/91b97bc9f625d09431dc1c753209a037d7c42fbc Changes to scripts: * init.d: lucid reference removed, /var/etc creation moved earlier (before first possible use) * uci-defaults: lucid parameters & restart removed (but busybox httpd stuff was left intact, although it might be unnecessary) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-30Merge pull request #456 from hnyman/stat-confighnyman
statistics: cleanup default configuration
2015-08-29luci-app-multiwan: mark broken as it depends on multiwan from oldpackagesHannu Nyman
Mark luci-app-multiwan @BROKEN, as it depends on the old 'multiwan' package, located in the deprecated 'oldpackages' feed. 'packages' feed contains both 'mwan3' and 'luci-app-mwan3' apps that have superseded the old packages. This should fix #395. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-29statistics: adjust default settings to match default pluginsHannu Nyman
Adjust default settings to match the plugins installed by default (default plugins: iwinfo, interface, load) * disable plugins not installed by default to avoid error messages at start * remove references to Freifunk interfaces, as most users do not have those Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-29statistics: cleanup config fileHannu Nyman
No functional changes, but the file is reorganised: * group settings: general settings / output plugins / input plugins * sort settings inside a group * remove quotes from option names to match the current uci behaviour * whitespace corrections Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-28statistics: clarify CPU/processor graph by removing "idle" from itHannu Nyman
Clarify the CPU time consumption graph by removing the "idle" data from it. Especially with light traffic, removing "idle" enables the graph to scale better and to properly show the CPU load variations. If "idle" data needs to be seen, it might be added as a second graph below. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-28statistics: clarify stats introductionHannu Nyman
* Clarify the short explanation on the statistics section's front page. * Mention the possibility of additional collectd plugins to get more stats. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-28Remove ancient INSTALL file and update README.meHannu Nyman
Remove the outdated INSTALL file from Kamikaze period, as README.md contains the updated information. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-28Merge pull request #454 from hnyman/fix-entropyJo-Philipp Wich
statistics: entropy plugin - fix placement of entropy.lua
2015-08-28statistics: entropy plugin - fix placement of entropy.luaHannu Nyman
Move the file entropy.lua to the correct directory. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-08-28Merge pull request #451 from hnyman/fw-zone-lenChristian Schoenebeck
luci-app-firewall: validate zone name to enforce fw3 max. length
2015-08-28Merge pull request #452 from hnyman/entropyChristian Schoenebeck
statistics: Add support for entropy stats