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
Mikunj
831ae09576
Cherry pick "profile simplification" from Mik
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
Beaudan
616e952f8e
Add right click option to public chat messages to copy pubkey of sender
6 years ago
Ryan Tharp
133f2a5656
replace publicSendData with LokiPublicChannelAPI instance
6 years ago
Ryan Tharp
3178d67295
allow yourself to request deletion of messages
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
Beaudan Brown
1b4105a3d0
Fix db stuff and remove unneeded message function
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
sachaaaaa
16cc1cb400
Merge pull request #443 from sachaaaaa/show_secondary_pubkey_message_details
...
[multi-device] Format message details to show secondary pubkey properly
6 years ago
sachaaaaa
54f4fd843b
Merge pull request #440 from sachaaaaa/substitute_secondary_with_primary
...
[multi-device] Display incoming messages in the primary device conversation
6 years ago
sachaaaaa
dce8c8bcf7
Format message details to show secondary pubkey properly
6 years ago
sachaaaaa
2c052a65a2
Display incoming messages in the primary device conversation
6 years ago
sachaaaaa
4dd62a265c
Allow receiving and sending messages before lokiP2PApi is defined.
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
899bfc3b2b
Add channel id to message table and provide helper functions
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
406938cf59
Cleaner forceSave
6 years ago
Beaudan
f7039080af
Remove accidental swapfile, save messages with the id given to them from public server
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
21f0149e22
Send profile and update it
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 Campbell-Brown
98f1c8d80b
Merge pull request #380 from BeaudanBrown/profile-fix
...
Catch this little rascal. Profile names should update consistently now
6 years ago
Beaudan
55152cd33a
Catch this little rascal. Profile names should update consistently now
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
Beaudan Campbell-Brown
fd6f6c6a8c
Merge pull request #290 from Mikunj/loki-profile
...
Convert profile field in DataMessage to use LokiProfile
6 years ago
Mikunj
2c12c8a1d8
Convert profile field in data message to use LokiProfile instead of signal Contact.
6 years ago
Mikunj
53cbfb1f5c
Merge branch 'development' into fix-friend-request-logic
6 years ago
Mikunj
12cce8fe47
Auto accept friend request messages if we were already friends with the user.
...
Lint fixes for previous files.
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
62de2a229d
Add logging to track synchronization in message processing
6 years ago
Scott Nonnenberg
74cb808763
New MessageController as the single place for in-memory messages
6 years ago
Scott Nonnenberg
274949b247
Enable long message send as an attachment
6 years ago
Scott Nonnenberg
4d8fbe95ff
Retry send: Always remove all errors and recalculate recipients
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
32fa5cccde
Send sync sent messages properly in 1-member group
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
768007a269
Message Detail: Ensure that quotes are not clickable
6 years ago
Scott Nonnenberg
6ffbc0ac06
Archive Conversation
6 years ago
Scott Nonnenberg
812f895e12
Bring lastMessage and lastMessageStatus back to conversation
6 years ago
Scott Nonnenberg
dcd16775c3
Note to Self: set expirationStartTimestamp before sending sync
6 years ago
Scott Nonnenberg
eb7ad48951
Only put nbsp before last token in msg body if token is <12 chars
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
41ea9ee15b
Ensure that we show error'd recipients in message details screen
6 years ago
Scott Nonnenberg
ad53423e0a
Queue quote reference handling per convo in handleDataMessage
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
1d2c3ae23c
Download attachments in separate queue from message processing
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
Mikunj
d30e950bf9
Changed hashing algorithm.
6 years ago
Mikunj
a989a1a818
Save previews locally.
6 years ago
Mikunj
7564e270f8
Lint and code cleanup
6 years ago
Mikunj
27c6062351
Fix incoming messages not showing previews.
...
Linting.
6 years ago
Mikunj
ae695fe32f
Remove sending attachments.
6 years ago
Mikunj
8f8e25bb3e
Added local link preview
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
1533fcc807
Fail over to all numbers in retry if errors don't have numbers
6 years ago
Scott Nonnenberg
c936859d09
Fix rendering bug with verified state in updateVerified()
6 years ago
Beaudan
dde63a552f
Fix bug with replayable errors, fix bug with set representation of swarmNodes not being handled properly
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
Mikunj
f92e8485f8
Merge development into lint
...
Added gitattributes
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
Beaudan Campbell-Brown
ea1d007b4f
Merge pull request #136 from Mikunj/tests
...
Tests
6 years ago
Mikunj
6bd2d3962e
Linted files
6 years ago
Mikunj
feb8af476a
Refactored BlockedNumberController.
6 years ago
Mikunj
7341471ce7
Fix up notification.
6 years ago
Mikunj
faeb319c58
Added profile model test.
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
Scott Nonnenberg
c0be4718fc
Update delivered_to for outgoing with earlier delivery receipts
6 years ago
Herohtar
a21d63e450
Make notification initials consistent with everything else ( #3006 )
...
Make notification initials consistent with Avatar component
6 years ago
Mikunj
6bcb259919
Added PoW error.
6 years ago
Mikunj
654b0dac84
Merge signal-master.
6 years ago
Mikunj
f98fe910d5
Fix friend request retry not working.
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