Commit graph

186 commits

Author SHA1 Message Date
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