Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge master into feature/187 #220

Open
wants to merge 25 commits into
base: feature/187
Choose a base branch
from

Conversation

rcowsill
Copy link
Contributor

There are quite a few commits in master since the common base with feature/187. This is a WIP PR to merge them in.

In particular, d1d5657 is needed in this branch to stop the Travis builds from using the old mLab database. That database will be deleted in January next year, resulting in CI build errors if it's still in use.

This will also bring over some quality-of-life improvements like crossenv and dev-only livereload.

lirantal and others added 24 commits July 9, 2020 09:26
fix: startup logs stringified objects incorrectly
fix: example of xss in bad context using a dedicated profile field
Collection drop commands were sent without waiting for their completion. The
userId counter insert could complete before the counter collection drop.
In that case the new counter would be deleted
* Make the web service connect to the mongo service, not mLab
* Update readme to remove the "change config" step
* Import NODE_ENV into the web service so the appropriate config is used
* Skip devDependency install by default
* Use lowercase NODE_ENV so Heroku can strip devDependencies in production
* MONGOLAB_URI isn't needed as the mongolab addon has been removed
* Removed the old mlab connection URI as that database will be deleted
* Default db is localhost:27017, for all other cases set MONGODB_URI
  (don't commit database credentials to a public repo)
* Heroku section includes database set up instructions
* "Remote MongoDB" sections cover Atlas instead of mLab
* "Remote MongoDB" sections use MONGODB_URI env var (don't commit DB password)
* Adjusted layout and fixed some typos
Also corrected the example connection string, which was in the wrong format
* Moved examples for NoSQL and SSJS attacks into a new panel
* Added a note to the new panel about Atlas M0 (doesn't support js queries)
* Updated log injection section formatting to match the others
Remove mongolab addon from Heroku deploy
Adjustments to livereload to stop (timeout) in prod
Add cross-env for Windows scripts compatibility
@rcowsill rcowsill marked this pull request as ready for review November 20, 2020 16:56
@rcowsill rcowsill changed the title [WIP] Merge master into feature/187 Merge master into feature/187 Nov 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants