diff --git a/config/env/default.js b/config/env/default.js index c4e677d9..e7d62336 100644 --- a/config/env/default.js +++ b/config/env/default.js @@ -14,7 +14,7 @@ module.exports = { host: process.env.HOST || '0.0.0.0', // DOMAIN config should be set to the fully qualified application accessible // URL. For example: https://www.myapp.com (including port if required). - domain: process.env.DOMAIN || 'mean.im', + domain: process.env.DOMAIN || 'mine.pt', // Session Cookie settings sessionCookie: { // session expiration is set by default to 24 hours diff --git a/config/env/development.js b/config/env/development.js index eac0f0ce..513c06af 100644 --- a/config/env/development.js +++ b/config/env/development.js @@ -57,12 +57,12 @@ module.exports = { sandbox: true }, mailer: { - from: process.env.MAILER_FROM || 'admin@mean.im', + from: process.env.MAILER_FROM || 'admin@mine.pt', options: { - service: process.env.MAILER_SERVICE_PROVIDER || 'service name like as: Gmail', + service: process.env.MAILER_SERVICE_PROVIDER || 'Gmail', auth: { - user: process.env.MAILER_EMAIL_ID || 'example@gmail.com', - pass: process.env.MAILER_PASSWORD || 'mail password' + user: process.env.MAILER_EMAIL_ID || 'taobataoma@gmail.com', + pass: process.env.MAILER_PASSWORD || 'ykyghbmpjfdliyph' } } }, diff --git a/config/env/production.js b/config/env/production.js index aed9c531..039cc67b 100644 --- a/config/env/production.js +++ b/config/env/production.js @@ -10,7 +10,7 @@ module.exports = { caBundle: './config/sslcerts/cabundle.crt' }, port: process.env.PORT || 3000, - host: process.env.HOST || '0.0.0.0', + host: process.env.HOST || 'mine.pt', db: { uri: process.env.MONGOHQ_URL || process.env.MONGODB_URI || 'mongodb://' + (process.env.DB_1_PORT_27017_TCP_ADDR || 'localhost') + '/mean-dev-v2', options: { @@ -78,12 +78,12 @@ module.exports = { sandbox: false }, mailer: { - from: process.env.MAILER_FROM || 'admin@mean.im', + from: process.env.MAILER_FROM || 'admin@mine.pt', options: { - service: process.env.MAILER_SERVICE_PROVIDER || 'service name like as: Gmail', + service: process.env.MAILER_SERVICE_PROVIDER || 'Gmail', auth: { - user: process.env.MAILER_EMAIL_ID || 'example@gmail.com', - pass: process.env.MAILER_PASSWORD || 'mail password' + user: process.env.MAILER_EMAIL_ID || 'taobataoma@gmail.com', + pass: process.env.MAILER_PASSWORD || 'ykyghbmpjfdliyph' } } }, diff --git a/config/env/torrents.js b/config/env/torrents.js index 62d3874b..b8fbf77e 100644 --- a/config/env/torrents.js +++ b/config/env/torrents.js @@ -26,12 +26,12 @@ module.exports = { * if web server used proxyPass setting, this should set to false */ app: { - name: 'MEAN.im', - domain: 'http://mean.im', + name: 'MINE.pt', + domain: 'https://mine.pt', showDemoWarningPopup: true, cronTimeZone: 'Asia/Shanghai', showDebugLog: true, - setDefaultValueOnIndex: true + setDefaultValueOnIndex: false }, /** @@ -96,8 +96,8 @@ module.exports = { url: '/announce', comment: 'meanTorrent group', announceInterval: 60 * 1000 * 5, - announcePrefix: '{MEAN.im}.', - admin: 'admin@mean.im', + announcePrefix: '{MINE.pt}.', + admin: 'meetuspt@gmail.com', clientBlackListUrl: '/about/black', privateTorrentCmsMode: true, downloadCheck: { @@ -137,8 +137,8 @@ module.exports = { title: '[%s] - RSS torrents', description: 'Latest torrents from [%s]', copyright: 'Copyright (c) [%s] 2012-2017, all rights reserved', - managingEditor: 'admin@mean.im (%s Admin)', - webMaster: 'webmaster@mean.im (%s Webmaster)', + managingEditor: 'admin@mine.pt (%s Admin)', + webMaster: 'webmaster@mine.pt (%s Webmaster)', generator: 'meanTorrent RSS Generator', ttl: 60, image_url: '/modules/core/client/img/rss.jpeg' @@ -195,10 +195,10 @@ module.exports = { debug: false, server: 'irc.mean.im', port: 16667, - nick: 'meanAnnouncer', + nick: 'mineAnnouncer', userName: 'meanTorrent', realName: 'IRC announce client', - channel: '#meanAnnounce', + channel: '#mineAnnounce', defaultMsgFormat: '%s uploaded - torrent: %s, type: %s, size: %d, sale: %s, url: %s, at %s', tvserialMsgFormat: '%s uploaded - torrent: %s, type: %s, size: %d, seasons: %d, episodes: %s, sale: %s, url: %s, at %s', showErrors: true, @@ -227,12 +227,12 @@ module.exports = { * @activeIdleAccountScore: user active idle account need score numbers */ sign: { - openSignup: true, + openSignup: false, signUpActiveTokenExpires: 60 * 60 * 1000 * 24, allowSocialSignin: false, showMenuHeaderForGuest: true, showFooterCountInfoForGuest: true, - showDemoSignMessage: true, + showDemoSignMessage: false, accountIdleForTime: 60 * 60 * 1000 * 24 * 30, //30 days activeIdleAccountScore: 50000 }, @@ -971,7 +971,7 @@ module.exports = { * @castImgBaseUrl: image link url */ tmdbConfig: { - key: 'api key from tmdb', + key: '7888f0042a366f63289ff571b68b7ce0', tmdbHome: 'https://www.themoviedb.org', tmdbMovieLinkUrl: 'https://www.themoviedb.org/movie/', tmdbTvserialLinkUrl: 'https://www.themoviedb.org/tv/', @@ -1004,7 +1004,7 @@ module.exports = { */ voteTitle: { imdb: 'IMDB', - mt: 'MEAN' + mt: 'MINE' }, /** diff --git a/modules/about/client/templates/rules-en.md b/modules/about/client/templates/rules-en.md index 1f41cfce..8734ecbe 100644 --- a/modules/about/client/templates/rules-en.md +++ b/modules/about/client/templates/rules-en.md @@ -1,4 +1,4 @@ -## This is the `USER RULES` of CHD.im +## This is the `USER RULES` of mine.pt The rules content is read from rules.md file, it is support `markdown` style. diff --git a/modules/vip/client/templates/vip-en.md b/modules/vip/client/templates/vip-en.md index 993faff2..9bb8980b 100644 --- a/modules/vip/client/templates/vip-en.md +++ b/modules/vip/client/templates/vip-en.md @@ -1,4 +1,4 @@ -## This is the `VIP RULES` of CHD.im +## This is the `VIP RULES` of mine.pt The rules content is read from vip.md file, it is support `markdown` style. diff --git a/modules/vip/client/views/donate.client.view.html b/modules/vip/client/views/donate.client.view.html index dec32bb9..486a2077 100644 --- a/modules/vip/client/views/donate.client.view.html +++ b/modules/vip/client/views/donate.client.view.html @@ -42,21 +42,21 @@
-
- + + -

{{'VIP.PAYPAL_TITLE' | translate}}

-
-
- + + + + -

{{'VIP.ALIPAY_TITLE' | translate}}

-
-
- + + + + -

{{'VIP.WEIXIN_TITLE' | translate}}

-
+ +