logilogi-svn Mailing List for LogiLogi - Software Libre for the Web (Page 2)
Status: Beta
Brought to you by:
wybow
You can subscribe to this list here.
| 2007 |
Jan
|
Feb
|
Mar
(7) |
Apr
(18) |
May
(59) |
Jun
(73) |
Jul
(31) |
Aug
(19) |
Sep
(18) |
Oct
(31) |
Nov
(9) |
Dec
(15) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2008 |
Jan
(30) |
Feb
(62) |
Mar
(70) |
Apr
(75) |
May
(139) |
Jun
(85) |
Jul
(28) |
Aug
(33) |
Sep
(145) |
Oct
(45) |
Nov
(76) |
Dec
(48) |
| 2009 |
Jan
(12) |
Feb
(39) |
Mar
(5) |
Apr
(6) |
May
(23) |
Jun
(44) |
Jul
(17) |
Aug
(15) |
Sep
(49) |
Oct
(28) |
Nov
(14) |
Dec
(6) |
| 2010 |
Jan
(22) |
Feb
(24) |
Mar
(14) |
Apr
(3) |
May
(2) |
Jun
(30) |
Jul
(9) |
Aug
(9) |
Sep
(10) |
Oct
(1) |
Nov
|
Dec
(1) |
| 2011 |
Jan
(2) |
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <wy...@us...> - 2010-07-30 18:00:58
|
Revision: 1759
http://logilogi.svn.sourceforge.net/logilogi/?rev=1759&view=rev
Author: wybow
Date: 2010-07-30 18:00:51 +0000 (Fri, 30 Jul 2010)
Log Message:
-----------
Messages remarks again, small fixes
Modified Paths:
--------------
trunk/app/controllers/remarks_controller.rb
trunk/app/models/annotation.rb
trunk/app/models/log_log_subscription.rb
trunk/app/models/remark.rb
trunk/config/locales/en.yml
Removed Paths:
-------------
trunk/app/views/remarks/edit.html.erb
Modified: trunk/app/controllers/remarks_controller.rb
===================================================================
--- trunk/app/controllers/remarks_controller.rb 2010-07-12 16:54:49 UTC (rev 1758)
+++ trunk/app/controllers/remarks_controller.rb 2010-07-30 18:00:51 UTC (rev 1759)
@@ -42,25 +42,6 @@
end
end
- def edit
- @remarks = @logi.remarks
- end
-
- def destroy
- # TODO fix/add removal of remarks
- if params[:deleted_inserts] and !params[:deleted_inserts].empty?
- params[:deleted_inserts].each do |remark_id|
- @logi.remarks.find(remark_id).destroy
- end
- flash[:notice] = "Successfully removed remarks"
- redirect_to logi_url(@logi.link)
- else
- flash[:warning] = "No remark selected"
- self.edit
- render :template => 'remarks/edit'
- end
- end
-
### Private methods
protected
Modified: trunk/app/models/annotation.rb
===================================================================
--- trunk/app/models/annotation.rb 2010-07-12 16:54:49 UTC (rev 1758)
+++ trunk/app/models/annotation.rb 2010-07-30 18:00:51 UTC (rev 1759)
@@ -86,7 +86,7 @@
# length
if GlobalConfig.done_with_basics?
if self.message.size > GlobalConfig.maximum_message_size
- self.errors.add(:message, t('defaults.error_message_too_long',
+ self.errors.add(:message, t('m.annotation.error_too_long',
:max => GlobalConfig.maximum_message_size))
end
end
Modified: trunk/app/models/log_log_subscription.rb
===================================================================
--- trunk/app/models/log_log_subscription.rb 2010-07-12 16:54:49 UTC (rev 1758)
+++ trunk/app/models/log_log_subscription.rb 2010-07-30 18:00:51 UTC (rev 1759)
@@ -11,13 +11,13 @@
# (doc/LICENSE contains the full text of the legally binding license).
#++#
-class LogLogSubscription # < ActiveResource::Base
-# if GlobalConfig.done_with_basics? and GlobalConfig.use_log_log
-# self.site = GlobalConfig.log_log_site
-# self.user = GlobalConfig.log_log_api_key
-# self.element_name = "message"
-# end
-
+class LogLogSubscription < ActiveRecord::Base
+ ### Relationships
+
+ belongs_to :user
+
+ ### Class-methods
+
def self.send_out_alerts(period)
sent_to = []
User.find_each do |user|
Modified: trunk/app/models/remark.rb
===================================================================
--- trunk/app/models/remark.rb 2010-07-12 16:54:49 UTC (rev 1758)
+++ trunk/app/models/remark.rb 2010-07-30 18:00:51 UTC (rev 1759)
@@ -62,7 +62,7 @@
# length
if GlobalConfig.done_with_basics?
if self.message.size > GlobalConfig.maximum_message_size
- self.errors.add(:message, t('defaults.error_message_too_long',
+ self.errors.add(:message, t('m.remark.error_too_long',
:max => GlobalConfig.maximum_message_size))
end
end
Deleted: trunk/app/views/remarks/edit.html.erb
===================================================================
--- trunk/app/views/remarks/edit.html.erb 2010-07-12 16:54:49 UTC (rev 1758)
+++ trunk/app/views/remarks/edit.html.erb 2010-07-30 18:00:51 UTC (rev 1759)
@@ -1,65 +0,0 @@
-<% form_for(:logi, @logi, :url => logi_remarks_url(@logi),
- :html => {:method => :delete, :id => "remove_form"}) do |form| %>
-
- <%= render :partial => 'logi_inserts/edit_bar_remove' %>
-
- <% render :layout => 'logi_inserts/remove_bar', :locals => {
- :selected => "remove_remarks", :logi => @logi} do %>
- <p> t 'v.remarks.count_remarks',
- :count => @remarks.size %></p>
- <% end %>
-
- <div class="main_column">
- <%= show_flash %>
- </div>
- <div class="spacer"></div>
-
- <div class="main_column">
- <% render :layout => 'application/panel' do %>
- <div class="min_height"></div>
- <label><%= _('defaults.list') %></label><br /><br />
- <% if @remarks.empty? %>
- <p class="one_line">
- <i><%= _('defaults.none') %></i>
- </p>
- <% else %>
- <ul id="available_list" class="remove_list">
- <% @remarks.order_by_created_at.each do |remark| %>
- <li id="r_<%= remark.id.to_s %>">
- <a href="javascript:logiInsertsRemove('<%= remark.id.to_s %>', 'delete', 'undo');">
- [ <span class="action">delete</span> <%= image_tag 'remove_cross.png' %> ]
- </a>
- <%= popover_listing(truncate(remark.message, :length => 35), :remark => remark) %> -
- <%= user_link(remark.user) %>
- </li>
- <% end %>
- </ul>
- <% end %>
- <% end %>
- </div>
-
- <div class="side_column">
- <% render :layout => 'application/wizzard_cloud_panel' do %>
- <h3><%= t 'v.remarks.which' %></h3>
- <p><%= t 'v.remarks.click_want_delete' %></p>
- <% end %>
- </div>
- <div class="spacer"></div>
-
- <div class="main_column">
- <%= render :partial => 'logi_inserts/deletion_list' %>
- </div>
-
- <div class="side_column">
- <% render :layout => 'application/wizzard_cloud_panel' do %>
- <h3><%= t 'v.remarks.are_sure' %></h3>
- <p><%= t 'v.remarks.indeed_remove' %></p>
- <% end %>
- </div>
- <div class="spacer"></div>
-
- <div class="main_column">
- <%= render :partial => 'application/submit', :locals => {
- :form => form, :cancel_url => logi_url(@logi)} %>
- </div>
-<% end %>
Modified: trunk/config/locales/en.yml
===================================================================
--- trunk/config/locales/en.yml 2010-07-12 16:54:49 UTC (rev 1758)
+++ trunk/config/locales/en.yml 2010-07-30 18:00:51 UTC (rev 1759)
@@ -3,7 +3,7 @@
activerecord:
attributes:
annotation:
- message: Message
+ message: Annotation
logi:
body: Body
selection: Selection
@@ -11,7 +11,7 @@
peer_group:
name: Name
remark:
- message: Message
+ message: Remark
user:
email: Email
name: Name
@@ -52,10 +52,10 @@
one: "1 error prohibited this {{model}} from being saved."
other: "{{count}} errors prohibited this {{model}} from being saved."
models:
- annotation: message
+ annotation: annotation
logi: logi
logi_version: "logi version"
- remark: message
+ remark: remark
user: user
user_session: "user session"
authlogic:
@@ -73,13 +73,13 @@
password_invalid: "is not valid."
c:
annotations:
- added: "Successfully added message."
- error_adding: "Problem adding message."
- error_select_text: "needs to be made in the logi at the location where the message should be attached and the message should not be empty."
- no_selected: "No message selected."
+ added: "Successfully added annotation."
+ error_adding: "Problem adding annotation."
+ error_select_text: "needs to be made in the logi at the location where the annotation should be attached and the annotation should not be empty."
+ no_selected: "No annotation selected."
page_name:
edit: Remove
- removed: "Successfully removed messages."
+ removed: "Successfully removed annotations."
application:
error_empty: "should not be empty if it is not a replying logi."
error_overlap_html: "should not overlap with html tags, like different styles or multiple lists."
@@ -308,7 +308,6 @@
error_bounds: "Score out of bounds -2, 5."
error_cannot_point: "cannot point to itself."
error_end_position_range_bigger: "End of PositionRange bigger than the logi:"
- error_message_too_long: "Message is too long (maximum is {{max}} characters)"
error_must_start: "must start with a capital letter."
error_should_contain: "should only contain alphanumerical symbols, spaces, underscores, dots and hyphens."
error_tag_invalid_string: "Invalid tag string."
@@ -375,11 +374,11 @@
path: Path
perma_link_label: "The following is the permalink of this logi. Hit Ctrl A followed by Ctrl C on your keyboard to copy to your clipboard:"
remove: "Detach from text"
- remove_annotations: Messages
+ remove_annotations: Annotations
remove_external_links: "External resources"
remove_links: Links
removing: "Currently detaching things from the text of a logi."
- removing_annotations: "Currently detaching and deleting messages."
+ removing_annotations: "Currently detaching and deleting annotations."
removing_external_links: "Currently detaching and deleting links to other sites."
removing_links: "Currently detaching and deleting links to tags or to logis."
search: Search
@@ -394,7 +393,8 @@
you: You
m:
annotation:
- html_tags_not_allowed: "html tags are not allowed inside messages."
+ html_tags_not_allowed: "html tags are not allowed inside annotations."
+ error_too_long: "Annotation is too long (maximum is {{max}} characters)"
const:
bad: bad
everyone_edit: "Everyone can edit"
@@ -458,8 +458,9 @@
error_no_power: "You have no voting-power in this peergroup."
error_vote_for_own: "You can't vote for own logis."
remark:
- html_tags_not_allowed: "html tags are not allowed inside messages."
- links_not_allowed: "links are not allowed inside messages."
+ html_tags_not_allowed: "html tags are not allowed inside remarks."
+ links_not_allowed: "links are not allowed inside remarks."
+ error_too_long: "Remark is too long (maximum is {{max}} characters)"
tag:
error_invalid_tags: "Invalid tags."
error_too_long: "The tag-string is too long."
@@ -523,15 +524,15 @@
pm: pm
v:
annotations:
- adding: "Adding message"
- annotation_label: "Message:"
- annotations: Messages
- click_crosses: "Click on the crosses of the messages you want to delete. This will move them to the deletion list."
+ adding: "Adding annotation"
+ annotation_label: "Annotation:"
+ annotations: Annotations
+ click_crosses: "Click on the crosses of the annotations you want to delete. This will move them to the deletion list."
count_annotations:
- one: "There is {{count}} message attached to the text of this logi."
- other: "There are {{count}} messages attached to the text of this logi."
- indeed_remove: "Check if these are indeed the messages you want to detach and delete. Then submit."
- which_annotations: "Which messages?"
+ one: "There is {{count}} annotation attached to the text of this logi."
+ other: "There are {{count}} annotations attached to the text of this logi."
+ indeed_remove: "Check if these are indeed the annotations you want to detach and delete. Then submit."
+ which_annotations: "Which annotations?"
application:
are_you_sure: "Are you sure?"
error: Error
@@ -640,13 +641,13 @@
no_matches: "No matches found..."
which_links: "Which links?"
logi_inserts:
- annotation: Message
- are_removing: "Links and messages you detach will also be deleted."
+ annotation: Annotation
+ are_removing: "Links and annotations you detach will also be deleted."
check_indeed: "Check if this is indeed the phrase or word to which you want to attach something."
deletion_list_label: "Deletion list:"
- everyone_can_insert: "You can attach messages and various types of links to a word or phrase in the text. Everyone can do this for all logis (not just authors)."
+ everyone_can_insert: "You can attach annotations and various types of links to a word or phrase in the text. Everyone can do this for all logis (not just authors)."
external_link: "External resource"
- insert_annotation: "Attach a message."
+ insert_annotation: "Attach an annotation."
insert_external_link: "Attach a link that points to a different site (outside of LogiLogi)."
insert_logi_link: "Attach a link that points to another logi."
insert_new_logi: "Attach a link that points to a newly created logi."
@@ -658,9 +659,9 @@
paste_perma_link: "Paste (Ctrl V) the perma-link of the logi that the link should point to."
perma_link_tab: "Specific logi"
right_text: "Is it the right phrase?"
- select_insert: "Select what you want to attach; a new logi, various types of links, or a message."
+ select_insert: "Select what you want to attach; a new logi, various types of links, or an annotation."
select_range: "Select the range of text to which you want it to be attached."
- select_remove: "Select what you want to detach; links to logis, external links, or messages."
+ select_remove: "Select what you want to detach; links to logis, external links, or annotations."
selected_label: "Selected phrase:"
submit_and_attach: "Submit & attach more"
tag_link_tab: Tags
@@ -684,7 +685,7 @@
tags: Tags
want_browsed: "Want your logi to be browsed to?"
logis:
- add_remark: "add message"
+ add_remark: "add remark"
add_tag: "Add tag"
add_word_or_tag: "Add word or tag"
are_positive:
@@ -708,11 +709,11 @@
one: "Has {{count}} reply."
other: "Has {{count}} replies."
comments_on:
- one: "Messages on {{count}} logi."
- other: "Messages on {{count}} logis."
+ one: "Replies to {{count}} logi."
+ other: "Replies to {{count}} logis."
comments_on_has:
- one: "Messages on {{on_count}}, has {{count}} reply."
- other: "Messages on {{on_count}}, has {{count}} replies."
+ one: "Replies to {{on_count}}, has {{count}} reply."
+ other: "Replies to {{on_count}}, has {{count}} replies."
count_comments:
one: "Logi has {{count}} reply."
other: "Logi has {{count}} replies."
@@ -770,8 +771,8 @@
recent_writings: "Recent writings"
recently_rated: "Recently positively rated"
related_tags_suggested: "Related tags suggested for browsing."
- remark_to_author: "Short message to author?"
- remarks: Messages
+ remark_to_author: "Short remark to author?"
+ remarks: Remarks
search_word_or_tag: "Search word or tag"
select_edit: "Select whether you want to edit the text, or the settings."
select_insert_remove: "Select whether you want to attach things to phrases in the text, or detach them from the text."
@@ -887,15 +888,9 @@
average_label: "Average rating:"
weight_label: "Rating weight:"
remarks:
- adding: "Adding message"
+ adding: "Adding remark"
are_sure: "Are you sure?"
- click_want_delete: "Click on the crosses of the messages you want to delete. This will move them to the deletion list."
- count_remarks:
- one: "There is {{count}} message attached to the text of this logi."
- other: "There are {{count}} messages attached to the text of this logi."
- indeed_remove: "Check if these are indeed the messages you want to detach and delete. Then submit."
- remark: Message
- which: "Which messages?"
+ remark: Remark
searches:
back_browse: "Back to search"
count_same_tags:
@@ -954,7 +949,7 @@
signup_openid: "Signup with an OpenID."
use_api: "You can use our API to remotely post and update logis."
with_openid: "With OpenID"
- your_rss_updated: "Your RSS-feed is updated whenever something happens related to your logis (messages, votes, updates, ...)."
+ your_rss_updated: "Your RSS-feed is updated whenever something happens related to your logis (annotations, votes, updates, ...)."
votes:
cant_vote_own: "You can't vote on your own logi."
no_voting_power: "You don't have any voting power in this peergroup."
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-07-12 16:54:55
|
Revision: 1758
http://logilogi.svn.sourceforge.net/logilogi/?rev=1758&view=rev
Author: wybow
Date: 2010-07-12 16:54:49 +0000 (Mon, 12 Jul 2010)
Log Message:
-----------
Set reply and remark boxes width in pixels
Modified Paths:
--------------
trunk/public/stylesheets/logilogi.css
Modified: trunk/public/stylesheets/logilogi.css
===================================================================
--- trunk/public/stylesheets/logilogi.css 2010-07-12 16:28:23 UTC (rev 1757)
+++ trunk/public/stylesheets/logilogi.css 2010-07-12 16:54:49 UTC (rev 1758)
@@ -1354,7 +1354,7 @@
#remarking textarea {
float: right;
height: 5em;
- width: 15em;
+ width: 205px;
margin-bottom: 1em;
}
#remarking input {
@@ -1374,7 +1374,7 @@
#fast_reply_area {
float: right;
height: 6em;
- width: 34em;
+ width: 453px;
margin-bottom: 1em;
color: #818181;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-07-12 16:28:30
|
Revision: 1757
http://logilogi.svn.sourceforge.net/logilogi/?rev=1757&view=rev
Author: wybow
Date: 2010-07-12 16:28:23 +0000 (Mon, 12 Jul 2010)
Log Message:
-----------
Added ESF link
Modified Paths:
--------------
trunk/app/views/layouts/_footer.html.erb
Added Paths:
-----------
trunk/public/images/esf.png
Modified: trunk/app/views/layouts/_footer.html.erb
===================================================================
--- trunk/app/views/layouts/_footer.html.erb 2010-07-12 16:17:08 UTC (rev 1756)
+++ trunk/app/views/layouts/_footer.html.erb 2010-07-12 16:28:23 UTC (rev 1757)
@@ -16,6 +16,7 @@
</div>
<%= link_to image_tag('logilogi_foundation.png', :size => "156x40"), "http://foundation.logilogi.org" %>
<%= link_to image_tag('university_of_groningen.png', :size => "156x40"), "http://www.rug.nl" %>
+ <%= link_to image_tag('esf.png', :size => "74x40"), "http://foundation.logilogi.org/2010/7/12/at-digital-humanities-2010" %>
<%= link_to image_tag('ofset.png', :size => "156x40"), "http://www.ofset.org" %>
<%= link_to image_tag('zylon.png', :size => "156x40"), "http://www.zylon.net" %>
</div>
Added: trunk/public/images/esf.png
===================================================================
(Binary files differ)
Property changes on: trunk/public/images/esf.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-07-12 16:17:17
|
Revision: 1756
http://logilogi.svn.sourceforge.net/logilogi/?rev=1756&view=rev
Author: wybow
Date: 2010-07-12 16:17:08 +0000 (Mon, 12 Jul 2010)
Log Message:
-----------
Added DH 2010 poster
Modified Paths:
--------------
docs/papers/DH2010/paper.bib
docs/papers/DH2010/paper.pdf
Added Paths:
-----------
docs/posters/
docs/posters/baposter.cls
docs/posters/header.tex
docs/posters/images/
docs/posters/images/ESFlogo.jpg
docs/posters/images/KCLlogo.jpg
docs/posters/images/LogiLogi-Browsing.png
docs/posters/images/LogiLogi-Logi-Blog.png
docs/posters/images/LogiLogi-Popover.png
docs/posters/images/LogiLogi-Rankings.png
docs/posters/images/LogiLogi-Screencast.png
docs/posters/images/logo.pdf
docs/posters/images/msrlogo.pdf
docs/posters/images/multi.png
docs/posters/images/multi.svg
docs/posters/images/reversed.png
docs/posters/images/reversed.svg
docs/posters/images/swan.png
docs/posters/images/swan.svg
docs/posters/poster.bib
docs/posters/poster.pdf
docs/posters/poster.tex
docs/ui-designs/spring2010/
docs/ui-designs/spring2010/Attach_Buttons.svg
docs/ui-designs/spring2010/Browsetags.svg
docs/ui-designs/spring2010/Claims.svg
docs/ui-designs/spring2010/ClaimsBrowse.svg
docs/ui-designs/spring2010/ClaimsForAgainst.svg
docs/ui-designs/spring2010/Mainpage.svg
Modified: docs/papers/DH2010/paper.bib
===================================================================
--- docs/papers/DH2010/paper.bib 2010-07-07 22:40:27 UTC (rev 1755)
+++ docs/papers/DH2010/paper.bib 2010-07-12 16:17:08 UTC (rev 1756)
@@ -1,4 +1,18 @@
+@misc{_10_????,
+ title = {10 Secrets of Successful Online Community},
+ url = {http://www.socialmediatoday.com/SMC/2348},
+},
+
+@inproceedings{andrews_conceptual_2001,
+ title = {A Conceptual Framework for Demographic Groups Resistant to Online Community Interaction},
+ booktitle = {Proceedings of the 34th Annual Hawaii International Conference on System Sciences ( {HICSS-34)-Volume} 7 - Volume 7},
+ publisher = {{IEEE} Computer Society},
+ author = {D. Andrews and J. Preece},
+ year = {2001},
+ pages = {7013}
+},
+
@article{abrahamsson_agile_2002,
title = {Agile Software Development Methods: Review and Analysis},
journal = {{VTT} Publications 478},
@@ -6,6 +20,15 @@
year = {2002}
},
+@inproceedings{lin_empirical_2007,
+ title = {An Empirical Study of {Web-Based} Knowledge Community Success},
+ booktitle = {Proceedings of the 40th Annual Hawaii International Conference on System Sciences},
+ publisher = {{IEEE} Computer Society},
+ author = {Hui Lin and Weiguo Fan and Linda Wallace and Zhongju Zhang},
+ year = {2007},
+ pages = {178c}
+},
+
@article{kolb_association_2005,
title = {Association and Argument: Hypertext in and around the Writing Process},
issn = {1361-4568},
@@ -16,6 +39,21 @@
pages = {7--26}
},
+@misc{_best_????,
+ title = {Best Practices: 10 Tips to Online Community Success - {destinationCRM.com}},
+ url = {http://www.destinationcrm.com/Articles/CRM-News/Daily-News/Best-Practices-10-Tips-to-Online-Community-Success-41884.aspx},
+},
+
+@misc{_characteristics_????,
+ title = {Characteristics of Successful Online Communities},
+ url = {http://www.idealware.org/articles/successful_communities.php},
+},
+
+@misc{_community_????,
+ title = {Community 2.0: The Recipe for a Successful Online Community: {ASP} Alliance},
+ url = {http://aspalliance.com/articleViewer.aspx?aId=1428&pId=-1},
+},
+
@article{wagner_creatingsuccessful_????,
title = {Creating a Successful Professional Virtual Community: A Sustainable Digital Ecosystem for Idea Sharing},
shorttitle = {Creating a Successful Professional Virtual Community},
@@ -28,7 +66,7 @@
booktitle = {2nd {IEEE} International Conference on Digital Ecosystems and Technologies, 2008. {DEST} 2008},
author = {P. Prasarnphanich and C. Wagner},
year = {2008},
- pages = {126--130}
+ pages = {126–130}
},
@article{ohear_critical_2004,
@@ -64,7 +102,7 @@
booktitle = {Eighth {IEEE} International Conference on Advanced Learning Technologies, 2008. {ICALT'08}},
author = {V. Kumar},
year = {2008},
- pages = {1009--1010}
+ pages = {1009–1010}
},
@misc{schachter_del.icio.us:tags_2010,
@@ -90,6 +128,20 @@
year = {2009}
},
+@misc{_five_????,
+ title = {Five rules for building a successful online community},
+ url = {http://www.ojr.org/ojr/stories/060831miller/},
+},
+
+@inproceedings{wagner_innovating_2007,
+ title = {Innovating Collaborative Content Creation: The Role of Altruism and Wiki Technology},
+ booktitle = {Proceedings of the 40th Annual Hawaii International Conference on System Sciences},
+ publisher = {{IEEE} Computer Society},
+ author = {Christian Wagner and Pattarawan Prasarnphanich},
+ year = {2007},
+ pages = {18}
+},
+
@article{baez_liquid_2009,
title = {Liquid Journals: Knowledge Dissemination in the Web Era},
journal = {{LiquidPub} Site},
@@ -102,7 +154,7 @@
booktitle = {Digital Humanities 2008 Book of Abstracts},
author = {W. Wiersma and B. Sarlo},
year = {2008},
- pages = {221--222}
+ pages = {221–222}
},
@inproceedings{wiersma_logilogi:_2008,
@@ -164,6 +216,34 @@
pages = {203--213}
},
+@article{preece_social_2003,
+ title = {Social Considerations in Online Communities: Usability, Sociability, and Success Factors},
+ shorttitle = {Social Considerations in Online Communities},
+ journal = {Cognition in a digital world},
+ author = {J. Preece},
+ year = {2003},
+ pages = {127}
+},
+
+@inproceedings{farzan_spreadinghoney:system_2009,
+ address = {Sanibel Island, Florida, {USA}},
+ title = {Spreading the honey: a system for maintaining an online community},
+ booktitle = {Proceedings of the {ACM} 2009 international conference on Supporting group work},
+ publisher = {{ACM}},
+ author = {Rosta Farzan and Joan M. {DiMicco} and Beth Brownholtz},
+ year = {2009},
+ pages = {31--40}
+},
+
+@inproceedings{leimeister_success_2004,
+ title = {Success factors of virtual communities from the perspective of members and operators: An empirical study},
+ volume = {7},
+ shorttitle = {Success factors of virtual communities from the perspective of members and operators},
+ booktitle = {Proceedings of the 37th Hawaii International Conference on System Sciences},
+ author = {J. M Leimeister and P. Sidiras and H. Krcmar},
+ year = {2004}
+},
+
@book{marwell_critical_2007,
edition = {1},
title = {The Critical Mass in Collective Action},
@@ -219,6 +299,11 @@
year = {2010},
},
+@misc{_when_????,
+ title = {When can online communities be declared a success? {\textbar} Community Building},
+ url = {http://www.communityspark.com/when-online-communities-successful/},
+},
+
@book{grafton_worlds_2009,
edition = {1},
title = {Worlds Made by Words: Scholarship and Community in the Modern West},
Modified: docs/papers/DH2010/paper.pdf
===================================================================
(Binary files differ)
Added: docs/posters/baposter.cls
===================================================================
--- docs/posters/baposter.cls (rev 0)
+++ docs/posters/baposter.cls 2010-07-12 16:17:08 UTC (rev 1756)
@@ -0,0 +1,837 @@
+%%
+%% This is file `baposter.cls'
+%%
+%% An relatively comfortable latex class to produce posters with a grid based
+%% layout. It comes with a number of combinable styles and is (maybe only for
+%% the writer) easy to extend, as all the graphics is based on pgf.
+%%
+%% It is meant to be used with pdftex, but might also work with pslatex if you
+%% are not interested in things like transparency.
+%%
+%% Copyright (C) 2007 Brian Amberg
+%%
+%% 10. June 2010 Added option to set the number of columns
+%% - added a class option to set the number of columns
+%% - columns=5: sets the number of columns to 5, possible values are 1..6, default is 3 in portrait and 4 in landscape format
+%% 29. April 2009 Incorporated Patches by Arne Henningsen
+%% - added some class options
+%% - a4shrink: shrink the paper to A4 size (for printing drafts or handouts)
+%% - movebody=Xpt: move the text/poster body Xpt to the right
+%% (or to the left if Xpt is negative),
+%% e.g. for manually centering the poster on the page
+%% - showframe: use the "showframe" option of the "geometry" package
+%% - a0paper (default): set paper size to A0
+%% - archE: set paper size to Arch E
+%% - setting "background" can be "none" now (otherwise the "showframe"
+%% option has no effect)
+%% - the page number has been removed (it was mostly not visible before)
+%% - the "margin=" option works now
+%% 04. December 2008
+%% - Mainly an update to the landscape example
+%% 14. November 2008
+%% - Actually center the title when eyecatcher is used.
+%% 04. November 2008
+%% - Fixed bug with eyecatcher not working.
+%% 26. June 2008
+%% - Fixed bug with plain background mode.
+%% 14. June 2008
+%% - Support for portrait/landscape switching.
+%% - Some smaller bugfixes.
+%% 01. June 2007
+%% - First version released.
+%%
+%% Use this class with pdflatex
+%%
+%% I have confirmed that this package works with
+%% - texlive 2007 and
+%% - miktex 2.7
+%%
+%% It does not seem to work with
+%% - miktex 2.2
+%% - some old versions of tetex
+%%
+%% Licence: GPL
+\ProvidesClass{baposter}[2010/06/10 v1.04 baposter class]
+\NeedsTeXFormat{LaTeX2e}[1995/06/01]
+\LoadClass{article}
+\typeout{baposter: Brian Amberg, 2007, 2008, 2009 | http://www.brian-amberg.de/uni/poster/}
+
+%% Define lengths only once on inclusion, such that we can make multiple posters
+\newlength{\baposter@basepaperwidth}
+\newlength{\baposter@basepaperheight}
+\newlength{\baposter@basemargin}
+\newlength{\headerheight}%
+\newlength{\colwidth}%
+\newlength{\colheight}%
+\newlength{\baposter@@colspacing}%
+\newlength{\boxstartx}%
+\newlength{\boxstarty}%
+\newlength{\boxwidth}%
+\newlength{\boxheight}%
+\newlength{\baposter@titleimage@left@width}%
+\newlength{\baposter@titleimage@right@width}%
+\newlength{\baposter@titleimage@textwidth}%
+\newbox\baposter@content%
+\newbox\baposter@titleimage@left%
+\newbox\baposter@titleimage@title%
+\newbox\baposter@titleimage@right%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Packages
+%-------------------------------------------------------------------------------
+% The only ``weird'' dependency of this package is pgf. All the rest should be
+% installed on any decent system.
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\typeout{Use Packages}
+\usepackage{xkeyval}
+\usepackage{calc}
+\usepackage[cmyk]{xcolor}
+\usepackage{tikz}
+\usepackage{pgf}
+\usepackage{ifthen}
+\usepackage[T1]{fontenc}
+
+\usetikzlibrary{snakes}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Settings
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% TODO: Add package options
+\typeout{Setup}
+
+% Choose a smaller value for larger fonts
+\newcommand{\baposter@fontscale}{0.292}
+% Landscape versus portrait
+\newcommand{\baposter@format}{}
+% default paper size
+\newcommand{\baposter@papersize}{a0paper}
+% use the ``showframe'' option of the ``geometry'' package?
+\newcommand{\baposter@showframe}{false}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Zoom
+%-------------------------------------------------------------------------------
+% We scale the page from fontscale * a0 up to a0
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\typeout{Zoom}
+
+\DeclareOption{landscape}{\renewcommand{\baposter@format}{landscape}}
+\DeclareOption{portrait}{\renewcommand{\baposter@format}{}}
+\DeclareOption{archE}{\renewcommand{\baposter@papersize}{archE}}
+\DeclareOption{a0paper}{\renewcommand{\baposter@papersize}{a0paper}}
+\DeclareOption{a4shrink}{\newcommand{\baposter@finalpapersize}{a4paper}}
+\DeclareOption{showframe}{\renewcommand{\baposter@showframe}{true}}
+\ProcessOptions
+
+\ifthenelse{\equal{\baposter@papersize}{archE}}{
+ \setlength{\baposter@basepaperwidth} {91.44cm}
+ \setlength{\baposter@basepaperheight}{121.92cm}
+ \setlength{\baposter@basemargin}{1.5cm}
+}{
+ \setlength{\baposter@basepaperwidth} {83.96cm}
+ \setlength{\baposter@basepaperheight}{118.82cm}
+ \setlength{\baposter@basemargin}{1.5cm}
+}
+\ifthenelse{\equal{\baposter@format}{landscape}}{
+ \setlength{\baposter@basepaperwidth} {118.82cm}
+ \setlength{\baposter@basepaperheight}{83.96cm}
+ \setlength{\baposter@basemargin}{1.5cm}
+}{
+ \setlength{\baposter@basepaperwidth} {83.96cm}
+ \setlength{\baposter@basepaperheight}{118.82cm}
+ \setlength{\baposter@basemargin}{1.5cm}
+}
+
+\DeclareOptionX{fontscale}[0.292]{\renewcommand{\baposter@fontscale}{#1}}
+\DeclareOptionX{margin} [1.5cm] {\setlength{\baposter@basemargin}{#1}}
+% move text/poster body to the right (or to the left if negative)
+\newlength{\baposter@movebody}
+\setlength{\baposter@movebody}{0cm}
+\DeclareOptionX{movebody}[0cm]{\setlength{\baposter@movebody}{#1}}
+\ProcessOptionsX
+
+\setlength{\baposter@basepaperwidth} {\baposter@fontscale\baposter@basepaperwidth }
+\setlength{\baposter@basepaperheight}{\baposter@fontscale\baposter@basepaperheight}
+\setlength{\baposter@basemargin} {\baposter@fontscale\baposter@basemargin}
+\newlength{\baposter@basemarginright}
+\setlength{\baposter@basemarginright}{\baposter@basemargin}
+\addtolength{\baposter@basemarginright}{-\baposter@fontscale\baposter@movebody}
+\newlength{\baposter@basemarginleft}
+\setlength{\baposter@basemarginleft}{\baposter@basemargin}
+\addtolength{\baposter@basemarginleft}{\baposter@fontscale\baposter@movebody}
+
+\usepackage[
+ paperwidth=\baposter@basepaperwidth,
+ paperheight=\baposter@basepaperheight,
+ tmargin=\baposter@basemargin,
+ bmargin=\baposter@basemargin,
+ lmargin=\baposter@basemarginleft,
+ rmargin=\baposter@basemarginright,
+ showframe=\baposter@showframe]{geometry}
+
+\ifthenelse{ \isundefined\baposter@finalpapersize }{
+ \newcommand{\baposter@finalpapersize}{\baposter@papersize}}{}
+
+\usepackage{pgfpages}
+\define@key{pgfpagesuselayoutoption}{archE}[]%
+ {\def\pgfpageoptionheight{121.92cm} \def\pgfpageoptionwidth{91.44cm}}
+\pgfpagesuselayout{resize to}[\baposter@finalpapersize,\baposter@format]
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% New Version, with specified size
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% TODO: Use choose-keys
+\typeout{Keys}
+\define@cmdkey[ba]{poster}[baposter@]{grid} [no] {}
+\define@cmdkey[ba]{poster}[baposter@]{eyecatcher} [yes] {}
+\define@cmdkey[ba]{poster}[baposter@]{columns} [{}] {}
+\define@cmdkey[ba]{poster}[baposter@]{textborder} [faded] {}
+\define@cmdkey[ba]{poster}[baposter@]{headerborder} [none] {}
+\define@cmdkey[ba]{poster}[baposter@]{headershape} [roundedright]{}
+\define@cmdkey[ba]{poster}[baposter@]{colspacing} [1em] {}
+\define@cmdkey[ba]{poster}[baposter@]{headerheight} [0.1\textheight]{}
+\define@cmdkey[ba]{poster}[baposter@]{headershade} [shade-lr] {}
+\define@cmdkey[ba]{poster}[baposter@]{boxshade} [none] {}
+
+\definecolor{baposter@silver}{cmyk}{0,0,0,0.7}
+\define@cmdkey[ba]{poster}[baposter@]{color} [orange] {}
+\define@cmdkey[ba]{poster}[baposter@]{colortwo} [white] {}
+\define@cmdkey[ba]{poster}[baposter@]{bgColorOne} [baposter@silver]{}
+\define@cmdkey[ba]{poster}[baposter@]{bgColorTwo} [green] {}
+\define@cmdkey[ba]{poster}[baposter@]{borderColor} [yellow] {}
+\define@cmdkey[ba]{poster}[baposter@]{headerColorOne} [red] {}
+\define@cmdkey[ba]{poster}[baposter@]{headerColorTwo} [brown] {}
+\define@cmdkey[ba]{poster}[baposter@]{headerFontColor} [black] {}
+\define@cmdkey[ba]{poster}[baposter@]{boxColorOne} [magenta] {}
+\define@cmdkey[ba]{poster}[baposter@]{boxColorTwo} [cyan] {}
+
+\define@cmdkey[ba]{poster}[baposter@]{background} [plain] {}
+\define@cmdkey[ba]{poster}[baposter@]{headerfont} [\sc\Large] {}
+\define@cmdkey[ba]{poster}[baposter@]{textfont} [{}] {}
+
+\define@cmdkey[ba]{poster}[baposter@]{linewidth} [2pt] {}
+
+\define@cmdkey[ba]{posterbox}[baposter@box@]{below} [notset]{}
+\define@cmdkey[ba]{posterbox}[baposter@box@]{above} [notset]{}
+\define@cmdkey[ba]{posterbox}[baposter@box@]{aligned}[notset]{}
+\define@cmdkey[ba]{posterbox}[baposter@box@]{bottomaligned}[notset]{}
+\define@cmdkey[ba]{posterbox}[baposter@box@]{column} [0] {}
+\define@cmdkey[ba]{posterbox}[baposter@box@]{row} [0] {}
+\define@cmdkey[ba]{posterbox}[baposter@box@]{span} [1] {}
+\define@cmdkey[ba]{posterbox}[baposter@box@]{height} [auto] {}
+\define@cmdkey[ba]{posterbox}[baposter@box@]{name} [noname]{}
+
+\newcommand{\baposter@backgroundCmd}{\error{No background command defined. Use \background{...} to define background}}
+\newcommand{\background}[1]{\renewcommand{\baposter@backgroundCmd}{#1}}
+
+\presetkeys[ba]{poster}{
+ % Debug grid
+ grid=no,
+ % Is there an eyecatcher image
+ eyecatcher=yes,
+ columns={},
+ % Colours
+ bgColorOne=baposter@silver,
+ bgColorTwo=green,
+ borderColor=yellow,
+ headerColorOne=red,
+ headerColorTwo=brown,
+ headerFontColor=black,
+ boxColorOne=magenta,
+ boxColorTwo=cyan,
+ % Style
+ headerborder=none,
+ colspacing=1em,
+ headerheight=0.1\textheight,
+ background=shade-lr,
+ headershade=shade-lr,
+ boxshade=none,
+ headerfont=\sc\Large,% or headerfont=\color{white}\textsf\textbf
+ textfont={},
+ linewidth=2pt
+}{}
+\presetkeys[ba]{posterbox}{
+ % Position
+ column=0,row=0,span=1,
+ below=notset,above=notset,
+ bottomaligned=notset,
+ aligned=notset,
+ height=auto,
+ % Name
+ name=noname,
+}{}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% The main poster environment
+%%% \begin{baposter}{settings}{Eye Catcher}{Title}{Author}{University Logo}
+%%%-----------------------------------------------------------------------------
+%%% The settings are
+%%% - grid=yes,[no]: Show grid to help with alignment
+%%% - colspacing=0.7em: Column spacing
+%%% - columns=4: number of columns (default 4 in landscape and 3 in portrait format) (maximum number is 6)
+%%% - color=[orange]: xcolor color definition used as the main color of the poster
+%%% - colortwo=[white]: The other color for gradient based layouts
+%%% - textborder=none,bars,coils,triangles,rectangle,rounded,small-rounded,roundedleft,roundedright,[faded]
+%%% The style of the box around the text area
+%%% - headerborder=none,closed,open
+%%% No extra border around box header, full border around box header or border that is open below.
+%%% - headershape=rectangle,rounded,roundedleft,roundedright
+%%% Shape of the box-header region
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newenvironment{poster}[5]{%
+ \typeout{Poster Starts}%
+ \setkeys[ba]{poster}{#1}%
+%
+ % Parse Keys%
+ \colorlet{bgColorOne}{\baposter@bgColorOne}
+ \colorlet{bgColorTwo}{\baposter@bgColorTwo}
+ \colorlet{borderColor}{\baposter@borderColor}
+ \colorlet{headerColorOne}{\baposter@headerColorOne}
+ \colorlet{headerColorTwo}{\baposter@headerColorTwo}
+ \colorlet{headerFontColor}{\baposter@headerFontColor}
+ \colorlet{boxColorOne}{\baposter@boxColorOne}
+ \colorlet{boxColorTwo}{\baposter@boxColorTwo}
+%
+ %% Boxes%
+ \setlength{\headerheight}{\baposter@headerheight}%
+ \setlength{\colheight}{\textheight-\baposter@headerheight}%
+%
+ \typeout{Format}%
+ \ifthenelse{\equal{\baposter@format}{landscape}}{%
+ \ifthenelse{\equal{\baposter@columns}{}}{\renewcommand{\baposter@columns}{4}}{}
+ }{%
+ \ifthenelse{\equal{\baposter@columns}{}}{\renewcommand{\baposter@columns}{3}}{}
+ }%
+%
+ \typeout{Columns: \baposter@columns}%
+ \setlength{\baposter@@colspacing}{\baposter@colspacing}%
+ \typeout{1}%
+ \setlength{\colwidth}{\textwidth}%
+ \typeout{2}%
+ \addtolength{\colwidth}{-\baposter@columns\baposter@@colspacing}\addtolength{\colwidth}{\baposter@@colspacing}%
+ \typeout{3}%
+ \ifthenelse{\equal{\baposter@columns}{1}}{
+ \setlength{\colwidth}{\colwidth}%
+ }{
+ \ifthenelse{\equal{\baposter@columns}{2}}{
+ \setlength{\colwidth}{0.5\colwidth}%
+ }{
+ \ifthenelse{\equal{\baposter@columns}{3}}{
+ \setlength{\colwidth}{0.3333333333333\colwidth}%
+ }{
+ \ifthenelse{\equal{\baposter@columns}{4}}{
+ \setlength{\colwidth}{0.25\colwidth}%
+ }{
+ \ifthenelse{\equal{\baposter@columns}{5}}{
+ \setlength{\colwidth}{0.2\colwidth}%
+ }{
+ \ifthenelse{\equal{\baposter@columns}{6}}{
+ \setlength{\colwidth}{0.16666666666\colwidth}%
+ }{
+ \error{You do not want so many columns}
+ }
+ }
+ }
+ }
+ }
+ }
+%
+ % Background image%
+ \newcommand{\baposterShadedBG}{%
+ \ifthenelse{\equal{\baposter@background}{shade-lr}}{%
+ \begin{tikzpicture}[remember picture,overlay]%
+ \shade [shading=axis,right color=bgColorOne,left color=bgColorTwo] (current page.north west) rectangle(current page.south east);
+ \typeout{BAPOSTER: Using shade left right background.}
+ \end{tikzpicture}%
+ }{%
+ \ifthenelse{\equal{\baposter@background}{shade-tb}}{%
+ \typeout{BAPOSTER: Using shade top to bottom background.}
+ \begin{tikzpicture}[remember picture,overlay]%
+ \shade [shading=axis,top color=bgColorOne,bottom color=bgColorTwo] (current page.north west) rectangle(current page.south east);
+ \end{tikzpicture}%
+ }{%
+ \ifthenelse{\equal{\baposter@background}{plain}}{%
+ \typeout{BAPOSTER: Using plain background.}
+ \begin{tikzpicture}[remember picture,overlay]%
+ \fill [fill=bgColorOne] (current page.north west) rectangle(current page.south east);
+ \end{tikzpicture}%
+ }{%
+ \ifthenelse{\equal{\baposter@background}{user}}{%
+ \typeout{BAPOSTER: Using user background.}
+ \baposter@backgroundCmd%
+ }{%
+ \ifthenelse{\equal{\baposter@background}{none}}{%
+ \typeout{BAPOSTER: Using no background.}
+ }{%
+ \error{Unknown background, use shade-lr, shade-tb, plain, none, or user. If user is used, you also have to define \background{...} }%
+ }%
+ }%
+ }%
+ }%
+ }%
+ }%
+%
+ \newcommand{\baposter@reference}{north west}%
+%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ % A box with a header and some content. The basic unit of the poster%
+ %---------------------------------------------------------------------------%
+ % Each box has a name and can be placed absolutely or relatively.%
+ % The only inconvenience is that you can only specify a relative position %
+ % towards an already declared box. So if you have a box attached to the %
+ % bottom, one to the top and a third one which should be inbetween, you %
+ % have to specify the top and bottom boxes before you specify the middle %
+ % box.%
+ %%
+ % below= name of other node%
+ % above= name of other node%
+ % aligned=name of other node%
+ % bottomaligned=name of other node%
+ % column= [0] %
+ % row= [0] %
+ % span= [1] %
+ % height= <size in percent of column height>,[auto]%
+ % name= [noname]%
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ \newcommand{\headerbox}[3]{%
+ \typeout{##2}%
+ \setkeys[ba]{posterbox}{##2}%
+%
+%
+ %% The columns is always given absolute
+ % boxstartx = \baposter@box@column * colwidth + (\baposter@box@column-1) * baposter@@colspacing
+ \setlength{\boxstartx}{\baposter@box@column\colwidth}%
+ \addtolength{\boxstartx}{\baposter@box@column\baposter@@colspacing}%
+%
+ %% The width is gvien absolute
+ % Box Width = \baposter@box@span * colwidth + (\baposter@box@span-1) * baposter@@colspacing
+ \setlength{\boxwidth}{\baposter@box@span\colwidth} %
+ \addtolength{\boxwidth}{\baposter@box@span\baposter@@colspacing}%
+ \addtolength{\boxwidth}{-\baposter@@colspacing}%
+%
+ %% Measure the content of the box%
+ \setbox\baposter@content=\hbox{%
+ \begin{pgfinterruptpicture}%
+ \hspace{0.2em}\begin{minipage}[t]{\boxwidth-2em}%
+ \vspace{0.2em}
+ \baposter@textfont{##3}%
+ \end{minipage}%
+ \end{pgfinterruptpicture}%
+ }%
+ \setlength{\boxheight}{\ht\baposter@content}\addtolength{\boxheight}{\dp\baposter@content}%
+ \addtolength{\boxheight}{2em} % Header%
+ \addtolength{\boxheight}{1em} % Inner Sep%
+%
+ \ifthenelse{\equal{\baposter@box@height}{bottom}}{%
+ }{\ifthenelse{\equal{\baposter@box@height}{auto}}{%
+ }{ % Neither auto nor bottom%
+ \setlength{\boxheight}{\baposter@box@height\colheight}%
+ }}%
+%
+ %% Determine the box position%
+ \typeout{Setting Coordinates}%
+ \typeout{Upper Right}%
+ \typeout{\baposter@box@name}%
+%
+ %%% Upper Right Corner%
+ \ifthenelse{\not\equal{\baposter@box@below}{notset} }{%
+ %% Below%
+ \typeout{Below}%
+ \path[shape=coordinate] (\boxstartx,0pt |- \baposter@box@below se) ++(0pt,-\baposter@@colspacing) coordinate(\baposter@box@name nw);%
+ }{%
+ \ifthenelse{\not\equal{\baposter@box@aligned}{notset} }{%
+ %% Aligned%
+ \typeout{Aligned: \baposter@box@aligned}%
+ \path[shape=coordinate] (\boxstartx,0pt |- \baposter@box@aligned nw) coordinate(\baposter@box@name nw);%
+ }{%
+ %% Fixed%
+ \typeout{Fixed}%
+ \setlength{\boxstarty}{\baposter@box@row\colheight}%
+ \path[shape=coordinate] (\boxstartx,\colheight-\boxstarty) coordinate(\baposter@box@name nw);%
+ }}%
+%
+ %% Lower Left Corner%
+ \typeout{Lower Left}%
+ \ifthenelse{\equal{\baposter@box@above}{bottom}}{%
+ %% Above = Bottom%
+ \typeout{Above bottom}%
+ \ifthenelse{\equal{\baposter@box@below}{notset} \and \equal{\baposter@box@aligned}{notset}}{%
+ \path[shape=coordinate] (\boxstartx,\boxheight) coordinate(\baposter@box@name nw);%
+ }{}%
+ \path[shape=coordinate] (\boxstartx+\boxwidth,0pt) coordinate(\baposter@box@name se);%
+ }{\ifthenelse{\not \equal{\baposter@box@bottomaligned}{notset}}{%
+ \path[shape=coordinate] (\boxstartx+\boxwidth,0pt |- \baposter@box@bottomaligned se) coordinate(\baposter@box@name se);%
+ }{{\ifthenelse{\not \equal{\baposter@box@above}{notset}}{%
+ %% Above = Node%
+ \path[shape=coordinate] (\boxstartx+\boxwidth,0pt |- \baposter@box@above nw) +(0pt,\baposter@@colspacing) coordinate(\baposter@box@name se);%
+ }{%
+ %% Above = notset%
+ \typeout{Above=not set}%
+ \ifthenelse{\equal{\baposter@box@height}{bottom}}{%
+ %% height=bottom%
+ \typeout{height=bottom}%
+ \path[shape=coordinate] (\boxstartx+\boxwidth,0pt) coordinate(\baposter@box@name se);%
+ }{ %% height=auto or fixed%
+ \typeout{height=auto or fixed}%
+ \path[shape=coordinate] (\baposter@box@name nw) ++(\boxwidth,-\boxheight) coordinate(\baposter@box@name se);%
+ }}}}}%
+%
+ %
+ % Set coordinates relative to nw,se%
+ \typeout{Fixing Coordinates}%
+ \path[shape=coordinate]%
+ (\baposter@box@name nw) +(0pt,-2em) coordinate(\baposter@box@name tnw)%
+ (\baposter@box@name nw |- \baposter@box@name se) coordinate(\baposter@box@name sw)%
+ (\baposter@box@name se |- \baposter@box@name nw) coordinate(\baposter@box@name ne)%
+ (\baposter@box@name ne) +(0pt,-2em) coordinate(\baposter@box@name tne)%
+%
+ (\baposter@box@name nw) +(-0.025em,0pt) coordinate(\baposter@box@name outer nw)%
+ (\baposter@box@name tnw) +(-0.025em,0pt) coordinate(\baposter@box@name outer tnw)%
+ (\baposter@box@name sw) +(-0.025em,0pt) coordinate(\baposter@box@name outer sw)%
+%
+ (\baposter@box@name ne) +( 0.025em,0pt) coordinate(\baposter@box@name outer ne)%
+ (\baposter@box@name tne) +( 0.025em,0pt) coordinate(\baposter@box@name outer tne)%
+ (\baposter@box@name se) +( 0.025em,0pt) coordinate(\baposter@box@name outer se);%
+%
+ \ifthenelse{\equal{\baposter@headershade}{shade-lr}}{%
+ \typeout{Header-Shade: Shade Left - Right}
+ \tikzstyle{header colors}=[%
+ color=borderColor,%
+ shading=axis,%
+ left color=headerColorOne,%
+ right color=headerColorTwo%
+ ]%
+ }{\ifthenelse{\equal{\baposter@headershade}{shade-tb}}{%
+ \typeout{Header-Shade: Shade Top - Bottom}
+ \tikzstyle{header colors}=[%
+ color=borderColor,%
+ shading=axis,%
+ top color=headerColorOne,%
+ bottom color=headerColorTwo%
+ ]%
+ }{\ifthenelse{\equal{\baposter@headershade}{shade-tb-inverse}}{%
+ \tikzstyle{header colors}=[%
+ top color=headerColorOne!75!headerColorTwo,%
+ bottom color=headerColorTwo!100!headerColorOne,%
+ shading angle=20%
+ ]%
+ \colorlet{baposterHeaderFontColor}{white}%
+ }{\ifthenelse{\equal{\baposter@headershade}{plain}}{%
+ \typeout{Header-Shade: Plain}
+ \tikzstyle{header colors}=[%
+ color=borderColor,%
+ fill=headerColorOne%
+ ]%
+ }{%
+ \typeout{Header-Shade: Unknown Style: \baposter@headershade}
+ \PackageError{baposter.cls}{Unknown header shade style \baposter@headershade}{Edit your file to choose a valid option}{}%
+ }}}}%
+ \typeout{Box-Shade: \baposter@boxshade}
+ \ifthenelse{\equal{\baposter@boxshade}{shade-lr}}{%
+ \tikzstyle{box colors}=[%
+ shading=axis,%
+ left color=boxColorOne,%
+ right color=boxColorTwo%
+ ]%
+ }{%
+ \ifthenelse{\equal{\baposter@boxshade}{shade-tb}}{%
+ \tikzstyle{box colors}=[%
+ shading=axis,%
+ top color=boxColorOne,%
+ bottom color=boxColorTwo%
+ ]%
+ }{%
+ \ifthenelse{\equal{\baposter@boxshade}{plain}}{%
+ \tikzstyle{box colors}=[%
+ fill=boxColorOne%
+ ]%
+ }{%
+ \ifthenelse{\equal{\baposter@boxshade}{none}}{%
+ \tikzstyle{box colors}=[]%
+ }{%
+ \PackageError{baposter.cls}{Unknown box shade style \baposter@boxshade}{Edit your file to choose a valid option}{}%
+ }%
+ }%
+ }%
+ }%
+ \tikzstyle{rc}=[rounded corners=1em];%
+ \tikzstyle{src}=[rounded corners=0.5em];%
+%
+ \begin{scope}[line width=\baposter@linewidth]
+ \typeout{Header}%
+ \typeout{Header-Shape: \baposter@headershape}%
+ %% Header%
+ \ifthenelse {\equal{\baposter@headershape}{rectangle}} {%
+ %%%
+ \ifthenelse{\equal{\baposter@headerborder}{open}}{%
+ \ifthenelse{\equal{\baposter@headershade}{plain}}{
+ \filldraw [style=header colors] (\baposter@box@name tnw) -- (\baposter@box@name nw) -- (\baposter@box@name ne) -- (\baposter@box@name tne);%
+ }{
+ \shadedraw [style=header colors] (\baposter@box@name tnw) -- (\baposter@box@name nw) -- (\baposter@box@name ne) -- (\baposter@box@name tne);%
+ }
+ }{\ifthenelse{\equal{\baposter@headerborder}{closed}}{%
+ \ifthenelse{\equal{\baposter@headershade}{plain}}{
+ \filldraw [style=header colors] (\baposter@box@name tnw) -- (\baposter@box@name nw) -- (\baposter@box@name ne) -- (\baposter@box@name tne) -- cycle;%
+ }{
+ \shadedraw [style=header colors] (\baposter@box@name tnw) -- (\baposter@box@name nw) -- (\baposter@box@name ne) -- (\baposter@box@name tne) -- cycle;%
+ }
+ }{\ifthenelse{\equal{\baposter@headerborder}{none}}{%
+ \ifthenelse{\equal{\baposter@headershade}{plain}}{
+ \fill [style=header colors] (\baposter@box@name outer tnw) -- (\baposter@box@name outer nw) -- (\baposter@box@name outer ne) -- (\baposter@box@name outer tne) -- cycle;%
+ }{
+ \shade [style=header colors] (\baposter@box@name outer tnw) -- (\baposter@box@name outer nw) -- (\baposter@box@name outer ne) -- (\baposter@box@name outer tne) -- cycle;%
+ }
+ }{\PackageError{baposter.cls}{Unknown header border \baposter@headerborder}{Edit your file to choose a valid option}}}}{}%
+ \path (\baposter@box@name nw) +(0em,-1em) node[anchor=west,inner sep=0.4em] {\color{headerFontColor}\baposter@headerfont{##1}};%
+ %%%
+ }{\ifthenelse{\equal{\baposter@headershape}{small-rounded}} {%
+ %%%
+ \ifthenelse{\equal{\baposter@headerborder}{open}}{%
+ \ifthenelse{\equal{\baposter@headershade}{plain}}{
+ \filldraw [style=header colors] (\baposter@box@name tnw) {[rc] -- (\baposter@box@name nw) -- (\baposter@box@name ne) } -- (\baposter@box@name tne);%
+ }{
+ \shadedraw [style=header colors] (\baposter@box@name tnw) {[rc] -- (\baposter@box@name nw) -- (\baposter@box@name ne) } -- (\baposter@box@name tne);%
+ }
+ }{\ifthenelse{\equal{\baposter@headerborder}{closed}}{%
+ \ifthenelse{\equal{\baposter@headershade}{plain}}{
+ \filledraw [style=header colors] (\baposter@box@name tnw) {[rc] -- (\baposter@box@name nw) -- (\baposter@box@name ne) } -- (\baposter@box@name tne) -- cycle;%
+ }{
+ \shadedraw [style=header colors] (\baposter@box@name tnw) {[rc] -- (\baposter@box@name nw) -- (\baposter@box@name ne) } -- (\baposter@box@name tne) -- cycle;%
+ }
+ }{\ifthenelse{\equal{\baposter@headerborder}{none}}{%
+ \ifthenelse{\equal{\baposter@headershade}{plain}}{
+ \fill [style=header colors] (\baposter@box@name outer tnw) {[rc] -- (\baposter@box@name outer nw) -- (\baposter@box@name outer ne)} -- (\baposter@box@name outer tne) -- cycle;%
+ }{
+ \shade [style=header colors] (\baposter@box@name outer tnw) {[rc] -- (\baposter@box@name outer nw) -- (\baposter@box@name outer ne)} -- (\baposter@box@name outer tne) -- cycle;%
+ }
+ }{\PackageError{baposter.cls}{Unknown header border \baposter@headerborder}{Edit your file to choose a valid option}}}}{}%
+ \path (\baposter@box@name nw) +(0.5\boxwidth,-1em) node[anchor=center] {\color{headerFontColor}\baposter@headerfont{##1}};%
+ %%%
+ }{\ifthenelse{\equal{\baposter@headershape}{roundedright}}{%
+ %%%
+ \ifthenelse{\equal{\baposter@headerborder}{open}}{%
+ \ifthenelse{\equal{\baposter@headershade}{plain}}{
+ \filldraw [style=header colors] (\baposter@box@name tnw) -- (\baposter@box@name nw) {[rc] -- (\baposter@box@name ne) } -- (\baposter@box@name tne);%
+ }{
+ \shadedraw [style=header colors] (\baposter@box@name tnw) -- (\baposter@box@name nw) {[rc] -- (\baposter@box@name ne) } -- (\baposter@box@name tne);%
+ }
+ }{\ifthenelse{\equal{\baposter@headerborder}{closed}}{%
+ \ifthenelse{\equal{\baposter@headershade}{plain}}{
+ \filldraw [style=header colors] (\baposter@box@name tnw) -- (\baposter@box@name nw) {[rc] -- (\baposter@box@name ne) } -- (\baposter@box@name tne) -- cycle;%
+ }{
+ \shadedraw [style=header colors] (\baposter@box@name tnw) -- (\baposter@box@name nw) {[rc] -- (\baposter@box@name ne) } -- (\baposter@box@name tne) -- cycle;%
+ }
+ }{\ifthenelse{\equal{\baposter@headerborder}{none}}{%
+ \ifthenelse{\equal{\baposter@headershade}{plain}}{
+ \fill [style=header colors] (\baposter@box@name outer tnw) -- (\baposter@box@name outer nw) {[rc] -- (\baposter@box@name outer ne)} -- (\baposter@box@name outer tne) -- cycle;%
+ }{
+ \shade [style=header colors] (\baposter@box@name outer tnw) -- (\baposter@box@name outer nw) {[rc] -- (\baposter@box@name outer ne)} -- (\baposter@box@name outer tne) -- cycle;%
+ }
+ }{\PackageError{baposter.cls}{Unknown header border \baposter@headerborder}{Edit your file to choose a valid option}}}}{}%
+ \path (\baposter@box@name nw) +(0em,-1em) node[anchor=west,inner sep=0.4em,text depth=0.0em] {\color{headerFontColor}\baposter@headerfont{##1}};%
+ %%%
+ }{\ifthenelse{\equal{\baposter@headershape}{roundedleft}}{%
+ %%%
+ \ifthenelse{\equal{\baposter@headerborder}{open}}{%
+ \ifthenelse{\equal{\baposter@headershade}{plain}}{
+ \filldraw [style=header colors,color=borderColor] (\baposter@box@name tnw) {[rc]-- (\baposter@box@name nw) } -- (\baposter@box@name ne) -- (\baposter@box@name tne);%
+ }{
+ \shadedraw [style=header colors,color=borderColor] (\baposter@box@name tnw) {[rc]-- (\baposter@box@name nw) } -- (\baposter@box@name ne) -- (\baposter@box@name tne);%
+ }
+ }{\ifthenelse{\equal{\baposter@headerborder}{closed}}{%
+ \ifthenelse{\equal{\baposter@headershade}{plain}}{
+ \filldraw [style=header colors,color=borderColor] (\baposter@box@name tnw) {[rc]-- (\baposter@box@name nw) } -- (\baposter@box@name ne) -- (\baposter@box@name tne) -- cycle;%
+ }{
+ \shadedraw [style=header colors,color=borderColor] (\baposter@box@name tnw) {[rc]-- (\baposter@box@name nw) } -- (\baposter@box@name ne) -- (\baposter@box@name tne) -- cycle;%
+ }
+ }{\ifthenelse{\equal{\baposter@headerborder}{none}}{%
+ \ifthenelse{\equal{\baposter@headershade}{plain}}{
+ \fill [style=header colors,color=borderColor] (\baposter@box@name outer tnw) {[rc]-- (\baposter@box@name outer nw) } -- (\baposter@box@name outer ne) -- (\baposter@box@name outer tne) -- cycle;%
+ }{
+ \shade [style=header colors,color=borderColor] (\baposter@box@name outer tnw) {[rc]-- (\baposter@box@name outer nw) } -- (\baposter@box@name outer ne) -- (\baposter@box@name outer tne) -- cycle;%
+ }
+ }{\PackageError{baposter.cls}{Unknown header border \baposter@headerborder}{Edit your file to choose a valid option}}}}{}%
+ \path (\baposter@box@name nw) +(0em,-1em) node[anchor=west,inner sep=0.4em] {\color{headerFontColor}\baposter@headerfont{##1}};%
+ %%%
+ }{\ifthenelse{\equal{\baposter@headershape}{rounded}} {%
+ %%%
+ \ifthenelse{\equal{\baposter@headerborder}{open}}{%
+ \ifthenelse{\equal{\baposter@headershade}{plain}}{
+ \filldraw [style=header colors] (\baposter@box@name tnw) {[rc] -- (\baposter@box@name nw) -- (\baposter@box@name ne) } -- (\baposter@box@name tne);%
+ }{
+ \shadedraw [style=header colors] (\baposter@box@name tnw) {[rc] -- (\baposter@box@name nw) -- (\baposter@box@name ne) } -- (\baposter@box@name tne);%
+ }
+ }{\ifthenelse{\equal{\baposter@headerborder}{closed}}{%
+ \ifthenelse{\equal{\baposter@headershade}{plain}}{
+ \filldraw [style=header colors] (\baposter@box@name tnw) {[rc] -- (\baposter@box@name nw) -- (\baposter@box@name ne) } -- (\baposter@box@name tne) -- cycle;%
+ }{
+ \shadedraw [style=header colors] (\baposter@box@name tnw) {[rc] -- (\baposter@box@name nw) -- (\baposter@box@name ne) } -- (\baposter@box@name tne) -- cycle;%
+ }
+ }{\ifthenelse{\equal{\baposter@headerborder}{none}}{%
+ \ifthenelse{\equal{\baposter@headershade}{plain}}{
+ \fill [style=header colors] (\baposter@box@name outer tnw) {[rc] -- (\baposter@box@name outer nw) -- (\baposter@box@name outer ne)} -- (\baposter@box@name outer tne) -- cycle;%
+ }{
+ \shade [style=header colors] (\baposter@box@name outer tnw) {[rc] -- (\baposter@box@name outer nw) -- (\baposter@box@name outer ne)} -- (\baposter@box@name outer tne) -- cycle;%
+ }
+ }{\PackageError{baposter.cls}{Unknown header border \baposter@headerborder}{Edit your file to choose a valid option}}}}{}%
+ \path (\baposter@box@name nw) +(0.5\boxwidth,-1em) node[anchor=center] {\color{headerFontColor}\baposter@headerfont{##1}};%
+ %%%
+ }{%
+ \typeout{Unknown header style \baposter@headershape}
+ \PackageError{baposter.cls}{Unknown header style \baposter@headershape}{Edit your file to choose a valid option}{}%
+ }}}}}%
+ %
+ \typeout{Sidebars}%
+ %% Sidebars%
+ \ifthenelse {\equal{\baposter@textborder}{none}} {%
+ }{\ifthenelse{\equal{\baposter@textborder}{bars}}{%
+ \begin{scope}[color=borderColor]%
+ \draw (\baposter@box@name tne) -- (\baposter@box@name se);%
+ \draw (\baposter@box@name tnw) -- (\baposter@box@name sw);%
+ \end{scope}%
+ }{\ifthenelse{\equal{\baposter@textborder}{coils}}{%
+ \begin{scope}[color=borderColor,segment amplitude=0.35em,segment length=0.4em,snake=coil]%
+ \draw (\baposter@box@name tne) -- (\baposter@box@name se);%
+ \draw (\baposter@box@name tnw) -- (\baposter@box@name sw);%
+ \end{scope}%
+ }{\ifthenelse{\equal{\baposter@textborder}{triangles}}{%
+ \begin{scope}[color=borderColor,segment amplitude=0.2em,segment length=0.4em,snake=triangles]%
+ \draw [snake=triangles] (\baposter@box@name tne) -- (\baposter@box@name se);%
+ \draw [snake=triangles] (\baposter@box@name tnw) -- (\baposter@box@name sw);%
+ \end{scope}%
+ }{\ifthenelse{\equal{\baposter@textborder}{rectangle}}{%
+ \begin{scope}[color=borderColor]%
+ \ifthenelse{\equal{\baposter@boxshade}{none}}{%
+ }{
+ \fill[box colors,rc] (\baposter@box@name tnw) -- (\baposter@box@name sw) -- (\baposter@box@name se) -- (\baposter@box@name tne);%
+ }
+ \draw[color=borderColor,rc] (\baposter@box@name tnw) -- (\baposter@box@name sw) -- (\baposter@box@name se) -- (\baposter@box@name tne);%
+ \end{scope}%
+ }{\ifthenelse{\equal{\baposter@textborder}{rounded}} {%
+ \ifthenelse{\equal{\baposter@boxshade}{none}}{%
+ }{
+ \fill[box colors,rc] (\baposter@box@name tnw) -- (\baposter@box@name sw) -- (\baposter@box@name se) -- (\baposter@box@name tne);%
+ }
+ \draw[color=borderColor,rc] (\baposter@box@name tnw) -- (\baposter@box@name sw) -- (\baposter@box@name se) -- (\baposter@box@name tne);%
+ }{\ifthenelse{\equal{\baposter@textborder}{roundedleft}} {%
+ \ifthenelse{\equal{\baposter@boxshade}{none}}{%
+ }{
+ \fill[box colors] (\baposter@box@name tnw) {[rc]-- (\baposter@box@name sw)} -- (\baposter@box@name se) -- (\baposter@box@name tne) -- cycle;%
+ }
+ \draw[color=borderColor,box colors] (\baposter@box@name tnw) {[rc]-- (\baposter@box@name sw)} -- (\baposter@box@name se) -- (\baposter@box@name tne);%
+ }{\ifthenelse{\equal{\baposter@textborder}{faded}}{%
+ \tikzstyle{west faded bar}=[color=borderColor]%
+ \tikzstyle{east faded bar}=[color=borderColor]%
+ \begin{scope}[west faded bar,x={(\baposter@box@name tnw)},y={(\baposter@box@name sw)}]%
+ \draw [draw opacity=1.0,west faded bar] (1.0,0.0) -- (0.9,0.1);%
+ \draw [draw opacity=0.9] (0.9,0.1) -- (0.8,0.2);%
+ \draw [draw opacity=0.8] (0.8,0.2) -- (0.7,0.3);%
+ \draw [draw opacity=0.7] (0.7,0.3) -- (0.6,0.4);%
+ \draw [draw opacity=0.6] (0.6,0.4) -- (0.5,0.5);%
+ \draw [draw opacity=0.5] (0.5,0.5) -- (0.4,0.6);%
+ \draw [draw opacity=0.4] (0.4,0.6) -- (0.3,0.7);%
+ \draw [draw opacity=0.3] (0.3,0.7) -- (0.2,0.8);%
+ \draw [draw opacity=0.2] (0.2,0.8) -- (0.1,0.9);%
+ \draw [draw opacity=0.1] (0.1,0.9) -- (0.0,1.0);%
+ \end{scope}%
+ %
+ \begin{scope}[east faded bar,x={(\baposter@box@name tne)},y={(\baposter@box@name se)}]%
+ \draw [draw opacity=1.0] (1.0,0.0) -- (0.9,0.1);%
+ \draw [draw opacity=0.9] (0.9,0.1) -- (0.8,0.2);%
+ \draw [draw opacity=0.8] (0.8,0.2) -- (0.7,0.3);%
+ \draw [draw opacity=0.7] (0.7,0.3) -- (0.6,0.4);%
+ \draw [draw opacity=0.6] (0.6,0.4) -- (0.5,0.5);%
+ \draw [draw opacity=0.5] (0.5,0.5) -- (0.4,0.6);%
+ \draw [draw opacity=0.4] (0.4,0.6) -- (0.3,0.7);%
+ \draw [draw opacity=0.3] (0.3,0.7) -- (0.2,0.8);%
+ \draw [draw opacity=0.2] (0.2,0.8) -- (0.1,0.9);%
+ \draw [draw opacity=0.1] (0.1,0.9) -- (0.0,1.0);%
+ \end{scope}%
+ }{\ifthenelse{\equal{\baposter@textborder}{rounded-small}} {%
+ \begin{scope}[color=borderColor,src]%
+ \draw (\baposter@box@name tnw) -- (\baposter@box@name sw) -- (\baposter@box@name se) -- (\baposter@box@name tne);%
+ \end{scope}%
+ }{%
+ \PackageError{baposter.cls}{Unknown text-box style \baposter@headerborder}{Edit your file to choose a valid option}}{}
+ }}}}}}}}%
+ %
+ \typeout{Drawing Text}%
+ %% Text Box%
+ \path (\baposter@box@name tnw) node(text) [anchor=north west,outer sep=-0.000em,text width=\boxwidth-1em,inner sep=0.5em,text justified] {\usebox{\baposter@content}};%
+ \end{scope}
+ }%
+%
+ %% Background%
+ \baposterShadedBG%
+ \hspace{-1.5em}%
+ \begin{tikzpicture}[inner sep=0pt,outer sep=0pt,line width=0.05em]%
+ \useasboundingbox (0em,0em) rectangle(\textwidth,\textheight);%
+ \path[shape=coordinate]%
+ (0pt,\colheight) coordinate(north west) (\textwidth,\colheight) coordinate(north east)%
+ (0pt,0pt) coordinate(south west) (\textwidth,0pt) coordinate(south east);%
+%
+ \ifthenelse{\equal{\baposter@eyecatcher}{no}}{ % Has no eye catcher
+ \setbox\baposter@titleimage@left=\hbox{}%
+ }{ % Has eye catcher%
+ \setbox\baposter@titleimage@left=\hbox{#2}%
+ }%
+ \setlength{\baposter@titleimage@left@width}{\wd\baposter@titleimage@left}%
+ \setbox\baposter@titleimage@right=\hbox{#5}%
+ \setlength{\baposter@titleimage@right@width}{\wd\baposter@titleimage@right}%
+ \setlength{\baposter@titleimage@textwidth}{\textwidth}%
+ \addtolength{\baposter@titleimage@textwidth}{-\baposter@titleimage@left@width}%
+ \addtolength{\baposter@titleimage@textwidth}{-\baposter@titleimage@right@width}%
+
+ \typeout{#3}
+ %
+ %
+ % % Draw Header%
+ \draw (north west) +(0em,1em+0.5\headerheight) node(image)[anchor=west] { {\usebox{\baposter@titleimage@left }} };%
+ \draw (north east) +(0em,1em+0.5\headerheight) node(logo) [anchor=east] { {\usebox{\baposter@titleimage@right}} };%
+ \ifthenelse{\equal{\baposter@eyecatcher}{no}}{ % Has no eye catcher
+ \draw (image.east) node(title)[anchor=west] { {\begin{minipage}{\baposter@titleimage@textwidth}{\bf\Huge #3}\\{\Large #4}\end{minipage}} };%
+ }{ % Has eye catcher%
+ \draw (image.east) node(title)[anchor=west,text width=\baposter@titleimage@textwidth]{%
+ \begin{minipage}{\baposter@titleimage@textwidth}%
+ \begin{center}%
+ \textbf{\Huge #3}\\%
+ {\Large #4}%
+ \end{center}%
+ \end{minipage}
+ };%
+ }%
+ }%
+% The body
+ {%
+ % The end, draw gridlines if neccesary
+ \ifthenelse{\equal{\baposter@grid}{yes}}{ % TODO: Understand boolean options declaration%
+ \draw[draw=green,draw opacity=0.7] %
+ (0\colwidth,0pt) -- (0\colwidth,\colheight)%
+ (1\colwidth,0pt) -- (1\colwidth,\colheight)%
+ (1\colwidth+1\baposter@@colspacing,0pt) -- (1\colwidth+1\baposter@@colspacing,\colheight)%
+ (2\colwidth+1\baposter@@colspacing,0pt) -- (2\colwidth+1\baposter@@colspacing,\colheight)%
+ (2\colwidth+2\baposter@@colspacing,0pt) -- (2\colwidth+2\baposter@@colspacing,\colheight)%
+ (3\colwidth+2\baposter@@colspacing,0pt) -- (3\colwidth+2\baposter@@colspacing,\colheight)%
+ (3\colwidth+3\baposter@@colspacing,0pt) -- (3\colwidth+3\baposter@@colspacing,\colheight)%
+ (4\colwidth+3\baposter@@colspacing,0pt) -- (4\colwidth+3\baposter@@colspacing,\colheight)%
+ %
+ (0pt,0.0\colheight) -- (\textwidth,0.0\colheight) node[anchor=west] {1.0}%
+ (0pt,0.1\colheight) -- (\textwidth,0.1\colheight) node[anchor=west] {0.9}%
+ (0pt,0.2\colheight) -- (\textwidth,0.2\colheight) node[anchor=west] {0.8}%
+ (0pt,0.3\colheight) -- (\textwidth,0.3\colheight) node[anchor=west] {0.7}%
+ (0pt,0.4\colheight) -- (\textwidth,0.4\colheight) node[anchor=west] {0.6}%
+ (0pt,0.5\colheight) -- (\textwidth,0.5\colheight) node[anchor=west] {0.5}%
+ (0pt,0.6\colheight) -- (\textwidth,0.6\colheight) node[anchor=west] {0.4}%
+ (0pt,0.7\colheight) -- (\textwidth,0.7\colheight) node[anchor=west] {0.3}%
+ (0pt,0.8\colheight) -- (\textwidth,0.8\colheight) node[anchor=west] {0.2}%
+ (0pt,0.9\colheight) -- (\textwidth,0.9\colheight) node[anchor=west] {0.1}%
+ (0pt,1.0\colheight) -- (\textwidth,1.0\colheight) node[anchor=west] {0.0};%
+ }{%
+ }
+ \end{tikzpicture}%
+ % \xkvview{}
+ }%
Added: docs/posters/header.tex
===================================================================
--- docs/posters/header.tex (rev 0)
+++ docs/posters/header.tex 2010-07-12 16:17:08 UTC (rev 1756)
@@ -0,0 +1,170 @@
+\documentclass[portrait,final]{baposter}
+%\documentclass[a4shrink,portrait,final]{baposter}
+% Usa a4shrink for an a4 sized paper.
+
+% A0 poster board, 841 x 1189mm
+
+\tracingstats=2
+
+\usepackage{times}
+\usepackage{calc}
+\usepackage{graphicx}
+\usepackage{amsmath}
+\usepackage{amssymb}
+\usepackage{relsize}
+\usepackage{multirow}
+\usepackage{bm}
+\usepackage[style=verbose-ibid]{biblatex}
+\bibliography{poster}
+
+\usepackage{graphicx}
+\usepackage{multicol}
+
+\usepackage{pgfbaselayers}
+\pgfdeclarelayer{background}
+\pgfdeclarelayer{foreground}
+\pgfsetlayers{background,main,foreground}
+
+\usepackage{helvet}
+%\usepackage{bookman}
+\usepackage{palatino}
+\newcommand{\hl}[2]{\vspace{-0.2em}\colorbox{lightyellow}{\hspace{-3pt}#1\hspace{-3pt}}\vspace{#2}}
+
+\newcommand{\captionfont}{\footnotesize}
+
+\selectcolormodel{cmyk}
+
+\graphicspath{{images/}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%% Some math symbols used in the text
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Format
+\newcommand{\Matrix}[1]{\begin{bmatrix} #1 \end{bmatrix}}
+\newcommand{\Vector}[1]{\Matrix{#1}}
+\newcommand*{\SET}[1] {\ensuremath{\mathcal{#1}}}
+\newcommand*{\MAT}[1] {\ensuremath{\mathbf{#1}}}
+\newcommand*{\VEC}[1] {\ensuremath{\bm{#1}}}
+\newcommand*{\CONST}[1]{\ensuremath{\mathit{#1}}}
+\newcommand*{\norm}[1]{\mathopen\| #1 \mathclose\|}% use instead of $\|x\|$
+\newcommand*{\abs}[1]{\mathopen| #1 \mathclose|}% use instead of $\|x\|$
+\newcommand*{\absLR}[1]{\left| #1 \right|}% use instead of $\|x\|$
+
+\def\norm#1{\mathopen\| #1 \mathclose\|}% use instead of $\|x\|$
+\newcommand{\normLR}[1]{\left\| #1 \right\|}% use instead of $\|x\|$
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Multicol Settings
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\setlength{\columnsep}{0.7em}
+\setlength{\columnseprule}{0mm}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Save space in lists. Use this after the opening of the list
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand{\compresslist}{%
+\setlength{\itemsep}{1pt}%
+\setlength{\parskip}{0pt}%
+\setlength{\parsep}{0pt}%
+}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% Begin of Document
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\begin{document}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%% Here starts the poster
+%%%---------------------------------------------------------------------------
+%%% Format it to your taste with the options
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Define some colors
+\definecolor{silver}{cmyk}{0,0,0,0.3}
+\definecolor{yellow}{cmyk}{0,0,0.9,0.0}
+\definecolor{reddishyellow}{cmyk}{0,0.22,1.0,0.0}
+\definecolor{black}{cmyk}{0,0,0.0,1.0}
+\definecolor{darkYellow}{cmyk}{0,0,1.0,0.5}
+\definecolor{darkSilver}{cmyk}{0,0,0,0.1}
+
+%\definecolor{darkerblue}{cmyk}{0.46,0.35,0,0.38}
+\definecolor{darkerblue}{cmyk}{0.29,0.27,0,0.16}
+\definecolor{darkestblue}{cmyk}{0.72,0.68,0,0.66}
+\definecolor{lighterblue}{cmyk}{0.08,0.07,0,0.05}
+%\definecolor{lighterblue}{cmyk}{0.29,0.27,0,0.16}
+\definecolor{lightestblue}{cmyk}{0.02,0.02,0,0}
+\definecolor{lightyellow}{cmyk}{0,0,0.3,0.0}
+\definecolor{lighteryellow}{cmyk}{0,0,0.1,0.0}
+\definecolor{lighteryellow}{cmyk}{0,0,0.1,0.0}
+\definecolor{lightestyellow}{cmyk}{0,0,0.05,0.0}
+
+\renewcommand{\refname}{}
+\renewcommand{\bibfont}{\smaller}
+
+%%
+\typeout{Poster Starts}
+\background{
+ \begin{tikzpicture}[remember picture,overlay]%
+ \draw (current page.north west)+(-2em,2em) node[anchor=north west] {\includegraphics[height=1.1\textheight]{silhouettes_background}};
+ \end{tikzpicture}%
+}
+
+\newlength{\leftimgwidth}
+\begin{poster}%
+ % Poster Options
+ {
+ % Color style
+ bgColorOne=lightestblue,
+ bgColorTwo=lightestyellow,
+ headerColorOne=lighterblue,
+ borderColor=lighterblue,
+ headerFontColor=black,
+ boxColorOne=lightyellow,
+ boxColorTwo=lighteryellow,
+ % Format of textbox
+ textborder=faded,
+ % Format of text header
+ headerborder=open,
+ headerheight=0.08\textheight,
+ colspacing=0.7em,
+ headershape=rounded,
+% headershape=roundedright,
+ headershade=plain,
+ headerfont=\Large\textsf, %Sans Serif
+ headerFontColor=darkestblue,
+ boxshade=plain,
+ background=plain,
+ eyecatcher=yes,
+ linewidth=2pt
+ }
+ % Poster Options
+% {
+ % Show grid to help with alignment
+% grid=no,
+ % Column spacing
+% colspacing=1em,
+ % Color style
+% bgColorOne=lighteryellow,
+% bgColorTwo=lightestyellow,
+% borderColor=reddishyellow,
+% headerColorOne=yellow,
+% headerColorTwo=reddishyellow,
+% headerFontColor=black,
+% boxColorOne=lightyellow,
+% boxColorTwo=lighteryellow,
+ % Format of textbox
+% textborder=roundedleft,
+ % Format of text header
+% eyecatcher=no,
+% headerborder=open,
+% headerheight=0.08\textheight,
+% headershape=roundedright,
+% headershade=plain,
+% headerfont=\Large\textsf, %Sans Serif
+% boxshade=plain,
+% background=shade-tb,
+% background=plain,
+% linewidth=2pt
+% }
Added: docs/posters/images/ESFlogo.jpg
===================================================================
(Binary files differ)
Property changes on: docs/posters/images/ESFlogo.jpg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: docs/posters/images/KCLlogo.jpg
===================================================================
(Binary files differ)
Property changes on: docs/posters/images/KCLlogo.jpg
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: docs/posters/images/LogiLogi-Browsing.png
===================================================================
(Binary files differ)
Property changes on: docs/posters/images/LogiLogi-Browsing.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: docs/posters/images/LogiLogi-Logi-Blog.png
===================================================================
(Binary files differ)
Property changes on: docs/posters/images/LogiLogi-Logi-Blog.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: docs/posters/images/LogiLogi-Popover.png
===================================================================
(Binary files differ)
Property changes on: docs/posters/images/LogiLogi-Popover.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: docs/posters/images/LogiLogi-Rankings.png
===================================================================
(Binary files differ)
Property changes on: docs/posters/images/LogiLogi-Rankings.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: docs/posters/images/LogiLogi-Screencast.png
===================================================================
(Binary files differ)
Property changes on: docs/posters/images/LogiLogi-Screencast.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: docs/posters/images/logo.pdf
===================================================================
(Binary files differ)
Property changes on: docs/posters/images/logo.pdf
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: docs/posters/images/msrlogo.pdf
===================================================================
--- docs/posters/images/msrlogo.pdf (rev 0)
+++ docs/posters/images/msrlogo.pdf 2010-07-12 16:17:08 UTC (rev 1756)
@@ -0,0 +1,186 @@
+%PDF-1.3
+%\xC7쏢
+6 0 obj
+<</Length 7 0 R/Filter /FlateDecode>>
+stream
+x\x9Cm\x9C[\x8E%\xBD\xAE\x9C\xDFkk˩[J\x86\xCF\xCB@\xDB\xDBp\xB5\x81
+\xCFp|AI\xB9\xBA\xFAG?TK\x95\x89\xA4HF\x90Y\xFFy]\xEF\xF4\xBA\xF8\xB7~\xFE\xFA\xFD\xF5?\xFEk\xBC\xFE\xD7\xFF\xFB\xFA\xCF\xD7\xF5\xEAw\x8F6_\xBF\xBF\xF8\xDD\xF7W\xEE-\xBFk\xFB\xE3\xFF\xFB\x9A\xEF\xAF\xFF~\xFD__w\xBD\xD2\xEB\xFF|\xA5\xD7\xFF\xFEJ\xD7h\xEF\xDA_\xF7\x9C\x9E\xB3g\xFA\x95\xDE)\x95\x97\xC7W\xD68\xBFs\xF7\xB8\xBES\x8C\xE7\xBC_\xBF\xB8\xA3\xE8R͔\xF7H7W\xA4w\x99\xD7w\xCE]\xE3>r\x8F\xB9\xA37\xBD\xEE\xCC|\x9F\x99{\xD6w\xBF\xD6\xCC|\xF7?&\xF4\x9AV\xCF̳\xF4\xFB]\xAE\xF9\xFA\xB9\x95__\xFF\xD6=\xF3z\x8F\xFBu\xEBYw\xB1\xBD\x9B\xC5\xEE\x99\xF5\=\xEF\xD6/Jk1\x93\xDE-kF+H\xED\xE5\xA5\xF0\x94ɾZlHo\xDC\xE3_ˏ\x99\x8F
+}\xBC\xA7\xEB\xA9\xE3f\xB4\x9Bw\x9Bco\xBA\xDE\xCCɹ\x9E\xEF\xD2\xF7\xDC[\xD8\xFD]PW{gI\xC7ꐸ\xAD\x8Dy\xF9\xBDﶾRg\x8C\x98\xF4<_\xBF&\xB4\xA9{\xDDpU˵\x96oв\xA7\xCC`,}\xDF\xEF\xC6
+\xE5\xDD\xCB\x8Bl>\xBFG\xC9//\xB9u\x8F\xCB]\xE2\x8E3\x93\xB5=oKVT,\xB0a\x91j[7W\xC8\xCE\xFB\xDA\xE8\xFA\xD7_\x8A\xFC\xE5ν\x8E\x92C\xB9{f\xC8\xE2y\xEA\xEC\xEF;dQo\x8F\xCBfj\xF7~n\xD2I\x8F\xAFK\xBC\xB7\xAC;e\xDD\xE8u]2\xD13\xB6\xAA\xAB\x96\xF0qE\xBF\xE2\xF6²oQ\x8E\xA4\xD8\xFA\x9D}\xB9\x96\xB6s_\x96\xE6x\xF7ٟal\xC1\xD7{B\xEF7\xB2\xD4\xED]\xB2\xF5+\xF1\x82eVe\xC4\xBAV(u\xC9\xDB\xEBC]\xA7\xB1?;\xD8\xE3__ۄ\x9E+\x90\xC1z\x...
[truncated message content] |
|
From: <wy...@us...> - 2010-07-07 22:40:33
|
Revision: 1755
http://logilogi.svn.sourceforge.net/logilogi/?rev=1755&view=rev
Author: wybow
Date: 2010-07-07 22:40:27 +0000 (Wed, 07 Jul 2010)
Log Message:
-----------
Fixed usernames bug
Modified Paths:
--------------
trunk/config/routes.rb
Modified: trunk/config/routes.rb
===================================================================
--- trunk/config/routes.rb 2010-07-07 22:28:54 UTC (rev 1754)
+++ trunk/config/routes.rb 2010-07-07 22:40:27 UTC (rev 1755)
@@ -45,7 +45,8 @@
:path_prefix => ':ll_link_string/do',
:name_prefix => '_hidden_',
:requirements => { :ll_link_string => /.*/ }
- map.resources :users
+ map.resources :users,
+ :requirements => { :id => /.*/ }
map.resources :peer_group_admin_memberships, :peer_group_memberships,
:user_groups, :prefs_profiles, :invitations, :votes, :remarks,
:annotations, :links, :linked_logis, :comments, :ratings, :paths,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-07-07 22:29:01
|
Revision: 1754
http://logilogi.svn.sourceforge.net/logilogi/?rev=1754&view=rev
Author: wybow
Date: 2010-07-07 22:28:54 +0000 (Wed, 07 Jul 2010)
Log Message:
-----------
Added screencast
Added Paths:
-----------
trunk/app/views/logis/_screencast.html.erb
Added: trunk/app/views/logis/_screencast.html.erb
===================================================================
--- trunk/app/views/logis/_screencast.html.erb (rev 0)
+++ trunk/app/views/logis/_screencast.html.erb 2010-07-07 22:28:54 UTC (rev 1754)
@@ -0,0 +1,6 @@
+<% render :layout => 'application/panel',
+ :locals => {:id => "screencast"} do %>
+ <object width="460" height="283"><param name="movie" value="http://www.youtube.com/v/19HuVgvFPOE&hl=en&fs=1"></param><param name="allowFullScreen"
+value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/19HuVgvFPOE&hl=en&fs=1"
+type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="460" height="283"></embed></object>
+<% end %>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-07-07 22:24:08
|
Revision: 1753
http://logilogi.svn.sourceforge.net/logilogi/?rev=1753&view=rev
Author: wybow
Date: 2010-07-07 22:24:00 +0000 (Wed, 07 Jul 2010)
Log Message:
-----------
Added Intro video
Modified Paths:
--------------
trunk/app/controllers/logis_controller.rb
trunk/public/stylesheets/logilogi.css
Modified: trunk/app/controllers/logis_controller.rb
===================================================================
--- trunk/app/controllers/logis_controller.rb 2010-07-05 15:06:37 UTC (rev 1752)
+++ trunk/app/controllers/logis_controller.rb 2010-07-07 22:24:00 UTC (rev 1753)
@@ -37,7 +37,7 @@
body_parts :main, :post
top_body :navigation_bar
- main_body :description, :new_logis, :found_logis,
+ main_body :description, :screencast, :new_logis, :found_logis,
: :index, :format => [:html, :js]
post_body :logis,
: [:show]
@@ -343,6 +343,12 @@
end
end
+ def screencast
+ if !current_context.link? and current_user.anonymous?
+ return true
+ end
+ end
+
def new_logis
if !current_context.link?
@new_logis_count = Logi.count(:conditions => 'created_at > "' +
Modified: trunk/public/stylesheets/logilogi.css
===================================================================
--- trunk/public/stylesheets/logilogi.css 2010-07-05 15:06:37 UTC (rev 1752)
+++ trunk/public/stylesheets/logilogi.css 2010-07-07 22:24:00 UTC (rev 1753)
@@ -244,6 +244,9 @@
.header {
background-color: #989cd7;
}
+#screencast {
+ background-color: #30367e;
+}
.header .tab_description {
color: #181c57;
font-size: 1.2em;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-07-05 15:06:43
|
Revision: 1752
http://logilogi.svn.sourceforge.net/logilogi/?rev=1752&view=rev
Author: wybow
Date: 2010-07-05 15:06:37 +0000 (Mon, 05 Jul 2010)
Log Message:
-----------
Fixed submit bug
Modified Paths:
--------------
trunk/app/views/logi_inserts/new.html.erb
trunk/public/javascripts/body_inserter.js
Modified: trunk/app/views/logi_inserts/new.html.erb
===================================================================
--- trunk/app/views/logi_inserts/new.html.erb 2010-07-04 18:34:08 UTC (rev 1751)
+++ trunk/app/views/logi_inserts/new.html.erb 2010-07-05 15:06:37 UTC (rev 1752)
@@ -111,6 +111,7 @@
<div class="spacer"></div>
<div class="main_column">
+ <%= hidden_field_tag :selected_text_field, :autocomplete => "off" %>
<div id="common">
<% render :layout => 'application/panel', :locals => {
@@ -130,7 +131,7 @@
<% javascript_tag do -%>
body_inserter = new BodyInserter('body_with_inserts',
- 'selected_text_field','selected_text_text',
+ 'selected_text_field',
'<%= Const::Logi::INSERT_STRING %>',
'<%= t 'v.logi_inserts.no_selection_made' %>');
<% end -%>
Modified: trunk/public/javascripts/body_inserter.js
===================================================================
--- trunk/public/javascripts/body_inserter.js 2010-07-04 18:34:08 UTC (rev 1751)
+++ trunk/public/javascripts/body_inserter.js 2010-07-05 15:06:37 UTC (rev 1752)
@@ -16,12 +16,11 @@
var BodyInserter = Class.create({
// Constructors
- initialize: function(textarea_id, hidden_field_id, show_field_id,
+ initialize: function(textarea_id, hidden_field_id,
insert_place_holder_string, place_holder_string) {
this.textarea = $(textarea_id);
this.textarea_id = textarea_id;
this.hidden_field = $(hidden_field_id);
-// this.show_field = $(show_field_id);
this.insert_place_holder_string = insert_place_holder_string;
this.place_holder_string = place_holder_string;
if (Prototype.Browser.IE) {
@@ -75,18 +74,7 @@
editor.setContent(cl_content);
$('focus_field').focus();
this.hidden_field.value = cl_content;
-
-// if (cl_selection.text.empty()) {
-// this.show_field.innerHTML = '<p><i>' + this.place_holder_string +
-// '</i></p>';
-// } else {
-// this.show_field.innerHTML = '<p><i>' + cl_selection.text + '</i></p>';
-// }
- // Effect.ScrollTo(this.show_field);
}
- } else {
-// this.show_field.innerHTML = '<p><i>' + this.place_holder_string +
-// '</i></p>';
}
},
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-07-04 18:34:14
|
Revision: 1751
http://logilogi.svn.sourceforge.net/logilogi/?rev=1751&view=rev
Author: wybow
Date: 2010-07-04 18:34:08 +0000 (Sun, 04 Jul 2010)
Log Message:
-----------
Narrowed fields for FF under Windows, and renamed comments messages
Modified Paths:
--------------
trunk/app/views/layouts/_header.html.erb
trunk/config/locales/en.yml
trunk/public/stylesheets/logilogi.css
Modified: trunk/app/views/layouts/_header.html.erb
===================================================================
--- trunk/app/views/layouts/_header.html.erb 2010-06-30 15:44:47 UTC (rev 1750)
+++ trunk/app/views/layouts/_header.html.erb 2010-07-04 18:34:08 UTC (rev 1751)
@@ -26,7 +26,7 @@
<% if local_assigns[:user_page] %>
<img src="/images/user_header_background.png" width="6" height="80"/>
<% else %>
- <img src="/images/header_background.png" width="6" height="68"/>
+ <img src="/images/header_background.png" width="6" height="80"/>
<% end %>
</div>
<div id="header_content">
Modified: trunk/config/locales/en.yml
===================================================================
--- trunk/config/locales/en.yml 2010-06-30 15:44:47 UTC (rev 1750)
+++ trunk/config/locales/en.yml 2010-07-04 18:34:08 UTC (rev 1751)
@@ -52,10 +52,10 @@
one: "1 error prohibited this {{model}} from being saved."
other: "{{count}} errors prohibited this {{model}} from being saved."
models:
- annotation: comment
+ annotation: message
logi: logi
logi_version: "logi version"
- remark: comment
+ remark: message
user: user
user_session: "user session"
authlogic:
@@ -73,13 +73,13 @@
password_invalid: "is not valid."
c:
annotations:
- added: "Successfully added comment."
- error_adding: "Problem adding comment."
- error_select_text: "needs to be made in the logi at the location where the comment should be attached and the comment should not be empty."
- no_selected: "No comment selected."
+ added: "Successfully added message."
+ error_adding: "Problem adding message."
+ error_select_text: "needs to be made in the logi at the location where the message should be attached and the message should not be empty."
+ no_selected: "No message selected."
page_name:
edit: Remove
- removed: "Successfully removed comments."
+ removed: "Successfully removed messages."
application:
error_empty: "should not be empty if it is not a replying logi."
error_overlap_html: "should not overlap with html tags, like different styles or multiple lists."
@@ -375,11 +375,11 @@
path: Path
perma_link_label: "The following is the permalink of this logi. Hit Ctrl A followed by Ctrl C on your keyboard to copy to your clipboard:"
remove: "Detach from text"
- remove_annotations: Comments
+ remove_annotations: Messages
remove_external_links: "External resources"
remove_links: Links
removing: "Currently detaching things from the text of a logi."
- removing_annotations: "Currently detaching and deleting comments."
+ removing_annotations: "Currently detaching and deleting messages."
removing_external_links: "Currently detaching and deleting links to other sites."
removing_links: "Currently detaching and deleting links to tags or to logis."
search: Search
@@ -394,7 +394,7 @@
you: You
m:
annotation:
- html_tags_not_allowed: "html tags are not allowed inside comments."
+ html_tags_not_allowed: "html tags are not allowed inside messages."
const:
bad: bad
everyone_edit: "Everyone can edit"
@@ -458,8 +458,8 @@
error_no_power: "You have no voting-power in this peergroup."
error_vote_for_own: "You can't vote for own logis."
remark:
- html_tags_not_allowed: "html tags are not allowed inside comments."
- links_not_allowed: "links are not allowed inside comments."
+ html_tags_not_allowed: "html tags are not allowed inside messages."
+ links_not_allowed: "links are not allowed inside messages."
tag:
error_invalid_tags: "Invalid tags."
error_too_long: "The tag-string is too long."
@@ -523,15 +523,15 @@
pm: pm
v:
annotations:
- adding: "Adding comment"
- annotation_label: "Comment:"
- annotations: Comments
- click_crosses: "Click on the crosses of the comments you want to delete. This will move them to the deletion list."
+ adding: "Adding message"
+ annotation_label: "Message:"
+ annotations: Messages
+ click_crosses: "Click on the crosses of the messages you want to delete. This will move them to the deletion list."
count_annotations:
- one: "There is {{count}} comment attached to the text of this logi."
- other: "There are {{count}} comments attached to the text of this logi."
- indeed_remove: "Check if these are indeed the comments you want to detach and delete. Then submit."
- which_annotations: "Which comments?"
+ one: "There is {{count}} message attached to the text of this logi."
+ other: "There are {{count}} messages attached to the text of this logi."
+ indeed_remove: "Check if these are indeed the messages you want to detach and delete. Then submit."
+ which_annotations: "Which messages?"
application:
are_you_sure: "Are you sure?"
error: Error
@@ -640,13 +640,13 @@
no_matches: "No matches found..."
which_links: "Which links?"
logi_inserts:
- annotation: Comment
- are_removing: "Links and comments you detach will also be deleted."
+ annotation: Message
+ are_removing: "Links and messages you detach will also be deleted."
check_indeed: "Check if this is indeed the phrase or word to which you want to attach something."
deletion_list_label: "Deletion list:"
- everyone_can_insert: "You can attach comments and various types of links to a word or phrase in the text. Everyone can do this for all logis (not just authors)."
+ everyone_can_insert: "You can attach messages and various types of links to a word or phrase in the text. Everyone can do this for all logis (not just authors)."
external_link: "External resource"
- insert_annotation: "Attach a comment."
+ insert_annotation: "Attach a message."
insert_external_link: "Attach a link that points to a different site (outside of LogiLogi)."
insert_logi_link: "Attach a link that points to another logi."
insert_new_logi: "Attach a link that points to a newly created logi."
@@ -658,9 +658,9 @@
paste_perma_link: "Paste (Ctrl V) the perma-link of the logi that the link should point to."
perma_link_tab: "Specific logi"
right_text: "Is it the right phrase?"
- select_insert: "Select what you want to attach; a new logi, various types of links, or a comment."
+ select_insert: "Select what you want to attach; a new logi, various types of links, or a message."
select_range: "Select the range of text to which you want it to be attached."
- select_remove: "Select what you want to detach; links to logis, external links, or comments."
+ select_remove: "Select what you want to detach; links to logis, external links, or messages."
selected_label: "Selected phrase:"
submit_and_attach: "Submit & attach more"
tag_link_tab: Tags
@@ -684,7 +684,7 @@
tags: Tags
want_browsed: "Want your logi to be browsed to?"
logis:
- add_remark: "add comment"
+ add_remark: "add message"
add_tag: "Add tag"
add_word_or_tag: "Add word or tag"
are_positive:
@@ -708,11 +708,11 @@
one: "Has {{count}} reply."
other: "Has {{count}} replies."
comments_on:
- one: "Comments on {{count}} logi."
- other: "Comments on {{count}} logis."
+ one: "Messages on {{count}} logi."
+ other: "Messages on {{count}} logis."
comments_on_has:
- one: "Comments on {{on_count}}, has {{count}} reply."
- other: "Comments on {{on_count}}, has {{count}} replies."
+ one: "Messages on {{on_count}}, has {{count}} reply."
+ other: "Messages on {{on_count}}, has {{count}} replies."
count_comments:
one: "Logi has {{count}} reply."
other: "Logi has {{count}} replies."
@@ -770,8 +770,8 @@
recent_writings: "Recent writings"
recently_rated: "Recently positively rated"
related_tags_suggested: "Related tags suggested for browsing."
- remark_to_author: "Short comment to author?"
- remarks: Comments
+ remark_to_author: "Short message to author?"
+ remarks: Messages
search_word_or_tag: "Search word or tag"
select_edit: "Select whether you want to edit the text, or the settings."
select_insert_remove: "Select whether you want to attach things to phrases in the text, or detach them from the text."
@@ -887,15 +887,15 @@
average_label: "Average rating:"
weight_label: "Rating weight:"
remarks:
- adding: "Adding comment"
+ adding: "Adding message"
are_sure: "Are you sure?"
- click_want_delete: "Click on the crosses of the comments you want to delete. This will move them to the deletion list."
+ click_want_delete: "Click on the crosses of the messages you want to delete. This will move them to the deletion list."
count_remarks:
- one: "There is {{count}} comment attached to the text of this logi."
- other: "There are {{count}} comments attached to the text of this logi."
- indeed_remove: "Check if these are indeed the comments you want to detach and delete. Then submit."
- remark: Comment
- which: "Which comments?"
+ one: "There is {{count}} message attached to the text of this logi."
+ other: "There are {{count}} messages attached to the text of this logi."
+ indeed_remove: "Check if these are indeed the messages you want to detach and delete. Then submit."
+ remark: Message
+ which: "Which messages?"
searches:
back_browse: "Back to search"
count_same_tags:
@@ -954,7 +954,7 @@
signup_openid: "Signup with an OpenID."
use_api: "You can use our API to remotely post and update logis."
with_openid: "With OpenID"
- your_rss_updated: "Your RSS-feed is updated whenever something happens related to your logis (comments, votes, updates, ...)."
+ your_rss_updated: "Your RSS-feed is updated whenever something happens related to your logis (messages, votes, updates, ...)."
votes:
cant_vote_own: "You can't vote on your own logi."
no_voting_power: "You don't have any voting power in this peergroup."
Modified: trunk/public/stylesheets/logilogi.css
===================================================================
--- trunk/public/stylesheets/logilogi.css 2010-06-30 15:44:47 UTC (rev 1750)
+++ trunk/public/stylesheets/logilogi.css 2010-07-04 18:34:08 UTC (rev 1751)
@@ -1351,7 +1351,7 @@
#remarking textarea {
float: right;
height: 5em;
- width: 16em;
+ width: 15em;
margin-bottom: 1em;
}
#remarking input {
@@ -1371,7 +1371,7 @@
#fast_reply_area {
float: right;
height: 6em;
- width: 37em;
+ width: 34em;
margin-bottom: 1em;
color: #818181;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-06-30 15:44:53
|
Revision: 1750
http://logilogi.svn.sourceforge.net/logilogi/?rev=1750&view=rev
Author: wybow
Date: 2010-06-30 15:44:47 +0000 (Wed, 30 Jun 2010)
Log Message:
-----------
Added proper highlighting support
Modified Paths:
--------------
tools/b-rex/b-rex
Modified: tools/b-rex/b-rex
===================================================================
--- tools/b-rex/b-rex 2010-06-30 10:31:09 UTC (rev 1749)
+++ tools/b-rex/b-rex 2010-06-30 15:44:47 UTC (rev 1750)
@@ -389,7 +389,19 @@
lines = contents.split("\n")
# Yellow words
lines.collect! do |line|
- line.gsub!(/~(.*?)~/,'\textcolor[rgb]{0.80,0.20,0.20}{\1}')
+ done_line_sub = false
+ begin
+ subbed = false
+ subbed = line.sub!(/~((-|\w|\s)*?)~\{(.*?)\}/,'\hl{\1}{\3}')
+ if !subbed
+ if done_line_sub
+ subbed = line.sub!(/~(.*?)~/,'\hl{\1}{0.0em}')
+ else
+ subbed = line.sub!(/~(.*?)~/,'\hl{\1}{-0.2em}')
+ end
+ end
+ done_line_sub = (subbed ? true : false)
+ end while subbed
line
end
return lines.join("\n")
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-06-30 10:31:15
|
Revision: 1749
http://logilogi.svn.sourceforge.net/logilogi/?rev=1749&view=rev
Author: wybow
Date: 2010-06-30 10:31:09 +0000 (Wed, 30 Jun 2010)
Log Message:
-----------
Less spacing between poster headerboxes
Modified Paths:
--------------
tools/b-rex/b-rex
Modified: tools/b-rex/b-rex
===================================================================
--- tools/b-rex/b-rex 2010-06-29 15:34:23 UTC (rev 1748)
+++ tools/b-rex/b-rex 2010-06-30 10:31:09 UTC (rev 1749)
@@ -474,11 +474,11 @@
end
end
- name = title.downcase.gsub(' ','-')
+ name = title.downcase.gsub(/\s|\./,'-')
@hstack[@hcolumn] << name
' \headerbox{' + title + '}{name=' + name + pass_options + '}{'
else
- ' \vspace{0.3em}' + "\n" +
+ ' \vspace{-0.1em}' + "\n" +
' }'
end
end
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-06-29 15:34:30
|
Revision: 1748
http://logilogi.svn.sourceforge.net/logilogi/?rev=1748&view=rev
Author: wybow
Date: 2010-06-29 15:34:23 +0000 (Tue, 29 Jun 2010)
Log Message:
-----------
Fixed user color bug and edit-bug
Modified Paths:
--------------
trunk/app/controllers/user_sessions_controller.rb
trunk/app/helpers/application_helper.rb
trunk/app/views/logis/edit.html.erb
trunk/config/locales/en.yml
trunk/db/schema.rb
trunk/public/stylesheets/logilogi.css
Modified: trunk/app/controllers/user_sessions_controller.rb
===================================================================
--- trunk/app/controllers/user_sessions_controller.rb 2010-06-28 11:09:57 UTC (rev 1747)
+++ trunk/app/controllers/user_sessions_controller.rb 2010-06-29 15:34:23 UTC (rev 1748)
@@ -43,17 +43,16 @@
if result
good_result = true
if session[:invitation].nil?
- flash[:notice] = t 'c.user_sessions.logged_in'
+ flash.now[:notice] = t 'c.user_sessions.logged_in'
shift_return_url
redirect_to return_url_or_default(user_url(@user_session.user))
else
- flash[:notice] = t 'c.user_sessions.logged_in_accept_invitation'
+ flash.now[:notice] = t 'c.user_sessions.logged_in_accept_invitation'
redirect_to edit_invitation_url(session[:invitation])
end
end
end
if !good_result
- flash.now[:error] = t 'c.user_sessions.error_logging_in'
if !@user_session.openid_identifier.nil?
@selected = "openid"
end
Modified: trunk/app/helpers/application_helper.rb
===================================================================
--- trunk/app/helpers/application_helper.rb 2010-06-28 11:09:57 UTC (rev 1747)
+++ trunk/app/helpers/application_helper.rb 2010-06-29 15:34:23 UTC (rev 1748)
@@ -432,23 +432,23 @@
def link_to_cloud_tag_element(text, link, css_class, *args)
return '<div class="floated_rounded_wrapper">' + link_to_rounded(text,
- link, 'tag cloud_tag link_tag ' + css_class, *args) + '</div>'
+ link, 'tag cloud_tag link_tag ' + css_class, 25, *args) + '</div>'
end
def link_to_navigation_tag(text, link, *args)
- return link_to_rounded(text, link, 'tag link_tag', *args)
+ return link_to_rounded(text, link, 'tag link_tag', 25, *args)
end
def link_to_navigation_author(text, link, *args)
- return link_to_rounded(text, link, 'author', *args)
+ return link_to_rounded(text, link, 'author', 35, *args)
end
# if changed also change in lib/application_view
- def link_to_rounded(text, link, css_class, options = {})
+ def link_to_rounded(text, link, css_class, length, options = {})
return '<div class="' + css_class +
'" >' +
'<div class="content_padding"><a href="' + link + '">' +
- truncate(text, :length => 25) + '</a></div></div>'
+ truncate(text, :length => length) + '</a></div></div>'
end
def link_to_js_rounded(text, javascript, css_class, options = {})
Modified: trunk/app/views/logis/edit.html.erb
===================================================================
--- trunk/app/views/logis/edit.html.erb 2010-06-28 11:09:57 UTC (rev 1747)
+++ trunk/app/views/logis/edit.html.erb 2010-06-29 15:34:23 UTC (rev 1748)
@@ -1,10 +1,10 @@
+<%= render :partial => 'dhtml_history_js.html.erb' %>
+<% javascript_tag do -%>
+ if (dhtmlHistory.isFirstLoad()) {
+ <%= add_simple_history_string('logi_tags_edit_list', '/' + current_context.link.to_s + '/do/edit', '') %>
+ }
+<% end %>
<% thorny_form_for(@logi, :url => logi_url(@logi),
:html => {:id => "logi_form"}) do |form| %>
- <%= render :partial => 'dhtml_history_js.html.erb' %>
- <% javascript_tag do -%>
- if (dhtmlHistory.isFirstLoad()) {
- <%= add_simple_history_string('logi_tags_edit_list', '/' + current_context.link.to_s + '/do/edit', '') %>
- }
- <% end %>
<%= render :partial => 'edit_with_tags', :locals => {:form => form} %>
<% end -%>
Modified: trunk/config/locales/en.yml
===================================================================
--- trunk/config/locales/en.yml 2010-06-28 11:09:57 UTC (rev 1747)
+++ trunk/config/locales/en.yml 2010-06-29 15:34:23 UTC (rev 1748)
@@ -173,7 +173,6 @@
page_name:
index: Searching
user_sessions:
- error_logging_in: "Problem logging you in."
logged_in: "Login successful."
logged_in_accept_invitation: "Logged you in. Now you can accept your invitation."
logged_out: "Logged you out."
Modified: trunk/db/schema.rb
===================================================================
--- trunk/db/schema.rb 2010-06-28 11:09:57 UTC (rev 1747)
+++ trunk/db/schema.rb 2010-06-29 15:34:23 UTC (rev 1748)
@@ -48,7 +48,7 @@
t.integer "domain_levels", :null => false
t.boolean "use_language_subdomains", :null => false
t.integer "my_openid_affiliate_id", :null => false
- t.string "available_subdomains_string", :default => "", :null => false
+ t.string "available_subdomains_string", :null => false
t.integer "minimum_diff_size", :null => false
t.integer "maximum_logi_size", :null => false
t.integer "maximum_logi_version_size", :null => false
@@ -68,7 +68,7 @@
t.string "user_tag_string", :null => false
t.string "user_group_tag_string", :null => false
t.string "peer_group_tag_string", :null => false
- t.string "replace_tag_string", :default => "", :null => false
+ t.string "replace_tag_string", :null => false
t.string "sandbox_tag_string", :null => false
t.string "untagged_tag_string", :null => false
t.boolean "use_log_log", :default => false, :null => false
@@ -108,34 +108,34 @@
t.integer "to_logi_version_nr"
t.string "requested_tags_string", :limit => 120
t.string "received_tags_string", :limit => 120
- t.string "position_ranges_string", :limit => 512, :default => "", :null => false
+ t.string "position_ranges_string", :limit => 512, :null => false
t.integer "stance", :null => false
t.datetime "created_at", :null => false
t.boolean "re_resolve", :default => false, :null => false
end
create_table "logi_versions", :force => true do |t|
- t.integer "logi_id", :null => false
- t.integer "editor_user_id", :null => false
- t.integer "nr", :null => false
- t.string "position_ranges_string", :limit => 8192, :default => ""
- t.datetime "created_at", :null => false
+ t.integer "logi_id", :null => false
+ t.integer "editor_user_id", :null => false
+ t.integer "nr", :null => false
+ t.string "position_ranges_string", :limit => 8192, :null => false
+ t.datetime "created_at", :null => false
end
add_index "logi_versions", ["logi_id", "nr"], :name => "index_logi_versions_on_logi_id_and_nr", :unique => true
create_table "logis", :force => true do |t|
- t.string "perma_id", :null => false
- t.integer "user_group_id", :null => false
- t.integer "creator_user_id", :null => false
- t.text "text_stack", :null => false
+ t.string "perma_id", :null => false
+ t.integer "user_group_id", :null => false
+ t.integer "creator_user_id", :null => false
+ t.text "text_stack", :null => false
t.string "current_title", :limit => 100
- t.string "current_snippet", :limit => 300, :null => false
- t.integer "restriction", :default => 0, :null => false
- t.string "tags_string", :limit => 120, :default => "", :null => false
- t.integer "visits", :default => 0, :null => false
- t.datetime "created_at", :null => false
- t.integer "kind", :null => false
+ t.string "current_snippet", :limit => 300, :null => false
+ t.integer "restriction", :default => 0, :null => false
+ t.string "tags_string", :limit => 120, :null => false
+ t.integer "visits", :default => 0, :null => false
+ t.datetime "created_at", :null => false
+ t.integer "kind", :null => false
end
add_index "logis", ["perma_id"], :name => "index_logis_on_perma_id", :unique => true
Modified: trunk/public/stylesheets/logilogi.css
===================================================================
--- trunk/public/stylesheets/logilogi.css 2010-06-28 11:09:57 UTC (rev 1747)
+++ trunk/public/stylesheets/logilogi.css 2010-06-29 15:34:23 UTC (rev 1748)
@@ -747,6 +747,7 @@
margin-right: 0.3em;
margin-top: 0.8em;
}
+#navigation_bar .author a,
#users_show #header a.user_link {
color: #fff;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-06-28 11:10:06
|
Revision: 1747
http://logilogi.svn.sourceforge.net/logilogi/?rev=1747&view=rev
Author: wybow
Date: 2010-06-28 11:09:57 +0000 (Mon, 28 Jun 2010)
Log Message:
-----------
Updated for poster making
Modified Paths:
--------------
tools/b-rex/b-rex
Modified: tools/b-rex/b-rex
===================================================================
--- tools/b-rex/b-rex 2010-06-27 22:14:45 UTC (rev 1746)
+++ tools/b-rex/b-rex 2010-06-28 11:09:57 UTC (rev 1747)
@@ -84,6 +84,8 @@
@options.process = false
@options.assemble = false
@options.expand = false
+ @options.list_margin = '1.9em'
+ @options.list_squeeze = false
end
# Parse options, check arguments, then process the command
@@ -178,6 +180,7 @@
def expand(filename)
check_filename_argument(filename, 'assembled latex-file')
contents = File.open(File.expand_path(filename + ASSEMBLED_SUFFIX, BASE_PATH)).read
+ contents = expand_code(contents)
contents = expand_item_lists(contents)
contents = expand_frames(contents)
contents = expand_styles(contents)
@@ -218,8 +221,26 @@
return contents
end
+ def expand_code(contents)
+ lines = contents.split("\n")
+ lines.collect! do |line|
+ if line =~ /^(\s*)%b-r-c(=|)\s(.+)/
+ match = $~
+ code = match[3]
+ if match[2] and !match[2].empty?
+ line = eval code
+ else
+ eval code
+ line = ''
+ end
+ else
+ line
+ end
+ end
+ return lines.join("\n")
+ end
- NESTING_TYPES = {'*' => 'itemize', '#' => 'enumerate'}
+ NESTING_TYPES = {'*' => 'list', '#' => 'enumerate'}
def expand_item_lists(contents)
lines = contents.split("\n")
@@ -237,7 +258,16 @@
if whitespaces_in_line > whitespaces_in_last_line
nesting = NESTING_TYPES[match[2]]
item_nestings.push(nesting)
- line_begin += ' ' * whitespaces_in_line + '\begin{' + nesting + '}' + "\n"
+ if nesting == "list"
+ line_begin += ' ' * whitespaces_in_line + '\begin{list}{\labelitemi}{\leftmargin=' + self.options.list_margin + '}' + "\n"
+ if self.options.list_squeeze
+ line_begin += '\setlength{\itemsep}{0pt}' + "\n" +
+ '\setlength{\parskip}{0pt}' + "\n" +
+ '\setlength{\parsep}{0pt}' + "\n"
+ end
+ else
+ line_begin += ' ' * whitespaces_in_line + '\begin{' + nesting + '}' + "\n"
+ end
elsif whitespaces_in_line < whitespaces_in_last_line and
item_nestings.size > 0
nesting = item_nestings.pop
@@ -468,5 +498,5 @@
end
# Create and run the application
-app = BRex.new(ARGV)
-app.run
+br = BRex.new(ARGV)
+br.run
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-06-27 22:14:51
|
Revision: 1746
http://logilogi.svn.sourceforge.net/logilogi/?rev=1746&view=rev
Author: wybow
Date: 2010-06-27 22:14:45 +0000 (Sun, 27 Jun 2010)
Log Message:
-----------
Fixed small display bug on user pages
Modified Paths:
--------------
trunk/public/stylesheets/logilogi.css
Modified: trunk/public/stylesheets/logilogi.css
===================================================================
--- trunk/public/stylesheets/logilogi.css 2010-06-26 12:05:21 UTC (rev 1745)
+++ trunk/public/stylesheets/logilogi.css 2010-06-27 22:14:45 UTC (rev 1746)
@@ -575,9 +575,6 @@
#users_show #header_content img {
margin: -1em 0.8em 0em -0.5em;
}
-#users_show a.user_link {
- color: #fff;
-}
#header_text {
float: left;
}
@@ -750,7 +747,7 @@
margin-right: 0.3em;
margin-top: 0.8em;
}
-#navigation_bar .author a {
+#users_show #header a.user_link {
color: #fff;
}
#logi_insert {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-06-26 12:05:31
|
Revision: 1745
http://logilogi.svn.sourceforge.net/logilogi/?rev=1745&view=rev
Author: wybow
Date: 2010-06-26 12:05:21 +0000 (Sat, 26 Jun 2010)
Log Message:
-----------
Code cleanup
Modified Paths:
--------------
trunk/app/models/user.rb
trunk/config/locales/en.yml
trunk/db/schema.rb
Added Paths:
-----------
trunk/db/migrate/20100626115750_remove_chinese_portraits.rb
trunk/public/blank.html
Removed Paths:
-------------
trunk/app/controllers/chinese_opinion_controller.rb
trunk/app/controllers/chinese_portrait_controller.rb
trunk/app/models/chinese_answer.rb
trunk/app/models/chinese_opinion.rb
trunk/app/models/chinese_portrait.rb
trunk/app/views/chinese_portrait/
trunk/app/views/layouts/_lirmm_header.html.erb
trunk/test/fixtures/chinese_answers.yml
trunk/test/fixtures/chinese_opinions.yml
trunk/test/fixtures/chinese_portraits.yml
trunk/test/functional/chinese_portrait_controller_test.rb
trunk/test/unit/chinese_answer_test.rb
trunk/test/unit/chinese_opinion_test.rb
trunk/test/unit/chinese_portrait_test.rb
Deleted: trunk/app/controllers/chinese_opinion_controller.rb
===================================================================
--- trunk/app/controllers/chinese_opinion_controller.rb 2010-06-26 11:07:03 UTC (rev 1744)
+++ trunk/app/controllers/chinese_opinion_controller.rb 2010-06-26 12:05:21 UTC (rev 1745)
@@ -1,8 +0,0 @@
-class ChineseOpinionController < ApplicationController
-
- def create
- @chinese_portrait = ChinesePortrait.find( params['chinese_portrait_id'])
- @chinese_opinion = ChineseOpinion.new(:chinese_portrait => @chinese_portrait)
- end
-
-end
\ No newline at end of file
Deleted: trunk/app/controllers/chinese_portrait_controller.rb
===================================================================
--- trunk/app/controllers/chinese_portrait_controller.rb 2010-06-26 11:07:03 UTC (rev 1744)
+++ trunk/app/controllers/chinese_portrait_controller.rb 2010-06-26 12:05:21 UTC (rev 1745)
@@ -1,13 +0,0 @@
-class ChinesePortraitController < ApplicationController
-
- # creates a new chinese portrait in the database
- def create
- @chinese_portrait = ChinesePortrait.new(:user => current_user)
- @chinese_portrait.chinese_answers << ChineseAnswer.new(:answer => params[:chinese_portrait][:answer_0])
- @chinese_portrait.chinese_answers << ChineseAnswer.new(:answer => params[:chinese_portrait][:answer_1])
- @chinese_portrait.chinese_answers << ChineseAnswer.new(:answer => params[:chinese_portrait][:answer_2])
- @chinese_portrait.chinese_answers << ChineseAnswer.new(:answer => params[:chinese_portrait][:answer_3])
- @chinese_portrait.chinese_answers << ChineseAnswer.new(:answer => params[:chinese_portrait][:answer_4])
- end
-
-end
Deleted: trunk/app/models/chinese_answer.rb
===================================================================
--- trunk/app/models/chinese_answer.rb 2010-06-26 11:07:03 UTC (rev 1744)
+++ trunk/app/models/chinese_answer.rb 2010-06-26 12:05:21 UTC (rev 1745)
@@ -1,5 +0,0 @@
-class ChineseAnswer < ActiveRecord::Base
- ### Relationships
-
- belongs_to :chinese_portrait
-end
Deleted: trunk/app/models/chinese_opinion.rb
===================================================================
--- trunk/app/models/chinese_opinion.rb 2010-06-26 11:07:03 UTC (rev 1744)
+++ trunk/app/models/chinese_opinion.rb 2010-06-26 12:05:21 UTC (rev 1745)
@@ -1,6 +0,0 @@
-class ChineseOpinion < ActiveRecord::Base
- ### Relationships
-
- belongs_to :chinese_portrait
- belongs_to :user
-end
Deleted: trunk/app/models/chinese_portrait.rb
===================================================================
--- trunk/app/models/chinese_portrait.rb 2010-06-26 11:07:03 UTC (rev 1744)
+++ trunk/app/models/chinese_portrait.rb 2010-06-26 12:05:21 UTC (rev 1745)
@@ -1,11 +0,0 @@
-class ChinesePortrait < ActiveRecord::Base
- ### Relationships
-
- belongs_to :user
- has_many :chinese_answers
- has_many :chinese_opinions
-
- ### Validations
-
- validates_presence_of :user
-end
Modified: trunk/app/models/user.rb
===================================================================
--- trunk/app/models/user.rb 2010-06-26 11:07:03 UTC (rev 1744)
+++ trunk/app/models/user.rb 2010-06-26 12:05:21 UTC (rev 1745)
@@ -48,8 +48,6 @@
has_many :invitations, :dependent => :destroy
has_many :user_groups, :through => :user_group_memberships
has_many :peer_groups, :through => :peer_group_memberships
- has_one :chinese_portrait
- has_many :chinese_opinions
### Filters
Deleted: trunk/app/views/layouts/_lirmm_header.html.erb
===================================================================
--- trunk/app/views/layouts/_lirmm_header.html.erb 2010-06-26 11:07:03 UTC (rev 1744)
+++ trunk/app/views/layouts/_lirmm_header.html.erb 2010-06-26 12:05:21 UTC (rev 1745)
@@ -1,44 +0,0 @@
-<div id="network_bar">
- <div class="panel_content_padding">
- <%= t 'v.layouts.logi_logi_network_label' %>
- <a href="http://foundation.logilogi.org"><%= t 'v.layouts.logi_logi_foundation' %></a>
- - <b><%= GlobalConfig.domain %></b>
- <% GlobalConfig.available_subdomains.each do |l_code| %>
- <%= site_link(:text => '[' + l_code.camelcase + ']', :subdomain => l_code) %>
- <% end %>
- <%= t 'v.layouts.docs_development_list',
- :docs_open => '<a href="'," rel="nofollow">http://www.logilogi.org/pub/doc/app/">',
- :development_open => '<a href="'," rel="nofollow">http://sourceforge.net/projects/logilogi">',
- :list_open => '<a href="'," rel="nofollow">https://lists.sourceforge.net/lists/listinfo/logilogi-list">',
- :link_close => '</a>'
- </div>
-</div>
-<div id="header">
- <div id="header_content">
- <a href="/"><img src="/images/lirmm/logo.png" alt="LogiLogi book logo" /></a>
- </div>
- <div style="float:left">
- <img src="/images/header_background.png" width="6" height="68"/>
- </div>
- <div id="sessions">
- <% if current_user.anonymous? %>
- <%= link_to t('v.layouts.login'), new_user_session_url %> |
- <%= link_to t('v.layouts.'), new_user_url %>
- <% else %>
- <%= t 'v.layouts.welcome', :name => truncate(current_user.name, :length => 15) %> |
- <%= link_to t('v.layouts.user_page'), user_url(current_user) %> |
- <%= link_to t('v.layouts.preferences'), edit_user_url(current_user) %> |
- <%= link_to t('v.layouts.logout'), user_session_path, :method => :delete %>
- <% end %>
- </div>
- <div id="primarytabs">
- <ul>
- <li id="primarytabs_main"><%= link_to t('v.layouts.main'), root_url %></li>
- <li id="primarytabs_logis"><%= link_to t('v.layouts.topics_and_logis'), browse_logis_url(:ll_link_string => nil) %></li>
- <li id="primarytabs_changes"><%= link_to t('v.layouts.changes'), changes_url %></li>
- <li id="primarytabs_groups"><%= link_to t('v.layouts.groups'), peer_groups_url %></li>
- <li id="primarytabs_users"><%= link_to t('v.layouts.users'), users_url %></li>
- </ul>
- </div>
- <div class="spacer"></div>
-</div>
Modified: trunk/config/locales/en.yml
===================================================================
--- trunk/config/locales/en.yml 2010-06-26 11:07:03 UTC (rev 1744)
+++ trunk/config/locales/en.yml 2010-06-26 12:05:21 UTC (rev 1745)
@@ -1,27 +1,27 @@
---
en:
activerecord:
- attributes:
- annotation:
+ attributes:
+ annotation:
message: Message
- logi:
+ logi:
body: Body
+ selection: Selection
title: Title
- selection: Selection
- peer_group:
+ peer_group:
name: Name
- remark:
+ remark:
message: Message
- user:
+ user:
email: Email
name: Name
password: Password
- password_confirmation: Password confirmation
- user_session:
+ password_confirmation: "Password confirmation"
+ user_session:
email: Email
name: Name
password: Password
- password_confirmation: Password confirmation
+ password_confirmation: "Password confirmation"
errors:
full_messages:
format: "{{attribute}} {{message}}"
@@ -51,26 +51,26 @@
header:
one: "1 error prohibited this {{model}} from being saved."
other: "{{count}} errors prohibited this {{model}} from being saved."
- models:
+ models:
annotation: comment
logi: logi
- logi_version: logi version
+ logi_version: "logi version"
remark: comment
user: user
- user_session: user session
- authlogic:
- error_messages:
- login_blank: can not be blank.
- login_not_found: is not valid.
- login_invalid: should use only letters, numbers, spaces, and .-_@ please.
- consecutive_failed_logins_limit_exceeded: Consecutive failed logins limit exceeded, account is disabled.
- email_invalid: should look like an email address.
- password_blank: can not be blank.
- password_invalid: is not valid.
- not_active: Your account is not active.
- not_confirmed: Your account is not confirmed.
- not_approved: Your account is not approved.
- no_authentication_details: You did not provide any details for authentication.
+ user_session: "user session"
+ authlogic:
+ error_messages:
+ consecutive_failed_logins_limit_exceeded: "Consecutive failed logins limit exceeded, account is disabled."
+ email_invalid: "should look like an email address."
+ login_blank: "can not be blank."
+ login_invalid: "should use only letters, numbers, spaces, and .-_@ please."
+ login_not_found: "is not valid."
+ no_authentication_details: "You did not provide any details for authentication."
+ not_active: "Your account is not active."
+ not_approved: "Your account is not approved."
+ not_confirmed: "Your account is not confirmed."
+ password_blank: "can not be blank."
+ password_invalid: "is not valid."
c:
annotations:
added: "Successfully added comment."
@@ -295,9 +295,9 @@
back: Back
blog_title_label: "Logi blog title"
cancel: Cancel
+ check_length_exeeded: "You've exceeded the maximum length by {{size}} characters!"
check_length_max: "The maximum length is {{max}} characters. You already use {{size}}."
check_length_reached: "You've reached the maximum length ({{max}})."
- check_length_exeeded: "You've exceeded the maximum length by {{size}} characters!"
click_here: "Click here."
complete: Complete
continue: Continue
@@ -309,9 +309,9 @@
error_bounds: "Score out of bounds -2, 5."
error_cannot_point: "cannot point to itself."
error_end_position_range_bigger: "End of PositionRange bigger than the logi:"
+ error_message_too_long: "Message is too long (maximum is {{max}} characters)"
error_must_start: "must start with a capital letter."
error_should_contain: "should only contain alphanumerical symbols, spaces, underscores, dots and hyphens."
- error_message_too_long: "Message is too long (maximum is {{max}} characters)"
error_tag_invalid_string: "Invalid tag string."
error_tag_reserved_words: "'Do' and 'Pub' are reserverd words."
group: Group
@@ -360,7 +360,7 @@
one: "{{count}} hour ago"
other: "{{count}} hours ago"
incoming: Incoming
- insert: Attach to phrase
+ insert: "Attach to phrase"
insert_insert: "Attach to phrase"
insert_inserting: "Attach things to a phrase."
inserting: "Currently attaching things to a phrase in this logi."
@@ -399,14 +399,14 @@
const:
bad: bad
everyone_edit: "Everyone can edit"
+ excellent: excellent
exceptional: exceptional
fair: fair
good: good
neutral: neutral
+ off_topic: "off topic"
ok: ok
- off_topic: "off topic"
owner_edit: "Only the owner can edit"
- excellent: excellent
context: ~
external_link:
html_tags_not_allowed: "html tags are not allowed inside external links."
@@ -436,8 +436,8 @@
error_too_long: "of logis cannot be this long. It has to be less than {{max}} characters. Please continue with a new logi."
error_wrong_spec: "Invalid logi specification."
logi_version:
+ error_cannot_contain_link: "cannot contain links. Add them through 'Attach to phrase'."
error_cannot_contain_tag: "cannot contain the html tag {{tag}}."
- error_cannot_contain_link: "cannot contain links. Add them through 'Attach to phrase'."
error_empty: "cannot be empty."
error_existing_record: "Tried to set text for an existing record."
error_hash: "Invalid logi_version hash given."
@@ -467,12 +467,12 @@
used_tag:
error_not_found: "UsedTag not found."
user:
+ blog_title: "A Collected Logis Blog"
+ error_capital_letter: "must start with a capital letter."
error_email_incorrect: "is incorrect, please check for typos."
error_reserved_word: "can't be a reserved word."
- error_capital_letter: "must start with a capital letter."
home_body: "This is {{name}}s user page."
home_title: "About {{name}}"
- blog_title: "A Collected Logis Blog"
user_group:
home_body: "This is the homepage of the {{name}} usergroup."
home_title: "Home of the {{name}} usergroup."
@@ -534,10 +534,10 @@
indeed_remove: "Check if these are indeed the comments you want to detach and delete. Then submit."
which_annotations: "Which comments?"
application:
- error: "Error"
- warning: "Warning"
- notice: "Notice"
are_you_sure: "Are you sure?"
+ error: Error
+ notice: Notice
+ warning: Warning
yes_delete: "Yes, delete"
changes:
at: at
@@ -614,20 +614,20 @@
link_download: "available for download"
logi_logi_foundation: "The LogiLogi Foundation"
logi_logi_network_label: "Part of the LogiLogi Network:"
- login: "Login"
+ login: Login
logout: Logout
means_available: "This means that the source code is {{link}}."
needs_javascript: "{{link}} needs Javascript enabled, and only works in {{firefox_open}}Firefox 3{{link_close}}, and in Internet Explorer 7."
new: New
preferences: Preferences
- rankings: "Rankings"
- search: "Search"
+ rankings: Rankings
+ search: Search
second_version: "The second version of LogiLogi, now in public beta."
signup: "Signup for account"
title_line: "Philosophy on-line, discuss your ideas"
user_page: "User page"
users: Users
- view: "View"
+ view: View
welcome: "Welcome {{name}}"
links:
are_you_sure: "Are you sure?"
@@ -685,11 +685,9 @@
tags: Tags
want_browsed: "Want your logi to be browsed to?"
logis:
- load_editor: "Expand reply editor"
+ add_remark: "add comment"
+ add_tag: "Add tag"
add_word_or_tag: "Add word or tag"
- add_tag: "Add tag"
- search_word_or_tag: "Search word or tag"
- add_remark: "add comment"
are_positive:
one: ", {{count}} is positive"
other: ", {{count}} are positive"
@@ -700,11 +698,11 @@
can_do_better: "Can you do better?"
can_edit: "You can edit this logi."
check: "Check:"
+ check_length_exeeded: "You've exceeded the maximum length of a logi by {{size}} characters!"
check_length_max: "The maximum length of a logi is {{max}} characters. You already use {{size}}."
check_length_reached: "You've reached the maximum length of a logi ({{max}})."
- check_length_exeeded: "You've exceeded the maximum length of a logi by {{size}} characters!"
+ clear_query: "Clear query"
clear_tags: "Clear tags"
- clear_query: "Clear query"
click_load_editor: "Tip: Click inside this box to load an editor for your logi"
commenting: "Replying logis"
comments_has:
@@ -741,6 +739,7 @@
create_new_competing_logi: "Create a new logi for these tags"
edit: "Expand editor"
enable_edit_tags: "Enable and edit its tags"
+ extras_label: "Extras: Title and Tags"
find_next_time: "Want to find it next time?"
found_for_tag_sets: "Found logis for tag sets"
found_logi: "Found the logi."
@@ -754,6 +753,7 @@
insert_into: "Attach something to phrase"
insert_or_remove: "Attach or detach?"
like_tree: "Tags are like a location in a tree, start by setting the most important tag above. If no tag is set, the 'Sandbox' tag will be used."
+ load_editor: "Expand reply editor"
new_for_tags: "Create a new logi for these tags."
newest_by_rating: "Displaying the newest logis, ordered by rating."
next: Next
@@ -773,12 +773,12 @@
related_tags_suggested: "Related tags suggested for browsing."
remark_to_author: "Short comment to author?"
remarks: Comments
+ search_word_or_tag: "Search word or tag"
select_edit: "Select whether you want to edit the text, or the settings."
select_insert_remove: "Select whether you want to attach things to phrases in the text, or detach them from the text."
+ set_a_tag: "Logi needs at least one tag"
set_tag: "Set tag"
- set_a_tag: "Logi needs at least one tag"
tags_label: "tags:"
- extras_label: "Extras: Title and Tags"
title_label: "Title:"
usergroup_label: "Usergroup:"
votes:
@@ -827,7 +827,7 @@
please_bear: "Please bear with us that LogiLogi is still in public alpha, and not everything might be working perfectly yet."
please_contact: "If you encounter any problem please contact us at {{admin_email}}."
reset_request: "A request to reset your password for {{domain}} has been made."
- sir_madam: "Sir/Madam"
+ sir_madam: Sir/Madam
user_page_is: "Your user-page on LogiLogi is:"
password_resets:
be_emailed: "Instructions to reset your password will be emailed to you."
@@ -881,7 +881,7 @@
no_recent_version: "No, always link to the most recent version."
permanent_link_label: "Permanent link:"
yes_current_version: "Yes, lock to the current/provided version."
- rankings:
+ rankings:
top_logis: "The overall top logis"
top_users: "The best authors"
ratings:
@@ -922,7 +922,6 @@
api_key: "API key"
api_key_is_label: "Your API-key is:"
change_account_settings: "You can change your account settings."
- post_new: "Post a new logi to your logi blog"
create_edit_invite_peer_groups: "Create, edit and invite people to peergroups."
created_logis_label: "Created logis:"
default_peer_group: "Default peergroup"
@@ -939,14 +938,15 @@
invite_to_peer_groups: "You can invite people to peergroups that you're a member of."
leave_blank: "Leave blank/unchanged any field you don't want to change."
link_label: "Link:"
+ new_logi: "New logi"
normal: Normal
- new_logi: "New logi"
openid_here: "If you don't have an {{explain_open}}OpenID{{link_close}} yet, you can sign up for one {{signup_open}}here{{link_close}}"
or_signup_openid: "Or signup with OpenID."
password_confirmation_label: "Password confirmation:"
password_label: "Password:"
peer_groups: Peergroups
personal_rss: "Personal RSS feed."
+ post_new: "Post a new logi to your logi blog"
select_default_peer_group: "Select your default peergroup."
set_avatar: "You can set your avatar."
settings: Settings
Added: trunk/db/migrate/20100626115750_remove_chinese_portraits.rb
===================================================================
--- trunk/db/migrate/20100626115750_remove_chinese_portraits.rb (rev 0)
+++ trunk/db/migrate/20100626115750_remove_chinese_portraits.rb 2010-06-26 12:05:21 UTC (rev 1745)
@@ -0,0 +1,11 @@
+class RemoveChinesePortraits < ActiveRecord::Migration
+ def self.up
+ drop_table :chinese_answers
+ drop_table :chinese_opinions
+ drop_table :chinese_portraits
+ end
+
+ def self.down
+ raise 'No way back'
+ end
+end
Modified: trunk/db/schema.rb
===================================================================
--- trunk/db/schema.rb 2010-06-26 11:07:03 UTC (rev 1744)
+++ trunk/db/schema.rb 2010-06-26 12:05:21 UTC (rev 1745)
@@ -9,7 +9,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20100623093032) do
+ActiveRecord::Schema.define(:version => 20100626115750) do
create_table "acts_as_xapian_jobs", :force => true do |t|
t.string "model", :null => false
@@ -27,26 +27,6 @@
t.datetime "created_at", :null => false
end
- create_table "chinese_answers", :force => true do |t|
- t.integer "chinese_portrait_id", :null => false
- t.integer "question_nr", :null => false
- t.string "answer", :null => false
- t.datetime "created_at", :null => false
- end
-
- create_table "chinese_opinions", :force => true do |t|
- t.integer "chinese_portrait_id", :null => false
- t.integer "user_id", :null => false
- t.integer "question_nr", :null => false
- t.string "answer", :null => false
- t.datetime "created_at", :null => false
- end
-
- create_table "chinese_portraits", :force => true do |t|
- t.integer "user_id", :null => false
- t.datetime "created_at", :null => false
- end
-
create_table "commentings", :force => true do |t|
t.integer "user_id", :null => false
t.integer "from_logi_id", :null => false
@@ -68,7 +48,7 @@
t.integer "domain_levels", :null => false
t.boolean "use_language_subdomains", :null => false
t.integer "my_openid_affiliate_id", :null => false
- t.string "available_subdomains_string", :null => false
+ t.string "available_subdomains_string", :default => "", :null => false
t.integer "minimum_diff_size", :null => false
t.integer "maximum_logi_size", :null => false
t.integer "maximum_logi_version_size", :null => false
@@ -88,7 +68,7 @@
t.string "user_tag_string", :null => false
t.string "user_group_tag_string", :null => false
t.string "peer_group_tag_string", :null => false
- t.string "replace_tag_string", :null => false
+ t.string "replace_tag_string", :default => "", :null => false
t.string "sandbox_tag_string", :null => false
t.string "untagged_tag_string", :null => false
t.boolean "use_log_log", :default => false, :null => false
@@ -128,34 +108,34 @@
t.integer "to_logi_version_nr"
t.string "requested_tags_string", :limit => 120
t.string "received_tags_string", :limit => 120
- t.string "position_ranges_string", :limit => 512, :null => false
+ t.string "position_ranges_string", :limit => 512, :default => "", :null => false
t.integer "stance", :null => false
t.datetime "created_at", :null => false
t.boolean "re_resolve", :default => false, :null => false
end
create_table "logi_versions", :force => true do |t|
- t.integer "logi_id", :null => false
- t.integer "editor_user_id", :null => false
- t.integer "nr", :null => false
- t.string "position_ranges_string", :limit => 8192, :null => false
- t.datetime "created_at", :null => false
+ t.integer "logi_id", :null => false
+ t.integer "editor_user_id", :null => false
+ t.integer "nr", :null => false
+ t.string "position_ranges_string", :limit => 8192, :default => ""
+ t.datetime "created_at", :null => false
end
add_index "logi_versions", ["logi_id", "nr"], :name => "index_logi_versions_on_logi_id_and_nr", :unique => true
create_table "logis", :force => true do |t|
- t.string "perma_id", :null => false
- t.integer "user_group_id", :null => false
- t.integer "creator_user_id", :null => false
- t.text "text_stack", :null => false
+ t.string "perma_id", :null => false
+ t.integer "user_group_id", :null => false
+ t.integer "creator_user_id", :null => false
+ t.text "text_stack", :null => false
t.string "current_title", :limit => 100
- t.string "current_snippet", :limit => 300, :null => false
- t.integer "restriction", :default => 0, :null => false
- t.string "tags_string", :limit => 120, :null => false
- t.integer "visits", :default => 0, :null => false
- t.datetime "created_at", :null => false
- t.integer "kind", :null => false
+ t.string "current_snippet", :limit => 300, :null => false
+ t.integer "restriction", :default => 0, :null => false
+ t.string "tags_string", :limit => 120, :default => "", :null => false
+ t.integer "visits", :default => 0, :null => false
+ t.datetime "created_at", :null => false
+ t.integer "kind", :null => false
end
add_index "logis", ["perma_id"], :name => "index_logis_on_perma_id", :unique => true
Added: trunk/public/blank.html
===================================================================
Deleted: trunk/test/fixtures/chinese_answers.yml
===================================================================
--- trunk/test/fixtures/chinese_answers.yml 2010-06-26 11:07:03 UTC (rev 1744)
+++ trunk/test/fixtures/chinese_answers.yml 2010-06-26 12:05:21 UTC (rev 1745)
@@ -1,40 +0,0 @@
-john_johnsons_1:
- chinese_portrait: john_johnsons
- question_nr: 1
- answer: A dog
-john_johnsons_2:
- chinese_portrait: john_johnsons
- question_nr: 2
- answer: A cat
-john_johnsons_3:
- chinese_portrait: john_johnsons
- question_nr: 3
- answer: A piano
-john_johnsons_4:
- chinese_portrait: john_johnsons
- question_nr: 4
- answer: Michael Jackson
-john_johnsons_5:
- chinese_portrait: john_johnsons
- question_nr: 5
- answer: Dagobert
-eduard_edisons_1:
- chinese_portrait: eduard_edisons
- question_nr: 1
- answer: A snake
-eduard_edisons_2:
- chinese_portrait: eduard_edisons
- question_nr: 2
- answer: A boa
-eduard_edisons_3:
- chinese_portrait: eduard_edisons
- question_nr: 3
- answer: A guitar
-eduard_edisons_4:
- chinese_portrait: eduard_edisons
- question_nr: 4
- answer: A gorilla
-eduard_edisons_5:
- chinese_portrait: eduard_edisons
- question_nr: 5
- answer: A rocket
Deleted: trunk/test/fixtures/chinese_opinions.yml
===================================================================
--- trunk/test/fixtures/chinese_opinions.yml 2010-06-26 11:07:03 UTC (rev 1744)
+++ trunk/test/fixtures/chinese_opinions.yml 2010-06-26 12:05:21 UTC (rev 1745)
@@ -1,12 +0,0 @@
-john_johnsons_opinion_on_eduard_edison:
- chinese_portrait: eduard_edisons
- user: john_johnson
- question_nr: 1
- answer: A dog
- created_at: <%= 10.days.ago.to_s(:db) %>
-eduard_edisons_opinion_on_john_johnson:
- chinese_portrait: john_johnsons
- user: eduard_edison
- question_nr: 1
- answer: An eagle
- created_at: <%= 10.days.ago.to_s(:db) %>
Deleted: trunk/test/fixtures/chinese_portraits.yml
===================================================================
--- trunk/test/fixtures/chinese_portraits.yml 2010-06-26 11:07:03 UTC (rev 1744)
+++ trunk/test/fixtures/chinese_portraits.yml 2010-06-26 12:05:21 UTC (rev 1745)
@@ -1,6 +0,0 @@
-eduard_edisons:
- user: eduard_edison
- created_at: <%= 10.days.ago.to_s(:db) %>
-john_johnsons:
- user: john_johnson
- created_at: <%= 10.days.ago.to_s(:db) %>
Deleted: trunk/test/functional/chinese_portrait_controller_test.rb
===================================================================
--- trunk/test/functional/chinese_portrait_controller_test.rb 2010-06-26 11:07:03 UTC (rev 1744)
+++ trunk/test/functional/chinese_portrait_controller_test.rb 2010-06-26 12:05:21 UTC (rev 1745)
@@ -1,8 +0,0 @@
-require 'test_helper'
-
-class ChinesePortraitControllerTest < ActionController::TestCase
- # Replace this with your real tests.
- test "the truth" do
- assert true
- end
-end
Deleted: trunk/test/unit/chinese_answer_test.rb
===================================================================
--- trunk/test/unit/chinese_answer_test.rb 2010-06-26 11:07:03 UTC (rev 1744)
+++ trunk/test/unit/chinese_answer_test.rb 2010-06-26 12:05:21 UTC (rev 1745)
@@ -1,8 +0,0 @@
-require 'test_helper'
-
-class ChineseAnswerTest < ActiveSupport::TestCase
- # Replace this with your real tests.
- test "the truth" do
- assert true
- end
-end
Deleted: trunk/test/unit/chinese_opinion_test.rb
===================================================================
--- trunk/test/unit/chinese_opinion_test.rb 2010-06-26 11:07:03 UTC (rev 1744)
+++ trunk/test/unit/chinese_opinion_test.rb 2010-06-26 12:05:21 UTC (rev 1745)
@@ -1,8 +0,0 @@
-require 'test_helper'
-
-class ChineseOpinionTest < ActiveSupport::TestCase
- # Replace this with your real tests.
- test "the truth" do
- assert true
- end
-end
Deleted: trunk/test/unit/chinese_portrait_test.rb
===================================================================
--- trunk/test/unit/chinese_portrait_test.rb 2010-06-26 11:07:03 UTC (rev 1744)
+++ trunk/test/unit/chinese_portrait_test.rb 2010-06-26 12:05:21 UTC (rev 1745)
@@ -1,8 +0,0 @@
-require 'test_helper'
-
-class ChinesePortraitTest < ActiveSupport::TestCase
- # Replace this with your real tests.
- test "the truth" do
- assert true
- end
-end
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-06-26 11:07:09
|
Revision: 1744
http://logilogi.svn.sourceforge.net/logilogi/?rev=1744&view=rev
Author: wybow
Date: 2010-06-26 11:07:03 +0000 (Sat, 26 Jun 2010)
Log Message:
-----------
Fixed IE background error
Modified Paths:
--------------
trunk/public/stylesheets/ie7.css
Modified: trunk/public/stylesheets/ie7.css
===================================================================
--- trunk/public/stylesheets/ie7.css 2010-06-26 10:53:58 UTC (rev 1743)
+++ trunk/public/stylesheets/ie7.css 2010-06-26 11:07:03 UTC (rev 1744)
@@ -1,3 +1,9 @@
+/* body background */
+
+body {
+ overflow: hidden;
+}
+
/* logi */
#logi {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-06-26 10:54:04
|
Revision: 1743
http://logilogi.svn.sourceforge.net/logilogi/?rev=1743&view=rev
Author: wybow
Date: 2010-06-26 10:53:58 +0000 (Sat, 26 Jun 2010)
Log Message:
-----------
Some more images & IE tag browsing fix
Modified Paths:
--------------
trunk/app/views/logis/_tag_list.html.erb
Added Paths:
-----------
trunk/public/do/magick_corners/box.484.1600.16.4.ffffff.55679e.png
trunk/public/do/magick_corners/scaled_image.28.height.down_button.svg.png
trunk/public/do/magick_corners/scaled_image.28.height.next_button.svg.png
trunk/public/do/magick_corners/scaled_image.28.height.up_button_disabled.svg.png
Modified: trunk/app/views/logis/_tag_list.html.erb
===================================================================
--- trunk/app/views/logis/_tag_list.html.erb 2010-06-26 09:53:04 UTC (rev 1742)
+++ trunk/app/views/logis/_tag_list.html.erb 2010-06-26 10:53:58 UTC (rev 1743)
@@ -1,8 +1,9 @@
-<div id="clear_button_space">
- <%= render :partial => 'logis/clear_button', :locals => {:name => name,
- :button_text => local_assigns[:clear_button_text]} %>
-</div>
<% if !local_assigns[:without_spacer] %>
+ <%# is there twice, below for navigation bars, to prevent IE-bug %>
+ <div id="clear_button_space">
+ <%= render :partial => 'logis/clear_button', :locals => {:name => name,
+ :button_text => local_assigns[:clear_button_text]} %>
+ </div>
<div class="spacer"></div>
<% end %>
<div id="<%= name %>" class="tags_container">
@@ -34,6 +35,13 @@
:no_focus => local_assigns[:no_focus]} %>
</div>
</div>
+<% if local_assigns[:without_spacer] %>
+ <div id="clear_button_space">
+ <%= render :partial => 'logis/clear_button', :locals => {:name => name,
+ :button_text => local_assigns[:clear_button_text]} %>
+ </div>
+<% end %>
+
<% if !local_assigns[:without_form] %>
<%= end_form_tag() %>
<% end %>
Added: trunk/public/do/magick_corners/box.484.1600.16.4.ffffff.55679e.png
===================================================================
(Binary files differ)
Property changes on: trunk/public/do/magick_corners/box.484.1600.16.4.ffffff.55679e.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/public/do/magick_corners/scaled_image.28.height.down_button.svg.png
===================================================================
(Binary files differ)
Property changes on: trunk/public/do/magick_corners/scaled_image.28.height.down_button.svg.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/public/do/magick_corners/scaled_image.28.height.next_button.svg.png
===================================================================
(Binary files differ)
Property changes on: trunk/public/do/magick_corners/scaled_image.28.height.next_button.svg.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/public/do/magick_corners/scaled_image.28.height.up_button_disabled.svg.png
===================================================================
(Binary files differ)
Property changes on: trunk/public/do/magick_corners/scaled_image.28.height.up_button_disabled.svg.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-06-26 09:53:10
|
Revision: 1742
http://logilogi.svn.sourceforge.net/logilogi/?rev=1742&view=rev
Author: wybow
Date: 2010-06-26 09:53:04 +0000 (Sat, 26 Jun 2010)
Log Message:
-----------
Fixed contenders layout bug and IE history bug
Modified Paths:
--------------
trunk/app/controllers/logis_controller.rb
trunk/app/views/logis/_contending_logis.html.erb
trunk/app/views/logis/edit.html.erb
trunk/app/views/logis/index.html.erb
trunk/app/views/logis/index_new_edit.js.rjs
trunk/app/views/logis/new.html.erb
trunk/public/stylesheets/ie7.css
trunk/public/stylesheets/logilogi.css
Modified: trunk/app/controllers/logis_controller.rb
===================================================================
--- trunk/app/controllers/logis_controller.rb 2010-06-26 09:08:13 UTC (rev 1741)
+++ trunk/app/controllers/logis_controller.rb 2010-06-26 09:53:04 UTC (rev 1742)
@@ -88,7 +88,7 @@
end
render :template => 'logis/index_new_edit.js.rjs', :locals => {
:name => "browse_list",
- :url => ("/do/logis" + (current_context.link? ? "/" + current_context.link.to_s : "")),
+ :url => ('/do/logis' + (current_context.link? ? '/' + current_context.link.to_s : '')),
:with_main => true}
end
end
@@ -130,7 +130,7 @@
if !params[:selected]
render :template => 'logis/index_new_edit.js.rjs', :locals => {
:name => "logi_tags_edit_list",
- :url => (current_context.link? ? "/" + current_context.link.to_s + "/do/new" : "/do/new")}
+ :url => ((current_context.link? ? '/' + current_context.link.to_s : '') + '/do/new')}
end
end
end
@@ -188,7 +188,7 @@
if !params[:selected]
render :template => 'logis/index_new_edit.js.rjs', :locals => {
:name => "logi_tags_edit_list",
- :url => (current_context.link? ? "/" + current_context.link.to_s + "/do/edit" : nil)}
+ :url => (current_context.link.to_s + '/do/edit')}
end
end
end
Modified: trunk/app/views/logis/_contending_logis.html.erb
===================================================================
--- trunk/app/views/logis/_contending_logis.html.erb 2010-06-26 09:08:13 UTC (rev 1741)
+++ trunk/app/views/logis/_contending_logis.html.erb 2010-06-26 09:53:04 UTC (rev 1742)
@@ -26,14 +26,14 @@
<% if params[:action] != "new" and params[:action] != "edit" %>
<div id="contenders_padding">
<div class="notice_cloud"><%= t('v.logis.can_do_better') %></div>
- <div class="spacer"></div>
- <%= new_logi_button t('v.logis.create_new_competing_logi') %>
<div class="description">
<p>
<%= t('v.logis.count_contending', :count => contender_logis.size) %>
</p>
</div>
<div class="spacer"></div>
+ <%= new_logi_button t('v.logis.create_new_competing_logi') %>
+ <div class="spacer"></div>
</div>
<% else %>
<p class="one_line"> </p>
Modified: trunk/app/views/logis/edit.html.erb
===================================================================
--- trunk/app/views/logis/edit.html.erb 2010-06-26 09:08:13 UTC (rev 1741)
+++ trunk/app/views/logis/edit.html.erb 2010-06-26 09:53:04 UTC (rev 1742)
@@ -2,11 +2,9 @@
:html => {:id => "logi_form"}) do |form| %>
<%= render :partial => 'dhtml_history_js.html.erb' %>
<% javascript_tag do -%>
- <% if !current_context.link? %>
- if (dhtmlHistory.isFirstLoad()) {
- <%= add_simple_history_string('logi_tags_edit_list', '', '') %>
- }
- <% end -%>
+ if (dhtmlHistory.isFirstLoad()) {
+ <%= add_simple_history_string('logi_tags_edit_list', '/' + current_context.link.to_s + '/do/edit', '') %>
+ }
<% end %>
<%= render :partial => 'edit_with_tags', :locals => {:form => form} %>
<% end -%>
Modified: trunk/app/views/logis/index.html.erb
===================================================================
--- trunk/app/views/logis/index.html.erb 2010-06-26 09:08:13 UTC (rev 1741)
+++ trunk/app/views/logis/index.html.erb 2010-06-26 09:53:04 UTC (rev 1742)
@@ -3,7 +3,7 @@
<% javascript_tag do -%>
<% if !current_context.link? %>
if (dhtmlHistory.isFirstLoad()) {
- <%= add_simple_history_string('browse_list', '', '') %>
+ <%= add_simple_history_string('browse_list', '/do/logis', '') %>
}
<% end -%>
<% end %>
Modified: trunk/app/views/logis/index_new_edit.js.rjs
===================================================================
--- trunk/app/views/logis/index_new_edit.js.rjs 2010-06-26 09:08:13 UTC (rev 1741)
+++ trunk/app/views/logis/index_new_edit.js.rjs 2010-06-26 09:53:04 UTC (rev 1742)
@@ -10,5 +10,5 @@
if current_context.link?
page.add_simple_history(name, url, current_context.link.to_s)
else
- page.add_simple_history(name, '', '')
+ page.add_simple_history(name, url, '')
end
Modified: trunk/app/views/logis/new.html.erb
===================================================================
--- trunk/app/views/logis/new.html.erb 2010-06-26 09:08:13 UTC (rev 1741)
+++ trunk/app/views/logis/new.html.erb 2010-06-26 09:53:04 UTC (rev 1742)
@@ -2,7 +2,7 @@
<% javascript_tag do -%>
<% if !current_context.link? %>
if (dhtmlHistory.isFirstLoad()) {
- <%= add_simple_history_string('logi_tags_edit_list','','') %>
+ <%= add_simple_history_string('logi_tags_edit_list','/do/new','') %>
}
<% end -%>
<% end %>
Modified: trunk/public/stylesheets/ie7.css
===================================================================
--- trunk/public/stylesheets/ie7.css 2010-06-26 09:08:13 UTC (rev 1741)
+++ trunk/public/stylesheets/ie7.css 2010-06-26 09:53:04 UTC (rev 1742)
@@ -6,7 +6,8 @@
}
#contenders_padding .description {
- margin-top: -2.5em;
+ margin-top: -3.5em;
+ margin-bottom: 1em;
}
/* browsing */
Modified: trunk/public/stylesheets/logilogi.css
===================================================================
--- trunk/public/stylesheets/logilogi.css 2010-06-26 09:08:13 UTC (rev 1741)
+++ trunk/public/stylesheets/logilogi.css 2010-06-26 09:53:04 UTC (rev 1742)
@@ -925,6 +925,9 @@
#contenders .border_panel {
margin-left: 1em;
}
+#contenders .button {
+ float: right;
+}
#contenders_padding {
padding: 1em 0 0 1em;
margin-bottom: 1em;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-06-26 09:08:19
|
Revision: 1741
http://logilogi.svn.sourceforge.net/logilogi/?rev=1741&view=rev
Author: wybow
Date: 2010-06-26 09:08:13 +0000 (Sat, 26 Jun 2010)
Log Message:
-----------
Updated default images
Modified Paths:
--------------
trunk/public/do/magick_corners/scaled_image.24.height.add_tag.svg.png
Added Paths:
-----------
trunk/public/do/magick_corners/box.460.400.16.0.transparent.0.png
trunk/public/do/magick_corners/box.484.400.16.0.e0e1f3.0.png
trunk/public/do/magick_corners/scaled_image.26.height.add_tag.svg.png
trunk/public/do/magick_corners/scaled_image.26.height.link_tag.svg.png
trunk/public/do/magick_corners/scaled_image.29.height.add_tag.svg.png
Removed Paths:
-------------
trunk/public/do/magick_corners/box.149.400.16.0.ffffff.0.png
trunk/public/do/magick_corners/box.484.1200.16.4.ffffff.55679e.png
trunk/public/do/magick_corners/box.484.400.16.4.ffffff.e0e1f3.png
trunk/public/do/magick_corners/box.981.400.16.0.e0e1f3.0.png
trunk/public/do/magick_corners/image.484.400.wizzard_cloud.svg.20.north_west.png
trunk/public/do/magick_corners/image.484.400.wizzard_step_cloud.svg.20.north_west.png
trunk/public/do/magick_corners/image.486.400.popover_cloud.svg.42.north_west.png
trunk/public/do/magick_corners/scaled_image.21.height.add_tag.svg.png
trunk/public/do/magick_corners/scaled_image.21.height.link_tag.svg.png
trunk/public/do/magick_corners/scaled_image.27.height.add_button.svg.png
trunk/public/do/magick_corners/scaled_image.27.height.add_tag.svg.png
trunk/public/do/magick_corners/scaled_image.27.height.back_button.svg.png
trunk/public/do/magick_corners/scaled_image.27.height.cancel_button.svg.png
trunk/public/do/magick_corners/scaled_image.27.height.down_button.svg.png
trunk/public/do/magick_corners/scaled_image.27.height.down_button_disabled.svg.png
trunk/public/do/magick_corners/scaled_image.27.height.go_button.svg.png
trunk/public/do/magick_corners/scaled_image.27.height.insert_button.svg.png
trunk/public/do/magick_corners/scaled_image.27.height.link_tag.svg.png
trunk/public/do/magick_corners/scaled_image.27.height.next_button.svg.png
trunk/public/do/magick_corners/scaled_image.27.height.ok_button.svg.png
trunk/public/do/magick_corners/scaled_image.27.height.remove_tag.svg.png
trunk/public/do/magick_corners/scaled_image.27.height.unfold_button.svg.png
trunk/public/do/magick_corners/scaled_image.27.height.up_button.svg.png
trunk/public/do/magick_corners/scaled_image.27.height.up_button_disabled.svg.png
trunk/public/do/magick_corners/scaled_image.31.height.add_tag.svg.png
trunk/public/do/magick_corners/scaled_image.31.height.link_tag.svg.png
Deleted: trunk/public/do/magick_corners/box.149.400.16.0.ffffff.0.png
===================================================================
(Binary files differ)
Added: trunk/public/do/magick_corners/box.460.400.16.0.transparent.0.png
===================================================================
(Binary files differ)
Property changes on: trunk/public/do/magick_corners/box.460.400.16.0.transparent.0.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Deleted: trunk/public/do/magick_corners/box.484.1200.16.4.ffffff.55679e.png
===================================================================
(Binary files differ)
Added: trunk/public/do/magick_corners/box.484.400.16.0.e0e1f3.0.png
===================================================================
(Binary files differ)
Property changes on: trunk/public/do/magick_corners/box.484.400.16.0.e0e1f3.0.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Deleted: trunk/public/do/magick_corners/box.484.400.16.4.ffffff.e0e1f3.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/box.981.400.16.0.e0e1f3.0.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/image.484.400.wizzard_cloud.svg.20.north_west.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/image.484.400.wizzard_step_cloud.svg.20.north_west.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/image.486.400.popover_cloud.svg.42.north_west.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.21.height.add_tag.svg.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.21.height.link_tag.svg.png
===================================================================
(Binary files differ)
Modified: trunk/public/do/magick_corners/scaled_image.24.height.add_tag.svg.png
===================================================================
(Binary files differ)
Added: trunk/public/do/magick_corners/scaled_image.26.height.add_tag.svg.png
===================================================================
(Binary files differ)
Property changes on: trunk/public/do/magick_corners/scaled_image.26.height.add_tag.svg.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/public/do/magick_corners/scaled_image.26.height.link_tag.svg.png
===================================================================
(Binary files differ)
Property changes on: trunk/public/do/magick_corners/scaled_image.26.height.link_tag.svg.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Deleted: trunk/public/do/magick_corners/scaled_image.27.height.add_button.svg.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.27.height.add_tag.svg.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.27.height.back_button.svg.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.27.height.cancel_button.svg.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.27.height.down_button.svg.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.27.height.down_button_disabled.svg.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.27.height.go_button.svg.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.27.height.insert_button.svg.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.27.height.link_tag.svg.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.27.height.next_button.svg.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.27.height.ok_button.svg.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.27.height.remove_tag.svg.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.27.height.unfold_button.svg.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.27.height.up_button.svg.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.27.height.up_button_disabled.svg.png
===================================================================
(Binary files differ)
Added: trunk/public/do/magick_corners/scaled_image.29.height.add_tag.svg.png
===================================================================
(Binary files differ)
Property changes on: trunk/public/do/magick_corners/scaled_image.29.height.add_tag.svg.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Deleted: trunk/public/do/magick_corners/scaled_image.31.height.add_tag.svg.png
===================================================================
(Binary files differ)
Deleted: trunk/public/do/magick_corners/scaled_image.31.height.link_tag.svg.png
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-06-26 08:34:19
|
Revision: 1740
http://logilogi.svn.sourceforge.net/logilogi/?rev=1740&view=rev
Author: wybow
Date: 2010-06-26 08:34:13 +0000 (Sat, 26 Jun 2010)
Log Message:
-----------
Updated mv of template
Added Paths:
-----------
trunk/app/views/logis/index_new_edit.js.rjs
Removed Paths:
-------------
trunk/app/views/logis/_index_new_edit.js.rjs
Deleted: trunk/app/views/logis/_index_new_edit.js.rjs
===================================================================
--- trunk/app/views/logis/_index_new_edit.js.rjs 2010-06-26 08:27:55 UTC (rev 1739)
+++ trunk/app/views/logis/_index_new_edit.js.rjs 2010-06-26 08:34:13 UTC (rev 1740)
@@ -1,14 +0,0 @@
-page.replace 'primarytabs', @primary_tabs
-page.replace_html 'clear_button_space', @clear_button
-page.replace_html 'add_tag_button_space', @add_tag_button
-if local_assigns[:with_main]
- page.replace_html 'main_body', @content_for_main_body
-end
-page.replace_html 'side_body', @content_for_side_body
-page.call("mcorners.run")
-page.call(name + ".focus")
-if current_context.link?
- page.add_simple_history(name, url, current_context.link.to_s)
-else
- page.add_simple_history(name, '', '')
-end
Added: trunk/app/views/logis/index_new_edit.js.rjs
===================================================================
--- trunk/app/views/logis/index_new_edit.js.rjs (rev 0)
+++ trunk/app/views/logis/index_new_edit.js.rjs 2010-06-26 08:34:13 UTC (rev 1740)
@@ -0,0 +1,14 @@
+page.replace 'primarytabs', @primary_tabs
+page.replace_html 'clear_button_space', @clear_button
+page.replace_html 'add_tag_button_space', @add_tag_button
+if local_assigns[:with_main]
+ page.replace_html 'main_body', @content_for_main_body
+end
+page.replace_html 'side_body', @content_for_side_body
+page.call("mcorners.run")
+page.call(name + ".focus")
+if current_context.link?
+ page.add_simple_history(name, url, current_context.link.to_s)
+else
+ page.add_simple_history(name, '', '')
+end
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-06-26 08:28:01
|
Revision: 1739
http://logilogi.svn.sourceforge.net/logilogi/?rev=1739&view=rev
Author: wybow
Date: 2010-06-26 08:27:55 +0000 (Sat, 26 Jun 2010)
Log Message:
-----------
Added class check
Modified Paths:
--------------
trunk/config/initializers/mongrel.rb
Modified: trunk/config/initializers/mongrel.rb
===================================================================
--- trunk/config/initializers/mongrel.rb 2010-06-26 08:23:39 UTC (rev 1738)
+++ trunk/config/initializers/mongrel.rb 2010-06-26 08:27:55 UTC (rev 1739)
@@ -4,4 +4,4 @@
header_without_rails_fix(options)
end
alias_method_chain(:header, :rails_fix)
-end if Rails.version == '2.3.8'
+end if Rails.version == '2.3.8' and self.class.const_defined?(:Mongrel)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-06-26 08:23:46
|
Revision: 1738
http://logilogi.svn.sourceforge.net/logilogi/?rev=1738&view=rev
Author: wybow
Date: 2010-06-26 08:23:39 +0000 (Sat, 26 Jun 2010)
Log Message:
-----------
Monkey-patched mongrel bug
Modified Paths:
--------------
trunk/app/controllers/logis_controller.rb
trunk/public/cache.lua
Added Paths:
-----------
trunk/config/initializers/mongrel.rb
Modified: trunk/app/controllers/logis_controller.rb
===================================================================
--- trunk/app/controllers/logis_controller.rb 2010-06-25 20:21:05 UTC (rev 1737)
+++ trunk/app/controllers/logis_controller.rb 2010-06-26 08:23:39 UTC (rev 1738)
@@ -86,7 +86,7 @@
:button_class => 'go_button'})
@clear_button = ""
end
- render :partial => 'index_new_edit.js.rjs', :locals => {
+ render :template => 'logis/index_new_edit.js.rjs', :locals => {
:name => "browse_list",
:url => ("/do/logis" + (current_context.link? ? "/" + current_context.link.to_s : "")),
:with_main => true}
Added: trunk/config/initializers/mongrel.rb
===================================================================
--- trunk/config/initializers/mongrel.rb (rev 0)
+++ trunk/config/initializers/mongrel.rb 2010-06-26 08:23:39 UTC (rev 1738)
@@ -0,0 +1,7 @@
+class Mongrel::CGIWrapper
+ def header_with_rails_fix(options = 'text/html')
+ @head['cookie'] = options.delete('cookie').flatten.map { |v| v.sub(/^\n/,'') } if options.class != String and options['cookie']
+ header_without_rails_fix(options)
+ end
+ alias_method_chain(:header, :rails_fix)
+end if Rails.version == '2.3.8'
Modified: trunk/public/cache.lua
===================================================================
--- trunk/public/cache.lua 2010-06-25 20:21:05 UTC (rev 1737)
+++ trunk/public/cache.lua 2010-06-26 08:23:39 UTC (rev 1738)
@@ -20,6 +20,8 @@
elseif ( string.find(lighty.env["request.uri"], ".*\.atom$") ) then
return set_for_send("", {["Content-Type"] = "application/atom+xml"})
-- Misc html pages
+elseif ( string.find(lighty.env["request.uri"], ".*\.html$") ) then
+ return set_for_send("", {["Content-Type"] = "text/html"})
else
- return set_for_send(".html", {["Content-Type"] = "text/html"})
+ return lighty.RESTART_REQUEST
end
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-06-25 20:21:12
|
Revision: 1737
http://logilogi.svn.sourceforge.net/logilogi/?rev=1737&view=rev
Author: wybow
Date: 2010-06-25 20:21:05 +0000 (Fri, 25 Jun 2010)
Log Message:
-----------
Hopefully fixed RJS rendering problem
Modified Paths:
--------------
trunk/app/controllers/logis_controller.rb
Added Paths:
-----------
trunk/app/views/logis/_index_new_edit.js.rjs
Removed Paths:
-------------
trunk/app/views/logis/index_new_edit.js.rjs
Modified: trunk/app/controllers/logis_controller.rb
===================================================================
--- trunk/app/controllers/logis_controller.rb 2010-06-25 19:37:43 UTC (rev 1736)
+++ trunk/app/controllers/logis_controller.rb 2010-06-25 20:21:05 UTC (rev 1737)
@@ -86,7 +86,7 @@
:button_class => 'go_button'})
@clear_button = ""
end
- render :template => 'logis/index_new_edit.js.rjs', :locals => {
+ render :partial => 'index_new_edit.js.rjs', :locals => {
:name => "browse_list",
:url => ("/do/logis" + (current_context.link? ? "/" + current_context.link.to_s : "")),
:with_main => true}
Copied: trunk/app/views/logis/_index_new_edit.js.rjs (from rev 1726, trunk/app/views/logis/index_new_edit.js.rjs)
===================================================================
--- trunk/app/views/logis/_index_new_edit.js.rjs (rev 0)
+++ trunk/app/views/logis/_index_new_edit.js.rjs 2010-06-25 20:21:05 UTC (rev 1737)
@@ -0,0 +1,14 @@
+page.replace 'primarytabs', @primary_tabs
+page.replace_html 'clear_button_space', @clear_button
+page.replace_html 'add_tag_button_space', @add_tag_button
+if local_assigns[:with_main]
+ page.replace_html 'main_body', @content_for_main_body
+end
+page.replace_html 'side_body', @content_for_side_body
+page.call("mcorners.run")
+page.call(name + ".focus")
+if current_context.link?
+ page.add_simple_history(name, url, current_context.link.to_s)
+else
+ page.add_simple_history(name, '', '')
+end
Deleted: trunk/app/views/logis/index_new_edit.js.rjs
===================================================================
--- trunk/app/views/logis/index_new_edit.js.rjs 2010-06-25 19:37:43 UTC (rev 1736)
+++ trunk/app/views/logis/index_new_edit.js.rjs 2010-06-25 20:21:05 UTC (rev 1737)
@@ -1,14 +0,0 @@
-page.replace 'primarytabs', @primary_tabs
-page.replace_html 'clear_button_space', @clear_button
-page.replace_html 'add_tag_button_space', @add_tag_button
-if local_assigns[:with_main]
- page.replace_html 'main_body', @content_for_main_body
-end
-page.replace_html 'side_body', @content_for_side_body
-page.call("mcorners.run")
-page.call(name + ".focus")
-if current_context.link?
- page.add_simple_history(name, url, current_context.link.to_s)
-else
- page.add_simple_history(name, '', '')
-end
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-06-25 19:37:50
|
Revision: 1736
http://logilogi.svn.sourceforge.net/logilogi/?rev=1736&view=rev
Author: wybow
Date: 2010-06-25 19:37:43 +0000 (Fri, 25 Jun 2010)
Log Message:
-----------
Fixed small browsing error
Modified Paths:
--------------
trunk/app/views/logis/index.html.erb
Modified: trunk/app/views/logis/index.html.erb
===================================================================
--- trunk/app/views/logis/index.html.erb 2010-06-25 19:17:06 UTC (rev 1735)
+++ trunk/app/views/logis/index.html.erb 2010-06-25 19:37:43 UTC (rev 1736)
@@ -3,7 +3,7 @@
<% javascript_tag do -%>
<% if !current_context.link? %>
if (dhtmlHistory.isFirstLoad()) {
- <%= add_simple_history_string('logi_tags_edit_list', '', '') %>
+ <%= add_simple_history_string('browse_list', '', '') %>
}
<% end -%>
<% end %>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <wy...@us...> - 2010-06-25 19:17:12
|
Revision: 1735
http://logilogi.svn.sourceforge.net/logilogi/?rev=1735&view=rev
Author: wybow
Date: 2010-06-25 19:17:06 +0000 (Fri, 25 Jun 2010)
Log Message:
-----------
Fixed last (hopefully :) IE bug
Modified Paths:
--------------
trunk/public/stylesheets/ie7.css
Modified: trunk/public/stylesheets/ie7.css
===================================================================
--- trunk/public/stylesheets/ie7.css 2010-06-25 18:55:24 UTC (rev 1734)
+++ trunk/public/stylesheets/ie7.css 2010-06-25 19:17:06 UTC (rev 1735)
@@ -15,3 +15,10 @@
#browse_list_input {
margin-top: 1.2em;
}
+
+/* inserts */
+
+.wizzard_step_cloud_panel,
+.wizzard_cloud_panel {
+ width: 39.8em;
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|