Commit fce4eaac authored by Martin Juhás's avatar Martin Juhás
Browse files

feat: enable specification of roles in email type injects

No API changes

Closes #287
parent 2ed1f6b7
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
## 0.12.1

Enable specification of `roles` in `email` type injects.

### injects.yml

- allow specifying `roles` in control blocks inside `email` type injects

## 0.12.0

Replace `text` field by `content` in `Questionnaire` questions.
+1 −1
Original line number Diff line number Diff line
@@ -187,7 +187,7 @@ their priority is determined by their `name` attribute.
  specified in `email.yml`.
- **subject**: _str_ - subject of the email
- **content**: _[content](#content), default=empty_
- **control**: _[control](#control), default=empty_ - roles cannot be specified
- **control**: _[control](#control), default=empty_
- **extra_copies**: _int, default=0_ - number of extra copies to be sent, useful for specifying spam email.
- **overlay**: _[overlay](#overlay), default=empty_

+1 −1
Original line number Diff line number Diff line
exercise_duration: 60
show_exercise_time: False
version: 0.12.0
version: 0.12.1
+1 −1
Original line number Diff line number Diff line
exercise_duration: 60
email_between_teams: True
show_exercise_time: False
version: 0.12.0
version: 0.12.1
+1 −1
Original line number Diff line number Diff line
exercise_duration: 60
show_exercise_time: False
enable_roles: True
version: 0.12.0
version: 0.12.1
Loading