Commit graph

80 commits

Author SHA1 Message Date
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
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
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
dc33ed7b57 Tuned dispatcher behaviour 2008-09-15 16:50:55 +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
6a6edda049 Heavy memory/performance optimizations #4 2008-09-05 18:35:09 +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
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
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
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
4eead17501 RPC part #2 2008-08-22 20:04:04 +00:00
Jo-Philipp Wich
0938135dbb * luci/libs: add striptags() to global dispatcher namespace 2008-08-20 17:04:03 +00:00
Steven Barth
b723b936c5 Minor bugfixes 2008-08-11 12:53:41 +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
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
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
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
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
3ca2844c9f libs/web: Added luci.web.dispatcher.registered 2008-07-16 07:26:36 +00:00
Steven Barth
d0a622dce8 lib/cbi: Added support for multiple CBI maps per model 2008-07-15 13:17:28 +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
b85d292bcd * libs/web: Fixed reference to dispatcher in luci.dispatcher.build_url 2008-06-25 14:58:18 +00:00
Steven Barth
4f630d647c * Introducing LuCI HTTPD as testing environment
* Several coroutine-safety fixes
2008-06-23 18:17:02 +00:00