6461 Commits

Author SHA1 Message Date
Toverto
cd651b07fa
Change db scripts to run nodemon instead of node
this way you don't have to run yarn run build before seeding the db
2018-12-23 19:30:15 +01:00
Grzegorz Leoniec
6c2b606341
Updated translations 2018-12-21 15:42:25 +01:00
Grzegorz Leoniec
1e1864277d
Improved intarnationalization test 2018-12-21 15:31:07 +01:00
Grzegorz Leoniec
4fe90668a6
Improved internationalization tests 2018-12-21 15:27:11 +01:00
Grzegorz Leoniec
4a0d03e011
Refactored i18n plugin and fixed several bugs 2018-12-21 15:11:51 +01:00
Grzegorz Leoniec
4f3a18263b
Refactored internationalization tests 2018-12-21 15:11:13 +01:00
Grzegorz Leoniec
8106d632ed
fixed missing imports 2018-12-21 15:09:29 +01:00
Grzegorz Leoniec
043c8630e9
Added iso codes to locales 2018-12-21 14:57:44 +01:00
Grzegorz Leoniec
dc3a4204f8
Added lang attribute to html tag 2018-12-21 14:49:27 +01:00
Grzegorz Leoniec
3633ebe04f
removed vue-i18n in favor of vuex-i18n 2018-12-21 14:47:13 +01:00
Grzegorz Leoniec
f67345d246
Ignore .vscode 2018-12-21 10:25:12 +01:00
dependabot[bot]
1c99501516
Merge pull request #92 from Human-Connection/dependabot/submodules/Nitro-Backend-88341f5 2018-12-21 04:19:16 +00:00
dependabot[bot]
b666add885
Bump Nitro-Backend from f47b136 to 88341f5
Bumps [Nitro-Backend](https://github.com/Human-Connection/Nitro-Backend) from `f47b136` to `88341f5`.
- [Release notes](https://github.com/Human-Connection/Nitro-Backend/releases)
- [Commits](f47b136232...88341f5fce)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-21 04:18:35 +00:00
Robert Schäfer
ec9c205bee Export a function in server.js and test teardown 2018-12-21 00:37:58 +01:00
Robert Schäfer
6b216be05c Add @mattwr18's code and fix linting 2018-12-21 00:03:57 +01:00
Grzegorz Leoniec
88341f5fce
Merge pull request #89 from Kachulio1/patch-1
Update README.md
2018-12-20 23:16:46 +01:00
kachulio1
e58e228f0c remove supertest 2018-12-20 22:44:52 +03:00
Grzegorz Leoniec
5f244eba1a
Added test for italiano 2018-12-20 20:41:32 +01:00
Joseph
01c4090792
Update README.md
add build command before db:seed
2018-12-20 22:18:18 +03:00
Grzegorz Leoniec
3626fb2fa0
Improved internationalization test 2018-12-20 20:09:13 +01:00
kachulio1
2ccbb1ca92 add supertest 2018-12-20 20:39:48 +03:00
Robert Schäfer
f15fb0bb1f Sketch a test to expose #49 2018-12-20 18:01:55 +01:00
Robert Schäfer
eaef67fad3 Replace mocha with jest
To have a consisten test runner in both repos (Nitro-Web and
Nitro-Backend)
2018-12-20 17:55:03 +01:00
Grzegorz Leoniec
8b0823e01b
Imported Portuguese translations, thanks @Marco! 2018-12-20 13:40:07 +01:00
Grzegorz Leoniec
a40ed2a34c
Centralized locale configuration and improved menu 2018-12-20 13:24:27 +01:00
Grzegorz Leoniec
8d92ba1e41
small locale menu improvements 2018-12-20 12:20:41 +01:00
Grzegorz Leoniec
d2461ce099
Merge branch 'i18n-pure' of github.com:appinteractive/hc-prototype-ui into i18n-pure 2018-12-20 11:22:53 +01:00
Grzegorz Leoniec
1230212ee8
moved locale topbar menu to the right 2018-12-20 11:22:08 +01:00
dependabot[bot]
63fefa6d2d
Merge pull request #91 from Human-Connection/dependabot/submodules/Nitro-Backend-f47b136 2018-12-20 04:25:14 +00:00
dependabot[bot]
d16f65a639
Bump Nitro-Backend from 618368c to f47b136
Bumps [Nitro-Backend](https://github.com/Human-Connection/Nitro-Backend) from `618368c` to `f47b136`.
- [Release notes](https://github.com/Human-Connection/Nitro-Backend/releases)
- [Commits](618368cefe...f47b136232)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-20 04:24:50 +00:00
Robert Schäfer
d55cb00375
Update cypress/integration/Internationalization.feature
Co-Authored-By: appinteractive <greg@app-interactive.de>
2018-12-19 21:19:05 +01:00
Grzegorz Leoniec
72c254fca3
Apply User Story Suggestion by roschaefer 2018-12-19 21:18:44 +01:00
Grzegorz Leoniec
553004835c
Cleanup of tests 2018-12-19 21:15:52 +01:00
Grzegorz Leoniec
91a3b02260
Fixed broken tests 2018-12-19 21:14:26 +01:00
Grzegorz Leoniec
d6968c99ba
Improved Dropdown component and fixed some js errors 2018-12-19 21:14:15 +01:00
Grzegorz Leoniec
c0a4dae3e5
fixed internationalization tests for new dropdown 2018-12-19 19:39:46 +01:00
Grzegorz Leoniec
0efe972b4e
Fixed typo 2018-12-19 19:38:09 +01:00
Robert Schäfer
b320ef30fc Fix lint 2018-12-19 18:12:10 +01:00
Robert Schäfer
16997ee63d Refactor login with confidence
This is why I ❤️ testing. First I wrote several tests to get
familiar with the existing code and specified everything that I believe to
be required. Then I refactor the entire method at once and the tests pass.

Note that I do **not** believe that setting the user data to `null` is
really relevant.
2018-12-19 18:04:25 +01:00
Robert Schäfer
f85081c308 Properly test the reject branch of login 2018-12-19 17:58:25 +01:00
Robert Schäfer
4236881218 Fix CodeFactor issues 2018-12-19 15:36:45 +01:00
Robert Schäfer
48467bc697 Fix lint 2018-12-19 15:24:58 +01:00
Robert Schäfer
b17686656b Test error path of #login procedure 2018-12-19 11:58:03 +01:00
Grzegorz Leoniec
f47b136232
Merge pull request #84 from Human-Connection/update_env_template
Fix 'audience must be a string or array'
2018-12-19 11:25:49 +01:00
Robert Schäfer
bf8f2f8877 Remove dead code 2018-12-19 11:11:12 +01:00
Robert Schäfer
d465db5906 Test store/auth#login 2018-12-19 11:11:12 +01:00
Robert Schäfer
01f5cfd481 Run yarn run lint --fix 2018-12-19 11:11:12 +01:00
Robert Schäfer
fec665eaf4 Implement+test auth.isAuthenticated() 2018-12-19 11:11:12 +01:00
Robert Schäfer
9eef9bc81c Fix 'audience must be a string or array'
I ran into this issue after setting up the installation locally.
2018-12-19 10:06:00 +01:00
Grzegorz Leoniec
27e30581c4
Created a menu for the LocaleSwitch 2018-12-19 09:52:44 +01:00