openstreetmap-website/test
Andy Allan 24f6aeda6a Use hash-based flash objects to render complex flash messages
Since flash objects can only be String, Hash or Array (notably excluding SafeBuffers), then this approach is necessary to render complex html in a safe manner.

Each local can be treated as an (unsafe) string, and therefore escaped normally when rendered into the template. The template (and translation strings) can
contain html since they are no longer stored in the flash as a plain string.

Fixes #3215
2021-06-23 20:10:55 +01:00
..
abilities Ensure that test utility methods are marked as private 2020-10-28 11:49:01 +01:00
controllers Use hash-based flash objects to render complex flash messages 2021-06-23 20:10:55 +01:00
factories Fix new rubocop warnings 2021-01-11 19:17:31 +00:00
gpx/fixtures Remove unused directories 2020-03-18 15:04:18 +01:00
helpers Fix new ruboop warnings 2021-06-22 18:34:15 +01:00
http Remove npemap as a source for UK postcodes 2018-02-04 15:14:41 +00:00
integration Avoid accidental locale changes in tests 2021-06-22 19:05:55 +01:00
javascripts Replace querystring parser with qs yarn module 2020-08-06 20:51:55 +01:00
jobs Send trace import result notification immediately 2019-07-15 21:45:07 +01:00
lib Prevent addition of style attributes to all elements 2021-03-24 20:55:30 +00:00
mailers Add a test for i18n interpolation into plain and html parts 2020-12-02 13:02:25 +00:00
models Skip intermediate lengths when testing tag validity 2021-06-16 09:53:57 +01:00
system Use hash-based flash objects to render complex flash messages 2021-06-23 20:10:55 +01:00
validators Merge character validators 2018-11-05 18:54:19 +00:00
application_system_test_case.rb Switch to using selenium for system tests 2020-04-22 13:51:37 +01:00
test_helper.rb Fix some ruby 3 compatibility issues 2021-04-22 19:20:25 +01:00