2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-10-03 17:21:20 +08:00
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
ams_include_without_root.rb
copy_file.rb
cose_rsapkcs1.rb
fast_image.rb
inflector_backport.rb
ip_addr.rb
net_http.rb
net_http_header.rb
propshaft_patches.rb
rails_multisite.rb
request_server_session.rb
rspec_mocks_from_described_class.rb
safe_buffer.rb
safe_migrations.rb
schema_migration_details.rb
sidekiq.rb
translate_accelerator.rb
web_push_request.rb