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
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
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
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
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
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
hyperreality
c2cfc388bf
feat(ui): improved social login buttons UI ( #1471 )
2016-09-04 01:29:43 +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
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
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
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
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
Liran Tal
80226a2b24
fix(client): lint issues for confirm() messages not referencing the window object
2016-03-17 22:27:53 +02:00
Marek Grzybek
d14d5130af
feat(config): Deprecate JSHint in favor of ESLint
...
Add basic ESLint setup extending well-known Airbnb code style.
Fixes #1072 , #1097
2016-03-15 19:11:12 +01:00
IteloFilho
173b702f6a
feat(users): Modify users module to implement style guidelines.
2016-03-06 12:21:51 -03:00
mleanos
f2e18e24f1
fix(users): Missing primary social provider
...
Adds the User's provider to the list of connect social accounts, when it
is also a social account.
Fixes : #1032
2016-03-02 10:40:34 -08:00
droooney
52faf0697f
fix(build): Remove BOM
...
Remove byte-order mark from source files.
Fixes #1227
2016-02-20 14:49:30 +05:00
Cody B. Daig
a069531b10
Merge pull request #1186 from itelo/ImproveSEO
...
feat (title): Dynamic Title: Improve SEO
2016-02-13 10:20:54 -07:00
Ryan Hutchison
3e6a65d3a0
fix(users): Correct spelling/grammar mistakes
...
Closes #1156
adjust language
2016-02-10 19:56:42 -05:00
IteloFilho
49f6a83032
feat (title): Dynamic Title: Improve SEO
2016-02-10 12:12:10 -03:00
Joris Willems
9cd4ceca46
feat(config): Upgrade angular-bootstrap 0.13 to 1.0
...
Many issues arise when using angular-bootstrap 0.13. Migration to 1.0 is
straightforward, offers a more stable interface, extra directives and fixes
many bugs.
Migration guide:
https://github.com/angular-ui/bootstrap/wiki/Migration-guide-for-prefixes
Fixes #1142
Fixes #1131
2016-01-17 22:06:34 +01:00
Sébastien Combéfis
d2b2dfd606
fix(docs): Fix comments content and style
...
Changed some bad comments referencing the Articles module in other modules.
Typo fixed in xxx.client.modules.js files ("Application" => "Applicaion")
Full stop character removed at the end of line comments
2016-01-17 11:46:11 +01:00
Pedro Rodrigues
996976ac66
fix(core): Remove duplicate angular interceptor
...
Remove the interceptor defined in the users module
Update the interceptor defined in the core module
Update the respective test
Fixes #1096
2015-12-16 14:55:07 +00:00
gustavodemari
7ecf9337ce
updating profile upload with a new version of multer
2015-10-18 20:56:12 -02:00
Ilan Biala
cc486d54c5
Merge pull request #910 from jloveland/hide-password-validator
...
Hide the password strength progress when the field is empty
2015-10-16 23:34:55 -04:00
Ilan Biala
0323696eaf
Format code according to ESLint rules
2015-10-16 20:52:31 -04:00
jloveland
65140442f0
adding tests for directives
2015-10-13 23:23:52 -04:00
jloveland
f733efba5a
renaming strength meter, hiding when password field is empty, and refactoring directives to use $validators
2015-10-13 22:47:35 -04:00
jloveland
96bcd6d646
fixing spacing
2015-09-27 12:58:06 -04:00
jloveland
a38abd0f8c
fixing jshint issues by requiring single quotes
2015-09-11 12:47:19 -04:00
jloveland
1fd6bb6119
adding stronger password requirements for improving security based on OWASP
2015-09-07 22:11:02 -04: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
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
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
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
Ryan Hutchison
c6d26831fc
do not save state to previous (history) for routes marked ignoreState.
2015-08-23 04:09:36 -04:00
Sebastien Vaucouleur
851973f459
Fixed end tags in page header
2015-08-14 17:26:55 +02: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
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
Igor Freire
e6a35a7f9a
Enable redirection to previous page after login
...
Two different strategies are adopted, one for when the user authenticates locally and the other through providers. When authenticating locally, the signin function in the client controller redirects to the previous state (storing and using a state name) after successful login. When authenticating through a provider, the first call to provider stores the previous URL (not state, URL) in the session. Then, when provider actually calls the authentication callback, session redirect_to path is used for redirecting user.
2015-07-29 10:55:47 -03: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
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
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
Igor Freire
5d4d7cecfe
Make emails unique
...
Emails are made unique. When user attempts to sign in through a provider in which his email is one that is already registered, user is redirected to the signin page with an error passed as a query string parameter.
2015-07-17 14:52:27 -03:00
trainerbill
a98a84fd20
Fix merge conflicts
2015-07-14 15:46:23 -05:00
Ryan Hutchison
75c80524b7
remove unused dependcies.
2015-07-09 14:23:31 -04:00