Commit Graph

275 Commits (009795eb3b344d3cf9eeac68a0c46d3483a6efbc)

Author SHA1 Message Date
William Grant 5285d4240a fix: resolved missing selected conversation hooks imports 2 years ago
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 41ca0666ce chore: remove () => void for misused promises 2 years ago
Audric Ackermann ab946e69b1 fix: finish updating dependencies 2 years ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 2 years ago
William Grant ed2a372ca3 Merge branch 'unstable' into feature/ses-145/leave-conversation-update 2 years ago
Audric Ackermann 9a7ef4d373 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
wafflesvsfrankie 53558932a7
Merge branch 'oxen-io:clearnet' into integration_tests_2 2 years ago
Audric Ackermann 594eee698b Merge remote-tracking branch 'upstream/clearnet' into unstable 2 years ago
William Grant d37aa42084 Merge branch 'unstable' into feature/ses-145/leave-conversation-update 2 years ago
Audric Ackermann 1d9279c79c chore: merge conversation selectors into a single file
as the circular dependency was causing a createSelector called with
undefined issue on startup without user loggedin
2 years ago
Audric Ackermann 5d2d901aa0 Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 3eb629e33e fix: cleanup convo selectors to hope to improve performances 2 years ago
William Grant e7f3bb5abf fix: if there is no last message, we still want to display the interaction status
loading state shows correctly in all cases, cleanup as well
2 years ago
William Grant 24776c0d5c feat: moved convo model interaction props into the lastMessage logic
this makes it easier to interact with since if an interaction fails we save it to the db as a message
2 years ago
William Grant ad08372f2a feat: added headerReverse prop to SessionConfirm modal
adjusted styling and rendering of confirmation text and sub text
2 years ago
William Grant 9cd95bbcf1 fix: remove AdminLeaveClosedGroupDialog
added new leave group dialog strings
2 years ago
William Grant 45ed2d5c05 fix: rename useConversationInteractionState to useConversationInteractionPropsById
extracted useLastMessageFromConvo to param selectors and renamed to useLastMessage, moved InteractionItem into MessageItem
2 years ago
William Grant 454e382ce4 feat: moved interaction logic to use conversation model
added fail text color to interaction item
2 years ago
William Grant 8a7007e7c3 feat: added interaction properties to conversation modal and started UI changes in ConversationListItem based on confirming an interaction
still to to port the original modal checks to use thd convo props
2 years ago
William Grant c492fad4ee feat: added support for tracking the confirmation process status and its type
attempting to show this status inside of the ConversationListItem message section, show confirmation modal when leaving private chats
2 years ago
Audric Ackermann 461b192f37 fix: mod and admin actions on message context menu for communities 2 years ago
Audric Ackermann 4637f4609a Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage 2 years ago
William Grant d706ecdead fix: show authorName in reply ui 2 years ago
William Grant d7bc8213d6 fix: community quotes now dont break the app 2 years ago
Emily 75c42356c7 Adding in data test-id to path light and fixing disappearing messages test 2 years ago
Audric Ackermann 2068737cdd fix: break down deleteContact based on convo type 2 years ago
Audric Ackermann 3827298078 Merge remote-tracking branch 'emily/integration_tests_2' into onboarding-with-integrationtest-2 2 years ago
Emily 9e3a569fac Adding tests set nickname, call checks, change profile picture on linked device and unsend message check. Adding into data-testids for aforementioned tests and cleaning up typings 2 years ago
Audric Ackermann 2a4bbbd587 feat: add the deleteContact and deleteConversation only menu items 2 years ago
Audric Ackermann 6f6620f622 fix: skip new group messages when receved after group was removed 2 years ago
Audric Ackermann bac2887c28 fix: update with latest libsession util 2 years ago
Audric Ackermann 44483b7d23 fix: use releaseFeature from disappearing message PR as featureFlag 2 years ago
Audric Ackermann 8edb1275c2 fix: keep updating dumps even if user config feature is off 2 years ago
Audric Ackermann 051c4bb262 fix: merge the confSyncDumpJob into the confSyncJob 2 years ago
William Grant 778f575bb6 fix: pass yarn ready 2 years ago
William Grant 4c64997607 fix: log but continue if there are errors while clearing out sogs inboxes 2 years ago
William Grant 462f96341e fix: iterate allRoominfos map correctly
testing complete
2 years ago
William Grant 19025cd7e0 feat: abstracted getAllValidOpenGroupV2ConversationRoomInfos function and handled the response correctly
just need to do testing
2 years ago
William Grant db00ed8827 feat: added delete option to inbox request in sogs, linked with delete account modal
still needs testing and handling the response see TODO CONTINUE
2 years ago
Audric Ackermann 0e286142f1 chore: add a redux settings slice, currently outdated banner inc 2 years ago
Audric Ackermann 3ecc89fab3 Merge remote-tracking branch 'upstream/master' into onboarding 2 years ago
Audric Ackermann 3ff7281b6a chore: remove isGroup from the redux stored entry
as it is always = !isPrivate
2 years ago
Audric Ackermann 0050352470 chore: move selected convo selectors to another file 2 years ago
Audric Ackermann bf2456df8e chore: do not store mentionedUs and unreadCount as attribute in convo 2 years ago
Audric Ackermann c4e17d0825 fix: add mgmt of members in user groups wrapper 2 years ago
Audric Ackermann bc905bdba1 feat: start of community handling in libsession util
also remove tracking of hashes for config namespaces
2 years ago
Audric Ackermann c4217cb564 feat: sync nickname, blocked and approved status for contacts 2 years ago
William Grant e5f1e65194 feat: added ability to save qr codes on click
recovery phrase modal ui layout is now the same as edit profile modal, fixes for yarn ready
2 years ago
tomobre 46c166d0d5 fix: undefined country removed strings in onion status 2 years ago
William Grant a8b8692016 fix: improved reaction alignment based on avatar visibility 2 years ago
Audric Ackermann 4bfcf91193 fix: add return types for libsession wrapper functions 2 years ago
Audric Ackermann 9cf1419ca5 feat: add first try to build SharedConfigMessages 2 years ago
Audric Ackermann d1cefd4729 feat: add contacts & user profile handling of incoming messages 2 years ago
Audric Ackermann 68852a9e63 chore: move syncUtils to its own folder 2 years ago
Audric Ackermann d7bcf1026f fix: refactor snodeRPC to use snode batching 2 years ago
Audric Ackermann ec5f3307ac test: fix integration tests 3 years ago
William Grant 367c0c94d0 Merge branch 'clearnet' into theming 3 years ago
William Grant 2a0396d522 fix: qa feedback - fixed background for group member list in create group overlay 3 years ago
William Grant 69d5e2ea41 fix: qa feedback - updated recovery phrase password modal to match password modals 3 years ago
William Grant 4657181993 fix: qa feedback - updated input box styling and tweaked modals 3 years ago
William Grant de94d2e64a fix: pr review - create selectors for isDarkTheme and isLight Theme 3 years ago
William Grant 5b44565b5f Merge branch 'clearnet' into theming 3 years ago
William Grant cf8a66a82b fix: resolved all outstanding theming todos 3 years ago
Audric Ackermann 4e913f1439 fix: displayName allowed length based on bytes rather than char 3 years ago
William Grant 0d10667d6e feat: updated settings password modal 3 years ago
Audric Ackermann ea35399e5b
Merge pull request #2531 from Bilb/fix-rerenders-reactListModal
fix: rerender loop of react list modal
3 years ago
Audric Ackermann 51e03cf4e5 fix: rerender loop of react list modal
update redux related libraries
and update imports to use the RTK ones
3 years ago
Audric Ackermann b30499568f fix: copy of in various dialogs 3 years ago
William Grant 0f3a23779a Merge branch 'clearnet' into theming 3 years ago
William Grant adf370997e feat: added theming to the about page 3 years ago
William Grant 8fae1f979b feat: themed confirm and react modals 3 years ago
William Grant dda9067e01 feat: theme editprofile, onion status and seed modals
styled qr code and cleanup
3 years ago
William Grant a47e96ca34 feat: themed modal colors and making progress through different dialogs
styled inputs in modals, fixed member list item and radio button styling, fixed some borders
3 years ago
Audric Ackermann 1fb082917f fix: copy of login screen with password and setting screen 3 years ago
William Grant b3885bf9d9 Merge branch 'clearnet' into theming
Link previews are broken for now
3 years ago
Audric Ackermann d944379dd7 fix: update copy and clear account modal 3 years ago
Audric Ackermann dcf2f96c9f fix: address regression tests UI issues 3 years ago
William Grant e5bfda37af feat: primary color switching now persists
fixed isDarkMode, will need to confirm when we add ocean themes
3 years ago
William Grant edefa21a2b feat: we can now toggle to the classic dark theme
fixed ocean dark colors and updating theme setting logic
3 years ago
William Grant 27e19f3afa feat: updated SessionIconButton to support themes 3 years ago
William Grant 060cbd3bbf feat: added proper theming to password popup
cleaned up redundant session label options
3 years ago
William Grant 073a41b6aa feat: updated calls UI
except for background color, waiting on designs
3 years ago
William Grant a54fb65d0b Merge branch 'theming' into theming_left_pane 3 years ago
William Grant 3c4fc8d919 Merge branch 'clearnet' into theming 3 years ago
William Grant 5ab28bb60e refactor: rename SessionButton2 to SessionButton and remove old version 3 years ago
William Grant 87b66794ed feat: updated all session buttons to use new button
small style fixes and sass cleanup
3 years ago
William Grant 1bb5c9752e feat: updated all modal buttons 3 years ago
William Grant 9876e8824c feat: settings page now uses new session button 3 years ago
William Grant c076c5b819 fix: improve alignment in list modal when rendering complex emojis 3 years ago
William Grant 2cb7e72f68 feat: starting theming work on left pane and commented on areas that will need to be fixed 3 years ago
William Grant 6cd81e06f2 Merge branch 'ui-redesigns' into theming 3 years ago
Audric Ackermann 3ffc470c40 fix: address reviews comment 3 years ago
William Grant 131ee22099 Merge branch 'settings-redesign' into theming 3 years ago
Audric Ackermann 55365f817d Merge remote-tracking branch 'upstream/clearnet' into settings-redesign 3 years ago
William Grant 17d893f2b7 refactor: finished converting sass colors in _theme_dark.scss
converted module-main-header__search__input class to styled component, consolidated blues, grays and whites
3 years ago
Audric Ackermann 25f54a13ff
Merge pull request #2454 from yougotwill/sogs_poller_conflict_resolver
Opengroup Poller Reaction Conflict Resolution + Fixes
3 years ago
William Grant 3060ffd25a test: added tests for adding and updating sogs cache entries
updated idForLogging for opengroups to be more verbose, updated reaction method calls to use exported Reactions object
3 years ago
William Grant bbfb55f211 fix: pr review fixes 3 years ago
Audric Ackermann 3fd6c570c7 fix: click on a link preview shows the dialog to open or copy url 3 years ago
William Grant dde61bb35b feat: moderator clear all reactions behaviour now uses the cache 3 years ago
William Grant 469de252cb fix: added current emoji to reaction list reactor description 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 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
William Grant 0600416f77 fix: clearing your own reaction from the clear modal should close it 3 years ago
Audric Ackermann e09e38911f refactor: fix PR reviews 3 years ago
Audric Ackermann 81fa09b8ee Merge branch 'menu-redesign' into settings-redesign 3 years ago
Audric Ackermann ef1f634e6b Merge remote-tracking branch 'upstream/clearnet' into menu-redesign 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 0e65b667a8 chore: move onion dialog components to styled 3 years ago
Audric Ackermann 282e631f73 feat: add menu action and action chooser left pane option 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 55869fbe37
fix: swap confirm and cancel buttons in the confirmDialog 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
Audric Ackermann 8de8f014dd
fix: password input errors in seeddialog 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
warrickct 3eb6bec908 fix group members sorting causing error. 3 years ago
Audric Ackermann 9f8920ef2c mostly working but need to improve perfs 3 years ago
Audric Ackermann 280cc494e8 test with webpack - not working 3 years ago
Audric Ackermann 2dfd09a7b1 app kind of start background side 3 years ago
Audric Ackermann ff43cfa593 move worker_interface and logs and i18n to TS 3 years ago
Audric Ackermann 449751a891
remove some refs to Signal.Data in ts 3 years ago
Audric Ackermann 6bd835dfc3
move storage.js to ts 3 years ago
Audric Ackermann e1f2393c3a
cleanup translated strings 3 years ago
Audric Ackermann ceb5317160
remove profile_images as we are not using it 3 years ago
Audric Ackermann 6f5bca6660
allow more characters to be used in display name
We just deny the one used to add markers around a mentions on the
desktop client. which is ᅭ

