Commit Graph

86 Commits

Author SHA1 Message Date
Michael Teeuw 20823bfc87 Add missing package-lock.json. 2018-01-02 18:41:33 +01:00
Michael Teeuw a0a02701b0 Update version number. 2018-01-01 13:42:39 +01:00
Michael Teeuw 39955af2fa Upgrade packages. 2018-01-01 12:36:53 +01:00
Michael Teeuw 86e1f0615d Prepare for release v2.2.0 2018-01-01 12:33:00 +01:00
Michael Teeuw 61d6e74102 Use an old electron version ...
Hopefully Electron will be fixed soon.
2017-12-30 21:33:56 +01:00
Michael Teeuw 30179ad977 Setup of new dev release. 2017-10-01 12:39:48 +02:00
Michael Teeuw efb6994ae7 Changes in preparation of 2.1.3 2017-10-01 12:34:54 +02:00
Michael Teeuw b28c5e6807 Merge pull request #1015 from roramirez/show-missing-string-test-translations
TestSuite: Show the missing strings for translations files.
2017-09-07 10:07:09 +02:00
Michael Teeuw 068b6a5470 Merge pull request #1012 from roramirez/set-version-express-ipfilter
set version of express-ipfilter:
2017-09-06 14:19:30 +02:00
Rodrigo Ramírez Norambuena 45d597ac49 set version of express-ipfilter:
Prevent problems with ipWhitelist using []

Information in https://forum.magicmirror.builders/topic/4716/issue-with-white-list-ip-s-not-working/14
https://github.com/baminteractive/express-ipfilter/commit/4adc5dc33e6ef5086e36a7a56184da7cdcd056bf
2017-09-05 23:56:32 -03:00
Rodrigo Ramírez Norambuena 1456aeedf2 TestSuite: Show the missing strings for translations files.
In the translations test now when are missing some translations for
determinated language will be show the missing string.

This can help to identified and improved the translations files.

/me listening STP: Silvergun superman
2017-08-28 21:31:01 -03:00
Bas van Wetten 5b9a61b7db Added e2e test for font files 2017-08-21 15:33:17 +02:00
Michael Teeuw 1a7971ec82 Merge pull request #987 from roramirez/update-stylelint
Update stylelint package
2017-08-12 16:52:13 +02:00
Michael Teeuw 2294d722c7 Merge pull request #986 from roramirez/roboto-fonts-as-vendor
Change to install Roboto fonts by npm
2017-08-12 13:50:23 +02:00
Michael Teeuw 7a508661eb Merge branch 'develop' into update-stylelint 2017-08-10 16:29:30 +02:00
Rodrigo Ramírez Norambuena aed09f0c64 Change to install Roboto fonts by npm 2017-08-07 20:45:42 -04:00
Rodrigo Ramírez Norambuena c05f306b0d Update stylelint package 2017-08-06 07:59:31 -04:00
Rodrigo Ramírez Norambuena 84dc0b2959 Set version spectron for 3.6.x 2017-07-25 10:28:45 -04:00
Michael Teeuw 2c77cb5ca5 Set dev version. 2017-07-01 20:35:11 +02:00
Michael Teeuw ce98d0184d Update Version Number 2017-07-01 20:07:08 +02:00
Veeck a2464dce73 Udpate dependencies 2017-06-11 11:36:17 +02:00
Michael Teeuw 9f61256e5e Move stylelint to devDep. 2017-05-26 14:43:44 +02:00
Michael Teeuw a9c2c2178a Merge branch 'develop' into package_updates 2017-05-26 14:42:24 +02:00
Veeck 5f539b133b Update dependencies, add stylelint too 2017-05-21 19:16:09 +02:00
Rodrigo Ramírez Norambuena be05f1a71f Remove warnings
npm WARN grunt-stylelint@0.8.0 requires a peer of stylelint@^7.8.0 but
none was installed.

