discourse/lib
Krzysztof Kotlarek 094052c1ff
FIX: serialize Flags instead of PostActionType (#28259)
### Why?
Before, all flags were static. Therefore, they were stored in class variables and serialized by SiteSerializer. Recently, we added an option for admins to add their own flags or disable existing flags. Therefore, the class variable had to be dropped because it was unsafe for a multisite environment. However, it started causing performance problems. 

### Solution
When a new Flag system is used, instead of using PostActionType, we can serialize Flags and use fragment cache for performance reasons. 

At the same time, we are still supporting deprecated `replace_flags` API call. When it is used, we fall back to the old solution and the admin cannot add custom flags. In a couple of months, we will be able to drop that API function and clean that code properly. However, because it may still be used, redis cache was introduced to improve performance.

To test backward compatibility you can add this code to any plugin
```ruby
  replace_flags do |flag_settings|
    flag_settings.add(
      4,
      :inappropriate,
      topic_type: true,
      notify_type: true,
      auto_action_type: true,
    )
    flag_settings.add(1001, :trolling, topic_type: true, notify_type: true, auto_action_type: true)
  end
```
2024-08-13 11:22:37 +10:00
..
action_dispatch/session DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
active_support_type_extensions DEV: Move more service code to core (#26613) 2024-04-12 13:14:19 +02:00
auth FIX: store information about the login method in the database. (#28054) 2024-07-24 17:19:58 +10:00
autospec DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
backup_restore DEV: Resolve TODO comments for martin-brennan 2024-07-01 15:32:30 +10:00
common_passwords
compression DEV: Fix Lint/ShadowedArgument (#24733) 2023-12-06 13:16:10 +01:00
content_security_policy DEV: remove legacy CSP implementation to make strict-dynamic only accepted behaviour (#27486) 2024-06-18 16:40:53 +08:00
demon DEV: Log error encountered when reopening sidekiq logs (#27411) 2024-06-11 12:29:48 +08:00
discourse_dev DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00
discourse_webauthn DEV: Add routes and controller actions for passkeys (2/3) (#23587) 2023-10-11 14:36:54 -04:00
email FEATURE: email attachments in a details (#27804) 2024-07-10 09:59:27 +02:00
email_controller_helper DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
emoji DEV: Update javascript:update_constants rake task following template colocation (#20365) 2023-02-20 06:20:47 +03:00
faker DEV: Don't run dev-only code in specs (#23427) 2023-09-06 02:14:57 +02:00
file_store DEV: Add hidden `s3_inventory_bucket_region` site setting (#27786) 2024-07-09 12:03:43 +08:00
final_destination SECURITY: Add FastImage SSRF safe freedom patch 2024-07-03 20:49:15 +08:00
freedom_patches FIX: Set sane default for `Net::HTTP` when processing a request (#28141) 2024-08-06 07:12:42 +08:00
generators DEV: Improve site setting rename generator (#25354) 2024-01-25 10:45:46 +10:00
guardian FIX: serialize Flags instead of PostActionType (#28259) 2024-08-13 11:22:37 +10:00
i18n DEV: Enable Rails 7.1 defaults 2024-08-12 10:41:13 +02:00
imap DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00
import DEV: lint against Layout/EmptyLineBetweenDefs (#24914) 2023-12-15 23:46:04 +08:00
import_export DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
middleware FIX: Set sane default for `Net::HTTP` when processing a request (#28141) 2024-08-06 07:12:42 +08:00
migration DEV: Improve code comment about when ignored columns can be removed (#26894) 2024-05-07 11:06:31 +08:00
onebox SECURITY: Fixes for main (#28137) 2024-07-30 14:19:01 +08:00
plugin DEV: Add plugin API to perform actions when the plugin is turned on/off (#28156) 2024-07-31 15:38:10 -03:00
pretty_text FIX: BBCode tag parser 2024-06-18 10:47:18 +02:00
rate_limiter DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
reviewable FIX: Don't mix up action labels between different reviewables (#23365) 2023-09-06 10:57:30 +08:00
scheduler PERF: Don't allow a single user to monopolize the defer queue (#25593) 2024-02-07 13:47:50 -06:00
search FIX: Handle nil post_search_data for search result (#26179) 2024-03-14 14:40:46 -03:00
second_factor DEV: Update confirm-email flows to use central 2fa and ember rendering (#25404) 2024-01-30 10:32:42 +00:00
seed_data UX: Rename FAQ to Guidelines (#27451) 2024-06-13 12:09:53 -03:00
sidekiq DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00
site_settings FEATURE: Introduce site settings which require confirmation (#27315) 2024-06-19 16:01:24 +10:00
stylesheet SECURITY: Generate more category CSS on client 2024-03-15 14:24:11 +08:00
summarization DEV: Remove summarization code (#27373) 2024-07-02 08:51:47 -07:00
tasks DEV: Stop storing theme-transpiler on filesystem in development (#28198) 2024-08-01 17:59:34 +01:00
theme_settings_manager FIX: Pass values of objects typed settings to theme migrations (#26751) 2024-04-25 16:39:22 +03:00
theme_store DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
topic_query FEATURE: option to sort user and group private messages. (#25146) 2024-01-10 13:33:30 +05:30
turbo_tests DEV: `check_pending` -> `check_all_pending!` (#27724) 2024-07-05 09:29:32 +08:00
validators DEV: Add validation for allowed iframes setting (#28178) 2024-08-01 06:51:02 -06:00
wizard DEV: Update member access wizard step to use toggle group (#28013) 2024-07-29 14:07:06 +08:00
admin_confirmation.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
admin_constraint.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
admin_user_index_query.rb DEV: Remove deprecated ascending param from AdminUserIndexQuery (#22741) 2023-07-24 09:37:18 +08:00
age_words.rb DEV: Move distance_of_time_in_words/time_ago_in_words (#21745) 2023-05-25 14:53:59 +02:00
archetype.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
auth.rb FIX: Do not capture OAuth user on 2FA page (#27617) 2024-06-27 10:27:49 +10:00
backup_restore.rb Revert "FIX: backup_restore.rb wants db user from user, not username (#28229)" (#28245) 2024-08-06 14:11:48 +01:00
badge_posts_view_manager.rb
badge_queries.rb FEATURE: custom flag can require additional message (#27908) 2024-07-18 10:10:22 +10:00
base62.rb
bookmark_manager.rb FIX: Bookmark auto delete preference usage and default value (#19707) 2023-01-05 08:43:58 +10:00
bookmark_query.rb FIX: Show deleted bookmark reminders in user bookmarks menu (#25905) 2024-02-29 09:03:49 +10:00
bookmark_reminder_notification_handler.rb FEATURE: Add bulk action to bookmark (#26856) 2024-05-22 12:50:21 -03:00
bookmarks_bulk_action.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
browser_detection.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
cache.rb FIX: race condition in Discourse.cache.fetch (#28124) 2024-07-30 09:08:12 +02:00
canonical_url.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
category_badge.rb FIX: email category badges shouldn't use category text color (#25655) 2024-02-13 10:18:36 -05:00
chrome_installed_checker.rb DEV: lint against Layout/EmptyLineBetweenDefs (#24914) 2023-12-15 23:46:04 +08:00
color_math.rb UX: Calculate missing hover/selected colors from existing colors (#20105) 2023-02-01 09:55:21 +00:00
comment_migration.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
common_passwords.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
composer_messages_finder.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
configurable_urls.rb PERF: Cache ToS and Privacy Policy paths (#21860) 2023-06-07 21:31:20 +03:00
content_buffer.rb DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
content_security_policy.rb DEV: Allow CSP nonce_placeholder to be generated outside Rails (#26052) 2024-03-06 13:01:32 +00:00
cooked_post_processor.rb DEV: Rename with_secure_uploads? to should_secure_uploads? on Post (#26549) 2024-04-09 13:23:11 +10:00
cooked_processor_mixin.rb SECURITY: Add FastImage SSRF safe freedom patch 2024-07-03 20:49:15 +08:00
crawler_detection.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
csrf_token_verifier.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
current_user.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
custom_renderer.rb
db_helper.rb FIX: Make DBHelper.find build valid query (#19408) 2023-01-10 22:38:52 +02:00
directory_helper.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
discourse.rb DEV: Add site age and site activities section to the redesigned about page (#28214) 2024-08-07 11:11:41 +03:00
discourse_connect_base.rb FEATURE: Increase default DiscourseConnect session length (#26261) 2024-03-20 14:02:12 +00:00
discourse_connect_provider.rb DEV: lint against Layout/EmptyLineBetweenDefs (#24914) 2023-12-15 23:46:04 +08:00
discourse_dev.rb
discourse_diff.rb DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
discourse_event.rb DEV: Add :push_notification event and deprecate :post_notification_alert (#22917) 2023-08-02 18:44:19 -03:00
discourse_hub.rb DEV: include more data in Discourse Discover enrollment payload. (#25846) 2024-02-25 10:42:50 +05:30
discourse_ip_info.rb FIX: Rescue and warn when error is encountered in `DiscourseIpInfo.mmdb_download` (#28134) 2024-07-30 11:33:20 +08:00
discourse_js_processor.rb DEV: Upgrade babel & remove vendored safari-bugfix transformation (#28208) 2024-08-05 10:35:26 +01:00
discourse_logstash_logger.rb DEV: Log sidekiq job opts as string instead of hash (#28012) 2024-07-23 06:27:43 +08:00
discourse_plugin_registry.rb DEV: Support adding a custom filter on `/filter` (#27927) 2024-07-17 11:36:38 -05:00
discourse_redis.rb DEV: Remove Discourse.redis.delete_prefixed (#22103) 2023-06-16 12:44:35 +10:00
discourse_sourcemapping_url_processor.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
discourse_tagging.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
discourse_updates.rb UX: rename the word "Upgrade" to "Update" in the UI. (#26396) 2024-04-02 20:04:37 +05:30
discourse_webauthn.rb FIX: Webauthn origin was incorrect for subfolder setups (#25651) 2024-02-12 16:27:24 -05:00
disk_space.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
distributed_cache.rb DEV: Reduce duplication with DistributedMutex#clear_regex (#25795) 2024-02-21 14:19:04 -06:00
distributed_memoizer.rb
distributed_mutex.rb DEV: reduce amount of errors logged when notifying on flags (#20472) 2023-03-01 08:58:32 +11:00
edit_rate_limiter.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
email.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
email_backup_token.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
email_cook.rb DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
email_templates_finder.rb FIX: Add new/missing email templates to the email templates editor (#28075) 2024-07-30 00:27:41 +03:00
email_updater.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
ember_cli.rb DEV: Drop workbox dependency (#26735) 2024-04-24 10:19:12 +01:00
encodings.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
enum.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
enum_site_setting.rb
excerpt_parser.rb DEV: Update code comment wording (#22861) 2023-07-28 11:47:22 -06:00
external_upload_helpers.rb DEV: Add S3 upload system specs using minio (#22975) 2023-08-23 11:18:33 +10:00
feed_element_installer.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
feed_item_accessor.rb
file_helper.rb FIX: Use MaxMind supplied permalinks to download MaxMind databases (#26847) 2024-05-09 15:11:56 +08:00
filter_best_posts.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
final_destination.rb FEATURE: use new site setting for onebox custom user agent. (#28045) 2024-07-24 04:45:30 +05:30
flag_query.rb
flag_settings.rb FEATURE: custom flag can require additional message (#27908) 2024-07-18 10:10:22 +10:00
gaps.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
gc_stat_instrumenter.rb DEV: Seperate concerns of tracking GC stat from `MethodProfiler` (#22921) 2023-08-02 10:46:37 +08:00
git_repo.rb FEATURE: display commit hash for each plugin on `/admin/plugins` page. (#22176) 2023-06-26 10:09:57 +05:30
git_url.rb SECURITY: Prevent ReDOS by making the SSH url regex unambiguous (#20000) 2023-01-25 18:55:01 +02:00
git_utils.rb DEV: Fix unicorn not booting due to 8e10878 (#27727) 2024-07-05 10:36:13 +08:00
global_path.rb DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
group_lookup.rb FEATURE: display PM participant group names in the topics list. (#21677) 2023-05-31 19:32:06 +05:30
guardian.rb DEV: Add `guardian` modifier to prevent sending PM (#28282) 2024-08-08 12:57:13 -05:00
has_errors.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
highlight_js.rb DEV: Merge root JS packages (#25857) 2024-02-26 13:45:58 +00:00
hijack.rb DEV: Upgrade Rails to version 7.1 2024-07-04 10:58:21 +02:00
homepage_constraint.rb FIX: Regression in custom homepage modifier used in theme components (#27569) 2024-06-21 11:24:11 -04:00
homepage_helper.rb FIX: Regression in custom homepage modifier used in theme components (#27569) 2024-06-21 11:24:11 -04:00
html_prettify.rb DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
html_to_markdown.rb FIX: `HtmlToMarkdown` should keep HTML entities for <, > and & within HTML elements 2024-06-10 16:03:30 +02:00
http_language_parser.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
http_user_agent_encoder.rb DEV: Apply suggested changes 2024-06-11 14:02:46 +02:00
image_sizer.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
import_export.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
inline_oneboxer.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
job_time_spacer.rb FEATURE: Auto-remove users without permission from channel (#20344) 2023-03-22 10:19:59 +10:00
js_locale_helper.rb FIX: Allow invalid plural keys in MF translations 2024-07-25 14:16:28 +02:00
json_error.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
letter_avatar.rb DEV: replace imagemagick convert commands with magick (#27767) 2024-07-08 16:55:59 +08:00
markdown_linker.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
mem_info.rb DEV: Move non scheduled problem checks to classes (#26122) 2024-03-14 10:55:01 +08:00
message_bus_diags.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
method_profiler.rb DEV: Seperate concerns of tracking GC stat from `MethodProfiler` (#22921) 2023-08-02 10:46:37 +08:00
mini_scheduler_long_running_job_logger.rb DEV: Log a warning message when a MiniScheduler scheduled job is stuck (#28258) 2024-08-08 12:20:16 +08:00
mini_sql_multisite_connection.rb DEV: lint against Layout/EmptyLineBetweenDefs (#24914) 2023-12-15 23:46:04 +08:00
mobile_detection.rb SECURITY: Prevent ReDoS in user agent parsing (#20002) 2023-01-25 18:55:33 +02:00
new_post_manager.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
new_post_result.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
notification_levels.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
onebox.rb SECURITY: Prevent Onebox cache overflow by limiting downloads and URL lengths 2023-11-09 13:39:18 +11:00
oneboxer.rb FEATURE: Allow for multiple GitHub onebox tokens (#27887) 2024-07-15 13:07:36 +10:00
onpdiff.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
password_hasher.rb FEATURE: Persist password hashing algorithm/params in database (#20980) 2023-04-11 10:16:28 +01:00
pbkdf2.rb PERF: Use `OpenSSL::KDF` for Pbkdf2 implementation (#20982) 2023-04-05 17:00:05 +01:00
permalink_constraint.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
pinned_check.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
plain_text_to_markdown.rb DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
plugin.rb DEV: Fixup plugin initialization guard (#24628) 2023-11-29 11:44:09 +00:00
plugin_gem.rb DEV: Search for `-gnu` gem variants (#27347) 2024-06-05 14:58:02 +02:00
post_action_creator.rb FIX: serialize Flags instead of PostActionType (#28259) 2024-08-13 11:22:37 +10:00
post_action_destroyer.rb FIX: serialize Flags instead of PostActionType (#28259) 2024-08-13 11:22:37 +10:00
post_action_result.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
post_action_type_view.rb FIX: serialize Flags instead of PostActionType (#28259) 2024-08-13 11:22:37 +10:00
post_creator.rb FIX: double reviewable items bug (#28161) 2024-07-31 12:45:00 +10:00
post_destroyer.rb FIX: serialize Flags instead of PostActionType (#28259) 2024-08-13 11:22:37 +10:00
post_jobs_enqueuer.rb DEV: Add `import_embed_unlisted` site setting (#26222) 2024-03-27 08:57:43 -04:00
post_locker.rb
post_merger.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
post_revisor.rb FEATURE: custom flag can require additional message (#27908) 2024-07-18 10:10:22 +10:00
presence_channel.rb DEV: remove repetitive words (#26439) 2024-04-01 06:23:21 +08:00
pretty_text.rb DEV: Update ember-cli-deprecation-workflow from 2.2.0 to 3.0.1 (#28226) 2024-08-07 17:59:42 +02:00
promotion.rb FIX: down downgrade trust level if all requirements are met. (#25953) 2024-03-04 09:30:30 +11:00
quote_comparer.rb DEV: Correct `Style/RedundantReturn` rubocop issues (#23052) 2023-08-10 02:03:38 +02:00
quote_rewriter.rb SECURITY: escape display names 2023-11-09 13:39:06 +11:00
rake_helpers.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
rate_limiter.rb DEV: Remove Discourse.redis.delete_prefixed (#22103) 2023-06-16 12:44:35 +10:00
read_only_mixin.rb FIX: Change request method for categories/search (#26976) 2024-05-13 14:37:17 +03:00
redis_snapshot.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
require_dependency_backward_compatibility.rb DEV: Prefer \A and \z over ^ and $ in regexes (#19936) 2023-01-20 12:52:49 -06:00
retrieve_title.rb FIX: Request html when fetching inline onebox data (#24674) 2023-12-04 11:36:42 +10:00
route_format.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
route_matcher.rb FIX: Logs api scope not working (#25215) 2024-01-10 19:30:10 -07:00
rtl.rb DEV: Remove duplicate definition of RTL locales and add Uyghur to the list (#27387) 2024-06-08 21:24:39 +02:00
s3_cors_rulesets.rb FIX: Update DIRECT_UPLOAD CORS ruleset to include new Amazon signing headers (#23379) 2023-09-04 16:09:52 +10:00
s3_helper.rb DEV: Introduce hidden `s3_inventory_bucket` site setting (#27304) 2024-06-10 13:16:00 +08:00
s3_inventory.rb DEV: Restore `missing_s3_uploads` stats count if site was restored (#27984) 2024-07-19 14:22:58 +08:00
score_calculator.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
screening_model.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
search.rb PERF: Don't use unaccent on string literals (#28120) 2024-07-29 15:37:25 -05:00
secure_session.rb DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00
secure_upload_endpoint_helpers.rb DEV: Add SecureUploadEndpointHelpers for controllers (#25758) 2024-02-20 11:19:22 +10:00
service_runner.rb FIX: move ServiceRunner from Chat to Core (#27219) 2024-05-28 13:55:46 +10:00
shrink_uploaded_image.rb FIX: Ignore invalid images when shrinking uploads (#25346) 2024-01-22 12:10:29 +01:00
sidekiq_logster_reporter.rb DEV: Improve logging of Sidekiq errors when logstash logger is enabled (#27855) 2024-07-11 14:17:18 +08:00
sidekiq_long_running_job_logger.rb DEV: Add ability to log a warning when Sidekiq job runs for too long (#27446) 2024-06-13 14:24:44 +08:00
signal_trap_logger.rb DEV: Log Unicorn worker timeout backtraces to `Rails.logger` (#27257) 2024-06-03 12:51:12 +08:00
site_icon_manager.rb DEV: Move Bookmark modal/component to use d-modal (#22532) 2023-07-17 10:14:17 +10:00
site_setting_extension.rb DEV: better log around nil client_settings_json (#27868) 2024-07-11 11:30:53 +02:00
slug.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
smtp_provider_overrides.rb UX: Use a dropdown for SSL mode for group SMTP (#27932) 2024-07-18 10:33:14 +10:00
socket_server.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
spam_handler.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
staff_constraint.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
staff_message_format.rb
statistics.rb FEATURE: participating users statistics (#28322) 2024-08-12 23:47:13 +02:00
steps_inspector.rb DEV: Show parameters on a service contract failure 2024-06-13 12:19:26 +02:00
suggested_topics_builder.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
svg_sprite.rb DEV: Add site age and site activities section to the redesigned about page (#28214) 2024-08-07 11:11:41 +03:00
system_message.rb FIX: Send TL2 promotion message to correct user (#21978) 2023-06-07 22:51:24 +03:00
temporary_db.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
temporary_redis.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
text_cleaner.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
text_sentinel.rb PERF: improves TextSentinel's seems_unpretentious check (#28044) 2024-07-23 17:12:29 +02:00
theme_javascript_compiler.rb DEV: Compile theme migrations javascript files when running theme qunit (#25219) 2024-01-16 09:50:44 +08:00
theme_metadata.rb DEV: Run system tests for official themes (#24378) 2023-11-16 07:11:35 +08:00
theme_modifier_helper.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
theme_resolver.rb DEV: Extract theme resolution to a helper (#27426) 2024-06-20 11:33:46 -04:00
theme_settings_manager.rb FIX: Pass values of objects typed settings to theme migrations (#26751) 2024-04-25 16:39:22 +03:00
theme_settings_object_validator.rb DEV: Add `isValidUrl` helper function to theme migrations (#26817) 2024-04-30 16:45:07 +08:00
theme_settings_parser.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
theme_settings_validator.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
theme_translation_manager.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
theme_translation_parser.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
timeline_lookup.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
tiny_japanese_segmenter.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
topic_creator.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
topic_list_responder.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
topic_publisher.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
topic_query.rb FIX: Return 400 response codes when topic list query params are invalid (#27930) 2024-07-16 10:30:04 +08:00
topic_query_params.rb FIX: Return 400 response codes when topic list query params are invalid (#27930) 2024-07-16 10:30:04 +08:00
topic_retriever.rb FIX: #present -> #presence typo in TopicRetriever (#20509) 2023-03-02 13:05:45 -03:00
topic_subtype.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
topic_upload_security_manager.rb DEV: Introduce post_should_secure_uploads? plugin modifier (#26508) 2024-04-10 12:02:44 +10:00
topic_view.rb FIX: serialize Flags instead of PostActionType (#28259) 2024-08-13 11:22:37 +10:00
topics_bulk_action.rb FIX: Message for bulk closing topics silently (#27400) 2024-06-11 09:36:54 +10:00
topics_filter.rb DEV: Extend /filter's ability to order (#28242) 2024-08-07 16:37:00 +08:00
truncate_logs_formatter.rb SECURITY: Add a default limit as to when logs should be truncated 2023-10-16 10:34:38 -04:00
trust_level.rb FIX: recalculating trust levels was not working (#20492) 2023-03-01 15:35:21 +11:00
turbo_tests.rb DEV: Repair RSpec full_cause_backtrace under bin/turbo_rspec (#26087) 2024-03-07 18:35:46 +00:00
twitter_api.rb FIX: Minor Twitter onebox improvements (#22387) 2023-07-03 19:53:12 -03:00
unicorn_logstash_patch.rb
unread.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
upload_creator.rb DEV: replace imagemagick convert commands with magick (#27767) 2024-07-08 16:55:59 +08:00
upload_fixer.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
upload_markdown.rb DEV: Uploads import script can download files (#26816) 2024-05-04 22:48:16 +02:00
upload_recovery.rb FEATURE: allow S3 ACLs to be disabled (#21769) 2023-06-06 15:47:40 +10:00
upload_security.rb DEV: Rename with_secure_uploads? to should_secure_uploads? on Post (#26549) 2024-04-09 13:23:11 +10:00
url_helper.rb DEV: Add `isValidUrl` helper function to theme migrations (#26817) 2024-04-30 16:45:07 +08:00
user_comm_screener.rb DEV: Refactor DM channel creation into new service pattern (#22144) 2023-07-03 10:18:37 +10:00
user_lookup.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
user_name_suggester.rb DEV: Fix various spec linting issues (#24672) 2023-12-04 13:45:19 +01:00
vary_header.rb DEV: Apply syntax_tree formatting to `lib/*` 2023-01-09 12:10:19 +00:00
version.rb Bump version to v3.4.0.beta1-dev 2024-07-30 15:35:33 +08:00
wizard.rb DEV: Update to lastest rubocop-discourse 2024-05-27 18:06:14 +02:00
work_queue.rb PERF: Don't allow a single user to monopolize the defer queue (#25593) 2024-02-07 13:47:50 -06:00
xml_cleaner.rb FIX: Remove invalid chars from feed XMLs (#24001) 2023-10-19 14:37:37 -03:00