stvn
0ae91c0921
Replace references to 'log.warn' with 'log.warning'
...
to remove some `DeprecationWarning`s from the logs
as the former method as been deprecated since Python 3.3 [1][2].
- [1] https://github.com/python/cpython/blob/3.3/Lib/logging/__init__.py#L1252-L1253
- [2] https://stackoverflow.com/a/15655674
2020-06-18 12:08:15 -07:00
Aarif
6ee2089077
fixed warnings for wrong-import-order
2020-04-08 23:43:06 +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
efba6e45e8
Finally import courseware properly everywhere to get rid of a warning
2019-09-26 09:40:15 -04:00
uzairr
1f531571ff
edX logo is not loading on invalid cert view
...
edX logo image is not loading on invalid certificate view because
context is not been updated with the logo image for invalid cert view.
To overcome it, context is updated before rendering invalid cert.
PROD-611
2019-08-28 14:37:36 +05:00
Matthew Piatetsky
17ef02e34f
add preview_certificates permission
2019-07-31 13:39:16 -04:00
Nimisha Asthagiri
aee2d36580
Remove microsites from certificates
...
DEPR-26
2019-05-29 03:15:53 -04:00
Stu Young
c33bd1c643
INCR-262 Run python-modernize on lms/djangoapps/certificates/migrations and lms/djangoapps/certificates/views ( #20558 )
...
* run python modernize
* run isort
* Fix quality
2019-05-21 11:32:51 -04:00
adeelehsan
b4f1a774c2
Removing logs
...
Removing all the logs added for
the investigation of learner-6943
2019-03-14 15:23:10 +05:00
adeelehsan
fd062a9c12
Added logs
...
adding logs to investigate cache.
learner-6943
2019-02-27 17:31:40 +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
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
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
Adeel Khan
d9d4ae5535
Fix invalid certificate page for a11y and translation.
...
Invalid certificate page has hardcoded lang='en' for
html, that would cause a11y issue for other languages user.
Some of screen reader text is not under translation. This patch
would fix both issues.
LEARNER-3110
2018-01-25 14:02:12 +05:00
Nimisha Asthagiri
2e9efe6472
Fix Certificates import and signals code
2018-01-19 15:12:28 -05:00
ayub-khan
1b774d15aa
-Allow staff to preview certificates before course end
2017-12-05 13:57:46 +05:00
Nimisha Asthagiri
38cfadeb20
Schedules: convert course language to supported released language
2017-11-29 20:08:33 -05:00
Ahsan Ulhaq
da675e52dc
Learner certificates should not be findable before the available date
...
LEARNER-3298
2017-11-23 14:14:05 +05:00
Ned Batchelder
e23e3a0486
Fix a number of unused-import pylint violations
2017-11-21 19:57:06 -05:00
Anthony Mangano
7e52af97b5
Render certificate templates in the correct language
...
LEARNER-2921
2017-11-07 14:49:44 -05:00
McKenzie Welter
39bf59e6d3
Flag for Hours of Effort in course certificates
...
Retrieve different data fields from Discovery
2017-10-17 17:07:54 -04:00
Michael LoTurco
96dbd26f83
Added edx-themed certificate template partials for learner-1996
2017-10-13 11:02:20 -04:00
McKenzie Welter
1fe76d7c01
calculated hours of effort for rendering cert template context
2017-09-29 14:26:16 -04:00
McKenzie Welter
f846442233
language --> content_language and get_fields() actually returns
2017-09-21 13:25:40 -04:00
Alex Dusenbery
ab71318104
EDUCATOR-1316 | Refactor courseware.views.views._get_cert_data and related functions.
2017-09-19 11:11:37 -04:00
McKenzie Welter
531a51f75c
Added util method to retrieve individual course_run data from Catalog
2017-09-15 15:03:20 -04:00
Alex Dusenbery
d6604ebb02
EDUCATOR-1354 | Get cert display date a little more safely; include course when updating cert webview context.
2017-09-13 16:48:34 -04:00
Sanford Student
4f977fb228
common function for cert display date
2017-09-08 10:05:30 -04:00
Gregory Martin
4d59eff8f6
Update cert display date
...
EDUCATOR-1266
2017-09-06 15:17:27 -04:00
Sofiya Semenova
c7fc1929f2
ED-801 Certificate issued date should display the certificate availability date for instructor paced coursest
2017-08-23 17:07:43 -04:00
pepeportela
2bea8be06e
Added spaces between arguments
2017-08-07 16:57:17 +02:00
pepeportela
e4003559de
Add i18n month with strftime_localized in certificate views
2017-08-07 11:09:02 +02:00
Michael Youngstrom
ca1ca99abf
Revert "Add i18n to date in certificate web"
2017-08-04 13:55:17 -04:00
pepeportela
1ff5333bc0
Add space between arguments
2017-08-04 18:16:39 +02:00
jportela
54a26cfff4
Add i18n month with strftime_localized in certificate views
2017-08-04 17:38:51 +02:00
jportela
a35e974457
Fix typo introduced in commit b841176
2017-08-04 14:31:55 +02:00
jportela
b841176e9c
Add i18n month dict to certificate using @amangano-edx solution in PR #14836
2017-08-04 14:27:43 +02:00
jportela
2646858cad
Add i18n to date in certificate web
2017-08-04 14:11:34 +02:00
Salah Alomari
b8ba64cbe1
Set copyright year dynamically
2017-06-19 14:33:55 +03:00
Andy Armstrong
79acb5c5be
Reorder LMS imports using isort
2017-06-11 21:48:06 -04:00
Saleem Latif
8ae92901ef
1. Merge microsites into Comprehensive Theming
...
2. Add site configuration overrides to theming/helpers.py
3. Move microsite.get_value from theming/helpers to site_configuration/helpers
4. Move microsite_configuration.microsite.get_value usages to site_configuration.helpers.values
2016-07-27 13:55:14 +05:00
Adam Palay
18474b2d18
raise 404 if non-int user is passed to cert view
2016-04-14 09:43:56 -04:00
Adam Palay
883712b25b
add logging for when the cert view doesn't render (ECOM-4202)
2016-04-14 09:43:43 -04:00
Jonathan Piacenti
17ec12c650
Address platform final review notes.
2016-04-01 21:06:07 +00:00
Jonathan Piacenti
ccb5b6c74c
Adjust get_completion_badge usages to handle exceptions.
2016-04-01 10:13:09 -05:00
Jonathan Piacenti
61c76771f8
Add completion and enrollment badges.
2016-04-01 10:13:08 -05:00
Jonathan Piacenti
112a143589
Refactor badging, move into its own app.
2016-04-01 10:13:08 -05:00