Commit Graph

1538 Commits

Author SHA1 Message Date
Mikael Korpela
be88a2ca1f fix(users): don't fail on missing old image on image upload (#1839)
Fixes scenarios where previously when old image file would be missing, uploading new image file over it would fail because unlinking previous file fails.
2017-08-13 21:52:38 +03:00
Mikael Korpela
1e3eeb7e3b feat(build): Turn on mangling for uglify (#1841)
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
2017-08-13 20:10:55 +03:00
gbatz
c467c84e60 fix(gulp): fix broken test:server:watch task (#1842)
Pass the path string of the changed file to `gulp-refresh` plugin, so that an exception won't be thrown when test files are reloaded.
2017-08-13 20:08:42 +03:00
Pierre Brisorgueil
c69644db65 feat(core): Enhancement page title directive (#1686)
* 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

* pageTitle directive

automatic pageTitle directive

fix loads add ..

clean lodash dependencies

clean code

clean code & indent

clean lodash

* pageTitle directive

automatic pageTitle directive

fix loads add ..

clean lodash dependencies

clean code

clean code & indent

clean lodash
2017-08-09 22:47:01 -07:00
Mikael Korpela
f65d4b90ca feat(user): Add email support to forgot password (#1834)
Adds support for recovering users account using email and username.

Previously only username worked.
2017-08-07 16:38:48 +03:00
Snyk bot
27f5065d52 fix(mocha): update mochajs version to reduce vulnerabilities (#1830)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/npm:ms:20170412

Latest report for meanjs/mean:
https://snyk.io/test/github/meanjs/mean
2017-08-02 00:42:23 +03:00
Dale Lotts
6021c145f9 refactor(menus): Refactor to the Menus client service to use functional loops/filters (#1575)
The for loops, expecially the nested for loops, over array elements with variable names contianing

'index' made the code incomprehensible.
2017-07-29 15:35:43 -07:00
Michael Leanos
dc880eb5a7 feat(config): Mongoose 4.11 upgrade (#1818)
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
2017-07-27 13:19:22 -07:00
kit
11777465cf Update templateCache root path 2017-07-18 17:09:05 +03:00
Liran Tal
3470dc5d84 feat(packages): updating packages (#1819) 2017-07-17 08:26:06 +03:00
Mikael Korpela
f43d3ead05 feat(Karma): Add mocha style progress to Karma tests 2017-07-14 09:31:25 +03:00
Mikael Korpela
19478ba942 feat(Travis): Don't allow Node.js 8 testing fail (#1815) 2017-07-13 22:25:12 +03:00
Pierre Brisorgueil
16a1dcd1d3 feat(dependencies): replace PhantomJS in favor of chrome (#1776)
* 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
2017-07-13 20:57:09 +03:00
Snyk bot
810dd8152c fix(security): updated compression lib in package.json to reduce vulnerabilities (#1812)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/npm:ms:20170412

Latest report for meanjs/mean:
https://snyk.io/test/github/meanjs/mean
2017-07-11 12:06:22 +03:00
Michael Leanos
b7fc24d7d1 fix(build): ESLint error in Express config (#1807)
Fixes a trailing space eslint error in the Express config.
2017-07-03 15:24:37 -07:00
Liran Tal
57c63e6d0b fix(security): updating vulnerable packages (#1802)
* fix(security): updating vulnerable packages

* fix(helmet): updating to support latest changes, transition from ms to seconds represntation

* comment on SIX_MONTHS variable
2017-07-02 08:09:52 +03:00
Michael Leanos
e3df83e351 fix(build): E2E coverage broken on Travis CI (#1805)
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.
2017-07-01 13:38:44 +03:00
Michael Leanos
0cbdbdafb7 fix(users): Domain config setting (#1803)
Fixes an incorrect reference to the application's Domain configuration
setting.
2017-06-28 15:12:15 -07:00
Justin Rodenbostel
44a569ee1f feat(articles): Simple test enhancement (#1659)
* 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/257

Fixes #1658

* updated per @simison's request
2017-06-13 15:57:02 -07:00
Mikael Korpela
482c38c287 feat(travis): start testing against Node.js 8 and other CI improvements (#1785)
* 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
2017-06-14 00:45:34 +03:00
Cody B. Daig
4321744a09 fix(dependencies): upgrading nodemailer (#1794) 2017-06-14 00:44:12 +03:00
Liran Tal
962f50e529 fix(build): updating travis to use the trusty image for speedy CIs (#1793) 2017-06-13 16:16:44 +03:00
aanev
d72da37e9b feat(articles): Promisifies article server test set up and clean up (#1774)
Promisifies object creation in beforeEach and afterEach hooks in article server tests.

Fixes #1773
2017-06-12 11:19:11 +03:00
Snyk bot
c6215a0ed5 fix: package.json to reduce vulnerabilities (#1782)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/npm:ms:20170412

Latest report for meanjs/mean:
https://snyk.io/test/github/meanjs/mean
2017-06-12 11:14:43 +03:00
Snyk bot
8c975c4b14 fix: package.json to reduce vulnerabilities (#1787)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/npm:ms:20170412

Latest report for meanjs/mean:
https://snyk.io/test/github/meanjs/mean
2017-06-12 11:14:26 +03:00
Michael Leanos
e4a3d38b23 fix(users): Duplicate Provider Accounts (#1767)
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.
2017-06-11 00:21:26 -07:00
Liran Tal
7b91f76fd3 feat(build): updating supported Node.js versions for CI (#1768) 2017-06-10 23:25:02 +03:00
Liran Tal
68c96066c2 fix(package): updating node engine supported version (#1789) 2017-06-10 21:55:33 +03:00
Pierre Brisorgueil
7eedfcc6cf chore(documentation): add comment to remind change for mongo replicaset connection
* 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

* comment to remember replicaset connexion

* fix atom beautify newline

* clean
2017-04-20 22:53:01 +03:00
Liran Tal
9c3a4f53bc build(gems): we shouldnt need any gem file installations anymore (#1759) 2017-04-11 13:08:02 +03:00
Liran Tal
5f9e0188dc fix(dependencies): moving phantomjs-prebuild to devDependencies (#1754) 2017-04-09 09:28:20 +03:00
Liran Tal
73135df49f fix(protractor): support for gulp-protractor for v6-7 only (#1752)
* fix(protractor): updating gulp-protractor
* re-factoring out protractor prep tasks
2017-04-09 08:40:48 +03:00
Liran Tal
e5d7f15b05 fix(dependencies): upgrading dependencies to latest versions (#1753)
* fix(dependencies): upgrading dependencies to latest versions
2017-04-08 18:28:49 +03:00
Liran Tal
e596375b62 fix(tests): removing unused mock-fs library which caused tests to fail (#1751) 2017-04-08 11:49:38 +03:00
Liran Tal
817c4e3cdf fix(snyk): disabling snyk until we resolve insecure deps & snyk integration
* fix(snyk): disabling snyk until we resolve insecure deps & snyk integration

* update serve-favicon dep
* updating packages
2017-04-07 19:35:29 +03:00
Liran Tal
994369d7bb fix(node-inspector): deprecating node-inspector infavor of native nodejs debug (#1744) 2017-04-07 13:19:06 +03:00
Liran Tal
d7b6d95225 fix(snyk): travis snyk setup with snyk auth (#1749)
* fix(snyk): travis snyk setup
2017-04-07 08:58:49 +03:00
Liran Tal
f8384040a4 fix(mongoose): fixing mongoose deprecation notice for promises lib (#1691)
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`
2016-12-25 11:23:57 +02:00
Laurence Tennant
f53db0f2e2 Better autofocus (#1664) 2016-12-13 18:51:19 -08:00
Michael Leanos
d37b603767 Incorrect production assets (#1647)
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.
2016-11-20 16:54:24 -08:00
Laurence Tennant
2b6cf53d30 fix(users): Better MIME-type checking, remove image cropping library (#1589)
* 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
2016-11-15 15:59:47 -08:00
Liran Tal
e62b6808e0 feat(docker): cleaning up pkgs and enabling npm install for dev env (#1603) 2016-10-30 21:26:29 +02:00
Michael Leanos
502143b212 fix(config): Default env config lint error (#1604)
Fixes linting errors thrown from incorrect spacing in the default
environment config. Incorrect spacing at the `illegalUsernames` config
setting.
2016-10-29 13:24:11 -07:00
shanavas
d47dd41108 feat(build): Ignore compiled sass/less files from git (#1592)
* Compile sass/less files to appropriate directories

* Include compiled sass/less files in asset

* Ignore compiled sass/less files
2016-10-29 11:30:46 -07:00
Mikael Korpela
aed62359ec feat(ci): Test for Node v7 (allow failure) (#1596) 2016-10-25 16:47:15 -07:00
Liran Tal
99496e6c1a fix(core): updating instructions on how to generate the changelog for releases (#1587) 2016-10-21 18:32:54 +03:00
Liran Tal
fd154c7f61 * chore(release): bumping to version 0.5.0
Bumping to version 0.5.0 (#1586)
* chore(core): updating changelog
2016-10-21 18:15:06 +03:00
Sujeeth
fb9d9d912c feat(user): add strict validations for username (#1574)
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
2016-10-19 20:40:26 -07:00
itelo
0e2ea65918 fix(users): fix redirect when signup or add provider (#1573)
Fixes the issue of the redirect after Social login authentication, on signup or user profile add provider.
2016-10-19 17:12:47 -07:00
Pierre Brisorgueil
ae638893b2 fix(users): test for usernameOrEmail (#1582) 2016-10-19 18:59:45 +03:00