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
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
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
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
56ee7fe7ac
Merge pull request #2436 from Bilb/fix-shortening-last-message
...
fix: shorten further the last message
3 years ago
Audric Ackermann
268ea40746
fix: increase shorten length of the lastMessage saved in DB
3 years ago
Audric Ackermann
ba41e92720
fix: drop friendRequestStatus before saveConversation in migrations
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
19e48c2629
fix: drop column friendRequestStatus if exists
3 years ago
Audric Ackermann
ef9b2dfc80
fix: pass the db instance during db migration
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
William Grant
aef6d9e8a7
fix: global error copy to clipboard option must not quit the app
...
this allows for easier debugging. The user must explicitly quit the app when the error window is shown using the quit button
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