Commit Graph

791 Commits (3f538b9be1750d4131264ae9a74ce21ea3f8a8fd)

Author SHA1 Message Date
Mikunj d20d31b574 Linting 5 years ago
Mikunj c6be289092 Fix leaving closed groups 5 years ago
Mikunj Varsani cc85de5250 Optimisation and lint fixes 5 years ago
Mikunj Varsani 4f6dd7a8d5 Rename functions to be less confusing 5 years ago
Mikunj Varsani 054a523738 Fix linked device sending automatic friend request when it already has keys for a device 5 years ago
Mikunj Varsani beb4cdbed8 Closed group fixes. (#816)
* Fix group updates not syning

* Fix leaving closed groups

* Fix incorrect members being shown on create group dialog

* Linting

* Fix create closed group showing our own conversation
5 years ago
Ryan Tharp 8f77c2e00b expose isRss, don't close uncloseable Rss conversation on deleteMessages 5 years ago
Mikunj c9f60826b4 Fix friend request messages being sent to users you don't have a session in closed groups.
Disable typing messages and read receipts in groups.
Send out session request messages if you don't have a session with a member in the group.
5 years ago
Audric Ackermann b9da721faa
open the conversation when accepting a friend request
also, it does what is needed to show the new friend in the friend list
5 years ago
Maxim Shishmarev 02320334f0 Remove P2P 5 years ago
Audric Ackermann 7867f4dceb
Merge branch 'clearnet' into brand-redesign 5 years ago
Maxim Shishmarev 8ce066b802 Display subscriber count for open chats 5 years ago
Vincent 4d690768a6 Scrolling button updated and animations to modals 5 years ago
Vincent a0a5a61b29 Various changes suggested by redesign overview 5 years ago
Vincent 3dd18a0c9c Profile picture upload, fixes and copy 5 years ago
Audric Ackermann 25344685a2 merge 5 years ago
Audric Ackermann 6209d7d2e2 remove conversation when friendrequest is declined 5 years ago
Audric Ackermann 34fde5f71a contact list, show receivedfriendrequest, then sent, then friends 5 years ago
Audric Ackermann 05bbc43b22 fix accept/decline friend request from conversationListItem 5 years ago
Vincent 6ee5d041fb Finishing up some modals 5 years ago
Vincent 08cc218364 Fixed orderin of toasts with Maps 5 years ago
Ryan Tharp e7a08b696b make sure isPublic/isRss are boolean values 5 years ago
Vincent 02d23e972c Optimisations and SASS simplifcation 5 years ago
Vincent fc235d6057 Completed message selection 5 years ago
Vincent 0c4f57e57d Added session button types and session button colors 5 years ago
Vincent 98b4b18583 Added message selection inital functionality and added to buttons 5 years ago
Ryan Tharp 549e3b4516
Merge branch 'clearnet' into multidevice-publicchat 5 years ago
Maxim Shishmarev 5123fa0409
Merge pull request #669 from msgmaxim/restoration
Prompting the user to reset session on invalid ciphertext
5 years ago
Ryan Tharp 027bb76989 setPublicSource now marks convo active, make getPublicSendData use the lokiPublicChatAPI findOrCreateChannel, add some warnings 5 years ago
Maxim Shishmarev 19786108a3 address reviews 5 years ago
sachaaaaa acc19985f5 allow removing picture when avatar set to null (currently only possible via mobile) 5 years ago
sachaaaaa a29f0a4120 encrypted pictures for public chats 5 years ago
sachaaaaa 5b7baaf357 enable profile sharing after becoming friends for private messages 5 years ago
Maxim Shishmarev 81bfa90943 Prompting the user to reset session on invalid ciphertext 5 years ago
Maxim Shishmarev 2ab0d084f1
Merge pull request #645 from msgmaxim/group-invites
Public chat invitations
5 years ago
Maxim Shishmarev 89e5e919f2 Address more review comments 5 years ago
Maxim Shishmarev a5fce17d8c public chat invitations 5 years ago
Ryan Tharp 0d47f305ca add missing await 5 years ago
Maxim Shishmarev 4dd314c18f Enable profile pictures 5 years ago
Beaudan Brown 685ada5cc5 Merge branch 'clearnet' into prep-merge 5 years ago
Beaudan Campbell-Brown b42a8aab1f
Typo
Co-Authored-By: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com>
6 years ago
Beaudan Brown 807f4cbd2a Storing primary device pubkey on the conversation model for easier access, ensuring that we accept all the friend requests from the primary conversation rather than the secondary 6 years ago
Beaudan Campbell-Brown 6611a10855
Merge pull request #590 from BeaudanBrown/session-reset-on-fr
Session reset on fr
6 years ago
Beaudan Brown c31535edb4 Rename blockSync, only send contacts and profile if sending a GRANT request, do *not* always be friends with secondary devices because we still need to complete a friend request exchange 6 years ago
Beaudan Brown 332cd30052 Send contact sync message when becoming friends with contact and auto accept/send friend requests when receiving contact sync 6 years ago
Beaudan Campbell-Brown 0f74a002df
Merge pull request #601 from BeaudanBrown/sync-messages
[multi-device] Sync messages
6 years ago
Beaudan Brown 15c07ea7df Sync secondary devices again but handle the receiving of them properly 6 years ago
Maxim Shishmarev 027e17f7d0 Reset multi selection when conversation is deleted/changed 6 years ago
Beaudan Brown accd16cae1 Trigger friend request received update for the correct device conversation, throttle the sending of automated friend requests and don't send them to devices which sent *us* a friend request 6 years ago
Maxim Shishmarev 7c96990119 Correctly handle server errors in multi-deletion 6 years ago
Maxim Shishmarev 8677fb15a0 Select multiple messages and bulk deletion 6 years ago
Beaudan Brown f16b032056 Handle sync messages properly for some edge cases, ensure we always have a primaryDevicePubKey, send contact sync message 6 years ago
Maxim Shishmarev 395daf3aba Use Array.includes in place of Array.indexOf 6 years ago
Maxim Shishmarev 7c05939f55 Add group admins and the ability to remove members from private groups 6 years ago
Maxim Shishmarev 9f81f67460 Can leave private group chats 6 years ago
Maxim Shishmarev 1f4af59dad Delete public chat messages locally if not stored on the server 6 years ago
Beaudan Brown 653fd06451 Don't await for some background messages 6 years ago
Beaudan Campbell-Brown aa66b28ffe
Merge pull request #579 from BeaudanBrown/friends-with-any
Add isFriendsWithAnyDevice and use it in relevant places
6 years ago
Beaudan Brown 76b36845bb Add isFriendsWithAnyDevice and use it in relevant places 6 years ago
Beaudan Brown 08ad913105 Add explicit isSecondary flag to conversation list items so they can remain hidden in the menu after they become friends etc 6 years ago
Beaudan Brown 2f52995e18 Fix the delete messages button to not break the conversation 6 years ago
Beaudan Brown a3635216db Enable sending audio recordings 6 years ago
Beaudan Brown 22df66c08f Fix missing await, fix undefined bug 6 years ago
Beaudan Brown 4e70b66131 Extract the async token grab from the server api constructor and put in the factory. Fix up the areas this affects 6 years ago
Beaudan Brown 5d2f7ddb20 Add messages needed for UI, bit of house work 6 years ago
Maxim Shishmarev 8be1c61f4c Highlight conversations with unread mentions of the user 6 years ago
Mikunj Varsani 51f161a613
Merge pull request #498 from Mikunj/mod-badges
Mod badges
6 years ago
Mikunj Varsani 0acea50acb
Merge pull request #490 from BeaudanBrown/incoming-public
Fix duplicate detection for sent messages in public chat
6 years ago
Mikunj 0883b1b650 Updated styles.
Merge commit clearnet into mod-badges
6 years ago
Beaudan Brown e9a2b57d37 Show crown icon for moderators 6 years ago
Beaudan Brown 72b3d02b52 Poll for moderators, store them on the conversation and use the list to determine our own mod status 6 years ago
Beaudan Brown 9fe613967a Fix duplicate detection for sent messages in public chat 6 years ago
Mikunj 500a88dbab Removed identicon.js
Updated profile image helper.
6 years ago
Beaudan Brown 9beea2cbd3 Enforce curlies completely and lint with new settings 6 years ago
Beaudan Brown 0c870d04e3 Stop polling when leaving public chat, only grab the most recent 100 messages on first poll 6 years ago
Beaudan Campbell-Brown bf7742932b
Merge pull request #480 from BeaudanBrown/loop-stopping
Stop polling on public chat deletion
6 years ago
Beaudan Campbell-Brown 6e6428928c
Merge pull request #479 from neuroscr/use-user-obj
Make sure public chat timers can't be restarted / Channel name bug fix
6 years ago
Beaudan Brown d2dcd6c23d Stop polling when you leave the public chat, clear up a bit 6 years ago
Ryan Tharp eea6bac7e6 add setGroupName() 6 years ago
Beaudan Brown 870dc7f904 Fix tests, refactor menu items to please linter and lint 6 years ago
Beaudan Brown 66459ac4bd Remove most of the right click and cog menu options for the public chats 6 years ago
Beaudan Campbell-Brown a6abcaf826
Merge pull request #453 from Mikunj/profile-simplification
Profile simplification
6 years ago
Beaudan Brown 27976a053c Save the last retrieved message for public chats on the conversation 6 years ago
Beaudan Brown 8066affd2c Move initialisation of public and rss conversations to fix early loading error. Rename function to be more readable 6 years ago
Ryan Tharp 133f2a5656 replace publicSendData with LokiPublicChannelAPI instance 6 years ago
Beaudan Brown 351fa09ad6 Only show delete option if have mod status and show different modal for mod deletion 6 years ago
Beaudan Brown e4ecc5b389 A prepare for message deletion 6 years ago
Mikunj c4dd10a5cd Simplified profile setting. Renamed functions to be less confusing. Removed storing profile in local storage. 6 years ago
Beaudan Brown 700ed5d2a8 Some refactoring from reviews, and include the token in the message pipeline instead of getting in message_api 6 years ago
Beaudan Brown b5fd01a468 Add required metadata to sending pipeline and send to public channels 6 years ago
Beaudan Brown 662c64f347 Remove ability to delete some rss conversations 6 years ago
Beaudan Brown 3f4b94ba74 Transition to initialising rss feeds in schema update 6 years ago
Ryan Tharp d3cf055128 rss avatar guard 6 years ago
Ryan Tharp a67e7fcfe1 guard for CI fix 6 years ago
Ryan Tharp bbffa89308 make sure we have braces 6 years ago
Ryan Tharp c57571fdfd loki.network rss feed 6 years ago
Beaudan c9f433fbba Save message id when sending/receiving to/from public server and lint 6 years ago
Beaudan f857744e88 Revert sending id 6 years ago
Beaudan 5bdfaeaf1d Don't send read receipts to public chats 6 years ago
Beaudan f718bf15d2 Prepare to delete message, send message id to server 6 years ago
Beaudan 143bf1bdc1 Fill out unregister channel stub, trigger unregister channel on conversation deletion 6 years ago
Beaudan 014558d939 Squash and clean of old PRs, move towards sending cleartext again 6 years ago
Beaudan b4cc9430be Add loki schema versioning and create new public conversation 6 years ago
Beaudan debd211fe5 Also don't send typing messages for people we aren't friends with 6 years ago
Beaudan Campbell-Brown fc12f01ab3
Merge pull request #374 from msgmaxim/no-read-receipt-unless-friends
Only send read receipts if friends
6 years ago
Beaudan Campbell-Brown b76f84acc5
Merge pull request #377 from msgmaxim/typing-indicators
Add a toggle option for typing indicators; use short ttl for them
6 years ago
Maxim Shishmarev cdd374a4b2 Add a toggle option for typing indicators; use short ttl for them 6 years ago
Maxim Shishmarev f12a7cee4d only send read receipts if friends 6 years ago
Beaudan 63396669bc Add eslint rule to enforce curlys, run eslint --fix to automatically apply this rule and add swapfiles to gitignore 6 years ago
Beaudan 96aaa7851d Send broadcast message instead of empty message to trigger things like session reset and disappearing messages. Also fix small bug where deleting a contact kept the (now removed) conversation open 6 years ago
Beaudan 580931c4fb Pass ourKey to message api, initialise these APIs after registration or when storage is ready so we always have ourKey 6 years ago
Beaudan Campbell-Brown 4330e48185
Merge pull request #307 from BeaudanBrown/fix-self-note
Fix not to self
6 years ago
Beaudan e1d2484797 Can't update conversation that hasn't been created yet 6 years ago
Beaudan ab15a4afd6 Review moving status setting to conversation init 6 years ago
Beaudan 3bb9d888dc Initialise conversation with ourselves as friends and don't allow it to be changed to anything else 6 years ago
Beaudan 94b125f2cf Consider friend requests that are still being sent as sent 6 years ago
Mikunj 2c12c8a1d8 Convert profile field in data message to use LokiProfile instead of signal Contact. 6 years ago
Mikunj 8808100796 Merge signal-1.24.0
# Conflicts:
#	.github/PULL_REQUEST_TEMPLATE.md
#	background.html
#	config/default.json
#	config/production.json
#	js/models/conversations.js
#	js/models/messages.js
#	js/views/conversation_view.js
#	js/views/inbox_view.js
#	js/views/settings_view.js
#	main.js
#	package.json
#	test/index.html
#	ts/components/conversation/ContactName.tsx
#	yarn.lock
6 years ago
Mikunj 3a8111020e Merge v1.23.0
# Conflicts:
#	background.html
#	package.json
#	yarn.lock
6 years ago
Mikunj 7387e88c97 Add showing friends in search. 6 years ago
Mikunj 1f03e04d8c Merge commit 'c75a756b2a58bd4a79890e34673d95d9f17f3f01' into signal-1.23
# Conflicts:
#	js/views/conversation_view.js
#	package.json
#	ts/components/ConversationListItem.tsx
#	ts/components/conversation/ConversationHeader.tsx
6 years ago
Mikunj 12ce0140de Left pane changes.
Merge commit 'b3ac1373fa64117fe2a9ccfddf3712f1826c06d9' into signal-1.23

# Conflicts:
#	_locales/en/messages.json
#	background.html
#	js/background.js
#	js/conversation_controller.js
#	js/models/conversations.js
#	js/models/messages.js
#	js/views/conversation_list_item_view.js
#	js/views/conversation_list_view.js
#	js/views/conversation_search_view.js
#	js/views/inbox_view.js
#	libtextsecure/account_manager.js
#	package.json
#	stylesheets/_global.scss
#	stylesheets/_index.scss
#	stylesheets/_modules.scss
#	test/_test.js
#	test/index.html
#	test/models/conversations_test.js
#	test/views/conversation_search_view_test.js
#	ts/components/ConversationListItem.tsx
#	ts/components/MainHeader.tsx
#	ts/components/conversation/ConversationHeader.tsx
#	ts/components/conversation/ResetSessionNotification.tsx
6 years ago
Mikunj 48c4ed1a29 Partial Merge commit 'bf904ddd129ceba8fa363ccf6d10ecd256c65f63' into signal-1.23
# Conflicts:
#	_locales/en/messages.json
#	app/sql.js
#	js/background.js
#	js/conversation_controller.js
#	js/models/conversations.js
#	js/views/inbox_view.js
#	main.js
6 years ago
Mikunj 57195017f9 Linting 6 years ago
Mikunj e343a04eea Merge commit '18b5b7c046436f2defab2e20407e22da180bf97b' into signal-1.22
# Conflicts:
#	app/sql.js
#	background.html
#	config/default.json
#	js/background.js
#	js/models/conversations.js
#	js/models/messages.js
#	js/modules/data.js
#	js/signal_protocol_store.js
#	js/views/conversation_search_view.js
#	libtextsecure/message_receiver.js
#	libtextsecure/sendmessage.js
#	main.js
#	package.json
#	preload.js
#	test/index.html
#	ts/components/Avatar.tsx
#	ts/components/conversation/ConversationHeader.md
#	ts/components/conversation/ConversationHeader.tsx
6 years ago
Scott Nonnenberg 22f7a352f9 updateLastMessage: If we don't update last text, clear it 6 years ago
Scott Nonnenberg 74cb808763 New MessageController as the single place for in-memory messages 6 years ago
Scott Nonnenberg 8c4d90df07 Send long text as an attachment instead of inline
Remove Android length warning

Handle incoming long message attachments

Show long download pending status in message bubble

Fix the width of the smallest spinner

Remove Android length warning from HTML templates
6 years ago
Scott Nonnenberg c76d537482 Note to Self: On just expire timer update, set TIMER_UPDATE flag 6 years ago
Scott Nonnenberg b3ac1373fa Move left pane entirely to React 6 years ago
Scott Nonnenberg 6ffbc0ac06 Archive Conversation 6 years ago
Scott Nonnenberg 812f895e12 Bring lastMessage and lastMessageStatus back to conversation 6 years ago
Beaudan 9717267b00 Review 6 years ago
Beaudan d0d57ea8c7 Add more functionality to the conversation right click menu, add right click for messages, change some of the ways toasts/confirmation dialogs are created, auto focus text input for nickname, clean up some stuff 6 years ago
Beaudan df93c97b48 Added ability to delete contacts and destroy all sessions with them. Added right click menu to contacts/conversations in list which can block, delete messages and delete contact 6 years ago
sachaaaaa dca2462f6c
Merge pull request #248 from sachaaaaa/friend_request_expiry
Add requestExpired state to Friend Request state machine
6 years ago
sachaaaaa 77fb5b4a71 Missing closing parenthesis 6 years ago
Mikunj Varsani 353302ca16
Use Array.includes instead of Array.indexOf
Co-Authored-By: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com>
6 years ago
sachaaaaa e953ae7be2 use correct function respondToAllFriendRequests 6 years ago
sachaaaaa 62889bbdd4 Add requestExpired state to Friend Request state machine 6 years ago
sachaaaaa 926c9ce3ca Fix multiple friend request timers instantiated 6 years ago
Mikunj 06be1da40d Added p2p message styling 6 years ago
Scott Nonnenberg af40ceda6c Note to Self timer fixes for bugs reported by beta users 6 years ago
Beaudan 4bb10044ea Clear timers after friend request complete and don't do timer related things if we are already friends 6 years ago
Scott Nonnenberg 5b54c9554e Remove groups table, conversation is single source of truth 6 years ago
Scott Nonnenberg a43a78731a Note to Self 6 years ago
Scott Nonnenberg 462fa712bc Show members: Pull conversation from group table 6 years ago
Scott Nonnenberg 12739ac82d Ensure we don't add empty attachments to quote 6 years ago
Beaudan 5d823de6f9 Renamed lokiSnodeAPI to start with lower case for consistency, refactor snode API to use conversation controller 6 years ago
sachaaaaa a0f67c22da Merge branch 'textsecure/master' into merge_1_21_0
* textsecure/master: (26 commits)
  v1.21.0
  v1.21.0-beta.4
  Dark Theme: Preserve blue background on app loading screen
  Localization updates
  Fix width of audio player when window is very narrow
  A number of small fixes for Link Previews
  Get rid of the white flash when the app starts up (#3083)
  v1.21.0-beta.3
  Lint fixes
  Introduce new language: NB
  Fail over to all numbers in retry if errors don't have numbers
  Use the proper method for pulling attachments off disk for retry
  Fix rendering bug with verified state in updateVerified()
  Update electron-builder and electron-updater
  Ensure that dialog pops up when permissions denied for voice note
  Lint fixes
  Large update to localization strings
  Link Previews
  Ensure that blocked messages are dropped even after sealed sender
  Don't linkify quoted message contents
  ...

# Conflicts:
#	.github/PULL_REQUEST_TEMPLATE.md
#	_locales/cs/messages.json
#	background.html
#	config/default.json
#	index.html
#	js/models/conversations.js
#	js/modules/web_api.js
#	js/settings_start.js
#	js/views/conversation_view.js
#	js/views/settings_view.js
#	package.json
#	protos/SignalService.proto
#	stylesheets/_index.scss
#	stylesheets/_settings.scss
6 years ago
Scott Nonnenberg 0d7480bd92 A number of small fixes for Link Previews 6 years ago
sachaaaaa 432c336048
Merge pull request #171 from Mikunj/online-indicator-fix
Added online indicator to conversation header.
6 years ago
Mikunj ddfc99a461 Added online indicator to conversation header. 6 years ago
Mikunj e3c0f2147a Fixed variable name. 6 years ago
Mikunj 1d40bc3af9 Changed queueMessageSend to use JobQueue. 6 years ago
Mikunj 4518e95619 Linting 6 years ago
Mikunj f4e9bc655a Hooked up LokiP2pAPI with online stuff. 6 years ago
Mikunj 9b382de6da Added online indicator.
Disable selection in contacts.
6 years ago
Beaudan a40a3d164f Lots of logic for establishing a p2p connection, managing when the other user is online vs offline etc. Will always try to use P2P messaging when it can and fall back to storage server otherwise 6 years ago
Beaudan 9ff96a0250 Fixed tests and moved friend request status enum to new friends file 6 years ago
Beaudan 07076c27ae Moved friend status to window, added start of p2p api stuff 6 years ago
Scott Nonnenberg c936859d09 Fix rendering bug with verified state in updateVerified() 6 years ago
Scott Nonnenberg 813924685e Link Previews 6 years ago
Beaudan Campbell-Brown dcfc97713b
Merge pull request #150 from sachaaaaa/display_nickname_on_friend_accept
Send profile along with friend request accept message
6 years ago
sachaaaaa adfb4ab371 work with session reset 6 years ago
Mikunj 1a15ec9c15 Merge commit signal/master into signal-1.20 6 years ago
Mikunj e08a63d078 Merge development into lint 6 years ago
Beaudan bdbdf15469 Added timeouts for requests so they don't for ages. Changed swarmNodes to be a set to work property with merge, now removing contact swarmNodes if they timeout 6 years ago
Beaudan 7b1799c418 Big ol' hunk o' chunk. Now using random.snode to populate swarm lists, now making multiple requests from said lists and they are processed as they complete rather than waiting for all to resolve 6 years ago
Beaudan f09f0f5721 Moved replenishSwarm into libloki-protocol and attached to the window 6 years ago
Beaudan 37ba762312 First stuff for contacting specific nodes for each contact. Hard coded to hit the same bootstrap node for now plus doesn't handle unreachable nodes/errors well yet 6 years ago
Mikunj 6bd2d3962e Linted files 6 years ago
Mikunj 7341471ce7 Fix up notification. 6 years ago
sachaaaaa 61c4447ab0
Merge pull request #126 from Mikunj/friend-request-notification
Fix notification display after friend request is accepted.
6 years ago
Mikunj a12ed61cc1 Fix notification display after friend request is accepted. 6 years ago
Mikunj 070d18b514 Updated function calls. 6 years ago
Herohtar a21d63e450 Make notification initials consistent with everything else (#3006)
Make notification initials consistent with Avatar component
6 years ago
Mikunj 654b0dac84 Merge signal-master. 6 years ago
Scott Nonnenberg 3851bf351f Throttle typing events, fix profile logging, fix group typing 6 years ago
Mikunj 2715e79268 Fix conversation status not being reset upon conversation messages deletion.
Fix incoming friend request not replacing old friend requests.
Fixed incorrect function name.
6 years ago
sachaaaaa 05c18d42db
Merge pull request #66 from sachaaaaa/session_reset
Handle session reset, Loki style
6 years ago
Beaudan 1e3886cca8 More consistent naming of key storage functions, moved some loki messenger only functions into new file 6 years ago
Beaudan Campbell-Brown 86e04b89e2 Update js/models/conversations.js
Co-Authored-By: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com>
6 years ago
sachaaaaa e62c661ed9 Treat session reset success messages as incoming, handle failure differently 6 years ago
sachaaaaa 962c947605 Prevent "secure session reset succeeded" message from being cleaned up at startup 6 years ago
sachaaaaa f2e1b9b8de more missing awaits 6 years ago
sachaaaaa df80249cba fix missing awaits 6 years ago
sachaaaaa 4cc614269e add setter for session reset state 6 years ago
Beaudan Campbell-Brown 1dc621a917 Fix using FriendStatusEnum for session reset
Co-Authored-By: sachaaaaa <40749766+sachaaaaa@users.noreply.github.com>
6 years ago
sachaaaaa 7e612700f7 Handle session reset, Loki style 6 years ago
Beaudan 13db2d666f Fixed test again after rebase, reworked some logic in the conversation validateNumber function to correctly reflect what libsignal thinks is valid 6 years ago
sachaaaaa 4be6af569a
Merge pull request #69 from Mikunj/ui/header
Updated current profile display in UI
6 years ago
sachaaaaa 06ece60da8 Fix glitch in last message shown in conversation list 6 years ago
Mikunj 570a7f5bf8 Fix header not updating when editing nickname. 6 years ago
Mikunj c6d1c8303e Added a validation to check if a pubkey is prefixed by 05. 6 years ago
Beaudan 28fc5793a7 More explicit function names, shifted friend request sent logic to more sensible place 6 years ago
Beaudan 91a8a82e39 More PR suggestions, now recover from early exit before friend request is sent 6 years ago
Beaudan 2de01d0343 Back to multiple pending states, fix some notification bugs and friend requests should now work for all cases besides message sending interruption 6 years ago
Beaudan 051e4dd22c XAnother big refactor to tie conversation UI logic to the friendRequestStatus variable 6 years ago
Mikunj c8db0e200d Fixed incorrect await. 6 years ago
Mikunj d60f147659 replaced jdenticon with identicon.js.
Cleanup any unused images.
6 years ago
Mikunj 961eb53915 Auto-generate profile images on conversations. 6 years ago
sachaaaaa f900fc496d
Merge pull request #61 from Mikunj/feature/profile-nickname
Added profile sharing and setting nicknames.
6 years ago
Beaudan fa63ce5ade Review changes 6 years ago
Beaudan 35c89ea4d9 Big refactor, prekeybundle moved back to a content message 6 years ago
Mikunj b929b11f07 Override unused signal code.
minor fix.
6 years ago
Mikunj 14ee7fec65 Moved and nicknames into conversations. 6 years ago
Mikunj 98c4b5d77b Added editing own nickname.
Fix dark theme support.
Fix notification titles.
6 years ago
Mikunj cf24e42a0e Added storing nicknames. 6 years ago
Mikunj aa57693fce Update profile if we get it through a message. 6 years ago
Mikunj 774c52a407 Added dynamic profile fetching in conversation.
Added setting profile when sending DataMessage.
6 years ago
Scott Nonnenberg a291834301 Dismiss typing indicator when ConversationView is not loaded 6 years ago
Scott Nonnenberg 79a861a870 Typing Indicators 6 years ago
Scott Nonnenberg 447a217397 Bulletproof getNumberInfo against missing ourNumber 6 years ago
sachaaaaa 5c128e9d91 remove `isFriend` from conversation default 6 years ago
Beaudan f67c71bda1 Fixed comment typo 6 years ago
Beaudan b65d6a6d2c Refactor friend request status to use a state enum variable 6 years ago
sachaaaaa dbdd52b4eb
Merge pull request #50 from Mikunj/fix/friend-request
Friend request fixes
6 years ago
Mikunj f29a515fdf Fix up typos. 6 years ago
Mikunj 4fd709be35 Removed unused state. 6 years ago
Mikunj 50e8f65a7e updated doc. 6 years ago
Mikunj fb8b0e1d40 Auto accept friend request if we have both incoming and outgoing friend requests. 6 years ago
Mikunj 8a0b8e1f00 Store the state of the friend request inside the conversation. 6 years ago
Mikunj 484efd34a3 Added friend request message expiration. 6 years ago
Mikunj bd103e2ad2 Minor fixes. 6 years ago
Mikunj 7d8719f250 Fix incoming friend request messages being deleted.
Set pending outgoing friend requests to declined if we receive an incoming friend request.
Fix text input not blocking.
6 years ago
Mikunj dba6a36e83 removed old unused code. 6 years ago
Mikunj 110387508f UI fixes. 6 years ago
Mikunj 4ebdfab633 Update handling of new message logic. 6 years ago
Mikunj cf3e9716ed Update new conditions for friend accepted and key exchange complete in conversations model. 6 years ago
Mikunj a3a7f4a621 Merge commit 'ef44a123ed4ada70489d78fde16a86c60ced34a8' into feature/blocking 6 years ago
Beaudan ff3cc7a315 Review changes 6 years ago
Beaudan 489ec8fc65 Heap of linting, eslint warning/error removal, and fixed a couple small bugs found along the way
Created new table to store the received message hashes. Checking this table when receiving messages to look for duplicates. Should be cleared of expired messages on app start and every hour after

Removed id which was not needed for seen messages. Refactored filter logic into function and found function name error

create unique index for contact prekeys (to allow using REPLACE)

Fixed lint stuff that merge brought back
7 years ago
Mikunj ba390e354b Added unblocking.
Added styling.

Trigger changes on both conversation and messages when we block/unblock.
7 years ago
Mikunj ae2e2fa2ae Updated UI in conversation to support user blocking behaviour. 7 years ago
sachaaaaa 78d39ac177
Merge pull request #41 from Mikunj/fix/friend-notification
Friend Notifications
7 years ago
Mikunj 17e5c861a1 Fixed review issues.
Fixed lint error.
7 years ago
Mikunj c77f996709 Forgot a ; 7 years ago
Mikunj 3943cbbc6e Fix linting error. 7 years ago
Mikunj 4f4ebf3ddd Added an info log on graceful conversation fallback, 7 years ago
Mikunj ece266fffd Added showing pow icon. 7 years ago
Mikunj 676fe8b5c5 Fixed new messages not showing when another message in the conversation is calculating its PoW 7 years ago
Mikunj 745d0e82d4 Added unread count badge . 7 years ago
Mikunj 061b8ab2cb Added function to help friend request notifications 7 years ago
Mikunj dfae580ffa Added notification when receiving a friend request and when a friend request was accepted. 7 years ago
Mikunj 688f275262 pass in source, sourceDevice, timestamp and receivedAt when adding a friend request. 7 years ago
Mikunj f2dbdff548 code cleanup. 7 years ago
Mikunj 1150f0f915 Allow fetching conversation messages by a specific type. 7 years ago
Mikunj f4b60c3ff6 Fix setting friend requests incorrectly. 7 years ago
Mikunj 6aab900da2 Handle friend request updated. 7 years ago