Nimisha Asthagiri
88ad29d166
LMS-11016 Studio server-side for course_listing and course_rerun.
...
Conflicts:
cms/djangoapps/contentstore/tests/test_course_listing.py
2014-07-29 15:04:17 -04:00
cahrens
66173ab9e6
Add "visible_to_staff_only" field to support staff locking in Studio.
...
STUD-1875
2014-07-14 14:46:40 -04:00
Diana Huang
97331d4c16
Fix merge conflict
2014-07-11 15:40:09 -04:00
Mat Peterson
4f6088cbd1
Fixed some isinstance errors with opaque-keys
2014-07-11 15:40:08 -04:00
Nimisha Asthagiri
f5abef88c2
LMS-2947 remove get_error_courses in Split.
...
LMS-2950 move delete_course to Mongo.
2014-07-09 21:10:12 -04:00
Nimisha Asthagiri
ce9aea80b1
Move context_managers to base class, overridden by mixed.
2014-07-09 15:55:53 -04:00
Ben McMorran
f670ff74e4
Uses ModuleStoreEnum in is_xblock_visible_to_students
2014-06-30 15:34:39 -04:00
Ben McMorran
397bdb4348
Adds is_xblock_visible_to_students
2014-06-27 14:52:14 -04:00
Nimisha Asthagiri
a9213509c3
Enable Mixed Modulestore STUD-1540
...
Refactor get_parent_locations STUD-1663
2014-06-26 18:00:11 -04:00
Calen Pennington
cfcbdc0145
Move to OpaqueKey implementations from the external library
...
[LMS-2757]
2014-05-29 17:03:35 -04:00
Don Mitchell
1be1283f26
Redirect most studio access through draft modulestore
...
rather than have caller figure out whether to call draft or direct.
Fixes get_children to always find draft children in studio.
STUD-1662
2014-05-27 11:16:29 -04:00
Calen Pennington
0d88379eeb
Make course ids and usage ids opaque to LMS and Studio [partial commit]
...
This commit adds all of cms.
These keys are now objects with a limited interface, and the particular
internal representation is managed by the data storage layer (the
modulestore).
For the LMS, there should be no outward-facing changes to the system.
The keys are, for now, a change to internal representation only. For
Studio, the new serialized form of the keys is used in urls, to allow
for further migration in the future.
Co-Author: Andy Armstrong <andya@edx.org >
Co-Author: Christina Roberts <christina@edx.org >
Co-Author: David Baumgold <db@edx.org >
Co-Author: Diana Huang <dkh@edx.org >
Co-Author: Don Mitchell <dmitchell@edx.org >
Co-Author: Julia Hansbrough <julia@edx.org >
Co-Author: Nimisha Asthagiri <nasthagiri@edx.org >
Co-Author: Sarina Canelake <sarina@edx.org >
[LMS-2370]
2014-05-07 12:56:43 -04:00
zubiar-arbi
7b5c647c8e
properly remove users from instructor/staff groups on a course delete
...
STUD-1555
2014-04-24 17:11:19 +05:00
Jay Zoldak
c5a7911b87
Fix pylint disable pragmas that were pep8 violations
2014-03-20 10:18:40 -04:00
cahrens
dd22bf49a3
Update tests and minor cleanup.
2014-03-12 16:13:07 -04:00
Andy Armstrong
ad27107343
Support making drafts of nested xblocks
2014-03-12 19:33:52 +00:00
zubiar-arbi
cf47b6b670
assign default forum role 'Student' to user on course recreate with same name STUD-1140
...
STUD-1140
2014-02-26 15:40:44 +05:00
Don Mitchell
81a92e4bfc
Consolidate course_id triple parsing
2014-02-24 11:45:59 -05:00
Don Mitchell
c601b75675
MixedModulestore wraps most getters, update_item, delete_item
...
with code to translate between addressing schemes based on app
and persistence layer addressing scheme specification.
STUD-1206
2014-02-05 09:34:30 -05:00
Jay Zoldak
bc30addfb9
Unicode changes to support QRF
...
fixing unit tests
fixing merge error
fixing xqueue submission issue with unicode url (trial 0.1)
fixing fotmats as commented upon
removing yaml file language selection
Unicode changes to support QRF
removed unnecessary pass in modulestore/init.py
fixing merge error
fixing fotmats as commented upon
removing yaml file language selection
fixing pep8 violations
- fixing pylint violations
pylint violation
fixing line spaces and formats
ignore pylint E1101
remove empty line
fixing pylint violations
pep8 violations
bulk mail unicode/decode
fix migration error
fix pep8 just to push again
more unicode/decode
Final changes to comments and error messages.
2014-01-30 16:20:36 -05:00
Calen Pennington
a6035698d5
Correctly compute course image location when using mongo modulestore
...
[LMS-2073]
[STUD-1197]
2014-01-22 07:17:40 -05:00
Don Mitchell
3ebac80778
Replace authz fns with roles.py ones
...
STUD-1006
2014-01-14 17:04:44 -05:00
cahrens
ec55d8c1a9
Create explicit Locations.
...
STUD-1030
2013-12-11 10:03:34 -05:00
David Baumgold
f3f4af8087
settings.MITX_FEATURES => settings.FEATURES
2013-12-03 15:34:55 -05:00
Anton Stupak
aecc20af6b
Add Timed Transcripts Editor.
2013-10-22 21:45:03 +03:00
Chris Dodge
955e54c2e6
refactor some code out of the django-admin entry point into a help function in CMS. Update tests to use new method
2013-09-13 09:07:01 -04:00
Peter Fogg
e4302e62d2
Allow course image uploads in the settings page.
...
Authors can upload an image (or choose an existing one) from the
settings page, using the in-context uploader from PDF
textbooks. Includes tests for backwards compatibility with XML courses
-- they used a magic filename (images/course_image.jpg) which is
mapped to a location in the Mongo contentstore.
Still needs some UX work, though the backend plumbing is there.
2013-08-21 09:42:00 -04:00
cahrens
e0aa46ab2d
Make split mongo read-only API consistent with other modulestores.
2013-08-13 15:06:08 -04:00
David Baumgold
6a9074e185
Removed get_url_reverse function
...
It was causing unit tests to fail, and it's a needless bit of abstraction that
never should have existed in the first place.
2013-07-29 13:11:48 -04:00
Don Mitchell
3722685e1a
No longer persist XModule templates
...
Instead, we use XModule field default values when creating an empty
XModule. Driven by this use case, we also allow for XModules to be
created in memory without being persisted to the database at all. This
necessitates a change to the Modulestore api, replacing clone_item with
create_draft and save_xmodule.
2013-07-16 14:33:58 -04:00
David Baumgold
a6f349dab9
Studio i18n
2013-07-12 16:25:39 -04:00
David Baumgold
437e658f98
pylint fixes
2013-07-09 19:16:44 -04:00
Don Mitchell
8b23eeca7e
Minor pylint/whitespace changes
2013-06-25 22:34:29 -04:00
Don Mitchell
1ff022e181
Incidental pep8 changes
2013-06-18 17:25:06 -04:00
Don Mitchell
2266028921
Have the draft module store actively prevent non-leaf nodes from being
...
saved as draft.
2013-06-07 15:40:30 -04:00
cahrens
c715edf57a
Strip off https://
2013-06-06 10:55:41 -04:00
cahrens
39397c5c2f
Bullet-proofing for MKTG_URLS.
2013-06-06 10:29:10 -04:00
cahrens
93be67d49a
Fix bug STUD-103. The url base for about page links needs to be www.edx.org for Drupal site, vs. LMS_BASE which is used for Studio. Note that the complete URL is still not correct, but a redirect exists to take it to the new location.
2013-06-03 15:21:02 -04:00
cahrens
522b76e847
PREVIEW_LMS_BASE must now be set (default value does not work for both edge and edx).
...
https://edx.lighthouseapp.com/projects/102637/tickets/331
2013-05-23 16:27:05 -04:00
Arthur Barrett
0ed07779c8
kludged in the note tab panel so it can be turned on and off using the policy editor by adding "notes" to "advanced_modules."
2013-05-07 17:27:06 -04:00
Chris Dodge
6d6b3a59fe
violation fixes
2013-04-12 15:27:36 -04:00
Chris Dodge
b640866748
Merge branch 'master' of github.com:MITx/mitx into fix/cdodge/studio-forum-improvements
...
Conflicts:
common/lib/xmodule/xmodule/x_module.py
2013-04-03 14:05:59 -04:00
cahrens
8ace7fe57c
Merge branch 'master' into bug/christina/studio
...
Conflicts:
cms/djangoapps/contentstore/views.py
common/lib/xmodule/xmodule/capa_module.py
common/lib/xmodule/xmodule/combined_open_ended_module.py
common/lib/xmodule/xmodule/peer_grading_module.py
2013-04-01 12:30:07 -04:00
cahrens
16f4a3f9c1
Convert due date to a Date (vs. a string with no year).
2013-04-01 11:37:05 -04:00
chrisndodge
1c47573bd7
Merge pull request #1669 from MITx/fix/vik/add-oe-tab
...
Fix/vik/add oe tab
2013-03-29 13:55:58 -07:00
Vik Paruchuri
033f5ce73c
Make process to add open ended tab to studio reversible
2013-03-29 15:53:28 -04:00
Chris Dodge
60e295895e
remove unused parameter
2013-03-29 15:26:21 -04:00
Vik Paruchuri
b8e6c94dd6
Add in a comment
2013-03-29 13:57:16 -04:00
Vik Paruchuri
20bbf75fba
Merge remote-tracking branch 'origin/master' into fix/vik/add-oe-tab
...
Conflicts:
cms/djangoapps/contentstore/utils.py
cms/djangoapps/contentstore/views.py
cms/djangoapps/models/settings/course_metadata.py
2013-03-29 13:10:47 -04:00
Chris Dodge
8fdeee06ed
Merge branch 'master' of github.com:MITx/mitx into fix/cdodge/studio-forum-improvements
...
Conflicts:
cms/one_time_startup.py
common/lib/xmodule/xmodule/modulestore/mongo.py
2013-03-28 13:27:29 -04:00