Commit Graph

921 Commits (b68cb07e3e026a7ab1df6cdcfa2c665022f7382e)

Author SHA1 Message Date
Mikunj 33925d69e9 Cleanup 5 years ago
Mikunj Varsani d8b982e194 Fix messages not being created properly in open groups 5 years ago
Vincent 9a6aafe99c Pull from clearnet 5 years ago
Vincent 7235ccff88 Emoji quick styling 5 years ago
Mikunj 8c91aa04f1 Speed up message creation.
We were fetching all of our devices everytime a new message was received.
This was only used for when the message was a public chat message, so i moved it into the relevant if statement.

In the future if we increase the device link limit, we'll need to fetch all our devices on application launch or something.
5 years ago
Mikunj 26140e0ed0 Send delivery receipts asynchronously 5 years ago
Mikunj 745e898bcc Remove more unused functions 5 years ago
Mikunj d5bb069207 Cleanup unused functions 5 years ago
Ryan Tharp 738057587d open group avatar redo conversion properly 5 years ago
Vincent 2dc5885c88 Microphone timer 5 years ago
Mikunj Varsani 64778d15d7
Merge pull request #948 from konstantinullrich/#893-Unhandled-Promise-Rejection-error-when-updating
Move cleanupOrphanedAttachments before restart
5 years ago
Konstantin Ullrich 9cc9d61fcd Remove a redundant restart call 5 years ago
Konstantin Ullrich 1ea0edafa9 Remove redundant if statement to avoid future bugs 5 years ago
Konstantin Ullrich f7d562eafe lint remove empty line after newVersion if 5 years ago
Konstantin Ullrich 1a9206fdbe Move cleanupOrphanedAttachments before restart 5 years ago
Audric Ackermann 488c0b4e08
Merge pull request #917 from Bilb/closed-group-contact-panel
Make closed groups show up in contacts left panel
5 years ago
Vince 67e3846787
Merge pull request #905 from jian10au/scaleslider
Zoom factor slider
5 years ago
Vincent 548db7150d Start message selection reactification 5 years ago
Audric Ackermann 370467a127
Merge pull request #878 from Bilb/group-profile-image
Group profile image upload
5 years ago
Ryan Tharp 845fc34964
Fix my typo 5 years ago
Vincent 5d11ef1457 Header props 5 years ago
Brian Jian Zhao 203d314254 fix the slider bug 5 years ago
Brian Jian Zhao 23da1831c2 removed unnecessary comments after review 5 years ago
Audric Ackermann f5b3eb394c
enable notifications after 10seconds of start or reconnect 5 years ago
Audric Ackermann d6a9038198
enable back notifications 5 years ago
Audric Ackermann f0760b22ea
Make closed groups show up in contacts left panel 5 years ago
Vincent bf5badda3b Working conversation openning 5 years ago
Brian Jian Zhao b2322bae02 check to whether the zoomFactor is shown in preload.js 5 years ago
Brian 96e9a68abd add zoomfactor to main 5 years ago
Audric Ackermann 790085bea1
disable profile image upload for closed group 5 years ago
Mikunj 0eaebcbcac Don't send contact sync message with pairing authorisation.
Don't send secondary devices in contact sync messages.
5 years ago
Vincent ea4dc05009 Upgrade typescript, finding messaages 5 years ago
Audric Ackermann 6d5aed7de8
make upload of group picture work 5 years ago
Mikunj fc6ca57e1e Added support for group request info 5 years ago
Vincent 2c5e2df817 reactification conversationview bottombar initial 5 years ago
Vincent 481315c100 Initiating new conversationVew 5 years ago
Audric Ackermann ff10637a5a
separate update group name and group members dialog
(add and remove members are separated)
5 years ago
Vincent 2101abb911 Modal blurs and stylistic simplifications 5 years ago
Mikunj Varsani 13634a42c6
Merge pull request #834 from loki-project/multi-device-fix
Multi device fixes
5 years ago
Mikunj Varsani e1d06fc9be Fix messages from secondary device not being mapped correctly to their primary device.
Fix creating closed groups from secondary device.
Fix primary device showing up in create group dialog.
5 years ago
Ryan Tharp 0bf7dfab6a log.verbose isn't a thing 5 years ago
Ryan Tharp 47e87a4720 add note 5 years ago
Mikunj Varsani c37650c45d Don't wait for file server to return tokens when establishing home connection. 5 years ago
Mikunj Varsani 8b1e24fc44 Clean 5 years ago
Mikunj Varsani 75660c7269 fixed file server holding up message sender init.
fix joining closed groups.
5 years ago
Mikunj Varsani 21e982e5c2 Fix open group joining. 5 years ago
Ryan Tharp 5a440941ea squelch RSS duplicate messages 5 years ago
Ryan Tharp 2c4facc694 Merge branch 'clearnet' of https://github.com/loki-project/loki-messenger into tls-fix 5 years ago
Vincent 799fcb80f4 Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into clearnet 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
Vincent b341ceaf76 Closed group joining completed w/o backend 5 years ago
Ryan Tharp 83e2404d89 move comments from connecting_to_server_dialog_view 5 years ago
Vincent 4fd2126fbe Fileserver update 5 years ago
Vincent de4edf9252 CLosed groups ui initial listprops 5 years ago
Maxim Shishmarev 71e19c18d6
Merge pull request #778 from msgmaxim/remove-sender
Remove source field from envelope
5 years ago
Maxim Shishmarev dadd4b97ad Remove source field from envelope 5 years ago
Vincent 5527cf7ed2 Localise global vars 5 years ago
Vincent cb417d3665 Link preview warning on setting toggle 5 years ago
Vincent 2d4bf2b3e2 Complete conditional message onboarding 5 years ago
Maxim Shishmarev 3f58dea035 Remove mixpanel 5 years ago
Vincent 9dcc851ebd Updated all icon references 5 years ago
Maxim Shishmarev 02320334f0 Remove P2P 5 years ago
Audric Ackermann d68aeb947e
Merge branch 'clearnet' into brand-redesign 5 years ago
Audric Ackermann 7867f4dceb
Merge branch 'clearnet' into brand-redesign 5 years ago
Maxim Shishmarev dc0571137c
Merge pull request #734 from neuroscr/fileproxy
ephemeral layering file proxy
5 years ago
Audric Ackermann 3b24714f3e
Sort messages by sent_at (#718)
Sort messages by sent_at
5 years ago
Ryan Tharp 56648a6e30 remove date, we have git 5 years ago
Ryan Tharp 419dd09c03
Disable link previews as default per Kee on signup 5 years ago
Vincent 3dd18a0c9c Profile picture upload, fixes and copy 5 years ago
Audric Ackermann 293eca0509 Merge branch 'brand-redesign' into clearnet 5 years ago
Audric Ackermann 2194a3a537 HARDCODE theme to be dark, even if an old config is set to be light mode enabled 5 years ago
Audric Ackermann 24bf436b0c disable menubar by default and remove old preferences from menubar 5 years ago
Vincent b68b4d8a27 Formatting and button positioning 5 years ago
Vincent c369b0c553 Edit user profile complete 5 years ago
Audric Ackermann 25344685a2 merge 5 years ago
Audric Ackermann 0f4f5847ed fix lint 5 years ago
Audric Ackermann 411b343e6a add unpairing of device from settings 5 years ago
Vincent f7548fc6ef Finalising pr 5 years ago
Vincent e065cc404f Password set, change and remove complete 5 years ago
Vincent a64a34edcb Disclaimer modal and settings view cleanup 5 years ago
Vincent c26097554f settings optimisations 5 years ago
Audric Ackermann 67262c7eaa lint after merge and fix startup of app 5 years ago
Audric Ackermann 9b8ad976e3 remove not used AddServerDialog -> now on chanel section 5 years ago
Vincent d217c76647 mergable settingsview 5 years ago
Vincent b0658ba7ed settings toggling abstraction 5 years ago
Vincent b97c9ec8e4 SessionRadio 5 years ago
Vincent 8de2ce9e23 Theme toggle and settings abstraction 5 years ago
Maxim Shishmarev 7a02d29674 Add missing sent_at for group update messages 5 years ago
Vincent 5360968a91 Add public server modal to message pane 5 years ago
Vincent d20d62e8c6 Messages display temporary fix and panel optimisations 5 years ago
Vincent dd421d58f1 Theme switching. Need to update _session*_light 5 years ago
Vincent e7d3bc6d35 Settings view modals and categories 5 years ago
Vincent 53555c0133 Fixed wrt review @ Audric 5 years ago
Vincent 8074756dc2 Infinte duration toasts 5 years ago
Vincent 6ee5d041fb Finishing up some modals 5 years ago
Vincent 2419272608 Updated React dialogs to SessionModals 5 years ago
Vincent 228e4ca81e Adding session settings to utilise toggles 5 years ago
Vincent 9afb8b4d5e Major rework of context menus 5 years ago
Vincent d0d5012e07 Fixed breaking sessionToggle issues 5 years ago
Vincent e9d543fe4a Dropdown generalisation and simplification 5 years ago
Vincent 12011a30d4 Inital dropdown, modal and toggle 5 years ago
Vincent 649c8c9be5 Resolved conflicts 5 years ago
Vincent 08cc218364 Fixed orderin of toasts with Maps 5 years ago
Vince 24ebf6b26a
Update js/background.js
Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
5 years ago
Vince 90cce5e9ae
Update js/background.js
Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
5 years ago
Vince bfab163c5c
Update js/background.js
Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
5 years ago
Vince c4d7cfb90e
Update js/background.js
Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>
5 years ago
Vince 9cd27abf31
Merge branch 'brand-redesign' into brand-redesign 5 years ago
Vincent 597c177ced Syntactical sugar 5 years ago
Vincent 34ce386bdb Finalise uniquified toast stacking and deletion 5 years ago
Vincent 4d463c659c Filesize toast amend 5 years ago
Audric Ackermann 6574585938 make default theme to dark 5 years ago
Audric Ackermann 47101c85f7 add signin with mnemonic to sessionRegistration page 5 years ago
Ryan Tharp 2cf39cc1ed
Merge pull request #690 from neuroscr/multidevice-publicchat
Add/Remove Moderators interface
5 years ago
Ryan Tharp 5730a88c18 add/remove moderator modal dialogs 5 years ago
Audric Ackermann 531b782669 click on our avatar show the edit profile dialog & fix lint 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
vincentbavitz 449eb8536b System clock (#677)
* Show toast when client clock is out of sync

* Fixed syntactical misarrangements

* Simplify getServerTime method

* Futher simplify getServerTime method

* Update js/modules/loki_app_dot_net_api.js

Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>

* Update js/modules/loki_app_dot_net_api.js

Co-Authored-By: Mikunj Varsani <Mikunj@users.noreply.github.com>

* Update loki_app_dot_net_api.js

Use cached timestamp value

* Update preload.js

Update some values to function scope

* Updated syntax

* Semifinal changes

* Improved efficiency and eliminated need for restart on clock update

* Remove await and immediately invoked function
5 years ago
Ryan Tharp ca0e1f995c handle public group updates differently 5 years ago
Ryan Tharp a3abf3b14a
Merge pull request #661 from sachaaaaa/encrypted_avatar
Encrypted profile pic
5 years ago
Maxim Shishmarev 19786108a3 address reviews 5 years ago
sachaaaaa a29f0a4120 encrypted pictures for public chats 5 years ago
sachaaaaa 7c52a1d038 encrypt and decrypt images before upload and after download 5 years ago
Audric Ackermann 061556bb7d trigger showUserDetails on message's avatar clicks 5 years ago
Maxim Shishmarev 81bfa90943 Prompting the user to reset session on invalid ciphertext 5 years ago
Audric Ackermann 9992a3da1d Add a showUserDetails modal to display user's details
Relates #655
5 years ago
Maxim Shishmarev 2ab0d084f1
Merge pull request #645 from msgmaxim/group-invites
Public chat invitations
5 years ago
Ryan Tharp 6cde9aa263
Merge pull request #638 from neuroscr/multidevice-publicchat
Public Chat - home server refactor / read public chat avatars from home server
5 years ago
Maxim Shishmarev 89e5e919f2 Address more review comments 5 years ago
Maxim Shishmarev 8ea82b14e3 Add channel id field to invitations 5 years ago
Maxim Shishmarev a5fce17d8c public chat invitations 5 years ago
Ryan Tharp 8f52080eed immediately set profile name on public chat servers when you update it 5 years ago
sachaaaaa db0068b429 Sending and handling of special UNPAIRING_REQUEST message 5 years ago
Maxim Shishmarev 8cd8c8d4f9
Merge pull request #610 from msgmaxim/profile-pictures
Enable custom profile pictures
5 years ago
Ryan Tharp 207e3d022f Merge branch 'profile-pictures' of https://github.com/msgmaxim/loki-messenger into multidevice-publicchat 5 years ago
Ryan Tharp e1554496d2 convert LokiFileServerAPI to factory and use establishHomeConnection, lint 5 years ago
Maxim Shishmarev 5a08ac9cc1 Use avatar specific endpoint 5 years ago
sachaaaaa 40208442e6 lint 5 years ago
sachaaaaa 8850d9bcce Only set when account already created 5 years ago
sachaaaaa 0b41ef0983 Ensure primaryDevicePubKey is always defined in storage 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 a2e8e6480f
Merge pull request #539 from neuroscr/multidevice-publicchat
[multi-device] public chat
5 years ago
Ryan Tharp bd17c4b026 lint 5 years ago
Beaudan Brown f1c155b943 Stop sending sync messages to public chats and mark messages from any of our devices as outgoing 5 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 5 years ago
Beaudan Brown 030264c689 Fix misuse of getAllDevicePubKeysForPrimaryPubKey and rename some vars 5 years ago
Beaudan Campbell-Brown 6611a10855
Merge pull request #590 from BeaudanBrown/session-reset-on-fr
Session reset on fr
5 years ago
Beaudan Brown 370dee5abb Ensure we have the correct apis and listeners during the pairing process. Catch upnp error. Remove redundant friend requests 5 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 5 years ago
Beaudan Brown 332cd30052 Send contact sync message when becoming friends with contact and auto accept/send friend requests when receiving contact sync 5 years ago
Beaudan Campbell-Brown e88aca57f2
Merge pull request #603 from sachaaaaa/Fix_secondary_nickname
[multi-device] Fix secondary nickname
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
Beaudan Brown 41fdcef695 Ensure that we can't miss the apisReady event and only listen for single emit 6 years ago
sachaaaaa dc626ec4d0 use primary device pubkey when setting nickname 6 years ago
Beaudan Brown 7e275ac266 Don't sync secondary devices and make sure initAPIs has been called before sending friend requests to synced contacts 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 cf18572049 Adding new group members; establishing sessions between non-friends 6 years ago
Maxim Shishmarev 0d19b708f9 Creating private group chats between friends 6 years ago
sachaaaaa 65361d33f5 New menu item "show pairing words" for secondary devices 6 years ago
Beaudan Brown e9dc3b531e Simplify auto accept check 6 years ago
Beaudan Brown 8ccf62ed4e Trigger endSession code if we receive a friend request from a friend 6 years ago
Beaudan Brown d97eced37b Merge branch 'clearnet' into multi-device 6 years ago
Mikunj 3ba71fad9e Linting. 6 years ago
Beaudan Brown 5e1e70ac8c Enable link previews by default 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
Beaudan Brown 39fac5fd02 Add initial add server UI skeleton 6 years ago
sachaaaaa cbee5a884c Secondary device to update device mapping to server after lokiFileServerAPI creation 6 years ago
sachaaaaa 73d90a5277
Merge pull request #537 from sachaaaaa/secondary_device_minimum_receiver
[multi-device] Start all the receivers only after the secondary registration is fini…
6 years ago
sachaaaaa cc04bee38a Start all the receivers only after the secondary registration is finished 6 years ago
sachaaaaa 5a8ab00a96 Rename pairing getters to specify secondary or primary. Add getGrantAuthForPrimary. 6 years ago
sachaaaaa b63d8ec84f Merge branch 'clearnet' into multi-device
* clearnet: (35 commits)
  yarn lint
  return early if signature is not a string
  lint pass 2
  lint pass 1
  make sure versioning on write can't get out of sync
  Update js/modules/loki_public_chat_api.js
  Handle annotations omit correctly
  fix typo CI found
  refactor
  pollOnceForMessages() move lastGot up, address Sacha's review
  Update js/modules/loki_public_chat_api.js
  address review
  address reviews
  Custom message rendering of mentions
  fix method
  separate out new/open, more lint/cleanup
  separate out note to self
  create window.mixpanel here
  use window.mixpanel, remove eventEmitter
  lint and remove unneeded params
  ...
6 years ago
sachaaaaa 7756d4f0f3 Merge branch 'clearnet' into PR_file_server
* clearnet:
  fix method
  separate out new/open, more lint/cleanup
  separate out note to self
  create window.mixpanel here
  use window.mixpanel, remove eventEmitter
  allow mixpanel to be already set up elsewhere
  Address review comments
  Add missing file in tests
  Add UI elements for searching and selecting members in a group chat
  Desktop Analytics
  Replaced value with a descriptive constant.
  Add comment to fix up confusion.
  Keep a cache of the last 5 fetched messages for public chat so we can use it to detect duplicate messages.

# Conflicts:
#	js/background.js
#	js/modules/loki_public_chat_api.js
6 years ago
Ryan Tharp 51eaa90823 use window.mixpanel, remove eventEmitter 6 years ago
sachaaaaa f8e9e1d3bd Remove rejected authorisation from database 6 years ago
sachaaaaa e07f81c150 Add LokiFileServerAPI 6 years ago
Ryan Tharp c921d3e3b3 allow mixpanel to be already set up elsewhere 6 years ago
Ryan Tharp 88b44390bf Desktop Analytics 6 years ago
sachaaaaa d3653e8665 lint after manual merge 6 years ago
sachaaaaa 0426d85e7a Merge branch 'clearnet' into multi-device
* clearnet: (136 commits)
  Fix more check on deletion.
  Only shorten pubkeys if name is present
  Shorten pubkeys in quotations too
  better guard
  pass serverId back to the server
  Bump version.
  Purge cache on failure.
  Fix unnecessary link preview fetches.
  Review changes. Increase mod time to 30 seconds.
  Undo defaultPublicChatServer change,
  Modified colour of dark mod badge
  Linting.
  Updated design
  Show crown icon for moderators
  Fix last hash all being NULL in database
  Poll for moderators, store them on the conversation and use the list to determine our own mod status
  Make sure we are always updating the last deleted id
  Update ts/components/conversation/FriendRequest.md
  Fix #355 Display timestamp for friend requests
  Fix duplicate detection for sent messages in public chat
  ...

# Conflicts:
#	app/sql.js
#	js/background.js
#	js/models/messages.js
#	js/views/app_view.js
#	libloki/crypto.js
#	libtextsecure/message_receiver.js
6 years ago
sachaaaaa 6de6b762e6 Ensure the latest contact signed prekey is used 6 years ago
Mikunj Varsani 51f161a613
Merge pull request #498 from Mikunj/mod-badges
Mod badges
6 years ago
sachaaaaa f9df221638
Merge pull request #497 from sachaaaaa/prevent_multiple_retrievers
[multi-device] Ensure API objects are inited only once
6 years ago
sachaaaaa 025ad10fc5 Ensure API objects are inited only once 6 years ago
Beaudan Brown e9a2b57d37 Show crown icon for moderators 6 years ago
Beaudan Brown 9fe613967a Fix duplicate detection for sent messages in public chat 6 years ago
sachaaaaa b10835ffc7 Share contact upon authorising secondary device 6 years ago
Ryan Tharp b3e2a5aba8 move refreshModStatus into constructor of channelAPI, just instantiate channelAPI now 6 years ago
sachaaaaa 35b6182074 Clean up after account registration failure 6 years ago
Beaudan Campbell-Brown 48b6bf54c1
Merge pull request #461 from Mikunj/qr-code
Pubkey QR code
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 ef8b515d70 Make sure we only initialise special conversations after both registration and storage load have complete 6 years ago
Mikunj 3380500a2d Added QR code viewing. 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 Brown 8d77d6fd79 All the API updates, enable mod status retrieval and allow for message 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 1f7787ecf7 Add token retrieval functions to public chat api 6 years ago
sachaaaaa 7e0217dca8
Merge pull request #439 from sachaaaaa/registration_done_secondary
[multi-device] Prevent showing inbox if secondary registration is ongoing
6 years ago
sachaaaaa 2c052a65a2 Display incoming messages in the primary device conversation 6 years ago
sachaaaaa 415ea7992c Prevent showing inbox if secondary device registration is still ongoing 6 years ago
sachaaaaa b5aee4f4be Display "Pair New Device" in menu for non-secondary devices 6 years ago
Beaudan Brown 895cedc801 Lint 6 years ago
Beaudan Brown 3f4b94ba74 Transition to initialising rss feeds in schema update 6 years ago
Ryan Tharp 48f2637ff9 lint 6 years ago
Ryan Tharp 962469a54c messenger and loki.network feeds 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 f7039080af Remove accidental swapfile, save messages with the id given to them from public 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 Campbell-Brown dd7bf1b2bb
Merge pull request #370 from msgmaxim/clipboard
Add a button to paste pubkey from clipboard if valid
6 years ago
Maxim Shishmarev cdd374a4b2 Add a toggle option for typing indicators; use short ttl for them 6 years ago
Maxim Shishmarev d0e73ed7f8 Add a button to paste pubkey from clipboard if valid 6 years ago
Beaudan df2c4af67c Run lint and check for ip or address when removing unreachable nodes 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 676cebdce4 Fix async 6 years ago
sachaaaaa 37e95cf7d2 remove unnecessary await 6 years ago
sachaaaaa c53633e367 Clearnet p2p with https (no verification yet) 6 years ago
Beaudan d12f6b6d32 Handle swarm nodes the same for us or contacts, attach our key to message api object 6 years ago
Beaudan e520bf109a Persist PoW difficulty and update if get response from snodes 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 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 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
Beaudan 796181e00c Add database functions for storing, retrieving and cleaning last hash for snodes 6 years ago
Scott Nonnenberg c8ea2e9463 Download and install updates without the help of electron-updater 6 years ago
Scott Nonnenberg b3ac1373fa Move left pane entirely to React 6 years ago
Scott Nonnenberg 782516186f Move expiring message cleanup after ConversationController.load() 6 years ago
Beaudan 14367620d9 lint 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
Mikunj 06be1da40d Added p2p message styling 6 years ago
Scott Nonnenberg ad53423e0a Queue quote reference handling per convo in handleDataMessage 6 years ago
Scott Nonnenberg 5165eb3bd4 On database error: show popup, allow user to delete and relaunch 6 years ago
Scott Nonnenberg 77ae717b9b Clean up shutdown handling - stop processing incoming messages 6 years ago
Beaudan b00a0cb699 Rename isOnline to isPing for clarity, and reduce the ttl for online broadcast messages to 1 min 6 years ago
Scott Nonnenberg 9c540ab977 Add cache support to Signal Protocol Store 6 years ago
Scott Nonnenberg 1d2c3ae23c Download attachments in separate queue from message processing 6 years ago
Mikunj 7564e270f8 Lint and code cleanup 6 years ago
Mikunj 725a41a8d7 Added link preview setting. 6 years ago
sachaaaaa f900a08eda
Merge pull request #177 from sachaaaaa/merge_1_21_0
Merge Signal 1.21.0
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
Beaudan cde7bbf3c3 Removed forceP2p as argument for the pingContact event and enforced it on the other side 6 years ago
Beaudan 69ebf017ff Reworked loki_p2p_api to not use the window object, which means it needs to be instantiated after the storage is ready so that your pubkey can be passed in to the constructor. This makes it more modular and allows for easier testing 6 years ago
Scott Nonnenberg 813924685e Link Previews 6 years ago
Mikunj 1a15ec9c15 Merge commit signal/master into signal-1.20 6 years ago
Mikunj f92e8485f8 Merge development into lint
Added gitattributes
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
Beaudan Campbell-Brown c1dfd400f5
Merge pull request #131 from Mikunj/ttl-setting
Added TTL to settings.
6 years ago
Mikunj b8aa60b95d Added loki icon. 6 years ago
Mikunj feb8af476a Refactored BlockedNumberController. 6 years ago
Scott Nonnenberg 43e5d16020 Support for web socket communication with no signaling key 6 years ago
Mikunj 924c51d5c7 Removed min and max clamping in code.
This should be done UI and Server side instead.
6 years ago
Mikunj 235dbb2176 Added display of message ttl in settings.
Fixed setting message ttl.
6 years ago
Mikunj 87113b6cc1 Added message ttl setting storage 6 years ago
Scott Nonnenberg 47f834cf5c Encrypt device name on account create, on first launch if needed 6 years ago
Mikunj 654b0dac84 Merge signal-master. 6 years ago
Mikunj 0491ceacf1 Added seed dialog.
Fixed issue where incorrect language was used to generate seed.
6 years ago
Mikunj 0b87f13699 Added password dialog view. 6 years ago
Mikunj 26ba553e6a Added menu options to set, change and remove password. 6 years ago
sachaaaaa 962c947605 Prevent "secure session reset succeeded" message from being cleaned up at startup 6 years ago
Mikunj 570a7f5bf8 Fix header not updating when editing nickname. 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
Mikunj 06f79eb3fd Allow user to set display name when registering. 6 years ago
Mikunj 62135a1810 Added a section below conversation list.
Fixed scrolling on conversations.
6 years ago
Scott Nonnenberg 313d08344a Request configuration sync on startup of new version 6 years ago
Mikunj 18d638fdbf Fix sending and receiving profile.
Don't delete profile after if we set the display name to empty.
6 years ago
Mikunj 610a305e23 Added localised strings.
Only override name when editing profile.
6 years ago
Mikunj ac4e04912c Minor language fixes. 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 6ce9d6a08c Added nickname dialog. 6 years ago
Scott Nonnenberg 79a861a870 Typing Indicators 6 years ago
Beaudan b65d6a6d2c Refactor friend request status to use a state enum variable 6 years ago
Mikunj d37b02421c Merge commit '96595a46d81b2d7361dfde213392e203b18ee279' into fix/prekey-saving 6 years ago
Mikunj 0dabce9e28 Remove preKeyBundle from message.
Always save preKeyBundles if we receive them.
Always override preKeys when saving.
6 years ago
sachaaaaa 19b6698a24
Merge pull request #53 from BeaudanBrown/read-receipts
Read receipts setting
6 years ago
Beaudan bed9ce5be2 Added read receipt checkbox to the settings window which enables or disables the sending and receiving of read receipts 6 years ago
sachaaaaa dbdd52b4eb
Merge pull request #50 from Mikunj/fix/friend-request
Friend request fixes
6 years ago
Mikunj dba6a36e83 removed old unused code. 6 years ago
Mikunj 110387508f UI fixes. 6 years ago
Mikunj a3a7f4a621 Merge commit 'ef44a123ed4ada70489d78fde16a86c60ced34a8' into feature/blocking 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
6 years ago
Mikunj a82999818a Added blocking/unblocking from friend request.
Fixed incoming messages being deleted.
6 years ago
Mikunj 8cc9b7b54b Added blocked number model and collection.
Added blocked number controller.
Hooked up BlockedNumberController loading.
6 years ago
Mikunj 34f43088ff Fix incoming messages being deleted on startup. 6 years ago
Mikunj 4148628e70 Remove any unsent messages when app is started. 6 years ago
Mikunj ece266fffd Added showing pow icon. 6 years ago
Mikunj 4d3fb17e61 Merge branch 'sig-development' into merge/signal 6 years ago
Mikunj 5e48efc935 Merge commit 'd94365f1c6dbb315f67f29b47982b5f24bd11f5f' into feature/friend-request 6 years ago