b51bebb200
Extract queries to keep logic in the Categories Model
...
This creates two methods in the Category model. This moves the model
logic to the model and just calls the Category class methods in
ListController.
This also adds tests for the two methods created in the Category
model. The motivation for this refactor is the code climate score of the
this class and readability of the code.
Please enter the commit message for your changes. Lines starting
2014-02-08 14:10:48 -08:00
e0df404d7e
Add site setting tos_accept_required. If enabled, users must check a box saying that they've read and accept the terms of service.
2014-02-07 16:04:13 -05:00
3b617b04b0
FEATURE: First stab at groups page with member list
2014-02-07 10:44:51 -05:00
2d47fe4473
Can list group members
2014-02-07 10:44:51 -05:00
3b1ef6ebc9
Work in progress: Groups Page
2014-02-07 10:44:51 -05:00
de57f29467
More templates for the group page
2014-02-07 10:44:50 -05:00
a873f7a95a
Client and Server side routes for a Group
2014-02-07 10:44:50 -05:00
93434be16d
SECURITY: reduce moderator rights
...
You can now hide particular categories from certain moderators
2014-02-07 14:11:52 +11:00
58202baa62
BUGFIX: show the draft on top page
2014-02-06 11:39:43 +01:00
6d3c3a02cb
Merge pull request #1900 from ballistiq/allow_user_activation_on_create
...
Whitelist :active param so that we can automatically create users that a...
2014-02-06 09:56:00 +01:00
aff16f372b
FIX: Show a nicer error when a user tries to access a category they
...
can't see.
2014-02-05 15:33:52 -05:00
1dac3cfd64
API endpoint for retrieving the current user
2014-02-05 13:46:24 -05:00
c13aa8852b
Whitelist :active param so that we can automatically create users that are active via API
2014-02-04 15:40:30 -05:00
4fb274fb9d
BUGFIX: history link doesn't work on deleted posts
2014-02-04 20:05:50 +01:00
d2974c2a15
BUGFIX: proper handling of top_menu_items
2014-02-03 16:08:00 +01:00
daa14cda40
ignore exclude_category from the menu if we are trying to view the category.
2014-01-31 22:35:19 +05:30
ae401f0dc7
BUGFIX: JSON requests don't exclude categories from filters
2014-01-31 14:36:00 +01:00
b315a5c28f
Delegate bulk operations to a TopicsBulkAction
object.
2014-01-30 11:44:29 -05:00
0c73eb8ce1
Front end code is complete for changing categories of topics in bulk
2014-01-30 11:44:29 -05:00
2892153712
REMOVE: Get rid of the hotness
control for good.
2014-01-29 11:54:34 -05:00
74f1c553e3
FIX: 1868 Security: Dangerous Send
2014-01-27 13:05:51 -05:00
90e195b2e7
More work on trust level 3 requirements page
2014-01-24 11:56:46 -05:00
748e1e0748
Allow using the API when Login required site setting is on.
2014-01-24 14:02:49 +01:00
da825451d0
Invite link can't be used to log in after you set a password or sign in with 3rd party
2014-01-21 16:56:41 -05:00
8d2e5041bc
BUGFIX: proper handling of /none subcategory
2014-01-18 19:27:25 +01:00
e31789327e
fix the specs
2014-01-18 19:27:25 +01:00
129617b415
Lots of bugfixes
...
BUGFIX: navigation bar should always activate the right tab (even when diging into a top period)
BUGFIX: /top pages titles
BUGFIX: no "edit category" button on /top page after visiting a category
BUGFIX: properly hide category columns when there is no children category (on both filter + top pages)
BUGFIX: promises not caught when scrolling down a topic list to load more of them
BUGFIX: CSS on category dropdowns
Updated `top_menu` i18n with available filters
2014-01-18 19:27:25 +01:00
c1a66b70bb
BUGFIX: use previous_visit_at instead of last_seen_at to determine the best period to display in the top summary
2014-01-16 01:36:32 +01:00
462c6d81f5
BUGFIX: exclude categories from the top view
2014-01-16 00:49:58 +01:00
a177732d28
FEATURE: top page should not be infinite. Limite them to 200 topics by default
2014-01-15 22:12:53 +01:00
0b2ead2248
rename topics_per_period_in_summary settings to topics_per_period_in_top_summary
2014-01-15 22:12:47 +01:00
ed87a589ca
BUGFIX: only show the best period for logged-in users
2014-01-15 21:45:28 +01:00
3a6bffa05d
FEATURE: better top pages
2014-01-14 01:09:12 +01:00
bcc7f3aba4
Support embedded link counts via data-*
attribute
2014-01-13 13:37:55 -05:00
488319a5d1
FIX: Don't store incoming links on embed
2014-01-13 12:58:53 -05:00
af3edfd5eb
FEATURE: Show Reply count on blog index page when embedding
2014-01-13 12:47:41 -05:00
2c75e15049
FEATURE: query param for closed / archived / open
...
?status=closed for closed topics
?status=open for open topics
?status=archived for archived topics
2014-01-13 14:40:21 +11:00
2b64118df1
Merge pull request #1782 from ligthyear/group-mention
...
Allow groups to be used as aliases for user mentions
2014-01-12 14:36:45 -08:00
852d110f35
Test email is now synchronous and ignores sidekiq queue.
2014-01-09 15:25:25 -05:00
259295d865
Add post_edit_time_limit site setting to limit the how long a post can be edited and deleted by the author. Default is 1 year.
2014-01-09 11:55:04 -05:00
e7975f25b8
Remove remaining code for two-column categories page
2014-01-07 18:13:49 -05:00
c743a985a4
Allow groups to be used as aliases for user mention
...
when configured by the admin a group can be found through the @mentions
feature in both the compose/reply and the private message user-selectors
and once selected the mention will be replaced by the list of users in
the group
2014-01-08 02:36:24 +11:00
8d73b7f94d
BUGFIX: hide sensitive site settings
2014-01-06 13:03:53 +01:00
eeb83adf71
BUGFIX: staff can now edit delted posts
...
fixes #1343
This was way easier than mucking with the UI
2014-01-06 18:12:51 +11:00
dfb9b8fa58
Fix unused parameter
2014-01-04 08:53:27 +01:00
25caec0e62
Change text at the bottom of embedded comments to be (x more replies)
2014-01-03 14:55:37 -05:00
1ffcf39448
Make embedded comments look nicer
2014-01-03 12:52:42 -05:00
aefad6ae85
FIX: Broken test
2014-01-02 12:15:48 -05:00
01be681a95
Link embeded topic to second post. They've already read the first.
2014-01-02 11:59:20 -05:00
15faa01178
FIX: Missing variable
2014-01-02 11:55:58 -05:00