Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile/releasable #1942

Closed
wants to merge 294 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
294 commits
Select commit Hold shift + click to select a range
405ce12
docs: extend references to use nvm
UlisesGascon Aug 22, 2023
47269fd
fix: common: capitalize should return null if no string provided
UlisesGascon Aug 22, 2023
17b3872
test: add test suite for channelAddress
UlisesGascon Aug 22, 2023
7e00db1
fix: typo in function name
UlisesGascon Aug 22, 2023
d075b16
doc: improved formatting and improved spelling
UlisesGascon Aug 22, 2023
1b283ac
feat: enable dependabot
UlisesGascon Aug 22, 2023
b4496fe
chore: added dependency review GitHub Action
UlisesGascon Aug 22, 2023
8c37a6c
chore: enable codeql
UlisesGascon Aug 22, 2023
62adb7e
fix: typo
UlisesGascon Aug 23, 2023
c5f65ed
test: restore broken tests for capitalizeFirstLetter
UlisesGascon Aug 23, 2023
c9387db
chore: ignore integration-tests pkg in dependabot
UlisesGascon Aug 23, 2023
869ccbe
chore: remove ccp and java from codeql analysis
UlisesGascon Aug 23, 2023
28ba290
Add eventlog DB for CSRs; Create invitation link basing on user's dat…
EmiM Aug 23, 2023
2e2d3b5
Remove tmp fix for sendCommand
EmiM Aug 24, 2023
289d9df
Merge branch 'develop' into feature/1557
EmiM Aug 24, 2023
30ec894
Merge branch 'fix/async-tor' into feature/1557
EmiM Aug 24, 2023
bb30494
Fix community double launch
vinkabuki Aug 25, 2023
f2972df
Simulate registrar by creating certificate on csr replication
EmiM Aug 27, 2023
5de780c
Merge pull request #1739 from TryQuiet/master
vinkabuki Aug 29, 2023
4f4d8ac
merged develop into feature/1556
vinkabuki Aug 29, 2023
144bd9c
Merge pull request #1671 from TryQuiet/feature/1556
vinkabuki Aug 29, 2023
089cd45
merged develop into jest/use-commonjs-libs
vinkabuki Aug 29, 2023
e27ca2d
fix linter
vinkabuki Aug 29, 2023
89fb553
Merge pull request #1652 from TryQuiet/jest/use-commonjs-libs
vinkabuki Aug 29, 2023
4bd6ed2
Publish
vinkabuki Aug 29, 2023
ee55f92
Update own certificate on replication
vinkabuki Aug 29, 2023
45b0d9d
fix
Kacper-RF Aug 30, 2023
037e92f
invitation link - before each
Kacper-RF Aug 30, 2023
13050b0
delay
Kacper-RF Aug 30, 2023
4a63e37
all tests
Kacper-RF Aug 30, 2023
8987c0b
Merge pull request #1743 from TryQuiet/e2e/fix-backwards-compatibility
Kacper-RF Aug 31, 2023
519e3ea
win fix
Kacper-RF Aug 31, 2023
a8d3d63
windows os matrix
Kacper-RF Aug 31, 2023
5344706
skip starting modals
Kacper-RF Aug 31, 2023
3e27aea
one windows os
Kacper-RF Aug 31, 2023
23422ff
remove starting panel step
Kacper-RF Aug 31, 2023
7dda426
remove isConnectionManager check
vinkabuki Sep 1, 2023
1a102bc
screenshot
Kacper-RF Sep 1, 2023
f3694c0
ci changes
Kacper-RF Sep 1, 2023
1610f7c
Debug linux
Kacper-RF Sep 1, 2023
f66fe0e
ci change
Kacper-RF Sep 1, 2023
8612b93
final version
Kacper-RF Sep 1, 2023
9bde382
increase time to 25
Kacper-RF Sep 1, 2023
678f651
skip joining panel
Kacper-RF Sep 1, 2023
754c28c
run linter
vinkabuki Sep 1, 2023
8919458
more delay
Kacper-RF Sep 1, 2023
1dc7ac0
temporary disable invitation link
Kacper-RF Sep 1, 2023
5529ab7
modify message, fix test
Kacper-RF Sep 1, 2023
5dd9deb
cleanup
Kacper-RF Sep 1, 2023
e7ec1e9
lower delay
Kacper-RF Sep 1, 2023
b081142
Add more logs for catching heisenbug
vinkabuki Sep 1, 2023
41fb852
Add changelog
vinkabuki Sep 1, 2023
1d0550d
Merge pull request #1751 from TryQuiet/fix/android-stuck-on-registeri…
vinkabuki Sep 1, 2023
d06225c
Merge pull request #1754 from TryQuiet/chore/add-logs-to-catch-heisenbug
vinkabuki Sep 1, 2023
c5b2eb4
Publish
Kacper-RF Sep 1, 2023
0c544a4
cleanup
Kacper-RF Sep 1, 2023
acdde03
Publish
Kacper-RF Sep 1, 2023
1058669
fix
Kacper-RF Sep 1, 2023
7ce7163
Merge branch 'develop' into feature/638
Kacper-RF Sep 1, 2023
87c93d8
Add minimal PR template
EmiM Sep 1, 2023
f0c7805
changelog update
Kacper-RF Sep 4, 2023
6f95673
update changelog
Kacper-RF Sep 4, 2023
8deb8b9
Merge branch 'develop' into e2e/win-fix
Kacper-RF Sep 4, 2023
6f25904
restore invitation link
Kacper-RF Sep 4, 2023
43b93a8
Merge pull request #1749 from TryQuiet/e2e/win-fix
Kacper-RF Sep 4, 2023
5717593
Merge branch 'develop' into bug/1352
Kacper-RF Sep 4, 2023
a89f906
Fix default settings tab display
vinkabuki Sep 4, 2023
415ba23
Merge pull request #1756 from TryQuiet/chore/add-pr-template
EmiM Sep 4, 2023
17e2903
Merge branch 'develop' into feature/1557
EmiM Sep 4, 2023
0227bef
add duplicate and unregistered label component
Kacper-RF Sep 4, 2023
51cbda4
Cleanup
EmiM Sep 4, 2023
3f00ded
Merge pull request #1760 from TryQuiet/fix/default-settings-tab
vinkabuki Sep 4, 2023
61b78d8
Check if peerid and onion address are valid in deep link
EmiM Sep 4, 2023
fe1eac5
Validate invitation codes format in url pasted in join screen; cleanu…
EmiM Sep 4, 2023
51b4ee8
Merge branch 'develop' into bug/1352
Kacper-RF Sep 5, 2023
fc6e9bc
Merge branch 'develop' into feature/638
Kacper-RF Sep 5, 2023
6402a37
Merge pull request #1755 from TryQuiet/bug/1352
Kacper-RF Sep 5, 2023
429f2a1
Merge branch 'develop' into feature/638
Kacper-RF Sep 5, 2023
2823036
Merge pull request #1752 from TryQuiet/feature/638
Kacper-RF Sep 5, 2023
acdf8e1
separate modals
Kacper-RF Sep 5, 2023
72578be
Publish
Kacper-RF Sep 5, 2023
f8a0644
cleanup
Kacper-RF Sep 5, 2023
361b171
Publish
Kacper-RF Sep 5, 2023
d97ef28
Replace source of pubKey to CSR
vinkabuki Sep 5, 2023
5746e70
Merge branch 'develop' of github.com:TryQuiet/quiet into chore/use-cs…
vinkabuki Sep 5, 2023
fc11616
Update changelog
vinkabuki Sep 5, 2023
a5855fe
modal content
Kacper-RF Sep 5, 2023
0cadec7
username in modal as arg
Kacper-RF Sep 5, 2023
8113d0e
Remove duplicated utils functions; fix 'wss in peer address' regression
EmiM Sep 5, 2023
c884737
fix test
Kacper-RF Sep 6, 2023
c40abe1
fix imports
Kacper-RF Sep 6, 2023
040ebd7
Merge pull request #1765 from TryQuiet/fix/wss
Kacper-RF Sep 6, 2023
48366b6
cleanup
Kacper-RF Sep 6, 2023
a42d662
Publish
Kacper-RF Sep 6, 2023
f70cd27
add stories
Kacper-RF Sep 6, 2023
b91430a
add tests
Kacper-RF Sep 6, 2023
9b0e547
fix tests
Kacper-RF Sep 6, 2023
56ffa6b
Merge branch 'develop' into feature/1558
Kacper-RF Sep 6, 2023
56e4faf
Cleanup
EmiM Sep 6, 2023
f3b970f
temporarily does not require e2e test for build
Kacper-RF Sep 6, 2023
d4e8303
cleanup
Kacper-RF Sep 6, 2023
4eacfdf
Publish
Kacper-RF Sep 6, 2023
6bb6f49
Add community metadata to database
EmiM Sep 7, 2023
0928c02
Do not save same csr twice
EmiM Sep 7, 2023
2f12545
change location of useModals hooks
Kacper-RF Sep 7, 2023
2f81d95
Merge branch 'feature/1558' of github.com:TryQuiet/quiet into feature…
Kacper-RF Sep 7, 2023
240dd1f
fix cypress tests
Kacper-RF Sep 7, 2023
06dd140
update snapshots
Kacper-RF Sep 7, 2023
99e8a46
Merge branch 'develop' into feature/1557
EmiM Sep 7, 2023
decf8f1
snapshots from CI
Kacper-RF Sep 7, 2023
10e982a
CI snapshots II
Kacper-RF Sep 7, 2023
82efd7f
Fix LoadingPanel useEffect
vinkabuki Sep 7, 2023
ab6916e
Add changelog note
vinkabuki Sep 7, 2023
ab76ad1
clean leftovers
vinkabuki Sep 7, 2023
6214655
Merge pull request #1769 from TryQuiet/fix/heisenbug-loaded-messages
vinkabuki Sep 7, 2023
091c5c6
cleanup
Kacper-RF Sep 7, 2023
5d7f961
Publish
Kacper-RF Sep 7, 2023
88e567c
cleanup
Kacper-RF Sep 7, 2023
8f4e038
Publish
Kacper-RF Sep 7, 2023
dd11cd6
Fix handleInvitationCode test; revive warning modal when no code is v…
EmiM Sep 7, 2023
f1fe680
Temporarly do not show "invitation code invalid" modal
EmiM Sep 7, 2023
912e3de
Rename address -> onionAddress in InvitationPair type
EmiM Sep 7, 2023
985278d
Cleanup
EmiM Sep 7, 2023
974324a
Fix
EmiM Sep 7, 2023
1cd5094
Fix backend tests
EmiM Sep 7, 2023
9a2b402
Fix
EmiM Sep 7, 2023
aed8825
Fix state-manager tests
EmiM Sep 7, 2023
92182af
Fix or skip desktop tests
EmiM Sep 7, 2023
6232b9c
Uncomment deeplink test on mobile
EmiM Sep 7, 2023
d4d60e5
Adjust e2e tests
EmiM Sep 7, 2023
af8003b
Merge branch 'develop' into feature/1557
EmiM Sep 7, 2023
0e51bc8
mobile - user label, unregistered and duplicated screens
Kacper-RF Sep 8, 2023
16fe337
DuplicatedUsername modal content
Kacper-RF Sep 11, 2023
6cfb017
add tests
Kacper-RF Sep 11, 2023
425abac
Merge pull request #1730 from UlisesGascon/docs/minor-typos
EmiM Sep 11, 2023
9cc6e9f
cross icon
Kacper-RF Sep 11, 2023
206578a
Merge branch 'develop' into feature/1558
Kacper-RF Sep 11, 2023
042ec96
Store csrs in redux
vinkabuki Sep 11, 2023
7b9168b
fix stories and tests
Kacper-RF Sep 11, 2023
5022d62
Fix/skip deepLink mobile tests
EmiM Sep 11, 2023
7362b47
Update changelog
EmiM Sep 11, 2023
b2f76dd
Merge pull request #1686 from TryQuiet/feature/1557
EmiM Sep 11, 2023
bd4b545
Merge pull request #1762 from TryQuiet/feature/1558
Kacper-RF Sep 11, 2023
8cbcbdc
Fix invitation url UI for long urls
EmiM Sep 11, 2023
61cb95f
Adjust tests to new invitation link
EmiM Sep 11, 2023
6929873
Merge branch 'develop' into fix/invitation-link-ui
EmiM Sep 11, 2023
e08fe30
Use csrs instead certificates for user data
vinkabuki Sep 11, 2023
8469efd
Merge branch 'develop' of github.com:TryQuiet/quiet into feature/unre…
vinkabuki Sep 11, 2023
c645846
Merged develop
vinkabuki Sep 11, 2023
4d5ed3f
Merge pull request #1761 from TryQuiet/chore/use-csr-for-signing-mess…
vinkabuki Sep 11, 2023
4b1bc43
Merge branch 'develop' of github.com:TryQuiet/quiet into feature/unre…
vinkabuki Sep 11, 2023
30311e1
Unregistered user can send messages
vinkabuki Sep 11, 2023
225e264
Merge pull request #1729 from UlisesGascon/chore/add-nvm
EmiM Sep 11, 2023
183b3bd
Merge pull request #1728 from UlisesGascon/fix/common-capitilize
EmiM Sep 11, 2023
17c9362
Merge pull request #1727 from UlisesGascon/fix/typo-channel-address
EmiM Sep 11, 2023
3b9f6bf
Merge pull request #1736 from UlisesGascon/chore/dependency-review
EmiM Sep 11, 2023
71002fc
Merge pull request #1734 from UlisesGascon/feat/add-dependabot
EmiM Sep 11, 2023
e374d0d
Merge pull request #1733 from UlisesGascon/chore/codeql
EmiM Sep 11, 2023
564aa65
Fix typo "Nevermind -> "Never mind" (#1675)
hongha912 Sep 11, 2023
ea10154
fix export from identity
Kacper-RF Sep 12, 2023
460d808
Display labels for unregistered users
vinkabuki Sep 12, 2023
b90c185
Add isDuplicate to users selector
vinkabuki Sep 12, 2023
b04c8b2
Add username duplication info to displayable message
vinkabuki Sep 12, 2023
56e8272
Merge pull request #1778 from TryQuiet/fix/invitation-link-ui
EmiM Sep 12, 2023
9605d91
desktop and mobile intagrated with state manager
Kacper-RF Sep 12, 2023
43513ed
fix duplicate usernames selector
vinkabuki Sep 12, 2023
5249807
Emit csrs on replicated event
vinkabuki Sep 12, 2023
71dd65d
Use pubkey instead of username when grouping messages
vinkabuki Sep 12, 2023
b661157
linter
vinkabuki Sep 12, 2023
7038cf4
Support backward compatibility, code quality
vinkabuki Sep 12, 2023
7c757d3
temporarily disable user label
Kacper-RF Sep 12, 2023
c41f273
fix stories, mobile tests and desktop tests
Kacper-RF Sep 12, 2023
6bca691
fix publicChannels selector test
Kacper-RF Sep 13, 2023
788e3e3
fix connection slice test
Kacper-RF Sep 13, 2023
3fa5214
Fix storybook
vinkabuki Sep 13, 2023
c371179
Merge branch 'feature/unregistered-users-send-and-receive-messages' o…
vinkabuki Sep 13, 2023
f553dd4
fix import
Kacper-RF Sep 13, 2023
c7d6e85
Merge branch 'feature/unregistered-users-send-and-receive-messages' o…
Kacper-RF Sep 13, 2023
bead1e8
fix story
Kacper-RF Sep 13, 2023
b83a5de
lint
Kacper-RF Sep 13, 2023
72b0bb1
load certificatesRequestDB on initialization
vinkabuki Sep 13, 2023
629547e
Merge branch 'feature/unregistered-users-send-and-receive-messages' o…
vinkabuki Sep 13, 2023
3b2056a
Fix double certs
vinkabuki Sep 13, 2023
8d91690
Put community metadata to db when launching registrar - temporary bac…
EmiM Sep 13, 2023
8cc9291
change connection info
Kacper-RF Sep 13, 2023
4bdeb34
Merge branch 'feature/unregistered-users-send-and-receive-messages' o…
Kacper-RF Sep 13, 2023
9f9b8b2
Merge pull request #1806 from TryQuiet/chore/community-metadata-for-o…
EmiM Sep 13, 2023
ea62236
Fix snapshots in desktop tests
EmiM Sep 13, 2023
6c434ad
transform for users slice
Kacper-RF Sep 14, 2023
304b181
add transform for mobile state
Kacper-RF Sep 14, 2023
0d9c3c6
more time for Win
Kacper-RF Sep 14, 2023
6c08670
iOS: Do not restart all services on foreground-background switch
vinkabuki Sep 14, 2023
0c54658
changelog
Kacper-RF Sep 14, 2023
0c00e14
fix
Kacper-RF Sep 14, 2023
9d39570
Merge pull request #1779 from TryQuiet/feature/unregistered-users-sen…
Kacper-RF Sep 14, 2023
06833a6
Publish
Kacper-RF Sep 14, 2023
7ea5a0b
Add method for dynamic auth cookie
vinkabuki Sep 14, 2023
ebfa5e6
Use safe area insets as offset value (#1804)
siepra Sep 14, 2023
2ffb942
Clarify autoupdate language
Sep 6, 2023
361bbcf
Add UpdateModal story
Sep 13, 2023
98c8478
Merge pull request #1808 from TryQuiet/chore/ios_startup_improvement
vinkabuki Sep 14, 2023
0accb70
Merge pull request #1774 from TryQuiet/pr-fix-update-modal-text
Sep 14, 2023
8a285e0
Try websocket connection blindly (#1815)
siepra Sep 15, 2023
1366d05
Chore/replace disabling inputs with splash (#1799)
siepra Sep 15, 2023
c3b03bf
add C4 diagrams, current views, readme
Kacper-RF Sep 15, 2023
c4179e6
add changelog
Kacper-RF Sep 15, 2023
1803b2b
fix views names
Kacper-RF Sep 15, 2023
c3f4380
resolve merge conflicts of master and develop
vinkabuki Sep 18, 2023
cba4d8c
lint code
vinkabuki Sep 18, 2023
dcd50b7
Restore upload artifact step on android build automation
vinkabuki Sep 18, 2023
2ab632a
set invitation link tab as default
Kacper-RF Sep 18, 2023
78a0c1f
Merge pull request #1824 from TryQuiet/chore/merge-master-to-develop
vinkabuki Sep 18, 2023
17fe970
visible userLabel
Kacper-RF Sep 18, 2023
716d240
Publish
Kacper-RF Sep 18, 2023
5bc795f
add changelog
Kacper-RF Sep 18, 2023
0a71115
Merge pull request #1825 from TryQuiet/bug/1764
Kacper-RF Sep 18, 2023
bb06dd8
code review fixes
Kacper-RF Sep 18, 2023
bb536e8
Merge branch 'develop' into feature/1777
Kacper-RF Sep 18, 2023
efd5a24
update container diagram
Kacper-RF Sep 18, 2023
6ee6954
Merge branch 'feature/1777' of github.com:TryQuiet/quiet into feature…
Kacper-RF Sep 18, 2023
56564d6
fix naming
Kacper-RF Sep 18, 2023
6c1212e
Merge pull request #1819 from TryQuiet/feature/1777
Kacper-RF Sep 18, 2023
a00a139
Feature/suspend socket events unitl ready (#1811)
siepra Sep 18, 2023
414165f
changelog update
Kacper-RF Sep 19, 2023
7b122f8
Publish
Kacper-RF Sep 19, 2023
d7ce064
Merge branch 'master' into mobile/releasable
siepra Oct 4, 2023
d152571
Mark packages private
siepra Sep 26, 2023
d964905
Add suffix to desktop package name
siepra Sep 26, 2023
6d8812f
Update desktop package-lock
siepra Sep 26, 2023
ae09ada
Don't trigger desktop e2e tests on mobile changes
siepra Oct 2, 2023
49a0b2c
Unify workflows naming
siepra Oct 2, 2023
b44f053
Enhance PR checklist with mobile specific checks
siepra Oct 2, 2023
8ee6666
Extract Desktop RTL tests
siepra Oct 3, 2023
5111b94
Change scope name in build actions
siepra Oct 3, 2023
ffe601f
Remove extra branches from lerna config
siepra Oct 3, 2023
8836260
Update setEnvs script
vinkabuki Oct 3, 2023
9cd14c9
Unblock mobile e2e tests
siepra Sep 29, 2023
cf704b4
Allow versioning from current branch
siepra Oct 4, 2023
2d01970
Publish
siepra Oct 4, 2023
a3f607d
Fix socket events queue
siepra Oct 4, 2023
2689938
Use better runner for Android build
siepra Oct 4, 2023
8c0a114
Publish
siepra Oct 4, 2023
49e87a2
Prevent running desktop e2e tests on wrong tag
siepra Oct 4, 2023
fe3e6d3
Add debug logs for deep link issue
siepra Oct 5, 2023
116c925
Publish
siepra Oct 5, 2023
a14fafb
Revert "Prevent running desktop e2e tests on wrong tag"
siepra Oct 5, 2023
ad96d8c
Prevent running desktop e2e tests on wrong tag
siepra Oct 9, 2023
94855a8
Ci/use self hosted runner (#1931)
siepra Oct 9, 2023
fbd0ea0
Fix/deeplinking (#1935)
siepra Oct 9, 2023
e634868
Publish
siepra Oct 9, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/actions/before-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ runs:
shell: bash

- name: "Build the project"
run: lerna run build:prod --scope quiet
run: lerna run build:prod --scope @quiet/desktop
shell: bash
9 changes: 8 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,11 @@
### Pull Request Checklist

- [ ] I have linked this PR to related GitHub issue.
- [ ] I have updated the CHANGELOG.md file with relevant changes (the file is located at the root of monorepo).
- [ ] I have updated the CHANGELOG.md file with relevant changes (the file is located at the root of monorepo).

### (Optional) Mobile checklist

Please ensure you completed the following checks if you did any changes to the mobile package:

- [ ] I have run e2e tests for mobile
- [ ] I have updated base screenshots for visual regression tests
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Visual regressions
name: Desktop visual regressions

on:
pull_request:
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,quiet,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"

- name: "Publish to Chromatic"
uses: chromaui/action@v1
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@ jobs:
uses: ./.github/actions/setup-env
if: ${{ runner.os != 'Windows' }}
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,quiet,@quiet/mobile,e2e-tests,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,@quiet/mobile,e2e-tests,backend-bundle"


- name: "Setup environment for Windows"
uses: ./.github/actions/setup-env
if: ${{ runner.os == 'Windows' }}
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,quiet,e2e-tests,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,e2e-tests,backend-bundle"

- name: "Lint"
if: ${{ runner.os != 'Windows' }}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,23 +1,32 @@
name: Build release
name: Desktop release build

on:
release:
types:
[released, prereleased]

jobs:

run-e2e-tests-linux:
if: |
startsWith(github.ref, 'refs/tags/@quiet/desktop')
uses: ./.github/workflows/e2e-linux.yml

run-e2e-tests-mac:
if: |
startsWith(github.ref, 'refs/tags/@quiet/desktop')
uses: ./.github/workflows/e2e-mac.yml

run-e2e-tests-win:
if: |
startsWith(github.ref, 'refs/tags/@quiet/desktop')
uses: ./.github/workflows/e2e-win.yml

build-linux:
# needs: run-e2e-tests-linux
runs-on: ubuntu-22.04
if: |
startsWith(github.ref, 'refs/tags/quiet')
startsWith(github.ref, 'refs/tags/@quiet/desktop')

env:
TEST_MODE: ${{ github.event.action == 'prereleased' }}
Expand All @@ -30,7 +39,7 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,quiet,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"

- name: Install libfuse
run: sudo apt install libfuse2
Expand All @@ -52,7 +61,7 @@ jobs:
run: cd packages/desktop && USE_HARD_LINKS=false node_modules/.bin/electron-builder -p always --linux ${{ env.ELECTRON_BUILDER_PROPS }}

- name: "Calculate new checksum for electron updater"
run: lerna run postBuild --scope quiet
run: lerna run postBuild --scope @quiet/desktop

- name: "Push electron-updater new checksum to S3"
uses: vinkabuki/upload-s3-action@master
Expand Down Expand Up @@ -89,7 +98,7 @@ jobs:
# needs: run-e2e-tests-mac
runs-on: macos-latest
if: |
startsWith(github.ref, 'refs/tags/quiet')
startsWith(github.ref, 'refs/tags/@quiet/desktop')

env:
TEST_MODE: ${{ github.event.action == 'prereleased' }}
Expand All @@ -111,7 +120,7 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,quiet,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"

- name: Before build
uses: ./.github/actions/before-build
Expand Down Expand Up @@ -162,7 +171,7 @@ jobs:
# needs: run-e2e-tests-win
runs-on: windows-2019
if: |
startsWith(github.ref, 'refs/tags/quiet')
startsWith(github.ref, 'refs/tags/@quiet/desktop')

env:
TEST_MODE: ${{ github.event.action == 'prereleased' }}
Expand All @@ -189,7 +198,7 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,quiet,backend-bundle,e2e-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests"

- name: Before build
uses: ./.github/actions/before-build
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/desktop-rtl-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Desktop - state-manager bracket tests (RTL)

on:
pull_request:
paths:
- packages/desktop/**
- packages/state-manager/**

jobs:
desktop-tests:
timeout-minutes: 25
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-20.04, macos-latest]

steps:
- name: "Print OS"
run: echo ${{ matrix.os }}

- uses: actions/checkout@v3

- name: "Setup environment"
uses: ./.github/actions/setup-env
with:
cachePrefix: "desktop-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"

- name: "Desktop - state-manager bracket tests"
run: lerna run rtl-test --scope @quiet/desktop --stream
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Scroll regression tests
name: Desktop scroll regression tests

on:
pull_request:
Expand All @@ -23,7 +23,7 @@ jobs:
- name: Setup environment
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,quiet,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"

- name: "Install libs"
run: sudo apt-get update && sudo apt-get install -y libgtk2.0-0 libgtk-3-0 libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ jobs:
uses: ./.github/actions/setup-env
with:
cachePrefix: "desktop-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,quiet,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"

- name: "Unit tests"
run: lerna run test --scope quiet --stream

- name: "desktop-state-manager bracket tests"
run: lerna run rtl-test --scope quiet --stream
run: lerna run test --scope @quiet/desktop --stream
10 changes: 9 additions & 1 deletion .github/workflows/e2e-crossplatform.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: E2E cross platform

on: [pull_request]
on:
pull_request:
paths:
- packages/desktop/**
- packages/backend/**
- packages/state-manager/**
- packages/identity/**
- packages/common/**

jobs:
mac:
uses: ./.github/workflows/e2e-mac.yml
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/e2e-ios.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: E2E iOS

on:
pull_request:
paths:
- packages/mobile/**

jobs:
detox:
timeout-minutes: 10
runs-on: [self-hosted, macOS, ARM64]

steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
npm i
npm run lerna bootstrap --scope @quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle

- name: Pull binaries
run: |
git lfs install
git lfs pull

- name: Install pods
run: |
cd packages/mobile/ios
pod install

- name: Build Detox
run: |
cd packages/mobile
detox build -c ios.sim.debug.ci

- name: Run basic tests
run: |
cd packages/mobile
detox test starter -c ios.sim.debug.ci
2 changes: 1 addition & 1 deletion .github/workflows/e2e-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: ./.github/actions/setup-env
with:
cachePrefix: "e2e-crossplatform-linux"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,quiet,backend-bundle,e2e-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests"

- name: Run X11
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: ./.github/actions/setup-env
with:
cachePrefix: "e2e-crossplatform-mac"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,quiet,backend-bundle,e2e-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests"

- name: Before build
uses: ./.github/actions/before-build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: ./.github/actions/setup-env
with:
cachePrefix: "e2e-crossplatform-windows"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,quiet,backend-bundle,e2e-tests"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle,e2e-tests"

- name: "Fetch jsign"
shell: bash
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy Android to Google Play (internal testing)
name: Deploy Android to Google Play

on:
release:
Expand All @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-20.04]
os: [ubuntu-latest-m]

steps:
- name: "Print OS"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,7 @@ jobs:
- name: "Setup environment"
uses: ./.github/actions/setup-env
with:
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,quiet,backend-bundle"
bootstrap-packages: "@quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/desktop,backend-bundle"

- name: "Unit tests"
run: lerna run test --scope @quiet/state-manager --stream

- name: "desktop-state-manager bracket tests"
run: lerna run rtl-test --scope quiet --stream
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules
lerna-debug.log
c4/.structurizr
c4/workspace.json
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.12.1
33 changes: 33 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
[[email protected]]

* Suspends certain websocket events until backend becomes fully operative (faster and dumber frontend).

* Replaced greying out inputs with splash screen on joining/creating screens.

* Fixes empty space between chat's input and a soft keyboard on iOS devices.

* Changed registration process - user connects to the libp2p network directly instead of using registrar. Invitation link format changed. User csr is now saved to database.

* Fixed android stucking on username registration screen introduced in previous alpha.

* Added creator username to initial channel message.

* Fixed bug with changing joining community/create community screens with required field.

* Fixed bug with displaying incorrect default settings tab.

* Replaced source of publicKey in sendMessage saga to CSR

* Labels for unregistered and duplicate usernames with modals

* Fixed LoadingPanel useEffect bug.

* Use csrs instead of certificates as a source of user data

* Integration state manager layer with UI layer(desktop and mobile)

* Clarify autoupdate language in update modal to let users know that the app will update on restart.

* C4 for Quiet architecture. Context and Container diagrams.

* Invite tab as default in settings
28 changes: 28 additions & 0 deletions c4/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Quiet C4 Diagrams

Quiet architecture presented on C4 diagrams. Currently it uses 2 diagrams - Context and Container.

Made in Structurzir

Current views saved in `/current`

## Run locally

1. Make sure you have Docker installed
2. Run command in terminal: ```docker pull structurizr/lite```
3. Run docker container inside your Quiet directory and choosen porsts, example : ```docker run -it --rm -p 8080:8080 -v /__PATH_TO_REPOSITORY__/c4:/usr/local/structurizr structurizr/lite```
4. Open `http://localhost:8080/`

## Editing

Everything is in file `workspace.dsl`

After change, save file and reload page.

Highly recommend extenstions for VSC: C4 DSL Extension and Structurizr.

## Docs

https://c4model.com/

https://docs.structurizr.com/
Binary file added c4/current/C1-Context.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added c4/current/C2-Container.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading