Commit Graph

3398 Commits

Author SHA1 Message Date
Eric Fischer
562322d71e Merge pull request #15673 from edx/efischer/actually_limit_libraries
Return no libraries if org not specified
2017-07-26 16:29:44 -04:00
Eric Fischer
2ab2ed7760 Return no libraries if org not specified
Due to a bug in org=None vs org='', all libraries were being returned
from the "optimization" in #15292. This fix returns no libraries on the
default '' value.
2017-07-26 14:47:37 -04:00
Ari Rizzitano
3d4b2a7382 include webpack commons bundle on all pages; stub webpack_loader in python unittests
include webpack commons bundle on all pages

quotes

homegrown webpack_loader mock

toggle installed webpack_loader in test env file instead

fix test checking context
2017-07-26 11:28:30 -04:00
Brandon Baker
53d9f87df3 Merge pull request #15662 from edx/bbaker/EDUCATOR-760
EDUCATOR-760
2017-07-25 16:40:11 -04:00
bbaker6225
8e06cdbf5e EDUCATOR-760
Change partitions logic to include partitions with one deleted group
2017-07-25 15:06:54 -04:00
Eric Fischer
0f2279d325 Merge pull request #15658 from edx/efischer/fix_leaks
CMS memory leak fix
2017-07-25 13:26:55 -04:00
Eric Fischer
d4943c5337 Use bulk_operations when loading items
This has been causing a huge memory leak, wrapping the call in this
context manager properly cleans up the 'records' entries.

EDUCATOR-274
2017-07-25 12:40:15 -04:00
cahrens
83ae677b83 Don't add groups in experiment configurations twice.
EDUCATOR-947
2017-07-24 11:03:31 -04:00
Ahmed Jazzar
fc5716d9b1 Fixed milestone issues
In settings_handler and any_unfulfilled_milestones (for mobile APIs)
2017-07-20 10:55:44 -07:00
Jeff LaJoie
aa5b8bed11 Merge pull request #15289 from edx/jlajoie/EDUCATOR-434
EDUCATOR-434: Unit Group Access
2017-07-19 15:32:02 -04:00
Jeff LaJoie
1c90220462 EDUCATOR-434: Extends Course Outline Unit settings to allow Group Access configuration 2017-07-19 14:17:38 -04:00
George Song
59794ea9c9 Merge pull request #15338 from ravi-ojha/educator_269
Fix EDUCATOR-269: Don't show "Issue Open Badges" if the feature is disabled
2017-07-12 10:50:55 -07:00
Joel Barciauskas
01db7a7d74 Add course import REST API to Studio 2017-07-12 11:48:35 -04:00
Alex Dusenbery
6dfa47b2fc EDUCATOR-565 | Add POLICY_CHANGE_GRADES_ROUTING_KEY, fix errors in compute_all_grades_for_course circuitry. 2017-07-11 14:01:38 -04:00
Steven Zheng
e340b2431e Add django management command to create course from json 2017-07-10 16:02:20 -04:00
Eric Fischer
dcd385df6a Include libraries in optimized studio home 2017-07-07 16:11:12 -04:00
Mushtaq Ali
d2b420a9a5 Change opacity and user messages 2017-07-06 12:35:07 +05:00
Qubad786
556213659b Add waffle switch to toggle video thumbnail feature. 2017-07-06 12:35:07 +05:00
Mushtaq Ali
eabfba48a2 Change video image requirements text hover - EDUCATOR-577 2017-07-06 12:35:06 +05:00
Mushtaq Ali
7bf717f75d Add video image settings to aws settings so that lms can pull values from lms.env.json 2017-07-06 12:35:06 +05:00
Mushtaq Ali
cf6200cbb3 Add frontend video image validations - EDUCATOR-447 2017-07-06 12:35:05 +05:00
Mushtaq Ali
e8fee2e09a Add backend video image validations - EDUCATOR-45 2017-07-06 12:35:05 +05:00
muhammad-ammar
626f2896a0 add video poster support
EDUCATOR-44
2017-07-06 12:35:05 +05:00
muhammad-ammar
763f0051bd video thumbnail ui 2017-07-06 12:35:04 +05:00
Muhammad Ammar
dca12d65c2 Save or update course video image - TNL-6762 2017-07-06 12:35:00 +05:00
Ravi Ojha
4d95ea30a6 Fix EDUCATOR-269: Don't show "Issue Open Badges" if the feature is disabled
Summary: We show "Issue Open Badges" setting in Studio
Course -> Settings -> Advanced Settings, even if the flag
ENABLE_OPENBADGES is set to False. With this commit, it
will only show up in Advanced Settings if ENABLE_OPENBADGES
is set to True.
2017-07-04 22:57:40 +05:30
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
Jeremy Bowman
5cbdd5de61 PLAT-1323 Remove older, slower code path for course export 2017-06-28 14:55:19 -04: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
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
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
cahrens
4454458743 Limit courses and libraries returned for global staff.
EDUCATOR-563
2017-06-12 13:47:00 -04:00
noraiz-anwar
bac223acad Enhance delete_course management command 2017-06-12 17:51:54 +05: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
Gregory Martin
77b2229210 GradingPolicyChanged Signal Handler
https://openedx.atlassian.net/browse/EDUCATOR-393
2017-05-31 10:46:55 -04:00
Andy Armstrong
ebb04ca396 Reorder Studio imports using isort 2017-05-30 17:00:50 -04:00
John Eskew
3b57542ab0 Revert "Merge pull request #15170 from edx/jeskew/PLAT_1316_partitions_inheritance"
This reverts commit f97f052591, reversing
changes made to 800bcd8e20.
2017-05-30 12:42:54 -04:00
attiyaishaque
7f3e4cb810 EDUCATOR-3 Check for course before using it. 2017-05-29 17:43:44 +05:00
John Eskew
f1369b912e Move LicenseMixin and accompanying code to openedx/core/lib. 2017-05-25 16:17:31 -04:00
John Eskew
f97f052591 Merge pull request #15170 from edx/jeskew/PLAT_1316_partitions_inheritance
Move fields.py, inheritance.py, and partitions to openedx/core.
2017-05-25 14:21:03 -04:00
John Eskew
76389d8678 Run all files touched in inheritance/partition work through isort. 2017-05-25 13:24:08 -04:00
John Eskew
66f3aa5ccf Move fields.py, inheritance.py, and partitions to openedx/core. 2017-05-25 13:24:08 -04:00
Cliff Dyer
8a4bb2e670 Merge pull request #15184 from edx/neem/cms-dash-inefficiencies
Cleanup inefficiencies in Studio dashboard
2017-05-25 11:12:21 -04:00
J. Cliff Dyer
6c6f271e0e Comment out broken speed test. 2017-05-25 10:18:43 -04:00
J. Cliff Dyer
61d247d4bb Prefer iters and sets to lists 2017-05-24 15:49:45 -04:00
Alex Dusenbery
30fc3a55d0 EDUCATOR-390 and EDUCATOR-391 | Send GRADING_POLICY_CHANGED signal when something changes the grading policy. 2017-05-23 08:57:06 -04:00
Gregory Martin
b4f265ade2 Refactor CMS Signal Handling
https://openedx.atlassian.net/browse/EDUCATOR-389
2017-05-18 15:29:12 -04:00