Commit Graph

43164 Commits

Author SHA1 Message Date
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
Nimisha Asthagiri
00d8b2a492 Merge pull request #16316 from edx/pacing/studio-setting
Dynamic Pacing: Waffle switch
2017-10-23 21:46:23 -04:00
Nimisha Asthagiri
cd1eaf3010 Dynamic Pacing: Waffle switch 2017-10-23 18:30:36 -04:00
Clinton Blackburn
b574641f17 Minor update to if-else to avoid unnecessary query
If an anonymous learner visits the course tab view, we now perform one
less query to check enrollment status. This query has been moved inside
an else statement, and is only called if the learer is logged in.
2017-10-23 17:47:35 -04:00
Nimisha Asthagiri
2211ae335b Merge pull request #16304 from edx/pacing/studio-updates
Dynamic pacing: Studio support of Section Highlights
2017-10-23 17:08:20 -04:00
Nimisha Asthagiri
ee1a003c45 Tests for Studio support for Section Highlights 2017-10-23 15:16:57 -04:00
Nimisha Asthagiri
53e1dfaa99 Studio support of Section Highlights 2017-10-23 14:31:57 -04:00
Ned Batchelder
5949024479 Merge pull request #16193 from open-craft/josh/fix-vimeo-m3u8-urls
Fix regex in video xmodule to check for HTML5 video urls which contain parameters
2017-10-23 14:23:06 -04:00
Tyler Hallada
5cc73bc7fd Merge pull request #16276 from edx/thallada/ret-dedupe-upgrade-reminder
Send only one upgrade reminder email per user per day
2017-10-23 14:11:45 -04:00
Ned Batchelder
5940342f71 Merge pull request #16180 from caesar2164/shopping-cart-style-fixes
Fix Shopping-cart CSS and JS
2017-10-23 13:51:43 -04:00
Eric Fischer
9f3f3a501b Merge pull request #16111 from edx/dahlia/watch_studio-frontend
Webpack studio frontend
2017-10-23 13:17:55 -04:00
Sanford Student
fd8a9fdb02 EDUCATOR-1511: credit users added to verified user partition irrespective of upgrade deadline 2017-10-23 13:14:47 -04:00
Zubair Afzal
6e846fd938 Merge pull request #16291 from edx/zub/ENT-675-enterprise-version-bump-to-0.52.9
bump enterprise version from 0.52.4 to 0.52.10
2017-10-23 22:00:44 +05:00
Tyler Hallada
4ab477eaa7 Address Greg's comment 2017-10-23 11:59:27 -04:00
Eric Fischer
45a5e7853f Correctly install and load webpacked studio-frontend 2017-10-23 11:50:36 -04:00
zubair-arbi
dc20549c6d bump enterprise version from 0.52.4 to 0.52.10
ENT-675
2017-10-23 19:49:58 +05:00
Jillian Vogel
1b63bd9cd7 Merge pull request #16155 from open-craft/jill/enable_enterprise_integration
Lets ENABLE_ENTERPRISE_INTEGRATION be configurable
2017-10-23 20:09:43 +10:30
Harry Rein
160dba9505 Merge pull request #16210 from edx/HarryRein/responsive-header
Adding a responsive, unified header to the LMS.
2017-10-20 17:12:00 -04:00
Harry Rein
3d79e3e05d Adding unified, responsive header. 2017-10-20 16:24:31 -04:00
edx-pipeline-bot
d8620c952a Merge pull request #16296 from edx/release-mergeback-to-master
Merge release back to master
2017-10-20 14:52:24 -04:00
sanfordstudent
22f9530dec Merge pull request #16295 from edx/sstudent/EDUCATOR-1573
EDUCATOR-1573, add waffle switch
2017-10-20 13:58:01 -04:00
John Eskew
5946e91bcf Merge pull request #16292 from edx/jeskew/upgrade_django_simple_history_in_enterprise
Upgrade django-simple-history and edx-enterprise together.
2017-10-20 12:46:22 -04:00
John Eskew
ce37e6d77e Merge pull request #16286 from edx/jeskew/move_third_party_auth_startup_code
Move third_party_auth settings code to ready method.
2017-10-20 11:45:37 -04:00
John Eskew
5c03f6554d Upgrade django-simple-history and edx-enterprise together. 2017-10-20 11:42:08 -04:00
Jeremy Bowman
fcc619e419 Merge pull request #16288 from edx/jmbowman/PLAT-1542
PLAT-1542 No callable queryset method arguments
2017-10-20 11:41:05 -04:00
Sanford Student
1d6ca854f5 EDUCATOR-1573, add waffle switch 2017-10-20 11:39:03 -04:00
Eric Fischer
b541dfa3fd Revert "Merge pull request #16260 from edx/mulby/dynamic-deadline-upgrade-messaging"
This reverts commit a13595352f, reversing
changes made to 68d5fe8922.
2017-10-20 10:45:40 -04:00
Stu Young
c27c39301d Merge pull request #16257 from edx/estute/update-bokchoy-dbs
update bokchoy dbs after migrations
2017-10-20 09:41:00 -04:00