Commit Graph

64 Commits

Author SHA1 Message Date
ErickSkrauch
9a9bd74763 Implemented loading of custom flags for languages, not associated with concrete country.
Implemented "unknown" language flag to prevent errors for new languages when flag can't be associated automatically
2020-07-19 23:52:02 +03:00
ErickSkrauch
af9bdcb20e Implemented source code popup markup 2020-07-12 01:57:40 +03:00
ErickSkrauch
70070ef516 Prepare footer for new item 2020-07-09 02:50:40 +03:00
ErickSkrauch
82abe0a746
Extract general popups markup to its own component
Split popups controllers into separate components
Implemented storybooks for all project's popups
2020-07-06 19:29:56 +03:00
ErickSkrauch
28ccab8a98 Fix Czech language 2020-06-15 01:04:41 +03:00
ErickSkrauch
cd6c5fce4c
Allow the application to work without en.json file in dev environment 2020-06-09 21:02:03 +03:00
ErickSkrauch
02e767b57c
Simplify locales preloading 2020-06-09 21:01:54 +03:00
ErickSkrauch
243510a671
Remove defaultMessages from the production build.
Don't run the application before active locale will be loaded
2020-06-05 18:34:59 +03:00
ErickSkrauch
e962a01a4a
Fix tests 2020-06-04 21:03:24 +03:00
ErickSkrauch
f2b4ee1b4d
Remove all locales from the repository 2020-06-04 20:10:39 +03:00
ErickSkrauch
747e21f0ae
Fix linting errors 2020-06-04 19:54:33 +03:00
ErickSkrauch
bf6a76d006
Remove all *.intl.json files. Move strings to the corresponding views. Implement custom command to build i18n/en.json file 2020-06-04 19:43:08 +03:00
ErickSkrauch
e47eaf720f
Reimplement the pull command of the crowdin script 2020-05-26 19:22:21 +03:00
ErickSkrauch
f85b9d8d35 Change prettier rules 2020-05-24 02:08:24 +03:00
SleepWalker
0192f53932 Fix linting errors 2020-05-21 21:52:58 +03:00
SleepWalker
a5404002fd Bump deps 2020-05-21 21:52:58 +03:00
SleepWalker
97d2841eda Add @testing-library/cypress 2020-05-21 21:52:58 +03:00
SleepWalker
e1f15b5d22 Fix all tests and replace enzyme with @testing-library/react 2020-05-21 21:52:58 +03:00
SleepWalker
8eac2b97b5 Upgrade react-intl and friends to the most recent version 2020-05-20 20:16:43 +03:00
SleepWalker
29326519b8 Upgrade ts to the latest version and fix type errors 2020-05-20 20:02:24 +03:00
SleepWalker
2d903f96fc Upgrade prettier before it will be removed forever 2020-05-20 20:02:22 +03:00
SleepWalker
39576c0480 Bump deps and fix webpack dev mode 2020-05-20 20:01:35 +03:00
ErickSkrauch
96049ad4ad Implemented strict mode for the project (broken tests, hundreds of @ts-ignore and new errors are included) [skip ci] 2020-05-20 19:59:43 +03:00
ErickSkrauch
10e8b77acf Reimplement scripts with TS 2020-05-20 19:59:43 +03:00
SleepWalker
d98dee018a Fix issue with Intl polyfill and RegExp caching 2020-01-20 12:47:28 +02:00
SleepWalker
3608a53a95 Integrate storybook-addon-intl 2020-01-20 12:46:59 +02:00
Sviatoslav
dfa8c6df5f Fix sb build (closes #18) (#19)
* Fix storybook build command

* Bump deps

* Add storybook build step

* Perform storybook build quiet

Co-authored-by: ErickSkrauch <erickskrauch@ely.by>
2020-01-16 18:33:05 +03:00
ErickSkrauch
228bc048af
Add typings for Box and BoxesField classes, split BSoD view into controller and pure view, add storybook, fix support link styles 2020-01-15 23:39:53 +03:00
ErickSkrauch
32ebba63a1
Add global app styles to the StoryBook, fix casing for UI stories 2020-01-15 22:22:35 +03:00
ErickSkrauch
503687c50a
Rework FooterMenu, add vertical padding and let links break on multiple lines. Add a story for the FooterMenu 2020-01-15 22:14:35 +03:00
ErickSkrauch
0281c55463
Replace TravisCI with GitLab CI (#16)
* Add gitlab-ci configuration

* Attempt to fix cypress binary installation cache

* Even more improve caching, add wait-on step to ensure, that web server is ready to run cypress

* Exclude cache directory from linting

* Do not cache yarn's global cache to reduce the size of the cache to upload

* Disable Sentry for e2e tests, enable parallelization for cypress

* Store build artifacts

* Add dev deployment stage

* Try to fix commits association

* Fix sentry-cli param name

* Disable host checking for rsync

* Disable host checking via ssh config

* Add production deployment step

* Fix deployment Sentry notifying, allow performing auto deployment with special commit message

* Make autodeploy [deploy]

* Cleanup test branch refs

* Remove environment definition. Detect it based on the domain name

* Store cache for E2E tests separately
2020-01-15 17:57:27 +03:00
ErickSkrauch
7dc22019a5
Fix typo in sentry dsn naming 2020-01-14 15:29:59 +03:00
SleepWalker
925a3a868e Some more minor fixes 2019-12-30 10:57:52 +02:00
SleepWalker
03e26209f4 Add some split points for routes 2019-12-30 10:33:18 +02:00
SleepWalker
b3f1268950 Replace react-helmet with react-helmet-async 2019-12-30 09:52:22 +02:00
SleepWalker
884c77141a Bump deps 2019-12-30 09:52:21 +02:00
SleepWalker
5ca4c323c7 Fix the rest of the tests 2019-12-29 18:38:35 +02:00
SleepWalker
f8ae8282ed Improve dev/applications e2e coverage 2019-12-29 16:44:07 +02:00
SleepWalker
f8670db315 E2e tests for mfa. Fix a bug that made mfa impossible to disable 2019-12-29 16:20:08 +02:00
SleepWalker
8af40aed47 Cover change email with e2e tests and fix bugs 2019-12-29 15:26:07 +02:00
SleepWalker
f284664818 Cover change username page with e2e tests and fix minor bugs 2019-12-29 14:00:40 +02:00
SleepWalker
b2c072e5e1 Fix locale switcher and cover it with e2e 2019-12-28 13:13:11 +02:00
SleepWalker
5d411fd6ca Add e2e tests for contact form 2019-12-28 12:16:20 +02:00
SleepWalker
951f538ee5 Add more auth/oauth/multi-acc related test cases 2019-12-28 12:16:20 +02:00
SleepWalker
0325f0aac4 Cover forgot password with e2e tests 2019-12-27 22:40:26 +02:00
SleepWalker
c8b0168c69 Cover register and activation with e2e tests 2019-12-27 22:00:13 +02:00
SleepWalker
f6f0aedc65 Fix signin and add more signin e2e tests cases 2019-12-27 21:01:59 +02:00
SleepWalker
d9fc503f9e Cover oauth with e2e tests and fix some old and newly introduced bugs 2019-12-26 14:33:44 +02:00
SleepWalker
8e95fd835e Merge remote-tracking branch 'origin/master' into deps-updates 2019-12-25 13:33:42 +02:00
SleepWalker
6373e95e5c Fix local flag icon url 2019-12-25 13:30:47 +02:00