16 Commits

Author SHA1 Message Date
purebaba
24af68f390 fix(torrents): fixed the favorites of the torrent cannot be removed after the torrent was removed 2019-06-12 10:31:21 +08:00
Liran Tal
e5a5d24216 chore(tidy): tidying up minor lint and layout issues 2016-09-09 08:56:07 +03:00
Michael Leanos
4906611ccc fix(users): GitHub strategy missing email (#1250)
Fixes an issue with an empty/missing/null Email coming from GitHub's
OAuth call response.

Also, introduces the `sparse` index option on the User model's Email
field. This will ensure that we can have multiple User documents without
the Email field.

Adds a server-side User model test for the sparse index setting on the
email field.

Confirms that User documents without the email field are not indexed,
illustrating the sparse option on the schema's email field works
properly.

Added the dropdb task to the Gulp test:client & test:server tasks, to
ensure we have a clean database & that any indexes are rebuilt; this
will ensure any Schema changes (in this case the email index is rebuilt using
the sparse index option) are reflected when the database is started again.

Added a UPGRADE.md for tracking important upgrade information for our
user's to be aware of, when we introduce potentially breaking changes.

Included an explanation of the Sparse index being added, and how to apply it
to an existing MEANJS application's database.

Adds a script for dropping the `email` field's index from the User
collection.

Related #1145
2016-04-29 14:13:46 -07: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
jloveland
1f79770663 Fixing jshint issues with grunt, gulp, and reset-password script. 2015-10-28 21:33:28 -04:00
Liran Tal
fe20d3c677 Merge pull request #765 from jloveland/more-security
Adding more secure settings
2015-08-06 18:44:51 +03:00
jloveland
4949bdd9c3 adding ordered cipher list, stronger settings in generate-ssl-certs script, and hsts settings 2015-08-05 22:48:59 -04:00
Ryan Hutchison
01a8d5e67b reset-password enhancements and bug fix 2015-08-04 22:08:45 -04:00
Liran Tal
03b7f6ffda fixing up SSL support on startup to fallback to non-SSL mode if files are not present 2015-07-17 11:25:42 +03:00
Grant George
bf777d9404 do not use aes when creating ssl certs to prevent password requirement 2015-07-15 11:05:26 -04:00
Liran Tal
67e96a4f22 0.4.0 branch merged into master 2015-07-02 12:08:09 +03:00
jloveland
3e1d0b5f84 adding ssl back in 2015-05-08 07:01:41 -07:00
smythey21
8f971555bb Fixing typo in scripts/generate-ssl-certs.sh 2015-03-28 23:33:31 -04:00
Ilan Biala
e1496dc01c Reset password script 2015-03-26 22:32:56 -04:00
Liran Tal
176b619c2d updating ssl generation script to check app root directory location as safe-guard 2014-12-01 09:47:51 +02:00
Liran Tal
586f0ade38 adding the new scripts directory 2014-11-28 09:29:18 +02:00