Commit Graph

1482 Commits

Author SHA1 Message Date
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
Sujeeth
607ed061e3 feat(core): add notification feedback with angular-ui-notification (#1532)
Added visual notification for user/article updates
angular-ui-notification config added to core client config
Notification idea from #369
2016-10-10 14:51:44 -07:00
shanavas
5725c449c7 Fix(Users): Remove redundant request body (#1554) 2016-10-09 12:00:47 +03:00
itelo
4aa5d77251 feat(core): change console in angular to (#1551)
logs with $log in client idea proposed by @simison
also removed unnecessary consoles in users.password.server.controller.js

Fixes #1541
2016-10-08 21:43:27 -07:00
Michael Leanos
6be12f8a06 fix(core): Add custom 400 and 404 error messages (#1547)
* Added 400 and 404 custom error messages

* nicer error message views

* Sign Up & Sign In error responses

Changed the error responses returned from the Sign Up & Sign In API
calls to use 422 rather than 400.

For insight into why this change was made:
https://github.com/meanjs/mean/pull/1510#issuecomment-247435378

For reference on why to use 422 over 400:
https://www.bennadel.com/blog/2434-http-status-codes-for-invalid-data-400-vs-422.htm
2016-10-07 22:03:31 -07:00
Liran Tal
8645b24397 feat(core): updating gulp dependencies
* feat(core): updating dependencies

* updating more dependencies
2016-10-08 00:47:08 +03:00
Liran Tal
e5e984cf99 feat(core): updating dependencies (#1548) 2016-10-08 00:11:09 +03:00
Cody B. Daig
afe0d38e4c grunt(core): Remove Excess Grunt Dependencies (#1543) 2016-10-06 10:32:19 -06:00
Sujeeth
b0c5ad9f69 feat(core): Add prod asset versioning (#1536)
Asset versioning for prod - idea from #1509

Fixes #1509
2016-10-06 18:48:43 +03:00
itelo
6a6b630292 feat(users): change username to usernameOrEmail in signin (#1545)
* feat(users): change username to usernameOrEmail in signin

* fix(users): toLowerCase at email in local strategy
2016-10-06 18:34:15 +03:00
hyperreality
73a7c2cf61 feat(core): Minor UI fixes for mobile; autofocus (#1499)
* Added configuration for owasp. Synchronize client owap configs with the server configs.
Also added a time indicator on failed login attempts to give the user feedback on subsequent failed login attempts.

* switched to handlebar template for passing the server's owasp config down to the client.

reverted some of the other changes (regarding the http request).

* Removed debug code.

* Changed variable name to owaspConfig

* Fixed minor type-o's and set owasp.config() rather than the underlying configs.

* chore(tidy): tidying up minor lint and layout issues

* fix(lint): CSS alphabetize warnings (#1498)

Fixes css lintings warnings of properties not alphabetized.

* fix(authentication) Stops error on signin/signup (#1495)

Uses the passport info object to simplify login and remove the need to
temporarily cache the redirect within the session.

* Moved owasp config into default and reverted other config files.

Modified config to be "shared". This will allow future configurations to be easily passed to the client.

* fixed 403 redirect if not signed in (#1496)

* Update form-article.client.view.html

For New Article, delete function no required

* UI changes for mobile; autofocus

* fixed broken password popover balloon

* add e2e test for autofocus

* Remove test, fix delete social login button

* feat(core): Move template to .github folder

* Deprecated $http success/error promise methods (#1508)

Replaces the $http service calls with promise based methods
of the client-side UsersService for the following:
  Users Change Password
  Users Manage Social Accounts
  Users Password Forgot
  Users Password Reset
  Users Signup
  Users Signin

Modifies tests to reflect changes.

Closes #1479

* rebase
2016-10-04 21:14:57 -07:00
Cody B. Daig
f0867c2d69 bluemix(remove): Remove Excess CF files (#1542) 2016-10-04 21:26:05 -06:00
Cody B. Daig
83c7c47578 deprecate(grunt): Remove Grunt (#1175) 2016-10-04 19:28:17 -06:00
Sujeeth
287f81c6dd fix(user): remove bad request for local.png (#1538)
Removes a bad image request from manage social account settings page
Ideas from #1537, suggestions from @mleanos

Fixes #1537
2016-10-01 17:18:06 -07:00
sujeethk
0736a404c9 fix(user): hide delete button for self (#1535)
Remove delete button for self

Fixes #1531
2016-10-01 12:17:15 -07:00
Federico Gonzalez
ae8d2b34df fix(docker) - Updated Dockerfile production (#1523) 2016-10-01 12:27:16 -06:00
sujeethk
a7aebbd866 fix(article): add callback for remove article (#1534)
Add callback on remove article for state transition

Fixes #1274
2016-09-30 14:55:10 -07:00
Daron Jones
e3eafa6131 fix(users) Handle missing email - OAuth (#1501)
* fix(users) patch OAuth default email issue

- Intentionally omits setting email in constructor to trigger defaults when
creating user. Handles cases where email is not authorized/given by provider.

Related to issue #1250
2016-09-20 21:24:16 -07:00
Liran Tal
89e8d13c47 fix(logger): cleaning up unused parameters in logger setup (#1521) 2016-09-20 00:15:21 +03:00
Liran Tal
015a430fec fix(dependencies): updating karma and gulp dependencies to keep up to date (#1516)
* attempting to update karma and gulp-load-plugins to check build status

* updating karma to 1.3.0

* updating other karma related packages to latest versions

* updating package dependencies to keep up to date
2016-09-18 19:42:11 +03:00
Michael Leanos
fa138045e6 Deprecated $http success/error promise methods (#1508)
Replaces the $http service calls with promise based methods
of the client-side UsersService for the following:
  Users Change Password
  Users Manage Social Accounts
  Users Password Forgot
  Users Password Reset
  Users Signup
  Users Signin

Modifies tests to reflect changes.

Closes #1479
2016-09-17 12:05:21 -07:00
Liran Tal
acc111e148 feat(core): Move template to .github folder
feat(core): Move template to .github folder
2016-09-17 01:44:40 +03:00
Liran Tal
7e0b3d321d fix(articles): delete button not required in create new article
feat (articles): For New Article, delete button not required. if try to delete New Article that is not persisted to database than it create server error
2016-09-17 01:43:31 +03:00
KULDIP PIPALIYA
7ffbd3ff9e Update form-article.client.view.html
For New Article, delete function no required
2016-09-16 12:39:12 +05:30
Cody B. Daig
cb841efcff feat(core): Move template to .github folder 2016-09-15 13:34:57 -07:00
hyperreality
8b54669614 fixed 403 redirect if not signed in (#1496) 2016-09-13 12:39:50 -07:00
Liran Tal
4f3a501063 feat(angular): added owasp configuration for frontend
Added configuration for owasp. Synchronize client owap configs with t…
2016-09-13 00:19:41 +03:00
walter
0588eaba48 Moved owasp config into default and reverted other config files.
Modified config to be "shared". This will allow future configurations to be easily passed to the client.
2016-09-12 11:53:22 -07:00
Daron Jones
67d1a5a1f6 fix(authentication) Stops error on signin/signup (#1495)
Uses the passport info object to simplify login and remove the need to
temporarily cache the redirect within the session.
2016-09-11 12:29:05 -07:00
Michael Leanos
b2a5cb5b6f fix(lint): CSS alphabetize warnings (#1498)
Fixes css lintings warnings of properties not alphabetized.
2016-09-09 22:28:14 -07:00
Liran Tal
17772fe96a chore(core): Tidying up minor lint and layout issues
Tidying up minor lint and layout issues
2016-09-09 13:45:13 +03:00
Liran Tal
228c3aa5e9 fix(docker)Updated Dockerfile (#1494)
Use copy and not add. Add is a special command used for some unzip and permission magic that you shouldn't use if you don't know what it is.
2016-09-09 13:44:17 +03:00
Frank Lemanschik
e3e18393a9 Updated Dockerfile
Use copy and not add. Add is a special command used for some unzip and permission magic that you shouldn't use if you don't know what it is.
2016-09-09 08:19:53 +01:00
Liran Tal
e5a5d24216 chore(tidy): tidying up minor lint and layout issues 2016-09-09 08:56:07 +03:00
Liran Tal
38d92e39ac fix(core): Updating old package dependencies (#1490)
* fix(core): updating old package dependencies

* mistaken updated the wrong package

* updating gulpfile with new csslint package

* updating old gulpfile usage with the failformatter option of csslint

* updating package.json for original version of airbnb supported version

* resolving eslint issue

* eslint back to original package

* updating no failure of CSS issues
2016-09-09 08:52:46 +03:00
Federico Gonzalez
e25670a418 fix(docker): Update dockerfile for development and production (#1491)
* Fix(#1468) - Corrected SYNTAX some fixes

* Fix(#1468) - Fix(#1453) - Corrected SYNTAX some fixes for production and fix this bug #1453

* Fix(#1453) - Add .dockerignore

* Update Dockerfile-production

* Update Dockerfile development
2016-09-09 08:28:07 +03:00
walter
8dcf3f6728 Fixed minor type-o's and set owasp.config() rather than the underlying configs. 2016-09-08 12:08:37 -07:00
walter
d73d6baa7c Changed variable name to owaspConfig 2016-09-08 11:28:30 -07:00
walter
c0a1ce5ea5 Removed debug code. 2016-09-08 11:25:05 -07:00