You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,11 +32,14 @@ Doubtfire requires multiple environment variables that help define settings abou
32
32
|`DF_AUTH_METHOD`| The authentication method you would like Doubtfire to use. Possible values are `database` for standard authentication with the database, `ldap`|`database`|
33
33
|| for [LDAP](https://www.freebsd.org/doc/en/articles/ldap-auth/), `aaf` for [AAF Rapid Connect](https://rapid.aaf.edu.au/), or `SAML2` for [SAML2.0 auth](https://en.wikipedia.org/wiki/SAML_2.0). ||
34
34
|`DF_STUDENT_WORK_DIR`| The directory to store uploaded student work for processing. |`student_work`|
35
-
|`DF_ARCHIVE_DIR`| The directory to move archived unit files to, and access from. |`DF_STUDENT_WORK_DIR/archive`|
36
-
|`DF_INSTITUTION_NAME`| The name of your institution running Doubtfire. |_University of Foo_|
35
+
|`DF_ARCHIVE_DIR`| The directory to move archived unit files to, and access from. |`DF_STUDENT_WORK_DIR/archive`|
36
+
|`DF_INSTITUTION_NAME`| The name of your institution running Doubtfire. |_Doubtfire University_|
37
37
|`DF_INSTITUTION_EMAIL_DOMAIN`| The email domain from which emails are sent to and from in your institution. |`doubtfire.com`|
38
38
|`DF_INSTITUTION_HOST`| The host running the Doubtfire instance. |`localhost:3000`|
39
39
|`DF_INSTITUTION_PRODUCT_NAME`| The name of the product (i.e. Doubtfire) at your institution. |_Doubtfire_|
40
+
|`DF_INSTITUTION_HAS_LOGO`| Set to true (or 1) if there is an associated institution logo to be included in the header. | false |
41
+
|`DF_INSTITUTION_LOGO_URL`| The url of the logo to include in the header if there is a logo. | /assets/images/institution-logo.png |
42
+
|`DF_INSTITUTION_LOGO_LINK_URL`| The url used for the hyperlink associated with clicking the logo. | / |
40
43
|`DF_SECRET_KEY_BASE`| The Rails secret key. | Default key provided. |
41
44
|`DF_SECRET_KEY_ATTR`| The secret key to encrypt certain database fields. | Default key provided. |
42
45
|`DF_SECRET_KEY_DEVISE`| The secret key provided to Devise. | Default key provided. |
@@ -78,6 +81,18 @@ If you have chosen to use AAF Rapid Connect authentication, then you will also n
78
81
|`DF_AAF_AUTH_SIGNOUT_URL`| The URL to redirect to on sign out in order to log out of AAF Rapid Connect. | No default - required |
79
82
|`DF_SECRET_KEY_AAF`| The secret used to register your application with AAF. |`secretsecret12345`|
80
83
84
+
If you are authenticating using SAML2, then you will also need to provide the following:
|`DF_SAML_METADATA_URL`| The URL to getch the SAML metadata. | No default |
89
+
|`DF_SAML_CONSUMER_SERVICE_URL`| The URL of the AAF registered application. | No default - required |
90
+
|`DF_AAF_CALLBACK_URL`| The secure endpoint within your application that AAF Rapid Connect should POST responses to. It **must end with `/api/auth/jwt`** to access the Doubtfire JWT authentication endpoint. | No default - required |
91
+
|`DF_AAF_UNIQUE_URL`| The unique URL provided by AAF Rapid Connect used for redirection out of Doubtfire. | No default - required |
92
+
|`DF_AAF_IDENTITY_PROVIDER_URL`| The URL of the AAF-registered identity provider. | No default - required |
93
+
|`DF_AAF_AUTH_SIGNOUT_URL`| The URL to redirect to on sign out in order to log out of AAF Rapid Connect. | No default - required |
94
+
|`DF_SECRET_KEY_AAF`| The secret used to register your application with AAF. |`secretsecret12345`|
95
+
81
96
You may choose to keep your environment variables inside a `.env` file using key-value pairs:
privacy: By clicking on the Upload button, I certify that the attached work is entirely my own (or where submitted to meet the requirements of an approved group assignment is the work of the group), except where work quoted or paraphrased is acknowledged in the text. I also certify that it has not been previously submitted for assessment in this or any other unit or course unless permission for this has been granted by the teaching staff coordinating this unit. I agree that the University may make and retain copies of this work for the purposes of marking and review, and may submit this work to an external plagiarism and collusion detection service who may retain a copy for future plagiarism and collusion detection but will not release it or use it for any other purpose.
7
-
plagiarism: Plagiarism and collusion constitute extremely serious academic misconduct. They are forms of cheating, and severe penalties are associated with them, including cancellation of marks for a specific assignment, for a specific unit or even exclusion from the course. If you are ever in doubt about how to cite a reference properly, consult your lecturer or the Study Support website Plagiarism occurs when a student passes off as the student’s own work, or copies without acknowledgement as to its authorship, the work of any other person. Collusion occurs when a student obtains the agreement of another person for a fraudulent purpose, with the intent of obtaining an advantage in submitting an assignment or other work. Work submitted may be reproduced and/or communicated by the university for the purpose of detecting plagiarism and collusion. Students are reminded that assessment work, or parts of assessment work, cannot be re-submitted for a different assessment task in the same unit or any other unit, without the approval from the teaching staff involved. This includes work submitted for assessment at another academic institution. If students wish to reuse or extend parts of previously submitted work then they should discuss this with the teaching staff prior to the submission date. Depending on the nature of the task, the teaching staff may permit or decline the request.
1
+
name: Doubtfire University
2
+
email_domain: doubtfire.com
3
+
host: localhost:3000
4
+
product_name: Doubtfire
5
+
has_logo: false
6
+
logo_url: /assets/images/institution-logo.png
7
+
logo_link_url: /
8
+
settings: no_institution_setting.rb
9
+
privacy: By clicking on the Upload button, I certify that the attached work is entirely my own (or where submitted to meet the requirements of an approved group assignment is the work of the group), except where work quoted or paraphrased is acknowledged in the text. I also certify that it has not been previously submitted for assessment in this or any other unit or course unless permission for this has been granted by the teaching staff coordinating this unit. I agree that the University may make and retain copies of this work for the purposes of marking and review, and may submit this work to an external plagiarism and collusion detection service who may retain a copy for future plagiarism and collusion detection but will not release it or use it for any other purpose.
10
+
plagiarism: Plagiarism and collusion constitute extremely serious academic misconduct. They are forms of cheating, and severe penalties are associated with them, including cancellation of marks for a specific assignment, for a specific unit or even exclusion from the course. If you are ever in doubt about how to cite a reference properly, consult your lecturer or the Study Support website Plagiarism occurs when a student passes off as the student’s own work, or copies without acknowledgement as to its authorship, the work of any other person. Collusion occurs when a student obtains the agreement of another person for a fraudulent purpose, with the intent of obtaining an advantage in submitting an assignment or other work. Work submitted may be reproduced and/or communicated by the university for the purpose of detecting plagiarism and collusion. Students are reminded that assessment work, or parts of assessment work, cannot be re-submitted for a different assessment task in the same unit or any other unit, without the approval from the teaching staff involved. This includes work submitted for assessment at another academic institution. If students wish to reuse or extend parts of previously submitted work then they should discuss this with the teaching staff prior to the submission date. Depending on the nature of the task, the teaching staff may permit or decline the request.
0 commit comments