Manuel Munz
|
489279bb9a
|
web: Relax hostname validation for length
|
2011-02-12 19:39:54 +00:00 |
|
Manuel Munz
|
408a58f6f6
|
web: Improve hostname validation
|
2011-02-12 11:09:13 +00:00 |
|
Jo-Philipp Wich
|
be5b1015b2
|
libs/web: improve cbi handling of Flag values, support usage of .default attribute to signalize default-on checkboxes, this helps to deal with the reversed logic of various uci bools within OpenWrt configs
|
2011-01-29 17:54:00 +00:00 |
|
Jo-Philipp Wich
|
8055a5e183
|
libs/web: remove a stray non breaking space in DummyValue template
|
2011-01-26 16:21:15 +00:00 |
|
Jo-Philipp Wich
|
2ae8c99606
|
libs/web: readd add/remove icons to dynamic list widgets
|
2011-01-23 18:28:35 +00:00 |
|
Jo-Philipp Wich
|
8193a249f1
|
libs/web: fix row sorting in IE
|
2011-01-20 12:35:42 +00:00 |
|
Jo-Philipp Wich
|
df5329a5cb
|
libs/web: fix row ordering for named sections
|
2011-01-20 00:47:03 +00:00 |
|
Jo-Philipp Wich
|
a30ea6c2a3
|
libs/web: add missing cells to tblsection template
|
2011-01-20 00:19:05 +00:00 |
|
Jo-Philipp Wich
|
80e1900b03
|
libs/web: implement sortable rows for uci reordering
|
2011-01-20 00:01:55 +00:00 |
|
Jo-Philipp Wich
|
c176c70d5b
|
libs/web: add up & down arrow icons
|
2011-01-19 23:57:00 +00:00 |
|
Jo-Philipp Wich
|
86a13c6ab9
|
libs/web: fix an untranslated string
|
2011-01-14 22:50:50 +00:00 |
|
Jo-Philipp Wich
|
5355d11e2c
|
libs/web: some fixes for network_ifacelist widget
|
2011-01-14 19:57:30 +00:00 |
|
Jo-Philipp Wich
|
4bbd85fe42
|
libs/web: properly handle .default property for ListValue fields with integer keys
|
2011-01-13 20:54:57 +00:00 |
|
Jo-Philipp Wich
|
bd8ac05d56
|
libs/web: introduce width property for fields in tblsections
|
2011-01-13 20:02:16 +00:00 |
|
Jo-Philipp Wich
|
f68906c20f
|
libs/web: fix error in wep key validation
|
2010-12-16 15:59:25 +00:00 |
|
Jo-Philipp Wich
|
39578a6b72
|
libs/web: change "module" variable to "modname" in dispatcher.lua, solves apidoc artefacts
|
2010-12-12 20:16:13 +00:00 |
|
Jo-Philipp Wich
|
99bf12fb63
|
libs/web: add field validation for add section name inputs
|
2010-12-05 17:37:59 +00:00 |
|
Jo-Philipp Wich
|
6c84824d79
|
libs/web: handle empty tables in Map.set()
|
2010-12-05 00:54:18 +00:00 |
|
Jo-Philipp Wich
|
090ce4f17e
|
libs/web: add float and ufloat datatypes for field validation
|
2010-12-05 00:19:09 +00:00 |
|
Jo-Philipp Wich
|
2a0903bc50
|
libs/web: fix dynamic list handling
|
2010-12-03 12:41:12 +00:00 |
|
Jo-Philipp Wich
|
de3ea4e956
|
libs/web: remove debug code from cbi.js
|
2010-12-01 20:59:36 +00:00 |
|
Jo-Philipp Wich
|
9abe328f9a
|
libs/web: add %t format to String.format(), fix float formatting
|
2010-12-01 20:53:29 +00:00 |
|
Jo-Philipp Wich
|
a3207ded53
|
libs/web: fix filtering of overlong utf8 sequences
|
2010-11-28 20:25:03 +00:00 |
|
Jo-Philipp Wich
|
34ee162976
|
libs/web: render aggregated messages
|
2010-11-27 18:18:06 +00:00 |
|
Jo-Philipp Wich
|
6e97be1e92
|
libs/web: add the ability for maps to push error messages to the global page header
|
2010-11-27 18:17:15 +00:00 |
|
Jo-Philipp Wich
|
6d02d50d46
|
libs/web: fix IPv6 live validation
|
2010-11-23 23:19:40 +00:00 |
|
Jo-Philipp Wich
|
9c3db58ee4
|
libs/web: combine apply actions of all maps on a page, prevents concurrent XHR
|
2010-11-22 00:32:54 +00:00 |
|
Jo-Philipp Wich
|
f72aa0c4c8
|
libs/web: implement "unspecified" option for netlist widget
|
2010-11-21 02:27:13 +00:00 |
|
Jo-Philipp Wich
|
7892bcec29
|
libs/web: add network_netinfo widget
|
2010-11-21 00:46:14 +00:00 |
|
Jo-Philipp Wich
|
6b3e6fb854
|
libs/web: add "back to overview" button to page actions if .redirect is set on the corresponding map
|
2010-11-21 00:21:49 +00:00 |
|
Jo-Philipp Wich
|
25754119d4
|
libs/web: expose cbi map redirect property to page templates
|
2010-11-21 00:14:03 +00:00 |
|
Jo-Philipp Wich
|
be385bfcc6
|
libs/web: better server side handling of DynList values
|
2010-11-20 18:35:44 +00:00 |
|
Jo-Philipp Wich
|
d79895c0c3
|
libs/web: fix DynList template for empty values
|
2010-11-20 18:24:17 +00:00 |
|
Jo-Philipp Wich
|
ff58e81d18
|
libs/web: skip empty values in DynList widget
|
2010-11-20 18:08:18 +00:00 |
|
Jo-Philipp Wich
|
7a7874d14e
|
libs/web: give cbi tabcontainers a CSS class
|
2010-11-19 17:35:06 +00:00 |
|
Jo-Philipp Wich
|
8dde0803af
|
libs/web: fix apply xhr for IE...
|
2010-11-18 03:07:21 +00:00 |
|
Jo-Philipp Wich
|
4121f34ac0
|
libs/web: make apply_xhr less aggressive, only rerequest status if previous response returned
|
2010-11-17 15:09:18 +00:00 |
|
Jo-Philipp Wich
|
c20dcb3612
|
libs/web: add range(min,max) datatype validator
|
2010-11-16 18:48:02 +00:00 |
|
Jo-Philipp Wich
|
b17848e82e
|
libs/web: treat .rmempty like .optional for live field validation
|
2010-11-16 18:05:17 +00:00 |
|
Jo-Philipp Wich
|
59e3062caf
|
libs/web: add support for exclude property to ifacelist and netlist widgets
|
2010-11-15 12:28:25 +00:00 |
|
Jo-Philipp Wich
|
fa3b7ce070
|
libs/web: allow percent sign in urls
|
2010-11-13 20:50:20 +00:00 |
|
Jo-Philipp Wich
|
0aa85e7131
|
libs/web: stricter validation in build_url(), prevents some XSS
|
2010-11-13 13:50:54 +00:00 |
|
Jo-Philipp Wich
|
8ac568acb0
|
libs/web: fix sanitize_utf8(), passes all testcases now
|
2010-11-12 22:48:17 +00:00 |
|
Jo-Philipp Wich
|
09e71acf6b
|
libs/web: add UTF-8 validation and pcdata escaping C routines to template parser
|
2010-11-12 22:37:50 +00:00 |
|
Jo-Philipp Wich
|
16262c2be0
|
libs/web: implement rawhtml property for DummyValue switches, allowes passing arbritary markup
|
2010-11-08 18:13:40 +00:00 |
|
Jo-Philipp Wich
|
d26ceda459
|
libs/web: support local destination in zonelist widget
|
2010-11-07 20:01:12 +00:00 |
|
Jo-Philipp Wich
|
561673c0a1
|
libs/web: add luci.http.write_json()
|
2010-11-07 19:27:15 +00:00 |
|
Jo-Philipp Wich
|
4ede70c0ce
|
libs/web: introduce firewall_zoneforwards widget
|
2010-11-01 19:39:57 +00:00 |
|
Jo-Philipp Wich
|
ea81c6ad53
|
libs/web: use the value of the .enabled property in flag widget html
|
2010-10-31 21:41:57 +00:00 |
|
Jo-Philipp Wich
|
0a7bfa4f78
|
libs/web: support entering custom ifnames in iface list widget
|
2010-10-31 21:41:27 +00:00 |
|
Jo-Philipp Wich
|
b3b708a585
|
libs/web: add support for post commit redirects in cbi maps
|
2010-10-31 19:34:45 +00:00 |
|
Jo-Philipp Wich
|
29f0b48ddc
|
libs/web: fix type in datatypes.lua
|
2010-10-30 18:18:18 +00:00 |
|
Jo-Philipp Wich
|
4622241535
|
libs/web: introduce "uciname" datatype for cbi validation
|
2010-10-30 18:12:39 +00:00 |
|
Jo-Philipp Wich
|
fc5b9e27f0
|
libs/web: use imatch() in model related widgets, support multivalues in netlist widget
|
2010-10-30 17:57:49 +00:00 |
|
Jo-Philipp Wich
|
4f2248fadb
|
libs/web: add placeholder support to DynamicList widgets
|
2010-10-30 17:21:27 +00:00 |
|
Jo-Philipp Wich
|
82b7e4e72b
|
libs/web: add html5 placeholder attribute support to cbi options
|
2010-10-30 02:51:15 +00:00 |
|
Jo-Philipp Wich
|
bc78f7e08d
|
libs/web: implement forcewrite attribute for cbi options
|
2010-10-30 02:30:09 +00:00 |
|
Jo-Philipp Wich
|
85a5d628ec
|
libs/web: live validation fixes
|
2010-10-30 01:03:20 +00:00 |
|
Jo-Philipp Wich
|
595020f919
|
libs/web: convert cbi widgets to new network model
|
2010-10-30 00:42:58 +00:00 |
|
Jo-Philipp Wich
|
70706cf388
|
libs/web: rework DynamicList widget
|
2010-10-25 17:04:03 +00:00 |
|
Jo-Philipp Wich
|
63089ef8be
|
libs/web: annotate form object with cbi state when using section add/remove buttons
|
2010-10-21 20:51:32 +00:00 |
|
Jo-Philipp Wich
|
98b4da49b0
|
libs/web: fix ip6addr js validation, fixes for live validation
|
2010-10-21 20:50:18 +00:00 |
|
Jo-Philipp Wich
|
5e45e4107b
|
libs/web: fix tab highlighting with multiple tabs
|
2010-10-20 22:43:29 +00:00 |
|
Jo-Philipp Wich
|
1a3533cb86
|
libs/web: add String.serialize() and String.format() to cbi.js
|
2010-10-19 04:06:46 +00:00 |
|
Jo-Philipp Wich
|
db46443478
|
libs/web: support different caption for button widgets
|
2010-10-19 04:03:36 +00:00 |
|
Jo-Philipp Wich
|
dd2abf2ea4
|
libs/web: move XHR apply callback into subtemplate
|
2010-10-15 21:56:44 +00:00 |
|
Jo-Philipp Wich
|
f7ab1fbc56
|
libs/web: add export() to template namespace, allows templates to export symbols to the calling view namespace, this is useful for includes defining shared procedures or variables
|
2010-10-15 16:12:07 +00:00 |
|
Jo-Philipp Wich
|
fbaabd7d93
|
libs/web: cbi: add new on_before_save and on_after_save hook, implement :reset_values() for options supporting :value()
|
2010-10-14 23:21:25 +00:00 |
|
Jo-Philipp Wich
|
8038cbf004
|
libs/web: fix various issues in cbi option error handling, call validator for missing options to obtain error message
|
2010-10-14 00:18:28 +00:00 |
|
Jo-Philipp Wich
|
17575b4d75
|
libs/web: rework cbi field validation, let validators return custom error messages, properly handle errors in multiple sections
|
2010-10-12 23:08:54 +00:00 |
|
Jo-Philipp Wich
|
b6358aaea4
|
libs: merge libs/http into libs/web
|
2010-10-12 05:22:38 +00:00 |
|
Jo-Philipp Wich
|
ede4aca4b9
|
libs: merge libs/cbi into libs/web
|
2010-10-12 05:15:32 +00:00 |
|
Jo-Philipp Wich
|
4c4d9b869b
|
libs/web: don't fail if no langauge is set in luci config
|
2010-04-16 19:05:05 +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 |
|
Steven Barth
|
6fd3c1f367
|
Publish nixio.fs in index-scope
|
2009-11-14 18:41:16 +00:00 |
|
Steven Barth
|
7aed1e4b9d
|
NIU: More pages
|
2009-11-10 16:02:48 +00:00 |
|
Jo-Philipp Wich
|
f5a760168b
|
all: remove references to old i18n files
|
2009-11-01 14:24:04 +00:00 |
|
Jo-Philipp Wich
|
8f2a3f1dcc
|
libs/web: prepare template parser, dispatcher and i18n class for upcoming po format change
|
2009-10-31 15:42:07 +00:00 |
|
Steven Barth
|
9b50dd9cba
|
Fix requestpath, export authuser
|
2009-09-11 10:46:06 +00:00 |
|
Jo-Philipp Wich
|
d6caf509ad
|
libs/web: drop unneeded requires in template class
|
2009-09-10 08:15:49 +00:00 |
|
Jo-Philipp Wich
|
cf1e1534bc
|
libs/web: add missing local variable declaration
|
2009-09-10 08:11:25 +00:00 |
|
Jo-Philipp Wich
|
aa93e16092
|
libs/web: drop the Lua template parser, the C implementation is faster in almost every case, even without caching
|
2009-09-10 08:05:56 +00:00 |
|
Jo-Philipp Wich
|
5676686863
|
libs/web: restore protected call to Template(), was accidentally removed in r4889
|
2009-08-07 15:16:14 +00:00 |
|
Jo-Philipp Wich
|
67150c34a1
|
libs/web: template: fix spurious nil or false values that broke various templates
|
2009-08-05 00:52:51 +00:00 |
|
Steven Barth
|
8b65a44fe8
|
Typo
|
2009-07-31 17:08:59 +00:00 |
|
Steven Barth
|
f648ab3445
|
Fix cookie logout
|
2009-07-31 17:08:18 +00:00 |
|
Jo-Philipp Wich
|
8acc6307bf
|
libs/web: fix template parsing of default texts in i18n expressions
|
2009-07-26 23:23:32 +00:00 |
|
Jo-Philipp Wich
|
047d4e45f6
|
libs/web: fix file handle leak in template parser
|
2009-07-26 23:11:36 +00:00 |
|
Jo-Philipp Wich
|
1b557b0b7b
|
libs/web: implement i18n.string() and i18n.stringf() to obtain genuine Lua strings instead of udata objects
|
2009-07-26 22:48:09 +00:00 |
|
Jo-Philipp Wich
|
96bc583cfc
|
libs/web: convert given argument to string in i18n.translatef()
|
2009-07-26 22:34:54 +00:00 |
|
Steven Barth
|
0371fc26d8
|
Reintroduce prefisx support - was gone somewhere
|
2009-07-25 12:45:38 +00:00 |
|
Steven Barth
|
a77f1b91ae
|
Allow Basic-Auth pass-through
|
2009-07-25 10:47:26 +00:00 |
|
Steven Barth
|
b8ab3b9dac
|
Add: luci.http.splice to allow direct copying of data from a file
descriptor
|
2009-07-25 07:27:05 +00:00 |
|
Jo-Philipp Wich
|
639f965c4f
|
libs/web: use C templates by default
|
2009-07-25 02:58:04 +00:00 |
|
Steven Barth
|
2655871d39
|
Revert external tree usage
|
2009-07-24 15:45:29 +00:00 |
|
Jo-Philipp Wich
|
97743c1387
|
libs/web: disable memory debuggin in trunk as well
|
2009-07-23 11:32:22 +00:00 |
|
Jo-Philipp Wich
|
8b001ee843
|
libs/web: dispatcher.lua: add support for external tree building and indexing
|
2009-07-23 03:25:27 +00:00 |
|
Jo-Philipp Wich
|
3e0b6b681c
|
libs/web: use new parser in non-caching mode
|
2009-07-23 01:41:06 +00:00 |
|
Jo-Philipp Wich
|
80a2dd2cc2
|
libs/web: add template parser reimplemented in C
|
2009-07-23 00:41:44 +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
|
768bf67b86
|
libs/web: optimize code generation in luci.template
|
2009-07-17 18:33:01 +00:00 |
|
Steven Barth
|
7dcb05fd1c
|
Session-IDs are lowercase now
|
2009-07-10 17:06:19 +00:00 |
|
Jo-Philipp Wich
|
36542cbe1d
|
libs/web: use lmo in luci.i18n
|
2009-07-09 15:05:29 +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 |
|
Steven Barth
|
341f757255
|
Merge fixes / improvements
|
2009-06-20 07:14:36 +00:00 |
|
Jo-Philipp Wich
|
2bd86ec208
|
libs/web: if current language is a regional dialect, fall back to generic language, then english (e.g. pt_BR -> pt -> en)
|
2009-05-28 00:24:04 +00:00 |
|
Jo-Philipp Wich
|
859a3fee88
|
libs/web: fix file caches in dispatcher, broke when introducing lua-gz support
|
2009-04-08 00:08:38 +00:00 |
|
Jo-Philipp Wich
|
9835296ba2
|
trunk: prepare LuCI to handle .lua.gz files
|
2009-04-04 22:54:16 +00:00 |
|
Steven Barth
|
f3deef9ec5
|
Backport Skip-Button support
|
2009-04-03 18:08:25 +00:00 |
|
Steven Barth
|
8fdb12c4d1
|
Introduce noheader and nofooter CBI-Dispatcher config
|
2009-03-27 00:10:17 +00:00 |
|
Jo-Philipp Wich
|
fc62fe46d0
|
libs/web:
- improve handling of low level runtime errors
- wrap access to luci.main into assert()
|
2009-03-14 01:16:03 +00:00 |
|
Steven Barth
|
30b7bc7c62
|
Fixed last commit
|
2009-03-07 16:28:27 +00:00 |
|
Steven Barth
|
25da62f8ff
|
Don't compare cstate if there is none
|
2009-03-07 16:24:05 +00:00 |
|
Steven Barth
|
1ed9be270b
|
Fix debugging output
|
2009-03-07 13:21:27 +00:00 |
|
Steven Barth
|
30421d38dd
|
Introduce luci.dispatcher.get(...) which works like node(...) but does
not disable the autocreated flag and does not overwrite the target
controller so that call()-targets won't loose their binding to their
controller
|
2009-02-26 17:08:41 +00:00 |
|
Steven Barth
|
3b7bb9c82f
|
Enable stack tracebacks for 500 errors
|
2009-02-26 16:45:01 +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 |
|
Steven Barth
|
ab18c3ba10
|
Fix autodetection for extended language identifiers
|
2009-01-30 15:29:14 +00:00 |
|
Steven Barth
|
05da6913dd
|
urldecode path_info before using it
|
2009-01-20 19:40:14 +00:00 |
|
Steven Barth
|
a6159010a8
|
Purge abandonend brands
|
2009-01-17 17:56:43 +00:00 |
|
Steven Barth
|
d0d1fe0a28
|
Automatic language detection
|
2009-01-14 23:47:56 +00:00 |
|
Steven Barth
|
f911758bc2
|
Add extended dispatching targets, optimize dispatching behaviour
|
2009-01-04 15:45:57 +00:00 |
|
Steven Barth
|
57cfc2ee26
|
Fixed REQUEST_URI
|
2008-12-17 19:52:50 +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
|
8b978f79fc
|
Added luci.sauth.kill, sanitize luci.sauth even more
|
2008-12-14 21:42:59 +00:00 |
|
Steven Barth
|
7540f86d40
|
Reload luci.config for each thread
|
2008-12-05 15:36:44 +00:00 |
|
Steven Barth
|
0b34ab07d4
|
Scope compatibility fixes
|
2008-11-29 21:58:39 +00:00 |
|
Jo-Philipp Wich
|
a4fcc13388
|
libs/web: reformat code in dispatcher.lua that confuses luadoc
|
2008-11-29 21:21:43 +00:00 |
|
Steven Barth
|
d0939b4e33
|
Assign correct path attribute to nodes
|
2008-11-16 13:52:50 +00:00 |
|
Steven Barth
|
f96de2586a
|
Implemented dispatching tree modifiers
|
2008-11-11 18:55:07 +00:00 |
|
Steven Barth
|
ba689499bb
|
Merge on_***_to handlers
|
2008-11-05 21:12:19 +00:00 |
|
Steven Barth
|
eb7c1f337d
|
Ensure hotdeploying
|
2008-11-05 14:10:02 +00:00 |
|
Steven Barth
|
9d85bd73e5
|
Rewrote state based redirection
|
2008-11-02 13:26:41 +00:00 |
|
Steven Barth
|
d600a2f209
|
Publish request args
|
2008-11-01 18:49:41 +00:00 |
|
Steven Barth
|
c7a06b61c7
|
Extend CBI state handling
|
2008-11-01 18:32:02 +00:00 |
|
Steven Barth
|
ea9b377ec5
|
Merge pageactions
|
2008-11-01 17:11:02 +00:00 |
|
Steven Barth
|
be090ec9a7
|
Throw error messages on stderr
|
2008-10-31 20:57:07 +00:00 |
|
Steven Barth
|
8c4492db5f
|
Removed UCI Save/Apply cache from Essentials
Made CBI controllers configurable
|
2008-10-31 09:35:11 +00:00 |
|
Steven Barth
|
b202a403ff
|
Publish status data
Conflicts:
libs/web/luasrc/dispatcher.lua
|
2008-10-30 19:10:08 +00:00 |
|
Steven Barth
|
2d4f21e955
|
Fix rewrite and alias functions
|
2008-10-30 19:09:52 +00:00 |
|
Steven Barth
|
511b573c95
|
Add posibility to pass args to called-functions in dispatcher
|
2008-10-26 18:55:54 +00:00 |
|
Jo-Philipp Wich
|
bf21777126
|
* luci/libs/web: change OpenWRT to OpenWrt in distro title
|
2008-10-24 12:30:00 +00:00 |
|
Steven Barth
|
de4b0abeb9
|
Propagate CBI status via HTTP-Header
|
2008-10-20 22:35:11 +00:00 |
|
Steven Barth
|
c951eeb008
|
Added support for per dispatching node theme control
|
2008-10-19 20:49:10 +00:00 |
|
Steven Barth
|
d97b73c8c0
|
OXYGEN #4: Fixed indexing support in dispatcher
|
2008-10-11 11:30:43 +00:00 |
|
Steven Barth
|
676203d1fc
|
OXYGEN #2: Reorganized theme selection, added indexing support
|
2008-10-10 14:37:53 +00:00 |
|
Jo-Philipp Wich
|
4c73997ea1
|
* luci/libs/web: add /lib/uci/upload/ to sysupgrade keep files
|
2008-10-07 18:25:00 +00:00 |
|
Jo-Philipp Wich
|
255449a1e2
|
* luci/i18n: rename *.pt_br.* to *.pt-br.*, extend luci.i18n to convert "_" to "-" in language tags
|
2008-10-05 16:08:33 +00:00 |
|