Commit Graph

158 Commits

Author SHA1 Message Date
mleanos
2f906e5f48 fix(dependency): Bump Mongoose to 4.4.8
Upgrades the Mongoose version to 4.4.8.

The need to limit Mongoose version to be less than 4.4.7 is no longer
necessary due to a bug fix released with 4.4.8.

Resolves the need for #1264
2016-03-18 12:07:00 -07:00
Marek Grzybek
d14d5130af feat(config): Deprecate JSHint in favor of ESLint
Add basic ESLint setup extending well-known Airbnb code style.

Fixes #1072, #1097
2016-03-15 19:11:12 +01:00
mleanos
07da139607 fix(dependency): Mongoose 4.4.7 bug
Fixes an issue with Mongoose `4.4.7` that causes the database
connection.db property to be undefined. This issue is causing our builds
to fail.

Sets the Mongoose version to `~4.4.3 <4.4.7` for now until we
investigate further. This should solve the issue of our failing builds,
when the `dropdb` Grunt/Gulp task is ran with the E2E tests.
2016-03-12 15:30:56 -08:00
IteloFilho
3d199ea93e feat(gulp): add wiredep gulp task 2016-03-10 20:31:32 -03:00
Liran Tal
0b13107d65 fix(gulp) remove gulp-node-inspector dependency 2016-03-06 22:00:59 +02:00
Ilan Biala
049fde9451 Merge pull request #1207 from trendzetter/master
feat(config): Upgrade to angular 1.5
2016-03-02 14:44:55 -05:00
Joris Willems
500d1a62df feat(config): upgrade to angular 1.5
Update bower dependencies to more recent versions.
Resolved hard-coded dependency by updating file upload
PhantomJs to 2.x series for tests (@usta)
Fix assertion in tests for compatibility with MongoDB 3.2 (@rhutchison)
Improve coding style tests to avoid type errors (@ilanbiala)
Fix refresh showing flash of scrollbar in menu
Remove deprecated angular-ui-utils

