Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update from vetrolamu #2

Merged
merged 449 commits into from
Aug 1, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
449 commits
Select commit Hold shift + click to select a range
cba9827
Merge pull request #443 from edx/tsinghuax/cms-i18n-leftovers
cpennington Jul 22, 2013
9fe4cb7
Use Backbone notifications for course section delete.
Jul 15, 2013
5029f46
Use Backbone notifications for component delete.
Jul 15, 2013
75edc65
Use Backbone notifications for setting graded status.
Jul 15, 2013
fb0fcc3
Factor out common code between module editing and course overview.
Jul 16, 2013
ec02a4f
Studio: changed the copy and prompt type for unit + outline deletions
talbs Jul 17, 2013
925f0a5
Remove `@xhr.restore()` to fix tests.
Jul 17, 2013
0e0ceb4
updated flag icons to be font-awesome based
marcotuts Jun 14, 2013
9c45293
updated pinning icons and removed images
marcotuts Jun 14, 2013
c4a21fc
Merge pull request #403 from edx/peter-fogg/fix-stud-421
Jul 22, 2013
8d49007
blankslate edited, header bar now with home button
marcotuts Apr 12, 2013
47b51e9
Add endpoints to set user notification preference
Jul 5, 2013
790328d
Add acceptance test for one-click unsubscribe page
Jul 17, 2013
38e040a
basic shell for discussion home page with both profile information an…
marcotuts Jun 3, 2013
4cd99c1
Update diff-cover to latest version
Jul 22, 2013
6629d5d
Merge branch 'master' into talbs/studio-authorship
Jul 22, 2013
f780369
Merge pull request #453 from edx/yarko/vagrant-up-fix
singingwolfboy Jul 22, 2013
e3e6fd2
Remove commented-out code and add test.
Jul 22, 2013
b51aa31
PDF uploader dialog refers to "PDF" instead of "asset"
singingwolfboy Jul 22, 2013
ca2bb0e
PDF Upload button now refers to "PDF" rather than "asset"
singingwolfboy Jul 22, 2013
2c9e4ca
addition of font-awesome to LMS sass vendor assets, in additio nto li…
marcotuts Jun 4, 2013
37c9de7
cleaned up font-awesome integration to work with new mako file .scss …
marcotuts Jun 4, 2013
e2f02cd
cleaned up variables styling to sync up closer to studio, incorporate…
marcotuts Jun 5, 2013
e87d071
basic shell for home page exists, along with start of color cleanup f…
marcotuts Jun 12, 2013
a9ea00a
removed border to the right of discussion list
marcotuts Jun 12, 2013
78ffc12
cleaned up margin and padding to use baseline variable
marcotuts Jun 12, 2013
d8498bf
new post button using font-awesome
marcotuts Jun 14, 2013
646ff9e
removed new post icon and added font-awesome replacement
marcotuts Jun 14, 2013
9eca557
updated flag icons to be font-awesome based
marcotuts Jun 14, 2013
3495ceb
modified html for discussion home to use tables instead of lists, cle…
marcotuts Jun 26, 2013
83b4dc6
final cleanup from git rebase
marcotuts Jul 22, 2013
747102c
additional git rebase cleanup
marcotuts Jul 22, 2013
4f9a290
Link section to course outline
Jul 22, 2013
5168a08
Don't add users marked with is_staff to course creation table.
Jul 22, 2013
e6fd3b3
Merge pull request #459 from edx/gprice/notification-setting-endpoints
Jul 22, 2013
d87dba9
Correctly persist checklist settings.
Jul 22, 2013
5b3cb53
visual cleanup for discussion home bar
marcotuts Jul 22, 2013
820544c
pin and flag icons using fontawesome now render properly through inli…
marcotuts Jul 22, 2013
060b2e1
Trim whitespace when adding course authors.
Jul 22, 2013
305bc23
Merge pull request #465 from edx/peter-fogg/fix-stud-485
Jul 22, 2013
a9fb82c
Make XModuleDescriptor use the XBlock children API
cpennington Jul 22, 2013
4a3b680
Merge pull request #447 from edx/talbs/studio-fix-title
talbs Jul 22, 2013
0833181
Studio: updates older extend references and solves Sass warnings/dupe…
talbs Jul 22, 2013
af522af
formatting
adampalay Jul 22, 2013
b744aaa
make sure parsed times are set to UTC
adampalay Jul 22, 2013
b2b3a50
convert datetime.now() to datetime.now(UTC) for xqueue
adampalay Jul 22, 2013
2b40462
convert all datetime.now() to datetime.now(UTC)
adampalay Jul 22, 2013
1eaba8b
Merge pull request #41 from edx/alex/word_cloud_course_factory
auraz Jul 23, 2013
4c3a017
Merge pull request #462 from edx/cale/use-xblock-children-api
cpennington Jul 23, 2013
4ee16f1
Add diff-quality rake task (`rake quality`)
Jul 22, 2013
89705f2
Merge pull request #461 from edx/db/change-asset-to-pdf
singingwolfboy Jul 23, 2013
3d49a46
Add error handler.
Jul 23, 2013
1da5af5
Studio: revises styling/message copy for authorship rights request error
talbs Jul 23, 2013
8c94be8
Merge pull request #436 from edx/fix/cdodge/stop-using-unmunged-urlna…
Jul 23, 2013
69e8d4d
Merge pull request #469 from edx/peter-fogg/fix-stud-486
Jul 23, 2013
6eac259
Merge pull request #415 from edx/peter-fogg/notification-stories
Jul 23, 2013
1c79b9c
add a /jump_to_id/ shortcut for producing more durable links between …
Jul 21, 2013
63c5cfd
add comment and fix mistake in test
Jul 21, 2013
059450c
Studio: revises HTML and styling around new unit ID on unit view
talbs Jul 22, 2013
80e0b99
add a reference in the toy course to the test jump_to_id HTML module
Jul 22, 2013
e24eb3e
added explicit unit test to verify the link rewriting
Jul 22, 2013
565564a
add input/output information in doc strings
Jul 23, 2013
345d2af
address review feedback
Jul 23, 2013
f78e3a2
fix fat finger string formatting
Jul 23, 2013
c5ef8dc
add line break between arguments
Jul 23, 2013
6f3b49a
add some chinese characters to the test content
Jul 23, 2013
3a5e1c7
Merge pull request #463 from edx/fix/jkarni/linkoutline
Jul 23, 2013
b76e738
Merge pull request #452 from edx/feature/cdodge/add-jump-to-substituions
Jul 23, 2013
8584aae
It seems like self.tabs is getting set to an empty set [] now rather …
Jul 23, 2013
77a23a3
reordered email settings checkbox to impact styling for icon and clea…
marcotuts Jul 23, 2013
0b6932f
add new test to assert that course creation will populate default tab…
Jul 23, 2013
ea31b17
Fix up auto auth tests.
Jul 23, 2013
c6c3e4b
working under cms too
ihoover Jul 23, 2013
4148c00
resolve conflicts
ihoover Jul 23, 2013
2926c94
Prevent XSS attack via submission_history page.
dianakhuang Jul 22, 2013
31e1b0e
Studio: revises spacing fix for welcome to edX studio title
talbs Jul 22, 2013
402ae4d
added csrf tests
ihoover Jul 23, 2013
077f0a2
Merge pull request #481 from edx/fix/cdodge/regression-on-tabs-initia…
Jul 23, 2013
09dc468
Merge pull request #482 from edx/hotfix-2013-07-23
dianakhuang Jul 23, 2013
86ee2bc
Merge branch 'release'
dianakhuang Jul 23, 2013
420b092
Merge pull request #467 from edx/fix/adam/file-upload
adampalay Jul 23, 2013
76055aa
Add a manage.py command that understands the extra edX options
cpennington Jul 20, 2013
8e12590
Merge pull request #451 from edx/cale/add-a-manage.py-command-that-un…
cpennington Jul 24, 2013
3774ea1
Add an XBlock student_view to XModule
cpennington Jul 23, 2013
2d085c4
Add xlint check for any policy fields whose default changed.
Jul 24, 2013
400ff49
Remove presumption of user's intent for imported xml attrs
Jul 24, 2013
3e9bbe2
Make cms.dev environment work with manage.py
cpennington Jul 24, 2013
dd338c1
Merge pull request #477 from edx/cale/xmodule-student-vieww
cpennington Jul 24, 2013
e223d75
Merge pull request #489 from edx/dhm/export_policy
dmitchell Jul 24, 2013
a569a5f
Merge pull request #490 from edx/cale/make-cms.dev-environment-work-w…
cpennington Jul 24, 2013
1a0055a
Blank common and advanced problems now display an inline score of '0 …
rlucioni Jul 24, 2013
56883d6
csrf test fix
ihoover Jul 23, 2013
fd304c4
Change git clone protocal to https
Jul 25, 2013
6923687
Merge pull request #460 from edx/sarina/update-diffcover
sarina Jul 25, 2013
5d106ee
Merge branch 'master' into feature/kevin/email_notifications_panel
kevinchugh Jul 25, 2013
214a814
Adjustment to show sequence tool tips in LMS
caesar2164 Jul 22, 2013
d95693e
hook up panel to new stats service
kevinchugh Jul 25, 2013
1bcafd3
Make the service-variant flag on manage.py longform only
cpennington Jul 25, 2013
2efcb0c
Change default names for various LMS components
adampalay Jul 24, 2013
30baebd
Merge pull request #494 from edx/renzo/blank-problem-score
rlucioni Jul 25, 2013
c80a05f
Merge pull request #471 from edx/giulio/fix-tooltips
sarina Jul 25, 2013
aad6dc4
Merge pull request #417 from edx/ihoover/feature_flag_auto_auth
ihoover Jul 25, 2013
60d60de
Use format for strings instead of %.
Jul 25, 2013
628994d
i18n "Create a New Course".
Jul 25, 2013
c6b5178
Merge pull request #498 from edx/cale/make-the-service-variant-flag-o…
cpennington Jul 25, 2013
df12529
Misc improvements to make lettuce testing a bit saner
singingwolfboy Jul 24, 2013
802d36c
Add an XBlock studio_view to XModuleDescriptors
cpennington Jul 23, 2013
6418a1c
Allow user API access in dev environments
Jul 25, 2013
dc90736
Allow user id filtering in user preference API
Jul 25, 2013
a90d7b5
Merge pull request #491 from edx/lettuce-improvements
singingwolfboy Jul 25, 2013
50d35b3
Fix failing acceptance test
Jul 25, 2013
62a5455
fixes back nav button
adampalay Jul 25, 2013
b143de1
Merge pull request #502 from edx/sarina/fix-discussion-acceptance
sarina Jul 25, 2013
8a715c1
Studio: using defined red color variables for error-based system mess…
talbs Jul 25, 2013
166aea6
Merge pull request #341 from edx/talbs/studio-authorship
Jul 26, 2013
57bc010
gst integration into studio
vasylnakvasiuk Jul 25, 2013
d1ed6fb
More xblock.save() calls to handle fields set during inits
Jul 29, 2013
23894d2
E-mail notifications to users when course creator status changes.
Jul 24, 2013
15665bb
Formatting updates.
Jul 24, 2013
b5506cf
Copy changes.
Jul 29, 2013
71c3f5e
edx.org: adds in variables/mixins to support edx.org visual changes
talbs Jul 24, 2013
69c792f
edx.org: applies edx.org visual changes (with overrides/new mixins)
talbs Jul 24, 2013
10964ee
edx.org: handles letter-spacing on buttons
talbs Jul 24, 2013
76b0a03
edx.org: revises iframe-based register/status buttons to match revise…
talbs Jul 24, 2013
0497944
edx.org: revising base link color variable to use darker value for ac…
talbs Jul 24, 2013
d61e4e5
edx.org: abstracting new edx.org button extends and colors with othe…
talbs Jul 24, 2013
2ee140e
edx.org: syncing up capitalization of register/login submit button copy
talbs Jul 24, 2013
a960998
Merge pull request #486 from edx/talbs/mktg-vizsync
talbs Jul 29, 2013
d453f47
Merge pull request #501 from edx/gprice/user-api-tweaks
Jul 29, 2013
393aa1d
Ensure parent update of children decaches correctly
Jul 29, 2013
0578175
Merge pull request #505 from edx/dhm/xblock_save
dmitchell Jul 29, 2013
e648347
Default branch info for release email script
cpennington Jul 22, 2013
087d35c
Studio course creator e-mails.
Jul 29, 2013
4c35a0f
Merge pull request #488 from edx/christina/emails
Jul 29, 2013
c240f65
Reformat JS
singingwolfboy Jul 22, 2013
21a3237
Reorganize URLs and views around course team
singingwolfboy Jul 22, 2013
5c356bd
Add button to add/remove instructor priviledges on course team page
singingwolfboy Jul 22, 2013
6a9074e
Removed `get_url_reverse` function
singingwolfboy Jul 23, 2013
b835f7c
Update a manage_user reverse call
singingwolfboy Jul 23, 2013
724ef2e
Fixing test failures
singingwolfboy Jul 23, 2013
97a02d4
Make assertion failure message more understandable
singingwolfboy Jul 23, 2013
f438552
Added unit tests for new course team API
singingwolfboy Jul 23, 2013
0682157
Test manage_users view for user that is a member of the course team
singingwolfboy Jul 23, 2013
c70bd5c
Remove whitespace from email addresses on the course team page
singingwolfboy Jul 23, 2013
b6c6954
Check for instructor role before removing it
singingwolfboy Jul 23, 2013
79c554b
course admin team: handle is_staff users
singingwolfboy Jul 24, 2013
4233146
Can't remove last instructor of a course
singingwolfboy Jul 24, 2013
a1b44af
Only instructors may make other instructors on a course
singingwolfboy Jul 24, 2013
8a10695
Extend runone script to accept pdb flags
singingwolfboy Jul 24, 2013
4a2b551
Studio: styles new user role controls and revamps course team UI
talbs Jul 25, 2013
91f192f
Added error prompts for the course team page
singingwolfboy Jul 25, 2013
5738e4f
Pull correct URL when changing user permissions for course team
singingwolfboy Jul 25, 2013
ecf855e
Fixup translations
singingwolfboy Jul 25, 2013
4183274
Correct course team admin badging logic
singingwolfboy Jul 25, 2013
e5ef5ef
Show disabled trash icon instead of not showing it at all
singingwolfboy Jul 25, 2013
deced24
Studio: refactored form-based Sass and revised markup/copy for cours…
talbs Jul 25, 2013
36a1087
Fix variable scoping issue in Mako template
singingwolfboy Jul 29, 2013
0bd25c0
Fix up lettuce tests for course team page redesign
singingwolfboy Jul 29, 2013
e4bd862
Updated changelog for course team admin story
singingwolfboy Jul 29, 2013
64566c1
Fix unit tests
singingwolfboy Jul 29, 2013
6276997
update checkbox with get settings
kevinchugh Jul 29, 2013
50ef0d1
Merge pull request #503 from edx/fix/back-button
adampalay Jul 29, 2013
13ca61b
fix merge conflict with _variables.scss
kevinchugh Jul 29, 2013
20ce33d
Fixed broken tests from chrome versioning
Jul 29, 2013
3bc34d7
Changed version requirement in testing.md
Jul 29, 2013
7507921
merge with Marcos new design
kevinchugh Jul 29, 2013
d1b503d
Only redirect when redirect url is an internal page.
dianakhuang Jul 24, 2013
eac1461
Load advanced_entry template on page, rather than via AJAX
singingwolfboy Jul 24, 2013
97fb08a
Make mitxmako.render_to_response not require a dictionary argument
singingwolfboy Jul 25, 2013
5b9e283
Load course info update template on page instead of via AJAX
singingwolfboy Jul 25, 2013
3729922
Removed course_info_handouts AJAX load
singingwolfboy Jul 25, 2013
8ed33b3
Merge pull request #478 from edx/cale/xmodule-descriptor-studio-view
cpennington Jul 29, 2013
f0d0da3
Merge pull request #454 from edx/cale/default-branch-info-for-release…
cpennington Jul 29, 2013
419207a
Fixed issues with problem-editor.feature
Jul 29, 2013
f938750
Merge pull request #495 from dangtrinh/vi_branch
singingwolfboy Jul 29, 2013
8ccaf62
add EDX_API_KEY to aws.py
Jul 29, 2013
6463bca
user_api: get username into user object
Jul 29, 2013
0c97320
Add (currently failing) test case around saving metadata.
Jul 29, 2013
ee46b3e
One click categories do not have animations
Jul 29, 2013
4afa548
set and get settings and fix discussion.css post-variable-apocalypse
kevinchugh Jul 29, 2013
ee90ab6
Merge pull request #514 from edx/peter-fogg/test-metadata-save
Jul 29, 2013
6980e9f
Studio: bulletproofs actions on course team view
talbs Jul 29, 2013
f347bd4
Change in signature for add_user_with_status_unrequested.
Jul 29, 2013
1edf616
Merge pull request #518 from edx/feature/jsa/us_username
Jul 29, 2013
f2a9d6f
Merge pull request #519 from edx/christina/course_creators
Jul 29, 2013
611dab0
Studio: places 'add team member' call to course team view
talbs Jul 29, 2013
b7d6d77
visual cleanup for email icon and discussion context label post branc…
marcotuts Jul 29, 2013
33d4ae6
add feature flag to enable/disable discussion home panel
Jul 29, 2013
06eb5cd
Merge branch 'feature/kevin/email_notifications_panel' of https://git…
Jul 29, 2013
47dbf2e
updates but getting status and setting status not working
kevinchugh Jul 29, 2013
62f6e2d
home button working, default to home when no thread selected
kevinchugh Jul 30, 2013
99f235e
first pass at jasmine tests
kevinchugh Jul 30, 2013
0207255
fix strange comment typo
Jul 30, 2013
8b6c278
copy changes
markchang Jul 30, 2013
8f98a1c
remove failing jasmine tests and print statements
kevinchugh Jul 30, 2013
79994b5
Merge branch 'feature/kevin/email_notifications_panel' of https://git…
Jul 30, 2013
803b92f
add ajax endpoint for getting notifications status
kevinchugh Jul 30, 2013
986a2cd
Merge branch 'feature/kevin/email_notifications_panel' of github.com:…
kevinchugh Jul 30, 2013
908fd46
notification_prefs: add ajax endpoint to get preference status
Jul 30, 2013
5c91edd
update coffeescript to use new status url
kevinchugh Jul 30, 2013
c3e609f
fix merge conflict
kevinchugh Jul 30, 2013
4f7edbf
fix notifications URL
kevinchugh Jul 30, 2013
e1e591f
address code review comments
kevinchugh Jul 30, 2013
7a7c070
notification_prefs/views: correct docstring
Jul 30, 2013
05f31f8
Merge branch 'feature/kevin/email_notifications_panel' of https://git…
Jul 30, 2013
d6f794c
gst module: add configuration and render properties
vasylnakvasiuk Jul 30, 2013
98fe2d4
Merge pull request #517 from edx/bug/jsa/edx_api_key
Jul 30, 2013
0d10a87
Merge pull request #499 from edx/diana/login-redirect
dianakhuang Jul 30, 2013
77a796e
Merge pull request #520 from edx/feature/kevin/email_notifications_panel
Jul 30, 2013
0967cb0
Fix word cloud modules not exporting correctly.
Jul 24, 2013
f355e4a
More general solution to word cloud export problems.
Jul 25, 2013
56c8057
fix for underscore template issue for xmodules
kevinchugh Jul 30, 2013
b8d1a13
Show dates when the data was collected in the instructor dashboard panel
Jul 23, 2013
4f5c2cc
Re-added missing render() call
singingwolfboy Jul 30, 2013
71bb527
Merge pull request #515 from edx/db/template-improvements
singingwolfboy Jul 30, 2013
39067fa
Merge pull request #29 from vetrolamu/master
vetrolamu Jul 30, 2013
4de1ab2
Merge pull request #523 from edx/feature/kevin/notifications_panel_xm…
kevinchugh Jul 30, 2013
27d32f1
Test reproducing the error: malformed course_update silently failing …
Jul 30, 2013
1fb4354
Wrap malformed course_update rather than silently failing update
Jul 30, 2013
5b30c06
Merge pull request #480 from edx/rocha/show-dates-in-instructor-analy…
rocha Jul 30, 2013
dd0f7bc
Fixed indenting and cleaned up if clause
Jul 30, 2013
f71b0f1
commit
vetrolamu Jul 30, 2013
be8adf4
Merge branch 'laboratory' of https://github.com/vetrolamu/edx-platfor…
vetrolamu Jul 30, 2013
6a7fa41
Merge pull request #526 from edx/dhm/yacibug
dmitchell Jul 30, 2013
2161961
Studio: corrects legend element copy on new user form
talbs Jul 30, 2013
c82ad6c
Studio: revises badge and create call to action design
talbs Jul 30, 2013
fba5058
Add a lettuce test for course team admins granting admin status
singingwolfboy Jul 30, 2013
512269f
Add descriptor for modules with empty XML data.
Jul 30, 2013
7a41855
Studio: adds logic to show add new user to team view
talbs Jul 30, 2013
573445a
Studio: adds badge UI firefox fix
talbs Jul 30, 2013
eaac4f8
Add a lettuce test for course team admins removing admin status
singingwolfboy Jul 30, 2013
0022469
Change "user" to "admin" in course team BDD descriptions
singingwolfboy Jul 30, 2013
7d7513b
Merge pull request #470 from edx/db/course-team-admin-grants
singingwolfboy Jul 30, 2013
9725cff
Remove get_preview_module.
Jul 30, 2013
61327bc
fix python code styles
vasylnakvasiuk Jul 31, 2013
a48c7cf
Replaced direct call to `browser.is_text_present()` with
Jul 31, 2013
99f9894
Switch LMS over to using XBlock rendering commands
cpennington Jul 24, 2013
1233d73
Merge pull request #497 from edx/alex/graphical_slider_tool_for_studio
vasylnakvasiuk Jul 31, 2013
bba0611
Merge pull request #532 from edx/jkarni/fix/superfluous-fn
Jul 31, 2013
4cb8f58
Quiet mongoimport noise during tests
nedbat Jul 30, 2013
15859dd
Merge pull request #522 from edx/ned/quiet-mongoimport-noise-during-t…
nedbat Jul 31, 2013
8d11c24
Merge pull request #516 from edx/jonahstanley/upgrade-chrome-version
Jul 31, 2013
25955a7
Merge pull request #492 from edx/peter-fogg/fix-stud-146
Jul 31, 2013
bc9c8e6
Merge pull request #31 from vetrolamu/laboratory
vetrolamu Jul 31, 2013
b27857c
Merge pull request #534 from edx/will/fix-signup-test
Jul 31, 2013
e43dbd2
Merge pull request #487 from edx/cale/lms-xblock-student-view
cpennington Jul 31, 2013
9ab21be
fix for ie bug where drop down menus were still clickable when collapsed
Jul 31, 2013
2ac2755
Merge pull request #537 from edx/fix/frances/studio-ie-menu-bug
frrrances Jul 31, 2013
d78af79
1st commit
Jul 31, 2013
df7aabb
1st commit
Jul 31, 2013
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .bundle/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
BUNDLE_BIN: bin
3 changes: 3 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,6 @@ Felix Sun <[email protected]>
Adam Palay <[email protected]>
Ian Hoover <[email protected]>
Mukul Goyal <[email protected]>
Robert Marks <[email protected]>
Yarko Tymciurak <[email protected]>

