Commit Graph

216 Commits (5cd7262fa22f35e711919acfe023afcf89a30ee4)

Author SHA1 Message Date
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
William Grant 905fe5aab9 Merge branch 'unstable' into userconfig_disappearingmessage 2 years ago
Audric Ackermann 77acd1396b feat: add support for blinded25 receipt of messages for later impl 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
Audric Ackermann dcdbc07195 fix: delete actions for admins on communities 2 years ago
William Grant d37aa42084 Merge branch 'unstable' into feature/ses-145/leave-conversation-update 2 years ago
Audric Ackermann adf5574318 fix: add libsession nodejs with expiretimer and resolve issues 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 4280d83ba8 fix: bump libsession to allow createdAt to be given during migration 2 years ago
Audric Ackermann fed58161a0 fix: address PR reviews and optimize search results 2 years ago
Audric Ackermann 0e18bf4640 fix: disable expire timer tracking for all libsession logic
this will need to be turned on when the disappearing branch is merged
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
Audric Ackermann 5a5f069cca fix: add tracking of expiration timer for nts through libsession 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
Audric Ackermann c42f828044 fix: hide logs when fetched items are sent back on saveConversation 2 years ago
William Grant f41c28a873 fix: moved feature release timestamp to constants so it only has to be defined once 2 years ago
William Grant df27fa1b82 fix: cleanup comments 2 years ago
Audric Ackermann 4d0e79f195 fix: legacy group with wrapper and disable right click while searching 2 years ago
Audric Ackermann 2a4bbbd587 feat: add the deleteContact and deleteConversation only menu items 2 years ago
Audric Ackermann 6f6620f622 fix: skip new group messages when receved after group was removed 2 years ago
Audric Ackermann bac2887c28 fix: update with latest libsession util 2 years ago
Audric Ackermann 6fe6544d6c fix: split up migration of initial user config dumps into two 2 years ago
Audric Ackermann e263b701b0 chore: fetch latest archive from libsession nodejs git repo 2 years ago
Audric Ackermann 9d87ca2546 fix: test with libsession compiled with node-api 2 years ago
William Grant f68fbb05f9 fix: resolve turning off disappearing messages empty messages in most cases
still requires more tweaking
2 years ago
William Grant f7e5719eac feat: reverted bak to stage 1 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 61b91e2485 fix: make sure migration triggers with the correct date for current development 2 years ago
William Grant 2f4c0114aa feat: tested new expiration modes with legacy and new clients
fixed banner logic
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 4dbbada728 feat: added notice banner component
show notice when conversation is in legacy mode, extracted some UI components from the ConversationHeader, updated featureReleaseTimestamp
2 years ago
William Grant 93005d32d8 feat: updated db migration to support legacy mode 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 1303707cd7 feat: added expirationType to message model with correct typings
added to migration
2 years ago
William Grant 976cb2a55f fix: improved migration queries 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 0e286142f1 chore: add a redux settings slice, currently outdated banner inc 2 years ago
Audric Ackermann cbffc29950 fix: run tests for libsession-util integration and fix issue 2 years ago
Audric Ackermann c2e3f1b587 chore: update libsession-util name & dependency 2 years ago
Audric Ackermann 3ecc89fab3 Merge remote-tracking branch 'upstream/master' into onboarding 2 years ago
Audric Ackermann 55a2767fce feat: do not approve a convo before sending the first message
but still sync it's state through the createdAt with libsession util
2 years ago
Audric Ackermann b843d66084 feat: add the lastJoined and createdAt timestamp from wrapper logic 2 years ago
Audric Ackermann 51e4f1dd48 feat: UI, use group info from wrapper if we have them or from DB 2 years ago
Audric Ackermann 3ff7281b6a chore: remove isGroup from the redux stored entry
as it is always = !isPrivate
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 51df7d80bb chore: remove parcel completely and grunt 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 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
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 6bbb16b46d feat: track and delete configMessageHashes 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 65df3157bd chore: lint 2 years ago
Audric Ackermann 456d52ab1a fix: make sure we do not use "group" or "private" without the enum 2 years ago
Audric Ackermann 4b97f14edf fix: added batch requests for snode but signature fails 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
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
Ian Macdonald ca3da7a603
Set the Windows spell-checking language from $LANGUAGE.
Session on Windows wants to spell-check using American English, no
matter what I do. This seems to be because it wrongly assumes my locale
to be `en-US`, when it is actually `en-GB`.

```
"spellcheck: setting languages to:  [\"en-US\"]","time":"2022-10-10T19:19:09.216Z"
```

With this patch, Windows will use `$LANGUAGE`, if set, to determine the
language to be used for spell-checking.

Linux is unaffected by this patch and will correctly infer the
spell-checking language from `$LANG`.

Create a .bat file and start Session from this:

```
@echo off
set LANGUAGE=en-GB
"C:\Users\ian\AppData\Local\Programs\Session\Session.exe" --lang=en-GB
```

Note that the use of `--lang=<language>` above sets only the Session UI
language, not the spell-checker language.

This is a partial fix for #2013, specifically [this comment](https://github.com/oxen-io/session-desktop/issues/2013#issuecomment-998679090):
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