Allows leaving `smtp_settings[:domain]` unspecified. Explicitly setting
it to `nil` (as when `OSEM_SMTP_DOMAIN` is unset) overrides the default
value of `'localhost.localdomain'` and caused SMTP connections to fail
with `EOFError`.
To always run rubocop with the same options (specially important when
regenerating the todo file).
It creates the following three tasks:
rake rubocop # Run RuboCop on the whole project
rake rubocop:auto_correct # Auto-correct RuboCop offenses
rake rubocop:auto_gen_config # Generate .rubocop_todo.yml
We have introduced this task a long time ago without any
release. In the meantime there might be people who have deployed,
hence have selected schedules already. Happened to openSUSE.
The postgres image does not come with pre-configured osem
databases per environment. Calling db:create doesn't hurt if the
databases already exist, so let's do it every time we bootstrap.
The ChangeVisitIdTypeOfAhoyEventsToInteger from 364be5541 is not very well done.
You can not change the schema without changing possibly existing data.
Ahoy events used some kind of string as `visit_id`. Changing this column
to integrer will just barf up `Mysql2::Error: Truncated incorrect INTEGER value`.
So we need a way for people who are in this situation now to get out of it.
Luckily we completely dropped ahoy events a while ago so we can just delete them.
* Survey period constraints
* Add abilities
* Enforce required questions
* Update survey_submssion updated_at
* Do a full match of possible answer and user reply
Use load_and_authorize_resource in versions controlller
Add conference specifc route to revision history page
Users with role can view revision_history only for the versions they have access to
Handle versions where conference_id is not set (records before papertrail was introduced)
For the schedule versioning in the admin interface (having multiple possible shcedules) we need to change some models and associations. It has also been create a rake:move_events_attributes task to migrate the data.
User Interface addapted to make use of the introduced associations and models