24 changes: 23 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,30 @@ These are notable changes in edx-platform. This is a rolling list of changes,
in roughly chronological order, most recent first. Add your entries at or near
the top. Include a label indicating the component affected.

Studio: Send e-mails to new Studio users (on edge only) when their course creator
status has changed. This will not be in use until the course creator table
is enabled.

LMS: Added user preferences (arbitrary user/key/value tuples, for which
which user/key is unique) and a REST API for reading users and
preferences. Access to the REST API is restricted by use of the
X-Edx-Api-Key HTTP header (which must match settings.EDX_API_KEY; if
the setting is not present, the API is disabled).

LMS: Added endpoints for AJAX requests to enable/disable notifications
(which are not yet implemented) and a one-click unsubscribe page.

Studio: Allow instructors of a course to designate other staff as instructors;
this allows instructors to hand off management of a course to someone else.

Common: Add a manage.py that knows about edx-platform specific settings and projects

Common: Added *experimental* support for jsinput type.

Common: Added setting to specify Celery Broker vhost

Common: Utilize new XBlock bulk save API in LMS and CMS.

Studio: Add table for tracking course creator permissions (not yet used).
Update rake django-admin[syncdb] and rake django-admin[migrate] so they
run for both LMS and CMS.
Expand All @@ -21,6 +41,8 @@ Studio: Added support for uploading and managing PDF textbooks

