discourse/lib/freedom_patches
Loïc Guitaut b4e4833d2a DEV: Rename SecureSession to ServerSession
This patch will be followed by
https://github.com/discourse/discourse/pull/34747.

`SecureSession` doesn’t make a lot of sense anymore and can be confusing
as the current cookie store used for the session is actually secure
since it’s encrypted.

Renaming it to `ServerSession` better conveys what it does: providing a
session but on the server side only.

This patch also makes some improvements, like injecting that server
session into Rack-like request objects, allowing the server session to
be available virtually everywhere.
2025-09-18 16:31:03 +02:00
..
active_record_attribute_methods.rb
active_record_disable_serialization.rb DEV: Remove unnecessary freedom patches 2024-08-19 12:06:54 +02:00
ams_include_without_root.rb
copy_file.rb
cose_rsapkcs1.rb
fast_image.rb SECURITY: Add FastImage SSRF safe freedom patch 2024-07-03 20:49:15 +08:00
inflector_backport.rb
ip_addr.rb DEV: Fix various rubocop lints (#24749) 2023-12-06 23:25:00 +01:00
net_http.rb FIX: Set sane default for Net::HTTP when processing a request (#28141) 2024-08-06 07:12:42 +08:00
net_http_header.rb DEV: Add a user agent to all HTTP requests that Discourse makes. (#31555) 2025-03-03 16:32:25 +11:00
propshaft_patches.rb DEV: ensure retries do not re-set attempts=0 (#33365) 2025-06-27 06:51:10 -03:00
rails_multisite.rb PERF: Don't do initialization for every DB if RAILS_DB is set (#28668) 2024-09-03 15:56:46 +10:00
request_server_session.rb DEV: Rename SecureSession to ServerSession 2025-09-18 16:31:03 +02:00
rspec_mocks_from_described_class.rb DEV: Monkey patch a from_described_class helper in RSpec::Mocks (#34021) 2025-08-05 12:03:42 +10:00
safe_buffer.rb
safe_migrations.rb
schema_migration_details.rb
sidekiq.rb DEV: Upgrade Sidekiq to v7.3.9 2025-03-10 15:02:48 +01:00
translate_accelerator.rb DEV: Remove unnecessary freedom patches 2024-08-19 12:06:54 +02:00
web_push_request.rb