Usman Khalid
8f3cfa5a5f
When creating a course in studio set a unique wiki_slug for it.
...
Currently wiki_slug is set to course number. However, since multiple
courses can have the same number this may lead to clashes. So wiki_slug
will be set to org.course.name. To maintain the active wiki_slugs for
xml courses this cannot be changed in the CourseDescriptor.
LMS-2136
2014-03-10 16:13:18 +05:00
Chris Dodge
aa43689a93
This PR addresses the open feedback on the Microsites feature
2014-02-28 16:27:12 -05:00
zubair-arbi
2cb3cc3621
Merge pull request #2238 from zubair-arbi/zub/bugfix/std154-courseinfohtml
...
update course info module to save content without modifying
2014-02-26 21:34:10 +05: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
zubiar-arbi
cfa6b14575
update course info module to save content in new 'items' field + update import/export to handle content field other than 'data' or 'metadata'
...
STUD-154
2014-02-26 13:11:59 +05:00
zubiar-arbi
6b3c5e7d60
get updates_location from course_location directly + update tests
...
STUD-1248
2014-02-24 12:56:09 +05:00
zubiar-arbi
62a32cda21
add course updates location to loc_mapper on accessing course_info_update_handler
...
STUD-1248
2014-02-24 12:56:09 +05:00
David Baumgold
33f56e1bba
Call unicode() instead of str() for textbook IDs
...
STUD-1327
2014-02-20 14:58:17 -05:00
zubiar-arbi
6892bc73b2
get courses by reversing django groups for non global users (studio dashboard)
...
STUD-1133
2014-02-20 20:23:12 +05:00
zubiar-arbi
88690dab1d
resolve conflict on rebase
2014-02-20 20:21:52 +05:00
Ali Reza Sharafat
85058ec460
Course short descriptions -- couple of more asserts and pep8 fixes
2014-02-12 20:24:26 +00:00
cahrens
fc1e8fae2e
Remove unused imports.
2014-02-10 16:08:59 -05:00
Don Mitchell
1de9d55844
Review-driven changes (to-be-squashed)
2014-02-05 16:34:24 -05:00
Don Mitchell
b8ea7f3c43
update_item and other refactorings continued
2014-02-05 10:24:24 -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
Andy Armstrong
89c2f4dd28
Implement a course outline REST API
...
STUD-1192
2014-01-22 12:00:26 -05:00
Don Mitchell
3885e6cf78
Merge branch 'release'
...
Conflicts:
lms/templates/help_modal.html
lms/templates/index.html
2014-01-16 12:51:22 -05:00
Don Mitchell
3ebac80778
Replace authz fns with roles.py ones
...
STUD-1006
2014-01-14 17:04:44 -05: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
Don Mitchell
b7368ef69a
Change course_id to package_id
...
on new Locators to make it clear that they have a different syntax
than Location.course_id altho they represent the same info.
2013-12-20 16:16:50 -05:00
Don Mitchell
b776590226
Rename BlockUsageLocator's block_id field from usage_id
...
usage_id implies self-sufficiency. The block_id is relative to its structure.
2013-12-17 12:15:32 -05:00
Don Mitchell
3bd76f98e9
Use mongo indices for all queries
...
STUD-1039
2013-12-13 14:34:34 -05:00
cahrens
ec55d8c1a9
Create explicit Locations.
...
STUD-1030
2013-12-11 10:03:34 -05:00
David Baumgold
d8103d4377
course.save() is no longer necessary
2013-12-05 13:21:55 -05:00
David Baumgold
c93198235e
Pass PDF textbooks to template separately
2013-12-05 13:19:00 -05:00
David Baumgold
0d3490374e
Refactor textbooks to use locator URLs
...
STUD-945
2013-12-05 13:13:28 -05:00
David Baumgold
f3f4af8087
settings.MITX_FEATURES => settings.FEATURES
2013-12-03 15:34:55 -05:00
David Baumgold
69899e24df
Merge pull request #1823 from edx/db/mitxmako-edxmako
...
mitxmako => edxmako
2013-12-03 11:36:50 -08:00
David Baumgold
8eff442752
mitxmako => edxmako
2013-12-03 14:15:09 -05:00
Don Mitchell
9dc68b03a0
Improve auth handling of Locators
...
Ensure user admin screen gets the union of all possibly matching group names.
Smarter default group naming.
STUD-1003
2013-12-02 15:28:22 -05:00
Don Mitchell
7f91ce40ae
Restful api for course advanced settings
...
STUD-948
2013-11-26 10:17:52 -05:00
Don Mitchell
17864353a5
Restful course settings
...
STUD-946
STUD-947
2013-11-22 10:55:35 -05:00
cahrens
a170c6f4e7
Change save_item and create_item to RESTful URL.
...
Part of STUD-847.
2013-11-14 11:03:31 -05:00
Don Mitchell
99e7daf796
RESTful refactoring for course_info updates and handouts.
...
html page and update access use 2 different urls
GET update can get an individual update
STUD-944
2013-11-13 13:16:41 -05:00
Don Mitchell
f41816637e
RESTful refactoring of /course access continued
...
Move index access into the url
Move course creation into the url
Add helper methods for testing to serialize json data and set accept header.
2013-10-30 13:28:22 -04:00
Don Mitchell
45453fae61
Change expect_json to put parsed json in new attr
2013-10-29 16:13:58 -04:00
cahrens
39a8d07e47
Update URLs for assets.
2013-10-24 16:00:56 -04:00
Christina Roberts
286ae9e73d
Merge pull request #1470 from edx/christina/cleanup-course-index
...
Get rid of course_index shim.
2013-10-24 09:22:36 -07:00
cahrens
12488db015
Get rid of course_index shim.
2013-10-24 11:35:02 -04:00
Don Mitchell
3a6a9ee009
tighten case-insensitive test to require full string match
2013-10-24 11:24:37 -04:00
Don Mitchell
277f327690
Require course ids to be case-insensitively unique
2013-10-23 15:47:07 -04:00
Don Mitchell
8902a89fbc
Have urls.py fully parse locator url
2013-10-22 10:44:03 -04:00
Don Mitchell
4f60a30afc
Remove as_old_location methods
...
They were incorrect if there were periods in the org or name.
2013-10-21 17:17:20 -04:00
Don Mitchell
010905eb99
RESTful api for getting course listing and opening course in studio.
...
Pattern for how to do refactoring from locations to locators and from
old style urls to restful ones.
2013-10-16 16:54:31 -04:00
Adam Palay
300f7f13a6
fix pep8 and pylint errors
...
Conflicts:
cms/djangoapps/contentstore/views/course.py
common/lib/xmodule/xmodule/tests/test_combined_open_ended.py
lms/envs/common.py
2013-09-03 14:55:11 -04:00
cahrens
a061c7ece7
Rewriting of links for Course Updates and Course Handouts.
...
STUD-669.
2013-08-29 14:35:16 -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
Julian Arni
80619da429
Review fixes
2013-08-15 10:24:38 -04:00
Julian Arni
3ed4198204
Contentstore views pylint fixes
2013-08-14 19:10:00 -04:00