Commit Graph

1954 Commits

Author SHA1 Message Date
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
walter
4ddb059346 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).
2016-09-08 11:17:41 -07:00
Liran Tal
1a274d2675 fix(docker): updating the dockerfile-production to build with gulp support (#1486) 2016-09-08 19:12:29 +03:00
Mikael Korpela
25c8a6044c fix(tests): Clean out .send() from tests (#1489)
Clean out commented `.send()` from user CRUD test.
2016-09-08 14:45:33 +03:00
walter
d896d07d8b 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.
2016-09-07 19:16:11 -07:00
Cody B. Daig
dd809510cc chore(core): Remove Bluemix (#1476) 2016-09-05 20:42:53 +03:00
hyperreality
70a3e4cac3 fix(tests): Reorganized coverage tests (#1480)
* Added coverage to Gulp

* Moved karma coverage task to Gulpfile, moved LCOV posting to coveralls to .travis.yml config
2016-09-05 20:42:37 +03:00
Liran Tal
03160a92dc fix(build): fixing travis build to run the updated nsp command (#1478) 2016-09-05 20:39:35 +03:00
hyperreality
7be1910420 feat(tests): add client and server test coverage to Gulp (#1466)
* Added coverage to Gulp

* Integrated coveralls tests with gulp

* spurious changes to kick off coveralls
2016-09-04 01:30:32 +03:00
hyperreality
c2cfc388bf feat(ui): improved social login buttons UI (#1471) 2016-09-04 01:29:43 +03:00
Liran Tal
c0f6cb3e4d feat(mongodb): support for mongodb secure connections with ssl certificates (#1472)
Fixes #1349
2016-09-04 01:29:28 +03:00
Liran Tal
cf246babd1 feat(config): adds a generic DOMAIN configuration environment (#1469)
Generic DOMAI configuration environment variable, useful for setting links to an app
in reset email templates, and other cases.

Fixes #871 and #847
2016-09-01 22:37:43 +03:00
Daron Jones
54ae7dc564 feat(users): prevent route leaking access token (#1417)
The test for authentication use a route /api/users/me. This should probably be upgraded to use
a proper passport mock.

In the meanwhile this should make the returned user object safer - using code from core.

Fixes n/a
2016-08-31 22:50:23 +03:00
Mikael Korpela
55525bdf31 feat(build): Modify Travis config (#1467)
Remove Node.js v6 from `allow_failures` matrix at Travis config.
2016-08-30 20:15:54 +03:00
Mikael Korpela
64fd860fb3 fix(core): update npm commands and documentation (#1456)
- Removes deprecated `onlyChanged` npm script. Watch now always runs only changed tests, no parameter needed. Change to gulp tasks was in this commit: eaead7a30c
- Renames npm script `test:watch` to `test:server:watch`
- Updates README.md to mention Gulp less and npm commands more
- Removes mentions to Grunt from README.md
2016-08-30 19:29:33 +03:00
hyperreality
14136450ab feat(core): update project dependencies, fix express config (#1463) 2016-08-30 01:10:14 +03:00
Liran Tal
f6e579765f feat(express): introducing handlebars nodejs template system (#1461)
This commit introduces handlebars template system and completely replacing Swig and the Consolidate project to handle multiple template systems.
Fixes #1286
2016-08-29 08:32:21 +03:00
Mikael Korpela
07a860f6b5 feat(angular): disable Angular debug data in production (#1457)
Disable Angular debug data in production for a significant performance
boost.

Passes environment variable from template to app config and from there
to
Angular bootstrap config.

https://docs.angularjs.org/guide/production#disabling-debug-data

See #1294
2016-08-28 14:52:05 +03:00
Mikael Korpela
c35713d352 fix(core): Fixes issues with tests and Node v6 (#1458)
Fixes issues with Mocha tests and Node v6.

Related to #1455
2016-08-28 14:30:27 +03:00
hyperreality
99c64cf7ca feat(html): support noscript tag on layout for browsers with no javascript (#1454) 2016-08-28 14:28:16 +03:00
shanavas
730cca76af fix(users): don't update secure profile fields (#1421)
* Fix(users): Don't update secure profile fields

Avoid updating secure fields as password, salt ..etc through
user profile update.

Fixes #1420

* Refactor variable name
2016-08-27 09:45:06 +03:00
Liran Tal
2f394ecb97 fix(ui): update social login design
* Update social login design 

- Responsive images
- Mobile layout as well

* changes according to hyperreality advices
2016-08-26 21:27:58 +03:00
Mikael Korpela
23fd205d81 fix(server): Remove unused loadModels() (#1426) 2016-08-26 13:34:02 +03:00
Michael Leanos
c96f8c0b56 fix(articles): Article controllers name conflicts (#1428)
* fix(articles): Article controllers name conflicts

Fixes the naming conflicts for the Articles controllers.

Due to how Angular injects the controllers into the StateProvider,
naming conflicts were caused between the Articles public & admin module
controllers.

To resolve the issue the referenced controllers in the Articles admin
route configurations must be unique, and match up with the Admin
controllers.

* Client-side tests failing

Fixed the client-side tests that were failing due to the naming
conflicts.
2016-08-26 13:27:43 +03:00
Mikael Korpela
96aec09488 fix(user): specify a digest with crypto.pbkdf2Sync (#1429)
Fixes Node v6 crypto deprecation warning
 “crypto.pbkdf2 without specifying a digest is deprecated. Please specify a digest”
2016-08-26 10:13:51 +03:00
aanev
234f0c6850 fix(user): fix changeProfilePicture to overwrite existing files
* fix(user): fix changeProfilePicture

* use promises to simplify callbacks

* use fs.unlink to delete old picture once the profile is updated

Fixes #1415

* fix(user): fix changeProfilePicture

* use promises to simplify callbacks

* use fs.unlink to delete old picture once the profile is updated

* log file errors to console

Fixes #1415

* fix(user): fix changeProfilePicture

* use promises to simplify callbacks

* use fs.unlink to delete old picture once the profile is updated

* log file errors to console

* update error handler module to handle file upload errors

Fixes #1415

* fix(user): fix changeProfilePicture

* use promises to simplify callbacks

* use fs.unlink to delete old picture once the profile is updated

* log file errors to console

* update error handler module to handle file upload errors

Fixes #1415
2016-08-26 10:10:02 +03:00
hyperreality
246c5d953c feat(profile): Profile picture cropping, mobile uploading and progress bar (#1443)
* Add ng-file-upload and picture cropping

* Update bower.json

Remove bower dependency for angular-file-upload
2016-08-26 09:56:56 +03:00
Federico Gonzalez
25bd40c3f7 feat(docker): Add Dockerfile for production
Add dockerfile and compose for production (#1438)
Add Dockerfile for production

Fixes #1431 Fixes #1435

* feat(deploy): Add docker-compose.yml for production

Add docker-compose.yml for production

Fixes #1435

* feat(deploy): Update documentation for deployment

Update documentation for production deployment

Fixes #1435
2016-08-26 01:18:59 +03:00
Federico Gonzalez
2066be621f feat(docker): Update docker-compose to version 2
Add data container for docker-compose and update to docker compose version 2 (#1437)

Change containers, add environment for mongodb host, change version to 2.

Fixes #1434

* feat(deploy): Add data container for mongodb

Add db-data for mongodb, remove container_name.

Fixes #1434

* feat(deploy): Use networking of compose version 2 (remove links)

Remove links

Fixes #1434

* feat(deploy): Use depends_on for db containers

Add depends_on for db

Fixes #1434

* feat(deploy): Add data container for web data

Add data container, add volumes and remove command.

Fixes #1434

* feat(deploy): Change image for container data

Change busybox to build . for data container

Fixes #1434

* feat(deploy): Change entrypoint for web-data container

Change entrypoint for web-data container

Fixes #1434
2016-08-25 17:36:07 +03:00