Commit Graph

52 Commits

Author SHA1 Message Date
OldHawk
183e9ef1d2 feat(users): translate sign in/up UI strings 2017-05-27 14:01:32 +08:00
OldHawk
ab48ea97a6 fix(core): update movie info save process 2017-05-22 18:16:35 +08: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
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
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
mleanos
99fe98929c Logger Development config default
Reverts the default Logger setting to use the stdout by default, rather
than the stream option.
2015-10-26 23:13:24 -07:00
mleanos
8cd2291a6a Enable log options for Morgan
Adds the log options, and format to the Morgan middleware in the Express
configuration.

These options are defined in the environment configurations.

The implementation derived from https://github.com/meanjs/mean/pull/254
by @lirantal, which somehow got overlooked when merging 0.4.0 into
master.

Added tests for the Logger configuration.

Added the log settings to the Test env config.

Added environment variables for the log settings in the Test &
Production env configs.

Moved the Morgan Express middleware outside of the NODE_ENV ===
'development' check. Morgan should be used in all environments, and use
the settings set in each env config.

Changed the wording of the Stream option comments in the env configs.

Added Rotating Logs functionality, and refactored the log Stream
options. Added a new npm package, FileStreamRotator, for use with
Morgan's rotating logs functionality.

Also, refactored the log configuration tests to be more maintainable.

Added more tests, and refactored test suite to use mock-fs.
2015-10-20 21:03:07 -07:00
mleanos
0560062eab Seed options - logResults
Added an options object to the database seed configuration. Currently,
the only option implemented is `logResults`; set using the seedDB env
config
options (default to "true").

Modified the definition of the env config for seedDB. It's now an
object, with
options.

Setting the logResults option is set to `false` in the core
configuration server test suite.

Also, fixed an issue with how env configs were reading the seedDB
setting from the env variables. Previously, the config was getting set
by
looking for merely the existence of the env variable (MONGO_SEED).
However,
if this setting existed but was set to "false", the seedDB would be
turned on.

Added the SeedDB user details to the env config, and seedDB options.

Added tests to the core server config test suite

should have seedDB configuration set for "regular" user
should have seedDB configuration set for admin user
should seed admin, and "regular" user accounts when NODE_ENV is set to
"test" when they already exist
should ONLY seed admin user account when NODE_ENV is set to "production"
with custom admin
should seed admin, and "regular" user accounts when NODE_ENV is set to
"test" with custom options
should NOT seed admin user account if it already exists when NODE_ENV is
set to "production"
should NOT seed "regular" user account if missing email when NODE_ENV
set to "test"

Added support for environment variables to seedDB env configs; currently
only supporting username & email.

Refactored how the SeedDB rejects were being handled
2015-10-09 13:48:11 -07:00
Andrew Throener
ea97f2e7d8 Database seeding 2015-08-13 09:37:24 -05:00
Ryan Hutchison
ef3a3f9548 formatting reboot (space-2 and consistency)
JSCS fixes

update editorconfig
2015-07-31 10:04:02 -04:00
Cody B. Daig
40878bb076 Get site title from default 2015-07-29 08:43:56 -07:00
Liran Tal
4f7aed0107 Merge pull request #707 from lirantal/feature/mongoose_debug_option
Enabling mongoose debug mode
2015-07-26 19:47:43 +03:00
Liran Tal
0bcadcc08e Enhancing support for development envionrment to enable mongoose debug mode so that we can debug db queries
Includes support for environment variable MONGODB_DEBUG
2015-07-25 21:23:20 +03:00
Cody B. Daig
a62c4dd16d Move livereload, image, and favicon to config 2015-07-23 20:05:34 -07:00
trainerbill
a98a84fd20 Fix merge conflicts 2015-07-14 15:46:23 -05:00
Liran Tal
2e03d13c12 updated the development.js environment configuration file to use the mean-dev database instead of mean-test which is used for testing/stages environment 2015-07-11 01:05:07 +03:00
Liran Tal
6bb5b8cfd5 Merge branch '0.4.0' of https://github.com/Robaum/mean into Robaum-0.4.0
Conflicts:
	README.md
	config/env/development.js
	config/env/test.js
