Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cozy/cozy-libs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: cozy-device-helper@2.2.1
Choose a base ref
...
head repository: cozy/cozy-libs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cozy-device-helper@2.2.2
Choose a head ref

Commits on Jun 24, 2022

  1. fix(mes-papiers): Fix typos in README.md

    This commit should be theorically in a docs scoped commit.
    Currently upgrading cozy-mespapiers-lib is required to validate
    Renovate behaviour in our application.
    trollepierre committed Jun 24, 2022
    Copy the full SHA
    8efe7c2 View commit details
  2. [skip ci] Publish

     - cozy-mespapiers-lib@0.34.16
    Cozy Bot committed Jun 24, 2022
    Copy the full SHA
    4c72421 View commit details

Commits on Jun 27, 2022

  1. Copy the full SHA
    b9653bf View commit details
  2. Copy the full SHA
    3a10868 View commit details

Commits on Jun 28, 2022

  1. Copy the full SHA
    d9f1689 View commit details
  2. [skip ci] Publish

     - cozy-harvest-lib@9.15.3
     - cozy-mespapiers-lib@0.34.17
    Cozy Bot committed Jun 28, 2022
    Copy the full SHA
    fb2e8f8 View commit details
  3. Copy the full SHA
    b942dce View commit details
  4. [skip ci] Publish

     - cozy-harvest-lib@9.15.4
     - cozy-mespapiers-lib@0.34.18
    Cozy Bot committed Jun 28, 2022
    Copy the full SHA
    f649e5e View commit details

Commits on Jun 30, 2022

  1. fix: Update translations

    Merkur39 committed Jun 30, 2022
    Copy the full SHA
    61b1809 View commit details
  2. feat: Update cozy-ui

    For use `paper` icon
    Merkur39 committed Jun 30, 2022
    Copy the full SHA
    d9c49fe View commit details
  3. feat: Add createPaper action

    Merkur39 committed Jun 30, 2022
    Copy the full SHA
    5442371 View commit details
  4. refactor: Don't use the contexts of the lib in actions

    Actions can be called outside the context of the lib (eg PaperFab)
    Merkur39 committed Jun 30, 2022
    Copy the full SHA
    8b78e03 View commit details
  5. feat: Update PaperFab

    PaperFab open an BottomDrawer with 2 choices:
    - Open creation of paper
    - Open multiselect for forward files
    Merkur39 committed Jun 30, 2022
    Copy the full SHA
    ecb11c5 View commit details
  6. Copy the full SHA
    ecd2a4b View commit details
  7. Copy the full SHA
    97751e9 View commit details
  8. Copy the full SHA
    bbc6769 View commit details
  9. Copy the full SHA
    f59606e View commit details
  10. feat: Remove Radio button

    Was used for paper selection
    Merkur39 committed Jun 30, 2022
    Copy the full SHA
    25531f9 View commit details
  11. refactor: Move handleClick function to child

    With the removal of the Radio button,
    it is no longer necessary to have this function in the parent
    Merkur39 committed Jun 30, 2022
    Copy the full SHA
    1f9586c View commit details
  12. feat: Add prop for manage the presence of Checkbox on PaperItem

    Cases where you want to see the Checkbox
    - In the list of papers in the selection mode
    
    Cases where you don't want to see the Checkbox
    - In the list of papers outside the selection mode
    - In the modal that lists the current selection (MultiselectContent)
    Merkur39 committed Jun 30, 2022
    Copy the full SHA
    9e02631 View commit details
  13. feat: Add MultiselectPaperList component

    Add a modal to navigate in the list of papers in the multiselect context
    Add & update translations
    Merkur39 committed Jun 30, 2022
    Copy the full SHA
    d4e3d72 View commit details
  14. Copy the full SHA
    ab0cadc View commit details
  15. Copy the full SHA
    511b4ef View commit details
  16. Copy the full SHA
    0e6baef View commit details
  17. Copy the full SHA
    c758d8f View commit details
  18. [skip ci] Publish

     - cozy-mespapiers-lib@0.35.0
    Cozy Bot committed Jun 30, 2022
    Copy the full SHA
    6b6d6c6 View commit details
  19. fix: Lint

    doubleface authored and doubleface committed Jun 30, 2022
    Copy the full SHA
    c47501c View commit details
  20. feat: Allow EditAccountModal to have intentsApi

    doubleface authored and doubleface committed Jun 30, 2022
    Copy the full SHA
    43c5910 View commit details
  21. feat: Now open the BI manage webview to the correct connection id

    BI now allow use to pass a `connection_id` query parameter to directly
    open the webview to the management of the given connection id.
    doubleface authored and doubleface committed Jun 30, 2022
    Copy the full SHA
    2f3da74 View commit details
  22. [skip ci] Publish

     - cozy-harvest-lib@9.16.0
     - cozy-mespapiers-lib@0.35.1
    Cozy Bot committed Jun 30, 2022
    Copy the full SHA
    4f6aefa View commit details

