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
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
Cody B. Daig
cbebed9188
Allow Guests to view Articles
2015-08-08 18:40:59 -07:00
Ryan Hutchison
ef3a3f9548
formatting reboot (space-2 and consistency)
...
JSCS fixes
update editorconfig
2015-07-31 10:04:02 -04:00
Ilan Biala
612a76cda6
Merge pull request #728 from cdriscol/angular_tests
...
Add client side tests
Fixes #663
2015-07-29 10:31:29 -04:00
Liran Tal
09870db9ce
Merge pull request #720 from vaucouleur/getErrorMessage
...
Article middleware was calling getErrorMessage with a null argument
2015-07-29 16:53:54 +03:00
cdriscol
d5ea5c99d2
Adding client test coverage.
2015-07-29 06:51:38 -06:00
Sebastien Vaucouleur
71167b0e75
The article middleware was calling getErrorMessage with a null argument, causing a crash when this method tried to access 'code' on an null parameter.
...
The bug was not exposed by the original test, since it was mixing two (related) aspects:
* An invalid Id (a badly formed mongodb identifier)
* An non-existent Id (an identifier with no corresponding document in the database)
Modifications:
- Fixed the message property in the article controller (the error message follows the wording of the error message in "users.password.server.controller.js", in case of username not found)
- Added a new test to check modifications and avoid regressions
2015-07-28 11:11:10 +02:00
cdriscol
c4685392cf
Adding karma-ng-html2js-preprocessor to fix karma tests. Adding user mock to articles tests.
2015-07-26 10:21:49 -06:00
Ryan Hutchison
60660204ac
Admin module base & user admin implementation.
...
update displayName
implements #700 (client-side role security) on angular routes.
2015-07-24 20:03:35 -04:00
Liran Tal
c8880ea65d
Merge pull request #700 from trainerbill/requireLogin
...
Require login
2015-07-25 01:18:33 +03:00
Andrew Throener
1b54d35305
Final Clean Up after code review
2015-07-24 17:06:55 -05:00
Andrew Throener
03a4042a33
Updated routes and a logic fix
2015-07-24 16:43:46 -05:00
Liran Tal
de3b890f9d
removed /#! in user controllers
...
Resolved 0.4.0 related conflicts:
modules/users/server/controllers/users/users.authentication.server.controller.js
2015-07-25 00:39:28 +03:00
Andrew Throener
fb71619e0c
Refactor
2015-07-24 15:37:26 -05:00
Igor Freire
e21805f20a
Prepare for role-based access control of states
2015-07-24 16:59:13 -03:00
Igor Freire
9fc88e6e5b
Filter states for which login is required during state change
...
A state parameter was added for the routes that require user authentication. Now, everytime a statechange occurs, the destination state is checked and user is redirected to signin page if necessary. Note the state parameter is added within `data`, so that nested states can inherent its value.
2015-07-24 16:17:14 -03:00
Cody B. Daig
a8dae99173
Remove console.log from an article test
2015-07-20 10:04:45 -07:00
Ilan Biala
ade074cf37
Merge pull request #599 from loulin/0.4.0
...
Add return for done(err) in test
2015-07-09 13:32:27 -04:00
Ryan Hutchison
67e38aec01
fix failing tests
2015-07-07 10:22:21 -04:00
Liran Tal
52fe443429
fixing err object which isnt present in this check, replacing it with a text message
2015-07-03 10:48:06 +03:00
Liran Tal
67e96a4f22
0.4.0 branch merged into master
2015-07-02 12:08:09 +03:00
loulin
d00f4ce0cc
should return done(err) in article server route test
2015-06-30 11:15:52 +08:00
Pedro Rodrigues
b2d76b82e5
Remove more unused requires
2015-04-23 17:51:58 +01:00
Veikko Karsikko
1897ef985b
Wait for async saving and removing
2015-02-23 09:33:26 +02:00
Christian Berendt
e027f4025b
Add missing newline at the end of text files
...
On Unix it is common to have a newline at the end of text files.
2015-02-16 21:39:55 +01:00
Christian Berendt
4879a8ea2a
Remove executable bit when not necessary
...
The executable bit is set for a lot of files where it is not necessary
to have the executable bit set. This PR removes the executable bit from
those files.
2015-02-16 14:19:56 +01:00
Amos Haviv
ab81d61bd3
New 0.4 version
2014-11-10 23:12:33 +02:00