2015-07-11 00:59:35 +03:00
Roberto
08b2f746d6 Fig changed to Compose 2015-07-02 08:03:46 -05:00
Andrew Throener
8694b7e976 PayPal Authentication 2015-07-02 07:44:58 -05:00
Liran Tal
b76c2cd13b updating 0.4.0 merged branch to support the declerative db connection object instead of just a connection string 2015-07-02 12:29:09 +03:00
Liran Tal
67e96a4f22 0.4.0 branch merged into master 2015-07-02 12:08:09 +03:00
Liran Tal
5b7423cef2 updating support for mongodb connection string to support special chars for username and password 2014-11-29 11:06:16 +02:00
Amos Haviv
ab81d61bd3 New 0.4 version 2014-11-10 23:12:33 +02:00
Liran Tal
bf7bcc6170 adding support for logger handling which allows for saving the requests to a logfile, useful for production systems 2014-11-06 13:07:20 +02:00
Liran Tal
0f4a5850eb making the log format configurable and enabled morgan logging on all environments, not just development 2014-11-06 11:12:38 +02:00
Roie Schwaber-Cohen
a7243763ea Merge branch 'pr/140' 2014-10-27 18:29:48 -07:00
Wesley Smith
593497027c Removed localhost from env files, as it is not necesary and can introduce bugs in non-local environments. 2014-09-01 17:44:05 -06:00
jloveland
2ac17f7868 adding https option for running with TLS/SSL 2014-08-15 21:51:34 -04:00
Amos Haviv
2c319c5e65 Update to config tabs 2014-08-05 16:49:33 +03:00
Amos Haviv
b311b7b72c Fix menu service defaults 2014-08-05 15:35:49 +03:00
Amos Haviv
f6e19093eb Update 0.3.2 2014-08-02 21:29:38 +03:00
anooprh
3dcf45c55a Added github signin/signup to the list of signups/signi's 2014-08-01 02:23:00 -04:00
Amos Haviv
f4b62ca819 Adding Password Reset 2014-07-31 11:27:14 +03:00
Matthias Luebken
a68b588880 first docker version with fig 2014-06-18 15:59:24 +02:00
Amos Haviv
a7aa199019 Fixing indentation 2014-05-20 18:22:38 +03:00
Samuel Vijaykumar M
7cf1fc2adb Changed all the indents to the spaces(tab size 4) 2014-05-14 16:05:15 +05:30
Amos Haviv
0e7ebb6da8 Fixing OAuth authentication 2014-05-08 00:14:59 +03:00
Miguel Cobá
fa1171fe28 Add envvars for deploying to cloud providers 2014-04-08 14:02:14 -05:00
Amos Haviv
921bb41036 Fix Development Config 2014-03-26 01:27:09 +02:00
Amos Haviv
36f71fa279 Users Module Revamp 2014-03-26 01:11:24 +02:00
Amos Haviv
85c97f88be Fixing Configuration Files 2014-02-12 18:54:38 +02:00
Amos Haviv
c1213e9a7b Fixing Indentation Convention to TABS 2014-02-10 13:24:01 +02:00
Amos Haviv
17e089ec69 Moving to MEAN.JS 2014-02-10 13:09:25 +02:00
Drew Fyock
a0c9de3756 #236 implement swig instead of jade 2014-02-03 13:46:39 -05:00
Harshad Kale
58d2cbf706 Add linkedin support for login 2014-01-25 12:03:26 -06:00
Amos Haviv
822d7ca7b2 Properly run JSHint 2013-12-25 16:36:33 +02:00
Amos Haviv
5a780aa34c Adding Bower Resolutions 2013-12-23 19:52:54 +02:00
Amos Haviv
86186ad151 Fixing Facebook Redirect 2013-12-23 19:45:27 +02:00