Commit Graph

2507 Commits (b1314a9eb68dfeeaacee3595c25d1522ff858292)

Author SHA1 Message Date
audric 3338a3c75b remove fetching of description for link preview as we do not send it 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 6992305e27
cleanup last commit 3 years ago
Audric Ackermann 4349b699cb
remove schemaVersion field and logic from message object 3 years ago
Audric Ackermann 580a59ba3c
refactor menu items to react components 3 years ago
warrickct 3f4db67c1b Merge branch 'clearnet' into global-search-off-clearnet 3 years ago
Audric Ackermann 1c46d81a20
rename authorPhoneNumber to what ever makes more sense 3 years ago
Audric Ackermann 46d838218d
remove unused .md files for components 3 years ago
Audric Ackermann 62edcb0cc8
fetch translations from crowdin 3 years ago
Audric Ackermann 44c44ec174
Merge pull request #2122 from Bilb/remove-dedupe-by-hash-sogs
Remove dedupe by hash sogs + update electron
3 years ago
Audric Ackermann 72f4c284d9
Merge pull request #2121 from Bilb/no-delete-auth-token-pysogs
No delete auth token pysogs + update electron
3 years ago
warrickct 7846891359 Fix linting errors 3 years ago
warrickct 2122214ee4 Fixed contact names not showing for search results 3 years ago
warrickct 374d5a6619 Global search partially functioning, added basic functions for load testing performance. 3 years ago
Audric Ackermann 790120f484
add data-testid to sessionIdEditable 3 years ago
Audric Ackermann 0e39b6b152
minor rename 3 years ago
Audric Ackermann 7b103226be
add 'contact' or 'group' to delete action menu
Fixes #2066
3 years ago
Audric Ackermann 7b45635296
do not call home/end events if target is textbox
Closes #2114
3 years ago
Audric Ackermann 7033f38928
Merge pull request #2117 from Bilb/use-variable-for-settings-key
use variables for common settings key
3 years ago
Audric Ackermann 2822f8ddd2
Merge pull request #2116 from Bilb/move-confirm-right-dialogs
Move confirm right dialogs
3 years ago
Audric Ackermann dd52ad336f
use variables for common settings key
also turn off typing message by default
3 years ago
Audric Ackermann 7c42400aa2
fix crash of app on rendering pin item 3 years ago
audric 874ca25195 hide the call message on feature flag OFF 3 years ago
Audric Ackermann 18e13b9b98
move confirm action on right on all dialogs 3 years ago
Audric Ackermann e33b6eadc4
bump typescript to 4.5.4 3 years ago
Audric Ackermann 5846caffc4
fix closed group updates undefined on no names (#2092) 3 years ago
Audric Ackermann abd146c4ca
use React Provider for convoListItem (#2088)
this is to avoid passing down the prop to all the components
3 years ago
Audric Ackermann 38325215e6
Unban UI (#2091)
* adding basic functionaliy for unbanning a user

* merge ban and unban user dialog in to one dialog

Co-authored-by: warrickct <warrickct@gmail.com>
3 years ago
Audric Ackermann e17b5e0671
Fix attachment dl freeze (#2086)
* fix attachment download freezing app for some opengroups

* make registration page work with smaller height
3 years ago
Audric Ackermann ce1e81a3e3
disable call for now + fix left pane actions overflow (#2085) 3 years ago
Audric Ackermann b68cb07e3e
add crown icon for closed group admins (#2084) 3 years ago
Audric Ackermann 58dc3e26ca
reactify group updates text bubble from redux store (#2083) 3 years ago
Warrick 5fb3237d1a
Minor styling fix for large amount of message requests (#2080)
* Minor styling fix for large amount of message requests

* Vertical center fix for message request banner.

* removing top margin from banner again.
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 95e40c9509
keep read-receipts disabled by default (#2071) 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
Jason Rhinelander 1ec637b551
Open group regex fixes (#2058)
* Open group URL regex fixes

- Capital letters in room tokens were not being accepted (it eventually
  gets lower-cased internally, which works fine, but that happens
  *after* the URL is tested for acceptability).
- `-` in room was not being allowed (it is and always has been on SOGS,
  session-android, and session-ios).
- single-letter room ids are valid, but only 2+ letter ids were being
  accepted.
- complete URL regex wasn't anchored so something like
  `garbagehttps://example.com/room?public_key=<64hex>moregarbage` was
  being accepted in the GUI input (it fails later when other code tries
  to parse it as a URL).
- removed `m` modifier from open group regex: without anchors it wasn't
  doing anything anyway, but *with* anchors it would still allow
  leading/trailing garbage if delineated by newlines.
- public key regex was accepting g-z letters, and not accepting A-F.
- various regex cleanups:
  - use non-capture groups (?:...) rather than capturing groups (...)
  - avoid repetition in host segment matching
- tightened up host pattern matching a bit:
  - DNS host segments have a max length of 63
  - Limit port max length to 5, and disallow starting with 0

* Show an error when the open group URL is invalid

It's quite disconcerting when you have a bad open group URL and try to
add it and the join button just "doesn't work" without any feedback at
all.  Fix it to show an error message.  (There is already an i18n entry
for this because this same message is thrown if the URL can't be parsed
later on).
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 f17b923add Fixing rimraf transpile bug. Adding PR fixes - icon buttons. 3 years ago
warrickct e32f20d8bc PR changes 3 years ago
Audric Ackermann 1c27ceb2d0
Merge pull request #2045 from Bilb/fix-bug-release-blob-decrypted
Fix bug release blob decrypted
3 years ago
warrickct 4576f3cb32 Merge branch 'clearnet' into message-requests 3 years ago
warrickct f91e2c4edd Minor PR fixes 3 years ago
warrickct b5df47c2b8 Addressing PR comments 3 years ago
warrickct 9823a700e2 Addressing PR fixes 3 years ago
warrickct 726418887c Addressing PR comments 3 years ago
Audric Ackermann 894349e710
cleanup props passing of avatar and name with a custom hook 3 years ago
warrickct 2d664a2df7 Applying PR changes. 3 years ago
Audric Ackermann 5ba7f20162
speed up fetching closed group's members avatar 3 years ago
Audric Ackermann 7054ba6f36
Merge pull request #2039 from Bilb/dismiss-call-multi-device
Dismiss call multi device
disable deduplication based serverId+sender
3 years ago
warrickct 3602b51986 Fixing up block all logic. 3 years ago
warrickct ac8dbb341b linting and formatting changes 3 years ago
warrickct 043c2fa99f fixing merge conflicts 3 years ago
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 3 years ago
warrickct 2144a3980f Linting and formatting. 3 years ago
warrickct 9c9a43ee97 Adding improvements to message request handling. 3 years ago
Audric Ackermann e716f73d6c
mute audio from bg when video is in fullscreen
this is to avoid having two times the remote sound playing
one in the bg and one in the fullscreen
3 years ago
Audric Ackermann a4daabfa75
add a way to choose the audioouput/mute a webrtc call 3 years ago
warrickct 2e2941ba9b message request refactoring. 3 years ago
Audric Ackermann 6f3625f99c
move the state of calling to its own slice 3 years ago
Audric Ackermann 4ce1b7813a
add data-testid for leftpane sections and edit profile dialog 3 years ago
warrickct 2eab74246b PR changes. Disabling message requests behind feature flags. 3 years ago
Audric Ackermann 453d260d5c
Merge pull request #2027 from Bilb/fix-netwokr-switching
Fix network switching with ongoing webrtc calls
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 af7cdfc4b4
Merge pull request #2024 from Bilb/setup-test-playwright
Webrtc calls caller UI +  playwright setup
4 years ago
Audric Ackermann 6625b7c7b6
calls fix cross platforms issue with uuid 4 years ago
Warrick Corfe-Tan 690abb9d52 adding simple PR changes requested. 4 years ago
Warrick Corfe-Tan 6a62437c3e Blocking, accepting on click and accepting on msg send
working across clients.
4 years ago
Audric Ackermann 8c9832f118
add a toggle audio output button 4 years ago
Audric Ackermann 25c7a2febd
data extraction notification on a line rather than a column 4 years ago
Audric Ackermann cca1b4dabe
add a button to start a video call 4 years ago
Audric Ackermann ef25e5956f
add a spinner for when video call video is loading 4 years ago
Audric Ackermann f91ed7729b
cleanup SessionCompositionBox 4 years ago
Audric Ackermann 3741e96c61
show input toggles in fullscreen mode too 4 years ago
Audric Ackermann 9951d7947b
topright position for initial draggable call container 4 years ago
Audric Ackermann 8df85441f7
fix video stream not displaying in draggable container 4 years ago
Audric Ackermann bfe8f973b5
Merge pull request #1995 from ianmacd/pr3
Make the [Home] and [End] keys scroll the conversation.
4 years ago
Audric Ackermann 16ab506eb6
double click on message replies to
Relaes #2006
4 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 27e87edac2
add a ringing and establishing connection label video calls 4 years ago
Audric Ackermann dd25d9cb7f
fix flickering of video stream on mute/unmute 4 years ago
Audric Ackermann 8618cf75e9
send and handle uuid for multi device calls 4 years ago
Audric Ackermann 864d710460
add a handle to resize the inconvo call video 4 years ago
Audric Ackermann 0f21e12073
make resizable the height of the inconvo call 4 years ago
Audric Ackermann 1f11872870
set fullscreen off when remote stream is muted 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 03d8a233f4
update fullscreen icon 4 years ago
Audric Ackermann 331dd8edfa
allow fullscreen and add svg fullscreen icon 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
Ian Macdonald a32f946332
Make the [Home] and [End] keys scroll the conversation.
[End] will scroll to the end of the current conversation, because the
latest message is always available.

[Home], however, will scroll only to the top of the currently loaded
messages, triggering earlier messages to load. Multiple presses of
[Home] are therefore required to get to the start of the conversation.
4 years ago
Audric Ackermann dfa04c68f4
fix emoji click on button while open closes it
Fixes #1980
4 years ago
Audric Ackermann 6a1f575c46
create a hook for listening for video call events
+ wip fullscreen video calls
4 years ago
Audric Ackermann a45f5f520a
incoming call dialog show avatar + caller name 4 years ago
Audric Ackermann d50d7eb803
our video off => show our avatar 4 years ago
Audric Ackermann 5b57e01186
make sure click to trust sender renders without new lines 4 years ago
Audric Ackermann df5872a5c7
disable settings for video call if featureflag is off 4 years ago
Audric Ackermann dd281de903
cleanup feature flags 4 years ago
Warrick Corfe-Tan d57300688e no longer showing empty space for conversations moved from list. 4 years ago
Warrick Corfe-Tan 116cb25b27 fix icon position 4 years ago
Warrick Corfe-Tan 84e12ff42f Alter request button item positioning. 4 years ago
Warrick Corfe-Tan b6c1578262 WIP message request adding todo note. 4 years ago
Warrick Corfe-Tan e405b5ffd9 git stash 4 years ago
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 4 years ago
Warrick Corfe-Tan dcfa286d77 WIP: fixing missing spaces for list items that have been removed. 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 f74ce2a3ae
msg with attachments gets no bigger than the attachment container 4 years ago
Audric Ackermann 251309656b
Merge remote-tracking branch 'upstream/clearnet' into webrtc-calls-p2 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 55313deb91
add a show user details option in the menu
Fixes #1971
4 years ago
Audric Ackermann 5c7615d205
removed old fileserver support 4 years ago
Audric Ackermann ae8688bf2a
cleanup UI for missed call messages in msg list 4 years ago
Audric Ackermann bd45f47a2b
Merge pull request #1977 from Bilb/link-pgup-down-on-message-list
Link pgup down on message list
4 years ago
Audric Ackermann a03f890689
Merge pull request #1976 from Bilb/convo-item-avatar-click-open-user-details
Convo item avatar click open user details
4 years ago
Audric Ackermann 9872a33f85
Merge pull request #1975 from Bilb/allow-hiding-note-to-self
Allow hiding note to self
4 years ago
Audric Ackermann 80aa672034
link pgup and down in messages list
Fixes #1919
4 years ago
Audric Ackermann 8446075bb1
convo list click on avatar open user details
Relates #1971
4 years ago
Audric Ackermann 1eff39c3ba
allow removing note to self contact
this does not actually remove it as we need it for our avatar and
stuffs.

Fixes #1973
4 years ago
Audric Ackermann 8e6d9ca036
Merge pull request #1969 from Bilb/webrtc-calls
Webrtc video calls - first part - disabled
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
Warrick Corfe-Tan 123e68c167 WIP: Adding message requests using existing convo list item. 4 years ago
Audric Ackermann 13d828c02c
split up calling container logic 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 3a864b16ca
cosmetic changes for calling buttons 4 years ago
Audric Ackermann ce79ce1f8b
add buttons with popover to choose call src device 4 years ago
Audric Ackermann fbd51c2974
add buttons to display list of inputs + toast on empty 4 years ago
Warrick Corfe-Tan 04e0023d38 fix import warning 4 years ago
Warrick Corfe-Tan 1fe6b61308 Re-adding code that wasn't commited. Adding button for debug log in settings. 4 years ago
Audric Ackermann b85425ff83
make a draggable or in conversation call container 4 years ago
Audric Ackermann b05afc7c3f
make click outside of lightbox close the lightbox 4 years ago
Warrick Corfe-Tan 5eba4a616e Removing at regex test preventing some urls from rendering as links. 4 years ago
Audric Ackermann 32955c9ed5
allow sessioncomposition box to grow bigger 4 years ago
Audric Ackermann 3f1e55b787
add basic code markup 4 years ago
Audric Ackermann 1e8c8991ad
more cleanup 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
Audric Ackermann c54f63ab45
add listener for video calls events 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
Warrick Corfe-Tan a1601b039e Adding call to convo header menu 4 years ago
Audric Ackermann 6c50ec4bf1
link accept/decline and endcall buttons to the webrtc background 4 years ago
Warrick Corfe-Tan 5d4d63c76d Adding partial UI for calls. 4 years ago
Audric Ackermann 76100903cb
show ip of onion path on hover of country name 4 years ago
Audric Ackermann 0382d703c5
Merge pull request #1929 from ianmacd/pr1
Display the service node's IP address after its country.
4 years ago
Audric Ackermann 0afb3db604
Merge pull request #1933 from warrickct/add-survey
Adding survey button to settings menu.
4 years ago
Ian Macdonald 14bcbe4ab6
Display the service node's IP address after its country. 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
Warrick Corfe-Tan daae55d62c Adding survey button to settings menu. 4 years ago
Audric Ackermann 15ac6ed23c
Merge remote-tracking branch 'upstream/master' into clearnet 4 years ago
Audric Ackermann efebd8ba24
bump to 1.7.2 (#1926)
* 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

* bump to 1.7.2
4 years ago
Audric Ackermann e3c27f1016
fix reply for incoming messages (#1930) 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 945ecf34a1
Fix select colors for sent messages and link text not selectable (#1924)
* 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

* fix selection colors for sent messages and make link selectable

Relates #1922
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 2e0cf0bca9
Fix video play lightbox autostart (#1920)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* fix app start delete db when passowrd error

* fix double dialog issue with delete account

* fixup login screen

* Fix video autoplay start when not initialized

Relates #1904
4 years ago
Audric Ackermann 525f9dcfb2
Fix today for translated date break (#1915)
* 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

* Fixs date break translations of today etc

Relates #1913
4 years ago
Audric Ackermann ab75f945ff
Ask confirm before delete account (#1910)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* fix app start delete db when passowrd error

* fix double dialog issue with delete account

* fixup login screen
4 years ago
Audric Ackermann 25453ee807
Speedup body update composition box (#1911)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* move drafts outside of redux to speedup body message writing
4 years ago
Audric Ackermann a1f5706fea
disable sending on enter while composing (#1909)
Fixes #1899 #1497
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 7c49c51cf8 make outgoing status align flex-end 4 years ago
audric bfc805c9d4 fix search logic and UI cosmetic fixes 4 years ago
audric bf02b85043 finish rework registration page 4 years ago
audric ba35a8cb24 update design of registration page 4 years ago
audric 56412df2b4 fixup registration page with back buttons for now
Relates #1889
4 years ago
audric 0d90248450 fix scrolling jumping to bottom on new messages 4 years ago
audric 08cdd035ae disable transition for background of leftpane (for app initial load) 4 years ago
audric bd7d88e170 remove theme from css and used variables instead 4 years ago
audric 350f00283b move tsx and theme to css variables part1 4 years ago
audric 62764d25f6 showDate break on > 5 minutes diff between messages 4 years ago
audric a30876fd65 removed the enum from SessionIconType. Just rely on the type itself 4 years ago
audric a53392853f make the CompositionBox closer to the mobile UI 4 years ago
audric e85f351540 cleanup theme object 4 years ago
audric 8ebcb2d1e1 replace SessionIcon size enum with type 4 years ago
audric 1048042f7d fix attachment pre-decrypting when out of view 4 years ago
audric cdd11eee47 speed up attachment loading by only loading those inview 4 years ago
audric a986931569 make attacments the same size that they are displayed on the UI 4 years ago
audric 2e9cd0ada6 add date break with full date when older than a week 4 years ago
audric 2825b66ef6 add screen break for jump in messages timestamp 4 years ago
audric 40566a58a4 moved the unread indicator to outside of message items 4 years ago
audric 985a5d92bc do not show search input if we only got a single conversation 4 years ago
audric 714024fb1f fix notification icons 4 years ago
audric 7fa50b4a73 do not pass props not needed between message list components 4 years ago
audric 38665e105a remove search messages frpm search result 4 years ago
audric 4968244491 fix tooltip error in debug run related to memory leak 4 years ago
audric f9988119f9 major UI rewrite of messages view with redux improvements 4 years ago
audric ee4ed2e075 fix attachment logic with ui redesign 4 years ago
audric f7b0c6c7e1 make conversation screen closer to mobile UI part1 4 years ago
audric 3cdc5f1551 fix autofocus on session passowrd login 4 years ago
Warrick Corfe-Tan 22723f1937 Merge branch 'clearnet' into recording-ui 4 years ago
Audric Ackermann cb0cead2a7
Merge pull request #1870 from Bilb/fix-audio-msg-sending
fix audio attachments sending blob
4 years ago
audric f48b57d077 fix audio attachments sending blob 4 years ago
Warrick Corfe-Tan ebb37b44b6 Merge branch 'clearnet' into registration-progress-banner 4 years ago
Audric Ackermann eed48094fe
Merge pull request #1851 from warrickct/simplify-onboarding
Combining registration steps.
4 years ago
Warrick Corfe-Tan 665c717271 adding PR change. 4 years ago
Warrick Corfe-Tan dbc19adeb8 Adding PR changes, running yarn ready 4 years ago
Warrick Corfe-Tan 0cbcc00180 Adding registration stages file. Somehow became untracked. 4 years ago
Warrick Corfe-Tan b26ec1996d yarn ready 4 years ago
Warrick Corfe-Tan 4564863dd5 yarn ready 4 years ago
Warrick Corfe-Tan 85fca22c08 adding use context pr change. 4 years ago
Warrick Corfe-Tan 48b4aab63c applying PR fixes. 4 years ago
Warrick Corfe-Tan f9ad63d58b Merge branch 'clearnet' into registration-progress-banner 4 years ago
Warrick Corfe-Tan e6733551bb applying pr fix 1 4 years ago
Audric Ackermann a3edb99549
Merge pull request #1856 from Bilb/fix-attachment-since-electron-upgrade
Fix attachment since electron upgrade
4 years ago
audric 6a11a4c879 store staged Attachments in redux
still an issue with the File in redux
4 years ago
audric 8a19b50c0f fix attachment not being uploaded since electron upgrade 4 years ago
Warrick Corfe-Tan f255f674c8 Refactoring subcomponents to fix ts-lint errors. 4 years ago
Warrick Corfe-Tan 1783c706b5 refactoring seed modal 4 years ago
Warrick Corfe-Tan af298936d9 Combining and 80 and 90 completion stages. 4 years ago
Audric Ackermann 96df64bd8c
Merge pull request #1847 from warrickct/equal-length-pills
Equalize width open group pills
4 years ago
audric 9f7e20b8b8 showExitIcon in link click dialog 4 years ago
Brice-W a89c6710fb Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into link-previews 4 years ago
Brice-W f6d3715dab add a link icon when there is no image available or when media download is not allowed 4 years ago
Warrick Corfe-Tan 5e019c1af4 lowering z-index 4 years ago
Warrick Corfe-Tan e0a06dd84b Merge branch 'clearnet' into equal-length-pills 4 years ago
Warrick Corfe-Tan 59d52d6e66 running yarn ready 4 years ago
Warrick Corfe-Tan a1194fa7bb Merge branch 'clearnet' into simplify-onboarding 4 years ago
Warrick Corfe-Tan 0c5f2f8232 changing registration component and filename. 4 years ago
Warrick Corfe-Tan bf645f36b7 Combining registration steps. 4 years ago
Warrick Corfe-Tan 46917a0546 Adding PR changes, passing yarn ready 4 years ago
audric 1af08311dd fix tray cannot be destroyed
Relates #https://github.com/electron/electron/issues/17622
4 years ago
Warrick Corfe-Tan 3606987f32 running yarn ready 4 years ago
Warrick Corfe-Tan 1560c83b2b Adding hover over tooltip for open group pills. 4 years ago
audric ac40143ad0 disable drag on message body to fix drag overlay bug 4 years ago
Brice-W e5ee3467ac fix popup issue around link preview setting 4 years ago
audric 9e37985d03 enable no-unused local and imports and fix tslint 4 years ago
Warrick Corfe-Tan d13a6824ee running yarn ready 4 years ago
Warrick Corfe-Tan b0a8c6c3eb wip: adding recovery phrase prompt. 4 years ago
Warrick Corfe-Tan bfed4a88dd removing comments 4 years ago
Warrick Corfe-Tan 81969ae12f applying linting and formatting. 4 years ago
Warrick Corfe-Tan 986fc16e7d Adding animation to briefly scale up send button after recording is made. 4 years ago
Warrick Corfe-Tan 32f7dcc811 testing shake addition to send button on finished recording. 4 years ago
Warrick Corfe-Tan 8fca989736 Fixing delete button JSX evaluating to NaN 4 years ago
Warrick Corfe-Tan 9eb1847da5 WIP removing NaN dsiaply timer text. 4 years ago
Warrick Corfe-Tan cd7a1233fa Adding small hover effect to message composition icon buttons. Removing extra method call. 4 years ago
Warrick Corfe-Tan 637b604d0b Adding fraction timer display, exaggerating recording animation, moving delete button to toolbar, display full recording duration immediately after stop recording. 4 years ago
Warrick Corfe-Tan 03c14c84cb added styled component and conditional button for sending pausing recording. 4 years ago
audric 9018ae3009 Allow to copy an url on click on it via dialog
Relates #1842
4 years ago
audric b83067d0ee onclick on video pause the video
Relates #1843
4 years ago
audric c58312e853 do not render typing animation at all if not typing 4 years ago
audric 4db85a3c01 make background of messages only if there is no text 4 years ago
audric 1eb2e59d62 amke sure to reset link previews when replacing the text in composition 4 years ago
audric 83fa26bc25 do not replace new lines with br in messages
this is to allow copy pasting of content by just selecting it

Relates #1758
4 years ago
audric 751a8f1882 start in tray setting directly creates the tray icon 4 years ago
audric 612e99af4a add a setting to start the app with a tray icon
Relates #1759
4 years ago
audric 263c48e58b Merge remote-tracking branch 'upstream/clearnet' into network-clear-all 4 years ago
audric e2c26e9819 add basic draft support (text only)
Relates #1791
4 years ago
audric 426f2000b8 fixup delete all and handle errors 4 years ago
Audric Ackermann aca7fc7473
Merge pull request #1838 from Brice-W/minor-fixes
Minor fixes
4 years ago
Brice-W 2f579d3c7d lint 4 years ago
Brice-W a8596bc844 clean 4 years ago
Brice-W 4ab414a932 Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into minor-fixes 4 years ago
audric e9412df60e fix lint and steal autofocus on registration to seed 4 years ago
audric 79c8fada6e move all dialogs to a subfolder 4 years ago
audric 61b48dd06b move delete_all api call to snodeAPI.ts 4 years ago
audric 9991dc2364 move delete account logic to it's own dialog 4 years ago
Audric Ackermann 67f642596d remove SessionId reset dialog
consider user had the time to update now
4 years ago
Warrick Corfe-Tan a38ea1f05d Merge branch 'clearnet' into recording-ui 4 years ago
Warrick Corfe-Tan 8552afd2ca Updating notification icons to match android icons. 4 years ago
Warrick Corfe-Tan b98b876ea7 Removing extra delete icons. 4 years ago
Warrick Corfe-Tan 13be7a4c4a removing comments 4 years ago
Warrick Corfe-Tan ab3720a064 applying linting and formatting. 4 years ago
Warrick Corfe-Tan 384340578c Adding animation to briefly scale up send button after recording is made. 4 years ago
Warrick Corfe-Tan be687062d6 testing shake addition to send button on finished recording. 4 years ago
Warrick Corfe-Tan b5bd352ec2 Fixing delete button JSX evaluating to NaN 4 years ago
audric ce847db036 lint 4 years ago
audric 1fb3f74f6e disable drag on images 4 years ago
audric 5d6c2d94ff fix emoji being inserted into mentions identifier
if the cursor is before the first mention => insert it correctly
if the cursor is after the last mention => insert it correctly
if the cursor is between those two => insert it at the end of the
composition box
4 years ago
audric b05910e219 Merge remote-tracking branch 'upstream/clearnet' into add-message-bottom-keep-scroll 4 years ago
audric bea704ecf0 bump react to 17 4 years ago
Warrick Corfe-Tan e51f7b8a7a WIP removing NaN dsiaply timer text. 4 years ago
Warrick Corfe-Tan 91eafd389a Adding small hover effect to message composition icon buttons. Removing extra method call. 4 years ago
Warrick Corfe-Tan 123a60483e Adding fraction timer display, exaggerating recording animation, moving delete button to toolbar, display full recording duration immediately after stop recording. 4 years ago
Brice-W 9d7722fc7d don't display the name input box for public groups as they can't be modified atm 4 years ago
Brice-W 7965b4e44a . is already present in the i18n label 4 years ago
Audric Ackermann f7658c323d
Merge pull request #1821 from Brice-W/bug-fixes
Bug fixes
4 years ago
Brice-W ac76011a75 fix attachments download 4 years ago
Audric Ackermann 8ab8444222
remove expire warning. app asks to update on app start 4 years ago
Audric Ackermann a1ab816076
Merge remote-tracking branch 'upstream/clearnet' into add-message-bottom-keep-scroll 4 years ago
Warrick Corfe-Tan b3b020a253 added styled component and conditional button for sending pausing recording. 4 years ago
Audric Ackermann 7365cb2291
Merge pull request #1819 from Brice-W/ban-and-delete-messages
'Ban user and delete all messages' added to menu
4 years ago
Audric Ackermann 2c174bdac7
fix audio message autoplay as broken with perf improvements
fix bug making "trust contact" first audio message being played on click
to trust
4 years ago
Brice-W d8fa73d393 lint 4 years ago
Brice-W 2c6821097d adding Ban user and delete all his messages to the menu for moderators 4 years ago
Warrick Corfe-Tan 2e05ed0922 removing comment. Running yarn ready. 4 years ago
Audric Ackermann 57aa8cba69
cursor pointer on click to trust contact message body 4 years ago
Warrick Corfe-Tan a8a15e3f88 adding PR changes. 4 years ago
Audric Ackermann 6e8d25e530
Fixes mentions in message body and resolve them quicker
Relates #1815
4 years ago
Brice-W 6ca2476f41 Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into media-access 4 years ago
Brice-W 347038cf82 added microphone access check 4 years ago
Audric Ackermann 360cb52680
make all messages types a readable message 4 years ago
Audric Ackermann 3f065a7b0e
improve marking message as read with hooks 4 years ago
Warrick Corfe-Tan 1a973f6573 remove unused import 4 years ago
Audric Ackermann 3dc11b923d
do not display optional password on registration page 4 years ago
Warrick Corfe-Tan 31118ae51f Add notification icon to conversation list item. Add notification subtitle to conversation header on conversation screen. 4 years ago
Warrick Corfe-Tan 6e362098b2 pass in prop 4 years ago
Warrick Corfe-Tan eebfc988bb Adding icons to the header row. 4 years ago
Warrick Corfe-Tan 2dba61ce1d Adding styled component 4 years ago
Warrick Corfe-Tan 213ca58d75 Adding icons 4 years ago
Audric Ackermann d14807d2ab
Merge remote-tracking branch 'upstream/clearnet' into add-message-bottom-keep-scroll 4 years ago
Audric Ackermann 20f5c3b822
scroll to unread indicator rather than message on load convo 4 years ago
Audric Ackermann c6a394664f
bump electron-builder to 22.8.0 4 years ago
Audric Ackermann 8970daf292
Merge pull request #1812 from Bilb/fix-replying-focus-input
fix replying to message focus composition box
4 years ago
Audric Ackermann 61277a5397
fix replying to message focus composition box
Relates #1808
4 years ago
Audric Ackermann 99f862dd0f
fix send link preview keep being shown
Relates #1810
4 years ago
Audric Ackermann 119b6e1baf
keep scrolled position when adding messages at the bottom 4 years ago
Audric Ackermann 12d09bc896
preload messages when switching conversation 4 years ago
Audric Ackermann e5bbfc8c1e
transparency disabled if png and text are present 4 years ago
Audric Ackermann f9ecfccc0a
batch UI updates of message added events 4 years ago
Audric Ackermann 8b88eca050
Merge pull request #1799 from Brice-W/oxen-logo
Oxen logo in the Settings
4 years ago
Brice-W 3995dbdeee oxen icon svg added 4 years ago
Brice-W 0d5e52678f add link to Oxen website in the settings (right icon missing) 4 years ago
Audric Ackermann 2a371d3c57
Merge pull request #1794 from Bilb/fix-profile-key-config-message
Fix profile key config message
4 years ago
audric 316f37ae3d fix a bug of attachment not loading in one to one chats 4 years ago
Audric Ackermann 77a6be3432
Merge pull request #1793 from Brice-W/group-edition-fix
Fix for name change and adding members in groups
4 years ago
Brice-W eb3851592c lint 4 years ago
Brice-W bfa68fc9b5 add isGroup test 4 years ago
Brice-W b89f55dd02 update displayed buttons on groups 4 years ago
audric 5b487b0fec Merge remote-tracking branch 'upstream/clearnet' into disable-search-for-now 4 years ago
audric 4b8778d071 fix markRead using timestamp of now when scroll to bottom 4 years ago
Brice-W 9c61defc0b small update 4 years ago
audric 1054278a54 disable search in messages for now 4 years ago
Brice-W bec9bd553e Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into filter-expired-messages 4 years ago
audric dbf6a0183f remove unread top banner on scroll to bottom 4 years ago
Brice-W 751d0b9348 clearTimout call added to checkExpired to avoid multiple calls to setExpired 4 years ago
Brice-W beca14982c manage expired nessage deletion in setExpired 4 years ago
audric e82d51fff0 do not show warning about link preview if they are already ON 4 years ago
audric 59baa08f73 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 4 years ago
Audric Ackermann 5d1d21f715
Merge pull request #1788 from warrickct/send-seed-confirmation
Send seed confirmation
4 years ago
Audric Ackermann ece7f3e184
Merge pull request #1785 from warrickct/close-modals-easier
Close modals easier
4 years ago
audric bfc4b2b720 lint 4 years ago
audric 588ae85cda fix at lat types for attachment 4 years ago
audric 12ff3379e1 add key for all messages list so we can scroll to them programnatically 4 years ago
Brice-W e5615357f7 call setToExpire when expire timer is started to set expire_at property of message 4 years ago
audric 8766cf3f8a store offset before refresh of messagesList and restore it 4 years ago
audric c8f0150aaf fix unread banner position when first unread is visible 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
Warrick Corfe-Tan 966012016b Popup confirmation before sending a message containing the users recovery phrase. 4 years ago
audric 4f5072ee65 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 4 years ago
audric b7df0788c2 move mentions state to the ConversationState 4 years ago
Brice-W 18f15615d4 don't render messages that are already expired 4 years ago
audric 23e9a6d31c move some actions to redux in hooks 4 years ago
Warrick Corfe-Tan ca4dec9fda linting, formatting, testing 4 years ago
Audric Ackermann 6df84fbd1e
Merge pull request #1778 from Brice-W/focus-issue
Fix for focus issue
4 years ago
Warrick Corfe-Tan 28924a63bb removing some unusued imports. 4 years ago
Warrick Corfe-Tan 3fca7ef4de remove unused imports. 4 years ago
Warrick Corfe-Tan 973df5d245 clicking outside of confirmation modal body closes confirmation modal. 4 years ago
Warrick Corfe-Tan 4cdc852ea3 cherry-pick conflicts. 4 years ago
Brice-W 829fd1c199 menu fixes 4 years ago
Brice-W e9f70d8c82 fix issue 4 years ago
Brice-W 9a420f85ce fixes 4 years ago
Brice-W 74147d8c3d Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into focus-issue 4 years ago
Brice-W db46c2960b update in marking read message 4 years ago
Audric Ackermann 3c0ea2b900
Merge pull request #1781 from Bilb/fix-link-device
fix link device. start polling for our pubkey
4 years ago
audric 41c2ce67a7 fix link device. start polling for our pubkey 4 years ago
Audric Ackermann 0e4d7ec21a
WIP 4 years ago
Brice-W c38d2a5ea7 revert prev changes + marking read now based on received_at 4 years ago
Audric Ackermann a54345a42e
put back quote a message logic with hook 4 years ago
Audric Ackermann 9a380b716b
put saveAttachemntToDisk outside of component 4 years ago
Audric Ackermann 5c8bb358c6
mmeoise callbacks for right panel attachments 4 years ago
Audric Ackermann 511adcf388
refactored right panel to hook 4 years ago
Audric Ackermann 4ca5a4f093
fixup selected message in redux logic 4 years ago
Audric Ackermann 787e3a32d0
remove count of unread in unread message banner 4 years ago
Audric Ackermann 16d34a7137
moved conversations reducer to createSlice 4 years ago
Audric Ackermann 63b81b4c8e
cleanup SessionMessageList p1 4 years ago
Brice-W 46dc6c6275 pin conversations added to header menu 4 years ago
Brice-W 5d7d58fe05 move NotificationForConvoOption declaration + getConversationNotificationSettingType created as used twice 4 years ago
Brice-W adab2b4506 add Notifications in conversations context menu 4 years ago
Audric Ackermann e8f0c4aaec
move libloki to webworker and remove unused stuff in it 4 years ago
Brice-W 151fc758c0 format 4 years ago
Audric Ackermann 1b2a644e7a
fixed crash on leftpaneContactSection 4 years ago
Audric Ackermann 3e27a397d7
bump version of node-sass 4 years ago
Brice-W c98fdec10e adding new files 4 years ago
Brice-W 2af9d9e15d use of a custom hook to detect focus 4 years ago
Audric Ackermann 5b0b165ba9
Merge remote-tracking branch 'upstream/clearnet' into perf-improv 4 years ago
Audric Ackermann 9a302fb5ff
add a cache of the keypairs for a closed group 4 years ago
Audric Ackermann f0fad6edfa
uniformized props for Message 4 years ago
Audric Ackermann ee4a0b9b1e
cleanedup redux action openConversationExternal 4 years ago
Audric Ackermann 7f76ab274c
added a hook to fetch avatar of closed group members 4 years ago