Fixes scenarios where previously when old image file would be missing, uploading new image file over it would fail because unlinking previous file fails.
Turns on mangling for uglify (minified javascript for production).
Previously this might've caused issues with AngularJS, but since we are now using `ngAnnotate`, those issues are gone.
https://github.com/mishoo/UglifyJS2#minify-options
Upgrades Mongoose to 4.11.1
Updates Mongoose connection implementation to accommodate deprecated
features & connection options.
Also, updates the Gulp Mocha tasks to reflect changes to the Mongoose
implementation.
Fixes tests to get the database from the existing Mongoose singleton.
Derives from changes in https://github.com/meanjs/mean/pull/1816
Closes https://github.com/meanjs/mean/issues/1814
* fix(users): test for usernameOrEmail
* Add comment to remind change for mongo replicaset connection
* clean comment ..
* Generic pageTitle concept
* Revert "Generic pageTitle concept"
This reverts commit ff00ec950f085ca3b6d1abb564eab1965ab0a56e.
* align on meanjs state
* fix atom beautify newline
* align to mean indent
* upgrade protractor
* Switch from firefox to chrome for travis
* fix build
* clean npm install protractor
* enable sudo
* clean order for mean
* clean dependencies
* fix(security): updating vulnerable packages
* fix(helmet): updating to support latest changes, transition from ms to seconds represntation
* comment on SIX_MONTHS variable
Fixes an issue with the Travis CI builds failing at the E2E tests due to
an apparent issue with the Mozilla Gecko web-driver used with Selenium.
1) Upgrades `gulp-protractor` to ensure Protractor v5> is used.
2) Removes `--firefox` option from the Travis CI Selenium
`webdriver-manager update` step.
3) Changes Protractor config to use Chrome instead of Firefox.
* feat(articles): Simple test enhancement
Simple test enhancement proposed by @jrodenbostel. Eases troubleshooting when Article save fails during test execution.
Further reference here: https://github.com/meanjs/generator-meanjs/pull/257Fixes#1658
* updated per @simison's request
* Test against Node.js 8
Configure Travis CI test against Node.js 8 and allow failures.
Node.js 8 release notes: https://nodejs.org/en/blog/release/v8.0.0/
* Updates to TravisCI
* Refactor picking debug argument for different Node.js versions
Fixes an issue where a provider account could be added to the logged in
user's additionalProviderData, when another user has already connected
that same account.
Refactors the saveOAuthUserProfile method to consider the results of the
provider search query, whether or not the current user is logged in.
If no promises library set correctly for the mongoose.Promise property then the following warning notice is omitted by mongoose:
`DeprecationWarning: Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library instead: http://mongoosejs.com/docs/promises.html`
Removed the ng-img-crop references from the production assets
configuration, since the library has been removed from the project.
Also, re-ordered the CSS section to be in alphabetical order.
* Cropping remove, nicer UI
* Fix MIME-type checking, add image upload tests
* Change image config settings to uploads.profile.image to build a more
rational structure for configuring other types of uploads
Idea proposed by @sparshy #1204
Suggestions, rules and tests from Trustroots @simison
Added validations on user server model
Added client side validations
Added relevant tests on user server tests
Added relevant tests on user e2e tests
Fixes#1204