William Grant
e90e548715
feat: improved quoted message not found
...
consolidated quote props lookup into getMessageQuoteProps, only use the db message in the quote components
2 years ago
William Grant
3bc187fa5e
feat: performance improvements to quote lookup
...
getMessagesByConversation optionally returns quotes from messages in view, quoted messages that are deleted are removed from the lookup map. getMessageBySenderAndSentAt supports an array of messages and renamed to getMessagesBySenderAndSentAt
2 years ago
William Grant
1ff2969750
refactor: rename getMessageBySenderAndTimestamp to getMessageBySenderAndSentAt
...
its more clear what parameters are needed
2 years ago
William Grant
bd8ce826a8
fix: replaced getMessageBySenderAndSentAt with getMessageBySenderAndTimestamp
...
which does the same thing but is more verbose
2 years ago
Audric Ackermann
6676bf77f9
chore: fix unit tests for userconfig changes
2 years ago
Audric Ackermann
0e286142f1
chore: add a redux settings slice, currently outdated banner inc
2 years ago
Audric Ackermann
0080254286
fix: add NoticeBanner showing when legacy config message received
2 years ago
Audric Ackermann
3ecc89fab3
Merge remote-tracking branch 'upstream/master' into onboarding
2 years ago
Audric Ackermann
bf2456df8e
chore: do not store mentionedUs and unreadCount as attribute in convo
2 years ago
Audric Ackermann
bc905bdba1
feat: start of community handling in libsession util
...
also remove tracking of hashes for config namespaces
2 years ago
Audric Ackermann
3c58f9c1e4
feat: add a hidden flag for convos and use it with the contactswrapper
2 years ago
Audric Ackermann
c4217cb564
feat: sync nickname, blocked and approved status for contacts
2 years ago
Audric Ackermann
6bbb16b46d
feat: track and delete configMessageHashes
2 years ago
Audric Ackermann
7c56310e69
feat: addConfSyncJob start
2 years ago
Audric Ackermann
bb0112c6c5
feat: increase max upload size to 10MB
2 years ago
Audric Ackermann
4bfcf91193
fix: add return types for libsession wrapper functions
2 years ago
Audric Ackermann
9cf1419ca5
feat: add first try to build SharedConfigMessages
2 years ago
Audric Ackermann
d1cefd4729
feat: add contacts & user profile handling of incoming messages
2 years ago
William Grant
504f60cb97
fix: resolved missing reactions in open groups, fixed mutation cache logic
2 years ago
Audric Ackermann
c8e76b17de
chore: refactor db instance to outside its sql.ts file
2 years ago
Audric Ackermann
32e00227a4
Merge pull request #2532 from Bilb/fix-deleted-messages-all-at-once
...
To merge once theming is done: handle deleted messages & deleted reacts all at once
2 years ago
Audric Ackermann
0b8a10ad66
fix: improve markAllAsRead performances
...
- make an index on unread+convoId
- make the message update trigger only run when the body changed
3 years ago
Audric Ackermann
e3006ae157
fix: do not return updated messages from markAllRead if not needed
3 years ago
Audric Ackermann
12161a1fde
fix: INVALID_DATE (-Infinity) when merging two conversations inactive
3 years ago
Audric Ackermann
1ce8fd5979
fix: make circular buffer not recreate an array on each overflow
3 years ago
Audric Ackermann
0cc7994c12
fix: speed up expiration/deletion of messages by batching updates in UI
3 years ago
Audric Ackermann
c4fcac7ddf
feat: add support for audio notifications windows/macOS
3 years ago
Audric Ackermann
c22d7c2367
Merge branch 'clearnet' into mark-all-as-read-optimization
3 years ago
Audric Ackermann
d9e504afa0
Merge remote-tracking branch 'upstream/clearnet' into mark-all-as-read-optimization
3 years ago
Audric Ackermann
81fa09b8ee
Merge branch 'menu-redesign' into settings-redesign
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
13bf0e073d
feat: update design of the Notification Settings screen
...
the preview button is not linked yet
3 years ago
Audric Ackermann
18ab715e93
fix: sogs messages being skipped and not handled
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
Audric Ackermann
9251711fa5
fix: optmize markAllAsRead when no expiration timer
...
we basically do a single sql call to mark everything as read for that
conversation, force unreadCount to 0 and mention state to false, and
trigger read syncs if needed.
the optomization cannot work for conversation with expiration timer for
now
3 years ago
Audric Ackermann
c3b9cd2b41
fix: error when trying to reply to an attachment
...
Relates #2327
3 years ago
Audric Ackermann
3713e95a9f
feat: ask user for opengroup pruning on/off
3 years ago
Audric Ackermann
363977b358
add polling from namespace 0 and storing lastHash with namespace
3 years ago
Audric Ackermann
0efce6ea2d
updating workflows actions version
3 years ago
Audric Ackermann
062db5caab
move filterDuplicatesFromDbAndIncoming to its own file and test
...
also add pending tests to do for in memory db and updater
3 years ago
Audric Ackermann
0158fd5ebb
filter duplicates on opengroup poll in a single sql call
3 years ago
Audric Ackermann
475c92eeb4
migrate about_start to not use jquery
3 years ago
Audric Ackermann
0ebc1d7e92
split attachmnent logic between what is used on main and renderer
3 years ago
Audric Ackermann
9f8920ef2c
mostly working but need to improve perfs
3 years ago
Audric Ackermann
4d72b92b25
app starts but full of errors
3 years ago
Audric Ackermann
2b17ad5cfa
WIP
3 years ago
Audric Ackermann
280cc494e8
test with webpack - not working
3 years ago
Audric Ackermann
70ee8cefdc
WIP sql.js
3 years ago
Audric Ackermann
6bd835dfc3
move storage.js to ts
3 years ago
Audric Ackermann
e78224db05
after moving expiring message and wallclock to TS
3 years ago
warrickct
9338f2fc20
Fixed issue preventing approval message being shown as approval was set before handling config messages ending the handling early.
3 years ago
warrickct
2258c6da4c
Fixing linting errors.
3 years ago
warrickct
dcd78e85f6
QA fix - msg request accept buttons showing at wrong stage.
3 years ago
warrickct
6a02846829
Correcting merge errors.
3 years ago
warrickct
ee9156d4f8
Merge clearnet into message-request-ui
3 years ago
audric
62f0edf8cb
cleanup console.warn calls
3 years ago
audric
e515ce3ca5
Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment
3 years ago
Audric Ackermann
6a403afb41
Merge pull request #2139 from warrickct/global-search-progress
...
Global Search and Database Trimming
3 years ago
warrickct
04241daa08
Fixin linting errors.
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 Ackermann
4349b699cb
remove schemaVersion field and logic from message object
3 years ago
warrickct
7846891359
Fix linting errors
3 years ago
warrickct
374d5a6619
Global search partially functioning, added basic functions for load testing performance.
3 years ago
Audric Ackermann
dd52ad336f
use variables for common settings key
...
also turn off typing message by default
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
warrickct
4576f3cb32
Merge branch 'clearnet' into message-requests
3 years ago
Audric Ackermann
af75b6f0e2
disable deduplication based serverId+sender
...
only use the serverTimestamp+sender for searching because
serverId+sender might have false positive
3 years ago
Warrick Corfe-Tan
4ad14e4c5b
Added syncing accepting of contact between running instances.
4 years ago
Audric Ackermann
1e8c8991ad
more cleanup
4 years ago
Audric Ackermann
fa32e61982
network delete_all force retries if we get a 421
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
f48b57d077
fix audio attachments sending blob
4 years ago
audric
6a11a4c879
store staged Attachments in redux
...
still an issue with the File in redux
4 years ago
audric
8a19b50c0f
fix attachment not being uploaded since electron upgrade
4 years ago
audric
9e37985d03
enable no-unused local and imports and fix tslint
4 years ago
audric
bea704ecf0
bump react to 17
4 years ago
audric
5b487b0fec
Merge remote-tracking branch 'upstream/clearnet' into disable-search-for-now
4 years ago
audric
1054278a54
disable search in messages for now
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
beca14982c
manage expired nessage deletion in setExpired
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 Ackermann
5b0b165ba9
Merge remote-tracking branch 'upstream/clearnet' into perf-improv
4 years ago
Audric Ackermann
9a302fb5ff
add a cache of the keypairs for a closed group
4 years ago
Audric Ackermann
ee4a0b9b1e
cleanedup redux action openConversationExternal
4 years ago
Audric Ackermann
b385a9b101
test with better-sqlite3 bindings
4 years ago
Audric Ackermann
c8aa73626e
do not load right panel data unless it is visibl
4 years ago
Brice-W
6b8a4ffc6c
display link preview popup only time
4 years ago
Audric Ackermann
4a491e6a6a
lint
4 years ago
Audric Ackermann
3f75fa54ad
delete one opengroupv1 message every 10 sec until there is no more
4 years ago
Audric Ackermann
9796f6fd52
limit the number of returned members to the last 300
4 years ago
Audric Ackermann
27fb732f50
cleanup unused prekeys table
4 years ago
Audric Ackermann
0a208c0d15
store snodes list on db, use them if possible on app start
...
if not enough snodes or no snodes at all, a request to the seed node is
made instead
4 years ago
Audric Ackermann
722f240f3d
fix deduplication based on serverTimestamp
4 years ago
Audric Ackermann
caf8397d29
Merge pull request #1652 from Bilb/fetch-x-messages-long-away
...
Fetch last messages only when long away from room
4 years ago
Audric Ackermann
a2ee3ac98f
Merge remote-tracking branch 'upstream/clearnet' into scoring-system
4 years ago
Audric Ackermann
8c726fd745
reupload avatar every 10 days
4 years ago
Audric Ackermann
eff4f490f3
do not fetch all messages for room if user was away for > 2 weeks
4 years ago
Audric Ackermann
5cab7908b4
add some test for partial path rebuilding
4 years ago