From 0f0e7a89455d49f099543aef49a38075b8a404e6 Mon Sep 17 00:00:00 2001 From: Ryan Bigg Date: Sun, 28 Jun 2009 09:11:31 +1000 Subject: [PATCH] More TODO items marked off and en.rb is now in order according to TextMate --- TODO.html | 27 ++-- TODO.rtf | 46 ++++--- app/views/admin/forums/_form.html.erb | 4 + config/locales/en.rb | 185 +++++++++++++------------- features/forums.feature | 9 ++ 5 files changed, 151 insertions(+), 120 deletions(-) diff --git a/TODO.html b/TODO.html index b51ef65a..bd64bb96 100644 --- a/TODO.html +++ b/TODO.html @@ -21,14 +21,15 @@ 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} 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} 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} - p.p15 {margin: 0.0px 0.0px 0.0px 108.0px; text-indent: -108.0px; line-height: 19.0px; font: 14.0px Lucida Grande} - p.p16 {margin: 0.0px 0.0px 12.0px 0.0px; line-height: 19.0px; font: 18.0px Lucida Grande} + p.p15 {margin: 0.0px 0.0px 0.0px 36.0px; text-indent: -36.0px; line-height: 19.0px; font: 14.0px Lucida Grande; color: #d90b00} + p.p16 {margin: 0.0px 0.0px 0.0px 108.0px; text-indent: -108.0px; line-height: 19.0px; font: 14.0px Lucida Grande} + p.p17 {margin: 0.0px 0.0px 12.0px 0.0px; line-height: 19.0px; font: 18.0px Lucida Grande} span.s1 {letter-spacing: 0.0px} span.s2 {text-decoration: line-through ; letter-spacing: 0.0px} span.s3 {letter-spacing: 0.0px color: #ff0300} span.s4 {letter-spacing: 0.0px color: #ff0000} span.s5 {letter-spacing: 0.0px color: #000000} - span.s6 {font: 14.0px Lucida Grande; letter-spacing: 0.0px} + span.s6 {font: 14.0px Lucida Grande; text-decoration: underline ; letter-spacing: 0.0px color: #000099} span.Apple-tab-span {white-space:pre} @@ -84,7 +85,7 @@

Support for graphical smilies (Though since we have them now, they’d be really nice)

Visual representation of unread topics (including previously read topics with new replies)

Show all new(/newly replied to) posts and mark all forums read links

-

Ability to mark forums as active (shown/hidden) (mark[oz])

+

Ability to mark forums as active (shown/hidden) (mark[oz])

Ability to mark forums as open (allows new posts) (mark[oz])

Customise how many sub forums are shown on the index page (mark[oz])

FORUM CATEGORIZATION/NAVIGATION

@@ -126,8 +127,8 @@

Users

Role based Security

Profiles

-

Avatars (See above)

-

Other Info (location, website, IM handles)

+

Avatars (See above)

+

Other Info (location, website, IM handles)

Member List

Profile pages

Ajax (Bells and whistles—unimportant for now, but certainly nice)

@@ -155,8 +156,8 @@

Users

Online/Offline Status (This one would be VERY nice, however)

Profiles

-

Signatures

-

Privacy Settings for Personal Info (easier to just allow them not to enter certain stuff)

+

Signatures

+

Privacy Settings for Personal Info (easier to just allow them not to enter certain stuff)

Karma/ Reputation

Buddy list

Ability to chose forum theme/layout

@@ -230,8 +231,8 @@

Users

Role based Security

Profiles

-

Avatars

-

Other Info (location, website, IM handles)

+

Avatars

+

Other Info (location, website, IM handles)

Member List

Profile pages

Ajax

@@ -259,8 +260,8 @@

Users

Online/Offline Status

Profiles

-

Signatures

-

Privacy Settings for Personal Info

+

Signatures

+

Privacy Settings for Personal Info

Karma/ Reputation

Buddy list

Ability to chose forum theme/layout

@@ -270,7 +271,7 @@

Topic subscriptions

RSS Feeds

Web Service API

-

Innovative Ideas

+

Innovative Ideas

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.

Quick View
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.

diff --git a/TODO.rtf b/TODO.rtf index 58dc86af..51db10a9 100644 --- a/TODO.rtf +++ b/TODO.rtf @@ -1,22 +1,30 @@ {\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460 {\fonttbl\f0\fnil\fcharset0 LucidaGrande;} -{\colortbl;\red255\green255\blue255;\red255\green3\blue0;\red255\green0\blue0;\red255\green15\blue0; -\red255\green15\blue0;} -\margl1440\margr1440\margb1800\margt1800\vieww10500\viewh9600\viewkind0 +{\colortbl;\red255\green255\blue255;\red255\green3\blue0;\red255\green0\blue0;\red0\green0\blue153; +\red255\green15\blue0;\red217\green11\blue0;} +\margl1440\margr1440\margb1800\margt1800\vieww10500\viewh8400\viewkind0 \deftab720 \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sa280\ql\qnatural\pardirnatural \f0\b\fs62 \cf0 \expnd0\expndtw0\kerning0 What they want: -\fs44 \ +\fs44 \expnd0\expndtw0\kerning0 +\ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sa280\ql\qnatural\pardirnatural -\fs30 User has posted earlier - puts a dot/icon beside posts you've posted in before. This is kind of a nice feature. We can just enable it, though. No need to turn it on and off, or if we do, it doesn't need to be stored in the db so config is fine. -\b0 -\fs44 \ +\fs30 \cf0 \expnd0\expndtw0\kerning0 +User has posted earlier - puts a dot/icon beside posts you've posted in before. This is kind of a nice feature. We can just enable it, though. No need to turn it on and off, or if we do, it doesn't need to be stored in the db so config is fine. +\b0 \expnd0\expndtw0\kerning0 + +\fs44 \expnd0\expndtw0\kerning0 +\ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sa280\ql\qnatural\pardirnatural -\b\fs28 Quick jump - we want this all the time \ +\b\fs28 \cf0 \expnd0\expndtw0\kerning0 +Quick jump - we want this all the time \ Captcha for registration! -\fs44 \ +\fs44 \expnd0\expndtw0\kerning0 +\ Rails Forum Feature Jam\ \pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\sl380\sa280\ql\qnatural\pardirnatural @@ -134,8 +142,8 @@ Quick Reply\cf0 \expnd0\expndtw0\kerning0 Quoting (i.e., via bbcode and also a \'93Reply with Quote\'94 button)\cf0 \expnd0\expndtw0\kerning0 \ \'95 \cf2 \expnd0\expndtw0\kerning0 -Better bbcode (i.e., allow attributes like [url={\field{\*\fldinst{HYPERLINK "http://www.yahoo.com/"}}{\fldrslt \expnd0\expndtw0\kerning0 -http://www.yahoo.com/}}]Yahoo[/url]) (calibre-bbcode gem?)\cf0 \expnd0\expndtw0\kerning0 +Better bbcode (i.e., allow attributes like [url={\field{\*\fldinst{HYPERLINK "http://www.yahoo.com/"}}{\fldrslt \cf4 \expnd0\expndtw0\kerning0 +\ul \ulc4 http://www.yahoo.com/}}]Yahoo[/url]) (calibre-bbcode gem?)\cf0 \expnd0\expndtw0\kerning0 \ \'95 \cf2 \expnd0\expndtw0\kerning0 Code highlighting (syntax gem?)\cf0 \expnd0\expndtw0\kerning0 @@ -143,7 +151,7 @@ Code highlighting (syntax gem?)\cf0 \expnd0\expndtw0\kerning0 \'95 \cf2 \expnd0\expndtw0\kerning0 Signatures\cf0 \expnd0\expndtw0\kerning0 \ - \'95 \cf4 \expnd0\expndtw0\kerning0 + \'95 \cf5 \expnd0\expndtw0\kerning0 \strike \strikec0 Avatars (real, hosted\'97not gravatars, which are slow and tiny)\expnd0\expndtw0\kerning0 \strike0\striked0 (Though since we have them now, they\'92d be really nice)\cf0 \expnd0\expndtw0\kerning0 \ @@ -151,7 +159,7 @@ Signatures\cf0 \expnd0\expndtw0\kerning0 RSS feeds for new topics (per forum), new posts (per forum and per topic), and whole forum (posts and topics)\ \pard\tx940\tx1440\pardeftab720\li1440\fi-1440\sl380\ql\qnatural\pardirnatural \cf0 \expnd0\expndtw0\kerning0 - \uc0\u9702 \cf4 \expnd0\expndtw0\kerning0 + \uc0\u9702 \cf5 \expnd0\expndtw0\kerning0 \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 \strike0\striked0 \ \pard\tx220\tx720\pardeftab720\li720\fi-720\sl380\ql\qnatural\pardirnatural @@ -183,7 +191,9 @@ Visual representation of unread topics (including previously read topics with ne \uc0\u9702 Show all new(/newly replied to) posts and mark all forums read links\ \pard\tx220\tx720\pardeftab720\li720\fi-720\sl380\ql\qnatural\pardirnatural \cf0 \expnd0\expndtw0\kerning0 - \'95 Ability to mark forums as active (shown/hidden) (mark[oz])\ + \'95 \cf6 \expnd0\expndtw0\kerning0 +Ability to mark forums as active (shown/hidden) (mark[oz])\cf0 \expnd0\expndtw0\kerning0 +\ \'95 Ability to mark forums as open (allows new posts) (mark[oz])\ \'95 \cf2 \expnd0\expndtw0\kerning0 Customise how many sub forums are shown on the index page (mark[oz])\cf0 \expnd0\expndtw0\kerning0 @@ -249,8 +259,12 @@ also on a forum basis\cf0 \expnd0\expndtw0\kerning0 \ \pard\tx220\tx720\pardeftab720\li720\fi-720\sl380\ql\qnatural\pardirnatural \cf0 \expnd0\expndtw0\kerning0 - \'95 \cf5 Moderator levels (control which moderation tasks moderators have access to)\cf0 \ - \'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 \ + \'95 \cf5 \expnd0\expndtw0\kerning0 +Moderator levels (control which moderation tasks moderators have access to)\cf0 \expnd0\expndtw0\kerning0 +\ + \'95 \cf5 \expnd0\expndtw0\kerning0 +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 \expnd0\expndtw0\kerning0 +\ \'95 \expnd0\expndtw0\kerning0 \strike \strikec0 Forum function permissions\expnd0\expndtw0\kerning0 \strike0\striked0 \ diff --git a/app/views/admin/forums/_form.html.erb b/app/views/admin/forums/_form.html.erb index 306bfb08..e44a981f 100755 --- a/app/views/admin/forums/_form.html.erb +++ b/app/views/admin/forums/_form.html.erb @@ -27,4 +27,8 @@ <%= f.label :active, t(:Active) %> <%= f.check_box :active %> + + + <%= f.label :closed, t(:Closed) %> + <%= f.check_box :closed %> \ No newline at end of file diff --git a/config/locales/en.rb b/config/locales/en.rb index df31782b..84176ac5 100644 --- a/config/locales/en.rb +++ b/config/locales/en.rb @@ -97,13 +97,14 @@ :a => "a", :about => "about", :accepts_wildcard => "accepts wildcard", + :Active => "Active", :Adapter => "Adapter", :Add_new_user => "Add new user", :Add_to_group => "Add to group", :Administration_Section => "Administration Section", :Administrator => "Administrator", - :administrator_should_create_forum => "Maybe an administrator should create one.", :administrator_should_create_category_or_forum => "Maybe an administrator should create a category or a forum.", + :administrator_should_create_forum => "Maybe an administrator should create one.", :ago => "ago", :all_posts_after => "All posts after", :all_posts_after_and_including => "All posts after and including this one", @@ -115,24 +116,26 @@ :At_first_post => "At first post", :At_last_post => "At last post", :Author => "Author", - :ban_expires_in => "Ban expires in {{time}}", - :Ban_an_ip => "Ban an IP", + :Banned => "Banned", + :banned_by => "banned by {{user}}", :Banned_by => "Banned by", + :Banned_IPs => "Banned IPs", + :Banned_until => "Banned until", :banned_you => "banned you", + :banning => "banning", + :banning => "banning", :Bans => "Bans", + :Ban_an_ip => "Ban an IP", + :ban_expires_in => "Ban expires in {{time}}", :ban_expires_in => "Ban expires in {{time}}", :Ban_expiry => "Ban expiry", + :ban_reason => "ban reason", :Ban_this_range => "Ban this range", :Ban_time => "Ban time", - :Banned => "Banned", - :Banned_IPs => "Banned IPs", - :Banned_until => "Banned until", - :banning => "banning", - :banned_by => "banned by {{user}}", - :ban_reason => "ban reason", - :banning => "banning", :ban_time => "ban time", :by => "by", + :Cancel => "Cancel", + :cannot_take_all_posts_away => "Cannot take all posts away.", :can_access_admin_section? => "Can access admin section?", :can_access_moderator_section? => "Can access moderator section?", :can_delete_own_posts? => "Can delete own posts?", @@ -174,97 +177,96 @@ :can_start_new_topics? => "Can start new topics?", :can_subscribe? => "Can subscribe?", :can_use_signature? => "Can use signature?", - :cannot_take_all_posts_away => "Cannot take all posts away.", - :Cancel => "Cancel", :Categories => "Categories", :Category => "Category", :category_permission_denied => "You are not allowed to access that category", :Category_specific_permissions => "Category-specific permissions", :Child_of => "Child of", + :Closed => "Closed", :Configuration_not_found => "The configuration option {{key}} does not exist.", :Configuration_Settings => "Configuration Settings", :configuration_settings_updated => "The configuration settings were updated.", - :Confirm_Password => "Confirm Password", :confirm_deletion => "Are you sure you want to delete this {{thing}}?", + :Confirm_Password => "Confirm Password", + :confirm_unban_ip => "Are you sure you want to unban this ip?", :confirm_user_ban => "Are you sure you want to ban this user?", :confirm_user_removal_from_group => "Are you sure you want to remove the user '{{user}}' from the group '{{group}}'?", - :confirm_unban_ip => "Are you sure you want to unban this ip?", :Create => "Create", - :create_one? => "create one?", :created => "{{thing}} was created.", :Created_at => "Created at", - :Creator_of_topics => "Creator of topics", + :create_one? => "create one?", :Creating_a_category => "Creating a category", - :Creating_a_group => "Creating a group", :Creating_a_forum => "Creating a forum", + :Creating_a_group => "Creating a group", :Creating_a_rank => "Creating a rank", :Creating_a_topic => "Creating a topic", + :Creator_of_topics => "Creator of topics", :Current => "Current", :Current_avatar => "Current avatar", - :custom_rank => "custom rank", :Custom_Rank => "Custom Rank", + :custom_rank => "custom rank", :Database => "Database", :database_credentials => "Your database information is incorrect. Please try again.", :Database_Information => "Database Information", :Date_and_Time_Display => "Date and Time Display", :Date_joined => "Date joined", :Delete => "Delete", - :Delete_this_topic => "Delete this topic", :deleted => "The {{thing}} has been deleted.", + :Delete_this_topic => "Delete this topic", :Description => "Description", :Display_Name => "Display Name", :Do_not_have_a_user_account? => "Don't have a user account?", :Edit => "Edit", - :Edit_History => "Edit History", - :Edit_Profile => "Edit Profile", - :edit_reason => "Edit reason", - :Edit_silently? => "Edit silently?", - :Edit_topic => "Edit topic", :Editing_a_category => "Editing a category", :Editing_a_forum => "Editing a forum", :Editing_a_group => "Editing a group", :Editing_a_permission => "Editing a permission", :Editing_a_rank => "Editing a rank", :Editing_a_reply_in => "Editing a reply in", - :Editing_a_user => "Editing a user", :Editing_a_topic => "Editing a topic", + :Editing_a_user => "Editing a user", :Editing_moderation_item_for => "Editing moderation item for {{thing}}", :Editing_your_profile => "Editing your profile", + :Edit_History => "Edit History", + :Edit_Profile => "Edit Profile", + :edit_reason => "Edit reason", + :Edit_silently? => "Edit silently?", + :Edit_topic => "Edit topic", :Email => "Email", :email => "email", :example_forum_description => "This is an example forum for Rboard.", :Example_time_display => "Example time display", :Flagged_On => "Flagged On", :for => "for", - :for_a_post => "for a post", - :for_the_next => "for the next", - :forum_not_found_or_inactive => "The forum you were looking for could not be found, or is inactive.", - :forum_statistics => "Forum Statistics", :Forum => "Forum", - :forum_permission_denied => "You are not allowed to see that forum.", + :Forums => "Forums", + :Forum_information => "Forum Information", + :forum_not_found_or_inactive => "The forum you were looking for could not be found, or is inactive.", :forum_object_permission_denied => "The {{object}} you are trying to access is in a forum you are not allowed to see.", + :forum_permission_denied => "You are not allowed to see that forum.", :Forum_specific_permissions => "Forum-specific permissions", - :Forum_information => "Forum Information", - :Forums => "Forums", + :forum_statistics => "Forum Statistics", + :for_a_post => "for a post", + :for_the_next => "for the next", :From => "From", :Global_Permissions => "Global Permissions", :Gravatar => "Gravatar", :Groups => "Groups", - :Home => "Home", :has_been_banned => { :zero => "has never been banned", :one => "has been banned once", :other => "has been banned {{count}} times." }, :has_been_placed_into => "{{user}} has been placed into the {{group}} group.", - :in => "in", + :Home => "Home", :In => "In", + :in => "in", :Inbox => "Inbox", :Index => "Index", :invalid_format => "Invalid format.", :IP => "IP", - :IPs => "IPs", :ip => "ip", + :IPs => "IPs", :ip_banned => "IP has been banned.", :IP_Banning => "IP Banning", - :ip_not_banned => "IP could not be banned.", :ip_is_banned => "Your IP is banned.", + :ip_not_banned => "IP could not be banned.", :ip_range_unbanned => "IP range unbanned.", :is_currently_banned => "{{user}} is currently banned", :Is_default => "Is default?", @@ -276,8 +278,8 @@ :Last_updated => "Last updated", :Leave_redirect? => "Leave redirect?", :Lock => "Lock", - :Lock_this_topic => "Lock this topic", :Locked! => "Locked!", + :Lock_this_topic => "Lock this topic", :Logged_in_as => "Logged in as", :logged_in_successfully => "Logged in successfully.", :Login => "Login", @@ -289,10 +291,10 @@ :Member_since => "Member since", :Merge => "Merge", :Merging => "Merging", - :message_not_sent => "This message could not be sent.", + :message_does_not_belong_to_you => "That message does not belong to you.", :Message_from => "Message from", + :message_not_sent => "This message could not be sent.", :message_sent => "The message has been sent.", - :message_does_not_belong_to_you => "That message does not belong to you.", :Moderation => "Moderation", :Moderation_Section => "Moderation Section", :Moderator => "Moderator", @@ -300,8 +302,8 @@ :Move => "Move", :moved_higher => "{{thing}} has been moved higher.", :moved_lower => "{{thing}} has been moved lower.", - :moved_to_top => "{{thing}} has been moved to the top.", :moved_to_bottom => "{{thing}} has been moved to the bottom.", + :moved_to_top => "{{thing}} has been moved to the top.", :Moving_topics => "Moving topics", :Must_be_longer_than_6_characters => "Must be longer than 6 characters", :Must_match_the_password => "Must match the password", @@ -309,17 +311,27 @@ :need_to_be_admin => "You need to be an admin to do that.", :need_to_be_admin_or_moderator => "You need to be an admin or moderator to do that.", :need_to_be_moderator => "You need to be a moderator to do that.", - :Next_post => "Next post", - :New => "New {{thing}}", - :never => "never", :Never => "Never", - :no => "no", + :never => "never", + :New => "New {{thing}}", + :Next_post => "Next post", :No => "No", + :no => "no", :nobody_else => "There is nobody else to send a message to.", + :None => "None", + :none => "none", + :Nothing_is_banned => "Nothing is banned", + :not_allowed_to_access_topic => "You are not allowed to access that topic.", + :not_allowed_to_edit_topic => "You are not allowed to edit that topic.", + :not_allowed_to_manage => "You are not allowed to manage {{area}}", + :not_allowed_to_view_topics => "You are not allowed to view topics in that forum.", + :not_created => "The {{thing}} was not created.", + :not_found => "The {{thing}} you were looking for could not be found.", + :not_updated => "The {{thing}} was not updated.", :no_categories => "There are no categories.", + :no_categories_or_forums => "There are no categories or forums.", :No_categories_to_assign_specific_permissions_to => "There are no categories to assign specific permissions to.", :No_category_specific_permissions => "There are no category-specific permissions for this group.", - :no_categories_or_forums => "There are no categories or forums.", :no_forums => "There are no forums.", :No_forums_to_assign_specific_permissions_to => "There are no forums to assign specific permissions to.", :No_forum_specific_permissions => "There are no forum-specific permissions for this group.", @@ -327,21 +339,11 @@ :no_posts => "There are no posts created by {{by}}", :no_ranks => "There are no ranks.", :no_sent_messages => "no sent messages", + :no_themes => "no themes", :no_topics => "There are no posts created by {{by}}", :no_topics_for_forum => "There are no topics for this forum.", :No_topics_in_moderation_queue => "There are no topics in the moderation queue.", - :no_themes => "no themes", :No_users_in => "There are no users in the group {{thing}}.", - :not_allowed_to_access_topic => "You are not allowed to access that topic.", - :not_allowed_to_edit_topic => "You are not allowed to edit that topic.", - :not_allowed_to_manage => "You are not allowed to manage {{area}}", - :not_allowed_to_view_topics => "You are not allowed to view topics in that forum.", - :not_created => "The {{thing}} was not created.", - :not_found => "The {{thing}} you were looking for could not be found.", - :not_updated => "The {{thing}} was not updated.", - :Nothing_is_banned => "Nothing is banned", - :None => "None", - :none => "none", :of_all_posts => "of all posts", :of_all_posts_on_this_forum => "of all posts in this forum", :Online => "Online", @@ -355,12 +357,12 @@ :Please_choose_from_tabs => "Please choose an option from the tabs.", :Position => "Position", :Post => "Post", - :Post_excerpt => "Post excerpt", - :posts_per_topic => "Posts per topic", :Posts => "Posts", :posts => { :one => "1 post", :zero => "no posts", :other => "{{count}} posts" }, + :posts_per_topic => "Posts per topic", :Posts_Required => "Posts Required", :Posts_since_last_visit => "Posts since last visit", + :Post_excerpt => "Post excerpt", :Previous_post => "Previous post", :problem_during_signup => "There was a problem during signup.", :profile_has_been_updated => "Your profile has been updated.", @@ -371,25 +373,25 @@ :rBoard => "rBoard", :Read => "Read", :Reason => "Reason", - :reason_stated => "reason stated was: {{reason}}", :reason => "reason", - :Remember_me => "Remember me", - :recent_users => "Users on in the last 15 minutes", + :reason_stated => "reason stated was: {{reason}}", :Recently_reported_posts_and_topics => "Recently reported posts and topics", + :recent_users => "Users on in the last 15 minutes", :registered_users => "Registered Users", + :Remember_me => "Remember me", + :Replies => "Replies", :Reply => "Reply", - :Replying_to_topic => "Replying to topic", :Replying_to => "Replying to", - :Replies => "Replies", + :Replying_to_topic => "Replying to topic", :Report => "Report", - :Reports_for => "Reports for {{thing}}", :report => { :zero => "no reports", :one => "1 report", :other => "{{count}} reports" }, - :Reports => "Reports", - :Reports_x => { :zero => "Reports", :one => "1 Report", :other => "{{count}} Reports" }, :Reported => "Reported", :Reported_by => "Reported by", :Reported_on => "Reported on", :Reporting_a => "Reporting a {{thing}}", + :Reports => "Reports", + :Reports_for => "Reports for {{thing}}", + :Reports_x => { :zero => "Reports", :one => "1 Report", :other => "{{count}} Reports" }, :results => { :zero => "no results", :one => "one result", :other => "{{count}} results" }, :Search => "Search", :Search_returned => "Search returned", @@ -401,14 +403,14 @@ :sent => "sent", :Sent_Messages => "Sent Messages", :set_by => "set by", - :Signup => "Signup", - :signature => "signature", :Signature => "Signature", + :signature => "signature", + :Signup => "Signup", :silent_edit => "silent edit", :Split => "Split", + :Splitting => "Splitting", :split_with_existing_subject => "Split with existing subject, prefixed with [SPLIT]", :split_with_subject => "Split with subject", - :Splitting => "Splitting", :stating => "stating", :Sticky => "Sticky", :Sticky_this_topic => "Sticky this topic", @@ -416,41 +418,41 @@ :subforums_display => "Number of Sub-forums to Display", :subforums_display_description => "Limits the number of sub-forums listed underneath a forum listing. Defaults to 3.", :Subforums_For => "Subforums For", + :Subject => "Subject", :Subscribe => "Subscribe", :Subscriptions => "Subscriptions", - :Subject => "Subject", :Text => "Text", :thanks_for_signing_up => "Thanks for signing up!", - :Themes => "Themes", :Theme => "Theme", + :Themes => "Themes", :theme_is_now_default => "{{theme}} is now the default theme.", :This_post_was_edited_by => "This post was edited by", + :times => "times", + :Timestamp => "Timestamp", + :Times_banned => "Times banned", :time_now => "The time is now", :Time_sent => "Time sent", :Time_Zone => "Time Zone", - :Times_banned => "Times banned", - :times => "times", - :Timestamp => "Timestamp", :Title => "Title", :To => "To", :Topic => "Topic", - :Topic_has_been_reported => { :one => "Topic has been reported once.", :other => "Topic has been reported {{count}} times." }, - :topic_has_been_split => "Topic has been split.", - :topic_subscription => "You have subscribed to this topic.", - :topic_unsubscription => "You have unscribed from this topic.", - :topics_moved => "All selected topics have been moved.", - :topic_locked_or_unlocked => "Topic has been {{status}}.", - :topic_too => " This was the only post in the topic, so topic was deleted also.", :Topics => "Topics", :topics => { :one => "1 topic", :zero => "no topics", :other => "{{count}} topics" }, :Topics_created_by => "Topics created by", + :topics_deleted => "All selected topics have been deleted.", :topics_locked => "All selected topics have been locked.", :topics_merged => "Selected topics have been merged.", + :topics_moved => "All selected topics have been moved.", :topics_not_accessible_by_you => "You are not allowed to modify those topics.", - :topics_unlocked => "All selected topics have been unlocked.", - :topics_deleted => "All selected topics have been deleted.", :topics_stickied => "All selected topics have been stickied.", + :topics_unlocked => "All selected topics have been unlocked.", :topics_unstickied => "All selected topics have been unstickied.", + :Topic_has_been_reported => { :one => "Topic has been reported once.", :other => "Topic has been reported {{count}} times." }, + :topic_has_been_split => "Topic has been split.", + :topic_locked_or_unlocked => "Topic has been {{status}}.", + :topic_subscription => "You have subscribed to this topic.", + :topic_too => " This was the only post in the topic, so topic was deleted also.", + :topic_unsubscription => "You have unscribed from this topic.", :Unable_to_subscribe => "You are unable to subscribe to topics.", :Unlock => "Unlock", :Unlock_this_topic => "Unlock this topic", @@ -460,18 +462,18 @@ :updated => "The {{thing}} was updated.", :Upload_new_avatar => "Upload new avatar", :User => "User", - :User_Information => "User Information", :Username => "Username", - :Users_posts => "Posts for {{user}}", - :user_should_create => "Maybe you could create one.", :username_or_password_incorrect => "The username or password you provided is incorrect. Please try again.", - :users => "users", :Users => "Users", + :users => "users", + :Users_posts => "Posts for {{user}}", :user_has_been_banned => "The user has been banned.", + :User_Information => "User Information", :User_not_created => "We could not create your user account. Please ensure your password is longer than 6 characters.", + :user_should_create => "Maybe you could create one.", :Viewing_a_revision => "Viewing a revision", - :Viewing_forums => "Viewing forums", :Viewing_forum => "Viewing forum: {{forum}}", + :Viewing_forums => "Viewing forums", :Viewing_topic => "{{topic}} - {{forum}}", :Views => "Views", :Welcome_to_rBoard => "Welcome to rBoard!", @@ -480,15 +482,16 @@ :without_stating_a_reason => "without stating a reason", :wrote => "wrote:", :x_new_messages => {:zero => 'No new messages', :one => 'One new message', :other => '{{count}} new messages'}, - :yes => "yes", :Yes => "Yes", + :yes => "yes", + :Your_topic_moderation_queue => "Your topic moderation queue", :you_are_banning_yourself => "You are banning yourself", :you_are_not_allowed_to_read_messages => "You are not allowed to read private messages", :You_are_reporting_this_post => "You are reporting this post", :you_have_been_logged_out => "You have been logged out.", :you_must_be_logged_in => "You must be logged in to do that.", :you_should_create_category_or_forum => "Maybe you should create a category or forum.", - :you_should_create_forum => "Maybe you should create a forum.", - :Your_topic_moderation_queue => "Your topic moderation queue" + :you_should_create_forum => "Maybe you should create a forum." + } } diff --git a/features/forums.feature b/features/forums.feature index a5e83c88..a341fd9f 100644 --- a/features/forums.feature +++ b/features/forums.feature @@ -38,4 +38,13 @@ Feature: Manage forums And I can see inactive forums And I am on the forums page Then I should see "Hidden Forum" + + Scenario: Registered users should not be able to post in closed forums + Given I am logged in as a "registered_user" + And there is a closed forum + When I follow "Closed Forum" + Then I should not see "New Topic" + When I follow "Closed Forum's Topic" + Then I should not see "New Reply" + \ No newline at end of file