discourse/app/services
Régis Hanol 57eecbef4b FIX: invalid user locale when accepting group membership
If, for whatever reasons, the user's locale is "blank" and an admin is accepting their group membership request, there will be an error because we're generating posts with the locale of recipient.

In order to fix this, we now use the `user.effective_locale` which takes care of multiple things, including returning the default locale when the user's locale is blank.

Internal ref - t/132347
2024-06-27 19:22:55 +02:00
..
notifications
problem_check
service
spam_rule
anonymous_shadow_creator.rb
badge_granter.rb FIX: invalid user locale when accepting group membership 2024-06-27 19:22:55 +02:00
base_bookmarkable.rb
category_hashtag_data_source.rb
color_scheme_revisor.rb
destroy_task.rb
email_settings_exception_handler.rb
email_settings_validator.rb
email_style_updater.rb
external_upload_manager.rb
group_action_logger.rb
group_mentions_updater.rb
group_message.rb
handle_chunk_upload.rb
hashtag_autocomplete_service.rb
heat_settings_updater.rb
inline_uploads.rb
notification_emailer.rb
post_action_notifier.rb
post_alerter.rb
post_bookmarkable.rb
post_owner_changer.rb
push_notification_pusher.rb
random_topic_selector.rb
registered_bookmarkable.rb
reorder_flag.rb
search_indexer.rb
service.rb
sidebar_section_links_updater.rb
sidebar_site_settings_backfiller.rb
site_setting_update_existing_users.rb DEV: Allow fetching specific site settings and introduce a service for updating site settings (#27481) 2024-06-14 13:07:27 +03:00
site_settings_task.rb
staff_action_logger.rb Revert "DEV: Upgrade Rails to version 7.1" (#27625) 2024-06-26 18:55:05 +02:00
tag_hashtag_data_source.rb
theme_settings_migrations_runner.rb
themes_install_task.rb
toggle_flag.rb
topic_bookmarkable.rb
topic_status_updater.rb
topic_summarization.rb
topic_timestamp_changer.rb
tracked_topics_updater.rb
trust_level_granter.rb
update_site_setting.rb DEV: Allow fetching specific site settings and introduce a service for updating site settings (#27481) 2024-06-14 13:07:27 +03:00
user_action_manager.rb
user_activator.rb
user_anonymizer.rb
user_authenticator.rb
user_destroyer.rb
user_merger.rb
user_notification_renderer.rb
user_notification_schedule_processor.rb
user_password_expirer.rb
user_silencer.rb
user_stat_count_updater.rb
user_updater.rb FEATURE: User fields required for existing users - Part 2 (#27172) 2024-06-25 19:32:18 +08:00
username_changer.rb
username_checker_service.rb
web_hook_emitter.rb
wildcard_domain_checker.rb
wildcard_url_checker.rb
word_watcher.rb