Commit Graph

113 Commits

Author SHA1 Message Date
OldHawk
6efad86a17 feat(torrents): make torrent image uploads folder 2017-09-28 15:28:15 +08:00
OldHawk
a175308b52 feat(users): add fields 'isVip, isOper, isAdmin' to model user 2017-09-14 15:18:14 +08:00
OldHawk
e870576014 feat(users): admin/oper can send official invitations now 2017-09-13 18:30:03 +08:00
OldHawk
f639409a87 feat(debug): add debuginfo client service, hide or show console.log 2017-09-13 13:27:34 +08:00
OldHawk
7fcc8479e8 feat(debug): add app configure item of debug mode to show debug console log message 2017-09-13 10:51:52 +08:00
OldHawk
b52bed1639 feat(users): show user up/down data size and speed and ratio in account page 2017-09-11 12:52:04 +08:00
OldHawk
01b5789559 fix(cron): cron job timezone 2017-09-08 14:04:20 +08:00
OldHawk
61cba33dde feat(cron): add lib cron-hnr, ready to count h&r warning every midnight. 2017-09-07 14:50:55 +08:00
OldHawk
25785b5461 feat(scrape): write scrape time into DB and check last_scrape time avoid frequent scrape 2017-09-05 11:53:56 +08:00
OldHawk
c3481481ad feat(scrape): write scrape status info data into database 2017-09-01 14:02:15 +08:00
OldHawk
0638d03442 feat(scrape): parse scrape response info returned from other public tracker server 2017-08-29 12:10:53 +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
OldHawk
98a96d495c feat(core): add scrape lib to scrape torrent info from server side 2017-08-17 17:30:12 +08:00
OldHawk
0da96491a6 feat(core): add common function js 2017-08-17 17:29:25 +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
f8aada9b00 feat(torrents): replace filename char 2017-08-03 14:04:25 +08:00
OldHawk
72b3d77bc6 fix(IRC): show join channel successfully message in control 2017-08-03 10:46:16 +08:00
OldHawk
2fdf563520 feat(core): add IRC lib and IRC announce function 2017-08-02 18:24:35 +08:00
Michael Leanos
dc880eb5a7 feat(config): Mongoose 4.11 upgrade (#1818)
Upgrades Mongoose to 4.11.1

Updates Mongoose connection implementation to accommodate deprecated
features & connection options.

Also, updates the Gulp Mocha tasks to reflect changes to the Mongoose
implementation.

Fixes tests to get the database from the existing Mongoose singleton.

Derives from changes in https://github.com/meanjs/mean/pull/1816

Closes https://github.com/meanjs/mean/issues/1814
2017-07-27 13:19:22 -07:00
OldHawk
0fbed06b1a Merge commit '11777465cf77e2a0bbd0d576a1dadd76a8c2f55d'
* commit '11777465cf77e2a0bbd0d576a1dadd76a8c2f55d':
  Update templateCache root path
  feat(packages): updating packages (#1819)
  feat(Karma): Add mocha style progress to Karma tests
  feat(Travis): Don't allow Node.js 8 testing fail (#1815)
  feat(dependencies): replace PhantomJS in favor of chrome (#1776)
  fix(security): updated compression lib in package.json to reduce vulnerabilities (#1812)
  fix(build): ESLint error in Express config (#1807)
  fix(security): updating vulnerable packages (#1802)
  fix(build): E2E coverage broken on Travis CI (#1805)
  fix(users): Domain config setting (#1803)

# Conflicts:
#	package.json
2017-07-21 18:09:46 +08:00
OldHawk
9aec36d161 feat(forums): attach upload & download is finished 2017-07-14 12:30:42 +08:00
OldHawk
86e2e90b40 feat(forums): add forum attach upload config 2017-07-13 14:35:40 +08:00
OldHawk
9fe707a1a7 fix(traces): log bug fixed 2017-07-08 20:38:41 +08:00
Michael Leanos
b7fc24d7d1 fix(build): ESLint error in Express config (#1807)
Fixes a trailing space eslint error in the Express config.
2017-07-03 15:24:37 -07:00
Liran Tal
57c63e6d0b fix(security): updating vulnerable packages (#1802)
* fix(security): updating vulnerable packages

* fix(helmet): updating to support latest changes, transition from ms to seconds represntation

* comment on SIX_MONTHS variable
2017-07-02 08:09:52 +03:00
OldHawk
d21d84c619 feat(score): update user score on many actions 2017-06-27 12:52:30 +08:00
OldHawk
3644c36cf1 feat(score): add score config and update lib 2017-06-27 12:36:23 +08:00
OldHawk
025d40e7f5 feat(traces): trace log many admin and user action 2017-06-24 12:36:28 +08:00
OldHawk
bbf0b43528 change torrent file upload mode, first save temp folder, when create data ok, then move the file to dest folder,and delete the temp file 2017-05-17 16:03:25 +08:00
OldHawk
a9a5fde404 check only isOper can ban/kick on server side 2017-05-13 13:08:26 +08:00
OldHawk
cb538c152a check user Whether already logined from other location 2017-05-13 00:27:04 +08:00
OldHawk
6c68b74367 add ban expires time to config file, it can be auto moved when the time is expires 2017-05-12 16:55:30 +08:00
OldHawk
b74fddb162 show ban reason to baned user when them connecting 2017-05-12 16:53:13 +08:00
OldHawk
448f868099 oper/admin can ban/kick user out to chat room now~~ 2017-05-12 16:38:02 +08:00
OldHawk
3783fe3eb2 load chat message and users list 2017-05-10 17:52:56 +08:00
OldHawk
284629b0a7 upload subtitle function finished 2017-04-25 14:34:59 +08:00
OldHawk
cd115df1f2 add subtitle upload multer config 2017-04-25 10:55:53 +08:00
OldHawk
1fc901b0b3 load comment and reply data 2017-04-23 03:14:16 +08:00
OldHawk
72ea937b9e add setDatePrototypeToJSON to format date 2017-04-22 17:22:44 +08:00
OldHawk
7b36ac8da9 replace comma to space in upload filename 2017-04-08 04:02:30 +08:00
OldHawk
1b1ec89c04 check uploads torrent files`s announce url 2017-04-02 00:15:33 +08:00
OldHawk
766f51ceab add torrentFileFilter to filter uploads torrent file 2017-03-29 11:02:50 +08:00
Liran Tal
f8384040a4 fix(mongoose): fixing mongoose deprecation notice for promises lib (#1691)
If no promises library set correctly for the mongoose.Promise property then the following warning notice is omitted by mongoose:
`DeprecationWarning: Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library instead: http://mongoosejs.com/docs/promises.html`
2016-12-25 11:23:57 +02: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
Pedro Rodrigues
59c11c622e fix(core): fix twitter meta tags (#1581)
I believe the Twitter meta tags are outdated and this PR fixes them.
Taking into account the current MEAN.js tags and the Twitter docs, the most similar feature I found
is the Twitter Summary Card (https://dev.twitter.com/cards/types/summary).
2016-10-19 11:49:02 +03:00
Cody B. Daig
517dc32b69 promise(core): Add Promise Option to Mongoose (#1560)
Fixes #1559
2016-10-15 07:11:05 -07:00
Sujeeth
b0c5ad9f69 feat(core): Add prod asset versioning (#1536)
Asset versioning for prod - idea from #1509

Fixes #1509
2016-10-06 18:48:43 +03:00
Liran Tal
89e8d13c47 fix(logger): cleaning up unused parameters in logger setup (#1521) 2016-09-20 00:15:21 +03: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