discourse/app/serializers
Guo Xiang Tan 24347ace10 FIX: Properly associate user_profiles background urls via upload id.
`Upload#url` is more likely and can change from time to time. When it
does changes, we don't want to have to look through multiple tables to
ensure that the URLs are all up to date. Instead, we simply associate
uploads properly to `UserProfile` so that it does not have to replicate
the URLs in the table.
2019-05-02 14:58:24 +08:00
..
concerns DEV: Rename some icons with deprecated names 2019-02-28 13:03:14 -05:00
about_serializer.rb UX: sort admins and moderators by last seen date on /about page 2019-01-15 17:26:11 +05:30
admin_badge_serializer.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
admin_badges_serializer.rb FEATURE: allow advanced badge options in admin screen 2014-07-24 18:28:23 +10:00
admin_detailed_user_serializer.rb Review Changes for f4f8a293e7. 2018-02-21 14:55:49 +08:00
admin_email_template_serializer.rb FIX: Translate titles of email templates 2017-01-05 01:26:38 +01:00
admin_plugin_serializer.rb Fix regression introduced in 8cf0f51eb2. 2018-05-16 14:26:03 +08:00
admin_user_action_serializer.rb Make rubocop happy again. 2018-06-07 13:28:18 +08:00
admin_user_list_serializer.rb FIX: Only show "Approve" button for the admin user if reviewable 2019-04-09 11:14:52 -04:00
admin_user_serializer.rb FIX: Better handling for toggling `must_approve_users` 2019-04-16 15:56:35 -04:00
admin_web_hook_event_serializer.rb FEATURE: prompts new webhook events 2016-09-19 12:07:17 +08:00
admin_web_hook_serializer.rb UX: show if webhook is disabled (#7217) 2019-03-21 16:13:09 +01:00
api_key_serializer.rb Support for per-user API keys 2013-10-22 17:34:39 -04:00
application_serializer.rb FIX: unable to create new categories 2019-02-15 10:24:29 +11:00
archetype_serializer.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
auth_provider_serializer.rb FEATURE: Allow auth providers to define specific icons 2019-03-27 13:25:04 +00:00
backup_file_serializer.rb FEATURE: Support backup uploads/downloads directly to/from S3. 2018-10-15 09:43:31 +08:00
badge_grouping_serializer.rb UX: Show translated badge names and badge groupings 2015-12-30 23:35:16 +01:00
badge_index_serializer.rb UX: Show badges as cards on the badges index and show page 2016-03-25 15:33:06 -04:00
badge_serializer.rb FEATURE: grant badges in post admin wrench (#5498) 2018-01-22 14:10:53 +11:00
badge_type_serializer.rb Fix badge type ordering 2014-08-25 12:48:31 -07:00
basic_category_serializer.rb DEV: Option to preload category custom fields for site serializer 2019-03-16 17:18:57 +05:30
basic_group_history_serializer.rb FEATURE: Group logs. 2016-12-12 17:29:54 +08:00
basic_group_serializer.rb UX: new layout for groups page, allow changes to automatic group bio (#7350) 2019-04-17 22:44:30 -04:00
basic_group_user_serializer.rb FIX: Group owners should be able to invite users to their groups. 2017-07-21 23:48:25 +09:00
basic_post_serializer.rb FIX: Hide post replies content for ignored users (#7320) 2019-04-05 16:13:36 +02:00
basic_topic_serializer.rb Add :title as attribute for basic_topic 2013-07-05 23:22:52 +02:00
basic_user_badge_serializer.rb Sort the badges on the user profile page 2014-08-25 12:40:51 -07:00
basic_user_serializer.rb UX: show full name on /latest page 2018-08-23 14:41:06 +05:30
category_and_topic_lists_serializer.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
category_detailed_serializer.rb FIX: use 'topic_all_time' as topic count failover in /categories page 2016-08-29 10:25:46 +02:00
category_list_serializer.rb Properly assign draft keys to Categories List view. 2013-05-28 21:16:24 -04:00
category_serializer.rb FEATURE: Category Reviewable by Group 2019-04-30 15:23:06 -04:00
category_upload_serializer.rb UX: category images have no sizes (#6662) 2018-11-27 08:40:06 +08:00
color_scheme_color_serializer.rb FEATURE: Native theme support 2017-04-12 10:53:49 -04:00
color_scheme_serializer.rb FIX: properly clean up related color schemes on delete 2017-05-04 14:03:17 -04:00
current_user_serializer.rb Remove support for disable_jump_reply user setting (#7359) 2019-04-12 09:03:06 +10:00
detailed_user_badge_serializer.rb FIX: use BasicUserSerializer for user_badge.granted_by (#6266) 2018-08-14 08:11:14 +10:00
directory_item_serializer.rb FEATURE: show avatar flair on group, badges and directory pages (#6732) 2018-12-06 12:18:52 +01:00
directory_serializer.rb FEATURE: User Directory, with sorting and time period filter 2015-03-18 15:20:34 -04:00
discourse_version_check_serializer.rb REFACTOR: Avoid duplicated logic on server and client. 2017-11-21 17:10:04 +08:00
draft_serializer.rb FEATURE: Drafts view in user profile 2018-08-01 16:34:54 +10:00
email_log_serializer.rb UX: Hide link to incoming email when there is no bounce key 2019-03-26 18:00:27 +01:00
embeddable_host_serializer.rb Add embed class name setup for embeddable hosts 2017-05-11 15:16:16 -04:00
embedding_serializer.rb Can edit settings on the embedding page 2015-08-20 15:56:05 -04:00
emoji_serializer.rb FEATURE: custom emojis 2014-12-23 01:12:26 +01:00
flagged_topic_serializer.rb FIX: error when loading admin > flags 2015-08-28 12:31:32 +02:00
flagged_topic_summary_serializer.rb Refactor flag types for more customization 2017-10-19 13:55:23 -04:00
flagged_user_serializer.rb FEATURE: Track how many user flags are agreed/disagreed/ignored 2018-11-01 09:59:50 -04:00
gap_serializer.rb Show Gaps in the post stream when filters are active 2013-12-05 16:46:59 -05:00
group_post_serializer.rb FIX: link to sub-categories in group activity feed wasn't working 2017-09-13 23:14:46 +02:00
group_post_user_serializer.rb Revert "FIX: Move check to right serializer." 2017-09-12 18:11:08 +08:00
group_requester_serializer.rb FEATURE: Add page for all group membership requests. (#6909) 2019-03-27 13:30:59 +02:00
group_show_serializer.rb FIX: correct group membership on cards for admins 2018-06-12 14:57:26 -07:00
group_user_serializer.rb FEATURE: show avatar flair on group, badges and directory pages (#6732) 2018-12-06 12:18:52 +01:00
grouped_screened_url_serializer.rb Screened Urls page shows results for each domain instead of each url 2013-11-04 16:24:48 -05:00
grouped_search_result_serializer.rb FEATURE: displays groups in menu search (#7090) 2019-03-04 10:30:09 +01:00
hidden_profile_serializer.rb FIX: Don't hide information from the card that is visible in the topic 2018-11-14 09:56:31 -05:00
incoming_email_details_serializer.rb FIX: Failed to show details about some bounced emails 2019-03-26 18:00:27 +01:00
incoming_email_serializer.rb FIX: allow an admin to click on blank errors (#5027) 2017-08-04 20:04:26 +02:00
invite_serializer.rb Let's not show tons of extra information about invites unless you're the 2014-03-21 14:16:11 -04:00
invited_user_serializer.rb REFACTOR: remove AgeWord calls from serializers and do it in javascript 2017-11-17 17:53:30 -05:00
listable_topic_serializer.rb FEATURE: Hidden site setting to always include topic excerpt 2019-02-07 22:45:21 +01:00
new_post_result_serializer.rb FEATURE: Include a user's pending posts in the topic view 2019-04-12 14:25:12 -04:00
notification_serializer.rb FEATURE: use fancy title in notifications 2017-05-15 15:38:30 -04:00
penalty_counts_serializer.rb Move some display logic out of model, upgrade old code patterns 2018-05-25 12:54:22 -04:00
permalink_serializer.rb fix permalinks serializer with subfolder setups 2017-04-05 18:45:01 +02:00
post_action_type_serializer.rb FIX: Relative links in translations should work with subfolder 2018-11-08 23:31:05 +00:00
post_action_user_serializer.rb FIX: Who Liked a Post now shows UserCard when avatar is clicked 2015-10-02 18:10:06 -04:00
post_item_excerpt.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
post_revision_serializer.rb Make rubocop happy again. 2018-06-07 13:28:18 +08:00
post_serializer.rb FEATURE: Let staff add custom post notices. (#7377) 2019-04-19 17:53:58 +03:00
post_stream_serializer_mixin.rb PERF: Make mega topics work without a stream. 2018-07-12 12:46:12 +08:00
post_wordpress_serializer.rb FEATURE: move migrate_to_new_scheme into a background job 2015-06-12 12:07:57 +02:00
primary_group_serializer.rb FEATURE: primary group class on avatars in topic list 2017-02-20 15:55:10 -05:00
queued_post_serializer.rb FEATURE: New 'Reviewable' model to make reviewable items generic 2019-03-28 12:45:10 -04:00
reviewable_action_serializer.rb FEATURE: New 'Reviewable' model to make reviewable items generic 2019-03-28 12:45:10 -04:00
reviewable_bundled_action_serializer.rb FEATURE: Clarify Reviewable User Actions 2019-04-17 11:44:17 -04:00
reviewable_conversation_post_serializer.rb FEATURE: New 'Reviewable' model to make reviewable items generic 2019-03-28 12:45:10 -04:00
reviewable_conversation_serializer.rb FEATURE: New 'Reviewable' model to make reviewable items generic 2019-03-28 12:45:10 -04:00
reviewable_editable_field_serializer.rb FEATURE: New 'Reviewable' model to make reviewable items generic 2019-03-28 12:45:10 -04:00
reviewable_flagged_post_serializer.rb FIX: Show when a post has been deleted in the flag review queue 2019-04-17 16:14:36 -04:00
reviewable_history_serializer.rb FEATURE: New 'Reviewable' model to make reviewable items generic 2019-03-28 12:45:10 -04:00
reviewable_perform_result_serializer.rb UX: Update the reviewable count before the message bus 2019-04-05 10:35:38 -04:00
reviewable_queued_post_serializer.rb FEATURE: New 'Reviewable' model to make reviewable items generic 2019-03-28 12:45:10 -04:00
reviewable_score_bonus_serializer.rb FEATURE: Allow users to customize bonuses for reviewable types 2019-04-03 11:18:34 -04:00
reviewable_score_serializer.rb FEATURE: Display the reason for many reviewable items 2019-04-11 12:04:45 -04:00
reviewable_score_type_serializer.rb UX: Show the score status 2019-04-08 12:08:18 -04:00
reviewable_serializer.rb Show link to the original topic when it was deleted (#7319) 2019-04-10 11:25:45 +02:00
reviewable_settings_serializer.rb FEATURE: Allow users to customize bonuses for reviewable types 2019-04-03 11:18:34 -04:00
reviewable_topic_serializer.rb FEATURE: New 'Reviewable' model to make reviewable items generic 2019-03-28 12:45:10 -04:00
reviewable_user_serializer.rb UX: Show user fields when reviewing a user 2019-04-04 14:45:40 -04:00
screened_email_serializer.rb FEATURE: admins can clear screend emails if needed 2014-06-02 16:53:00 +10:00
screened_ip_address_serializer.rb FIX: show ip address with mask again on /admin/logs/screened_ip_addresses 2014-02-18 10:33:08 -05:00
screened_url_serializer.rb Fix [object object] being rendered where it should be an ip address 2013-11-05 15:00:54 -05:00
search_logs_serializer.rb REFACTOR: Calculate CTR in SearchLog model and hide unique column (#6791) 2018-12-18 19:13:46 +05:30
search_post_serializer.rb PERF: Reduce number of queries and size of payload when searching. 2019-03-20 14:40:39 +08:00
search_result_user_serializer.rb create searchResultUserSerializer, display name next to username in search results 2017-03-01 13:11:01 +01:00
search_topic_list_item_serializer.rb FEATURE: Allow staffs to tag PMs 2018-02-21 20:11:46 +05:30
similar_topic_serializer.rb FIX: Missing `url` attribute for suggested topics 2015-06-24 15:13:36 -04:00
single_sign_on_record_serializer.rb FIX: do not show SSO external_email to moderators 2018-06-12 14:20:44 +05:30
site_serializer.rb FIX: unable to create new categories 2019-02-15 10:24:29 +11:00
site_text_serializer.rb Add rubocop to our build. (#5004) 2017-07-28 10:20:09 +09:00
skipped_email_log_serializer.rb PERF: Split skipped email logs into a seperate table. 2018-07-24 13:14:37 +08:00
staff_action_logs_serializer.rb FEATURE: dropdown to filter staff action logs 2017-05-30 11:25:42 -04:00
suggested_topic_serializer.rb FEATURE: Allow staffs to tag PMs 2018-02-21 20:11:46 +05:30
suggested_topics_mixin.rb FEATURE: additional "related messages" section 2018-11-12 13:04:42 +11:00
tag_group_serializer.rb FIX: doesn't translate group permission keys 2018-08-21 12:56:56 +02:00
tag_serializer.rb FIX: Disable 'Create Topic' button if tag is staff-only. (#6984) 2019-03-12 19:23:36 +11:00
theme_serializer.rb FEATURE: Support additional metadata in theme about.json (#6944) 2019-01-25 14:19:01 +00:00
theme_settings_serializer.rb FEATURE: Allow string theme settings to display with multiple lines 2019-02-05 14:14:53 +00:00
theme_translation_serializer.rb FEATURE: Support for localized themes (#6848) 2019-01-17 11:46:11 +00:00
top_list_serializer.rb BUGFIX: show the draft on top page 2014-02-06 11:39:43 +01:00
topic_embed_serializer.rb Add embed/info endpoint for TopicEmbed queries 2015-09-16 03:22:24 +00:00
topic_flag_type_serializer.rb Make rubocop happy again. 2018-06-07 13:28:18 +08:00
topic_link_serializer.rb DEV: remove exec_sql and replace with mini_sql 2018-06-19 16:13:36 +10:00
topic_list_item_serializer.rb FIX: Shared draft performance fix + missing avatars 2018-03-28 16:11:43 -04:00
topic_list_serializer.rb Fix missing avatars on topic list page. 2018-11-19 14:55:41 +08:00
topic_pending_post_serializer.rb FEATURE: Include a user's pending posts in the topic view 2019-04-12 14:25:12 -04:00
topic_post_count_serializer.rb FEATURE: group avatar flair shows on topic participants list, and participant avatars can have custom styles 2017-01-18 11:38:00 -05:00
topic_poster_serializer.rb FEATURE: primary group class on avatars in topic list 2017-02-20 15:55:10 -05:00
topic_timer_serializer.rb rename topic_status_update to topic_timer 2017-05-11 18:27:53 -04:00
topic_tracking_state_serializer.rb FIX: We should use `category_id` instead of `category_name` to perform 2014-07-16 15:40:35 -04:00
topic_view_details_serializer.rb FEATURE: Include a user's pending posts in the topic view 2019-04-12 14:25:12 -04:00
topic_view_posts_serializer.rb PERF: Do not calculate gaps for `TopicViewPostsSerializer`. 2018-07-02 14:01:50 +08:00
topic_view_serializer.rb FEATURE: Include a user's pending posts in the topic view 2019-04-12 14:25:12 -04:00
topic_view_wordpress_serializer.rb FIX: user avatar urls need to be absolute in wordpress api 2014-05-29 17:19:49 -04:00
trust_level3_requirements_serializer.rb FIX: Don't allow a user to become TL3 if they've ever been penalized 2018-04-24 15:15:32 -04:00
trust_level_serializer.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
upload_serializer.rb UX: Lightbox support for image uploader. (#7034) 2019-02-21 10:13:37 +08:00
user_action_serializer.rb FIX: Wrong target user displayed for user actions in activity stream. 2018-05-18 11:28:13 +08:00
user_auth_token_log_serializer.rb REFACTOR: Use `UserAuthTokenLogSerializer` instead of conditionals. 2018-09-03 10:44:22 +08:00
user_auth_token_serializer.rb FIX: Do not allow revoking the token of current session. (#6472) 2018-10-12 10:40:48 +11:00
user_badge_serializer.rb FEATURE: show avatar flair on group, badges and directory pages (#6732) 2018-12-06 12:18:52 +01:00
user_badges_serializer.rb FEATURE: you can not drill down and see why you have badges 2016-01-18 17:59:20 +11:00
user_field_serializer.rb FEATURE: add user custom fields to user card 2016-04-08 14:35:41 +02:00
user_history_serializer.rb FEATURE: Native theme support 2017-04-12 10:53:49 -04:00
user_name_serializer.rb FEATURE: support for external letter avatars service 2015-09-11 02:12:40 +02:00
user_option_serializer.rb Remove support for disable_jump_reply user setting (#7359) 2019-04-12 09:03:06 +10:00
user_serializer.rb FIX: Properly associate user_profiles background urls via upload id. 2019-05-02 14:58:24 +08:00
user_summary_serializer.rb FIX: do not show full name on summary page unless the setting is enabled 2019-01-14 07:00:44 +05:30
user_wordpress_serializer.rb FEATURE: move migrate_to_new_scheme into a background job 2015-06-12 12:07:57 +02:00
watched_word_list_serializer.rb FEATURE: Support regular expressions for watched words 2017-09-27 15:48:57 -04:00
watched_word_serializer.rb FEATURE: Watched Words: when posts contain words, do one of flag, require approval, censor, or block 2017-07-26 11:01:09 -04:00
web_hook_category_serializer.rb Exclude available_groups from category web hooks 2018-04-10 16:46:22 +05:30
web_hook_flag_serializer.rb FEATURE: New 'Reviewable' model to make reviewable items generic 2019-03-28 12:45:10 -04:00
web_hook_group_serializer.rb Inherit from `BasicGroupSerializer` for `WebHookGroupSerializer`. 2018-05-21 17:29:58 +08:00
web_hook_post_serializer.rb FEATURE: Let staff add custom post notices. (#7377) 2019-04-19 17:53:58 +03:00
web_hook_topic_view_serializer.rb Remove force summary mode for megatopics for now. 2018-06-26 12:49:06 +08:00
web_hook_user_serializer.rb FEATURE: Introducing new UI for changing User's notification levels (#7248) 2019-03-27 09:41:50 +00:00
wizard_field_choice_serializer.rb New step to choose emoji set 2016-09-22 09:52:19 -04:00
wizard_field_serializer.rb FIX: Relative links in translations should work with subfolder 2018-11-08 23:31:05 +00:00
wizard_serializer.rb UX: shows a save changes for intermediate steps (#6612) 2018-11-15 20:44:19 +01:00
wizard_step_serializer.rb FIX: Wizard tries harder to find existing Welcome Topic 2018-12-06 10:27:22 +01:00