Carson Gee
f02c074db9
Push To LMS updates
...
Added tests
Converted scripts to django commands
Removed advanced module requirement
Generalized to platform
Switched to subprocess for shell commands
Beefed up resiliency and error checking.
Refactored since #1910 removed get_location_and_verify_access
Added settings to aws for export directory and reworked test setup and teardown
Several review based fixes
Added line to Changelog
Changed URL handler to be accepting and moved git bare repo inside of test_root/data
Added exception logging to help trace issues
Added output in exception logging
Made the branch to commit to explicit instead of implicit
Skipping git identity test on condition of global configuration set
2014-02-13 10:21:18 -05:00
Feanil Patel
2aab8f89f2
Pull THEME_NAME from envs tokens if it's there.
...
If the FEATURES['USE_CUSTOM_THEME'] flag is set but the
'THEME_NAME' is not set. We get a compilation error during
cms gather assets.
2014-02-05 18:40:03 -05:00
Chris Dodge
7cd343e031
wire in env settings into aws.py
2014-01-30 16:38:43 -05:00
chrisndodge
5951eb8dae
Merge pull request #2379 from edx/chrisndodge/lock-accounts-after-failed-attempts
...
Add AWS.py configuration hooks to tie in login failure lockout parameters
2014-01-30 13:08:48 -08:00
Chris Dodge
cdf8b7cf16
add aws.py hooks
2014-01-30 15:38:02 -05:00
Chris Dodge
0d49305c4d
add ability to have an optional password policy enforcement on account creation
2014-01-30 15:32:05 -05:00
Calen Pennington
271fbdb40a
Switch dark_lang to database backed configuration
2014-01-29 13:24:41 -05:00
Calen Pennington
881e3ba564
Add the ability to dark-launch languages
...
To mark a language as dark-launched, add it to the DARK_LANGUAGES
django conf setting. To activate a dark-launched language, set he
query parameter `preview-lang` to the language code on any url.
[LMS-2045]
[LMS-2077]
[LMS-2076]
2014-01-29 09:16:16 -05:00
David Ormsbee
6e6a1d5021
Only create loc_cache CACHE entry if it doesn't exist in ENV_TOKENS config.
2014-01-28 12:30:38 -05:00
David Ormsbee
ee5ee92b37
Create local memory caching entry for location mapping.
2014-01-28 10:57:15 -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
Bertrand Marron
ddff90c1cb
Fix auth email configuration
...
Fix bug introduced by #1919 : usage of not-yet-defined AUTH_TOKENS dict.
2013-12-13 17:02:50 +01:00
Bertrand Marron
f576673a87
Add email configuration to cms/envs/aws.py
...
This allows emails to be sent by Studio.
2013-12-11 16:11:23 +01:00
Will Daly
e0fe8bcdc7
Removed extra trailing slash from STATIC_URL in devstack
...
Let staticfiles determine the footer URLs
2013-12-05 13:47:10 -05:00
David Baumgold
79815acc6e
Fall back on MITX_FEATURES env variable if FEATURES isn't found
...
For a smoother transition to the new world
2013-12-03 16:29:48 -05:00
David Baumgold
f3f4af8087
settings.MITX_FEATURES => settings.FEATURES
2013-12-03 15:34:55 -05:00
Feanil Patel
729f2e3bfa
Merge pull request #1637 from edx/feanil/aws_creds
...
Set empty aws credentials to None.
2013-11-20 07:57:16 -08:00
John Jarvis
693cfdea50
'ignore' shouldn't be use for ascii conversion
...
The input string is not expected to contain any unicode characters
2013-11-19 14:34:06 -05:00
John Jarvis
71184220e6
convert STATIC_URL to ascii
2013-11-19 12:25:59 -05:00
John Jarvis
0e6b21ef71
adding slash
2013-11-19 11:40:31 -05:00
John Jarvis
54bb55fa52
fixes issue where STATIC_URL was overwritten without git.revision
...
fixes this commit - 5ec77010e3
2013-11-19 11:35:45 -05:00
John Jarvis
399df1141e
resolving merge conflicts
2013-11-18 11:52:26 -05:00
John Jarvis
f5a772135d
adding override for GITHUB_REPO_ROOT
...
This is the base directory for course data
2013-11-18 11:24:45 -05:00
John Jarvis
5ec77010e3
allow override for STATIC_URL
2013-11-18 10:54:12 -05:00
Feanil Patel
9dd182800b
Set empty aws credentials to None.
2013-11-08 12:22:09 -05:00
John Jarvis
68d31b9808
adding STATIC_ROOT_BASE to lms/envs/aws.py
2013-10-23 10:30:05 -04:00
John Jarvis
25c6f9455b
fixes static_root override
2013-10-23 10:28:09 -04:00
John Jarvis
1ac732abb4
adding git.revision for cms
2013-10-22 12:08:48 -04:00
John Jarvis
8ca156bd00
adding STATIC_ROOT to cms
2013-10-21 14:41:00 -04:00
Carlos Andrés Rocha
0be9daf9d5
Merge pull request #1419 from rocha/fix-config-root-env
...
Fix error when reading tokens on aws configuration
2013-10-21 08:24:15 -07:00
e0d
e6955c641f
The default value was removed from common.
2013-10-21 10:45:05 -04:00
Carlos Andrés Rocha
b764b9b4cf
Fix error when reading tokens on aws configuration
...
The error was caused by the CONFIG_ROOT environmental variable,
which was incorrectly assumed to be a path.py valid path.
2013-10-21 03:19:22 -04:00
e0d
5995a76254
sanity restored.
2013-10-18 16:26:23 -04:00
e0d
a008cc6b74
path fix.
2013-10-18 16:12:51 -04:00
e0d
6700a3ec14
Fixes for the AWS environment config.
2013-10-18 15:56:15 -04:00
Carlos Andrés Rocha
f2bf95b205
Add variable to set location of config files on aws
...
The env variable CONFIG_ROOT is used to determine the location of the
JSON configuration files. This is useful when a deployment of the
platform is used to access different environments when executing django
commands.
2013-10-08 14:46:18 -04:00
Gabe Mulley
761a4dcc97
Make URL patterns to exclude from tracking configurable
...
* Add unit test coverage for this "exclusion from tracking" logic
* Exclude based on regex match instead of raw string comparison
* Exclude heartbeat requests from tracking
2013-09-13 11:24:51 -04:00
Sarina Canelake
484bc91ab3
Don't assign variable to .update() call
2013-09-12 16:03:22 -04:00
Carlos Andrés Rocha
87fcf1ab9e
Merge pull request #905 from rocha/datadog-statsd
...
Remove dogstatsd-python in favor of dogapi
2013-09-12 06:53:02 -07:00
Carlos Andrés Rocha
ee0004e2f8
Remove dogstatsd-python in favor of dogapi
...
Also added datadog application to commom django apps and set it to use
a local statsd server by default.
2013-09-11 19:28:58 -04:00
Carlos Andrés Rocha
fbc243dbeb
Add event tracking with configurable backends
2013-09-11 10:02:15 -04:00
Chris Dodge
0da2fb842f
Add new setting to cms project
2013-08-12 13:29:15 -04:00
Jason Bau
034de2cfd2
Allow session backend to be configurable and also add PLATFORM_NAME
...
to cms settings (it was throwing 500s for Stanford when the CMS
calls render_from_lms)
2013-07-19 17:43:37 -07:00
John Jarvis
5b16fbe369
adding option for file based backend
2013-07-10 16:05:37 -04:00
Carlos Andrés Rocha
1fbab8e9fa
Merge pull request #295 from edx/rocha/celery-virtual-host
...
Add setting to set the virtual host of a Celery broker
2013-07-08 06:58:31 -07:00
Chris Dodge
a224c1e8a3
need to change aws.py to take the COURSES_WITH_UNSAFE_CODE from the envs.json file
2013-07-03 14:01:33 -04:00
Carlos Andrés Rocha
a844548fb8
Add setting to set the virtual host of a Celery broker
2013-06-27 17:58:51 -04:00
John Jarvis
a3f45bd94a
moving segment io setting below auth.json
2013-06-17 17:45:22 -04:00
Renzo Lucioni
97f4291b2a
Add comment clarifying which Segment.io key is in use
2013-06-17 15:35:04 -04:00
Renzo Lucioni
1e3efadc28
switch to using environment variables to get key for Segment.io
2013-06-17 10:58:37 -04:00