|
21 | 21 |
|
22 | 22 | # We intentionally define lots of variables that aren't used, and
|
23 | 23 | # want to import all variables from base settings files
|
24 |
| -# pylint: disable=W0401, W0611, W0614 |
| 24 | +# pylint: disable=W0401, W0611, W0614, C0103 |
25 | 25 |
|
26 | 26 | import sys
|
27 | 27 | import os
|
|
174 | 174 | 'ENABLE_CHAT': False,
|
175 | 175 |
|
176 | 176 | # Allow users to enroll with methods other than just honor code certificates
|
177 |
| - 'MULTIPLE_ENROLLMENT_ROLES' : False, |
| 177 | + 'MULTIPLE_ENROLLMENT_ROLES': False, |
178 | 178 |
|
179 | 179 | # Toggle the availability of the shopping cart page
|
180 | 180 | 'ENABLE_SHOPPING_CART': False,
|
|
222 | 222 |
|
223 | 223 | system_node_path = os.environ.get("NODE_PATH", REPO_ROOT / 'node_modules')
|
224 | 224 |
|
225 |
| -node_paths = [COMMON_ROOT / "static/js/vendor", |
226 |
| - COMMON_ROOT / "static/coffee/src", |
227 |
| - system_node_path |
228 |
| - ] |
| 225 | +node_paths = [ |
| 226 | + COMMON_ROOT / "static/js/vendor", |
| 227 | + COMMON_ROOT / "static/coffee/src", |
| 228 | + system_node_path, |
| 229 | +] |
229 | 230 | NODE_PATH = ':'.join(node_paths)
|
230 | 231 |
|
231 | 232 |
|
|
648 | 649 | 'js/vendor/annotator.tags.min.js'
|
649 | 650 | ]
|
650 | 651 |
|
651 |
| -discussion_js = sorted(rooted_glob(PROJECT_ROOT / 'static', 'coffee/src/discussion/**/*.js')) |
| 652 | +discussion_js = sorted(rooted_glob(COMMON_ROOT / 'static', 'coffee/src/discussion/**/*.js')) |
652 | 653 | staff_grading_js = sorted(rooted_glob(PROJECT_ROOT / 'static', 'coffee/src/staff_grading/**/*.js'))
|
653 | 654 | open_ended_js = sorted(rooted_glob(PROJECT_ROOT / 'static', 'coffee/src/open_ended/**/*.js'))
|
654 |
| -notes_js = sorted(rooted_glob(PROJECT_ROOT / 'static', 'coffee/src/notes/**/*.coffee')) |
| 655 | +notes_js = ['coffee/src/notes.js'] |
| 656 | +instructor_dash_js = sorted(rooted_glob(PROJECT_ROOT / 'static', 'coffee/src/instructor_dashboard/**/*.js')) |
655 | 657 |
|
656 | 658 | PIPELINE_CSS = {
|
657 | 659 | 'style-vendor': {
|
|
710 | 712 | 'source_filenames': sorted(
|
711 | 713 | set(rooted_glob(COMMON_ROOT / 'static', 'coffee/src/**/*.js') +
|
712 | 714 | rooted_glob(PROJECT_ROOT / 'static', 'coffee/src/**/*.js')) -
|
713 |
| - set(courseware_js + discussion_js + staff_grading_js + open_ended_js + notes_js) |
| 715 | + set(courseware_js + discussion_js + staff_grading_js + open_ended_js + notes_js + instructor_dash_js) |
714 | 716 | ) + [
|
715 | 717 | 'js/form.ext.js',
|
716 | 718 | 'js/my_courses_dropdown.js',
|
|
764 | 766 | 'output_filename': 'js/notes.js',
|
765 | 767 | 'test_order': 7
|
766 | 768 | },
|
| 769 | + 'instructor_dash': { |
| 770 | + 'source_filenames': instructor_dash_js, |
| 771 | + 'output_filename': 'js/instructor_dash.js', |
| 772 | + 'test_order': 9, |
| 773 | + }, |
767 | 774 | }
|
768 | 775 |
|
769 | 776 | PIPELINE_DISABLE_WRAPPER = True
|
|
990 | 997 | 'PRIVACY': 'privacy_edx',
|
991 | 998 |
|
992 | 999 | # Verified Certificates
|
993 |
| - 'WHAT_IS_VERIFIED_CERT' : 'verified-certificate', |
| 1000 | + 'WHAT_IS_VERIFIED_CERT': 'verified-certificate', |
994 | 1001 | }
|
995 | 1002 |
|
996 | 1003 |
|
@@ -1023,7 +1030,7 @@ def enable_theme(theme_name):
|
1023 | 1030 |
|
1024 | 1031 | ################# Student Verification #################
|
1025 | 1032 | VERIFY_STUDENT = {
|
1026 |
| - "DAYS_GOOD_FOR" : 365, # How many days is a verficiation good for? |
| 1033 | + "DAYS_GOOD_FOR": 365, # How many days is a verficiation good for? |
1027 | 1034 | }
|
1028 | 1035 |
|
1029 | 1036 | ######################## CAS authentication ###########################
|
|
0 commit comments