Commits on Jul 1, 2022

  1. feat: Do not show identifiers with bi Webviews

    doubleface authored and doubleface committed Jul 1, 2022
    Copy the full SHA
    58e1bb1 View commit details
  2. feat: All oauth methods to handle reconection case

    Now checkOAuthData and handleOAuthResponse can handle calls without any
    account id when in reconnection case.
    doubleface authored and doubleface committed Jul 1, 2022
    Copy the full SHA
    b1a6033 View commit details
  3. fix: Still run the connector after a full reconnect

    Now, after a full BI webview reconnect flow, the connector will be run
    to update it's trigger status
    doubleface authored and doubleface committed Jul 1, 2022
    Copy the full SHA
    07b0444 View commit details
  4. [skip ci] Publish

     - cozy-harvest-lib@9.17.0
     - cozy-mespapiers-lib@0.35.2
    Cozy Bot committed Jul 1, 2022
    Copy the full SHA
    1b2a6b8 View commit details
  5. Copy the full SHA
    8619f64 View commit details
  6. Copy the full SHA
    9cc6637 View commit details
  7. [skip ci] Publish

     - cozy-authentication@2.10.2
     - cozy-mespapiers-lib@0.35.3
     - cozy-playgrounds@1.20.2
    Cozy Bot committed Jul 1, 2022
    Copy the full SHA
    576330c View commit details
  8. feat: Handle user dismiss in Oauth window

    The dismiss or cancel action of the user in the oauth window generates
    an error message which was not handled by Harvest.
    
    Now, a dismiss action of the user causes the closing of the popup or
    InAppBrowser.
    
    This supposes that cozy/cozy-stack#3445 is
    merged in cozy-stack to not cause a redirect to the store application.
    doubleface authored and doubleface committed Jul 1, 2022
    Copy the full SHA
    a6dcba8 View commit details
  9. feat: Add error message display in OAuthForm component

    doubleface authored and doubleface committed Jul 1, 2022
    Copy the full SHA
    f29b3c4 View commit details
  10. [skip ci] Publish

     - cozy-harvest-lib@9.18.0
     - cozy-mespapiers-lib@0.35.4
    Cozy Bot committed Jul 1, 2022
    Copy the full SHA
    eaaf382 View commit details

Commits on Jul 4, 2022

  1. chore(translation): Apply translations in nl_NL

    translation completed for the source file
    '/packages/cozy-harvest-lib/src/locales/en.json'
    on the 'nl_NL' language.
    transifex-integration[bot] authored and trollepierre committed Jul 4, 2022
    Copy the full SHA
    29f1499 View commit details
  2. [skip ci] Publish

     - cozy-harvest-lib@9.18.1
     - cozy-mespapiers-lib@0.35.5
    Cozy Bot committed Jul 4, 2022
    Copy the full SHA
    55308db View commit details

Commits on Jul 5, 2022

  1. feat: Manage of the display of filters by theme

    In Multiselect mode, the theme filter should be hidden by default
    Merkur39 committed Jul 5, 2022
    Copy the full SHA
    67d8654 View commit details
  2. feat: Update cozy-ui

    In order to benefit from cozy/cozy-ui@af38d1d
    Merkur39 committed Jul 5, 2022
    Copy the full SHA
    ca59042 View commit details
  3. refactor: Remove useless style

    This style is fix here cozy/cozy-ui@af38d1d
    Merkur39 committed Jul 5, 2022
    Copy the full SHA
    ca0d946 View commit details
  4. feat: Update cozy-client to 32.2.0

    In order to benefit from the fixes of the store cozy/cozy-client#1175
    Merkur39 committed Jul 5, 2022
    Copy the full SHA
    52f37b0 View commit details
  5. Copy the full SHA
    2a0a65d View commit details
  6. [skip ci] Publish

     - cozy-mespapiers-lib@0.36.0
    Cozy Bot committed Jul 5, 2022
    Copy the full SHA
    8669ec7 View commit details
  7. Copy the full SHA
    0d9ff87 View commit details
  8. [skip ci] Publish

     - cozy-mespapiers-lib@0.36.1
    Cozy Bot committed Jul 5, 2022
    Copy the full SHA
    62adfeb View commit details
