{
aria-hidden="true"
/>
= ({ open, handleClose }) => {
return (
-
+
<>
diff --git a/packages/desktop/src/renderer/components/widgets/update/UpdateModal.test.tsx b/packages/desktop/src/renderer/components/widgets/update/UpdateModal.test.tsx
index 6994299c5b..3741bb265b 100644
--- a/packages/desktop/src/renderer/components/widgets/update/UpdateModal.test.tsx
+++ b/packages/desktop/src/renderer/components/widgets/update/UpdateModal.test.tsx
@@ -14,8 +14,9 @@ describe('UpdateModal', () => {
aria-hidden="true"
/>
+
diff --git a/packages/desktop/src/rtl-tests/loadingPanel.test.tsx b/packages/desktop/src/rtl-tests/loadingPanel.test.tsx
index e73c428759..dc226a1ff3 100644
--- a/packages/desktop/src/rtl-tests/loadingPanel.test.tsx
+++ b/packages/desktop/src/rtl-tests/loadingPanel.test.tsx
@@ -186,56 +186,4 @@ describe('Loading panel', () => {
)
await waitFor(() => expect(screen.queryByTestId('createUsernameModalActions')).toBeNull())
})
-
- it('Display the loading panel until Tor is fully bootstrapped', async () => {
- const { store } = await prepareStore(
- {},
- socket // Fork state manager's sagas
- )
-
- renderComponent(
- <>
-
- >,
- store
- )
-
- expect(screen.getByTestId('startingPanelComponent')).toBeVisible()
-
- // 5%
- store.dispatch(
- connection.actions.setTorBootstrapProcess(
- 'Apr 05 17:36:02.000 [notice] Bootstrapped 5% (conn): Connecting to a relay'
- )
- )
- await act(async () => {})
- const bootstrapped5text = screen.getByText('Tor Bootstrapped 5% (conn)')
- expect(bootstrapped5text).toBeVisible()
-
- // 50%
- store.dispatch(
- connection.actions.setTorBootstrapProcess(
- 'Apr 05 17:36:08.000 [notice] Bootstrapped 50% (loading_descriptors): Loading relay descriptors'
- )
- )
- await act(async () => {})
- const bootstrapped50text = screen.getByText('Tor Bootstrapped 50% (loading_descriptors)')
- expect(bootstrapped50text).toBeVisible()
-
- // 95%
- store.dispatch(
- connection.actions.setTorBootstrapProcess('Bootstrapped 95% (circuit_create): Establishing a Tor circuit')
- )
- await act(async () => {})
- const bootstrapped95text = screen.getByText('Tor Bootstrapped 95% (circuit_create)')
- expect(bootstrapped95text).toBeVisible()
-
- // 100%
- store.dispatch(
- connection.actions.setTorBootstrapProcess('Apr 05 17:36:10.000 [notice] Bootstrapped 100% (done): Done')
- )
- await act(async () => {})
- const bootstrapped100text = screen.getByText('Tor Bootstrapped 100% (done)')
- expect(bootstrapped100text).toBeVisible()
- })
})
diff --git a/packages/e2e-tests/CHANGELOG.md b/packages/e2e-tests/CHANGELOG.md
index 005298c88d..d0b212aafb 100644
--- a/packages/e2e-tests/CHANGELOG.md
+++ b/packages/e2e-tests/CHANGELOG.md
@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.8.0](/compare/e2e-tests@1.8.0-alpha.0...e2e-tests@1.8.0) (2023-08-28)
+
+**Note:** Version bump only for package e2e-tests
+
+
+
+
+
+# [1.8.0-alpha.0](https://github.com/TryQuiet/quiet/compare/e2e-tests@1.7.0...e2e-tests@1.8.0-alpha.0) (2023-08-25)
+
+**Note:** Version bump only for package e2e-tests
+
+
+
+
+
+# [1.7.0](https://github.com/TryQuiet/quiet/compare/e2e-tests@1.6.1-alpha.1...e2e-tests@1.7.0) (2023-08-17)
+
+**Note:** Version bump only for package e2e-tests
+
+
+
+
+
## [1.6.1-alpha.1](https://github.com/TryQuiet/quiet/compare/e2e-tests@1.6.1-alpha.0...e2e-tests@1.6.1-alpha.1) (2023-08-11)
**Note:** Version bump only for package e2e-tests
diff --git a/packages/e2e-tests/package-lock.json b/packages/e2e-tests/package-lock.json
index 5e98365cd2..4372f436aa 100644
--- a/packages/e2e-tests/package-lock.json
+++ b/packages/e2e-tests/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "e2e-tests",
- "version": "1.6.1-alpha.1",
+ "version": "1.8.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "e2e-tests",
- "version": "1.6.1-alpha.1",
+ "version": "1.8.0",
"license": "ISC",
"dependencies": {
"cross-env": "^5.2.0",
diff --git a/packages/e2e-tests/package.json b/packages/e2e-tests/package.json
index 74ead9541a..f1fac88c05 100644
--- a/packages/e2e-tests/package.json
+++ b/packages/e2e-tests/package.json
@@ -1,6 +1,6 @@
{
"name": "e2e-tests",
- "version": "1.6.1-alpha.1",
+ "version": "1.8.0",
"description": "For running end to end tests we use Selenium WebDriver (https://www.selenium.dev/documentation/webdriver/) with Electron ChromeDriver (https://www.npmjs.com/package/electron-chromedriver) in Jest",
"main": "index.js",
"scripts": {
@@ -14,7 +14,7 @@
"test:watch": "jest --watchAll"
},
"devDependencies": {
- "@quiet/eslint-config": "^1.1.0",
+ "@quiet/eslint-config": "^1.3.0",
"@types/jest": "^29.2.6",
"@types/selenium-webdriver": "^4.1.10",
"babel-jest": "^29.3.1",
@@ -22,10 +22,10 @@
"typescript": "^4.9.3"
},
"dependencies": {
- "@quiet/common": "^1.6.0",
- "@quiet/logger": "^1.4.0",
- "@quiet/types": "^1.6.0",
- "backend-bundle": "^1.4.0",
+ "@quiet/common": "^1.8.0",
+ "@quiet/logger": "^1.6.0",
+ "@quiet/types": "^1.8.0",
+ "backend-bundle": "^1.6.0",
"cross-env": "^5.2.0",
"electron-chromedriver": "22.0.0",
"get-port": "^5.1.1",
diff --git a/packages/e2e-tests/src/selectors.ts b/packages/e2e-tests/src/selectors.ts
index 08482bcd34..41c64ff047 100644
--- a/packages/e2e-tests/src/selectors.ts
+++ b/packages/e2e-tests/src/selectors.ts
@@ -397,5 +397,6 @@ export class DebugModeModal {
} catch (e) {
console.log('Probably click properly close modal')
}
+ await new Promise
(resolve => setTimeout(() => resolve(), 2000))
}
}
diff --git a/packages/e2e-tests/src/tests/invitationLink.test.ts b/packages/e2e-tests/src/tests/invitationLink.test.ts
index 799e944a4e..e46b8cfee1 100644
--- a/packages/e2e-tests/src/tests/invitationLink.test.ts
+++ b/packages/e2e-tests/src/tests/invitationLink.test.ts
@@ -14,7 +14,7 @@ import { capitalizeFirstLetter, invitationDeepUrl } from '@quiet/common'
import { execSync } from 'child_process'
import { type SupportedPlatformDesktop } from '@quiet/types'
-jest.setTimeout(900000)
+jest.setTimeout(1900000)
it.todo('New user joins using invitation link while having app closed')
describe('New user joins using invitation link while having app opened', () => {
// Note: this test requires no DATA_DIR env so ran on local machine may interfere with 'Quiet' data directory
@@ -37,23 +37,27 @@ describe('New user joins using invitation link while having app opened', () => {
describe('Stages:', () => {
it('Owner opens the app', async () => {
+ console.log('Invitation Link', 1)
await ownerApp.open()
})
if (process.env.TEST_MODE) {
it('Owner closes debug modal', async () => {
+ console.log('Invitation Link', 2)
const debugModal = new DebugModeModal(ownerApp.driver)
await debugModal.close()
})
}
it('StartingLoadingPanel modal', async () => {
+ console.log('Invitation Link', 3)
const loadingPanel = new StartingLoadingPanel(ownerApp.driver)
const isLoadingPanel = await loadingPanel.element.isDisplayed()
expect(isLoadingPanel).toBeTruthy()
})
it('JoinCommunityModal - owner switches to create community', async () => {
+ console.log('Invitation Link', 4)
const joinModal = new JoinCommunityModal(ownerApp.driver)
const isJoinModal = await joinModal.element.isDisplayed()
expect(isJoinModal).toBeTruthy()
@@ -61,6 +65,7 @@ describe('New user joins using invitation link while having app opened', () => {
})
it('CreateCommunityModal - owner creates his community', async () => {
+ console.log('Invitation Link', 5)
const createModal = new CreateCommunityModal(ownerApp.driver)
const isCreateModal = await createModal.element.isDisplayed()
expect(isCreateModal).toBeTruthy()
@@ -69,6 +74,7 @@ describe('New user joins using invitation link while having app opened', () => {
})
it('RegisterUsernameModal - owner has registered', async () => {
+ console.log('Invitation Link', 6)
const registerModal = new RegisterUsernameModal(ownerApp.driver)
const isRegisterModal = await registerModal.element.isDisplayed()
expect(isRegisterModal).toBeTruthy()
@@ -77,12 +83,14 @@ describe('New user joins using invitation link while having app opened', () => {
})
it('Connecting to peers modal', async () => {
+ console.log('Invitation Link', 7)
const loadingPanelCommunity = new JoiningLoadingPanel(ownerApp.driver)
const isLoadingPanelCommunity = await loadingPanelCommunity.element.isDisplayed()
expect(isLoadingPanelCommunity).toBeTruthy()
})
it('Owner sees general channel', async () => {
+ console.log('Invitation Link', 8)
const generalChannel = new Channel(ownerApp.driver, 'general')
const isGeneralChannel = await generalChannel.element.isDisplayed()
const generalChannelText = await generalChannel.element.getText()
@@ -91,10 +99,12 @@ describe('New user joins using invitation link while having app opened', () => {
})
it('Owner opens the settings tab and gets an invitation code', async () => {
+ console.log('Invitation Link', 9)
const settingsModal = await new Sidebar(ownerApp.driver).openSettings()
const isSettingsModal = await settingsModal.element.isDisplayed()
expect(isSettingsModal).toBeTruthy()
await settingsModal.switchTab('invite') // TODO: Fix - the invite tab should be default for the owner
+ await new Promise(resolve => setTimeout(() => resolve(), 1000))
const invitationCodeElement = await settingsModal.invitationCode()
invitationCode = await invitationCodeElement.getText()
console.log('Received invitation link:', invitationCode)
@@ -105,25 +115,23 @@ describe('New user joins using invitation link while having app opened', () => {
// MacOS tries to open link in first app (owner's app) so the workaround is to temporarly close owner
// while clicking on the invitation link to have just one instance of app opened
it('Owner closes the app', async () => {
+ console.log('Invitation Link', 10)
await ownerApp.close({ forceSaveState: true })
})
}
it('Guest opens the app', async () => {
+ console.log('Invitation Link', 11)
console.log('Guest opens app')
await guestApp.open()
})
if (process.env.TEST_MODE) {
it('Close debug modal', async () => {
+ console.log('Invitation Link', 12)
const debugModal = new DebugModeModal(guestApp.driver)
await debugModal.close()
})
}
- it('StartingLoadingPanel modal', async () => {
- const loadingPanel = new StartingLoadingPanel(guestApp.driver)
- const isLoadingPanel = await loadingPanel.element.isDisplayed()
- expect(isLoadingPanel).toBeTruthy()
- })
it.skip('Guest clicks invitation link with invalid invitation code', async () => {
// Fix when modals ordering is fixed (joining modal hiddes warning modal)
@@ -141,6 +149,7 @@ describe('New user joins using invitation link while having app opened', () => {
})
it('Guest clicks invitation link with valid code', async () => {
+ console.log('Invitation Link', 14)
// Extract code from copied invitation url
const url = new URL(invitationCode)
@@ -155,6 +164,7 @@ describe('New user joins using invitation link while having app opened', () => {
})
it('Guest is redirected to UsernameModal', async () => {
+ console.log('Invitation Link', 15)
console.log('Guest sees username modal')
const registerModal = new RegisterUsernameModal(guestApp.driver)
const isRegisterModalDisplayed = await registerModal.element.isDisplayed()
@@ -162,6 +172,7 @@ describe('New user joins using invitation link while having app opened', () => {
})
it('Guest submits username', async () => {
+ console.log('Invitation Link', 16)
console.log('Guest submits username')
const registerModal = new RegisterUsernameModal(guestApp.driver)
await registerModal.typeUsername(joiningUserUsername)
@@ -171,30 +182,24 @@ describe('New user joins using invitation link while having app opened', () => {
if (process.platform === 'darwin') {
// Open the owner's app again so guest would be able to register
it('Owner opens the app again', async () => {
+ console.log('Invitation Link', 17)
console.log('Owner opens the app again')
await ownerApp.open()
- })
- if (process.env.TEST_MODE) {
- it('Owner closes debug modal', async () => {
- const debugModal = new DebugModeModal(ownerApp.driver)
- await debugModal.close()
- })
- }
- it('Owner sees starting panel', async () => {
- console.log('Owner sees starting panel')
- const loadingPanel = new StartingLoadingPanel(ownerApp.driver)
- const isLoadingPanel = await loadingPanel.element.isDisplayed()
- expect(isLoadingPanel).toBeTruthy()
+ const debugModal = new DebugModeModal(ownerApp.driver)
+ await debugModal.close()
})
}
it('Guest joined a community and sees general channel', async () => {
+ console.log('Invitation Link', 20)
console.log('guest sees general channel')
+
const generalChannel = new Channel(guestApp.driver, 'general')
await generalChannel.element.isDisplayed()
})
it('Owner sees that guest joined community', async () => {
+ console.log('Invitation Link', 21)
const generalChannel = new Channel(ownerApp.driver, 'general')
await generalChannel.element.isDisplayed()
const userJoinedMessage = await generalChannel.getMessage(
diff --git a/packages/e2e-tests/src/tests/oneClient.test.ts b/packages/e2e-tests/src/tests/oneClient.test.ts
index 3dc0c0fcc7..9aa8111955 100644
--- a/packages/e2e-tests/src/tests/oneClient.test.ts
+++ b/packages/e2e-tests/src/tests/oneClient.test.ts
@@ -124,12 +124,6 @@ describe('One Client', () => {
})
}
- it('User waits for the modal StartingLoadingPanel to disappear', async () => {
- const loadingPanel = new StartingLoadingPanel(app.driver)
- const isLoadingPanel = await loadingPanel.element.isDisplayed()
- expect(isLoadingPanel).toBeTruthy()
- })
-
it('User sees "general channel" page', async () => {
const generalChannel = new Channel(app.driver, 'general')
const isGeneralChannel = await generalChannel.element.isDisplayed()
diff --git a/packages/e2e-tests/src/tests/twoClients.test.ts b/packages/e2e-tests/src/tests/twoClients.test.ts
index b9e7241103..c78689e4cc 100644
--- a/packages/e2e-tests/src/tests/twoClients.test.ts
+++ b/packages/e2e-tests/src/tests/twoClients.test.ts
@@ -123,9 +123,13 @@ describe('Two Clients', () => {
const settingsModal = await new Sidebar(ownerApp.driver).openSettings()
const isSettingsModal = await settingsModal.element.isDisplayed()
expect(isSettingsModal).toBeTruthy()
+ await sleep(1000)
await settingsModal.switchTab('invite') // TODO: Fix - the invite tab should be default for the owner
+ await sleep(1000)
const invitationCodeElement = await settingsModal.invitationCode()
+ await sleep(1000)
invitationCode = await invitationCodeElement.getText()
+ await sleep(1000)
console.log({ invitationCode })
log('Received invitation code:', invitationCode)
await settingsModal.close()
diff --git a/packages/e2e-tests/src/utils.ts b/packages/e2e-tests/src/utils.ts
index 1151ca8bf9..70ba424d44 100644
--- a/packages/e2e-tests/src/utils.ts
+++ b/packages/e2e-tests/src/utils.ts
@@ -66,11 +66,7 @@ export class BuildSetup {
// return `${process.env.LOCALAPPDATA}\\Programs\\${this.fileName ? 'quiet' : 'quiet2'}\\Quiet.exe`
return `${process.env.LOCALAPPDATA}\\Programs\\quiet\\Quiet.exe`
case 'darwin':
- return `${
- this.fileName
- ? '/Applications/Quiet.app/Contents/MacOS/Quiet'
- : '/Applications/Quiet-Latest.app/Contents/MacOS/Quiet'
- }`
+ return '/Applications/Quiet.app/Contents/MacOS/Quiet'
default:
throw new Error('wrong SYSTEM env')
}
diff --git a/packages/eslint-config-custom/CHANGELOG.md b/packages/eslint-config-custom/CHANGELOG.md
index 2a18b3b81d..cfadd5201a 100644
--- a/packages/eslint-config-custom/CHANGELOG.md
+++ b/packages/eslint-config-custom/CHANGELOG.md
@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.3.0](/compare/@quiet/eslint-config@1.3.0-alpha.0...@quiet/eslint-config@1.3.0) (2023-08-28)
+
+**Note:** Version bump only for package @quiet/eslint-config
+
+
+
+
+
+# [1.3.0-alpha.0](https://github.com/TryQuiet/quiet/compare/@quiet/eslint-config@1.2.0...@quiet/eslint-config@1.3.0-alpha.0) (2023-08-25)
+
+**Note:** Version bump only for package @quiet/eslint-config
+
+
+
+
+
+# [1.2.0](https://github.com/TryQuiet/quiet/compare/@quiet/eslint-config@1.1.0...@quiet/eslint-config@1.2.0) (2023-08-17)
+
+**Note:** Version bump only for package @quiet/eslint-config
+
+
+
+
+
# [1.1.0](https://github.com/ZbayApp/monorepo/compare/@quiet/eslint-config@1.0.1-alpha.0...@quiet/eslint-config@1.1.0) (2023-07-28)
**Note:** Version bump only for package @quiet/eslint-config
diff --git a/packages/eslint-config-custom/package-lock.json b/packages/eslint-config-custom/package-lock.json
index 30705c5660..ae1fd3b7d3 100644
--- a/packages/eslint-config-custom/package-lock.json
+++ b/packages/eslint-config-custom/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@quiet/eslint-config",
- "version": "1.1.0",
+ "version": "1.3.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@quiet/eslint-config",
- "version": "1.1.0",
+ "version": "1.3.0",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "5.59.11",
"@typescript-eslint/parser": "^5.59.11",
diff --git a/packages/eslint-config-custom/package.json b/packages/eslint-config-custom/package.json
index dc590c5364..5455dbabc5 100644
--- a/packages/eslint-config-custom/package.json
+++ b/packages/eslint-config-custom/package.json
@@ -1,7 +1,7 @@
{
"name": "@quiet/eslint-config",
"main": "index.js",
- "version": "1.1.0",
+ "version": "1.3.0",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "5.59.11",
"@typescript-eslint/parser": "^5.59.11",
diff --git a/packages/identity/CHANGELOG.md b/packages/identity/CHANGELOG.md
index ba92c25206..acf2c3cfb3 100644
--- a/packages/identity/CHANGELOG.md
+++ b/packages/identity/CHANGELOG.md
@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.8.0](https://github.com/TryQuiet/identity/compare/@quiet/identity@1.8.0-alpha.0...@quiet/identity@1.8.0) (2023-08-28)
+
+**Note:** Version bump only for package @quiet/identity
+
+
+
+
+
+# [1.8.0-alpha.0](https://github.com/TryQuiet/identity/compare/@quiet/identity@1.7.0...@quiet/identity@1.8.0-alpha.0) (2023-08-25)
+
+**Note:** Version bump only for package @quiet/identity
+
+
+
+
+
+# [1.7.0](https://github.com/TryQuiet/identity/compare/@quiet/identity@1.6.0...@quiet/identity@1.7.0) (2023-08-17)
+
+**Note:** Version bump only for package @quiet/identity
+
+
+
+
+
# [1.6.0](https://github.com/TryQuiet/identity/compare/@quiet/identity@1.5.1-alpha.0...@quiet/identity@1.6.0) (2023-07-28)
**Note:** Version bump only for package @quiet/identity
diff --git a/packages/identity/package-lock.json b/packages/identity/package-lock.json
index 06905096ba..77ab39ae54 100644
--- a/packages/identity/package-lock.json
+++ b/packages/identity/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@quiet/identity",
- "version": "1.6.0",
+ "version": "1.8.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@quiet/identity",
- "version": "1.6.0",
+ "version": "1.8.0",
"license": "MIT",
"dependencies": {
"@peculiar/webcrypto": "1.4.3",
diff --git a/packages/identity/package.json b/packages/identity/package.json
index e36b6f791f..272213d443 100644
--- a/packages/identity/package.json
+++ b/packages/identity/package.json
@@ -1,6 +1,6 @@
{
"name": "@quiet/identity",
- "version": "1.6.0",
+ "version": "1.8.0",
"description": "Quiet tools for creating certificates and signing messages",
"main": "lib/index.js",
"types": "lib/index.d.js",
@@ -49,9 +49,9 @@
},
"dependencies": {
"@peculiar/webcrypto": "1.4.3",
- "@quiet/eslint-config": "^1.1.0",
- "@quiet/logger": "^1.4.0",
- "@quiet/types": "^1.6.0",
+ "@quiet/eslint-config": "^1.3.0",
+ "@quiet/logger": "^1.6.0",
+ "@quiet/types": "^1.8.0",
"pkijs": "^3.0.8"
},
"devDependencies": {
diff --git a/packages/integration-tests/CHANGELOG.md b/packages/integration-tests/CHANGELOG.md
index e19d125640..dc4e306295 100644
--- a/packages/integration-tests/CHANGELOG.md
+++ b/packages/integration-tests/CHANGELOG.md
@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.9.0](/compare/integration-tests@1.9.0-alpha.0...integration-tests@1.9.0) (2023-08-28)
+
+**Note:** Version bump only for package integration-tests
+
+
+
+
+
+# [1.9.0-alpha.0](https://github.com/TryQuiet/quiet/compare/integration-tests@1.8.0...integration-tests@1.9.0-alpha.0) (2023-08-25)
+
+**Note:** Version bump only for package integration-tests
+
+
+
+
+
+# [1.8.0](https://github.com/TryQuiet/quiet/compare/integration-tests@1.7.1-alpha.1...integration-tests@1.8.0) (2023-08-17)
+
+**Note:** Version bump only for package integration-tests
+
+
+
+
+
## [1.7.1-alpha.1](https://github.com/TryQuiet/quiet/compare/integration-tests@1.7.1-alpha.0...integration-tests@1.7.1-alpha.1) (2023-08-11)
**Note:** Version bump only for package integration-tests
diff --git a/packages/integration-tests/package-lock.json b/packages/integration-tests/package-lock.json
index 234ac42d71..05b666313a 100644
--- a/packages/integration-tests/package-lock.json
+++ b/packages/integration-tests/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "integration-tests",
- "version": "1.7.1-alpha.1",
+ "version": "1.9.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "integration-tests",
- "version": "1.7.1-alpha.1",
+ "version": "1.9.0",
"license": "ISC",
"dependencies": {
"@peculiar/webcrypto": "1.4.3",
diff --git a/packages/integration-tests/package.json b/packages/integration-tests/package.json
index 19e44158bc..5afb4cc34f 100644
--- a/packages/integration-tests/package.json
+++ b/packages/integration-tests/package.json
@@ -1,6 +1,6 @@
{
"name": "integration-tests",
- "version": "1.7.1-alpha.1",
+ "version": "1.9.0",
"description": "",
"types": "lib/index.d.ts",
"main": "lib/index.js",
@@ -22,7 +22,7 @@
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
- "@quiet/eslint-config": "^1.1.0",
+ "@quiet/eslint-config": "^1.3.0",
"@types/jest": "^26.0.24",
"@types/redux-saga": "^0.10.5",
"@types/tmp": "^0.2.2",
@@ -33,9 +33,9 @@
},
"dependencies": {
"@peculiar/webcrypto": "1.4.3",
- "@quiet/identity": "^1.6.0",
- "@quiet/logger": "^1.4.0",
- "@quiet/state-manager": "^1.7.1-alpha.1",
+ "@quiet/identity": "^1.8.0",
+ "@quiet/logger": "^1.6.0",
+ "@quiet/state-manager": "^1.9.0",
"@reduxjs/toolkit": "^1.6.1",
"commander": "^9.1.0",
"debug": "^4.3.2",
diff --git a/packages/logger/CHANGELOG.md b/packages/logger/CHANGELOG.md
index 31ada65dfa..e1e70618d5 100644
--- a/packages/logger/CHANGELOG.md
+++ b/packages/logger/CHANGELOG.md
@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.6.0](/compare/@quiet/logger@1.6.0-alpha.0...@quiet/logger@1.6.0) (2023-08-28)
+
+**Note:** Version bump only for package @quiet/logger
+
+
+
+
+
+# [1.6.0-alpha.0](https://github.com/TryQuiet/quiet/compare/@quiet/logger@1.5.0...@quiet/logger@1.6.0-alpha.0) (2023-08-25)
+
+**Note:** Version bump only for package @quiet/logger
+
+
+
+
+
+# [1.5.0](https://github.com/TryQuiet/quiet/compare/@quiet/logger@1.4.0...@quiet/logger@1.5.0) (2023-08-17)
+
+**Note:** Version bump only for package @quiet/logger
+
+
+
+
+
# [1.4.0](https://github.com/ZbayApp/monorepo/compare/@quiet/logger@1.4.0-alpha.1...@quiet/logger@1.4.0) (2023-07-28)
**Note:** Version bump only for package @quiet/logger
diff --git a/packages/logger/package-lock.json b/packages/logger/package-lock.json
index c2c46ae729..018fa9c95e 100644
--- a/packages/logger/package-lock.json
+++ b/packages/logger/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@quiet/logger",
- "version": "1.4.0",
+ "version": "1.6.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@quiet/logger",
- "version": "1.4.0",
+ "version": "1.6.0",
"license": "ISC",
"dependencies": {
"cross-env": "^5.2.0",
diff --git a/packages/logger/package.json b/packages/logger/package.json
index b588bb79e7..bf6e91f644 100644
--- a/packages/logger/package.json
+++ b/packages/logger/package.json
@@ -1,6 +1,6 @@
{
"name": "@quiet/logger",
- "version": "1.4.0",
+ "version": "1.6.0",
"description": "Logger",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -16,7 +16,7 @@
"rmDist": "rimraf lib/"
},
"devDependencies": {
- "@quiet/eslint-config": "^1.1.0",
+ "@quiet/eslint-config": "^1.3.0",
"@types/debug": "^4.1.7",
"@types/node": "^17.0.21",
"typescript": "^4.9.3"
diff --git a/packages/mobile/CHANGELOG.md b/packages/mobile/CHANGELOG.md
index 57c756138b..d675b92139 100644
--- a/packages/mobile/CHANGELOG.md
+++ b/packages/mobile/CHANGELOG.md
@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.10.0](/compare/@quiet/mobile@1.10.0-alpha.0...@quiet/mobile@1.10.0) (2023-08-28)
+
+**Note:** Version bump only for package @quiet/mobile
+
+
+
+
+
+# [1.10.0-alpha.0](https://github.com/TryQuiet/quiet/compare/@quiet/mobile@1.9.0...@quiet/mobile@1.10.0-alpha.0) (2023-08-25)
+
+**Note:** Version bump only for package @quiet/mobile
+
+
+
+
+
+# [1.9.0](https://github.com/TryQuiet/quiet/compare/@quiet/mobile@1.8.1-alpha.3...@quiet/mobile@1.9.0) (2023-08-17)
+
+**Note:** Version bump only for package @quiet/mobile
+
+
+
+
+
## [1.8.1-alpha.3](https://github.com/TryQuiet/quiet/compare/@quiet/mobile@1.8.1-alpha.2...@quiet/mobile@1.8.1-alpha.3) (2023-08-11)
**Note:** Version bump only for package @quiet/mobile
diff --git a/packages/mobile/android/app/build.gradle b/packages/mobile/android/app/build.gradle
index cc93196683..9ee82839df 100644
--- a/packages/mobile/android/app/build.gradle
+++ b/packages/mobile/android/app/build.gradle
@@ -166,8 +166,8 @@ android {
applicationId "com.quietmobile"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode 299
- versionName "1.8.1-alpha.3"
+ versionCode 302
+ versionName "1.10.0"
resValue "string", "build_config_package", "com.quietmobile"
testBuildType System.getProperty('testBuildType', 'debug')
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
diff --git a/packages/mobile/ios/Quiet/Info.plist b/packages/mobile/ios/Quiet/Info.plist
index 56aae0185b..67c5ffe5c5 100644
--- a/packages/mobile/ios/Quiet/Info.plist
+++ b/packages/mobile/ios/Quiet/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 1.8.1
+ 1.10.0
CFBundleSignature
????
CFBundleURLTypes
@@ -34,7 +34,7 @@
CFBundleVersion
- 289
+ 292
ITSAppUsesNonExemptEncryption
LSRequiresIPhoneOS
diff --git a/packages/mobile/ios/QuietTests/Info.plist b/packages/mobile/ios/QuietTests/Info.plist
index d433fc6780..15c2c92383 100644
--- a/packages/mobile/ios/QuietTests/Info.plist
+++ b/packages/mobile/ios/QuietTests/Info.plist
@@ -15,10 +15,10 @@
CFBundlePackageType
BNDL
CFBundleShortVersionString
- 1.8.1
+ 1.10.0
CFBundleSignature
????
CFBundleVersion
- 290
+ 293
diff --git a/packages/mobile/package-lock.json b/packages/mobile/package-lock.json
index 4cb11317d6..50f8c4cf8f 100644
--- a/packages/mobile/package-lock.json
+++ b/packages/mobile/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@quiet/mobile",
- "version": "1.8.1-alpha.3",
+ "version": "1.10.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@quiet/mobile",
- "version": "1.8.1-alpha.3",
+ "version": "1.10.0",
"dependencies": {
"@peculiar/webcrypto": "^1.4.3",
"@react-native-clipboard/clipboard": "^1.11.2",
diff --git a/packages/mobile/package.json b/packages/mobile/package.json
index 531e505d65..7dc9641f90 100644
--- a/packages/mobile/package.json
+++ b/packages/mobile/package.json
@@ -1,6 +1,6 @@
{
"name": "@quiet/mobile",
- "version": "1.8.1-alpha.3",
+ "version": "1.10.0",
"scripts": {
"build": "tsc -p tsconfig.build.json --noEmit",
"storybook-android": "ENVFILE=.env.storybook react-native run-android --variant=storybookDebug --appIdSuffix=storybook.debug",
@@ -22,11 +22,11 @@
},
"dependencies": {
"@peculiar/webcrypto": "^1.4.3",
- "@quiet/backend": "^1.7.1-alpha.3",
- "@quiet/common": "^1.6.0",
- "@quiet/identity": "^1.6.0",
- "@quiet/state-manager": "^1.7.1-alpha.1",
- "@quiet/types": "^1.6.0",
+ "@quiet/backend": "^1.9.0",
+ "@quiet/common": "^1.8.0",
+ "@quiet/identity": "^1.8.0",
+ "@quiet/state-manager": "^1.9.0",
+ "@quiet/types": "^1.8.0",
"@react-native-clipboard/clipboard": "^1.11.2",
"@react-navigation/native": "^6.0.0",
"@react-navigation/native-stack": "^6.9.0",
@@ -82,7 +82,7 @@
"@babel/plugin-transform-flow-strip-types": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/runtime": "^7.22.5",
- "@quiet/eslint-config": "^1.1.0",
+ "@quiet/eslint-config": "^1.3.0",
"@react-native-async-storage/async-storage": "^1.18.1",
"@react-native-community/eslint-config": "^2.0.0",
"@react-native-community/push-notification-ios": "^1.10.1",
diff --git a/packages/mobile/src/store/navigation/redirection/redirection.saga.ts b/packages/mobile/src/store/navigation/redirection/redirection.saga.ts
index 048d952a17..a2f60b5519 100644
--- a/packages/mobile/src/store/navigation/redirection/redirection.saga.ts
+++ b/packages/mobile/src/store/navigation/redirection/redirection.saga.ts
@@ -13,14 +13,15 @@ export function* redirectionSaga(): Generator {
// Redirect if user opened the app from push notification
const pendingNavigation = yield* select(navigationSelectors.pendingNavigation)
-
if (pendingNavigation) {
yield* put(
navigationActions.replaceScreen({
screen: pendingNavigation,
})
)
+
yield* put(navigationActions.clearPendingNavigation())
+
return
}
diff --git a/packages/state-manager/CHANGELOG.md b/packages/state-manager/CHANGELOG.md
index dc5663324e..1b4ecc3956 100644
--- a/packages/state-manager/CHANGELOG.md
+++ b/packages/state-manager/CHANGELOG.md
@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.9.0](/compare/@quiet/state-manager@1.9.0-alpha.0...@quiet/state-manager@1.9.0) (2023-08-28)
+
+**Note:** Version bump only for package @quiet/state-manager
+
+
+
+
+
+# [1.9.0-alpha.0](https://github.com/TryQuiet/quiet/compare/@quiet/state-manager@1.8.0...@quiet/state-manager@1.9.0-alpha.0) (2023-08-25)
+
+**Note:** Version bump only for package @quiet/state-manager
+
+
+
+
+
+# [1.8.0](https://github.com/TryQuiet/quiet/compare/@quiet/state-manager@1.7.1-alpha.1...@quiet/state-manager@1.8.0) (2023-08-17)
+
+**Note:** Version bump only for package @quiet/state-manager
+
+
+
+
+
## [1.7.1-alpha.1](https://github.com/TryQuiet/quiet/compare/@quiet/state-manager@1.7.1-alpha.0...@quiet/state-manager@1.7.1-alpha.1) (2023-08-11)
**Note:** Version bump only for package @quiet/state-manager
diff --git a/packages/state-manager/package-lock.json b/packages/state-manager/package-lock.json
index 8c9e9e3df4..de44e0b588 100644
--- a/packages/state-manager/package-lock.json
+++ b/packages/state-manager/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@quiet/state-manager",
- "version": "1.7.1-alpha.1",
+ "version": "1.9.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@quiet/state-manager",
- "version": "1.7.1-alpha.1",
+ "version": "1.9.0",
"license": "ISC",
"dependencies": {
"@reduxjs/toolkit": "^1.9.1",
diff --git a/packages/state-manager/package.json b/packages/state-manager/package.json
index 1f56205178..effc520a1f 100644
--- a/packages/state-manager/package.json
+++ b/packages/state-manager/package.json
@@ -1,6 +1,6 @@
{
"name": "@quiet/state-manager",
- "version": "1.7.1-alpha.1",
+ "version": "1.9.0",
"description": "",
"main": "lib/index.js",
"scripts": {
@@ -22,9 +22,9 @@
"author": "",
"license": "ISC",
"dependencies": {
- "@quiet/common": "^1.6.0",
- "@quiet/logger": "^1.4.0",
- "@quiet/types": "^1.6.0",
+ "@quiet/common": "^1.8.0",
+ "@quiet/logger": "^1.6.0",
+ "@quiet/types": "^1.8.0",
"@reduxjs/toolkit": "^1.9.1",
"factory-girl": "^5.0.4",
"get-port": "^5.1.1",
@@ -43,8 +43,8 @@
"@babel/preset-env": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@peculiar/webcrypto": "1.4.3",
- "@quiet/eslint-config": "^1.1.0",
- "@quiet/identity": "^1.6.0",
+ "@quiet/eslint-config": "^1.3.0",
+ "@quiet/identity": "^1.8.0",
"@types/factory-girl": "^5.0.8",
"@types/jest": "^26.0.24",
"@types/luxon": "^2.0.0",
diff --git a/packages/state-manager/src/sagas/appConnection/connection.selectors.ts b/packages/state-manager/src/sagas/appConnection/connection.selectors.ts
index e7ffd5072e..22a9938c80 100644
--- a/packages/state-manager/src/sagas/appConnection/connection.selectors.ts
+++ b/packages/state-manager/src/sagas/appConnection/connection.selectors.ts
@@ -6,7 +6,7 @@ import { communitiesSelectors } from '../communities/communities.selectors'
import { peersStatsAdapter } from './connection.adapter'
import { connectedPeers } from '../network/network.selectors'
import { sortPeers } from '../../utils/functions/sortPeers/sortPeers'
-import { type NetworkStats } from './connection.types'
+import { TOR_BOOTSTRAP_COMPLETE, type NetworkStats } from './connection.types'
import { type User } from '../users/users.types'
const connectionSlice: CreatedSelectors[StoreKeys.Connection] = (state: StoreState) => state[StoreKeys.Connection]
@@ -15,6 +15,8 @@ export const lastConnectedTime = createSelector(connectionSlice, reducerState =>
export const torBootstrapProcess = createSelector(connectionSlice, reducerState => reducerState.torBootstrapProcess)
+export const isTorInitialized = createSelector(connectionSlice, reducerState => reducerState.isTorInitialized)
+
export const torConnectionProcess = createSelector(connectionSlice, reducerState => reducerState.torConnectionProcess)
export const isConnectionManager = createSelector(connectionSlice, reducerState => reducerState.isConnectionManager)
@@ -58,4 +60,5 @@ export const connectionSelectors = {
torBootstrapProcess,
torConnectionProcess,
isConnectionManager,
+ isTorInitialized,
}
diff --git a/packages/state-manager/src/sagas/appConnection/connection.slice.ts b/packages/state-manager/src/sagas/appConnection/connection.slice.ts
index 8b5cc4e190..c9bf390ef7 100644
--- a/packages/state-manager/src/sagas/appConnection/connection.slice.ts
+++ b/packages/state-manager/src/sagas/appConnection/connection.slice.ts
@@ -8,6 +8,7 @@ export class ConnectionState {
public uptime = 0
public peersStats: EntityState = peersStatsAdapter.getInitialState()
public isConnectionManager = false
+ public isTorInitialized = false
public torBootstrapProcess = 'Bootstrapped 0% (starting)'
public torConnectionProcess: { number: number; text: string } = {
number: 5,
@@ -48,6 +49,9 @@ export const connectionSlice = createSlice({
}
},
torBootstrapped: (state, _action: PayloadAction) => state,
+ setTorInitialized: state => {
+ state.isTorInitialized = true
+ },
connectionManagerInit: state => {
state.isConnectionManager = true
},
diff --git a/packages/state-manager/src/sagas/appConnection/connection.transform.ts b/packages/state-manager/src/sagas/appConnection/connection.transform.ts
index 97edeef9c8..47ff390369 100644
--- a/packages/state-manager/src/sagas/appConnection/connection.transform.ts
+++ b/packages/state-manager/src/sagas/appConnection/connection.transform.ts
@@ -15,6 +15,7 @@ export const ConnectionTransform = createTransform(
text: 'Connecting process started',
},
isConnectionManager: false,
+ isTorInitialized: false,
}
},
{ whitelist: [StoreKeys.Connection] }
diff --git a/packages/state-manager/src/sagas/socket/const/actionTypes.ts b/packages/state-manager/src/sagas/socket/const/actionTypes.ts
index 26f1cf3247..3a8044322a 100644
--- a/packages/state-manager/src/sagas/socket/const/actionTypes.ts
+++ b/packages/state-manager/src/sagas/socket/const/actionTypes.ts
@@ -72,7 +72,7 @@ export enum SocketActionTypes {
SUBSCRIBE_FOR_ALL_CONVERSATIONS = 'subscribeToAllConversations',
SUBSCRIBE_FOR_DIRECT_MESSAGE_THREAD = 'subscribeToDirectMessageThread',
// T
- TOR_BOOTSTRAP_PROCESS = 'torBootstrapProcess',
+ TOR_INITIALIZED = 'torInitialized',
CONNECTION_PROCESS_INFO = 'torConnectionProcess',
// U
UPDATE_MESSAGE_MEDIA = 'updateMessageMedia',
diff --git a/packages/state-manager/src/sagas/socket/startConnection/startConnection.saga.ts b/packages/state-manager/src/sagas/socket/startConnection/startConnection.saga.ts
index 9bccd3c857..8f1fb5cb30 100644
--- a/packages/state-manager/src/sagas/socket/startConnection/startConnection.saga.ts
+++ b/packages/state-manager/src/sagas/socket/startConnection/startConnection.saga.ts
@@ -87,13 +87,11 @@ export function subscribe(socket: Socket) {
| ReturnType
| ReturnType
| ReturnType
+ | ReturnType
>(emit => {
// UPDATE FOR APP
- socket.on(SocketActionTypes.TOR_BOOTSTRAP_PROCESS, (payload: string) => {
- if (payload.toString().includes('Bootstrapped 100%')) {
- emit(connectionActions.torBootstrapped(payload))
- }
- emit(connectionActions.setTorBootstrapProcess(payload))
+ socket.on(SocketActionTypes.TOR_INITIALIZED, () => {
+ emit(connectionActions.setTorInitialized())
})
socket.on(SocketActionTypes.CONNECTION_PROCESS_INFO, (payload: string) => {
emit(connectionActions.setTorConnectionProcess(payload))
diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md
index a9513441bd..2e328112e1 100644
--- a/packages/types/CHANGELOG.md
+++ b/packages/types/CHANGELOG.md
@@ -3,6 +3,30 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
+# [1.8.0](/compare/@quiet/types@1.8.0-alpha.0...@quiet/types@1.8.0) (2023-08-28)
+
+**Note:** Version bump only for package @quiet/types
+
+
+
+
+
+# [1.8.0-alpha.0](https://github.com/TryQuiet/quiet/compare/@quiet/types@1.7.0...@quiet/types@1.8.0-alpha.0) (2023-08-25)
+
+**Note:** Version bump only for package @quiet/types
+
+
+
+
+
+# [1.7.0](https://github.com/TryQuiet/quiet/compare/@quiet/types@1.5.1-alpha.0...@quiet/types@1.7.0) (2023-08-17)
+
+**Note:** Version bump only for package @quiet/types
+
+
+
+
+
# [1.6.0](https://github.com/ZbayApp/monorepo/compare/@quiet/types@1.5.1-alpha.0...@quiet/types@1.6.0) (2023-07-28)
**Note:** Version bump only for package @quiet/types
diff --git a/packages/types/package-lock.json b/packages/types/package-lock.json
index a12970610f..55fe7b6127 100644
--- a/packages/types/package-lock.json
+++ b/packages/types/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@quiet/types",
- "version": "1.6.0",
+ "version": "1.8.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@quiet/types",
- "version": "1.6.0",
+ "version": "1.8.0",
"license": "ISC",
"dependencies": {
"cross-env": "^5.2.0",
diff --git a/packages/types/package.json b/packages/types/package.json
index 9c1690dba5..48d72d455e 100644
--- a/packages/types/package.json
+++ b/packages/types/package.json
@@ -1,6 +1,6 @@
{
"name": "@quiet/types",
- "version": "1.6.0",
+ "version": "1.8.0",
"description": "Common monorepo types",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -17,7 +17,7 @@
"rmDist": "rimraf lib/"
},
"devDependencies": {
- "@quiet/eslint-config": "^1.1.0",
+ "@quiet/eslint-config": "^1.3.0",
"@reduxjs/toolkit": "^1.9.1",
"@types/jest": "^26.0.23",
"@types/node": "^17.0.21",
diff --git a/packages/types/src/socket.ts b/packages/types/src/socket.ts
index 133e10bc0f..0f5be6e652 100644
--- a/packages/types/src/socket.ts
+++ b/packages/types/src/socket.ts
@@ -62,7 +62,7 @@ export enum SocketActionTypes {
SUBSCRIBE_FOR_ALL_CONVERSATIONS = 'subscribeToAllConversations',
SUBSCRIBE_FOR_DIRECT_MESSAGE_THREAD = 'subscribeToDirectMessageThread',
// T
- TOR_BOOTSTRAP_PROCESS = 'torBootstrapProcess',
+ TOR_INITIALIZED = 'torInitialized',
CONNECTION_PROCESS_INFO = 'torConnectionProcess',
// U
UPDATE_MESSAGE_MEDIA = 'updateMessageMedia',