Commit Graph

7509 Commits

Author SHA1 Message Date
Robert Raposa
a864b450a8 Merge pull request #15436 from edx/robrap/rename-xss-linter
Rename xss linter.
2017-06-30 16:22:38 -04:00
Robert Raposa
b370fe2314 Part II: Rename xss linter. 2017-06-30 13:20:23 -04:00
Kevin Falcone
f6827a9a8e Change to validate=False which emulates django-storages
On many buckets, we use s3://bucket/path to separate environments
because AWS used to have a really low limit on the number of buckets
we could have, and we wanted to share them across environments.

If you combine this with an IAM policy that only allows you access
to the s3://bucket/path that you "own", then get_bucket fails.
http://boto.cloudhackers.com/en/stable/ref/s3.html#boto.s3.connection.S3Connection.get_bucket
The HEAD appears to be similar to get_all_keys which requires
ListObjects on the bucket with no conditions.

django-storages (Which is what we write new S3 access in) actually
always passes validate=False unless you're allowing it to create buckets
for you (which we never do).
https://github.com/jschneier/django-storages/blob/1.4.1/storages/backends/s3boto.py#L320-L334
2017-06-29 16:51:12 -04:00
sarahkf
b673ceee5d Merge pull request #15300 from edx/sarahkf/fix-color-contrast
fixing color contrast issues in studio
2017-06-29 12:00:30 -04:00
Sarah Fischmann
78ef8db40a Fixing color contrast issues in Studio
AC-727
began changing colors in course content, files and uploads, and when creating a course

finished fixing contrast issues on files and uploads page

fixed advanced settings and issue with hovering in files and uploads

fixed color issues in studio home page and when hovering

fixed contrast in updates, pages, textbooks, and group configurations

fixed issues when configuring a section of a course in course outline

fixed hovering colors to make contrast more visible

fixed colors on the green button

AC-727
2017-06-29 10:02:49 -04:00
Jeremy Bowman
5cbdd5de61 PLAT-1323 Remove older, slower code path for course export 2017-06-28 14:55:19 -04:00
Omar Al-Ithawi
1b46c3e646 Add optional support for Unicode usernames
Refactoring: Use format with named variables
2017-06-27 14:18:49 +03:00
Alex Dusenbery
95460dd143 EDUCATOR-514 | Hide the certificate_available_date field until we enable the feature. 2017-06-26 11:30:15 -04:00
Brian Beggs
7074e3abba Merge pull request #14902 from Salomari1987/salah/copyright-year
Set COPYRIGHT_YEAR dynamically
2017-06-23 16:06:35 -04:00
Harry Rein
82daaa5ad3 Adding a reviews page to the course and updating the reviews module on the course about page. Removed the existing coursetalk implementation and put it in a fragment, removed the tests as well. Added configuration settings to specify the reviews template as well as the reviews provider. This is all protected by a waffle flag. 2017-06-23 11:27:48 -04:00
Diana Huang
3d09290c14 Add a dismiss button to welcome message.
Store user's preference indefinitely.
2017-06-22 18:26:50 -04:00
Jeremy Bowman
5a6b8cd35b PLAT-1228 Support bok-choy in Docker Devstack 2017-06-22 15:03:12 -04:00
Ned Batchelder
8dab37122c Update translations (autogenerated message) 2017-06-21 14:36:35 +00:00
sarahkf
2b81a9409d Merge pull request #15327 from edx/sarahkf/python-template
fixed CC logo text alternative
2017-06-20 13:42:45 -04:00
sarahkf
dc121e54cb Merge pull request #15326 from edx/sarahkf/ARIA-roles
fixed aria-label to just say legal
2017-06-20 13:41:48 -04:00
Sarah Fischmann
540af5edcd Fixed legal aria-label to be a valid label
AC-596

fixed aria-label to just say legal

translate legal label
2017-06-20 11:33:30 -04:00
Sarah Fischmann
58bb4fbc61 Fixed CC logo text alternative
AC-631

fixed CC logo text alternative

fixed template so python evaluates gettext()
2017-06-20 09:49:05 -04:00
Salah Alomari
b8ba64cbe1 Set copyright year dynamically 2017-06-19 14:33:55 +03:00
Adam
691d6872c7 Merge pull request #15294 from edx/adam/add-precedes-to-coursegraph-3
write courses to neo4j in background tasks (EDUCATOR-583)
2017-06-15 15:10:11 -04:00
Andy Armstrong
0b90c60b5f Merge pull request #15301 from edx/andya/webpack-jquery
Handle issues with JQuery in Studio and LMS
2017-06-15 12:11:28 -04:00
Christina Roberts
09e22f373b Merge pull request #15312 from edx/christina/share-template
Remove extra div.
2017-06-14 13:36:36 -04:00
Qubad786
afd45996d9 fix studio header menu 2017-06-14 11:49:30 +05:00
Andy Armstrong
4ed9776a4b Handle issues with JQuery in Studio and LMS
LEARNER-1341
2017-06-13 20:53:29 -04:00
Carol Tong
c8de3af589 Merge pull request #15313 from edx/carol/DOC-3687
DOC-3687: Change help target for enrollment track groups on Studio Group Configs page
2017-06-13 16:48:26 -04:00
sarahkf
086b503b51 Merge pull request #15219 from edx/sarahkf/courseware-lang
Added course level lang attribute for LMS WIP
2017-06-13 16:06:59 -04:00
Carol Tong
82b8cf40b3 Change help target for enrollment track groups 2017-06-13 15:51:13 -04:00
Sarah Fischmann
eafb79defc Added lang attribute in LMS and Studio; added language col to course_overviews
Added course level lang attribute for LMS

