Audric Ackermann
6e8e8eaa9a
move errors.js to ts
3 years ago
Audric Ackermann
79bf0c53ee
move libtextsecure/crypto.js to ts
...
used mostly for attachments encrypting before upload/decrypt and profile
encrypt/derypt
3 years ago
Audric Ackermann
0719700371
do not end call if connection fails, instead wait for new offer
3 years ago
Audric Ackermann
2a11d5e71f
trigger a new offer on connect fail if we are caller
...
the caller is just supposed to accept the offer and send an answer back
3 years ago
Audric Ackermann
6bd835dfc3
move storage.js to ts
3 years ago
Audric Ackermann
ce0848c8bf
Merge branch 'clearnet' into updater-reword
3 years ago
Audric Ackermann
9d4989b66d
cleanup constants.tsx file
...
and fixup commit id showing at the bottom in settings
3 years ago
Audric Ackermann
74cf88cf81
create closed group mark as approved
...
also, do not filter closed group based on the isApproved field in redux
3 years ago
Audric Ackermann
71aa6c813c
Merge remote-tracking branch 'upstream/clearnet' into fix-i18n-with-dollars-sign
3 years ago
warrickct
4ee51b4ee9
Removing open group blocklist code.
3 years ago
Audric Ackermann
e1f2393c3a
cleanup translated strings
3 years ago
warrickct
614cdccd2c
Switch to window logging.
3 years ago
warrickct
f3cefdcf49
Add logging for debugging.
3 years ago
warrickct
096e1d24df
Fix linting error, remove unnecessary conditional
3 years ago
warrickct
380d55066a
Reducing excessive calls to open group blocklist.
3 years ago
warrickct
75191ae757
Add blocking joining open group based on blocklist.
3 years ago
warrickct
821f4d73ff
Merge branch 'clearnet' into msg-request-ui-2
3 years ago
Audric Ackermann
f1900f9f36
remove some unused strings
...
and fix tos links #2176
3 years ago
Audric Ackermann
3fed22048b
rename a few loki to session
3 years ago
warrickct
c0622d47f4
Disallow disappearing messages if convo is not approved by recipient.
3 years ago
warrickct
f5972a5d1c
Calling setting convo isApproved. Removing some unnecessary conditionals.
3 years ago
warrickct
ffad806366
Prevent attachments being sent for unapproved conversations.
3 years ago
warrickct
0db3c76756
Fixing linting errors
3 years ago
warrickct
893f7e99b8
Merge branch 'clearnet' into message-request-ui
3 years ago
Ian Macdonald
6613161b20
Don't nanny the user. Allow all file types as attachments.
...
The Android client already has no such restrictions, and these are
ineffective anyway, as they are based on the file's name, not its
payload.
3 years ago
warrickct
ee9156d4f8
Merge clearnet into message-request-ui
3 years ago
warrickct
8a8a5ca82c
removing pubkey from message request response.
3 years ago
warrickct
36ca2a767c
Adding PR changes
3 years ago
warrickct
0461454e27
Removing toast on request accept
3 years ago
warrickct
d627b8e11d
Requesting flow working with sending message as acceptance.
3 years ago
audric
78b84d4ed8
call: pick a sample of 2 of the iceservers before creating connection
3 years ago
Audric Ackermann
a19a6a33c7
migrate already set nickname convo to name + profileName index
3 years ago
warrickct
cdeac8f424
Adding protobuf changes for message request response.
3 years ago
Audric Ackermann
a3eb80abcf
fix group updates outgoing message status in left pane
3 years ago
Audric Ackermann
d6a8f5e92b
allow searching for nickname or name for contacts
3 years ago
Audric Ackermann
ceb5317160
remove profile_images as we are not using it
3 years ago
Audric Ackermann
b72b8e8387
fix tests
3 years ago
Audric Ackermann
7d9f970b2c
remove decrypted_at field from saving message models as unused
3 years ago
Audric Ackermann
6f5bca6660
allow more characters to be used in display name
...
We just deny the one used to add markers around a mentions on the
desktop client. which is ᅭ
Relates #2132
3 years ago
Audric Ackermann
b3a8692240
cleanup incoming message creation for displaying messageresult
3 years ago
Audric Ackermann
5afbd9c19e
cleanup creation of opengroup message on sync
3 years ago
Audric Ackermann
5e314e4dcc
remove 'recipients' message field and 'destination'
...
we do not need recipients as it makes no sense for us having medium
groups on the same pubkey
we do not need destination as it can always be guessed from the
direction and the type of conversation of that message
3 years ago
Audric Ackermann
00d2bbc63d
cleanup MessageSearchResults
3 years ago
audric
a21751c611
open convo on last unread, and can scroll up
3 years ago
audric
247cb7c065
cleanup dependencies
3 years ago
audric
e515ce3ca5
Merge remote-tracking branch 'upstream/clearnet' into cleanup-attachment
3 years ago
audric
fc916ce94c
Fix attachments duplication on message syncing with current device
3 years ago
audric
4b39b46b6a
replace invalid unicode in filename
3 years ago
audric
72409e3f1f
make sure to keep error state of attachment DL failing
3 years ago
audric
8feecb777b
make sure to scale dowm preview in composition box
3 years ago
Audric Ackermann
c7565fe7b3
Move scale/resize and attachment logic to typescript
3 years ago
Audric Ackermann
cb8704f9b1
bump convo active_at on answered/trigger call
3 years ago
Audric Ackermann
1a8a839ba3
no need to deleteAuthToken anymore for opengroupv2 servers
3 years ago
Audric Ackermann
4a530582b1
catch exception when failing to decode/read an attachment
3 years ago
Audric Ackermann
55cca318e7
lint
3 years ago
Audric Ackermann
eb0cf0938d
make sure to use cached convos for sync logic
...
otherwise the whole app freezes on a big database
3 years ago
Audric Ackermann
58dc3e26ca
reactify group updates text bubble from redux store ( #2083 )
3 years ago
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
3 years ago
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
3 years ago
Audric Ackermann
273d866b98
Cleanup message request ( #2063 )
...
* close incoming call dialog if endCall from seame sender
* disable message request toggle if featureFlag is OFF
* cleanup UI of message requests
* mark all existing conversations as approved in a migration
* fix regex with conversationID for opengroups
3 years ago
Audric Ackermann
1a699879cf
Add call duration ( #2059 )
...
* add call duration once connected
* close incoming call dialog if endCall from same sender
* disable message request toggle if featureFlag is OFF
3 years ago
Audric Ackermann
651b1c4376
Fetch translations ( #2056 )
...
* show missed-call,started-call and answered call notification in chat
* fix types for createLastMessageUpdate
* show incoming dialog if we have a pending call when enable call receptio
* simplify a bit the avatar component
* move disableDrag to a custom hook
* speed up hash colors of avatarPlaceHolders
* fixup text selection and double click reply on message
* keep avatar decoded items longer before releasing memory
* add incoming/outgoing/missed call notification
also, merge that notification with the timer and group notification
component
* hangup call if no answer after 30sec
* refactor SessionInput using hook + add testid field for recovery
* disable message request feature flag for now
* fix merge issue
* force loading screen to be black instead of white
for our dark theme user's eyes safety
* add type for i18n to run update after crowdin fetch with tools/updateI18nKeysType.py
* update to latest translations
3 years ago
Audric Ackermann
cf44896a03
Minor call tweaks ( #2051 )
...
* show missed-call,started-call and answered call notification in chat
* fix types for createLastMessageUpdate
* show incoming dialog if we have a pending call when enable call receptio
* simplify a bit the avatar component
* move disableDrag to a custom hook
* speed up hash colors of avatarPlaceHolders
* fixup text selection and double click reply on message
* keep avatar decoded items longer before releasing memory
* add incoming/outgoing/missed call notification
also, merge that notification with the timer and group notification
component
* hangup call if no answer after 30sec
* refactor SessionInput using hook + add testid field for recovery
* disable message request feature flag for now
* fix merge issue
* force loading screen to be black instead of white
for our dark theme user's eyes safety
3 years ago
Audric Ackermann
bef9058ffe
Merge branch 'clearnet' into message-requests
3 years ago
warrickct
4576f3cb32
Merge branch 'clearnet' into message-requests
3 years ago
warrickct
b5df47c2b8
Addressing PR comments
3 years ago
warrickct
726418887c
Addressing PR comments
3 years ago
Audric Ackermann
faeb6e206a
fix a bug releasing the decrypted attachment blobs too early
3 years ago
warrickct
86a9253144
Merge branch 'clearnet' into message-requests
3 years ago
warrickct
2144a3980f
Linting and formatting.
3 years ago
Audric Ackermann
a4daabfa75
add a way to choose the audioouput/mute a webrtc call
3 years ago
Audric Ackermann
53289298a9
auto select the first audio input on connection success webrtc
3 years ago
Audric Ackermann
d5f6180ae6
create offer and answer ourselves and do not use the negotiation needed
...
event.
this event is causing us to loop in negotiation needed when each side
try to create one, gets the answer and so on...
3 years ago
warrickct
2e2941ba9b
message request refactoring.
3 years ago
Audric Ackermann
1dff310820
no video track by default and will be turn ON if asked to
3 years ago
Audric Ackermann
6f3625f99c
move the state of calling to its own slice
3 years ago
Audric Ackermann
2f49228317
update turn servers
3 years ago
Audric Ackermann
c1471426ac
dismiss a call when answered from another of our devices
3 years ago
Audric Ackermann
485a5b257d
fix ringing sound for in release builds
3 years ago
Audric Ackermann
67665dde56
handle network switching with webrtc
...
dirty hack from
https://bugs.chromium.org/p/chromium/issues/detail?id=982793
3 years ago
Audric Ackermann
1203f1dc48
remove none state on callState. instead set it to undefined
3 years ago
Audric Ackermann
b8d5a1c166
disable audio output switching as this is broken for now
3 years ago
Warrick Corfe-Tan
cb5551c1e9
PR changes
3 years ago
Audric Ackermann
6625b7c7b6
calls fix cross platforms issue with uuid
3 years ago
Warrick Corfe-Tan
6a62437c3e
Blocking, accepting on click and accepting on msg send
...
working across clients.
3 years ago
Audric Ackermann
8c9832f118
add a toggle audio output button
3 years ago
Audric Ackermann
dafb536f58
disable negotiationevent on recipient side
...
probably cause issues on network changes
3 years ago
Audric Ackermann
29c187c6a0
add a notification on incoming call + an audio playing
3 years ago
Audric Ackermann
25c7a2febd
data extraction notification on a line rather than a column
3 years ago
Audric Ackermann
f91ed7729b
cleanup SessionCompositionBox
3 years ago
Audric Ackermann
57449857f6
reject call after 1 minute showing the dialog
4 years ago
Audric Ackermann
4700a0c832
allow to hangup even if current call should already be closed
4 years ago
Warrick Corfe-Tan
c3924f85a9
Adding blocking of individual requests and syncing of block to devices. Added approval by replying to a message.
4 years ago
Audric Ackermann
dd25d9cb7f
fix flickering of video stream on mute/unmute
4 years ago
Audric Ackermann
8468598b3a
send a pre offer to the PNServer for video calls
4 years ago
Audric Ackermann
8618cf75e9
send and handle uuid for multi device calls
4 years ago
Audric Ackermann
73d36c9769
send hangup event on datachannel to close video stream quicker
...
on the recipient side too
4 years ago
Audric Ackermann
25910be0fd
do not display the reveal seed banner if user just used it
4 years ago
Audric Ackermann
390af96514
WIP
4 years ago
Audric Ackermann
a0b33fbbbb
add hook to listen for video call events
4 years ago
Warrick Corfe-Tan
4ad14e4c5b
Added syncing accepting of contact between running instances.
4 years ago
Audric Ackermann
6a1f575c46
create a hook for listening for video call events
...
+ wip fullscreen video calls
4 years ago
Audric Ackermann
d50d7eb803
our video off => show our avatar
4 years ago
Audric Ackermann
dd281de903
cleanup feature flags
4 years ago
Audric Ackermann
ce16066313
do not try to do an unsend request on a group swarm
4 years ago
Warrick Corfe-Tan
9e0f128fc6
Adding isApproved field to protobuf.
4 years ago
Audric Ackermann
bb26680b75
unsend for me only on a closed group only deletes locally
...
also do not await request to PN server
4 years ago
Audric Ackermann
5d9565a559
fix menu action for unsending messages
4 years ago
Warrick Corfe-Tan
e405b5ffd9
git stash
4 years ago
Audric Ackermann
0f2fcbb6e3
delete for opengroups is working
4 years ago
Audric Ackermann
0ae23875b7
finish cleaning up Settings page
4 years ago
Audric Ackermann
a596531c57
cleanup SessionSettings by making them less a IdoEverything
4 years ago
Audric Ackermann
99b139f5c4
split settings folder and start adding the settings for video call
4 years ago
Warrick Corfe-Tan
c3f20aceb2
WIP message requesting. Banner styling finished.
4 years ago
Audric Ackermann
760b99587a
make sure to poll quicker if we get >95 messages on one polling
4 years ago
Audric Ackermann
ae8688bf2a
cleanup UI for missed call messages in msg list
4 years ago
Audric Ackermann
121f8927ed
exclude same /24 subnet from onion path building candidates
4 years ago
Audric Ackermann
8f3b6d9ab2
add wip of call missed notification
4 years ago
Audric Ackermann
678a5bcb3b
center avatar in draggable video window and handle mute video events
4 years ago
Audric Ackermann
ecceaeaa8f
got datachannel working
4 years ago
Audric Ackermann
0bfa41c7b8
switch to our turn servers
4 years ago
Audric Ackermann
30a234158f
lint
4 years ago
Audric Ackermann
87e7cc5ebf
Merge remote-tracking branch 'upstream/clearnet' into webrtc-calls
4 years ago
Audric Ackermann
cade0ffeb6
make sure audio locally is muted so we do not hear ourselves
4 years ago
Audric Ackermann
ce79ce1f8b
add buttons with popover to choose call src device
4 years ago
Audric Ackermann
a629985a4f
fix toggling input source and off in video calls
4 years ago
Audric Ackermann
fbd51c2974
add buttons to display list of inputs + toast on empty
4 years ago
Audric Ackermann
b85425ff83
make a draggable or in conversation call container
4 years ago
Audric Ackermann
4277c29bd8
make sure to refetch messageModel from db when saving attachments
4 years ago
Audric Ackermann
f75f63e4e9
handle 421 on sending delete_all
4 years ago
Audric Ackermann
1e8c8991ad
more cleanup
4 years ago
Warrick Corfe-Tan
1522e5102d
removed isCall property from message. Fixed text
4 years ago
Warrick Corfe-Tan
0b8f3255b0
corrections to pass yarn ready
4 years ago
Warrick Corfe-Tan
6743201cc4
added perfect negotiation
...
Adding toast for cam and audio permission when making a call.
adding missed call message and toast when a call is received while mid-call.
background call message work
4 years ago
Audric Ackermann
fa32e61982
network delete_all force retries if we get a 421
4 years ago
Warrick Corfe-Tan
8985d1ff19
WIP perfect negotiations
4 years ago
Warrick Corfe-Tan
5becf6be04
Merge branch 'webrtc-calls' of https://github.com/oxen-io/session-desktop into webrtc-calls
4 years ago
Audric Ackermann
c54f63ab45
add listener for video calls events
4 years ago
Warrick Corfe-Tan
c777a27d5b
WIP: Adding checks for perfect negotiation webrtc
4 years ago
Audric Ackermann
94bc3da2c7
working video calls accept with real streaming with android
4 years ago
Audric Ackermann
8b611a2867
make call UI react to incoming and ongoing calls
4 years ago
Audric Ackermann
6c50ec4bf1
link accept/decline and endcall buttons to the webrtc background
4 years ago
Audric Ackermann
2e49c44536
video stream displayed on mobile
4 years ago
Audric Ackermann
eb6d8727ba
WIP
4 years ago
Audric Ackermann
d55c96cb67
setup webrtc between two pubkey
4 years ago
Audric Ackermann
a538cac491
add callmessage typescript class
4 years ago
Audric Ackermann
4e30614077
disable unsend request on the UI for now ( #1934 )
...
* disable unsend request on the UI too
* do not stop propagation of events for message ctx menu
4 years ago
Audric Ackermann
15ac6ed23c
Merge remote-tracking branch 'upstream/master' into clearnet
4 years ago
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>
4 years ago
Audric Ackermann
b17312c13c
Cleanup redux store ( #1925 )
...
* do not consider expire timer update unread messages #1881
* cleanup conversation props in redux to only have what cannot be derived
* fix app not starting without the await on convo creation
* cleanup props of message model
4 years ago
Audric Ackermann
2fdafb8fba
Out of sync message sync ( #1923 )
...
* do not update sent_at for synced messages
* reply to message context menu only visible if msg sent
* Allow scrolling in mentioning people in composition box
Relates #1849
4 years ago
Audric Ackermann
e9dfa0704f
do not overwrite sent_at with network time for synced messages ( #1921 )
...
* do not update sent_at for synced messages
* reply to message context menu only visible if msg sent
4 years ago
Audric Ackermann
b45109985c
use timestamp offset in for messages storage requests ( #1892 )
...
* add using timestamp offset from network for sending part1
* remove MessageController as we now rely on the database
* fix tests for message sending overriding timestamp
4 years ago
Audric Ackermann
797bf0650f
Session 1.7.1 ( #1908 )
...
* Keep line breaks when message has some new lines
Relates #1758 and #1898 and #1901
* Fix path building (#1903 )
* Keep line breaks when message has some new lines
Relates #1758 and #1898 and #1901
* fix link preview cropped when received
* make sure we fetch from seed if we end up with not enough snodes
* try to download recent previews if we just trusted a user
* throw if we need to rebuild path while fetching snode list from snode
* fixup no refecthing of snode list while we are fetching them already
* added test for fetch from db or seed
* fetch snode list from snode every hour
also make sure the path building does not try to get more snodes. It
just throws
* do not drop a path if an opengroup room is down and we get errors back
* do not throw an error if the snode in error in not in any path
* fix tests
* bump to v1.7.11
4 years ago
Audric Ackermann
c92baad736
Fix path building ( #1903 )
...
* Keep line breaks when message has some new lines
Relates #1758 and #1898 and #1901
* fix link preview cropped when received
* make sure we fetch from seed if we end up with not enough snodes
* try to download recent previews if we just trusted a user
* throw if we need to rebuild path while fetching snode list from snode
* fixup no refecthing of snode list while we are fetching them already
* added test for fetch from db or seed
* fetch snode list from snode every hour
also make sure the path building does not try to get more snodes. It
just throws
* do not drop a path if an opengroup room is down and we get errors back
* do not throw an error if the snode in error in not in any path
* fix tests
* bump to v1.7.11
4 years ago
audric
ffe8375dd1
fix build of onion path when snodes count is exactly 12
4 years ago
audric
8462d7d38e
make encrypted content fast load if already stored decrypted
4 years ago
audric
a30876fd65
removed the enum from SessionIconType. Just rely on the type itself
4 years ago
audric
cdd11eee47
speed up attachment loading by only loading those inview
4 years ago
audric
7fa50b4a73
do not pass props not needed between message list components
4 years ago
audric
ea2dbb4a69
onionpath status only has ip needed
4 years ago
audric
ec2eab6e23
do not trigger redux update if onion path did not change
4 years ago
audric
f7b0c6c7e1
make conversation screen closer to mobile UI part1
4 years ago
Audric Ackermann
ca96795683
Merge pull request #1869 from Bilb/logs-pn-server
...
Add logs of PN server notify fails
4 years ago
audric
68330b42bf
Add logs of PN server notify fails
4 years ago
Brice-W
a89c6710fb
Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into link-previews
4 years ago
audric
6a50484597
fix tests for swarm polling
4 years ago
audric
e5dab2781e
remove spectron dependency
4 years ago
audric
8344c48d88
handle offline status for selectGuardNodes stuff
4 years ago
Brice-W
68979f83d5
Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into link-previews
4 years ago
Brice-W
384eecd9dc
allow receiving link previews when sending is disabled
4 years ago
audric
9e37985d03
enable no-unused local and imports and fix tslint
4 years ago
audric
1ffadad2ad
remove ip_url from seed nodes as this is unused
4 years ago
audric
215f2227c1
move what is used only for PN server api call to pnserver.ts
4 years ago
audric
cc4168a858
do not update last fetch timestamp when an exception for retrieve
4 years ago
audric
01ff290f85
fix tests
4 years ago
audric
c83776e510
fix the log file space usage on path building error
...
the issue seems to be coming from the fact that we need at least
minSnodePool count snodes to build a path reliably.
4 years ago
audric
612e99af4a
add a setting to start the app with a tray icon
...
Relates #1759
4 years ago
audric
abbd0a84a9
increase timeout for snode api requests (mainly for attachment upload)
...
Relates #1774
4 years ago
audric
e9412df60e
fix lint and steal autofocus on registration to seed
4 years ago
audric
2ebae9a746
fix tests for variable swarm polling
4 years ago
audric
61b48dd06b
move delete_all api call to snodeAPI.ts
4 years ago
audric
c276bf8dbe
fix delete_all endpoint for testnet
4 years ago
audric
9991dc2364
move delete account logic to it's own dialog
4 years ago
Audric Ackermann
e43e9df8e0
make sure forceDelete network data returns malicious snodes
4 years ago
Audric Ackermann
3dd1a534d3
fix delete all on network request
4 years ago
audric
67c2124a3b
do not try to fetch seed node data with ip as cert will not be valid
4 years ago
audric
ab8b6e85b4
Merge remote-tracking branch 'upstream/clearnet' into network-clear-all
4 years ago
audric
b05910e219
Merge remote-tracking branch 'upstream/clearnet' into add-message-bottom-keep-scroll
4 years ago
audric
0658cb539a
poll more often for inactive closed groups
...
the issue is that when you start the app, a closed group active at is
maybe a day old.
so you poll for this pubkey.
if the call is a success, all good, you get the latest messages and
update the active_at.
but if the first call fails (even after retrying), this group will be
marked as inactive and will be polled only a tiny little bit until we
get new messages.
So this commit make sure that we poll more often for closed groups which
are considered inactive
4 years ago
audric
bea704ecf0
bump react to 17
4 years ago
Audric Ackermann
f7658c323d
Merge pull request #1821 from Brice-W/bug-fixes
...
Bug fixes
4 years ago
Brice-W
f7c7d6a3d8
change source of MessageAttributesOptionals to not null
4 years ago
Audric Ackermann
19c6bebab0
make sure to retry fetch sqwarm with a new targetNode if needed
4 years ago
Audric Ackermann
6e8d25e530
Fixes mentions in message body and resolve them quicker
...
Relates #1815
4 years ago
Warrick Corfe-Tan
f087937f6f
WIP debugging network deletion failing.
4 years ago
Audric Ackermann
3f065a7b0e
improve marking message as read with hooks
4 years ago
Warrick Corfe-Tan
ec447b2e2e
network clear all WIP
4 years ago
Audric Ackermann
119b6e1baf
keep scrolled position when adding messages at the bottom
4 years ago
Audric Ackermann
f9ecfccc0a
batch UI updates of message added events
4 years ago
Audric Ackermann
506a0b2927
fix profileKey share in config message for base64 profileKey
4 years ago
Warrick Corfe-Tan
2e5ffc3196
wip delete all network message.
4 years ago
audric
316f37ae3d
fix a bug of attachment not loading in one to one chats
4 years ago
audric
fce86989f0
make sure profileKey is a hex string in all convos
4 years ago
audric
e69873d6ba
fix link preview url onClick
...
Fixes https://github.com/oxen-io/session-android/issues/669
4 years ago
audric
bfc4b2b720
lint
4 years ago
audric
c2b5ac68d6
don't rely on scrollheight to calculate for ui Updates
...
as it causes a layout complete refresh
4 years ago
audric
e72885944b
use selector to sort and add first of serie flag
4 years ago
audric
6d34a60f94
improve performance by not loading all unread messages
4 years ago
Audric Ackermann
16d34a7137
moved conversations reducer to createSlice
4 years ago
Audric Ackermann
63b81b4c8e
cleanup SessionMessageList p1
4 years ago
Audric Ackermann
399041c5b3
cache identity pair and add some per measure
4 years ago
Audric Ackermann
e8f0c4aaec
move libloki to webworker and remove unused stuff in it
4 years ago
Audric Ackermann
8760a59875
nodefetch headers as on mobile + cleanup worker code
4 years ago
Audric Ackermann
aead3d6510
force headers to be empty for onion_req request
4 years ago
Audric Ackermann
9a302fb5ff
add a cache of the keypairs for a closed group
4 years ago
Audric Ackermann
7f76ab274c
added a hook to fetch avatar of closed group members
4 years ago
Audric Ackermann
b385a9b101
test with better-sqlite3 bindings
4 years ago
Audric Ackermann
97b9156562
improve performamce by memoizing avatar and menus
4 years ago
Audric Ackermann
c8aa73626e
do not load right panel data unless it is visibl
4 years ago
Audric Ackermann
a0afd3efe4
add some performance measure for commit calls
4 years ago
Audric Ackermann
ca331b95a6
remove coverage unused
4 years ago
Audric Ackermann
6ca466cc22
fix about window localized string
4 years ago
Audric Ackermann
ef0b07bb7a
WIP
4 years ago
Audric Ackermann
447f862ace
add some static glowing to the actionpanel light
4 years ago
Audric Ackermann
504a9afc0a
fix up handling of clock out of sync
4 years ago
Audric Ackermann
e85f69a144
use our retrieve status as isOnline status
4 years ago
Audric Ackermann
19555b99a0
Merge pull request #1723 from Bilb/poll-less-often-group-not-active
...
Poll less often group not active
4 years ago
Audric Ackermann
bab0a94e0d
make moderator strings add/remove error more explicit
4 years ago
Audric Ackermann
ce9155a6bf
fix refresh random snode pool after getting new guardNodes
4 years ago
Audric Ackermann
4a491e6a6a
lint
4 years ago
Audric Ackermann
13bc1a21d9
add test for swarmPolling variable rate
4 years ago
Audric Ackermann
7ea30b70ca
variable swarm polling based on activeAt timestamp
4 years ago
Audric Ackermann
712f76a53c
Merge remote-tracking branch 'upstream/clearnet' into remove-conversationct-singleton
4 years ago
Audric Ackermann
9e5d33d849
trigger download for past messages when trusting contact
4 years ago
Audric Ackermann
802bd169d7
remove opengroupmanager singlteon
4 years ago
Audric Ackermann
e090b8e8c6
remove getInstance on swarmPolling
4 years ago
Audric Ackermann
e9e718bfcb
remove getInstance on MessageController=> getMessageController
4 years ago
Audric Ackermann
0b410404a3
remove keypair request manager
4 years ago
Audric Ackermann
89a0868fc3
remove getInstance of conversationController to get()
4 years ago
Warrick Corfe-Tan
02713328db
removed line.
4 years ago
Warrick Corfe-Tan
fce639bb6c
Fix snode return
4 years ago
Audric Ackermann
bfb4c00583
Merge pull request #1709 from Bilb/fix-fetch-snodes-from-db
...
fix snode fetch from seed if not enough on app start in db
4 years ago
Audric Ackermann
156a880472
fix snode fetch from seed if not enough on app start in db
4 years ago
Audric Ackermann
09d9db38e8
move taskWithTimeout to typescript
4 years ago
Audric Ackermann
a659d5b480
fix open group invitation logic
4 years ago
Audric Ackermann
9a08ab68bc
fix onion path status light for orange color
4 years ago
Audric Ackermann
93e43fe929
move conversation dialogs to redux store
4 years ago
Audric Ackermann
a5d7995168
merge dialog refctor with clearnet
4 years ago
Audric Ackermann
c9d7f4a1ab
Merge remote-tracking branch 'w/onion-paths' into clearnet
4 years ago
Audric Ackermann
eae9321522
Merge pull request #1701 from Bilb/fix-ons-single-char
...
allow single chars ONS
4 years ago
Audric Ackermann
09799d83c6
allow single chars ONS
4 years ago
Audric Ackermann
dd9341a196
remove i18n from props everywhere where possible
4 years ago
Audric Ackermann
e9217168e4
improve 502 handling with guard node in fault in some cases
4 years ago
Audric Ackermann
8ef9c8ed1a
remove delivery receipt logic
4 years ago
Warrick Corfe-Tan
eb964f8aeb
removed intentional COG invite fail.
4 years ago
Warrick Corfe-Tan
ee7afb6ebf
WIP: refacotring. confirm modals mostly done. Working on add moderator modal now. Need to toggle via setModal.
4 years ago
Audric Ackermann
27fb732f50
cleanup unused prekeys table
4 years ago
Audric Ackermann
c5287158c4
merge protobuf attachment and preview types
4 years ago
Audric Ackermann
b403b89224
fix bug with quote empty profileName
4 years ago
Audric Ackermann
3c80869418
improve bad path handling when snode not in path
4 years ago
Audric Ackermann
5bf844241b
fix tests
4 years ago
Audric Ackermann
c1225b3a74
made some timestamp required in the protobuf
4 years ago
Audric Ackermann
173b49723b
rename groupInvitation in proto and remove more stuff unused
4 years ago
Audric Ackermann
01fd927070
match envelope type with ios protos
4 years ago
Audric Ackermann
37c9c6b5c3
new closed group send and handle expire timer already set
4 years ago
Audric Ackermann
0a208c0d15
store snodes list on db, use them if possible on app start
...
if not enough snodes or no snodes at all, a request to the seed node is
made instead
4 years ago
Audric Ackermann
f9dfe4290a
Merge pull request #1680 from Bilb/fix-readd-clear-zombies
...
add pn server dev url fallback to v2/lsrpc
4 years ago
Audric Ackermann
6b399e3683
add pn server dev url fallback to v2/lsrpc
...
the dev pn server is not used in the app, this change is just here to
not have to think of switching this part too when debugging against the
pn dev server
4 years ago
Audric Ackermann
10b5ff9e0d
fix deleteAuthToken by including it on the request
4 years ago
Warrick Corfe-Tan
e435b6c932
Making some PR changes.
4 years ago
Audric Ackermann
ecf409bed5
fix slow app while removing v1 convoss
4 years ago
Audric Ackermann
d44c55b6af
WIP
4 years ago
Audric Ackermann
118813661d
remove inte tests + handle opengroupv2 messages in chunk
...
this is to avoid freezing UI and is only a temporary fix
We need to have webworkers in this app
4 years ago
Audric Ackermann
f3768a674a
short error on no network for retry sending message
4 years ago
Warrick Corfe-Tan
066e0d954e
lights glowing but not yet in order.
...
WIP glow cycle.
Glow animation working.
Glow animation working, modal no longer interferring with left menu margins.
Cleaning up code. Adding PR suggestions.
Adding typing.
Refactor edit profile modal dialog to no longer use the signal code.
4 years ago
Audric Ackermann
94a0748d71
add some logs to opengroup retry
4 years ago
Audric Ackermann
0aefd1b2bf
add handling of old ONS names too
4 years ago
Audric Ackermann
d0c1a2bf3a
add ONS resolve for new ONS and loading on message overlay
4 years ago
Audric Ackermann
b055165a5d
display a message when the recipient screenshots an attachemnt
4 years ago
Audric Ackermann
810ccdf675
send dataExtractionNotificaionMessage on saving attachment on priv chats
4 years ago
Audric Ackermann
0192f295f2
move the user fetch for mentions to redux
4 years ago
Audric Ackermann
c8878f0a19
remove existing opengroups v1 from db along with every messages
4 years ago
Audric Ackermann
744be229b7
move the PN server notify() to not use dot_net_api
4 years ago
Audric Ackermann
6f8c8ee1b3
remove most of sogsv1 and fsv1 and update version fetch url
...
version fetch is used to know when we have a new update
4 years ago
Audric Ackermann
3456162402
Moved opengroupv1 test to opengroupv2 tests
4 years ago
Audric Ackermann
b15eeb00cd
fixup duration missing
4 years ago
Audric Ackermann
db54cb37b9
hide failing call to deleteAuthToken logs
4 years ago
Audric Ackermann
637e092a00
make sure fileserver v1 is not supported and not used anymore
4 years ago
Audric Ackermann
88036edd38
add more tests for multi errors onion rebuild
4 years ago
Warrick Corfe-Tan
22a32283b7
WIP Adding country and styling to modals.
4 years ago
Warrick Corfe-Tan
d7b22e13e1
WIP: Onion path modal using redux state and refactored modals.
4 years ago
Audric Ackermann
05745d7726
add tests to drop snode from path after 3 failure
4 years ago
Audric Ackermann
2e9a34f72b
add tests for handling of OXEN_SERVER_ERRORS
4 years ago
Audric Ackermann
53c9bb1012
add some tests for 421 handling at destination
4 years ago
Audric Ackermann
adb9208491
do not retry Oxen Server Error
4 years ago
Audric Ackermann
372119b17b
WIP
4 years ago
Audric Ackermann
a2ea02960e
add some retries for not already retries requests
4 years ago
Audric Ackermann
a777b09165
cleanup tests
4 years ago
Audric Ackermann
f4c3c82e31
Add some test for onion path rebuild handling
4 years ago