Skip to content

Commit 44d3f94

Browse files
committed
Random
1 parent f28a4e3 commit 44d3f94

File tree

15 files changed

+84
-37
lines changed

15 files changed

+84
-37
lines changed

25454

Whitespace-only changes.

TODO.html

+18-16
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,10 @@
1919
p.p10 {margin: 0.0px 0.0px 0.0px 72.0px; text-indent: -72.0px; line-height: 19.0px; font: 14.0px Lucida Grande; color: #ff0300}
2020
p.p11 {margin: 0.0px 0.0px 0.0px 108.0px; text-indent: -108.0px; line-height: 19.0px; font: 14.0px Lucida Grande; color: #ff0300}
2121
p.p12 {margin: 0.0px 0.0px 0.0px 36.0px; text-indent: -36.0px; line-height: 19.0px; font: 14.0px Lucida Grande; color: #ff0300}
22-
p.p13 {margin: 0.0px 0.0px 0.0px 108.0px; text-indent: -108.0px; line-height: 19.0px; font: 14.0px Lucida Grande}
23-
p.p14 {margin: 0.0px 0.0px 12.0px 0.0px; line-height: 19.0px; font: 18.0px Lucida Grande}
22+
p.p13 {margin: 0.0px 0.0px 0.0px 36.0px; text-indent: -36.0px; line-height: 19.0px; font: 14.0px Lucida Grande; color: #ff0f00}
23+
p.p14 {margin: 0.0px 0.0px 0.0px 72.0px; text-indent: -72.0px; line-height: 19.0px; font: 14.0px Lucida Grande; color: #ff0f00}
24+
p.p15 {margin: 0.0px 0.0px 0.0px 108.0px; text-indent: -108.0px; line-height: 19.0px; font: 14.0px Lucida Grande}
25+
p.p16 {margin: 0.0px 0.0px 12.0px 0.0px; line-height: 19.0px; font: 18.0px Lucida Grande}
2426
span.s1 {letter-spacing: 0.0px}
2527
span.s2 {text-decoration: line-through ; letter-spacing: 0.0px}
2628
span.s3 {letter-spacing: 0.0px color: #ff0300}
@@ -60,7 +62,7 @@
6062
<p class="p10"><span class="s5"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s1">capture user IP address</span></p>
6163
<p class="p11"><span class="s5"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s1">IP history (any IP the user has posted from)</span></p>
6264
<p class="p8"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Miscellaneous:</span></p>
63-
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Post reporting (user press report button, enter reason for report, report is sent to moderator area or via email to moderators)</span></p>
65+
<p class="p10"><span class="s5"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s1">Post reporting (user press report button, enter reason for report, report is sent to moderator area or via email to moderators)</span></p>
6466
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Able to censor words (for spammers, mostly)</span></p>
6567
<p class="p5"><span class="s1">Inline moderation: Post level edits can be done inline: each post has a check box viewable to moderators… mods check the posts that need moderation then choose the action from a drop down.</span></p>
6668
<p class="p7"><span class="s1"><b>FORUM FUNCTION</b></span></p>
@@ -69,10 +71,10 @@
6971
<p class="p12"><span class="s5"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s1">Quoting (i.e., via bbcode and also a “Reply with Quote” button)</span></p>
7072
<p class="p12"><span class="s5"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s1">Better bbcode (i.e., allow attributes like [url=<a href="http://www.yahoo.com/"><span class="s6">http://www.yahoo.com/</span></a>]Yahoo[/url]) (calibre-bbcode gem?)</span></p>
7173
<p class="p12"><span class="s5"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s1">Code highlighting (syntax gem?)</span></p>
72-
<p class="p8"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Signatures</span></p>
73-
<p class="p8"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Avatars (real, hosted—not gravatars, which are slow and tiny)</span><span class="s1"> (Though since we have them now, they’d be really nice)</span></p>
74+
<p class="p12"><span class="s5"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s1">Signatures</span></p>
75+
<p class="p13"><span class="s5"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Avatars (real, hosted—not gravatars, which are slow and tiny)</span><span class="s1"> (Though since we have them now, they’d be really nice)</span></p>
7476
<p class="p12"><span class="s5"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s1">RSS feeds for new topics (per forum), new posts (per forum and per topic), and whole forum (posts and topics)</span></p>
75-
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Dashboard/control panel-based subscriptions—users can subscribe to threads, and threads with new posts are printed to a “subscriptions” area on the dashboard/cp</span></p>
77+
<p class="p14"><span class="s5"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Dashboard/control panel-based subscriptions—users can subscribe to threads, and threads with new posts are printed to a “subscriptions” area on the dashboard/cp</span></p>
7678
<p class="p8"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Search (</span><span class="s3">whole forum (kinda, needs tidying up),</span><span class="s1"> per forum, per user, (per post?))</span></p>
7779
<p class="p12"><span class="s5"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s1">Userlist (sort by alpha,</span><span class="s5"> join date, posts)</span></p>
7880
<p class="p12"><span class="s5"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s1">Private message system</span></p>
@@ -86,7 +88,7 @@
8688
<p class="p8"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Ability to mark forums as open (allows new posts) (mark[oz])</span></p>
8789
<p class="p12"><span class="s5"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s1">Customise how many sub forums are shown on the index page (mark[oz])</span></p>
8890
<p class="p7"><span class="s1"><b>FORUM CATEGORIZATION/NAVIGATION</b></span></p>
89-
<p class="p12"><span class="s5"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s1">Catoegories (for forums)</span></p>
91+
<p class="p12"><span class="s5"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s1">Categories (for forums)</span></p>
9092
<p class="p8"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Tag system</span></p>
9193
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Users can tag topics (forum-wide del.icio.us?)</span></p>
9294
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Tags are gathered (tag cloud?) in their dashboard</span></p>
@@ -124,8 +126,8 @@
124126
<p class="p8"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Users</span></p>
125127
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Role based Security</span></p>
126128
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Profiles</span></p>
127-
<p class="p13"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Avatars</span><span class="s1"> (See above)</span></p>
128-
<p class="p13"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Other Info (location, website, IM handles)</span></p>
129+
<p class="p15"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Avatars</span><span class="s1"> (See above)</span></p>
130+
<p class="p15"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Other Info (location, website, IM handles)</span></p>
129131
<p class="p8"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Member List</span></p>
130132
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Profile pages</span></p>
131133
<p class="p8"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Ajax</span><span class="s1"> (Bells and whistles—unimportant for now, but certainly nice)</span></p>
@@ -153,8 +155,8 @@
153155
<p class="p8"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Users</span></p>
154156
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Online/Offline Status</span><span class="s1"> (This one would be VERY nice, however)</span></p>
155157
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Profiles</span></p>
156-
<p class="p13"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Signatures</span></p>
157-
<p class="p13"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Privacy Settings for Personal Info</span><span class="s1"> (easier to just allow them not to enter certain stuff)</span></p>
158+
<p class="p15"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Signatures</span></p>
159+
<p class="p15"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Privacy Settings for Personal Info</span><span class="s1"> (easier to just allow them not to enter certain stuff)</span></p>
158160
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Karma/ Reputation</span></p>
159161
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Buddy list</span></p>
160162
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span></span><span class="s2">Ability to chose forum theme/layout</span></p>
@@ -228,8 +230,8 @@
228230
<p class="p8"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Users</span></p>
229231
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Role based Security</span></p>
230232
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Profiles</span></p>
231-
<p class="p13"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Avatars</span></p>
232-
<p class="p13"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Other Info (location, website, IM handles)</span></p>
233+
<p class="p15"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Avatars</span></p>
234+
<p class="p15"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Other Info (location, website, IM handles)</span></p>
233235
<p class="p8"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Member List</span></p>
234236
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Profile pages</span></p>
235237
<p class="p8"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Ajax</span></p>
@@ -257,8 +259,8 @@
257259
<p class="p8"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Users</span></p>
258260
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Online/Offline Status</span></p>
259261
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Profiles</span></p>
260-
<p class="p13"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Signatures</span></p>
261-
<p class="p13"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Privacy Settings for Personal Info</span></p>
262+
<p class="p15"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Signatures</span></p>
263+
<p class="p15"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Privacy Settings for Personal Info</span></p>
262264
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Karma/ Reputation</span></p>
263265
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Buddy list</span></p>
264266
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Ability to chose forum theme/layout</span></p>
@@ -268,7 +270,7 @@
268270
<p class="p9"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Topic subscriptions</span></p>
269271
<p class="p8"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>RSS Feeds</span></p>
270272
<p class="p8"><span class="s1"><span class="Apple-tab-span"> </span><span class="Apple-tab-span"> </span>Web Service API</span></p>
271-
<p class="p14"><span class="s1"><b>Innovative Ideas</b></span></p>
273+
<p class="p16"><span class="s1"><b>Innovative Ideas</b></span></p>
272274
<p class="p5"><span class="s1">Here is a list of innovative ideas which may revolutionize online forums. Can you think of something that another forum doesn’t have (or very few forums have) that seems useful? Write it down here. Some of these items may already be mentioned on the Feature List, but here you can describe them in more detail. Writing it down here does not mean we will implement it. Just try to fill this list with ideas no matter how crazy they seem.</span></p>
273275
<p class="p5"><span class="s1"><b>Quick View</b><br>
274276
While you are in the topic list, click on a “quick view” button on a topic to see the first post in that topic which you haven’t read. This post will appear instantly under the topic – right in the topic list. You can then click Read More to read the rest of the unread posts if there are any.</span></p>

TODO.rtf

+16-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460
22
{\fonttbl\f0\fnil\fcharset0 LucidaGrande;}
3-
{\colortbl;\red255\green255\blue255;\red255\green3\blue0;\red255\green0\blue0;}
3+
{\colortbl;\red255\green255\blue255;\red255\green3\blue0;\red255\green0\blue0;\red255\green15\blue0;
4+
\red255\green15\blue0;}
45
\margl1440\margr1440\margb1800\margt1800\vieww10500\viewh9600\viewkind0
56
\deftab720
67
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sa280\ql\qnatural\pardirnatural
@@ -107,7 +108,9 @@ IP history (any IP the user has posted from)\
107108
\'95 Miscellaneous:\
108109
\pard\tx940\tx1440\pardeftab720\li1440\fi-1440\sl380\ql\qnatural\pardirnatural
109110
\cf0 \expnd0\expndtw0\kerning0
110-
\uc0\u9702 Post reporting (user press report button, enter reason for report, report is sent to moderator area or via email to moderators)\
111+
\uc0\u9702 \cf2 \expnd0\expndtw0\kerning0
112+
Post reporting (user press report button, enter reason for report, report is sent to moderator area or via email to moderators)\cf0 \expnd0\expndtw0\kerning0
113+
\
111114
\uc0\u9702 \expnd0\expndtw0\kerning0
112115
\strike \strikec0 Able to censor words (for spammers, mostly)\expnd0\expndtw0\kerning0
113116
\strike0\striked0 \
@@ -137,16 +140,19 @@ http://www.yahoo.com/}}]Yahoo[/url]) (calibre-bbcode gem?)\cf0 \expnd0\expndtw0\
137140
\'95 \cf2 \expnd0\expndtw0\kerning0
138141
Code highlighting (syntax gem?)\cf0 \expnd0\expndtw0\kerning0
139142
\
140-
\'95 Signatures\
141-
\'95 \expnd0\expndtw0\kerning0
143+
\'95 \cf2 \expnd0\expndtw0\kerning0
144+
Signatures\cf0 \expnd0\expndtw0\kerning0
145+
\
146+
\'95 \cf4 \expnd0\expndtw0\kerning0
142147
\strike \strikec0 Avatars (real, hosted\'97not gravatars, which are slow and tiny)\expnd0\expndtw0\kerning0
143-
\strike0\striked0 (Though since we have them now, they\'92d be really nice)\
148+
\strike0\striked0 (Though since we have them now, they\'92d be really nice)\cf0 \expnd0\expndtw0\kerning0
149+
\
144150
\'95 \cf2 \expnd0\expndtw0\kerning0
145151
RSS feeds for new topics (per forum), new posts (per forum and per topic), and whole forum (posts and topics)\
146152
\pard\tx940\tx1440\pardeftab720\li1440\fi-1440\sl380\ql\qnatural\pardirnatural
147153
\cf0 \expnd0\expndtw0\kerning0
148-
\uc0\u9702 \expnd0\expndtw0\kerning0
149-
\strike \strikec0 Dashboard/control panel-based subscriptions\'97users can subscribe to threads, and threads with new posts are printed to a \'93subscriptions\'94 area on the dashboard/cp\expnd0\expndtw0\kerning0
154+
\uc0\u9702 \cf4 \expnd0\expndtw0\kerning0
155+
\strike \strikec0 Dashboard/control panel-based subscriptions\'97users can subscribe to threads, and threads with new posts are printed to a \'93subscriptions\'94 area on the dashboard/cp\cf0 \expnd0\expndtw0\kerning0
150156
\strike0\striked0 \
151157
\pard\tx220\tx720\pardeftab720\li720\fi-720\sl380\ql\qnatural\pardirnatural
152158
\cf0 \expnd0\expndtw0\kerning0
@@ -190,7 +196,7 @@ FORUM CATEGORIZATION/NAVIGATION\
190196
191197
\b0 \cf0 \expnd0\expndtw0\kerning0
192198
\'95 \cf2 \expnd0\expndtw0\kerning0
193-
Catoegories (for forums)\cf0 \expnd0\expndtw0\kerning0
199+
Categories (for forums)\cf0 \expnd0\expndtw0\kerning0
194200
\
195201
\'95 \expnd0\expndtw0\kerning0
196202
\strike \strikec0 Tag system\expnd0\expndtw0\kerning0
@@ -243,8 +249,8 @@ also on a forum basis\cf0 \expnd0\expndtw0\kerning0
243249
\
244250
\pard\tx220\tx720\pardeftab720\li720\fi-720\sl380\ql\qnatural\pardirnatural
245251
\cf0 \expnd0\expndtw0\kerning0
246-
\'95 Moderator levels (control which moderation tasks moderators have access to)\
247-
\'95 User groups (used for moderation levels, and also forum access\'97user groups can be based on post count, length of membership, automatic (i.e., all new members are added), or custom (i.e., mods/admins must place users in groups manually)\
252+
\'95 \cf5 Moderator levels (control which moderation tasks moderators have access to)\cf0 \
253+
\'95 \cf5 User groups (used for moderation levels, and also forum access\'97user groups can be based on post count, length of membership, automatic (i.e., all new members are added), or custom (i.e., mods/admins must place users in groups manually)\cf0 \
248254
\'95 \expnd0\expndtw0\kerning0
249255
\strike \strikec0 Forum function permissions\expnd0\expndtw0\kerning0
250256
\strike0\striked0 \

app/controllers/admin/forums_controller.rb

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Admin::ForumsController < Admin::ApplicationController
55

66
# Shows all top-level forums.
77
def index
8-
@forums = Forum.without_parent
8+
@forums = Forum.without_parent.regardless_of_active
99
end
1010

1111
# Initializes a new forum.
@@ -104,16 +104,16 @@ def find_category
104104

105105
# Find a forum. Most of the actions in this controller need a forum object.
106106
def find_forum
107-
@forum = Forum.find(params[:id]) unless params[:id].nil?
107+
@forum = Forum.regardless_of_active.find(params[:id]) unless params[:id].nil?
108108
rescue ActiveRecord::RecordNotFound
109109
not_found
110110
end
111111

112112
def find_forums
113113
@forums, @categories = if @category
114-
[@category.forums.find(:all, :order => "title ASC"), []]
114+
[@category.forums.regardless_of_active.find(:all, :order => "title ASC"), []]
115115
else
116-
[Forum.find(:all, :order => "title ASC"), Category.find(:all, :order => "name asc")]
116+
[Forum.regardless_of_active.find(:all, :order => "title ASC"), Category.find(:all, :order => "name asc")]
117117
end
118118
end
119119

0 commit comments

Comments
 (0)