Commit Graph

42 Commits

Author SHA1 Message Date
OldHawk
f0a5f447ee fix(cron): fixed count peers issue in cron job 2018-05-08 12:13:54 +08:00
OldHawk
feee867ee4 fix(core): set all db field 'score' to Decimal128 type and logic support 2018-05-07 16:30:52 +08:00
OldHawk
93e9c6d1f8 feat(users): search user by passkey or _id 2018-05-04 11:58:15 +08:00
OldHawk
8ca9f83d67 fix(logger): fixed announce inactive peer over announce interval 2018-04-30 00:06:36 +08:00
OldHawk
52e7920c38 feat(logger): new logger logic 2018-04-29 15:05:18 +08:00
OldHawk
8ce455ce88 feat(requests): accept response for request
* rewards score transfer
* request status check

#20
2018-01-12 16:53:24 +08:00
OldHawk
7b329cb25d opt(announce): optimization announce data with vip
fixed USER_VIP_CHANGED_ADD string
remove all h&r warning when user got a vip month
vip download failed tooltip clean on seeder side

#20
2017-12-25 07:40:45 +08:00
OldHawk
328a05e437 opt(announce): optimization announce data 2017-12-24 08:57:17 +08:00
OldHawk
56d6a4b67a opt(announce): optimization announce data 2017-12-23 02:05:28 +08:00
OldHawk
02b58362d3 feat(core): list user seeding/leeching without ghost peer 2017-12-21 21:26:16 +08:00
OldHawk
9b10478a71 opt(announce): optimization announce data 2017-12-20 17:37:22 +08:00
OldHawk
31993daee0 feat(message): new server notice message of user
new message of user role changed
new message of user upload access changed

#20
2017-12-17 22:39:01 +08:00
OldHawk
99da678645 feat(config): add new configure item for server notice action
#20
2017-12-16 16:17:18 +08:00
OldHawk
fdd5c9be15 feat(messages): load server message to message box
#20
2017-12-15 17:51:31 +08:00
OldHawk
c493b086ca opt(users): admin can create maker for user if him already join other maker group 2017-12-13 16:14:58 +08:00
OldHawk
59d3b431fe feat(torrents): new feature for manage upload by admin
maker and user has new fields 'upload_access', value is 'review' and 'pass', admin can set value of them, 'review' is all uploaded torrents need review by oper or admin, and 'pass' not need review and pass directly

#20
2017-12-08 15:32:46 +08:00
OldHawk
7fc085b8d1 fix(torrents): Reorganize show/hide uploader and maker group name 2017-12-07 12:18:56 +08:00
OldHawk
8f2fd2058e feat(users): admin list all user by every status value 2017-12-03 16:47:57 +08:00
OldHawk
fee2c8959d feat(vip): set user status to normal when become a vip 2017-12-03 13:39:52 +08:00
OldHawk
f06c094567 feat(vip): admin can reset user`s vip data status 2017-11-16 18:06:59 +08:00
OldHawk
8446b964e3 feat(users): add account list filter by active status in admin list page 2017-11-06 15:47:38 +08:00
OldHawk
18f3af75cb feat(maker): admin oper can create maker group for user now, in user manager page 2017-10-19 18:44:22 +08:00
OldHawk
685697af20 feat(vip): admin can update user`s vip data 2017-10-17 16:32:56 +08:00
OldHawk
63b3ebacea feat(uses): admin list pagination 2017-10-14 23:15:53 +08:00
OldHawk
5052db968f feat(users): admin/oper can reset user`s profile image to default 2017-10-13 19:34:42 +08:00
OldHawk
201d54d18a feat(users): show invited_by user info in account status center and admin manage page 2017-09-13 15:05:28 +08:00
OldHawk
09f1fbbb3b feat(users): add invited_by filed to model user 2017-09-13 14:54:58 +08:00
OldHawk
2b2bdc1dd4 feat(admin): add fields uptotal of users to count the uploaded torrent file numbers and get uptotal method 2017-09-12 10:53:42 +08:00
OldHawk
bcba926df2 feat(admin): admin can list user`s seeding/leeching/warning torrents 2017-09-11 18:15:46 +08:00
OldHawk
d809b6262f feat(traces): load traces data 2017-06-24 13:53:32 +08:00
OldHawk
025d40e7f5 feat(traces): trace log many admin and user action 2017-06-24 12:36:28 +08: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
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
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
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
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
Ryan Hutchison
ef3a3f9548 formatting reboot (space-2 and consistency)
JSCS fixes

update editorconfig
2015-07-31 10:04:02 -04:00
Ryan Hutchison
839f805172 BUG: fix admin access (blocking user PUT) 2015-07-28 18:50:11 -04: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