discourse/app/models
Manoj 9650dbb97c Refactor topics controller
Refactor: 1) TopicsController to reduce code climate complexity.
2) Topic model, addressed comments

fix typo
2013-10-28 11:42:07 +05:30
..
admin_dashboard_data.rb Show a warning on admin dashboard if running on an older patch level of ruby 2.0 2013-10-24 18:22:47 -04:00
api_key.rb Change migration to prevent down 2013-10-22 17:51:04 -04:00
cas_user_info.rb annotate models 2013-06-17 02:49:34 +02:00
category.rb Can assign a parent category to a category. 2013-10-24 17:03:28 -04:00
category_featured_topic.rb improve performance of periodical update job, decrease frequency and shift it by a few minutes 2013-09-30 16:59:16 +10:00
category_featured_user.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
category_group.rb work in progress, add fidelity to category group permissions (full, create posts, readonly) 2013-07-16 15:46:11 +10:00
category_list.rb change it so all topics MUST include a category, we store a special uncategorized category to compensate 2013-10-24 12:08:02 +11:00
category_search_data.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
digest_email_site_setting.rb Enum site settings can have translatable names in dropdown. Add setting for how often users get digest emails by default: default_digest_email_frequency. 2013-08-23 17:36:25 -04:00
discourse_version_check.rb Rails 4 updates 2013-07-24 21:09:18 +02:00
draft.rb Avoid superfluous transaction when saving drafts 2013-10-02 12:17:27 +10:00
draft_sequence.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
email_log.rb Refactor update_all statements in order to prevent deprecation warnings in Rails 4 2013-07-02 18:36:47 +02:00
email_token.rb Refactor update_all statements in order to prevent deprecation warnings in Rails 4 2013-07-02 18:36:47 +02:00
error_log.rb filter params correctly from error log 2013-10-13 08:07:45 +11:00
facebook_user_info.rb Enabled strong_parameters across all models/controllers. 2013-06-06 00:30:59 -07:00
github_user_info.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
group.rb correct: http://meta.discourse.org/t/cant-save-adding-a-group-permission-to-a-category/8537 2013-07-23 10:10:36 +10:00
group_user.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
hot_topic.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
incoming_link.rb updated model annotations 2013-08-13 22:09:27 +02:00
incoming_links_report.rb No more rails 4 deprecation warnings 2013-08-25 23:18:11 +02:00
invite.rb work in progress, add fidelity to category group permissions (full, create posts, readonly) 2013-07-16 15:46:11 +10:00
invite_redeemer.rb invite only forums had very wonky logic, invited users were not being activated, invite_only forums were still registering users 2013-08-28 17:18:31 +10:00
invited_list.rb bug fixes for user_stat extraction, decrease querying 2013-10-07 15:05:00 +11:00
locale_site_setting.rb Enum site settings can have translatable names in dropdown. Add setting for how often users get digest emails by default: default_digest_email_frequency. 2013-08-23 17:36:25 -04:00
min_trust_to_create_topic_setting.rb Add min_trust_to_create_topic setting to require a certain trust level before users can start new topics 2013-09-03 19:12:22 -04:00
notification.rb Refactor update_all statements in order to prevent deprecation warnings in Rails 4 2013-07-02 18:36:47 +02:00
oauth2_user_info.rb annotate models 2013-08-28 10:52:06 +10:00
optimized_image.rb allow users to specify thumbnail size 2013-09-27 10:57:31 +02:00
plugin_store.rb PluginStore for plugin specific bits of storage 2013-08-26 12:59:17 +10:00
plugin_store_row.rb annotate models 2013-08-28 10:52:06 +10:00
post.rb change it so all topics MUST include a category, we store a special uncategorized category to compensate 2013-10-24 12:08:02 +11:00
post_action.rb fix broken build 2013-09-06 18:03:30 +10:00
post_action_type.rb security issue, anon and logged in users could see the fact that a user sent another user a pm (but could not see the pm itself or title) 2013-10-03 16:48:03 -07:00
post_alert_observer.rb Add some TODO's 2013-07-22 22:39:20 +02:00
post_analyzer.rb 4% speedup on our test suite 2013-10-17 18:47:08 +02:00
post_detail.rb Adding post details in preparation for the API importer code. 2013-10-15 09:21:30 -05:00
post_mover.rb db consistency check for mismatching topic_ids in user_actions 2013-07-17 16:40:56 +10:00
post_reply.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
post_search_data.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
post_timing.rb large refactor, ship a few columns from the user table into user_stats 2013-10-07 15:04:59 +11:00
post_upload.rb annotate models 2013-06-17 02:49:34 +02:00
report.rb notify moderators now goes to the "community" user, that saves our poor mods from a flood of pms 2013-09-06 14:07:23 +10:00
s3_region_site_setting.rb Enum site settings can have translatable names in dropdown. Add setting for how often users get digest emails by default: default_digest_email_frequency. 2013-08-23 17:36:25 -04:00
screened_email.rb annotate models 2013-08-28 10:52:06 +10:00
screened_ip_address.rb Whitelisted ip addresses will not be flagged as spam by flag_sockpuppets 2013-10-23 17:11:35 -04:00
screened_url.rb Clean up ScreenUrl normalization and matching 2013-10-16 16:39:29 -04:00
search_observer.rb Fix locale dependend stemmer for FTS 2013-07-23 03:07:59 +04:00
site.rb Disable caching of site settings temporarily 2013-10-17 15:49:33 -04:00
site_content.rb hmm I totally missed that it was already there 2013-07-16 21:06:04 +10:00
site_content_type.rb Support for custom Privacy Policies 2013-06-26 10:59:36 -04:00
site_customization.rb large refactor, ship a few columns from the user table into user_stats 2013-10-07 15:04:59 +11:00
site_setting.rb oops messed up merge 2013-10-24 12:09:49 +11:00
top_menu_item.rb adds TopMenuItem model which encapsulates top_menu parsing logic 2013-06-24 10:04:18 -07:00
topic.rb Refactor topics controller 2013-10-28 11:42:07 +05:30
topic_allowed_group.rb Enabled strong_parameters across all models/controllers. 2013-06-06 00:30:59 -07:00
topic_allowed_user.rb Enabled strong_parameters across all models/controllers. 2013-06-06 00:30:59 -07:00
topic_featured_users.rb Extracted featured_users functionality out of Topic. 2013-08-27 09:10:50 +00:00
topic_invite.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
topic_link.rb update annotations 2013-09-06 17:38:50 +10:00
topic_link_click.rb update annotations 2013-09-06 17:38:50 +10:00
topic_list.rb I need to figure out how to make a .try variant that does not call respond_to. 2013-09-12 11:29:44 +10:00
topic_notifier.rb added an option to bypass auto tracking of topics on post creation 2013-07-22 15:07:20 +10:00
topic_poster.rb topic_poster.rb: Fix formatting of the attributes return value 2013-03-23 19:09:01 +05:30
topic_posters_summary.rb Fix TopicPostersSummary when a suggested topic includes a user who has been deleted 2013-05-27 14:12:15 -04:00
topic_status_update.rb If a user read to the end of an auto closing topic, when it is closes just pretend they read the close message. 2013-07-04 11:47:12 +10:00
topic_tracking_state.rb work in progress, add fidelity to category group permissions (full, create posts, readonly) 2013-07-16 15:46:11 +10:00
topic_user.rb defer view creation on so updates are not performed when people navigate to topics 2013-10-07 15:04:59 +11:00
twitter_user_info.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
upload.rb large refactor, ship a few columns from the user table into user_stats 2013-10-07 15:04:59 +11:00
user.rb cleanup API for looking up a user by email or username, add specs, fix invalid auto association in open id provider 2013-10-28 16:29:07 +11:00
user_action.rb large refactor, ship a few columns from the user table into user_stats 2013-10-07 15:04:59 +11:00
user_action_observer.rb :s/POST/REPLY/g 2013-05-01 10:52:31 +10:00
user_email_observer.rb revert non queuing of emails 2013-08-27 11:52:28 +10:00
user_history.rb large refactor, ship a few columns from the user table into user_stats 2013-10-07 15:04:59 +11:00
user_open_id.rb Enabled strong_parameters across all models/controllers. 2013-06-06 00:30:59 -07:00
user_search.rb FIX: N+1 query for avatars 2013-08-14 15:25:05 +02:00
user_search_data.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
user_stat.rb large refactor, ship a few columns from the user table into user_stats 2013-10-07 15:04:59 +11:00
user_visit.rb large refactor, ship a few columns from the user table into user_stats 2013-10-07 15:04:59 +11:00
username_validator.rb Refactored username validations to avoid repeated code 2013-07-07 13:05:18 +02:00
view.rb defer view creation on so updates are not performed when people navigate to topics 2013-10-07 15:04:59 +11:00