David Ormsbee
901ad22652
Make ENABLE_S3_GRADE_DOWNLOADS disabled by default, enabled in dev.
...
Having ENABLE_S3_GRADE_DOWNLOADS enabled by default in common.py
could lead to surprising behavior for folks downstream. They'd
suddenly see a grade download screen on their new instructor
dashboard, but the links by default would be local files and
couldn't be used in an actual production environment. So we disable
by default and let people explicitly enable it and set it up for
S3 if they wish.
LMS-58
2013-11-22 10:06:34 -05:00
David Ormsbee
a99fd08004
Fix error case where we have items in our grading csv output
...
that are not present in a given student's gradeset.
General code cleanup and addition of comments.
Instructor dashboard API unit tests.
LMS-58
2013-11-22 10:06:28 -05:00
Sarina Canelake
e2423386cb
UX for Data Download tab on instructor dash
...
Restrict grade report generation to 'is_superuser' users (can be overridden with
feature flag ALLOW_COURSE_STAFF_GRADE_DOWNLOADS); all staff users can download
generated files.
LMS-58
2013-11-22 10:06:22 -05:00
David Ormsbee
e0aa8cf78a
Grade report celery task and direct file push to S3 from the new instructor dashboard.
...
Hook up display of grade files ready for download to new instructor dashboard.
LMS-58
2013-11-22 10:06:10 -05:00
Usman Khalid
e370fb9585
Merge pull request #1502 from edx/usman/lms1355-wiki-permissions
...
Stricter permissions for the wiki
2013-11-13 02:44:14 -08:00
Usman Khalid
9542230afd
Added granular permissions for managing wiki articles
...
LMS-1355
2013-11-13 01:40:23 +05:00
Will Daly
b7dab70628
Added devstack settings
...
Fixed pep8/pylint violations
Added email feature flags; use full names for pylint disables
2013-11-12 13:48:29 -05:00
Calen Pennington
da26ae2529
Remove lms/lib from sys.path in favore of using it as the module lms.lib
2013-11-08 11:08:48 -05:00
David Baumgold
3895a3fa52
Merge pull request #1581 from antoviaque/registration-optional
...
registration-optional: Allow to hide some optional registration fields #os
2013-11-05 10:25:31 -08:00
Xavier Antoviaque
08dffa12cc
registration-optional: Allow to hide some optional registration fields
...
Allow to control which of the optional fields from the registration page
are being displayed to the user. Added the configuration variable
`REGISTRATION_OPTIONAL_FIELDS` to control which ones. The default value
shows all the fields as currently; to not display some of the fields,
set the configuration variable with only the fields you want to display:
```
REGISTRATION_OPTIONAL_FIELDS = [
'level_of_education',
'gender',
'year_of_birth',
'mailing_address',
'goals'
]
```
2013-11-05 11:50:29 +01:00
Adam
98b3d18edc
Merge pull request #1492 from edx/adam/remove-@edx
...
remove instances of @edx.org email addresses in our default settings (Bug: LMS-1363)
2013-11-04 08:02:08 -08:00
Sarina Canelake
fff36275db
Implement background email tasks on student dash
...
LMS-1244
2013-11-01 09:20:34 -04:00
Sarina Canelake
51ab852c69
Package the instructor dash javascript separately
...
LMS-1418
2013-10-30 20:41:38 -04:00
Adam Palay
6b6e568063
remove instances of @edx.org email addresses in our default settings
...
Bug: LMS-1363
2013-10-24 17:02:15 -04:00
Szczork
b3844af28d
Translation overrides
...
Usefull variables for translation
2013-10-23 12:39:31 -04:00
Adam Palay
83b11a881c
optimize keyboard focus management on dashboard's modals
...
add license to a11y_tools.js
add tests, some reorganization of js tests
skip "toBeFocused" tests for now
2013-10-22 13:26:18 -04:00
e0d
6700a3ec14
Fixes for the AWS environment config.
2013-10-18 15:56:15 -04:00
brianhw
f831a0adcb
Merge pull request #1406 from edx/post-release-2013-10-17-master
...
Post release 2013 10 17 master
2013-10-18 11:16:24 -07:00
Brian Wilson
aa172272f3
Update master with hotfixes from release-2013-10-17.
2013-10-18 11:50:42 -04:00
Gabe Mulley
c1450c8375
Merge pull request #1349 from mulby/gabe/course-id-context
...
add course_id to all emitted events
2013-10-17 15:45:37 -07:00
Gabe Mulley
d2b03e28fb
add course_id to event context
2013-10-17 17:44:01 -04:00
Brian Talbot
58548af9c7
LMS - revises pipeline vendor file references
2013-10-17 15:55:37 -04:00
Adam Palay
1fc993ce18
add functionality to disable users
...
add middleware to detect students with disabled accounts
add tests
2013-10-16 16:57:11 -04:00
Jason Bau
ec8871206a
use context processor instead of middleware
2013-10-16 12:16:10 -07:00
brianhw
97e01be147
Merge pull request #1359 from edx/brian/bulk-email-rc
...
Bulk Email improvements for release
2013-10-16 10:26:28 -07:00
Sarina Canelake
86c4a03eba
admin-console support for enabling email per course
2013-10-16 13:02:41 -04:00
Brian Wilson
87a72b7e99
Rename some constants, and refactor bulk email task flow.
2013-10-16 13:02:40 -04:00
Brian Wilson
bc599a0662
Update tests with more complete coverage.
2013-10-16 13:02:40 -04:00
Brian Wilson
c5debc22e7
Add settings to cap infinite retries.
2013-10-16 13:02:36 -04:00
Brian Wilson
a4c35ac4ff
Use separate retry count for calculating retry delay.
2013-10-16 13:01:59 -04:00
Julia Hansbrough
8a30e9ba8f
Legacy email tests, removed duplicate code, updated comments, fixed CSS
2013-10-16 13:01:57 -04:00
Julia Hansbrough
91c31e12d5
Implemented bulk email interface for new dashboard
2013-10-16 13:01:14 -04:00
Brian Talbot
ef2218296f
LMS: revises CSS reference/pipeline architecture to handle IE9 selector limits
2013-10-16 12:29:49 -04:00
Jason Bau
4c664240e1
Move logic that decides whether to show shoppingcart to middleware
...
Middleware is a better place for this, rather than navigation.html
template
2013-10-15 17:11:48 -07:00
Sarina Canelake
c24087a912
django-admin command for enabling email per course
2013-10-11 16:39:12 -04:00
Brian Wilson
58bacb4e67
Rename some constants, and refactor bulk email task flow.
2013-10-10 15:34:16 -04:00
Brian Wilson
03b4330c04
Update tests with more complete coverage.
2013-10-10 15:34:16 -04:00
Brian Wilson
a6bd1c2132
Add settings to cap infinite retries.
2013-10-10 15:34:06 -04:00
Brian Wilson
506f91a95e
Use separate retry count for calculating retry delay.
2013-10-10 15:32:59 -04:00
chrisndodge
82e42cc580
Merge pull request #1156 from edx/feature/cdodge/add-preview-configs-via-middleware
...
add some middleware to determine whether draft modulestore or non-draft ...
2013-10-10 10:24:51 -07:00
David Baumgold
838f4df6b5
Merge pull request #1269 from edx/db/clarify-debug
...
Clarify USE_I18N settings
2013-10-09 13:55:30 -07:00
David Baumgold
cbaa3089ba
Updated comment
2013-10-09 15:54:01 -04:00
Sarina Canelake
650c913110
Merge pull request #1260 from edx/sarina/email_FROM_address
...
Change the default FROM address for bulk email
2013-10-09 08:57:00 -07:00
Chris Dodge
8f9d815f10
add some middleware to determine whether draft modulestore or non-draft modulestore should be used
...
change to use regex to do the domain mappings. Also add config to AWS to be able to set from configuration file.
handle cases where HTTP_HOST is none, like in unit tests
add linefeed at end
fix up regex matches
switch to use thread local storage to hold the request itself
.
.
convert over to use open source 3rd party library
convert over to use django-cum
add unit test
remove comment
.
add comment to config setting
fix comment
use better regex for localdev
no need to break
no need to wrap an imported function, it's visible to any file that is importing us
add comment
add unit test
clean up test
use a separate env file to set the preview hostname
2013-10-09 11:53:26 -04:00
David Baumgold
16ca0252b3
Clarify USE_I18N settings
...
@jzoldak showed me that setting `USE_I18N = DEBUG` didn't actually accomplish
what I had hoped it would -- changing DEBUG didn't also change USE_I18N.
This pull request accomplishes what I was trying to accomplish, without being
quite so clever about it.
2013-10-09 09:04:12 -04:00
Sarina Canelake
c9172b79e6
Change the default FROM address for bulk email
2013-10-08 16:38:08 -04:00
David Baumgold
fd7e8baccb
Tie the USE_I18N setting to DEBUG setting
...
We want USE_I18N to be on in development, but off in production. Tying
this setting to the DEBUG setting accomplishes that neatly.
2013-10-07 15:04:15 -04:00
Adam Palay
197f9015aa
disable buttons for large courses on legacy and beta instr dash
...
set max enrollment for downloads to 200
2013-10-07 10:11:08 -04:00
David Baumgold
d97921e6e2
Convert Studio JS to use require.js
2013-10-04 13:43:50 -04:00
Ned Batchelder
a1be970153
Merge pull request #1194 from edx/ned/quiet-tests
...
Quiet down exceptions at startup, and during tests
2013-10-03 08:21:37 -07:00