Douglas Hall
092d1bdf01
Check GeneratedCertificate.download_url before using HTML cert URL.
2019-03-11 14:18:16 -04:00
Jason Myatt
ccfce4ac27
Merge pull request #19940 from edx/jmyatt/filter-out-stale-generated-certificates
...
Filter out certificates for nonexistent courses
2019-03-08 12:09:21 -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
Douglas Hall
c0cb493a41
Filter certificate list API based on user profile visibility preference.
2019-03-08 10:55:45 -05:00
Awais Jibran
81f1526786
Fix Incorrect data in the database table certificates_generatedcertificate propagation.
...
EDUCATOR-4128
2019-03-06 15:13:52 +05:00
Douglas Hall
f07f9b6d91
Merge pull request #19884 from edx/douglashall/course_certificate_list_api
...
Add list endpoint to course certificate API.
2019-03-01 15:55:26 -05:00
Douglas Hall
8373298149
Add list endpoint to course certificate API.
2019-03-01 14:48:00 -05:00
adeelehsan
fd062a9c12
Added logs
...
adding logs to investigate cache.
learner-6943
2019-02-27 17:31:40 +05:00
Waheed Ahmed
e3fb888268
Disable PDF certificate generation/regenration.
...
Since PDF generation is discontinued long time ago, disable PDF certificate
generation/regenration from support tool and on all other places.
LEARNER-5562
2019-02-22 15:22:36 +05:00
Calen Pennington
78c8950ea3
Clean up a few remaining unicode format string errors
2019-02-20 15:28:14 -05:00
adeelehsan
f265d58cb1
Merge branch 'master' into aehsan/LEARNER-6943/adding_logs_to_check_discovery_response
2019-02-20 12:37:15 +05:00
Brian Mesick
7db7f9cc96
Merge pull request #19675 from edx/juliasq/add_pii_annotations
...
Add PII annotations, un-pin stevedore, upgrade deps.
2019-02-19 13:46:59 -05:00
adeelehsan
86ae3a9f20
Adding logs
...
adding logs to check response
returned by discovery
LEARNER-6943
2019-02-19 22:50:34 +05:00
adeelehsan
212d7efa72
Get User language
...
if template language is None
then use user language instead
of getting from setings which is
always english
LEARNER-6943
2019-02-19 22:39:56 +05:00
Julia Eskew
368f221f0a
Initial start on annotations.
2019-02-19 11:24:21 -05:00
Michael Youngstrom
3221c2b91f
Remove lms pytest shards
2019-02-12 11:03:46 -05:00
Matthew Piatetsky
6e81c84d8b
fix unicode strings in lms/ part 1
2019-02-05 15:15:02 -05:00
adeelehsan
88ef4de655
Adding log for investigation
...
Logs added while fetching the
certificate template to investigate
LEARNER-6943s
2019-02-01 11:46:50 +05:00
jansenk
726fb0f6f0
fail a certificate if grades are modified to failing
2019-01-29 15:57:15 -05:00
cclauss
8fca11b85c
Use print() function in both Python 2 and Python 3
2019-01-13 17:16:37 +01:00
David Ormsbee
74d53cf786
Merge pull request #19329 from open-craft/giovanni/bb-547-ospr
...
BB-547 - Fix certificate api when retrieving certificates from deleted courses
2019-01-11 11:22:45 -05:00
Giovanni Cimolin da Silva
8563cf437a
Fix certificate api when retrieving certificates from deleted courses
...
This commit fixes a problem with the Certificates API that make it fail when trying to retrieve user certificates from courses that don't exist anymore.
The problem lies in the Certificate API not checking if the courses being retrieved by some user actually exist, to fix this, this commit improves the fault tolerance of the Certificates API.
This issue was found when investigating why a user profile page (/u/username) was returning 404's.
Turns out that LearnerAchievementsFragmentView used the certificates api to retrieve certificate information, which did not check if the course exists before trying to pull information from it, resulting in a cascade of errors that lead to a 404 on the user's profile page.
Signed-off-by: Giovanni Cimolin da Silva <giovannicimolin@gmail.com >
2019-01-11 11:40:00 -02:00
Diana Huang
6572d99e76
Remove all references to datadog from our code.
2019-01-08 15:41:24 -05:00
rabiaiftikhar
e9b2b7f8a7
Clean XSS in Certificates Support URL
2018-12-31 12:16:34 +05:00
Ned Batchelder
3353e7425e
Remove unused imports
2018-11-03 16:07:05 -04:00
Jeremy Bowman
f1668c3e55
TE-2790 Fix microsite config leak in tests
2018-10-22 14:48:28 -04:00
Robert Raposa
fbc59231fc
Update edx-drf-extensions to 2.0.0.
...
Note: this version update is backward incompatible.
ARCH-255
2018-10-17 01:00:34 -04:00
Nimisha Asthagiri
f844e765fb
Create shared test mixin for testing OAuth Scopes and various Auth.
...
ARCH-168
2018-10-13 16:21:01 -04:00
Nimisha Asthagiri
31a1ad4a09
Merge pull request #18999 from edx/arch/refactor-jwt-builder
...
JWT Cookies
2018-10-01 13:45:15 -04:00
Nimisha Asthagiri
02ba5fb0e8
Login service support for JWT Cookies
2018-10-01 13:08:40 -04:00
Ahsan Ulhaq
ee7555e85f
update usage of SessionAuthenticationAllowInactiveUser
...
LEARNER-6469
2018-10-01 17:52:52 +05:00
Michael Youngstrom
bc1d883e1a
Dont let DarkLangConfig cache interfere with other tests
2018-09-06 10:33:54 -04:00
Jeremy Bowman
1a5bf35357
TE-2689 Remove useless pylint suppressions part 2
2018-08-14 17:39:02 -04:00
Jeremy Bowman
ca3316962d
TE-2524 Stop using nose.plugins - LMS 1
2018-07-31 13:03:18 -04:00
Waheed Ahmed
c2ad6f4002
Revert "Fix PDF cert gereration/regeneration and URLs."
2018-07-26 18:20:27 +05:00
Nimisha Asthagiri
3a45bab57c
Enable OAuth Scopes for Certificates API
2018-06-28 18:37:52 -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
Tyler Hallada
1f42d1b384
Merge pull request #18316 from edx/thallada/PLAT-1524-on-delete
...
PLAT-1524: Add on_delete kwarg to ForeignKey & OneToOneFields
2018-06-06 10:38:15 -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
Tyler Hallada
1540f9ec72
Add on_delete kwarg to ForeignKey & OneToOneFields
...
Django 2.0 will make this field required for `ForeignKey` and `OneToOneFields`.
In previous versions the option defaulted to `models.CASCADE` when not
specified. This change should make the deprecation warnings in the current
Django version go away.
The migrations where also modified, but the changes should not cause a change in
the database schema since `models.CASCADE` was already the old default.
2018-06-05 17:05:12 -04: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
rabiaiftikhar
2760eeba6e
EDUCATOR-2927 certificate eligible column will appear with value N for audit-passing learners in grade report
2018-05-30 14:28:51 +05:00
Adam Stankiewicz
083fed964f
Fix failing test by passing string to expected_verification_status
2018-05-14 11:52:43 -04:00
Brittney Exline
8d825fc977
LEARNER-5185 Fix bug in cert generation for passing users who become approved
...
Because of the way async tasks pass arguments, we were passing in a string of a dictionary
that contained the id verification status but checking it against a dictionary in the
task's function, which was causing errors for generating certificates for passing users
whose id verification status changes to approved after they are passing.
2018-05-14 11:04:28 -04:00
J Eskew
edbdae9fb8
Merge pull request #18124 from edx/jeskew/fix_some_django20_deprecation_warnings
...
Fix more Django 2.0 deprecation warnings around URLconfs.
2018-05-08 16:29:12 -04:00
John Eskew
e5ee0fc91f
Remove more unneeded 'namespace=' params.
2018-05-07 18:25:36 -04:00
John Eskew
ffb1f9fe2a
Fix more Django 2.0 deprecation warnings around URLconfs.
2018-05-03 13:50:08 -04:00