William Grant
afaaedac3e
feat: added proper note to self support
...
note to self is always delete after send
2 years ago
William Grant
2221d81a23
fix: reverted setToExpire timer,
...
fixed incorrect expirationLength value in getPropsForExpiringMessage
2 years ago
William Grant
46ab397a0f
fix: read receipt messages now show expireTimer correctly
2 years ago
William Grant
4d0900844b
fix: adding shorten and extend to expire rpc endpoint
2 years ago
William Grant
8dc7d48c52
feat: renamed isLegacyMessage to isLegacyDataMessage
...
all works except modern to modern stage 2
2 years ago
William Grant
6dd340ca6c
feat: handle legacy disappearing messages more gracefully due to protobuf issues
...
added utility function for checking for undefined properties on a protobuf, renamed expireTimer to expirationTimer in some places
2 years ago
William Grant
6de7c5c405
fix: legacy message checks must look for the ExpirationTimerUpdate flag explicitly
...
use correct model for a message in a closed group
2 years ago
William Grant
854742c0b1
fix: improved logic for turning off disappearing messages
2 years ago
William Grant
8117e631d0
feat: legacy mode now works for 1-1 chats
2 years ago
William Grant
d698f66d50
feat: updated clients can send ExpirationTimerUpdateMessages to older clients
...
fixed syncing of ExpirationTimerUpdateMessages
2 years ago
William Grant
7d0673f7f2
wip: added new legacy mode to panel, improved backwards compatibility
...
legacy mode support in conversation header, added typing for the expireUpdate, next is sending support
2 years ago
William Grant
12087da2be
fix: repaired closed group disappearing messages
2 years ago
William Grant
42356b0d60
fix: duplicate timer update messages
2 years ago
William Grant
97ecc9e521
feat: fixed double expiration update message issue
...
started creating an inheritable expiration message class, improved start triggering logic
2 years ago
William Grant
446752cf54
feat: DataExtractionNotifications now expire
...
MessageRequestResponses should not expire, pass yarn ready
2 years ago
William Grant
5c697572a7
feat: Call Notifications now expire properlly
...
include the direction in the expiration props, setting the start timer doesnt directly update the model
2 years ago
William Grant
4ef3537a53
feat: timer notifications expire correctly when disappearing after sending
2 years ago
William Grant
f36bbb9c7c
feat: group invitiations now disappear
2 years ago
William Grant
f825b74895
feat: disappearing messages are now correctly deleted from the swarm after they expire
2 years ago
William Grant
d358ab2fb1
feat: fixed closed groups
...
improved setExpirationStartTimestamp logic
2 years ago
William Grant
b4fc33c8fa
fix: prevent duplicate expire timer updates while keeping backwards compatibility
2 years ago
William Grant
22e02633a9
feat: started consolidating send and receive dm logic.
...
updated in parts but haven't test what happens
2 years ago
William Grant
2745571790
fix: correctly write to db when setting changes
2 years ago
William Grant
ee6607b96a
feat: added expirationType and expireTimer to content message and updated message pipeline
...
this includes sync messages and updating the protobuf, haven't tested closed groups
2 years ago
William Grant
1303707cd7
feat: added expirationType to message model with correct typings
...
added to migration
2 years ago
Audric Ackermann
3ecc89fab3
Merge remote-tracking branch 'upstream/master' into onboarding
2 years ago
Audric Ackermann
ef6d9f1d51
feat: add empty states for each types of convo
2 years ago
Audric Ackermann
f3975b545a
feat: use priority for hidden and pinned conversation
2 years ago
Audric Ackermann
554b445a3e
feat: lookup for shared config message on link device
2 years ago
Audric Ackermann
0050352470
chore: move selected convo selectors to another file
2 years ago
Audric Ackermann
c3e9d503e4
fix: unread count and forced unread is synced
2 years ago
Audric Ackermann
1c50aacc34
chore: remove groupModerators sogs from the db, store in redux only
2 years ago
Audric Ackermann
bf2456df8e
chore: do not store mentionedUs and unreadCount as attribute in convo
2 years ago
Qian Hong
bcbeab52c1
fix: Remove createNonBreakingLastSeparator. Fix #2396 .
2 years ago
Audric Ackermann
d512a1a131
fix: various UI margins and dedup official sogs join
2 years ago
Audric Ackermann
bb0112c6c5
feat: increase max upload size to 10MB
2 years ago
Audric Ackermann
68852a9e63
chore: move syncUtils to its own folder
2 years ago
Audric Ackermann
6d1b406c85
fix: add namespace to all sending message calls
2 years ago
Audric Ackermann
d7bcf1026f
fix: refactor snodeRPC to use snode batching
2 years ago
Audric Ackermann
0cc7994c12
fix: speed up expiration/deletion of messages by batching updates in UI
3 years ago
Audric Ackermann
9ffa529c30
fix: set flags to VOICE_MESSAGE when sending attachment with voice msg
3 years ago
Audric Ackermann
9df6f209c4
fix: mark message as having attachmnents once data is uploaded
...
this is to make those media visible on the right panel.
This only happens for attachments we are sending
3 years ago
Will G
267f49ff1e
Emoji Reacts ( #2320 )
...
Add support for emoji reacts in conversations
Resolves #2375 and #1577
3 years ago
Audric Ackermann
242d51ca8d
Id blinding + onionv4 + new endpoints for sogs and fileserver ( #2347 )
...
* Added Onionv4 support to file server, sogs and pn server
* Added blinded message support
* Updated endpoints for sogs and file server to remove legacy ones
3 years ago
Will G
09dec1246a
refactor: Removed duplicate callNotificationType check in Message getDescription()
3 years ago
Audric Ackermann
c3b9cd2b41
fix: error when trying to reply to an attachment
...
Relates #2327
3 years ago
Audric Ackermann
26187da521
force duplicates to -10 and 0 for closed groups between HF
3 years ago
Audric Ackermann
368c0cd01b
drop sourceDevice and other unused json fields from msg table
3 years ago
Audric Ackermann
5c8e2b4044
cleanup swarm unused after removing unused convos
3 years ago
Audric Ackermann
add267ae69
make the util worker be bundled with parcel
3 years ago
Audric Ackermann
af9d2fdfa1
get rid of libtextsecure.js and componnets.js
3 years ago
Audric Ackermann
a9cc9a7294
add tests for attachment metadata
3 years ago
Audric Ackermann
7d570fec52
move linkPreviews.js to ts
3 years ago
Audric Ackermann
6bd835dfc3
move storage.js to ts
3 years ago
Audric Ackermann
747bcb766c
move notifications.js to ts
3 years ago
Audric Ackermann
e78224db05
after moving expiring message and wallclock to TS
3 years ago
warrickct
ee9156d4f8
Merge clearnet into message-request-ui
3 years ago
warrickct
d627b8e11d
Requesting flow working with sending message as acceptance.
3 years ago
audric
e515ce3ca5
Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment
3 years ago
Audric Ackermann
15ae511bca
Merge branch 'clearnet' into small-refactor
3 years ago
audric
72409e3f1f
make sure to keep error state of attachment DL failing
3 years ago
audric
1c8e81d8e6
make sure to store generated thumbnail with the attachment message
3 years ago
Audric Ackermann
c7565fe7b3
Move scale/resize and attachment logic to typescript
3 years ago
Audric Ackermann
4349b699cb
remove schemaVersion field and logic from message object
3 years ago
Audric Ackermann
1c46d81a20
rename authorPhoneNumber to what ever makes more sense
3 years ago
Audric Ackermann
dd52ad336f
use variables for common settings key
...
also turn off typing message by default
3 years ago
Audric Ackermann
58dc3e26ca
reactify group updates text bubble from redux store ( #2083 )
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
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
4 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
4 years ago
Audric Ackermann
0f2fcbb6e3
delete for opengroups is working
4 years ago
Audric Ackermann
8f3b6d9ab2
add wip of call missed notification
4 years ago
Audric Ackermann
efebd8ba24
bump to 1.7.2 ( #1926 )
...
* 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
* bump to 1.7.2
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
b45109985c
use timestamp offset in for messages storage requests ( #1892 )
...
* add using timestamp offset from network for sending part1
* remove MessageController as we now rely on the database
* fix tests for message sending overriding timestamp
4 years ago
audric
bd7d88e170
remove theme from css and used variables instead
4 years ago
audric
62764d25f6
showDate break on > 5 minutes diff between messages
4 years ago
audric
7fa50b4a73
do not pass props not needed between message list components
4 years ago
audric
38665e105a
remove search messages frpm search result
4 years ago
audric
f9988119f9
major UI rewrite of messages view with redux improvements
4 years ago
audric
7b93d5df9a
fix caption for attachments not displayed once sent
4 years ago
Brice-W
a89c6710fb
Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into link-previews
4 years ago
Brice-W
384eecd9dc
allow receiving link previews when sending is disabled
4 years ago
audric
9e37985d03
enable no-unused local and imports and fix tslint
4 years ago
Audric Ackermann
f7658c323d
Merge pull request #1821 from Brice-W/bug-fixes
...
Bug fixes
4 years ago
Brice-W
f7c7d6a3d8
change source of MessageAttributesOptionals to not null
4 years ago
Audric Ackermann
360cb52680
make all messages types a readable message
4 years ago
Audric Ackermann
3f065a7b0e
improve marking message as read with hooks
4 years ago
Audric Ackermann
12d09bc896
preload messages when switching conversation
4 years ago
Audric Ackermann
f9ecfccc0a
batch UI updates of message added events
4 years ago
Brice-W
54a2eef700
change the way skipTimerInit is defined in MessageModel
4 years ago
Brice-W
bec9bd553e
Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into filter-expired-messages
4 years ago
Brice-W
d7eafb7e15
rollback changes
4 years ago
Brice-W
72868c10e5
clean
4 years ago
Brice-W
beca14982c
manage expired nessage deletion in setExpired
4 years ago
audric
bfc4b2b720
lint
4 years ago
audric
588ae85cda
fix at lat types for attachment
4 years ago
Brice-W
6bbabce8e3
fix async issue
4 years ago
audric
12ff3379e1
add key for all messages list so we can scroll to them programnatically
4 years ago
Brice-W
e5615357f7
call setToExpire when expire timer is started to set expire_at property of message
4 years ago
audric
8766cf3f8a
store offset before refresh of messagesList and restore it
4 years ago
audric
c8f0150aaf
fix unread banner position when first unread is visible
4 years ago
audric
c2b5ac68d6
don't rely on scrollheight to calculate for ui Updates
...
as it causes a layout complete refresh
4 years ago
audric
e72885944b
use selector to sort and add first of serie flag
4 years ago
audric
6d34a60f94
improve performance by not loading all unread messages
4 years ago
audric
4f5072ee65
Merge remote-tracking branch 'upstream/clearnet' into perf-improv
4 years ago
audric
23e9a6d31c
move some actions to redux in hooks
4 years ago
Brice-W
c38d2a5ea7
revert prev changes + marking read now based on received_at
4 years ago
Audric Ackermann
a54345a42e
put back quote a message logic with hook
4 years ago
Audric Ackermann
9a380b716b
put saveAttachemntToDisk outside of component
4 years ago
Audric Ackermann
63b81b4c8e
cleanup SessionMessageList p1
4 years ago
Brice-W
151fc758c0
format
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
c8aa73626e
do not load right panel data unless it is visibl
4 years ago
Audric Ackermann
f0db797a9a
fix loading of messages props
4 years ago
Audric Ackermann
672eb91975
add types for message props and remove props function calls msg
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
504a9afc0a
fix up handling of clock out of sync
4 years ago
Audric Ackermann
51e5ded36b
auto download attachment in closed group
4 years ago
Audric Ackermann
712f76a53c
Merge remote-tracking branch 'upstream/clearnet' into remove-conversationct-singleton
4 years ago
Audric Ackermann
9e5d33d849
trigger download for past messages when trusting contact
4 years ago
Audric Ackermann
e9e718bfcb
remove getInstance on MessageController=> getMessageController
4 years ago
Audric Ackermann
89a0868fc3
remove getInstance of conversationController to get()
4 years ago
Audric Ackermann
788493e856
remove some unused props for messages
4 years ago
Audric Ackermann
a659d5b480
fix open group invitation logic
4 years ago
Audric Ackermann
93e43fe929
move conversation dialogs to redux store
4 years ago
Audric Ackermann
8ef9c8ed1a
remove delivery receipt logic
4 years ago
Audric Ackermann
b403b89224
fix bug with quote empty profileName
4 years ago
Audric Ackermann
03fe67b974
remove unused contact field on 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
8a2efb83ec
Merge branch 'clearnet' into remove-fsv1-sogsv1
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
81553aed57
do not overwrite attachment name on sending side
...
Relates #1593
4 years ago
Audric Ackermann
637e092a00
make sure fileserver v1 is not supported and not used anymore
4 years ago
Audric Ackermann
5cab7908b4
add some test for partial path rebuilding
4 years ago
Audric Ackermann
288d4a6a2e
make sure the left member convo exist in rendering GroupUpdate
4 years ago
Audric Ackermann
b574fd731d
match group invitation design with ios
4 years ago
Audric Ackermann
248494f15b
redesign group invitation message type
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
98b69c17f0
add userblocking opengroupv2 and quoting back of messages
4 years ago
Audric Ackermann
5916ce5cbe
add the ban/unban logic for opengroupv2
4 years ago
Audric Ackermann
f7e163c142
add sending of message for opengroupv2`
4 years ago
Audric Ackermann
193fb2a101
move some message interactions logic to another file
4 years ago
Audric Ackermann
3b30d13719
add some regex to identify Opengroupv2 vs Opengroupv1 convo Ids
4 years ago
Audric Ackermann
f7581cf4eb
increase prettier maxWidth to 100
4 years ago
Audric Ackermann
6896cffd75
Merge branch 'clearnet' into HEAD
4 years ago
Audric Ackermann
c07271109f
Add a ConversationType OPEN_GROUP
4 years ago
Audric Ackermann
0ce1059a96
disable UI recording bars so we can encode audio MP3
4 years ago
Audric Ackermann
f704708524
fix bug with extension not being send if we don't have contenttype set
4 years ago
Audric Ackermann
ecf133ad5d
Merge branch 'clearnet' into voice-message-record-as-opus
4 years ago
Audric Ackermann
ec6a5995db
sync expire timer updates
4 years ago
Audric Ackermann
79193ee7be
refactor to Visible and ControlMessage types
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
553f264d12
make unread attrs as before a number, and remove calculatingPow
...
calculating pow is just the same as sending state
4 years ago
Audric Ackermann
ad117fe4e5
uniformized redux convo type and getProps() of conversation
4 years ago
Audric Ackermann
b6ff4dc186
always share profileKey if it is set
4 years ago
Audric Ackermann
fc24df00fb
always share our profileKey on outgoing messages
4 years ago
Audric Ackermann
ca22b4635f
fixup some building of sync message issues
4 years ago
Audric Ackermann
58cc6551e5
fix updates of message on message syncing
4 years ago
Audric Ackermann
8716fbf495
improve sent message handling by setting the correct convoId at start
4 years ago
Audric Ackermann
66a6190f2b
remove unused replyable error types
4 years ago
Audric Ackermann
8a800cf58c
move the logic of handling when a message is sent to MessageSentHandler
4 years ago
Audric Ackermann
3ee0ccfac8
remove the forceSave logic for a message, always insert or replace
4 years ago
Audric Ackermann
370158951a
move events from MessageQueue to MessageSentHandler
4 years ago
Audric Ackermann
8ea9f02cec
Move data.js to data.ts
4 years ago
Audric Ackermann
36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2
4 years ago
Audric Ackermann
ea2c4437a3
cleanup models with unused events
...
also, sort message from DB and on redux by sent_at or received_at when
not a public group
4 years ago
Audric Ackermann
5ec9722e00
autobind typescript class methods with autobind
4 years ago
Audric Ackermann
a51f95d28c
move models to TS part1
4 years ago