Move the amf and swf controllers into the api namespace
Remove require_terms_agreed configuration option This has been set to true for 6 years in production. Refs #2097 As per other user settings, we set the terms as seen by default for tests, and we can override that when necessary for specific tests.
Skip authorization checks for amf controller
Fix Style/NumericPredicate rubocop warnings
Fix Style/SafeNavigation rubocop warnings
Fix new rubocop warnings
Fix new rubocop warnings
Fix new rubocop warnings
Fix new rubocop warnings
Make the AMF getway_old call parse times as UTC Although it's not entirely clear how to interpret a timestamp from a client the production servers have effectively been parsing them as UTC because they run in the UTC time zone all year. Using Time.zone to do the parse forces it to happen in the rails time zone rather than the system time zone, which defaults to UTC as well. Fixes #1688
Fix rubocop warnings
Fix rubocop warnings
Replace deprecated Mime::XXX with Mime[:xxx]
Update rubocop
Fix some rubocop warnings
Fix new rubocop warnings
Fix new rubocop warnings
Fix rubocop warnings
Rework locale selection Implement our own matching algorithm rather than trying to patch the http_accept_language one and make sure everything is using it in a consistent way. Fixes #1125
Fix new rubocopy warnings