discourse/spec/models
James Kiesel feffe23cc5 FEATURE: More granular mailing list mode (#4068)
* Rearrange frontend to account for mailing list mode

* Allow update of user preference for mailing list frequency

* Add mailing list frequency estimate

* Simplify frequency estimate; disable activity summary for mailing list mode

* Remove combined updates

* Add specs for enqueue mailing list mode job

* Write mailing list method for mailer

* Fix linting error

* Account for stale topics

* Add translations for default mailing list setting

* One query for mailing list topics

* Fix failing spec

* WIP

* Flesh out html template

* First pass at text-based mailing list summary

* Add user avatar

* Properly format posts for mailing list

* Move make_all_links_absolute into Email::Styles

* Apply first_seen_at to user

* Send mailing list email summary hourly based on first_seen_at

* Branch and test cleanup

* Use existing mailing list mode estimate

* Fix failing specs
2016-05-21 15:17:54 +02:00
..
about_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
admin_dashboard_data_spec.rb FEATURE: report on admin dashboard when favicon is failing to load 2016-04-05 14:42:32 -04:00
api_key_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
application_request_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
backup_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
badge_spec.rb FIX: all badges got revoked due to ensure consistency query 2016-03-29 23:54:18 +11:00
badge_type.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
category_featured_topic_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
category_featured_user_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
category_group_spec.rb Enums that are used in tables need to be stable 2016-01-08 20:43:11 +05:30
category_list_spec.rb correct spec to stop checking for empty category suppression 2016-02-19 17:43:26 +11:00
category_spec.rb FEATURE: create permalink when category slug is changed 2016-04-27 17:34:03 +05:30
category_user_spec.rb FIX: changing topic from one watched category to another watched category makes topic 'new' again 2016-01-26 01:28:01 +05:30
color_scheme_color_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
color_scheme_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
digest_email_site_setting_spec.rb FEATURE: More digest email frequency options. Digests can be sent as often as every 30 minutes. 2016-03-02 15:43:47 -05:00
digest_unsubscribe_key_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
directory_item_spec.rb PERF: stop rebuilding full directory item table on refresh 2016-03-02 18:23:29 +11:00
discourse_single_sign_on_spec.rb FIX: refresh automatic group if SSO specifies admin/mod 2016-05-17 17:31:34 +10:00
draft_sequence_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
draft_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
email_log_spec.rb FIX: only ever send users 1 email per post 2016-04-15 15:59:01 +10:00
email_token_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
embeddable_host_spec.rb Support IP addresses for embeddable hosts 2016-01-11 11:06:32 -05:00
given_daily_like_spec.rb FIX: Use a logging table for daily likes given. Use it for badges. 2016-03-18 11:18:54 -04:00
global_setting_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
group_spec.rb FIX: Allow longer TLDs 2016-04-08 12:15:21 -04:00
incoming_link_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
incoming_links_report_spec.rb FIX: broken links on admin dashboard in Top Referrers section 2016-02-22 14:31:13 -05:00
invite_redeemer_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
invite_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
locale_site_setting_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
mailing_list_mode_site_setting_spec.rb FEATURE: More granular mailing list mode (#4068) 2016-05-21 15:17:54 +02:00
notification_spec.rb correct bad spec 2016-03-22 14:50:12 +11:00
optimized_image_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
permalink_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
plugin_store_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
post_action_spec.rb FEATURE: Warn a user when they have few likes remaining 2016-03-18 11:30:29 -04:00
post_action_type_spec.rb Enums that are used in tables need to be stable 2016-01-08 20:43:11 +05:30
post_alert_observer_spec.rb FIX: if user undos like, and relikes notify 2016-03-04 22:56:27 +11:00
post_analyzer_spec.rb FEATURE: New "First Onebox" badge 2016-04-12 15:31:14 -04:00
post_detail_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
post_mover_spec.rb Enums that are used in tables need to be stable 2016-01-08 20:43:11 +05:30
post_reply_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
post_spec.rb FEATURE: disable post editing when the post has active flag 2016-03-30 23:28:49 +05:30
post_timing_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
post_upload_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
queued_post_spec.rb Enums that are used in tables need to be stable 2016-01-08 20:43:11 +05:30
quoted_post_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
report_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
rtl_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
s3_region_site_setting_spec.rb add s3 region 2016-01-18 22:50:15 +09:00
screened_email_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
screened_ip_address_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
screened_url_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
search_observer_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
site_customization_spec.rb FEATURE: Site Customizations can use the plugin api 2016-03-18 14:41:48 -04:00
site_setting_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
site_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
stylesheet_cache_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
top_menu_item_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
top_topic_spec.rb FEATURE: make top criteria formula multipliers controlled by site 2016-01-21 10:30:06 +05:30
topic_allowed_user_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
topic_converter_spec.rb FEATURE: move a topic from PM to regular topic or vice versa 2016-05-02 21:34:05 +05:30
topic_embed_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
topic_featured_users_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
topic_invite_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
topic_link_click_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
topic_link_spec.rb FIX: don't extract link with 'mailto' scheme 2016-04-05 00:43:11 +02:00
topic_list_spec.rb FIX: Ensure unique fields in `TopicList.preloaded_custom_fields`. 2016-05-16 17:56:00 +08:00
topic_participants_summary_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
topic_posters_summary_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
topic_spec.rb Fix: Editing a topic with an invalid title will still push it to the top (#4185) 2016-04-25 10:33:38 +02:00
topic_status_update_spec.rb FIX: Autoclose message was not correct when immediate 2015-12-08 18:16:48 +05:30
topic_tracking_state_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
topic_user_spec.rb FIX: a User is *not* a Topic 2016-05-14 10:06:29 +02:00
topic_view_item_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
translation_override_spec.rb FIX: Allow message format translations to be overridden 2016-04-08 14:49:50 -04:00
trust_level3_requirements_spec.rb FIX: setting tl3_min_likes_received too high can make it impossible to be promoted to tl3. Cap the min number of days over which those likes must be received. 2015-12-29 12:59:59 -05:00
twitter_user_info_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
upload_spec.rb SECURITY: check magic bytes before using ImageMagick tools 2016-05-03 21:54:07 +02:00
user_action_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
user_archived_message_spec.rb FEATURE: don't move muted messages back into inbox 2016-02-15 10:56:39 +11:00
user_avatar_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
user_badge.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
user_email_observer_spec.rb PERF: shift most user options out of the user table 2016-02-17 18:08:25 +11:00
user_history_spec.rb Enums that are used in tables need to be stable 2016-01-08 20:43:11 +05:30
user_open_id_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
user_option_spec.rb FIX: ensure consistency of user options 2016-03-17 10:03:56 +11:00
user_profile_spec.rb FIX: validate user website 2016-02-06 02:19:48 +05:30
user_profile_view_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
user_search_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
user_spec.rb FEATURE: More granular mailing list mode (#4068) 2016-05-21 15:17:54 +02:00
user_stat_spec.rb FEATURE: first pass at user summary page 2016-01-20 15:14:25 +11:00
user_summary_spec.rb SECURITY: user summary could show topic links you have no permissions to 2016-01-28 11:12:12 +11:00
user_visit_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00
username_validator_spec.rb Prepare for separation of RSpec helper files 2015-12-01 20:39:42 +00:00