npm WARN stylelint-config-standard@16.0.0 requires a peer of
stylelint@^7.8.0 but none was installed.
2017-05-11 02:44:52 -03:00
Rodrigo Ramírez Norambuena dce8edf742 Merge branch 'develop' into check-week-number 2017-04-18 22:59:07 -03:00
Rodrigo Ramírez Norambuena 7e9c4848fb Sort dependencies in the file package.json 2017-04-13 08:40:51 -03:00
Rodrigo Ramírez Norambuena 467b1ad4f1 Add test match week number with clock module with configuration showWeek 2017-04-12 22:29:20 -03:00
Michael Teeuw ec20748594 Merge pull request #836 from roramirez/check-wrong-configuration
Check wrong configuration
2017-04-07 08:42:04 +02:00
Rodrigo Ramírez Norambuena 9725091233 Merge remote-tracking branch 'roramirez_github/develop' into check-wrong-configuration 2017-04-06 21:32:48 -03:00
Michael Teeuw 033d3c92ab Add missing dependency 2017-04-06 16:28:48 +02:00
Michael Teeuw 60cf6cec5e Merge pull request #822 from roramirez/website-package
Change website in package.json
2017-04-05 20:13:13 +02:00
Michael Teeuw 5a6f5133af Prepare setup for 2.1.2 2017-04-01 22:05:21 +02:00
Rodrigo Ramírez Norambuena fd2b070a6a Change website in package.json 2017-03-25 00:26:47 -03:00
Rodrigo Ramírez Norambuena 4fb86bd699 change description package.json 2017-03-19 16:54:36 -03:00
Rodrigo Ramírez Norambuena f89f704a69 Add task to check configuration file syntax. 2017-03-18 09:45:32 -03:00
Michael Teeuw 0dc39166ac Merge pull request #775 from roramirez/npm-vendors
Npm for vendors
2017-03-18 11:42:38 +01:00
fewieden bb08fe8113 fix recursive installation loop, added other vendor dependencies 2017-03-14 11:49:20 +01:00
Rodrigo Ramírez Norambuena 328f15c2ea Add font-awesome using npm on vendors:
This can updated libs and clean repository code.
2017-03-12 21:55:08 -03:00
Rodrigo Ramírez Norambuena ceb4ef2642 Add test basic-auth 2017-03-10 04:33:27 -03:00
Rodrigo Ramírez Norambuena bd0da63f4c use colors for warning message in deprecated options 2017-02-21 20:28:12 -03:00
Rodrigo Ramírez Norambuena 75c4ca77c2 Update socket.io to 1.7.3 2017-02-19 19:57:21 -03:00
Rodrigo Ramírez Norambuena 6fc1141477 Run tests e2e in Travis 2017-01-31 18:38:25 -03:00
Sergey Morozov 86fdd91597 Restructured Test Suite
- separated tests into e2e and unit directories
- created configs directory structure to support test framework
- added/modified `npm run test`, `npm run test:unit` and `npm run test:e2e` to target all, unit and e2e tests respectively
- modified some of the test names to be more descriptive

New structure of the Test Suite has following directory tree:

```
tests
├── configs
│   ├── env.js
│   └── modules
│       ├── clock
│       │   ├── clock_12hr.js
│       │   ├── clock_24hr.js
│       │   └── clock_showPeriodUpper.js
│       └── helloworld
│           └── helloworld.js
├── e2e
│   ├── env_spec.js
│   └── modules
│       ├── clock_spec.js
│       └── helloworld_spec.js
└── unit
    ├── functions
    │   └── cmp_versions_spec.js
    └── global_vars
        └── root_path_spec.js
```
2017-01-31 11:08:53 -08:00
Sergey Morozov 7731878f36 Add missing 'chai-as-promised' dependency
When I attempted to run e2e tests I got following error:

```
$npm run test:e2e

> magicmirror@2.1.1 test:e2e /Users/sergeym/localDev/MagicMirror
> ./node_modules/mocha/bin/mocha tests/e2e --recursive

module.js:471
    throw err;
    ^

Error: Cannot find module 'chai-as-promised'
...
```

Adding `chai-as-promised` to `package.json` and running npm install fixes it.
2017-01-30 15:33:23 -08:00
Rodrigo Ramírez Norambuena d474d518ca test e2e module helloworld 2017-01-30 12:24:49 -03:00
Rodrigo Ramírez Norambuena 52b8dbcbb1 separate test type. Create directory for End-to-end testing. 2017-01-30 12:17:45 -03:00
Rodrigo Ramírez Norambuena 566ea9a110 Use script for start MagicMirror 2017-01-24 02:12:36 -03:00
Sergey Morozov 690567659c Minor clean up for test suite
@roramirez thanks for starting adding tests. I figured that we might as well grunt them and follow same rules for linting as we do for rest of JS code in the repo.

I've made following minor modifications:
- added tests to the grunt target
- fixed indentation in package.json
- made tests a bit more descriptive
- fixed eslint errors surfaced by grunt
2017-01-23 09:59:19 -08:00
Rodrigo Ramírez Norambuena 3a8d72db31 init tests:
This patch propouse use the mocha for testing MagicMirror.
2017-01-15 15:40:23 -03:00