Commit Graph

20331 Commits

Author SHA1 Message Date
Diana Huang
2b6651529a Add in test to test the transactions when we hit an unexpected error.
Add tests for various error mail sending scenarios
2014-01-16 17:03:15 -05:00
David Ormsbee
cc1d796b73 Add email send error checking.
Add manual transaction handling.

Remove grandfather option
2014-01-16 17:03:15 -05:00
Diana Huang
0726211a30 Use S3 uploaded image for e-mail button.
Add in a tracking pixel.

Add in alt text for profile image
2014-01-16 17:03:15 -05:00
Diana Huang
fdf531aec0 Migrations for LinkedIn.
Clean up common.

Add the ability to dry-run the command without sending e-mail.

Don't save courses sent during a dry run

Switch to EmailMessage for LinkedIn so we can send HTML emails

Update subject copy.

Use correct name for CertificationName

Fix up certificate url information.
2014-01-16 17:03:15 -05:00
Diana Huang
469fab5875 Update copy for LinkedIn e-mail. 2014-01-16 17:03:15 -05:00
David Ormsbee
db7308adc1 Remove unused parts of LinkedIn API
Fix whitelist logic to handle empty lists.
2014-01-16 17:03:15 -05:00
Diana Huang
ed64817644 Use correct linkedin button. 2014-01-16 17:03:15 -05:00
Diana Huang
f37001275a Clean up the e-mail settings. 2014-01-16 17:03:15 -05:00
Diana Huang
a3f1f6600d Integrate new LinkedIn e-mail template 2014-01-16 17:03:15 -05:00
David Ormsbee
a18bce81f2 Basic cleanup of code to determine whether a user has a LinkedIn account. 2014-01-16 17:03:15 -05:00
Chris Rossi
1a5eb086c9 Remove stray 'I' from generated URL. 2014-01-16 17:03:15 -05:00
Chris Rossi
33f7611341 It looks like LinkedIn pfCertFuture as the date a certificate expires.
We were using to indicate the date a course ended.  Better to remove it,
since edX certificates don't really expire.
2014-01-16 17:03:14 -05:00
Chris Rossi
c2651497a2 Pylint 2014-01-16 17:03:14 -05:00
Chris Rossi
f286296568 pep8 2014-01-16 17:03:14 -05:00
Chris Rossi
c5c9554dbc Test LinkedinAPI 2014-01-16 17:03:14 -05:00
Chris Rossi
cf98cb63d6 Squash warning. 2014-01-16 17:03:14 -05:00
Chris Rossi
38ad26d594 Test --force. 2014-01-16 17:03:14 -05:00
Chris Rossi
0a5c25c6ea 100% test coverage for mailusers. 2014-01-16 17:03:14 -05:00
Chris Rossi
fd1d98f7de Fix tests, one bug. Adopt a more Django-ish testing style. 2014-01-16 17:03:14 -05:00
Chris Rossi
dc5dfe6259 Some docs. 2014-01-16 17:03:14 -05:00
Chris Rossi
5803b2e3d3 Don't use linkedin app by default. 2014-01-16 17:03:13 -05:00
Chris Rossi
cf4ae1615b Disambiguate script names. Unfortunately verbose. 2014-01-16 17:03:13 -05:00
Chris Rossi
d7d7327d2b Allow force checking, disregarding LinkedIn's rules. 2014-01-16 17:03:13 -05:00
Chris Rossi
dffa8c6624 LinkedIn API finally works. 2014-01-16 17:03:13 -05:00
Chris Rossi
76b15eae65 Get json data. 2014-01-16 17:03:13 -05:00
Chris Rossi
46657b8f35 Grandfather email. 2014-01-16 17:03:13 -05:00
Chris Rossi
9755216a61 Use whitelist for testing. 2014-01-16 17:03:13 -05:00
Chris Rossi
35fdbf3a1c Send mail. 2014-01-16 17:03:13 -05:00
Chris Rossi
5d7befdebe Generate certificate URLs. 2014-01-16 17:03:13 -05:00
Chris Rossi
bb43d4cae4 House cleaning. 2014-01-16 17:03:13 -05:00
Chris Rossi
ec2678a5c5 Refactor LinkedIn API code to common location for reuse. 2014-01-16 17:03:13 -05:00
Chris Rossi
dc9c52d757 Pep8, pylint. 2014-01-16 17:03:13 -05:00
Chris Rossi
2f9e9e2494 Refactor findusers script to be fully lazy, in hopes we don't run out of memory with huge numbers of users. 2014-01-16 17:03:12 -05:00
Chris Rossi
7a48e93575 Did not mean to check in proof of concept script. 2014-01-16 17:03:12 -05:00
Chris Rossi
411d39deea Script to log in to LinkedIn API. 2014-01-16 17:03:12 -05:00
Chris Rossi
b2db05fc89 Initial stab at placeholder email template. 2014-01-16 17:03:12 -05:00
Chris Rossi
fc17ed26d4 Properly handle already emailed courses. 2014-01-16 17:03:12 -05:00
Chris Rossi
2468c99c52 Test grandfather path. 2014-01-16 17:03:12 -05:00
Chris Rossi
2d5c4dae52 Test coverage. 2014-01-16 17:03:12 -05:00
Chris Rossi
e34d131f70 Skeleton for emails script. 2014-01-16 17:03:12 -05:00
vagrant
883563d8df Test max_calls == 0 2014-01-16 17:03:12 -05:00
Chris Rossi
a5d1cb3592 pep8 and pylint 2014-01-16 17:03:12 -05:00
Chris Rossi
64887c6870 Flesh out findusers script, except for LinkedIn API call, with tests. 2014-01-16 17:03:12 -05:00
Chris Rossi
cc53aab4ec Initial app and model for LinkedIn integration. 2014-01-16 17:03:12 -05:00
David Baumgold
9d0e9f6762 Add dummy start dates to static_tab and course_info xmodules 2014-01-16 15:34:55 -05:00
David Baumgold
c24820ae87 Change default start date for About pages
So that About pages will display in the LMS if the user is not logged in
2014-01-15 14:10:55 -05:00
Don Mitchell
7ff137866b Merge pull request #2180 from edx/usman/openended_post_hostname_argument
Added hostname argument to openended_post command.
2014-01-15 09:05:32 -08:00
Chris Dodge
a3211a7405 Introduction of the Microsite feature which allows for limited multi-tenant branding on a subdomain basis, e.g. foo.edx.org and bar.edx.org
fix errorenous logic when running a microsite that could reside in a hosting environment with a marketing site in front of it

pep8/pylint fixes

address PR feedback, remove underscore from test hostname

more pep8/pylint cleanup. Skip test_microsites test, it works on localdev, not on Jenkins. Need to talk with QA team

manually add Ned's single-to-double quote fix

change aws.py runtimes so that the microsite_dir that is read from configuration is changed to a python path

Conflicts:
	lms/templates/help_modal.html
2014-01-14 14:36:01 -05:00
Feanil Patel
a86086b771 Merge pull request #2041 from edx/feanil/transfer_students
Add a command to transfer students from one course to another.
2014-01-13 08:30:51 -08:00
Christina Roberts
6c49e0db14 Merge pull request #2105 from edx/christina/reorder-privates
Fix bug about draft verticals reordering.
2014-01-13 07:22:17 -08:00