discourse/spec/models
Matt Van Horn 872995db57 refactor guardian class for clarity & correctness
introduce NullUser to avoid type-checking
DRY up code
reduce number of multiple returns
remove some redundant/impossible logic branches
add pending test for possible bug
add test & fix for ability to flag archived posts
add #secure_category? method to topic class
Fix bug that prevented flagging of archived topics
Rename NullUser to AnonymousUser
DRY up can_<action>? methods
Fix some ownership logic, and a test, for Guardian
2013-05-22 01:09:34 -07:00
..
admin_dashboard_data_spec.rb ignore assets 2013-04-30 12:43:59 +10:00
admin_log_spec.rb Add ability to destroy a user with 0 posts 2013-04-12 16:53:00 -04:00
category_featured_topic_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
category_featured_user_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
category_spec.rb fix crash caused by incorrect query in scope 2013-05-15 22:26:52 +01:00
draft_sequence_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
draft_spec.rb Move draft sequence incrementing out of after_save 2013-03-18 17:54:50 -04:00
email_log_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
email_token_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
error_log_spec.rb Convert a lot of :a => b to a: b and bring peace to the world 2013-03-25 05:07:36 +05:30
group_spec.rb more group progress, UI getting there, controller mostly done 2013-05-09 17:37:34 +10:00
hot_topic_spec.rb Add score, percent_rank to topics. Adds HotTopic model and consolidated job to calculate 2013-03-28 15:39:54 -04:00
incoming_link_spec.rb store ip address and current user with incoming links 2013-04-26 16:18:55 +10:00
incoming_links_report_spec.rb Change the title Visits to Clicks in referral tables on admin dashboard 2013-05-06 11:56:35 -04:00
invite_spec.rb better consistency around email case sensitivity 2013-04-15 02:20:33 +02:00
notification_spec.rb consistency check, need to also ensure delete cleans stuff up, maybe make notifications trashable 2013-05-16 17:50:14 +10:00
post_action_spec.rb Support for a new site setting: newuser_spam_host_threshold. If a new user posts a link 2013-05-16 12:19:50 -04:00
post_alert_observer_spec.rb disable observers in tests, enable as needed, tests are 20% faster 2013-05-14 11:59:55 +10:00
post_reply_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
post_spec.rb Support for a new site setting: newuser_spam_host_threshold. If a new user posts a link 2013-05-16 12:19:50 -04:00
post_timing_spec.rb disable observers in tests, enable as needed, tests are 20% faster 2013-05-14 11:59:55 +10:00
report_spec.rb change "visitor" trust level to "new user" 2013-04-17 16:11:24 -07:00
site_content_spec.rb Can change TOS content via site content editor 2013-04-05 15:21:55 -04:00
site_customization_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
site_setting_spec.rb FIX: setting min_topic_title_length is ignored 2013-04-10 14:54:10 +02:00
topic_allowed_user_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
topic_invite_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
topic_link_click_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
topic_link_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
topic_spec.rb refactor guardian class for clarity & correctness 2013-05-22 01:09:34 -07:00
topic_user_spec.rb Trigger UserActionObserver when tracking visit 2013-05-21 20:45:03 -07:00
upload_spec.rb added some tests for uploads 2013-04-07 17:52:46 +02:00
user_action_spec.rb the private message stream is different to normal streams, improving the ui a bit and collapsing conversations 2013-05-20 16:44:06 +10:00
user_email_observer_spec.rb Send emails to users who are watching topics 2013-02-27 15:38:44 -05:00
user_open_id_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
user_search_spec.rb before: 2013-04-22 11:05:54 +10:00
user_spec.rb Added a spec for staff? and regular? 2013-05-18 18:07:07 +10:00
user_tracking_state_spec.rb update message bus to support per client filtering 2013-05-21 16:39:51 +10:00
user_visit_spec.rb save it ... 2013-04-08 08:21:54 +10:00
username_validator_spec.rb Extract the validation of Username format in own class to avoid 2013-02-08 12:54:47 -05:00
view_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00