Commit Graph

1384 Commits (e17b5e0671f2233a0554f2729476e2f31cdeb0c3)

Author SHA1 Message Date
Audric Ackermann e17b5e0671
Fix attachment dl freeze (#2086)
* fix attachment download freezing app for some opengroups

* make registration page work with smaller height
3 years ago
Audric Ackermann b68cb07e3e
add crown icon for closed group admins (#2084) 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 273d866b98
Cleanup message request (#2063)
* close incoming call dialog if endCall from seame sender

* disable message request toggle if featureFlag is OFF

* cleanup UI of message requests

* mark all existing conversations as approved in a migration

* fix regex with conversationID for opengroups
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 f17b923add Fixing rimraf transpile bug. Adding PR fixes - icon buttons. 3 years ago
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 3 years ago
Audric Ackermann 8df85441f7
fix video stream not displaying in draggable container 3 years ago
Audric Ackermann 62e8150021
add padding to qr code for easy scanning in dark mode
Relates #2004
3 years ago
Audric Ackermann 864d710460
add a handle to resize the inconvo call video 3 years ago
Audric Ackermann 0f21e12073
make resizable the height of the inconvo call 3 years ago
Warrick Corfe-Tan 84e12ff42f Alter request button item positioning. 3 years ago
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 4 years ago
Audric Ackermann f74ce2a3ae
msg with attachments gets no bigger than the attachment container 4 years ago
Audric Ackermann 6eb6f00c62
make sure messages do not take more than 75% of the list width 4 years ago
Warrick Corfe-Tan c3f20aceb2 WIP message requesting. Banner styling finished. 4 years ago
Audric Ackermann 87e7cc5ebf
Merge remote-tracking branch 'upstream/clearnet' into webrtc-calls 4 years ago
Audric Ackermann 3f1e55b787
add basic code markup 4 years ago
Audric Ackermann 1e8c8991ad
more cleanup 4 years ago
Audric Ackermann 87aa4dfbf4
center ip and countries in onion path dialog 4 years ago
Audric Ackermann 76100903cb
show ip of onion path on hover of country name 4 years ago
Audric Ackermann ce4037f43f
do not justify content for messages text 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 b17312c13c
Cleanup redux store (#1925)
* do not consider expire timer update unread messages #1881

* cleanup conversation props in redux to only have what cannot be derived

* fix app not starting without the await on convo creation

* cleanup props of message model
4 years ago
Audric Ackermann 945ecf34a1
Fix select colors for sent messages and link text not selectable (#1924)
* do not update sent_at for synced messages

* reply to message context menu only visible if msg sent

* Allow scrolling in mentioning people in composition box

Relates #1849

* fix selection colors for sent messages and make link selectable

Relates #1922
4 years ago
Audric Ackermann 2fdafb8fba
Out of sync message sync (#1923)
* do not update sent_at for synced messages

* reply to message context menu only visible if msg sent

* Allow scrolling in mentioning people in composition box

Relates #1849
4 years ago
Audric Ackermann c92baad736
Fix path building (#1903)
* Keep line breaks when message has some new lines

Relates #1758 and #1898 and #1901

* fix link preview cropped when received

* make sure we fetch from seed if we end up with not enough snodes

* try to download recent previews if we just trusted a user

* throw if we need to rebuild path while fetching snode list from snode

* fixup no refecthing of snode list while we are fetching them already

* added test for fetch from db or seed

* fetch snode list from snode every hour

also make sure the path building does not try to get more snodes. It
just throws

* do not drop a path if an opengroup room is down and we get errors  back

* do not throw an error if the snode in error in not in any path

* fix tests

* bump to v1.7.11
4 years ago
Audric Ackermann 48090b4b25
Keep line breaks when message has some new lines
Relates #1758 and #1898 and #1901
4 years ago
audric bfc805c9d4 fix search logic and UI cosmetic fixes 4 years ago
audric bf02b85043 finish rework registration page 4 years ago
audric ba35a8cb24 update design of registration page 4 years ago
audric 56412df2b4 fixup registration page with back buttons for now
Relates #1889
4 years ago
audric 0d90248450 fix scrolling jumping to bottom on new messages 4 years ago
audric 08cdd035ae disable transition for background of leftpane (for app initial load) 4 years ago
audric bd7d88e170 remove theme from css and used variables instead 4 years ago
audric a53392853f make the CompositionBox closer to the mobile UI 4 years ago
audric e85f351540 cleanup theme object 4 years ago
audric ec2eab6e23 do not trigger redux update if onion path did not change 4 years ago
audric 4968244491 fix tooltip error in debug run related to memory leak 4 years ago
audric f9988119f9 major UI rewrite of messages view with redux improvements 4 years ago
audric ee4ed2e075 fix attachment logic with ui redesign 4 years ago
audric f7b0c6c7e1 make conversation screen closer to mobile UI part1 4 years ago
Warrick Corfe-Tan ebb37b44b6 Merge branch 'clearnet' into registration-progress-banner 4 years ago
Audric Ackermann eed48094fe
Merge pull request #1851 from warrickct/simplify-onboarding
Combining registration steps.
4 years ago
Warrick Corfe-Tan f9ad63d58b Merge branch 'clearnet' into registration-progress-banner 4 years ago
Brice-W f6d3715dab add a link icon when there is no image available or when media download is not allowed 4 years ago
Warrick Corfe-Tan bf645f36b7 Combining registration steps. 4 years ago
Warrick Corfe-Tan bfed4a88dd removing comments 4 years ago
Warrick Corfe-Tan 81969ae12f applying linting and formatting. 4 years ago