Steven Barth
d97b73c8c0
OXYGEN #4 : Fixed indexing support in dispatcher
2008-10-11 11:30:43 +00:00
Jo-Philipp Wich
b618361bf1
* luci/libs/cbi: implement file browse fields
...
* luci/modules/admin-full: add file browse controller
2008-10-10 21:52:22 +00:00
Jo-Philipp Wich
a957254e79
* luci/libs/httpprotocol: store QUERY_STRING in environment too, fixes query strings with luci-httpd and propably others
2008-10-10 20:28:57 +00:00
Steven Barth
676203d1fc
OXYGEN #2 : Reorganized theme selection, added indexing support
2008-10-10 14:37:53 +00:00
Jo-Philipp Wich
bfb5a53c45
* luci/libs/cbi: implement addremove_template
2008-10-10 11:47:32 +00:00
Steven Barth
dc494c838c
Optimized IPKG info parser
2008-10-08 23:35:54 +00:00
Steven Barth
b99972e671
Fixed a typo
2008-10-08 22:43:43 +00:00
Steven Barth
895ef413f1
Remove debug code from last commit
2008-10-08 21:47:26 +00:00
Steven Barth
e317c7545e
modules/admin-full: Added conntrack network page
2008-10-08 21:46:20 +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
f107196c3d
* luci/sgi/webuci: apply accept header fix - thanks Alina!
2008-10-07 16:44:51 +00:00
Jo-Philipp Wich
c6143b89d3
* luci/libs/cbi: also set css class names for dynamically generated select lists
2008-10-07 16:01:10 +00:00
Jo-Philipp Wich
8ecff0a9cc
* luci/libs/cbi: add css classes to input fields - needed for IE compat
2008-10-07 15:41:15 +00:00
Jo-Philipp Wich
86e1aebb59
* luci-trunk: huge xhtml, css and accessibility improvement patch - thanks Alina!
2008-10-07 13:10:24 +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
Jo-Philipp Wich
77159d8b66
* luci/lib/sys: fixes for sys.init api
2008-10-03 17:33:04 +00:00
Steven Barth
c5219322fb
Minor tinyproxy fixes (bumped translations, added missing ucitrack entry)
2008-10-03 16:04:19 +00:00
Jo-Philipp Wich
675b1b6d68
* luci/lib/httpprotocol: fix inline documentation for http.protocol.conditionals
2008-10-03 14:14:38 +00:00
Jo-Philipp Wich
84b98f7e8c
* luci/lib/sys: fix inline documentation of sys.init
2008-10-03 14:05:53 +00:00
Jo-Philipp Wich
e36ee05196
* luci/libs/sys: fix function name of init.disable()
2008-10-03 14:03:20 +00:00
Jo-Philipp Wich
85b3ee12c2
* luci/libs/httpprotocol: remove internal functions from lucidoc
2008-10-03 13:58:51 +00:00
Jo-Philipp Wich
b0cbce0da2
* luci/i18n/portuguese_brazilian: add uvl lua translation too
2008-10-02 14:12:04 +00:00
Jo-Philipp Wich
76f8ba692f
* luci/i18n/portuguese_brazilian: add uvl translations
2008-10-02 14:11:18 +00:00
Jo-Philipp Wich
2b81e10bc6
* luci-0.8: backport olsr translation fixes
2008-10-01 15:52:55 +00:00
Steven Barth
07a8c9c43d
Fix a bug preventing login in non-shadow environments
2008-10-01 15:43:12 +00:00
Steven Barth
fb2f4af1fb
Fixed a typo which prevented proper dependency tracking for additional fields
2008-09-30 21:13:14 +00:00
Steven Barth
8138c8475d
Work around OpenWRT / Busybox shadow password quirks
2008-09-29 22:12:56 +00:00
Steven Barth
a633631307
Added support for shadow passwords
2008-09-29 16:02:54 +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
3ddce490db
* luci/applications: create empty asterisk app folder
...
* luci/libs/uvl: move asterisk scheme to app folder
2008-09-25 14:01:49 +00:00
Jo-Philipp Wich
729c5a24a8
* luci/libs/uvl: move most schemes to their corresponding packages
2008-09-25 13:57:28 +00:00
Steven Barth
0227e3cea1
httpd sections are not unique anymore
2008-09-23 23:08:29 +00:00
Steven Barth
c94ef7f8d3
Optimize return value checks for luci-reload
2008-09-23 23:06:11 +00:00
Jo-Philipp Wich
b869dfa552
* luci/libs/cbi: remove leftover debugging code
2008-09-23 13:32:04 +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
Jo-Philipp Wich
225de06244
* luci/libs/uvl: add "device" option to wireless scheme
2008-09-22 16:26:05 +00:00
Jo-Philipp Wich
dc253f4af4
* luci/libs/cbi: implement commit hooks in cbi maps
...
* luci/moules/admin-mini: reload global config namespace when change theme or language (for persistent environments)
* luci/moules/admin-full: reload global config namespace when change theme or language (for persistent environments)
2008-09-20 22:11:41 +00:00
Steven Barth
f5d4157cab
admin-full/admin-mini: Fixed backup module
2008-09-19 17:47:56 +00:00
Steven Barth
2b8a092f93
libs/http: Updated inline documentation for mimedecode_message_body
2008-09-19 13:56:29 +00:00
Steven Barth
82cec2c01b
Push full metadata to the file callback (parsed and unparsed) - not only the unparsed mime headers
2008-09-19 12:20:18 +00:00
Steven Barth
1c7cc8501c
Fixed a typo for broadcom maclist, Improved general maclist handling
2008-09-19 10:42:18 +00:00
Steven Barth
712424dc0c
Overall CBI improvements: DummyValue handling, dependency conflicts, ...
2008-09-19 10:42:02 +00:00
Steven Barth
a54b1945c4
Revert mtdow
2008-09-18 21:45:01 +00:00
Steven Barth
8f5d0d6ff5
new sysupgrade fixes part 2
2008-09-18 21:26:34 +00:00
Steven Barth
5067e2d185
Revised sysupgrade part 1
2008-09-18 19:23:08 +00:00
Steven Barth
8509b6a83f
More mtdow fixes
2008-09-18 16:44:49 +00:00
Steven Barth
6785c3ed4b
Work around an ugly Opera and Internet Explorer event handling bug.
2008-09-18 14:36:26 +00:00
Steven Barth
8ff88fcd85
mtdow fixes level 1
2008-09-18 14:02:23 +00:00
Steven Barth
a9fba87a13
libs/sys: Added autodetection for mtdow
2008-09-18 11:37:07 +00:00
Jo-Philipp Wich
ce4236acff
* luci/libs/uvl: set type of "dhcp_option" variable to lazylist in dhcp scheme, breaks webif if only one option is set
2008-09-17 23:15:23 +00:00
Jo-Philipp Wich
8b53a27b5c
* luci/libs/uvl: mark "enabled" option as required in fstab scheme, this prevents the deletion from uci
2008-09-17 22:22:12 +00:00
Steven Barth
3ab109da95
Initial implementation of OpenWrt mtd writer
2008-09-17 20:44:12 +00:00
Steven Barth
309a448a1f
Don't validate dependencies for fields which are not part of the form
2008-09-17 12:06:05 +00:00
Steven Barth
38e60dcf9b
More IE compatibility fixes
2008-09-16 15:51:11 +00:00
Steven Barth
0a0220ca29
Internet suXplorer JavaScript compatibility fixes
2008-09-16 10:08:20 +00:00
Jo-Philipp Wich
ccf1355343
* luci/libs/sys: add workaround for wrapped lines in df output
2008-09-16 02:22:13 +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
Jo-Philipp Wich
25263f0144
* luci/libs/uci: register luci_hosts in ucitrack, fix dependencies for luci_ethers and luci_hosts
...
* luci/contrib/addons: fix luci_ethers and luci_hosts initscripts to always return 0
2008-09-14 23:57:13 +00:00
Steven Barth
d0442f8aab
libs/cbi: Fix option initialisation errors
2008-09-14 21:58:55 +00:00
Steven Barth
713454cefa
Fix some too strict validation schemes
2008-09-14 19:01:05 +00:00
Steven Barth
56ccdb78fa
libs/uci: Cursor.delete_all: fix logical condition
2008-09-14 19:00:52 +00:00
Steven Barth
5fff612e0a
Make Boa IPv6-ready. Patch by Alina Friedrichsen. Thanks a lot.
2008-09-14 11:12:39 +00:00
Steven Barth
f9303705a0
Overall CBI-UVL ineraction fixes
2008-09-13 12:20:39 +00:00
Jo-Philipp Wich
a8d165a5bf
* luci/libs/uvl:
...
- only check option dependencies if option has a value
- remove option required for atheros mode in wireless scheme - breaks broadcom
* luci/model/admin-full:
- override section validation if we create a new network on demand
2008-09-13 04:26:37 +00:00
Steven Barth
871f07ad2e
Avoid XML errors
2008-09-12 16:12:51 +00:00
Steven Barth
2bbc4eb3c3
Revert "Redesigned firmware upgrade process"
2008-09-12 16:12:23 +00:00
Steven Barth
65b0a2bfad
Replace short anchor tags, as they cause strange CSS behaviour
2008-09-12 14:41:05 +00:00
Steven Barth
df723f9d9e
Avoid some blocking issues
2008-09-12 13:32:35 +00:00
Steven Barth
bf7287c60d
Disable buffering of sysupgrade output
2008-09-12 12:32:18 +00:00
Steven Barth
67049e97b4
Fixed status detection for firmware flash
2008-09-12 12:13:26 +00:00
Steven Barth
fade8edd2d
Redesigned firmware upgrade process
2008-09-12 11:53:08 +00:00
Steven Barth
e0cfb49235
UVLDoc: Minor style improvements
2008-09-11 21:45:29 +00:00
Steven Barth
55cf7dbf34
Reworked UVL schemes
2008-09-11 21:45:23 +00:00
Steven Barth
ecf5ed021f
UVLDoc: Rendering optimizations and CSS style
2008-09-11 15:21:56 +00:00
Steven Barth
e5cb252043
UVL: Fixed dependency handling
2008-09-11 12:58:57 +00:00
Steven Barth
c6492df613
UVLDoc: Fixed referencing
2008-09-11 01:08:46 +00:00
Steven Barth
c8ef012b3a
Completed first part of UVLDoc
2008-09-11 00:50:19 +00:00
Steven Barth
ef8f835894
UVL: Fixed dependency parsing
2008-09-10 23:16:36 +00:00
Steven Barth
38691ce540
UVL: Export raw value of "valueof" for references
2008-09-10 15:35:11 +00:00
Steven Barth
1a4c192c65
More luci.util optimizations
2008-09-10 12:47:21 +00:00
Steven Barth
9e2759ec34
Optimized luci.util.class
2008-09-10 12:22:29 +00:00
Steven Barth
52c9166a7a
uvldoc: Added preliminary section support, optimized menu generating
2008-09-09 21:55:54 +00:00
Steven Barth
a4a77446e9
UVL: Add missing export for loadfile
2008-09-09 18:47:45 +00:00
Jo-Philipp Wich
77432eb047
* luci/libs/uvl: allow empty strings or undefined options as booleans too
2008-09-09 16:28:19 +00:00
Jo-Philipp Wich
0345180f72
* luci/libs/uvl: prevent "Value "" of option "qos.wan.enabled" does not validate as datatype "boolean"" error in qos pages
2008-09-09 16:21:21 +00:00
Steven Barth
abad8af0e7
again
2008-09-09 16:20:56 +00:00
Steven Barth
cd1db0eda2
Fixed last commit
2008-09-09 16:19:52 +00:00
Steven Barth
8766b050bd
Replace some util.splits with gmatch and match
2008-09-09 16:04:49 +00:00
Steven Barth
9f7832b827
Main library optimizations #2
2008-09-09 15:40:00 +00:00
Steven Barth
9ffd02f8d6
Main library optimizations #1
2008-09-09 15:39:54 +00:00
Steven Barth
2d409a3586
Optimized uvl.dependencies
2008-09-09 15:39:43 +00:00
Steven Barth
64a4270a59
Fixed uvl.errors
2008-09-09 15:39:38 +00:00
Steven Barth
1bfd6b667b
Optimized uvl.validation
2008-09-09 15:39:30 +00:00
Steven Barth
c939a799ce
Optimized uvl.errors
2008-09-09 15:39:25 +00:00
Steven Barth
9a8cd55c36
Optimized uvl.datatypes
2008-09-09 15:39:17 +00:00
Steven Barth
c287c8ca7e
Scheme parsing optimizations
2008-09-09 15:39:10 +00:00
Steven Barth
68ecfaf698
Revert UVL optimizations
2008-09-09 12:44: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
023b4ddf64
Fixed UVL
2008-09-08 18:34:26 +00:00
Steven Barth
5d3bddd899
Fixed last commit
2008-09-08 17:55:24 +00:00
Jo-Philipp Wich
8d372d2f28
* luci/libs/cbi: better layout for apply output
...
* luci/themes: introduce new css class for apply ul
2008-09-08 16:51:50 +00:00
Steven Barth
9890c99d0b
UVL optimizations round 1
2008-09-08 14:39:47 +00:00
Jo-Philipp Wich
eff278317e
* luci/libs/cbi: fix html errors in cbi templates
2008-09-08 00:34:27 +00:00
Steven Barth
19c79a30b9
Fixed DHCP-Options and some CBI stuff
2008-09-07 23:50:58 +00:00
Jo-Philipp Wich
554286bdc6
* luci/libs/uvl: extend network scheme to allow proto=none for interfaces
2008-09-07 23:08:13 +00:00
Steven Barth
2590722de0
libs/cbi: Fixed DynamicLists
2008-09-07 23:03:05 +00:00
Steven Barth
7fb577f21e
Fixed last commit
2008-09-07 22:55:59 +00:00
Steven Barth
7334fc65b2
Fixed a swap of keys and descriptions in additional fields of dynamic sections
2008-09-07 22:55:10 +00:00
Steven Barth
d8282d382b
libs/cbi: Catch errors while creating named sections
2008-09-07 21:22:39 +00:00
Steven Barth
d8e11218b4
Remove "done." message from luci-reload
2008-09-07 18:54:25 +00:00
Jo-Philipp Wich
a8f137973b
* luci/libs/uvl: add asterisk uci config scheme
2008-09-07 18:53:15 +00:00
Steven Barth
7bcd7e67d4
Fixed last commit
2008-09-07 16:27:01 +00:00
Steven Barth
85f9c51016
libs/cbi: Don't validate on reparse after commiting
2008-09-07 16:25:42 +00:00
Jo-Philipp Wich
1dcd836a30
* luci/libs/uvl: fix firewall scheme issue with custom rules
2008-09-07 15:27:24 +00:00
Jo-Philipp Wich
6a5ce5e45f
* luci/libs/uvl: extend firewall scheme to include more sane dependencies for custom rules
2008-09-07 13:38:23 +00:00
Jo-Philipp Wich
071f485a69
* luci/libs/uvl: prepare support for @type[n] notation in luci.uvl.uvlitem.cid()
2008-09-07 03:29:54 +00:00
Jo-Philipp Wich
96e7e81d1d
* luci/libs/uvl: fix description of default option in meta scheme
2008-09-07 02:57:47 +00:00
Jo-Philipp Wich
885e54007f
* luci/libs/uvl: implement default value option for variable sections
2008-09-07 02:55:42 +00:00
Jo-Philipp Wich
98ff081c9f
* luci/libs/uvl: allow combined enum/valueof options
2008-09-07 00:44:54 +00:00
Jo-Philipp Wich
c5278e17dc
* luci/libs/cbi: fix error assignment in cbi sections
2008-09-06 22:37:56 +00:00
Steven Barth
a9875adb29
Merge branch 'uvldoc'
2008-09-06 20:18:00 +00:00
Jo-Philipp Wich
1bc3365f02
* luci/libs/uvl: add scheme for luci_hosts configuration
2008-09-06 18:14:17 +00:00
Steven Barth
a59d6a7877
Added proto: none to network scheme
2008-09-06 16:46:27 +00:00
Steven Barth
3001586c04
Cosemtical changes
2008-09-06 16:27:40 +00:00
Steven Barth
38bdb5f504
Fixed a whitespace issue
2008-09-06 16:09:58 +00:00
Steven Barth
f297be56e9
Fixed permissions of luci-reload
2008-09-06 16:05:34 +00:00
Steven Barth
9befed193a
cbi: Increare responsiveness of "Save & Apply"
2008-09-06 14:59:48 +00:00
Steven Barth
03e11688ca
One more
2008-09-06 14:31:17 +00:00
Steven Barth
1c2ab810b2
Bump version to 0.9
2008-09-06 14:07:21 +00:00
Steven Barth
dbde0216c2
Rewrote UCI apply logic
2008-09-06 13:51:51 +00:00
Steven Barth
8e00d27ae7
Removed unneeded exports
2008-09-06 09:58:32 +00:00
Jo-Philipp Wich
cc7e96e352
* luci/libs/uvl: add definition for route sections to network scheme
2008-09-06 03:05:27 +00:00
Jo-Philipp Wich
7f7a600b12
* luci/libs/cbi: remove dead code
2008-09-05 23:25:51 +00:00
Steven Barth
40d4e839ef
Added bytecodecache
2008-09-05 23:24:39 +00:00
Jo-Philipp Wich
a37ba532ff
* luci/libs/uvl: fix dependencies in qos scheme
2008-09-05 23:22:00 +00:00
Jo-Philipp Wich
898c45743a
* luci/libs/cbi: improved error integration with uvl
2008-09-05 23:21:37 +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
4483ebd74d
Removed inefficient environment manipulation functions
2008-09-05 18:35:14 +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
3e9e582572
Heavy memory/performance optimizations #1
2008-09-05 18:34:46 +00:00
Jo-Philipp Wich
2b0f1af5cc
* luci/libs/uvl: fix an error message in luci.uvl.read_scheme()
2008-09-05 16:49:17 +00:00
Jo-Philipp Wich
3315203f2f
* luci/libs/uvl:
...
- implement bytecode loading in luci.uvl.read_scheme()
- add "uvlc" executable to byte-compile arbitary schemes
- add lib/uci/schema/bytecode/ directory
2008-09-05 16:46:51 +00:00
Steven Barth
8af9060efd
libs/cbi: Pass default values from UVL
2008-09-05 15:58:19 +00:00
Jo-Philipp Wich
94996dd639
* luci/libs/uvl: translation fixes
2008-09-05 15:32:33 +00:00