Commit Graph

228 Commits

Author SHA1 Message Date
Diana Huang
0b9f7298c6 Replace DOP library factories with the DOT equivalent.
https://openedx.atlassian.net/browse/BOM-1312
2020-02-24 16:33:56 -05:00
Troy Sankey
18deacde54 Revert "Revert "This stage does the following: (#22692)""
This reverts commit 84de6bc6de
which reverts commit cebeab4348
which implements the first stage of the `values` column rename in
SiteConfiguration.  However, I included a small change:

This time, we set a default value on the new `site_values` column so
that the ORM will happily deserialize the JSONField without throwing a
JSONDecodeError.
2020-02-19 12:01:57 -05:00
Julia Eskew
84de6bc6de Revert "This stage does the following: (#22692)"
This reverts commit cebeab4348.
2020-01-14 13:01:21 -05:00
Julia Eskew
cebeab4348 This stage does the following: (#22692)
- Adds the new field and migration to create the column.
- Makes all writes go to both old and new field.
2020-01-14 10:40:39 -05:00
Feanil Patel
6e3fe00fff Fix all E303 pep8 errors. 2019-12-30 12:25:38 -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
usama sadiq
dc666127f1 Code fix & removed Pylint Warning 2019-12-17 15:01:30 +05:00
usama sadiq
044a4899c5 Added custom arguments to the back-populate job
BackPopulate Program Credentials job performs data for all the programs
and for all the available learners which takes a lot of time.
Adding in custom arguments will help run this job for specific learners
and specific programs.
2019-12-13 19:34:53 +05:00
adeelehsan
c7172c1d69 Uri added for explore new program
PROD-1004
2019-11-26 17:28:45 +05:00
Jeremy Bowman
553d35e53e Upgrade mock BOM-596 (#21717) 2019-09-24 10:14:17 -04:00
Feanil Patel
cbf35593ac BOM-618 Decode to utf-8 before loading as json in tests. 2019-09-19 11:15:11 -04:00
Ayub khan
8a95a8e520 BOM-95
assertItemsEqual with six.assertCountEqual
2019-08-21 17:01:40 +05:00
Christie Rice
3d062aab62 REVMI-354 Add enroll_in_course permission (#21243)
* REVMI-354 Add enroll_in_course permission

* Fix test
2019-08-01 08:37:41 -04:00
arbisoft
86a5066991 Fixing python-modernize issues. 2019-07-10 14:35:29 +05:00
Amit
087250cff7 INCR-250: Make compatible with Python 3.x without breaking Python 2.7… (#20534)
* INCR-250: Make compatible with Python 3.x without breaking Python 2.7 support --> openedx/core/djangoapps/programs

* INCR-250: Disable pylint warning and replace _f placeholder with actual name

* INCR-250: pylint format correction and fix over length line limit
2019-06-11 10:17:52 -04:00
Amit
fd7527e136 INCR-239 (#20510)
* INCR-239: Run python-modernize and isort on openedx/core/djangoapps/programs [tests, tasks]

* INCR-239: Grouped six package and represent unused variables with _
2019-05-10 12:35:41 -04:00
Mayank Jain
ff6b58dfd8 INCR-213 run modernizer on djangoapps migrations & management (#20426)
* INCR-213 run modernizer on djangoapps migrations & management

* fix python 2 to 3 pylint redefined built in `reduce` warning

* regroup imports

* group the `__future__` imports in programs migration files
2019-05-07 16:05:40 -04:00
Nimisha Asthagiri
eb0791ec89 Inter-app API cleanup for Grades 2019-05-04 11:35:06 -04:00
Zainab Amir
97e26785e3 Change attribute in ProgramDataExtender log warning
The variable course_run is not an attribute of object
ProgramDataExtender and should not be accessed using self.

LEARNER-6734
2019-04-10 12:11:31 +05:00
Jason Myatt
09d51b00b5 Filter out certificates for nonexistent courses
LEARNER-7086. Uses a new model manager for GeneratedCertificate that excludes
certificates whose course_id does not correspond to a valid CourseOverview
2019-03-08 11:28:41 -05:00
emma-green
507cfb8942 Merge pull request #19849 from edx/emma-green/REVEM-176/C/Hacky-cache-course_runs-to-programs
add course to program caching
2019-02-25 10:41:51 -05:00
Dave St.Germain
954c8e1a67 Merge pull request #19771 from edx/dahlia/masters-track
Added master's track
2019-02-25 10:11:24 -05:00
Emma Green
57b7150b09 add course to program caching 2019-02-22 13:18:23 -05:00
Calen Pennington
78c8950ea3 Clean up a few remaining unicode format string errors 2019-02-20 15:28:14 -05:00
Matt Hughes
17f0a4fb52 Allow educators to partition masters students as content groups
JIRA:EDUCATOR-4022
2019-02-20 12:40:53 -05:00
emma-green
cbf3f78325 Revert "WIP:Cache course runs to programs" 2019-02-20 12:03:07 -05:00
Emma Green
f2139bbe2f add courses to programs to cache 2019-02-19 15:17:23 -05:00
Julia Eskew
368f221f0a Initial start on annotations. 2019-02-19 11:24:21 -05:00
Matthew Piatetsky
f294b1a374 fix unicode strings in openedx/ part 1 2019-02-13 10:47:35 -05:00
Michael Youngstrom
4bbd1dee0b Remove shards from commonlib-unit tests 2019-02-12 14:28:35 -05:00
nadeemshahzad
bc09bdf35a Move award program certificates tasks to background_process queue (OPS-3687) 2019-01-25 12:47:46 +00:00
Stu Young
4e1a3b05df Revert "Move award program certificates tasks to background_process queue (OPS-3687)" 2019-01-24 11:37:42 -05:00
nadeemshahzad
97dd3763d3 move program certificates tasks to background_process queue 2019-01-23 14:13:33 +00:00
Ned Batchelder
3353e7425e Remove unused imports 2018-11-03 16:07:05 -04:00
Emma Green
ce7b094cfb don't error out to user programs with really old course runs not in lms 2018-10-19 13:25:28 -04:00
Michael Terry
c90edab169 Bundle an SQL query for performance
We were doing many individual SQL queries for certificates when
awarding program certs. It's possible this was contributing to
high SQL load. Instead, let's bundle those queries up into a larger
one.

LEARNER-6490
2018-10-05 12:43:47 -04:00
hasnain-naveed
282fe39337 WL-1645 | Suppressing Error Alerts for WL Programs without Program Certificates. 2018-10-01 18:58:43 +05:00
Diana Huang
755ebc8c7f Send program cert visible_date
When sending a program cert to Credentials, also send along a
calculated visible_date along with it.

LEARNER-6262
2018-09-04 16:05:24 -04:00
Jeremy Bowman
f2626c0d70 TE-2646 Use headless Chrome for a11y tests 2018-08-28 17:26:26 -04:00
Bill DeRusha
cce8a53ba9 Add logging to signal and flag to mgmt cmd for credential grades 2018-08-28 09:19:19 -04:00
Jeremy Bowman
380a24f7ef TE-2689 Remove useless pylint suppressions part 6 2018-08-21 13:54:34 -04:00
Dillon Dumesnil
258cd3fe06 Fixing constant and adding in tests 2018-08-13 17:27:49 -04:00
Diana Huang
23860605f0 Merge pull request #18699 from edx/mikix/visible_date
Fix visible dates sent to Credentials
2018-08-06 10:49:30 -04:00
Diana Huang
718c6a9340 Test fixes for branch. 2018-08-03 15:37:52 -04:00
Michael Terry
caaf351e63 Fix visible dates sent to Credentials
If we have a future available_date, send that to Credentials rather
than sending the modified date.

LEARNER-5995
2018-08-03 15:37:52 -04:00
Jeremy Bowman
c290bf8a07 TE-2524 Stop using nose.plugins - openedx 2018-08-02 14:54:50 -04:00
Brandon Baker
2f8c5af246 Add better http error handling to award program certificate 2018-08-01 15:42:56 -04:00
Brandon Baker
101714bd0e Properly handle errors in award program certificates
LEARNER-6004
2018-08-01 09:52:05 -04:00
Michael Terry
3222d3fd13 Site config flag for Learner Records
Allow site admins to disable integration for the Learner Records
feature in Credentials.

LEARNER-5987
2018-07-30 16:18:24 -04:00
Christopher Lee
3c6a62edd0 Added more details to logs in a program certificate exception
LEARNER-5332
2018-07-26 16:18:48 -04:00