Commit Graph

135 Commits

Author SHA1 Message Date
Liran Tal
bd1a7d7b99 Merge pull request #890 from lirantal/feature/article-module-dummy-config-dir
Adding sample config/ directory for articles module
2015-09-11 08:52:22 +03:00
jloveland
1fd6bb6119 adding stronger password requirements for improving security based on OWASP 2015-09-07 22:11:02 -04:00
Liran Tal
903b4ca8a8 Dummy config directory for the articles module to make it easier for developers to understand and realize there's an actual per-module config/ directory/files that can be added 2015-09-06 23:23:48 +03:00
Liran Tal
320826bde8 Merge pull request #866 from almegdad/0.4.0
Reopened: Force Username & Email to Lowercase + Remove Sensitive Data
2015-09-02 09:50:27 +03:00
almegdad
aafa5e69cf Force Lowercase & Remove Sensitive Data
* add directive to force username & email lowercase
* remove sensitive data in password reset
* 2 space indentation  in reset & forgot password views
2015-09-01 21:09:20 +03: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
mleanos
14b8dd4dce Fixed User model tests
PR #840 changed the global var `user` to `user1`. This was merged and
then #858 was merged, which was still referencing the global var as
`user` in the new *roles* tests. This was causing jshint failures from
the new

This change updates the new *roles* tests to use `user1`
2015-08-30 15:53:29 -07:00
Liran Tal
8335aa7070 Merge pull request #858 from mleanos/admin-users-require-role
Admin users require role
2015-08-30 21:55:58 +03:00
Liran Tal
6af137d81a Merge pull request #840 from lirantal/feature/users_module_tests_%
Major Fixing and Refactoring tests
2015-08-30 21:22:28 +03:00
mleanos
263adccd44 User model tests for roles
Added tests for the User model's roles field.

Should be able to update existing user with valid roles
Should NOT be able to update existing user WITHOUT a role
Should NOT be able to update existing user with INVALID role
2015-08-28 18:19:33 -07:00
mleanos
bbbe8772f2 Admin Users require role
These changes make the role field required in the User model. Changes to
the Admin user edit view were added to provide validation for the role
field.

As an added enhancement, the user's roles are displayed in the Admin
user list view.
2015-08-28 17:41:13 -07:00
Liran Tal
e415dc33eb Merge pull request #852 from mleanos/chat-empty-message
[fix] Empty Chat Messages
2015-08-27 21:44:08 +03:00
Liran Tal
6db8a4e4fa Major Fixing and Refactoring tests
1. Refactoring variables usage through-out the tests
2. Fixing correct error handler tests were previously these would report a false positive isue
3. Fixing recent unit tests to be added as part of the main save method suite
4. Fixing an issue with the tests which didn't clean the user1 entry in the db and so tests following it would fail regardless of the validation
5. Fixing one test to actually be valid use case
2015-08-26 22:54:08 +03:00
Sebastien Vaucouleur
ab82acb51b Renamed files using convention verb-object.client.etc. Closes #817
Renamed files using convention verb-object.client.etc. Closes #817
2015-08-26 16:50:15 +02:00
Ryan Hutchison
3bf07fe4ec Remove data- prefix from attributes 2015-08-25 12:34:40 -04:00
Liran Tal
01bd98b386 Merge pull request #759 from Gym/client-side-validation
client-side form validation with ng-messages.
2015-08-25 16:19:22 +03:00
Liran Tal
05355b986d Merge pull request #842 from Gym/fb-enhancements
Facebook authentication
2015-08-25 16:14:06 +03:00
mleanos
8128570279 [fix] Empty Chat Messages
Disables the submit button on the Chat form, when no message is present.
Also, removed the `data-` prefix from the various Chat view elements.
2015-08-24 23:23:55 -07:00
Ryan Hutchison
801547602b client-side form validation with ng-messages.
remove data prefix from attributes.

fix tests
2015-08-25 02:02:18 -04:00
Andrew Throener
ed89f9ea08 Unauthorized client routing
Added Auth Interceptor tests

cleaned up test

