Skip to content

Course Configuration

Silas Santini edited this page Oct 1, 2025 · 7 revisions

This page describes the configuration ("Environment Variables") for the flextensions tool.

The Default Values below are what is set if the "value" is left blank in the spreadsheet.

Config Name Required? Description Default Value Default Behavior
COURSE_NAME The course name shows up in the email send as name. PLEASE SET A COURSE NAME
EMAIL_REPLY_TO The email's reply-to address. Student's reply email to auto-extension email will be sent here. PLEASE SET REPLY-TO EMAIL
EMAIL_FROM ⬜️ The email address to send extension email from, formatted as Some Name <some_email@berkeley.edu> (must be an @berkeley.edu email). [COURSE_NAME] <[COURSE_NAME]@berkeley.edu>
EMAIL_CC ⬜️ Zero or more comma-separated emails to be CC'd.
EMAIL_SIGNATURE ⬜️ The email's signature "[COURSE_NAME] Staff"
EMAIL_SUBJECT ⬜️ The email's subject line [CS 000] Extension Request Update
SLACK_ENDPOINT ⬜️ Slack webhook for the extensions-bot channel
AUTO_APPROVE_THRESHOLD ⬜️ The maximum number of days to auto-approve extension requests. Set to zero to force all extensions to be manually approved. 1 Extension Request for 1 day will be automatically approved.
AUTO_APPROVE_THRESHOLD_DSP ⬜️ The maximum number of days to auto-approve extension requests for students with DSP accommodations for assignment extensions. 1 DSP Extension Request for 1 day will be automatically approved.
AUTO_APPROVE_ASSIGNMENT_THRESHOLD ⬜️ The maximum number of (form-wise per submission) extensions to auto-approve. 1 Each request auto-approves and extends maximum one assignment.
MAX_TOTAL_REQUESTED_EXTENSIONS_THRESHOLD ⬜️ The maximum number of (global per student) extensions to auto-approve before forcing all future extensions to be manually approved. 3 Students can get automatic extension for maximum 3 assignments.
SLACK_TAG_LIST ⬜️ Zero or more comma-separated list of Slack User ID's you want to tag in "Action Required" messages.
SPREADSHEET_URL ⬜️ The URL of the extension spreadsheet (only for accessibility purposes)
EXTEND_GRADESCOPE_ASSIGNMENTS ⬜️ Whether to enable the Gradescope assignment extension feature No Assignment is not automatically extended on Gradescope.
GRADESCOPE_EMAIL ⬜️ Email of a Gradescope staff account with permission to manage assignments Assignment is not automatically extended on Gradescope.
GRADESCOPE_PASSWORD ⬜️ Password of a Gradescope staff account with permission to manage assignments Assignment is not automatically extended on Gradescope.
EXTEND_PENSIEVE_ASSIGNMENTS ⬜️ Whether to enable the Pensieve assignment extension feature No Assignment is not automatically extended on Pensieve.
PENSIEVE_EMAIL ⬜️ Email of a Pensieve staff account with permission to manage assignments Assignment is not automatically extended on Pensieve.
PENSIEVE_API_TOKEN ⬜️ API token associated with the above Pensieve account Assignment is not automatically extended on Pensieve.

Clone this wiki locally