Commit Graph

1452 Commits (d9621f79c380ef88144f6f9a939cc7b87cfab685)

Author SHA1 Message Date
Audric Ackermann 912d6b36dc
remove light roboto as it looks ugly 3 years ago
Audric Ackermann 27906de084
grunt keep underscore in for backbone 3 years ago
Audric Ackermann 5b6d0d25f5
fix typo noteSelf results and shortened pubkey for unknown contacts 3 years ago
warrickct 2d66b1db4e Adding styling to conversation window for a message request. 3 years ago
Audric Ackermann 44f61073dc
move search results to styled components
and cleanup search logic and rendering of message results
3 years ago
Audric Ackermann 5e314e4dcc
remove 'recipients' message field and 'destination'
we do not need recipients as it makes no sense for us having medium
groups on the same pubkey

we do not need destination as it can always be guessed from the
direction and the type of conversation of that message
3 years ago
Audric Ackermann 00d2bbc63d
cleanup MessageSearchResults 3 years ago
Audric Ackermann 792c23da87
cleanup scroll to unread of quote or search result on open 3 years ago
Audric Ackermann a3be2c347d
fixup open convo on search, quote click or hit the bottom 3 years ago
audric a21751c611
open convo on last unread, and can scroll up 3 years ago
audric 83d27ed3b7 update quoted message to animate to have border-green instead of bg green 3 years ago
audric e515ce3ca5 Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment 3 years ago
warrickct 804c9a56b9 convert to functional component. Tweak colors for search results. Fix search result header incorrect color. Addressing PR comments from previous search branch. Experimenting trimming approaches. 3 years ago
audric fc916ce94c Fix attachments duplication on message syncing with current device 3 years ago
audric e97ac5d7c7 make the DL spinner a styled component 3 years ago
Audric Ackermann c7565fe7b3 Move scale/resize and attachment logic to typescript 3 years ago
warrickct 374d5a6619 Global search partially functioning, added basic functions for load testing performance. 3 years ago
Audric Ackermann e33b6eadc4
bump typescript to 4.5.4 3 years ago
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 4 years ago
Audric Ackermann 62e8150021
add padding to qr code for easy scanning in dark mode
Relates #2004
4 years ago
Audric Ackermann 864d710460
add a handle to resize the inconvo call video 4 years ago
Audric Ackermann 0f21e12073
make resizable the height of the inconvo call 4 years ago
Warrick Corfe-Tan 84e12ff42f Alter request button item positioning. 4 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
Warrick Corfe-Tan 986fc16e7d Adding animation to briefly scale up send button after recording is made. 4 years ago
Warrick Corfe-Tan 32f7dcc811 testing shake addition to send button on finished recording. 4 years ago
Warrick Corfe-Tan 81ffb96530 adjusting alignment of buttons. increasing pulse for recording light, increasing hover over effect. 4 years ago
Warrick Corfe-Tan 8fca989736 Fixing delete button JSX evaluating to NaN 4 years ago
Warrick Corfe-Tan 9eb1847da5 WIP removing NaN dsiaply timer text. 4 years ago
Warrick Corfe-Tan cd7a1233fa Adding small hover effect to message composition icon buttons. Removing extra method call. 4 years ago
Warrick Corfe-Tan 637b604d0b Adding fraction timer display, exaggerating recording animation, moving delete button to toolbar, display full recording duration immediately after stop recording. 4 years ago
Audric Ackermann 649a581dd2
make caret-color as text-color to make it for visible 4 years ago
audric 30327257ca don't overflow char taking too much space 4 years ago
audric 4f5072ee65 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 4 years ago
Warrick Corfe-Tan 398e23256d minor style tweak. 4 years ago
Warrick Corfe-Tan ee7e6e47fe applying to outgoing messages 4 years ago
Warrick Corfe-Tan fb81fce331 formatting and linting. 4 years ago
Warrick Corfe-Tan c944fac426 Transparent background for images. 4 years ago
Audric Ackermann 511adcf388
refactored right panel to hook 4 years ago
Audric Ackermann 4eb76df60c
fix line on onion path modal 4 years ago
Warrick Corfe-Tan 00c7c8b969 vertical line wip. 4 years ago
Warrick Corfe-Tan fe474425ba wip vertical line. 4 years ago
Audric Ackermann 9bdd6ad139
add button to control speed playback on the player 4 years ago
Audric Ackermann e8020348b4
fix up onion path animation with no glowing nodes 4 years ago
Warrick Corfe-Tan eb2e60b2eb Fixed update-group-name dialog styling. 4 years ago
Audric Ackermann bbbcfd54d6
rename all spacer-* to react component 4 years ago
Audric Ackermann a5d7995168
merge dialog refctor with clearnet 4 years ago
Audric Ackermann c9d7f4a1ab
Merge remote-tracking branch 'w/onion-paths' into clearnet 4 years ago
Warrick Corfe-Tan 7dc318aa3d add / remove moderator modals refactored. Need to remove old whisper code and files. 4 years ago
Warrick Corfe-Tan b2dcb695f8 Fixed modal header styling for onion path dialog. 4 years ago
Warrick Corfe-Tan ec39f7ae9b Moved edit profile saving into edit profile component file. 4 years ago
Warrick Corfe-Tan 7285866e5e Fix edit icon styling. 4 years ago
Warrick Corfe-Tan 066e0d954e lights glowing but not yet in order.
WIP glow cycle.

Glow animation working.

Glow animation working, modal no longer interferring with left menu margins.

Cleaning up code. Adding PR suggestions.

Adding typing.

Refactor edit profile modal dialog to no longer use the signal code.
4 years ago
Audric Ackermann 68f81d387f
fixed mentions overlay with attachment on back 4 years ago
Warrick Corfe-Tan 22a32283b7 WIP Adding country and styling to modals. 4 years ago
Warrick Corfe-Tan d7b22e13e1 WIP: Onion path modal using redux state and refactored modals. 4 years ago