From d0fb8bbcfc7763dd5ab5892a5aef984cee7d6d71 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Fri, 26 Sep 2014 15:23:15 -0400 Subject: [PATCH] Instead of `.js.handlebars` use `.hbs` for handlebars templates --- .../admin/templates/{admin.js.handlebars => admin.hbs} | 0 .../admin/templates/{api.js.handlebars => api.hbs} | 0 .../admin/templates/{backups.js.handlebars => backups.hbs} | 0 .../{backups_index.js.handlebars => backups_index.hbs} | 0 .../admin/templates/{badges.js.handlebars => badges.hbs} | 0 .../templates/{customize.js.handlebars => customize.hbs} | 0 .../{customize_colors.js.handlebars => customize_colors.hbs} | 0 ...ustomize_css_html.js.handlebars => customize_css_html.hbs} | 0 .../templates/{dashboard.js.handlebars => dashboard.hbs} | 0 .../admin/templates/{email.js.handlebars => email.hbs} | 0 .../templates/{email_all.js.handlebars => email_all.hbs} | 0 .../templates/{email_index.js.handlebars => email_index.hbs} | 0 ..._preview_digest.js.handlebars => email_preview_digest.hbs} | 0 .../templates/{email_sent.js.handlebars => email_sent.hbs} | 0 .../{email_skipped.js.handlebars => email_skipped.hbs} | 0 .../admin/templates/{flags.js.handlebars => flags.hbs} | 0 .../admin/templates/{group.js.handlebars => group.hbs} | 0 .../admin/templates/{groups.js.handlebars => groups.hbs} | 0 .../{groups_index.js.handlebars => groups_index.hbs} | 0 .../admin/templates/{logs.js.handlebars => logs.hbs} | 0 ...s.js.handlebars => _site_customization_change_details.hbs} | 0 .../logs/{details_modal.js.handlebars => details_modal.hbs} | 0 .../{screened_emails.js.handlebars => screened_emails.hbs} | 0 ..._list_item.js.handlebars => screened_emails_list_item.hbs} | 0 ...d_ip_addresses.js.handlebars => screened_ip_addresses.hbs} | 0 ...item.js.handlebars => screened_ip_addresses_list_item.hbs} | 0 .../logs/{screened_urls.js.handlebars => screened_urls.hbs} | 0 ...ls_list_item.js.handlebars => screened_urls_list_item.hbs} | 0 ...odal.js.handlebars => site_customization_change_modal.hbs} | 0 ...{staff_action_logs.js.handlebars => staff_action_logs.hbs} | 0 ...ist_item.js.handlebars => staff_action_logs_list_item.hbs} | 0 .../{admin_agree_flag.js.handlebars => admin_agree_flag.hbs} | 0 ...in_badge_preview.js.handlebars => admin_badge_preview.hbs} | 0 ...{admin_delete_flag.js.handlebars => admin_delete_flag.hbs} | 0 ...groupings.js.handlebars => admin_edit_badge_groupings.hbs} | 0 ...dmin_start_backup.js.handlebars => admin_start_backup.hbs} | 0 ...dmin_suspend_user.js.handlebars => admin_suspend_user.hbs} | 0 .../admin/templates/{reports.js.handlebars => reports.hbs} | 0 ..._counts_report.js.handlebars => per_day_counts_report.hbs} | 0 ...d_counts_report.js.handlebars => summed_counts_report.hbs} | 0 ...st_levels_report.js.handlebars => trust_levels_report.hbs} | 0 .../{site_settings.js.handlebars => site_settings.hbs} | 0 .../{setting_bool.js.handlebars => setting_bool.hbs} | 0 .../{setting_enum.js.handlebars => setting_enum.hbs} | 0 .../{setting_list.js.handlebars => setting_list.hbs} | 0 .../{setting_string.js.handlebars => setting_string.hbs} | 0 ...ings_category.js.handlebars => site_settings_category.hbs} | 0 .../templates/{site_text.js.handlebars => site_text.hbs} | 0 .../{site_text_edit.js.handlebars => site_text_edit.hbs} | 0 .../{site_text_index.js.handlebars => site_text_index.hbs} | 0 .../templates/{user-fields.js.handlebars => user-fields.hbs} | 0 .../admin/templates/{user.js.handlebars => user.hbs} | 0 .../templates/{user_badges.js.handlebars => user_badges.hbs} | 0 .../templates/{user_index.js.handlebars => user_index.hbs} | 0 ...equirements.js.handlebars => user_leader_requirements.hbs} | 0 .../templates/{users_list.js.handlebars => users_list.hbs} | 0 .../{version_checks.js.handlebars => version_checks.hbs} | 0 app/assets/javascripts/discourse/helpers/plugin-outlet.js.es6 | 2 +- .../discourse/initializers/live-development.js.es6 | 4 ++-- .../discourse/templates/{about.js.handlebars => about.hbs} | 0 ...-buttons.js.handlebars => additional-composer-buttons.hbs} | 0 .../templates/{application.js.handlebars => application.hbs} | 0 .../templates/badges/{index.js.handlebars => index.hbs} | 0 .../templates/badges/{show.js.handlebars => show.hbs} | 0 ...pdown.js.handlebars => category_notification_dropdown.hbs} | 0 .../{choose_topic.js.handlebars => choose_topic.hbs} | 0 ...-group-selector.js.handlebars => admin-group-selector.hbs} | 0 .../{auto-close-form.js.handlebars => auto-close-form.hbs} | 0 .../{avatar-uploader.js.handlebars => avatar-uploader.hbs} | 0 .../{basic-topic-list.js.handlebars => basic-topic-list.hbs} | 0 .../{bread-crumbs.js.handlebars => bread-crumbs.hbs} | 0 .../{category-drop.js.handlebars => category-drop.hbs} | 0 .../{category-group.js.handlebars => category-group.hbs} | 0 .../components/{color-input.js.handlebars => color-input.hbs} | 0 .../{discourse-banner.js.handlebars => discourse-banner.hbs} | 0 ...{edit-category-tab.js.handlebars => edit-category-tab.hbs} | 0 .../{group-selector.js.handlebars => group-selector.hbs} | 0 .../components/{groups-list.js.handlebars => groups-list.hbs} | 0 .../components/{home-logo.js.handlebars => home-logo.hbs} | 0 .../{image-uploader.js.handlebars => image-uploader.hbs} | 0 .../components/{ip-lookup.js.handlebars => ip-lookup.hbs} | 0 .../{list-setting.js.handlebars => list-setting.hbs} | 0 .../{login-buttons.js.handlebars => login-buttons.hbs} | 0 ...ference-checkbox.js.handlebars => preference-checkbox.hbs} | 0 ...vate-message-map.js.handlebars => private-message-map.hbs} | 0 ...p-address-form.handlebars => screened-ip-address-form.hbs} | 0 .../{sortable-heading.js.handlebars => sortable-heading.hbs} | 0 .../{toggle-deleted.js.handlebars => toggle-deleted.hbs} | 0 .../{toggle-summary.js.handlebars => toggle-summary.hbs} | 0 ...op-period-buttons.js.handlebars => top-period-buttons.hbs} | 0 ...op-period-chooser.js.handlebars => top-period-chooser.hbs} | 0 .../components/{topic-map.js.handlebars => topic-map.hbs} | 0 ...{topic-participant.js.handlebars => topic-participant.hbs} | 0 .../components/{user-badge.js.handlebars => user-badge.hbs} | 0 .../components/{user-small.js.handlebars => user-small.hbs} | 0 .../templates/{composer.js.handlebars => composer.hbs} | 2 +- .../composer/{education.js.handlebars => education.hbs} | 0 .../{similar_topics.js.handlebars => similar_topics.hbs} | 0 .../templates/{discovery.js.handlebars => discovery.hbs} | 0 .../discovery/{categories.js.handlebars => categories.hbs} | 0 .../templates/discovery/{topics.js.handlebars => topics.hbs} | 0 .../{embedded_post.js.handlebars => embedded_post.hbs} | 0 .../templates/{exception.js.handlebars => exception.hbs} | 0 .../discourse/templates/{group.js.handlebars => group.hbs} | 0 .../templates/group/{index.js.handlebars => index.hbs} | 0 .../templates/group/{members.js.handlebars => members.hbs} | 0 .../discourse/templates/{header.js.handlebars => header.hbs} | 0 .../{topic_list_item.js.handlebars => topic_list_item.hbs} | 0 .../{user_topics_list.js.handlebars => user_topics_list.hbs} | 0 .../{basic-topic-list.js.handlebars => basic-topic-list.hbs} | 0 .../discovery/{categories.js.handlebars => categories.hbs} | 0 .../mobile/discovery/{topics.js.handlebars => topics.hbs} | 0 .../{topic_list_item.js.handlebars => topic_list_item.hbs} | 0 .../templates/mobile/modal/{login.js.handlebars => login.hbs} | 0 ...{archetype_options.js.handlebars => archetype_options.hbs} | 0 .../modal/{auto_close.js.handlebars => auto_close.hbs} | 0 .../{avatar_selector.js.handlebars => avatar_selector.hbs} | 0 ...actions_buttons.js.handlebars => bulk_actions_buttons.hbs} | 0 ...change_category.js.handlebars => bulk_change_category.hbs} | 0 ...cation_level.js.handlebars => bulk_notification_level.hbs} | 0 .../modal/{change_owner.js.handlebars => change_owner.hbs} | 0 .../{create_account.js.handlebars => create_account.hbs} | 0 ...tegory-general.js.handlebars => edit-category-general.hbs} | 0 ...category-images.js.handlebars => edit-category-images.hbs} | 0 ...gory-security.js.handlebars => edit-category-security.hbs} | 0 ...gory-settings.js.handlebars => edit-category-settings.hbs} | 0 .../modal/{edit-category.js.handlebars => edit-category.hbs} | 0 .../templates/modal/{flag.js.handlebars => flag.hbs} | 0 .../{forgot_password.js.handlebars => forgot_password.hbs} | 0 .../templates/modal/{history.js.handlebars => history.hbs} | 0 .../templates/modal/{invite.js.handlebars => invite.hbs} | 0 .../{invite_private.js.handlebars => invite_private.hbs} | 0 ...ortcuts_help.js.handlebars => keyboard_shortcuts_help.hbs} | 0 .../templates/modal/{login.js.handlebars => login.hbs} | 0 .../modal/{merge_topic.js.handlebars => merge_topic.hbs} | 0 .../templates/modal/{modal.js.handlebars => modal.hbs} | 0 .../modal/{not_activated.js.handlebars => not_activated.hbs} | 0 .../{option_boolean.js.handlebars => option_boolean.hbs} | 0 .../modal/{split_topic.js.handlebars => split_topic.hbs} | 0 ...opic_bulk_actions.js.handlebars => topic_bulk_actions.hbs} | 0 .../{upload_selector.js.handlebars => upload_selector.hbs} | 0 .../navigation/{categories.js.handlebars => categories.hbs} | 0 .../navigation/{category.js.handlebars => category.hbs} | 0 .../navigation/{default.js.handlebars => default.hbs} | 0 .../{notifications.js.handlebars => notifications.hbs} | 0 .../{popup_input_tip.js.handlebars => popup_input_tip.hbs} | 0 .../discourse/templates/{post.js.handlebars => post.hbs} | 2 +- .../discourse/templates/{quote.js.handlebars => quote.hbs} | 0 .../discourse/templates/{search.js.handlebars => search.hbs} | 0 .../{category_result.js.handlebars => category_result.hbs} | 0 .../search/{post_result.js.handlebars => post_result.hbs} | 0 .../search/{topic_result.js.handlebars => topic_result.hbs} | 0 .../search/{user_result.js.handlebars => user_result.hbs} | 0 .../{selected_posts.js.handlebars => selected_posts.hbs} | 0 .../discourse/templates/{share.js.handlebars => share.hbs} | 0 .../templates/{share_link.js.handlebars => share_link.hbs} | 0 .../templates/{site_map.js.handlebars => site_map.hbs} | 0 .../discourse/templates/{static.js.handlebars => static.hbs} | 0 .../{topic-admin-menu.js.handlebars => topic-admin-menu.hbs} | 0 .../{topic-entrance.js.handlebars => topic-entrance.hbs} | 0 .../{topic-progress.js.handlebars => topic-progress.hbs} | 0 .../discourse/templates/{topic.js.handlebars => topic.hbs} | 0 .../{user-dropdown.js.handlebars => user-dropdown.hbs} | 0 .../{user-expansion.js.handlebars => user-expansion.hbs} | 0 .../templates/user/{about.js.handlebars => about.hbs} | 0 .../templates/user/{activity.js.handlebars => activity.hbs} | 0 .../user/{badge-title.js.handlebars => badge-title.hbs} | 0 .../templates/user/{badges.js.handlebars => badges.hbs} | 0 .../templates/user/{email.js.handlebars => email.hbs} | 0 .../templates/user/{invited.js.handlebars => invited.hbs} | 0 .../user/{notifications.js.handlebars => notifications.hbs} | 0 .../templates/user/{posts.js.handlebars => posts.hbs} | 0 .../user/{preferences.js.handlebars => preferences.hbs} | 0 .../{_save_button.js.handlebars => _save_button.hbs} | 0 .../templates/user/{stream.js.handlebars => stream.hbs} | 0 .../discourse/templates/user/{user.js.handlebars => user.hbs} | 0 .../templates/user/{username.js.handlebars => username.hbs} | 0 config/projections.json | 2 +- lib/assets/{quote_email.js.handlebars => quote_email.hbs} | 0 lib/autospec/reload_css.rb | 2 +- lib/discourse_iife.rb | 1 + lib/onebox/engine/discourse_local_onebox.rb | 2 +- ...rse_topic_onebox.handlebars => discourse_topic_onebox.hbs} | 0 lib/plugin/instance.rb | 2 ++ lib/pretty_text.rb | 4 ++-- .../discourse/templates/{poll.js.handlebars => poll.hbs} | 0 plugins/poll/plugin.rb | 2 +- 187 files changed, 14 insertions(+), 11 deletions(-) rename app/assets/javascripts/admin/templates/{admin.js.handlebars => admin.hbs} (100%) rename app/assets/javascripts/admin/templates/{api.js.handlebars => api.hbs} (100%) rename app/assets/javascripts/admin/templates/{backups.js.handlebars => backups.hbs} (100%) rename app/assets/javascripts/admin/templates/{backups_index.js.handlebars => backups_index.hbs} (100%) rename app/assets/javascripts/admin/templates/{badges.js.handlebars => badges.hbs} (100%) rename app/assets/javascripts/admin/templates/{customize.js.handlebars => customize.hbs} (100%) rename app/assets/javascripts/admin/templates/{customize_colors.js.handlebars => customize_colors.hbs} (100%) rename app/assets/javascripts/admin/templates/{customize_css_html.js.handlebars => customize_css_html.hbs} (100%) rename app/assets/javascripts/admin/templates/{dashboard.js.handlebars => dashboard.hbs} (100%) rename app/assets/javascripts/admin/templates/{email.js.handlebars => email.hbs} (100%) rename app/assets/javascripts/admin/templates/{email_all.js.handlebars => email_all.hbs} (100%) rename app/assets/javascripts/admin/templates/{email_index.js.handlebars => email_index.hbs} (100%) rename app/assets/javascripts/admin/templates/{email_preview_digest.js.handlebars => email_preview_digest.hbs} (100%) rename app/assets/javascripts/admin/templates/{email_sent.js.handlebars => email_sent.hbs} (100%) rename app/assets/javascripts/admin/templates/{email_skipped.js.handlebars => email_skipped.hbs} (100%) rename app/assets/javascripts/admin/templates/{flags.js.handlebars => flags.hbs} (100%) rename app/assets/javascripts/admin/templates/{group.js.handlebars => group.hbs} (100%) rename app/assets/javascripts/admin/templates/{groups.js.handlebars => groups.hbs} (100%) rename app/assets/javascripts/admin/templates/{groups_index.js.handlebars => groups_index.hbs} (100%) rename app/assets/javascripts/admin/templates/{logs.js.handlebars => logs.hbs} (100%) rename app/assets/javascripts/admin/templates/logs/{_site_customization_change_details.js.handlebars => _site_customization_change_details.hbs} (100%) rename app/assets/javascripts/admin/templates/logs/{details_modal.js.handlebars => details_modal.hbs} (100%) rename app/assets/javascripts/admin/templates/logs/{screened_emails.js.handlebars => screened_emails.hbs} (100%) rename app/assets/javascripts/admin/templates/logs/{screened_emails_list_item.js.handlebars => screened_emails_list_item.hbs} (100%) rename app/assets/javascripts/admin/templates/logs/{screened_ip_addresses.js.handlebars => screened_ip_addresses.hbs} (100%) rename app/assets/javascripts/admin/templates/logs/{screened_ip_addresses_list_item.js.handlebars => screened_ip_addresses_list_item.hbs} (100%) rename app/assets/javascripts/admin/templates/logs/{screened_urls.js.handlebars => screened_urls.hbs} (100%) rename app/assets/javascripts/admin/templates/logs/{screened_urls_list_item.js.handlebars => screened_urls_list_item.hbs} (100%) rename app/assets/javascripts/admin/templates/logs/{site_customization_change_modal.js.handlebars => site_customization_change_modal.hbs} (100%) rename app/assets/javascripts/admin/templates/logs/{staff_action_logs.js.handlebars => staff_action_logs.hbs} (100%) rename app/assets/javascripts/admin/templates/logs/{staff_action_logs_list_item.js.handlebars => staff_action_logs_list_item.hbs} (100%) rename app/assets/javascripts/admin/templates/modal/{admin_agree_flag.js.handlebars => admin_agree_flag.hbs} (100%) rename app/assets/javascripts/admin/templates/modal/{admin_badge_preview.js.handlebars => admin_badge_preview.hbs} (100%) rename app/assets/javascripts/admin/templates/modal/{admin_delete_flag.js.handlebars => admin_delete_flag.hbs} (100%) rename app/assets/javascripts/admin/templates/modal/{admin_edit_badge_groupings.js.handlebars => admin_edit_badge_groupings.hbs} (100%) rename app/assets/javascripts/admin/templates/modal/{admin_start_backup.js.handlebars => admin_start_backup.hbs} (100%) rename app/assets/javascripts/admin/templates/modal/{admin_suspend_user.js.handlebars => admin_suspend_user.hbs} (100%) rename app/assets/javascripts/admin/templates/{reports.js.handlebars => reports.hbs} (100%) rename app/assets/javascripts/admin/templates/reports/{per_day_counts_report.js.handlebars => per_day_counts_report.hbs} (100%) rename app/assets/javascripts/admin/templates/reports/{summed_counts_report.js.handlebars => summed_counts_report.hbs} (100%) rename app/assets/javascripts/admin/templates/reports/{trust_levels_report.js.handlebars => trust_levels_report.hbs} (100%) rename app/assets/javascripts/admin/templates/{site_settings.js.handlebars => site_settings.hbs} (100%) rename app/assets/javascripts/admin/templates/site_settings/{setting_bool.js.handlebars => setting_bool.hbs} (100%) rename app/assets/javascripts/admin/templates/site_settings/{setting_enum.js.handlebars => setting_enum.hbs} (100%) rename app/assets/javascripts/admin/templates/site_settings/{setting_list.js.handlebars => setting_list.hbs} (100%) rename app/assets/javascripts/admin/templates/site_settings/{setting_string.js.handlebars => setting_string.hbs} (100%) rename app/assets/javascripts/admin/templates/{site_settings_category.js.handlebars => site_settings_category.hbs} (100%) rename app/assets/javascripts/admin/templates/{site_text.js.handlebars => site_text.hbs} (100%) rename app/assets/javascripts/admin/templates/{site_text_edit.js.handlebars => site_text_edit.hbs} (100%) rename app/assets/javascripts/admin/templates/{site_text_index.js.handlebars => site_text_index.hbs} (100%) rename app/assets/javascripts/admin/templates/{user-fields.js.handlebars => user-fields.hbs} (100%) rename app/assets/javascripts/admin/templates/{user.js.handlebars => user.hbs} (100%) rename app/assets/javascripts/admin/templates/{user_badges.js.handlebars => user_badges.hbs} (100%) rename app/assets/javascripts/admin/templates/{user_index.js.handlebars => user_index.hbs} (100%) rename app/assets/javascripts/admin/templates/{user_leader_requirements.js.handlebars => user_leader_requirements.hbs} (100%) rename app/assets/javascripts/admin/templates/{users_list.js.handlebars => users_list.hbs} (100%) rename app/assets/javascripts/admin/templates/{version_checks.js.handlebars => version_checks.hbs} (100%) rename app/assets/javascripts/discourse/templates/{about.js.handlebars => about.hbs} (100%) rename app/assets/javascripts/discourse/templates/{additional-composer-buttons.js.handlebars => additional-composer-buttons.hbs} (100%) rename app/assets/javascripts/discourse/templates/{application.js.handlebars => application.hbs} (100%) rename app/assets/javascripts/discourse/templates/badges/{index.js.handlebars => index.hbs} (100%) rename app/assets/javascripts/discourse/templates/badges/{show.js.handlebars => show.hbs} (100%) rename app/assets/javascripts/discourse/templates/{category_notification_dropdown.js.handlebars => category_notification_dropdown.hbs} (100%) rename app/assets/javascripts/discourse/templates/{choose_topic.js.handlebars => choose_topic.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{admin-group-selector.js.handlebars => admin-group-selector.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{auto-close-form.js.handlebars => auto-close-form.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{avatar-uploader.js.handlebars => avatar-uploader.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{basic-topic-list.js.handlebars => basic-topic-list.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{bread-crumbs.js.handlebars => bread-crumbs.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{category-drop.js.handlebars => category-drop.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{category-group.js.handlebars => category-group.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{color-input.js.handlebars => color-input.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{discourse-banner.js.handlebars => discourse-banner.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{edit-category-tab.js.handlebars => edit-category-tab.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{group-selector.js.handlebars => group-selector.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{groups-list.js.handlebars => groups-list.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{home-logo.js.handlebars => home-logo.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{image-uploader.js.handlebars => image-uploader.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{ip-lookup.js.handlebars => ip-lookup.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{list-setting.js.handlebars => list-setting.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{login-buttons.js.handlebars => login-buttons.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{preference-checkbox.js.handlebars => preference-checkbox.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{private-message-map.js.handlebars => private-message-map.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{screened-ip-address-form.handlebars => screened-ip-address-form.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{sortable-heading.js.handlebars => sortable-heading.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{toggle-deleted.js.handlebars => toggle-deleted.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{toggle-summary.js.handlebars => toggle-summary.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{top-period-buttons.js.handlebars => top-period-buttons.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{top-period-chooser.js.handlebars => top-period-chooser.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{topic-map.js.handlebars => topic-map.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{topic-participant.js.handlebars => topic-participant.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{user-badge.js.handlebars => user-badge.hbs} (100%) rename app/assets/javascripts/discourse/templates/components/{user-small.js.handlebars => user-small.hbs} (100%) rename app/assets/javascripts/discourse/templates/{composer.js.handlebars => composer.hbs} (98%) rename app/assets/javascripts/discourse/templates/composer/{education.js.handlebars => education.hbs} (100%) rename app/assets/javascripts/discourse/templates/composer/{similar_topics.js.handlebars => similar_topics.hbs} (100%) rename app/assets/javascripts/discourse/templates/{discovery.js.handlebars => discovery.hbs} (100%) rename app/assets/javascripts/discourse/templates/discovery/{categories.js.handlebars => categories.hbs} (100%) rename app/assets/javascripts/discourse/templates/discovery/{topics.js.handlebars => topics.hbs} (100%) rename app/assets/javascripts/discourse/templates/{embedded_post.js.handlebars => embedded_post.hbs} (100%) rename app/assets/javascripts/discourse/templates/{exception.js.handlebars => exception.hbs} (100%) rename app/assets/javascripts/discourse/templates/{group.js.handlebars => group.hbs} (100%) rename app/assets/javascripts/discourse/templates/group/{index.js.handlebars => index.hbs} (100%) rename app/assets/javascripts/discourse/templates/group/{members.js.handlebars => members.hbs} (100%) rename app/assets/javascripts/discourse/templates/{header.js.handlebars => header.hbs} (100%) rename app/assets/javascripts/discourse/templates/list/{topic_list_item.js.handlebars => topic_list_item.hbs} (100%) rename app/assets/javascripts/discourse/templates/list/{user_topics_list.js.handlebars => user_topics_list.hbs} (100%) rename app/assets/javascripts/discourse/templates/mobile/components/{basic-topic-list.js.handlebars => basic-topic-list.hbs} (100%) rename app/assets/javascripts/discourse/templates/mobile/discovery/{categories.js.handlebars => categories.hbs} (100%) rename app/assets/javascripts/discourse/templates/mobile/discovery/{topics.js.handlebars => topics.hbs} (100%) rename app/assets/javascripts/discourse/templates/mobile/list/{topic_list_item.js.handlebars => topic_list_item.hbs} (100%) rename app/assets/javascripts/discourse/templates/mobile/modal/{login.js.handlebars => login.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{archetype_options.js.handlebars => archetype_options.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{auto_close.js.handlebars => auto_close.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{avatar_selector.js.handlebars => avatar_selector.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{bulk_actions_buttons.js.handlebars => bulk_actions_buttons.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{bulk_change_category.js.handlebars => bulk_change_category.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{bulk_notification_level.js.handlebars => bulk_notification_level.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{change_owner.js.handlebars => change_owner.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{create_account.js.handlebars => create_account.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{edit-category-general.js.handlebars => edit-category-general.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{edit-category-images.js.handlebars => edit-category-images.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{edit-category-security.js.handlebars => edit-category-security.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{edit-category-settings.js.handlebars => edit-category-settings.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{edit-category.js.handlebars => edit-category.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{flag.js.handlebars => flag.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{forgot_password.js.handlebars => forgot_password.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{history.js.handlebars => history.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{invite.js.handlebars => invite.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{invite_private.js.handlebars => invite_private.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{keyboard_shortcuts_help.js.handlebars => keyboard_shortcuts_help.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{login.js.handlebars => login.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{merge_topic.js.handlebars => merge_topic.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{modal.js.handlebars => modal.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{not_activated.js.handlebars => not_activated.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{option_boolean.js.handlebars => option_boolean.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{split_topic.js.handlebars => split_topic.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{topic_bulk_actions.js.handlebars => topic_bulk_actions.hbs} (100%) rename app/assets/javascripts/discourse/templates/modal/{upload_selector.js.handlebars => upload_selector.hbs} (100%) rename app/assets/javascripts/discourse/templates/navigation/{categories.js.handlebars => categories.hbs} (100%) rename app/assets/javascripts/discourse/templates/navigation/{category.js.handlebars => category.hbs} (100%) rename app/assets/javascripts/discourse/templates/navigation/{default.js.handlebars => default.hbs} (100%) rename app/assets/javascripts/discourse/templates/{notifications.js.handlebars => notifications.hbs} (100%) rename app/assets/javascripts/discourse/templates/{popup_input_tip.js.handlebars => popup_input_tip.hbs} (100%) rename app/assets/javascripts/discourse/templates/{post.js.handlebars => post.hbs} (98%) rename app/assets/javascripts/discourse/templates/{quote.js.handlebars => quote.hbs} (100%) rename app/assets/javascripts/discourse/templates/{search.js.handlebars => search.hbs} (100%) rename app/assets/javascripts/discourse/templates/search/{category_result.js.handlebars => category_result.hbs} (100%) rename app/assets/javascripts/discourse/templates/search/{post_result.js.handlebars => post_result.hbs} (100%) rename app/assets/javascripts/discourse/templates/search/{topic_result.js.handlebars => topic_result.hbs} (100%) rename app/assets/javascripts/discourse/templates/search/{user_result.js.handlebars => user_result.hbs} (100%) rename app/assets/javascripts/discourse/templates/{selected_posts.js.handlebars => selected_posts.hbs} (100%) rename app/assets/javascripts/discourse/templates/{share.js.handlebars => share.hbs} (100%) rename app/assets/javascripts/discourse/templates/{share_link.js.handlebars => share_link.hbs} (100%) rename app/assets/javascripts/discourse/templates/{site_map.js.handlebars => site_map.hbs} (100%) rename app/assets/javascripts/discourse/templates/{static.js.handlebars => static.hbs} (100%) rename app/assets/javascripts/discourse/templates/{topic-admin-menu.js.handlebars => topic-admin-menu.hbs} (100%) rename app/assets/javascripts/discourse/templates/{topic-entrance.js.handlebars => topic-entrance.hbs} (100%) rename app/assets/javascripts/discourse/templates/{topic-progress.js.handlebars => topic-progress.hbs} (100%) rename app/assets/javascripts/discourse/templates/{topic.js.handlebars => topic.hbs} (100%) rename app/assets/javascripts/discourse/templates/{user-dropdown.js.handlebars => user-dropdown.hbs} (100%) rename app/assets/javascripts/discourse/templates/{user-expansion.js.handlebars => user-expansion.hbs} (100%) rename app/assets/javascripts/discourse/templates/user/{about.js.handlebars => about.hbs} (100%) rename app/assets/javascripts/discourse/templates/user/{activity.js.handlebars => activity.hbs} (100%) rename app/assets/javascripts/discourse/templates/user/{badge-title.js.handlebars => badge-title.hbs} (100%) rename app/assets/javascripts/discourse/templates/user/{badges.js.handlebars => badges.hbs} (100%) rename app/assets/javascripts/discourse/templates/user/{email.js.handlebars => email.hbs} (100%) rename app/assets/javascripts/discourse/templates/user/{invited.js.handlebars => invited.hbs} (100%) rename app/assets/javascripts/discourse/templates/user/{notifications.js.handlebars => notifications.hbs} (100%) rename app/assets/javascripts/discourse/templates/user/{posts.js.handlebars => posts.hbs} (100%) rename app/assets/javascripts/discourse/templates/user/{preferences.js.handlebars => preferences.hbs} (100%) rename app/assets/javascripts/discourse/templates/user/preferences/{_save_button.js.handlebars => _save_button.hbs} (100%) rename app/assets/javascripts/discourse/templates/user/{stream.js.handlebars => stream.hbs} (100%) rename app/assets/javascripts/discourse/templates/user/{user.js.handlebars => user.hbs} (100%) rename app/assets/javascripts/discourse/templates/user/{username.js.handlebars => username.hbs} (100%) rename lib/assets/{quote_email.js.handlebars => quote_email.hbs} (100%) rename lib/onebox/templates/{discourse_topic_onebox.handlebars => discourse_topic_onebox.hbs} (100%) rename plugins/poll/assets/javascripts/discourse/templates/{poll.js.handlebars => poll.hbs} (100%) diff --git a/app/assets/javascripts/admin/templates/admin.js.handlebars b/app/assets/javascripts/admin/templates/admin.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/admin.js.handlebars rename to app/assets/javascripts/admin/templates/admin.hbs diff --git a/app/assets/javascripts/admin/templates/api.js.handlebars b/app/assets/javascripts/admin/templates/api.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/api.js.handlebars rename to app/assets/javascripts/admin/templates/api.hbs diff --git a/app/assets/javascripts/admin/templates/backups.js.handlebars b/app/assets/javascripts/admin/templates/backups.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/backups.js.handlebars rename to app/assets/javascripts/admin/templates/backups.hbs diff --git a/app/assets/javascripts/admin/templates/backups_index.js.handlebars b/app/assets/javascripts/admin/templates/backups_index.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/backups_index.js.handlebars rename to app/assets/javascripts/admin/templates/backups_index.hbs diff --git a/app/assets/javascripts/admin/templates/badges.js.handlebars b/app/assets/javascripts/admin/templates/badges.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/badges.js.handlebars rename to app/assets/javascripts/admin/templates/badges.hbs diff --git a/app/assets/javascripts/admin/templates/customize.js.handlebars b/app/assets/javascripts/admin/templates/customize.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/customize.js.handlebars rename to app/assets/javascripts/admin/templates/customize.hbs diff --git a/app/assets/javascripts/admin/templates/customize_colors.js.handlebars b/app/assets/javascripts/admin/templates/customize_colors.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/customize_colors.js.handlebars rename to app/assets/javascripts/admin/templates/customize_colors.hbs diff --git a/app/assets/javascripts/admin/templates/customize_css_html.js.handlebars b/app/assets/javascripts/admin/templates/customize_css_html.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/customize_css_html.js.handlebars rename to app/assets/javascripts/admin/templates/customize_css_html.hbs diff --git a/app/assets/javascripts/admin/templates/dashboard.js.handlebars b/app/assets/javascripts/admin/templates/dashboard.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/dashboard.js.handlebars rename to app/assets/javascripts/admin/templates/dashboard.hbs diff --git a/app/assets/javascripts/admin/templates/email.js.handlebars b/app/assets/javascripts/admin/templates/email.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/email.js.handlebars rename to app/assets/javascripts/admin/templates/email.hbs diff --git a/app/assets/javascripts/admin/templates/email_all.js.handlebars b/app/assets/javascripts/admin/templates/email_all.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/email_all.js.handlebars rename to app/assets/javascripts/admin/templates/email_all.hbs diff --git a/app/assets/javascripts/admin/templates/email_index.js.handlebars b/app/assets/javascripts/admin/templates/email_index.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/email_index.js.handlebars rename to app/assets/javascripts/admin/templates/email_index.hbs diff --git a/app/assets/javascripts/admin/templates/email_preview_digest.js.handlebars b/app/assets/javascripts/admin/templates/email_preview_digest.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/email_preview_digest.js.handlebars rename to app/assets/javascripts/admin/templates/email_preview_digest.hbs diff --git a/app/assets/javascripts/admin/templates/email_sent.js.handlebars b/app/assets/javascripts/admin/templates/email_sent.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/email_sent.js.handlebars rename to app/assets/javascripts/admin/templates/email_sent.hbs diff --git a/app/assets/javascripts/admin/templates/email_skipped.js.handlebars b/app/assets/javascripts/admin/templates/email_skipped.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/email_skipped.js.handlebars rename to app/assets/javascripts/admin/templates/email_skipped.hbs diff --git a/app/assets/javascripts/admin/templates/flags.js.handlebars b/app/assets/javascripts/admin/templates/flags.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/flags.js.handlebars rename to app/assets/javascripts/admin/templates/flags.hbs diff --git a/app/assets/javascripts/admin/templates/group.js.handlebars b/app/assets/javascripts/admin/templates/group.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/group.js.handlebars rename to app/assets/javascripts/admin/templates/group.hbs diff --git a/app/assets/javascripts/admin/templates/groups.js.handlebars b/app/assets/javascripts/admin/templates/groups.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/groups.js.handlebars rename to app/assets/javascripts/admin/templates/groups.hbs diff --git a/app/assets/javascripts/admin/templates/groups_index.js.handlebars b/app/assets/javascripts/admin/templates/groups_index.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/groups_index.js.handlebars rename to app/assets/javascripts/admin/templates/groups_index.hbs diff --git a/app/assets/javascripts/admin/templates/logs.js.handlebars b/app/assets/javascripts/admin/templates/logs.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/logs.js.handlebars rename to app/assets/javascripts/admin/templates/logs.hbs diff --git a/app/assets/javascripts/admin/templates/logs/_site_customization_change_details.js.handlebars b/app/assets/javascripts/admin/templates/logs/_site_customization_change_details.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/logs/_site_customization_change_details.js.handlebars rename to app/assets/javascripts/admin/templates/logs/_site_customization_change_details.hbs diff --git a/app/assets/javascripts/admin/templates/logs/details_modal.js.handlebars b/app/assets/javascripts/admin/templates/logs/details_modal.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/logs/details_modal.js.handlebars rename to app/assets/javascripts/admin/templates/logs/details_modal.hbs diff --git a/app/assets/javascripts/admin/templates/logs/screened_emails.js.handlebars b/app/assets/javascripts/admin/templates/logs/screened_emails.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/logs/screened_emails.js.handlebars rename to app/assets/javascripts/admin/templates/logs/screened_emails.hbs diff --git a/app/assets/javascripts/admin/templates/logs/screened_emails_list_item.js.handlebars b/app/assets/javascripts/admin/templates/logs/screened_emails_list_item.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/logs/screened_emails_list_item.js.handlebars rename to app/assets/javascripts/admin/templates/logs/screened_emails_list_item.hbs diff --git a/app/assets/javascripts/admin/templates/logs/screened_ip_addresses.js.handlebars b/app/assets/javascripts/admin/templates/logs/screened_ip_addresses.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/logs/screened_ip_addresses.js.handlebars rename to app/assets/javascripts/admin/templates/logs/screened_ip_addresses.hbs diff --git a/app/assets/javascripts/admin/templates/logs/screened_ip_addresses_list_item.js.handlebars b/app/assets/javascripts/admin/templates/logs/screened_ip_addresses_list_item.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/logs/screened_ip_addresses_list_item.js.handlebars rename to app/assets/javascripts/admin/templates/logs/screened_ip_addresses_list_item.hbs diff --git a/app/assets/javascripts/admin/templates/logs/screened_urls.js.handlebars b/app/assets/javascripts/admin/templates/logs/screened_urls.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/logs/screened_urls.js.handlebars rename to app/assets/javascripts/admin/templates/logs/screened_urls.hbs diff --git a/app/assets/javascripts/admin/templates/logs/screened_urls_list_item.js.handlebars b/app/assets/javascripts/admin/templates/logs/screened_urls_list_item.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/logs/screened_urls_list_item.js.handlebars rename to app/assets/javascripts/admin/templates/logs/screened_urls_list_item.hbs diff --git a/app/assets/javascripts/admin/templates/logs/site_customization_change_modal.js.handlebars b/app/assets/javascripts/admin/templates/logs/site_customization_change_modal.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/logs/site_customization_change_modal.js.handlebars rename to app/assets/javascripts/admin/templates/logs/site_customization_change_modal.hbs diff --git a/app/assets/javascripts/admin/templates/logs/staff_action_logs.js.handlebars b/app/assets/javascripts/admin/templates/logs/staff_action_logs.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/logs/staff_action_logs.js.handlebars rename to app/assets/javascripts/admin/templates/logs/staff_action_logs.hbs diff --git a/app/assets/javascripts/admin/templates/logs/staff_action_logs_list_item.js.handlebars b/app/assets/javascripts/admin/templates/logs/staff_action_logs_list_item.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/logs/staff_action_logs_list_item.js.handlebars rename to app/assets/javascripts/admin/templates/logs/staff_action_logs_list_item.hbs diff --git a/app/assets/javascripts/admin/templates/modal/admin_agree_flag.js.handlebars b/app/assets/javascripts/admin/templates/modal/admin_agree_flag.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/modal/admin_agree_flag.js.handlebars rename to app/assets/javascripts/admin/templates/modal/admin_agree_flag.hbs diff --git a/app/assets/javascripts/admin/templates/modal/admin_badge_preview.js.handlebars b/app/assets/javascripts/admin/templates/modal/admin_badge_preview.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/modal/admin_badge_preview.js.handlebars rename to app/assets/javascripts/admin/templates/modal/admin_badge_preview.hbs diff --git a/app/assets/javascripts/admin/templates/modal/admin_delete_flag.js.handlebars b/app/assets/javascripts/admin/templates/modal/admin_delete_flag.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/modal/admin_delete_flag.js.handlebars rename to app/assets/javascripts/admin/templates/modal/admin_delete_flag.hbs diff --git a/app/assets/javascripts/admin/templates/modal/admin_edit_badge_groupings.js.handlebars b/app/assets/javascripts/admin/templates/modal/admin_edit_badge_groupings.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/modal/admin_edit_badge_groupings.js.handlebars rename to app/assets/javascripts/admin/templates/modal/admin_edit_badge_groupings.hbs diff --git a/app/assets/javascripts/admin/templates/modal/admin_start_backup.js.handlebars b/app/assets/javascripts/admin/templates/modal/admin_start_backup.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/modal/admin_start_backup.js.handlebars rename to app/assets/javascripts/admin/templates/modal/admin_start_backup.hbs diff --git a/app/assets/javascripts/admin/templates/modal/admin_suspend_user.js.handlebars b/app/assets/javascripts/admin/templates/modal/admin_suspend_user.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/modal/admin_suspend_user.js.handlebars rename to app/assets/javascripts/admin/templates/modal/admin_suspend_user.hbs diff --git a/app/assets/javascripts/admin/templates/reports.js.handlebars b/app/assets/javascripts/admin/templates/reports.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/reports.js.handlebars rename to app/assets/javascripts/admin/templates/reports.hbs diff --git a/app/assets/javascripts/admin/templates/reports/per_day_counts_report.js.handlebars b/app/assets/javascripts/admin/templates/reports/per_day_counts_report.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/reports/per_day_counts_report.js.handlebars rename to app/assets/javascripts/admin/templates/reports/per_day_counts_report.hbs diff --git a/app/assets/javascripts/admin/templates/reports/summed_counts_report.js.handlebars b/app/assets/javascripts/admin/templates/reports/summed_counts_report.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/reports/summed_counts_report.js.handlebars rename to app/assets/javascripts/admin/templates/reports/summed_counts_report.hbs diff --git a/app/assets/javascripts/admin/templates/reports/trust_levels_report.js.handlebars b/app/assets/javascripts/admin/templates/reports/trust_levels_report.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/reports/trust_levels_report.js.handlebars rename to app/assets/javascripts/admin/templates/reports/trust_levels_report.hbs diff --git a/app/assets/javascripts/admin/templates/site_settings.js.handlebars b/app/assets/javascripts/admin/templates/site_settings.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/site_settings.js.handlebars rename to app/assets/javascripts/admin/templates/site_settings.hbs diff --git a/app/assets/javascripts/admin/templates/site_settings/setting_bool.js.handlebars b/app/assets/javascripts/admin/templates/site_settings/setting_bool.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/site_settings/setting_bool.js.handlebars rename to app/assets/javascripts/admin/templates/site_settings/setting_bool.hbs diff --git a/app/assets/javascripts/admin/templates/site_settings/setting_enum.js.handlebars b/app/assets/javascripts/admin/templates/site_settings/setting_enum.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/site_settings/setting_enum.js.handlebars rename to app/assets/javascripts/admin/templates/site_settings/setting_enum.hbs diff --git a/app/assets/javascripts/admin/templates/site_settings/setting_list.js.handlebars b/app/assets/javascripts/admin/templates/site_settings/setting_list.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/site_settings/setting_list.js.handlebars rename to app/assets/javascripts/admin/templates/site_settings/setting_list.hbs diff --git a/app/assets/javascripts/admin/templates/site_settings/setting_string.js.handlebars b/app/assets/javascripts/admin/templates/site_settings/setting_string.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/site_settings/setting_string.js.handlebars rename to app/assets/javascripts/admin/templates/site_settings/setting_string.hbs diff --git a/app/assets/javascripts/admin/templates/site_settings_category.js.handlebars b/app/assets/javascripts/admin/templates/site_settings_category.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/site_settings_category.js.handlebars rename to app/assets/javascripts/admin/templates/site_settings_category.hbs diff --git a/app/assets/javascripts/admin/templates/site_text.js.handlebars b/app/assets/javascripts/admin/templates/site_text.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/site_text.js.handlebars rename to app/assets/javascripts/admin/templates/site_text.hbs diff --git a/app/assets/javascripts/admin/templates/site_text_edit.js.handlebars b/app/assets/javascripts/admin/templates/site_text_edit.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/site_text_edit.js.handlebars rename to app/assets/javascripts/admin/templates/site_text_edit.hbs diff --git a/app/assets/javascripts/admin/templates/site_text_index.js.handlebars b/app/assets/javascripts/admin/templates/site_text_index.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/site_text_index.js.handlebars rename to app/assets/javascripts/admin/templates/site_text_index.hbs diff --git a/app/assets/javascripts/admin/templates/user-fields.js.handlebars b/app/assets/javascripts/admin/templates/user-fields.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/user-fields.js.handlebars rename to app/assets/javascripts/admin/templates/user-fields.hbs diff --git a/app/assets/javascripts/admin/templates/user.js.handlebars b/app/assets/javascripts/admin/templates/user.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/user.js.handlebars rename to app/assets/javascripts/admin/templates/user.hbs diff --git a/app/assets/javascripts/admin/templates/user_badges.js.handlebars b/app/assets/javascripts/admin/templates/user_badges.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/user_badges.js.handlebars rename to app/assets/javascripts/admin/templates/user_badges.hbs diff --git a/app/assets/javascripts/admin/templates/user_index.js.handlebars b/app/assets/javascripts/admin/templates/user_index.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/user_index.js.handlebars rename to app/assets/javascripts/admin/templates/user_index.hbs diff --git a/app/assets/javascripts/admin/templates/user_leader_requirements.js.handlebars b/app/assets/javascripts/admin/templates/user_leader_requirements.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/user_leader_requirements.js.handlebars rename to app/assets/javascripts/admin/templates/user_leader_requirements.hbs diff --git a/app/assets/javascripts/admin/templates/users_list.js.handlebars b/app/assets/javascripts/admin/templates/users_list.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/users_list.js.handlebars rename to app/assets/javascripts/admin/templates/users_list.hbs diff --git a/app/assets/javascripts/admin/templates/version_checks.js.handlebars b/app/assets/javascripts/admin/templates/version_checks.hbs similarity index 100% rename from app/assets/javascripts/admin/templates/version_checks.js.handlebars rename to app/assets/javascripts/admin/templates/version_checks.hbs diff --git a/app/assets/javascripts/discourse/helpers/plugin-outlet.js.es6 b/app/assets/javascripts/discourse/helpers/plugin-outlet.js.es6 index dc7cd7f55..66bde5763 100644 --- a/app/assets/javascripts/discourse/helpers/plugin-outlet.js.es6 +++ b/app/assets/javascripts/discourse/helpers/plugin-outlet.js.es6 @@ -13,7 +13,7 @@ Then any handlebars files you create in the `connectors/evil-trout` directory will automatically be appended. For example: - plugins/hello/assets/javascripts/discourse/templates/connectors/evil-trout/hello.handlebars + plugins/hello/assets/javascripts/discourse/templates/connectors/evil-trout/hello.hbs With the contents: diff --git a/app/assets/javascripts/discourse/initializers/live-development.js.es6 b/app/assets/javascripts/discourse/initializers/live-development.js.es6 index 74c903f80..3b8426eb1 100644 --- a/app/assets/javascripts/discourse/initializers/live-development.js.es6 +++ b/app/assets/javascripts/discourse/initializers/live-development.js.es6 @@ -38,10 +38,10 @@ export default { if (me === "refresh") { // Refresh if necessary document.location.reload(true); - } else if (me.name.substr(-10) === "handlebars") { + } else if (me.name.substr(-10) === "hbs") { // Reload handlebars - var js = me.name.replace(".handlebars", "").replace("app/assets/javascripts", "/assets"); + var js = me.name.replace(".hbs", "").replace("app/assets/javascripts", "/assets"); $LAB.script(js + "?hash=" + me.hash).wait(function() { var templateName; templateName = js.replace(".js", "").replace("/assets/", ""); diff --git a/app/assets/javascripts/discourse/templates/about.js.handlebars b/app/assets/javascripts/discourse/templates/about.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/about.js.handlebars rename to app/assets/javascripts/discourse/templates/about.hbs diff --git a/app/assets/javascripts/discourse/templates/additional-composer-buttons.js.handlebars b/app/assets/javascripts/discourse/templates/additional-composer-buttons.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/additional-composer-buttons.js.handlebars rename to app/assets/javascripts/discourse/templates/additional-composer-buttons.hbs diff --git a/app/assets/javascripts/discourse/templates/application.js.handlebars b/app/assets/javascripts/discourse/templates/application.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/application.js.handlebars rename to app/assets/javascripts/discourse/templates/application.hbs diff --git a/app/assets/javascripts/discourse/templates/badges/index.js.handlebars b/app/assets/javascripts/discourse/templates/badges/index.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/badges/index.js.handlebars rename to app/assets/javascripts/discourse/templates/badges/index.hbs diff --git a/app/assets/javascripts/discourse/templates/badges/show.js.handlebars b/app/assets/javascripts/discourse/templates/badges/show.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/badges/show.js.handlebars rename to app/assets/javascripts/discourse/templates/badges/show.hbs diff --git a/app/assets/javascripts/discourse/templates/category_notification_dropdown.js.handlebars b/app/assets/javascripts/discourse/templates/category_notification_dropdown.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/category_notification_dropdown.js.handlebars rename to app/assets/javascripts/discourse/templates/category_notification_dropdown.hbs diff --git a/app/assets/javascripts/discourse/templates/choose_topic.js.handlebars b/app/assets/javascripts/discourse/templates/choose_topic.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/choose_topic.js.handlebars rename to app/assets/javascripts/discourse/templates/choose_topic.hbs diff --git a/app/assets/javascripts/discourse/templates/components/admin-group-selector.js.handlebars b/app/assets/javascripts/discourse/templates/components/admin-group-selector.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/admin-group-selector.js.handlebars rename to app/assets/javascripts/discourse/templates/components/admin-group-selector.hbs diff --git a/app/assets/javascripts/discourse/templates/components/auto-close-form.js.handlebars b/app/assets/javascripts/discourse/templates/components/auto-close-form.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/auto-close-form.js.handlebars rename to app/assets/javascripts/discourse/templates/components/auto-close-form.hbs diff --git a/app/assets/javascripts/discourse/templates/components/avatar-uploader.js.handlebars b/app/assets/javascripts/discourse/templates/components/avatar-uploader.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/avatar-uploader.js.handlebars rename to app/assets/javascripts/discourse/templates/components/avatar-uploader.hbs diff --git a/app/assets/javascripts/discourse/templates/components/basic-topic-list.js.handlebars b/app/assets/javascripts/discourse/templates/components/basic-topic-list.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/basic-topic-list.js.handlebars rename to app/assets/javascripts/discourse/templates/components/basic-topic-list.hbs diff --git a/app/assets/javascripts/discourse/templates/components/bread-crumbs.js.handlebars b/app/assets/javascripts/discourse/templates/components/bread-crumbs.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/bread-crumbs.js.handlebars rename to app/assets/javascripts/discourse/templates/components/bread-crumbs.hbs diff --git a/app/assets/javascripts/discourse/templates/components/category-drop.js.handlebars b/app/assets/javascripts/discourse/templates/components/category-drop.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/category-drop.js.handlebars rename to app/assets/javascripts/discourse/templates/components/category-drop.hbs diff --git a/app/assets/javascripts/discourse/templates/components/category-group.js.handlebars b/app/assets/javascripts/discourse/templates/components/category-group.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/category-group.js.handlebars rename to app/assets/javascripts/discourse/templates/components/category-group.hbs diff --git a/app/assets/javascripts/discourse/templates/components/color-input.js.handlebars b/app/assets/javascripts/discourse/templates/components/color-input.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/color-input.js.handlebars rename to app/assets/javascripts/discourse/templates/components/color-input.hbs diff --git a/app/assets/javascripts/discourse/templates/components/discourse-banner.js.handlebars b/app/assets/javascripts/discourse/templates/components/discourse-banner.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/discourse-banner.js.handlebars rename to app/assets/javascripts/discourse/templates/components/discourse-banner.hbs diff --git a/app/assets/javascripts/discourse/templates/components/edit-category-tab.js.handlebars b/app/assets/javascripts/discourse/templates/components/edit-category-tab.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/edit-category-tab.js.handlebars rename to app/assets/javascripts/discourse/templates/components/edit-category-tab.hbs diff --git a/app/assets/javascripts/discourse/templates/components/group-selector.js.handlebars b/app/assets/javascripts/discourse/templates/components/group-selector.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/group-selector.js.handlebars rename to app/assets/javascripts/discourse/templates/components/group-selector.hbs diff --git a/app/assets/javascripts/discourse/templates/components/groups-list.js.handlebars b/app/assets/javascripts/discourse/templates/components/groups-list.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/groups-list.js.handlebars rename to app/assets/javascripts/discourse/templates/components/groups-list.hbs diff --git a/app/assets/javascripts/discourse/templates/components/home-logo.js.handlebars b/app/assets/javascripts/discourse/templates/components/home-logo.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/home-logo.js.handlebars rename to app/assets/javascripts/discourse/templates/components/home-logo.hbs diff --git a/app/assets/javascripts/discourse/templates/components/image-uploader.js.handlebars b/app/assets/javascripts/discourse/templates/components/image-uploader.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/image-uploader.js.handlebars rename to app/assets/javascripts/discourse/templates/components/image-uploader.hbs diff --git a/app/assets/javascripts/discourse/templates/components/ip-lookup.js.handlebars b/app/assets/javascripts/discourse/templates/components/ip-lookup.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/ip-lookup.js.handlebars rename to app/assets/javascripts/discourse/templates/components/ip-lookup.hbs diff --git a/app/assets/javascripts/discourse/templates/components/list-setting.js.handlebars b/app/assets/javascripts/discourse/templates/components/list-setting.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/list-setting.js.handlebars rename to app/assets/javascripts/discourse/templates/components/list-setting.hbs diff --git a/app/assets/javascripts/discourse/templates/components/login-buttons.js.handlebars b/app/assets/javascripts/discourse/templates/components/login-buttons.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/login-buttons.js.handlebars rename to app/assets/javascripts/discourse/templates/components/login-buttons.hbs diff --git a/app/assets/javascripts/discourse/templates/components/preference-checkbox.js.handlebars b/app/assets/javascripts/discourse/templates/components/preference-checkbox.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/preference-checkbox.js.handlebars rename to app/assets/javascripts/discourse/templates/components/preference-checkbox.hbs diff --git a/app/assets/javascripts/discourse/templates/components/private-message-map.js.handlebars b/app/assets/javascripts/discourse/templates/components/private-message-map.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/private-message-map.js.handlebars rename to app/assets/javascripts/discourse/templates/components/private-message-map.hbs diff --git a/app/assets/javascripts/discourse/templates/components/screened-ip-address-form.handlebars b/app/assets/javascripts/discourse/templates/components/screened-ip-address-form.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/screened-ip-address-form.handlebars rename to app/assets/javascripts/discourse/templates/components/screened-ip-address-form.hbs diff --git a/app/assets/javascripts/discourse/templates/components/sortable-heading.js.handlebars b/app/assets/javascripts/discourse/templates/components/sortable-heading.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/sortable-heading.js.handlebars rename to app/assets/javascripts/discourse/templates/components/sortable-heading.hbs diff --git a/app/assets/javascripts/discourse/templates/components/toggle-deleted.js.handlebars b/app/assets/javascripts/discourse/templates/components/toggle-deleted.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/toggle-deleted.js.handlebars rename to app/assets/javascripts/discourse/templates/components/toggle-deleted.hbs diff --git a/app/assets/javascripts/discourse/templates/components/toggle-summary.js.handlebars b/app/assets/javascripts/discourse/templates/components/toggle-summary.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/toggle-summary.js.handlebars rename to app/assets/javascripts/discourse/templates/components/toggle-summary.hbs diff --git a/app/assets/javascripts/discourse/templates/components/top-period-buttons.js.handlebars b/app/assets/javascripts/discourse/templates/components/top-period-buttons.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/top-period-buttons.js.handlebars rename to app/assets/javascripts/discourse/templates/components/top-period-buttons.hbs diff --git a/app/assets/javascripts/discourse/templates/components/top-period-chooser.js.handlebars b/app/assets/javascripts/discourse/templates/components/top-period-chooser.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/top-period-chooser.js.handlebars rename to app/assets/javascripts/discourse/templates/components/top-period-chooser.hbs diff --git a/app/assets/javascripts/discourse/templates/components/topic-map.js.handlebars b/app/assets/javascripts/discourse/templates/components/topic-map.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/topic-map.js.handlebars rename to app/assets/javascripts/discourse/templates/components/topic-map.hbs diff --git a/app/assets/javascripts/discourse/templates/components/topic-participant.js.handlebars b/app/assets/javascripts/discourse/templates/components/topic-participant.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/topic-participant.js.handlebars rename to app/assets/javascripts/discourse/templates/components/topic-participant.hbs diff --git a/app/assets/javascripts/discourse/templates/components/user-badge.js.handlebars b/app/assets/javascripts/discourse/templates/components/user-badge.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/user-badge.js.handlebars rename to app/assets/javascripts/discourse/templates/components/user-badge.hbs diff --git a/app/assets/javascripts/discourse/templates/components/user-small.js.handlebars b/app/assets/javascripts/discourse/templates/components/user-small.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/components/user-small.js.handlebars rename to app/assets/javascripts/discourse/templates/components/user-small.hbs diff --git a/app/assets/javascripts/discourse/templates/composer.js.handlebars b/app/assets/javascripts/discourse/templates/composer.hbs similarity index 98% rename from app/assets/javascripts/discourse/templates/composer.js.handlebars rename to app/assets/javascripts/discourse/templates/composer.hbs index c1e05df66..1e8d99472 100644 --- a/app/assets/javascripts/discourse/templates/composer.js.handlebars +++ b/app/assets/javascripts/discourse/templates/composer.hbs @@ -70,7 +70,7 @@ {{composer-text-area tabindex="4" value=model.reply}} {{popupInputTip validation=view.replyValidation shownAt=view.showReplyTip}} - +
diff --git a/app/assets/javascripts/discourse/templates/composer/education.js.handlebars b/app/assets/javascripts/discourse/templates/composer/education.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/composer/education.js.handlebars rename to app/assets/javascripts/discourse/templates/composer/education.hbs diff --git a/app/assets/javascripts/discourse/templates/composer/similar_topics.js.handlebars b/app/assets/javascripts/discourse/templates/composer/similar_topics.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/composer/similar_topics.js.handlebars rename to app/assets/javascripts/discourse/templates/composer/similar_topics.hbs diff --git a/app/assets/javascripts/discourse/templates/discovery.js.handlebars b/app/assets/javascripts/discourse/templates/discovery.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/discovery.js.handlebars rename to app/assets/javascripts/discourse/templates/discovery.hbs diff --git a/app/assets/javascripts/discourse/templates/discovery/categories.js.handlebars b/app/assets/javascripts/discourse/templates/discovery/categories.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/discovery/categories.js.handlebars rename to app/assets/javascripts/discourse/templates/discovery/categories.hbs diff --git a/app/assets/javascripts/discourse/templates/discovery/topics.js.handlebars b/app/assets/javascripts/discourse/templates/discovery/topics.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/discovery/topics.js.handlebars rename to app/assets/javascripts/discourse/templates/discovery/topics.hbs diff --git a/app/assets/javascripts/discourse/templates/embedded_post.js.handlebars b/app/assets/javascripts/discourse/templates/embedded_post.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/embedded_post.js.handlebars rename to app/assets/javascripts/discourse/templates/embedded_post.hbs diff --git a/app/assets/javascripts/discourse/templates/exception.js.handlebars b/app/assets/javascripts/discourse/templates/exception.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/exception.js.handlebars rename to app/assets/javascripts/discourse/templates/exception.hbs diff --git a/app/assets/javascripts/discourse/templates/group.js.handlebars b/app/assets/javascripts/discourse/templates/group.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/group.js.handlebars rename to app/assets/javascripts/discourse/templates/group.hbs diff --git a/app/assets/javascripts/discourse/templates/group/index.js.handlebars b/app/assets/javascripts/discourse/templates/group/index.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/group/index.js.handlebars rename to app/assets/javascripts/discourse/templates/group/index.hbs diff --git a/app/assets/javascripts/discourse/templates/group/members.js.handlebars b/app/assets/javascripts/discourse/templates/group/members.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/group/members.js.handlebars rename to app/assets/javascripts/discourse/templates/group/members.hbs diff --git a/app/assets/javascripts/discourse/templates/header.js.handlebars b/app/assets/javascripts/discourse/templates/header.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/header.js.handlebars rename to app/assets/javascripts/discourse/templates/header.hbs diff --git a/app/assets/javascripts/discourse/templates/list/topic_list_item.js.handlebars b/app/assets/javascripts/discourse/templates/list/topic_list_item.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/list/topic_list_item.js.handlebars rename to app/assets/javascripts/discourse/templates/list/topic_list_item.hbs diff --git a/app/assets/javascripts/discourse/templates/list/user_topics_list.js.handlebars b/app/assets/javascripts/discourse/templates/list/user_topics_list.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/list/user_topics_list.js.handlebars rename to app/assets/javascripts/discourse/templates/list/user_topics_list.hbs diff --git a/app/assets/javascripts/discourse/templates/mobile/components/basic-topic-list.js.handlebars b/app/assets/javascripts/discourse/templates/mobile/components/basic-topic-list.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/mobile/components/basic-topic-list.js.handlebars rename to app/assets/javascripts/discourse/templates/mobile/components/basic-topic-list.hbs diff --git a/app/assets/javascripts/discourse/templates/mobile/discovery/categories.js.handlebars b/app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/mobile/discovery/categories.js.handlebars rename to app/assets/javascripts/discourse/templates/mobile/discovery/categories.hbs diff --git a/app/assets/javascripts/discourse/templates/mobile/discovery/topics.js.handlebars b/app/assets/javascripts/discourse/templates/mobile/discovery/topics.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/mobile/discovery/topics.js.handlebars rename to app/assets/javascripts/discourse/templates/mobile/discovery/topics.hbs diff --git a/app/assets/javascripts/discourse/templates/mobile/list/topic_list_item.js.handlebars b/app/assets/javascripts/discourse/templates/mobile/list/topic_list_item.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/mobile/list/topic_list_item.js.handlebars rename to app/assets/javascripts/discourse/templates/mobile/list/topic_list_item.hbs diff --git a/app/assets/javascripts/discourse/templates/mobile/modal/login.js.handlebars b/app/assets/javascripts/discourse/templates/mobile/modal/login.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/mobile/modal/login.js.handlebars rename to app/assets/javascripts/discourse/templates/mobile/modal/login.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/archetype_options.js.handlebars b/app/assets/javascripts/discourse/templates/modal/archetype_options.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/archetype_options.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/archetype_options.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/auto_close.js.handlebars b/app/assets/javascripts/discourse/templates/modal/auto_close.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/auto_close.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/auto_close.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/avatar_selector.js.handlebars b/app/assets/javascripts/discourse/templates/modal/avatar_selector.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/avatar_selector.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/avatar_selector.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/bulk_actions_buttons.js.handlebars b/app/assets/javascripts/discourse/templates/modal/bulk_actions_buttons.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/bulk_actions_buttons.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/bulk_actions_buttons.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/bulk_change_category.js.handlebars b/app/assets/javascripts/discourse/templates/modal/bulk_change_category.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/bulk_change_category.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/bulk_change_category.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/bulk_notification_level.js.handlebars b/app/assets/javascripts/discourse/templates/modal/bulk_notification_level.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/bulk_notification_level.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/bulk_notification_level.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/change_owner.js.handlebars b/app/assets/javascripts/discourse/templates/modal/change_owner.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/change_owner.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/change_owner.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/create_account.js.handlebars b/app/assets/javascripts/discourse/templates/modal/create_account.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/create_account.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/create_account.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/edit-category-general.js.handlebars b/app/assets/javascripts/discourse/templates/modal/edit-category-general.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/edit-category-general.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/edit-category-general.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/edit-category-images.js.handlebars b/app/assets/javascripts/discourse/templates/modal/edit-category-images.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/edit-category-images.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/edit-category-images.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/edit-category-security.js.handlebars b/app/assets/javascripts/discourse/templates/modal/edit-category-security.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/edit-category-security.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/edit-category-security.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/edit-category-settings.js.handlebars b/app/assets/javascripts/discourse/templates/modal/edit-category-settings.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/edit-category-settings.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/edit-category-settings.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/edit-category.js.handlebars b/app/assets/javascripts/discourse/templates/modal/edit-category.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/edit-category.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/edit-category.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/flag.js.handlebars b/app/assets/javascripts/discourse/templates/modal/flag.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/flag.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/flag.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/forgot_password.js.handlebars b/app/assets/javascripts/discourse/templates/modal/forgot_password.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/forgot_password.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/forgot_password.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/history.js.handlebars b/app/assets/javascripts/discourse/templates/modal/history.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/history.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/history.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/invite.js.handlebars b/app/assets/javascripts/discourse/templates/modal/invite.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/invite.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/invite.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/invite_private.js.handlebars b/app/assets/javascripts/discourse/templates/modal/invite_private.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/invite_private.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/invite_private.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/keyboard_shortcuts_help.js.handlebars b/app/assets/javascripts/discourse/templates/modal/keyboard_shortcuts_help.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/keyboard_shortcuts_help.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/keyboard_shortcuts_help.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/login.js.handlebars b/app/assets/javascripts/discourse/templates/modal/login.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/login.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/login.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/merge_topic.js.handlebars b/app/assets/javascripts/discourse/templates/modal/merge_topic.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/merge_topic.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/merge_topic.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/modal.js.handlebars b/app/assets/javascripts/discourse/templates/modal/modal.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/modal.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/modal.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/not_activated.js.handlebars b/app/assets/javascripts/discourse/templates/modal/not_activated.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/not_activated.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/not_activated.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/option_boolean.js.handlebars b/app/assets/javascripts/discourse/templates/modal/option_boolean.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/option_boolean.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/option_boolean.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/split_topic.js.handlebars b/app/assets/javascripts/discourse/templates/modal/split_topic.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/split_topic.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/split_topic.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/topic_bulk_actions.js.handlebars b/app/assets/javascripts/discourse/templates/modal/topic_bulk_actions.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/topic_bulk_actions.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/topic_bulk_actions.hbs diff --git a/app/assets/javascripts/discourse/templates/modal/upload_selector.js.handlebars b/app/assets/javascripts/discourse/templates/modal/upload_selector.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/modal/upload_selector.js.handlebars rename to app/assets/javascripts/discourse/templates/modal/upload_selector.hbs diff --git a/app/assets/javascripts/discourse/templates/navigation/categories.js.handlebars b/app/assets/javascripts/discourse/templates/navigation/categories.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/navigation/categories.js.handlebars rename to app/assets/javascripts/discourse/templates/navigation/categories.hbs diff --git a/app/assets/javascripts/discourse/templates/navigation/category.js.handlebars b/app/assets/javascripts/discourse/templates/navigation/category.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/navigation/category.js.handlebars rename to app/assets/javascripts/discourse/templates/navigation/category.hbs diff --git a/app/assets/javascripts/discourse/templates/navigation/default.js.handlebars b/app/assets/javascripts/discourse/templates/navigation/default.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/navigation/default.js.handlebars rename to app/assets/javascripts/discourse/templates/navigation/default.hbs diff --git a/app/assets/javascripts/discourse/templates/notifications.js.handlebars b/app/assets/javascripts/discourse/templates/notifications.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/notifications.js.handlebars rename to app/assets/javascripts/discourse/templates/notifications.hbs diff --git a/app/assets/javascripts/discourse/templates/popup_input_tip.js.handlebars b/app/assets/javascripts/discourse/templates/popup_input_tip.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/popup_input_tip.js.handlebars rename to app/assets/javascripts/discourse/templates/popup_input_tip.hbs diff --git a/app/assets/javascripts/discourse/templates/post.js.handlebars b/app/assets/javascripts/discourse/templates/post.hbs similarity index 98% rename from app/assets/javascripts/discourse/templates/post.js.handlebars rename to app/assets/javascripts/discourse/templates/post.hbs index 381fd0b79..85c9d3685 100644 --- a/app/assets/javascripts/discourse/templates/post.js.handlebars +++ b/app/assets/javascripts/discourse/templates/post.hbs @@ -63,7 +63,7 @@ - +
{{{cooked}}} diff --git a/app/assets/javascripts/discourse/templates/quote.js.handlebars b/app/assets/javascripts/discourse/templates/quote.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/quote.js.handlebars rename to app/assets/javascripts/discourse/templates/quote.hbs diff --git a/app/assets/javascripts/discourse/templates/search.js.handlebars b/app/assets/javascripts/discourse/templates/search.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/search.js.handlebars rename to app/assets/javascripts/discourse/templates/search.hbs diff --git a/app/assets/javascripts/discourse/templates/search/category_result.js.handlebars b/app/assets/javascripts/discourse/templates/search/category_result.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/search/category_result.js.handlebars rename to app/assets/javascripts/discourse/templates/search/category_result.hbs diff --git a/app/assets/javascripts/discourse/templates/search/post_result.js.handlebars b/app/assets/javascripts/discourse/templates/search/post_result.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/search/post_result.js.handlebars rename to app/assets/javascripts/discourse/templates/search/post_result.hbs diff --git a/app/assets/javascripts/discourse/templates/search/topic_result.js.handlebars b/app/assets/javascripts/discourse/templates/search/topic_result.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/search/topic_result.js.handlebars rename to app/assets/javascripts/discourse/templates/search/topic_result.hbs diff --git a/app/assets/javascripts/discourse/templates/search/user_result.js.handlebars b/app/assets/javascripts/discourse/templates/search/user_result.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/search/user_result.js.handlebars rename to app/assets/javascripts/discourse/templates/search/user_result.hbs diff --git a/app/assets/javascripts/discourse/templates/selected_posts.js.handlebars b/app/assets/javascripts/discourse/templates/selected_posts.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/selected_posts.js.handlebars rename to app/assets/javascripts/discourse/templates/selected_posts.hbs diff --git a/app/assets/javascripts/discourse/templates/share.js.handlebars b/app/assets/javascripts/discourse/templates/share.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/share.js.handlebars rename to app/assets/javascripts/discourse/templates/share.hbs diff --git a/app/assets/javascripts/discourse/templates/share_link.js.handlebars b/app/assets/javascripts/discourse/templates/share_link.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/share_link.js.handlebars rename to app/assets/javascripts/discourse/templates/share_link.hbs diff --git a/app/assets/javascripts/discourse/templates/site_map.js.handlebars b/app/assets/javascripts/discourse/templates/site_map.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/site_map.js.handlebars rename to app/assets/javascripts/discourse/templates/site_map.hbs diff --git a/app/assets/javascripts/discourse/templates/static.js.handlebars b/app/assets/javascripts/discourse/templates/static.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/static.js.handlebars rename to app/assets/javascripts/discourse/templates/static.hbs diff --git a/app/assets/javascripts/discourse/templates/topic-admin-menu.js.handlebars b/app/assets/javascripts/discourse/templates/topic-admin-menu.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/topic-admin-menu.js.handlebars rename to app/assets/javascripts/discourse/templates/topic-admin-menu.hbs diff --git a/app/assets/javascripts/discourse/templates/topic-entrance.js.handlebars b/app/assets/javascripts/discourse/templates/topic-entrance.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/topic-entrance.js.handlebars rename to app/assets/javascripts/discourse/templates/topic-entrance.hbs diff --git a/app/assets/javascripts/discourse/templates/topic-progress.js.handlebars b/app/assets/javascripts/discourse/templates/topic-progress.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/topic-progress.js.handlebars rename to app/assets/javascripts/discourse/templates/topic-progress.hbs diff --git a/app/assets/javascripts/discourse/templates/topic.js.handlebars b/app/assets/javascripts/discourse/templates/topic.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/topic.js.handlebars rename to app/assets/javascripts/discourse/templates/topic.hbs diff --git a/app/assets/javascripts/discourse/templates/user-dropdown.js.handlebars b/app/assets/javascripts/discourse/templates/user-dropdown.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/user-dropdown.js.handlebars rename to app/assets/javascripts/discourse/templates/user-dropdown.hbs diff --git a/app/assets/javascripts/discourse/templates/user-expansion.js.handlebars b/app/assets/javascripts/discourse/templates/user-expansion.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/user-expansion.js.handlebars rename to app/assets/javascripts/discourse/templates/user-expansion.hbs diff --git a/app/assets/javascripts/discourse/templates/user/about.js.handlebars b/app/assets/javascripts/discourse/templates/user/about.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/user/about.js.handlebars rename to app/assets/javascripts/discourse/templates/user/about.hbs diff --git a/app/assets/javascripts/discourse/templates/user/activity.js.handlebars b/app/assets/javascripts/discourse/templates/user/activity.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/user/activity.js.handlebars rename to app/assets/javascripts/discourse/templates/user/activity.hbs diff --git a/app/assets/javascripts/discourse/templates/user/badge-title.js.handlebars b/app/assets/javascripts/discourse/templates/user/badge-title.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/user/badge-title.js.handlebars rename to app/assets/javascripts/discourse/templates/user/badge-title.hbs diff --git a/app/assets/javascripts/discourse/templates/user/badges.js.handlebars b/app/assets/javascripts/discourse/templates/user/badges.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/user/badges.js.handlebars rename to app/assets/javascripts/discourse/templates/user/badges.hbs diff --git a/app/assets/javascripts/discourse/templates/user/email.js.handlebars b/app/assets/javascripts/discourse/templates/user/email.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/user/email.js.handlebars rename to app/assets/javascripts/discourse/templates/user/email.hbs diff --git a/app/assets/javascripts/discourse/templates/user/invited.js.handlebars b/app/assets/javascripts/discourse/templates/user/invited.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/user/invited.js.handlebars rename to app/assets/javascripts/discourse/templates/user/invited.hbs diff --git a/app/assets/javascripts/discourse/templates/user/notifications.js.handlebars b/app/assets/javascripts/discourse/templates/user/notifications.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/user/notifications.js.handlebars rename to app/assets/javascripts/discourse/templates/user/notifications.hbs diff --git a/app/assets/javascripts/discourse/templates/user/posts.js.handlebars b/app/assets/javascripts/discourse/templates/user/posts.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/user/posts.js.handlebars rename to app/assets/javascripts/discourse/templates/user/posts.hbs diff --git a/app/assets/javascripts/discourse/templates/user/preferences.js.handlebars b/app/assets/javascripts/discourse/templates/user/preferences.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/user/preferences.js.handlebars rename to app/assets/javascripts/discourse/templates/user/preferences.hbs diff --git a/app/assets/javascripts/discourse/templates/user/preferences/_save_button.js.handlebars b/app/assets/javascripts/discourse/templates/user/preferences/_save_button.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/user/preferences/_save_button.js.handlebars rename to app/assets/javascripts/discourse/templates/user/preferences/_save_button.hbs diff --git a/app/assets/javascripts/discourse/templates/user/stream.js.handlebars b/app/assets/javascripts/discourse/templates/user/stream.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/user/stream.js.handlebars rename to app/assets/javascripts/discourse/templates/user/stream.hbs diff --git a/app/assets/javascripts/discourse/templates/user/user.js.handlebars b/app/assets/javascripts/discourse/templates/user/user.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/user/user.js.handlebars rename to app/assets/javascripts/discourse/templates/user/user.hbs diff --git a/app/assets/javascripts/discourse/templates/user/username.js.handlebars b/app/assets/javascripts/discourse/templates/user/username.hbs similarity index 100% rename from app/assets/javascripts/discourse/templates/user/username.js.handlebars rename to app/assets/javascripts/discourse/templates/user/username.hbs diff --git a/config/projections.json b/config/projections.json index d99c24f25..744986358 100644 --- a/config/projections.json +++ b/config/projections.json @@ -17,7 +17,7 @@ "app/assets/javascripts/discourse/helpers/*.js": { "command": "dhelper" }, - "app/assets/javascripts/discourse/templates/*.handlebars": { + "app/assets/javascripts/discourse/templates/*.hbs": { "command": "dtemplate" }, "app/assets/javascripts/discourse/views/*.js": { diff --git a/lib/assets/quote_email.js.handlebars b/lib/assets/quote_email.hbs similarity index 100% rename from lib/assets/quote_email.js.handlebars rename to lib/assets/quote_email.hbs diff --git a/lib/autospec/reload_css.rb b/lib/autospec/reload_css.rb index 9559cfffe..8eca22fd9 100644 --- a/lib/autospec/reload_css.rb +++ b/lib/autospec/reload_css.rb @@ -11,7 +11,7 @@ class Autospec::ReloadCss watch(/\.css$/) watch(/\.ca?ss\.erb$/) watch(/\.s[ac]ss$/) - watch(/\.handlebars$/) + watch(/\.hbs$/) def self.message_bus MessageBus::Instance.new.tap do |bus| diff --git a/lib/discourse_iife.rb b/lib/discourse_iife.rb index 78c3698ca..fa80aa43f 100644 --- a/lib/discourse_iife.rb +++ b/lib/discourse_iife.rb @@ -22,6 +22,7 @@ class DiscourseIIFE < Sprockets::Processor return data if path =~ /\.handlebars/ return data if path =~ /\.shbrs/ return data if path =~ /\.hbrs/ + return data if path =~ /\.hbs/ res = "(function () {\n\nvar $ = window.jQuery;\n// IIFE Wrapped Content Begins:\n\n#{data}\n\n// IIFE Wrapped Content Ends\n\n })(this);" diff --git a/lib/onebox/engine/discourse_local_onebox.rb b/lib/onebox/engine/discourse_local_onebox.rb index 6c4bda5fc..824582149 100644 --- a/lib/onebox/engine/discourse_local_onebox.rb +++ b/lib/onebox/engine/discourse_local_onebox.rb @@ -87,7 +87,7 @@ module Onebox end return nil unless @template - Mustache.render(File.read("#{Rails.root}/lib/onebox/templates/discourse_#{@template}_onebox.handlebars"), args) + Mustache.render(File.read("#{Rails.root}/lib/onebox/templates/discourse_#{@template}_onebox.hbs"), args) rescue ActionController::RoutingError nil end diff --git a/lib/onebox/templates/discourse_topic_onebox.handlebars b/lib/onebox/templates/discourse_topic_onebox.hbs similarity index 100% rename from lib/onebox/templates/discourse_topic_onebox.handlebars rename to lib/onebox/templates/discourse_topic_onebox.hbs diff --git a/lib/plugin/instance.rb b/lib/plugin/instance.rb index 88498a5e1..bedda0757 100644 --- a/lib/plugin/instance.rb +++ b/lib/plugin/instance.rb @@ -256,6 +256,8 @@ class Plugin::Instance DiscoursePluginRegistry.stylesheets << asset end + elsif asset =~ /\.hbs$/ + DiscoursePluginRegistry.handlebars << asset elsif asset =~ /\.js\.handlebars$/ DiscoursePluginRegistry.handlebars << asset end diff --git a/lib/pretty_text.rb b/lib/pretty_text.rb index 6d52705a1..500c5d888 100644 --- a/lib/pretty_text.rb +++ b/lib/pretty_text.rb @@ -95,8 +95,8 @@ module PrettyText end end - ctx['quoteTemplate'] = File.open(app_root + 'app/assets/javascripts/discourse/templates/quote.js.handlebars') {|f| f.read} - ctx['quoteEmailTemplate'] = File.open(app_root + 'lib/assets/quote_email.js.handlebars') {|f| f.read} + ctx['quoteTemplate'] = File.open(app_root + 'app/assets/javascripts/discourse/templates/quote.hbs') {|f| f.read} + ctx['quoteEmailTemplate'] = File.open(app_root + 'lib/assets/quote_email.hbs') {|f| f.read} ctx.eval("HANDLEBARS_TEMPLATES = { 'quote': Handlebars.compile(quoteTemplate), 'quote_email': Handlebars.compile(quoteEmailTemplate), diff --git a/plugins/poll/assets/javascripts/discourse/templates/poll.js.handlebars b/plugins/poll/assets/javascripts/discourse/templates/poll.hbs similarity index 100% rename from plugins/poll/assets/javascripts/discourse/templates/poll.js.handlebars rename to plugins/poll/assets/javascripts/discourse/templates/poll.hbs diff --git a/plugins/poll/plugin.rb b/plugins/poll/plugin.rb index ca53eed42..a4a6fb9e3 100644 --- a/plugins/poll/plugin.rb +++ b/plugins/poll/plugin.rb @@ -143,7 +143,7 @@ end # Poll UI. register_asset "javascripts/controllers/poll.js.es6" -register_asset "javascripts/discourse/templates/poll.js.handlebars" +register_asset "javascripts/discourse/templates/poll.hbs" register_asset "javascripts/initializers/poll.js.es6" register_asset "javascripts/poll_bbcode.js", :server_side