335 Commits

Author SHA1 Message Date
Grzegorz Leoniec
5f8d94e13e
WIP - Added first report dropdown to PostCard component. 2018-12-29 15:51:26 +01:00
Grzegorz Leoniec
313538bd0c
Merge pull request #103 from Human-Connection/dependabot/npm_and_yarn/eslint-5.11.0
Bump eslint from 5.10.0 to 5.11.0
2018-12-24 16:47:16 +01:00
Grzegorz Leoniec
241a14f09c
Merge pull request #100 from Human-Connection/refactor_login_method_and_setup_unit_tests
Refactor login method and setup unit tests
2018-12-24 16:46:09 +01:00
Grzegorz Leoniec
8b40bae372
Merge branch 'master' into refactor_login_method_and_setup_unit_tests 2018-12-24 16:17:54 +01:00
Grzegorz Leoniec
cb256bdf49
Merge pull request #104 from Human-Connection/imgbot
[ImgBot] Optimize images
2018-12-24 16:04:43 +01:00
ImgBotApp
433d698419
[ImgBot] Optimize images
/static/img/sign-up/humanconnection.png -- 220.04kb -> 129.61kb (41.1%)
2018-12-24 14:33:15 +00:00
Robert Schäfer
eaddac15cc
Merge branch 'master' into dependabot/npm_and_yarn/eslint-5.11.0 2018-12-24 15:30:45 +01:00
Robert Schäfer
70739faef4
Merge pull request #99 from Human-Connection/i18n-pure
Integrate i18n
2018-12-24 15:30:29 +01:00
dependabot[bot]
9d79612cdf
Bump eslint from 5.10.0 to 5.11.0
Bumps [eslint](https://github.com/eslint/eslint) from 5.10.0 to 5.11.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.10.0...v5.11.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-24 04:49:51 +00: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
Grzegorz Leoniec
5f244eba1a
Added test for italiano 2018-12-20 20:41:32 +01:00
Grzegorz Leoniec
3626fb2fa0
Improved internationalization test 2018-12-20 20:09:13 +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
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
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
Grzegorz Leoniec
27e30581c4
Created a menu for the LocaleSwitch 2018-12-19 09:52:44 +01:00
Grzegorz Leoniec
961f317473
Only import isEmpty 2018-12-18 18:38:02 +01:00
Grzegorz Leoniec
e49534cdf6
Created dropdown component 2018-12-18 18:37:45 +01:00
Grzegorz Leoniec
d804b47736
fixed integration test for defailt english locale 2018-12-18 16:10:45 +01:00
Grzegorz Leoniec
5d8cd73e30
Added very simple locale switch test 2018-12-18 16:07:41 +01:00
Grzegorz Leoniec
8599612499
use locale env var for loading locale files 2018-12-18 15:25:36 +01:00
Grzegorz Leoniec
8f44685ca7
updated translations 2018-12-18 15:25:08 +01:00