OldHawk
dbba4c0d64
feat(users): add filter to show ratio formated info
2017-06-21 09:58:27 +08:00
OldHawk
418f7fa5cc
fix(core): upgrade conflict
2017-06-19 13:06:59 +08:00
OldHawk
4596c91d8c
Merge commit '8f50eecc7c1ec7dda3363093b3b3e7f17ca9a692'
...
# Conflicts:
# modules/users/server/controllers/users/users.authentication.server.controller.js
# package.json
2017-06-19 12:43:44 +08:00
OldHawk
ba46261f6a
fix(users): toJSON roles null error
2017-06-18 18:01:50 +08:00
OldHawk
a50da22141
feat(invitation): show user info by invite mail on detail page
2017-06-15 16:57:14 +08:00
OldHawk
30bd5169d7
feat(invitation): user can sign up by invitation mail now!!!!!
2017-06-15 16:18:07 +08:00
Michael Leanos
e4a3d38b23
fix(users): Duplicate Provider Accounts ( #1767 )
...
Fixes an issue where a provider account could be added to the logged in
user's additionalProviderData, when another user has already connected
that same account.
Refactors the saveOAuthUserProfile method to consider the results of the
provider search query, whether or not the current user is logged in.
2017-06-11 00:21:26 -07:00
OldHawk
b93e160260
feat(users): admin can change user uploaded and downloaded(+/-)
2017-06-07 16:34:22 +08:00
OldHawk
8c848433b7
feat(users): admin can change user score(+/-)
2017-06-07 15:54:16 +08:00
OldHawk
68392d7db5
feat(users): admin can change user account status banned/unbanned
2017-06-06 17:29:23 +08:00
OldHawk
9a9ce1de45
feat(users): admin can change user`s role now
2017-06-06 16:33:59 +08:00
OldHawk
2b75fb9e72
fix(users): user passowrd & salt value lose
2017-05-27 17:15:50 +08:00
OldHawk
76a239e3fa
fix(status): load my seeding list and my downloading list data
2017-05-26 19:11:12 +08:00
OldHawk
41e444f928
fix(translate): change TVSeries to TVSerial
2017-05-26 11:53:49 +08:00
OldHawk
7679e89a51
feat(users): log user signed_ip,leeched_ip, client_agent, last_signed
2017-05-26 10:49:17 +08:00
OldHawk
180c24f498
feat(user): set first signup user role to 'admin'
2017-05-22 14:09:32 +08:00
OldHawk
84b3d1aea1
feat(user): set first signup user role to 'admin'
2017-05-20 23:24:02 +08:00
OldHawk
ae63e42138
open admin menu access to oper
2017-05-12 19:14:19 +08:00
OldHawk
448f868099
oper/admin can ban/kick user out to chat room now~~
2017-05-12 16:38:02 +08:00
OldHawk
52a31c164d
user can reset their passkey now
2017-05-09 13:40:16 +08:00
OldHawk
1eda960103
save passkey when user used social accounts
2017-05-09 12:22:16 +08:00
OldHawk
46fb8015a7
overwrite user model toJSON, make is_vip vitrual field
2017-05-03 18:20:31 +08:00
OldHawk
10b28b379e
fixed up/down bytes and peer status
2017-04-19 19:20:46 +08:00
OldHawk
a9c516f3f4
add fields about vip/score of user table
2017-04-18 15:32:25 +08:00
OldHawk
dfcfc6db48
announce request update more function
2017-04-17 16:53:02 +08:00
OldHawk
9d74664f26
make passkey when user signup
2017-04-16 17:46:15 +08:00
OldHawk
1181d48f5a
announce request: user status check normal,banned,sealed
2017-04-15 15:48:07 +08:00
OldHawk
e13171dc87
add relationship on model user,torrent,peer
2017-04-11 22:27:57 +08:00
OldHawk
fd9fc1d02f
modify torrent & user model
2017-04-09 20:55:57 +08:00
OldHawk
74da8464c2
add passkey field in user model
2017-04-08 04:01:45 +08:00
OldHawk
6de8eac7b6
add many fields for torrents about
2017-03-25 16:05:26 +08:00
Laurence Tennant
2b6cf53d30
fix(users): Better MIME-type checking, remove image cropping library ( #1589 )
...
* Cropping remove, nicer UI
* Fix MIME-type checking, add image upload tests
* Change image config settings to uploads.profile.image to build a more
rational structure for configuring other types of uploads
2016-11-15 15:59:47 -08:00
Sujeeth
fb9d9d912c
feat(user): add strict validations for username ( #1574 )
...
Idea proposed by @sparshy #1204
Suggestions, rules and tests from Trustroots @simison
Added validations on user server model
Added client side validations
Added relevant tests on user server tests
Added relevant tests on user e2e tests
Fixes #1204
2016-10-19 20:40:26 -07:00
itelo
0e2ea65918
fix(users): fix redirect when signup or add provider ( #1573 )
...
Fixes the issue of the redirect after Social login authentication, on signup or user profile add provider.
2016-10-19 17:12:47 -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
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
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
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
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
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
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
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
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
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
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