Commit Graph

92 Commits

Author SHA1 Message Date
Will G 267f49ff1e
Emoji Reacts (#2320)
Add support for emoji reacts in conversations

Resolves #2375 and #1577
2022-08-22 16:40:14 +10:00
Audric Ackermann 18ab715e93 fix: sogs messages being skipped and not handled 2022-08-12 13:21:57 +10:00
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
2022-08-08 09:50:48 +10:00
Audric Ackermann c3b9cd2b41
fix: error when trying to reply to an attachment
Relates #2327
2022-05-19 13:11:00 +10:00
Audric Ackermann 3713e95a9f
feat: ask user for opengroup pruning on/off 2022-05-18 13:21:35 +10:00
Audric Ackermann 363977b358
add polling from namespace 0 and storing lastHash with namespace 2022-05-04 14:55:56 +10:00
Audric Ackermann 0efce6ea2d
updating workflows actions version 2022-04-26 16:43:30 +10:00
Audric Ackermann 062db5caab
move filterDuplicatesFromDbAndIncoming to its own file and test
also add pending tests to do for in memory db and updater
2022-04-13 14:59:08 +10:00
Audric Ackermann 0158fd5ebb
filter duplicates on opengroup poll in a single sql call 2022-04-13 13:52:05 +10:00
Audric Ackermann 475c92eeb4
migrate about_start to not use jquery 2022-04-07 11:42:22 +10:00
Audric Ackermann 0ebc1d7e92
split attachmnent logic between what is used on main and renderer 2022-04-06 16:21:19 +10:00
Audric Ackermann 9f8920ef2c mostly working but need to improve perfs 2022-04-04 08:53:37 +10:00
Audric Ackermann 4d72b92b25 app starts but full of errors 2022-04-01 16:55:17 +11:00
Audric Ackermann 2b17ad5cfa WIP 2022-04-01 15:42:50 +11:00
Audric Ackermann 280cc494e8 test with webpack - not working 2022-04-01 09:58:24 +11:00
Audric Ackermann 70ee8cefdc WIP sql.js 2022-03-29 15:18:26 +11:00
Audric Ackermann 6bd835dfc3
move storage.js to ts 2022-03-23 15:57:11 +11:00
Audric Ackermann e78224db05
after moving expiring message and wallclock to TS 2022-03-23 10:30:57 +11:00
warrickct 9338f2fc20 Fixed issue preventing approval message being shown as approval was set before handling config messages ending the handling early. 2022-02-23 15:35:31 +11:00
warrickct 2258c6da4c Fixing linting errors. 2022-02-22 12:41:15 +11:00
warrickct dcd78e85f6 QA fix - msg request accept buttons showing at wrong stage. 2022-02-17 18:09:18 +11:00
warrickct 6a02846829 Correcting merge errors. 2022-02-14 23:01:50 +11:00
warrickct ee9156d4f8 Merge clearnet into message-request-ui 2022-02-14 16:42:53 +11:00
audric 62f0edf8cb cleanup console.warn calls 2022-01-18 15:32:10 +11:00
audric e515ce3ca5 Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment 2022-01-17 16:50:18 +11:00
Audric Ackermann 6a403afb41
Merge pull request #2139 from warrickct/global-search-progress
Global Search and Database Trimming
2022-01-17 16:33:20 +11:00
warrickct 04241daa08 Fixin linting errors. 2022-01-17 16:16:59 +11:00
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. 2022-01-17 14:51:30 +11:00
audric fc916ce94c Fix attachments duplication on message syncing with current device 2022-01-14 14:56:55 +11:00
Audric Ackermann 4349b699cb
remove schemaVersion field and logic from message object 2022-01-07 10:32:58 +11:00
warrickct 7846891359 Fix linting errors 2021-12-22 13:48:19 +11:00
warrickct 374d5a6619 Global search partially functioning, added basic functions for load testing performance. 2021-12-22 11:20:29 +11:00
Audric Ackermann dd52ad336f
use variables for common settings key
also turn off typing message by default
2021-12-21 08:16:22 +11:00
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
2021-12-14 15:15:12 +11:00
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
2021-12-08 14:15:54 +11:00
warrickct 4576f3cb32 Merge branch 'clearnet' into message-requests 2021-11-24 16:25:07 +11:00
Audric Ackermann af75b6f0e2
disable deduplication based serverId+sender
only use the serverTimestamp+sender for searching because
serverId+sender might have false positive
2021-11-23 10:32:11 +11:00
Warrick Corfe-Tan 4ad14e4c5b Added syncing accepting of contact between running instances. 2021-10-29 10:58:40 +11:00
Audric Ackermann 1e8c8991ad
more cleanup 2021-10-04 10:56:54 +11:00
Audric Ackermann fa32e61982
network delete_all force retries if we get a 421 2021-09-29 17:04:38 +10:00
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>
2021-09-20 13:47:59 +10:00
audric f48b57d077 fix audio attachments sending blob 2021-08-19 17:05:23 +10:00
audric 6a11a4c879 store staged Attachments in redux
still an issue with the File in redux
2021-08-18 09:55:35 +10:00
audric 8a19b50c0f fix attachment not being uploaded since electron upgrade 2021-08-17 16:03:57 +10:00
audric 9e37985d03 enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +10:00
audric bea704ecf0 bump react to 17 2021-08-04 10:52:24 +10:00
audric 5b487b0fec Merge remote-tracking branch 'upstream/clearnet' into disable-search-for-now 2021-07-27 11:25:14 +10:00
audric 1054278a54 disable search in messages for now 2021-07-27 10:29:18 +10:00
Brice-W bec9bd553e Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into filter-expired-messages 2021-07-26 12:19:20 +10:00
Brice-W beca14982c manage expired nessage deletion in setExpired 2021-07-26 10:43:12 +10:00