Commit Graph

96 Commits

Author SHA1 Message Date
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
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
hyperreality
14136450ab feat(core): update project dependencies, fix express config (#1463) 2016-08-30 01:10:14 +03:00
Liran Tal
f6e579765f feat(express): introducing handlebars nodejs template system (#1461)
This commit introduces handlebars template system and completely replacing Swig and the Consolidate project to handle multiple template systems.
Fixes #1286
2016-08-29 08:32:21 +03:00
Mikael Korpela
07a860f6b5 feat(angular): disable Angular debug data in production (#1457)
Disable Angular debug data in production for a significant performance
boost.

Passes environment variable from template to app config and from there
to
Angular bootstrap config.

https://docs.angularjs.org/guide/production#disabling-debug-data

See #1294
2016-08-28 14:52:05 +03:00
Mikael Korpela
23fd205d81 fix(server): Remove unused loadModels() (#1426) 2016-08-26 13:34:02 +03:00
Liran Tal
37183e0359 * fix(express): updating express session name variable due to deprecation
* fix(express): updating express session name variable from key (the old deprecated one) to the new variable: name

* fix(express): re-wording confusing comment on the session cookie name
2016-07-27 11:39:13 +05:45
Liran Tal
c364922f67 feat(ssl): supporting a certificate authority bundle file for the secured SSL configuration (#1342) 2016-06-07 09:58:02 +03:00
Liran Tal
c8cbcd326f feat(logs): replacing unmaintained and vulnerable file-stream-rotator package with winston log facility (#1334)
* replacing file-stream-rotator with a better logging mechanism using winston which can be extended later for other use cases and integrations

* refactoring logger mechanism, accomodating for tests and environment variable configurations

* only enabling morgan logger if config.log.format option was defined, and disabling the app.log file transport option for the test environment

* disabling all kind of logging when in test enviroment
2016-05-22 01:03:18 +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
Liran Tal
01f59c04bd Merge pull request #1228 from droooney/remove-BOM
fix(build): Remove BOM
2016-02-21 20:54:44 +02:00
droooney
52faf0697f fix(build): Remove BOM
Remove byte-order mark from source files.

Fixes #1227
2016-02-20 14:49:30 +05:00
Yilen
b2db312e14 feat(csrf): Added Lusca CSRF Prevention
Added lusca for CSRF protection as per issue #828

Fixes #828
2016-02-16 10:57:11 -08:00
Faraj Farook
36e956ea71 fix(core): Adding server info to log initialization
Adding host information to the log initialization and aligning the
texts.
2016-01-17 19:26:52 +05:30
Faraj Farook
6e4c54f712 feat(config): Adding host configuration feature
Adding the functionality of configuring the host to bind the server. By
default this is set to 0.0.0.0.
2015-12-23 03:11:25 +05:30
pursual
4701722a32 fix(core): Serve static files without session init
Fixes #1089
2015-12-07 11:23:16 -05:00
Liran Tal
860f7ce739 Merge pull request #1025 from mleanos/seeddb-missing-config
[hotfix] SeedDB missing in env config
2015-10-30 00:56:20 +02:00
Cody B. Daig
c2f0d18842 Merge pull request #1027 from rodp82/master
Changed favicon string to env variable
2015-10-29 08:29:37 -07:00
mleanos
28f1f57a26 [hotfix] SeedDB missing in env config
Adds a check for the existence of the seedDB config setting, before
attempting to read config.seedDB.seed setting.

Solves the problem when the seedDB config setting is missing from a
environment config, that causes the application to throw an exception at
startup.

Also, adds the seedDB setting to the Cloud-Foundry env config.
2015-10-28 14:21:11 -07:00