Commit Graph

352 Commits (c59ad7dc6a9312ff0f207c409cbe9048bd856e2c)

Author SHA1 Message Date
Warrick Corfe-Tan f356c9b843 Yarn formatting. 4 years ago
Warrick Corfe-Tan 15afdbfa7d Link preview confirmation dialog working. 4 years ago
Warrick Corfe-Tan e27e299f14 minor refactor. 4 years ago
Warrick Corfe-Tan 5c9e4b7c86 Merge branch 'merge-dialogs' into link-preview-dialog 4 years ago
Warrick Corfe-Tan 6393a4ff27 Confirmation box appearing on link paste but no functionality is changed yet. 4 years ago
Warrick Corfe-Tan 4f8e455b38 WIP. Adding confirmation to show link preview on pasting into composition box. 4 years ago
Audric Ackermann 93e43fe929
move conversation dialogs to redux store 4 years ago
Audric Ackermann b4fc19fa78
remove lodash calls left from window 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 7c82ccb3e9 user details modal refactor functioning. 4 years ago
Warrick Corfe-Tan 8c0bec7a97 invite contacts dialog functioning. 4 years ago
Warrick Corfe-Tan 59b02a5ed4 Update group name modal dialog fixes 4 years ago
Warrick Corfe-Tan 9e5824cee1 Update group rename dialog 4 years ago
Warrick Corfe-Tan b278aa09df add / remove moderator modals refactored. Need to remove old whisper code and files. 4 years ago
Warrick Corfe-Tan e55cae697d Refactor confirm modal to redux. 4 years ago
Audric Ackermann dd9341a196
remove i18n from props everywhere where possible 4 years ago
Audric Ackermann bf9a3e6fad
hide settings for mentions_only notif for 1o1 chats 4 years ago
Audric Ackermann 4a98d911a2
add a HeaderOption to change the notification settings for each convo 4 years ago
Audric Ackermann 10b5ff9e0d
fix deleteAuthToken by including it on the request 4 years ago
Audric Ackermann 623f3da4a2
avoid refreshing mentions too often 4 years ago
Audric Ackermann 118813661d
remove inte tests + handle opengroupv2 messages in chunk
this is to avoid freezing UI and is only a temporary fix

