Commit 457781d
authored
feat: Add ability to close registration completely (#176)
* feat: Support SMTP as an alternative email provider to Sparkpost (#172)
test: Fix _asset config test
maint: Code reformat
* fix: when registration is over it should redirect to the root path
* use alert instead of failure or error because looking at the docs they only have alert and notice to be used
* Update app/controllers/users/registrations_controller.rb
Co-Authored-By: Stuart Olivera <stuart@stuartolivera.com>
* check only during the create or new registration
* Update app/controllers/manage/questionnaires_controller.rb
Co-Authored-By: Stuart Olivera <stuart@stuartolivera.com>
* end to close def block
* Update app/controllers/manage/questionnaires_controller.rb
Co-Authored-By: Stuart Olivera <stuart@stuartolivera.com>
* test: add new tests for registration and questionnaire
* test: remove response method
* test: resolve for registration controller
* test: remove trailing white space
* test: update test
* test: get the :new
* fix: move the test for questionnaires to be moved to config since that is where it should be housed. Remove the check for response due to root redirecting to sign in page.
* fix: remove failing test, it touches both config and questionnaire
* fix: remove failing test1 parent ccc6514 commit 457781d
File tree
4 files changed
+18
-4
lines changed- app/controllers
- manage
- users
- config
- locales
4 files changed
+18
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
172 | 180 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
8 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
10 | 15 | | |
11 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | 33 | | |
35 | 34 | | |
36 | 35 | | |
| |||
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
0 commit comments