David Taylor
7c77cc6a58
DEV: Apply syntax_tree formatting to `config/*`
2023-01-09 11:13:29 +00:00
David Taylor
68b4fe4cf8
SECURITY: Expand and improve SSRF Protections ( #18815 )
...
See https://github.com/discourse/discourse/security/advisories/GHSA-rcc5-28r3-23rr
Co-authored-by: OsamaSayegh <asooomaasoooma90@gmail.com>
Co-authored-by: Daniel Waterworth <me@danielwaterworth.com>
2022-11-01 16:33:17 +00:00
Loïc Guitaut
008b700a3f
DEV: Upgrade to Rails 7
...
This patch upgrades Rails to version 7.0.2.4.
2022-04-28 11:51:03 +02:00
David Taylor
ddf9bac094
FIX: Ensure ActiveSupport::Inflector is used by Zeitwerk ( #16341 )
...
We want our autoloading to respect custom inflections registered with ActiveSupport::Inflector. `Zeitwek::Inflector` does not call out to ActiveSupport.
Instead, we can define our own DiscourseInflector based on the super-simple Inflector in rails core.
Follow-up to 5743a6ec
2022-03-31 14:43:12 +01:00
Alan Guo Xiang Tan
5743a6ec1e
DEV: Remove Zeitwerk inflection monkey patch.
...
There isn't a good reason we need to patch the inflector.
Co-authored-by: Loïc Guitaut <loic@discourse.org>
2022-03-29 16:04:49 +02:00