Commit Graph

1954 Commits

Author SHA1 Message Date
Ilan Biala
53d73a3d80 Merge pull request #1419 from 9ac345a5509a/patch-1
fix(chat): fix profile image not displaying properly on disconnect
2016-08-09 14:21:51 +03:00
9ac345a5509a
24b6e3a3cb fix(chat): fixed profile image not displaying properly on disconnect
hotfix to make sure that the profileImageURL is sent on disconnect
2016-08-06 23:04:57 -04:00
Liran Tal
64392b1eed fix(config): updating environment variable name for mongodb with the new one for Heroku (#1413) 2016-07-31 13:34:04 +03:00
Liran Tal
37183e0359 * fix(express): updating express session name variable due to deprecation
* fix(express): updating express session name variable from key (the old deprecated one) to the new variable: name

* fix(express): re-wording confusing comment on the session cookie name
2016-07-27 11:39:13 +05:45
Michael Leanos
89075cb8d3 feat(articles): Article Admin feature (#807)
This feature introduces a breaking change, that restricts the User's that
can create/edit/delete Articles to only those that have the `admin` Role.

Fixed ESLint issues.

Resolved merge conflicts, and moved new client Article Service
`createOrUpdate` functionality to new Admin feature controller.

Removed edit functionality from client-side Article controller.
2016-07-25 17:34:06 -07:00
Steve Fox
5817a484fa Add support for params in menu items
 (#1305)
* Support params to state for menu items.

* feat(core): Add support for params in menu items

Proposed by @scfox

Fixes #1304

* Removed trailing space on test.

* Changed default params to be empty object instead of empty string.
2016-07-25 14:14:39 -07:00
Liran Tal
6911b80446 feat(forever): removing forever dependency (#1409)
cleaning up project dependencies by removing the forever package which is only really used by Heroku's
procfile to start up the node service
2016-07-24 16:36:03 +03:00
Liran Tal
b198ca75b1 feat(gulp) - refactoring gulpfile to properly add support for node-inspector as its own dedicated gulp task (#1395) 2016-07-23 21:27:32 +03:00
shanavas
0934f87cfb feat(build): Wiredep task for grunt and gulp (#1402)
* Fix(grunt): remove redundant grunt task loading

remove explicit grunt task loading for `grunt-protactor-coverage` as
`load-grunt-tasks` handles it

* Feat(grunt): add wiredep task for grunt

Automatically update bower dependencies.

* Fix(grunt-wiredep):Remove trailing comma from assets

Remove trailing comma from assets configuration generated by wiredep

* Fix(gulp): Remove trailing comma from asset files

Remove trailing comma from asset configurations generated by wiredep

* Fix(npm): use tilde ranges

* Fix(gulp): use wiredep instead of gulp-wiredep

Fixes #1398

* Fix(grunt): use wiredep instead of grunt-wiredep

* Fix(lint): suppress eslint errors in asset files

Fixes #1402
2016-07-23 18:25:35 +03:00
itelo
d5a29f7acc fix(core): fix page-title directive (#1405)
fix Eslint throws "Move the invocation into the parens that contain the function wrap-iife"
fix typo retrict -> restrict
2016-07-21 22:05:41 -07:00
Michael Leanos
828753715f fix(core): fix page-title directive (#1404) 2016-07-17 19:06:31 -07:00
Liran Tal
1600705c41 fix(core): packages update due to insecure old versions that carry vulnerabilities
* fix(core): packages update due to insecure old versions that carry vulnerabilities

* updating packages to satisify deps

* updating deps for peer dependencies

* updating deps for peer dependencies
2016-07-16 12:05:40 +03:00
Liran Tal
d915157e8f feat(gulp): deprecating Grunt in favor of Gulp and NPM commands (#1390)
* feat(gulp): updating the README.md instructions with the changes to gulp being the mainstream vs the deprecation of grunt. Also added gulp as a task runner for freely executing tasks through npm run.
2016-07-13 23:07:39 +03:00
Cody B. Daig
5009a72bf0 feat(core): Enable ng-strict-di (#1389) 2016-07-11 09:10:42 -06:00
Michael Leanos
a7370a7808 feat(articles): ArticlesService extended $resource (#1266)
Extends the ArticlesService $resource object to include a custom method
for creating, or updating, an Article instance.

Related #1260
2016-07-10 17:55:29 -07:00
Mikael Korpela
5a91d7d3a0 eat(core): use npm commands
* feat(core): use npm commands

Replace variety of commands by npm commands.

See #1258

* Remove prestart

* Move bower --config.interactive=false to .bowerrc
2016-07-09 13:18:47 -06:00
Liran Tal
c95bd7d1cb fix(core): fix ESLint console warnings, Twitter redirect, and and scope usage (#1388)
* Use validator.js instead of regexp for validations in User Schema.

* Disables "Unexpected console statement  no-console" warnings

* Fixes redirection to wrong URL after login with social networks.

* Use ViewModel vm instead of $scope in manage social accounts controller.

* preserving the option to redirect to a specific URL as done in saveOAuthUserProfile() (thanks to @OneOfTheWorld for pointing out)
2016-07-07 01:24:23 +03:00
Roy Segall
30139a2429 fix(docs): the project now supports Node v5, updated the README 2016-06-30 19:31:49 +03:00
Michael Leanos
b795ddc7cd feat(users): Edit Profile client controller tests (#1329)
Adds client-side tests for the Users Edit Profile client controller.

1) should have user context
2) should update the user profile
3) should set vm.error if error

Related #1283
2016-06-25 13:52:22 -07:00
Ben Brook
1159e74d35 fix(docs): documentation fix for Pivotal Web Services (#1376) 2016-06-23 01:52:00 +03:00
bigTunaHeb
4b549d8034 fix(typo): fixed a typo in PULL REQUEST template file (#1372)
Line 18 change "like like" to "look like"
Line 38 fixed a typo in "reference"
2016-06-21 11:35:34 +03:00
Jonathan Trowbridge
2ad422ca9b fix(users): fix for users.profile.server.controller.js security (#1338)
* Fix for users.profile.server.controller.js security (#1338)

Fixes an issue where if req.body._id was not set to the current user it
could potentially log the current user in as another user.

Don't use req.body._id when editing user

Prevents a user from being logged in as another if edit user form _id is
not their own.

Fixes #1338
2016-06-18 18:12:08 +03:00
Liran Tal
239ce61de5 feat(sass): replacing grunt-contrib-sass with grunt-sass (#1363)
* replacing grunt-contrib-sass with grunt-sass which doesnt require the ruby dependency anymore

* updating README instructions to remove any reference to grunt-contrib-sass, ruby or gem installation for sass compilation
2016-06-17 18:08:52 +03:00
shanavas
68529935ce fix(editorconfig): Fix file path patterns (#1362)
Change file pattern like [**.a, **.b] to [**.{a,b}]
as specified in editorconfig.org
2016-06-13 18:49:34 +03:00
Liran Tal
c364922f67 feat(ssl): supporting a certificate authority bundle file for the secured SSL configuration (#1342) 2016-06-07 09:58:02 +03:00
Aman Mavai
fde27f0d1e fix(core): Typo in menu.client.service.js (#1355)
* fixed typo in modules/core/client/services/menu.client.service.js
* fixed typo in modules/core/tests/client/menu.client.service.tests.js
2016-06-06 15:29:46 +03:00
Liran Tal
c8cbcd326f feat(logs): replacing unmaintained and vulnerable file-stream-rotator package with winston log facility (#1334)
* replacing file-stream-rotator with a better logging mechanism using winston which can be extended later for other use cases and integrations

* refactoring logger mechanism, accomodating for tests and environment variable configurations

* only enabling morgan logger if config.log.format option was defined, and disabling the app.log file transport option for the test environment

* disabling all kind of logging when in test enviroment
2016-05-22 01:03:18 +03:00
aanev
c61640bfdb fix(core): Typo in page-title.client.directives.js (#1343)
fix typo in modules/core/client/directives/page-title.client.directives.js

Fixes #1332
2016-05-20 11:10:18 +03:00
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