Peter Fogg
2d028f8246
Add an explicit cutoff date for audit cert granting.
...
The previous logic was a convoluted way of doing the same thing, and
has already led to one bug. Instead of hoping that the bugs are ironed
out now and that future devs maintain this logic properly, let's just
set a real cutoff date.
2016-02-10 12:16:37 -05:00
John Eskew
bb5c28c0c5
Remove deprecation warnings from Django models.
...
Add app_label definitions in Meta classes for models.
Move import of course_mode model into methods to prevent importing
the models at startup time.
2016-02-09 09:28:43 -05:00
jsa
92aa346fdf
Implement celery task to award program certs.
...
ECOM-3354
2016-02-05 12:21:20 -05:00
Kevin Falcone
98671a8aa6
Merge pull request #11399 from edx/jibsheet/dont-use-using
...
Don't use using() in migrations
2016-02-04 19:47:10 -05:00
Peter Fogg
711e2e7f3c
Correctly set certificate status for audit certs when regenerating.
...
COR-2403
2016-02-04 17:23:20 -05:00
Kevin Falcone
2d9708da03
Remove uses of using() from migrations
...
This hardcoded the db_alias fetched from schema_editor and forces django
to try and migrate any second database you use, rather than routing to
the default database. In testing a build from scratch, these do not
appear needed.
Using using() prevents us from using multiple databases behind edxapp.
Additionally - add back a removed backwards migration from certificates
0003. I have no idea why this was dropped in the 1.8 upgrade.
2016-02-01 16:57:26 -05:00
Douglas Hall
dce3d9ca81
Merge pull request #11014 from edx/douglashall/PHX-219/subsection_gating
...
PHX-219 Subsection Gating
2016-01-29 11:05:39 -05:00
Douglas Hall
37a7fdc0f2
Added subsection gating feature
2016-01-28 14:05:20 -05:00
Zia Fazal
463e8c82cf
Cert Social Sharing customization
...
changes after feedback from matte
2016-01-28 14:26:48 +05:00
jsa
56d3fa011d
use COURSE_CERT_AWARDED signal for milestones + badges
2016-01-25 10:54:37 -05:00
jsa
9d141ae7a1
Add config switch + signal for generating program certs.
...
ECOM-3523
2016-01-25 10:54:28 -05:00
Peter Fogg
96cc38951d
Disable audit certificates for new audit enrollments.
...
Two new certificate statuses are introduced, 'audit_passing' and
'audit_notpassing'. These signal that the GeneratedCertificate is not
to be displayed as a cert to the user, and that they either passed or
did not. This allows us to retain existing grading logic, as well as
maintaining correctness in analytics and reporting.
Ineligible certificates are hidden by using the
`eligible_certificates` manager on GeneratedCertificate. Some places
in the coe (largely reporting, analytics, and management commands) use
the default `objects` manager, since they need access to all
certificates.
ECOM-3040
ECOM-3515
2016-01-22 10:27:55 -05:00
Peter Fogg
52d538444e
Revert "Disable audit certificates for new audit enrollments."
...
This reverts commit 60860e3aa8 .
2016-01-20 09:53:58 -05:00
Peter Fogg
b5400aa79b
Revert "Ensure old audit certs don't get marked ineligible."
...
This reverts commit 54c349b437 .
2016-01-20 08:56:48 -05:00
Peter Fogg
d0694aac75
Revert "Correctly query for any generated certificate, not just eligible ones."
...
This reverts commit ee13ffd149 .
2016-01-20 08:56:39 -05:00
Peter Fogg
ee13ffd149
Correctly query for any generated certificate, not just eligible ones.
2016-01-19 12:01:04 -05:00
Peter Fogg
54c349b437
Ensure old audit certs don't get marked ineligible.
2016-01-14 14:40:54 -05:00
Peter Fogg
bea90c1a01
Allow certificates with 'auditing' status to be regenerated.
...
ECOM-3401
2016-01-13 16:12:43 -05:00
Peter Fogg
60860e3aa8
Disable audit certificates for new audit enrollments.
...
An `eligible_for_certificate` field is added to the
GeneratedCertificate model. This way we can retain existing grading
logic, as well as maintaining correctness in analytics and reporting.
Ineligible certificates are hidden by using the
`eligible_certificates` manager on GeneratedCertificate. Some places
in the coe (largely reporting, analytics, and management commands) use
the default `objects` manager, since they need access to all
certificates.
This commit also updates the DB cache for acceptance tests.
2016-01-12 22:44:53 -05:00
Matt Drayer
2c1680a9cb
Merge pull request #11080 from edx/saleem-latif/SOL-1529
...
SOL-1529: Allow PMs to Invalidate Certificates
2016-01-04 10:46:27 -05:00
Saleem Latif
9aa0a01cae
Allow PMs to Invalidate Certificates
2016-01-04 14:28:32 +05:00
Peter Desjardins
2bf25b2f51
Merge pull request #11043 from edx/pdesjardins/DOC-2543-b
...
Edit text strings in default template for web certificates to make them more generally applicable
2015-12-22 08:56:57 -05:00
Saleem Latif
3967d8093d
Move get_logo_url from branding/__init__.py to branding/api.py for consistency.
2015-12-22 11:50:16 +05:00
Saleem Latif
475429c0a6
Web Certificates: Platform Branding integration
2015-12-22 11:50:15 +05:00
Peter Desjardins
451ae3b2e7
Edited text strings in the default template for web certificates to remove wording specific to edx.org. Addresses DOC-2543.
2015-12-21 16:31:17 -05:00
Matt Drayer
17d1f9be0c
Merge pull request #11037 from edx/ziafazal/SOL-1496
...
SOL-1496: added a slug field to reference template asset using this field
2015-12-21 10:31:39 -05:00
Zia Fazal
bb1c86baff
added a slug field to reference template asset using this field
...
removed print statement
removed unnecessary status code assertion
2015-12-21 17:48:56 +05:00
asadiqbal
37aebaa73b
SOL-1492
2015-12-18 18:19:17 +05:00
Jesse Zoldak
0aa196c48b
Revert "Edited the text strings in the default template for web certificates to remove wording specific to edx.org"
2015-12-17 16:10:05 -05:00
Peter Desjardins
a26da6e676
Edited the text strings in the default template for web certificates. Removed wording that applied specifically to edx.org. Reworded strings so that they will read correctly when the value of platform_name or cert_type requires the a or an article. Addresses DOC-254.
2015-12-17 14:31:06 -05:00
Saleem Latif
da0664c5fe
Add i18n to strings
2015-12-16 10:26:23 +05:00
Saleem Latif
8b2c4994fa
display certificate generate history in reverse chronological order
2015-12-16 10:22:56 +05:00
Matt Drayer
115b169259
mattdrayer/SOL-1519: Include course-level configuration in feature check
2015-12-13 09:57:29 -05:00
Matt Drayer
1e96c81dba
Merge pull request #10901 from edx/saleem-latif/SOL-1418
...
saleem-latif/SOL-1418: Revised Generate Certificates Section and added Certificate Generation UI
2015-12-10 12:52:58 -05:00
Saleem Latif
3134a76118
Revised Generate Certificates Section and added Certificate Generation history UI.
2015-12-10 16:26:19 +05:00
Matjaz Gregoric
f5c2f49eb5
Fix issue with unicode characters in certificates.
...
If platform name or "All rights reserved" translation contain non-ascii characters,
certificate HTML view would break with "'ascii' codec can't encode character...".
2015-12-09 09:54:09 +01:00
chrisndodge
4334eb9bd1
Merge pull request #10885 from edx/release
...
Release
2015-12-08 15:21:48 -05:00
Zia Fazal
4f939f79f9
added new endpoint which renders certificate by uuid
...
fixed broken tests and added some optimisations
fixed migration history
2015-12-08 18:21:04 +05:00
Nimisha Asthagiri
a5ddc3bf0a
Update Mobile API for PDF certificates and new Course Detail format.
...
MA-1767
2015-12-07 17:38:42 -05:00
Bill DeRusha
692e5d777a
Update copy for HCFA
...
Update Zendesk ticket to correctly add group.
Add logic to hide new audit certs
2015-12-07 14:18:55 -05:00
Nimisha Asthagiri
d170c92f3b
Refactor course_image_url
2015-12-04 11:25:40 -05:00
Matt Drayer
c41a887762
Merge pull request #10805 from edx/saleem-latif/SOL-1435
...
SOL-1435: Add Certificate Regeneration history table.
2015-12-04 09:56:18 -05:00
Saleem Latif
1e16e873a4
Add Certificate Regeneration history table.
2015-12-04 10:24:02 +05:00
Peter Fogg
8b97ca1b24
Merge pull request #10802 from edx/feature/remove-honor-code-certs
...
Remove default honor code.
2015-12-03 14:55:30 -05:00
Awais Qureshi
989389e3f2
Merge pull request #10781 from edx/awais786/ECOM-2980-admin-certs-page
...
Replacing user dropdown field with user search textbox. On stage due …
2015-12-02 17:10:45 +05:00
Matt Drayer
f5d9f2829e
Merge pull request #10759 from edx/ziafazal/SOL-1439
...
SOL-1439: removed certificates delivered dependency on certificate eligibility
2015-12-01 08:19:38 -05:00
Awais
afd6d3f66a
Replacing user dropdown field with user search textbox. On stage due to large user's list page is not loading.
...
ECOM-2980
2015-12-01 16:52:10 +05:00
Zia Fazal
34d630eacf
removed certificates delivered dependency on certificate eligibility
...
split variables on multiple lines
changes after feedback from Afzal
2015-12-01 16:24:06 +05:00
Saleem Latif
37f10a3846
Make sure web view renders certs only if downloadable.
2015-12-01 16:10:05 +05:00
Nimisha Asthagiri
8c4eefd53f
Merge pull request #10724 from edx/mobile/support-web-certs-MA-1667
...
MA-1667: Update Mobile API to support Web Certificates
2015-11-30 14:41:47 -05:00