-
Notifications
You must be signed in to change notification settings - Fork 12
Comparing changes
Open a pull request
base repository: cozy/cozy-libs
base: cozy-device-helper@2.5.0
head repository: cozy/cozy-libs
compare: cozy-device-helper@2.6.0
Commits on Oct 3, 2022
-
fix: Expose sendNotification from cozy-client realtime plugin
It is especially needed in harvest to send notification from harvest to the banks application to know when a job is waited for. And since the realtime plugin is supposed to expose the same api as CozyRealtime
Configuration menu - View commit details
-
Copy full SHA for 82500b4 - Browse repository at this point
Copy the full SHA 82500b4View commit details -
- cozy-harvest-lib@9.26.17 - cozy-mespapiers-lib@8.0.3 - cozy-realtime@4.2.8 - cozy-playgrounds@1.21.13
Cozy Bot committedOct 3, 2022 Configuration menu - View commit details
-
Copy full SHA for 134db82 - Browse repository at this point
Copy the full SHA 134db82View commit details
Commits on Oct 4, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b3ef6f2 - Browse repository at this point
Copy the full SHA b3ef6f2View commit details -
- cozy-harvest-lib@9.26.18 - cozy-intent@2.6.0 - cozy-mespapiers-lib@8.0.4
Cozy Bot committedOct 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 0da3638 - Browse repository at this point
Copy the full SHA 0da3638View commit details -
fix: Wording of driver_license suggestion
And add stranger driver license to suggestion list
Configuration menu - View commit details
-
Copy full SHA for e77afb5 - Browse repository at this point
Copy the full SHA e77afb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 243049b - Browse repository at this point
Copy the full SHA 243049bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73c1137 - Browse repository at this point
Copy the full SHA 73c1137View commit details -
Configuration menu - View commit details
-
Copy full SHA for e4e9fb1 - Browse repository at this point
Copy the full SHA e4e9fb1View commit details -
feat: Allow to pass custom Properties to OAuthForm wrapper
via OAuthFormWrapperCompProps and without unmounting/remounting OauthForm on each rerender This avoids the disparition of the BI webview in banks when a new job is expected
Configuration menu - View commit details
-
Copy full SHA for c2461a3 - Browse repository at this point
Copy the full SHA c2461a3View commit details -
- cozy-harvest-lib@9.27.0 - cozy-mespapiers-lib@8.0.6
Cozy Bot committedOct 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 72899c2 - Browse repository at this point
Copy the full SHA 72899c2View commit details
Commits on Oct 11, 2022
-
fix: This.input is not defined
Since a few versions, Cozy-UI's input has been converted to function with a forwardRef. It results that the ref callback can be called after the didMount() method so calling focus() on it crash the app. Since cozy-auth is only on "maintenance" mode, I just remove this focus stuff since almost all webviews will focus on the input if there is only one displayed.
Configuration menu - View commit details
-
Copy full SHA for 1ba6a4d - Browse repository at this point
Copy the full SHA 1ba6a4dView commit details -
- cozy-authentication@2.10.10 - cozy-playgrounds@1.21.14
Cozy Bot committedOct 11, 2022 Configuration menu - View commit details
-
Copy full SHA for 5339839 - Browse repository at this point
Copy the full SHA 5339839View commit details -
fix: Add explicit blocked popup message
When an OAuth popup was blocked, we got "null is not an object" error in console. Now we will get "Popup was blocked by browser. Be sure to not call showPopup asynchronously" which may be more explicit
Configuration menu - View commit details
-
Copy full SHA for 5e6f93c - Browse repository at this point
Copy the full SHA 5e6f93cView commit details -
- cozy-harvest-lib@9.27.1 - cozy-mespapiers-lib@8.0.7
Cozy Bot committedOct 11, 2022 Configuration menu - View commit details
-
Copy full SHA for 71bb9b7 - Browse repository at this point
Copy the full SHA 71bb9b7View commit details
Commits on Oct 12, 2022
-
fix(mespapiers): Redirections to homepage
When upgrading the router, we changed the redirects on the homepage from `/paper` to `/`, for no special reason. But as a result, it was the redirection route on the application side that was triggered, and that caused a dismount/remount of the lib.
Configuration menu - View commit details
-
Copy full SHA for 84ac23a - Browse repository at this point
Copy the full SHA 84ac23aView commit details -
fix(mespapiers): Default route for the lib
BREAKING CHANGE: Since the router update, applications were no longer forced to use the `/paper` route to consume lib. This change was not intended. With this fix we get back the old expected behavior. Unlike adding the `/*` like this `/paper/*` required with the new router. ``` <Route path="/paper/*" element={<PaperView />} /> ```
Configuration menu - View commit details
-
Copy full SHA for 2f4fdfc - Browse repository at this point
Copy the full SHA 2f4fdfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5ba33e - Browse repository at this point
Copy the full SHA d5ba33eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0dc5f8 - Browse repository at this point
Copy the full SHA a0dc5f8View commit details
Commits on Oct 19, 2022
-
fix: Reapply useVaultClient hook call in LegacyTriggerManager
Configuration menu - View commit details
-
Copy full SHA for bbfb20b - Browse repository at this point
Copy the full SHA bbfb20bView commit details -
- cozy-harvest-lib@9.27.2 - cozy-mespapiers-lib@9.0.1
Cozy Bot committedOct 19, 2022 Configuration menu - View commit details
-
Copy full SHA for 4709feb - Browse repository at this point
Copy the full SHA 4709febView commit details
Commits on Oct 24, 2022
-
refactor: Turn OAuthForm into a functional component
Use the same component life cycle as its wrapper component when composing with `withConnectionFlow()` and allow usage of hooks such as `useFlowState()`.
Configuration menu - View commit details
-
Copy full SHA for de276b3 - Browse repository at this point
Copy the full SHA de276b3View commit details -
refactor: Move trigger error card into KonnectorAccountTabs
No need to duplicate the error management logic in both tabs.
Configuration menu - View commit details
-
Copy full SHA for 6f2c143 - Browse repository at this point
Copy the full SHA 6f2c143View commit details -
refactor: Extract fetchExtraOAuthParams effect
`OAuthForm` requires to fetch extra OAuth parameters to display the `OAuthWindow` and this was done in a `useEffect` call. However, we want to be able to display this window from other components so, instead of duplicating the fetch logic, we create a new `useOAuthExtraParams` hook that will be called in every component that needs it. This means that the part of the `OAuthForm`'s `useEffect` call that was triggering the OAuthWindow display will now be dependent on the existence of the required extra parameters.
Configuration menu - View commit details
-
Copy full SHA for 2e03cdb - Browse repository at this point
Copy the full SHA 2e03cdbView commit details -
refactor: ConnectionFlow requires a konnector
In some places we can see that we expect an instantiated `ConnectionFlow` to have a `konnector` attribute which comes in most cases from a constructor argument. Since we'll be relying even more on the presence of that `konnector`, we make sure that all tests instantiating a `ConnectionFlow` do pass a `konnector` argument.
Configuration menu - View commit details
-
Copy full SHA for a326828 - Browse repository at this point
Copy the full SHA a326828View commit details -
feat: Reconnection with BI webviews & webhooks
When a banking connector fails with a LOGIN_ERROR status, we offer users to reconnect their connector via the BI webview. Once the user closes the webview, we trigger a connector launch to try the new credentials (we can still encounter an error) and fetch the new data. The user sees a synchronization is in progress within the connector's modal in Harvest. However, we want to use BI webhooks to receive data pushed from BI rather than pulling data when we trigger the connector and the current process cannot handle this because: - we won't trigger the connector ourselves (it will be triggered by a webhook call) so the user wouldn't see a synchronization is in progress - the user might not close the webview or the webhook call could be received before the webview is closed so we need to expect it ahead of time Since we don't have much control over the webview, we'll update the in-memory connection flow state to expect the connector trigger launch (via the BI webhook call). The update will be done once the user opens the webview by clicking the "Reconnect" button displayed in the connector error card. From the user perspective, this trigger launch expectation will be seen as a synchronization in progress. Once the connector trigger is launched, we'll remove this in-memory state and start watching for changes on the connector job.
Configuration menu - View commit details
-
Copy full SHA for 591047b - Browse repository at this point
Copy the full SHA 591047bView commit details -
feat: Send realtime notifications when expecting a trigger
This will allow the banks application to display an import in progress when needed
Configuration menu - View commit details
-
Copy full SHA for b76da3d - Browse repository at this point
Copy the full SHA b76da3dView commit details -
fix: Add useEffect dependencies to useOAuthExtraParams hook
To avoid to a request to token cache on every render
Configuration menu - View commit details
-
Copy full SHA for fb046e4 - Browse repository at this point
Copy the full SHA fb046e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ce5e78 - Browse repository at this point
Copy the full SHA 8ce5e78View commit details -
fix: Do not depend only on konnector.slug for useEffect dependencies
Used React.memo and use-deep-compare-effect for hooks to not have infinite rerenders. But the real cause for these rerenders comes from the home application which generates a new konnector object on each rerender.
Configuration menu - View commit details
-
Copy full SHA for 65869cf - Browse repository at this point
Copy the full SHA 65869cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for baf93d9 - Browse repository at this point
Copy the full SHA baf93d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for fad2994 - Browse repository at this point
Copy the full SHA fad2994View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4442fee - Browse repository at this point
Copy the full SHA 4442feeView commit details -
- cozy-harvest-lib@9.28.0 - cozy-mespapiers-lib@9.0.2
Cozy Bot committedOct 24, 2022 Configuration menu - View commit details
-
Copy full SHA for 9135075 - Browse repository at this point
Copy the full SHA 9135075View commit details
Commits on Oct 27, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ddcb104 - Browse repository at this point
Copy the full SHA ddcb104View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5856873 - Browse repository at this point
Copy the full SHA 5856873View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7022856 - Browse repository at this point
Copy the full SHA 7022856View commit details -
Configuration menu - View commit details
-
Copy full SHA for a105cd3 - Browse repository at this point
Copy the full SHA a105cd3View commit details
Commits on Oct 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 45d9e20 - Browse repository at this point
Copy the full SHA 45d9e20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66bd66a - Browse repository at this point
Copy the full SHA 66bd66aView commit details -
refactor: Allow to set cozy-realtime used by OAuth components
This will allow unit tests to trigger realtime events which will be detected by OAuthWindow and BIContractActivationWindow
Configuration menu - View commit details
-
Copy full SHA for 8293717 - Browse repository at this point
Copy the full SHA 8293717View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dab80f - Browse repository at this point
Copy the full SHA 9dab80fView commit details -
refactor: Object parameter for prepareOAuth
Better to have named parameters with this number of parameters, plus this gets more consistent with getOAuthUrl.
Configuration menu - View commit details
-
Copy full SHA for ef3a5a3 - Browse repository at this point
Copy the full SHA ef3a5a3View commit details -
refactor: Extract extractOAuthDataFromUrl in OAuthWindow
To have better ts type and less repetition of the same code
Configuration menu - View commit details
-
Copy full SHA for b9274d5 - Browse repository at this point
Copy the full SHA b9274d5View commit details -
- cozy-harvest-lib@9.29.0 - cozy-mespapiers-lib@9.0.4
Cozy Bot committedOct 28, 2022 Configuration menu - View commit details
-
Copy full SHA for eb41f00 - Browse repository at this point
Copy the full SHA eb41f00View commit details
Commits on Nov 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ed2f352 - Browse repository at this point
Copy the full SHA ed2f352View commit details -
- cozy-harvest-lib@9.29.1 - cozy-mespapiers-lib@9.0.5
Cozy Bot committedNov 3, 2022 Configuration menu - View commit details
-
Copy full SHA for 123696e - Browse repository at this point
Copy the full SHA 123696eView commit details
Commits on Nov 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e1ba03e - Browse repository at this point
Copy the full SHA e1ba03eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5770b83 - Browse repository at this point
Copy the full SHA 5770b83View commit details -
Configuration menu - View commit details
-
Copy full SHA for be3098e - Browse repository at this point
Copy the full SHA be3098eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 885bcaf - Browse repository at this point
Copy the full SHA 885bcafView commit details
There are no files selected for viewing