Tyler Hallada
80cb98affd
Use try-except-else instead of continue
2018-03-14 12:51:01 -04:00
Tyler Hallada
93c2b85dbc
Add missing continue in loop exception
2018-03-14 12:19:45 -04:00
Tyler Hallada
ce683242b3
Register course start signal receiver in CMS too
...
The code was refactored to remove logic that conditionally launches the
update_course_schedules task. It now always launches the task.
2018-03-13 21:37:21 +05:00
Awais Jibran
74341b7dd5
Convert date to lower if language is spainish.
2018-03-12 15:57:25 +05:00
Qubad786
64555c60c0
Move request_cache to openedx.core.djangoapps
2018-01-26 15:09:25 +05:00
Nimisha Asthagiri
2d28d2ce9e
Update Schedules to use Plugin Signals
2018-01-18 11:48:24 -05:00
Nimisha Asthagiri
93c6a89bd6
Update schedules app to be a Django App Plugin
2018-01-11 14:35:08 -05:00
Nimisha Asthagiri
11794c8384
Rename schedules/docs/img to schedules/docs/images
2018-01-11 14:35:05 -05:00
Gabe Mulley
1a9434f967
fix analytics docs for the schedules app
2018-01-05 09:59:31 -05:00
Nimisha Asthagiri
2d6c9d459d
Merge pull request #17039 from edx/pacing/upsell-date-translation
...
Schedules: Fix date translation of upsell messaging
2018-01-03 14:16:33 -05:00
Alex Dusenbery
792d0db5da
Convert weekly highlights exception to warning.
2018-01-03 13:11:46 -05:00
Nimisha Asthagiri
a1047794e8
Schedules: Fix date translation of upsell messaging
2018-01-03 11:53:09 -05:00
Jeremy Bowman
d44e6297ae
PLAT-1847 Fix cms tests under Django 1.9
2017-12-13 15:29:02 -05:00
Tyler Hallada
95bb6e3db0
Use pytest-style asserts in test_signals.py
2017-12-07 13:43:49 -05:00
Tyler Hallada
6e791c58ea
Fix hold back error
...
Also add try/except that prevents enroll failure caused by Schedule creation
exception in the future.
Address PR comments
Split one-line docstrings on their own line
Add period to the end of docstring summaries
Use kwargs.get to be more defensive
Disable pylint unused-argument about sender param
2017-12-07 13:43:47 -05:00
Nimisha Asthagiri
8acf3434c0
Revert "Merge pull request #16728 from edx/pacing/remove-create-schedules-from-course-waffle-flag"
...
This reverts commit 8b652ad352 , reversing
changes made to b212af2488 .
2017-12-06 11:58:39 -05:00
Nimisha Asthagiri
7ef443f7ce
Update usages to ace_common
2017-12-05 11:38:16 -05:00
Nimisha Asthagiri
c6ee8eb68d
Move ACE Common code out of Schedules
2017-12-05 11:36:14 -05:00
Tyler Hallada
26d42de464
Merge pull request #16773 from edx/thallada/schedules-no-escape-txt
...
Schedules: turn off HTML escaping for email text fields
2017-12-05 11:07:09 -05:00
Nimisha Asthagiri
e8cb8bba31
Merge pull request #16756 from edx/pacing/log-on-failure
...
Schedules: Add celery task logging
2017-12-04 20:21:41 -05:00
Tyler Hallada
144859cdf2
Turn off HTML escaping for email text fields
2017-12-04 17:47:50 -05:00
Alessandro Roux
8b652ad352
Merge pull request #16728 from edx/pacing/remove-create-schedules-from-course-waffle-flag
...
Dynamic Pacing: Removed references to CREATE_SCHEDULE_WAFFLE_FLAG.
2017-12-04 16:11:27 -05:00
Nimisha Asthagiri
549f4b661e
Schedules: Add celery task logging
2017-12-04 14:16:27 -05:00
sandroroux
4dbb935ca7
Removed references to CREATE_SCHEDULE_WAFFLE_FLAG.
2017-12-04 14:10:29 -05:00
Tyler Hallada
f5d2741c34
Merge pull request #16744 from edx/thallada/highlights-logging
...
Schedules: more info logging and add exception logging
2017-12-04 11:32:43 -05:00
Nimisha Asthagiri
61f4ceca5b
Schedules: Emulate HTTP request needs to include host information
2017-12-03 23:57:12 -05:00
Tyler Hallada
3425502a23
Schedules: change logging from DEBUG to INFO/EXCEPTION
2017-12-03 22:34:33 -05:00
Tyler Hallada
c397840d74
Merge pull request #16598 from edx/thallada/ret-emulate-request-default-middleware
...
Default middleware_classes in emulate_http_request
2017-12-01 16:33:21 -05:00
Tyler Hallada
fd5c5acc28
Add emulate_http_request contextmanager for tasks
...
remove explicit middleware from resolver task
Address Gabe's comment
Add TODO to define middleware_classes in settings
2017-11-30 16:40:20 -05:00
Tyler Hallada
989c3a30d7
Merge pull request #16618 from edx/mulby/schedules-analytics
...
update readme with analytics information
2017-11-30 16:14:36 -05:00
Calen Pennington
2ad918c126
Merge pull request #16707 from cpennington/cale/improve-schedule-admin-filtering
...
Use a dropdown to filter schedules by course_id, rather than forcing …
2017-11-30 12:49:06 -05:00
Calen Pennington
1f23b08fb1
Use a dropdown to filter schedules by course_id, rather than forcing the use of search
2017-11-30 10:53:08 -05:00
Nimisha Asthagiri
7a6805b261
Merge pull request #16714 from edx/pacing/spanish-language-issue
...
Schedules: course language -> closest released language
2017-11-30 10:47:53 -05:00
Nimisha Asthagiri
38cfadeb20
Schedules: convert course language to supported released language
2017-11-29 20:08:33 -05:00
sandroroux
f2a1d8a78c
Renamed the section that contains the diagram. Deleted description
2017-11-29 12:39:58 -05:00
sandroroux
873f86e5f3
Paired the system diagram with a quick description.
2017-11-29 12:35:15 -05:00
sandroroux
859958f059
Fixed some rendering issues.
2017-11-29 11:51:10 -05:00
sandroroux
fb100796d3
Included system diagram in README.
2017-11-29 11:47:08 -05:00
Tyler Hallada
9f74e70589
Course Highlights Setting in Studio Course Outline
...
fixup! trying to "fix" underscore syntax error
add cancel modal test
Fix quality issues.
Apply Nimisha's suggestions for my quality fixes.
Skip test_drop_unit_in_collapsed_subsection
Fix quality error
2017-11-27 17:23:55 -05:00
sandroroux
13edb0b03e
Updated course_has_highlights and get_week_highlights. Methods ensure that a course has highlights_enabled_for_messaging
...
Responded to Nimisha's review feedback.
2017-11-27 17:23:29 -05:00
Calen Pennington
48abc492ae
Fix linting errors from https://github.com/edx/edx-platform/pull/16615
2017-11-22 14:47:49 -05:00
Ned Batchelder
a2e2aace82
Merge pull request #16650 from edx/nedbat/fix-unused-imports
...
Fix a number of unused-import pylint violations
2017-11-22 11:17:07 -05:00
Calen Pennington
7aa1a3460b
Merge pull request #16615 from edx/cale/schedules-admin-improvements
...
Cale/schedules admin improvements
2017-11-21 22:06:37 -05:00
Ned Batchelder
e23e3a0486
Fix a number of unused-import pylint violations
2017-11-21 19:57:06 -05:00
Calen Pennington
10970f3034
Allow searching for schedules with known errors in the admin site
2017-11-21 16:08:24 -05:00
Calen Pennington
3ff118eaac
Dynamically generate the actions to update to specific experiences
2017-11-21 16:08:23 -05:00
Calen Pennington
6756f97d0c
Limit schedule resolvers to active schedules
2017-11-21 14:25:57 -05:00
Calen Pennington
fabad1de4d
Add actions and filtering to schedules admin page to allow it to function better as a support tool
2017-11-21 14:25:57 -05:00
Calen Pennington
45bbc2daa3
Allow searching by course_id in the schedules django admin page
2017-11-21 14:25:55 -05:00
sandroroux
98233c0a84
New management command for setting up a test environment. The command creates a ScheduleConfig and schedules if they don't exist (the schedule starts three days before the time the command is run). If a schedule already exists, the command updates the schedule's start time and upgrade deadline. The values set by the command will allow send_recurring_nudge to send three-day nudges.
2017-11-21 14:25:55 -05:00