opda-develop Mailing List for Open Podcast Directory Application
Brought to you by:
digitalpodcast
You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(53) |
Aug
(12) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
|
From: Alex N. <dig...@us...> - 2006-08-31 05:41:30
|
Update of /cvsroot/opda/OPDA/db In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21585/db Added Files: 2006-08-30opda_development.sql.zip Log Message: new db structure with sample podcast data --- NEW FILE: 2006-08-30opda_development.sql.zip --- (This appears to be a binary file; contents omitted.) |
|
From: Alex N. <dig...@us...> - 2006-08-31 05:38:11
|
Update of /cvsroot/opda/OPDA/app/views/admin/categories In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv20338/app/views/admin/categories Removed Files: category_setup.rhtml Log Message: category set up eliminated all views may need to go --- category_setup.rhtml DELETED --- |
|
From: Alex N. <dig...@us...> - 2006-08-31 05:35:48
|
Update of /cvsroot/opda/OPDA/components/sidebar/sidetags In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19234/components/sidebar/sidetags Modified Files: category_list.rhtml Log Message: mods to render cat list from sub lists Index: category_list.rhtml =================================================================== RCS file: /cvsroot/opda/OPDA/components/sidebar/sidetags/category_list.rhtml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** category_list.rhtml 26 Jul 2006 21:40:14 -0000 1.5 --- category_list.rhtml 31 Aug 2006 05:35:45 -0000 1.6 *************** *** 4,23 **** <h4><%= "Browse Categories".t %></h4> <ul class="nobulletlist"> ! <% depth_check = 0 %> ! <% for category in @categories %> ! <% if category.depth == depth_check %> ! <li><div id="cat<%=category.id%>"> ! <%= render :partial => 'category', :object => category %> ! <% depth_check = category.depth %> ! <% elsif category.depth > depth_check %> ! <ul id="subcat<%=category.parent_id%>" class="subcatlist" style="display:none"> ! <li><div id="cat<%=category.id%>"> ! <%= render :partial => 'category', :object => category %> ! <% depth_check = category.depth %> ! <% elsif category.depth < depth_check %> ! </ul><li><div id="cat<%=category.id%>"> ! <%= render :partial => 'category', :object => category %> ! <% depth_check = category.depth %> ! <% end %> <% end %> </ul> --- 4,12 ---- <h4><%= "Browse Categories".t %></h4> <ul class="nobulletlist"> ! <% if !@categories.nil? %> ! <% categories = @categories.children %> ! <% for category in categories %> ! <li><%= link_to h(category.title), :controller => 'channels', :action => 'show_category', :id => category.id %></li> ! <% end %> <% end %> </ul> |
|
From: Alex N. <dig...@us...> - 2006-08-31 05:35:15
|
Update of /cvsroot/opda/OPDA/app/views/tags In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv19178/app/views/tags Modified Files: show.rhtml Log Message: default art change image from png to jpg Index: show.rhtml =================================================================== RCS file: /cvsroot/opda/OPDA/app/views/tags/show.rhtml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** show.rhtml 26 Jul 2006 21:39:24 -0000 1.3 --- show.rhtml 31 Aug 2006 05:35:10 -0000 1.4 *************** *** 11,15 **** <% if channel.itunes_image.nil?%> ! <%= theme_image_tag("defaultart.png",:size => "100x100", :border => 0)%> <% else %> <%= image_tag(channel.itunes_image,:size => "100x100", :border => 0)%> --- 11,15 ---- <% if channel.itunes_image.nil?%> ! <%= theme_image_tag("defaultart.jpg",:size => "100x100", :border => 0)%> <% else %> <%= image_tag(channel.itunes_image,:size => "100x100", :border => 0)%> |
|
From: Alex N. <dig...@us...> - 2006-08-31 05:34:15
|
Update of /cvsroot/opda/OPDA/app/views/subscription_lists In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18787/app/views/subscription_lists Modified Files: list.rhtml Added Files: category_setup.rhtml Log Message: added changes to support adding categories to sub lists Index: list.rhtml =================================================================== RCS file: /cvsroot/opda/OPDA/app/views/subscription_lists/list.rhtml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** list.rhtml 24 Jul 2006 14:43:11 -0000 1.4 --- list.rhtml 31 Aug 2006 05:34:13 -0000 1.5 *************** *** 6,9 **** --- 6,10 ---- <li> Expand the tree and click on a list to see your podcast subscriptions</li> </ul> + </div><!--end widecenter --> *************** *** 13,37 **** <div id="left" class="narrowleft"> ! <ul class="nobulletlist"> ! <% depth_check = 0 %> ! <% for subscription_list in @subscription_lists %> ! <% if subscription_list.depth == depth_check %> ! <li><div id="list<%=subscription_list.id%>"> ! <%= render :partial => 'subscription_list', :object => subscription_list %> ! <% depth_check = subscription_list.depth %> ! <% elsif subscription_list.depth > depth_check %> ! <ul id="subscriptionlist<%=subscription_list.parent_id%>" class="subcatlist" style="display:none"> ! <li><div id="list<%=subscription_list.id%>"> ! <%= render :partial => 'subscription_list', :object => subscription_list %> ! <% depth_check = subscription_list.depth %> ! <% elsif subscription_list.depth < depth_check %> ! </ul><li><div id="list<%=subscription_list.id%>"> ! <%= render :partial => 'subscription_list', :object => subscription_list %> ! <% depth_check = subscription_list.depth %> ! <% end %> ! <% end %> ! </ul> <br /> --- 14,33 ---- <div id="left" class="narrowleft"> ! <ul> ! <li>My Lists</li> ! ! <%= display_tree_recursive(@mylists, 0) { |node| link_to_remote(node.title, :url => {:controller => 'subscription_lists', :action => 'show', :id => node.id })} %> + <li>Watched Lists</li> + <ul> + <li>My watch lists go here</li> + </ul> + <li>Watched Tags</li> + <ul> + <li>My tag lists go here</li> + </ul> + + </ul> <br /> --- NEW FILE: category_setup.rhtml --- <%= @flash[:note] %><%= debug(@xml.to_s)%> |
|
From: Alex N. <dig...@us...> - 2006-08-31 05:33:46
|
Update of /cvsroot/opda/OPDA/app/views/channels In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18429/app/views/channels Modified Files: _form.rhtml index.rhtml Log Message: added changes to support add podcast Index: index.rhtml =================================================================== RCS file: /cvsroot/opda/OPDA/app/views/channels/index.rhtml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** index.rhtml 26 Jul 2006 21:38:12 -0000 1.5 --- index.rhtml 31 Aug 2006 05:33:43 -0000 1.6 *************** *** 6,10 **** <div class="image50"> <% if channel.itunes_image.nil? %> ! <%= link_to theme_image_tag("defaultart.png",:size => "50x50", :border => 0), :action => 'show', :id => channel%> <% else %> <%= link_to image_tag(channel.itunes_image,:size => "50x50", :border => 0), :action => 'show', :id => channel%> --- 6,10 ---- <div class="image50"> <% if channel.itunes_image.nil? %> ! <%= link_to theme_image_tag("defaultart.jpg",:size => "50x50", :border => 0), :action => 'show', :id => channel%> <% else %> <%= link_to image_tag(channel.itunes_image,:size => "50x50", :border => 0), :action => 'show', :id => channel%> *************** *** 25,29 **** <div class="feature<%=left_or_right%>"> <% if channel.itunes_image.nil? %> ! <%= link_to theme_image_tag("defaultart.png",:size => "144x144", :border => 0), :action => 'show', :id => channel%> <% else %> <%= link_to image_tag(channel.itunes_image,:size => "144x144", :border => 0), :action => 'show', :id => channel%> --- 25,29 ---- <div class="feature<%=left_or_right%>"> <% if channel.itunes_image.nil? %> ! <%= link_to theme_image_tag("defaultart.jpg",:size => "144x144", :border => 0), :action => 'show', :id => channel%> <% else %> <%= link_to image_tag(channel.itunes_image,:size => "144x144", :border => 0), :action => 'show', :id => channel%> Index: _form.rhtml =================================================================== RCS file: /cvsroot/opda/OPDA/app/views/channels/_form.rhtml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** _form.rhtml 24 Jun 2006 07:12:59 -0000 1.1 --- _form.rhtml 31 Aug 2006 05:33:43 -0000 1.2 *************** *** 2,79 **** <!--[form:channel]--> - <p><label for="channel_title">Title</label><br/> - <%= text_field 'channel', 'title' %></p> - - <p><label for="channel_description">Description</label><br/> - <%= text_area 'channel', 'description' %></p> - - <p><label for="channel_link_url">Link url</label><br/> - <%= text_area 'channel', 'link_url' %></p> - - <p><label for="channel_feed_url">Feed url</label><br/> - <%= text_area 'channel', 'feed_url' %></p> - - <p><label for="channel_image_url">Image url</label><br/> - <%= text_area 'channel', 'image_url' %></p> - - <p><label for="channel_itunes_keywords">Itunes keywords</label><br/> - <%= text_area 'channel', 'itunes_keywords' %></p> - - <p><label for="channel_suspended">Suspended</label><br/> - <%= text_field 'channel', 'suspended' %></p> - - <p><label for="channel_language">Language</label><br/> - <%= text_field 'channel', 'language' %></p> - - <p><label for="channel_copyright">Copyright</label><br/> - <%= text_field 'channel', 'copyright' %></p> - - <p><label for="channel_managingeditor">Managingeditor</label><br/> - <%= text_field 'channel', 'managingeditor' %></p> - - <p><label for="channel_webmaster">Webmaster</label><br/> - <%= text_field 'channel', 'webmaster' %></p> - - <p><label for="channel_pubdate">Pubdate</label><br/> - <%= datetime_select 'channel', 'pubdate' %></p> - - <p><label for="channel_lastbuilddate">Lastbuilddate</label><br/> - <%= datetime_select 'channel', 'lastbuilddate' %></p> - - <p><label for="channel_ttl">Ttl</label><br/> - <%= text_field 'channel', 'ttl' %></p> - - <p><label for="channel_rating">Rating</label><br/> - <%= text_field 'channel', 'rating' %></p> - - <p><label for="channel_skiphours">Skiphours</label><br/> - <%= text_field 'channel', 'skiphours' %></p> - - <p><label for="channel_skipdays">Skipdays</label><br/> - <%= text_field 'channel', 'skipdays' %></p> - - <p><label for="channel_created_at">Created at</label><br/> - <%= datetime_select 'channel', 'created_at' %></p> - - <p><label for="channel_updated_at">Updated at</label><br/> - <%= datetime_select 'channel', 'updated_at' %></p> ! <p><label for="channel_itunes_author">Itunes author</label><br/> ! <%= text_field 'channel', 'itunes_author' %></p> ! ! <p><label for="channel_itunes_block">Itunes block</label><br/> ! <%= text_field 'channel', 'itunes_block' %></p> ! ! <p><label for="channel_itunes_image">Itunes image</label><br/> ! <%= text_area 'channel', 'itunes_image' %></p> ! ! <p><label for="channel_itunes_owner">Itunes owner</label><br/> ! <%= text_field 'channel', 'itunes_owner' %></p> - <p><label for="channel_itunes_summary">Itunes summary</label><br/> - <%= text_area 'channel', 'itunes_summary' %></p> - <p><label for="channel_itunes_subtitle">Itunes subtitle</label><br/> - <%= text_field 'channel', 'itunes_subtitle' %></p> <!--[eoform:channel]--> --- 2,11 ---- <!--[form:channel]--> ! <p><label for="channel_feed_url">Add your podcast feed URL (for example http://www.mypodcast.com/rss.xml)</label><br/> ! <%= text_field 'channel', 'feed_url', 'size' => 45, 'value' => 'http://' %></p> ! <p>Podcast is for ADULTS ONLY <%= radio_button("channel", "adult", "true") %> </p> <!--[eoform:channel]--> |
|
From: Alex N. <dig...@us...> - 2006-08-31 05:33:02
|
Update of /cvsroot/opda/OPDA/app/models In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18035/app/models Removed Files: explicit_type.rb enclosure_type.rb category.rb Log Message: eliminated models that were taken out of model --- category.rb DELETED --- --- enclosure_type.rb DELETED --- --- explicit_type.rb DELETED --- |
|
From: Alex N. <dig...@us...> - 2006-08-31 05:31:14
|
Update of /cvsroot/opda/OPDA/app/helpers In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17577/app/helpers Modified Files: application_helper.rb Log Message: no changes Index: application_helper.rb =================================================================== RCS file: /cvsroot/opda/OPDA/app/helpers/application_helper.rb,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** application_helper.rb 24 Jun 2006 07:12:09 -0000 1.1 --- application_helper.rb 31 Aug 2006 05:31:11 -0000 1.2 *************** *** 3,5 **** --- 3,7 ---- include LoginEngine include UserEngine + + end |
|
From: Alex N. <dig...@us...> - 2006-08-31 05:30:49
|
Update of /cvsroot/opda/OPDA/app/controllers/admin In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17242/app/controllers/admin Removed Files: enclosure_types_controller.rb explicit_types_controller.rb Log Message: deleted controllers eliminated in model restructure --- enclosure_types_controller.rb DELETED --- --- explicit_types_controller.rb DELETED --- |
|
From: Alex N. <dig...@us...> - 2006-08-31 05:30:12
|
Update of /cvsroot/opda/OPDA/app/models In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv16855/app/models Modified Files: subscription_list.rb Log Message: mods to make acts_as_tree Index: subscription_list.rb =================================================================== RCS file: /cvsroot/opda/OPDA/app/models/subscription_list.rb,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** subscription_list.rb 24 Jul 2006 04:23:11 -0000 1.3 --- subscription_list.rb 31 Aug 2006 05:30:09 -0000 1.4 *************** *** 1,27 **** class SubscriptionList < ActiveRecord::Base ! belongs_to :user has_and_belongs_to_many :channels ! acts_as_nested_set :scope => :root ! ! def before_create ! # Update the child object with its parents attrs ! unless self[:parent_id].to_i.zero? ! self[:depth] = parent[:depth].to_i + 1 ! self[:root_id] = parent[:root_id].to_i ! end ! end ! ! def after_create ! # Update the parent root_id with its id ! if self[:parent_id].to_i.zero? ! self[:root_id] = self[:id] ! self.save ! else ! parent.add_child self ! end ! end ! ! def parent ! @parent ||= self.class.find(self[:parent_id]) ! end end --- 1,5 ---- class SubscriptionList < ActiveRecord::Base ! has_and_belongs_to_many :users has_and_belongs_to_many :channels ! acts_as_tree end |
|
From: Alex N. <dig...@us...> - 2006-08-31 05:29:14
|
Update of /cvsroot/opda/OPDA/app/models In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv16754/app/models Modified Files: channel.rb Log Message: mods to add explicit types Index: channel.rb =================================================================== RCS file: /cvsroot/opda/OPDA/app/models/channel.rb,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** channel.rb 6 Jul 2006 04:22:01 -0000 1.2 --- channel.rb 31 Aug 2006 05:29:11 -0000 1.3 *************** *** 2,10 **** acts_as_taggable has_many :items - belongs_to :explicit_type belongs_to :user has_and_belongs_to_many :opml_feeds - has_and_belongs_to_many :categories has_and_belongs_to_many :subscription_lists has_many :channel_ratings end \ No newline at end of file --- 2,14 ---- acts_as_taggable has_many :items belongs_to :user has_and_belongs_to_many :opml_feeds has_and_belongs_to_many :subscription_lists has_many :channel_ratings + + def self.explicit_types + ["clean", "no", "yes"] + end + # validates_inclusion_of :explicit_types, :in => explicit_types, :message => "must be in #{explicit_types.join(',')}" + end \ No newline at end of file |
|
From: Alex N. <dig...@us...> - 2006-08-31 05:19:37
|
Update of /cvsroot/opda/OPDA/themes/default/stylesheets In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12868/themes/default/stylesheets Modified Files: default.css Log Message: minor modes - does not fix font size yet Index: default.css =================================================================== RCS file: /cvsroot/opda/OPDA/themes/default/stylesheets/default.css,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** default.css 29 Aug 2006 21:05:12 -0000 1.10 --- default.css 31 Aug 2006 05:19:34 -0000 1.11 *************** *** 275,279 **** } #center.widecenter { ! width:72%; font: 1.2em/1.6 'Lucida Grande', arial, verdana, sans-serif; word-spacing:.1em; --- 275,279 ---- } #center.widecenter { ! width:70%; font: 1.2em/1.6 'Lucida Grande', arial, verdana, sans-serif; word-spacing:.1em; *************** *** 299,302 **** --- 299,307 ---- } + #left.narrowleft ul{ + padding: 0; + margin: 0 0 0.3em 0.8em; + + } #left h2 { color:#845697; |
|
From: Alex N. <dig...@us...> - 2006-07-24 14:43:33
|
Update of /cvsroot/opda/OPDA/app/controllers In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26819/app/controllers Modified Files: subscription_lists_controller.rb Log Message: fixed firefox bug, IE still a problem Index: subscription_lists_controller.rb =================================================================== RCS file: /cvsroot/opda/OPDA/app/controllers/subscription_lists_controller.rb,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** subscription_lists_controller.rb 24 Jul 2006 04:19:07 -0000 1.5 --- subscription_lists_controller.rb 24 Jul 2006 14:43:29 -0000 1.6 *************** *** 74,78 **** @id = params[:id] render :update do |page| ! page.toggle "plus#{@id}", "minus#{@id}", "sublist#{@id}" end end --- 74,78 ---- @id = params[:id] render :update do |page| ! page.toggle "subplus#{@id}", "subminus#{@id}", "subscriptionlist#{@id}" end end |
|
From: Alex N. <dig...@us...> - 2006-07-24 14:43:14
|
Update of /cvsroot/opda/OPDA/app/views/subscription_lists In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26760/app/views/subscription_lists Modified Files: list.rhtml Log Message: fixed firefox bug, IE still a problem Index: list.rhtml =================================================================== RCS file: /cvsroot/opda/OPDA/app/views/subscription_lists/list.rhtml,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** list.rhtml 24 Jul 2006 04:21:50 -0000 1.3 --- list.rhtml 24 Jul 2006 14:43:11 -0000 1.4 *************** *** 21,25 **** <% depth_check = subscription_list.depth %> <% elsif subscription_list.depth > depth_check %> ! <ul id="sublist<%=subscription_list.parent_id%>" class="subcatlist" style="display:none"> <li><div id="list<%=subscription_list.id%>"> <%= render :partial => 'subscription_list', :object => subscription_list %> --- 21,25 ---- <% depth_check = subscription_list.depth %> <% elsif subscription_list.depth > depth_check %> ! <ul id="subscriptionlist<%=subscription_list.parent_id%>" class="subcatlist" style="display:none"> <li><div id="list<%=subscription_list.id%>"> <%= render :partial => 'subscription_list', :object => subscription_list %> |
|
From: Alex N. <dig...@us...> - 2006-07-24 14:43:01
|
Update of /cvsroot/opda/OPDA/app/views/subscription_lists In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26429/app/views/subscription_lists Modified Files: _subscription_list.rhtml Log Message: fixed firefox bug, IE still a problem Index: _subscription_list.rhtml =================================================================== RCS file: /cvsroot/opda/OPDA/app/views/subscription_lists/_subscription_list.rhtml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** _subscription_list.rhtml 24 Jul 2006 04:22:09 -0000 1.1 --- _subscription_list.rhtml 24 Jul 2006 14:42:54 -0000 1.2 *************** *** 1,7 **** <% if subscription_list.children_count() > 0%> ! <span id="plus<%=subscription_list.id%>" class="bullet"> ! <%= link_to_remote(theme_image_tag("plus.gif", :border => 0), :url => {:controller => 'subscription_lists', :action => 'show_sublist', :id => subscription_list.id})%></span><span id="minus<%=subscription_list.id%>" class="bullet" ><%= link_to_remote(theme_image_tag("minus.gif", :border => 0), :url => {:controller => 'subscription_lists', :action => 'show_sublist', :id => subscription_list.id}) %></span><%= link_to_remote(h(subscription_list.title), :url =>{:controller => 'subscription_lists', :action => 'show', :id => subscription_list.id}) %></div></li> <% else %> ! <span id="minus<%=subscription_list.id%>" class="bullet"> <%= link_to_remote(theme_image_tag("minus.gif", :border => 0), :url => {:controller => 'subscription_lists', :action => 'show_sublist', :id => subscription_list.id})%></span><%= link_to_remote(h(subscription_list.title),:url => {:controller => 'subscription_lists', :action => 'show', :id => subscription_list.id}) %></div></li> <%end%> \ No newline at end of file --- 1,8 ---- <% if subscription_list.children_count() > 0%> ! <span id="subplus<%=subscription_list.id%>" class="bullet"><%= link_to_remote(theme_image_tag("plus.gif", :border => 0), :url => {:controller => 'subscription_lists', :action => 'show_sublist', :id => subscription_list.id})%></span> ! <span id="subminus<%=subscription_list.id%>" class="bullet" style="display:none;" ><%= link_to_remote(theme_image_tag("minus.gif", :border => 0), :url => {:controller => 'subscription_lists', :action => 'show_sublist', :id => subscription_list.id}) %></span> ! <%= link_to_remote(h(subscription_list.title), :url =>{:controller => 'subscription_lists', :action => 'show', :id => subscription_list.id}) %></div></li> <% else %> ! <span id="subminus<%=subscription_list.id%>" class="bullet"> <%= link_to_remote(theme_image_tag("minus.gif", :border => 0), :url => {:controller => 'subscription_lists', :action => 'show_sublist', :id => subscription_list.id})%></span><%= link_to_remote(h(subscription_list.title),:url => {:controller => 'subscription_lists', :action => 'show', :id => subscription_list.id}) %></div></li> <%end%> \ No newline at end of file |
|
From: Alex N. <dig...@us...> - 2006-07-24 04:29:36
|
Update of /cvsroot/opda/OPDA/db In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7603/db Added Files: 2006-07-23_mod.sql Log Message: changed subscription_list table to be acts as nested set --- NEW FILE: 2006-07-23_mod.sql --- ALTER TABLE `subscription_lists` ADD `root_id` INT NOT NULL DEFAULT '0' AFTER `parent_id` , ADD `lft` INT NOT NULL DEFAULT '0' AFTER `root_id` , ADD `rgt` INT NOT NULL DEFAULT '0' AFTER `lft` , ADD `depth` INT NOT NULL DEFAULT '0' AFTER `rgt` ; |
|
From: Alex N. <dig...@us...> - 2006-07-24 04:24:06
|
Update of /cvsroot/opda/OPDA/themes/default/stylesheets In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv5276/themes/default/stylesheets Modified Files: default.css Log Message: set up subscription list views. Built browser tree for lists with channels in center div. see subscription_lists/list. Tree still needs some work. should be expanded to next level on entry and ajax toggle on minus sign needs to be fixed - currently set to display - but it is not toggling for some reason Index: default.css =================================================================== RCS file: /cvsroot/opda/OPDA/themes/default/stylesheets/default.css,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** default.css 23 Jul 2006 06:25:50 -0000 1.7 --- default.css 24 Jul 2006 04:24:02 -0000 1.8 *************** *** 202,205 **** --- 202,209 ---- } + #sub.widesub { + width:70em; + } + /*** Containers should be named according to what they contain. not where they sit in the layout. *************** *** 212,215 **** --- 216,225 ---- } + #center.widecenter { + width:72%; + font: 1.2em/1.6 'Lucida Grande', arial, verdana, sans-serif; + word-spacing:.1em; + margin-bottom:1em; + } #left { width:49%; *************** *** 218,221 **** --- 228,239 ---- } + #left.narrowleft { + width:24%; + font: 1.2em/1.6 'Lucida Grande', arial, verdana, sans-serif; + word-spacing:.1em; + margin-bottom:1em; + margin-left: 1em; + + } #right { width:33%; *************** *** 719,722 **** --- 737,748 ---- } + #left.narrowleft ul.subcatlist { + text-indent: -1em; + list-style: none; + padding: 0px; + margin: 0 0 .6em 0.8em; + } + + .bullet { padding: 0 .4em 0 0; |
|
From: Alex N. <dig...@us...> - 2006-07-24 04:23:13
|
Update of /cvsroot/opda/OPDA/app/models In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv5202/app/models Modified Files: subscription_list.rb Log Message: Changed model to acts as nested set set up subscription list views. Built browser tree for lists with channels in center div. see subscription_lists/list. Tree still needs some work. should be expanded to next level on entry and ajax toggle on minus sign needs to be fixed - currently set to display - but it is not toggling for some reason Index: subscription_list.rb =================================================================== RCS file: /cvsroot/opda/OPDA/app/models/subscription_list.rb,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** subscription_list.rb 28 Jun 2006 22:02:42 -0000 1.2 --- subscription_list.rb 24 Jul 2006 04:23:11 -0000 1.3 *************** *** 2,5 **** belongs_to :user has_and_belongs_to_many :channels ! acts_as_tree :order => 'title' end --- 2,27 ---- belongs_to :user has_and_belongs_to_many :channels ! acts_as_nested_set :scope => :root ! ! def before_create ! # Update the child object with its parents attrs ! unless self[:parent_id].to_i.zero? ! self[:depth] = parent[:depth].to_i + 1 ! self[:root_id] = parent[:root_id].to_i ! end ! end ! ! def after_create ! # Update the parent root_id with its id ! if self[:parent_id].to_i.zero? ! self[:root_id] = self[:id] ! self.save ! else ! parent.add_child self ! end ! end ! ! def parent ! @parent ||= self.class.find(self[:parent_id]) ! end end |
|
From: Alex N. <dig...@us...> - 2006-07-24 04:22:25
|
Update of /cvsroot/opda/OPDA/app/views/subscription_lists In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4842/app/views/subscription_lists Added Files: _channel.rhtml Log Message: set up subscription list views. Built browser tree for lists with channels in center div. see subscription_lists/list. Tree still needs some work. should be expanded to next level on entry and ajax toggle on minus sign needs to be fixed - currently set to display - but it is not toggling for some reason --- NEW FILE: _channel.rhtml --- <li><%= link_to h(channel.title), :controller => 'channels', :action => 'show', :id => channel.id %> </li> |
|
From: Alex N. <dig...@us...> - 2006-07-24 04:22:11
|
Update of /cvsroot/opda/OPDA/app/views/subscription_lists In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4777/app/views/subscription_lists Added Files: _subscription_list.rhtml Log Message: set up subscription list views. Built browser tree for lists with channels in center div. see subscription_lists/list. Tree still needs some work. should be expanded to next level on entry and ajax toggle on minus sign needs to be fixed - currently set to display - but it is not toggling for some reason --- NEW FILE: _subscription_list.rhtml --- <% if subscription_list.children_count() > 0%> <span id="plus<%=subscription_list.id%>" class="bullet"> <%= link_to_remote(theme_image_tag("plus.gif", :border => 0), :url => {:controller => 'subscription_lists', :action => 'show_sublist', :id => subscription_list.id})%></span><span id="minus<%=subscription_list.id%>" class="bullet" ><%= link_to_remote(theme_image_tag("minus.gif", :border => 0), :url => {:controller => 'subscription_lists', :action => 'show_sublist', :id => subscription_list.id}) %></span><%= link_to_remote(h(subscription_list.title), :url =>{:controller => 'subscription_lists', :action => 'show', :id => subscription_list.id}) %></div></li> <% else %> <span id="minus<%=subscription_list.id%>" class="bullet"> <%= link_to_remote(theme_image_tag("minus.gif", :border => 0), :url => {:controller => 'subscription_lists', :action => 'show_sublist', :id => subscription_list.id})%></span><%= link_to_remote(h(subscription_list.title),:url => {:controller => 'subscription_lists', :action => 'show', :id => subscription_list.id}) %></div></li> <%end%> |
|
From: Alex N. <dig...@us...> - 2006-07-24 04:21:53
|
Update of /cvsroot/opda/OPDA/app/views/subscription_lists In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv4454/app/views/subscription_lists Modified Files: list.rhtml Log Message: set up subscription list views. Built browser tree for lists with channels in center div. see subscription_lists/list. Tree still needs some work. should be expanded to next level on entry and ajax toggle on minus sign needs to be fixed - currently set to display - but it is not toggling for some reason Index: list.rhtml =================================================================== RCS file: /cvsroot/opda/OPDA/app/views/subscription_lists/list.rhtml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** list.rhtml 23 Jul 2006 20:36:54 -0000 1.2 --- list.rhtml 24 Jul 2006 04:21:50 -0000 1.3 *************** *** 1,25 **** ! <h1>Listing subscription_lists</h1> ! <table> ! <tr> ! <% for column in SubscriptionList.content_columns %> ! <th><%= column.human_name %></th> ! <% end %> ! </tr> ! ! <% for subscription_list in @subscription_lists %> ! <tr> ! <% for column in SubscriptionList.content_columns %> ! <td><%=h subscription_list.send(column.name) %></td> ! <% end %> ! <td><%= link_to 'Show', :action => 'show', :id => subscription_list %></td> ! <td><%= link_to 'Edit', :action => 'edit', :id => subscription_list %></td> ! <td><%= link_to 'Destroy', { :action => 'destroy', :id => subscription_list }, :confirm => 'Are you sure?' %></td> ! </tr> ! <% end %> ! </table> <br /> ! <%= link_to 'New subscription_list', :action => 'new' %> \ No newline at end of file --- 1,40 ---- ! <div id="wideleftcontent"> ! <h1>Browse Your Subscription Lists</h1> ! <div id="center" class="widecenter"> ! <ul id="channellist"> ! <li> Expand the tree and click on a list to see your podcast subscriptions</li> ! </ul> ! </div><!--end widecenter --> ! ! <!-- TODO: Tree should be expanded to next level on entry --> ! <!-- TODO: ajax toggle on minus sign needs to be fixed - currently set to display - but it is not toggling for some reason --> ! ! ! <div id="left" class="narrowleft"> ! <ul class="nobulletlist"> ! <% depth_check = 0 %> ! <% for subscription_list in @subscription_lists %> ! <% if subscription_list.depth == depth_check %> ! <li><div id="list<%=subscription_list.id%>"> ! <%= render :partial => 'subscription_list', :object => subscription_list %> ! <% depth_check = subscription_list.depth %> ! <% elsif subscription_list.depth > depth_check %> ! <ul id="sublist<%=subscription_list.parent_id%>" class="subcatlist" style="display:none"> ! <li><div id="list<%=subscription_list.id%>"> ! <%= render :partial => 'subscription_list', :object => subscription_list %> ! <% depth_check = subscription_list.depth %> ! <% elsif subscription_list.depth < depth_check %> ! </ul><li><div id="list<%=subscription_list.id%>"> ! <%= render :partial => 'subscription_list', :object => subscription_list %> ! <% depth_check = subscription_list.depth %> ! <% end %> ! <% end %> ! </ul> <br /> ! <%= link_to 'New subscription_list', :action => 'new' %> ! </div> <!--end narrowleft --> ! </div> \ No newline at end of file |
|
From: Alex N. <dig...@us...> - 2006-07-24 04:19:09
|
Update of /cvsroot/opda/OPDA/app/controllers In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv3539/app/controllers Modified Files: subscription_lists_controller.rb Log Message: set up subscription list views. Built browser tree for lists with channels in center div. see subscription_lists/list. Tree still needs some work. should be expanded to next level on entry and ajax toggle on minus sign needs to be fixed - currently set to display - but it is not toggling for some reason Index: subscription_lists_controller.rb =================================================================== RCS file: /cvsroot/opda/OPDA/app/controllers/subscription_lists_controller.rb,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** subscription_lists_controller.rb 23 Jul 2006 20:35:34 -0000 1.4 --- subscription_lists_controller.rb 24 Jul 2006 04:19:07 -0000 1.5 *************** *** 1,3 **** --- 1,4 ---- class SubscriptionListsController < ApplicationController + model :channel def index list *************** *** 10,16 **** raise # We can tie in a OPML feed, if there is no user hence subscrition list. end ! @root = @user.subscription_lists.find(:first, :conditions => "parent_id = 0") ! @subscription_lists = @root.children # @subscription_list_pages, @subscription_lists = paginate :subscriptions, :per_page => 10 --- 11,18 ---- raise # We can tie in a OPML feed, if there is no user hence subscrition list. end ! # @root = @user.subscription_lists.find(:first, :conditions => "parent_id = 0") ! # @subscription_lists = @root.children ! @subscription_lists = SubscriptionList.find_all_by_user_id(@user.id) # @subscription_list_pages, @subscription_lists = paginate :subscriptions, :per_page => 10 *************** *** 20,23 **** --- 22,32 ---- # CHristophe TODO. # = SubscriptionList.find(params[:id]) + @subscription_list = SubscriptionList.find(params[:id]) + @channels = @subscription_list.channels + + render :update do |page| + page.replace_html 'channellist', :partial => 'channel', :collection => @channels + page.visual_effect :highlight, 'center', :duration =>5 + end end *************** *** 61,63 **** --- 70,79 ---- end + def show_sublist + + @id = params[:id] + render :update do |page| + page.toggle "plus#{@id}", "minus#{@id}", "sublist#{@id}" + end + end end |
|
From: Alex N. <dig...@us...> - 2006-07-24 04:14:50
|
Update of /cvsroot/opda/OPDA/themes/default/layouts In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1648/themes/default/layouts Modified Files: admin.rhtml Log Message: Moved opml_feeds out of admin Index: admin.rhtml =================================================================== RCS file: /cvsroot/opda/OPDA/themes/default/layouts/admin.rhtml,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** admin.rhtml 10 Jul 2006 21:17:01 -0000 1.8 --- admin.rhtml 24 Jul 2006 04:14:46 -0000 1.9 *************** *** 39,48 **** <h3>OPML Feeds</h3> ! <%= link_to 'New OPML', :controller => '/admin/opml_feeds', :action => 'new' %><br /> ! <%= link_to 'List OPML feeds', :controller => '/admin/opml_feeds', :action => 'list' %><br /> ! <%= link_to 'Upload OPML file', :controller => '/admin/opml_files', :action => 'list' %><br /> ! <%= link_to 'List OPML files', :controller => '/admin/opml_files', :action => 'list' %><br /> ! <%= link_to 'Search/Edit/Suspend', :controller => '/admin/opml_feeds', :action => 'search' %><br /> ! <%= link_to 'Search/Activate', :controller => '/admin/opml_feeds', :action => 'activate' %><br /> <h3>Categories</h3> <%= link_to 'New Category', :controller => '/admin/categories', :action => 'new' %><br /> --- 39,48 ---- <h3>OPML Feeds</h3> ! <%= link_to 'New OPML', :controller => '/opml_feeds', :action => 'new' %><br /> ! <%= link_to 'List OPML feeds', :controller => '/opml_feeds', :action => 'list' %><br /> ! <%= link_to 'Upload OPML file', :controller => '/opml_files', :action => 'list' %><br /> ! <%= link_to 'List OPML files', :controller => '/opml_files', :action => 'list' %><br /> ! <%= link_to 'Search/Edit/Suspend', :controller => '/opml_feeds', :action => 'search' %><br /> ! <%= link_to 'Search/Activate', :controller => '/opml_feeds', :action => 'activate' %><br /> <h3>Categories</h3> <%= link_to 'New Category', :controller => '/admin/categories', :action => 'new' %><br /> |
|
From: Alex N. <dig...@us...> - 2006-07-24 04:14:21
|
Update of /cvsroot/opda/OPDA/components/sidebar/sidetags In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1612/components/sidebar/sidetags Modified Files: personal.rhtml Log Message: Moved opml_feeds out of admin Index: personal.rhtml =================================================================== RCS file: /cvsroot/opda/OPDA/components/sidebar/sidetags/personal.rhtml,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** personal.rhtml 23 Jul 2006 20:38:04 -0000 1.2 --- personal.rhtml 24 Jul 2006 04:14:19 -0000 1.3 *************** *** 2,6 **** <h4>Personal</h4> <ul> ! <li><%= link_to "Add a Directory", :controller => 'admin/opml_feeds', :action => 'new' %></li> <li><%= link_to "Subscriptions", :controller => 'subscription_lists', :action => 'list' %></li> <li><%= link_to "[Your OPML Link]".t, @opml_uri %></li> --- 2,6 ---- <h4>Personal</h4> <ul> ! <li><%= link_to "Add a Directory", :controller => 'opml_feeds', :action => 'new' %></li> <li><%= link_to "Subscriptions", :controller => 'subscription_lists', :action => 'list' %></li> <li><%= link_to "[Your OPML Link]".t, @opml_uri %></li> |
Update of /cvsroot/opda/OPDA/app/views/admin/opml_feeds In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv1246/app/views/admin/opml_feeds Removed Files: _opml_feeds.rhtml show.rhtml list.rhtml new.rhtml test.rhtml destroy_result.rhtml edit.rhtml _opml_feed.rhtml Log Message: Moved opml_feeds out of admin --- test.rhtml DELETED --- --- destroy_result.rhtml DELETED --- --- _opml_feeds.rhtml DELETED --- --- show.rhtml DELETED --- --- list.rhtml DELETED --- --- _opml_feed.rhtml DELETED --- --- new.rhtml DELETED --- --- edit.rhtml DELETED --- |