Matt Tuchfarber
3cea568719
Fix variable reuse bug in program enrollment check
...
Reuse of the variable paid_modes was causing the code to follow an
incorrect path. Changed the filtering version of the variable to
paid_modes_only. Had to keep both variables temporarily until I can fix
plugin code that uses this API.
2020-09-09 14:05:48 -04:00
Matt Tuchfarber
c4cf0b9bb7
Refactor program type enrollment checks
...
Checking if a user was enrolled in a program type was using the `name`
field which is subject to be translated. This change allows for us to check by
the type's slug which will be constant. This also includes the addition
of api.py files for the course_modes, catalog, and programs apps.
2020-08-26 14:29:39 -04:00
Albert (AJ) St. Aubin
77f3d9099b
[MICROBA-437] Add api to determine demographics status based on user data
2020-07-14 12:58:07 -04:00
SaadYousaf
52cfe647b3
syncing certificates on course update on credential side.
2020-06-16 11:58:49 +05:00
Calen Pennington
86e2677f26
Use a standard function to find out if a course has ended
2020-06-11 11:40:56 -04:00
Calen Pennington
1cf46e76d0
Don't compare None to a date when a course doesn't have an end date
2020-06-11 11:40:56 -04:00
Jansen Kantor
f4a2303013
EDUCATOR-5043: remove grades from program progress page ( #23940 )
...
* remove grades from program progress page
2020-05-08 14:46:20 -04:00
Robert Raposa
e63a7a4920
Revert "remove tests causing flakiness ( #23827 )" ( #23830 )
...
This reverts commit be1aaa00ff .
2020-04-28 17:31:45 -04:00
Robert Raposa
be1aaa00ff
remove tests causing flakiness ( #23827 )
...
These removed tests can be restored once someone works out why they
were causing flakiness elsewhere and fix the problem.
Reverts tests added in:
dca50aacc3
2020-04-28 16:12:29 -04:00
Waheed Ahmed
dca50aacc3
added tests for revoke program cert task
2020-04-27 16:35:36 +05:00
Troy Sankey
d428f7530d
Revert "Revert "Rename values in SiteConfiguration (2/3) attempt #2 ""
...
This reverts commit e6f58b6d4c .
This is our third (3rd!) attempt to deploy stage 2 of this column rename.
2020-03-04 14:53:47 -05:00
Troy Sankey
e6f58b6d4c
Revert "Rename values in SiteConfiguration (2/3) attempt #2 "
2020-02-27 13:24:55 -05:00
Troy Sankey
c422dec083
Revert "Revert "Rename values in SiteConfiguration (2/3)""
...
This reverts commit b85aa4b3fb .
2020-02-26 12:54:24 -05:00
Troy Sankey
b85aa4b3fb
Revert "Rename values in SiteConfiguration (2/3)"
2020-02-26 11:23:56 -05:00
Julia Eskew
3541643dd5
Rename values in SiteConfiguration (2/3)
...
This stage does the following:
- Includes a data migration to copy the values from old to new field.
- Changes business logic to switch to using new field.
- Deletes all code references of the old field.
2020-02-25 13:54:02 -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
Jeremy Bowman
553d35e53e
Upgrade mock BOM-596 ( #21717 )
2019-09-24 10:14:17 -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
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
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
Michael Youngstrom
4bbd1dee0b
Remove shards from commonlib-unit tests
2019-02-12 14:28:35 -05:00
Ned Batchelder
3353e7425e
Remove unused imports
2018-11-03 16:07:05 -04: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
380a24f7ef
TE-2689 Remove useless pylint suppressions part 6
2018-08-21 13:54:34 -04:00
Jeremy Bowman
c290bf8a07
TE-2524 Stop using nose.plugins - openedx
2018-08-02 14:54:50 -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
Waheed Ahmed
c2ad6f4002
Revert "Fix PDF cert gereration/regeneration and URLs."
2018-07-26 18:20:27 +05:00
irfanuddinahmad
a46a28e983
incorporated manual verification
2018-06-25 12:08:54 +05:00
Christopher Lee
52d2b2de74
Add namespaced_name to WaffleSwitch
2018-06-19 13:51:19 -04:00
Christopher Lee
b8028163d3
Merge pull request #18384 from edx/clee/anonbasketcalc
...
Add switch to always calculate program price as anon user
2018-06-18 13:43:13 -04:00
christopher lee
56f83b5704
Add switch to always calculate program price as anon user
...
LEARNER-5555
2018-06-18 12:33:40 -04:00
Jeff LaJoie
b07374ed39
LEARNER-5050: Adds award course cert job to post to Credentials
2018-06-18 08:54:58 -04:00
Brian Mesick
832f6a7157
Merge pull request #18320 from edx/bmedx/remove_111_test_marks
...
Remove unused pytest markers for Django 1.11 upgrade
2018-06-06 11:15:26 -04:00
bmedx
c125ff6a57
Remove unused pytest markers for Django 1.11 upgrade
2018-06-06 09:58:38 -04:00
Waheed Ahmed
23d1beedf7
Merge pull request #18285 from edx/waheed/LEARNER-4520-fix-pdf-certificates
...
Fix PDF cert gereration/regeneration and URLs.
2018-06-06 15:36:52 +05:00
Eric Fischer
247bb50ed2
s/django.core.urlresolvers/django.urls/g
...
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Waheed Ahmed
baf3e594be
Fix PDF cert gereration/regeneration and URLs.
...
Since cert_html_view_enabled is deprecated and set default true,
PDF certificates are not appearing for learners and staff also
unable to regenerate them.
LEARNER-4520
2018-05-31 15:45:31 +05:00
Albert St. Aubin
213673db61
Updates to use the is_anonymous flag of basket calculate
...
[LEARNER-4913]
2018-04-25 11:42:53 -04:00
Tasawer Nawaz
4912888168
stop using deprecated single item basket view
...
LEARNER-4428
2018-03-14 20:29:51 +05:00
Ahsan Ulhaq
5a67f50174
Make sure user is login in credential when redirected from lms
...
LEARNER-3729
2018-02-23 13:15:02 +05:00
Nimisha Asthagiri
2e9efe6472
Fix Certificates import and signals code
2018-01-19 15:12:28 -05:00
Waheed Ahmed
c68b50d964
Update program detail fragment.
...
LEARNER-3755
2018-01-17 13:48:33 +05:00
Albert St. Aubin
2e99ee0d7f
Changes the Program Details page to show the most recently purchased
...
entitlement data
[LEARNER-3708]
2018-01-12 15:03:25 -05:00
Waheed Ahmed
2406812100
Update program detail fragment url for mobile apps.
...
LEARNER-3754
2018-01-10 19:01:04 +05:00