Commit Graph

5509 Commits

Author SHA1 Message Date
Troy Sankey
d11d7554c3 Move theming settings validation registration into ready method
This avoids premature registration of django checks which could break
django 1.11 startup.
2017-11-03 12:23:54 -04:00
Troy Sankey
c19eaef075 Move settings validation out of startup.py
This also creates a new app common_initialization in order to provide a
place to run initialization code common to both the LMS and CMS.
2017-11-03 12:23:54 -04:00
John Eskew
d7bab033f7 Move monitoring functionality to util and AppConfig. 2017-11-02 17:44:03 -04:00
John Eskew
65433c9cd4 Move datadog startup.py over to AppConfig::ready 2017-11-02 17:44:03 -04:00
John Eskew
a2cc679b25 Remove usage of default_app_label from ccxcon. 2017-11-02 16:52:09 -04:00
bmedx
9099f0dc23 CMS urls cleanup for Django 1.11
- Remove usage of django.urls.patterns
- Change urls tuples to lists
- Make all string view names callables
2017-11-02 14:29:48 -04:00
Brian Mesick
6a1d5e6a9d Merge pull request #16410 from edx/bmedx/django111_syncdb_cleanup
syncdb cleanup
2017-11-02 10:47:00 -04:00
bmedx
82cb62d26a syncdb cleanup 2017-11-02 09:51:44 -04:00
Gabe Mulley
7fd643faa4 Add tests for experience types, ensure courses have a verified mode 2017-11-01 16:51:10 -04:00
Tyler Hallada
57bf89c8e2 Create schedule experience on schedule creation 2017-11-01 16:51:00 -04:00
Gabe Mulley
95d1e5c25e use a left outer join for experience types 2017-11-01 16:50:28 -04:00
Tyler Hallada
e5c8acb609 Allow communication experiences to be customized per-learner 2017-11-01 16:50:10 -04:00
Jeremy Bowman
2de2e3027d PLAT-1773 Delegate edx-proctoring service registration to app ready methods 2017-11-01 10:30:58 -04:00
Jillian Vogel
ae15e69a0a Fixes bug with Course Blocks API student_view_data parameter
Prior to this change, providing any student_view_data querystring would result
in student_view_data returned for all XBlock types.

Updates Course Blocks API tests to verify.
2017-11-01 13:38:54 +10:30
John Eskew
0e08525fe9 Merge pull request #16289 from edx/jeskew/move_themeing_startup
Move comprehensive theming startup code to AppConfig.
2017-10-31 09:06:20 -04:00
John Eskew
b866f35620 Remove support for COMPREHENSIVE_THEME_DIR -
all dirs must now go into COMPREHENSIVE_THEME_DIRS.
Move comprehensive theming setup section out of startup.py and into
  settings files using new 'derived' functionality.
Add 'derive_settings' at the end of all top-level Django settings files.
Move validation of comprehensive theming settings into new apps.py
  theming file.
Split theming code into code safe to run before settings are initialized
  -and- after settings are initialized.
2017-10-30 14:36:06 -04:00
Nimisha Asthagiri
da95676e10 Schedules: rename test class variables that aren't test methods 2017-10-30 14:14:00 -04:00
Nimisha Asthagiri
08d31e1a43 Schedules: Tests for Course Update messages 2017-10-30 14:13:59 -04:00
Andy Armstrong
03e496bdbd Merge pull request #16370 from edx/andya/waffle-fix
Allow Waffle flags to work when outside a request context
2017-10-30 09:33:09 -04:00
Nimisha Asthagiri
c7ed394f16 Merge pull request #16374 from edx/naa/refactor-upsell-test
Schedule: Refactor upsell test cases
2017-10-30 09:20:49 -04:00
Nimisha Asthagiri
de037c9c3c Schedule: refactor upsell test cases 2017-10-29 23:49:43 -04:00
Andy Armstrong
ae1c760ea4 Use Bootstrap theme colors and fonts in old stylesheets
LEARNER-2977