Relates #2132
3 years ago
audric a21751c611
open convo on last unread, and can scroll up 3 years ago
audric e515ce3ca5 Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment 3 years ago
Audric Ackermann c7565fe7b3 Move scale/resize and attachment logic to typescript 3 years ago
Audric Ackermann 580a59ba3c
refactor menu items to react components 3 years ago
Audric Ackermann 790120f484
add data-testid to sessionIdEditable 3 years ago
Audric Ackermann 18e13b9b98
move confirm action on right on all dialogs 3 years ago
Audric Ackermann 38325215e6
Unban UI (#2091)
* adding basic functionaliy for unbanning a user

* merge ban and unban user dialog in to one dialog

Co-authored-by: warrickct <warrickct@gmail.com>
3 years ago
Audric Ackermann b68cb07e3e
add crown icon for closed group admins (#2084) 3 years ago
Audric Ackermann 58dc3e26ca
reactify group updates text bubble from redux store (#2083) 3 years ago
Audric Ackermann 28c7445dce
refactor most of the components to outside of their Session folder (#2072)
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes #2079
3 years ago
Audric Ackermann 48e7a0e25f
Various UI fixes (#2070)
* cleanup unused convo json fields in db

* display a toast if the user is not approved yet on call OFFER received

* enable CBR for calls

* do not update active_at on configMessage if !!active_at

* remove mkdirp dependency

* disable call button if focused convo is blocked

* quote: do not include the full body in quote, but just the first 100

* click on the edit profile qr code padding

* Allow longer input for opengroup join overlay

Fixes #2068

* Fix overlay feature for start new session button

* make ringing depend on redux CALL status

* turn ON read-receipt by default
3 years ago
Audric Ackermann 651b1c4376
Fetch translations (#2056)
* show missed-call,started-call and answered call notification in chat

* fix types for createLastMessageUpdate

* show incoming dialog if we have a pending call when enable call receptio

* simplify a bit the avatar component

* move disableDrag to a custom hook

* speed up hash colors of avatarPlaceHolders

* fixup text selection and double click reply on message

* keep avatar decoded items longer before releasing memory

* add incoming/outgoing/missed call notification

also, merge that notification with the timer and group notification
component

* hangup call if no answer after 30sec

* refactor SessionInput using hook + add testid field for recovery

* disable message request feature flag for now

* fix merge issue

* force loading screen to be black instead of white

for our dark theme user's eyes safety

* add type for i18n to run update after crowdin  fetch with tools/updateI18nKeysType.py

* update to latest translations
3 years ago
Audric Ackermann cf44896a03
Minor call tweaks (#2051)
* show missed-call,started-call and answered call notification in chat

* fix types for createLastMessageUpdate

* show incoming dialog if we have a pending call when enable call receptio

* simplify a bit the avatar component

* move disableDrag to a custom hook

* speed up hash colors of avatarPlaceHolders

* fixup text selection and double click reply on message

* keep avatar decoded items longer before releasing memory

* add incoming/outgoing/missed call notification

also, merge that notification with the timer and group notification
component

* hangup call if no answer after 30sec

* refactor SessionInput using hook + add testid field for recovery

* disable message request feature flag for now

* fix merge issue

* force loading screen to be black instead of white

for our dark theme user's eyes safety
3 years ago
Audric Ackermann 894349e710
cleanup props passing of avatar and name with a custom hook 3 years ago
Audric Ackermann 4ce1b7813a
add data-testid for leftpane sections and edit profile dialog 3 years ago
Audric Ackermann f91ed7729b
cleanup SessionCompositionBox 4 years ago
Audric Ackermann 55313deb91
add a show user details option in the menu
Fixes #1971
4 years ago
Audric Ackermann fa32e61982
network delete_all force retries if we get a 421 4 years ago
Audric Ackermann 76100903cb
show ip of onion path on hover of country name 4 years ago
Audric Ackermann 0382d703c5
Merge pull request #1929 from ianmacd/pr1
Display the service node's IP address after its country.
4 years ago
Ian Macdonald 14bcbe4ab6
Display the service node's IP address after its country. 4 years ago
Warrick 1d459ba533
Unsend messages (only message hashes saving for now is enabled) (#1891)
* WIP unsending message.

* retrieving message with hash from db on receiving unsend request.

* outgoing messages hashes updated on message sent success

* unsend messaging

* unsend message - deleting messages and marking as isDeleted.

* add msg hash to unprocessed records.

* Message unsending working for closed groups provided the message has been updated with a hash from server.

* adding 2-stage confirmation modal for message deletion

* adding rendering of removed incoming messages, disabling rendering of unsent outgoing messages in coversation screen.

* Adding logging

* debugging.

* outgoing only saved for sync message instead of regular message.

* deleting locally

* adding post unsend deletioncode.

* starting adding feature flag.

* Added feature flag.

* addding mandatory messageHash  pollling pipeline methods swarm polling.

* Conversation list item message preview showing deletion placeholder text if deleted.

* add condition to drop unsend requests not send by message author

* refactoring deleteMessage. Saving response hash for closed group message sending

* running yarn ready

* removing logging.

* Adding PR fixes

* Minor changes and running yarn ready

* fix typo

* Moved feature flag to lokiFeatureFlags. Fixing linting errors


Co-authored-by: Audric Ackermann <audric@loki.network>
4 years ago
Audric Ackermann ab75f945ff
Ask confirm before delete account (#1910)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* fix app start delete db when passowrd error

* fix double dialog issue with delete account

* fixup login screen
4 years ago