discourse/lib
Sam 71be74ffd3
FIX: recalculating trust levels was not working (#20492)
The recalculate code was never firing cause TrustLevel.calculate unconditionally
returned a trust level. (albeit a wrong one)

New code ensures we only bypass promotion checks for cases where trust level
is locked.

see: https://meta.discourse.org/t/user-trust-level-resets-to-zero-when-unlocked/255444
2023-03-01 15:35:21 +11:00
..
action_dispatch/session
auth
autospec
backup_restore FEATURE: Create SQL-only backup if there are no uploads (#20221) 2023-02-08 21:40:15 +01:00
common_passwords
compression
content_security_policy
demon
discourse_dev
email DEV: Update syntax_tree to 6.0.1 (#20466) 2023-02-27 17:20:00 +01:00
email_controller_helper FIX: Unsubscribing via key associated with deleted topic (#20275) 2023-02-16 10:47:01 +00:00
emoji DEV: Update javascript:update_constants rake task following template colocation (#20365) 2023-02-20 06:20:47 +03:00
faker
file_store DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
final_destination FIX: allow changing default DNS query timeout of 2s via GlobalSetting (#20383) 2023-02-21 09:54:29 +11:00
freedom_patches DEV: Replace #pluck_first freedom patch with AR #pick in core (#19893) 2023-02-13 12:39:45 +08:00
generators/rails
guardian DEV: Make Guardian#can_see? default to false for unwatched objects (#20412) 2023-02-24 15:57:01 +08:00
i18n DEV: `i18n:check` rake task was broken on Ruby 3.1 (#20103) 2023-01-31 16:53:24 +01:00
imap
import
import_export
javascripts DEV: Enable parallel babel processing in ember-cli (#20215) 2023-02-09 16:24:24 +00:00
middleware
migration
onebox DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
plugin
pretty_text DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
rate_limiter
reviewable
scheduler
search FEATURE: Roll out new search optimisations (#20364) 2023-02-20 11:53:35 +11:00
second_factor
seed_data
sidekiq
site_settings DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
stylesheet DEV: rtlcss_wrapper renamed to rtlcss (#20331) 2023-02-16 18:15:56 +03:00
tasks FIX: mark posted as true for post authors in the TopicUser table during ensure_consistency task (#20473) 2023-02-28 20:45:32 -04:00
theme_store
topic_query DEV: Replace #pluck_first freedom patch with AR #pick in core (#19893) 2023-02-13 12:39:45 +08:00
turbo_tests DEV: Fix bin/turbo_rspec runtime recording (#20407) 2023-02-23 07:47:11 +10:00
validators DEV: Replace #pluck_first freedom patch with AR #pick in core (#19893) 2023-02-13 12:39:45 +08:00
webauthn
wizard
admin_confirmation.rb
admin_constraint.rb
admin_user_index_query.rb
age_words.rb
archetype.rb
auth.rb
backup_restore.rb
badge_posts_view_manager.rb
badge_queries.rb FIX: Fixed getting badges from inviting youself (#19778) 2023-01-27 12:28:47 +08:00
base62.rb
bookmark_manager.rb
bookmark_query.rb
bookmark_reminder_notification_handler.rb
browser_detection.rb
cache.rb
canonical_url.rb
category_badge.rb
chrome_installed_checker.rb
color_math.rb UX: Calculate missing hover/selected colors from existing colors (#20105) 2023-02-01 09:55:21 +00:00
comment_migration.rb
common_passwords.rb DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
composer_messages_finder.rb DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
configurable_urls.rb
content_buffer.rb DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
content_security_policy.rb
cooked_post_processor.rb
cooked_processor_mixin.rb DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
crawler_detection.rb
csrf_token_verifier.rb
current_user.rb
custom_renderer.rb
db_helper.rb
directory_helper.rb
discourse.rb
discourse_connect_base.rb
discourse_connect_provider.rb
discourse_dev.rb
discourse_diff.rb
discourse_event.rb
discourse_hub.rb
discourse_ip_info.rb
discourse_js_processor.rb DEV: Update ember-cli-htmlbars to 6.2.0 (#20467) 2023-02-27 18:43:28 +01:00
discourse_logstash_logger.rb
discourse_plugin_registry.rb
discourse_redis.rb
discourse_sourcemapping_url_processor.rb
discourse_tagging.rb
discourse_updates.rb
disk_space.rb
distributed_cache.rb
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
email.rb
email_backup_token.rb
email_cook.rb
email_updater.rb
ember_cli.rb
encodings.rb
enum.rb
enum_site_setting.rb
excerpt_parser.rb DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
external_upload_helpers.rb
feed_element_installer.rb
feed_item_accessor.rb
file_helper.rb
filter_best_posts.rb
final_destination.rb
flag_query.rb
flag_settings.rb
gaps.rb
git_url.rb
global_path.rb
group_email_credentials_check.rb
guardian.rb DEV: Make Guardian#can_see? default to false for unwatched objects (#20412) 2023-02-24 15:57:01 +08:00
has_errors.rb
highlight_js.rb
hijack.rb
homepage_constraint.rb
html_prettify.rb
html_to_markdown.rb
http_language_parser.rb
image_sizer.rb
import_export.rb
inline_oneboxer.rb
js_locale_helper.rb
json_error.rb
letter_avatar.rb
markdown_linker.rb
mem_info.rb
message_bus_diags.rb
method_profiler.rb
mini_sql_multisite_connection.rb
mobile_detection.rb
new_post_manager.rb
new_post_result.rb
notification_levels.rb
onebox.rb
oneboxer.rb DEV: Make it obvious that `joined` translation is used by onebox (#20158) 2023-02-03 10:02:14 +08:00
onpdiff.rb
pbkdf2.rb
permalink_constraint.rb
pinned_check.rb
plain_text_to_markdown.rb
plugin.rb
plugin_gem.rb
post_action_creator.rb
post_action_destroyer.rb
post_action_result.rb
post_creator.rb DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
post_destroyer.rb DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
post_jobs_enqueuer.rb DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
post_locker.rb
post_merger.rb
post_revisor.rb DEV: Replace #pluck_first freedom patch with AR #pick in core (#19893) 2023-02-13 12:39:45 +08:00
presence_channel.rb
pretty_text.rb FIX: vimeo iframe url when data-original-href is missing (#18894) 2023-01-31 12:00:27 +01:00
promotion.rb FIX: recalculating trust levels was not working (#20492) 2023-03-01 15:35:21 +11:00
quote_comparer.rb
rake_helpers.rb
rate_limiter.rb
read_only_mixin.rb
redis_snapshot.rb
require_dependency_backward_compatibility.rb
retrieve_title.rb
route_format.rb
route_matcher.rb
rtl.rb
s3_cors_rulesets.rb
s3_helper.rb
s3_inventory.rb
score_calculator.rb
screening_model.rb
search.rb DEV: Replace #pluck_first freedom patch with AR #pick in core (#19893) 2023-02-13 12:39:45 +08:00
secure_session.rb
shrink_uploaded_image.rb
sidekiq_logster_reporter.rb
site_icon_manager.rb
site_setting_extension.rb
slug.rb
socket_server.rb
spam_handler.rb
staff_constraint.rb
staff_message_format.rb
suggested_topics_builder.rb
svg_sprite.rb FIX: IconPicker option to display only available icons (#20235) 2023-02-13 09:24:47 +11:00
system_message.rb Add username template variables to Welcome User email template (#20352) 2023-02-17 18:38:21 -03:00
temporary_db.rb
temporary_redis.rb
text_cleaner.rb
text_sentinel.rb
theme_javascript_compiler.rb
theme_modifier_helper.rb
theme_settings_manager.rb
theme_settings_parser.rb
theme_translation_manager.rb
theme_translation_parser.rb
timeline_lookup.rb
tiny_japanese_segmenter.rb
topic_creator.rb
topic_list_responder.rb
topic_publisher.rb
topic_query.rb DEV: Update syntax_tree to 6.0.1 (#20466) 2023-02-27 17:20:00 +01:00
topic_query_params.rb
topic_retriever.rb FEATURE: Update topic/comment embedding parameters (#20181) 2023-02-28 14:31:59 +02:00
topic_subtype.rb
topic_upload_security_manager.rb
topic_view.rb SECURITY: Show only visible tags in metadata 2023-02-23 17:22:20 +01:00
topics_bulk_action.rb
trust_level.rb FIX: recalculating trust levels was not working (#20492) 2023-03-01 15:35:21 +11:00
turbo_tests.rb
twitter_api.rb
unicorn_logstash_patch.rb
unread.rb
upload_creator.rb
upload_fixer.rb
upload_markdown.rb
upload_recovery.rb
upload_security.rb
url_helper.rb
user_comm_screener.rb
user_lookup.rb
user_name_suggester.rb
vary_header.rb
version.rb
webauthn.rb
wizard.rb