Commit Graph

293 Commits

Author SHA1 Message Date
OldHawk
68f3c6035b add angular-translate multilingual support 2017-03-25 21:13:45 +08:00
OldHawk
6526d88042 change config file MEAN.js -> meanTorrent 2017-03-23 13:48:43 +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
Michael Leanos
d37b603767 Incorrect production assets (#1647)
Removed the ng-img-crop references from the production assets
configuration, since the library has been removed from the project.

Also, re-ordered the CSS section to be in alphabetical order.
2016-11-20 16:54:24 -08: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
Michael Leanos
502143b212 fix(config): Default env config lint error (#1604)
Fixes linting errors thrown from incorrect spacing in the default
environment config. Incorrect spacing at the `illegalUsernames` config
setting.
2016-10-29 13:24:11 -07:00
shanavas
d47dd41108 feat(build): Ignore compiled sass/less files from git (#1592)
* Compile sass/less files to appropriate directories

* Include compiled sass/less files in asset

* Ignore compiled sass/less files
2016-10-29 11:30:46 -07:00
Sujeeth
fb9d9d912c feat(user): add strict validations for username (#1574)
Idea proposed by @sparshy #1204
Suggestions, rules and tests from Trustroots @simison
Added validations on user server model
Added client side validations
Added relevant tests on user server tests
Added relevant tests on user e2e tests

Fixes #1204
2016-10-19 20:40:26 -07: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
Sujeeth
4dd866992a fix(config): config.app.domain -> config.domain (#1572)
Issue brought up by @19r3ka

Fixes #1506
2016-10-15 18:50:10 -07:00
Michael Leanos
ef3b361c09 fix(config): Default config dangling comma (#1570)
Removes the dangling comma from the default configuration db.promise
setting.
2016-10-15 14:07:30 -07:00
Cody B. Daig
517dc32b69 promise(core): Add Promise Option to Mongoose (#1560)
Fixes #1559
2016-10-15 07:11:05 -07:00
Sujeeth
607ed061e3 feat(core): add notification feedback with angular-ui-notification (#1532)
Added visual notification for user/article updates
angular-ui-notification config added to core client config
Notification idea from #369
2016-10-10 14:51:44 -07:00
Cody B. Daig
afe0d38e4c grunt(core): Remove Excess Grunt Dependencies (#1543) 2016-10-06 10:32:19 -06: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
Cody B. Daig
f0867c2d69 bluemix(remove): Remove Excess CF files (#1542) 2016-10-04 21:26:05 -06:00
Liran Tal
89e8d13c47 fix(logger): cleaning up unused parameters in logger setup (#1521) 2016-09-20 00:15:21 +03:00
walter
0588eaba48 Moved owasp config into default and reverted other config files.
Modified config to be "shared". This will allow future configurations to be easily passed to the client.
2016-09-12 11:53:22 -07:00
walter
4ddb059346 switched to handlebar template for passing the server's owasp config down to the client.
reverted some of the other changes (regarding the http request).
2016-09-08 11:17:41 -07:00
walter
d896d07d8b Added configuration for owasp. Synchronize client owap configs with the server configs.
Also added a time indicator on failed login attempts to give the user feedback on subsequent failed login attempts.
2016-09-07 19:16:11 -07:00
Cody B. Daig
dd809510cc chore(core): Remove Bluemix (#1476) 2016-09-05 20:42:53 +03:00
hyperreality
70a3e4cac3 fix(tests): Reorganized coverage tests (#1480)
* Added coverage to Gulp

* Moved karma coverage task to Gulpfile, moved LCOV posting to coveralls to .travis.yml config
2016-09-05 20:42:37 +03:00
hyperreality
7be1910420 feat(tests): add client and server test coverage to Gulp (#1466)
* Added coverage to Gulp

* Integrated coveralls tests with gulp

* spurious changes to kick off coveralls
2016-09-04 01:30:32 +03:00
Liran Tal
c0f6cb3e4d feat(mongodb): support for mongodb secure connections with ssl certificates (#1472)
Fixes #1349
2016-09-04 01:29:28 +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
hyperreality
246c5d953c feat(profile): Profile picture cropping, mobile uploading and progress bar (#1443)
* Add ng-file-upload and picture cropping

* Update bower.json

Remove bower dependency for angular-file-upload
2016-08-26 09:56:56 +03:00
Liran Tal
64392b1eed fix(config): updating environment variable name for mongodb with the new one for Heroku (#1413) 2016-07-31 13:34:04 +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
shanavas
0934f87cfb feat(build): Wiredep task for grunt and gulp (#1402)
* Fix(grunt): remove redundant grunt task loading

remove explicit grunt task loading for `grunt-protactor-coverage` as
`load-grunt-tasks` handles it

* Feat(grunt): add wiredep task for grunt

Automatically update bower dependencies.

* Fix(grunt-wiredep):Remove trailing comma from assets

Remove trailing comma from assets configuration generated by wiredep

* Fix(gulp): Remove trailing comma from asset files

Remove trailing comma from asset configurations generated by wiredep

* Fix(npm): use tilde ranges

* Fix(gulp): use wiredep instead of gulp-wiredep

Fixes #1398

* Fix(grunt): use wiredep instead of grunt-wiredep

* Fix(lint): suppress eslint errors in asset files

Fixes #1402
2016-07-23 18:25:35 +03:00
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
Liran Tal
c9169e41a1 fix(hsts): removing hsts configuration set on lusca's csrf settings but is already configured and provided using helmet 2016-04-13 13:42:21 +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
IteloFilho
3d199ea93e feat(gulp): add wiredep gulp task 2016-03-10 20:31:32 -03:00
Joris Willems
500d1a62df feat(config): upgrade to angular 1.5
Update bower dependencies to more recent versions.
Resolved hard-coded dependency by updating file upload
PhantomJs to 2.x series for tests (@usta)
Fix assertion in tests for compatibility with MongoDB 3.2 (@rhutchison)
Improve coding style tests to avoid type errors (@ilanbiala)
Fix refresh showing flash of scrollbar in menu
Remove deprecated angular-ui-utils

Fixes #1124
2016-03-02 18:18:53 +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
Julian Laval
6748a7fbf9 fix(config): Added Gruntfile linting
Changed config properties to arrays for inclusion in Gruntfile Lodash unions, e.g. linting

Fixes #1125
2016-01-14 18:23:54 +00:00
accraze
1a3f6f8195 feat(build): added imagemin to gulp
in order to minify images,
gulp is now given an imagemin task
2016-01-13 19:23:19 -08:00
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
mleanos
6d7447479f feat(config): Local env configurations
Adds the ability to configure multiple env configurations, for the
various NODE_ENV's. These configs can be used to override the current
configuration, using the appropriate local-NODE_ENV.js file that the
user has defined.

Updated the local.example.js comments to be clear on the usage.

Added config/env/local-*.js to gitignore.

Updated the copy:localConfig Grunt task to copy local.example as
local-development.js, since we're no longer going to use local.js.
2015-11-29 11:00:52 -08:00
Ryan J Baxter
7340e6855f Switched to using new MongoDB service in Bluemix since MongoLabs is being removed 2015-11-02 11:50:46 -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