demarches-normaliennes/config/initializers
Pierre de La Morinerie 82c89fb56f config: remove comment about ActiveStorage integration with VirusScanner
As the comment states, it would be nice to load the Virus Scanner on
the Attachment (rather than the blob).

However, in order not to clobber the blob metadata, we want to run the
VirusScanner once the blob analyzer did run.

And the most direct way to detect that the blob analyzer did run is to
add an `on_update_commit` hook on the blob, as this hook will be
trigerred when saving changes to the metadata. This is what the current
solution uses. 

So the current solution is almost optimal, and has a low chance of
accidentally clobbering the blob metadata – as the virus scanner is only
started when the analysis phase is finished.
2020-08-26 16:11:01 +02:00
..
active_job_log_subscriber.rb Avoid EOL ifs 2019-01-03 10:53:50 +01:00
active_model_serializer.rb Files should end with a new line 2017-04-04 16:59:38 +02:00
active_storage.rb config: remove comment about ActiveStorage integration with VirusScanner 2020-08-26 16:11:01 +02:00
after_party.rb Enable the Lint/UnusedBlockArgument cop 2019-01-03 10:53:50 +01:00
application_controller_renderer.rb Rails app:update 2020-07-07 18:03:56 +02:00
assets.rb Migrate the map editor to mapbox-gl with react component 2020-04-27 11:30:32 +02:00
backtrace_silencers.rb First Commit 2015-08-10 11:05:06 +02:00
chartkick.rb stats: improve numeric separators and suffixes 2019-02-01 11:02:37 +01:00
contacts.rb Feat: allow emails senders to be configured in .env file 2020-07-24 10:50:55 +02:00
content_security_policy.rb Add carte ign 2020-07-30 16:58:20 +02:00
cookies_serializer.rb Rails app:update 2020-07-07 18:03:56 +02:00
date_select.rb fix display of labels for datetime on screenreaders 2020-07-20 11:37:01 +02:00
devise.rb added application name in config/ 2020-07-23 16:17:54 +02:00
dynamic_smtp_settings_interceptor.rb Sendinblue email balancing using proper credentials 2019-11-06 13:34:36 +01:00
env_vars.rb Enable the Lint/UnusedBlockArgument cop 2019-01-03 10:53:50 +01:00
filter_parameter_logging.rb First Commit 2015-08-10 11:05:06 +02:00
flipper.rb Put IGN map behind a feature flag 2020-07-30 17:22:28 +02:00
france_connect.rb [ENV] France connect particulier config in secrets.yml 2018-08-23 15:55:31 +02:00
geocoder.rb Use geocoder 2020-01-15 15:04:04 +01:00
graphql.rb added application name in config/ 2020-07-23 16:17:54 +02:00
groupdate.rb stats: make groupdate week start on Monday 2019-01-10 16:14:14 +01:00
inflections.rb Add revisions migrations 2020-07-21 19:35:30 +02:00
lograge.rb Use parentheses 2019-01-03 10:53:50 +01:00
mailjet.rb [ENV] Add Mailjet conf 2018-08-23 15:55:32 +02:00
mime_types.rb First Commit 2015-08-10 11:05:06 +02:00
omniauth.rb omniauth: protect against CSRF 2019-07-15 18:16:00 +02:00
open_id_connect.rb Files should end with a new line 2017-04-04 16:59:38 +02:00
passwords.rb Rename gestionnaire to instructeur in a comment 2019-08-13 10:27:49 +02:00
pg_interval_5_2.rb add interval data type to ActiveRecord 2020-03-24 18:10:13 +01:00
phonelib.rb refuse les numéros de tel invalides 2019-12-04 05:34:43 +01:00
rack.rb [fix #2387] Rack: increase max multipart number 2018-08-13 17:45:47 +02:00
rack_attack.rb Use rack_attack_enabled? 2019-08-20 13:29:29 +02:00
rack_attack_request.rb RackAttack: use remote ip and test it ! 2019-08-20 13:29:29 +02:00
rack_mini_profiler.rb Put devtools behind feature flags 2019-05-15 18:10:25 +02:00
raven.rb Sentry should send environment information 2019-04-03 18:19:16 +02:00
session_store.rb Change the cookie key 2018-03-01 10:33:53 +01:00
smart_listing.rb Bump development gems 2019-01-05 11:47:55 +01:00
typhoeus.rb added application name in config/ 2020-07-23 16:17:54 +02:00
urls.rb specific deactivation of rubocop DS/ApplicationName rule 2020-07-23 16:20:16 +02:00
wrap_parameters.rb First Commit 2015-08-10 11:05:06 +02:00
zxcvbn.rb [Fix #1285] Add a custom dictionary for zxcvbn 2018-09-26 09:02:59 +02:00
zxcvbn_dictionnaries.yaml [Fix #1285] Add a custom dictionary for zxcvbn 2018-09-26 09:02:59 +02:00