Commit Graph

48 Commits

Author SHA1 Message Date
ErickSkrauch
cf5973c876
Fix unit tests 2024-12-23 14:53:49 +01:00
ErickSkrauch
a6932255b0
Some tests progress [skip ci] 2024-12-23 12:33:41 +01:00
ErickSkrauch
be08857edc
Add E2E tests for device code grant flow.
Handle more errors for device code.
Dispatch a BSOD for an any unhandled exception from auth flow state
2024-12-18 01:02:02 +01:00
ErickSkrauch
b0975f0b0f
Fix E2E tests, related to the OAuth flow 2024-12-17 21:49:05 +01:00
ErickSkrauch
af59cc033f
Extract device code into a separate view.
Convert more components from class components to functional.
Fix invalid finish state when client was auto approved
2024-12-14 13:16:29 +01:00
ErickSkrauch
3f0565e26b
Initial device code flow implementation 2024-12-10 20:42:06 +01:00
ErickSkrauch
ba2876e534
Improve typings for AuthFlow and mark some future TODOs 2024-08-28 13:07:23 +02:00
ErickSkrauch
12f5e711c4
Fix type and lint errors after upgrading corresponding dependencies 2021-07-13 22:40:31 +02:00
SleepWalker
b1774d8354 Allow escape from activation step back to login page 2021-03-28 17:50:32 +02:00
ErickSkrauch
4379444abe
Add Udmurt language, replace locales override implementation 2021-03-27 03:57:26 +01:00
ErickSkrauch
18a8037a0d Implemented visual indication for deleted accounts [deploy dev] 2020-10-27 01:46:57 +03:00
ErickSkrauch
8075192472 Split the AccountSwitcher component on 2 independent implementations
Improve auth's ChooseAccount visual behavior
Rework the ComponentLoader component. Make it more stylable
2020-10-26 22:09:01 +03:00
SleepWalker
831ab42155 fix: correct logic for handling deleted users during oauth (#27) 2020-10-11 21:30:50 +03:00
ErickSkrauch
00e74b1faf Add additional E2E tests cases for user agreement auth state and ensure, that oauth flow works correctly with deleted accounts 2020-08-01 22:19:00 +03:00
ErickSkrauch
60e892d993
Allow account deletion from the user agreement page 2020-08-01 01:49:30 +03:00
ErickSkrauch
3cff6ad26c
Cover delete/restore account forms with E2E tests 2020-08-01 01:49:30 +03:00
ErickSkrauch
c0b3e328b6
Implemented handlers to delete/restore account. Implemented "account deleted" page 2020-08-01 01:49:29 +03:00
kotwys
208817f69e
Implemented ability to override definitions from @formatjs. Added fixed definitions for Esperanto (#26)
* Introduce locale searching

Some locales may be absent or incorrect in default packages so these
should be obtained from other places instead.

* Add fixed Esperanto locale

* Update Esperanto locales

* Redo locale substitution

This reverts commit f2e1047fd8.

* Include locales in the repository

* Add newline character at the end
2020-07-24 18:24:55 +03:00
ErickSkrauch
5a9c54002d
Centralize all redux types into one place, add overrides for the connect, useSelector and useDispatch functions 2020-07-22 13:01:12 +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
cd6c5fce4c
Allow the application to work without en.json file in dev environment 2020-06-09 21:02:03 +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
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
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
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
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
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
5ca4c323c7 Fix the rest of the tests 2019-12-29 18:38:35 +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
c8b0168c69 Cover register and activation with e2e tests 2019-12-27 22:00:13 +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
8db75ac8c8 Fix babel warnings about ts types re-export 2019-12-25 12:54:05 +02:00
SleepWalker
d13dee748d Merge remote-tracking branch 'origin/master' into deps-updates 2019-12-12 09:32:06 +02:00
SleepWalker
76679f03a6 Remove old unused env variables 2019-12-09 09:47:24 +02:00
SleepWalker
128f327ec4 Move App into shell dir. Decouple ContextProviders. Improved type coverage for reducers 2019-12-09 09:07:07 +02:00
SleepWalker
f9d3bb4e20 Create app namespace for all absolute requires of app modules. Move all packages under packages yarn workspace 2019-12-07 21:06:42 +02:00