Age | Commit message (Collapse) | Author |
|
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Enables creation of custom choices.
example usage:
o = s.taboption('thistab', form.MultiValue, 'myoption');
o.create = true;
Form element now presents additional ' -- custom -- ' entry.
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
|
|
allowed in hostnames to represent the root of the DNS hierarchy
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
|
|
Tested with filogic banana rpi4 / QNAP qualcommax ipq8074
Signed-off-by: Rudy Andram <rmandrad@gmail.com>
Tested-By: Daniel Pawlik <pawlik.dan@gmail.com>
|
|
This commit fixes a problem with HTML entities which were visible in their
encoded form in the mobile view. This happened for example when displaying
a GridSection with a Value option containing " " in the title.
Without this change only HTML entities in titles that also contains tags
are decoded before they are stored in data-title attributes.
Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
|
|
And make sure to return an empty list if getDevices() returns null.
It happens with batadv.
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
treewide: add new css class button-row
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Joseph Mory <morytyann@outlook.com>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
This change is required, so that the cancel button is the first and thus
closes the modal when the 'ESC' button is pressed.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
This is a preparation commit so the buttons could get the new css class
'button-row'
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
|
|
This commit introduces a streamlined method for retrieving lease time
information on IPv6 interfaces.
While IPv4 interfaces typically have a single lease time (available
in the interface data), IPv6 interfaces commonly feature multiple
lease times due to factors like delegated prefixes or multiple /64 subnet.
Users typically receive only one prefix delegation from their ISP, leading
this PR to the retrieval of lease time from the first available prefix
or IPv6 address.
To enhance usability and provide users with a more comprehensive view
of lease time information, however, alternative approaches
should be discussed.
Suggestions include returning an array of lease times or aggregating
the various possible values using methods like min or max.
These enhancements aim to improve the clarity the lease time
management on IPv6 interfaces.
Signed-off-by: hitech95 <nicveronese@gmail.com>
|
|
Add File Manager / File Browser based on form.FileUpload
|
|
Allow downloading from a file browser.
The Download button is located near to Delete.
It's shown only for files: folders or /dev/ devices can't be downloaded.
The downloading is made via fs.read_direct() which internally calls cgi-download.
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
|
|
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
|
|
This reverts commit 97ebdcbddb9cad76dc551086fcb887e55886a069.
The commit seems to cause errors already before the login screen.
Discussion in https://github.com/openwrt/luci/commit/97ebdcbddb9cad76dc551086fcb887e55886a069#commitcomment-139871175
Errors like:
In error(), file [C]
called from function [anonymous function] (/usr/lib/lua/luci/ucodebridge.lua:23)
called from function ((tail call))
In [anonymous function](), file /usr/share/ucode/luci/runtime.uc, line 148, byte 45:
called from function build_pagetree (/usr/share/ucode/luci/dispatcher.uc:382:73)
called from function menu_json (/usr/share/ucode/luci/dispatcher.uc:439:26)
called from function [anonymous function] (/usr/share/ucode/luci/dispatcher.uc:898:24)
called from anonymous function (/www/cgi-bin/luci:39:13)
` return lcall.call(modname, method, ...args);`
Near here ----------------------------------------^
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Multiple apps introduced their own implementation of a syslog view,
filtered for just their own application logs. Pull that out as a shared
view. Some of these had _minor_ style differences, which has been
"standardized" now. A full "widget" conversion would allow more end app
tuning of that, but is not implemented.
Signed-off-by: Karl Palsson <karlp@etactica.com>
app-nextdns: fix Logs title
Minor typo, introduced in 625abbf (convert simple controllers to
menu.json)
Signed-off-by: Karl Palsson <karlp@etactica.com>
luci-base: implement shared log reader view
Closes #5452
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Because the menu JSON can have 'depends' in them, uci changes
should force the menu to regenerate.
Closes #6423
Signed-off-by: James Haggerty <james.haggerty@morsemicro.com>
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
The call function was based on the legacy XHR interface and it has not
been updated to comply with the new request interface which passes the
duration as part of the response object rather than as a separate
argument. This resulted in polling in a tight loop in certain cases
since the duration was undefined.
In addition there is no need to adjust apply_holdoff based on elapsed
time as no significant amount of time has elapsed at this point.
Signed-off-by: Erik Karlsson <erik.karlsson@genexis.eu>
|
|
All supported browsers natively support this functionality since
quite a while already.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
In the Browser mode the file tree dialog won't be closed when clicking on a file.
The mode is used by a File Browser.
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
|
|
Before this change, values further in time than 23:59:59 was allowed, such as 24:00:00 and 23:60:00. Leap seconds is accounted for so 60 is allowed in the seconds parameter.
Signed-off-by: Daniel Nilsson <daniel.nilsson94@outlook.com>
|
|
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
- Ensure that pressing escape within the custom choice input closes the
dropdown list but not the parent modal dialog
- Ensure that added custom choice elements are tabbable
- Retain focus on dropdown when closing dropdown
- Consistently focus input textarea when tabbing into custom choice item
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Add datatype validators for IP address ranges which are required for certain
firewall inputs.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Drop mouse following focus behavior as it interferes with custom value inputs,
rely on CSS based hover effects instead.
Also slightly improve keyboard navigation by auto-focussing the custom value
input when entering the last dropdown choice via arrow down or tab key, and
by allowing to leave the text input again with the arrow up key.
Fixes: #6903
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Enabled by default. If the interface is in use, the user will be asked
to confirm.
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
|
|
reduce backtracking in regex
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
handle (possibly incorrect) comment variants
<!-- -->
<!-- --!>
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
There are repeated values (TableSection inherits identically named
values from TypedSection which do not make sense to recreate).
There seemed to be other errors. E.g. TypedSection for FlagValue
properties, which mean that TypedSection got tooltip + tooltipicon,
and by virtue of the above error, GridSection inherited this too.
Signed-off-by: Paul Donald <newtwen@gmail.com>
|