Commit Graph

731 Commits

Author SHA1 Message Date
Zia Fazal
c5912ea367 refactored code as described in SOL-1386
further code refactoring and added test

fixed tests and internationalisation issues

added translators comment and pulled text to same line

changes based on feedback

updated doctoring to make it more unstandable

further optimizations
2015-11-17 15:44:46 +05:00
Chris Dodge
02550cb368 Disable posting to LinkedIn feature for microsites until we can support multiple LinkedIn accounts 2015-11-13 12:57:10 -05:00
Saleem Latif
c068bc95cf Custom 500 error message should only be seen for Preview 2015-11-12 11:31:25 +05:00
Ned Batchelder
e7fcc743c0 More-correct data migrations
We need to be sure the migrations will work even in the presence of data
from the future.  get_or_create is a problem, because if the data
already exists, there could be more than one record, even if this
migration only creates one.
2015-11-11 09:03:21 -05:00
Usman Khalid
6cb62f2697 Rebase upgrade Django to v1.8.5
Please note that this is a squshed commit and the work of:
Symbolist, macdiesel, nedbat, doctoryes, muzaffaryousaf and muhammad-ammar
2015-11-10 15:00:19 -05:00
Cliff Dyer
ce99ca63fa Merge pull request #10561 from edx/release
Verify patched fix merge back into master.
2015-11-10 14:10:05 -05:00
Chris Dodge
eeb8c48922 Disable posting to LinkedIn feature for microsites until we can support multiple LinkedIn accounts 2015-11-10 09:41:43 -05:00
Saleem Latif
094ed32176 Added ability to regenerate certificates from Instructor Dashboard 2015-11-10 15:14:55 +05:00
Matt Drayer
7a7cd6e660 Merge pull request #10459 from edx/ziafazal/SOL-1346
SOL-1346:convert string to bytestring before passing it to urllib.quote_plus
2015-11-04 17:07:46 -05:00
Eric Fischer
24ee5a68f5 Merge pull request #10490 from edx/release
Release 4 November 2015 to master
2015-11-04 13:19:09 -05:00
Zia Fazal
fbc8a13410 convert string to bytestring before passing it to urllib.quote_plus
further improvement in handling of unicode data
2015-11-04 11:22:36 +05:00
Eric Fischer
dc469ea5ec Fix cert_status None. Add GeneratedCertificate to admin 2015-11-03 21:54:48 -05:00
Matt Drayer
fc77a6eae7 Merge pull request #10363 from edx/saleem-latif/SOL-1315
SOL-1315: Add Cert Exception UI on Instructor Dash
2015-11-03 10:09:19 -05:00
Saleem Latif
99bd47e9a8 Add Cert Exception UI on Instructor Dash 2015-11-03 12:52:22 +05:00
Ned Batchelder
322ca34b20 Remove pylint pragmas from "class Meta"
Also remove useless docstrings where they were added to keep pylint
quiet.
2015-10-21 07:37:00 -04:00
Saleem Latif
aaf13b9724 added certificate web view link to Support Dashboard 2015-10-20 17:44:44 +05:00
Zia Fazal
0f637fdc95 check MILESTONES_APP when checking prerequisite courses enabled 2015-10-16 12:53:55 +05:00
Matt Drayer
d26d03da82 Merge pull request #10201 from mitocw/gdm_fix_pylint_lms.djangoapps.certificates
Fixed pylint violation for files in lms/djangoapps/certificates
2015-10-16 00:15:10 -04:00
Matt Drayer
f1951df24e Merge pull request #10154 from edx/saleem-latif/SOL-1297
saleem-latif/SOL-1297: updated message for 500 error on certificate preview
2015-10-15 13:58:05 -04:00
Giovanni Di Milia
476f6821de Fixed pylint violation for files in lms/djangoapps/certificates 2015-10-15 12:01:36 -04:00
Saleem Latif
466abcdce4 updated message for 500 error on certificate preview 2015-10-15 10:46:11 +05:00
Matt Drayer
6dfa81e58a mattdrayer/update-gencert-modes: Added prof-ed modes to set 2015-10-14 12:36:27 -04:00
Matt Drayer
31cbef709a mattdrayer/eliminate-base-distinguished: Switch back to honor/verified
* talbs: Remove obsolete stuff
* frrrances: remove base and distinguished sass references and image assets
* mattdrayer: Cleaned up JSON syntax for test setups
2015-10-09 00:29:42 -04:00
Matt Drayer
7557620d59 Merge pull request #9967 from edx/ziafazal/SOL-1247
SOL-1247: use overridden course number and org
2015-10-01 10:10:13 -04:00
Zia Fazal
fcb3a64f1d use overridden course number and org
renamed test's name
2015-10-01 18:22:09 +05:00
Matt Drayer
65831c887d Merge pull request #9806 from edx/ziafazal/SOL-1185
ziafazal/SOL-1185: move SOCIAL_SHARING_SETTINGS out of FEATURES
2015-09-30 14:12:33 -04:00
Awais Qureshi
c486f857ca Merge pull request #9881 from edx/awais786/ECOM-1988-upgrade-msg-with-credit-mode
Hide upgrade message on student dashboard for credit enrollments
2015-09-30 12:51:38 +05:00
Awais
0ca586f65b If enrollment mode is credit then upgrade message should not appear.
Fixing certificates for credit mode.
ECOM-1988
2015-09-29 20:56:32 +05:00
Frances Botsford
28d09a7233 styles and content adjustments for invalid cert view 2015-09-29 11:30:48 -04:00
Zia Fazal
2a523848b9 fixed bug in certificate html view
Fixed bug: When certificate id previewed by a user who already has a
certificate generated with different mode it would not display
certificate in right preview mode.
2015-09-22 16:08:56 +05:00
muhammad-ammar
6a5ce5d544 Upgrade factory_boy
TNL-3179
2015-09-18 18:02:38 +05:00
Zia Fazal
14c14b07db moved SOCIAL_SHARING_SETTINGS out of FEATURES
fixed object has no attribute 'get'

