muhammad-ammar
8d5f153201
Merge remote-tracking branch 'origin/release' into dj18-release-merge
...
Conflicts:
common/djangoapps/util/testing.py
lms/djangoapps/instructor/views/api.py
lms/djangoapps/teams/tests/test_views.py
openedx/core/djangoapps/programs/models.py
openedx/core/djangoapps/user_api/accounts/tests/test_views.py
requirements/edx/github.txt
2015-11-18 17:53:44 +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
Matt Drayer
fab6e00313
Merge pull request #10417 from edx/ziafazal/SOL-1358
...
ziafazal/SOL-1358: enabled web certs by default for all new courses
2015-11-10 10:56:13 -05:00
Zia Fazal
cbc57aae6b
enabled web certs by default
...
changing default value instead of setting it via fields
fixed broken test
fixed quality violation
following another approach
2015-11-10 18:51:14 +05:00
Syed Hasan raza
40847db72c
Merge pull request #10153 from edx/shr/bug/PLAT-875-Courses_Appear_in_search_after_deletion
...
Delete course entry from CourseAboutSearchIndex
2015-11-10 14:30:57 +05:00
Syed Hassan Raza
3102788bd1
Delete course entry from CourseAboutSearchIndex
2015-11-07 18:27:09 +05:00
Robert Raposa
3682fac832
Add json escaping to Studio
...
Make escaping for json simpler and more consistent in Mako templates
- add escape_json_dumps to escape and json.dumps
- add escape_js_str to escape javascript string
- refactor Studio to use escape_json_dumps in Mako templates
TNL-2646: Escape json.dumps
2015-11-04 13:34:42 -05:00
Robert Raposa
0964bf280f
Remove unused method subsection_handler
...
Removing this particular call to json.dumps was done by removing
the complete method subsection_handler which is no longer
used. The template edit_subsection.html had already been removed.
TNL-2646 Escape json
2015-11-04 13:34:42 -05:00
Robert Raposa
44bd65293a
Escape json for Studio advanced settings
...
- Resolve SEC-27 by escaping course name in advanced settings
- Add escape_json_dumps to simplify escaping json in Mako templates
SEC-27: XSS/JS Error in Advanced Settings with invalid course name
2015-11-03 10:38:39 -05:00
Qubad786
36fe97c6c8
Bug fix: Added test cases and updated course info and index view with exception handling
...
TNL-3643
2015-11-03 12:43:47 +05:00
Matt Drayer
b900221ca4
Merge pull request #10394 from edx/asadiqbal08/SOL-1292
...
asadiqbal08/SOL-1292 Entrance Exam is not imported with an imported course
2015-11-02 10:14:47 -05:00
asadiqbal
bf0affc25d
SOL-1292
2015-11-02 14:33:12 +05:00
chrisndodge
7868067879
Merge pull request #9744 from edx/cdodge/timed-exams
...
Timed Exams
2015-10-30 11:03:59 -04:00
Muhammad Shoaib
9476898df0
Add Timed Exams as a feature to edx-platform
2015-10-30 08:44:33 -04:00
David Ormsbee
87ded08d49
Merge pull request #10389 from edx/mobile/handler-url
...
Changes to handler URL generation
2015-10-29 11:39:35 -04:00
Peter Fogg
505b2aa4d9
Disable setting course pacing during course run.
...
Also adds improved styling for course pacing settings, and unit tests
around query counts for self-paced courses.
ECOM-2650
2015-10-28 16:44:36 -04:00
Peter Fogg
5ffa06bed1
Responding to review comments.
2015-10-28 16:44:36 -04:00
Peter Fogg
7f673604fb
Allow setting self-paced on schedule & details page.
...
Currently unstyled.
ECOM-2462
2015-10-28 14:33:11 -04:00
Peter Fogg
0107525d41
Enable self-paced courses behind a feature flag.
2015-10-28 14:33:11 -04:00
Peter Fogg
9d88bef117
Allow setting self_paced through course details endpoint.
...
ECOM-2489
2015-10-28 14:33:11 -04:00
Peter Fogg
dc7f09fc0e
Add self_paced field to course module.
2015-10-28 14:33:11 -04:00
David Ormsbee
9b88bdb072
Changes to handler URL generation
...
* The LMS now also monkey-patches
xmodule.x_module.descriptor_global_handler_url and
xmodule.x_module.descriptor_global_local_resource_url so that we can
get LMS XBlock URLs from the DescriptorSystem. That functionality is
needed in the block transforms collect() phase for certain XModules
like Video. For instance, say we want to generate the transcripts
URLs. The collect phase is run asynchronously, without a user context.
* The URL handler monkey-patching is now done in the startup.py files
for LMS and Studio. Studio used to do this in the import of
cms/djangoapps/contentstore/views/item.py. This was mostly just
because it seemed like a sane and consistent place to put it.
* LmsHandlerUrls was removed, its handler_url and local_resource_url
methods were moved to be top level functions. The only reason that
class existed seems to be to give a place to store course_id state,
and that can now be derived from the block location.
* To avoid the Module -> Descriptor ProxyAttribute magic that we do
(which explodes with an UndefinedContext error because there is no
user involved), when examining the block's handler method in
handler_url, I made a few changes:
** Check the .__class__ to see if the handler was defined, instead of the
block itself.
** The above required me to relax the check for _is_xblock_handler on the
function, since that will no longer be defined.
90% of this goes away when we kill XModules and do the refactoring we've
wanted to do for a while.
2015-10-28 09:42:59 -04:00
Matt Drayer
a2fa59cd4b
Merge pull request #10308 from edx/ziafazal/SOL-1332
...
SOL-1332: use a generic function to check if entrance_exam feature is enabled or not
2015-10-26 09:46:22 -04:00
Ben Patterson
1032d37271
Revert "Public Course Import/Export API (continued)"
2015-10-23 20:02:34 -04:00
Peter Pinch
e7708e5a04
Merge pull request #8942 from mitocw/bdero/import-export-reprise
...
Public Course Import/Export API (continued)
2015-10-23 15:03:38 -04:00
Andy Armstrong
054aa95b26
Allow non-public XBlock assets in debug mode
2015-10-22 11:09:02 -04:00
Zia Fazal
9bb6f6e88d
use a generic function check if entrance_exam is enabled or not
2015-10-22 16:45:19 +05:00
Matt Drayer
5ed97e90f3
Merge pull request #10248 from edx/ziafazal/SOL-1319
...
SOL-1319: removed entrance exam dependency on ENABLE_MKTG_SITE
2015-10-21 10:16:56 -04:00
Zia Fazal
80abf159ee
removed entrance exam dependency on ENABLE_MKTG_SITE
...
changes after feedback from Matt D
set default value of entrance_exams feature flags to false
2015-10-21 15:21:26 +05:00
Adam
ab78069a33
Merge pull request #10246 from edx/merge-release-into-master
...
Merge release into master
2015-10-19 11:13:49 -05:00
Matt Drayer
1eab25f292
mattdrayer/increment-edx-lint: Bump to v0.2.9 and address pylint/pep8 violations
...
* Fix paver violations to stablize edx-lint update
* Parens, Line2Long
* Fix missing docstrings
* Fix PEP8 issues
* Address PR feedback (thanks @nedbat!)
2015-10-19 10:11:59 -04:00
Adam Palay
9b3841f62c
Merge remote-tracking branch 'origin/release' into merge-release-into-master
...
Conflicts:
lms/djangoapps/teams/views.py
lms/templates/courseware/progress.html
2015-10-19 08:35:33 -05:00
Zia Fazal
0f637fdc95
check MILESTONES_APP when checking prerequisite courses enabled
2015-10-16 12:53:55 +05:00
Awais Jibran
2813b1269e
Published orphans in split breaks preview button in Studio
2015-10-12 15:00:49 +05:00
mushtaqali
296f75a07c
Add template escaping in forums, progress page and course container TNL-2395, TNL-2394, TNL-2393
2015-10-07 11:20:51 -04:00
Diana Huang
0248f8af6d
Add new clickjacking decorator that whitelists LTI consumers.
2015-10-07 11:20:51 -04:00
Calen Pennington
8267a762c0
Move *ModuleStoreBuilders into xmodule.modulestore.tests.utils
2015-10-01 16:52:39 -04:00
Mushtaq Ali
11741f118f
'force_publish' command for publishing a course forcefully by making the published branch point to the same structure as the draft branch. add force_publish functionality to split courses.
2015-10-01 15:46:37 +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
Brandon DeRosier
c608c6bdd3
Fix library error dialog link in Import/Export API
2015-09-24 09:01:55 -04:00
Brandon DeRosier
edf7d9965e
Revert "Revert "edX Course/Library Import/Export API""
...
This reverts commit 2bfbda3c1e .
2015-09-24 09:01:00 -04:00
Matt Drayer
ffb7f9b9a0
Merge pull request #9804 from edx/asadiqbal08/SOL-1224
...
SOL-1224 Verified Preview not showing
2015-09-20 22:50:00 -04:00
Bill DeRusha
271bc54071
Merge pull request #9765 from edx/bderusha/readonly-enrollment
...
Readonly for enrollment end date/time on edX (for non-global-staff)
2015-09-18 10:14:15 -04:00
Bill DeRusha
c6b54aa61f
Readonly for enrollment end date/time on edX (for non-global-staff)
...
TNL-2694
Add accessibility aria-readonly attributes
2015-09-18 09:39:18 -04:00
asadiqbal
287cc843df
SOL-1224
2015-09-18 11:19:12 +05:00
Peter Fogg
0a2cfbe31c
Merge pull request #9738 from edx/peter-fogg/change-studio-help-links
...
Remove Tender and change Studio help links.
2015-09-17 22:42:57 -04:00
Kevin Falcone
81abdbe81b
Merge pull request #9819 from edx/release
...
Release
2015-09-17 21:30:48 -04:00
Peter Fogg
fec5129a49
Remove Tender and change Studio help links.
...
TNL-2695
2015-09-17 16:30:40 -04:00
Adam Palay
8aa23de55a
add ability to delete published orphans from courses (PLAT-832)
...
fix quality violations
create child parent mapping to avoid potential performance hit when deleting items
2015-09-17 11:52:19 -04:00
Adam Palay
8834bbad90
delete_item should not delete any child that has a parent we do not intend to delete
2015-09-17 11:52:18 -04:00