Jo-Philipp Wich [Mon, 25 Jun 2018 09:19:36 +0000 (11:19 +0200)]
Merge pull request #1906 from ldir-EDB0/typofix
luci-app-rp-pppoe: Fix typo
Jo-Philipp Wich [Mon, 25 Jun 2018 09:12:25 +0000 (11:12 +0200)]
luci-base: add "Name" label to autogenerated title column
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 07:52:29 +0000 (09:52 +0200)]
luci-theme-bootstrap: render tblsection row titles
The Bootstrap theme lacked appropriate CSS yet to render section title
attributes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 07:51:18 +0000 (09:51 +0200)]
luci-base: annotate tblsection description row as well
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 07:42:10 +0000 (09:42 +0200)]
luci-theme-bootstrap: remove unused styles
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 07:33:07 +0000 (09:33 +0200)]
luci-mod-admin-full: fix average traffic calculation in realtime bandwidth
Fixes #1908.
Suggested-by: "mgalyean"
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 07:19:59 +0000 (09:19 +0200)]
luci-mod-admin-full: fix initializing realtime graphs
Commit
69782ccbc ("luci-base: xhr.js: defer starting poll queue") changed
the way XHR poll queues are started which broke the timing on the realtime
graph pages.
Fix the problem by manually starting the poller after registering the request
handlers.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 07:01:33 +0000 (09:01 +0200)]
luci-base, luci-mod-admin-full: unify wifi assoclist code
Merge the assoclist code of the status overview and wireless overview pages
into a single shared partial template.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 06:58:34 +0000 (08:58 +0200)]
luci-mod-admin-full: replace status page legend tags with h3 (#1907)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Mon, 25 Jun 2018 06:49:44 +0000 (08:49 +0200)]
Merge pull request #1895 from jow-/master
Responsive OpenWrt theme
Kevin Darbyshire-Bryant [Sat, 23 Jun 2018 16:13:38 +0000 (17:13 +0100)]
luci-app-rp-pppoe: Fix typo
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Jo-Philipp Wich [Wed, 20 Jun 2018 12:00:00 +0000 (14:00 +0200)]
luci-app-shadowsocks-libev: cleanup section add markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:57:08 +0000 (17:57 +0200)]
luci-mod-admin-full: packages: display available packages by default
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:18:36 +0000 (17:18 +0200)]
luci-app-travelmate: consolidate markup
Rework the various application view templates to properly render with the
latest responsive design changes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:18:02 +0000 (17:18 +0200)]
luci-app-upnp: rework lease status indicator
Turn the dynamic lease status table into responsive table by using the
cbi_update_table() helper in conjunction with title annotation attributes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 14:58:39 +0000 (16:58 +0200)]
luci-app-firewall: cleanup template markup
Rework the cbi section add template markup to properly render with the
latest responsive design changes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:17:04 +0000 (17:17 +0200)]
luci-mod-admin-full: cleanup markup
Globally cleanup template markup to support responsive design changes in
OpenWrt theme.
Rework handling of dynamic status tables, consolidate hand-written markup,
fix small render bugs in various places and annotate tables where needed.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:20:45 +0000 (17:20 +0200)]
luci-theme-material: align CSS with markup changes
Add the bare minimum of changes to make the theme render correctly with the
latest markup, requires further refinement and tuning in the future.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:21:00 +0000 (17:21 +0200)]
luci-theme-bootstrap: align CSS with markup changes
Add changes to make the theme render correctly with the latest markup,
requires further refinement and tuning in the future.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:01:22 +0000 (17:01 +0200)]
luci-theme-openwrt: rework and polish OpenWrt theme
- polish styling
- move main menu to the left for large resolutions and collapse into
dropdown header bar for small mobile resolutions
- make tables responsive by utilizing extra attributes to turn rows
into wrappable flexboxes for low resolutions
- mostly get rid of button icon references and use a uniform color
scheme for action-, positive, negative and neutral buttons
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:10:38 +0000 (17:10 +0200)]
luci-base: globally cleanup markup
- add responsive attributes to partial cbi templates
- unify and fix button style classes
- fix styling of sysauth dialog
- rework firewall_zoneforwards widget
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Sat, 23 Jun 2018 08:01:42 +0000 (10:01 +0200)]
Merge pull request #1905 from ldir-EDB0/bcp38
luci-app=bcp38: improve interface selection dropdown
Kevin Darbyshire-Bryant [Sat, 23 Jun 2018 07:43:00 +0000 (08:43 +0100)]
luci-app-bcp38: improve interface selection dropdown
Certain types of interface were excluded from bcp38's concept of
upstream wan interface e.g. pppoa-wan
Shamelessly copies the interface list generation from luci-app-sqm which
solved exactly the same problem and gives additional clues by displaying
the firewall zone (typically wan/lan etc)
Run-tested-on: DGN3500
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:09:36 +0000 (17:09 +0200)]
luci-base: cbi.js: add tooltip handling and responsive table helper code
- make findParent() globally available
- add code for initializing rich cbi tooltips
- introduce cbi_update_table() helper to auto-assign responsive attributes
to table markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Tue, 19 Jun 2018 15:53:20 +0000 (17:53 +0200)]
luci-app-firewall: update cbi models
- allow multiple src/dest ips for rules (#1637)
- restrict ICMP type list to ICMP protocol
- add section title callbacks
- remove size annotations
- fix validation error with aliased zone fields (#1882)
Fixes #1637, #1882.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 22 Jun 2018 07:39:30 +0000 (09:39 +0200)]
luci-base: xhr.js: defer starting poll queue
Defer the start of the queue poll loop until the document has been loaded.
This allows all XHR.poll() invocations on the page to register their
handlers before the first batch of requests is made.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hannu Nyman [Mon, 18 Jun 2018 17:29:39 +0000 (20:29 +0300)]
Merge pull request #1894 from YuriPet/patch-2
luci-app-firewall: update Ukrainian translation
Yurii [Mon, 18 Jun 2018 17:25:43 +0000 (20:25 +0300)]
luci-app-firewall: update Ukrainian translation
Updated with the latest synchronization of the translation.
Hannu Nyman [Mon, 18 Jun 2018 16:52:01 +0000 (19:52 +0300)]
Merge pull request #1891 from YuriPet/master
Correcting native name Ukrainian language & update Ukrainian translation
Hannu Nyman [Mon, 18 Jun 2018 15:39:33 +0000 (18:39 +0300)]
Merge pull request #1892 from musashino205/l10n/fw-upd-ja
luci-app-firewall: update Japanese translation
INAGAKI Hiroshi [Mon, 18 Jun 2018 07:57:08 +0000 (16:57 +0900)]
luci-app-firewall: update Japanese translation
Updated japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
INAGAKI Hiroshi [Mon, 18 Jun 2018 06:57:22 +0000 (15:57 +0900)]
luci-app-firewall: sync translations
Synchronized translations with sources.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Yurii [Sun, 17 Jun 2018 20:38:38 +0000 (23:38 +0300)]
luci-base: update Ukrainian translation
Yurii [Sun, 17 Jun 2018 20:37:21 +0000 (23:37 +0300)]
luci-app-firewall: update Ukrainian translation
Yurii [Sun, 17 Jun 2018 20:35:49 +0000 (23:35 +0300)]
luci-app-upnp: update Ukrainian translation
Yurii [Sun, 17 Jun 2018 20:33:35 +0000 (23:33 +0300)]
luci.mk: Correcting native name Ukrainian language.
Hannu Nyman [Sun, 17 Jun 2018 13:19:48 +0000 (16:19 +0300)]
Merge pull request #1889 from Ansuel/lucnginx
luci-nginx: add nginx support file
Ansuel Smith [Sun, 17 Jun 2018 12:52:11 +0000 (14:52 +0200)]
luci-nginx: add nginx support file
This adds nginx-mod-luci as a dependency of this package.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Hannu Nyman [Sun, 17 Jun 2018 09:47:13 +0000 (12:47 +0300)]
Merge pull request #1886 from musashino205/l10n/fix-syntax-uk
i18n: fix syntax errors in Ukrainian po
INAGAKI Hiroshi [Sat, 16 Jun 2018 14:25:54 +0000 (23:25 +0900)]
i18n: fix syntax errors in Ukrainian po
"Content-Type: text/plain; charset=UTF-8" was wrote twice in each
of base.po and firewall.po, and one was an incorrect place which
was the cause of the errors.
And, The escape in abbr HTML tag was incorrect, so I fixed it.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Hannu Nyman [Tue, 12 Jun 2018 16:57:22 +0000 (19:57 +0300)]
Merge pull request #1862 from Ansuel/lucidep
luci-nginx: add nginx metapackages
Hannu Nyman [Tue, 12 Jun 2018 16:56:26 +0000 (19:56 +0300)]
Merge pull request #1879 from sotux/master_zh_CN
luci-app-firewall: zh_CN: change better translation for offloading
Zheng Qian [Tue, 12 Jun 2018 04:06:34 +0000 (12:06 +0800)]
luci-app-firewall: zh_CN: change better translation for offloading
Signed-off-by: Zheng Qian <sotux82@gmail.com>
Ansuel Smith [Thu, 7 Jun 2018 16:42:02 +0000 (18:42 +0200)]
luci-nginx: add nginx metapackages
Create a metapackage with nginx as default webserver instead of uhttpd
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Hannu Nyman [Mon, 11 Jun 2018 19:08:04 +0000 (22:08 +0300)]
Merge pull request #1877 from Ansuel/ddnsipkg
luci-app-ddns: use standard pkg info function
Hannu Nyman [Mon, 11 Jun 2018 19:06:51 +0000 (22:06 +0300)]
Merge pull request #1876 from ldir-EDB0/wgurl
wireguard: update wireguard url
Ansuel Smith [Mon, 11 Jun 2018 15:13:31 +0000 (17:13 +0200)]
luci-app-ddns: use standard pkg info function
DDns script call another sh script to check ddns-scripts version. We can use the quicker IPKG.info function instead of execute another slow command.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Kevin Darbyshire-Bryant [Mon, 11 Jun 2018 10:43:00 +0000 (11:43 +0100)]
wireguard: update wireguard url
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Kristian Evensen [Tue, 29 May 2018 20:27:06 +0000 (22:27 +0200)]
luci-app-firewall: Fix typo in forwards redirect
When creating a forwarding rule with protocol set to other, a user is
forwarded to the configuration page. The URL for the configuration page
contained a typo - the user was forwarded to
admin/network/firewall/redirect/cfg... and not
admin/network/firewall/forwards/cfg..., leading to a 404.
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
Hannu Nyman [Sun, 10 Jun 2018 15:04:32 +0000 (18:04 +0300)]
Merge pull request #1875 from YuriPet/master
luci-base & luci-app-firewall: update Ukrainian translation
Tom Hodder [Mon, 4 Jun 2018 16:11:12 +0000 (17:11 +0100)]
luci-app-firewall: disable port fields when protocol is not TCP or UDP
It's currently possible to generate nonsensical firewall rules by inputting
combinations which include:
i) protocols other than UDP/TCP
ii) source and destination ports.
There is some discussion of the issue on the forum here and the issue is
here; #1850.
This patch makes fields like src_port and dest_port depend on protocol being
tcp, udp or "tcp udp" in the input, forwarding and source NAT forms.
Signed-off-by: Tom Hodder <tom@limepepper.co.uk>
[reword commit message, squash commits]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Yurii [Sun, 10 Jun 2018 14:16:01 +0000 (17:16 +0300)]
luci-app-firewall: update Ukrainian translation
Updated Ukrainian translations.
Signed-off-by: Yurii yuripet@gmail.com
Yurii [Sun, 10 Jun 2018 13:56:13 +0000 (16:56 +0300)]
luci-base: update Ukrainian translation
Updated Polish translations.
Signed-off-by: Yurii <yuripet@gmail.com>
Hannu Nyman [Sun, 10 Jun 2018 09:33:08 +0000 (12:33 +0300)]
Merge pull request #1874 from Rixerx/master
luci-base: update Polish translation
Krystian Kozak [Sat, 9 Jun 2018 20:29:06 +0000 (22:29 +0200)]
luci-base: update Polish translation
Updated Polish translations.
Signed-off-by: Krystian Kozak <krystian.kozak20@gmail.com>
Hannu Nyman [Sat, 9 Jun 2018 14:53:27 +0000 (17:53 +0300)]
Merge pull request #1868 from sotux/master-zh_CN
Update Simplified Chinese translation
Zheng Qian [Fri, 8 Jun 2018 09:19:43 +0000 (17:19 +0800)]
luci-app-adblock: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
Zheng Qian [Fri, 8 Jun 2018 09:44:18 +0000 (17:44 +0800)]
luci-app-mwan3: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
Jo-Philipp Wich [Fri, 8 Jun 2018 15:09:18 +0000 (17:09 +0200)]
luci-app-firewall: recognize egress rules in rule overview
Along with
74be6f397
("treewide: switch firewall zone, network and iface lists to dropdown code"),
this change allows luci-app-firewall to recognize OUTPUT rules.
Fixes #1457.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 8 Jun 2018 13:26:38 +0000 (15:26 +0200)]
luci-mod-admin-full: add suggested italian translations
Merge two italian translations suggested in #1870 and add back two missing
dots accidentially removed from the translations in a previous commit.
Fixes:
588c8618b ("luci-mod-admin-full: fix translation interpolation in JS confirm() calls")
Suggested-by: Ansuel Smith <ansuelsmth@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 8 Jun 2018 13:48:03 +0000 (15:48 +0200)]
luci-mod-admin-full: fix translation interpolation in JS confirm() calls
Use luci.http.write_json() in conjunction with translate() to write out
unescaped translation strings in a manner suitable for interpolation inside
JavaScript.
Fixes #1870
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 8 Jun 2018 11:50:12 +0000 (13:50 +0200)]
luci-mod-admin-full: git rid of embedded newlines in translation strings
Also switch one usage of raw '<%_ ... %>' interpolation to '<%: ... %>' in
order to avoid issues with translations using apostrophes.
Globally resnyc translations after the fix.
Fixes #1866.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Zheng Qian [Fri, 8 Jun 2018 08:43:06 +0000 (16:43 +0800)]
luci-base: update Simplified Chinese translation
Signed-off-by: Zheng Qian <sotux82@gmail.com>
Dirk Brenken [Fri, 8 Jun 2018 07:45:57 +0000 (09:45 +0200)]
Merge pull request #1867 from dibdot/adblock
luci-app-adblock: partly revert last commit
Dirk Brenken [Fri, 8 Jun 2018 07:34:47 +0000 (09:34 +0200)]
luci-app-adblock: partly revert last commit
* use now CSS for non breaking spaces in div table header
Signed-off-by: Dirk Brenken <dev@brenken.org>
Jo-Philipp Wich [Fri, 8 Jun 2018 06:19:20 +0000 (08:19 +0200)]
treewide: switch firewall zone, network and iface lists to dropdown code
Also switch the weekday and monthday lists in the firewall rule details to
cbi dropdowns, vastly uncluttering the form.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Fri, 8 Jun 2018 05:29:44 +0000 (07:29 +0200)]
luci-base: add markup, JS and CSS for new dropdown
This commit introduces the required code for a new, markup based dropdown
widget which can be used as a styleable alternative to select boxes or
radio/checkbox button groups.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 7 Jun 2018 06:49:51 +0000 (08:49 +0200)]
luci-base: support option aliases in luci.cbi
AbstractValue descendants may now specify a new optional property `alias`
which refers to a uci option to read/write/remove that differs from the
option name itself.
This is mainly useful for widgets that are toggled based on dependencies,
e.g. for alternating between SingleValue and MultiValue, but which are
intented to write into the same uci option.
Such a setup was previously possible already by overriding the .cfgvalue(),
.write() and .remove() callbacks with custom implementations, but that
required a lot of boiler plate code and was rather fragile.
With the `alias` property, CBI now takes care of the details and tracks
aliased fields within a section accordingly.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Dirk Brenken [Fri, 8 Jun 2018 05:05:05 +0000 (07:05 +0200)]
Merge pull request #1863 from dibdot/adblock
luci-app-adblock: sync with adblock 3.5.3
Dirk Brenken [Thu, 7 Jun 2018 20:01:58 +0000 (22:01 +0200)]
Merge pull request #1864 from Ansuel/master
luci-app-ddns: fix div conversion
Ansuel Smith [Thu, 7 Jun 2018 19:54:21 +0000 (21:54 +0200)]
luci-app-ddns: fix div conversion
This fix some error from conversion of #1854
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Hannu Nyman [Thu, 7 Jun 2018 19:25:11 +0000 (22:25 +0300)]
Merge pull request #1854 from jollaman999/master
luci-app-ddns: Convert HTML tables to div
Dirk Brenken [Thu, 7 Jun 2018 19:14:06 +0000 (21:14 +0200)]
luci-app-adblock: sync with adblock 3.5.3
* small fixes & cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
Jo-Philipp Wich [Wed, 6 Jun 2018 19:44:12 +0000 (21:44 +0200)]
luci-base: fix some minor luci.model.uci issues
- Properly serialize option delete changelogs
- Do not perform a section create if a nil value is passed to set()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
jollaman999 [Thu, 31 May 2018 11:48:51 +0000 (20:48 +0900)]
luci-app-ddns: Convert HTML tables to div
Hannu Nyman [Mon, 4 Jun 2018 09:07:43 +0000 (12:07 +0300)]
Merge pull request #1835 from Ansuel/ddns-optional
luci-app-ddns: make param opt, optional
Ansuel Smith [Sun, 27 May 2018 17:51:38 +0000 (19:51 +0200)]
luci-app-ddns: make param opt, optional, add myself as maintainer
Currently these params should be optional but in the current script then are required for any configuration to save. We add an "optional" boolean value to the validate function so that we can make this pram optional as it should be. Also adds me as maintainer
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Dirk Brenken [Mon, 4 Jun 2018 07:07:45 +0000 (09:07 +0200)]
Merge pull request #1851 from dibdot/lxc_fix
luci-app-lxc: made container creation more reliable
Dirk Brenken [Sun, 3 Jun 2018 20:30:59 +0000 (22:30 +0200)]
luci-app-lxc: made container creation more reliable
* wait/lock "create" button until the real end of container creation,
this includes download time plus tar/gz processing time
* cosmetics
Signed-off-by: Dirk Brenken <dev@brenken.org>
Jo-Philipp Wich [Thu, 31 May 2018 13:39:43 +0000 (15:39 +0200)]
luci-base: cbi: atomically reorder uci sections
Since the switch to ubus uci operations we do not have a local application-
side cursor cache anymore, instead uci operations happen synchronously in
the rpcd backend server.
This may cause cbi section reorder operations involving multiple elements
to fail, because anonymous section hashes may change due to rehashing
between consecutive ubus uci reorder calls.
In order to avoid that problem, use the ubus uci batch reorder extension,
which allows to pass a complete (or partial) list of section ids in the
desired order in one call, bypassing the volatile section id problem.
Fixes #1844.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Hannu Nyman [Sat, 2 Jun 2018 18:11:51 +0000 (21:11 +0300)]
Merge pull request #1819 from Ansuel/ddns-performance
luci-app-ddns: improve performance
Ansuel Smith [Thu, 24 May 2018 00:03:03 +0000 (02:03 +0200)]
luci-app-ddns: improve performance
Every request directed to the ddns app call ddns tools module.
Ddns tools module have lots of global variable that call slow os.execute function. This adds 10 second to every ddns request even if the function that is requested doesn't need that global variable. This commit introduce env_info function that execute os.execute command by executing what is actually requested and not process all the variables. Also remove 2 unecessary module that are not used. More researh find that major slowdown was caused by the calling of ddns script for the version check. Now we check if opkg is present and use it to check ddns-scripts version.
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Hannu Nyman [Fri, 1 Jun 2018 16:52:11 +0000 (19:52 +0300)]
Merge pull request #1846 from musashino205/l10n/base-upd-ja
luci-base: update Japanese translation
Dirk Brenken [Fri, 1 Jun 2018 16:41:50 +0000 (18:41 +0200)]
Merge pull request #1847 from dibdot/lxc_fix
luci-app-lxc: bugfix
Dirk Brenken [Fri, 1 Jun 2018 16:33:05 +0000 (18:33 +0200)]
luci-app-lxc: bugfix
* fix remaining javascript errors in Chrome
Signed-off-by: Dirk Brenken <dev@brenken.org>
INAGAKI Hiroshi [Thu, 31 May 2018 17:17:17 +0000 (02:17 +0900)]
luci-base: update Japanese translation
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
INAGAKI Hiroshi [Thu, 31 May 2018 16:59:53 +0000 (01:59 +0900)]
luci-base: sync translations
Synchronized translations with sources.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Jo-Philipp Wich [Thu, 31 May 2018 17:09:51 +0000 (19:09 +0200)]
themes: drop errorbox styles
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 31 May 2018 17:08:14 +0000 (19:08 +0200)]
luci-mod-freifunk: use common alert message markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 31 May 2018 17:05:40 +0000 (19:05 +0200)]
luci-base: use common alert message markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 31 May 2018 17:00:56 +0000 (19:00 +0200)]
luci-mod-admin-full: use common alert message markup
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 31 May 2018 16:56:50 +0000 (18:56 +0200)]
themes: unify no-password / no-javascript alert boxes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 31 May 2018 15:41:40 +0000 (17:41 +0200)]
luci-base: update coxpcall() implementation, fix runtime error reporting
Sync our coxpcall() implementation to the newest upstream version in order to
get access to the inner backtrace information and propagate these traces to
the browser in luci.dispatcher.dispatch().
This should make tracking down runtime errors much easier.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 31 May 2018 13:38:03 +0000 (15:38 +0200)]
themes: adjust CSS for reworked apply widget
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Thu, 31 May 2018 13:34:32 +0000 (15:34 +0200)]
luci-base: add full page overlay during apply
After applying uci configuration, a full map reload is required in many
cases as the anonymous section identifiers might have been rehashed, causing
the rendered map to go out of sync.
To avoid that, add both a full page overlay preventing further page
interaction and let the apply widget forcibly reload the current view once
the operation is complete.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Dirk Brenken [Thu, 31 May 2018 06:50:07 +0000 (08:50 +0200)]
Merge pull request #1845 from dibdot/lxc_fix
luci-app-lxc: fix "plain-vanilla" integration, part 3
Jo-Philipp Wich [Thu, 31 May 2018 05:38:40 +0000 (07:38 +0200)]
luci-mod-admin-full: fix status page render glitch on Chrome
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Dirk Brenken [Wed, 30 May 2018 19:56:50 +0000 (21:56 +0200)]
luci-app-lxc: fix "plain-vanilla" integration, part 3
* migrate JS generated HTML tables to divs
* remove (most of) the inline styles
* various markup cleanups
That's the final part ... hopefully it's now in a more usable &
maintainable state.
Signed-off-by: Dirk Brenken <dev@brenken.org>
Jo-Philipp Wich [Wed, 30 May 2018 14:04:07 +0000 (16:04 +0200)]
luci-base: cbi.js: remove unused serialize functions
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Jo-Philipp Wich [Wed, 30 May 2018 13:59:52 +0000 (15:59 +0200)]
luci-base: cbi.js: fix cbi_row_swap() after recent table markup changes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>