- 11 Apr, 2015 16 commits
-
-
Remove over-cautious assertion and allow calling errors to be calling errors fix problems in auto_enroll method ensure that the active poc is wiped out if the user has no poc membership
cewing committed -
Add date widget for setting start and due dates for the course sections, plus simple server side validation for avoiding db corruption from bad dates Add immediate feedback for date validation errors
Carlos de la Guardia committed -
Based loosely on course enrollment model Ensure that registered users are 'active' when they are enrolled in a POC Respect the 'auto enroll' and 'email students' checkboxes in the UI Add an auto_enroll flag to the PocFutureMembership model so we can automatically enroll non-users when they have registered and activated their account. Build a future enrollment using the auto_enroll value from the request so we can ensure that non-existent users can be auto-enrolled Ensure that any user added by way of the one-at-a-time UI is automatically auto-enrolled Update tests with email sending to use the flag from the request Provide api on the PocMembership object to auto-enroll a newly active member in this poc. This method will delete the passed PocFutureMembership object and will automatically enroll the user in the POC named in that future membership as well as the MOOC from which it was created Conditionally activate poc memberships that are pending when a new registree first activates their account.
cewing committed -
Use client's session to set POC for test, now that we have the capability to do that. Use a middleware to set the current POC one time per request, and avoid having to look up the stack for the current request in 'get_current_poc'. Fetch all overrides for a block at one time. Speed up the lineage computation by doing some caching. Unused import. Get field overrides once per user per block. Streamline configuration. Fix poc config tuples
Chris Rossi committed -
Remove unused assertion. Login is required so this will never be used. No point in having it here.
cewing committed -
Ensure there is a consistent key for the session dict that will store the value of the poc_id if one is active. If none is active, the mooc is assumed to be active. Add mooc_name, mooc_url and active to the dict for each poc membership. Update the navigation template to show link to mooc if poc is active, or to poc if not. Ensure the switch_active_pocs view is covered well with tests.
cewing committed -
Add a utility function to get template data for the POCs to which a user is actively registered Add tests for the new utility
cewing committed -
Story #35 As a coach I can see and edit the json for the grading policy. Story #34 Recalculate grading policy Repair the broken test for grading by providing an explicit POC context for the request to run in
Chris Rossi committed -
Chris Rossi committed
-
Chris Rossi committed
-
Chris Rossi committed
-
cewing committed
-
Story #4: Coaches sees grades. Story #9: Coach downloads grades.
Chris Rossi committed -
cewing committed
-
Implelement test coverage for utility code supporting enrollments in CCXs bugfix: prevent UnboundNameError if user does not exist in database.
cewing committed -
This feature provides the ability to designate a "coach" who can create customized runs of an existing course, invite students to participate, and manage students through the run of the course. In this squashed commit we implement the initial scifi, add the 'POC Coach' course role, refine the scifi, add migrations for models, create POCs, enforce POC Coach role, provide panels for Coach Dashboard, set up rudimentary display of course outline, add and remove units, show/hide all units, and save schedule changes, set dates when adding units, edit dates on units already added and provide some tests. We also provide mechanisms for invitation and enrollment in a POC (to become CCX) and control the display of blocks to students in a POC.
Chris Rossi committed
-
- 06 Apr, 2015 2 commits
-
-
individual students, and a reimplementation of the individual due date feature. This work introduces an architecture, used with the 'authored_data' portion of LmsFieldData, which allows arbitrary field overrides to be made for fields that are part of the course content or settings (Mongo data). The basic architecture is extensible by means of writing and configuring arbitrary field override providers. One concrete implementation of a field override provider is provided which allows for overrides to be for individual students. This provider is then used as a basis for reimplementing the individual due date extensions feature as a proof of concept for the design. One can imagine writing override providers that provide overrides based on a student's membership in a cohort or other similar idea. This work is being done, in fact, to pave the way for the Personal Online Courses feature being developed by MIT, which will use an override provider very much long those lines.
Chris Rossi committed -
Adam Palay committed
-
- 03 Apr, 2015 4 commits
-
-
The django debug toolbar circumvents other middleware with process_view functions, so it needs to go at the end of our MIDDLEWARE_CLASSES setting. https://django-debug-toolbar.readthedocs.org/en/1.3/tips.html#middleware-isn-t-working-correctly
Greg Price committed -
Adds an /xdomain_proxy.html endpoint that serves the proxy file from the xdomain library. This allows IE9 users to iframe in the proxy page to simulate a cross-domain request with cookies.
Will Daly committed -
As some i18n features need ```ugettext``` or its shorcut ```_``` to be called on a non-string-literal, so the pylint check of ```translation-of-non-string``` should be explicitly disabled in such situations.
louyihua committed -
Marco Morales committed
-
- 02 Apr, 2015 8 commits
-
-
Jesse Zoldak committed
-
Marco Morales committed
-
Nimisha Asthagiri committed
-
Will Daly committed
-
PLAT-484
Waheed Ahmed committed -
TNL-1736
Waheed Ahmed committed -
Awais Jibran committed
-
Awais committed
-
- 01 Apr, 2015 3 commits
-
-
Mark Hoeber committed
-
TNL-382
MAC committed -
Adds an /xdomain_proxy.html endpoint that serves the proxy file from the xdomain library. This allows IE9 users to iframe in the proxy page to simulate a cross-domain request with cookies.
Will Daly committed
-
- 31 Mar, 2015 7 commits
-
-
This is required so that an a video module exported by one Open edX deployment and imported by another will work correctly if it contains an edx_video_id but does not populate other URL fields. JIRA: MA-110
Greg Price committed -
block conversion.
John Eskew committed -
The written style ```interpolate(gettext('some text'), {...}, ...)``` will will cause the string inside gettext() not be extracted. So a separate line is needed for ```gettext``` when gettext function is directly called inside a call to the interpolate function.
louyihua committed -
- added entrance exam check on course info - staff can by pass gating and added tests - refined gating logic - changes after rebasing with Asad's branch - check ENTRANCE_EXAMS feature is enabled - updated test to reflect new logic - catering anonymous user in entrance exam permission - fixed broken tests - change after feedback on 16/3 - fix for a broken test - created new entrance_exams module - fixed quality error and improved test coverage - put get_required_content back in milestones helper - Refactored entrance exams logic - Refactored tabs logic - Fixed broken unit test - changes after feedback from dan-f on 3/27 - removed unnecessary user.is_anonymous check - Addressed PR feedback - Addressed commit-specific feedback - Rework guard clauses - Add coverage for course info case
Zia Fazal committed -
Mayank Jain committed
-
Calen Pennington committed
-
Calen Pennington committed
-