Commit Graph

125 Commits (2068737cdd2f291060233bfc96399aef7f005be8)

Author SHA1 Message Date
warrickct c3d9912572 Adding handling of edge case for messaging clients without request approval update. 3 years ago
warrickct ee9156d4f8 Merge clearnet into message-request-ui 3 years ago
warrickct f93a2e5fad Adding more PR review changes. 3 years ago
warrickct 11e6d80419 minor renaming. 3 years ago
warrickct d627b8e11d Requesting flow working with sending message as acceptance. 3 years ago
audric 247cb7c065 cleanup dependencies 3 years ago
audric 4b39b46b6a replace invalid unicode in filename 3 years ago
Audric Ackermann c7565fe7b3 Move scale/resize and attachment logic to typescript 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 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 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
warrickct e32f20d8bc PR changes 3 years ago
warrickct 4576f3cb32 Merge branch 'clearnet' into message-requests 3 years ago
warrickct 9823a700e2 Addressing PR fixes 3 years ago
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 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
Audric Ackermann dfa04c68f4
fix emoji click on button while open closes it
Fixes #1980
4 years ago
Audric Ackermann ce16066313
do not try to do an unsend request on a group swarm 4 years ago
Audric Ackermann bb26680b75
unsend for me only on a closed group only deletes locally
also do not await request to PN server
4 years ago
Audric Ackermann 5d9565a559
fix menu action for unsending messages 4 years ago
Audric Ackermann 314b76388f
WIP 4 years ago
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 4 years ago
Audric Ackermann 844d3befef
tiny changes on the unsend logic 4 years ago
Audric Ackermann 4e30614077
disable unsend request on the UI for now (#1934)
* disable unsend request on the UI too

* do not stop propagation of events for message ctx menu
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 f7b0c6c7e1 make conversation screen closer to mobile UI part1 4 years ago
audric 9e37985d03 enable no-unused local and imports and fix tslint 4 years ago
audric ab8b6e85b4 Merge remote-tracking branch 'upstream/clearnet' into network-clear-all 4 years ago
audric bea704ecf0 bump react to 17 4 years ago
Brice-W fbe9f19c81 typo 4 years ago
Brice-W d8fa73d393 lint 4 years ago
Brice-W 2c6821097d adding Ban user and delete all his messages to the menu for moderators 4 years ago
Warrick Corfe-Tan 0c3ca8e5db Merge branch 'clearnet' into network-clear-all 4 years ago
Warrick Corfe-Tan ec447b2e2e network clear all WIP 4 years ago
Audric Ackermann 61277a5397
fix replying to message focus composition box
Relates #1808
4 years ago
audric fce86989f0 make sure profileKey is a hex string in all convos 4 years ago
Brice-W e31b219bd4 fix 4 years ago
Brice-W 54a2eef700 change the way skipTimerInit is defined in MessageModel 4 years ago
Audric Ackermann a54345a42e
put back quote a message logic with hook 4 years ago
Audric Ackermann 16d34a7137
moved conversations reducer to createSlice 4 years ago
Audric Ackermann 63b81b4c8e
cleanup SessionMessageList p1 4 years ago
Audric Ackermann f0fad6edfa
uniformized props for Message 4 years ago
Audric Ackermann e451cdd78f
rename message props to messageProps 4 years ago
Audric Ackermann 6deb97dbc0
WIP 4 years ago
Audric Ackermann a0afd3efe4
add some performance measure for commit calls 4 years ago
Audric Ackermann e9714f8db8
Merge pull request #1734 from Bilb/fix-clear-all-data
add loading for leaving opengroup dialog
4 years ago
Audric Ackermann bab0a94e0d
make moderator strings add/remove error more explicit 4 years ago
Audric Ackermann 15aa6b5ef9
add loading for leaving opengroup dialog 4 years ago
Audric Ackermann 89a0868fc3
remove getInstance of conversationController to get() 4 years ago
Audric Ackermann a659d5b480
fix open group invitation logic 4 years ago
Audric Ackermann 9ed030fac6
fix moderator add/remove 4 years ago
Audric Ackermann 6c1cac9203
fixup edit profile dialog 4 years ago
Audric Ackermann b64e8bf610
fix seed dialog and leave group as admin dialog 4 years ago
Audric Ackermann 651921590c
reduxify remaining dialogs 4 years ago
Audric Ackermann 93e43fe929
move conversation dialogs to redux store 4 years ago
Audric Ackermann c9d7f4a1ab
Merge remote-tracking branch 'w/onion-paths' into clearnet 4 years ago
Warrick Corfe-Tan ee7afb6ebf WIP: refacotring. confirm modals mostly done. Working on add moderator modal now. Need to toggle via setModal. 4 years ago
Audric Ackermann ecf409bed5
fix slow app while removing v1 convoss 4 years ago
Audric Ackermann 94a0748d71
add some logs to opengroup retry 4 years ago
Audric Ackermann 6f8c8ee1b3
remove most of sogsv1 and fsv1 and update version fetch url
version fetch is used to know when we have a new update
4 years ago
Audric Ackermann 3456162402
Moved opengroupv1 test to opengroupv2 tests 4 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 4 years ago
Audric Ackermann b574fd731d
match group invitation design with ios 4 years ago
Audric Ackermann bd2777ace3
ask confirmation before joining opengroup invitation 4 years ago
Audric Ackermann ba9f7c02a0
use delete_messages for multiple delete for opengroupv2 4 years ago
Audric Ackermann 0c0da48150
remove pow 4 years ago
Audric Ackermann a26c5da6cb
Uniformize once and for all the conversation types
no more 'direct'. those are private convos
4 years ago
Audric Ackermann 37562e11f8
add back invite contacts to opengroupv2 4 years ago
Audric Ackermann e274313f23
add and remove Moderatos opengroupv2 (not yet working server side) 4 years ago
Audric Ackermann 28ad468965
add delete Message logic for opengroupv2 4 years ago
Audric Ackermann 5916ce5cbe
add the ban/unban logic for opengroupv2 4 years ago
Audric Ackermann 9d825dc2d2
add start of OpenGroup Pollers v2 to start of the app 4 years ago
Audric Ackermann 193fb2a101
move some message interactions logic to another file 4 years ago