summaryrefslogtreecommitdiffhomepage
path: root/core/src
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-05-08 15:37:41 +0000
committerSteven Barth <steven@midlink.org>2008-05-08 15:37:41 +0000
commitaa9ccf77c6648515ba58c37b9345cdbd561028db (patch)
treeb0270202d47b6c5e179f8475302bb3ef0d1c9402 /core/src
parenta3a51464fd8cffa6d18fa3f18be9c699901abd0d (diff)
* Mördercommit ;-)
* Major Repository Reorganisation * API 0.4 Softfreeze to come
Diffstat (limited to 'core/src')
-rw-r--r--core/src/bits.lua (renamed from core/src/ffluci/bits.lua)0
-rw-r--r--core/src/cbi.lua (renamed from core/src/ffluci/cbi.lua)0
-rw-r--r--core/src/config.lua (renamed from core/src/ffluci/config.lua)0
-rw-r--r--core/src/debug.lua (renamed from core/src/ffluci/debug.lua)0
-rw-r--r--core/src/dispatcher.lua (renamed from core/src/ffluci/dispatcher.lua)0
-rw-r--r--core/src/ffluci/sgi/haserl.lua76
-rw-r--r--core/src/ffluci/sgi/webuci.lua83
-rw-r--r--core/src/fs.lua (renamed from core/src/ffluci/fs.lua)0
-rw-r--r--core/src/http.lua (renamed from core/src/ffluci/http.lua)0
-rw-r--r--core/src/i18n.lua (renamed from core/src/ffluci/i18n.lua)0
-rw-r--r--core/src/i18n/cbi.en (renamed from core/src/ffluci/i18n/cbi.en)0
-rw-r--r--core/src/i18n/default.en (renamed from core/src/ffluci/i18n/default.en)0
-rw-r--r--core/src/init.lua (renamed from core/src/ffluci/init.lua)0
-rw-r--r--core/src/menu.lua (renamed from core/src/ffluci/menu.lua)0
-rw-r--r--core/src/model/ipkg.lua (renamed from core/src/ffluci/model/ipkg.lua)0
-rw-r--r--core/src/model/uci.lua (renamed from core/src/ffluci/model/uci.lua)0
-rw-r--r--core/src/model/uci/libuci.lua (renamed from core/src/ffluci/model/uci/libuci.lua)0
-rw-r--r--core/src/model/uci/wrapper.lua (renamed from core/src/ffluci/model/uci/wrapper.lua)0
-rw-r--r--core/src/sys.lua (renamed from core/src/ffluci/sys.lua)0
-rw-r--r--core/src/template.lua (renamed from core/src/ffluci/template.lua)0
-rw-r--r--core/src/util.lua (renamed from core/src/ffluci/util.lua)0
-rw-r--r--core/src/view/cbi/dvalue.htm (renamed from core/src/ffluci/view/cbi/dvalue.htm)0
-rw-r--r--core/src/view/cbi/footer.htm (renamed from core/src/ffluci/view/cbi/footer.htm)0
-rw-r--r--core/src/view/cbi/fvalue.htm (renamed from core/src/ffluci/view/cbi/fvalue.htm)0
-rw-r--r--core/src/view/cbi/header.htm (renamed from core/src/ffluci/view/cbi/header.htm)0
-rw-r--r--core/src/view/cbi/lvalue.htm (renamed from core/src/ffluci/view/cbi/lvalue.htm)0
-rw-r--r--core/src/view/cbi/map.htm (renamed from core/src/ffluci/view/cbi/map.htm)0
-rw-r--r--core/src/view/cbi/mvalue.htm (renamed from core/src/ffluci/view/cbi/mvalue.htm)0
-rw-r--r--core/src/view/cbi/nsection.htm (renamed from core/src/ffluci/view/cbi/nsection.htm)0
-rw-r--r--core/src/view/cbi/tsection.htm (renamed from core/src/ffluci/view/cbi/tsection.htm)0
-rw-r--r--core/src/view/cbi/ucisection.htm (renamed from core/src/ffluci/view/cbi/ucisection.htm)0
-rw-r--r--core/src/view/cbi/value.htm (renamed from core/src/ffluci/view/cbi/value.htm)0
-rw-r--r--core/src/view/cbi/valuefooter.htm (renamed from core/src/ffluci/view/cbi/valuefooter.htm)0
-rw-r--r--core/src/view/cbi/valueheader.htm (renamed from core/src/ffluci/view/cbi/valueheader.htm)0
-rw-r--r--core/src/view/error404.htm (renamed from core/src/ffluci/view/error404.htm)0
-rw-r--r--core/src/view/error500.htm (renamed from core/src/ffluci/view/error500.htm)0
-rw-r--r--core/src/view/footer.htm (renamed from core/src/ffluci/view/footer.htm)0
-rw-r--r--core/src/view/header.htm (renamed from core/src/ffluci/view/header.htm)0
38 files changed, 0 insertions, 159 deletions
diff --git a/core/src/ffluci/bits.lua b/core/src/bits.lua
index f8434c335d..f8434c335d 100644
--- a/core/src/ffluci/bits.lua
+++ b/core/src/bits.lua
diff --git a/core/src/ffluci/cbi.lua b/core/src/cbi.lua
index 3384e5c38a..3384e5c38a 100644
--- a/core/src/ffluci/cbi.lua
+++ b/core/src/cbi.lua
diff --git a/core/src/ffluci/config.lua b/core/src/config.lua
index 0db45ac891..0db45ac891 100644
--- a/core/src/ffluci/config.lua
+++ b/core/src/config.lua
diff --git a/core/src/ffluci/debug.lua b/core/src/debug.lua
index 1be40348e4..1be40348e4 100644
--- a/core/src/ffluci/debug.lua
+++ b/core/src/debug.lua
diff --git a/core/src/ffluci/dispatcher.lua b/core/src/dispatcher.lua
index c60e5dcd17..c60e5dcd17 100644
--- a/core/src/ffluci/dispatcher.lua
+++ b/core/src/dispatcher.lua
diff --git a/core/src/ffluci/sgi/haserl.lua b/core/src/ffluci/sgi/haserl.lua
deleted file mode 100644
index 7e9854d7d3..0000000000
--- a/core/src/ffluci/sgi/haserl.lua
+++ /dev/null
@@ -1,76 +0,0 @@
---[[
-FFLuCI - SGI-Module for Haserl
-
-Description:
-Server Gateway Interface for Haserl
-
-FileId:
-$Id$
-
-License:
-Copyright 2008 Steven Barth <steven@midlink.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-]]--
-module("ffluci.sgi.haserl", package.seeall)
-
--- Environment Table
-ffluci.http.env = ENV
-
-
--- Returns a table of all COOKIE, GET and POST Parameters
-function ffluci.http.formvalues()
- return FORM
-end
-
--- Gets form value from key
-function ffluci.http.formvalue(key, default)
- local c = ffluci.http.formvalues()
-
- for match in key:gmatch("[%w-_]+") do
- c = c[match]
- if c == nil then
- return default
- end
- end
-
- return c
-end
-
--- Gets a table of values with a certain prefix
-function ffluci.http.formvaluetable(prefix)
- return ffluci.http.formvalue(prefix, {})
-end
-
--- Sends a custom HTTP-Header
-function ffluci.http.header(key, value)
- print(key .. ": " .. value)
-end
-
--- Set Content-Type
-function ffluci.http.prepare_content(type)
- print("Content-Type: "..type.."\n")
-end
-
--- Asks the browser to redirect to "url"
-function ffluci.http.redirect(url)
- ffluci.http.status(302, "Found")
- ffluci.http.header("Location", url)
- print()
-end
-
--- Sets HTTP-Status-Header
-function ffluci.http.status(code, message)
- print("Status: " .. tostring(code) .. " " .. message)
-end
diff --git a/core/src/ffluci/sgi/webuci.lua b/core/src/ffluci/sgi/webuci.lua
deleted file mode 100644
index 5e17ab7935..0000000000
--- a/core/src/ffluci/sgi/webuci.lua
+++ /dev/null
@@ -1,83 +0,0 @@
---[[
-FFLuCI - SGI-Module for Haserl
-
-Description:
-Server Gateway Interface for Haserl
-
-FileId:
-$Id$
-
-License:
-Copyright 2008 Steven Barth <steven@midlink.org>
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
-
-]]--
-module("ffluci.sgi.webuci", package.seeall)
-
--- Environment Table
-ffluci.http.env = webuci.env
-
-
-local status_set = false
-
--- Returns a table of all COOKIE, GET and POST Parameters
-function ffluci.http.formvalues()
- return webuci.vars
-end
-
--- Gets form value from key
-function ffluci.http.formvalue(key, default)
- return ffluci.http.formvalues()[key] or default
-end
-
--- Gets a table of values with a certain prefix
-function ffluci.http.formvaluetable(prefix)
- local vals = {}
- prefix = prefix and prefix .. "." or "."
-
- for k, v in pairs(ffluci.http.formvalues()) do
- if k:find(prefix, 1, true) == 1 then
- vals[k:sub(#prefix + 1)] = v
- end
- end
-
- return vals
-end
-
--- Sends a custom HTTP-Header
-function ffluci.http.header(key, value)
- print(key .. ": " .. value)
-end
-
--- Set Content-Type
-function ffluci.http.prepare_content(type)
- if not status_set then
- ffluci.http.status(200, "OK")
- end
-
- print("Content-Type: "..type.."\n")
-end
-
--- Asks the browser to redirect to "url"
-function ffluci.http.redirect(url)
- ffluci.http.status(302, "Found")
- ffluci.http.header("Location", url)
- print()
-end
-
--- Sets HTTP-Status-Header
-function ffluci.http.status(code, message)
- print(webuci.env.SERVER_PROTOCOL .. " " .. tostring(code) .. " " .. message)
- status_set = true
-end
diff --git a/core/src/ffluci/fs.lua b/core/src/fs.lua
index 0ca191be94..0ca191be94 100644
--- a/core/src/ffluci/fs.lua
+++ b/core/src/fs.lua
diff --git a/core/src/ffluci/http.lua b/core/src/http.lua
index f4ba570946..f4ba570946 100644
--- a/core/src/ffluci/http.lua
+++ b/core/src/http.lua
diff --git a/core/src/ffluci/i18n.lua b/core/src/i18n.lua
index 88381dde7f..88381dde7f 100644
--- a/core/src/ffluci/i18n.lua
+++ b/core/src/i18n.lua
diff --git a/core/src/ffluci/i18n/cbi.en b/core/src/i18n/cbi.en
index 6069cec453..6069cec453 100644
--- a/core/src/ffluci/i18n/cbi.en
+++ b/core/src/i18n/cbi.en
diff --git a/core/src/ffluci/i18n/default.en b/core/src/i18n/default.en
index 726095ae76..726095ae76 100644
--- a/core/src/ffluci/i18n/default.en
+++ b/core/src/i18n/default.en
diff --git a/core/src/ffluci/init.lua b/core/src/init.lua
index 8d4cea2e96..8d4cea2e96 100644
--- a/core/src/ffluci/init.lua
+++ b/core/src/init.lua
diff --git a/core/src/ffluci/menu.lua b/core/src/menu.lua
index 5724b2cb9e..5724b2cb9e 100644
--- a/core/src/ffluci/menu.lua
+++ b/core/src/menu.lua
diff --git a/core/src/ffluci/model/ipkg.lua b/core/src/model/ipkg.lua
index 3b149fb168..3b149fb168 100644
--- a/core/src/ffluci/model/ipkg.lua
+++ b/core/src/model/ipkg.lua
diff --git a/core/src/ffluci/model/uci.lua b/core/src/model/uci.lua
index ca5b232eb3..ca5b232eb3 100644
--- a/core/src/ffluci/model/uci.lua
+++ b/core/src/model/uci.lua
diff --git a/core/src/ffluci/model/uci/libuci.lua b/core/src/model/uci/libuci.lua
index b160dc10a3..b160dc10a3 100644
--- a/core/src/ffluci/model/uci/libuci.lua
+++ b/core/src/model/uci/libuci.lua
diff --git a/core/src/ffluci/model/uci/wrapper.lua b/core/src/model/uci/wrapper.lua
index 3aa3b5fd1d..3aa3b5fd1d 100644
--- a/core/src/ffluci/model/uci/wrapper.lua
+++ b/core/src/model/uci/wrapper.lua
diff --git a/core/src/ffluci/sys.lua b/core/src/sys.lua
index 3766548932..3766548932 100644
--- a/core/src/ffluci/sys.lua
+++ b/core/src/sys.lua
diff --git a/core/src/ffluci/template.lua b/core/src/template.lua
index 7ac47cbbef..7ac47cbbef 100644
--- a/core/src/ffluci/template.lua
+++ b/core/src/template.lua
diff --git a/core/src/ffluci/util.lua b/core/src/util.lua
index 9e3c7f25e9..9e3c7f25e9 100644
--- a/core/src/ffluci/util.lua
+++ b/core/src/util.lua
diff --git a/core/src/ffluci/view/cbi/dvalue.htm b/core/src/view/cbi/dvalue.htm
index f54667def6..f54667def6 100644
--- a/core/src/ffluci/view/cbi/dvalue.htm
+++ b/core/src/view/cbi/dvalue.htm
diff --git a/core/src/ffluci/view/cbi/footer.htm b/core/src/view/cbi/footer.htm
index 2acf710cdd..2acf710cdd 100644
--- a/core/src/ffluci/view/cbi/footer.htm
+++ b/core/src/view/cbi/footer.htm
diff --git a/core/src/ffluci/view/cbi/fvalue.htm b/core/src/view/cbi/fvalue.htm
index b609f1d4f4..b609f1d4f4 100644
--- a/core/src/ffluci/view/cbi/fvalue.htm
+++ b/core/src/view/cbi/fvalue.htm
diff --git a/core/src/ffluci/view/cbi/header.htm b/core/src/view/cbi/header.htm
index 3b615d7294..3b615d7294 100644
--- a/core/src/ffluci/view/cbi/header.htm
+++ b/core/src/view/cbi/header.htm
diff --git a/core/src/ffluci/view/cbi/lvalue.htm b/core/src/view/cbi/lvalue.htm
index f1ae5a0939..f1ae5a0939 100644
--- a/core/src/ffluci/view/cbi/lvalue.htm
+++ b/core/src/view/cbi/lvalue.htm
diff --git a/core/src/ffluci/view/cbi/map.htm b/core/src/view/cbi/map.htm
index 835393c1c5..835393c1c5 100644
--- a/core/src/ffluci/view/cbi/map.htm
+++ b/core/src/view/cbi/map.htm
diff --git a/core/src/ffluci/view/cbi/mvalue.htm b/core/src/view/cbi/mvalue.htm
index 97a1c4295a..97a1c4295a 100644
--- a/core/src/ffluci/view/cbi/mvalue.htm
+++ b/core/src/view/cbi/mvalue.htm
diff --git a/core/src/ffluci/view/cbi/nsection.htm b/core/src/view/cbi/nsection.htm
index bbc87f1858..bbc87f1858 100644
--- a/core/src/ffluci/view/cbi/nsection.htm
+++ b/core/src/view/cbi/nsection.htm
diff --git a/core/src/ffluci/view/cbi/tsection.htm b/core/src/view/cbi/tsection.htm
index 666c14b2e6..666c14b2e6 100644
--- a/core/src/ffluci/view/cbi/tsection.htm
+++ b/core/src/view/cbi/tsection.htm
diff --git a/core/src/ffluci/view/cbi/ucisection.htm b/core/src/view/cbi/ucisection.htm
index a1fb39cf45..a1fb39cf45 100644
--- a/core/src/ffluci/view/cbi/ucisection.htm
+++ b/core/src/view/cbi/ucisection.htm
diff --git a/core/src/ffluci/view/cbi/value.htm b/core/src/view/cbi/value.htm
index 31bf38f77c..31bf38f77c 100644
--- a/core/src/ffluci/view/cbi/value.htm
+++ b/core/src/view/cbi/value.htm
diff --git a/core/src/ffluci/view/cbi/valuefooter.htm b/core/src/view/cbi/valuefooter.htm
index 6151a3a66a..6151a3a66a 100644
--- a/core/src/ffluci/view/cbi/valuefooter.htm
+++ b/core/src/view/cbi/valuefooter.htm
diff --git a/core/src/ffluci/view/cbi/valueheader.htm b/core/src/view/cbi/valueheader.htm
index 062efa2ddd..062efa2ddd 100644
--- a/core/src/ffluci/view/cbi/valueheader.htm
+++ b/core/src/view/cbi/valueheader.htm
diff --git a/core/src/ffluci/view/error404.htm b/core/src/view/error404.htm
index 51ea176d6e..51ea176d6e 100644
--- a/core/src/ffluci/view/error404.htm
+++ b/core/src/view/error404.htm
diff --git a/core/src/ffluci/view/error500.htm b/core/src/view/error500.htm
index 8af22e8f20..8af22e8f20 100644
--- a/core/src/ffluci/view/error500.htm
+++ b/core/src/view/error500.htm
diff --git a/core/src/ffluci/view/footer.htm b/core/src/view/footer.htm
index 67856771b4..67856771b4 100644
--- a/core/src/ffluci/view/footer.htm
+++ b/core/src/view/footer.htm
diff --git a/core/src/ffluci/view/header.htm b/core/src/view/header.htm
index bc65e3e891..bc65e3e891 100644
--- a/core/src/ffluci/view/header.htm
+++ b/core/src/view/header.htm