Fixes
2017-10-29 22:22:08 -04:00
Andy Armstrong
c55dbb2c61 Allow Waffle flags to work when outside a request context 2017-10-27 16:24:33 -04:00
Jeremy Bowman
ba06372cac PLAT-1780 Remove dependency on django-extensions 2017-10-27 13:19:12 -04:00
Brian Beggs
3608b86273 Merge pull request #16309 from edx/bbeggs/PLAT-1411
Replace SubfieldBase functionality PLAT-1411
2017-10-27 10:41:32 -04:00
Nimisha Asthagiri
b461ce0c27 Rename test files and class name 2017-10-26 18:54:50 -04:00
Nimisha Asthagiri
ea8da6737e Update tests to support org queries 2017-10-26 18:41:57 -04:00
Nimisha Asthagiri
f1ceb86fa9 Remove unneeded imports/etc from schedules management command test classes 2017-10-26 18:41:57 -04:00
Nimisha Asthagiri
185f35b17a Optimize remaining tests in schedule management command TestUpgradeReminder class 2017-10-26 18:41:57 -04:00
Nimisha Asthagiri
74307e45e8 Remove query constants from schedules management command test subclasses 2017-10-26 18:41:57 -04:00
Nimisha Asthagiri
a72df1f9d5 Add _get_dates helper method to the schedules management command base test class 2017-10-26 18:41:57 -04:00
Nimisha Asthagiri
346a2bcf2a Move _calculate_bin_for_user into the schedules management command base test class 2017-10-26 18:41:56 -04:00
Nimisha Asthagiri
82978e516c Move test_template into the schedules management command base test classs 2017-10-26 18:41:56 -04:00
Nimisha Asthagiri
1ad8cd01f5 Move test_multiple_enrollments into the schedules management command base test class 2017-10-26 18:41:56 -04:00
Nimisha Asthagiri
b852025ab3 Move test_course_end into the schedules management command base test class 2017-10-26 18:41:56 -04:00
Nimisha Asthagiri
1bb23a1350 Move test_site_config into the schedules management command base test class 2017-10-26 18:41:56 -04:00
Nimisha Asthagiri
81da729af7 Move test_enqeue_config into the schedules management command base test class 2017-10-26 18:41:56 -04:00
Nimisha Asthagiri
9e99489a46 Move test_deliver_config into the schedules management command base test class 2017-10-26 18:41:56 -04:00
Nimisha Asthagiri
2adbac03f8 fixup! Move test_resolver_send into the schedule management command base class 2017-10-26 18:41:55 -04:00
Nimisha Asthagiri
eac5f21cc1 Move test_no_course_overview into the schedules management command base test class 2017-10-26 18:41:55 -04:00
Calen Pennington
e5f84b3dd9 Move test_schedule_bin into the schedules management command base test class 2017-10-26 18:41:55 -04:00
Calen Pennington
c4302df041 Move test_resolver_send into the schedule management command base test class 2017-10-26 18:41:55 -04:00
Calen Pennington
77a2638d68 Move test_handle into the base class for schedule management command tests 2017-10-26 18:41:55 -04:00
Calen Pennington
f2ea6f664e Move the tested_command up to a class attribute, and make sure that it matches with the tested_task 2017-10-26 18:41:55 -04:00
Calen Pennington
c4249c6bc5 Move day-offsets into class attributes of the schedule management commands 2017-10-26 18:41:54 -04:00
Calen Pennington
8afe1ffe17 Move schedule management command log_prefix to a class attribute 2017-10-26 17:43:56 -04:00
Calen Pennington
c68883f009 Move setUp into the baseclass for schedule email command tests 2017-10-26 17:43:56 -04:00
Calen Pennington
3696f5f5fe Remove redundent ScheduleFactory calls in setUp for schedule email tests 2017-10-26 17:43:56 -04:00
Calen Pennington
9b4c0540a1 Move task being tested into a class attribute 2017-10-26 17:43:56 -04:00
Calen Pennington
b774e0a82e Move ENABLED_CACHES into schedule test base class 2017-10-26 17:43:55 -04:00