Commit Graph

226 Commits

Author SHA1 Message Date
Michael Youngstrom
ed594a9983 Patch random.random from the factory's namespace 2018-10-02 13:08:33 -04:00
Nimisha Asthagiri
700a902b68 Cleanup and remove deprecated RequestCache Django app
ARCH-223
2018-09-12 14:39:11 -04:00
Jeremy Bowman
380a24f7ef TE-2689 Remove useless pylint suppressions part 6 2018-08-21 13:54:34 -04:00
Robert Raposa
99c9eb7343 Migrate to edx-django-utils monitoring.
ARCH-220
2018-08-17 15:39:04 -04:00
Jeremy Bowman
713d64e1e2 TE-2702 Update Read the Docs links to HTTPS 2018-08-15 17:34:01 -04:00
ayub-khan
168ba70d96 fix-i18n-issues 2018-07-10 11:00:12 +05:00
Mick Timony
48ce7669aa Update documentation links that return 404 errors. 2018-06-22 09:28:21 -04:00
Tyler Hallada
1f42d1b384 Merge pull request #18316 from edx/thallada/PLAT-1524-on-delete
PLAT-1524: Add on_delete kwarg to ForeignKey & OneToOneFields
2018-06-06 10:38:15 -04:00
Tyler Hallada
1540f9ec72 Add on_delete kwarg to ForeignKey & OneToOneFields
Django 2.0 will make this field required for `ForeignKey` and `OneToOneFields`.
In previous versions the option defaulted to `models.CASCADE` when not
specified. This change should make the deprecation warnings in the current
Django version go away.

The migrations where also modified, but the changes should not cause a change in
the database schema since `models.CASCADE` was already the old default.
2018-06-05 17:05:12 -04:00
Eric Fischer
247bb50ed2 s/django.core.urlresolvers/django.urls/g
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Zia Fazal
f2ea2ca360 Added a base MessageType for ace
added unit tests

updated edx-ace version

fixed quality violations

Fixed quality violations

Changed ACEMessageType to BaseMessageType
2018-05-25 10:52:33 +05:00
Omar Al-Ithawi
73af914cfc Use edx-ace for password reset email 2018-05-21 09:49:14 -04:00
Gabe Mulley
669f61b2ea mark email sent events as non-interactions 2018-05-11 13:24:55 -04:00
Gabe Mulley
5fa6c51368 Revert "Use edx-ace for the password reset email" 2018-05-10 13:06:52 -04:00
Omar Al-Ithawi
556c8b86d0 Use edx-ace for password reset email 2018-05-08 18:53:31 +03:00
Stuart Young
1fd2167144 rebalance python unittests onto new shards 2018-05-03 11:16:05 -04:00
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