liquid_feedback_frontend
diff app/main/member/_action/update_images.lua @ 52:88ac7798b562
Several bugfixes (getpic.c, accepted but canceled issues, ...); Listing of available policies
- Bugfixes in fastpath/getpic.c (related to crashes since alpha5)
- Respect Content-Types of images in database
(needs database update, as Content-Type was incorrectly stored by previous versions)
- Typo fixed in help messages
- RSS-Feed (currently only after manual authentication while session is valid)
- Listing of available policies
- German translation fixed: "gebe" -> "gib" (Imperativ)
- Bugfixes related to issues which had been accepted but canceled afterwards
- Prohibit creation of initiatives in disabled areas or with disabled policies
- Bugfixes in fastpath/getpic.c (related to crashes since alpha5)
- Respect Content-Types of images in database
(needs database update, as Content-Type was incorrectly stored by previous versions)
- Typo fixed in help messages
- RSS-Feed (currently only after manual authentication while session is valid)
- Listing of available policies
- German translation fixed: "gebe" -> "gib" (Imperativ)
- Bugfixes related to issues which had been accepted but canceled afterwards
- Prohibit creation of initiatives in disabled areas or with disabled policies
| author | bsw/jbe |
|---|---|
| date | Thu Apr 15 19:58:25 2010 +0200 (2010-04-15) |
| parents | 80c215dbf076 |
| children | 733f65c0c0a0 |
line diff
1.1 --- a/app/main/member/_action/update_images.lua Sun Apr 04 22:05:11 2010 +0200 1.2 +++ b/app/main/member/_action/update_images.lua Thu Apr 15 19:58:25 2010 +0200 1.3 @@ -31,6 +31,7 @@ 1.4 member_image.member_id = member_id 1.5 member_image.image_type = image_type 1.6 member_image.scaled = false 1.7 + member_image.content_type = cgi.post_types[image_type] or nil 1.8 member_image.data = "" 1.9 member_image:save() 1.10 end 1.11 @@ -40,7 +41,7 @@ 1.12 member_image_scaled.member_id = member_id 1.13 member_image_scaled.image_type = image_type 1.14 member_image_scaled.scaled = true 1.15 - member_image_scaled.content_type = true 1.16 + member_image_scaled.content_type = config.member_image_content_type 1.17 member_image_scaled.data = "" 1.18 member_image_scaled:save() 1.19 end