Commit graph

420 commits

Author SHA1 Message Date
Steven Barth
565bc6d4c2 libs/uvl: Set an own savedir to avoid UCI problems 2008-08-28 18:57:49 +00:00
Steven Barth
8f03192ce4 Fixed luci.util.dumptable again 2008-08-28 18:57:34 +00:00
Steven Barth
8b28f46eea Added maxdepth to luci.util.dumptable 2008-08-28 17:10:35 +00:00
Jo-Philipp Wich
af2cce3839 * luci/libs: util: little bugfix in serialize_data() 2008-08-28 16:44:10 +00:00
Jo-Philipp Wich
33ef3a1da2 * luci/libs: util: further enhancements to table serialisation 2008-08-28 16:40:51 +00:00
Jo-Philipp Wich
2975bb66a6 * luci/libs: util: improve table handling and support mixed tables in serialize_data() 2008-08-28 16:17:42 +00:00
Steven Barth
b3d63252e7 Fixed luci.util.dumptable 2008-08-28 16:16:51 +00:00
Steven Barth
ba22660cb8 libs/core: Add recursion detection to dumptable, serialize_data
Dumptable now writes to stderr
2008-08-28 15:50:27 +00:00
Steven Barth
b5b0914ae3 libs/uci: Updated API-Docs 2008-08-28 10:18:10 +00:00
Steven Barth
12912ba7a4 Fixed enum dependencies 2008-08-28 09:11:16 +00:00
Jo-Philipp Wich
c2f79950b2 * luci/libs: uvl: add uci error mechanism to uvl error handling 2008-08-28 00:21:43 +00:00
Steven Barth
a3fcd87a71 Fixed incompatible APIs in CBI 2008-08-27 22:02:38 +00:00
Steven Barth
11bcdfd91a Switch back to mainline UCI 2008-08-27 21:32:05 +00:00
Jo-Philipp Wich
8be65461bc * luci/libs: uvl: fix crash when trying to validate malformed or not-existing configuration, more verbose error message for uci load failure 2008-08-27 18:55:42 +00:00
Jo-Philipp Wich
339042c46a * luci/libs: uvl: allow optional uci config as argument in validate_*() 2008-08-27 17:51:35 +00:00
Steven Barth
9a8eb7fce6 Rewrote the API-documentation for luci.json 2008-08-27 17:49:52 +00:00
Steven Barth
af18067e75 Fix some synchronization issues 2008-08-27 17:45:58 +00:00
Jo-Philipp Wich
4e15641c24 * luci/libs: uvl: actually create error constants in luci.uvl.error 2008-08-27 16:56:38 +00:00
Jo-Philipp Wich
aa94931fa0 * luci/libs: uvl: Major rewrite of internal element handling, reworked error model, dropped loghelper and get_dependencies(), introduced luci.uvl.errors api 2008-08-27 16:44:07 +00:00
Steven Barth
ccb1ea29ac Added missing import 2008-08-27 13:49:32 +00:00
Steven Barth
d463d0b835 Renamed reworked UCI API to uci2 to allow a peaceful coexistence with the old one
Minor bugfixes
2008-08-27 08:53:40 +00:00
Steven Barth
91ba7c42f5 UCI API changes 2008-08-26 23:00:44 +00:00
Steven Barth
43b3217e55 libs/cbi: Added support for enum dependencies 2008-08-26 19:36:41 +00:00
Steven Barth
3a09a73d2b libs/core: Added target parameter to luci.sys.httpget 2008-08-26 18:02:27 +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
8e6d1e682a * luci/libs: uvl: implement dependencies for enum values 2008-08-25 18:30:25 +00:00
Jo-Philipp Wich
1e6001c235 * luci/libs: cbi: implement get_scheme() on some more map-like objects; whitespace cleanup 2008-08-25 00:36:07 +00:00
Steven Barth
d97d6329c3 libs/cbi: Fixed UVL integration 2008-08-24 20:44:47 +00:00
Steven Barth
d68d03085a CBI-UVL integration part #2 2008-08-24 19:51:09 +00:00
Jo-Philipp Wich
a0b9f952e5 * luci/libs: uvl: store valueof values as associative table 2008-08-24 18:33:25 +00:00
Jo-Philipp Wich
e124eec0e8 * luci/libs: uvl: implement "valueof" option 2008-08-24 18:06:51 +00:00
Jo-Philipp Wich
75aac77206 * luci/libs: uvl: remove a brain-dead unpack() 2008-08-24 17:14:31 +00:00
Jo-Philipp Wich
5117fc703e * luci/libs: uvl: use python-style format syntax for errors 2008-08-24 17:12:16 +00:00
Steven Barth
0647fadb0a libs/core: Add Pythonic string formatting syntax 2008-08-24 16:35:06 +00:00
Steven Barth
451eacf8da CBI-UVL integration part #1 2008-08-24 16:22:49 +00:00
Jo-Philipp Wich
1946740198 * luci/libs: uvl: implement "named" flag for schemes 2008-08-24 16:09:02 +00:00
Jo-Philipp Wich
23101e7137 * luci/libs: uvl: implement get_scheme() and get_dependencies() 2008-08-24 14:20:20 +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
830ca24abb libs/http: Fixed default sink for unknown data 2008-08-22 20:33:48 +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
dcf0f6146f libs/rpc: Created new library 2008-08-21 19:13:45 +00:00
Jo-Philipp Wich
71c3d30f46 * luci/themes: several xhtml fixes 2008-08-20 19:44:16 +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