Fixes #1124
2016-03-02 18:18:53 +01:00
Liran Tal
fc78cbd5a1 feat(deps): update socket.io dependency
version 1.3.7 installed with the package.json file is 6 releases behind - 1 feature release, and 5 patches.
security advisors have been published for older socket.io version
2016-02-28 21:25:19 +02:00
Cody B. Daig
5105eb12fe Merge pull request #1221 from meanjs/docs/version
doc(package): Change meanjs version to 0.5.0-beta
2016-02-24 08:41:00 -07:00
Ilan Biala
1c143ae24a feat(deps): Update server-side dependencies 2016-02-20 11:26:20 -05:00
Liran Tal
35d7501cfe Merge pull request #997 from yilenpan/feat/csrf
[feat] Added Lusca middleware for CSRF [fixes #828]
2016-02-20 13:16:31 +02:00
Cody B. Daig
6365fddc7b doc(package): Change meanjs version to 0.5.0-beta
Change the version to 0.5.0-beta so people know that this is beta code and things are rapidly changing.
2016-02-17 09:53:17 -07:00
Yilen
b2db312e14 feat(csrf): Added Lusca CSRF Prevention
Added lusca for CSRF protection as per issue #828

Fixes #828
2016-02-16 10:57:11 -08:00
IteloFilho
936379da20 feat(gulp): Add node-inspector task to Gulp 2016-02-14 17:21:21 -03:00
Ilan Biala
62095a1114 fix(test): Update Mocha, mock-fs, and fix Node 5 support 2016-02-10 20:47:11 -05:00
Cody B. Daig
2ee7194bbc feat(package.json): Set Async version to ~ from ^ 2016-02-06 10:16:39 -07:00
Cody B. Daig
a2c43c29eb fix(dependencies): Lock dependencies major and minor versions 2016-01-27 17:02:27 -07:00
Andrew Throener
64884b8925 fix(Travis build): PhantomJS and SocketIO dependencies 2016-01-27 11:42:54 -06:00
accraze
1a3f6f8195 feat(build): added imagemin to gulp
in order to minify images,
gulp is now given an imagemin task
2016-01-13 19:23:19 -08:00
mleanos
bf2eeed219 feat(gulp): Gulp Server Watch for Mocha
Adds a Gulp task that watches all server files (including server tests),
and upon any changes it will perform the Gulp *test:server* task.

Added a watch for server assets, to the main gulp watch config. This will only
add the watch when the NODE_ENV is set to "test".

Also, includes an **optional** argument for the task that can specify
that if the changed file is a test, then it will only run that test
file.

Example usage: gulp test:server:watch --onlyChanged
2015-12-16 17:56:53 -08:00
Ilan Biala
6088e0f8c7 fix(test): Remove npm warnings by testing against Node >=0.12
Fixes #1015
2015-11-29 21:58:28 -05:00
Cody B. Daig
bcdb663934 [docs] Changelog and updating package.json file for 0.4.2 release 2015-11-15 08:43:40 +02:00
Cody B. Daig
09bc727fdf Update Mongoose Version 2015-10-27 13:13:27 -07:00
Ilan Biala
63d0d71cf6 Merge pull request #948 from gustavodemari/update-multer-profile-upload
Update profile upload with a new version of multer
Fixes #947
2015-10-25 22:03:23 -04:00
mleanos
8cd2291a6a Enable log options for Morgan
Adds the log options, and format to the Morgan middleware in the Express
configuration.

These options are defined in the environment configurations.

The implementation derived from https://github.com/meanjs/mean/pull/254
by @lirantal, which somehow got overlooked when merging 0.4.0 into
master.

Added tests for the Logger configuration.

Added the log settings to the Test env config.

Added environment variables for the log settings in the Test &
Production env configs.

Moved the Morgan Express middleware outside of the NODE_ENV ===
'development' check. Morgan should be used in all environments, and use
the settings set in each env config.

Changed the wording of the Stream option comments in the env configs.

Added Rotating Logs functionality, and refactored the log Stream
options. Added a new npm package, FileStreamRotator, for use with
Morgan's rotating logs functionality.

Also, refactored the log configuration tests to be more maintainable.

Added more tests, and refactored test suite to use mock-fs.
2015-10-20 21:03:07 -07:00
Cody B. Daig
64916dd5ac Lock mongoose version to a working version 2015-10-19 20:19:59 -07:00
gustavodemari
7ecf9337ce updating profile upload with a new version of multer 2015-10-18 20:56:12 -02:00
Ilan Biala
1729db38e2 Merge pull request #990 from ilanbiala/eslint
Add ESLint
Fixes #763
2015-10-17 13:48:57 -04:00
Ilan Biala
9795cc08bf Merge pull request #1001 from ilanbiala/node-pre-gyp
Remove node-pre-gyp
Fixes #938
2015-10-17 13:06:33 -04:00
Ilan Biala
2ab02b7210 Update package.json 2015-10-17 12:48:00 -04:00
jloveland
c2b13b9216 adding karma coverage for grunt 2015-10-17 11:51:05 -04:00
Ilan Biala
d5cc4b7b34 Add ESLint support 2015-10-16 21:04:00 -04:00
Liran Tal
3cfd978e8a Merge pull request #922 from lirantal/feature/travis-add-node-v4-gcc-update
NodeJS v4 support - fixing the failed build
2015-10-06 14:22:47 +03:00
Liran Tal
b7a57abd30 adding the required support to properly build the nodejs v4 edition
updating grunt-node-inspector version to compatible version with nodejs v4
2015-10-06 14:09:04 +03:00
jloveland
fdf1ad571b fixing grunt and gulp e2e tests 2015-09-29 08:21:43 -04:00
mleanos
1c7d74298b [hotfix] Fixes db seed password bug
Fixes the database seeding bug with the password not passing the owasp
test.

Adds a UserSchema static method that generates a random passphrase that passes
the owasp test.

Performed minor refactoring of the database seed configuration to
implement the new UserSchema method.

Added model test for the UserSchema generateRandomPassphrase static method.
2015-09-22 02:23:30 -07:00
Liran Tal
5c16db2187 Merge pull request #878 from jloveland/owasp-password-strength
Adding stronger password security
2015-09-10 09:54:29 +03:00
jloveland
1fd6bb6119 adding stronger password requirements for improving security based on OWASP 2015-09-07 22:11:02 -04:00
Liran Tal
a12746e3c1 Adding support for meanjs-version specific configuration option and displaying both MEAN.JS project and App project version numbers on start-up 2015-09-06 11:12:26 +03:00
Cody B. Daig
834555c80d 0.4.1 2015-09-02 14:36:51 -07:00
Liran Tal
70513452b0 Merge pull request #811 from lirantal/feature/code-coverage
Adding coverage report for server-side tests using istanbul
2015-09-01 16:22:36 +03:00
Ryan Hutchison
1fa977679c Task enhancements
lint is already referenced in build task.

missing env:prod

add client/server test tasks

Add template cache and autoprefixer.

Update .jshintrc
2015-08-26 00:43:21 -04:00
Liran Tal
7c286b00bb adding support for coveralls integration for mean.js to report live project code coverage information 2015-08-21 14:58:29 +03:00
Liran Tal
7252032007 Adding coverage report for server-side tests using istanbul 2015-08-16 00:19:52 +03:00
Andrew Throener
ea97f2e7d8 Database seeding 2015-08-13 09:37:24 -05:00
Ryan J Baxter
efd3ee4ce8 Initial support for deploying MEANJS to Cloud Foundry 2015-07-30 15:15:22 -04:00
cdriscol
c4685392cf Adding karma-ng-html2js-preprocessor to fix karma tests. Adding user mock to articles tests. 2015-07-26 10:21:49 -06:00
Cody Daig
5d5d1b7bda Update package.json to include peer dependencies 2015-07-17 01:09:08 -07:00
git-admin
a23290b46e Use validator.js for email validation 2015-07-17 09:27:16 +02:00
Andrew Throener
fe1d584564 Indentation fixes 2015-07-14 22:05:12 -05:00