Don Mitchell
ddfbe59814
Make DraftModuleStore mongo only
...
DraftModuleStore was originally designed as a mixin, but never used that
way, and with the upcoming changes to use the versioned module store,
never will be. This changes removes a circular dependency between
mongo.py and draft.py.
2013-07-01 12:33:08 -04:00
Don Mitchell
b42fe277d4
Add serial commas to modulestore definitions
2013-06-25 22:34:36 -04:00
Ned Batchelder
5a5d425eb3
Files that may not exist need F0401 suppressed during import.
2013-06-21 17:33:23 -04:00
pdehaye
c1dc2628a0
need to import os
2013-06-18 00:52:23 +02:00
Renzo Lucioni
c05a06a885
Merge pull request #182 from edx/renzo/segment-io-auth-backport
...
Switch to using environment variables to get key for Segment.io
2013-06-17 13:40:24 -07:00
Renzo Lucioni
97f4291b2a
Add comment clarifying which Segment.io key is in use
2013-06-17 15:35:04 -04:00
Chris Dodge
3fa6e77dff
add new collection configuration to support a 'trashcan' for assets. Update class factory to allow callers to specify if they want the default set of assets or the trashcan
2013-06-17 11:09:52 -04:00
Renzo Lucioni
1e3efadc28
switch to using environment variables to get key for Segment.io
2013-06-17 10:58:37 -04:00
Don Mitchell
168cb306d3
Move tz_aware into connection config rather than settings.
...
Make django use_tz
2013-06-10 17:16:35 -04:00
Don Mitchell
28f8910db4
Make pymongo tz_aware
2013-06-10 17:16:34 -04:00
Ned Batchelder
7e8c06caf3
Developer-private settings files
...
Developers can have private settings files by creating
lms/envs/private.py or cms/envs/private.py. They are imported
at the end of dev.py. Note that they won't be imported if you
are using one of the other dev*.py variants.
2013-06-05 16:07:17 -04:00
cahrens
aca5cbb215
Merge branch 'master' into bug/christina/preview_url
2013-05-28 12:13:19 -04:00
cahrens
a03a4fdd07
PREVIEW_LMS_BASE must now be set (default value does not work for both edge and edx). Make this work locally as well.
...
https://edx.lighthouseapp.com/projects/102637/tickets/331
2013-05-23 16:45:10 -04:00
Chris Dodge
9b88528b04
Merge branch 'master' of github.com:edx/edx-platform into feature/cdodge/autoprovision-forums-master
2013-05-22 13:20:49 -04:00
Calen Pennington
241ef68f4f
Start linting envs files, add task to only pylint errors, and move pylintrc file to the correct location
2013-05-21 09:34:12 -04:00
Chris Dodge
fbbae44988
Merge branch 'master' of github.com:edx/edx-platform into feature/cdodge/autoprovision-forums-master
...
Conflicts:
cms/djangoapps/contentstore/views/course.py
lms/djangoapps/django_comment_client/base/views.py
lms/djangoapps/django_comment_client/management/commands/show_permissions.py
lms/djangoapps/django_comment_client/models.py
lms/djangoapps/django_comment_client/tests/test_utils.py
lms/envs/common.py
2013-05-20 10:22:36 -04:00
Carlos Andrés Rocha
35bd38d677
Add status app with simple view to check celery workers
2013-05-17 11:33:14 -04:00
Carlos Andrés Rocha
c05efbc31e
Added base Celery settings
2013-05-17 11:33:14 -04:00
Chris Dodge
3858f1b706
update cms envs
2013-05-06 16:02:13 -04:00
Mark L. Chang
d9bbed305e
newline
2013-04-04 01:51:14 -04:00
Mark L. Chang
8439013f64
studio: added segment.io tracking
2013-04-04 01:51:14 -04:00
Mark L. Chang
1d70509da1
fixed merge on env
2013-04-03 00:31:48 -04:00
Mark L. Chang
43f6f0ce8f
put survey behind MITX_FEATURES flag
2013-04-03 00:28:08 -04:00
Carlos Andrés Rocha
29efa84205
Enable dev env support for sass source maps
...
Change the parameters of the sass compiler to output source
maps. Google Chrome uses the maps in the debugger to show the sass or
scss file that originated the style for a particular element.
More information here:
http://fonicmonkey.net/2013/03/25/native-sass-scss-source-map-support-in-chrome-and-rails/
2013-03-29 18:34:02 -04:00
Chris Dodge
bbb53a17f8
add some depth optimziations for edit subsection and unit pages as well
2013-03-29 09:58:03 -04:00
cahrens
b5a587d8d0
Have to explicitly specify safe option on mongo insert, remove, update because the debug toolbar specifies a default of safe=False.
2013-03-19 16:57:19 -04:00
Chris Dodge
413aeed1b3
use django caching to hold computed metadata inheritence. Also invalidate the cache entries on writes (insert, updates)
2013-03-13 15:33:15 -04:00
cahrens
4434ca632e
Disable Django toolbar-- breaking mongo updates.
2013-03-07 11:30:00 -05:00
cahrens
de225e6623
Enable Django debug toolbar on Studio (including Mongo panel).
2013-03-06 14:08:54 -05:00
Calen Pennington
cfae1cdf62
Pep8 autofixes
2013-02-06 11:13:50 -05:00
Calen Pennington
607b99dece
Make separate links for lms_preview and lms as needed
2012-10-12 15:03:06 -04:00
Chris Dodge
e27dea0fec
fix up dev.py to include the new flag
2012-10-11 20:52:28 -04:00
Calen Pennington
bc69ed8c9e
Move logsettings to common, so that it's shared between cms and lms
2012-10-11 12:31:52 -04:00
Calen Pennington
75f8b7c98d
Add Draft module store that is used whenever any item is update in the CAS (but not during import, and not for templates)
2012-10-10 12:42:14 -04:00
Chris Dodge
a80e8ce3d5
respond to Cale pull request comments. Update access.py (LMS) to use the same 'check for legacy group name first' logic. Add SECRET_KEY setting to the CAS project so that auth tokens from CAS are accepted in the LMS
2012-10-09 15:11:07 -04:00
Chris Dodge
68945fdc77
adhere to the naming conventions of user groups (instructor_* and staff_* of the LMS AuthZ implementation). While we're keeping our authz.py implementation - which is duplicative of LMS's access.py - in order to minimize code churn/risk-of-regression, there is data compatibility so the two systems will interpret the data the same way
2012-10-09 13:14:31 -04:00
Chris Dodge
85e6c23386
work-in-flight for uploading/serving of static content for courses
2012-09-27 10:24:53 -04:00
Calen Pennington
7d8095cd97
Initial port of templates into filesystem based storage
2012-09-25 10:10:44 -04:00
Calen Pennington
c7209a736e
Add links from the editing page for the cms to the corresponding page in the lms
2012-09-25 09:18:54 -04:00
Calen Pennington
3b36fbf914
Move mitxmako out of common lib, and pass template rendering function into MongoModuleStore
2012-08-16 12:49:42 -04:00
Victor Shnayder
2f4bf5f606
Minor fixes to cms
...
* make logging work properly in cms, dev
* fix a comment
2012-08-01 19:25:47 -04:00
Victor Shnayder
46775386d3
make CACHE_TIMEOUT messages go away
2012-08-01 11:40:12 -04:00
ichuang
381d247589
djangoapps/student/views.py now uses soup.getText, which needs beautifulsoup4
2012-07-31 21:43:29 -04:00
Calen Pennington
39e5a7762e
Make github_sync use a namedtuple for repo settings
2012-07-30 12:59:28 -04:00
Calen Pennington
6bf0e093bc
Add tests for the edit page for the toy course, and make sure that exporting to github sets up the git repo properly
2012-07-24 15:05:07 -04:00
Victor Shnayder
264a5b5557
fix repo paths (to data/)
2012-07-16 13:34:04 -04:00
Victor Shnayder
ff59c9bfa9
Initial connection of student module with cms.
...
* Enable account creation
* Some code cleanups
* Fix access to nonexistent fields in the account creation view
* Formatting fixes
2012-07-13 11:51:32 -04:00
Calen Pennington
1d90b68623
Renaming the mongo database and collection used for the xmodule module store
2012-07-11 22:18:40 -04:00
Calen Pennington
31288d6caf
Only use the for_cms branch for development purposes
2012-07-03 21:22:48 -04:00
Calen Pennington
b0ff3053b9
Add development code for pushing CMS changes to github
2012-07-03 19:06:07 -04:00