Common: Student information is now passed to the tracking log via POST instead of GET.

Blades: Added functionality and tests for new capa input type: choicetextresponse.

Common: Add tests for documentation generation to test suite

Blades: User answer now preserved (and changeable) after clicking "show answer" in choice problems
Expand All @@ -43,7 +65,7 @@ history of background tasks for a given problem and student.
Blades: Small UX fix on capa multiple-choice problems. Make labels only
as wide as the text to reduce accidental choice selections.

Studio:
Studio:
- use xblock field defaults to initialize all new instances' fields and
only use templates as override samples.
- create new instances via in memory create_xmodule and related methods rather
Expand Down
171 changes: 114 additions & 57 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,35 @@ installation process.

1. Make sure you have plenty of available disk space, >5GB
2. Install Git: http://git-scm.com/downloads
3. Install VirtualBox: https://www.virtualbox.org/wiki/Download_Old_Builds_4_2
(you need version 4.2.12, as later/earlier versions might not work well with
Vagrant)
3. Install VirtualBox: https://www.virtualbox.org/wiki/Downloads
See http://docs.vagrantup.com/v2/providers/index.html for a list of supported
Providers. You should use VirtualBox >= 4.2.12.
(Windows: later/earlier VirtualBox versions than 4.2.12 have been reported to not work well with
Vagrant. If this is still a problem, you can
install 4.2.12 from http://download.virtualbox.org/virtualbox/4.2.12/).
4. Install Vagrant: http://www.vagrantup.com/ (Vagrant 1.2.2 or later)
5. Open a terminal
6. Download the project: `git clone git://github.com/edx/edx-platform.git`
6. Download the project: `git clone https://github.com/edx/edx-platform.git`
7. Enter the project directory: `cd edx-platform/`
8. (Windows only) Run the commands to
8. (Windows only) Run the commands to
[deal with line endings and symlinks under Windows](https://github.com/edx/edx-platform/wiki/Simplified-install-with-vagrant#dealing-with-line-endings-and-symlinks-under-windows)
9. Start: `vagrant up`
9. Create the development environment and start it: `vagrant up`

The last step might require your host machine's administrator password to setup NFS.
The initial `vagrant up` will download a Linux image, then boot and ask for your
host machine's administrator password to setup file sharing between your computer and the VM.
Once file sharing is established, `edx-platform/scripts/create-dev-env.sh` will
install dependencies and configure the VM.
This will take a while; go grab a coffee.

Afterwards, it will download an image, install all the dependencies and configure
the VM. It will take a while, go grab a coffee.
When complete, you should see a _"Success!"_ message.
If not, refer to the
[troubleshooting section](https://github.com/edx/edx-platform/wiki/Simplified-install-with-vagrant#troubleshooting).

Once completed, hopefully you should see a "Success!" message indicating that the
installation went fine. (If not, refer to the
[troubleshooting section](https://github.com/edx/edx-platform/wiki/Simplified-install-with-vagrant#troubleshooting).)
Your development environment is initialized only on the first bring-up.
Subsequently `vagrant up` commands will boot your virtual machine normally.

Note: by default, the VM will get the IP `192.168.20.40`. If you need to use a
different IP, you can edit the file `Vagrantfile`. If you have already started the
VM with `vagrant up`, see "Stopping and restarting the VM" below to take the change
into account.
Note: by default, the VM will get the IP `192.168.20.40`.
You can change this in your `Vagrantfile` (the startup message will reflect your VM's actual IP).

Accessing the VM
----------------
Expand All @@ -46,62 +51,110 @@ Once the installation is finished, to log into the virtual machine:
$ vagrant ssh
```

Note: This won't work from Windows, install install PuTTY from
http://www.chiark.greenend.org.uk/%7Esgtatham/putty/download.html instead. Then
connect to 127.0.0.1, port 2222, using vagrant/vagrant as a user/password.
Note: This won't work from Windows. Instead, install PuTTY from
http://www.chiark.greenend.org.uk/%7Esgtatham/putty/download.html. Then
connect to 192.168.20.40, port 2222, using vagrant/vagrant as a user/password.


Using edX
---------

Once inside the VM, you can start Studio and LMS with the following commands
(from the `/opt/edx/edx-platform` folder):
When you login to your VM, you are in
`/opt/edx/edx-platform` by default, which is shared from your host workspace.
Your host computer contains the edx-project development code and repository.
Your VM runs edx-platform code mounted from your host, so
you can develop by editing on your host.

After logging into your VM with `vagrant ssh`,
start the _Studio_ and
_Learning management system (LMS)_
servers (run these from `/opt/edx/edx-platform`):

Learning management system (LMS):

```
$ rake lms[cms.dev,0.0.0.0:8000]
```

Studio:
Studio (CMS):

```
$ rake cms[dev,0.0.0.0:8001]
```

Once started, open the following URLs in your browser:
The servers will come up to these URLs:

* Learning management system (LMS): http://192.168.20.40:8000/
* Studio (CMS): http://192.168.20.40:8001/
- LMS: http://192.168.20.40:8000/
- CMS: http://192.168.20.40:8001/

You can develop by editing the files directly in the `edx-platform/` directory you
downloaded before, you don't need to connect to the VM to edit them (the VM uses
those files to run edX, mirroring the folder in `/opt/edx/edx-platform`).
Your VM's port 8000 is forwarded to host port 9000
so you can also access the LMS with [http://localhost:9000/]().
Similarly, VM port 8001 is forwarded to host port 9001.
These are set in your `Vagrantfile`.

You may also want to create a super-user with:

```
$ rake django-admin["createsuperuser"]
```

Also note that if you register a new user through the web interface,
the activiation email will be posted to your VM's terminal window (search for
lines similar to):
Note that when you register a new user through the web interface,
by default the activiation email will be appear on your VM's terminal.
Search for lines similar to:

```
Subject: Your account for edX Studio
From: [email protected]
```

and find the activation URL for the account you've created.
and find the activation URL.

See the [Frequently Asked Questions](https://github.com/edx/edx-platform/wiki/Frequently-Asked-Questions)
for more usage tips.

Django admin & debug toolbar
-----------------------------

You can enable admin logins and the debug_toolbar by editing
`lms/envs/common.py`:

- enable ADMIN login page by setting:
- ```
'ENABLE_DJANGO_ADMIN_SITE': True
```


- enable debug toolbar by uncommenting:
- ```
# 'debug_toolbar.middleware.DebugToolbarMiddleware',
```

These are also defined in `lms/envs/dev.py`,
and usually active on localhost.

To get at your VM's 127.0.0.1, explicitly forward one of VM's available localhost ports to your computer.
Instead of `vagrant ssh`, login with:

```
$ ssh -L 6080:127.0.0.1:8080 [email protected]
```

The password is _vagrant_.

From your VM, start the LMS as a localhost instance:

```
$ rake lms[cms.dev,127.0.0.1:8080]
```

You should see the debug toolbar now on [http:/localhost:6080/]().
You should now also see a login on [http://localhost:6080/admin/]()
You will need a privileged user for the admin login.
You can create a CMS/LMS super-user with:
```
$ ./manage.py lms createsuperuser
```


Stopping & starting
-------------------

To stop the VM (from your `edx-platform/` directory):

To stop the VM (from your `edx-platform/` directory):
```
$ vagrant halt
```
Expand All @@ -112,16 +165,27 @@ To restart:
$ vagrant up
```

or, to start without attempting to update the dependencies:
To suspend and resume tasks in progress on your VM:
```
$ vagrant suspend
$ # and later...
$ vagrant resume
```

Your development environment is normally created once, on first `vagrant up`.
You can continue to fetch changes in edx-platform
as you work with your VM.
To re-create your VM and create a fresh development environment:
```
$ vagrant up --no-provision
$ vagrant destroy
$ vagrant up # will make a new VM
```


Troubleshooting
---------------

If anything doesn't work as expected, see the
If anything doesn't work as expected, see the
[troubleshooting section](https://github.com/edx/edx-platform/wiki/Simplified-install-with-vagrant#troubleshooting).

Installation - Advanced
Expand Down Expand Up @@ -229,30 +293,23 @@ or any other process management tool.

Configuring Your Project
------------------------
We use [`rake`](http://rake.rubyforge.org/) to execute common tasks in our
project. The `rake` tasks are defined in the `rakefile`, or you can run `rake -T`
to view a summary.

Before you run your project, you need to create a sqlite database, create
tables in that database, run database migrations, and populate templates for
CMS templates. Fortunately, `rake` will do all of this for you! Just run:
tables in that database, and run database migrations. Fortunately, `django`
will do all of this for you

$ rake django-admin[syncdb]
$ rake django-admin[migrate]

If you are running these commands using the [`zsh`](http://www.zsh.org/) shell,
zsh will assume that you are doing
[shell globbing](https://en.wikipedia.org/wiki/Glob_%28programming%29), search for
a file in your directory named `django-adminsyncdb` or `django-adminmigrate`,
and fail. To fix this, just surround the argument with quotation marks, so that
you're running `rake "django-admin[syncdb]"`.
$ ./manage.py lms syncdb --migrate
$ ./manage.py cms syncdb --migrate

Run Your Project
----------------
edX has two components: Studio, the course authoring system; and the LMS
(learning management system) used by students. These two systems communicate
through the MongoDB database, which stores course information.

We use [`rake`](http://rake.rubyforge.org/) to execute common tasks in our
project. The `rake` tasks are defined in the `rakefile`, or you can run `rake -T`
to view a summary.

To run Studio, run:

$ rake cms
Expand Down
16 changes: 16 additions & 0 deletions bin/bourbon
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'bourbon' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('bourbon', 'bourbon')
16 changes: 16 additions & 0 deletions bin/launchy
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'launchy' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('launchy', 'launchy')
16 changes: 16 additions & 0 deletions bin/neat
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'neat' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('neat', 'neat')
16 changes: 16 additions & 0 deletions bin/rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'rake' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('rake', 'rake')
16 changes: 16 additions & 0 deletions bin/sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/usr/bin/env ruby
#
# This file was generated by Bundler.
#
# The application 'sass' is installed as part of a gem, and
# this file is here to facilitate running it.
#

require 'pathname'
ENV['BUNDLE_GEMFILE'] ||= File.expand_path("../../Gemfile",
Pathname.new(__FILE__).realpath)

require 'rubygems'
require 'bundler/setup'

load Gem.bin_path('sass', 'sass')
Loading