93 Commits

Author SHA1 Message Date
OldHawk
9c6d36c783 fix(core): limit the displayName length 2018-06-28 21:23:05 +08:00
OldHawk
1762c7b1e9 feat(systems): except examination if user have 'noExamination' medal 2018-06-19 10:51:22 +08:00
OldHawk
ce7f944ab4 feat(users): ban user and inviter together if configure setting banUserInviterVip is true 2018-06-10 00:59:20 +08:00
OldHawk
0402626c23 feat(users): add ban reason when admin banned a user 2018-06-09 21:37:10 +08:00
OldHawk
4fecaa5300 feat(users): oper/admin can add remark info to user account 2018-05-26 20:16:45 +08:00
OldHawk
9931c82626 fix(model): fixed mongo model issue 2018-05-24 18:42:26 +08:00
OldHawk
7caf321f95 fix(users): continue write examination data 2018-05-15 14:24:13 +08:00
OldHawk
51a2f1bd57 feat(announce): add more debug log info 2018-05-15 13:24:14 +08:00
OldHawk
2428b622a3 fix(announce): fixed up/down/score data count issue 2018-05-14 15:01:46 +08:00
OldHawk
715e2f2718 fix(announce): fixed score count issue 2018-05-13 16:48:15 +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
ee15c8e72a feat(core): add mongoose to 5.0.17 support 2018-05-07 11:12:10 +08:00
OldHawk
c396ccf292 feat(announce): write user true upload and download data 2018-05-05 11:04:43 +08:00
OldHawk
2da29e9edc feat(core): set db fields setter of Number type 2018-05-03 18:04:55 +08:00
OldHawk
7955a83683 feat(core): add many db fields min value of Number type 2018-05-03 16:59:33 +08:00
OldHawk
8ca9f83d67 fix(logger): fixed announce inactive peer over announce interval 2018-04-30 00:06:36 +08:00
OldHawk
9622517111 feat(users): new logic for users status change to idle, and need more scores to reactive it 2018-04-27 14:41:42 +08:00
OldHawk
61151257fd feat(users): add latest sign in ip log 2018-03-22 11:31:54 +08:00
OldHawk
038387099a feat(systems): show user`s examination progress status info at home 2018-01-29 18:56:43 +08:00
OldHawk
45ad329db7 feat(systems): init(reset) user`s examination data 2018-01-29 17:10:27 +08:00
OldHawk
7c95d3a547 feat(follow): add submenu item of followers and following in user account menu 2018-01-04 09:57:28 +08:00
OldHawk
cf311b3f7a opt(mongo): optimization db index 2017-12-26 18:33:22 +08:00
OldHawk
965be75bb8 opt(debug): optimization debug console print methods 2017-12-24 14:31:51 +08:00
OldHawk
328a05e437 opt(announce): optimization announce data 2017-12-24 08:57:17 +08:00
OldHawk
bae7da82c0 opt(mongo): optimization db index 2017-12-23 17:26:39 +08:00
OldHawk
56d6a4b67a opt(announce): optimization announce data 2017-12-23 02:05:28 +08:00
OldHawk
7eda0d271d feat(mongodb): mongodb3.5+ is unstable and error on $pushAll, meanTorrent can used on mongodb 3.5 3.6
#44
2017-12-15 09:17:41 +08:00
OldHawk
6741734566 feat(users): add field 'upload_access' for model user and maker 2017-12-08 15:03:54 +08:00
OldHawk
b87f33e67d feat(users): limit for reset password time interval
add password reset configure item for time interval
default 24 hours
only can reset once in setting hours

