Commit Graph

279 Commits (939f8cac437a9f637cb0aa301cc38e177ad9c296)

Author SHA1 Message Date
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 2 years ago
Audric Ackermann 0b9f1a494a fix: allow 99 unread count before going to 99+ 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 2f0e993af3 feat: moved constants into a constants folder 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
William Grant e14f4832aa feat: added primaryColor to the redux store 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
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 282e631f73 feat: add menu action and action chooser left pane option 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 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 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 62f0edf8cb cleanup console.warn calls 3 years ago
Audric Ackermann 15ae511bca
Merge branch 'clearnet' into small-refactor 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
warrickct 374d5a6619 Global search partially functioning, added basic functions for load testing performance. 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 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 1a699879cf
Add call duration (#2059)
* add call duration once connected

* close incoming call dialog if endCall from same sender

* disable message request toggle if featureFlag is OFF
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 bef9058ffe
Merge branch 'clearnet' into message-requests 3 years ago
warrickct f17b923add Fixing rimraf transpile bug. Adding PR fixes - icon buttons. 3 years ago
warrickct e32f20d8bc PR changes 3 years ago
warrickct 4576f3cb32 Merge branch 'clearnet' into message-requests 3 years ago
warrickct c3e58f725e Adding trigger logic for conversation filtering of requests. 3 years ago
warrickct 97fe0c7a7a Merge branch 'clearnet' into message-requests 3 years ago
warrickct 9823a700e2 Addressing PR fixes 3 years ago
warrickct 2d664a2df7 Applying PR changes. 3 years ago
Audric Ackermann 5ba7f20162
speed up fetching closed group's members avatar 3 years ago
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 3 years ago
warrickct f0161ec338 More formatting and linting 3 years ago
warrickct 9c9a43ee97 Adding improvements to message request handling. 3 years ago
warrickct 2e2941ba9b message request refactoring. 3 years ago
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 3 years ago
Audric Ackermann 1d3a89f058
hide activeAt = 0 convo from search results
Fixes #2033
3 years ago
warrickct 2eab74246b PR changes. Disabling message requests behind feature flags. 3 years ago
Warrick Corfe-Tan cb5551c1e9 PR changes 3 years ago
Audric Ackermann cca1b4dabe
add a button to start a video call 3 years ago
Audric Ackermann f91ed7729b
cleanup SessionCompositionBox 3 years ago
Warrick Corfe-Tan c3924f85a9 Adding blocking of individual requests and syncing of block to devices. Added approval by replying to a message. 3 years ago
Audric Ackermann 27e87edac2
add a ringing and establishing connection label video calls 3 years ago
Audric Ackermann 0f21e12073
make resizable the height of the inconvo call 3 years ago
Audric Ackermann a0b33fbbbb
add hook to listen for video call events 4 years ago
Audric Ackermann 6a1f575c46
create a hook for listening for video call events
+ wip fullscreen video calls
4 years ago
Audric Ackermann 5b57e01186
make sure click to trust sender renders without new lines 4 years ago
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 4 years ago
Warrick Corfe-Tan dcfa286d77 WIP: fixing missing spaces for list items that have been removed. 4 years ago
Audric Ackermann a596531c57
cleanup SessionSettings by making them less a IdoEverything 4 years ago
Audric Ackermann 99b139f5c4
split settings folder and start adding the settings for video call 4 years ago
Audric Ackermann 8f3b6d9ab2
add wip of call missed notification 4 years ago
Audric Ackermann 8b611a2867
make call UI react to incoming and ongoing calls 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