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
Steven Barth
40540257ae
Fallback to working theme if selected one does not exist
2008-09-29 15:38:13 +00:00
Jo-Philipp Wich
c0b2cda50e
* luci/libs: move upload dispatching from dispatcher to cbi.load()
2008-09-23 13:30:07 +00:00
Jo-Philipp Wich
6b3985b6be
* luci/libs/cbi:
...
- implement file upload fields
- change default enctype in forms to multipart/form-data
- add upload template
* luci/libs/web:
- dispatch file uploads to cbi form fields
* luci/i18n:
- add german and english translations for file upload fields
2008-09-23 00:10:51 +00:00
Steven Barth
f5d4157cab
admin-full/admin-mini: Fixed backup module
2008-09-19 17:47:56 +00:00
Steven Barth
dc33ed7b57
Tuned dispatcher behaviour
2008-09-15 16:50:55 +00:00
Steven Barth
22c927621c
Optimized caching behaviour, automatically flush caches in dev environment
2008-09-15 16:49:56 +00:00
Steven Barth
871f07ad2e
Avoid XML errors
2008-09-12 16:12:51 +00:00
Steven Barth
8dbf29e86e
Performance optimisations:
...
In-line expressions are faster than function calls
2008-09-09 12:44:41 +00:00
Steven Barth
dbde0216c2
Rewrote UCI apply logic
2008-09-06 13:51:51 +00:00
Steven Barth
40d4e839ef
Added bytecodecache
2008-09-05 23:24:39 +00:00
Steven Barth
e63d3f03eb
Added memory tracer
2008-09-05 20:32:20 +00:00
Steven Barth
ac05bea1be
Small dispatcher improvement
2008-09-05 19:17:48 +00:00
Steven Barth
a8a72c1ec8
Fixed luci.config
2008-09-05 18:39:42 +00:00
Steven Barth
6a6edda049
Heavy memory/performance optimizations #4
2008-09-05 18:35:09 +00:00
Steven Barth
37b5ef40df
Heavy memory/performance optimizations #3
2008-09-05 18:35:03 +00:00
Steven Barth
45319b232b
Heavy memory/performance optimizations #2
2008-09-05 18:34:56 +00:00
Steven Barth
c03bde275f
Inprove sanity check for luci.sauth.read
2008-09-05 14:52:06 +00:00
Steven Barth
47c07adf75
libs/web: Turn dependency tracking on by default
2008-09-05 14:34:59 +00:00
Steven Barth
e2e1cf5497
Fixed some minor session handling issues
2008-09-05 14:28:36 +00:00
Steven Barth
cac36db080
Optimized error handling
2008-09-05 09:37:02 +00:00
Steven Barth
43a730c88a
libs/web: Fixed luci.template
2008-09-03 11:01:21 +00:00
Steven Barth
b693e1ab91
Rewrote luci.config
2008-09-02 14:24:00 +00:00
Steven Barth
765d5b8540
libs/web: Fixed a typo in template error handling
2008-09-02 09:02:13 +00:00
Steven Barth
06b6d23c20
Added custom filename support to luci.template
2008-09-01 20:43:48 +00:00
Steven Barth
895b68050b
libs/web: Cleaned up template library
2008-09-01 16:05:40 +00:00
Steven Barth
bb8137062f
libs/web: Added several sanity checks to avoid local privilege escalation
2008-09-01 16:05:34 +00:00
Steven Barth
f28422324d
libs/web: Fix dispatching index scope
2008-08-31 10:48:56 +00:00
Steven Barth
cec13fcb29
libs/web: Return more verbose error messages when template execution fails
2008-08-30 20:32:00 +00:00
Steven Barth
ffd5c4ec65
General optimizations, simplifications and improvements
2008-08-29 23:26:01 +00:00
Steven Barth
5cfda95377
Speed up generation of dispatching tree
2008-08-29 20:36:45 +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
Jo-Philipp Wich
4fc00fead3
* luci/libs: web: fix "dispatcher.lua:167: attempt to concatenate a
...
nil value" when running luci on a shell
2008-08-23 15:17:10 +00:00
Steven Barth
3bcab66128
RPC initial authentication API completed
2008-08-22 22:13:54 +00:00
Steven Barth
69cab40a9a
libs/web: Remove unneeded status call
2008-08-22 22:01:53 +00:00
Steven Barth
20116047b0
Fix unhandled track values for leafs
2008-08-22 21:52:36 +00:00
Steven Barth
03c0b0ad12
RPC part #3
2008-08-22 20:04:49 +00:00
Steven Barth
4eead17501
RPC part #2
2008-08-22 20:04:04 +00:00
Steven Barth
3fdccc976e
libs/web: Corrected HTTP-Headers
2008-08-20 19:24:09 +00:00
Steven Barth
0e1ec77d17
libs/web: Set Expires-Header
2008-08-20 19:04:10 +00:00
Jo-Philipp Wich
0938135dbb
* luci/libs: add striptags() to global dispatcher namespace
2008-08-20 17:04:03 +00:00
Steven Barth
c10065b71c
Added new Application luci-samba offering SMB/CIFS network share configuration
2008-08-11 16:05:50 +00:00
Steven Barth
b723b936c5
Minor bugfixes
2008-08-11 12:53:41 +00:00
Steven Barth
37b3fba688
Fixed last commit
2008-08-11 10:51:02 +00:00
Steven Barth
fdce917da5
libs/web: Even more sanity checks
2008-08-11 10:49:44 +00:00
Steven Barth
f83bb9996b
libs/web: Add additional sanity checks to session mechanism
2008-08-11 10:43:31 +00:00
Steven Barth
673b4e1698
libs/web: Add an additional sanity check to Session IDs
2008-08-11 09:59:44 +00:00
Steven Barth
4bb4304974
Revert "* Fix last commit"
...
This reverts commit 0c680a15bc487d98bb8b50e4c57f735b957c4744.
2008-08-10 13:01:42 +00:00
Steven Barth
90a6f45d33
* Fix last commit
2008-08-10 13:01:16 +00:00
Steven Barth
f9fa6d82da
* libs/web: Reworked authentication
2008-08-10 12:58:05 +00:00
Steven Barth
bdb4bbde13
libs/cbi: Major Improvements
...
Added initial support for non-UCI-based forms (luci.cbi.SimpleForm)
Minor API improvements
Now correctly tagging "empty mandatory field" errors
2008-08-09 14:14:04 +00:00
Steven Barth
f4ec942d1b
libs/web: Added missing on_commit trigger
2008-08-08 10:42:34 +00:00
Steven Barth
e72a526984
libs/cbi: Added magic ;-)
2008-08-07 19:03:25 +00:00
Steven Barth
50093ed3d9
Moved luci.sys.libpath to luci.util
2008-08-06 20:20:40 +00:00
Steven Barth
2755a46c4d
applications/luci-splash: Updated to work with new UCI firewall
2008-08-05 12:58:20 +00:00
Steven Barth
9a63ad7c10
applications/luci-fw: Reworked to use the new native UCI-based firewall configuration
2008-08-04 23:36:33 +00:00
Steven Barth
14e62cc311
libs/web: Fixed template escaping
2008-07-31 09:54:09 +00:00
Steven Barth
8c3ee6f9b7
Added "apidocs" target to Makefile
...
contrib/luadoc: Added luadoc executable
libs: Fixed typos in inline documentation
2008-07-29 21:16:12 +00:00
Steven Barth
5b43543226
libs/web: Small improvements, added inline documentation
2008-07-29 20:32:02 +00:00
Steven Barth
e5df13e80e
libs: Fixed serialization stuff
2008-07-26 17:24:46 +00:00
Steven Barth
a91f1a7e37
libs/core, libs/uci, libs/web: Fixed several inline documentation typos
2008-07-25 11:52:04 +00:00
Steven Barth
f94c7b2c10
libs/web: Cleanup and inline documentation
2008-07-23 19:27:33 +00:00
Steven Barth
71306947ea
themes: Add registration of themes at package installation time
2008-07-23 11:32:53 +00:00
Steven Barth
4deb486228
i18n: Added dynamic registration for translations
2008-07-23 11:13:33 +00:00
Jo-Philipp Wich
70b119b8ee
* luci/libs/core: added inline documentation to luci.util, reordered and renamed functions to logical groups
...
* luci/libs/web: rename dump() to get_bytecode()
2008-07-22 20:33:04 +00:00
Steven Barth
21b491c20b
Send Cache-Control headers by default
2008-07-19 16:20:00 +00:00
Steven Barth
3da2286b3d
Improved reloading system, fixed a bug with saving network settings
2008-07-19 14:18:03 +00:00
Steven Barth
90c98540b1
libs/web: Fixed a bug regarding % characters in luci.template
2008-07-18 20:53:45 +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
43b9951481
New application luci-upnp for luci-full and luci-mini
2008-07-17 18:11:15 +00:00
Steven Barth
52d49762ed
applications/luci-qos: Smaller enhancements, support for luci-mini
...
applications/luci-fw: Fixed support for luci-mini
libs/web: Removed luci.dispatcher.registered
2008-07-17 16:02:29 +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
9b1ef9e2b1
libs/web: Made luci.http.write a sink
2008-07-16 09:18:27 +00:00
Steven Barth
3ca2844c9f
libs/web: Added luci.web.dispatcher.registered
2008-07-16 07:26:36 +00:00
Jo-Philipp Wich
25c82d7382
* luci: associate luci_ethers reload with luci_ethers uci config
2008-07-15 23:29:21 +00:00
Steven Barth
d0a622dce8
lib/cbi: Added support for multiple CBI maps per model
2008-07-15 13:17:28 +00:00
Jo-Philipp Wich
2fda235223
* luci/libs/web: fixed whitespace strip condition in template parser
2008-07-07 21:31:56 +00:00
Jo-Philipp Wich
e8e67f15cd
* luci/libs/web: extended template syntax to allow removal of leading and trailing whitespace
2008-07-07 21:29:22 +00:00
Steven Barth
a41f33ba01
libs/web: Added template comments
2008-07-07 20:58:10 +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
bcce358d8a
* libs/web: Prepare entry for french translation
2008-07-06 15:01:42 +00:00
Steven Barth
66ec29f243
* libs/core: Moved ltn12 inside LuCI to avoid package conflicts with luasocket
2008-06-29 16:15:26 +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
ee324cb3a7
* applications/luci-splash: Rewrote luci-splash using an own daemon implementation
...
* Minor tweaks in luci.dispatcher
2008-06-29 14:42:53 +00:00
Steven Barth
8ca3b888ad
* libs/httpd: Fixed a problem with empty sources in filehandler
2008-06-28 17:03:47 +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
289b8fc1b6
* libs/web: Prepare session authentication
2008-06-27 20:29:05 +00:00
Steven Barth
7a4aa85dd6
* libs/httpd: Introduced keep-alive and pipelining support
2008-06-25 16:38:48 +00:00
Steven Barth
b85d292bcd
* libs/web: Fixed reference to dispatcher in luci.dispatcher.build_url
2008-06-25 14:58:18 +00:00
Steven Barth
1a9fe9cd77
libs/web: Fixed bug where the environment table gets returned in case of an undefined variable
2008-06-23 23:35:25 +00:00
Steven Barth
cd0eaf0005
* libs/web: Changed caching behaviour of template library
2008-06-23 23:03:38 +00:00
Steven Barth
4f630d647c
* Introducing LuCI HTTPD as testing environment
...
* Several coroutine-safety fixes
2008-06-23 18:17:02 +00:00
Steven Barth
65870edf9f
* libs/core: Added garbage collector to luci.util.threadlocal to avoid memory leaks
...
* libs/http: Use env-Variables instead of headers for parse_message_body and subsequent functions
* libs/http: Added missing urldecode call for parsing urlencoded params
* libs/web: Ported luci.http to use ltn12 sources and sinks instead of sockets or file pointers
* libs/sgi-cgi, libs/sgi-webuci, libs/sgi-wsapi: Updated to work with new luci.http.Request ABI
2008-06-20 19:57:57 +00:00
Jo-Philipp Wich
f712a1f2c2
* luci/libs: moved http.protocol from libs/web to libs/httpd, rewrote http.protocol to rely on LTN12 chains
2008-06-19 02:53:09 +00:00
Steven Barth
dfe85d7e51
* Added preliminary HTTPD construct
2008-06-16 19:47:57 +00:00
Jo-Philipp Wich
77da39e776
* luci/libs: http.protocol: prevent oversized read blocks when reading from socket or file handle
2008-06-15 21:43:32 +00:00
Jo-Philipp Wich
15fbb8799e
* luci/libs: http.protocol: switch to blockwise reading in urlencoded post requests, renamed readbuf constant
2008-06-15 21:39:16 +00:00
Steven Barth
89f1f43c9d
* Fixed SGI webuci to work with new HTTP API
2008-06-15 21:11:34 +00:00