Commit Graph

161 Commits (b7cd4fc2477aab984f4dd2bcb2660ef2dc6a1896)

Author SHA1 Message Date
William Grant da588a1096 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
William Grant 43276b069e Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann e3b6be7318 chore: fix typos
this comes from mdplusplus https://github.com/mdPlusPlus/session-desktop/tree/codespell

duplicated to fix conflicts
2 years ago
Audric Ackermann 84deed19f9 feat: add block msg requests from sogs 2 years ago
William Grant 41af1e7865 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann ab946e69b1 fix: finish updating dependencies 2 years ago
Audric Ackermann feaba36fa4 fix: picker emoji-mart errors after update 2 years ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 2 years ago
Audric Ackermann 49955a3947 chore: update node version, electron and deps 2 years ago
William Grant ed2a372ca3 Merge branch 'unstable' into feature/ses-145/leave-conversation-update 2 years ago
Audric Ackermann 9a7ef4d373 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 594eee698b Merge remote-tracking branch 'upstream/clearnet' into unstable 2 years ago
William Grant d37aa42084 Merge branch 'unstable' into feature/ses-145/leave-conversation-update 2 years ago
Audric Ackermann 5d2d901aa0 Merge remote-tracking branch 'upstream/unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann dc3e8450e9 fix: memoize selected conversation props to avoid unneeded rerenders 2 years ago
Audric Ackermann 524debb307 fix: improve delete messages perfs and search logic 2 years ago
Audric Ackermann fed58161a0 fix: address PR reviews and optimize search results 2 years ago
Audric Ackermann bec667ebee fix: remove row_number ordering when looking up message 2 years ago
Audric Ackermann 3eb629e33e fix: cleanup convo selectors to hope to improve performances 2 years ago
William Grant 24776c0d5c feat: moved convo model interaction props into the lastMessage logic
this makes it easier to interact with since if an interaction fails we save it to the db as a message
2 years ago
William Grant de614109d0 feat: added lastMessageId to convo model to uniquely identify a lastMessage 2 years ago
William Grant 8a7007e7c3 feat: added interaction properties to conversation modal and started UI changes in ConversationListItem based on confirming an interaction
still to to port the original modal checks to use thd convo props
2 years ago
Audric Ackermann 4637f4609a Merge remote-tracking branch 'yougotwill/disappearing_messages' into userconfig_disappearingmessage 2 years ago
William Grant e8b5f399f7 fix: made sure items in getMessagesBySenderAndSentAt are unique 2 years ago
William Grant 92ed15c6c4 feat: pass yarn ready 2 years ago
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
William Grant df27fa1b82 fix: cleanup comments 2 years ago
Audric Ackermann 2a4bbbd587 feat: add the deleteContact and deleteConversation only menu items 2 years ago
William Grant 93cb972514 feat: updated hasOutdatedClient to track last user to send a legacy message
this makes the banner work properlly in closed groups
2 years ago
William Grant bd900128f4 feat: added hasOutdated Client to convo model, use feature release check to process disappearing messages
trigger banner when receiving a legacy disappearing message via hasOutdatedClient
2 years ago
William Grant e34e3d4a4b fix: resolved some yarn ready issues 2 years ago
William Grant 2745571790 fix: correctly write to db when setting changes 2 years ago
William Grant 30196a131a feat: added basic support for different disappearing message modes
added expirationType and lastDisappearingMessageChangeTimestamp to conversations table, left a few comments for future work
2 years ago
Audric Ackermann 3ecc89fab3 Merge remote-tracking branch 'upstream/master' into onboarding 2 years ago
Audric Ackermann f3975b545a feat: use priority for hidden and pinned conversation 2 years ago
Audric Ackermann 796ccf0582 feat: add handling and setting of the expireTimer for contacts 2 years ago
Audric Ackermann 8a0074d2bd feat: add convo volatile info during migrations for each convo tracked 2 years ago
Audric Ackermann 554b445a3e feat: lookup for shared config message on link device 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
Audric Ackermann f5efb52fea feat: remove closedgroupv3 uneeded stuff for now
also move the room stuff which can be kept in memory into another redux
slice
2 years ago
Audric Ackermann 2a5dc5f2a5 feat: add more compilation errors if forgetting to handle a wrapper type 2 years ago
Audric Ackermann c4e17d0825 fix: add mgmt of members in user groups wrapper 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
mdPlusPlus 1d6ed17ac7 Fix typos via codespell 2 years ago
Audric Ackermann f870eff45b fix: make syncJob throttled every 3s and start right away if possible
also enable sig_timestamp on mainnet use as every node should have
upgraded now
2 years ago
Audric Ackermann 7c56310e69 feat: addConfSyncJob start 2 years ago
Audric Ackermann 4bfcf91193 fix: add return types for libsession wrapper functions 2 years ago
Audric Ackermann 90804491d6 feat: add job result enum with success, retry and permanent fail 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
Audric Ackermann 2da2c95272 chore: cleanedup the stubbing logic 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 456d52ab1a fix: make sure we do not use "group" or "private" without the enum 2 years ago
Audric Ackermann d7bcf1026f fix: refactor snodeRPC to use snode batching 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
3 years ago
Audric Ackermann e3006ae157 fix: do not return updated messages from markAllRead if not needed 3 years ago
Audric Ackermann 0cc7994c12 fix: speed up expiration/deletion of messages by batching updates in UI 3 years ago
Audric Ackermann c22d7c2367 Merge branch 'clearnet' into mark-all-as-read-optimization 3 years ago
Audric Ackermann 1411b93f2d fix: do not let mentioning members with their unblindedPubkey room blinded 3 years ago
Audric Ackermann 0eac74dd07 Merge branch 'dev' into menu-redesign 3 years ago
Audric Ackermann 4367543224 fix: remove the sogs pruning dialog on app start
the settings in ON by default, and can be turned off from the settings
screen.
That dialog was only used until our existing users got asked the
question, which was 3 months ago.
3 years ago
Audric Ackermann d9e504afa0 Merge remote-tracking branch 'upstream/clearnet' into mark-all-as-read-optimization 3 years ago
Audric Ackermann 20d9abc05b
Merge branch 'clearnet' into pr26 3 years ago
Audric Ackermann 3e2a32922a fix: getUnread() messages should have the json as object rather than str 3 years ago
Audric Ackermann 268ea40746 fix: increase shorten length of the lastMessage saved in DB 3 years ago
Audric Ackermann ef1f634e6b Merge remote-tracking branch 'upstream/clearnet' into menu-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 542c704b64 feat: add search by contacts to closed group overlay 3 years ago
Audric Ackermann eabee8f39a fix: split migrations and sql files
also address PR reviews
3 years ago
Audric Ackermann 18ab715e93 fix: sogs messages being skipped and not handled 3 years ago
Audric Ackermann fac41bc6c4 fix: migrate session sogs room to their DomaiName syntax 3 years ago
Audric Ackermann 6f4b70e650 fix: allow non admin mods to delete message for deletion 3 years ago
Audric Ackermann ef27153c69 fix: make sure existing sogs convo do not break on save
the app was crashing if a convo with an invalid read/write/upload capability was saved during a migration
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 c360f8b07c
Merge branch 'clearnet' into pr26 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
Ian Macdonald 0a5add5869
Update message expiry comment to match what the code does.
The code was changed in c8e7be066e on
2022-04-20, but the associated comment was not updated accordingly.
3 years ago
Audric Ackermann 3713e95a9f
feat: ask user for opengroup pruning on/off 3 years ago
Ian Macdonald 695e867221
Add setting to specify minimum age of open group messages to prune.
When an open group has more than 2000 messages, those older than the
specified number of months will be pruned on application start-up.

Fixes #2310.
3 years ago
Audric Ackermann 02ed40455f
fix: run the cleaning opengroup transaction on startup 3 years ago
Audric Ackermann 623ad33923
fix start of app without account setup 3 years ago
Audric Ackermann 6c05ff3c07
move useTestNet to featureFlag dependent on ENV variables 3 years ago
Audric Ackermann 9bd8b73a0c
fix testnet 3 years ago
Audric Ackermann 363977b358
add polling from namespace 0 and storing lastHash with namespace 3 years ago
Audric Ackermann 851d5280e0
fixup build appImage sqlite3 module not found 3 years ago
Audric Ackermann 0efce6ea2d
updating workflows actions version 3 years ago
Audric Ackermann 4010373a7b
make sure we do not save more than one entry in the read_by
Session has read by only for private chats, so we do not care about
having more than one entry  in read_by
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 b8498f7a2b
fix display of spinner while db decrypting 3 years ago
Audric Ackermann 7c1707f48e
drop old messages of opengroup 3 years ago
Audric Ackermann c8e7be066e
remove messages from opengroup > 2k messages and older than 6 months 3 years ago
Audric Ackermann af9d2fdfa1
get rid of libtextsecure.js and componnets.js 3 years ago