Showing with 6,039 additions and 3,805 deletions.
  1. +1 −1 .nvmrc
  2. +4 −1 .travis.yml
  3. +2 −2 package.json
  4. +11 −0 packages/babel-preset-cozy-app/CHANGELOG.md
  5. +1 −1 packages/babel-preset-cozy-app/index.js
  6. +1 −1 packages/babel-preset-cozy-app/package.json
  7. +8 −0 packages/commitlint-config-cozy/CHANGELOG.md
  8. +2 −2 packages/commitlint-config-cozy/package.json
  9. +11 −0 packages/cozy-app-publish/CHANGELOG.md
  10. +8 −6 packages/cozy-app-publish/README.md
  11. +1 −1 packages/cozy-app-publish/package.json
  12. +30 −0 packages/cozy-authentication/CHANGELOG.md
  13. +4 −4 packages/cozy-authentication/package.json
  14. +3 −2 packages/cozy-authentication/src/steps/SelectServer.jsx
  15. +21 −0 packages/cozy-codemods/CHANGELOG.md
  16. +2 −2 packages/cozy-codemods/package.json
  17. +9 −1 packages/cozy-codemods/src/imports.js
  18. +6 −0 packages/cozy-codemods/src/transforms/__testfixtures__/transform-input.input.js
  19. +6 −0 packages/cozy-codemods/src/transforms/__testfixtures__/transform-input.output.js
  20. +2 −0 packages/cozy-codemods/src/transforms/__tests__/transform-input.spec.js
  21. +14 −0 packages/cozy-codemods/src/transforms/transform-input.js
  22. +8 −0 packages/cozy-device-helper/CHANGELOG.md
  23. +2 −2 packages/cozy-device-helper/package.json
  24. +40 −0 packages/cozy-doctypes/CHANGELOG.md
  25. +3 −0 packages/cozy-doctypes/jest.config.js
  26. +5 −2 packages/cozy-doctypes/package.json
  27. +16 −0 packages/cozy-doctypes/src/banking/BankTransaction.js
  28. +26 −0 packages/cozy-doctypes/src/banking/BankTransaction.spec.js
  29. +11 −3 packages/cozy-doctypes/src/banking/matching-accounts.js
  30. +52 −0 packages/cozy-doctypes/src/banking/matching-accounts.spec.js
  31. +20 −0 packages/cozy-flags/CHANGELOG.md
  32. +3 −3 packages/cozy-flags/package.json
  33. +289 −0 packages/cozy-harvest-lib/CHANGELOG.md
  34. +11 −8 packages/cozy-harvest-lib/package.json
  35. +1 −1 packages/cozy-harvest-lib/src/components/AccountForm/AccountField.jsx
  36. +1 −11 packages/cozy-harvest-lib/src/components/AccountModal.jsx
  37. +2 −2 packages/cozy-harvest-lib/src/components/AccountSelectBox/CreateAccountButton.jsx
  38. +6 −2 packages/cozy-harvest-lib/src/components/EditAccountModal.jsx
  39. +72 −20 packages/cozy-harvest-lib/src/components/InAppBrowser.jsx
  40. +4 −4 ...st-lib/src/components/KonnectorConfiguration/ConfigurationTab/BIContractActivationWindow.spec.jsx
  41. +1 −1 ...harvest-lib/src/components/KonnectorConfiguration/ConfigurationTab/BiContractActivationWindow.jsx
  42. +11 −4 packages/cozy-harvest-lib/src/components/KonnectorConfiguration/ConfigurationTab/ContractItem.jsx
  43. +1 −2 ...-harvest-lib/src/components/KonnectorConfiguration/ConfigurationTab/ContractItemSecondaryText.jsx
  44. +3 −1 packages/cozy-harvest-lib/src/components/KonnectorConfiguration/ConfigurationTab/index.jsx
  45. +21 −8 packages/cozy-harvest-lib/src/components/KonnectorConfiguration/ConfigurationTab/index.spec.jsx
  46. +2 −2 packages/cozy-harvest-lib/src/components/KonnectorModal.jsx
  47. +1 −1 packages/cozy-harvest-lib/src/components/KonnectorModal.spec.jsx
  48. +35 −3 packages/cozy-harvest-lib/src/components/OAuthForm.jsx
  49. +11 −0 packages/cozy-harvest-lib/src/components/OAuthForm.spec.js
  50. +18 −3 packages/cozy-harvest-lib/src/components/OAuthWindow.jsx
  51. +0 −1 packages/cozy-harvest-lib/src/components/RedirectToAccountFormButton.jsx
  52. +1 −1 packages/cozy-harvest-lib/src/components/RedirectToAccountFormButton.spec.jsx
  53. +98 −74 packages/cozy-harvest-lib/src/components/Routes.jsx
  54. +5 −2 packages/cozy-harvest-lib/src/components/TriggerManager.jsx
  55. +19 −0 packages/cozy-harvest-lib/src/components/TriggerManager.spec.jsx
  56. +22 −0 packages/cozy-harvest-lib/src/components/__snapshots__/OAuthForm.spec.js.snap
  57. +15 −1 packages/cozy-harvest-lib/src/components/{ → infos}/KonnectorUpdateInfos.spec.jsx
  58. +7 −6 packages/cozy-harvest-lib/src/helpers/oauth.js
  59. +20 −9 packages/cozy-harvest-lib/src/helpers/oauth.spec.js
  60. +75 −0 packages/cozy-harvest-lib/src/helpers/useKonnectorWithTriggers.js
  61. +6 −12 packages/cozy-harvest-lib/src/jest.setup.js
  62. +15 −3 packages/cozy-harvest-lib/src/locales/en.json
  63. +15 −3 packages/cozy-harvest-lib/src/locales/fr.json
  64. +543 −0 packages/cozy-harvest-lib/src/locales/nl_NL.json
  65. +6 −4 packages/cozy-harvest-lib/src/models/ConnectionFlow.js
  66. +21 −0 packages/cozy-harvest-lib/src/models/ConnectionFlow.spec.js
  67. +179 −63 packages/cozy-harvest-lib/src/services/biWebView.js
  68. +115 −119 packages/cozy-harvest-lib/src/services/biWebView.spec.js
  69. +23 −0 packages/cozy-harvest-lib/src/types.js
  70. +17 −0 packages/cozy-harvest-lib/test/fixtures.js
  71. +25 −0 packages/cozy-intent/CHANGELOG.md
  72. +2 −2 packages/cozy-intent/package.json
  73. +6 −3 packages/cozy-intent/src/api/models/environments.spec.ts
  74. +1 −1 packages/cozy-intent/src/view/components/WebviewIntentProvider.tsx
  75. +8 −0 packages/cozy-interapp/CHANGELOG.md
  76. +2 −2 packages/cozy-interapp/package.json
  77. +497 −0 packages/cozy-mespapiers-lib/CHANGELOG.md
  78. +35 −39 packages/cozy-mespapiers-lib/README.md
  79. +5 −5 packages/cozy-mespapiers-lib/docs/papersDefinitions.md
  80. +12 −12 packages/cozy-mespapiers-lib/package.json
  81. +33 −0 packages/cozy-mespapiers-lib/src/components/Actions/Items/createPaper.js
  82. +6 −6 packages/cozy-mespapiers-lib/src/components/Actions/Items/select.js
  83. +9 −4 packages/cozy-mespapiers-lib/src/components/AppRouter.jsx
  84. +8 −5 packages/cozy-mespapiers-lib/src/components/AppRouter.spec.jsx
  85. +40 −11 packages/cozy-mespapiers-lib/src/components/Contexts/MultiSelectionProvider.jsx
  86. +244 −76 packages/cozy-mespapiers-lib/src/components/Contexts/MultiSelectionProvider.spec.jsx
  87. +15 −0 packages/cozy-mespapiers-lib/src/components/Contexts/OnboardingProvider.jsx
  88. +17 −28 packages/cozy-mespapiers-lib/src/components/Contexts/StepperDialogProvider.jsx
  89. +95 −27 packages/cozy-mespapiers-lib/src/components/Home/Home.jsx
  90. +155 −23 packages/cozy-mespapiers-lib/src/components/Home/Home.spec.jsx
  91. +5 −3 packages/cozy-mespapiers-lib/src/components/Home/helpers.js
  92. +6 −3 packages/cozy-mespapiers-lib/src/components/Home/helpers.spec.js
  93. +14 −0 packages/cozy-mespapiers-lib/src/components/Hooks/useOnboarding.jsx
  94. +20 −6 packages/cozy-mespapiers-lib/src/components/MesPapiersLib.jsx
  95. +18 −2 packages/cozy-mespapiers-lib/src/components/MesPapiersLib.test.jsx
  96. +3 −3 packages/cozy-mespapiers-lib/src/components/ModelSteps/widgets/InputTextAdapter.jsx
  97. +2 −1 packages/cozy-mespapiers-lib/src/components/MoreOptions/MoreOptions.jsx
  98. +11 −16 packages/cozy-mespapiers-lib/src/components/Multiselect/MultiselectContent.jsx
  99. +6 −8 packages/cozy-mespapiers-lib/src/components/Multiselect/MultiselectContent.spec.jsx
  100. +90 −0 packages/cozy-mespapiers-lib/src/components/Multiselect/MultiselectPaperList.jsx
  101. +15 −18 packages/cozy-mespapiers-lib/src/components/Multiselect/MultiselectView.jsx
  102. +26 −13 packages/cozy-mespapiers-lib/src/components/Multiselect/MultiselectViewActions.jsx
  103. +217 −0 packages/cozy-mespapiers-lib/src/components/Multiselect/MultiselectViewActions.spec.jsx
  104. +11 −3 packages/cozy-mespapiers-lib/src/components/OnboardedGuardedRoute.jsx
  105. +36 −23 packages/cozy-mespapiers-lib/src/components/OnboardedGuardedRoute.spec.jsx
  106. +11 −0 packages/cozy-mespapiers-lib/src/components/Onboarding/OnboardingWrapper.jsx
  107. +8 −2 packages/cozy-mespapiers-lib/src/components/Papers/PaperCardItem.jsx
  108. +15 −28 packages/cozy-mespapiers-lib/src/components/Papers/PaperGroup.jsx
  109. +70 −14 packages/cozy-mespapiers-lib/src/components/Papers/PaperItem.jsx
  110. +182 −0 packages/cozy-mespapiers-lib/src/components/Papers/PaperItem.spec.jsx
  111. +7 −22 packages/cozy-mespapiers-lib/src/components/Papers/PaperLine.jsx
  112. +5 −2 packages/cozy-mespapiers-lib/src/components/Papers/PapersList.jsx
  113. +1 −14 packages/cozy-mespapiers-lib/src/components/Papers/PapersListByContact.jsx
  114. +16 −22 packages/cozy-mespapiers-lib/src/components/Papers/PapersListWrapper.jsx
  115. +49 −15 packages/cozy-mespapiers-lib/src/components/Papers/helpers.js
  116. +78 −1 packages/cozy-mespapiers-lib/src/components/Papers/helpers.spec.js
  117. +6 −12 packages/cozy-mespapiers-lib/src/components/PapersFab/PapersFab.jsx
  118. +50 −0 packages/cozy-mespapiers-lib/src/components/PapersFab/PapersFabWrapper.jsx
  119. +47 −0 packages/cozy-mespapiers-lib/src/components/PapersFab/PapersFabWrapper.spec.jsx
  120. +1 −11 packages/cozy-mespapiers-lib/src/components/Placeholders/FeaturedPlaceholdersList.jsx
  121. +3 −0 packages/cozy-mespapiers-lib/src/components/Placeholders/FeaturedPlaceholdersList.spec.jsx
  122. +5 −0 ...es/cozy-mespapiers-lib/src/components/Placeholders/PlaceholderListModal/PlaceholdersList.spec.jsx
  123. +68 −24 packages/cozy-mespapiers-lib/src/components/SearchInput/SearchInput.jsx
  124. +82 −0 packages/cozy-mespapiers-lib/src/components/SearchResult/SearchResult.jsx
  125. +2 −9 packages/cozy-mespapiers-lib/src/components/StepperDialog/StepperDialogWrapper.jsx
  126. +5 −4 packages/cozy-mespapiers-lib/src/components/ThemesFilter/ThemesFilter.jsx
  127. +12 −16 packages/cozy-mespapiers-lib/src/components/Viewer/FileViewerWithQuery.jsx
  128. +12 −27 packages/cozy-mespapiers-lib/src/components/Viewer/FilesViewer.jsx
  129. +2 −3 packages/cozy-mespapiers-lib/src/components/Viewer/SelectFileButton.jsx
  130. +1 −1 packages/cozy-mespapiers-lib/src/helpers/buildFilename.js
  131. +20 −0 packages/cozy-mespapiers-lib/src/helpers/defaultComponent.js
  132. +1 −3 packages/cozy-mespapiers-lib/src/helpers/filterWithRemaining.js
  133. +1 −3 packages/cozy-mespapiers-lib/src/helpers/findPlaceholders.js
  134. +19 −10 packages/cozy-mespapiers-lib/src/helpers/queries.js
  135. +0 −1 packages/cozy-mespapiers-lib/src/index.js
  136. +16 −4 packages/cozy-mespapiers-lib/src/locales/en.json
  137. +17 −5 packages/cozy-mespapiers-lib/src/locales/fr.json
  138. +8 −8 packages/cozy-mespapiers-lib/src/utils/input.js
  139. +7 −7 packages/cozy-mespapiers-lib/src/utils/input.spec.js
  140. +24 −0 packages/cozy-procedures/CHANGELOG.md
  141. +2 −2 packages/cozy-procedures/package.json
  142. +1 −1 packages/cozy-procedures/src/components/documents/menuUpload/MenuUploadWeb.jsx
  143. +2 −2 packages/cozy-procedures/src/components/overview/DocumentsFullyCompleted.jsx
  144. +16 −0 packages/cozy-realtime/CHANGELOG.md
  145. +30 −14 packages/cozy-realtime/README.md
  146. +3 −3 packages/cozy-realtime/package.json
  147. +24 −0 packages/cozy-scanner/CHANGELOG.md
  148. +3 −3 packages/cozy-scanner/package.json
  149. +3 −3 packages/cozy-scanner/src/CategoryGridItem.jsx
  150. +3 −3 packages/cozy-scanner/src/CategoryGridItem.spec.jsx
  151. +4 −4 packages/cozy-scanner/src/DocumentCategory.jsx
  152. +1 −1 packages/cozy-scanner/src/DocumentQualification.spec.jsx
  153. +2 −2 packages/cozy-scanner/src/__snapshots__/DocumentCategory.spec.jsx.snap
  154. +22 −22 packages/cozy-scanner/src/__snapshots__/DocumentQualification.spec.jsx.snap
  155. +67 −0 packages/cozy-sharing/CHANGELOG.md
  156. +7 −5 packages/cozy-sharing/package.json
  157. +23 −14 packages/cozy-sharing/src/ShareModal.jsx
  158. +3 −3 packages/cozy-sharing/src/SharingBanner/components/PublicBanner.jsx
  159. +1 −1 packages/cozy-sharing/src/SharingBanner/components/PublicBanner.spec.jsx
  160. +1 −1 packages/cozy-sharing/src/SharingBanner/test/AppLike.jsx
  161. +1 −1 packages/cozy-sharing/src/components/ShareAutosuggest.spec.jsx
  162. +1 −1 packages/cozy-sharing/src/components/ShareByLink.jsx
  163. +1 −1 packages/cozy-sharing/src/components/ShareDialogCozyToCozy.jsx
  164. +1 −1 packages/cozy-sharing/src/components/ShareDialogTwoStepsConfirmationContainer.jsx
  165. +6 −3 packages/cozy-sharing/src/components/ShareModal.jsx
  166. +1 −1 packages/cozy-sharing/src/components/Sharetypeselect.jsx
  167. +1 −1 packages/cozy-sharing/test/AppLike.jsx
  168. +11 −0 packages/eslint-config-cozy-app/CHANGELOG.md
  169. +1 −1 packages/eslint-config-cozy-app/package.json
  170. +6 −0 packages/eslint-config-cozy-app/react.js
  171. +70 −0 packages/playgrounds/CHANGELOG.md
  172. +8 −8 packages/playgrounds/package.json
  173. +30 −0 packages/renovate-config-cozy/CHANGELOG.md
  174. +26 −4 packages/renovate-config-cozy/package.json
  175. +16 −0 packages/repo-doctor/CHANGELOG.md
  176. +1 −1 packages/repo-doctor/package.json
  177. +10 −3 packages/repo-doctor/src/reporters/mattermost.js
  178. +2 −2 packages/repo-doctor/src/reporters/mattermost.spec.js
  179. +1,057 −2,677 yarn.lock
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
12
16
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- '12'
- '16'
cache:
yarn: true
directories:
@@ -25,6 +25,9 @@ jobs:
include:
- name: 'Repo Doctor'
script: '[ $TRAVIS_EVENT_TYPE = "cron" ] && pushd ./packages/repo-doctor && yarn start:mattermost && popd || true'
- name: 'Tests'
script:
- ./scripts/travis.sh