#20 , #61e0534
2017-11-30 15:09:12 +08:00
OldHawk
c1e1eb3be6 fix(core): remove mongodb table pre hook update of model user, torrents etc. 2017-11-23 17:11:34 +08:00
OldHawk
692d19ac24 feat(users): user can setting to hide more account detail info 2017-11-09 17:27:19 +08:00
OldHawk
22343353bd feat(users): use displayName alternative first name and last name 2017-11-09 16:36:40 +08:00
OldHawk
ddc90ac902 feat(users): new feature for signature for forum settings. 2017-11-08 15:21:40 +08:00
OldHawk
6076ec0a1f feat(users): add feature for verify mail address and active account by mail 2017-11-06 15:01:43 +08:00
OldHawk
9835f536ad feat(core): add table users and torrents global update method
for some fields update with time limit
2017-11-03 21:42:14 +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
4c7d0535b2 fix(users): fixed first install meanTorrent and first register user`s admin roles 2017-10-19 10:33:40 +08:00
OldHawk
c3149302a0 Merge commit '84ec1c80d283cbea8b186629e7b1de49d91cf9ba'
* commit '84ec1c80d283cbea8b186629e7b1de49d91cf9ba':
  fix(heroku): fix invalid app.json (#1901)
  feat(deps): dependencies upgrade (#1887)
  release(0.6.0): MEAN.JS 0.6.0 (#1863)
  feat(readme): Deploy to Heroku button (#1854)
  fix(users): Spacing Issues
  Abstracted OAuth routes to use req param to identify strategy & moved scope to actual strategy definition.
  Save profile images to Amazon S3 (#1857)
  fix(build): Require correct dependencies for prod build (#1855)
  fix(eslint): Make `space-before-function-paren` rule consistent with other rules (#1858)
  fix(gulpfile): show error on uglify (#1860)
  feat(core): Add manifest.json (#1851)

# Conflicts:
#	CHANGELOG.md
#	README.md
#	modules/core/client/views/header.client.view.html
#	modules/users/client/views/settings/change-profile-picture.client.view.html
#	modules/users/server/controllers/users/users.profile.server.controller.js
#	package.json
2017-10-13 15:43:39 +08:00
OldHawk
a175308b52 feat(users): add fields 'isVip, isOper, isAdmin' to model user 2017-09-14 15:18:14 +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
8dec0dff66 feat(users): add fields 'hnr_warning' to count H&R warning number 2017-09-07 16:44:13 +08:00
OldHawk
f052ea853e Merge commit 'b43c80e2c097b11114f4e4f01b9718321721a89b'
* commit 'b43c80e2c097b11114f4e4f01b9718321721a89b':
  feat(build): Update dependencies (#1847)
  fix(travis): Fix Travis failing on webdriver issues (#1845)
  fix(eslint): Inconsistent spacing before function parentheses (#1844)
  fix(mongodb): update ssl connection settings (#1809)
  Remove deprecated crypto package (#1843)
  feat(config): Mongo Seed 2.0 (#1808)
  fix(users): don't fail on missing old image on image upload (#1839)
  feat(build): Turn on mangling for uglify (#1841)
  fix(gulp): fix broken test:server:watch task (#1842)
  feat(core): Enhancement page title directive (#1686)
  feat(user): Add email support to forgot password (#1834)
  fix(mocha): update mochajs version to reduce vulnerabilities (#1830)
  refactor(menus): Refactor to the Menus client service to use functional loops/filters (#1575)
  feat(config): Mongoose 4.11 upgrade (#1818)

# Conflicts:
#	config/env/development.js
#	config/lib/app.js
#	modules/articles/server/models/article.server.model.js
#	modules/chat/client/config/chat.client.routes.js
#	modules/core/client/directives/page-title.client.directive.js
#	modules/core/client/services/menu.client.service.js
#	modules/users/client/config/users-admin.client.routes.js
#	modules/users/client/views/password/forgot-password.client.view.html
#	modules/users/server/models/user.server.model.js
#	package.json
2017-08-22 13:35:29 +08:00
Mikael Korpela
f44c9bce71 fix(eslint): Inconsistent spacing before function parentheses (#1844)
Defines `space-before-function-paren` eslint rule and changes files accordingly.
2017-08-14 23:50:33 +03:00
Michael Leanos
eb9cdd784c feat(config): Mongo Seed 2.0 (#1808)
feat(config): Mongo Seed 2.0

Adds a more configurable and easily extended MongoDB Seed feature.

Adds additional options at the collection, and collection item level to
allow more control over how each environment config handles the seeding
feature.

Enforces seed order based on the order of the  environment's seeding configuration object.

Removes the previous SeedDB config file.

Adds chalk to messages logged to the console for readability.

Refactors the Mongo Seed configuration tests.

Adds Gulp tasks to perform Mongo Seed operations for default, prod, and
test environment configurations. Also, adds accommodating npm scripts.
2017-08-13 16:29:47 -07:00
OldHawk
355307d21b fix(forums): update user topic & reply count when +/- 2017-07-16 14:44:22 +08:00
OldHawk
65bb420363 fix(user): count ratio error when mongo update event 2017-06-29 18:15:00 +08:00
OldHawk
dbba4c0d64 feat(users): add filter to show ratio formated info 2017-06-21 09:58:27 +08:00
OldHawk
ba46261f6a fix(users): toJSON roles null error 2017-06-18 18:01:50 +08:00
OldHawk
2b75fb9e72 fix(users): user passowrd & salt value lose 2017-05-27 17:15:50 +08:00