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
mdPlusPlus
1d6ed17ac7
Fix typos via codespell
2 years ago
William Grant
504f60cb97
fix: resolved missing reactions in open groups, fixed mutation cache logic
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
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
ec76057c5e
Merge integration test ( #2313 )
...
* Testing playwright for Desktop automation
* add more data-testid field
* remove commited test-results
* test: skip group upkeep for now
* test: mention test create group instead of restoring from seed
* test: run on testnet
* fix: revert messagebanner unread count changes
from commit 8107d75e89
Co-authored-by: Emily <emily@oxen.io>
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