liquid_feedback_frontend

view app/main/index/about.lua @ 75:733f65c0c0a0

Bugfixes, feature enhancements, code-cleanup, and major work on API

Details:
- API
-- Allow relation name to be passed to helper function util.autoapi{...}
-- Added area API
-- Bugfixes in API
--- Correctly return initiatives (bug #162)
--- Correctly process "id" parameter for initiative API
--- Bugfix related to "state" parameter (bug #165)
--- Changed constant "discussion" to "accepted" (in model/issue.lua, used by API)
--- Fixed JSON encoding in auto_api (bug #181)
--- Ignore list filter "voted" in case of public access
--- Enable access to API without session
- Work on RSS feed (incomplete yet)
- Other bugfixes
-- Handle empty browser identification string
-- Handle invalid date in member/update.lua (bugs #24 #109 #115 #136)
-- Better handle errors while converting uploaded images. (bug #79 +5 duplicates)
-- Don't display revoked initiatives in list of new drafts (bug #134)
-- Fixed syntax error in app/main/member/_action/update_name.lua throwing unexpected error, when new name was too short
-- Do not display refresh support button for revoked initiatives
-- Repaired issue search (bug #150)
-- Fixed typos in german translation files
--- "initi(i)erte"
--- "Er(g)eignisse" (bug #161)
- Code cleanup
-- Removed deprecated motd files locale/motd/de.txt and locale/motd/de_public.txt
-- Removed redundant code in app/main/index/_updated_drafts.lua
- New features and (optical) enhancements
-- Support change of notify email; notification of not approved address added to start page
-- Settings dialog splitted into single pages
-- Mark deactivated members
-- Calendar for birthday selection in profile
-- Policy list public readable when public access is enabled
author bsw
date Thu Jul 08 18:44:02 2010 +0200 (2010-07-08)
parents 00d1004545f1
children 4ab5057840d0
line source
1 slot.put_into("title", encode.html(_"About LiquidFeedback"))
3 if app.session.member_id then
4 slot.select("actions", function()
5 ui.link{
6 module = "index",
7 view = "usage_terms",
8 content = function()
9 ui.image{ static = "icons/16/script.png" }
10 slot.put(_"Terms of use")
11 end
12 }
13 end)
14 end
17 slot.put("<br />")
18 ui.field.text{ attr = { style = "font-weight: bold;" }, value = "Diensteanbieter:" }
19 slot.put("<br />")
21 slot.put(config.app_service_provider)
23 slot.put("<br />")
24 slot.put("<br />")
25 slot.put("<br />")
28 ui.field.text{ attr = { style = "font-weight: bold;" }, value = "Dieser Dienst ist mit folgender Software realisiert worden:" }
29 slot.put("<br />")
31 local tmp = {
32 {
33 name = "LiquidFeedback Frontend",
34 url = "http://www.public-software-group.org/liquid_feedback",
35 version = config.app_version,
36 license = "MIT/X11",
37 license_url = "http://www.public-software-group.org/licenses"
38 },
39 {
40 name = "LiquidFeedback Core",
41 url = "http://www.public-software-group.org/liquid_feedback",
42 version = db:query("SELECT * from liquid_feedback_version;")[1].string,
43 license = "MIT/X11",
44 license_url = "http://www.public-software-group.org/licenses"
45 },
46 {
47 name = "WebMCP",
48 url = "http://www.public-software-group.org/webmcp",
49 version = _WEBMCP_VERSION,
50 license = "MIT/X11",
51 license_url = "http://www.public-software-group.org/licenses"
52 },
53 {
54 name = "Lua",
55 url = "http://www.lua.org",
56 version = _VERSION:gsub("Lua ", ""),
57 license = "MIT/X11",
58 license_url = "http://www.lua.org/license.html"
59 },
60 {
61 name = "PostgreSQL",
62 url = "http://www.postgresql.org/",
63 version = db:query("SELECT version();")[1].version:gsub("PostgreSQL ", ""):gsub("on.*", ""),
64 license = "BSD",
65 license_url = "http://www.postgresql.org/about/licence"
66 },
67 }
69 ui.list{
70 records = tmp,
71 columns = {
72 {
73 label = _"Software",
74 content = function(record)
75 ui.link{
76 content = record.name,
77 external = record.url
78 }
79 end
80 },
81 {
82 label = _"Version",
83 content = function(record) ui.field.text{ value = record.version } end
84 },
85 {
86 label = _"License",
87 content = function(record)
88 ui.link{
89 content = record.license,
90 external = record.license_url
91 }
92 end
94 }
95 }
96 }
98 slot.put("<br />")
99 slot.put("<br />")
100 slot.put("<br />")
102 ui.field.text{ attr = { style = "font-weight: bold;" }, value = "3rd party license information:" }
103 slot.put("<br />")
104 slot.put('The icons used in Liquid Feedback (except national flags) are from <a href="http://www.famfamfam.com/lab/icons/silk/">Silk icon set 1.3</a> by Mark James. His work is licensed under a <a href="http://creativecommons.org/licenses/by/2.5/">Creative Commons Attribution 2.5 License.</a>')

Impressum / About Us