Jo-Philipp Wich
6b8701c7bf
luci-base: cbi.js: untangle dropdown and dynlists from dependency update
...
In order to prepare the move of the dynlist and dropdown widgets into
the LuCI ui class, remove the direct calls to cbi_d_update() and replace
them with custom events instead.
Extend cbi_init() to handle these custom events and to invoke
cbi_d_update() when receiving them.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 15:25:49 +02:00
Jo-Philipp Wich
1b931e0262
luci-base: luci.js: add L.bind() helper
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 15:25:49 +02:00
Jo-Philipp Wich
ef187d5238
luci-base: luci.js: consolidate error handling
...
Add a new function L.error() which creates and throws a custom
error object with stack information and given type.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 15:25:49 +02:00
Jo-Philipp Wich
26e54bb01f
luci-base: luci.js: convert LuCI.dom to Class instance
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 15:25:49 +02:00
Jo-Philipp Wich
344c4c5119
luci-base: luci.js: split ui helper functions into external ui.js
...
Use the new class loader infrastructure to move gui specific
functionality out of the luci.js core and dispatch a new event
'luci-loaded' which is fired once all external classes have
been fetched.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 15:25:49 +02:00
Jo-Philipp Wich
ec6d4094b9
luci-base: luci.js: add dynamic class loader
...
Introduce L.require() to fetch additional JavaScript classes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 15:25:49 +02:00
Jo-Philipp Wich
992638947d
luci-base: luci.js: convert LuCI to Class instance
...
Also hijack cbi_init() and call it after the LuCI DOM setup.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 15:25:49 +02:00
Jo-Philipp Wich
843031f819
luci-base: luci.js: add HTTP request functions
...
Add a fetch() inspired HTTP request utility class to luci.js and
replace the old xhr.js class with a stub using the new request api.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 15:25:49 +02:00
Jo-Philipp Wich
fee8c1fc9c
luci-base: luci.js: add class construction helper
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 15:25:49 +02:00
Jo-Philipp Wich
9be6bb0577
luci-base: add ES6 Promise polyfill for IE < Edge
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 15:25:49 +02:00
Jo-Philipp Wich
53e20c4925
luci-base: luci.js: add Object.assign polyfill
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 15:25:49 +02:00
Yousong Zhou
3a24c2dbaa
luci-base: hide autocomplete-preventing password input with bigger offset
...
Fixes openwrt/luci#2624
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-07-06 22:48:10 +08:00
Yousong Zhou
609f5290c8
luci-base: nowrap for password input and reveal button
...
Fixes openwrt/luci#2624
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2019-07-06 22:48:10 +08:00
Hannu Nyman
da10ceeb37
Merge pull request #2823 from stangri/master-luci-app-simple-adblock
...
luci-app-simple-adblock: sync with the latest version of simple-adblock
2019-07-06 09:26:44 +03:00
Stan Grishin
4e7806ebf3
luci-app-simple-adblock: sync with the latest version of simple-adblock
...
Signed-off-by: Stan Grishin <stangri@melmac.net>
2019-07-05 08:30:48 -07:00
Hannu Nyman
2f769ee087
timezone data: update to 2019b
...
Update timezone data to 2019b
http://mm.icann.org/pipermail/tz-announce/2018-December/000055.html
http://mm.icann.org/pipermail/tz/2019-July/028249.html
2019a:
* Palestine "springs forward" on 2019-03-30 instead of 2019-03-23.
* Brazil no longer observes DST.
2019b:
* Palestine's 2019 spring-forward transition was on 03-29, not 03-30.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-07-05 17:56:04 +03:00
Florian Eckert
6122deefbd
Merge pull request #2818 from mberndt123/mb/extensible-statistics
...
luci-app-statistics: more extensibility
2019-07-05 10:17:49 +02:00
Jo-Philipp Wich
66c8ebfeff
lucihttp: update to latest Git HEAD
...
a34a17d src: allow overriding buffer size from cli in multipart tester
730a46f lib: fix potentially lost bytes in boundary parsing across buffer limits
8734af2 lib: add buffer tracing to multipart parser
913051b src: add file dump option to multipart test utility
c419539 src: allow specifying custom buffer sizes in multipart testcases
f6e0564 lib: fix handling of empty multipart fields
Fixes : #2816
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-05 08:27:47 +02:00
Dirk Brenken
12be2d86c1
Merge pull request #2822 from musashino205/l10n/tmate-upd-ja
...
luci-app-travelmate: update Japanese translation
2019-07-05 08:13:57 +02:00
INAGAKI Hiroshi
da1a3d8ae8
luci-app-travelmate: update Japanese translation
...
Updated Japanese translations missing in 50748d9936
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-07-05 14:47:11 +09:00
INAGAKI Hiroshi
39fd1111ee
luci-app-travelmate: sync translations
...
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-07-05 14:43:43 +09:00
Jo-Philipp Wich
663e6746da
Merge pull request #2821 from musashino205/l10n/tmate-upd-ja
...
luci-app-travelmate: update Japanese translation
2019-07-05 07:26:48 +02:00
Jo-Philipp Wich
6973347257
Merge pull request #2804 from tano-systems/pr/bootstrap-dashboard-fix
...
Fix a overview page style issue for various themes
2019-07-05 07:25:36 +02:00
INAGAKI Hiroshi
50748d9936
luci-app-travelmate: update Japanese translation
...
Updated Japanese translations.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2019-07-05 14:23:54 +09:00
Matthias Berndt
c1380ab367
make luci-app-statistics more extensible
2019-07-05 02:03:13 +02:00
Florian Eckert
f56a6df49c
Merge pull request #2791 from TDT-AG/pr/20190626-luci-proto-3g
...
luci-proto-3g: rename maxwait to delay option
2019-07-03 08:59:35 +02:00
Florian Eckert
61ca9e19c6
Merge pull request #2811 from TDT-AG/pr/20190701-luci-proto-qmi
...
luci-proto-qmi: add missing mtu option
2019-07-03 08:57:08 +02:00
Jo-Philipp Wich
2d1d855256
Merge pull request #2815 from TDT-AG/pr/20190701-luci-base-fix-german-translation-typo
...
luci-base: fix typo in german translation
2019-07-02 09:41:46 +02:00
Martin Schiller
cc360b94f8
luci-base: fix typo in german translation
...
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-07-02 09:13:15 +02:00
Florian Eckert
0dec930dd4
luci-proto-qmi: add missing mtu option
...
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-07-01 10:20:13 +02:00
Florian Eckert
1745f2cc1d
Merge pull request #2809 from TDT-AG/pr/20190701-luci-app-mwan3-add-german-translations
...
luci-app-mwan3: add some german translations
2019-07-01 10:14:42 +02:00
Florian Eckert
087556ec37
Merge pull request #2810 from TDT-AG/pr/20190701-luci-base-german-led-trigger
...
luci-base: add german translations for led trigger
2019-07-01 09:20:07 +02:00
Martin Schiller
001dc0664e
luci-base: add german translations for led trigger
...
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-07-01 08:51:17 +02:00
Martin Schiller
06b5cdb79a
luci-app-mwan3: add some german translations
...
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-07-01 08:28:26 +02:00
Florian Eckert
9a979e6db5
Merge pull request #2808 from TDT-AG/pr/20190701-luci-mod-system-fix-flash-activity-string
...
luci-mod-system: fix flash activity trigger name
2019-07-01 07:56:46 +02:00
Martin Schiller
19289107dd
luci-mod-system: fix flash activity trigger name
...
The former name "Flashmemory write access" is wrong. The triggers also
indicate read/erase access to the flash memories.
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-07-01 07:02:42 +02:00
Dirk Brenken
a04e22e846
Merge pull request #2805 from dibdot/travelmate
...
luci-app-travelmate: sync with update 1.4.8
2019-06-29 19:28:28 +02:00
Dirk Brenken
ee80de6a7b
luci-app-travelmate: sync with update 1.4.8
...
* add optional 'trm_scanbuffer' parm
* fix wrong lua escape character in wifi edit
* sync translations
Signed-off-by: Dirk Brenken <dev@brenken.org>
2019-06-29 14:46:28 +02:00
Anton Kikin
5d26fec0bf
Fix a overview page style issue for various themes
...
Fixed a overview page style issue with interface boxes for
bootstrap, material and rosy themes.
The issue only appears in the Chrome browser and lies in the
fact that the block with the device name and MAC address gets
out of the interface block.
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-06-28 19:04:22 +03:00
Hannu Nyman
1c80eb1962
luci-base: show niced processes on Status/Processes page
...
Modify the process status filter to allow also the processes
with a nice value to be visible on the Status/Processes page.
Filter out the top process itself.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2019-06-28 18:56:53 +03:00
Florian Eckert
a562735e51
Merge pull request #2802 from TDT-AG/pr/20190628-led-trigger-names
...
luci-mod-system: fix some led trigger name translations
2019-06-28 15:49:33 +02:00
Martin Schiller
a8f79f12d6
luci-mod-system: fix some led trigger name translations
...
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-06-28 15:44:26 +02:00
Jo-Philipp Wich
0017bc89f2
Merge pull request #2794 from TDT-AG/pr/20190626-luci-app-firewall-german-translation
...
luci-app-firewall: add some german translations
2019-06-28 12:29:19 +02:00
Florian Eckert
977f657791
Merge pull request #2061 from Ansuel/improveconn
...
luci-mod-admin-full: improve connection page lookup loop
2019-06-28 07:49:37 +02:00
Florian Eckert
ae1652fc11
Merge pull request #2792 from TDT-AG/pr/20190626-luci-proto-qmi
...
luci-proto-qmi: improvements
2019-06-27 15:20:31 +02:00
Jo-Philipp Wich
b1c218b07a
Merge pull request #2796 from TDT-AG/pr/20190627-luci-theme-material-change-loading-text
...
luci-theme-material: change string 'Loading...' to 'Collecting data...'
2019-06-27 06:51:29 +02:00
Martin Schiller
f9f71ba673
luci-theme-material: change string 'Loading...' to 'Collecting data...'
...
It's better to reuse the already available and well translated string
'Collecting data...'.
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-06-27 06:24:35 +02:00
Hannu Nyman
4566a733ae
Merge pull request #2795 from bmork/os-release-variable-renaming
...
luci-mod-network: os-release variables have been renamed to OPENWRT_
2019-06-26 21:40:41 +03:00
Florian Eckert
015f247d9b
Merge pull request #2770 from geekinaboxx/master
...
luci-proto-ncm: add dialnum option
2019-06-26 16:06:38 +02:00
aleem-tectonic
d9ff6721ef
add dialnum option
...
Signed-off-by: geekinaboxx <aleem@tectonic.it>
2019-06-26 15:02:22 +01:00