discourse/spec
Loïc Guitaut a4d34d60e3 DEV: Make Ruby services thread-safe
A previous refactor of the `Service::Base::Step` class introduced a
non thread-safe behavior. `#call` mutates instance variables at runtime,
and since a step instance is the same for any given service class, this
can sometimes lead to `context` being the wrong one for the running
service.

This patch makes use of `Concurrent::ThreadLocalVar` to fix the issue.
2025-02-11 11:18:42 +01:00
..
fabricators FIX: Improvements for uploads:disable_secure_uploads task (#31231) 2025-02-10 14:37:42 +10:00
fixtures FIX: invalid CSP directive sources should allow site to boot with valid CSP directives (#31256) 2025-02-10 20:38:36 +08:00
generator DEV: Silence the output of migration specs (#26365) 2024-03-26 11:32:44 +01:00
helpers SECURITY: Preload data only when rendering application layout 2025-02-04 13:32:30 -03:00
import_export DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
initializers DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
integration SECURITY: When enabled only allow Discourse Connect logins 2024-12-19 13:13:23 -03:00
integrity DEV: Add spec to ensure app works with multiple tagged loggers 2024-08-13 18:10:03 +02:00
jobs DEV: Refresh translation override status when updating (#31233) 2025-02-07 14:12:28 +08:00
lib DEV: Make Ruby services thread-safe 2025-02-11 11:18:42 +01:00
mailers FEATURE: add support for One-Click unsubscribe (RFC 8058) 2024-12-31 15:28:59 +01:00
migrations DEV: update fa6 icons to drop fa prefix (#30100) 2024-12-05 10:00:41 +08:00
models DEV: Require at least one scope for API key granular mode (#31253) 2025-02-10 13:22:08 +08:00
multisite FIX: Include original filename in s3 uploads even if not attachment (#30789) 2025-01-15 18:08:18 +08:00
requests FEATURE: Allow admins to opt-in to seamless redirects on /auth/* (#31235) 2025-02-07 11:43:39 +00:00
script/import_scripts DEV: Catch missing translations during test runs (#26258) 2024-05-24 22:15:53 +08:00
serializers FEATURE: add first_post_id to TopicListItemSerializer (#31254) 2025-02-10 21:53:05 +05:30
services UX: Show parent category name for category hashtags (#31188) 2025-02-05 12:31:50 +10:00
support DEV: Remove invalid parsing options (#30545) 2025-01-03 13:17:49 +01:00
system FIX: invalid CSP directive sources should allow site to boot with valid CSP directives (#31256) 2025-02-10 20:38:36 +08:00
tasks FIX: Improvements for uploads:disable_secure_uploads task (#31231) 2025-02-10 14:37:42 +10:00
views FEATURE: Simplify crawler content for non-canonical post URLs (#26324) 2024-03-26 15:18:46 +00:00
rails_helper.rb DEV: Add base admin page page object (#30814) 2025-01-16 12:52:41 +08:00
regenerate_swagger_docs DEV: Add API docs for uploads and API doc watcher (#15387) 2021-12-23 08:40:15 +10:00
swagger_helper.rb DEV: Bump rswag-specs from 2.11.0 to 2.13.0 (#24654) 2023-12-07 08:16:47 +08:00