-
Notifications
You must be signed in to change notification settings - Fork 9
feat: enable marketing site feature in CMS and LMS configurations #176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enables the marketing site feature in both CMS and LMS configurations by setting ENABLE_MKTG_SITE to true and adding comprehensive marketing URL mappings.
- Changes the default value of
ENABLE_MKTG_SITEfrom false to true in all configuration files - Adds marketing URL mappings for common pages (about, contact, FAQ, courses, etc.)
- Updates both Python and YAML configuration files to maintain consistency
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| py_configuration_files/lms.py | Changes default ENABLE_MARKETING_SITE environment variable from False to True |
| configuration_files/lms.yml | Enables MKTG_SITE feature and adds marketing URL mappings with localhost:18000 root |
| configuration_files/cms.yml | Enables MKTG_SITE feature and adds marketing URL mappings with localhost:18010 root |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
configuration_files/cms.yml
Outdated
| ENABLE_GRADE_DOWNLOADS: true | ||
| ENABLE_LTI_PROVIDER: false | ||
| ENABLE_MKTG_SITE: false | ||
| ENABLE_MKTG_SITE: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought the FEATURES dict was going away and all of these were duplicated to top-level?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i have fixed them and make them to their correct place
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| - host: edx.devstack.elasticsearch | ||
| port: 9200 | ||
| use_ssl: false | ||
| ENABLE_MKTG_SITE: true |
Copilot
AI
Sep 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove trailing whitespace after 'true'.
| ENABLE_MKTG_SITE: true | |
| ENABLE_MKTG_SITE: true |
| - host: edx.devstack.elasticsearch | ||
| port: 9200 | ||
| use_ssl: false | ||
| ENABLE_MKTG_SITE: true |
Copilot
AI
Sep 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove trailing whitespace after 'true'.
| ENABLE_MKTG_SITE: true | |
| ENABLE_MKTG_SITE: true |
| MKTG_URLS: {} | ||
| MKTG_URL_LINK_MAP: {} | ||
| MKTG_URLS: | ||
| ROOT: http://localhost:18000 |
Copilot
AI
Sep 26, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ROOT URL uses port 18000, but this appears to be a hardcoded localhost development URL. Consider using an environment variable or configuration parameter to make this configurable across different environments.
| ROOT: http://localhost:18000 | |
| ROOT: ${MKTG_ROOT_URL:http://localhost:18000} |
Description
Adding MKTG_URLS Links In Configuration Files
Enabling ENABLE_MKTG_SITE: true
Related Ticket
BOMS 215