Commit Graph

3755 Commits (d1a33ad7b5cb04e9aee109d183bdf53608068e14)

Author SHA1 Message Date
Audric Ackermann d9e504afa0 Merge remote-tracking branch 'upstream/clearnet' into mark-all-as-read-optimization 3 years ago
Audric Ackermann 1e202fcdab feat: add theme switcher +accent color from settings
not all of the logic is linked and not all of the colors are there as this is part of theming
3 years ago
Audric Ackermann 20d9abc05b
Merge branch 'clearnet' into pr26 3 years ago
William Grant 5d6dd048ab fix: use isUsFromCache instead of getOurPubKeyStrFromCache 3 years ago
William Grant 5f49d3084b fix: dont need isequal for comparing numbers 3 years ago
William Grant 1a44f5cb66 feat: added additional reactor information to the ReactListModal 3 years ago
William Grant 07c56e79f2 fix: make reaction UI updates when reacting faster in 1-1 and closed groups 3 years ago
Audric Ackermann 98ea07a361 fix: right margin on body shorted than author name 3 years ago
William Grant 8b8be7a45d Merge branch 'clearnet' into reactions_fixes 3 years ago
William Grant 7a80e18327 fix: improved react popup localisation, review fixes 3 years ago
Audric Ackermann 21a414cdf0
Merge pull request #2447 from Bilb/fix-replying-attachment-failing
fix: skip attachment without path when replying to a message
3 years ago
Audric Ackermann c0cc74593e fix: skip attachment without path when replying to a message
This can happen if the attachment is still downloading, or could not be
downloaded. The message will have attachments or thumbnails, without
valid data associated to it.
This fix makes sure we don't try to load invalid paths when trying to
gather the attachments and previews
3 years ago
Audric Ackermann a61d549466
Merge pull request #2438 from Bilb/fix-rounded-border-messages
fix: rounded corners around messages
3 years ago
Audric Ackermann 95c7e6b152
Merge pull request #2437 from Bilb/fix-drop-incoming-empty-messages
fix: make sure we drop empty messages from the main sogs pipeline
3 years ago
Audric Ackermann 7e32880ab0 fix: use js variables instead of css variables for Message corners 3 years ago
William Grant 80d726659c Merge branch 'clearnet' into reactions_fixes 3 years ago
Audric Ackermann c198127793
Merge pull request #2441 from Bilb/fix-issue-2308
fix: do not scroll back to unread banner when deleting msgs
3 years ago
Audric Ackermann 2776079d19
Merge pull request #2435 from Bilb/fix-attachment-not-showing-right-panel
fix: mark message as having attachmnents once data is uploaded
3 years ago
Audric Ackermann 8649483503 fix: add comments to isMessageEmptyExceptReaction and isMessageEmpty 3 years ago
William Grant 05b7bdb956 fix: show correct count value for open group reactions 3 years ago
Audric Ackermann c54a438f7c fix: add some aria labels and match QA test 3 years ago
William Grant d77c9fa824 fix: sogs reactions work again and added rate limiting 3 years ago
Audric Ackermann 98b1302589 fix: rounded corners around messages
looks like node-sass tries to be too clever
3 years ago
Audric Ackermann b638733090 fix: do not scroll back to unread banner when deleting msgs
Relates #2308
3 years ago
William Grant 4889cb5b32 fix: ReactionList Senders is now an array since we want to handle opengroup reactions separately
we no longer need the messagehash and server id for rendering reactions in the UI, ignore reactions using the outdated type
3 years ago
Audric Ackermann 3e2a32922a fix: getUnread() messages should have the json as object rather than str 3 years ago
Audric Ackermann 4a3d970a35 fix: make sure we drop empty messages from the main sogs pipeline 3 years ago
Audric Ackermann 56ee7fe7ac
Merge pull request #2436 from Bilb/fix-shortening-last-message
fix: shorten further the last message
3 years ago
Audric Ackermann 268ea40746 fix: increase shorten length of the lastMessage saved in DB 3 years ago
Audric Ackermann f137cad2a0 feat: add the BlockedList component in Settings 3 years ago
William Grant bf7badd2e1 fix: include you property in open group reaction updates 3 years ago
Audric Ackermann 9df6f209c4 fix: mark message as having attachmnents once data is uploaded
this is to make those media visible on the right panel.
This only happens for attachments we are sending
3 years ago
Audric Ackermann ba41e92720 fix: drop friendRequestStatus before saveConversation in migrations 3 years ago
Audric Ackermann 85219d3827 fix: scrollbar colors and some UI issues found by QA 3 years ago
William Grant 0600416f77 fix: clearing your own reaction from the clear modal should close it 3 years ago
Audric Ackermann bf20c10f81 fix: make use of useSet to select in memberList 3 years ago
Audric Ackermann ef10e0f1d9 chore: move typing animation to styled components 3 years ago
Audric Ackermann ff3d7ce226 feat: update settings Help page with new items and links 3 years ago
Audric Ackermann 5ad8c6fa74 Merge remote-tracking branch 'upstream/clearnet' into settings-redesign 3 years ago
Audric Ackermann e09e38911f refactor: fix PR reviews 3 years ago
Audric Ackermann 866527de17 fix: make sure a double click on the picker does not trigger reply msg 3 years ago
Audric Ackermann 81fa09b8ee Merge branch 'menu-redesign' into settings-redesign 3 years ago
Audric Ackermann f87d902c98 fix: PR Reviews 3 years ago
Audric Ackermann ef1f634e6b Merge remote-tracking branch 'upstream/clearnet' into menu-redesign 3 years ago
Audric Ackermann 530ed5991a
Merge pull request #2423 from Bilb/track-hidden_mods-hidden-admins-too
fix: track hidden mods and admins if we get them
3 years ago
Will G 267f49ff1e
Emoji Reacts (#2320)
Add support for emoji reacts in conversations

Resolves #2375 and #1577
3 years ago
Audric Ackermann 7e395384fd feat: add the preview button of notifications in settings 3 years ago
Audric Ackermann 13bf0e073d feat: update design of the Notification Settings screen
the preview button is not linked yet
3 years ago
Audric Ackermann 7b7a80a2dd fix: add new designs of typing message settings with animation 3 years ago
Audric Ackermann 0e65b667a8 chore: move onion dialog components to styled 3 years ago
Audric Ackermann 39cbbda609 chore: move SessionToggle & SettingList to styled 3 years ago
Audric Ackermann a0d3a00afa feat: start of settings screen redesign 3 years ago
Audric Ackermann cfbb58aa7f fix: remove logs of HF 19.0 and 19.1 values 3 years ago
Audric Ackermann 5266a24d88 fix: track hidden mods and admins if we get them 3 years ago
Audric Ackermann 75ce27e602 fix: finish menu redesign 3 years ago
Audric Ackermann 542c704b64 feat: add search by contacts to closed group overlay 3 years ago
Audric Ackermann cac63a7edb fix: integration tests with the new design 3 years ago
Audric Ackermann 7bbbc74fa8 feat: make the tick on memberList a radio looking element 3 years ago
Audric Ackermann 970e719229 chore: move session radio group to styled components
also clean up unused css
and move some elements from OverlayClosedGroup to styled components
3 years ago
Audric Ackermann f415ef36dd feat: add sorted contacts list merged by starting char 3 years ago
Audric Ackermann 374b71630a feat: wrap up the new Join Community overlay 3 years ago
Audric Ackermann 282e631f73 feat: add menu action and action chooser left pane option 3 years ago
Audric Ackermann 9e3b76dd28 fix: catch exception when raised in last dljob
this is for attachment download. We don't want  to throw an uncaught
exception in the catch block
3 years ago
Audric Ackermann 19e48c2629 fix: drop column friendRequestStatus if exists 3 years ago
Audric Ackermann ef9b2dfc80 fix: pass the db instance during db migration 3 years ago
Audric Ackermann 9cf874db5e
Merge pull request #2414 from Bilb/sogs-convo-dedup
Sogs convo dedup + fix sogs fetching of sogs messages
3 years ago
Audric Ackermann eabee8f39a fix: split migrations and sql files
also address PR reviews
3 years ago
Audric Ackermann e6b0315a25 fix: trigger sync and initial sogs polling after app start 3 years ago
Audric Ackermann 18ab715e93 fix: sogs messages being skipped and not handled 3 years ago
Audric Ackermann 2faab12c2f chore: update comments about parrallelism in AttachmentJobs 3 years ago
Audric Ackermann fac41bc6c4 fix: migrate session sogs room to their DomaiName syntax 3 years ago
Audric Ackermann 9b405b86ab fix: do not attempt to connect to an sogs already join
make sure we consider http://, https:// and no protocol at all to look
for matches
3 years ago
Audric Ackermann c08f761d47 fix: revert to allow 3 attachments download at a time 3 years ago
Audric Ackermann e6cd277bd2 fix: allow non admin mods to delete message for deletion 3 years ago
Audric Ackermann ef27153c69 fix: make sure existing sogs convo do not break on save
the app was crashing if a convo with an invalid read/write/upload capability was saved during a migration
3 years ago
Audric Ackermann 3d05d35bbb fix: sogs deleted message now comes with `deleted` field set to true 3 years ago
Audric Ackermann 242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver (#2347)
* Added Onionv4 support to file server, sogs and pn server
* Added blinded message support
* Updated endpoints for sogs and file server to remove legacy ones
3 years ago
Audric Ackermann 40c0b8205e
Merge pull request #2386 from Bilb/fix-call-missed-too-old
fix: show call missed message on call too old received
3 years ago
Audric Ackermann 354022f83d
Merge pull request #2359 from ianmacd/pr33
Trim leading and trailing whitespace on message composition and display.
3 years ago
Audric Ackermann 1feb6ad4df
Merge pull request #2334 from burtonemily/fix_read_receipts
fixing the saved media read receipt
3 years ago
Audric Ackermann c360f8b07c
Merge branch 'clearnet' into pr26 3 years ago
Audric Ackermann e950074d90
Merge pull request #2380 from yougotwill/patch-2
refactor: Removed duplicate check in Message getDescription()
3 years ago
Audric Ackermann 21af9b5c1b
fix: show call missed message on call too old received 3 years ago
Sean Darcy 76a4de692e configure desktop icon for linux appImages 3 years ago
Will G 09dec1246a
refactor: Removed duplicate callNotificationType check in Message getDescription() 3 years ago
William Grant dfb2c3e797 fix: pass yarn ready tests 3 years ago
William Grant d3d0ac80a0 feat: you can now choose where to save the debug logs
debug log window now follows the app theme, logs are save as txt
3 years ago
William Grant aef6d9e8a7 fix: global error copy to clipboard option must not quit the app
this allows for easier debugging. The user must explicitly quit the app when the error window is shown using the quit button
3 years ago
Ian Macdonald aeb5caf921
Trim leading and trailing whitespace on message composition and display. 3 years ago
Audric Ackermann 9251711fa5
fix: optmize markAllAsRead when no expiration timer
we basically do a single sql call to mark everything as read for that
conversation, force unreadCount to 0 and mention state to false, and
trigger read syncs if needed.

the optomization cannot work for conversation with expiration timer for
now
3 years ago
Emily 775ddfda12 fixing the saved media read receipt 3 years ago
Audric Ackermann 19decad766
fix: send read receipt when settings ON and window focused 3 years ago
Audric Ackermann f84762c889
fix: attachments download job trying to send function over ipc 3 years ago
Audric Ackermann beb36c1a46
Merge pull request #2328 from Bilb/fix-auto-play-audio-messages-on-load
fix: disable auto play of audio messages on message first load
3 years ago
Audric Ackermann c3b9cd2b41
fix: error when trying to reply to an attachment
Relates #2327
3 years ago
Audric Ackermann 83b44d0abf
fix: disable auto play of audio messages on message first load 3 years ago
Ian Macdonald 0a5add5869
Update message expiry comment to match what the code does.
The code was changed in c8e7be066e on
2022-04-20, but the associated comment was not updated accordingly.
3 years ago
Audric Ackermann 3595efea99
Merge pull request #2319 from oxen-io/fix-read-receipt
fix: read receipts handling for private chats
3 years ago
Audric Ackermann bfda4c7c01
fix: make sure a convo exists before returning it in search results
There is an edge case if you are in the search results page, and delete
(or get a convo deleted from the network).
The corresponding convo does not exist anymore but the search result
selector still tries to extract values from it.

This commit fixes that issue by returning early if the corresponding
convo is not there anymore
3 years ago
Audric Ackermann 55869fbe37
fix: swap confirm and cancel buttons in the confirmDialog 3 years ago
Audric Ackermann 3713e95a9f
feat: ask user for opengroup pruning on/off 3 years ago
Ian Macdonald 695e867221
Add setting to specify minimum age of open group messages to prune.
When an open group has more than 2000 messages, those older than the
specified number of months will be pruned on application start-up.

Fixes #2310.
3 years ago
Audric Ackermann d5e3f73035 fix: read receipts handling for private chats 3 years ago
Audric Ackermann ea24da0f28
Merge pull request #2318 from oxen-io/fix-release-build
fix:  release build and new contact test
3 years ago
Audric Ackermann f654b0666b fix: contact seed nodes one at a time only
also includes a fix to fix the release builds
3 years ago
Audric Ackermann 71a3e13ea5 test: fix new contact test to use waitForMatchingText 3 years ago
Audric Ackermann e3edff45bd
Merge pull request #2307 from ianmacd/pr27
To aid debugging, don't redact strings when building for devprod.
3 years ago
Audric Ackermann ec76057c5e
Merge integration test (#2313)
* Testing playwright for Desktop automation

* add more data-testid field

* remove commited test-results

* test: skip group upkeep for now

* test: mention test create group instead of restoring from seed

* test: run on testnet

* fix: revert messagebanner unread count changes

from commit 8107d75e89

Co-authored-by: Emily <emily@oxen.io>
3 years ago
Ian Macdonald 5f7822563a
To aid debugging, don't redact strings when building for devprod. 3 years ago
Audric Ackermann d9bc2c5c47
fix: revert unread count color 3 years ago
Audric Ackermann 8de8f014dd
fix: password input errors in seeddialog 3 years ago
Audric Ackermann 26187da521
force duplicates to -10 and 0 for closed groups between HF 3 years ago
Audric Ackermann 02ed40455f
fix: run the cleaning opengroup transaction on startup 3 years ago
Audric Ackermann cfab7057fb
fix moment locale globally 3 years ago
Will G 511567bc78
fix: emoji panel light mode support (#2292)
* fix: emoji panel light mode support

* fix: link darkMode prop to redux state

* fix: use getTheme selector directly
3 years ago
Audric Ackermann 2b1601df2e
Merge pull request #2271 from Bilb/fix-start-app-no-account
fix start of app without account setup
3 years ago
Audric Ackermann 623ad33923
fix start of app without account setup 3 years ago
Audric Ackermann e4e9d535fc
Merge pull request #2290 from Bilb/pre-hf-inboxes
Add inboxes to retrieve & polling of messages and detection of hardfork
3 years ago
Audric Ackermann 6c05ff3c07
move useTestNet to featureFlag dependent on ENV variables 3 years ago
Audric Ackermann 0199e9e027
Merge pull request #2284 from ianmacd/pr22
Report number of deletions when a deletion operation completes.
3 years ago
Audric Ackermann ef62ffaa83
Merge pull request #2285 from ianmacd/pr23
Fix unfilled variable when user deletes messages only for himself.
3 years ago
Audric Ackermann 9bd8b73a0c
fix testnet 3 years ago
Ian Macdonald e0e8f8f444
Fix unfilled variable when user deletes messages only for himself. 3 years ago
Ian Macdonald 09be936aa4
Report number of deletions when a deletion operation completes. 3 years ago
Ian Macdonald 0991c23658
Fix typo in constant name. 3 years ago
Audric Ackermann d948045e6a
added hf switching of poll&store requests + tests 3 years ago
Audric Ackermann 363977b358
add polling from namespace 0 and storing lastHash with namespace 3 years ago
Audric Ackermann 50ca1bcda9
added namespace field and signature using it for our own 'retrieve' 3 years ago
Audric Ackermann b93201fbe6
When deleting multiple messages, inform the user of the number
taken from #2263 by @ianmacd
3 years ago
Audric Ackermann bfb33d14c5
Merge pull request #2269 from Bilb/get-initials-skip-non-alphabet-chars
Get initials skip non alphabet chars
3 years ago
Audric Ackermann 71aa6e8bb4
lint and add test for getInitials and name with '-' as separator 3 years ago
Audric Ackermann 5c9c7173f0
Merge remote-tracking branch 'i/pr9' into get-initials-skip-non-alphabet-chars 3 years ago
Audric Ackermann a115d385dd
merge linkify component to messagebody as this is the only one using it 3 years ago
Audric Ackermann cae4d46492
allow to save attachments even if there is multiple of them
This is a bit dirty for now

Relates #2229
3 years ago
Audric Ackermann 1933bc8270
Merge pull request #2264 from ianmacd/pr19
Style message request counter as per conversation message count.
3 years ago
Audric Ackermann da9df532b0
Merge pull request #2242 from Bilb/node-side-in-ts
Node side + web worker in typescript
3 years ago
Audric Ackermann 8b299b6153
Merge koray fixes for emoji selection 3 years ago
Audric Ackermann 851d5280e0
fixup build appImage sqlite3 module not found 3 years ago
Audric Ackermann 0efce6ea2d
updating workflows actions version 3 years ago
Ian Macdonald 8107d75e89
Style message request counter as per conversation message count. 3 years ago
Audric Ackermann 4010373a7b
make sure we do not save more than one entry in the read_by
Session has read by only for private chats, so we do not care about
having more than one entry  in read_by
3 years ago
Audric Ackermann 368c0cd01b
drop sourceDevice and other unused json fields from msg table 3 years ago
Audric Ackermann 5c8e2b4044
cleanup swarm unused after removing unused convos 3 years ago
Audric Ackermann 2207b53890
add a test to make sure the targets in package.json are well formatted 3 years ago
Audric Ackermann b8498f7a2b
fix display of spinner while db decrypting 3 years ago
Audric Ackermann 1e713de511
Merge remote-tracking branch 'k/spinner-on-load' into node-side-in-ts 3 years ago
Audric Ackermann dbcae0f844
fix logs privacy test 3 years ago
Audric Ackermann 7c1707f48e
drop old messages of opengroup 3 years ago
Audric Ackermann c8e7be066e
remove messages from opengroup > 2k messages and older than 6 months 3 years ago
Audric Ackermann 335e452730
moved DebugLogView to components folder 3 years ago