discourse/app/models
Stephen Birarda c3eb2025d8 add option to override user attributes from SSO payload
add an external_username attribute for username from SSO payload

repair the field name in SingleSignOnRecord migration

move setting of external_username for sso to controller

add settings toggle to override username/email from SSO payload

fix changing of external username after override toggle

complete tests and logic for sso override

add some extra context to username override option

add external_email and external_name to single sign on record

add setting for name override from SSO payload

complete override with stored external_email and external_name

add missing checks to tests

remove an unneeded describe block

break up a monster method for single sign on

fixes for sso attribute override after failed tests
2014-03-04 09:52:21 -08:00
..
admin_dashboard_data.rb Rename favorite to starred everywhere 2014-01-10 14:54:19 -05:00
api_key.rb annotate models 2013-12-05 17:40:35 +11:00
backup.rb FEATURE: upload backups 2014-02-22 01:41:01 +01:00
category_featured_topic.rb Don't include category definitions on Categories page 2014-02-07 17:01:31 -05:00
category_featured_user.rb PERF: optimise featuring of topics and users 2014-01-30 10:32:20 +11: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 FIX: n+1 queries in CategoryList 2014-02-24 15:07:46 -05:00
category_search_data.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
category_user.rb Update annotations 2014-02-07 11:07:52 +11:00
category.rb Add Email-In-Per-Category 2014-02-28 16:53:58 +01: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_single_sign_on.rb add option to override user attributes from SSO payload 2014-03-04 09:52:21 -08:00
discourse_version_check.rb Drop Rails3 support 2014-02-17 19:42:08 +01:00
draft_sequence.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
draft.rb Avoid superfluous transaction when saving drafts 2013-10-02 12:17:27 +10:00
email_log.rb Log when and why an email was not sent in email_logs 2014-02-14 13:06:39 -05: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
global_setting.rb Use ERB when importing conf files into app 2014-02-14 16:14:55 -08:00
group_user.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
group.rb FEATURE: Show the posts count on the groups page. It seems a bit odd 2014-02-12 14:01:36 -05:00
incoming_link.rb BUGFIX: Don't blow up on junk referers 2014-02-27 12:03:38 +11:00
incoming_links_report.rb Drop Rails3 support 2014-02-17 19:42:08 +01:00
invite_redeemer.rb Trust Level 3: invited users start at default_invitee_trust_level + 1, unless default_invitee_trust_level is 2 or higher 2014-01-17 11:12:00 -05:00
invite.rb Drop Rails3 support 2014-02-17 19:42:08 +01:00
leader_requirements.rb Track how many posts a user reads each day in user_visits 2014-01-27 11:20:19 -05: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 BUGFIX: regression, not handling nil count for recent report 2014-02-14 07:21:19 +11:00
oauth2_user_info.rb annotate models 2013-08-28 10:52:06 +10:00
optimized_image.rb pull hotlinked images 2013-11-05 19:07:29 +01:00
plugin_store_row.rb annotate models 2013-08-28 10:52:06 +10:00
plugin_store.rb clean up plugin store when removing data instead of setting the value to nil and do it a reasonable way. 2014-02-25 08:26:35 -08:00
post_action_type.rb Add a way to flag a topic 2014-02-12 12:57:55 -05:00
post_action.rb If flagging a topic with only one post, flag the post instead 2014-02-18 15:18:31 -05:00
post_alert_observer.rb BUGFIX: emails sent from "2 replies" as opposed to correct user 2014-02-04 12:56:28 +11:00
post_analyzer.rb Work in progress: Swap out onebox code for onebox gem 2014-01-29 14:14:07 -05:00
post_detail.rb annotate models 2013-12-05 17:40:35 +11:00
post_mover.rb Support for choosing a destination category when splitting topics. 2013-10-29 15:30:06 -04:00
post_reply.rb moved comments to the bottom, they are way less intrusive there 2013-05-24 12:48:32 +10:00
post_revision.rb Update annotations 2014-02-07 11:07:52 +11: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 FEATURE: Bulk reset read status. 2014-02-21 15:18:45 -05:00
post_upload.rb annotate models 2013-06-17 02:49:34 +02:00
post.rb FEATURE: white_listed_spam_host_domains for domains that are not blocked for spam 2014-02-27 15:43:57 +11:00
report.rb Rename favorite to starred everywhere 2014-01-10 14:54:19 -05: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-12-05 17:40:35 +11:00
screened_ip_address.rb FIX: nuke spammer from flags page 2014-02-21 14:14:30 -05:00
screened_url.rb annotate models 2013-12-05 17:40:35 +11:00
search_observer.rb Fix locale dependend stemmer for FTS 2013-07-23 03:07:59 +04:00
single_sign_on_record.rb FEATURE: single sign on support 2014-02-25 14:31:03 +11:00
site_content_type.rb FEATURE: allow for custom HTML inside the <head> tags 2014-01-02 16:22:04 +01:00
site_content.rb 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
site_customization.rb Revert "Re-apply with fixes: Stop using user agent to detect mobile devices. Use a media query and yepnope to load the appropriate css and customizations." 2013-12-18 14:47:22 -05:00
site_setting.rb Allow users to toggle interface language in their preferences 2014-02-18 14:53:59 -05:00
site.rb BUGFIX: Don't return child categories if you can't see the parent 2014-02-24 14:52:41 -05:00
top_lists.rb BUGFIX: show the draft on top page 2014-02-06 11:39:43 +01:00
top_menu_item.rb BUGFIX: proper handling of top_menu_items 2014-02-03 16:08:00 +01:00
top_topic.rb OPTIM: change Top Topic's score computation algorithm 2014-02-28 20:33:52 +01:00
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_embed.rb Update annotations 2014-02-07 11:07:52 +11:00
topic_featured_users.rb Drop Rails3 support 2014-02-17 19:42:08 +01: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_click.rb FIX: Incorrect string match 2014-01-14 15:38:12 -05:00
topic_link.rb Rename TopicSummary -> TopicMap 2013-11-18 12:08:21 -05:00
topic_list.rb Add previous page link for crawlers 2014-02-25 12:15:48 -05:00
topic_notifier.rb FEATURE: mute/watch/track buttons for private conversations 2014-01-22 17:46:52 +11: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 simplify TopicPostersSummary 2014-02-18 23:53:30 -05:00
topic_revision.rb Update annotations 2014-02-07 11:07:52 +11:00
topic_status_update.rb FIX: When re-opening a topic that auto-closed, make sure it won't auto-close again 2013-12-19 11:25:05 -05:00
topic_tracking_state.rb BUGFIX: new date was incorrect 2014-03-03 16:11:59 -05:00
topic_user.rb FIX: Showing Unread(1) when you weren't tracking the topic. Also 2014-02-26 15:39:45 -05:00
topic.rb Revert "Use symbols instead of strings in order clause" 2014-02-28 15:08:50 +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 annotate models 2013-12-05 17:40:35 +11:00
user_action_observer.rb FEATURE: collapse replies to topics 2014-02-03 13:59:14 +11:00
user_action.rb BUGFIX: Don't include deleted topics in activity. Deleted posts are OK. 2014-02-28 11:15:05 -05:00
user_email_observer.rb Drop Rails3 support 2014-02-17 19:42:08 +01:00
user_history.rb FIX: moderators should not be able to see site setting changes in the staff action logs. Fixes #2027 2014-02-28 16:30:54 -05:00
user_open_id.rb Enabled strong_parameters across all models/controllers. 2013-06-06 00:30:59 -07: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_search.rb SiteSetting to hide regular names from users 2013-10-30 15:45:34 -04:00
user_stat.rb BUGFIX: UserStat spec was over ambitious with its mocking 2014-01-06 16:50:55 +11:00
user_visit.rb Update annotations 2014-02-07 11:07:52 +11:00
user.rb BUGFIX: new date was incorrect 2014-03-03 16:11:59 -05:00
username_validator.rb [0] is shorter than [0,1] :) 2013-12-17 16:30:25 +01:00
view.rb annotate models 2013-12-05 17:40:35 +11:00