这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [4.4.0] - 2023-03-29

### Added

- Implemented `username/password` auth support with `Two-Factor Authentication` for simple users in a framework mode and corresponding logic to handle various `Reports` authorization flow-related specifics. Improved `Reports` login modal styling according to the actual theme. PR: [bfx-report-ui#622](https://github.com/bitfinexcom/bfx-report-ui/pull/622)
- Added ability to auto-start sync after the auto-update of the electron app. The idea is to have a configurable option (by default turned on) to force sync after the auto-update or DB migration due to changes in the DB schema, the aim is to bring data consistency after significant updates. PRs: [bfx-report-electron#190](https://github.com/bitfinexcom/bfx-report-electron/pull/190), [bfx-reports-framework#261](https://github.com/bitfinexcom/bfx-reports-framework/pull/261)
- Added `isAuthTokenGenerationError: true` flag into the `Unauthorized 401` response in cases when token is expired for better UX of 2FA. PRs: [bfx-report#285](https://github.com/bitfinexcom/bfx-report/pull/285), [bfx-reports-framework#262](https://github.com/bitfinexcom/bfx-reports-framework/pull/262)
- Added `login/verify` proxy endpoints to resolve the `CORS` issue for the BFX `username/password` auth for `/v2/login` and `/v2/login/verify` links. PRs: [bfx-reports-framework#263](https://github.com/bitfinexcom/bfx-reports-framework/pull/263), [bfx-report#286](https://github.com/bitfinexcom/bfx-report/pull/286)

### Changed

- Changed the `Sign Up` section title and button to `Add Account` for better clearance to the users of how auth flow works in the `Reports` app. Hid the `Remove Account` button in the `Preferences` menu during syncing to avoid causing related errors. Prevented the `Remember Me` from being prefilled by default. Updated passwords titles. PR: [bfx-report-ui#623](https://github.com/bitfinexcom/bfx-report-ui/pull/623)
- Fixed the `getUsers` endpoint response, `isRestrictedToBeAddedToSubAccount` flag doesn't show the correct state, it should be `true` in a case when the user signed in with the BFX auth token (using BFX username/password). PR: [bfx-reports-framework#260](https://github.com/bitfinexcom/bfx-reports-framework/pull/260)

## [4.3.1] - 2023-03-15

### Changed
Expand Down
2 changes: 1 addition & 1 deletion bfx-report-ui
Submodule bfx-report-ui updated 41 files
+1 −1 package.json
+20 −2 public/locales/en/translations.json
+8 −5 src/components/Auth/Auth.js
+29 −20 src/components/Auth/InputKey/InputKey.js
+34 −0 src/components/Auth/LoginEmail/LoginEmail.js
+1 −0 src/components/Auth/LoginEmail/index.js
+56 −0 src/components/Auth/LoginOtp/LoginOtp.js
+1 −0 src/components/Auth/LoginOtp/index.js
+16 −2 src/components/Auth/PasswordRecovery/PasswordRecovery.container.js
+150 −72 src/components/Auth/PasswordRecovery/PasswordRecovery.js
+0 −16 src/components/Auth/PasswordRecovery/PasswordRecovery.props.js
+18 −6 src/components/Auth/RegisterSubAccounts/RegisterSubAccounts.js
+14 −1 src/components/Auth/SignIn/SignIn.container.js
+147 −75 src/components/Auth/SignIn/SignIn.js
+18 −3 src/components/Auth/SignUp/SignUp.container.js
+185 −102 src/components/Auth/SignUp/SignUp.js
+15 −15 src/components/Auth/_Auth.scss
+2 −1 src/components/Header/AccountMenu/AccountMenu.container.js
+6 −2 src/components/Header/AccountMenu/AccountMenu.js
+2 −1 src/components/Header/TopNavigation/TopNavigation.container.js
+9 −6 src/components/Header/TopNavigation/TopNavigation.js
+2 −1 src/components/Main/Main.container.js
+6 −1 src/components/Main/Main.js
+2 −0 src/components/Preferences/Preferences.container.js
+66 −57 src/components/Preferences/Preferences.js
+6 −1 src/components/SubAccounts/SubAccount/SubAccount.js
+1 −1 src/config.js
+63 −0 src/state/auth/actions.js
+9 −0 src/state/auth/constants.js
+22 −3 src/state/auth/reducer.js
+173 −8 src/state/auth/saga.js
+13 −0 src/state/auth/selectors.js
+8 −0 src/state/utils.js
+1 −0 src/state/ws/constants.js
+6 −0 src/state/ws/saga.js
+1 −1 src/styles/button.scss
+4 −4 src/styles/index.scss
+4 −3 src/styles/modals.scss
+1 −1 src/ui/DateInput/_DateInput.scss
+2 −1 src/ui/Select/Select.js
+1 −1 src/ui/Select/_Select.scss
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bfx-report-electron",
"version": "4.3.1",
"version": "4.4.0",
"repository": "https://github.com/bitfinexcom/bfx-report-electron",
"description": "Reporting tool",
"author": "bitfinex.com",
Expand Down