-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2396975
Showing
115 changed files
with
9,110 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
[run] | ||
branch = True | ||
source = . | ||
data_file=/tmp/coverage | ||
omit = | ||
mitxpro/wsgi.py | ||
manage.py | ||
./.tox/* | ||
*/migrations/* | ||
*_test.py | ||
*_tests.py | ||
|
||
[report] | ||
exclude_lines = | ||
pragma: no cover | ||
show_missing = True | ||
precision = 2 | ||
|
||
[html] | ||
directory = ${COVERAGE_DIR} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.tox | ||
.cache | ||
htmlcov | ||
.coverage | ||
node_modules | ||
staticfiles/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
root = true | ||
|
||
[*.py] | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.js] | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
CELERY_TASK_ALWAYS_EAGER=True | ||
DJANGO_LOG_LEVEL=INFO | ||
LOG_LEVEL=INFO | ||
SENTRY_LOG_LEVEL=ERROR | ||
MAILGUN_KEY= | ||
MAILGUN_URL= | ||
MAILGUN_RECIPIENT_OVERRIDE= | ||
SECRET_KEY= | ||
STATUS_TOKEN= | ||
UWSGI_THREAD_COUNT=5 | ||
SENTRY_DSN= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "eslint-config-mitodl" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ignore] | ||
.*/node_modules/fbjs/.* | ||
.*/node_modules/draft-js/.* | ||
.*/node_modules/draftjs-utils/.* | ||
.*/node_modules/react-event-listener/src/index.js | ||
.*.git/.* | ||
|
||
[include] | ||
./static/js | ||
|
||
[libs] | ||
./static/js/flow/declarations.js | ||
./flow-typed/npm/ | ||
|
||
[options] | ||
esproposal.class_static_fields=enable | ||
esproposal.class_instance_fields=enable | ||
suppress_comment= \\(.\\|\n\\)*\\$FlowFixMe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
labels: bug | ||
name: "Bug Report" | ||
about: "Something isn't quite right" | ||
--- | ||
### Steps to Reproduce | ||
|
||
(List or Description) | ||
|
||
### Expected Behavior | ||
|
||
(Optional) | ||
|
||
### Actual Behavior | ||
|
||
(Optional) | ||
|
||
### Stacktrace | ||
|
||
(Optional) | ||
|
||
### Related Issues | ||
|
||
(Optional) | ||
|
||
### Screenshot or Screencast | ||
|
||
(Optional) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
name: New Feature | ||
about: "New feature to implement" | ||
--- | ||
As a X, I'd like to Y | ||
|
||
#### Designs and Mockups | ||
|
||
|
||
|
||
#### Acceptance Criteria: | ||
|
||
- [ ] Requirement | ||
|
||
#### Out of Scope | ||
|
||
- Not going to do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
labels: "Work in Progress" | ||
name: "Pull Request" | ||
about: "Regular Pull Request" | ||
--- | ||
|
||
#### Pre-Flight checklist | ||
|
||
- [ ] Screenshots and design review for any changes that affect layout or styling | ||
- [ ] Desktop screenshots | ||
- [ ] Mobile width screenshots | ||
- [ ] Tag @ferdi or @pdpinch for review | ||
- [ ] Migrations | ||
- [ ] Migration is backwards-compatible with current production code | ||
- [ ] Testing | ||
- [ ] Code is tested | ||
- [ ] Changes have been manually tested | ||
- [ ] Settings | ||
- [ ] New settings are documented and present in `app.json` | ||
- [ ] New settings have reasonable development defaults, if applicable | ||
|
||
#### What are the relevant tickets? | ||
(Required) | ||
|
||
#### What's this PR do? | ||
(Required) | ||
|
||
#### How should this be manually tested? | ||
(Required) | ||
|
||
#### Where should the reviewer start? | ||
(Optional) | ||
|
||
#### Any background context you want to provide? | ||
(Optional) | ||
|
||
#### Screenshots (if appropriate) | ||
(Optional) | ||
|
||
#### What GIF best describes this PR or how it makes you feel? | ||
(Optional) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
title: 'RFC: ' | ||
labels: RFC | ||
name: "Request For Comment" | ||
about: "Put up an RFC" | ||
--- | ||
|
||
|
||
[Rendered](https://github.com/mitodl/open-discussions/blob/COMMIT_BLOB/docs/rfcs/XXXX-feature-name.md) | ||
|
||
#### Relevant Issues | ||
|
||
#### Summary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
env/ | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
./lib/ | ||
./lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*,cover | ||
.hypothesis/ | ||
coverage/ | ||
.nyc_output/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
celerybeat-schedule.db | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
#Ipython/Jupyter Notebook | ||
.ipynb_checkpoints | ||
*.ipynb | ||
|
||
# Heroku/Foreman | ||
.env | ||
|
||
# webpack | ||
static/bundles | ||
node_modules | ||
|
||
# JS directories | ||
!static/js/lib | ||
|
||
# Editor stuff | ||
*.swp | ||
*.orig | ||
|
||
/nbproject | ||
.idea/ | ||
.redcar/ | ||
codekit-config.json | ||
.pycharm_helpers/ | ||
|
||
.project | ||
.pydevproject | ||
|
||
*.DS_Store | ||
|
||
# Django static | ||
staticfiles/ | ||
|
||
.venv | ||
release-notes-checklist | ||
|
||
# Webpack | ||
webpack-stats.json | ||
|
||
# Celery Beat | ||
celerybeat-schedule |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
instrumentation: | ||
excludes: ['**/*_test.js'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
node_modules | ||
.git | ||
.tox | ||
.rsync-ignore | ||
Makefile | ||
README.rst | ||
.DS_Store | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
options: | ||
merge-default-rules: false | ||
files: | ||
include: 'static/scss/**/*.scss' | ||
rules: | ||
extends-before-mixins: 2 | ||
extends-before-declarations: 2 | ||
placeholder-in-extend: 2 | ||
mixins-before-declarations: 2 | ||
no-warn: 1 | ||
no-duplicate-properties: 2 | ||
no-debug: 1 | ||
no-important: 0 | ||
no-empty-rulesets: 2 | ||
no-misspelled-properties: 2 | ||
no-mergeable-selectors: 2 | ||
no-trailing-whitespace: 2 | ||
trailing-semicolon: 2 | ||
declarations-before-nesting: 2 | ||
space-between-parens: 2 | ||
no-vendor-prefixes: 2 | ||
one-declaration-per-line: 2 | ||
space-before-colon: 2 | ||
space-after-colon: 2 | ||
space-before-bang: 2 | ||
hex-notation: | ||
- 2 | ||
- | ||
style: lowercase | ||
indentation: | ||
- 2 | ||
- | ||
size: 2 | ||
brace-style: | ||
- 2 | ||
- | ||
allow-single-line: false | ||
empty-line-between-blocks: 2 | ||
space-before-brace: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
sudo: false | ||
# Set Ruby as the language so it doesn't download the pip things. Instead, let docker do that. | ||
language: ruby | ||
|
||
matrix: | ||
include: | ||
- install: | ||
- env | grep TRAVIS > .env | ||
- env | grep CI >> .env | ||
- docker-compose -f docker-compose.yml -f docker-compose.travis.yml run celery echo | ||
script: (docker-compose -f docker-compose.yml -f docker-compose.travis.yml up celery &); sleep 5; docker-compose -f docker-compose.yml -f docker-compose.travis.yml run web tox | ||
services: | ||
- docker | ||
env: | ||
name: Python | ||
- install: | ||
- env | grep TRAVIS > .env | ||
- env | grep CI >> .env | ||
# Uncomment after we upload docker images | ||
# - docker build -t travis-watch -f ./travis/Dockerfile-travis-watch . | ||
- docker build -t travis-watch -f ./Dockerfile-node . | ||
script: bash ./travis/js_tests.sh | ||
services: | ||
- docker | ||
env: | ||
name: JavaScript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
libxmlsec1-dev |
Oops, something went wrong.