Commit Graph

275 Commits (794d20072c4793f8a9cf017eb21217c42d59a070)

Author SHA1 Message Date
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 77acd1396b feat: add support for blinded25 receipt of messages for later impl 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 dc3e8450e9 fix: memoize selected conversation props to avoid unneeded rerenders 2 years ago
Audric Ackermann fed58161a0 fix: address PR reviews and optimize search results 2 years ago
Audric Ackermann bec667ebee fix: remove row_number ordering when looking up message 2 years ago
Audric Ackermann 3eb629e33e fix: cleanup convo selectors to hope to improve performances 2 years ago
Audric Ackermann f2cddb83c8 chore: broke apart big Message selectors into smaller ones 2 years ago
William Grant 027b412fb2 feat: save conversation interaction errors to a message history 2 years ago
Audric Ackermann 461b192f37 fix: mod and admin actions on message context menu for communities 2 years ago
William Grant f87995a375 fix: replaced Number() casting to toNumber
fixed edge case of local db search for quotes lookup
2 years ago
William Grant b91388a672 fix: SES-585 when the app is not focused message quotes now load correectly
we now look up the existing messages in memory if not found in the quote lookup map, we also allow jumping to messages quoted but not yet stored in memory
2 years ago
William Grant 16b394dbee fix: SES-597 quoting your own message now works correctly in communities 2 years ago
William Grant db5f2d8534 feat: created util funciton lookupQuote to read from the quote lookup map
this consolidates the key lookup logic to one place for future proofing
2 years ago
William Grant 70156c33b3 fix: simplify checking isFromMe for communities in getMessageQuoteProps selector 2 years ago
William Grant 391db5590e fix: replace controller lookup with redux conversation lookup in getMessageQuoteProps
this is more performance and relies on the latest redux state
2 years ago
William Grant a204464723 fix: move quote not found comment for better context 2 years ago
William Grant d60d2c8c75 feat: quotes will show the authors name where possible
cleaned up extra author props on quote and created a hook instead
2 years ago
William Grant e1a6f8e3fc feat: cleaned up getPropsForQuote and rely on getMessageQuoteProps selector for creating quote object
authorName is broken for some reason and we will need to fix it
2 years ago
William Grant 92ed15c6c4 feat: pass yarn ready 2 years ago
William Grant aa3855e49f feat: getConversationQuotes selector for memoising quotes lookup state 2 years ago
William Grant e90e548715 feat: improved quoted message not found
consolidated quote props lookup into getMessageQuoteProps, only use the db message in the quote components
2 years ago
William Grant d706ecdead fix: show authorName in reply ui 2 years ago
William Grant acdeabf306 feat: fixed click on a quote to go to the original message
added animation support to attachments when opening it via a quote
2 years ago
William Grant d7bc8213d6 fix: community quotes now dont break the app 2 years ago
William Grant a962ef2228 feat: getMessageQuoteProps now loads data from conversation.quotes state and loads correctly into the Quote 2 years ago
Audric Ackermann 77e5e38e46 chore: update lodash types, use prebuilt curbe25519-js 2 years ago
Audric Ackermann 2a4bbbd587 feat: add the deleteContact and deleteConversation only menu items 2 years ago
Audric Ackermann 0e286142f1 chore: add a redux settings slice, currently outdated banner inc 2 years ago
Audric Ackermann cbffc29950 fix: run tests for libsession-util integration and fix issue 2 years ago
Audric Ackermann 3ecc89fab3 Merge remote-tracking branch 'upstream/master' into onboarding 2 years ago
Audric Ackermann 55a2767fce feat: do not approve a convo before sending the first message
but still sync it's state through the createdAt with libsession util
2 years ago
Audric Ackermann faeb95fefd feat: add block/decline logic to msg request & wrapper 2 years ago
Audric Ackermann ef6d9f1d51 feat: add empty states for each types of convo 2 years ago
Audric Ackermann b843d66084 feat: add the lastJoined and createdAt timestamp from wrapper logic 2 years ago
Audric Ackermann f3975b545a feat: use priority for hidden and pinned conversation 2 years ago
Audric Ackermann 0050352470 chore: move selected convo selectors to another file 2 years ago
Audric Ackermann 1c50aacc34 chore: remove groupModerators sogs from the db, store in redux only 2 years ago
Audric Ackermann bf2456df8e chore: do not store mentionedUs and unreadCount as attribute in convo 2 years ago
Audric Ackermann f5efb52fea feat: remove closedgroupv3 uneeded stuff for now
also move the room stuff which can be kept in memory into another redux
slice
2 years ago
Audric Ackermann 3c58f9c1e4 feat: add a hidden flag for convos and use it with the contactswrapper 2 years ago
Audric Ackermann f88acdb567 feat: remove blocked group tracking separately from the pubkeys 2 years ago
William Grant a8b8692016 fix: improved reaction alignment based on avatar visibility 2 years ago
Audric Ackermann 456d52ab1a fix: make sure we do not use "group" or "private" without the enum 3 years ago
Audric Ackermann 0b9f1a494a fix: allow 99 unread count before going to 99+ 3 years ago
William Grant 5b44565b5f Merge branch 'clearnet' into theming 3 years ago
Audric Ackermann c75cf6e1af fix: UI for link previews when the image is too less than 200px 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
William Grant b3885bf9d9 Merge branch 'clearnet' into theming
Link previews are broken for now
3 years ago
Audric Ackermann e62c1599a5 Merge branch 'clearnet' into feat-move-attachments-outside-messagebox 3 years ago
William Grant 7e01c9f39a feat: fixed link preview and message details styling 3 years ago
Audric Ackermann 17742539af fix: disable typing and message request on sogs without `write` 3 years ago
Audric Ackermann c2e3e3ca3f Merge remote-tracking branch 'upstream/clearnet' into ui-redesigns 3 years ago
Audric Ackermann 1d45aa6f45 fix: show loading spinner while sogs is fetching initial messages 3 years ago
Audric Ackermann e8fe564a08 fix: show sogs without display name in convo list
also use the pollinfo to update whatever the displayname if needed
3 years ago
Audric Ackermann 55365f817d Merge remote-tracking branch 'upstream/clearnet' into settings-redesign 3 years ago
Audric Ackermann 30e3cb8755 feat: fix other types of messages now that there is no box around 3 years ago
Audric Ackermann 7c80f9e233 feat: move attachments outside of the message box 3 years ago
Audric Ackermann e125979b7a fix: disable having some corner large and small for message bubbles 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
William Grant 80d726659c Merge branch 'clearnet' into reactions_fixes 3 years ago
William Grant 05b7bdb956 fix: show correct count value for open group reactions 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 f137cad2a0 feat: add the BlockedList component in Settings 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 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 6f4b70e650 fix: allow non admin mods to delete message for deletion 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 6bd835dfc3
move storage.js to ts 3 years ago
Audric Ackermann 74cf88cf81
create closed group mark as approved
also, do not filter closed group based on the isApproved field in redux
3 years ago
warrickct cf6a5b3446 Request banner appearing and tallying based on only unread requests 3 years ago
warrickct 451fb351a3 removing comments 3 years ago
warrickct e4f4328232 rename request evaluating function for clarity. Prevent disappearing messsages from being activated by request recipient before the request has been accepted. 3 years ago
warrickct 5437433232 Fix passing wrong values to convo list. 3 years ago
warrickct 93f37ba66f Refactoring to evaluate conversation request status in a single place. 3 years ago
warrickct 5cc7ccbfa8 fixing accepted convos not appearing in inbox. removing blocked contacts from contact list. 3 years ago
warrickct 2957c131c0 removing blocked convos no longer appear in regular inbox and using processing of polled swarm messages to infer approval. 3 years ago
warrickct ee9156d4f8 Merge clearnet into message-request-ui 3 years ago
warrickct bc6edd7774 Adding unhiding of message request banner when receiving a new convo request. 3 years ago
warrickct 8eeec6b96c Exclude unapproved contacts/conversations from contacts list. 3 years ago
warrickct 07f6681aae Refactoring subcomponents. Adjusting conditional inbox filters to always apply msg request logic. 3 years ago
warrickct ac8c4ac2eb Removing msg req feature flag. 3 years ago
warrickct 36ca2a767c Adding PR changes 3 years ago
warrickct d627b8e11d Requesting flow working with sending message as acceptance. 3 years ago
Audric Ackermann 580a59ba3c
refactor menu items to react components 3 years ago
Audric Ackermann 1c46d81a20
rename authorPhoneNumber to what ever makes more sense 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
4 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
4 years ago
Audric Ackermann bef9058ffe
Merge branch 'clearnet' into message-requests 4 years ago
warrickct f17b923add Fixing rimraf transpile bug. Adding PR fixes - icon buttons. 4 years ago
warrickct e32f20d8bc PR changes 4 years ago
warrickct 4576f3cb32 Merge branch 'clearnet' into message-requests 4 years ago