Commit Graph

1376 Commits

Author SHA1 Message Date
gitname
e3572d2ef0 (typo): add missing word (#1340) 2016-05-19 10:41:13 +03:00
Mikael Korpela
5da5a6106f feat(CI): Add Node v6 and remove v5 from allow_failures (#1328) 2016-05-02 03:02:21 +03:00
Trevor Jennings
5137214972 fix(users): Incorrect UsersService injection (#1283)
* fix bug in edit profile controller.

* fix(users): Incorrect UsersService injection
2016-04-29 14:20:03 -07:00
Michael Leanos
4906611ccc fix(users): GitHub strategy missing email (#1250)
Fixes an issue with an empty/missing/null Email coming from GitHub's
OAuth call response.

Also, introduces the `sparse` index option on the User model's Email
field. This will ensure that we can have multiple User documents without
the Email field.

Adds a server-side User model test for the sparse index setting on the
email field.

Confirms that User documents without the email field are not indexed,
illustrating the sparse option on the schema's email field works
properly.

Added the dropdb task to the Gulp test:client & test:server tasks, to
ensure we have a clean database & that any indexes are rebuilt; this
will ensure any Schema changes (in this case the email index is rebuilt using
the sparse index option) are reflected when the database is started again.

Added a UPGRADE.md for tracking important upgrade information for our
user's to be aware of, when we introduce potentially breaking changes.

Included an explanation of the Sparse index being added, and how to apply it
to an existing MEANJS application's database.

Adds a script for dropping the `email` field's index from the User
collection.

Related #1145
2016-04-29 14:13:46 -07:00
Ilan Biala
e3cd65f8d8 Merge pull request #1315 from trendzetter/revert-1276-enhancement-relative-header
Revert "Enhancement(core): Relative position attribute added to the header."
2016-04-28 11:02:30 -04:00
Liran Tal
5214a1bb27 Merge pull request #1309 from lirantal/bugfix/hsts-already-defined-by-helmet
fix(hsts): removing HSTS configuration set on lusca's csrf settings
2016-04-22 08:44:11 +03:00
Ilan Biala
f2bad046e0 Merge pull request #1312 from simison/patch-16
fix(docs): Add git to Prerequisites
2016-04-21 11:15:49 -04:00
Liran Tal
2b2320da08 Merge pull request #1314 from lirantal/feature/update-docker-container-names
feat(docker): persisting the container names
2016-04-19 21:43:16 +03:00
trendzetter
b633dfb964 Revert "Enhancement(core):Relative position attribute added to the header." 2016-04-18 22:11:07 +02:00
Liran Tal
852a1a6f06 feat(docker): persisting the container names for the docker containers that get created allows to easily use an alias instead of the container id which is automatically generated and is usually different 2016-04-18 00:40:05 +03:00
Mikael Korpela
3fa9878fe3 fix(docs): Add git to Prerequisites
Add git to prerequisites so that especially Windows users would realise to install it.

Fixes #1310
2016-04-13 17:47:29 +03:00
Liran Tal
c9169e41a1 fix(hsts): removing hsts configuration set on lusca's csrf settings but is already configured and provided using helmet 2016-04-13 13:42:21 +03:00
Michael Leanos
f2a6bf9afd fix(gulp): Trailing spaces lint error in gulpfile (#1303)
Removes the trailing spaces in the gulpfile causing a linting error.
2016-04-12 00:02:30 -07:00
Michael Leanos
eaead7a30c feat(gulp): test:server:watch task onlyChanged (#1298)
Sets the behavior of the test:server:watch Gulp task to only run a single
test suite if the modified server file is a test suite. Previously this was
acheived through the use of the `onlyChanged` parameter. The parameter has
been removed since this is almost certainly the only use case.

Also, refactors this Gulp task to be a stand-alone watch task rather than
including it in the 'watch' task.

Removed the need for using yargs library, and removed the yargs package
from the framework.

Closes #1297
2016-04-10 16:56:57 -07:00
Liran Tal
bc0b4a62e1 Merge pull request #1287 from lirantal/feature/docker-efficient-npm-bower-changes
Updating Dockerfile for more efficient image building
2016-04-02 12:11:40 +03:00
Liran Tal
1bd42f6677 fix(docker): more efficient dockerfile for changes strictly to packages.json or bowerr.json 2016-04-01 08:47:59 +03:00
Liran Tal
8da372519a Merge pull request #1252 from lirantal/bugfix/replace-gulp-css-min
fix(gulp): replacing gulp-cssmin which has been deprecated and un-maintained with gulp-csso
2016-03-28 00:11:11 +03:00
Liran Tal
b46ebc894e Merge pull request #1281 from lirantal/bugfix/docker_maintainer_change
fix(docker): updating maintainer and docker compose
2016-03-26 11:48:56 +03:00
Liran Tal
5d2019fa29 fix(docker): updating maintainer and docker compose
* Setting the maintainer information to MEAN.JS team as well as in the comments
* Adding a docker-compose clause
2016-03-25 17:11:44 +03:00
Michael Leanos
dde9682073 Merge pull request #1202 from Gym/core-styleguide
feat(core): Modify core module to implement style guidelines.
2016-03-23 21:07:48 -07:00
Cody B. Daig
f3895314fa Merge pull request #1276 from generalgmt/enhancement-relative-header
Enhancement(core):Relative position attribute added to the header.
2016-03-23 20:45:00 -06:00
Ryan Hutchison
b2462ec86c feat(core): Modify core module to implement style guidelines.
Update the core module to implement the style guidelines.
Reduce size of init.js - moved filter logic out to it's own config.
Rename Menus to menuService
2016-03-23 15:41:57 -04:00
Liran Tal
59e6daa63d Merge pull request #1249 from lirantal/feature/docker_update_dev_environment
fix(docker): updating the Dockerfile and docker-compose.yml
2016-03-21 18:51:12 +02:00
Liran Tal
abd73073df fix(docker): updating the Dockerfile and docker-compose.yml for up to date versions of a MEAN.JS development environment setup
* updating mongodb to use a pinned version

* updating for quiet instalations
2016-03-20 16:09:33 +02:00
Liran Tal
89d302d781 Merge pull request #1254 from lirantal/bugfix/updating_packages
fix(dependencies): updating package dependencies to keep up to date versions
2016-03-20 08:55:40 +02:00
Liran Tal
7da7419b91 fix(dependencies): updating package dependencies to keep up to date versions
* updating to newer packages
* updating travis to remove node v0.12
2016-03-19 21:42:32 +02:00
Olatunde Garuba
661b3b6461 Enhancement(core):Relative positon attribute added to the header.
Relative positon attribute added to the header. proposed by @generalgmt

Fixes #1275
2016-03-19 16:52:28 +01:00
Michael Leanos
bc3d536ed2 Merge pull request #1271 from mleanos/fix/mongoose-bump-4.4.8
fix(dependency): Bump Mongoose to 4.4.8
2016-03-18 13:09:15 -07:00
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
Liran Tal
8d137acecc Merge pull request #1261 from lirantal/bugfix/gulpfile_lint_issues
fix(gulp): unhandled error (not printed for the user)
2016-03-18 11:29:37 +02:00
Liran Tal
47b228c601 Merge pull request #1259 from lirantal/bugfix/lint-confirm-functions
fix(client): lint issues for confirm() messages not referencing the `window` object
2016-03-17 23:43:38 +02:00
Liran Tal
b4c94642a2 fix(gulp): unhandled error in gulpfile and also changing existing error related console.log() to console.error() 2016-03-17 22:32:16 +02:00
Liran Tal
80226a2b24 fix(client): lint issues for confirm() messages not referencing the window object 2016-03-17 22:27:53 +02:00
Ilan Biala
b0e6b4e59f Merge pull request #1097 from feimosi/eslint-integration
feat(config): Deprecate JSHint in favor of ESLint
2016-03-15 16:06:48 -04: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
Michael Leanos
4e9ad81ad2 Merge pull request #1246 from QiyuLi/fix/supoort_mongo_3.2
fix(core): Support WiredTiger engine errmsg format in MongoDB 3.2
2016-03-14 12:19:59 -07:00
Michael Leanos
4c89ce7e2d Merge pull request #1208 from itelo/users-styleguide
feat(users): Modify users module to implement style guidelines.
2016-03-14 11:46:41 -07:00
Liran Tal
d5c6c8eb90 Merge pull request #1265 from ryanjbaxter/change-pipeline-node-version
Changes Node Version In Bluemix Pipeline
2016-03-13 15:36:22 +02:00
Ryan J Baxter
c3d8da98c0 fix(bluemix): Changes Node Version In Bluemix Pipeline 2016-03-12 21:31:34 -05:00
Michael Leanos
a5e72cf505 Merge pull request #1264 from mleanos/fix/mongoose-undefined-db-bug
fix(dependency): Mongoose 4.4.7 bug
2016-03-12 17:53:56 -08: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
Michael Leanos
9d4249d602 Merge pull request #1223 from itelo/gulp
feat(gulp): add wiredep gulp task
2016-03-10 17:05:39 -08:00
IteloFilho
3d199ea93e feat(gulp): add wiredep gulp task 2016-03-10 20:31:32 -03:00
Liran Tal
b661284f59 fix(gulp): replacing gulp-cssmin which has been deprecated and un-maintained with gulp-csso 2016-03-10 12:52:08 +02:00
Liran Tal
065e01c7da Merge pull request #1255 from lirantal/bugfix/remove_gulp_node_inspector
fix(gulp): remove gulp-node-inspector dependency
2016-03-08 22:42:43 +02:00
Michael Leanos
ea6517f4fb Merge pull request #1253 from AlexanderGrooff/patch-1
Docs(readme): Removed duplicate mention of installing grunt
2016-03-07 12:52:47 -08:00
Michael Leanos
09697f8de3 Merge pull request #1238 from mleanos/fix/ui-router-trailing-slash
fix(core): Remove trailing slash from routes
2016-03-07 12:46:03 -08:00
Alexander Grooff
537cc892a8 Removed duplicate mention of installing grunt
Duplicate was on line 32 and line 42.
2016-03-07 11:18:53 +01:00
mleanos
b00498629c fix(core): Remove trailing slash from routes
Adds an angular $urlRouterProvider service Rule to the Core module
configuration, that removes any trailing slashes in the URL for all routes.

The Rule is defined in the core routes configuration. Thus, in order for
this to work on all routes in the application, we have to inject the Core
module into each client module, as a dependecy in the client.module
configuration. Otherwise, we'd have to define the Rule in each module's route
configuration individually.

Adds missing client-side route configuration tests.

Tests demonstrate that the various route configurations can handle a trailing
slash in the URL, and gets resolved to the correct client route.

Fixes #1075
2016-03-06 20:56:29 -08:00
Liran Tal
0b13107d65 fix(gulp) remove gulp-node-inspector dependency 2016-03-06 22:00:59 +02:00