Commit Graph

1520 Commits

Author SHA1 Message Date
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
Anton Drukh
0773991ed7 doc(readme): wear the Snyk badge with pride! (#1583) 2016-10-19 18:55:08 +03:00
Liran Tal
0638294bac feat(security): adding snyk support to test our dependencies for insecure vulnerabilities as part of our build process (#1519) 2016-10-19 11:49:37 +03:00
Pedro Rodrigues
59c11c622e fix(core): fix twitter meta tags (#1581)
I believe the Twitter meta tags are outdated and this PR fixes them.
Taking into account the current MEAN.js tags and the Twitter docs, the most similar feature I found
is the Twitter Summary Card (https://dev.twitter.com/cards/types/summary).
2016-10-19 11:49:02 +03:00
Sujeeth
4dd866992a fix(config): config.app.domain -> config.domain (#1572)
Issue brought up by @19r3ka

Fixes #1506
2016-10-15 18:50:10 -07:00
Michael Leanos
ef3b361c09 fix(config): Default config dangling comma (#1570)
Removes the dangling comma from the default configuration db.promise
setting.
2016-10-15 14:07:30 -07:00
Cody B. Daig
517dc32b69 promise(core): Add Promise Option to Mongoose (#1560)
Fixes #1559
2016-10-15 07:11:05 -07:00
Liran Tal
b40cd2dbdb * feat(core): node engine update, adding cleanup and reinstall npm scripts
Node engine updates and package.json additional scripts (#1567)
* updated cleanup with 'npm cache clean' as well
2016-10-15 10:37:46 +03:00
Liran Tal
b9129a3de9 feat(node): replacing the outdated gulp-node-inspector
Replacing deprecated gulp node inspector
Merge pull request #1565 from lirantal/feat/replacing-gulp-node-inspector
2016-10-14 22:20:58 +03:00
Liran Tal
83ffc98efa Merge branch 'master' into feat/replacing-gulp-node-inspector 2016-10-13 22:59:34 +03:00
Liran Tal
19145b920b feat(debug): replacing deprecated gulp-node-inspector with vanilla node-inspector 2016-10-13 22:59:09 +03:00
Liran Tal
d824224b2f fix(core): Remove the <base> tag (continues #1230)
fix(core): Remove the <base> tag (continues #1230)
Merge pull request #1544 from mleanos/remove-base-tag
2016-10-12 14:20:37 +03:00
Sujeeth
d5b8ffa50c feat(core): Add error handler for failed requests (#1557)
Add error handle for failed requests(no response from server)
Using Notification.error to show error message
Added test for the notification in Auth Interceptor

Fixes #1556
2016-10-11 20:47:29 -07:00
Michael Leanos
baa291af4e fix(core): Directive file naming convention (#1558)
Renames show-error & autofocus directives to conform to naming
conventions.

Fixes: https://github.com/meanjs/mean/issues/1233
2016-10-11 20:45:06 -07:00
Liran Tal
119753f902 feat(gulp): replacing the unmaintained gulp-livereload with gulp-refresh
* feat(gulp): replacing the unmaintained gulp-livereload with gulp-refresh
Replacing the unmaintained gulp-livereload with gulp-refresh (#1552)

* ~ instead of ^ for gulp-refresh package
2016-10-11 22:20:56 +03:00
mleanos
99e5803eae Fix client-side tests after removing <base/>
Fixes the client-side tests after the removal of the <base/> tag from
the main layout.

These fixes aren't ideal. At the moment, they will suffice. This comment
(https://github.com/angular-ui/ui-router/issues/212#issuecomment-60803437),
among others in that issue, led me to choose this method as the fix to
avoid having to change any other core code.
2016-10-10 17:11:25 -07:00
mleanos
c065246a23 Update path in tests
Updated tests to account for new "/" prefix in the path.
2016-10-10 16:05:10 -07:00
Cameron Behar
aebaf2ff74 fix(core): Remove the <base> tag. 2016-10-10 16:05:10 -07:00
Michael Leanos
0ea8cec120 fix(express): Incorrest uses of 400 error codes (#1553)
Fixes incorrest usage of 400 HTTP responses being returned from the
server, in favor of using 422.

Also, changed a few return codes to 401 where it was more appropriate.

See this article for reasoning behind moving to 422, and why 400 isn't
appropriate for these cases.

For ref:
6be12f8a06

Related:
https://github.com/meanjs/mean/pull/1547
https://github.com/meanjs/mean/pull/1510
2016-10-10 16:00:24 -07:00