Update routes
2015-08-24 17:04:36 -05:00
Liran Tal
979c4e56a4 Merge pull request #846 from lirantal/feature/refresh-homepage-links
Refreshing the M.E.A.N links and description in the homepage
2015-08-24 09:40:16 +03:00
Liran Tal
4a65439b19 Refreshing the M.E.A.N links and description in the homepage 2015-08-24 00:17:02 +03:00
Liran Tal
b8147cb278 Merge pull request #844 from Gym/404-behavior
mask exception route for 404 responses.
2015-08-23 23:40:44 +03:00
Ryan Hutchison
c6d26831fc do not save state to previous (history) for routes marked ignoreState. 2015-08-23 04:09:36 -04:00
Ryan Hutchison
9fdd2a0b9c mask exception route, but show not-found page. 2015-08-23 03:59:43 -04:00
Ryan Hutchison
b2495120c3 use pushstate, fall back to window.location.hash.
current implementation does double redirect due to '#!'
2015-08-23 00:48:17 -04:00
Ryan Hutchison
27d2818834 Closes #202 - if user does not authorize email scope, email will not be mapped. Username will be generated from first initial of first name and last name.
.jshint latedef set to nofunc.
2015-08-23 00:32:36 -04:00
Meistercoach83
4b43c4ef32 Correct <br /> Tags and set Title 2015-08-21 18:18:15 -04:00
Cody B. Daig
5c287f583b [fix] Was storing a 6 char password in plain text [fixes #829] 2015-08-20 09:26:07 -07:00
Cody B. Daig
74f58bbbd6 [test] Allow an email with sub domains 2015-08-19 19:08:44 -07:00
Liran Tal
7252032007 Adding coverage report for server-side tests using istanbul 2015-08-16 00:19:52 +03:00
cdriscol
ec3af65661 Fixing Menus service remove bugs. 2015-08-15 12:40:00 -06:00
Liran Tal
114706eff4 Merge pull request #780 from codydaig/feature/issue583
Make TopBar Public By Default
2015-08-15 09:59:31 +03:00
Cody B. Daig
1f7bfddf0b Make tests pass 2015-08-14 16:01:16 -06:00
Cody B. Daig
9fc6091ab7 Code from mleanos 2015-08-14 16:01:16 -06:00
Cody B. Daig
e68b4226bd Make TopBar Public By Default 2015-08-14 16:01:16 -06:00
Sebastien Vaucouleur
851973f459 Fixed end tags in page header 2015-08-14 17:26:55 +02:00
Liran Tal
86b16c93f6 Merge pull request #758 from trainerbill/PathRefactor
Initial commit to return /client to the URL include paths
2015-08-14 17:21:49 +03:00
Liran Tal
89050d5628 Adding suite of tests for the e-mail validation field in the users model 2015-08-13 21:56:19 +03:00
Andrew Throener
d319f9203f Initial commit to return /client to the URL include paths
Conflict Resolve

Fixed Karma testing

Added back cacheIDFromPath as I am not sure what that does.  Just removed the replaceing of /client
2015-08-13 11:07:02 -05:00
Liran Tal
609d95824d Merge pull request #771 from lirantal/bugfix/fix_user_module_async_tests
Fixing user model test's last test which fail or report a false positive
2015-08-13 13:42:19 +03:00
Liran Tal
0be1b11a20 Merge pull request #781 from codydaig/bug/listArticlesAuth
Allow Guests to view Articles
2015-08-12 19:21:29 +03:00
Ryan Hutchison
cb9d7e3db6 fix indentation 2015-08-11 01:01:12 -04:00
Cody B. Daig
cbebed9188 Allow Guests to view Articles 2015-08-08 18:40:59 -07:00
Liran Tal
463f5b944f fixing up a user model test which was not setup correctly without the async done() callback, which led to false postivies. Adding timeouts to the test ensures that the test completes in time, otherwise mocha's 2s timeout will fail the test 2015-08-08 00:42:11 +03:00
Liran Tal
c967a98562 refactoring the async nature in the user model tests to account for mocha 2 second timeouts causing travis-ci build fails 2015-08-06 16:49:50 +03:00
Liran Tal
346ebd6a67 re-factoring the server model tests to create user model from schema only during tests, so that we can re-use mongodb's _v versioning fields, and also cleaning up user tests on each test iteration 2015-08-05 14:08:09 +03:00
Ryan Hutchison
2747df6310 BUG: Removed a ng-binding to article.content in user-list.client.view.html 2015-07-31 23:45:56 -04:00
Ryan Hutchison
ef3a3f9548 formatting reboot (space-2 and consistency)
JSCS fixes

update editorconfig
2015-07-31 10:04:02 -04:00
Cody B. Daig
c539cdb281 Modify Generator Refrences/Docs 2015-07-29 23:48:24 -07:00