Commit Graph

34 Commits

Author SHA1 Message Date
Calen Pennington
2714da86a4 Always import task packages by absolute paths
This follows the recommendation in the Celery documentation so as to
not confuse automatic task name generation.

Docs: https://docs.celeryproject.org/en/stable/userguide/tasks.html#automatic-naming-and-relative-imports
2020-10-08 14:10:17 -04:00
Soban Javed
b7ca6d5619 Upgrade celery to 4.4.7
Replace django-celery with django-celery-results
Upgrade redis to latest
2020-09-22 16:20:45 +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
Ned Batchelder
1e4fac6440 Better tests of stringifying objects. BOM-730 and BOM-731 2019-09-18 13:29:32 -04:00
Ayub khan
8a95a8e520 BOM-95
assertItemsEqual with six.assertCountEqual
2019-08-21 17:01:40 +05:00
uzairr
80316c632d Update Help msgs of management commands
PROD-399
2019-08-02 15:20:26 +05:00
Amit
833d0af8cc INCR-149 (#20516)
* INCR-149: Run python-modernize on openedx/core/djangoapps [self_paced, coursegraph]

* INCR-149: Groups to absolute_import and unicode_literals
2019-05-10 11:11:42 -04:00
Cory Lee
ac4845d052 DEPR-14 Remove AWS.py 2019-03-28 10:48:34 -04:00
Ned Batchelder
2d438d8bb5 Fix 'W605 invalid escape sequence' errors from pycodestyle 2018-11-02 06:06:43 -04:00
Robert Raposa
ba4cc62ff8 Retire deprecated RequestCache (Take 2)
ARCH-223
2018-09-08 15:09:28 -04:00
Nimisha Asthagiri
4ca165f690 Revert "ARCH-223: Retire deprecated RequestCache." 2018-08-30 16:33:03 -04:00
Robert Raposa
3df339a56a Retire deprecated RequestCache.
ARCH-223
2018-08-30 08:55:19 -04:00
Jeremy Bowman
d90afa4cde TE-2689 Remove useless pylint suppressions part 5 2018-08-21 11:07:52 -04:00
Nimisha Asthagiri
57ecda7f71 Remove CourseStructure usage in CourseGraph 2018-04-13 14:44:19 -04:00
Qubad786
64555c60c0 Move request_cache to openedx.core.djangoapps 2018-01-26 15:09:25 +05:00
Jeremy Bowman
113e8dde61 PLAT-1885 Stop using deprecated BlockUsageLocator properties 2018-01-12 16:40:21 -05:00
Adam
9520fe0342 Merge pull request #16553 from edx/adam/fix-branch-versioning-issues-coursegraph
addresses issue where branch information was not being stripped from …
2017-11-14 15:36:25 -05:00
Adam Palay
25b4a6e207 addresses issue where branch information was not being stripped from child blocks when serializing courses (PLAT-1794) 2017-11-13 17:32:56 -05:00
bmedx
f3f8d8ec96 Changes necessary for Django 1.11 tests to start
- Certificates management commands updates
- Moving reverse calls in tests into setUp from class definition
- Import shuffling
- Consolidating cryptograhpy version to 1.9
2017-11-13 15:45:32 -05:00
Adam
3fd499b40c Merge pull request #16133 from edx/adam/fix-cg-bug
address coursegraph issue where components had the same block id but …
2017-10-13 13:59:10 -04:00
John Eskew
02f26f55ce Remove unused imports. Push model imports down into relevant methods.
Mock out the static_replace modules in the proper location.
2017-10-05 11:12:52 -04:00
Adam Palay
8dc58e548e address coursegraph issue where components had the same block id but different locations 2017-09-29 14:46:33 -04:00
Adam Palay
67d2ef6ebb have coursegraph cache nodes on block_ids rather than locations (EDUCATOR-1133) 2017-08-18 11:51:11 -04:00
Adam Palay
51abe89a80 respond to comments 2017-06-12 11:55:58 -04:00
Adam Palay
69d76b69d7 write courses to neo4j in background tasks (EDUCATOR-583)
move tasks into tasks.py

add more logging
2017-06-12 10:44:27 -04:00
Adam Palay
e798b2e8a6 add precedes relationship to coursegraph (EDUCATOR-484) 2017-06-08 12:53:27 -04:00
Adam Palay
4331132920 add indices to item nodes when dumping to neo4j 2017-05-30 16:33:15 -04:00
Adam Palay
ed713d7caa specify if an item is detached 2016-11-21 14:28:37 -05:00
Adam Palay
64722bfc8a Moves dump_to_neo4j cache backend to neo4j instead of memcached (SUST-76)
Also
* Instead of caching when a course is last published, we get this information
  from the CourseStructure table
* This commit introduces a mock py2neo Graph to be used for testing
2016-11-21 12:36:39 -05:00
christopher lee
d3c3a9a63d Merge branch 'release' into release-2016-11-08-conflict 2016-11-08 14:23:57 -05:00
Adam Palay
e4b39c5c42 only pass lists of text as iterable neo4j values 2016-11-07 10:48:42 -05:00
Adam Palay
5b1d0fd3d9 add ability to skip courses when dumping to neo4j 2016-11-04 13:12:55 -04:00
Adam Palay
076651d8b8 add location to attributes exported to neo4j 2016-10-11 13:00:19 -04:00
Adam Palay
da58ad2a2b only dump courses to neo4j if they've been updated since the last time they were dumped
improvements to the command line interface for caching
2016-10-11 08:20:23 -04:00