env:
global:
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -17,15 +17,15 @@
"deploy:doc": "git-directory-deploy --directory docs/build/ --branch gh-pages",
"lint": "eslint --ext js,jsx,ts,tsx .",
"lint:md": "remark . -o",
"test": "lerna run --concurrency 1 test",
"test": "lerna run --concurrency 1 --ignore cozy-procedures test",
"build": "lerna run --scope cozy-device-helper build && lerna run --parallel --ignore cozy-device-helper build",
"watch:doc:react": "styleguidist server --config docs/styleguidist.config.js",
"check-constraints": "node scripts/check-packages-constraints.js"
},
"devDependencies": {
"@babel/cli": "7.16.8",
"@babel/core": "7.16.12",
"@babel/runtime": "7.18.3",
"@babel/runtime": "7.18.6",
"babel-loader": "8.2.3",
"babel-preset-cozy-app": "^1.5.0",
"css-loader": "2.1.1",
11 changes: 11 additions & 0 deletions packages/babel-preset-cozy-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2.0.3 (2022-08-01)


### Bug Fixes

* **node:** Upgrade to Node 16 ([3a82521](https://github.com/cozy/cozy-libs/commit/3a825217b4a55d6434b20660d73df44ab17e7bd0))





## 2.0.2 (2022-02-01)


2 changes: 1 addition & 1 deletion packages/babel-preset-cozy-app/index.js
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ const presetEnvBrowserOptions = {

const presetEnvNodeOptions = {
targets: {
node: 12
node: 16
},
// don't transform polyfills
useBuiltIns: false
2 changes: 1 addition & 1 deletion packages/babel-preset-cozy-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "babel-preset-cozy-app",
"version": "2.0.2",
"version": "2.0.3",
"description": "Babel preset for Cozy Application (Cozy Cloud)",
"author": "CPatchane <code@patchane.com>",
"repository": {
8 changes: 8 additions & 0 deletions packages/commitlint-config-cozy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 0.7.8 (2022-08-01)

**Note:** Version bump only for package commitlint-config-cozy





## 0.7.7 (2022-05-13)


4 changes: 2 additions & 2 deletions packages/commitlint-config-cozy/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "commitlint-config-cozy",
"version": "0.7.7",
"version": "0.7.8",
"description": "Shareable commitlint config enforcing the cozy commit convention",
"main": "index.js",
"author": "Cozy",
@@ -20,7 +20,7 @@
"@babel/core": "7.16.12",
"@commitlint/lint": "16.2.4",
"babel-jest": "26.6.3",
"babel-preset-cozy-app": "^2.0.2",
"babel-preset-cozy-app": "^2.0.3",
"jest": "26.6.3"
},
"dependencies": {
11 changes: 11 additions & 0 deletions packages/cozy-app-publish/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# 0.31.0 (2022-07-05)


### Features

* All oauth methods to handle reconection case ([b1a6033](https://github.com/cozy/cozy-libs/commit/b1a6033b393b1732d985807328ea83e1c87e5373))





## [0.30.4](https://github.com/cozy/cozy-libs/compare/cozy-app-publish@0.30.3...cozy-app-publish@0.30.4) (2022-06-14)

**Note:** Version bump only for package cozy-app-publish
14 changes: 8 additions & 6 deletions packages/cozy-app-publish/README.md
Original file line number Diff line number Diff line change
@@ -213,17 +213,19 @@ We apply the semver convention:
### Hot Fix

If you need to quickly fix a bug in production, then you have to:
- fetch the latest branch release

- fetch the latest branch release
- create a new release branch from there (since this is a bug fix, this is a patch version)
- fix the bug
- fix the bug
- Make a beta
- Publish
- Merge it on master

Exemple: You have to hot fix Drive. The current `stable` version of Drive is : 1.45.0. Master is on 1.47.0.
- Then you need to fetch release/1.45.0
Exemple: You have to hot fix Drive. The current `stable` version of Drive is : 1.45.0. Master is on 1.47.0.

- Then you need to fetch release/1.45.0
- Create a branch from this release: git checkout -b release/1.45.1
- git commit -m "fix: Bug fix.."
- git push
- git tag
...
- git tag
...
2 changes: 1 addition & 1 deletion packages/cozy-app-publish/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cozy-app-publish",
"version": "0.30.4",
"version": "0.31.0",
"main": "src/index.js",
"author": "Cozy",
"license": "MIT",
30 changes: 30 additions & 0 deletions packages/cozy-authentication/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,36 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2.10.4 (2022-08-01)

**Note:** Version bump only for package cozy-authentication





## [2.10.3](https://github.com/cozy/cozy-libs/compare/cozy-authentication@2.10.2...cozy-authentication@2.10.3) (2022-07-05)


### Bug Fixes

* Lint issue ([8523d7a](https://github.com/cozy/cozy-libs/commit/8523d7accbe7ee83b6a2fe7abf4cc629fcd76e61))





## [2.10.2](https://github.com/cozy/cozy-libs/compare/cozy-authentication@2.10.1...cozy-authentication@2.10.2) (2022-07-01)


### Bug Fixes

* **deps:** update dependency parcel to v1.12.4 ([9cc6637](https://github.com/cozy/cozy-libs/commit/9cc66373943b0383110cf0bd13173343c34d926b))





## 2.10.1 (2022-06-24)

**Note:** Version bump only for package cozy-authentication
8 changes: 4 additions & 4 deletions packages/cozy-authentication/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cozy-authentication",
"version": "2.10.1",
"version": "2.10.4",
"description": "Component providing login to a Cozy",
"main": "dist/index.js",
"files": [
@@ -21,7 +21,7 @@
"devDependencies": {
"@babel/cli": "7.16.8",
"@babel/polyfill": "7.12.1",
"babel-preset-cozy-app": "^2.0.2",
"babel-preset-cozy-app": "^2.0.3",
"cozy-client": "13.21.0",
"cozy-ui": "40.9.1",
"cssnano-preset-advanced": "4.0.8",
@@ -31,14 +31,14 @@
"eslint-cli": "1.1.1",
"foreman": "3.0.1",
"jest": "26.6.3",
"parcel": "1.12.3",
"parcel": "1.12.4",
"postcss-merge-rules": "4.0.3",
"react": "16.12.0",
"react-dom": "16.13.0",
"react-router": "6.3.0"
},
"dependencies": {
"cozy-device-helper": "^2.2.1",
"cozy-device-helper": "^2.2.2",
"localforage": "1.7.3",
"prop-types": "15.7.2",
"snarkdown": "1.2.2",
5 changes: 3 additions & 2 deletions packages/cozy-authentication/src/steps/SelectServer.jsx
Original file line number Diff line number Diff line change
@@ -68,7 +68,7 @@ export class SelectServer extends Component {

this.input.focus()
}

// eslint-disable-next-line
componentWillReceiveProps(nextProps) {
const error =
nextProps.externalError &&
@@ -130,6 +130,7 @@ export class SelectServer extends Component {
const url = this.getUrl(value)
if (
url === '' ||
// eslint-disable-next-line
(/^http:/.test(url) && typeof __ALLOW_HTTP__ === undefined)
) {
error = ERR_WRONG_ADDRESS
@@ -349,7 +350,7 @@ export class SelectServer extends Component {
label={t('mobile.onboarding.welcome.no_account_link')}
size={isTiny ? 'normal' : 'large'}
subtle={true}
type={'button'}
type="button"
theme="text"
onboarding={onboarding}
/>
21 changes: 21 additions & 0 deletions packages/cozy-codemods/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,27 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.17.1 (2022-08-01)

**Note:** Version bump only for package @cozy/codemods





# 1.17.0 (2022-07-11)


### Features

* **cozy-codemods:** Add codemods for Input ([39292fc](https://github.com/cozy/cozy-libs/commit/39292fc47ecc1703f74a0f517b075f623a280446))
* **cozy-codemods:** Add helper for rename attribute ([c2e75b7](https://github.com/cozy/cozy-libs/commit/c2e75b7981315b665e4767477a9c60c97abd6b0e))
* Update @babel/runtime to 7.18.6 ([154dcc5](https://github.com/cozy/cozy-libs/commit/154dcc5ad98e26791b5004e585199b3a737d6cf7)), closes [#1631](https://github.com/cozy/cozy-libs/issues/1631)





## [1.16.5](https://github.com/cozy/cozy-libs/compare/@cozy/codemods@1.16.4...@cozy/codemods@1.16.5) (2022-06-10)

**Note:** Version bump only for package @cozy/codemods
4 changes: 2 additions & 2 deletions packages/cozy-codemods/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cozy/codemods",
"version": "1.16.5",
"version": "1.17.1",
"description": "Codeshifts used inside Cozies",
"main": "index.js",
"repository": "https://github.com/cozy/cozy-libs",
@@ -25,7 +25,7 @@
"jscodeshift": "^0.11.0"
},
"devDependencies": {
"eslint-config-cozy-app": "^4.2.0",
"eslint-config-cozy-app": "^4.2.1",
"jest": "26.6.3",
"jsdoc-to-markdown": "5.0.3"
}
10 changes: 9 additions & 1 deletion packages/cozy-codemods/src/imports.js
Original file line number Diff line number Diff line change
@@ -279,6 +279,13 @@ const getAttributeByName = ({ attributes, name }) =>
const makeAttribute = ({ name, value }) =>
j.jsxAttribute(j.jsxIdentifier(name), j.literal(value))

const renameAttributeByName = ({ oldName, newName, attributes }) => {
const attrToRename = getAttributeByName({ name: oldName, attributes })
if (attrToRename) {
attrToRename.name.name = newName
}
}

/**
* Make an JSXElement easily with different options
*
@@ -316,5 +323,6 @@ module.exports = {
getAttributeValue,
getAttributeByName,
makeAttribute,
makeJSXElement
makeJSXElement,
renameAttributeByName
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from 'react'
import Input from 'cozy-ui/transpiled/react/Input'

export const Comp = () => {
return <div><Input inputRef="ref" /></div>
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import React from 'react'
import Input from 'cozy-ui/transpiled/react/Input'

export const Comp = () => {
return <div><Input ref="ref" /></div>;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
const defineTest = require('jscodeshift/dist/testUtils').defineTest
defineTest(__dirname, 'transform-input')
14 changes: 14 additions & 0 deletions packages/cozy-codemods/src/transforms/transform-input.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { renameAttributeByName } from '../imports'

export default function transformInput(file, api) {
var j = api.jscodeshift
const root = j(file.source)

root.findJSXElements('Input').forEach(nodePath => {
const { attributes } = nodePath.node.openingElement

renameAttributeByName({ attributes, oldName: 'inputRef', newName: 'ref' })
})

return root.toSource()
}
8 changes: 8 additions & 0 deletions packages/cozy-device-helper/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2.2.2 (2022-08-01)

**Note:** Version bump only for package cozy-device-helper





## 2.2.1 (2022-06-24)


4 changes: 2 additions & 2 deletions packages/cozy-device-helper/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cozy-device-helper",
"description": "To know more information about the device platform",
"version": "2.2.1",
"version": "2.2.2",
"author": "Cozy",
"bugs": {
"url": "https://github.com/cozy/cozy-libs/issues"
@@ -14,7 +14,7 @@
"@babel/core": "7.16.12",
"@types/react-native": "0.67.7",
"babel-jest": "26.6.3",
"babel-preset-cozy-app": "^2.0.2",
"babel-preset-cozy-app": "^2.0.3",
"jest": "26.6.3"
},
"files": [
Loading