added lang attribute to Studio

fixed error when trying to get language attribute on course that does not exist

simplified code

added lang attribure to more places in LMS, added migration for language attribute in course_overview

fixing contraints in the database for language attribute

added lang attribute to several more places in LMS and Studio

added lang attribute to discussion and custom pages; cleaned up code

fixed issue that was causing test failures

moved lang attribute higher in tree in two places
2017-06-13 14:42:29 -04:00
Sylvia Pearce
fe3105cc38 Update Studio help tokens following doc reorg for Publisher 2017-06-13 13:52:07 -04:00
cahrens
fdc9ebe809 Remove extra div.
This was probably left over from a previous variation
(there was no closing div).
2017-06-13 11:51:42 -04:00
Christina Roberts
54eb9e84b4 Merge pull request #15292 from edx/christina/add-middleware-guid
Limit courses and libraries returned for global staff.
2017-06-12 15:18:18 -04:00
Muhammad Ammar
2e675fdc4b Merge pull request #15256 from edx/ammar/edu-292-move-dialog-fix
move dialog fix
2017-06-12 23:54:52 +05:00
Giulio Gratta
2b25c9fc78 Enable DEFAULT_MODE to be customized in config
- Keeps platform set default of "Audit" to be backwards compatible and not break stuff
- get COURSE_MODE_DEFAULTS from config if set
2017-06-12 14:09:00 -04:00
cahrens
4454458743 Limit courses and libraries returned for global staff.
EDUCATOR-563
2017-06-12 13:47:00 -04:00
Adam Palay
51abe89a80 respond to comments 2017-06-12 11:55:58 -04:00
Adam Palay
69d76b69d7 write courses to neo4j in background tasks (EDUCATOR-583)
move tasks into tasks.py

add more logging
2017-06-12 10:44:27 -04:00
noraiz-anwar
bac223acad Enhance delete_course management command 2017-06-12 17:51:54 +05:00
muhammad-ammar
090ce1d0e5 move dialog fix
EDUCATOR-292
2017-06-12 16:08:55 +05:00
Stu Young
8870dde933 Revert "Set the MEDIA_ROOT and MEDIA_URL settings in the cms.envs.aws module" 2017-06-09 16:18:12 -04:00
Kevin Falcone
eb3bbc7c58 Merge pull request #15005 from replaceafill/aws_with_filesystem_storage
Set the MEDIA_ROOT and MEDIA_URL settings in the cms.envs.aws module
2017-06-09 10:39:45 -04:00
Douglas Cerna
ca33342ce3 Removed MEDIA_ROOT override in cms.envs.devstack 2017-06-08 22:22:50 -06:00
Ned Batchelder
b5ed816be1 Update translations (autogenerated message) 2017-06-08 14:55:44 +00:00
Albert St. Aubin
fd7ac21608 Working publisher/subscriber events for Cohorts and discussions 2017-06-06 13:58:54 -04:00
Douglas Hall
0d9146a209 Merge pull request #15196 from open-craft/uman/OC-2662
[ENT-370] Update Support Link on Sign In Page
2017-06-05 11:59:58 -04:00
Uman Shahzad
13ac08a41f Allow configurable password reset support link.
Defaults to SUPPORT_SITE_LINK intentionally.
Also fixed surrounding quality tests, and overall
quality improvements.
2017-06-05 19:42:18 +05:00
Kyle McCormick
3c470e6b9d Upgrade MathJax references from 2.7.0 to 2.7.1 2017-06-02 15:29:47 -04:00
Robert Raposa
eaab2cf444 Add course overrides of waffle flags. 2017-06-01 15:12:50 -04:00
sanfordstudent
867fac315f Merge pull request #15198 from edx/sstudent/course-policy-event
Sstudent/course policy event
2017-06-01 10:28:32 -04:00
Christina Roberts
d2653b4b17 Merge pull request #15148 from edx/christina/ed-427-again
Christina/ed 427 again
2017-05-31 15:31:36 -04:00
cahrens
106ac3a136 Change visibility to access.
EDUCATOR-396
2017-05-31 14:10:56 -04:00
Gregory Martin
79a2b6e245 Eventing for grading policy change 2017-05-31 14:07:14 -04:00