Commit Graph

7419 Commits

Author SHA1 Message Date
Matthew Piatetsky
e1c24084e9 Fix request to currency endpoint 2017-10-25 15:38:10 -04:00
John Eskew
fa6d94d144 Remove NoseTestSuiteRunner - now using pytest. 2017-10-25 11:49:12 -04:00
Calen Pennington
07bb3ea564 Make the exclude orgs a bit more natural by returning a filtered query 2017-10-25 09:10:17 -04:00
Calen Pennington
fa7b9a132a Move the org_list and exclude code into the resolvers 2017-10-25 09:10:16 -04:00
Matthew Piatetsky
f015682d5d Only convert price to local currency after document is ready 2017-10-24 22:41:22 -04:00
Gabe Mulley
9e16ed1cac only send upgrade reminders to learners who are eligible 2017-10-24 15:09:03 -04:00
Gabe Mulley
e6abdf7e63 Merge pull request #16328 from edx/mulby/fix-course-sock
Merge PR 16260 back into master with a fix for the course sock
2017-10-24 15:08:05 -04:00
Gabe Mulley
410fbfd11e Merge pull request #16324 from edx/mulby/fix-unresolved-var
fix malformed template variable
2017-10-24 13:55:24 -04:00
Gabe Mulley
7efa805fbc fix tests 2017-10-24 13:51:22 -04:00
Douglas Hall
6d4e34bbf2 Merge pull request #16329 from edx/revert-16226-LEARNER-717
Revert "LEARNER-717 Added logs for discovery"
2017-10-24 13:03:43 -04:00
Harry Rein
ed2e6dc889 Merge pull request #16306 from edx/HarryRein/responsive-dashboard
Harry rein/responsive dashboard
2017-10-24 12:33:12 -04:00
Douglas Hall
f0b41fea5a Revert "LEARNER-717 Added logs for discovery" 2017-10-24 11:38:43 -04:00
Calen Pennington
88d2ff24cd Merge pull request #16293 from edx/cale/refactor-upgrade-email-resolvers
Cale/refactor upgrade email resolvers
2017-10-24 11:33:19 -04:00
Gabe Mulley
f90f4276f9 fix course sock for courses without verified modes 2017-10-24 11:18:36 -04:00
Gabe Mulley
44e5afba1e Revert "Revert "Merge pull request #16260 from edx/mulby/dynamic-deadline-upgrade-messaging""
This reverts commit b541dfa3fd.
2017-10-24 11:18:06 -04:00
Harry Rein
889e9880f5 Responsive dashboard and learner profile. 2017-10-24 11:08:35 -04:00
Gabe Mulley
59e173de47 fix malformed template variable 2017-10-24 10:21:48 -04:00
Gabe Mulley
58bff7ed8c update docstrings, DRY up schedules_for_bin 2017-10-24 10:15:41 -04:00
Calen Pennington
1accff9b78 DRY up more of tasks.py code 2017-10-24 10:15:40 -04:00
Calen Pennington
887191b1b3 Pull template context generation out of inside loop 2017-10-24 10:15:40 -04:00
Calen Pennington
dc3c79124b Clean up errant leftover imports 2017-10-24 10:15:39 -04:00
Calen Pennington
9e00f9275e Move MessageType definitions into message_types.py 2017-10-24 10:15:39 -04:00
Calen Pennington
65a740e52f Make SendEmailBaseCommand.send_emails raise NotImplementedError 2017-10-24 10:15:39 -04:00
Calen Pennington
c19a3368f0 Move MessageType definitions into tasks.py 2017-10-24 10:15:38 -04:00
Calen Pennington
e81931da32 Move get_schedules_with_target_date_by_bin_and_orgs into Resolver baseclass 2017-10-24 10:15:38 -04:00
Calen Pennington
234780f5c9 Move Resolver.send into baseclass 2017-10-24 10:15:37 -04:00
Calen Pennington
33a50cf899 Rename schedule_bin to send to match standard Resolver terminology 2017-10-24 10:15:37 -04:00
Calen Pennington
b9643e9d1d Move MessageType instantiation out of Resolvers into Tasks 2017-10-24 10:15:37 -04:00
Calen Pennington
f0fd40421b Use SiteConfigurationFactory a bit more idiomatically 2017-10-24 10:15:36 -04:00
Calen Pennington
5dd172b3d0 Use consistent beginning_of_day function 2017-10-24 10:15:36 -04:00
Calen Pennington
eff9c9c9ab Move common attributes into Resolver.__init__ 2017-10-24 10:15:36 -04:00
Calen Pennington
27fd73ac37 Move datetime deserialization out of Resolver.schedule_bin 2017-10-24 10:15:35 -04:00
Calen Pennington
ec3ebafbc1 Pass an instantiated Site object into schedule_bin 2017-10-24 10:15:35 -04:00
Calen Pennington
2dc4621db0 Move log_prefix up to be a class attribute 2017-10-24 10:15:34 -04:00
Calen Pennington
199468eca9 DRY up the Schedule*.run task methods 2017-10-24 10:15:34 -04:00
Calen Pennington
0f1023232c Use official celery interfaces for class-based tasks 2017-10-24 10:15:33 -04:00
Calen Pennington
505e039653 Don't swallow exceptions by returning inside finally 2017-10-24 10:15:32 -04:00
Calen Pennington
41b27e0498 Removed redundant name information from schedule_bin methods 2017-10-24 10:15:32 -04:00
Calen Pennington
d222b2d718 Move bin-task enqueuing into a classmethod (rather than having it on the RecipientResolvers 2017-10-24 10:15:31 -04:00
Calen Pennington
352fa067ae Induce a base class for the scheduling tasks 2017-10-24 10:15:31 -04:00
Calen Pennington
0c5d788a9a Convert bin-scheduling tasks into classes 2017-10-24 10:15:30 -04:00
Calen Pennington
4d230d629d Move the core of the bin enumeration code into resolvers.py 2017-10-24 10:15:23 -04:00
Calen Pennington
2e4e479f4f Move get_schedules_with_target_date_by_bin_and_orgs closer to its eventual home 2017-10-24 10:12:52 -04:00
Calen Pennington
bb050381a0 Move async_send_task binding to commands to allow tasks.py to import resolvers.py 2017-10-24 10:12:47 -04:00
Calen Pennington
4700656980 Move bin-count constants into resolvers.py nearer to the queries that use them 2017-10-24 10:12:46 -04:00
Calen Pennington
31db37eaf9 Move binning queries into resolvers.py to be closer to the Resolvers where they will live 2017-10-24 10:12:36 -04:00
Matt Tuchfarber
63d2607059 Merge pull request #16307 from edx/tuchfarber/fix_program_instructor_dedup
Add trim to instructor deduplicator
2017-10-24 09:22:10 -04:00
Matthew Piatetsky
c20c8b21c8 Merge pull request #16313 from edx/LEARNER-2412
Do not set location cookie for USA and set cookie on top level domain
2017-10-24 08:34:43 -04:00
ayub-khan
790150a8aa Management Command to Clear DOT expired Tokens
LEARNER-717
2017-10-24 16:10:26 +05:00
Nimisha Asthagiri
cd1eaf3010 Dynamic Pacing: Waffle switch 2017-10-23 18:30:36 -04:00