Commit graph

75 commits

Author SHA1 Message Date
Audric Ackermann
ed84760f0e
add a tslint rule to forbid use of async without await 2021-02-09 17:00:54 +11:00
Audric Ackermann
b76ce0f2ff
update models to TS part2 2021-02-08 16:18:36 +11:00
Audric Ackermann
5a7c8ffa35
fix previews sent on next message if they are resolved too late 2021-02-08 15:35:56 +11:00
Audric Ackermann
7054385d4a
remove body pending loading of message > 2000.
Also remove the limit when sending text messages
2021-02-08 15:23:23 +11:00
Audric Ackermann
a51f95d28c
move models to TS part1 2021-02-08 15:20:47 +11:00
Audric Ackermann
5c3cb0a165
make moderator dialogs the Session way 2021-01-21 17:49:14 +11:00
Audric Ackermann
dc0733968d
make moderators and groupAdmins a single name 2021-01-19 13:57:05 +11:00
Audric Ackermann
6856c0e748
remove updateTextInputState not needed and add left to menu tests 2021-01-13 15:28:20 +11:00
Audric Ackermann
2fe6b11e89
move ConversationController to typescript 2021-01-06 14:26:53 +11:00
Audric Ackermann
d2fab26a5d
ignore arrows events when the textarea is selected
Fixes #1416
2021-01-05 15:25:59 +11:00
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
2021-01-04 10:47:00 +11:00
Audric Ackermann
2a02b5498b
enable back spellcheck for textarea message 2020-12-17 17:04:23 +11:00
Audric Ackermann
a941e73f7b
fix bug of voice message not received, the size was not included 2020-12-14 14:39:53 +11:00
Audric Ackermann
7da988c132
fix up session logo on loading and max message body length 2020-12-09 13:01:48 +11:00
Audric Ackermann
e38be266c2 major rework of session icon => make them styled with styled-component 2020-12-03 12:09:39 +11:00
Audric Ackermann
4c0a988fe5
Move the metadata badges to use react functional components 2020-12-02 16:23:51 +11:00
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
2020-12-02 16:20:47 +11:00
Audric Ackermann
e8677eef8c add back bump typing to CompositionBox 7 show bubbles on direct convo 2020-11-30 11:10:10 +11:00
Audric Ackermann
9f0fd6fa8a
fix mentions shows display name in composition box but sends user id 2020-11-27 14:32:06 +11:00
Audric Ackermann
c1c1cde14b
improve caption editor, and disable right panel if messagedetails shown 2020-11-26 14:24:29 +11:00
Audric Ackermann
51ea762bce
enable save of attachments on click on single generic attachment 2020-11-24 16:40:55 +11:00
Audric Ackermann
2ec337dd31
Add back ability to edit caption before sending attachments 2020-11-24 16:12:28 +11:00
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
2020-11-23 16:25:20 +11:00
Audric Ackermann
97ff60f3bb
reset input for selecting file on file choosen on CompositionBox 2020-11-23 15:01:28 +11:00
Audric Ackermann
1fd15ac977
Make SettingsView refresh on conversation change 2020-11-19 14:57:26 +11:00
Audric Ackermann
a695528d09
focus composition box on attachment added 2020-11-19 14:31:34 +11:00
Audric Ackermann
7a81c78382
focus composition box on conversation change 2020-11-19 14:26:36 +11:00
Audric Ackermann
c9e81454fb
make mentions work in react when emoji inserted inside at a rand pos 2020-11-18 16:26:41 +11:00
Audric Ackermann
b5af8eb215
Add Mentions with react-mentions 2020-11-18 15:27:13 +11:00
Audric Ackermann
6e14718a32
reactity the expired Session version warning 2020-11-16 17:33:09 +11:00
Audric Ackermann
2ae7a6dfe5
cleanup message.js and conversation_view.js 2020-11-12 15:40:07 +11:00
Audric Ackermann
d94d2819ce
use placeholder when convo blocked in composition box 2020-11-12 15:10:37 +11:00
Audric Ackermann
f3430bdcb5
add toast on isBlocked, isKicked, ... for sending of messages 2020-11-12 14:39:37 +11:00
Audric Ackermann
857bea50ea
enable back keyboard navigation on message list 2020-10-28 15:16:10 +11:00
Audric Ackermann
6edadaf3e9
message container use column reverse to order messages from bottom to
top
2020-10-28 14:28:10 +11:00
Audric Ackermann
ef3f3d0af5
enable back link previews in sent message 2020-10-28 14:11:57 +11:00
Audric Ackermann
1541b47f13
throw an error rather than returning null on link preview failure
so that it is handled in the catch() block
2020-10-28 13:40:30 +11:00
Audric Ackermann
ba959f3379
link preview state moved to SessionCompositionBox 2020-10-28 13:29:45 +11:00
Audric Ackermann
13e02b5bf1
add staged link previews for everything from signal 2020-10-28 11:06:47 +11:00
Audric Ackermann
f5818817e9
remove references to old emoji-panel package 2020-10-27 14:32:59 +11:00
Audric Ackermann
12bf46e09e
use pushToast through ToastUtils when it's a static toast content 2020-10-27 12:56:32 +11:00
Audric Ackermann
a7bdc93ca8
working drag and drop, but no scrolling on the conversation messages 2020-10-21 10:35:21 +11:00
Audric Ackermann
b46ed237b3
allow empty message when they have attachments 2020-10-20 15:02:16 +11:00
Audric Ackermann
c5927cfc4b
focus composition box after adding an attachment 2020-10-20 14:31:10 +11:00
Audric Ackermann
363da7aa80
add back toast on attachment adding error 2020-10-20 14:07:48 +11:00
Audric Ackermann
6cf69a1337
make adding of attachment work on react conversation 2020-10-20 13:20:09 +11:00
Audric Ackermann
c41eaada25
move display of message list to a subcomponent 2020-10-16 14:54:31 +11:00
Audric Ackermann
026a1930ed
add a getOrThrow to ConversationController when we expect this convo 2020-10-15 17:19:49 +11:00
Audric Ackermann
144ae41529
add type for ConversationController, remove showStartConversation
and cleanup scss
2020-10-15 16:43:51 +11:00
Audric Ackermann
b7f5a32570
add reply to message UI logic 2020-10-15 11:18:37 +11:00