We need to have webworkers in this app
4 years ago
Audric Ackermann f3768a674a
short error on no network for retry sending message 4 years ago
Audric Ackermann b055165a5d
display a message when the recipient screenshots an attachemnt 4 years ago
Audric Ackermann 810ccdf675
send dataExtractionNotificaionMessage on saving attachment on priv chats 4 years ago
Audric Ackermann 0192f295f2
move the user fetch for mentions to redux 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 9c568caf1f
fix replying to audio message crash
Fixes #1657
4 years ago
Audric Ackermann 9c8f935e03
fix up dirty hack to display mentions correctly
Fixes #1658
4 years ago
Audric Ackermann 5cab7908b4
add some test for partial path rebuilding 4 years ago
Warrick cb307790f6
WIP: User nicknames (#1618)
* WIP Adding change nickname dialog.

* WIP adding nickname change dialog.

* WIP nickname dialog.

* WIP: Able to set conversation nicknames. Next step cleaning and adding to conversation list menu.

* Fix message capitilisations.

* Add change nickname to conversation list menu.

* Enable clear nickname menu item.

* Added messages for changing nicknames.

* Clearing nicknames working from header and message list.

* Adding modal styling to nickname modal.

* Reorder nickname menu item positions.

* Add group based conditional nickname menu options to conversation header menu.

* minor tidying.

* Remove unused error causing el option.

* Formatting.

* Linting fixes.

* Made PR fixes

* Prioritise displaying nicknames for inviting new closed group members
and updating closed group members.
4 years ago
Audric Ackermann 58abd08e6d
Get snode from snode (#1614)
* force deleteAccount after 10sec timeout waiting for configMessage

* move some constants to file where they are used

* add a way to fetch snodes from snodes

* remove a snode from a pubkey's swarm if we get 421 without valid content

* remove getVersion from snodes

* hide groupMembers in right panel for non-group convo
4 years ago
shellhazard 442b881438
Allow pasting images into composition box as attachments (#1616)
* Allow pasting images into composition box as attachments

* Fix linter errors

* Fix typo
4 years ago
Warrick e6128fa5a7
Reply attachments (#1591)
* First attachment showing in reply composition.

* WIP: Adding thumbnail to quote response composition component.

* Added icon for voice recording attachment

* Updated formatting.

* Formatting.

* removed duplicate styling.

* WIP: Converting quote component to functional components.

* Fix bug where thumbnails for attachment replies wasn't showing.

* yarn Formatting.

* Removed old quote component.

* Add type to contentTypeSupported method.

* Moved  quote subcomponents out of Quote component.

* yarn format

* Add export to quote subcomponents.

* Fixing linting errors.

* remove commented line.

* Addressing PR comments.
4 years ago
Audric Ackermann 6591702c08
create convo for members if they don't exist
also, removing a private convo does not remove it entirely as we need
the convo to be able to remove members
4 years ago
Audric Ackermann 5c594ca2ed
removed all en unused local strings 4 years ago
Audric Ackermann eb0ddd85f4
add zombies logic for member leaving and removing 4 years ago
Audric Ackermann 930c4d5b81
fix windows build 4 years ago
Audric Ackermann 3aa9ca785f
fix leave opengroup button right panel, and add memberCount 4 years ago
Audric Ackermann 5289d4c2aa
add joinable rooms on opengroupv2 joining screen 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 28ad468965
add delete Message logic for opengroupv2 4 years ago
Audric Ackermann 98b69c17f0
add userblocking opengroupv2 and quoting back of messages 4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann ba5ec93505
Merge pull request #1554 from Bilb/encrypt-local-attachments
Encrypt local attachments
4 years ago
Audric Ackermann 2e29206c99
Merge remote-tracking branch 'upstream/clearnet' into voice-message-record-mp3 4 years ago
Audric Ackermann 0ce1059a96
disable UI recording bars so we can encode audio MP3 4 years ago
Audric Ackermann 050739b0ab
cleanup old blobs from time to time 4 years ago
Audric Ackermann ed30be5334
fix attachments loading for avatar and exporting files 4 years ago
Audric Ackermann def03c8baa
working encrypt/decrypt of attachments 4 years ago
Audric Ackermann 53d16d7dac
remove fallback to node-fetch 4 years ago
Audric Ackermann 1f509e003d
add a markAllAsRead option on menus 4 years ago
Audric Ackermann ecf133ad5d
Merge branch 'clearnet' into voice-message-record-as-opus 4 years ago
Audric Ackermann eb30c7823c
add a way to click the toast to turn on microphone to show the settings 4 years ago
Audric Ackermann 099c9a6f8c
autobind class with a lot of ...bind(this) 4 years ago
Audric Ackermann 24a67a1ec3
record voice message as opus 4 years ago
Audric Ackermann 4d6fcda668 fix typo SessionLastSeedIndicator => SessionLastSeenIndicator 4 years ago
Audric Ackermann 6ed4511c21 be sure to hide emjipanel when sending a message 4 years ago
Audric Ackermann 8ea9f02cec Move data.js to data.ts 4 years ago
Audric Ackermann 850233bc9e review PR 4 years ago
Audric Ackermann ed84760f0e
add a tslint rule to forbid use of async without await 4 years ago
Audric Ackermann 36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2 4 years ago
Audric Ackermann 6edcb88788
remove resend as it does not make any sense with medium groups
and sendAnyway
4 years ago
Audric Ackermann b76ce0f2ff
update models to TS part2 4 years ago
Audric Ackermann 5a7c8ffa35
fix previews sent on next message if they are resolved too late 4 years ago
Audric Ackermann 7054385d4a
remove body pending loading of message > 2000.
Also remove the limit when sending text messages
4 years ago
Audric Ackermann a51f95d28c
move models to TS part1 4 years ago
Audric Ackermann cdd6fb61eb
fix previews sent on next message if they are resolved too late 4 years ago
Audric Ackermann 46fdebe3d7
Merge pull request #1459 from Bilb/improve-open-group-loading-speed
Improve open group loading speed
4 years ago
Audric Ackermann 13df6c476e remove isClosable for convo as it is unused 4 years ago
Audric Ackermann e3a6e24898 remove body pending loading of message > 2000.
Also remove the limit when sending text messages
4 years ago
Audric Ackermann d655c397e0
make the isAdmin coming from the convo props and not the messages 4 years ago
Audric Ackermann 5c3cb0a165
make moderator dialogs the Session way 4 years ago
Audric Ackermann a0703bc2f9
remove primary and secondary device separate status 4 years ago
Audric Ackermann 135fc3b366
remove prekeys 4 years ago
Audric Ackermann fd18345c5a
remove handling of rss related things completely 4 years ago
Audric Ackermann 46dfb3489b
remove mock sockets and websockets unused resources 4 years ago
Audric Ackermann c0484207d1
Merge branch 'clearnet' into fix-ban-user 4 years ago
Audric Ackermann 21c3e4717e
Merge pull request #1434 from Bilb/remove-prekey
Remove prekeys message and Session managment.
4 years ago
Audric Ackermann 20c806be2d
fix being able to remove messages from anyone as a moderator 4 years ago
Audric Ackermann dc0733968d
make moderators and groupAdmins a single name 4 years ago
Audric Ackermann 6a776b56f6
fix ban of users on open group 4 years ago
Audric Ackermann 3476b54d43
fix add/remove moderators dialog and open groups name avatar dialog 4 years ago
Audric Ackermann 979a9058e3
remove verified number - related features (partial) 4 years ago
Audric Ackermann 6856c0e748
remove updateTextInputState not needed and add left to menu tests 4 years ago
Audric Ackermann 8e9de59a42
remove isOnline unused 4 years ago
Audric Ackermann cbd0e63641
add admin dialog to warn him about leaving for v2 closed group 4 years ago
Audric Ackermann 9048913332
split conversation reducer for convo logic
also
- fix ordering of messages for open groups, when they are added
- fix the way the firstMessageOfSeries for just created clsoed groups
4 years ago
Audric Ackermann 2fe6b11e89
move ConversationController to typescript 4 years ago
Audric Ackermann d2fab26a5d
ignore arrows events when the textarea is selected
Fixes #1416
4 years ago
Audric Ackermann c9fd261e0e
fix color no opacity for recording playback view
having an opacity on the bg color was making the source-atop composition not visible with the sweeping color
4 years ago
Audric Ackermann 02ca99c96f
fix media permissions check only when requested
the old way was to run the check on the componentWillMount,
but sometimes the settings was returning null as the storage was not
ready yet, I guess
4 years ago
Audric Ackermann 2a02b5498b
enable back spellcheck for textarea message 4 years ago
Audric Ackermann add1c2dd39
reset the highlighted message after 3 sec
Before this commit, when a users clicks on a quoted message, the UI
takes it to that message. If the user clicks again on the quoted
message, the green highlight of the quoted message is not shown again.
This was like this, because the highlight is based on a state change,
and clicking on the same highlighted message, does not update the state
as the clicked quoted message is still the same.

The fix is to reset the highlighted message on the state object after
the animation is done
4 years ago
Audric Ackermann 5109f9fdda
remove ConversationLoadingScreen (unused) 4 years ago
Audric Ackermann a941e73f7b
fix bug of voice message not received, the size was not included 4 years ago
Audric Ackermann 2bcc7be3e6
remove mp3 lame already file and webrecorder worker unused 4 years ago
Audric Ackermann 7da988c132
fix up session logo on loading and max message body length 4 years ago
Audric Ackermann a23d5cd95c
fix theme for SessionRecording 4 years ago
Audric Ackermann 4a58b2c9f6
do not fail if a message has a list of empty attachment 4 years ago
Audric Ackermann a58a1a4fba fix text color of expire timer when image only message 4 years ago
Audric Ackermann e38be266c2 major rework of session icon => make them styled with styled-component 4 years ago
Audric Ackermann 4c0a988fe5
Move the metadata badges to use react functional components 4 years ago
Audric Ackermann 8cc2cd6581
rename textPending to bodyPending
not even sure we need it for Session
this is used when the users sends a really large body => it is sent as
an attachment
4 years ago
Audric Ackermann f9783be764
various UI fixes
* hide borders of images in bg when in the message details view
* force color of caption edits to white, as the background is grey and
it is more readable
* fix a bug preventing to quote the same message twice when switing
between two conversation after starting to quote one
4 years ago
Audric Ackermann e8677eef8c add back bump typing to CompositionBox 7 show bubbles on direct convo 4 years ago
Audric Ackermann 08d8b90aaa
add animation on click on quoted message just like on mobile 4 years ago
Audric Ackermann 9f0fd6fa8a
fix mentions shows display name in composition box but sends user id 4 years ago
Audric Ackermann 1bb99ac3df
enable back media switch on lightbox opened from a message
with several attachments
4 years ago
Audric Ackermann 60a4fcbfcc
small UI fixes for caption editor 4 years ago
Audric Ackermann 82b59f808d
no confirmation on message delete from the message detail view 4 years ago
Audric Ackermann c1c1cde14b
improve caption editor, and disable right panel if messagedetails shown 4 years ago
Audric Ackermann 20496c45d6
remove sendAnyWay and showSafetyNumber from props of MessageDetails 4 years ago
Audric Ackermann 22b4f39e52
MessageDetails: contact status fallbacks to message status
this is used for medium groups
4 years ago
Audric Ackermann 5c55a9411f
add first step to enable back MessageDetails.
Still not much the react way to do it for now
4 years ago
Audric Ackermann 291d4682e4
fix some tests 4 years ago
Audric Ackermann 51ea762bce
enable save of attachments on click on single generic attachment 4 years ago
Audric Ackermann 2ec337dd31
Add back ability to edit caption before sending attachments 4 years ago
Audric Ackermann 9f14924e65
push toast if gif size is too big 4 years ago
Audric Ackermann f2074f502a
Uniformize size of accepted attachment to 10MB
Some image files can be scaled automatically, so this size is not the
same for them, they will just be scaled down
4 years ago
Audric Ackermann 97ff60f3bb
reset input for selecting file on file choosen on CompositionBox 4 years ago
Audric Ackermann a1d4dea845
fix scrolling to unread and marking message as read on scrolling
we need to hit the bottom for the convo to update currently

add smooth scrolling on click on quoted message
4 years ago
Audric Ackermann d533a3aca5
fix unread message banner for MessagesList 4 years ago
Audric Ackermann 1fd15ac977
Make SettingsView refresh on conversation change 4 years ago
Audric Ackermann a695528d09
focus composition box on attachment added 4 years ago
Audric Ackermann 7a81c78382
focus composition box on conversation change 4 years ago
Audric Ackermann f8f15cb9f7
fix remove message for public groups 4 years ago
Audric Ackermann 1503d83f3a
add ourPrimary convo to redux and update the actionPanel with it 4 years ago
Audric Ackermann c203303c71
rename SessionConversationMessagesList to SessionMessagesList 4 years ago
Audric Ackermann 935f00934b
add a key to all messages printed in SessionMessagesList 4 years ago
Audric Ackermann c9e81454fb
make mentions work in react when emoji inserted inside at a rand pos 4 years ago
Audric Ackermann b5af8eb215
Add Mentions with react-mentions 4 years ago
Audric Ackermann 0beb47e597
add messageDeleted redux action 4 years ago
Audric Ackermann e1548b66e4
enable back drag events as now the SessionConversation updates only 4 years ago
Audric Ackermann 6e14718a32
reactity the expired Session version warning 5 years ago
Audric Ackermann f9ab90fb71
link backbone message added to redux 5 years ago
Audric Ackermann 2f2eb2ad53
link back backbone conversation events to redux store 5 years ago
Audric Ackermann 918eeae275
move InboxView to react 5 years ago
Audric Ackermann 2ae7a6dfe5
cleanup message.js and conversation_view.js 5 years ago
Audric Ackermann d94d2819ce
use placeholder when convo blocked in composition box 5 years ago
Audric Ackermann f3430bdcb5
add toast on isBlocked, isKicked, ... for sending of messages 5 years ago
Audric Ackermann e45ce43e01
store messages currently loaded in convo on redux 5 years ago
Audric Ackermann 221f264de6
rename all saveMessage to message.commit() 5 years ago
Audric Ackermann 5122433eb4
remove message_list_view.js and replace saveMessage with a commit() 5 years ago
Audric Ackermann 30f93b2ad3
remove conversation stack 5 years ago
Audric Ackermann b9c4394b27
SessionConversation, render MessageView if no conversationModel found 5 years ago
Audric Ackermann c039c89a26
remove resetMessageSelection() as unused and cleanup toast 5 years ago
Audric Ackermann 21a97ba0ec
fix deleteMessages from headermenu and load unread_count message on show 5 years ago