Commit graph

4536 commits

Author SHA1 Message Date
Daniel Dickinson
89f74f77da luci-mod-admin-full: fstab: Add ability to set global options like anonymous mounts
Previously the global configuration options were missing the the LuCI configuration,
however these options are useful, so make them available to the UI.
2015-12-02 02:16:35 -05:00
Daniel Dickinson
031cab418c luci-mod-admin-full: Don't show jail bind mounts
The user is unlikely to care about the plethora of jail bind mounts
when using jails, so don't display them in this app.
2015-12-02 02:16:22 -05:00
Daniel Dickinson
b8c2d340f3 luci-mod-admin-full: fstab: Add ability to unmount non-system mounts
Add an unmount button for non-system mounts which will unmount
the corresponding file system.
2015-12-02 02:16:13 -05:00
Jo-Philipp Wich
c123fa86b0 Merge pull request #534 from yousong/add-luci-proto-pppossh
Add luci proto pppossh
2015-11-26 23:23:15 +01:00
Jo-Philipp Wich
ce04adb383 luci-mod-admin-full: limit SSID to 32 characters (#558)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-26 12:30:53 +01:00
Jo-Philipp Wich
c478101ca4 luci-mod-admin-full: fix script regression after 152ba9ab22
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-21 13:53:43 +01:00
Jo-Philipp Wich
55f458326d luci-base: use board.json to infer switch netdev
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-21 00:31:06 +01:00
Jo-Philipp Wich
fbfa62627f luci-base: switch to luci-lib-jsonc
Add dependency on luci-lib-jsonc and use it to
reimplement luci.util.serialize_json().

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-21 00:29:55 +01:00
Jo-Philipp Wich
9b5046259f luci-mod-admin-full: make mirror port settings depend on mirror enable
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-20 23:44:55 +01:00
Jo-Philipp Wich
f16405df91 luci-mod-admin-full: revert accidential button type change in 20fdac1ac4
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-19 10:02:41 +01:00
Jo-Philipp Wich
20fdac1ac4 luci-mod-admin-full: allow empty mac in interface status
Also adjust for changed IP address format emitted by iface_status call.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-17 17:42:22 +01:00
Jo-Philipp Wich
152ba9ab22 luci-mod-admin-full: use :ipaddrs() and :ip6addrs() helper for iface_status
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-17 17:36:00 +01:00
Jo-Philipp Wich
e626599c26 luci-base: eliminate use of uci state vars in luci.model.network
Also implement :ipaddrs() and :ip6addrs() helper for network instances.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-17 17:35:02 +01:00
Jo-Philipp Wich
9b176c8d7b luci-mod-admin-full: prevent submit with interface delete button (#549)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-16 14:30:13 +01:00
Jo-Philipp Wich
092d2143bd luci-base: fix uci documentation issue (#538)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-11-16 12:37:23 +01:00
Jo-Philipp Wich
2258d3de25 Merge pull request #535 from saik0/redirect-root-if-empty-signed
Redirect to root on empty path (signed off)
2015-11-11 10:14:34 +01:00
Ran Bao
38b7c6cef4 fix a typo error in command script shown to users
Signed-off-by: Ran Bao <worksev@gmail.com>
2015-11-06 12:50:05 +13:00
Hannu Nyman
b1217c88c3 luci-mod-admin-full: limit interface name length to 15 chars
Limit the name of a new interface to 15 characters.
Add a note about the maximum length and the automatic protocol/bridge
prefixes (br-, 6in4-, pppoe- etc.).

Reference to:
https://dev.openwrt.org/ticket/20380
https://github.com/openwrt/luci/issues/507

There is a 15 character limit to the "real" interface name,
enforced both in the firewall and dnsmasq. The real interface name
includes the possible prefix "br-", "6in4-" etc. Example of an error:
  interface name `br-lan_protected' must be shorter than IFNAMSIZ (15)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-11-05 11:00:41 +02:00
Joel Pedraza
5541065793 Redirect to root on empty path
* Prevents an empty Location header
* Useful in environments where build_url() could return an empty string (such as http server rewrites requests to /cgi-bin/luci)

Signed-off-by: Joel Pedraza <github@saik0.net>
2015-11-03 09:53:39 -05:00
Yousong Zhou
a28da6a88a luci-base: add support for DynamicList with FileBrowser
Two new arguments url, defpath were added to cbi_dynlist_init() for
initializing the brower button.

An example of usage

    identity = section:taboption("general", DynamicList, "identity",
	    translate("List of SSH key files for auth"))
    identity.datatype = "file"

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-11-03 17:07:45 +08:00
Yousong Zhou
20ccc90350 luci-base: urlencode: encode all except unreserved characters.
As per http://tools.ietf.org/html/rfc3986#section-2.3

   Characters that are allowed in a URI but do not have a reserved
   purpose are called unreserved.  These include uppercase and lowercase
   letters, decimal digits, hyphen, period, underscore, and tilde.

      unreserved  = ALPHA / DIGIT / "-" / "." / "_" / "~"

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-11-03 17:07:45 +08:00
Christian Schoenebeck
3dbc93bf91 template cbi/value.htm implement documented property maxlength
template cbi/value.htm implement already documented property maxlength

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-11-01 16:36:29 +01:00
Christian Schoenebeck
162548a879 cbi.lua: Implement "readonly" property for "Value"
cbi.lua: Implement "readonly" property for "Value"

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-10-31 23:09:40 +01:00
Christian Schoenebeck
c7d3619b0c template cbi/value.htm: add "readonly" property
template cbi/value.htm: add "readonly" property

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-10-31 22:54:25 +01:00
Christian Schoenebeck
84a57ec36f cbi.lua: Implement Flag.validate function
cbi.lua
- Implement Flag.validate function to be overwritable
- rewritten if clause for easier reading ;-)

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-10-30 18:42:38 +01:00
Hannu Nyman
ff9e34e47c Merge pull request #509 from neheb/master
resources/icons: Use gifsicle to save a few bytes.
2015-10-27 17:30:24 +02:00
Jo-Philipp Wich
927dc1aff9 luci-base: eliminiate use of uci state vars in luci.sys
Rewrite `luci.sys.wifi.getiwinfo()` to use the ubus wireless state instead of
depreacated uci state vars in order to map abstract network notation to
wireless ifnames.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-27 14:13:05 +01:00
Jo-Philipp Wich
6d368a4033 Move libubus-lua dependency to luci-base
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-27 13:09:21 +01:00
Jo-Philipp Wich
6c4341ee01 luci-mod-admin-full: fix invalid markup in packages.htm (#518)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-22 12:20:20 +02:00
Jo-Philipp Wich
94ab57f48c luci-mod-admin-full: restructure and fix backup, restore and sysuprade (#517)
Do not use standard post security checking for actions that require file upload
since reading the token value will trigger parsing of the http message body
before the file upload handler has been set, which causes LuCI to buffer the
entire request body in memory.

In order to simplify the code and logic flow, split action_flashops() into
separate handlers for reset, backup, restore and sysupgrade.

Let the backup restore and sysupgrade handlers use the new test_post_security()
method in luci.dispatcher to perform token checking *after* setting the upload
handler.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-22 08:48:06 +02:00
Jo-Philipp Wich
d32c685039 luci-base: dispatcher expose test_post_security()
Allows external code to perform POST and token checking manually.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-22 08:30:29 +02:00
Jo-Philipp Wich
79383f5a74 luci-base: ensure that base url is emitted with trailing slash
Now that we don't have an url token anymore, '/cgi-bin/luci' becomes a valid
url while cookies are restricted to only '/cgi-bin/luci/' and below.

In order to ensure that the first request after login refers to a path
covered by the authentication cookie, change build_url() to always append
a trailing slash if we're referring to the base url.

This should fix the login problems mentioned in #516.

While we're touching the dispatcher, also remove remaining url token code.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-21 16:48:25 +02:00
Jo-Philipp Wich
b4d62d3fd7 luci-mod-admin-full: do not access dispatcher.context.urltoken in logout
The urltoken table is going to be removed.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-21 16:43:07 +02:00
Jo-Philipp Wich
86326e0def luci-base: remove security token from urls
Now that sensitive urls require post requests and only accept them if a valid
security token is sent along the request, we can drop the global random url
token to improve LuCI usability.

The main improvement is the ability to use multiple tabs with the same login
session, but also deep linking to specific urls without the need for another
login becomes feasible, e.g. for documentation purposes.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-21 00:31:27 +02:00
Jo-Philipp Wich
d4666757b7 luci-mod-admin-full: protect iptables counter reset and restart with token
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-20 22:27:39 +02:00
Jo-Philipp Wich
8bb749ecc3 luci-mod-admin-full: protect network post actions with csrf tokens
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-20 22:17:23 +02:00
Jo-Philipp Wich
6b3f804956 luci-base: filter invalid opkg status lines
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-20 21:04:46 +02:00
Jo-Philipp Wich
b5826f1ffb luci-mod-admin-full: protect clock, flash and opkg ops with submit token
* Use post_on() target to require csrf token verification for modifying actions
* Ensure that package and flash operation handlers guard modifying operations
  with parameter check

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-20 21:04:46 +02:00
Jo-Philipp Wich
562c47e5fd luci-base: generalize post security token handling
* Add a generic helper function to check need for post / csrf token validation
* Remove custom token verification in cbi targets
* Support requiring post security depending on specific submit parameters,
  usable through post_on() action

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-20 21:04:46 +02:00
Hannu Nyman
7b00a4a765 i18n: Sync translations
Sync translations to the current strings.

Changes in luci-app-ddns, luci-app-mjpg-streamer, luci-app-qos,
luci-app-shadowsocks-libev, luci-app-statistics and luci-base

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-10-13 12:35:57 +03:00
Hannu Nyman
c8392ba970 luci-base: update i18n base template
Update i18n base template to match the current strings.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-10-13 12:25:58 +03:00
Hannu Nyman
2cfd11b272 Timezone information: update to 2015g
Changes in 2015g:
http://mm.icann.org/pipermail/tz-announce/2015-October/000034.html

     Norfolk moves from +1130 to +1100 on 2015-10-04 at 02:00 local time.

     Fiji's 2016 fall-back transition is scheduled for January 17, not 24.

     Fort Nelson, British Columbia will not fall back on 2015-11-01. It has
     effectively been on MST (-0700) since it advanced its clocks on 2015-03-08.
     New zone America/Fort_Nelson.

Note: the Turkey-related one-time rule change is not apparently catched by
the zoneinfo2lua script, so that change is not included in this commit.
(Turkey's 2015 fall-back transition is scheduled for Nov. 8, not Oct. 25.)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-10-12 11:09:28 +03:00
Mangix
a2ebf87145 resources/icons: Use gifsicle to save a few bytes.
Signed-off by: Rosen Penev <rosenp@gmail.com>
2015-10-09 16:00:57 -07:00
Jo-Philipp Wich
bd504f552d luci-base: prevent UCI changes in CBI if form is not in submit state
Only process submitted data if the "cbi.submit" parameter is present as the
dispatcher will verify the integrity of the CSRF token in this case.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-08 00:30:14 +02:00
Jo-Philipp Wich
281d2f6178 Globally replace luci.dispatcher.build_url(...) with url(...) invocations
Also concat multiple string arguments into one while we're at it.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-07 19:07:36 +02:00
Jo-Philipp Wich
49a2cb5ad1 luci-base: expose luci.dispatcher.build_url() as url() in templates
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-07 13:03:42 +02:00
Jo-Philipp Wich
3f29078fb9 luci-base: protect simpleforms with CSRF tokens
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-07 12:24:58 +02:00
Jo-Philipp Wich
38a9993bd1 luci-mod-admin-full: switch to POST action for reboot
Also rework the reboot tmeplate a little bit.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-07 01:54:56 +02:00
Jo-Philipp Wich
ada4a0ea98 luci-base: switch to POST action for service reload
Switches the service reload calls to CSRF token protected POST action.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06 22:37:27 +02:00
Jo-Philipp Wich
e440144d56 luci-mod-admin-full: switch to POST actions for UCI changes
Switches UCI apply/revert/save to CSRF token protected POST actions.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06 22:29:07 +02:00
Jo-Philipp Wich
8d46c20327 luci-base: protect CBI forms with CSRF tokens
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06 18:54:35 +02:00
Jo-Philipp Wich
5a6382171d luci-base: add support for POST-only actions with CSRF token check
Add the dispatcher infrastructure to restrict certain routes to POST
requests only in conjunction with verification of CSRF tokens.

This is the first step to get rid of the CSRF token in the url in favor
to tokens embedded in forms.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06 15:56:35 +02:00
Jo-Philipp Wich
5e9da8240f Globally convert headline anchors into name attributes.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06 13:30:33 +02:00
Hannu Nyman
56deb7b2cf Merge pull request #488 from hnyman/black-flash
luci-base: change index.html to be more like current themes
2015-10-04 18:57:59 +03:00
Jo-Philipp Wich
03a90f161a luci-mod-admin-full: status: survive broken DSL status output
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-10-03 16:11:14 +02:00
Mangix
2cbe5d2af3 resources/icons: Use ZopfliPNG to save 5.4 KB
Signed-off by: Rosen Penev <rosenp@gmail.com>
2015-09-29 10:41:43 -07:00
Hannu Nyman
b6fe9a70e6 luci-base: change index.html to be more like current themes
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-29 11:44:53 +03:00
Oliver Middleton
0857aaa28b luci-mod-admin-full: fix dnsmasq no-hosts/addn-hosts options
no-hosts does not disable addn-hosts.

Signed-off-by: Oliver Middleton <olliemail27@gmail.com>
2015-09-28 01:12:15 +01:00
Hannu Nyman
1209ab6ba6 luci-base: set default mediaurlbase to bootstrap (current default theme)
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 55ab4e4ce2

After 55ab4e4ce2 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-18 16:00:06 +03:00
Hannu Nyman
c91a5eb2c4 luci-mod-admin-full: opkg config / prevent word-wrap
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-18 10:24:58 +03:00
Cezary Jackiewicz
b699b559e6 i18n/polish/base: changing form of the word 2015-09-17 18:23:26 +02:00
Cezary Jackiewicz
4e2f87ef03 i18n/polish/base: truncate strings to better fit in view 2015-09-17 18:20:25 +02:00
Hannu Nyman
7ead90bb26 Merge pull request #470 from thesabbir/patch-01
merged 
modules/luci-mod-rpc: fix #466 #427 attempt to index global 'luci' (a nil value)
2015-09-17 11:47:54 +03:00
Hannu Nyman
892dd7383a Merge pull request #473 from ekaitz-zarraga/fix-luci-failsafe
modules/luci-mod-failsafe: Fix nil file descriptor error
2015-09-17 11:43:05 +03:00
Hannu Nyman
3288fe76ab Luci opkg/packages: Show package size in list of available packages
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-16 12:47:48 +03:00
Hannu Nyman
a42c0bb618 luci-mod-admin-full: restore opkg feed config capability
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-15 13:01:03 +03:00
Ekaitz Zárraga
a16654b121 modules/luci-mod-failsafe: Fix nil file descriptor error
Signed-off-by: Ekaitz Zárraga <ekaitz.zarraga@fon.com>
2015-09-14 14:05:02 +02:00
Sabbir Ahmed
fff7c6c518 modules/luci-mod-rpc: fix attempt to index global 'luci' (a nil value) 2015-09-12 15:11:18 +06:00
Karl Palsson
03786ed853 uci:get_list: always return a table, no matter what.
Previously, get_list("fake", "non-existent", "notreal") would still
return a table, just empty.  This is nice, as you can always iterate the
returned table, without having to check it first.

However, if you happened to pass a nil for any of the parameters, you
would actually get a nil in return.  This was inconsistent.

The documentation is updated to clarify the behaviour of this function.

Signed-off-by: Karl Palsson <karlp@remake.is>
2015-09-02 15:28:02 +00:00
Karl Palsson
879d9ff2b8 uci:set_list: Delete option if the list is empty
Allows lists fetched with get_list to be modified and simply passed back
to set_list. Explicitly calling set_list() with an empty list is clearly
requesting that there be zero list items, ie, deletion of the option
altogether.

Signed-off-by: Karl Palsson <karlp@remake.is>
2015-09-02 15:27:55 +00:00
Hannu Nyman
ca75918ff3 Luci opkg/packages: Limit version string display to 26 chars
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-01 22:45:17 +03:00
Jo-Philipp Wich
ed1a641696 Fix module lines in several luadoc files
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-01 16:43:19 +02:00
Karl Palsson
8084babf18 luci.utils.contains: update documentation to match reality
Signed-off-by: Karl Palsson <karlp@remake.is>
2015-09-01 16:33:41 +02:00
Karl Palsson
2a77918b02 http.protocol: Support filehandlers for unhandled encodings
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-18 17:52:48 +02:00
Hannu Nyman
d63a7cb582 Timezone information: update to 2015f
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-17 22:53:11 +03:00
Christian Schoenebeck
0be846d7ff ipkg.lua: compare_versions() Replace Lua Math Library call
function compare_versions(): replace Lua Math Library call with if clause

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-08-04 21:14:48 +02:00
Christian Schoenebeck
237740b386 cbi.lua: Fix Flag.parse() to set "self.section.changed"
Add to set "self.section.changed" on changes like other values do.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-08-02 07:06:42 +02:00
Christian Schoenebeck
305528b3cc ipkg.lua: new function compare_version
* 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-27 18:08:54 +02:00
Georgi Valkov
ec170d6282 Fix: A disabled wireless network may be shown as enabled, when multiple networks are defined on the same radio. 2015-07-27 11:37:09 +02:00
Georgi Valkov
159b60f449 Fix: Status for disabled wireless networks may display the SSID, BSSID and Mode of an active network on the same radio. 2015-07-27 11:37:09 +02:00
Georgi Valkov
0110494b18 When editing an AP wireless network in LuCI, if one or more STA networks are 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-27 11:37:09 +02:00
Georgi Valkov
48c8cad48a Workaround: saved administration site user and pass may appear on the Wireless configuration page, replacing the WPA key. 2015-07-27 11:37:09 +02:00
Jo-Philipp Wich
3610f3222d luci-mod-rpc: move luci config require into the authentication function (#427)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-07-15 23:28:16 +02:00
Jo-Philipp Wich
16047d03c5 luci-mod-rpc: add missing luci config require
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-07-15 22:30:45 +02:00
Lars Kruse
e7f57e0caf Add luci support for dnsmasq option '--servers-file'
Signed-off-by: Lars Kruse <lists@sumpfralle.de>
2015-07-14 23:32:08 +02:00
Jo-Philipp Wich
74b5c1bbc3 luci-mod-admin-full: restart the firewall instead of reloading it
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-07-03 16:59:51 +02:00
Manuel Munz
30e344c60a fix ifname in wifi overview (freifunk public status). 2015-06-28 15:59:53 +02:00
Manuel Munz
bccc6279fc Fix routes on freifunk public status page 2015-06-28 15:55:37 +02:00
fabio70mi
bae48b6f88 Update base.po
Corrected "Aggironamento Automatico" to "Aggiornamento Automatico"
2015-06-17 16:06:20 +02:00
Jo-Philipp Wich
d2638a7a0e Merge pull request #389 from hnyman/timezone2015d
Timezone information is updated to 2015d, released on 24 Apr 2015.
2015-06-10 10:19:19 +02:00
Manuel Munz
5ef1485133 modules/freifunk: fix basics cbi model 2015-05-30 23:01:24 +02:00
Jo-Philipp Wich
1dada8cc44 luci-base: prevent parsing the form input after cbi emergency save
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-05-26 17:32:11 +02:00
Jo-Philipp Wich
fe14cd5a66 luci-base: fallback to a simple text editor if uci config cannot be loaded
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-05-26 17:12:42 +02:00
Jo-Philipp Wich
03610cee3a luci-base: rename .gitignore to .placeholder
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-05-26 16:27:05 +02:00
Hannu Nyman
c7a6830536 Timezone information is updated to 2015d, released on 24 Apr 2015.
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-23 17:34:13 +03:00
nightcoffee
08a38a0493 luci-base: Add cache control in index.html
Signed-off-by: Night Coffee <ydkf@qq.com>
2015-05-18 20:05:02 +08:00
Jo-Philipp Wich
58a42eaf9b Merge pull request #358 from freifunk-leipzig/master
luci-mod-admin-full: change adress to an ipv6-enabled host
2015-04-27 15:09:17 +02:00
Jo-Philipp Wich
70ffeb36db Merge pull request #370 from 981213/pull_request
Fix some Simplified Chinese translations in luci.
2015-04-27 15:08:21 +02:00
Andrija Vucinic
64b052bbd8 luci-mod-admin-full: mount points SWAP fix
SWAP section was showing an error. Fixed it to display the devices/size properly.
2015-04-25 23:35:33 +02:00
郭传鈜
c39edc189f luci-base:Add some Simplified Chinese translation for luci-base 2015-04-24 13:34:28 +08:00
Christian Schoenebeck
2fdd19524d fix wrong xhtml tags in po files
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-04-21 21:26:00 +02:00
Jo-Philipp Wich
6a13d73c29 Synchronize translations
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-20 10:35:08 +02:00
Hannu Nyman
4d18e09e05 Timezone data: Update to 2015c
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-19 10:48:03 +03:00
Jo-Philipp Wich
ec09e995a8 luci-mod-admin-full: handle missing size for block devices
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-17 12:39:11 +02:00
FreifunkUFO
c34eb6349f luci-mod-admin-full: switch to a ipv6 enabled host
change hostname to dev.openwrt.org.. that is available via ipv4 AND ipv6
2015-04-15 03:27:35 +02:00
Jo-Philipp Wich
622cfc673a luci-mod-admin-full: simply fstab configuration
Simplify fstab setup by offering hints for uuid/label and device node options.
Fix rootfs handling logic by removing obsolete references to the "is_rootfs"
option and offering "/" and "/overlay" choices for the mountpoint instead.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-04-12 20:20:01 +02:00
Jo-Philipp Wich
6160a53ab9 luci-base: fix backslash escaping in luci.util.serialize_json()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-03-18 12:43:29 +01:00
Jo-Philipp Wich
4ab6dcea9b Merge pull request #336 from legendtang/fix
luci-base: fix wrong pattern of urlencode() (encode '+' properly) #182
2015-03-10 18:56:41 +01:00
江海客
7b04bc7473 /etc/config/dhcp
config dhcp null
2015-03-02 15:14:24 +08:00
Legend Tang
d79f5da13f luci-base: fix wrong pattern of urlencode() (encode '+' properly) #182 2015-03-01 03:03:08 +08:00
Christian Schoenebeck
51a047426d wifi.lua: add "Back to Overview" button
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-02-14 11:27:57 +01:00
Jo-Philipp Wich
ec1a86977b Avoid setting duplicate cookies
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-02-09 16:30:11 +01:00
Jo-Philipp Wich
ec90cd69ed luci-base: pass session timeout as integer
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-02-09 13:03:44 +01:00
Jo-Philipp Wich
240458ea8a luci-mod-freifunk: fix public status page
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-02-09 12:15:06 +01:00
Jo-Philipp Wich
993cf12229 luci-base: establish ubus connection before dropping privileges (#310)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-02-09 12:14:20 +01:00
Christian Schoenebeck
9132d83461 admin_network: interface details, implement back to overview
Implements "Back to Overview" on interface details page

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-02-08 19:17:44 +01:00
Hannu Nyman
fd1042f5ee Timezone data: Update to 2015a
Timezone information is updated to 2015a, released on 30 Jan 15.

I used build/zoneinfo2lua.pl to pull data from my Ubuntu 14.10.

Changes are rather small:
http://mm.icann.org/pipermail/tz-announce/2015-January/000028.html

The Mexican state of Quintana Roo, represented by America/Cancun,
will shift from Central Time with DST to Eastern Time without DST.

Chile will not change clocks in April or thereafter; its new
standard time will be its old daylight saving time.
This affects America/Santiago, Pacific/Easter, and Antarctica/Palmer.

Ps. I manually edited headers to have the shorter new copyright,
instead of the long one generated buy the script.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-02-04 18:50:36 +02:00
Jo-Philipp Wich
84346cd178 Move inline documentation into separate files.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-29 16:26:46 +01:00
Jo-Philipp Wich
83d520ab07 luci-base: improve login/logout handling
Redirect to the canonical url after login and redirect to an url without
security token if the session expired. Also make sure that the login page
is served with status code 403, not 200 to give ajax calls a chance to
detect expired sessions.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-26 17:31:21 +01:00
Jo-Philipp Wich
9feb1b8a78 luci-mod-admin-full: use sysupgrade -T to test images
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-24 14:26:51 +01:00
Jo-Philipp Wich
40066a6799 luci-base: optimize luci.tools.webadmin.iface_get_network()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-23 15:26:33 +01:00
Jo-Philipp Wich
6c16f97c4c luci-base: remove unused functions from luci.sys.net
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 23:55:11 +01:00
Jo-Philipp Wich
b24dfd52ac luci-mod-admin-mini: convert luci.sys.net.arptable() to luci.ip.neighbors()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 18:50:00 +01:00
Jo-Philipp Wich
213595ce85 luci-mod-admin-full: convert luci.sys.net.arptable() to luci.ip.neighbors()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 18:45:28 +01:00
Jo-Philipp Wich
577b772824 luci-base: rewrite luci.tools.webadmin and remove unused functions
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 18:25:49 +01:00
Jo-Philipp Wich
7dc9f86749 luci-mod-freifunk: switch to luci.ip route functions
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 16:44:01 +01:00
Jo-Philipp Wich
5b94c1cca2 luci-mod-admin-full: switch to luci.ip route functions
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 15:53:16 +01:00
Jo-Philipp Wich
0e90bf98df luci-base: depend on luci-lib-ip and remove ip.lua
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 15:08:09 +01:00
Jo-Philipp Wich
390c4bd5a7 luci-base: use serialize_json() in luci.http
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 15:01:50 +01:00
Jo-Philipp Wich
61a9a58efc luci-base: add luci.util.serialize_json()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-22 15:01:50 +01:00
Jo-Philipp Wich
41d2b33087 Update my email addresses in the license headers
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 23:49:44 +01:00
Jo-Philipp Wich
7a3493b1f7 Globally reduce copyright headers
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 23:38:38 +01:00
Jo-Philipp Wich
9980114624 luci-base: remove luci.init
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 21:40:49 +01:00
Jo-Philipp Wich
9e1383dd40 luci-mod-admin-full: directly require luci.version and fetch uname with library call
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 21:40:49 +01:00
Jo-Philipp Wich
2ebc394347 luci-base: use local sys module table in luci.dispatcher
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 21:40:49 +01:00
Luiz Angelo Daros de Luca
b34c9ae639 luci-proto-3g: add dialnumber option
UCI network already permit dialnumber option for 3g interfaces.
This adds dialnumber to luci protocol 3g. Also it introduces a
new translation string "Dial number", added to template and updated
on each language (all empty but pt-br).

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2015-01-16 15:37:13 -02:00
Jo-Philipp Wich
458469bb4f luci-mod-admin-full: display routers localtime again
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 17:41:26 +01:00
Jo-Philipp Wich
a35fffe3c3 luci-mod-admin-full: fix missing nixio.fs require
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 16:34:48 +01:00
Jo-Philipp Wich
7aa838988f luci-base: remove old fastindex support code, use cached module tables
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 16:32:03 +01:00
Jo-Philipp Wich
e2ec170445 luci-base: remove unconditional "bit" preloading
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 16:02:54 +01:00
Jo-Philipp Wich
6ff7bae36a luci-mod-admin-full: remove useless "bit" requires
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 16:02:25 +01:00
Jo-Philipp Wich
e91b603acc luci-base: drop luci.fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 15:40:33 +01:00
Jo-Philipp Wich
6cc1ae506c luci-mod-failsafe: switch to nixio.fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 15:40:05 +01:00
Jo-Philipp Wich
b7f80a98d8 luci-mod-admin-full: switch to nixio.fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 15:37:46 +01:00
Jo-Philipp Wich
9780ee382e luci-mod-freifunk: switch to nixio.fs
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 15:11:57 +01:00
Jo-Philipp Wich
76eb057b2c luci-mod-base: drop luci.sys.sysinfo() and luci.sys.loadavg()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 14:26:36 +01:00
Jo-Philipp Wich
64d0031233 luci-mod-freifunk: eliminate uses of luci.sys.sysinfo()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 14:11:35 +01:00
Jo-Philipp Wich
a1f67784c9 luci-mod-admin-mini: remove uses of luci.sys.sysinfo()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 13:44:38 +01:00
Jo-Philipp Wich
46beca9fb1 luci-mod-admin-full: eliminate the use of luci.sys.sysinfo()
Fetch the required information via ubus instead of relying on the
to-be-removed luci.sys.sysinfo() and luci.sys.loadavg() functions.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 13:35:10 +01:00
Jo-Philipp Wich
c159d28091 luci-base: switch luci.model.network to common ubus api
Replaces the ubus calls in luci.model.network with the common api
from luci.util.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 11:10:02 +01:00
Jo-Philipp Wich
199c8cbc4c luci-base: switch to ubus sessions
Remove luci.sauth session storage implementation and offload the session
management to the rpcd ubus backend. Also depend on rpcd due to this.
2015-01-15 11:09:05 +01:00
Jo-Philipp Wich
eb8560061a luci-base: add luci.util.ubus()
Add luci.util.ubus() convenience wrapper which establishes a connection on
the first call.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 11:03:31 +01:00
Jo-Philipp Wich
e55b23c6ac luci-mod-admin-full: fix luci-bwc compilation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-11 16:22:20 +01:00
Christian Schoenebeck
42757cb549 Modified dependencies
Module luci-base
- libubus-lua not needed

Module luci-mod-admin
- libubus-lua needed

Collection luci
- luci-lib-nixio not needed, already in luci-base

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-01-10 22:33:43 +01:00
Jo-Philipp Wich
9a81d8ff32 luci-base: handle missing translations in template engine
Previously the template engine did not interpolate translation macros if no
translation catalogue could be loaded due to a missing i18n directory.

Change the offending code to return the original string in any error case.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-10 21:19:54 +01:00
Jo-Philipp Wich
1380c7b07d luci-base: add depends on libubus-lua and luci-lib-nixio as well
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-10 19:58:06 +01:00
Jo-Philipp Wich
26aefe4f69 luci-base: depend on libuci-lua
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-10 19:54:05 +01:00
Jo-Philipp Wich
c97011fd97 luci-base: fix dependency on lua (#284)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-10 13:42:42 +01:00
Jo-Philipp Wich
3afecbd8ab luci-base: depend on Lua (#283)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-09 16:35:23 +01:00
Jo-Philipp Wich
db653649ff luci-mod-admin-full: fix build dep spec in previous commit (#281)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 22:24:25 +01:00
Jo-Philipp Wich
80c06a773d luci-mod-admin-full: add build dependency on libiwinfo
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 22:17:36 +01:00
Jo-Philipp Wich
4cb3aed0ca Remove obsolete .mk files
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:49:42 +01:00
Jo-Philipp Wich
fa84ca05d5 luci-base: luci.util: rewrite threadlocal code to not confuse minifier
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:26:20 +01:00
Jo-Philipp Wich
1bb4822dca Rework LuCI build system
* Rename subdirectories to their repective OpenWrt package names
 * Make each LuCI module its own standalone package
 * Deploy a shared luci.mk which is used by each module Makefile

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:26:20 +01:00
Karl Palsson
65d42ae75a luci.http.protocol: Allow posts to contain more than a single chunk
The ltn12.pump.step() loop in parse_message_body was incorrectly testing
for EOF, and returning after the first chunk, even if further chunks
were available.  The loop in parse_message_header made the correct
check, and test code making raw ajax json posts now succeeds for posts
>= 2048 bytes.

Signed-off-by: Karl Palsson <karlp@remake.is>
2014-11-21 18:18:51 +00:00
Matthias Schiffer
7bd68db7d7 modules/base: ltn12: source.file() should terminate when an empty chunk is read
The read method of nixio's file and socket objects both return an empty string
when they reach EOF, not nil, causing the consumer to loop endlessly as
source.file() never terminates.

As there is no other situation in which an empty chunk is read, just change it
to nil to terminate the consumer's loop.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2014-11-17 14:35:24 +01:00
Hannu Nyman
36357529a0 Update timezone info to 2014i (from 2011n)
Timezone information embedded in Luci is updated to 2014i.
Afaik, the old data was from version 2011n.

I used build/zoneinfo2lua.pl to pull data from my Ubuntu 14.10 buildhost
that contains 2014i version of the timezone data.

2014j has been released this week, but is not yet embedded in Ubuntu and
Turks&Caicos is the only affected country/zone.
2014i: http://mm.icann.org/pipermail/tz-announce/2014-October/000026.html
2014j: http://mm.icann.org/pipermail/tz-announce/2014-November/000027.html

This update should fix Openwrt bugs #11445 and #18323.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2014-11-14 17:06:30 +02:00
Jo-Philipp Wich
ef444d511d modules/admin-full: make wifi enabling/disabling more reliable
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-11-11 22:33:43 +01:00
Steven Barth
a7b44a1b4b Add odhcpd to ucitrack of dhcp 2014-11-09 19:41:14 +01:00
Jo-Philipp Wich
5916f762f6 modules/admin-full: add CDATA comments to wireless_modefreq.htm script tag
This should fix non-wellformed page errors with XHTML themes.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-31 12:48:24 +01:00
Jo-Philipp Wich
2826426c6a base: trigger page reload with cbi reset button
Many complex widgets do not reset properly with traditional form reset,
therfore simply reload the page.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-26 18:20:22 +01:00
Jo-Philipp Wich
89f270466c modules/admin-full: rework hwmode/htmode/channel selection
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-26 17:46:05 +01:00
Jo-Philipp Wich
ecb0c2f11b modules/base: work around wireless status changes
The latest netifd updates changed the ubus wireless status reporting in a
way that breaks the current LuCI integration. Work around the changed
format by translating the extended UCI section syntax back to the plain one.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-21 23:39:08 +02:00
Jo-Philipp Wich
ff65318ba5 modules/base: attempt to work around Firefox autocomplete bugs
Ref: https://dev.openwrt.org/ticket/18176

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-20 19:45:28 +02:00
Jo-Philipp Wich
52326c28ef Merge pull request #220 from Wedmer/openvpnfix_dtfix_watchcatfix
applications/luci-openvpn: fixes for current openWRT openvpn packages.
2014-10-11 12:07:35 +02:00
Álvaro Fernández Rojas
0c3398c4b6 modules/admin-full: fix support for broadcom-wl modes
This adds N modes support for proprietary Broadcom WiFi driver and adds a/b/g modes detection.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2014-10-10 18:46:15 +02:00
Vladimir Ulrich
c33af582f0 Added device tree model support
Signed-off-by: Vladimir Ulrich <admin@evl.su>
2014-10-10 19:59:35 +04:00
Jo-Philipp Wich
bb388f0873 modules/admin-full: add support for configuring mirror port
This adds the LuCI support for setting a mirror port on AR8327 switches.
Patch provided by Colin Leitner <colin.leitner@gmail.com>

Ref: https://dev.openwrt.org/attachment/ticket/10202

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-10 15:56:42 +02:00
Hannu Nyman
2a0e842d00 wifi.lua: Add support for toggling WPS button.
The patch checks the existence of the needed files for the WPS support and if they are present, shows the option to toggle WPS pushbutton settings.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2014-10-10 15:48:54 +03:00
Stephan Günther
da022f9157 modules/admin-full: fix wifi channel selection on multiple STA networks
Besides several AP networks, I have configured two STA networks on my
openwrt box - both on the same radio and thus on the same channel.
This was done via LuCI.

However after both STA networks were set up, I am unable to edit the
channel on neither network. When editing the one STA network, LuCI
tells me that the channel is locked by the other STA network. Same for
the other STA network.

Looks like a bug to me, so I made a patch.

Signed-off-by: Stephan Günther <steph.guenther@googlemail.com>
2014-10-10 01:04:28 +02:00
Jo-Philipp Wich
d2c1882786 luci: initial 802.11ac support
While working with 802.11ac (ath10k) I've noticed the web interface
configuration missing basic support for 11ac devices - unable to set VHT
(htmode) and 11ac (hwmode).

This patch adds initial support for luci admin-full page and 802.11ac
MAC80211 devices.

v2:
* replace obsolete 11nac mode with 11a + vhtmode (jow in ticket: #17323)

Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>
[jow: fix typo in get_i18n()]
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-04 09:38:10 +00:00
Jo-Philipp Wich
371355c0f6 modules/admin-full: decouple enable/disable button state from assoc state
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-03 17:28:23 +00:00
Jo-Philipp Wich
4fcb6d56bc modules/base: provide disable state in luci.tools.status.wifi_network()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-03 17:28:21 +00:00
Jo-Philipp Wich
cee38c1177 modules/admin-full: fix assoc state check for sta mode in wifi overview
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-10-03 13:34:56 +00:00
Manuel Munz
3d3fdcbd59 modules/freifunk: fix map.html when using https, thanks cholin 2014-09-24 17:40:02 +00:00
Jo-Philipp Wich
a16c0c3200 http: ensure .content() works by default
filehandler was always set, so the default handler was never being
called.  This led to calls to http.content() always returning nil.

Signed-off-by: Karl Palsson <karlp@remake.is>
2014-09-18 09:29:30 +00:00
Jo-Philipp Wich
f16df257b8 modules/admin-full: dynamically order lines in connection live status
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-09-04 11:35:23 +00:00
Jo-Philipp Wich
8fab048554 libs/web: add support for string templates to luci.template module
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2014-09-04 11:35:15 +00:00
Jo-Philipp Wich
35eaa9f85f libs/web: add support for string templates to the template parser
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2014-09-04 11:35:09 +00:00
Jo-Philipp Wich
84de0fbe02 libs/web: remove strange 'static' on variable declaration
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2014-09-04 11:35:04 +00:00
Jo-Philipp Wich
f8f558291a libs/web: rename template_parser field "mmap" to the more generic "data"
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2014-09-04 11:34:27 +00:00
Jo-Philipp Wich
5aa46cbf58 add missing cbi-button class to nsection.htm
Hello,
I opened an issue in trac but it doesn't let me attach the patch (it
complains about cookies not enabled, which isn't true), and I cannot see
it to try again since it's awaiting moderation (moderated submission
#34250) so here's the patch (against 0.11, but I see that trunk has the
same problem).

Bye
--
Luca
2014-08-12 10:42:14 +00:00
Jo-Philipp Wich
649227308f added readonly property to TextValue (tvalue.htm) template
A textarea has a readonly property which is currently not supported by the TextValue template ( tvalue.htm )
Here the patch to add it to tvalue.htm

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2014-08-12 10:39:45 +00:00
Manuel Munz
5c311e3e78 modules/freifunk: fix wifi overview on public status page 2014-08-10 15:27:23 +00:00
Manuel Munz
6f8daab6eb luci/po: spelling and grammar fixes by Alex Henrie 2014-08-05 10:21:03 +00:00
Patrick Grimm
a31e805696 freifunk fix profile expert fs write function. 2014-08-03 19:39:24 +00:00
Jo-Philipp Wich
6324fc0caa modules/base: restore /lib/uci/upload directory
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-07-13 12:36:00 +00:00
Jo-Philipp Wich
89678917bd modules/admin-full: rework luci-bwc/libiwinfo integration
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-06-30 10:54:24 +00:00
Jo-Philipp Wich
8451dfdf2a modules/base: remove accidentally duplicated root directory
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-06-13 08:25:03 +00:00
Jo-Philipp Wich
055daf2d50 modules/base: readd missing /etc/config/luci 2014-06-12 13:48:57 +00:00
Jo-Philipp Wich
d4dc08dcb2 Fix wrong directory in luci-base 2014-06-11 14:00:09 +00:00
Jo-Philipp Wich
7043c30e0e build: introduce luci-base
Merges libs/core, libs/ipkg, libs/web, libs/sys, libs/sgi-cgi, libs/sgi-uhttpd,
modules/admin-core, themes/base and protcols/core into modules/base and renames
luci-lib-core to luci-base.
2014-06-11 13:29:05 +00:00
Jo-Philipp Wich
91b97bc9f6 Remove unmaintained components: lucid, fastindex, niu 2014-06-11 12:37:19 +00:00
Steven Barth
07109bb3f3 Allow toggling local IPv6 addressmanagement 2014-06-03 08:51:33 +00:00
Jo-Philipp Wich
c9f7282d98 modules/admin-full: further simplify wifi config
Drop 11b support since its not properly supported by mac80211 anyway.
Rename 'hwmode' option to 'Band' and remove dependencies from 'htmode' field.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-05-24 12:40:11 +00:00
Jo-Philipp Wich
4496419e1d modules/admin-full: fix wifi config compatibility with current trunk
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-05-19 18:54:06 +00:00
Jo-Philipp Wich
0b5861d6bf modules/freifunk: don't drop priveleges for OLSR status page, we need root to talk to ubus 2014-04-23 12:15:40 +00:00
Jo-Philipp Wich
2e9b25330c Revert "modules/freifunk: don't drop priveleges for OLSR status page, we need root to talk to ubus"
This reverts commit 57481b0e94b1d4be944c623ffa8334cbd4d53cbb, it contains some accidentally commited changes.
2014-04-23 12:15:02 +00:00
Jo-Philipp Wich
c5b324148d modules/freifunk: don't drop priveleges for OLSR status page, we need root to talk to ubus 2014-04-23 12:14:07 +00:00
Jo-Philipp Wich
4ade761227 trunk: Merge fix from luci-0.11 2014-02-13 12:06:47 +00:00
Steven Barth
6c45ccec6a Remove stale IPv6 menu entry 2014-01-18 19:55:51 +00:00
Steven Barth
493b7d4ee9 Adapt IPv6 interface to new architecture 2014-01-17 15:46:56 +00:00
Jo-Philipp Wich
2812cb14c5 modules/admin-full: replace another instance of legacy wifi calls with network reloads 2013-12-08 20:30:51 +00:00
Jo-Philipp Wich
a654b40366 modules/admin-full: use ubus call network reload after enabling, disabling or deleting wifi networks 2013-12-08 16:46:55 +00:00
Jo-Philipp Wich
2aad24cec1 modules/admin-full: add DSL status to index page (#620) 2013-10-09 11:17:55 +00:00
Manuel Munz
3701d2ffbc core/sysauth: Redirect to https on login page if possible, #317 2013-09-03 17:40:55 +00:00
Manuel Munz
c16cbd527c system/applyreboot: Use the correct protocol, #603 2013-09-01 16:39:55 +00:00
Jo-Philipp Wich
46c61acd06 modules/admin-full: fix extroot and fsck availability check (https://dev.openwrt.org/ticket/13837) 2013-07-09 09:33:22 +00:00
Steven Barth
ca65b9a4b7 Fix a typo in IPv6 configuration page 2013-05-24 05:50:55 +00:00
Manuel Munz
82267099ae modules/freifunk: Allow to enable/disable VAP in community profiles 2013-05-23 14:07:23 +00:00
Steven Barth
5200eb1577 Add support for stateful DHCPv6 2013-05-23 10:14:20 +00:00
Steven Barth
d5d63e2cc5 Update and simplify IPv6 RA & DHCPv6 configuration 2013-05-23 10:14:10 +00:00
Jo-Philipp Wich
ae2e8c99b1 modules/admin-full: also increase number of ports if cpu port is 8 2013-04-11 17:32:24 +00:00
Jo-Philipp Wich
c5557fc90b modules/admin-full: attempt to determine switch cpu port from /proc/switch/eth0/cpuport in order to properly support newer broadcom models 2013-04-11 13:36:22 +00:00
Jo-Philipp Wich
7ba8d31df7 Add LuCI support for newly introduced IPv6 options 2013-04-09 09:38:33 +00:00
Jo-Philipp Wich
fdf7d6618d modules/admin-full: notify crond after writing crontab (#559) 2013-03-22 12:42:48 +00:00
Jo-Philipp Wich
21aba9c483 modules/admin-full: allow special value "ignore" for static lease ip address (#558) 2013-03-20 15:25:38 +00:00
Manuel Munz
6cd01c013a modules/freifunk: Remove olsrd infos from status.json 2013-03-16 18:37:24 +00:00
Jo-Philipp Wich
7021120936 modules/admin-full: use firewall reload action 2013-03-07 12:17:43 +00:00
Daniel Golle
fb9bed8a0c correct spelling on luci startup page
https://dev.openwrt.org/ticket/13083
2013-02-26 18:50:36 +00:00
Daniel Golle
36986ee5fe modules/admin-full: generalize field descriptions in system status page
LuCI is not only used on routers. When running on a NAS or you-name-it
non-router hardware, refering to "Router Name" and "Router Model" in the
system information page was confusing to some users.
2013-02-26 13:21:54 +00:00
Patrick Grimm
90aca063ae modules/freifunk: Fix time var. change in r9666 2013-02-11 09:35:29 +00:00
Manuel Munz
e2b8e5efa7 modules/freifunk: Fix default route display for virtual interfaces. while at it, rework and simplify the code for the status page 2013-02-09 16:50:55 +00:00
Manuel Munz
5b129819cc modules/admin-full: Add swap info to admin_status page if swap is available, #533 2013-01-30 13:36:20 +00:00
Jo-Philipp Wich
58b252456c Add support for changing ULA prefix 2013-01-26 18:37:55 +00:00
Jo-Philipp Wich
314eebce98 modules/admin-full: add some additional option depends to the ra/dhcpv6 configuration page 2013-01-22 12:22:17 +00:00
Jo-Philipp Wich
a4f3f52d1c New IPv6 integration 2013-01-22 10:44:16 +00:00
Manuel Munz
7023f33223 diagnostics: Replace 2 more &nbsp; 2013-01-13 19:06:32 +00:00
Manuel Munz
c46d1c22e9 admin-full: Fix javascript error when no proto select box is shown, add hint to install iputils-traceroute6 for ipv6 traceroutes 2013-01-09 18:39:29 +00:00
Manuel Munz
a9c2fc65b6 modules/freifunk: Add homepage(s) field to contact information 2013-01-09 11:22:15 +00:00
Jo-Philipp Wich
c69c3f01a7 modules/admin-full: slightly change html of diagnostics page 2013-01-04 19:55:50 +00:00
Jo-Philipp Wich
45312520ab modules/admin-full: display iwinfo hardware name in wifi overview 2013-01-04 16:25:13 +00:00
Jo-Philipp Wich
7a531b4add modules/admin-full: make mac addresses optional in static lease configuration 2013-01-02 15:31:59 +00:00
Jo-Philipp Wich
8cfa5cc7c5 don't use symlink to /lib/functions.sh
Signed-off-by: Luka Perkov <luka@openwrt.org>
2012-12-20 15:01:04 +00:00
Jo-Philipp Wich
bf25765406 modules/admin-full: fix "unsupported protocol" vs. "no interface assigned" errors for protocols without ifname property, e.g. 6in4 2012-12-19 10:11:03 +00:00
Jo-Philipp Wich
fb9d3ce2b6 modules/admin-full: several white-space fixes for Bootstrap 2012-12-02 14:20:42 +00:00
Manuel Munz
cad7245af2 modules/freifunk: simplify colors in map, add a legend 2012-11-30 23:55:35 +00:00
Jo-Philipp Wich
e689fa8900 modules/admin-full: filter localhost<->localhost connections live connection graph 2012-11-27 14:16:42 +00:00
Jo-Philipp Wich
848e43a5b4 remove .i18n annotations from controller files 2012-11-26 12:53:43 +00:00
Jo-Philipp Wich
7399e07593 modules/admin-full: remove leftover setTimeout() call in load graph 2012-11-21 19:34:13 +00:00
Jo-Philipp Wich
69ac1031b7 applications/luci-commands, applications/luci-upnp, modules/admin-core, modules/admin-full, modules/freifunk: clean up argument handling of leaf nodes 2012-11-21 19:29:47 +00:00
Jo-Philipp Wich
9aad27f48e modules/admin-full: fix word wrapping in wifi overview page when using bootstrap theme 2012-11-21 17:04:12 +00:00
Jo-Philipp Wich
74a140e4b4 modules/admin-full: use luci.model.ipkg.find() to support searching packages by description 2012-11-15 20:59:09 +00:00
Jo-Philipp Wich
7933cad0fa modules/admin-full: fix broken XHTML on diagnostics page 2012-11-15 13:22:04 +00:00
Jo-Philipp Wich
71b595d4f3 modules/admin-full: fix wrong load number in realtime graph (#502) 2012-11-12 16:32:08 +00:00
Manuel Munz
69dbc27ce0 admin-full/diagnostics: Allow to use ping6 and traceroute6 when available, #487 2012-11-11 12:20:56 +00:00
Manuel Munz
7b7030629c Add some more datatype checks, patch by Eugene C., #499 2012-11-10 20:55:50 +00:00
Manuel Munz
4e04e353fe admin-full/network/hosts: Fix problem when arptable is empty, #482 2012-11-10 17:38:37 +00:00
Jo-Philipp Wich
36f88887c1 modules/admin-core, modules/admin-full: fix switch port status for devices with multiple switches 2012-11-01 20:03:36 +00:00
Daniel Golle
59af400346 wifi: add controls for noscan flag
OpenWrt contains a patch for hostapd which allows to override the channel-bandwidth decission
to always use 40MHz regardless of overlapping networks.
Though it does not conform with IEEE 802.11n-2009, this became the de-facto standard behaviour
of most off-the-shelf wifi routers.

Adding this option to LuCI makes it more accessible to users, which probably not everybody will
agree with to be a good idea. However, I didn't yet come across a single commercial product which
actually complies with 802.11n-2009 in that regard.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
2012-10-31 15:58:15 +00:00
Jo-Philipp Wich
00f8f2fbb0 modules/admin-full: disambiguate NTP client/server settings 2012-09-28 19:08:47 +00:00
Jo-Philipp Wich
14facbd91d modules/admin-full: cope with undefined scan list in wifi_join 2012-09-26 17:38:14 +00:00
Jo-Philipp Wich
02ac6686fe modules/admin-full: cope with undefined frequency lists 2012-09-26 17:34:58 +00:00
Daniel Golle
1dbb1da4d9 modules: add failsafe module
The failsafe module adds a minimal web-interface which is intended to
run on a very compact initramfs-based image intended only for flashing
firmware onto a device. This can be used as part of an installation method
or reside in a small partition on the device flash which can be booted
in case the checksum-test of the main kernel or rootfs fails.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
2012-09-20 02:16:51 +00:00
Manuel Munz
45d812dbb7 modules/freifunk: remove sorting function from widgets include in index view 2012-09-19 09:44:20 +00:00
Manuel Munz
613de9b48f modules/freifunk: include widgets in indexpage when available 2012-09-17 14:22:14 +00:00
Jo-Philipp Wich
4bd4002a3f modules/admin-full: small style fix in switch status 2012-09-11 15:52:01 +00:00
Jo-Philipp Wich
57e51eba60 modules/admin-full, modules/admin-core, themes/base: add port status indicators to switch config page 2012-09-11 14:18:28 +00:00
Manuel Munz
9e33e992c9 modules/freifunk: Add ipv6 options to community profile form 2012-08-20 11:14:13 +00:00
Jo-Philipp Wich
dce04bbcb2 modules/admin-core, modules/admin-full: implement display support for dnsmasq dhcpv6 leases 2012-08-17 15:06:46 +00:00
Jo-Philipp Wich
d88dc89f38 modules/admin-full: also require luci.tools.proto from parent cbi model 2012-08-17 08:24:24 +00:00
Daniel Golle
b70cdbdb7b support extant Antenna configuration 2012-08-15 16:31:41 +00:00
Jo-Philipp Wich
536d329503 modules/admin-full: fix typo in dhcp cbi model, patch by "BasicXP" <basicxp@ubuntu.com> 2012-08-14 15:09:11 +00:00
Jo-Philipp Wich
a1415d7430 modules: make most remaining hardcoded strings translatable, patch by "BasicXP" <basicxp@ubuntu.com> 2012-08-14 13:08:18 +00:00
Jo-Philipp Wich
6b128c0281 modules/admin-full: use format_wifi_encryption() in wifi_join.htm to make encryption translatable 2012-08-14 12:45:06 +00:00
Jo-Philipp Wich
396350aaf4 modules/admin-full: rework help text for network_netlist widget 2012-08-09 23:44:18 +00:00
Jo-Philipp Wich
92fc96f6fd modules/niu: remove usage of wifi.channels() 2012-08-08 20:25:00 +00:00
Jo-Philipp Wich
e183e134b8 modules/admin-full: remove usage of wifi.channels() 2012-08-08 20:22:15 +00:00
Jo-Philipp Wich
a521cddcf8 modules/freifunk: use getiwinfo() instead of getiwconfig() 2012-08-08 20:07:39 +00:00
Jo-Philipp Wich
30597efafb modules/admin-mini: use getiwinfo() instead of getiwconfig() 2012-08-08 20:07:36 +00:00
Jo-Philipp Wich
a7f05a3341 modules/admin-mini: use iwinfo to perform scans 2012-08-08 19:57:05 +00:00
Jo-Philipp Wich
adafc82819 modules/admin-full: remove an ancient cbi model that hasn't been used in years 2012-08-08 19:33:17 +00:00
Jo-Philipp Wich
f0a99dd6c7 modules/admin-full: use luci.sys.net.mac_hints() in wifi maclist config 2012-08-08 15:20:10 +00:00
Jo-Philipp Wich
bf7b19f33b modules/admin-full: remove session expiry workaround from setting 2012-08-08 10:11:00 +00:00
Jo-Philipp Wich
c8ffc897e3 modules/rpc: adapt rpc controller to sauth api changes 2012-08-08 09:48:53 +00:00
Jo-Philipp Wich
a58370ab74 Rework authentication system
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-08-07 19:11:56 +00:00
Jo-Philipp Wich
69aa218335 return "403 Forbidden" if authentication token was given, however is invalid
Contributed by T-Labs, Deutsche Telekom Innovation Laboratories

Signed-off-by: Mirko Vogt <mirko@openwrt.org>
2012-08-07 19:11:52 +00:00
Jo-Philipp Wich
3c1c9d4400 modules/admin-full: copy bssid when joining a network as client (#455) 2012-07-24 11:37:38 +00:00
Jo-Philipp Wich
746a5be1a8 modules/admin-full: expose wmm option for mac80211 interfaces 2012-07-23 08:53:50 +00:00
Manuel Munz
d0a6fbf397 mod-freifunk: Fix problem with osm map, OpenLayers.Control.MouseDefaults() was removed in OpenLayers 2.12 2012-07-09 05:48:37 +00:00
Jo-Philipp Wich
13c3471eb3 modules/admin-full: fix frequency display on index status page 2012-07-06 01:21:27 +00:00
Daniel Golle
5be59e6ae7 Cosmetic changes to the terminology in the UI:
Replace references to the device running LuCI as being a "router", as that is
not necessarily the case.
2012-07-01 20:05:05 +00:00
Jo-Philipp Wich
d30109e350 modules/admin-full: sort networks by zone and name in overview 2012-06-27 10:12:20 +00:00
Jo-Philipp Wich
a99f570bf4 modules/admin-full: use get_wannet() and get_wan6net() to find wan networks on status page 2012-06-26 22:19:30 +00:00
Jo-Philipp Wich
c0451d8a72 modules/admin-full: remove support for configuring alias interfaces, they're useless now that ifaces can be part of multiple networks 2012-06-26 21:56:52 +00:00
Jo-Philipp Wich
254ad2dfd1 modules/admin-full: when deleting wifi-ifaces, remove all empty leftover networks, not only the first one 2012-06-26 21:49:27 +00:00
Jo-Philipp Wich
d52859b37e modules/admin-full: remove notice about iface exclusiveness when adding new networks 2012-06-26 21:49:21 +00:00
Jo-Philipp Wich
2e924f7aa5 modules/admin-full: extend wifi model to allow assigning multiple networks 2012-06-26 21:49:18 +00:00
Manuel Munz
92f0643e2c modules/freifunk: Add minlength datatype to location, #444 2012-06-25 10:02:53 +00:00
Daniel Golle
fb5d41c2a5 Only show the TX-power selector if the hardware supports more than one option.
Some mac80211 drivers (rt2x00) probably won't support limiting TX-power to a
user-defined value in the near future under certain conditions, so it makes
sense to not expose that option in order not to confuse the user.

See http://patchwork.openwrt.org/patch/2187/
to understand the situation.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
2012-06-18 19:42:39 +00:00
Jo-Philipp Wich
5ae5d3be63 modules/admin-full: allow to specify the DHCP pool start as IPv4 address (#420) 2012-06-05 14:05:03 +00:00
Jo-Philipp Wich
b3e5467ec6 modules/admin-full: check /etc/ethers and /var/dhcp.leases for existence before trying to read them 2012-05-23 22:22:22 +00:00
Jo-Philipp Wich
16ffd14cc2 move luci specific index.html from package 'sgi-cgi' to 'admin-core'
Contributed by T-Labs, Deutsche Telekom Innovation Laboratories

Signed-off-by: Mirko Vogt <mirko.vogt@external.telekom.de>
2012-05-06 18:57:18 +00:00
Jo-Philipp Wich
1ec71bbefe modules/admin-full: add mac address suggestions to mac filter settings 2012-05-06 18:04:45 +00:00
Jo-Philipp Wich
a27481f35c modules/admin-full: filter init scripts without START in startup model 2012-05-06 09:48:06 +00:00
Jo-Philipp Wich
86e17aa657 modules/admin-full: do not show protocol warning for empty interfaces, link to physical settings instead 2012-04-22 13:35:58 +00:00
Manuel Munz
9bde4204cf modules/freifunk: Fix model/system confusion in public_status 2012-04-04 15:40:01 +00:00
Jo-Philipp Wich
1291f1dbb7 admin-full: allow to use translations for 'Not connected' state
This allows to use translated version of the 'Net connected' string in
the Status/Overview/Network section.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
2012-04-02 22:50:26 +00:00
Jo-Philipp Wich
c3aff0c622 modules/admin-full: since switch port numbers depend on model and current solar cycle, give up on making the human readable but just give the raw index 2012-03-19 21:04:15 +00:00
Jo-Philipp Wich
785f71ebaf modules/admin-full: reorder compiler flags for luci-bwc, fixes build on Ubuntu 11.x 2012-03-13 21:10:18 +00:00
Jo-Philipp Wich
b22f022f2c modules/admin-full: add DNS resolution to connections status page, order connections descending by traffic 2012-03-04 18:36:05 +00:00
Jo-Philipp Wich
e6bf801bad modules/admin-full: scan three times to catch more networks in wifi join setup 2012-03-04 18:35:13 +00:00
Jo-Philipp Wich
c77a8b1647 modules/admin-full: revert r8324 2012-03-04 15:28:18 +00:00
Jo-Philipp Wich
7918380683 modules/admin-core: autofocus password field in login form 2012-03-04 15:03:05 +00:00
Jo-Philipp Wich
9de7ff8e69 modules/admin-full: reverse time labels in realtime stats (#386) 2012-03-04 14:06:30 +00:00
Jo-Philipp Wich
7b402d1964 modules/admin-full: remove per connection transfer stats, not exposed anymore in recent kernels 2012-03-03 13:10:33 +00:00
Jo-Philipp Wich
0453e50932 modules/admin-full: display wifi rates in assoclist tables 2012-02-23 17:15:50 +00:00
Jo-Philipp Wich
c07e6a6976 modules/admin-full: filter IPv6 linklocal IPs in iface overview 2012-02-15 22:49:56 +00:00
Jo-Philipp Wich
8d2af100a8 modules/admin-full: remove inline style for inface boxes 2012-02-15 16:01:07 +00:00
Jo-Philipp Wich
7bda8d6da3 modules/admin-full: use new button classes in iface overview template 2012-02-15 15:12:10 +00:00
Jo-Philipp Wich
639f58d404 modules/admin-full: add client_cert option in wifi configuration 2012-01-24 20:57:54 +00:00
Jo-Philipp Wich
4bf31a8792 modules/admin-full: redirect init script output in startup model actions 2012-01-12 12:15:21 +00:00
Jo-Philipp Wich
c043db6518 modules/admin-full: set password of logged in user instead of unconditionally using root, thanks Viktar Palstsiuk <viktar.palstsiuk@promwad.com> 2012-01-06 16:42:02 +00:00
Jo-Philipp Wich
1e0e458ff3 modules/admin-full: fix wireless interface removal if not network was assigned to the iface, thanks Viktar Palstsiuk <viktar.palstsiuk@promwad.com> 2012-01-06 16:28:54 +00:00
Jo-Philipp Wich
ef65fbd9dc modules/admin-full: make luci-bwc dlopen() libiwinfo.so instead of lua/iwinfo.so 2012-01-01 17:20:16 +00:00
Jo-Philipp Wich
706eb828ad modules/admin-full: allow space separated lists of macs in static lease form (#319) 2012-01-01 14:43:56 +00:00
Jo-Philipp Wich
28426c25fc modules/admin-full: fix crypto depends for ad-hoc and static wds modes (#271) 2011-12-21 22:41:44 +00:00
Jo-Philipp Wich
45d604fea3 modules/admin-core: use luci.model.uci.apply() in service control to restart dependencies of the current config as well 2011-12-20 19:04:04 +00:00
Jo-Philipp Wich
79231d68be modules/admin-core: fix apply actions for configs with hyphens or underscore in the name 2011-12-20 18:31:47 +00:00
Jo-Philipp Wich
abb201ab57 modules/admin-full: reuse sysupgrade facilities to create backup archive 2011-12-20 17:35:50 +00:00
Jo-Philipp Wich
3bccd25281 modules/admin-full: probe for EAP support in wpad/hostapd/wpa_supplicant and offer wpa/wpa2 only if it is present 2011-12-13 15:57:32 +00:00
Jo-Philipp Wich
3d2468cf34 modules/admin-full: fix System -> Administration menu if dropbear is not installed 2011-12-08 03:35:27 +00:00
Jo-Philipp Wich
5e83af45ae modules/admin-full, po: s/libiwinfo/libiwinfo-lua/ 2011-12-06 11:00:33 +00:00
Jo-Philipp Wich
9fa385a7ec modules/admin-full: fix removal of wireless networks if radio is disabled 2011-12-05 19:34:47 +00:00
Jo-Philipp Wich
2221b44d98 modules/admin-core: expose txpower offset in wifi json status 2011-12-05 18:35:00 +00:00
Jo-Philipp Wich
c47e0596dd modules/admin-full: use new iwinfo capabilities to display shifted tx power values 2011-12-05 18:29:04 +00:00
Manuel Munz
c5329d85d5 applications/splash: Fix blacklisting mechanism, expose status on public freifunk page, add json output and autoupdate. 2011-11-30 05:50:43 +00:00
Jo-Philipp Wich
33bb31838d modules/admin-full: allow bssid for sta wds as well 2011-11-15 15:47:46 +00:00
Jo-Philipp Wich
743296d42c modules/admin-full: bssid is valid in mac80211 sta mode too 2011-11-15 15:44:01 +00:00
Jo-Philipp Wich
0ecbaa400e modules/admin-full: don't make cipher mandatory 2011-11-13 21:03:06 +00:00
Jo-Philipp Wich
52f6514541 modules/admin-full: prepare uci changelog template for revised libuci-lua changelog format to properly expose add_list operations 2011-11-12 14:31:31 +00:00
Manuel Munz
c67d7b2a43 admin-full: When creating the ntp timeserver section also add the default ntp servers 2011-11-10 13:44:22 +00:00
Manuel Munz
525da459d7 admin-full: Better fix for the last change (timeserver setup), add button to add the missing section 2011-11-10 12:57:13 +00:00
Manuel Munz
a196198fb9 admin-full: Add timeserver section if it doesn't already exist in /etc/config/system (#329) 2011-11-10 12:25:58 +00:00
Manuel Munz
ffdeb77e84 admin-full: Expose bogusnxdomain setting in DHCP / DNS configuration (#339) 2011-11-10 11:40:18 +00:00
Jo-Philipp Wich
13f98b6d99 modules/admin-full: fix another html escape issue on interface overview page 2011-11-08 23:12:38 +00:00
Jo-Philipp Wich
f8a2f2c059 modules/admin-full: fix html escaping on interface overview page 2011-11-08 22:35:24 +00:00
Manuel Munz
6a3640cee2 modules/freifunk: Fix display of warning about diversity 2011-11-08 09:34:09 +00:00
Jo-Philipp Wich
6907d1f2cd modules/admin-full: do not hide toplevel network menu items, yet 2011-11-07 10:44:20 +00:00
Jo-Philipp Wich
905e682bb7 modules/admin-full: speed up network controller by using inreq flag 2011-11-07 10:38:41 +00:00
Jo-Philipp Wich
0b7eb82eb6 modules/admin-full: add option to override the WPA cipher (#303) 2011-11-07 06:30:36 +00:00
Manuel Munz
7d81806393 modules/freifunk: Show warning about diversity only if not using mac80211 2011-11-06 17:13:30 +00:00
Jo-Philipp Wich
0abb1420e7 modules/admin-full: add missing html escaping for SSID in associated stations table of wireless overview 2011-11-03 19:44:17 +00:00
Jo-Philipp Wich
eea1f8b679 modules/admin-full: when toggling a wifi-iface, first bring the radio down, then change the config, then bring it up again - prevents state vars from going out of sync 2011-11-02 18:59:18 +00:00
Manuel Munz
16c26a5154 modules/freifunk: Fix error on freifunk/adminindex page when running on the Development Environment 2011-11-02 10:34:04 +00:00
Manuel Munz
0ef557b15c modules/freifunk: Fix errors on index and contact pages when running the Development Environment 2011-11-02 08:45:40 +00:00
Jo-Philipp Wich
e4d8bc2946 modules/admin-full: luci-bwc: use 32 bit integer, fix endian problem leading to stalling graphs after random time periods 2011-10-28 19:20:39 +00:00
Jo-Philipp Wich
327e4e773a modules/admin-full: don't bother with 4k vlan / no 4k vlan nuisances, simply enable it when available 2011-10-27 00:02:10 +00:00
Jo-Philipp Wich
0bc7760cdb modules/admin-full: unify style of headings accross system menus, remove orphaned template 2011-10-26 23:43:04 +00:00
Jo-Philipp Wich
da527d2c44 modules/admin-full: remove associated network for the wifi-iface as well if it would be empty afterwards 2011-10-26 22:52:18 +00:00
Jo-Philipp Wich
f3973132f2 modules/admin-full: commit uci and restart corresponding radio when removing wifi networks 2011-10-26 22:29:57 +00:00
Jo-Philipp Wich
c3e8976605 modules/admin-full: lock channel section in ap wifi config if there is a station on the same radio 2011-10-26 22:12:50 +00:00
Jo-Philipp Wich
017d24c724 modules/admin-full: fix wifi join when "wwan" (or other iface) already exists but only contains the network we intend to replace anyway, also save firewall settings after wifi join 2011-10-26 21:54:51 +00:00
Jo-Philipp Wich
d409dd68ff modules/admin-full: switch back to alias() for / -> /admin/; chained firstchild() seems to be problematic yet 2011-10-26 03:04:18 +00:00
Jo-Philipp Wich
8c9aef1b2d modules/admin-full:
- move crontab to system menu
	- delete now empty services dispatcher
	- move service menu declaration into index
2011-10-26 00:58:12 +00:00
Jo-Philipp Wich
76548e7dad modules/admin-full: use firstchild() in index controller 2011-10-26 00:50:58 +00:00
Jo-Philipp Wich
7e882e8bd6 modules/admin-full: use firstchild() instead of fixed alias 2011-10-26 00:48:33 +00:00
Jo-Philipp Wich
6350803416 modules/admin-full: remove now orphaned service index template 2011-10-26 00:39:31 +00:00
Jo-Philipp Wich
94225a83c9 modules/admin-full: use firstchild() in services controller 2011-10-26 00:38:32 +00:00
Jo-Philipp Wich
6245ad6a73 modules/admin-full: rework system menu area 2011-10-24 01:10:34 +00:00
Manuel Munz
c0ce5f96f2 modules/freifunk: Nicer layout of the contact page; make note a TextValue field in the admin interface 2011-10-21 13:27:55 +00:00
Manuel Munz
cd1fa7c070 modules/freifunk: Fix small error 2011-10-18 18:59:58 +00:00
Jo-Philipp Wich
9c97cdb7b6 modules/admin-full: better handle interfaces with unsupported protocols 2011-10-18 13:20:43 +00:00
Manuel Munz
e4740d764b modules/freifunk: This was moved to freifunk-common with r7554 2011-10-16 13:22:26 +00:00
Jo-Philipp Wich
594e333a77 modules/admin-full: support installing multiple packages at once 2011-10-15 05:27:06 +00:00
Jo-Philipp Wich
00f23f60f6 modules/admin-full: move realtime stats into submenu 2011-10-15 05:10:58 +00:00
Jo-Philipp Wich
64bc95cb47 modules/admin-full: make software page tabbed, show available list broken down by letters; greatly speeds up loading time 2011-10-15 03:13:49 +00:00
Jo-Philipp Wich
af4afea77f modules/admin-full: fix JavaScript issues in live statistics 2011-10-14 13:33:47 +00:00
Jo-Philipp Wich
7a1fcbd6da modules/admin-full: update iface status after saving uci changes 2011-10-13 16:26:59 +00:00
Jo-Philipp Wich
d845a4e450 modules/admin-full: move RTS/CTS and Frag settings to device for mac80211 2011-10-13 12:48:55 +00:00
Jo-Philipp Wich
1ffe61277e move protocol support into a new protocols/ subdir 2011-10-11 02:07:15 +00:00
Jo-Philipp Wich
9ebf900719 modules/admin-full: expose switch title on vlan page 2011-10-11 01:21:58 +00:00
Jo-Philipp Wich
e134834014 modules/admin-full: make interface configuration modular 2011-10-11 01:17:02 +00:00
Manuel Munz
6bc73f7af9 admin-status/overview: Use MAC-Address in table header of associated stations instead of BSSID (#312) 2011-10-10 16:08:00 +00:00
Manuel Munz
61778a3239 modules/freifunk: Make display of ipv4 default route in public status work with freifunk-policyrouting enabled 2011-10-10 16:04:27 +00:00
Manuel Munz
bb5986cf13 modules/freifunk: Move contact page to first level menu 2011-10-10 08:32:46 +00:00
Jo-Philipp Wich
760dcec667 modules/admin-full: only allow unique vlan ids, fix port labelling if CPU is at 0 2011-10-09 23:39:34 +00:00
Jo-Philipp Wich
9e2e9a2b66 modules/admin-full: remove PVID support, its not really useful and confusing, fix parsing of port count and cpu port, expose hardware name 2011-10-09 23:21:19 +00:00
Jo-Philipp Wich
21b2f45d02 modules/admin-full: fix status reporting of inactive virtual interfaces 2011-10-09 22:36:13 +00:00
Jo-Philipp Wich
9e8de5189d modules/admin-full: fix switch config page for models with multiple switches 2011-10-09 22:28:14 +00:00
Jo-Philipp Wich
b666015dc2 modules/admin-full: rework interface add dialog, now handles floating protocols like PPP correctly 2011-10-09 19:28:30 +00:00
Jo-Philipp Wich
4e538d09e1 modules/admin-full: hide system software tab if opkg is not present 2011-10-08 21:43:50 +00:00
Jo-Philipp Wich
523f70c927 modules/admin-full: allow mac filter only for ap mode interfaces 2011-10-04 18:05:59 +00:00
Jo-Philipp Wich
f3690b2e03 modules/admin-full: fix various issues in iface cbi model 2011-10-03 10:30:17 +00:00
Jo-Philipp Wich
0a7165c833 modules/admin-full: increase button size on overview pages to accomodate for longer words in other langauges 2011-10-02 11:37:44 +00:00
Jo-Philipp Wich
c45f6b670d modules/admin-full: align wifi settings with recent hostapd.sh in OpenWrt (#261) 2011-10-02 10:25:32 +00:00
Jo-Philipp Wich
86f63627b6 modules/freifunk: fix interval value after XHR.poll() change 2011-10-02 10:03:43 +00:00
Jo-Philipp Wich
d47f6e0086 modules/freifunk: convert public status template to XHR.poll() 2011-10-02 09:59:07 +00:00
Jo-Philipp Wich
7981c2382d modules/admin-full: fix file uploads on wifi page 2011-10-01 09:33:36 +00:00
Jo-Philipp Wich
7906112adf modules/admin-core: add missing css class 2011-09-30 13:23:11 +00:00
Manuel Munz
2d0171d72c modules/freifunk: Remove helper scripts, they moved to freifunk-common 2011-09-29 09:35:44 +00:00
Manuel Munz
c3a028c76c modules/freifunk: Move profiles and common files into seperate packages, this will enable us to build freifunk images without luci. 2011-09-28 00:20:56 +00:00
Jo-Philipp Wich
e415f27419 modules/admin-full: switch live stats to XHR.poll(), lower update frequency to 3 seconds 2011-09-26 00:48:02 +00:00
Jo-Philipp Wich
d46b42901a modules/admin-full: add missing svg template 2011-09-26 00:46:31 +00:00
Jo-Philipp Wich
fd052a6e64 modules/admin-full: rework status javascript code to use XHR.poll() 2011-09-26 00:24:34 +00:00
Jo-Philipp Wich
2829139f35 modules/admin-full: register missing wireless actions 2011-09-25 23:29:21 +00:00
Jo-Philipp Wich
730b2b0d07 modules/admin-full: ... and another issue, also remove wifi up workaround, its done by "ifup" now 2011-09-25 23:08:47 +00:00
Jo-Philipp Wich
8eb9335413 modules/admin-full: fix two issues observed on a virgin install 2011-09-25 22:58:17 +00:00
Jo-Philipp Wich
1f1377fdc4 modules/admin-full: fix remaining status template 2011-09-25 20:59:51 +00:00
Jo-Philipp Wich
630d559c26 modules/admin-full: more javascript fixes 2011-09-25 20:58:19 +00:00
Jo-Philipp Wich
e3435a49e9 modules/admin-full: various javascript fixes in templates 2011-09-25 20:51:03 +00:00
Manuel Munz
8d62398e85 modules/freifunk: Remove old ff_mapupdate script 2011-09-24 20:18:27 +00:00
Jo-Philipp Wich
575b32de81 modules/admin-full: fix small style glitch in uci revert template 2011-09-24 03:34:02 +00:00
Jo-Philipp Wich
3311da13e7 modules/admin-full: remove more dead code 2011-09-24 03:21:02 +00:00
Jo-Philipp Wich
1d40f7fbea modules/admin-full: remove redundant code 2011-09-24 03:14:48 +00:00
Jo-Philipp Wich
6047aea3c4 modules/admin-full: rework interface overview 2011-09-24 01:03:06 +00:00
Jo-Philipp Wich
2dae492a36 modules/admin-full: rewrite interface state json backend to only utilize network model 2011-09-24 00:58:58 +00:00
Manuel Munz
63a8252dd0 modules/admin-full: Fix typo, #304 2011-09-23 20:03:49 +00:00
Manuel Munz
2b5c41037e modules/freifunk: Remove ff_olsr_test_gw 2011-09-23 19:25:32 +00:00
Manuel Munz
9ed39e1431 modules/admin/full: Add parenthesis around luci.version, #302 2011-09-23 16:11:24 +00:00
Jo-Philipp Wich
7d959a6024 modules/admin-full: add missing class attributes 2011-09-22 18:22:04 +00:00
Jo-Philipp Wich
8f25290a38 modules/admin-full: fix some small style quirks 2011-09-22 17:48:58 +00:00
Jo-Philipp Wich
b360dbc6dc modules/admin-full, modules/freifunk, modules/niu, libs/web, applications/luci-upnp: tune input class attributes 2011-09-22 13:25:48 +00:00
Manuel Munz
9ffd17e920 modules/freifunk: Add force=1 to dhcp default config 2011-09-22 13:11:33 +00:00
Jo-Philipp Wich
01d99250ae modules/admin-full: clear radio wide disable flag when toggling wifinet 2011-09-22 02:49:03 +00:00
Jo-Philipp Wich
659a8bdf01 modules/admin-full: implement per-wifi-iface disable option 2011-09-22 02:43:38 +00:00
Jo-Philipp Wich
59e95ddcad modules/admin-full, libs/web: various interface handling fixes in network settings 2011-09-22 01:40:26 +00:00
Jo-Philipp Wich
bc8eaf6875 modules/admin-full: finally sort out dhcp setup issues in interface settings 2011-09-17 23:43:55 +00:00
Manuel Munz
baa7e82693 modules/freifunk: Change ssid, remove dhcpoptions from evernet profile 2011-09-14 12:39:51 +00:00
Manuel Munz
e81183ea87 modules/freifunk: fixes for profile evernet 2011-09-14 12:36:08 +00:00
Manuel Munz
b2b1efa00d modules/freifunk: Add profile for evernet 2011-09-14 12:26:43 +00:00
Matthias Uferer
19c1fecdb3 ssid von Leipzig auf gadow.freifunk.net geaendert 2011-09-14 12:04:23 +00:00
Jo-Philipp Wich
a4ea7904b8 modules/admin-full: fix initial state of network_ifacelist widget 2011-09-14 09:28:28 +00:00
Jo-Philipp Wich
69406a2ac4 modules/admin-full: remove accidentally committed compat code 2011-09-13 08:25:59 +00:00
Jo-Philipp Wich
2bc02e44b4 modules/admin-full: add wireless live stats 2011-09-13 07:27:34 +00:00
Jo-Philipp Wich
5d10db24ef modules/admin-full: luci-bwc: attempt to dlopen() libiwinfo, use it to gather radio rate, signal and noise data if successful 2011-09-11 12:55:26 +00:00
Jo-Philipp Wich
7ea8865444 modules/admin-full: remove luci-bwc postinstall 2011-09-11 12:50:05 +00:00
Manuel Munz
d33d6224e9 modules/admin: Make sure luci_fixtime works on mini_fo (#262) 2011-09-08 15:44:56 +00:00
Manuel Munz
0907848282 admin/status: Replace 'Active IP Connections' with 'Active Connections' as requested by #265. Also this saves a little space, because the string 'Active Connections' is in base.po already and can be reused. 2011-09-08 13:55:54 +00:00
Manuel Munz
1a511de0be Fix i18n problems with freifunk module and meshwizard 2011-09-08 12:51:00 +00:00
Jo-Philipp Wich
de9048ff8c modules/admin-full: simplify and fix progname change 2011-09-01 23:21:22 +00:00
Jo-Philipp Wich
8bbf59dcc6 modules/admin-full: rework realtime stats to start luci-bwc on demand, kill daemon after ten seconds of inactivity 2011-09-01 22:54:29 +00:00
Manuel Munz
3b9fbb12b8 modules/admin_system: Add note to step2 of firmware flashing telling the user if configuration is kept or not, thanks hnyman (#298) 2011-08-28 16:18:21 +00:00
Manuel Munz
cc7b8fcc6f modules/freifunk: Changes to duesseldorf profile (#297) 2011-08-28 16:13:14 +00:00
Manuel Munz
53fa83c313 modules/freifunk: Fix carbodebit profile 2011-08-28 13:42:04 +00:00
Manuel Munz
8538b6f30d modules/freifunk: Try to get the location from /etc/config/freifunk if it isn't found in /etc/config/system 2011-08-28 10:29:33 +00:00
Manuel Munz
02219b66b7 modules/freifunk: Add firewall.freifunk include to /etc/config/freifunk 2011-08-28 10:13:22 +00:00
Manuel Munz
045907af40 modules/freifunk: luci-theme-freifunk-generic is the default, so no need to specify it here. 2011-08-24 16:40:28 +00:00
Manuel Munz
6d8f26ac69 modules/freifunk: Add profile for guifibages 2011-08-24 16:07:11 +00:00
Manuel Munz
b17ac89857 Revert last commit 2011-08-24 16:00:55 +00:00
Manuel Munz
8176dcead8 modules/freifunk: Add extrapackages to be included when images are built using the imagebuilder. 2011-08-24 15:57:13 +00:00
Manuel Munz
fbcbde824b modules/freifunk: Add theme to profiles to get rid of the imagebuilder-profiles, only augsburg for now, others will follow if this is sucessfull 2011-08-24 14:27:04 +00:00
Jo-Philipp Wich
1d76d8a215 applications, modules: remove i18n handling from controller modules as it moved to the themes now 2011-08-12 13:16:27 +00:00
Manuel Munz
7c9cecad3a modules/freifunk: Add profile for carbodebit (fr) 2011-08-05 17:24:27 +00:00
Jo-Philipp Wich
563598a976 modules/admin-full: fix "undefined" netmask display on main status page 2011-07-31 12:37:22 +00:00
Jo-Philipp Wich
7b316be27b modules/admin-full: properly set device option for newly created vlan sections 2011-07-22 13:56:02 +00:00
Jo-Philipp Wich
9fdb4acec0 modules/admin-full: fix 4k vlan option 2011-07-17 08:28:56 +00:00
Jo-Philipp Wich
76e5b68bb9 modules/admin-full: don't expose "reset" and "enable" options for switches, do not set any default state for "enable_vlan" 2011-07-17 05:46:54 +00:00
Matthias Uferer
3faeaddc5e wait 40 seconds before rdate because of
olsr has to create the whole routing-table first
2011-07-05 12:28:40 +00:00
Manuel Munz
528faebb01 contrib/meshwizard: Allow setting system config values via the community profiles 2011-07-04 22:45:10 +00:00
Matthias Uferer
d7a4505cad space inserted to the link 2011-07-04 20:12:00 +00:00
Matthias Uferer
f57f25fcb8 found a little bug and corrected - there was no translation for: It is
operated by
2011-07-04 18:05:23 +00:00
Jo-Philipp Wich
19f94464c6 modules/admin-full: fix off-by-one in conloglevel option (#263) 2011-07-02 15:47:27 +00:00
Jo-Philipp Wich
6d65042743 modules/admin-full: fix "No information available" in admin status assoclist 2011-07-01 01:48:57 +00:00
Jo-Philipp Wich
d3db8d1d25 modules/admin-full: fix dhcp section creation logic on interfaces page 2011-07-01 01:23:02 +00:00
Jo-Philipp Wich
8b6deb3029 modules/freifunk: override channel 01 bssid for gadow, leipzig and l59 profiles 2011-06-27 22:49:58 +00:00
Jo-Philipp Wich
c5f0100abf modules/admin-full: add "auto" option to interface settings (#235) 2011-06-25 23:24:23 +00:00
Jo-Philipp Wich
e7b9b7798d modules/admin-full: fix reversed allow/deny macfilter logic (#105) 2011-06-25 22:34:46 +00:00
Jo-Philipp Wich
2d28a55a53 modules/admin-full: relocate mac80211 mac filter settings to wifi-iface (#247) 2011-06-25 22:14:00 +00:00
Jo-Philipp Wich
d7120e7559 modules/admin-full: defer writing of interface related dhcp options until an actual save occurs, prevents "unsaved changes" upon opening the interface settings page 2011-06-25 21:51:12 +00:00
Jo-Philipp Wich
3654347541 modules/admin-full: only display back button in changes page if a redir url is given 2011-06-25 20:47:00 +00:00
Manuel Munz
ab87896104 Add new meshwizard (WIP) 2011-06-23 15:52:00 +00:00
Jo-Philipp Wich
e88fd858a1 modules/admin-full: display raw opkg output, the error codes are useless with recent versions 2011-06-23 10:14:26 +00:00
Jo-Philipp Wich
6b5e711614 modules/admin-full: filter installed packages from installable list 2011-06-17 14:20:08 +00:00
Jo-Philipp Wich
70e5124557 modules/admin-full: display IPv4 routes in CIDR notation, filter FE80::/10 entries in IPv6 route listing 2011-06-17 12:34:28 +00:00
Matthias Uferer
64c6f8f4b6 Freifunk Gadow Profile added 2011-06-17 02:55:40 +00:00
Jo-Philipp Wich
aa3caed0b5 modules/admin-full: fix WPA-EAP and WPA2-EAP settings in STA-WDS mode 2011-06-15 23:14:38 +00:00
Jo-Philipp Wich
1d2f948280 modules/admin-full: add AHCP client support 2011-06-10 14:15:10 +00:00
Jo-Philipp Wich
f9f1b0ea33 modules/admin-full: readd jumbo frame passthrough support 2011-05-20 11:56:42 +00:00
Jo-Philipp Wich
2b25a8b5ad modules/admin-full: throw more work-arounds, exceptions, hacks and detections at switch config page 2011-05-20 11:49:09 +00:00
Jo-Philipp Wich
ac1d185381 modules/admin-full: fix backup section cutoff in system page if rdate is nil (#242) 2011-05-19 23:58:20 +00:00
Jo-Philipp Wich
5b464e500b modules/admin-full: fix wrong logic in r7078 2011-05-19 23:51:50 +00:00
Jo-Philipp Wich
f8ef4ff722 modules/admin-full: allow vlan 0 for /proc/switch interface 2011-05-19 12:22:18 +00:00
Jo-Philipp Wich
995674d28a modules/admin-core: remove "about" template 2011-05-09 23:11:34 +00:00
Jo-Philipp Wich
fd0510049a modules/admin-full: fix possible error in led page 2011-05-09 12:51:01 +00:00
Jo-Philipp Wich
73112f9c44 modules/admin-full: fix system/admin from form() to cbi() type to add missing apply button (#234), integrate services/initscripts as system/startup 2011-05-04 21:37:41 +00:00
Jo-Philipp Wich
ec0fbaff3e modules/admin-full: move system/processes to status/processes 2011-05-04 21:23:55 +00:00
Jo-Philipp Wich
fc84bd87ec modules/admin-full: add a simple plugin mechanism to status page 2011-05-04 21:04:31 +00:00
Jo-Philipp Wich
6e14fd0bc2 modules/admin-full: join maps in merged dnsmasq page 2011-05-03 22:22:26 +00:00
Jo-Philipp Wich
0ecee984af modules/admin-full: merge services/dnsmasq and network/dhcpleases into network/dhcp 2011-05-03 22:06:29 +00:00
Jo-Philipp Wich
c8f8dec0e3 modules/admin-full: remove support for httpd and lucittpd configuration, it just takes space 2011-05-03 21:48:57 +00:00
Jo-Philipp Wich
32d667edbb modules/admin-full: merge system/password, system/sshkeys and service/dropbear into system/admin 2011-05-03 03:35:56 +00:00
Jo-Philipp Wich
6697e282af trunk: s/&nbsp;/&#160;/g 2011-05-03 03:20:15 +00:00
Jo-Philipp Wich
f845d2fe42 modules/admin-full: fix formatting quirk on wifi overview page 2011-04-30 16:13:30 +00:00
Jo-Philipp Wich
254c8d368e modules/admin-full: revert accidental change in r7003 2011-04-25 19:56:10 +00:00
Jo-Philipp Wich
542cc1da5b modules/admin-full: implement "dev" option for USB device led triggers (#224) 2011-04-25 19:54:32 +00:00
Jo-Philipp Wich
84cb0bce77 modules/admin-full: add option for RTL8366 jumbo frame passthrough to vlan page 2011-04-25 19:11:42 +00:00
Jo-Philipp Wich
e9a357ed78 modules/admin-full: fix text quirk on status overview page 2011-04-25 18:23:05 +00:00
Jo-Philipp Wich
0a252c0f8a modules/admin-full: add macfilter options to mac80211 wifi config 2011-04-25 17:45:59 +00:00
Manuel Munz
0c281f4e86 modules/freifunk: Show remote update in menu only when /usr/sbin/remote-update from the package remote-update is present (#160) 2011-04-13 16:22:54 +00:00
Manuel Munz
5a1e9354b4 modules/freifunk: Hardcoding timezone was not a good idea 2011-04-04 12:04:42 +00:00
Manuel Munz
288a63f919 modules/freifunk: Show date/time in a bit nicer format (#184) 2011-04-04 11:50:09 +00:00
Jo-Philipp Wich
e853a98c3e modules/admin-full: use crypto mode "wep-open" instead of just "wep" in connection wizzard 2011-03-24 21:08:28 +00:00
Jo-Philipp Wich
ad45ebf430 modules/admin-full: fix wep key handling in sta mode connection wizzard 2011-03-24 20:56:23 +00:00
Jo-Philipp Wich
c1ca9106b8 modules/admin-full: properly display interface stats for networks with underscores 2011-03-18 16:50:18 +00:00
Jo-Philipp Wich
ff5a74c25f modules/admin-full: fix index page (#213) 2011-03-15 17:55:14 +00:00
Jo-Philipp Wich
1bce159bb1 modules/admin-full: rename index page node from "Interfaces" to "overview" 2011-03-15 09:24:02 +00:00
Jo-Philipp Wich
f5bfd8b75b modules/admin-full: move former active connections arp info to the routes overview page 2011-03-13 22:15:53 +00:00
Jo-Philipp Wich
6ea0204a55 modules/admin-full: merge "Active Connections" and "Realtime Connections" 2011-03-13 22:12:42 +00:00
Jo-Philipp Wich
831654f504 modules/admin-full: remove status -> interfaces 2011-03-13 19:23:38 +00:00
Jo-Philipp Wich
2321cd2afe modules/admin-full: add some links to index page 2011-03-13 19:08:40 +00:00
Jo-Philipp Wich
02a7db9252 modules/admin-full: hide relay options for other protocols, resolve option conflict 2011-03-13 19:07:27 +00:00
Jo-Philipp Wich
e0d763785e modules/admin-full: don't count TIME_WAIT connections in luci-bwc 2011-03-13 17:52:03 +00:00
Jo-Philipp Wich
026945ae09 modules/admin-full: display source and destination ports in conntrack view (#211) 2011-03-13 17:39:36 +00:00
Jo-Philipp Wich
637e3cd0e3 modules/admin-full: do not use private wifinet properties in network controller 2011-03-13 17:29:06 +00:00
Jo-Philipp Wich
c7cf8ef8c1 modules/admin-full: use luci.tools.status for remaining wifi status displays 2011-03-13 17:25:54 +00:00
Jo-Philipp Wich
bc6e9ec07e modules/admin-core: add wifi_network() to luci.tools.status 2011-03-13 17:10:43 +00:00
Jo-Philipp Wich
18677e216b modules/admin-full: use luci.tools.status in network controller 2011-03-13 14:00:45 +00:00
Jo-Philipp Wich
5112af896f modules/admin-full: add dhcp and wifi status info 2011-03-13 13:57:21 +00:00
Jo-Philipp Wich
adc2ba97d1 modules/admin-core: add tools.status helper class 2011-03-13 13:54:43 +00:00
Jo-Philipp Wich
63bfe23eab modules/admin-full: use %m format in interface overview 2011-03-13 11:13:52 +00:00
Manuel Munz
945076c895 modules/freifunk: OSM in basics fixed thanks to Andreas Pittrich 2011-03-12 17:13:36 +00:00
Vasilis Tsiligiannis
8a898ec199 modules/admin-full: Fix description of Hermes wireless controllers 2011-03-06 11:16:14 +00:00
Vasilis Tsiligiannis
108321b5df modules/admin-full: Orinoco and HostAP drivers are 802.11b only 2011-03-06 11:16:07 +00:00
Manuel Munz
32aec7a4f3 modules/freifunk: Set uhttpd.main.rfc1918_filter=0 via uci-defaults/freifunk to allow connections from rfc1918 ip space to public ips 2011-03-03 21:01:17 +00:00
Manuel Munz
c3357a031c modules/freifunk: Change domain suffix to ffbt in profile for Bayreuth 2011-02-28 12:50:15 +00:00
Manuel Munz
2d0e20c461 modules/freifunk: Change domain suffix to ffac in profile for Aachen 2011-02-28 12:38:48 +00:00
Vasilis Tsiligiannis
be0da6a545 modules/admin-full: Detect hostap Prism2/2.5/3 hardware 2011-02-26 22:30:58 +00:00
Jo-Philipp Wich
2859e51474 modules/admin-full: add relay protocol support 2011-02-26 01:37:29 +00:00
Manuel Munz
43672158c1 modules/freifunk: change netmask in leipzig profile 2011-02-23 23:15:25 +00:00
Jo-Philipp Wich
3e16965106 modules/admin-full: add field validation for hostnames in leases and hosts pages 2011-02-22 09:52:49 +00:00
Jo-Philipp Wich
02a67572f8 modules/admin-full: restart radvd if needed 2011-02-21 12:46:03 +00:00
Manuel Munz
1a87c7b347 modules/freifunk: Change default netmask to 255.255.0.0, change non-working dns, show error when user tries to edit profiles but there is no profile set yet 2011-02-19 14:54:16 +00:00
Manuel Munz
f9563981b8 modules/freifunk: Add profile for Aachen 2011-02-19 11:17:59 +00:00
Manuel Munz
9215f16c9f po: Move p2pblock translations from freifunk into own translation files 2011-02-14 18:01:20 +00:00
Jo-Philipp Wich
09ab3902dd modules/admin-full: remove cpu info 2011-02-14 17:05:08 +00:00
Manuel Munz
f49fcbd40e modules/freifunk: Minor i18n fixes 2011-02-14 12:22:41 +00:00
Manuel Munz
c3e4cd62a7 modules/freifunk: make ff_rdate more efficient 2011-02-13 11:21:18 +00:00
Manuel Munz
db1454cf48 modules/freifunk: change ff_rdate to use /etc/config/timeserver 2011-02-12 19:52:48 +00:00
Manuel Munz
518d981c92 modules/freifunk: rdate config not needed anymore 2011-02-12 19:49:35 +00:00
Manuel Munz
f04acc4b94 modules/admin-full: Fixes for rdate config 2011-02-12 19:30:59 +00:00
Manuel Munz
819fa18e16 modules/admin-full: Switch to the new rdate timeserver config in /etc/config/timeserver (#132) 2011-02-12 19:10:19 +00:00
Manuel Munz
408a58f6f6 web: Improve hostname validation 2011-02-12 11:09:13 +00:00
Manuel Munz
fc40d9a462 modules/freifunk: Make menu use i18n 2011-02-11 21:12:44 +00:00
Manuel Munz
4e416a6417 modules/freifunk: Add profile for Bayreuth 2011-02-11 19:05:55 +00:00
Jo-Philipp Wich
0d478ab962 modules/admin-full: rework index page 2011-02-11 05:01:18 +00:00
Manuel Munz
6aa6b3b7eb applications/luci-olsr-services: Move services away from mod-freifunk and make it seperate app instead. 2011-02-10 14:58:44 +00:00
Manuel Munz
6411e58b09 modules/freifunk: Fix html error, closes #197 2011-02-09 20:16:16 +00:00
Jo-Philipp Wich
2cb4a823a2 modules/admin-full: fix checkbox default states 2011-02-08 17:41:33 +00:00
Jo-Philipp Wich
1f653ab141 modules/admin-full: IE 8 JavaScript fixes... 2011-02-06 01:58:55 +00:00
Manuel Munz
8cd629e148 modules/freifunk: Fix problem with public_status html 2011-02-03 15:17:50 +00:00
Jo-Philipp Wich
617e93a623 modules/admin-full: fix default state option on led control page 2011-02-02 23:47:54 +00:00
Manuel Munz
8ab48be606 modules/freifunk: i18n for basics.lua and helptext for latlon (#177) 2011-02-02 10:55:38 +00:00
Jo-Philipp Wich
2414ae3f9a modules/admin-full: allow multiple dropbear instances again 2011-01-30 16:11:43 +00:00
Jo-Philipp Wich
7433b822ba modules/admin-full: fix wireless bridging from within wifi config page 2011-01-30 01:30:22 +00:00
Jo-Philipp Wich
80c2b4cf46 modules/admin-full: add ip6tables status output (#193) 2011-01-29 22:50:13 +00:00
Jo-Philipp Wich
3be5b9fa06 modules/admin-full: use new Flag default facility to improve handling of peerdns and defaultroute bools 2011-01-29 17:58:22 +00:00
Manuel Munz
3d0d60f3fb admin_uci: Fix spelling, close #191 2011-01-29 13:01:03 +00:00
Jo-Philipp Wich
7e9b472ea9 revert accidentally committed changes 2011-01-29 03:33:48 +00:00
Jo-Philipp Wich
ae8769ce7b po: sync radvd translations 2011-01-29 03:32:06 +00:00
Manuel Munz
c2b107ed46 modules/freifunk: Oops, forgot to fix that one before commiting, working again now 2011-01-29 01:19:22 +00:00
Manuel Munz
77475804e0 modules/freifunk: i18n 2011-01-28 23:31:10 +00:00
Manuel Munz
3813d639de applications/ffwizard: Do not disable diversity because we don't know which antenna is connected. Instead show a warning on admin/freifunk/adminindex when diversity is enabled and tell the user to change that. 2011-01-27 13:52:37 +00:00
Manuel Munz
c36fd44de2 applications/ffwizard: Massive changes to the ffwizard to make it more generic. Also introduces changes to the community profiles. ffwizard replaces ffwizard-leipzig now. It is not completely finished yet, but should work in most cases. 2011-01-25 21:04:57 +00:00
Jo-Philipp Wich
dc0688dbbc modules/admin-full: fix txpower related config issues with atheros and broadcom drivers 2011-01-24 07:37:06 +00:00
Jo-Philipp Wich
02977e5329 modules/admin-full: properly escape title is uci changes menu entries, fixes 3rd party templates still displaying the menu 2011-01-22 00:09:43 +00:00
Jo-Philipp Wich
68c596d98e modules/admin-full: revert wifi_join.htm from previous commit 2011-01-20 23:29:00 +00:00
Jo-Philipp Wich
6942e4ab1b modules/admin-full: rework wifi status templates 2011-01-20 23:27:48 +00:00
Jo-Philipp Wich
5d426cf4ac modules/admin-full: rework wifi CBI maps 2011-01-20 23:26:49 +00:00
Jo-Philipp Wich
b8c1487f6d modules/admin-full: add menupoints for wifi networks 2011-01-20 23:25:40 +00:00
Jo-Philipp Wich
0f4a0cd85a modules/admin-full: fix diagnostics page in IE 2011-01-20 12:49:42 +00:00
Jo-Philipp Wich
5841fce7c6 modules/admin-full: allown symbolic hostnames for pptp server option 2011-01-19 18:42:06 +00:00
Jo-Philipp Wich
36a2fbae7b modules/admin-core: fix stray servicectl button in modemenu 2011-01-18 18:01:53 +00:00
Manuel Munz
5858bd3c13 modules/freifunk: When olsrd was loaded but there were no neighbors then the page for services was showing an error. 2011-01-15 18:13:19 +00:00
Jo-Philipp Wich
723914264e modules/admin-full: make "Join Network" translateble, thanks noodlex 2011-01-14 22:43:15 +00:00
Jo-Philipp Wich
6718931452 modules/admin-full: remove old welcome page 2011-01-13 22:27:14 +00:00
Jo-Philipp Wich
13fbce85b4 modules/admin-full: make logout a toplevel item, remove overview menu 2011-01-13 22:21:16 +00:00
Jo-Philipp Wich
ce71032408 modules/admin-full: merge Overview -> User Interface into System -> System page 2011-01-13 22:13:35 +00:00
Manuel Munz
fde45180c9 modules/freifunk: Add suffix to augsburg profile 2011-01-12 20:58:34 +00:00
Manuel Munz
2d14ee545b modules/freifunk: Fix js in public_status.htm 2011-01-11 13:15:38 +00:00
Jo-Philipp Wich
8feae0cba8 modules/admin-full: rework wep/wpa key handling 2011-01-10 23:23:32 +00:00
Jo-Philipp Wich
84c6b17d78 modules/admin-full: display kernel version 2011-01-10 23:08:10 +00:00
Jo-Philipp Wich
f43cdc0e35 modules/admin-full: add enable_vlan4k option to switch page 2011-01-10 18:40:35 +00:00
Jo-Philipp Wich
f61147a82b modules/admin-full: fixup newlines when storing sysupgrade.conf 2011-01-10 15:48:49 +00:00
Jo-Philipp Wich
69a377e302 modules/admin-full: fix broadcast address option 2011-01-09 22:52:49 +00:00
Manuel Munz
aed262df1f modules/freifunk: Add profile Rosbach, change Jena essid and dns servers 2011-01-09 18:16:30 +00:00
Jo-Philipp Wich
ea7a4bee18 modules/freifunk: do some minor code cleanups and html fixes in public status page 2011-01-03 00:16:45 +00:00
Jo-Philipp Wich
c4f70ce38a modules/rpc: remove uvl bindings 2011-01-02 19:55:21 +00:00
Jo-Philipp Wich
b06772e9fd modules/admin-core: remove uvl schemas 2011-01-02 19:30:58 +00:00
Manuel Munz
9dcf1d9e60 2010-12-21 22:07:57 +00:00
Manuel Munz
56bff936e7 modules/freifunk: Fix a problem that happened when ipv6 was not enabled by adding checks 2010-12-17 03:35:17 +00:00
Manuel Munz
1a2165b0bd modules/freifunk: Delete cgi-bin-{nodes,status}.html because they were moved to applications/luci-olsr 2010-12-17 02:16:21 +00:00
Manuel Munz
6951da02ce modules/freifunk: Make status page update dynamically with javascript and small cosmetic changes. 2010-12-15 16:35:19 +00:00
Manuel Munz
03baaa144f modules/freifunk: Revert last change 2010-12-07 11:27:22 +00:00
Manuel Munz
3f7179869f modules/freifunk: Wifi status was not showing on brcm47xx. 2010-12-07 11:13:39 +00:00
Manuel Munz
0a047ca8b8 modules/freifunk: forgot to make new variables local in last patch 2010-12-05 18:55:05 +00:00
Manuel Munz
a5e14ba6b2 modules/freifunk: Prevent injections 2010-12-05 18:53:00 +00:00
Jo-Philipp Wich
2530590e50 modules/admin-full: 6to4 now supports multiple internal networks 2010-12-03 22:24:08 +00:00
Jo-Philipp Wich
02ad68a406 modules/admin-full: add supported bands to wifi overview adapter titles 2010-12-02 12:21:18 +00:00
Jo-Philipp Wich
4e1bf37c43 modules/admin-full: add uptime to iface status templates 2010-12-01 21:17:39 +00:00
Jo-Philipp Wich
a493e28e91 modules/admin-full: utilize luci.model.network, add uptime in iface_status action 2010-12-01 21:16:49 +00:00
Jo-Philipp Wich
d7ff116d8a modules/admin-full: use String.format('%t', ...) in lease status template 2010-12-01 20:54:52 +00:00
Jo-Philipp Wich
22aa83de00 modules/admin-full: resolve scope issue in previous commit 2010-12-01 20:07:17 +00:00
Jo-Philipp Wich
9be4231a10 modules/admin-full: hide rdate if not present in config 2010-12-01 20:03:13 +00:00
Manuel Munz
12f0c3cdd6 modules/freifunk: show warning when libiwinfo is not installed. 2010-12-01 12:31:07 +00:00
Jo-Philipp Wich
143131ea77 modules/admin-full: track non-tcp or udp connections, use /proc/net/nf_conntrack on newer systems 2010-11-29 14:14:17 +00:00
Jo-Philipp Wich
ceff3fc35c modules/admin-full: implement connection graph, cross browser fixes 2010-11-28 18:01:07 +00:00
Jo-Philipp Wich
750b023494 modules/admin-full: implement load graph 2010-11-28 14:40:43 +00:00
Jo-Philipp Wich
45cedb0fbd modules/admin-full: fix ordering 2010-11-28 06:51:33 +00:00
Jo-Philipp Wich
9c6efa1554 modules/admin-full: hide special interfaces like imq0, mon.wlan0 etc. 2010-11-28 06:50:38 +00:00
Jo-Philipp Wich
ea8465e98b modules/admin-full: remove leftover debug html 2010-11-28 06:45:10 +00:00
Jo-Philipp Wich
ae3825387b modules/admin-full: add SVG based realtime bandwidth status 2010-11-28 06:41:45 +00:00
Manuel Munz
f45d5fb952 modules/freifunk: Fix whitespace errors 2010-11-27 18:44:47 +00:00
Manuel Munz
16b42cd274 modules/freifunk: Add latlon to all profiles and add profiles for Dresden, Neuss, Pberg, Piraten Bergisches Land and Piraten Dresden. Thanks to patrick(at)lunatiki(dot)de 2010-11-27 18:35:44 +00:00
Jo-Philipp Wich
aaeec06e3e modules/admin-full: display an error if libiwinfo is not installed 2010-11-27 18:24:38 +00:00
Jo-Philipp Wich
2e0fbbadc5 modules/admin-full: rework fstab pages, include extroot options 2010-11-27 04:55:38 +00:00
Jo-Philipp Wich
21c441c5d1 modules/admin-full: honour keep settings choice on firmware upgrade 2010-11-26 16:50:11 +00:00
Jo-Philipp Wich
0ba2c5c661 modules/admin-full: remove debug code for firmware upgrade 2010-11-26 16:41:30 +00:00
Manuel Munz
d003857775 modules/freifunk: Argh, accidentally reverted translation string. 2010-11-26 14:14:41 +00:00
Manuel Munz
1c0f48fed6 modules/freifunk: Optimize variable init and fix whitespace issues 2010-11-26 14:12:35 +00:00
Manuel Munz
4451d551a4 modules/freifunk: fix typo 2010-11-26 13:43:20 +00:00
Manuel Munz
f71776c1cd modules/freifunk: Rewrite status as view and use iwinfo 2010-11-26 11:01:08 +00:00
Manuel Munz
f1c6b2974b modules/freifunk: Add profile for Bern. (#169) 2010-11-25 16:29:42 +00:00
Jo-Philipp Wich
2d5d5a860c modules/admin-core: remove luci-flash 2010-11-25 08:15:44 +00:00
Jo-Philipp Wich
77ae07c88f modules/admin-full: pass along backlink in uci pages 2010-11-25 08:06:22 +00:00
Jo-Philipp Wich
5b05e6d020 modules/admin-full: style fixes on diagnostics page 2010-11-24 20:14:44 +00:00
Jo-Philipp Wich
23da14d303 modules/admin-full: add diagnostics page with ping / traceroute / nslookup 2010-11-24 20:09:37 +00:00
Jo-Philipp Wich
c897d47af2 modules/admin-full: fix backup generation 2010-11-24 13:42:20 +00:00
Manuel Munz
a411c56c87 modules/freifunk/services: Use cbi table style 2010-11-23 23:40:54 +00:00
Jo-Philipp Wich
f3d0ba58e5 modules/admin-full: disable hosts page if dnsmasq is not installed 2010-11-23 22:38:01 +00:00
Jo-Philipp Wich
1aa676d501 modules/admin-full: make menus work with no dnsmasq or firewall installed 2010-11-23 00:11:00 +00:00
Manuel Munz
cf6bda5c96 Move redirects to modules/freifunk (#151) 2010-11-21 19:17:22 +00:00
Manuel Munz
b4e6abe5bf modules/freifunk: Fix ff_mapupdate and close #128 2010-11-18 19:53:33 +00:00
Jo-Philipp Wich
895c657381 modules/admin-full: fix swapped RX/TX in iface overview (#165) 2010-11-18 14:54:46 +00:00
Manuel Munz
14128c29e4 modules/admin-full/system: Add option for log_port 2010-11-18 13:49:52 +00:00
Manuel Munz
8c71e234dc modules/freifunk: Add netmask to marburg community template 2010-11-18 10:31:51 +00:00
Manuel Munz
610629769a modules/freifunk: fix community template for augsburg 2010-11-18 10:30:17 +00:00
Manuel Munz
c30a8a9d52 modules/freifunk: Fix/add some translations 2010-11-18 09:28:16 +00:00
Jo-Philipp Wich
4025427692 modules/admin-full: layout tweaks 2010-11-18 04:25:07 +00:00
Jo-Philipp Wich
e73df4fb45 modules/admin-full: use big wifi icons 2010-11-18 03:41:13 +00:00
Manuel Munz
e8a9cad684 modules/freifunk: Make the public index page editable 2010-11-18 03:29:17 +00:00
Manuel Munz
543e129ab5 modules/freifunk: Fix small error for wireless protocol 2010-11-18 03:26:27 +00:00
Manuel Munz
8e62643c6a modules/freifunk: Add community profile for Marburg 2010-11-18 03:10:44 +00:00
Jo-Philipp Wich
a5dc680dee modules/admin-full: IE fixes 2010-11-18 01:34:56 +00:00
Manuel Munz
b054595412 Freifunk: Add page to show services announced by olsrd 2010-11-17 22:45:36 +00:00
Jo-Philipp Wich
184523b6e7 modules/admin-full: xhr fixes 2010-11-17 15:23:21 +00:00
Jo-Philipp Wich
ba226fda1b modules/admin-full: add missing translations to switch config page 2010-11-17 01:57:53 +00:00
Jo-Philipp Wich
218ca5d731 modules/admin-full: fix disabling of rebind protection in dnsmasq config 2010-11-17 00:06:40 +00:00
Jo-Philipp Wich
37c749025d modules/admin-full: rework static routes config, add metric, mtu and live validation 2010-11-16 19:06:51 +00:00
Jo-Philipp Wich
ce88550559 modules/admin-full: fix wifi join 2010-11-16 00:04:28 +00:00
Jo-Philipp Wich
3386d649ea modules/admin-full: readd atm bridge config 2010-11-15 23:00:53 +00:00
Jo-Philipp Wich
125eb141de modules/admin-full: rework interface add model 2010-11-15 22:11:18 +00:00
Jo-Philipp Wich
d26e671b78 modules/admin-full: add missing svn property to previous commit 2010-11-15 22:09:47 +00:00
Jo-Philipp Wich
75e807e289 modules/admin-full: new interface overview page, other template changes 2010-11-15 22:08:42 +00:00
Jo-Philipp Wich
b6ee173c59 modules/admin-full: new network actions 2010-11-15 22:04:56 +00:00
Jo-Philipp Wich
251088304e modules/admin-full: template tweaks 2010-11-15 14:41:30 +00:00
Jo-Philipp Wich
19d1578077 modules/admin-full: hide 6to4 options for other protocols 2010-11-15 12:42:24 +00:00
Jo-Philipp Wich
07bc8396a9 modules/admin-full: add 6to4 configuration support 2010-11-15 12:31:41 +00:00
Jo-Philipp Wich
442438fe9d modules/admin-full: fix join/edit links in wifi overview 2010-11-13 20:52:00 +00:00
Jo-Philipp Wich
cb1dee09e1 modules/admin-full: add a missing escape in packages template 2010-11-13 13:58:30 +00:00
Jo-Philipp Wich
59eb5ff576 modules/admin-full: fix typo introduced with r6406 2010-11-09 19:53:01 +00:00
Jo-Philipp Wich
639664a40e modules/admin-full: add missing translation calls to wifi overview
tempalte
2010-11-09 19:33:09 +00:00
Jo-Philipp Wich
97e27a0bcf modules/admin-full: properly handle disabled radios in live overview 2010-11-08 22:40:04 +00:00
Jo-Philipp Wich
b9c9b7ffeb modules/admin-full: add assoclist to wifi status JSON response 2010-11-08 21:52:09 +00:00
Jo-Philipp Wich
e75c0911a3 modules/admin-full: live status for wifi overview page 2010-11-08 21:51:24 +00:00
Jo-Philipp Wich
614f878fb4 modules/admin-full: add requested network id in wifi status JSON response 2010-11-08 18:48:05 +00:00
Jo-Philipp Wich
091857d3a8 modules/admin-full: fix missing translation call in previous commit 2010-11-08 18:29:30 +00:00
Jo-Philipp Wich
b6d80f297b modules/admin-full: abandon flash_keep and switch to /etc/sysupgrade.conf 2010-11-08 18:27:34 +00:00
Jo-Philipp Wich
ff9398b605 modules/admin-full: fix bad colspan in lease status template 2010-11-08 09:29:48 +00:00
Jo-Philipp Wich
cb3caa6e30 modules/admin-full: live status, validation for dhcp leases 2010-11-07 23:31:19 +00:00
Jo-Philipp Wich
e910619bbd modules/admin-full: rework dnsamasq page, get rid of options, add tabs, better help texts 2010-11-07 22:38:37 +00:00
Jo-Philipp Wich
9663c7cf2e modules/admin-full: switch to luci.http.write_json() 2010-11-07 19:28:07 +00:00
Jo-Philipp Wich
0364054107 modules/admin-full: various fixes in interface cbi model 2010-10-31 22:01:38 +00:00
Jo-Philipp Wich
b9dfdb9d0d modules/admin-full: correctly update title on wifi config page 2010-10-30 02:34:20 +00:00
Jo-Philipp Wich
87fd9de5b6 modules/admin-full: fix usage of network model in network controller 2010-10-30 02:31:43 +00:00
Jo-Philipp Wich
3b1f2e9021 modules/admin-full: various vlan fixes 2010-10-30 02:30:49 +00:00
Jo-Philipp Wich
a3e66af2a3 modules/admin-full: convert controller to new network model 2010-10-30 00:46:41 +00:00
Jo-Philipp Wich
185eacba4b modules/admin-full: convert cbi maps to new network model 2010-10-30 00:45:43 +00:00
Jo-Philipp Wich
ba84656d6e modules/admin-full: convert admin templates to new network model 2010-10-30 00:44:34 +00:00
Jo-Philipp Wich
5e0536d61a modules/admin-full: add wep-open and wep-shared support 2010-10-27 11:50:08 +00:00
Jo-Philipp Wich
f6b77ef7f0 modules/admin-full: add realtime iface status to config page 2010-10-25 22:26:08 +00:00
Jo-Philipp Wich
cd63354f7e modules/admin-full: fix inconsistency in iface config 2010-10-25 17:06:56 +00:00
Jo-Philipp Wich
a4c5bc28df modules/admin-full: add support for 6in4, enable live validation 2010-10-21 20:52:37 +00:00
Jo-Philipp Wich
7a7120a447 modules/admin-full: move pppoa related options into ATM tab 2010-10-20 22:42:15 +00:00
Jo-Philipp Wich
98d1bef681 modules/admin-full: add configuration support for ATM bridges 2010-10-20 21:48:44 +00:00
Jo-Philipp Wich
96ec7d4d61 modules/admin-full: only offer hwmodes actually supported by the wiphy 2010-10-19 21:32:13 +00:00
Jo-Philipp Wich
7ae988f342 modules/admin-full: rework wifi configuration 2010-10-19 04:08:15 +00:00
Jo-Philipp Wich
670648ad21 modules/admin-full: rework changes/apply/revert pages 2010-10-15 21:53:28 +00:00
Jo-Philipp Wich
85113773d2 modules/admin-full: add port PVID support to switch page 2010-10-14 23:38:54 +00:00
Jo-Philipp Wich
df3955f5c6 modules/admin-full: make vlan page work with extend vlan ids 2010-10-14 00:24:01 +00:00
Jo-Philipp Wich
ba5e6a9e63 modules/admin-full: big vlan rework, now supports tagging, integrity checking and 4k vlans 2010-10-12 23:12:30 +00:00
Jo-Philipp Wich
7b23839dce modules/admin-full: fix arp lookup in wifi overview 2010-10-12 05:06:34 +00:00
Jo-Philipp Wich
a11d6e2a61 modules/admin-full: rework wifi form, now with driver data 2010-10-12 05:04:49 +00:00
Jo-Philipp Wich
e2db48ab36 modules/admin-core: add service control module for interfacing with luci-reload 2010-10-11 22:53:02 +00:00
Vasilis Tsiligiannis
8caa92b1c8 po: base: Use luci-0.9 branch definitions for r6199 2010-07-01 09:52:41 +00:00
Vasilis Tsiligiannis
581d0cbff3 po: base: Add some missing LED related translations 2010-07-01 09:52:27 +00:00
Vasilis Tsiligiannis
66a5b8146f Force postinst script exiting with return code 0 2010-07-01 09:52:12 +00:00
Vasilis Tsiligiannis
b6a5953b05 po: base: Add some missing translations to admin-full module 2010-06-30 22:09:47 +00:00
Jo-Philipp Wich
382a33f40a modules/admin-full: fix crash on network interface overview page 2010-04-19 18:07:30 +00:00
Jo-Philipp Wich
cde6e129d4 modules/admin-full: merge rewritten package management from luci-0.9 2010-04-18 22:55:59 +00:00
Daniel Dickinson
e7b856f159 admin-mini: Fixed firmware flash; was referring to admin-full upgrade instead of mini 2010-04-15 00:15:35 +00:00
Benoît Knecht
9ed5a0d6fa admin-full: add table headers on the 'Network' page
Match the headers of the admin-mini version.
2010-04-13 12:58:34 +00:00
Steven Barth
c8d6a460bd Add Freifunk {Heppen,Bens}heim as requested by Marcus Raphael Bickel 2010-04-12 14:03:57 +00:00
Jo-Philipp Wich
85821b20f6 modules/admin-full: brcm-2.4 now supports hwmode, add support 2010-04-07 21:59:00 +00:00
Jo-Philipp Wich
be7dc732ef modules/admin-core: remove left over references to luci_hosts and luci_ethers 2010-04-05 17:37:26 +00:00
Jo-Philipp Wich
08ceafc2e9 modules/admin-{mini,full}: display client hostnames in lease overview 2010-04-04 17:28:15 +00:00
Jo-Philipp Wich
58529e7b7b modules/admin-core: trap signals in luci-flash 2010-04-03 17:52:35 +00:00
Jo-Philipp Wich
61b9022e51 modules/admin-mini: sync backup code with admin-full 2010-03-28 17:55:35 +00:00
Jo-Philipp Wich
876b33a1dd modules/admin-mini: add missing ltn12_popen() 2010-03-28 17:42:05 +00:00
Jo-Philipp Wich
564649cb92 modules/admin-full: create rdate section in /e/c/system if there is none 2010-03-27 23:51:39 +00:00
Jo-Philipp Wich
8016c9649f modules/admin-core: fix a long standing encoding issue with query strings in the login form 2010-03-27 21:48:35 +00:00
Jo-Philipp Wich
6003886675 modules/admin-full: accept any input in vlan setup as long as it contains a number 2010-03-27 17:41:14 +00:00
Jo-Philipp Wich
d9cbd92d99 modules/admin-full: add rdate frontend 2010-03-27 17:29:19 +00:00
Jo-Philipp Wich
903bea9683 modules/admin-{mini,full}: prevent crash in iface overview page if ifconfig does not return information 2010-03-27 14:54:06 +00:00
Jo-Philipp Wich
73aadcd119 modules/admin-core: correct date format in luci_fixtime, save time on shutdown (OpenWrt #6921) 2010-03-27 02:44:56 +00:00
Jo-Philipp Wich
eaaaa39c17 modules/admin-{mini,full}: start sysupgrade in background 2010-03-27 02:01:36 +00:00
Jo-Philipp Wich
a29163c2ae modules/admin-full: handle dnsmasq 'server' uci option (#115) 2010-03-25 13:47:21 +00:00
Jo-Philipp Wich
103e532246 modules/admin-full: apply timezone immediately (#103) 2010-03-25 13:42:54 +00:00
Jo-Philipp Wich
a6722be769 modules/admin-mini: luci_ethers -> dhcp conversation 2010-03-24 00:02:26 +00:00
Vasilis Tsiligiannis
2a9ffa6d28 Fix language selection broken after po file merges 2010-03-13 20:13:41 +00:00
Jo-Philipp Wich
7867017972 modules/admin-full: don't expose ht capabilities in wifi config 2010-03-09 21:22:17 +00:00
Jo-Philipp Wich
acc4524a84 moodules/admin-core: add luci_{ethers,hosts} -> dhcp config migration 2010-03-09 11:37:12 +00:00
Jo-Philipp Wich
dc672daf3b module/admin-full: add missing mode+wds -> ap/sta-wds reverse mapping for mac80211 interfaces 2010-03-09 01:19:28 +00:00
Jo-Philipp Wich
5c7ec5827a modules/admin-full: only show mount point config if /e/c/fstab is present 2010-03-08 02:16:38 +00:00
Jo-Philipp Wich
95691ca53c trunk: drop luci_hosts, now covered by /etc/config/dhcp 2010-03-08 01:18:22 +00:00
Jo-Philipp Wich
3c39da44fb modules/admin-full: workaround integer overflow in ipv6 route display 2010-03-08 00:52:21 +00:00
Jo-Philipp Wich
72e3b2c7e5 modules/admin-full: don't display vlan config if there is no switch on the device 2010-03-07 16:33:29 +00:00
Jo-Philipp Wich
10c5dbef18 modules/freifunk: update settings for Mainz community profile (#111) 2010-03-07 15:24:18 +00:00
Jo-Philipp Wich
1322fdc8d2 modules/admin-full: rewrite vlan setup for new swconfig style config format 2010-03-06 19:13:03 +00:00
Jo-Philipp Wich
de8a2d0767 modules/admin-full: add extended mac80211 wireless options for 11n, patch by Dennis Bartsch 2010-02-27 23:21:14 +00:00
Jo-Philipp Wich
9a6b431249 modules/admin-full: move alias-broadcast and alias-dns to advanced tab 2009-12-25 00:44:38 +00:00
Jo-Philipp Wich
fc962c347c modules/admin-full: redirect back to overview page if trying to configure not existing wireless network 2009-12-25 00:42:51 +00:00
Jo-Philipp Wich
913ab50e2b modules/admin-full: link to wifi network adding in overview 2009-12-25 00:42:17 +00:00
Jo-Philipp Wich
4804facec2 modules/admin-full: (re-)implement adding of wireless networks 2009-12-25 00:41:55 +00:00
Jo-Philipp Wich
dcc617fc48 modules/admin-full: cope with missing wireless or dnsmasq config, hide menu points if config is not present 2009-12-21 02:50:30 +00:00
Jo-Philipp Wich
1a403dfcd6 modules/freifunk: add community profile for Oldenburg 2009-12-13 21:32:59 +00:00
Jo-Philipp Wich
83c12d548c modules/freifunk: mainz is now on 10.37.0.0, resolves conflict with ljubilana 2009-11-29 16:10:42 +00:00
Jo-Philipp Wich
8df506a4e2 moduls/freifunk: split ljubljana into kiberpipa and wlanljubljana, thanks Mitar! 2009-11-29 15:11:36 +00:00
Steven Barth
e822874a71 NIU:
Add WDS bridge client mode
Extending / repeating WDS network in AP wizard
Better 802.11s support
2009-11-29 13:46:04 +00:00
Jo-Philipp Wich
7f9c9d208e modules/niu: fix possible sdk crash in overview page 2009-11-27 16:52:34 +00:00
Jo-Philipp Wich
19b690c7d5 modules/admin-full: creating new ifaces was completely broken in trunk & 0.9, fix it 2009-11-25 02:19:37 +00:00
Jo-Philipp Wich
f541da8051 modules/freifunk: fix netmask for Ljubljana profile 2009-11-23 20:46:44 +00:00
Steven Barth
bd2ddbdc92 NIU: Minor fixes 2009-11-23 20:46:44 +00:00
Steven Barth
1f83b916ac NIU: Minor fixes 2009-11-23 19:36:37 +00:00
Steven Barth
8b80a623c3 NIU: Allow automatic unbridging of LAN ethernet for WAN use 2009-11-23 15:37:54 +00:00
Steven Barth
952836d1ef NIU:
Allow DHCP for Local Network (preparing WDS client)
Use niulib-wrapper for finding available interfaces
2009-11-23 13:52:53 +00:00
Jo-Philipp Wich
8163cc8e67 modules/niu: convert MHz to GHz in channel selection 2009-11-23 08:17:25 +00:00
Jo-Philipp Wich
5a2e23318e modules/niu: fix usage of mbssid_support() in niulib 2009-11-23 08:07:30 +00:00
Jo-Philipp Wich
39ee74e598 modules/freifunk: add profiles for Seefeld and Duesseldorf, reformat uci 2009-11-22 21:14:14 +00:00
Steven Barth
4cf6fdcdbe NIU:
Implemented WiFi-WAN
Overall improvements
2009-11-22 20:33:16 +00:00
Jo-Philipp Wich
bbfdc9ea83 modules/freifunk: add community profile for Mainz 2009-11-22 19:56:40 +00:00
Jo-Philipp Wich
4739f33d8c modules/admin-full: make dnsmasq addnhosts option a dynamic list 2009-11-22 12:00:29 +00:00
Steven Barth
2176dae3a0 NIU:
+PortFw
+QoS
Reorganize Network
2009-11-16 16:58:48 +00:00
Steven Barth
efe5fc77f9 NIU: Cleanup 2009-11-15 21:49:52 +00:00
Steven Barth
c27128946b NIU: Moar wifi options 2009-11-15 21:42:51 +00:00
Steven Barth
98f1d09a06 AP configuration 2009-11-15 19:02:34 +00:00
Steven Barth
70f77f481a If AP-WDS supports 802.11i then also allow the required options to be set 2009-11-15 19:02:25 +00:00
Jo-Philipp Wich
c7ff38c778 modules/admin-full: adjust usage of luci.sys.wifi.channels(), fix some i18n 2009-11-15 17:09:40 +00:00
Steven Barth
89ece183ef Merge luci.sys.wifi.channels to iwinfo 2009-11-15 15:46:27 +00:00
Steven Barth
2bfa17e6f4 NIU:
Initial wireless
DDNS: Show current address only if domain name is saved
Minor tweaks
2009-11-14 19:24:12 +00:00
Steven Barth
7baa560466 NIU: DDNS 2009-11-14 18:41:13 +00:00
Steven Barth
730a9b6f69 NIU:
Redesign dashboard Level 1
Network / System status on dashboard
Rework "LAN IP has changed" warning
Fix Routing table not hiding when requested
2009-11-14 13:41:37 +00:00
Steven Barth
0784b7b9d5 NIU:
WAN Ehternet / DSL complete.
Custom Routes complete.
Conntrack introduced.
Overall minor fixes.
2009-11-13 18:26:06 +00:00
Steven Barth
7da7ada00b NIU: More restructuring, Add: change password, hostname 2009-11-12 17:45:08 +00:00
Jo-Philipp Wich
dc108a3043 modules/admin-core: force exit 0 in postinst to suppress opkg error messages 2009-11-11 22:55:09 +00:00
Jo-Philipp Wich
a3c4c0b87b modules/freifunk: remove custom rc.local handling 2009-11-11 13:48:30 +00:00
Steven Barth
7aed1e4b9d NIU: More pages 2009-11-10 16:02:48 +00:00
Jo-Philipp Wich
ca6a1fc3bc modules/admin-full: remove dhcp network page and move leases there 2009-11-09 01:10:08 +00:00
Jo-Philipp Wich
603ea189d7 modules/admin-full: switch static lease page to /etc/config/dhcp, add better labels and hostname column 2009-11-09 01:09:31 +00:00
Jo-Philipp Wich
b1b86e27a0 modules/admin-full: better labels for wifi config page 2009-11-09 00:35:14 +00:00
Jo-Philipp Wich
e558603448 modules/admin-full: merge per-network dhcp server settings to iface config page 2009-11-09 00:34:31 +00:00
Jo-Philipp Wich
a50452e3e3 modules/admin-full: rewrite wifi join wizzard 2009-11-08 02:38:22 +00:00
Jo-Philipp Wich
6090617a9b modules/admin-full: include iface name in headline of iface config page 2009-11-08 02:36:20 +00:00
Jo-Philipp Wich
9d8ebba1df modules/freifunk: add community profile for Ljubljana 2009-11-06 13:19:11 +00:00
Steven Barth
a5a9625a45 NIU: Backup system settings 2009-11-02 15:59:46 +00:00
Jo-Philipp Wich
45e20225a5 modules/freifunk: update profile for Jena 2009-11-01 22:59:34 +00:00
Jo-Philipp Wich
bea6a5b7f6 modules/admin-full: properly cover static wds mode on madwifi 2009-11-01 22:19:05 +00:00
Jo-Philipp Wich
e3c28e07af modules/admin-full: fix syntax error in i18n tag 2009-11-01 17:39:31 +00:00
Jo-Philipp Wich
f5a760168b all: remove references to old i18n files 2009-11-01 14:24:04 +00:00
Jo-Philipp Wich
8de4c45a59 modules/admin-full: i18n fix on network page 2009-11-01 13:46:46 +00:00
Jo-Philipp Wich
641da07639 modules/admin-full: fix error i18n handling in opkg page 2009-11-01 13:44:11 +00:00
Jo-Philipp Wich
0a452588a1 modules/admin-full: fix i18n for led page 2009-11-01 13:19:57 +00:00
Jo-Philipp Wich
b50e08149c all: yet another round of translation fixes 2009-11-01 01:37:03 +00:00
Jo-Philipp Wich
2099afdbbc modules/admin-full: fix static routes page 2009-10-31 22:33:52 +00:00
Jo-Philipp Wich
5cc835e507 modules/admin-full: fix last commit 2009-10-31 22:32:35 +00:00
Jo-Philipp Wich
63e023e56a modules/admin-full: fix dhcp page 2009-10-31 22:30:54 +00:00
Jo-Philipp Wich
58749afc72 modules/admin-full: fix dnsmasq page 2009-10-31 22:04:43 +00:00
Jo-Philipp Wich
4ef4776c9a all: various i18n realted fixes 2009-10-31 21:09:02 +00:00
Jo-Philipp Wich
eeed712024 all: next round of translation fixups 2009-10-31 20:03:27 +00:00
Jo-Philipp Wich
cffba70b2e all: translation fixes in templates 2009-10-31 19:26:07 +00:00
Steven Barth
b2671410bf NIU: Fixes, System 2009-10-31 17:27:07 +00:00
Jo-Philipp Wich
b0b28b970f all: automatic <%:...%> -> <%_...%> fixup 2009-10-31 17:02:21 +00:00
Jo-Philipp Wich
7c76587588 all: change most translate statements to new format, some need manual cleanup 2009-10-31 15:54:11 +00:00
Jo-Philipp Wich
dab004b0af modules/admin-full: do not generate submenu items per wifi-device anymore 2009-10-29 02:35:23 +00:00
Jo-Philipp Wich
91856a9242 modules/admin-full: support deleting wireless networks and fix wireless join 2009-10-29 02:23:58 +00:00
Jo-Philipp Wich
2a1f1a1d7b modules/admin-full: change workflow of wifi config page; display only one network (choosen in wifi overview) and add a hook for section remapping
on uci commit
2009-10-29 02:23:18 +00:00
Jo-Philipp Wich
66fe827403 modules/admin-full: migrate wifi overview page to wireless model 2009-10-29 02:22:00 +00:00
Steven Barth
1e9b205464 More NIU 2009-10-28 17:38:09 +00:00
Steven Barth
5d9fcbd1c1 Add etherhosts as combination of luci_ethers and luci_hosts 2009-10-28 16:40:05 +00:00
Jo-Philipp Wich
839e150ea9 modules/admin-full: save wireless uci as well after iface add 2009-10-27 21:42:04 +00:00
Jo-Philipp Wich
0698926009 modules/admin-full: introduce a new tab for firewall related stuff in iface config page 2009-10-27 21:41:18 +00:00
Jo-Philipp Wich
2e8d0a9b6b modules/admin-full: use network picker widget in wifi config pages 2009-10-27 21:40:12 +00:00
Steven Barth
7a76f6b68f Forgotten files 2009-10-27 16:48:03 +00:00
Steven Barth
6122dc723a NIU: More LAN settings, initial WAN 2009-10-27 16:47:42 +00:00
Steven Barth
c47765a611 NIU: Initial 2009-10-26 17:40:39 +00:00
Jo-Philipp Wich
5ce9bd5fc8 libs/cbi: support horizontal display for radio button groups 2009-10-13 23:59:50 +00:00
Jo-Philipp Wich
b47afa0934 modules/admin-full: rename iface_add_s1.lua 2009-10-10 21:13:39 +00:00
Jo-Philipp Wich
6cb0300cdd modules/admin-full: drop delegator for iface join, not needed 2009-10-10 21:12:57 +00:00
Jo-Philipp Wich
6c842380c3 modules/admin-full: addremove in inface config pages makes no sense anymore 2009-10-10 18:50:24 +00:00
Jo-Philipp Wich
f3bcaf2909 modules/admin-full: prepare iface join wizzard 2009-10-10 15:59:46 +00:00
Jo-Philipp Wich
368ce414d3 modules/admin-full: move advanced ppp options to extra tab, only keep important settings on general view 2009-10-10 04:44:03 +00:00
Jo-Philipp Wich
9ebb038a94 modules/admin-full: use interface picker in iface config page 2009-10-08 10:31:31 +00:00
Jo-Philipp Wich
c7f225b133 modules/admin-full: adept ifaces model to changed firewall model interface 2009-10-08 01:24:37 +00:00
Jo-Philipp Wich
0ee2d670c7 modules/admin-full: only remove network if zones actually change 2009-10-08 00:48:02 +00:00
Jo-Philipp Wich
4854a46c68 modules/admin-full: use firewall picker in interface config pages 2009-10-08 00:36:22 +00:00
Jo-Philipp Wich
8c675f6a6c modules/admin-full: only render ipv6 options if ipv6 is available 2009-10-02 01:34:54 +00:00
Jo-Philipp Wich
247b38ae39 modules/admin-full: introduce tabs in interface configuration 2009-09-29 23:10:04 +00:00
Jo-Philipp Wich
eed5553110 modules/admin-full: fix some problems with b43 2009-09-27 03:04:36 +00:00
Jo-Philipp Wich
37b3416c5d modules/admin-full: prevent crash in wifi model if no tx power list is available 2009-09-26 18:53:01 +00:00
Jo-Philipp Wich
64b6f98653 modules/admin-full: make wireless survey work on actual hardware, add a warning if wpa-supplicant is required but not installed, fix some typos 2009-09-26 14:00:23 +00:00
Jo-Philipp Wich
4d3ddb03a3 modules/admin-full: initial work on site survey and network join 2009-09-26 11:10:01 +00:00
Jo-Philipp Wich
3c8728390f modules/admin-full: add doth (802.11h) and wmm (802.11h) options for broadcom 2009-09-22 16:44:21 +00:00
Jo-Philipp Wich
8eb738326c modules/freifunk: migrate /etc/config/freifunk to the new format if it was restored by sysupgrade 2009-09-17 11:12:01 +00:00
Jo-Philipp Wich
d9e8e6320b modules/freifunk: add definition for freifunk hamburg 2009-09-11 16:40:10 +00:00
Jo-Philipp Wich
d32f3dca5c modules/freifunk: fix mesh network range for augsburg 2009-09-08 12:18:32 +00:00
Jo-Philipp Wich
ff9f4dbda8 modules/admin-full, modules/admin-mini: fix psk-mixed dependency (#81) 2009-09-06 10:27:10 +00:00
Jo-Philipp Wich
8c2e4407e8 modules/freifunk: tweak profiles for new wizard 2009-08-28 23:42:26 +00:00
Jo-Philipp Wich
71e5891354 modules/admin-full, modules/admin-mini: prevent addremove in system page 2009-08-27 17:53:52 +00:00
Jo-Philipp Wich
a0d353e332 modules/admin-full: only allow multiple wireless interfaces if the driver actually supports it 2009-08-19 23:31:33 +00:00
Jo-Philipp Wich
cca896a02b modules/admin-full: only show antenna selection if diversity is off, use radio buttons for antenna selection 2009-08-19 23:24:24 +00:00
Jo-Philipp Wich
a7e524bb7f modules/admin-full: use driver supported values in txpower control 2009-08-19 22:51:56 +00:00
Jo-Philipp Wich
a4bc2e3d79 modules/admin-full: add "disable" label to prism2 maclist as well 2009-08-16 17:46:45 +00:00
Jo-Philipp Wich
f7eb9361d7 modules/admin-full: label empty option "disable" in mac filter policy field 2009-08-16 17:39:47 +00:00
Jo-Philipp Wich
42b162eaad modules/admin-full: merge mode and wds options for madwifi 2009-08-16 17:30:30 +00:00
Jo-Philipp Wich
843641d98e modules/admin-mini, modules/admin-full: fix language selection, broke with lua->lmo transition 2009-08-16 04:51:28 +00:00
Jo-Philipp Wich
aed5544dc9 modules/admin-full: convert wireless config page to use cbi tabs 2009-08-16 04:13:21 +00:00
Jo-Philipp Wich
68fb58dbca modules/admin-{mini,full} fix wpa psk mixed mode setting for atheros/prism2/mac80211 drivers 2009-08-08 00:42:19 +00:00
Jo-Philipp Wich
d8eb5b292d modules/admin-full: fix syntax error in system controller 2009-07-31 00:02:07 +00:00
Jo-Philipp Wich
4c8ea12a28 modules/admin-mini: fix syntax error in system controller 2009-07-31 00:01:34 +00:00
Jo-Philipp Wich
aded4e0a06 modules/freifunk: fix yet another syntax error in public status model 2009-07-28 18:24:07 +00:00
Jo-Philipp Wich
db4cdc81e7 modules/freifunk: fix syntax error introduced in r5150 2009-07-28 12:09:38 +00:00
Jo-Philipp Wich
debfd75f33 modules/freifunk: fix same problem 2009-07-26 22:43:51 +00:00
Jo-Philipp Wich
2c3d33006c modules/admin-mini: fix the same issue in admin-mini 2009-07-26 22:39:21 +00:00
Jo-Philipp Wich
5f70d9f4f4 modules/admin-full: fix udata vs. string in system.lua model 2009-07-26 22:37:24 +00:00
Jo-Philipp Wich
3c35ce382d modules/freifunk: set country code 276 by default, for ch12, 13 with madwifi 2009-07-23 12:38:52 +00:00
Jo-Philipp Wich
074b5dfc4a fix fallout from nixio.fs transition 2009-07-19 00:38:52 +00:00
Jo-Philipp Wich
8fcd841aa9 convert luci.fs users to nixio.fs api 2009-07-19 00:24:58 +00:00
Jo-Philipp Wich
c5e52b7643 modules/admin-full: cleanup requires in conntrack template 2009-07-10 22:05:01 +00:00
Jo-Philipp Wich
75e8d0bf4b modules/admin-full: reimplement conntrack page as template 2009-07-10 22:02:30 +00:00
Jo-Philipp Wich
6940edbdce modules/admin-full: speedup route status page by reimplementing it as template 2009-07-10 19:11:37 +00:00
Jo-Philipp Wich
b7b3515179 modules/freifunk: fix some quirks in the map 2009-07-07 17:30:26 +00:00
Jo-Philipp Wich
96a8d3d0d8 contrib/package: move remote-update to own package 2009-07-07 03:59:49 +00:00
Jo-Philipp Wich
601c020b4e modules/freifunk: add external config for Freifunk Potsdam 2009-07-07 03:01:37 +00:00
Jo-Philipp Wich
e056f7fa51 modules/freifunk: add community profiles for Jena and Potsdam 2009-07-07 03:01:16 +00:00
Jo-Philipp Wich
5dc524c40c modules/freifunk: allow port 17990/tcp (wprobe) in default firewall rules 2009-07-07 02:33:43 +00:00
Jo-Philipp Wich
ac7b572ffd modules/freifunk: increase flashing timeout, can take up to 25 minutes on a Fonera 2 ... 2009-07-07 00:38:47 +00:00
Jo-Philipp Wich
361cbfa9e1 modules/admin-full: fix backup generation (#74) 2009-07-01 14:17:59 +00:00
Jo-Philipp Wich
8cddaabf81 modules/freifunk: prepare ar71xx support in remote-update 2009-07-01 01:53:42 +00:00
Jo-Philipp Wich
0179c5ea05 modules/admin-{full,mini}: draw newlines in sysupgrade status output 2009-07-01 00:41:42 +00:00
Jo-Philipp Wich
684635915b modules/freifunk: fix i18n 2009-06-30 14:49:53 +00:00
Jo-Philipp Wich
105713ff8f modules/freifunk: add webpages for remote-update 2009-06-30 04:41:00 +00:00
Jo-Philipp Wich
55a4c40c03 modules/freifunk: complete remote-update usage text 2009-06-30 01:43:15 +00:00
Jo-Philipp Wich
4803e8ec24 modules/freifunk: add remote-update cli utility 2009-06-30 01:29:33 +00:00
Steven Barth
30b216f774 Drop support for luaposix and bitlib (obsoleted by nixio)
Mark luci.fs as deprecated
2009-06-21 13:42:26 +00:00
Jo-Philipp Wich
6088f2b3fe modules/admin-full, modules/admin-mini: set appropriate mime type for luci-flash output 2009-06-17 12:56:55 +00:00
Jo-Philipp Wich
2f9cbf7d05 modules/admin-mini: merge r4865 to admin-mini 2009-06-17 12:48:18 +00:00
Jo-Philipp Wich
901499b866 modules/admin-full: fix status output of luci-flash with lucid 2009-06-17 12:47:20 +00:00
Jo-Philipp Wich
720e460893 modules/freifunk: remove firewall addon data 2009-06-16 22:38:08 +00:00
Jo-Philipp Wich
b8c3aa96d4 modules/freifunk: add a rc.local.d hook to fix config quirks after migration 2009-06-16 13:27:36 +00:00
Jo-Philipp Wich
30a15ca081 modules/admin-full: fix exception in interface status page for devices with an empty ifname for wan (#71) 2009-06-08 20:40:18 +00:00
Jo-Philipp Wich
95aa9593c5 modules/admin-full: filter options column through pcdata() in iptables status page 2009-06-07 13:44:50 +00:00
Jo-Philipp Wich
2863c0e2ed modules/admin-full: style fixes for iptables status page, restrict options column to 30% of the table width 2009-06-07 13:37:07 +00:00
Jo-Philipp Wich
1d313c2707 modules/admin-full: cope with empty targets in iptables status page 2009-06-07 13:00:26 +00:00
Jo-Philipp Wich
e458fc8add modules/freifunk: fix typo in firewall include 2009-06-07 11:57:52 +00:00
Jo-Philipp Wich
d52b0d11f5 modules/freifunk: restart p2pblock on firewall restarts if it's enabled 2009-06-07 11:52:24 +00:00
Jo-Philipp Wich
177477ea96 modules/freifunk: there's a race-condition between splash and natfix during boot which often prevents proper splash-whitelisting, delay splash-startup by three seconds 2009-06-05 17:44:13 +00:00
Vasilis Tsiligiannis
fbc438cf3a Add diversity option for prism2 cards 2009-06-02 21:09:33 +00:00
Jo-Philipp Wich
9679bc26bf modules/admin-full: purge indexcache after installing or removing packages 2009-05-30 01:20:07 +00:00
Jo-Philipp Wich
44171fde22 modules/admin-full: fix bridge info on interface status page if multiple bridges are present on the system 2009-05-30 00:44:04 +00:00
Jo-Philipp Wich
242f8edabf modules/admin-full: fix cbi dependency of stp flag 2009-05-29 23:03:15 +00:00
Jo-Philipp Wich
49b494bb64 modules/admin-core: fix typo in network schema 2009-05-29 22:56:23 +00:00
Jo-Philipp Wich
3490fba805 modules/admin-core: extend network schema to cover stp option 2009-05-29 22:54:47 +00:00
Jo-Philipp Wich
7cc1874db7 modules/admin-full: add stp option in interface configuration 2009-05-29 22:32:42 +00:00
Jo-Philipp Wich
341bc48a7e modules/admin-core: extend wireless schema to cover psk mixed mode in encryption enum 2009-05-29 21:22:23 +00:00
Jo-Philipp Wich
1a33ff8c67 modules/admin-{mini,full}: rename "mode" to "hwmode" 2009-05-29 20:18:32 +00:00
Jo-Philipp Wich
601deffafc modules/admin-{mini,full}: fixup wpa-mixed dependencies, make key a password field, fix bssid dependency for broadcom ad-hoc mode in admin-mini 2009-05-29 19:54:18 +00:00
Jo-Philipp Wich
632abafabf modules/admin-{mini,full}: sort by keys in language selection 2009-05-27 08:59:02 +00:00
Jo-Philipp Wich
76457655ef modules/freifunk: fix wrong call to translate in controller 2009-05-26 18:30:00 +00:00
Jo-Philipp Wich
7ae3fc5478 modules/freifunk: add map 2009-05-25 13:53:31 +00:00
Jo-Philipp Wich
d70ff10fd6 modules/freifunk: add missing quote in init script 2009-05-25 12:12:47 +00:00
Steven Barth
e9e22aca73 Fix: Mountpoints cannot be disabled 2009-05-25 10:31:08 +00:00
Jo-Philipp Wich
6ca3b275fc modules/freifunk: implement map update for GlobalMap
applications/luci-ffwizard-leipzig: add lat and lon fields
2009-05-24 19:28:04 +00:00
Jo-Philipp Wich
d41f3de31e modules/admin-core: fix wireless uci schema 2009-05-24 15:23:05 +00:00
Jo-Philipp Wich
faaf4e925c modules/admin-full: fix madwifi turbo modes 2009-05-23 01:59:09 +00:00
Jo-Philipp Wich
7590cd25f4 - Add support for hostap driver
- Retrieve channels from all available wireless interfaces
 - Add channel "auto" to channel list

Thanks Vasilis Tsiligiannis
2009-05-21 21:33:24 +00:00
Jo-Philipp Wich
ce6aec0a91 i18n: remove obsolete lua i18n files 2009-05-19 02:35:25 +00:00
Jo-Philipp Wich
7bf803250b build: integrate po files in the build system 2009-05-19 02:18:28 +00:00
Jo-Philipp Wich
112d053284 modules/admin-full: add sanity checks to interface status page 2009-05-17 01:51:59 +00:00
Jo-Philipp Wich
82b15b30ab modules/freifunk: duplicate olsr watchdog interval 2009-05-15 14:24:22 +00:00
Jo-Philipp Wich
3de89c4f9f modules/admin-full:
- move routes and conntrack info to status menu
	- move static routes to own 2nd level menu point
	- fix i18n in upgrade page
2009-05-13 23:46:56 +00:00
Jo-Philipp Wich
98996e380a libs/sys: implement luci.sys.wifi.channels()
modules/admin-full: only display available channels
2009-05-13 18:42:53 +00:00
Jo-Philipp Wich
f3c9a529cd modules/freifunk: increase default txpower to 15dbm 2009-05-09 21:27:58 +00:00
Jo-Philipp Wich
f1e6f9647a modules/admin-mini: merge last commit 2009-05-09 18:21:32 +00:00
Jo-Philipp Wich
aac40a4dfa modules/admin-full: determine storage space from /proc/partitions if there's no /proc/mtd 2009-05-09 18:18:22 +00:00
Jo-Philipp Wich
9136ac1fcf modules/admin-mini: merge new upgrade pages 2009-05-09 03:23:42 +00:00
Jo-Philipp Wich
510292bedf i18n: bump translations for upgrade pages 2009-05-09 03:18:23 +00:00
Jo-Philipp Wich
fd31bb2fcc modules/admin-full: fixes for upgrade pages:
- do not show a size warning if media size is unknown
	- handle unsupported platforms gracefully
	- i18n tag cleanup
2009-05-09 02:26:13 +00:00
Jo-Philipp Wich
2fabf92cf0 modules/admin-full: rewrite firmware upgrade pages 2009-05-09 02:06:33 +00:00
Jo-Philipp Wich
abbcf07896 modules/admin-core: enable verbose output in luci-flash 2009-05-09 02:05:48 +00:00
Jo-Philipp Wich
8cebaa45d6 [PATCH] Don't try to pivot to new ramfs if already running on one
This patch allows the luci-flash script to continue with the upgrade if
openwrt is already running on a ramfs. This allows the use of luci-flash
as an _installer_ when running from an iso image. A user could boot the 
system from a bootable cd and write an image to the hard disk or CF from
the Flash Firmware page.

Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
2009-05-07 14:20:09 +00:00
Jo-Philipp Wich
e4d0d97fbb [PATCH] Add regdomain, country and outdoor options for madwifi
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
2009-05-07 14:18:43 +00:00
Jo-Philipp Wich
00f1c31b8b [PATCH] Change fast frames option from value to flag type
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>
2009-05-07 14:17:58 +00:00
Jo-Philipp Wich
ceaca7e7ce modules/freifunk: silence grep errors if /etc/crontabs/root does not exist 2009-05-01 14:16:28 +00:00
Jo-Philipp Wich
b3ea7cd0ed modules/freifunk: fix syntax error in freifunk init 2009-05-01 14:09:21 +00:00
Jo-Philipp Wich
c2dff916a6 modules/freifunk: setup config and cron jobs for rdate; sync time on boot 2009-05-01 13:19:49 +00:00
Jo-Philipp Wich
78d8ad784b modules/freifunk: set ipv4 broadcast to 255.255.255.255 by default 2009-04-30 20:33:01 +00:00
Jo-Philipp Wich
438180ead4 modules/admin-{core,full}: cover new openwrt option "cronloglevel" 2009-04-29 13:19:23 +00:00
Jo-Philipp Wich
40dfa066ab modules/admin-core: sync uci schema 2009-04-27 00:25:46 +00:00
Jo-Philipp Wich
9cc54c7f15 modules/admin-{mini,full}: rename option "hwmode" to "mode" since hwmode is now used for hostapd and mode for madwifi... 2009-04-27 00:12:25 +00:00
Jo-Philipp Wich
6e56fe21ab modules/freifunk: add some utility scripts from white russian firmware 2009-04-12 20:03:27 +00:00
Steven Barth
d3cb7ea5fd Freufunk: I CAN HAZ ZEROES PLZKTHX 2009-04-09 13:56:04 +00:00
Jo-Philipp Wich
9835296ba2 trunk: prepare LuCI to handle .lua.gz files 2009-04-04 22:54:16 +00:00
Jo-Philipp Wich
dd267f9457 modules/admin-full: remove duplicate fallback translation in opkg error reporting 2009-03-28 20:20:18 +00:00
Jo-Philipp Wich
e4a3fd177c modules/admin-full: improve opkg error reporting 2009-03-28 20:15:53 +00:00
Steven Barth
6e11559793 Fix WPA2-EAP support 2009-03-23 13:41:04 +00:00
Jo-Philipp Wich
ff57f4f870 modules/freifunk: fix cron restart in init script 2009-03-16 21:04:51 +00:00
Jo-Philipp Wich
bb48f0b5c5 modules/freifunk: add olsrd watchdog script, remove olsrd interface defaults 2009-03-16 17:36:00 +00:00
Steven Barth
8eadc262d0 Drop XML i18n files 2009-03-11 15:21:59 +00:00
Jo-Philipp Wich
bddbad3490 modules/admin-core: define size constraints for psk in wireless schema 2009-03-04 22:45:02 +00:00
Jo-Philipp Wich
0feb0a4607 modules/admin-{mini,full}: implement wpa-wpa2 mixed mode
modules/admin-core: extend uci schema to cover mixed mode and mesh mode (802.11s)
2009-03-04 22:43:45 +00:00
Steven Barth
2b0c0485e8 Add GUI for 802.11s 2009-02-26 15:50:41 +00:00
Jo-Philipp Wich
114aa8d111 applications/luci-splash: firewall fixes 2009-02-20 00:38:37 +00:00
Jo-Philipp Wich
b5026e65c0 libs/web: don't send Status: 500 in error500() if header is already sent
modules/admin-core: include template header only once
2009-02-09 13:17:26 +00:00
Jo-Philipp Wich
2e913fd28f modules/admin-full:
- translate i18n fallbacks to english in status controller
	- bump copyright year in iptables and interfaces templates
	- remove redundant fieldsets from iptables page and nuke a left-over code
2009-02-08 20:20:42 +00:00
Jo-Philipp Wich
2c73c95055 modules/admin-full: implement interface status page
i18n/english: add required strings for interface status
2009-02-08 20:11:09 +00:00
Jo-Philipp Wich
f52ec22717 modules/admin-full: implement iptables status page
i18n/english: resync xml, add strings for iptables page
libs/sys/iptparser: implement chain() and is_custom_target()
2009-02-08 03:56:50 +00:00
Steven Barth
15029e4279 Fix Wifi-Client mode for devices without standard default network configuration 2009-02-04 19:10:06 +00:00
Jo-Philipp Wich
2b1e0d20ab modules/admin-full: also show bssid option in ad-hoc mode for broadcom cards 2009-02-02 14:39:56 +00:00
Jo-Philipp Wich
4b9f7db1ce libs/sys: extend luci.sys.hostname() to allow setting a new name
modules/admin-{full,mini}: update the hostname at runtime
2009-02-01 17:08:40 +00:00
Jo-Philipp Wich
d7d27ffe6a modules/freifunk: start crond if required, send sighup after processing custom scripts 2009-01-31 17:32:01 +00:00
Jo-Philipp Wich
7ab4dcc9df modules/freifunk: move txpower default to wifi-device 2009-01-31 16:31:33 +00:00
Steven Barth
ce2da9198b Fix ff_olsr_test_gw 2009-01-31 16:28:34 +00:00
Jo-Philipp Wich
56f5204e8f modules/admin-full: move txpower control to wifi-device
modules/admin-core: extend wireless schema to cover txpower changes
2009-01-31 16:27:24 +00:00
Jo-Philipp Wich
910ac84a46 modules/freifunk: disable gateway test for now due to uci problems 2009-01-31 04:19:41 +00:00
Steven Barth
80216cc088 Cleanup Freifunk defaults
Remove RTS, fallback to default
Disable Fledermaus theme
Disable forced German language, fallback to autodetect
2009-01-30 17:55:21 +00:00
Jo-Philipp Wich
fb581efd7d modules/freifunk:
- install cronjob for gateway check
	- provide /etc/rc.local.d/ as suggested by ufo
2009-01-30 16:05:14 +00:00
Steven Barth
07790dad35 Add OLSR dyn_gw_plain gateway test 2009-01-30 16:00:09 +00:00
Jo-Philipp Wich
4b62df0945 modules/admin-core: add autogeneartion notice to /var/etc/hosts, /var/etc/ethers 2009-01-28 18:17:41 +00:00
Jo-Philipp Wich
515ac3e6fe modules/freifunk: remove wireless fragmentation settings, causes madwifi issues 2009-01-27 20:59:23 +00:00
Steven Barth
c56307acc3 Add MSS Clamping option for Essentials (closes #45)
Rename "MSS correction" to the correct term "MSS Clamping" in Firewall
Automatically set "defaultroute" and "peerdns" when PPP is selected in
Essentials
2009-01-27 20:49:04 +00:00
Jo-Philipp Wich
afd569dfca modules/admin-core: implement a more elegant solution for #46; treat empty or zero-length netmasks as /32 subnet 2009-01-27 17:15:14 +00:00
Jo-Philipp Wich
a27c539dea modules/admin-core: prevent crash in network interface overview when netmask option is defined, but empty 2009-01-27 16:48:46 +00:00
Steven Barth
9e1f802dce Add versioning information to Freifunk status 2009-01-26 10:20:18 +00:00
Jo-Philipp Wich
70fe5ad437 modules/admin-full: fix dropbear pwauth option (#42) - thanks for reporting! 2009-01-26 02:09:13 +00:00
Jo-Philipp Wich
2ea584beaf modules/freifunk: fix cronjob installation 2009-01-25 20:24:27 +00:00
Jo-Philipp Wich
950ab853ea modules/freifunk: implement /etc/rc.local, install dnsmasq sighup cronjob on boot 2009-01-25 20:14:49 +00:00
Steven Barth
c1c220b739 FF-Wizard: Accept ICMP by default 2009-01-25 19:56:23 +00:00
Jo-Philipp Wich
679df1fb9a modules/freifunk: ensure right order in hotplug processing when applying nat fixes 2009-01-25 19:38:08 +00:00
Jo-Philipp Wich
f4f53b3893 modules/freifunk: don't set rx/tx antenna in wizzard, rely on diversity instead 2009-01-25 17:31:21 +00:00
Jo-Philipp Wich
d35063211c modules/freifunk: display status of all non-encrypted wireless networks if no freifunk zone is defined 2009-01-25 17:28:15 +00:00
Jo-Philipp Wich
58d15fdedb modules/freifunk:
- implement generic fix for firewall MASQUERADE
	- implement advanced uci config to control sysctl and /proc values
2009-01-25 16:45:19 +00:00
Steven Barth
918e1f8658 Fix PPP support (closes #41) 2009-01-25 12:15:39 +00:00
Steven Barth
527edf0ba0 Replace Dos line endings with Unix ones where needed 2009-01-20 10:56:07 +00:00
Steven Barth
b847ba072d Make fixtime more reliable 2009-01-17 13:52:22 +00:00
Steven Barth
9afa5d94d7 Remove "Save & Apply" note on homeepage of Mini as it does not apply 2009-01-17 13:25:32 +00:00
Steven Barth
b166a33429 * Remove "OPKG Configuration" link in menu - link on package manager page is enough
* Remove "Upgrade all packages" link as it is very dangerous on squashfs based filesystems
2009-01-17 13:20:59 +00:00
Steven Barth
8458684ab9 Add missing UVL entries for madwifi hacks 2009-01-16 19:12:31 +00:00
Steven Barth
a6beb3cd41 ppp keep-alive is non-atomic, closes #30 2009-01-16 18:26:32 +00:00
Steven Barth
4694bedd69 Fix saving of ipkg configuration file 2009-01-16 18:18:29 +00:00
Steven Barth
30ec22f842 Add shortcut "LuCI Components" to menu for easier adding / removing 2009-01-16 12:35:25 +00:00
Steven Barth
d0d1fe0a28 Automatic language detection 2009-01-14 23:47:56 +00:00
Steven Barth
5a35b64dfb Added computer-readable Freifunk status page 2009-01-08 17:14:56 +00:00
Jo-Philipp Wich
c8a2a3031b modules/admin-full: fix default state and handling of the defaultroute and peerdns options 2009-01-07 20:48:05 +00:00
Steven Barth
55ed5c8978 Fix disabling of WiFi
closes #22
2009-01-05 21:13:56 +00:00
Steven Barth
bb44869de9 Cleanup overview / details nodes 2009-01-04 15:46:08 +00:00
Steven Barth
70ded13045 Use luci.fs.access instead of luci.fs.isfile where applicable 2009-01-02 21:33:10 +00:00
Jo-Philipp Wich
4d34417ebc modules/admin-full: add support for the probereq iwpriv param
i18n: add required strings
2009-01-01 18:15:20 +00:00
Jo-Philipp Wich
ae6c1f618f modules/admin-full: fix diversity setting for atheros cards
applications/olsr: fix enable/disable for olsrd plugins
2009-01-01 13:55:40 +00:00
Steven Barth
a3d603df27 Rename wireless.wifi-device.mode to wireless.wifi-device.hwmode 2008-12-31 19:53:47 +00:00
Jo-Philipp Wich
75e9772baa modules/freifunk: fix typo in route6 section *sigh* 2008-12-27 00:31:42 +00:00
Jo-Philipp Wich
73f2139f16 modules/admin-full: readd "none" protocol option to interface config 2008-12-23 16:48:48 +00:00
Steven Barth
3a7171d73d Sysauth does not have a valid dispatched node: Fall back to REQUEST_URI environment 2008-12-23 10:36:57 +00:00
Steven Barth
014d971eab Fix urltoken passing on several pages 2008-12-22 21:54:20 +00:00
Jo-Philipp Wich
489be66e4d modules/admin-core: change network uvl scheme to allow ipv4 routes without gateway 2008-12-22 12:57:49 +00:00
Jo-Philipp Wich
412fc44071 modules/admin-root: remove "sample-host" entry from /etc/config/luci_hosts 2008-12-21 22:32:08 +00:00
Jo-Philipp Wich
04b5246950 modules/admin-full: make menu entry for led config depend on sysfs availability 2008-12-19 12:12:43 +00:00
Steven Barth
1ee5ba632a Refined urltokens and XSRF protection 2008-12-15 10:40:45 +00:00
Steven Barth
271c53a4af Implement URL tokens
Add basic XSRF protection
2008-12-14 21:43:10 +00:00
Steven Barth
509a3daadb Kill session on logout 2008-12-14 21:43:05 +00:00
Steven Barth
f9a04e040f LuCIttpd configuration pages 2008-12-14 11:54:49 +00:00
Steven Barth
1b48ae1188 Fix display of v6 Routing metric on Freifunk status pages 2008-12-10 23:24:29 +00:00
Steven Barth
f57759a08a Correct r3885 2008-12-10 23:17:15 +00:00
Steven Barth
5412893954 Fixed an overflow error with IPv6 route metric 2008-12-10 21:45:29 +00:00
Steven Barth
8e62419bcb Don't apply network configuration if user clicks on "Scan" button 2008-12-10 20:31:09 +00:00
Jo-Philipp Wich
f7a3e34955 prevent package upgrade failures caused by sloppy postinstalls 2008-12-09 00:03:08 +00:00
Jo-Philipp Wich
cb06573805 modules/admin-full: improve layout of uci changes pages 2008-12-07 21:27:11 +00:00
Steven Barth
5960841098 System Password: Prevent error when both password fields are empty 2008-12-07 13:26:34 +00:00
Jo-Philipp Wich
008a65e5cc modules/freifunk: handle v6 conditionally (as in network / routes) 2008-11-30 19:29:59 +00:00
Jo-Philipp Wich
46bb17c2d2 modules/admin-full: whitesapce cleanup in routes.lua
libs/sys:		code changes in routes6() and defaultroute6()
2008-11-30 19:12:58 +00:00
Steven Barth
cd8e12d72a Don't fail if we do not have v6 support 2008-11-30 18:43:10 +00:00
Steven Barth
5734545388 Optimized conntrack (thanks to Joe Burpee) 2008-11-30 17:22:48 +00:00
Jo-Philipp Wich
f7dbdc6568 modules/admin-full: only display protocol related options if required software is installed, add posibility to remove 3g service field 2008-11-29 22:06:29 +00:00
Jo-Philipp Wich
dda65d2b94 libs/core/ip: optmizations
libs/sys:		implement defaultroute6(), change return values of routes() and routes6()
modules/admin-full:	adept route config page to new api
modules/freifunk:	adept overview page to new routes api
2008-11-29 20:46:26 +00:00
Jo-Philipp Wich
0d64b29b89 modules/admin-core: allow static v6 routes without gateway 2008-11-28 21:56:09 +00:00
Jo-Philipp Wich
d9d66f4c28 modules/admin-full, i18n/english: translation fixes for route6 support 2008-11-27 00:14:57 +00:00
Jo-Philipp Wich
838fa54541 modules/admin-full: remove some cruft from routes model 2008-11-26 23:40:34 +00:00
Jo-Philipp Wich
128ba2828a modules/admin-core: extend network scheme to cover ipv6 routes and metric options
modules/admin-full: add route6 support
i18n/english: add required strings
2008-11-26 23:38:30 +00:00
Steven Barth
4f7c881396 Add ahdemo mode to mac80211 2008-11-21 07:59:56 +00:00
Steven Barth
9d6096a5f4 Fix behaviour of dynamicdhcp field (thanks to Fabio Mercuri) 2008-11-18 12:29:01 +00:00
Jo-Philipp Wich
47c601d7a1 * luci/modules/admin-full: fix reversed macfilter logic 2008-11-18 00:10:04 +00:00
Jo-Philipp Wich
cbed72fb47 * luci/themes: fix log pages
* luci/modules/admin-full: add dmesg page
* luci/i18n: add "dmesg" translations
* luci/libs/util: add cmatch(), register string functions in string class
* luci/libs/sys: add dmesg()
2008-11-16 22:45:10 +00:00
Steven Barth
8b8d903035 Fix URL to Freifunk contact page (closes #3) 2008-11-16 20:59:57 +00:00
Jo-Philipp Wich
4bfa18a5ab * luci/modules/admin-{core,full}: sync wireless model and scheme to new broadcom config 2008-11-16 20:07:55 +00:00
Jo-Philipp Wich
79c1f03c93 * modules/admin-full: adept wifi model to cover new broadcom options 2008-11-16 18:37:46 +00:00
Jo-Philipp Wich
36e3f2a3e8 * modules/admin-core: adept wireless scheme to new config options 2008-11-16 18:30:53 +00:00
Jo-Philipp Wich
1857248166 * luci/modules/freifunk: remove now obsolte [tr]xant options from wizzard 2008-11-16 18:26:07 +00:00
Steven Barth
2efe49d758 Tune Freifunk defaults 2008-11-12 21:44:01 +00:00
Steven Barth
5ae95430e1 Added nosbeacon flags to wifi configuration 2008-11-12 21:33:23 +00:00
Steven Barth
3a0eb02f30 Add support for NanoFoo antenna settings 2008-11-12 18:36:43 +00:00
Steven Barth
93d2b0ec84 Include backup date and hostname in backup archive name 2008-11-09 20:09:43 +00:00
Jo-Philipp Wich
4869b91bc3 * luci/modules/admin-{core,mini,full}: implement new zoneinfo in system models 2008-11-06 18:59:15 +00:00
Jo-Philipp Wich
16bb2907a2 * luci/modules/admin-{mini,full}: allow custom values in timezone selection 2008-11-06 14:53:13 +00:00
Jo-Philipp Wich
5a3422963b * luci/applications: force success for postinstall scripts 2008-11-06 01:56:01 +00:00
Jo-Philipp Wich
7651fd78f0 * luci: fix postinstall scripts 2008-11-05 22:06:27 +00:00
Jo-Philipp Wich
3a006a17a5 * luci/modules/admin-core: add postinstall to enable init scripts when installed with opkg 2008-11-04 20:19:25 +00:00
Steven Barth
af51f7718e Show ARP-Cache on "Active Connections" page 2008-11-01 11:43:01 +00:00
Steven Barth
7b99529d95 Wifi devices should not be deletable (UVL override) 2008-10-31 10:03:27 +00:00
Steven Barth
803cbec182 UVL related override fixes for Essentials 2008-10-31 09:35:18 +00:00
Steven Barth
8c4492db5f Removed UCI Save/Apply cache from Essentials
Made CBI controllers configurable
2008-10-31 09:35:11 +00:00
Jo-Philipp Wich
dc00b42e6d * luci: replace all "OpenWRT" occurences with "OpenWrt" 2008-10-27 15:19:58 +00:00
Jo-Philipp Wich
253a61ad80 * luci/modules/admin-full: make custom dns servers selectable for any interface protocol 2008-10-24 21:30:17 +00:00
Jo-Philipp Wich
aa5c150f37 * luci/modules/admin-mini: port selective protocol handling from admin-full
* luci/i18n: add required strings for admin-mini
2008-10-23 18:44:58 +00:00
Jo-Philipp Wich
08a89f42b5 * luci/modules/admin-full: obfuscate password field for pptp server
* luci/i18n/portuguese_brazilian: sync translation
2008-10-23 18:35:35 +00:00
Jo-Philipp Wich
02ef5ea6fb * luci/modules/admin-full: only display interface protocols that are actually supported
* luci/18n: add prereq description for interface proto to translations
2008-10-23 18:19:27 +00:00
Jo-Philipp Wich
38319cfaa5 * luci/themes/openwrt.org: fixes for syslog page and overall improvements, thanks Carlos 2008-10-23 16:05:55 +00:00
Steven Barth
d4b5bbbd5a Use real REQUEST_URI for sysauth 2008-10-19 19:02:05 +00:00
Steven Barth
f68d31c8f0 Added support for PXE boot configuration 2008-10-17 16:18:02 +00:00
Jo-Philipp Wich
8a9562ba33 * luci/modules/admin-core: fix regression that entirely prevents interface configurartion 2008-10-14 23:42:00 +00:00
Jo-Philipp Wich
576e6fe8f0 * luci/modules/admin-full: made keep-alive and demand optional in interface config 2008-10-13 00:54:08 +00:00
Jo-Philipp Wich
97de32ee4f * luci/admin-full: implement 3G support in interface config
* luci/admin-mini: extend network scheme to cover 3G support
* luci/i18n: add required strings for 3G support
2008-10-13 00:05:48 +00:00
Jo-Philipp Wich
5a70b00f60 * luci/modules/admin-full: make some ppp options actually optional 2008-10-12 22:34:10 +00:00
Jo-Philipp Wich
df2c6eeb08 * luci/modules/admin-core: fix typo/spec violation in network scheme 2008-10-12 22:28:31 +00:00
Jo-Philipp Wich
fd7072de2d * luci/modules/admin-core: change datatype of ppp device to "device" in network scheme 2008-10-12 22:24:23 +00:00
Jo-Philipp Wich
76fe259328 * luci/modules/admin-full: add support for PPP interface configurations
* luci/i18n: add strings for ppp config and cbi filebrowse values
2008-10-12 22:15:48 +00:00
Jo-Philipp Wich
faab4d351f * luci/modules/admin-core: change datatype for server option to "host" in network scheme, this bug prevented the validation of pptp configs when a hostname was used as pptp server 2008-10-12 21:45:55 +00:00
Jo-Philipp Wich
5e0eca99a3 * luci/modules/admin-core: extend network uvl scheme to cover ppp configurations too 2008-10-12 21:40:22 +00:00
Jo-Philipp Wich
b618361bf1 * luci/libs/cbi: implement file browse fields
* luci/modules/admin-full: add file browse controller
2008-10-10 21:52:22 +00:00
Steven Barth
720295d973 OXYGEN #3: Add "back" button to UCI apply/revert/changes pages 2008-10-10 20:59:27 +00:00
Steven Barth
676203d1fc OXYGEN #2: Reorganized theme selection, added indexing support 2008-10-10 14:37:53 +00:00
Steven Barth
8815b6a7dd OXYGEN #1: Added index-marks 2008-10-09 20:28:07 +00:00
Steven Barth
e317c7545e modules/admin-full: Added conntrack network page 2008-10-08 21:46:20 +00:00
Jo-Philipp Wich
2d122db2b9 * luci/modules/admin-core: fix css class of password field 2008-10-07 18:21:49 +00:00
Jo-Philipp Wich
86e1aebb59 * luci-trunk: huge xhtml, css and accessibility improvement patch - thanks Alina! 2008-10-07 13:10:24 +00:00
Jo-Philipp Wich
5adf9d5780 * luci/modules/admin-{mini,full}: fix language selection for langauges containing hyphens 2008-10-05 17:16:36 +00:00
Steven Barth
24a52d6f3e Fixed last commit 2008-10-03 16:56:35 +00:00
Steven Barth
741dd0bcd3 Added several backreference to Overview pages 2008-10-03 16:55:06 +00:00
Jo-Philipp Wich
729c5a24a8 * luci/libs/uvl: move most schemes to their corresponding packages 2008-09-25 13:57:28 +00:00
Jo-Philipp Wich
30c7933f23 * luci/modules/admin-core: make sure luci_hosts is executed before dnsmasq 2008-09-24 22:44:36 +00:00
Steven Barth
4538b12895 Broadcom should handle keep_avail now 2008-09-24 22:37:09 +00:00
Steven Barth
57e0c3075e Added Yanira to credits 2008-09-24 12:46:43 +00:00
Jo-Philipp Wich
a67aea40a0 * luci/modules/admin-full: convert cert fields to file upload fields in wifi configuration 2008-09-23 17:32:31 +00:00
Jo-Philipp Wich
70de30251b * luci/modules/admin-full: allow multiple httpd sections (instances) 2008-09-23 17:27:39 +00:00
Steven Barth
251502e2cd Kill luci-addons package 2008-09-23 13:15:50 +00:00
Jo-Philipp Wich
57def3cead * luci/modules/freifunk: translation fixes on contact admin page 2008-09-20 22:44:58 +00:00
Jo-Philipp Wich
dc253f4af4 * luci/libs/cbi: implement commit hooks in cbi maps
* luci/moules/admin-mini: reload global config namespace when change theme or language (for persistent environments)
* luci/moules/admin-full: reload global config namespace when change theme or language (for persistent environments)
2008-09-20 22:11:41 +00:00
Steven Barth
71adba8a50 FF-Wizard: Create a forwarding rule for intraff traffic, fix some function definitions 2008-09-19 22:45:08 +00:00
Steven Barth
f5d4157cab admin-full/admin-mini: Fixed backup module 2008-09-19 17:47:56 +00:00
Steven Barth
1c7cc8501c Fixed a typo for broadcom maclist, Improved general maclist handling 2008-09-19 10:42:18 +00:00
Steven Barth
a54b1945c4 Revert mtdow 2008-09-18 21:45:01 +00:00
Steven Barth
8f5d0d6ff5 new sysupgrade fixes part 2 2008-09-18 21:26:34 +00:00
Steven Barth
5067e2d185 Revised sysupgrade part 1 2008-09-18 19:23:08 +00:00
Steven Barth
d87d01a24b admin-mini: Merge MAC-Address detection from admin-full 2008-09-18 14:51:04 +00:00
Steven Barth
f1637e6550 admin-mini: Override UVL values for wireless mode 2008-09-16 21:59:31 +00:00
Steven Barth
51c5827d75 admin-full: Override UVL values for mode field 2008-09-16 10:08:28 +00:00
Jo-Philipp Wich
662186e815 * luci/admin-full: fix another possible nil value 2008-09-16 02:00:16 +00:00
Jo-Philipp Wich
7dfe9098a5 * luci/admin-full: cope with nil values in fstab overview 2008-09-16 01:36:38 +00:00
Jo-Philipp Wich
922f92cd7d * luci/modules/freifunk: fix translation of contact page 2008-09-16 01:27:56 +00:00
Steven Barth
c32a729fb2 Graph node must be named "graph" to work with magic in luci_statistics 2008-09-15 23:46:29 +00:00
Steven Barth
e10d64e3e0 Resolve a conflict 2008-09-15 23:19:11 +00:00
Jo-Philipp Wich
7ea3e1a5e6 * luci/modules/freifunk: minor translation fixes 2008-09-15 21:01:04 +00:00
Jo-Philipp Wich
5c31a68a53 * luci/i18n: remove freifunk related string from german core translation
* luci/modules/freifunk: add english translation, prefix strings with "ff_"
2008-09-15 20:17:35 +00:00
Steven Barth
dbd1d3c273 Reorganised Freifunk pages
Unified Community configuration
2008-09-15 16:52:58 +00:00
Steven Barth
5872bfa084 Overall Freifunk improvements 2008-09-14 21:59:14 +00:00
Steven Barth
b29afca6be modules/freifunk: Fix some default firewall rules 2008-09-14 19:00:58 +00:00
Steven Barth
15345d3615 Reworked Freifunk public status pages 2008-09-14 01:05:11 +00:00
Steven Barth
d688dad611 FF-Wizard: Fixed default WiFi configuration 2008-09-13 23:49:07 +00:00
Steven Barth
f9303705a0 Overall CBI-UVL ineraction fixes 2008-09-13 12:20:39 +00:00
Jo-Philipp Wich
d124dd9bb5 * luci/model/admin-full: override scheme for network overview page too to prevent "network.foo.ifname has no value" errors after wifi config created a new network on demand 2008-09-13 04:44:03 +00:00
Jo-Philipp Wich
a8d165a5bf * luci/libs/uvl:
- only check option dependencies if option has a value
	- remove option required for atheros mode in wireless scheme - breaks broadcom
* luci/model/admin-full:
	- override section validation if we create a new network on demand
2008-09-13 04:26:37 +00:00
Steven Barth
871f07ad2e Avoid XML errors 2008-09-12 16:12:51 +00:00
Steven Barth
2bbc4eb3c3 Revert "Redesigned firmware upgrade process" 2008-09-12 16:12:23 +00:00
Steven Barth
fade8edd2d Redesigned firmware upgrade process 2008-09-12 11:53:08 +00:00
Steven Barth
19c79a30b9 Fixed DHCP-Options and some CBI stuff 2008-09-07 23:50:58 +00:00
Steven Barth
d8282d382b libs/cbi: Catch errors while creating named sections 2008-09-07 21:22:39 +00:00
Jo-Philipp Wich
a8c64ef3b0 * luci/modules/admin-full: fix character encoding in package descriptions, fixes #121 2008-09-07 20:12:24 +00:00
Steven Barth
21a7e9bc65 Fixes for WPA notifications 2008-09-07 14:33:42 +00:00
Steven Barth
43ff3a4092 Added hostapd/wpa_supplicant notices to WiFi configuration, closes #117 2008-09-07 14:06:20 +00:00
Steven Barth
72927597bc Fixed stupid bug 2008-09-06 19:39:03 +00:00
Steven Barth
087bd8afc7 Trigger post-flash reboot manually 2008-09-06 18:55:26 +00:00
Jo-Philipp Wich
c80d0a350e * luci/modules: add hosts configuration pages 2008-09-06 18:21:58 +00:00
Steven Barth
7514604860 Fixed responsiveness for flashing process 2008-09-06 15:59:18 +00:00
Steven Barth
9ce58c0339 Made flashing more responsive as well 2008-09-06 15:15:38 +00:00
Steven Barth
f2ae44a284 Cosmetic improvement 2008-09-06 14:17:13 +00:00
Steven Barth
dbde0216c2 Rewrote UCI apply logic 2008-09-06 13:51:51 +00:00
Jo-Philipp Wich
73d1fca4e8 * luci/modules/admin-full: fix syslog page 2008-09-06 00:08:23 +00:00
Steven Barth
c08c0fdede Fixed last commit 2008-09-05 19:27:19 +00:00
Steven Barth
cd53740e0f Move RPC-bidnings out of the way to prevent the indexer to require them 2008-09-05 19:25:57 +00:00
Steven Barth
13579a4e21 Fix UVL RPC-API 2008-09-05 19:09:11 +00:00
Steven Barth
b02fe4b480 Fixed UVL bindings 2008-09-05 15:43:57 +00:00
Steven Barth
1358f954a7 Fixed JSON-RPC API, added uvl API-Bindings 2008-09-05 15:38:53 +00:00
Steven Barth
c882d1f501 Fixed Reboot pages 2008-09-05 10:20:07 +00:00
Steven Barth
2cde638a53 Push new Freifunk configuration 2008-09-05 01:02:36 +00:00
Steven Barth
76145b3e25 Added device hints to fstab configuration page. 2008-09-04 22:03:19 +00:00
Jo-Philipp Wich
ccd792c4d1 * luci/modules: fix default translation of no-encryption-option in both admin-full and admin-fixed 2008-09-03 22:42:20 +00:00
Steven Barth
954e61d2a3 Bump i18n-files 2008-09-02 09:08:11 +00:00
Steven Barth
5430a64f05 modules/admin-full: Fixed a typo on IPKG configuration page 2008-09-02 09:06:27 +00:00
Steven Barth
6a1f5d2889 Fix usage of WPA/PSK encryption options in wifi configuration 2008-08-31 22:44:32 +00:00
Steven Barth
5ff3750b37 Completely rewrote WiFi configuration pages, to synchronise with upstream featureset of mac80211, madwifi and broadcom wireless configuration 2008-08-30 20:32:27 +00:00
Steven Barth
449d8e46e9 Wifi updates part #1 2008-08-30 00:11:48 +00:00
Steven Barth
ffd5c4ec65 General optimizations, simplifications and improvements 2008-08-29 23:26:01 +00:00
Steven Barth
4a9259586d Fixed RPC-API 2008-08-29 17:12:35 +00:00
Steven Barth
a0650b4ca9 modules/rpc: Check for existence of external libraries
libs/sys: Small fix for API-Documentation
2008-08-29 17:06:58 +00:00
Steven Barth
77756f08b4 Publish luci.model.ipkg via JSON-RPC 2008-08-29 15:54:13 +00:00
Steven Barth
bda994c32e Completed first version of JSON-RPC API 2008-08-29 12:27:54 +00:00
Steven Barth
3dea61aaa3 mini: Force network interface to not be removable 2008-08-28 19:33:17 +00:00
Steven Barth
63d1d17111 mini/wifi: Make WPA(2)-Radius only avaiable in Master-Mode, Remove double XML-escape for ESSID 2008-08-28 09:11:23 +00:00
Steven Barth
e31fcb11e0 Optical improvements 2008-08-27 13:53:55 +00:00
Steven Barth
1e2d9409a5 Fix missing UCI transition 2008-08-27 13:52:25 +00:00
Steven Barth
d463d0b835 Renamed reworked UCI API to uci2 to allow a peaceful coexistence with the old one
Minor bugfixes
2008-08-27 08:53:40 +00:00
Steven Barth
28ffe7d704 Fixed typos 2008-08-26 23:20:41 +00:00
Steven Barth
91ba7c42f5 UCI API changes 2008-08-26 23:00:44 +00:00
Steven Barth
df40e4df5e libs/json: Completed JSON library
modules/rpc: Added experimental JSON-RPC API
2008-08-26 17:50:32 +00:00
Steven Barth
0c5dc7bc77 libs/core: Reworked some basic libraries to not use package.seeall
libs/json: Implemented own JSON-Decoder (Encoder will follow)
modules/rpc: Preliminary implemented RPC-Exports for luci.fs, luci.sys and luci.model.uci
2008-08-26 00:53:28 +00:00
Steven Barth
d8b61a5394 modules/admin-fulk: Fixed changes handling of Static Routes configuration page 2008-08-22 22:38:14 +00:00
Steven Barth
3bcab66128 RPC initial authentication API completed 2008-08-22 22:13:54 +00:00
Steven Barth
4eead17501 RPC part #2 2008-08-22 20:04:04 +00:00
Steven Barth
9c6a852939 Updated XML translation system, fixed some errors with multiline-translations
Thanks: Alina Friedrichsen
2008-08-22 17:18:36 +00:00
Jo-Philipp Wich
c7c2624713 * luci/i18n: updated translation files, xhtml fixes in openwrt.org theme 2008-08-20 19:35:54 +00:00
Jo-Philipp Wich
7590274b21 * luci/i18n: add luci translations in xml format 2008-08-20 17:23:53 +00:00
Steven Barth
1a08ed70d3 modules/admin-full: Use absolute paths for network configuration pages 2008-08-20 09:20:21 +00:00
Steven Barth
4db2139116 modules/admin-*: Added hints for Wifi Channels 2008-08-19 18:20:57 +00:00
Steven Barth
6805eabaaa modules/admin-full: Correctly unload firewall config in network configuration page 2008-08-19 17:51:13 +00:00
Steven Barth
a35337e6a1 Minor bugfixes
Added possibility to add networks from Wifi page
2008-08-19 17:02:40 +00:00
Steven Barth
7be32a9332 Fixed duplicate tables 2008-08-18 09:14:25 +00:00
Steven Barth
03a6ee9ef0 Small bugfixes and improvements 2008-08-18 08:43:48 +00:00
Steven Barth
935f4a805a Small bug fixes 2008-08-18 02:06:59 +00:00
Steven Barth
f1d763ef76 modules/admin-mini: Smaller improvements 2008-08-18 01:17:12 +00:00
Steven Barth
d037dc5abc Updated Wifi Configuration in Mini, removed some orphaned pages 2008-08-18 01:08:37 +00:00
Steven Barth
0c3fc70ddb Huuuuuuuuuuuge rewrite of the Wireless Configuration 2008-08-18 00:38:18 +00:00
Steven Barth
97ce1ad8ad Preparing rewrite of WiFi configuration 2008-08-17 18:32:53 +00:00
Steven Barth
d33e42b536 #108 2008-08-17 15:15:33 +00:00
Steven Barth
c0d904ac16 Add missing number conversion (fixed #108) 2008-08-17 14:37:53 +00:00
Steven Barth
3904a012fa modules/admin-full: Added crontab configuration page 2008-08-17 13:49:19 +00:00
Steven Barth
6d430930a3 Fixed a typo 2008-08-17 10:51:56 +00:00
Steven Barth
75d4cca7ae Fixed a design flaw in luci.model.uci 2008-08-17 10:20:36 +00:00
Steven Barth
746fa9df8f modules/admin-mini: General UI improvements 2008-08-17 00:29:13 +00:00
Steven Barth
7d08bec3ae modules/admin-mini: Revised homepage 2008-08-17 00:19:44 +00:00
Steven Barth
510fde0118 Added status information
Minor Cleanups
2008-08-16 23:17:50 +00:00
Steven Barth
8b2e83f2d5 modules/admin-full: Fixed package management page 2008-08-16 21:40:08 +00:00
Steven Barth
d7b95a555b Added process control page
Minor improvements
2008-08-16 20:18:14 +00:00
Steven Barth
74b1d8da3b /etc/ipkg.conf is now /etc/opkg.conf 2008-08-16 16:41:44 +00:00
Steven Barth
09b829a9c7 UI Improvements 2008-08-16 15:37:28 +00:00
Steven Barth
f94fb5ac18 Some cleanups 2008-08-15 22:22:54 +00:00
Steven Barth
8e4afe1210 Several escaping fixes
Updated XML translation system
Use the new Table widget for DHCP leases
2008-08-15 20:42:25 +00:00
Steven Barth
d212e531d5 Added missing value escaping
Fixed a typo (wrong if-condition)
Added support for Table objects in CBI
2008-08-15 18:18:16 +00:00
Steven Barth
8d9d419f84 libs/cbi: Some fixes 2008-08-15 09:22:45 +00:00
Steven Barth
72b500bee7 modules/*: Reintroduced the broadcom sanity check 2008-08-15 00:44:13 +00:00
Steven Barth
be5c20195f modules/admin-mini: Remove unneeded checks 2008-08-15 00:30:39 +00:00
Steven Barth
1d7fb47126 modules/admin-mini: Fixed a typo 2008-08-15 00:26:07 +00:00
Steven Barth
9354c17eab modules/admin-full: Reworked DHCP configuration 2008-08-15 00:07:50 +00:00
Steven Barth
5aa6c0bb68 modules/admin-full: Added list of mounted file systems to fstab configuration page 2008-08-14 23:10:41 +00:00
Steven Barth
68d499edb9 modules/admin-full: Rewrote route configuration page 2008-08-14 20:33:30 +00:00
Steven Barth
1616d5a81e Enable more sanity checks for Password Changing page 2008-08-14 19:19:05 +00:00
Steven Barth
15e2e16c6d Converted password change form to CBI model 2008-08-14 19:01:36 +00:00
Steven Barth
d915e6e1d7 Converted IPKG configuration to CBI model
Removed abandoned code
2008-08-14 17:16:56 +00:00
Steven Barth
36717208f1 Fixed login form
Converted SSH-Keys to CBI-Map
2008-08-14 16:11:49 +00:00
Steven Barth
09145378c8 modules/admin-full: Added a cross-references from network interface config to firewall zone config 2008-08-14 14:54:37 +00:00
Steven Barth
2c09564d76 modules/admin-core: Added several cross-references to relevant configuration pages 2008-08-14 14:51:06 +00:00
Steven Barth
e42779fcab User interface improvements part #3 2008-08-14 11:50:44 +00:00
Steven Barth
33f2d5fd0f modules/admin-full: Updated VLAN configuration page 2008-08-14 11:49:36 +00:00
Jo-Philipp Wich
8591d4e396 * luci/libs: improved cbi templates
* luci/modules:	fix layout of sshkeys page in admin-full
2008-08-14 01:31:17 +00:00
Steven Barth
027effe9c8 modules/admin-full: Optimized mount-point configuration page 2008-08-13 23:19:48 +00:00
Steven Barth
662f70a467 modules/admin-full: Added Firewall-Zone column to network interface overview 2008-08-13 23:14:19 +00:00
Steven Barth
58f183a282 Completed rewrite of network interface configuration page 2008-08-13 22:54:38 +00:00
Jo-Philipp Wich
4c1f7c1169 * luci/themes: <tt> is deprecated, replace with <pre> in error500 template, add css styles for error500 and cbi error messages 2008-08-13 17:55:05 +00:00
Steven Barth
36f1dac36f User interface improvements part #2 2008-08-13 16:18:39 +00:00
Steven Barth
5a92c0fc08 libs/cbi: Improved user interface draft #1 2008-08-13 14:09:33 +00:00
Steven Barth
a59044df9b Fixed last commit 2008-08-13 01:30:32 +00:00
Steven Barth
07fdaa87db modules/admin-full: Network interface configuration optimization part #1 2008-08-13 01:24:44 +00:00
Steven Barth
01a4a3ab73 modules/admin-full: Preparing rewrite of network interface configuration 2008-08-11 22:00:47 +00:00
Steven Barth
f9fa6d82da * libs/web: Reworked authentication 2008-08-10 12:58:05 +00:00
Steven Barth
d1998ce924 Added missing dependency which broke LuCI
Removed unneeded Broadcom sanity check
2008-08-09 00:42:35 +00:00
Steven Barth
e080fcebd2 libs/core: Cleaned up luci.sys in favor of the new luci.ip module 2008-08-08 12:26:45 +00:00
Steven Barth
fbae92e522 modules/admin-full: Added support for interface aliases 2008-08-07 20:21:38 +00:00
Steven Barth
e72a526984 libs/cbi: Added magic ;-) 2008-08-07 19:03:25 +00:00
Steven Barth
d79794c119 modules/admin-full: Added support for IPv6 network configuration 2008-08-07 17:23:36 +00:00
Steven Barth
6e390b7691 modules/admin-full: Removed accidently remaining debug dummy stuff 2008-08-07 11:46:13 +00:00
Steven Barth
6901e28cfc modules/admin-full: Completed support for LED configuration 2008-08-07 11:45:19 +00:00
Steven Barth
6b32f06b1a modules/admin-full: Prepare Button / LED configuration 2008-08-07 00:57:20 +00:00
Steven Barth
76982655fa Moved luci.sys.exec, luci.sys.execl and luci.sys.bigendian to luci.util 2008-08-06 20:11:15 +00:00
Steven Barth
206bf7f253 modules/admin-full: Several user interface improvements 2008-08-06 10:41:47 +00:00
Steven Barth
0181d2dee7 modules/admin-full: Display wifi devices as enabled if user removes the disabled-option 2008-08-05 14:15:03 +00:00
Steven Barth
84d6646bb4 modules/admin-full, modules/admin-mini: Added eyecandy ;-) 2008-08-04 23:48:41 +00:00
Jo-Philipp Wich
78fb71f881 * luci/admin-full: fixed bug that prevented creation of interface sections in dhcp page 2008-08-04 23:12:14 +00:00
Steven Barth
15facd9280 modules/admin-*: Fixes for firmware upgrade and system reset 2008-08-03 16:33:49 +00:00
Steven Barth
f26e93bead admin-full, admin-mini: Added configuration backup, restore, reset page
admin-full, admin-mini: Fixed a bug in firmware upgrade preventing configuration files from being kept
2008-08-03 15:01:36 +00:00
Steven Barth
14e62cc311 libs/web: Fixed template escaping 2008-07-31 09:54:09 +00:00
Steven Barth
aa462baa33 Fixed a small bug in timezone generation 2008-07-31 09:04:30 +00:00
Steven Barth
5c7ab64306 libs/cbi: Fixed CBI handling of "Save & Apply" 2008-07-30 19:01:07 +00:00
Steven Barth
f8f4fe7523 modules: Redesigned configuration save, apply, save & apply menu options 2008-07-29 15:33:28 +00:00
Steven Barth
fe1bbe8ce7 modules/admin-mini: Fixed wifi client mode again 2008-07-26 10:19:21 +00:00
Steven Barth
35360afb6f modules/freifunk: Add compatibility cgi-bin-nodes.html 2008-07-25 22:15:29 +00:00
Steven Barth
ce60514402 modules/admin-mini: Fixed WLAN client mode 2008-07-25 21:39:10 +00:00
Steven Barth
e73752cae9 modules/admin-full: Made interfaces optional 2008-07-25 20:49:00 +00:00
Jo-Philipp Wich
a93196b432 * luci/admin: fix inverted signedness of timezone specifiers 2008-07-20 17:07:54 +00:00
Steven Barth
5350456779 modules/admin-full, modules/admin-mini: Fixed firmware upgrade templates 2008-07-19 16:51:47 +00:00
Steven Barth
543dd52159 modules/admin-mini: Add "general" submenu links 2008-07-19 16:31:09 +00:00
Steven Barth
e8191406f8 modules/admin-mini: Improvements in PPPoE/PPTP option descriptions 2008-07-19 12:38:23 +00:00
Steven Barth
4f3d008435 modules/admin-mini: Added WLAN-Scan page
Minor translation fixes
2008-07-19 11:03:14 +00:00
Steven Barth
2213c82b47 modules/admin-mini: Minor template fix 2008-07-18 22:20:06 +00:00
Steven Barth
3d794abec4 modules/admin-mini: Several tweaks, initial status page 2008-07-18 21:33:25 +00:00
Steven Barth
94836433e5 modules/admin-full: Improved system configuration page
modules/admin-mini: Introduced system configuration page
2008-07-18 14:08:34 +00:00
Steven Barth
5eb60fbec9 updated about page 2008-07-18 08:42:11 +00:00
Steven Barth
b0f7ffe237 A few smaller usability improvements 2008-07-18 08:24:42 +00:00
Steven Barth
fce0b84501 Added new application luci-ntpc to luci-full and luci-mini 2008-07-17 21:01:15 +00:00
Steven Barth
8d1aff78b1 modules/admin-mini: Added Wifi configuration
several smaller bugfixes and enhancements
2008-07-16 18:54:10 +00:00
Steven Barth
0a0712b9d9 Added a note to the Freifunk menu for OpenWRT
modules/admin-mini: Several small fixes and improvements
2008-07-16 15:19:05 +00:00
Steven Barth
66a6492ae5 libs/web: Prevent luci.http to prematurely parse the POST data
modules/admin-mini: Added fw-upgrade page
2008-07-16 14:26:40 +00:00
Steven Barth
65cde96c5b Several small cleanups and improvements
modules/admin-mini: Added reboot page
2008-07-16 10:48:39 +00:00
Steven Barth
429473aed8 applications/luci-fw: Added support for luci-mini
modules/admin-mini: Added portforwarding page, and UCI changes, apply and revert pages
2008-07-16 10:08:28 +00:00
Jo-Philipp Wich
be4147d3d8 * luci/themes: css fixed in openwrt.org theme
* luci/statistics:		fixed layout of graph display page
* luci/admin:			fixed layout of uci changes page
2008-07-15 22:37:53 +00:00
Steven Barth
8bb8b7c09c modules/admin-mini: Added DHCP page
modules/admin-full: Added static leases configuration to DHCP page
2008-07-15 16:28:29 +00:00
Steven Barth
7cb0813e85 modules/admin-mini: some work on lan and wan configuration 2008-07-15 14:33:29 +00:00
Steven Barth
012af10360 Generalized UCI changes display
i18n: some nicer looking translations
2008-07-15 13:42:54 +00:00
Steven Barth
d0a622dce8 lib/cbi: Added support for multiple CBI maps per model 2008-07-15 13:17:28 +00:00
Steven Barth
97ff4a156f Split up admin-core into admin-core and admin-full, preparing admin-mini 2008-07-15 08:47:36 +00:00
Jo-Philipp Wich
426f12416d * luci: add memory status patches from soma 2008-07-14 15:54:53 +00:00
Steven Barth
1588665618 Added copyright-tags to templates 2008-07-07 22:00:56 +00:00
Steven Barth
715ae85627 Updated about-page 2008-07-07 19:58:50 +00:00
Steven Barth
c9a5aedeb0 Updated notice and contributors information 2008-07-07 19:57:08 +00:00
Steven Barth
f12acd8a11 libs/web: Removed deprecated i18n-file naming convention 2008-07-06 15:21:12 +00:00
Steven Barth
8f770fd17a * libs/web: Fixed translation handling 2008-07-06 15:19:26 +00:00
Steven Barth
dc5dfb5da0 * modules/admin-core: Add translation for UCI changes, revert and apply page title 2008-07-05 10:31:58 +00:00
Steven Barth
b8240f3516 * libs/web: Added Logout support
* libs/web: Fixed a bug with an invalid calling convention in luci.dispatcher
* libs/sys: Fixed rudimentary posix.crypt detection
2008-06-29 14:43:06 +00:00
Steven Barth
00aceaf624 * libs/web: Switched from HTTP-Basic-Auth to Session-Auth
* Updated Makefiles for better testing environment integration
* Fixed libs/sgi-luci
2008-06-28 16:03:54 +00:00
Steven Barth
78110807c2 * Updated thankyou documents 2008-06-27 19:26:55 +00:00
Steven Barth
855b7582d3 * Rewrote Luci to be coroutine-safe allowing the use of non-forking webservers
* Setting base version to 0.7
2008-06-14 14:12:12 +00:00
Steven Barth
72019e300a * Added support for timezone setting 2008-06-11 20:58:15 +00:00
Steven Barth
5472678440 * Completed cleanup of German translation 2008-06-09 20:11:19 +00:00
Steven Barth
211c6394a0 * Prepare german translation cleanup 2008-06-09 10:10:29 +00:00
Steven Barth
14438002a1 * More Translation 2008-06-08 15:36:57 +00:00
Steven Barth
b088031a8e * Core translation 2008-06-08 13:03:55 +00:00
Steven Barth
7d03f8ea8a * Core translation
* Added license headers
* Splitted qos into separate application package
2008-06-08 08:14:31 +00:00
Steven Barth
37caa67aaa * Core translation 2008-06-06 21:24:59 +00:00
Steven Barth
8644ff1eab * Removed section titles 2008-06-06 18:27:59 +00:00
Steven Barth
794a2f537c * Fixed an issue that prevented the controller from working with fastindex 2008-06-06 18:16:56 +00:00
Steven Barth
9322801072 * Separated OLSR pages into separate application pack
* Minor bugfixes and enhancements
2008-06-06 15:50:21 +00:00
Steven Barth
dd9606825d * Merged Luci to use native UCI-library 2008-06-05 19:16:38 +00:00
Felix Fietkau
77f8074a01 make use of the new features in the binding for uci v0.4.0 - fixes remaining dependencies of libuci.lua on the cli 2008-06-03 22:42:01 +00:00
Steven Barth
60a726343c * Linked statistic graphs to Freifunk module 2008-06-03 20:22:54 +00:00
Steven Barth
561b0cfaa3 * Moved Freifunk status pages to admin-core and linked them in Freifunk
* luci/web: Added assign() to dispatcher to reference foreign nodes in the dispatching tree
2008-06-02 20:16:05 +00:00
Steven Barth
f56890a573 * Added native basic authentication support
* Cleanups
2008-06-02 17:49:27 +00:00
Steven Barth
b454395a8d * Performance optimizations
* libs/core: Added bytecode stripping function to luci.util
* libs/core: Added smart indexcache that automatically updates cached index-files on change
* libs/web: Enabled template caching support
* Core Translation part 4
2008-06-01 12:12:18 +00:00
Steven Barth
9688e102c4 * Core translation part 3 2008-05-31 14:48:48 +00:00
Steven Barth
8f7f03a0c5 * Core translation part 2 2008-05-31 13:57:30 +00:00
Steven Barth
2623e2880c * Core translation part 1
* Introduced new default theme "OpenWRT.org"
* Minor tweaks
2008-05-31 08:04:49 +00:00
Steven Barth
d5c47776a5 * Temporarily disabled fastindex-support due to a bug where controllers containing "require"-calls are not indexed correctly 2008-05-29 19:39:08 +00:00
Steven Barth
8687547e47 * Bugfixes
* Moved cbi.js into the right directory
* Added more debugging to dispatcher
* Introduced about page
2008-05-29 18:27:12 +00:00
Steven Barth
aafa5b786d * Preparing about page 2008-05-28 21:02:52 +00:00
Steven Barth
b1e131a3db * Optimized dispatching model 2008-05-27 20:39:48 +00:00
Steven Barth
d35a620e9f commit 4f6198094cf4134179d1f9c9fa8f79759a27c87e
Author: Felix Fietkau <nbd@openwrt.org>
Date:   Tue May 27 13:56:12 2008 +0200

    rename src/ to luasrc/
2008-05-27 12:23:39 +00:00
Steven Barth
30c8b259e1 * Separated CBI from LuCI Web
* Updated OpenWRT-Makefile
2008-05-27 08:32:10 +00:00
Steven Barth
5f40074c0e * Updated dispatcher to use fastindex if available
* Updated webuci SGI
* Updated dispatcher
2008-05-26 09:45:12 +00:00
Steven Barth
365d80765d Renamed FFLuCI to LuCI, ffluci to luci and Freifunk Lua Configuration Interface to Lua Configuration Interface 2008-05-25 17:00:30 +00:00
Steven Barth
f920f79b64 * Separated Freifunk wizard from Freifunk module 2008-05-23 21:14:21 +00:00
Steven Barth
6604399aa8 Merge branch 'menu' 2008-05-22 14:04:03 +00:00
Steven Barth
6eae1a0103 * Generalized dispatcher handling 2008-05-17 10:00:44 +00:00
Steven Barth
213caecd15 * modules/freifunk: Cleaned up Freifunk init-Script and wizard 2008-05-14 19:41:40 +00:00
Steven Barth
a39bf5f58d * modules/freifunk: Updated wizard to be more generic 2008-05-14 19:39:09 +00:00
Steven Barth
3f4f75b107 * core: Added template for a table view of typed sections 2008-05-14 12:10:44 +00:00
Steven Barth
bac04441f1 * modules/admin-core: Reintroduced ffluci.controller.admin.status
* modules/admin-core: Added Syslog status page
2008-05-13 17:32:11 +00:00
Steven Barth
b481ea4934 * applications/sgi-haserl: Added ffluci.http.upload for file uploads
* applications/sgi-webuci: Added stub for ffluci.http.upload
2008-05-13 09:21:10 +00:00
Steven Barth
424a6ce48d * Readded freifunk module 2008-05-08 16:14:49 +00:00
Steven Barth
f3b7e588e1 * WTF SVN oO 2008-05-08 16:07:00 +00:00
Steven Barth
214bfdc198 * Fixed #2030 2008-05-08 16:04:18 +00:00
Steven Barth
aa9ccf77c6 * Mördercommit ;-)
* Major Repository Reorganisation
* API 0.4 Softfreeze to come
2008-05-08 15:37:41 +00:00