fixed 'LazySettings' object has no attribute

add social settings to cms/env/aws
2015-09-17 19:24:09 +05:00
Matt Drayer
ac0d926492 Merge pull request #9717 from edx/ziafazal/SOL-1193
SOL-1193: moved variables from template to view
2015-09-16 15:06:57 -04:00
Zia Fazal
cf80c07c14 moved variables from template to view
fixed broken tests and quality violations

moved twitter_url to view also

escaped string for js
2015-09-16 20:42:04 +05:00
Matt Drayer
034a7261e8 Merge pull request #9715 from edx/ziafazal/SOL-1192
SOL-1192: include Null in filters while making a decision to pick right custom template
2015-09-11 11:22:47 -04:00
Zia Fazal
4d08cfd4e2 include Null in filters 2015-09-10 15:29:32 +05:00
asadiqbal
17f10d21d0 SOL-1159 2015-09-07 16:24:09 +05:00
Matt Drayer
f74c9b6de5 mattdrayer/cert-webview-add-org-fields: Added new fields to context 2015-09-02 10:10:21 -04:00
asadiqbal
c1162864aa SOL-1158 2015-08-31 21:17:40 +05:00
Ned Batchelder
2a0259095d Change imports from path to use the stablest name.
The old line:

    from path import path

produced pylint errors because of the baroque way that path.py defined
"path".  We tried to get them to change how they defined it, but they
deleted the name instead: https://github.com/jaraco/path.py/issues/102

(Jason then changed his mind, but this is a better way to use path.py,
it avoids the pylint error at least.)
2015-08-27 12:59:25 -04:00
asadiqbal
c230f22b52 SOL-1097 2015-08-25 19:41:05 +05:00
Zia Fazal
53f1b2de0c fix for organization id drop down not populating 2015-08-18 13:37:06 +05:00
Zia Fazal
2467d6971f ziafazal/SOL-1044: Database-Driven Certificate Templates
* added certificate template model
* added certificate template asset model
* added django admin configs and migration
* initial LMS template matching logic
* improved LMS template matching
* improved LMS template matching and rendering logic
* address Django admin form/model load order incongruence
* add missing unique constraint migration.
2015-08-13 08:01:34 -04:00
Will Daly
ad9d9eb04e Support team UI for regenerating certificates
* Add new role for support staff.
* Move dashboard/support functionality into a new Django app called "support".
* Add support view for searching and regenerating certificates.
* Refactor certificates views into separate files.
2015-08-12 07:09:46 -07:00
Arbab Nazar
330ef94e1e Merge pull request #9182 from edx/arbab/whitelist-text-change
updated the help text for cert_whitelist
2015-08-12 12:28:04 +05:00
asadiqbal
8269bf5f1f SOL-1118 2015-08-11 19:25:23 +05:00
Matt Drayer
e1ee5ac6df mattdrayer/SOL-981: Integrate edx-organizations application
* asadiqbal08/SOL-1058: Add edx-organizations to certificate web view
  * Support organization logo asset management
  * Remove organization fields from Studio certificate configuration model

* SOL-981 pull request feedback fixes
2015-08-10 10:29:45 -04:00
arbabnazar
58c9291728 updated the help text for cert_whitelist
fix the indentation

fix the indentation
2015-08-06 16:27:56 +05:00
Ned Batchelder
f54fe787c6 Remove needless 'disable=no-member' pragmas 2015-08-03 17:47:44 -04:00
Zia Fazal
41d9338fcc Merge pull request #9076 from edx/ziafazal/SOL-1062
SOL-1062: generate verify_uuid for web based certificates also
2015-07-28 19:57:34 +05:00