Usama Sadiq
0223feb17b
refactor: ran pyupgrade on openedx/core/djangoapps ( #26955 )
...
ran pyupgrade on openedx/core/djangoapps/{schedules, self_paced, service_status}
2021-04-01 15:00:49 +05:00
Michael Terry
570a869bd3
feat: update to edx-ace 1.0.0
...
The new version switches how you specify recipients, to use
lms_user_id instead of usernames.
AA-489
2021-03-12 10:25:54 -05:00
Kyle McCormick
9aefd6f986
style: django-not-configured is not a sensible lint-amnesty value ( #26862 )
...
django-not-configured is an error raised by pylint (with
the pylint-django plugin) when it's not correctly configured.
We should not be applying lint amnesty for such a violation.
2021-03-05 08:11:58 -05:00
Usama Sadiq
7eb2c40106
Merge branch 'master' into usamasadiq/bom-2327-pylint-amnesty
2021-02-08 18:24:53 +05:00
usamasadiq
e6d43ac69c
Applied pylint amnesty
2021-02-08 12:45:57 +05:00
Soban Javed
5199bf7acb
Replace task decorator with shared_task in openedx
2021-02-04 18:35:38 +05:00
Muhammad Soban Javed
bd601cf3a6
Update celery routing for celery 4+ ( #25567 )
...
* Update celery routing
- Used routing function instead of class
- Move task queues dictionary to Django settings
- Removed routing_key parameter
- Refactored routing for singleton celery instantiation
Co-authored-by: Awais Qureshi <awais.qureshi@arbisoft.com >
2020-12-16 13:40:47 +05:00
Robert Raposa
681ddabaa6
add code_owner for schedules tasks
...
Code owner details for monitoring some schedule
task transactions were missing.
ARCHBOM-1260
2020-11-25 10:19:21 -05:00
Robert Raposa
8eef18710d
set code_owner for celery tasks
...
ARCHBOM-1260
Co-authored-by: Tim McCormack <tmccormack@edx.org >
2020-11-17 15:33:33 -05:00
Awais Qureshi
7201edb11d
Revert "Update routing config" ( #25536 )" ( #25549 )" ( #25553 )" ( #25561 )
...
This reverts commit db4c3b1210 .
2020-11-11 00:13:47 +05:00
Awais Qureshi
db4c3b1210
Revert "Revert ""Update routing config" ( #25536 )" ( #25549 )" ( #25553 )
...
This reverts commit c1fe3c3a93 .
2020-11-10 23:23:09 +05:00
Kyle McCormick
151bd13666
Use full names for common.djangoapps imports; warn when using old style ( #25477 )
...
* Generate common/djangoapps import shims for LMS
* Generate common/djangoapps import shims for Studio
* Stop appending project root to sys.path
* Stop appending common/djangoapps to sys.path
* Import from common.djangoapps.course_action_state instead of course_action_state
* Import from common.djangoapps.course_modes instead of course_modes
* Import from common.djangoapps.database_fixups instead of database_fixups
* Import from common.djangoapps.edxmako instead of edxmako
* Import from common.djangoapps.entitlements instead of entitlements
* Import from common.djangoapps.pipline_mako instead of pipeline_mako
* Import from common.djangoapps.static_replace instead of static_replace
* Import from common.djangoapps.student instead of student
* Import from common.djangoapps.terrain instead of terrain
* Import from common.djangoapps.third_party_auth instead of third_party_auth
* Import from common.djangoapps.track instead of track
* Import from common.djangoapps.util instead of util
* Import from common.djangoapps.xblock_django instead of xblock_django
* Add empty common/djangoapps/__init__.py to fix pytest collection
* Fix pylint formatting violations
* Exclude import_shims/ directory tree from linting
2020-11-10 07:02:01 -05:00
Muhammad Soban Javed
c1fe3c3a93
Revert ""Update routing config" ( #25536 )" ( #25549 )
...
This reverts commit 39a22734c1 .
2020-11-09 23:43:47 +05:00
Awais Qureshi
39a22734c1
"Update routing config" ( #25536 )
...
* Revert "Revert "Update routing config"
* Removed settings from lms/celery.py and cms/celery.py
* Moved settings import from top-level to function's scopes
Co-authored-by: Soban Javed <iamsobanjaved@gmail.com >
2020-11-09 19:06:55 +05:00
Muhammad Soban Javed
5a2ea1f954
Revert "Update routing config"
2020-11-06 02:05:48 +05:00
Soban Javed
3206d9cb9a
Update celery routing
...
- Used routing function istead of class
- Move task queues to Djano settings
- Removed routing_key parameter
2020-11-02 15:03:53 +05:00
Calen Pennington
f30d492164
Work around celery changes to class-based-task registration
2020-10-16 13:02:41 -04:00
Calen Pennington
f98eed972c
Register class-based tasks used by the schedules app
2020-10-14 15:30:07 -04:00
Tim McCormack
f29e418264
Revert "Revert "ARCHBOM-1494: Refer to custom attributes, not metrics, especially with edx-django-utils ( #25010 )" ( #25025 )" ( #25055 )
...
This reverts commit 986a448d9e .
2020-09-28 13:53:57 +00:00
Ahtisham Shahid
986a448d9e
Revert "ARCHBOM-1494: Refer to custom attributes, not metrics, especially with edx-django-utils ( #25010 )" ( #25025 )
...
This reverts commit ba9ee4e151 .
Fixed Style lint issue
2020-09-21 13:48:00 +05:00
Tim McCormack
ba9ee4e151
ARCHBOM-1494: Refer to custom attributes, not metrics, especially with edx-django-utils ( #25010 )
...
This uses the new names introduced in edx-django-utils
3.8.0 (edx/edx-django-utils#59 ), which we're already using, as
well as updating a few other locations where we incorrectly refer
to New Relic custom metrics instead of custom attributes.
Includes a couple of unrelated lint fixes in a file I modified.
2020-09-18 13:33:50 +00:00
Jeff LaJoie
c180070a9a
Fixes serialization of course key for celery in course updates command
2020-05-12 09:02:49 -04:00
Jeff LaJoie
c87269956a
Changes type of objects that get serialized, removes a problematic log statement
2020-05-08 08:39:03 -04:00
Jeff LaJoie
542905bee4
AA-67: Adds in new resolver logic for Weekly Highlights to learners
2020-05-05 10:32:18 -04:00
hunytalk
73aae081c3
Remove null, blank from start field in Schedules
2020-01-22 18:10:33 +05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
hunytalk
227ae8a51a
Add reference to new field in schedule model
2019-12-04 19:05:55 +05:00
Jolyon Bloomfield
f2a0bd666e
Fixing quality
2019-04-05 12:00:04 -04:00
Jolyon Bloomfield
b66e367520
INCR-199 migrate openedx/core/djangoapps/schedules
2019-04-05 00:43:41 -04:00
Matthew Piatetsky
f294b1a374
fix unicode strings in openedx/ part 1
2019-02-13 10:47:35 -05:00
rabiaiftikhar
fdcad0d13c
EDUCATOR-3965 fix update schedules on course start date changed
2019-02-12 13:47:22 +05:00
noraiz-anwar
a0acbd616b
logs to debug EDUCATOR-3965
2019-01-25 23:31:24 +05:00
Brian Wilson
f21bf05e37
Add page context to edx.bi.email.sent events.
2018-12-04 02:47:37 -05: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
Gabe Mulley
669f61b2ea
mark email sent events as non-interactions
2018-05-11 13:24:55 -04:00
Nimisha Asthagiri
549f4b661e
Schedules: Add celery task logging
2017-12-04 14:16:27 -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
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
Gabe Mulley
7dbe2cd89d
ensure landing page for scheduled emails is not a redirect
2017-11-20 07:12:31 -05:00
Gabe Mulley
6de115545a
coerce UUIDs to strings when logging email sent events
2017-11-15 22:34:54 -05:00
Gabe Mulley
53544a708e
always include num_courses in the event
2017-11-15 10:21:19 -05:00
Gabe Mulley
6f20cd5cf2
support a GA tracking pixel
2017-11-15 08:35:35 -05:00
Gabe Mulley
54ae1c6238
support theming of ACE emails
2017-11-09 11:16:26 -05:00
Nimisha Asthagiri
08d31e1a43
Schedules: Tests for Course Update messages
2017-10-30 14:13:59 -04:00
Calen Pennington
fa7b9a132a
Move the org_list and exclude code into the resolvers
2017-10-25 09:10:16 -04:00
Calen Pennington
1accff9b78
DRY up more of tasks.py code
2017-10-24 10:15:40 -04:00
Calen Pennington
dc3c79124b
Clean up errant leftover imports
2017-10-24 10:15:39 -04:00