Commit Graph

252 Commits (0e2cf98d9695a374c21dd8204665e757b3354f7c)

Author SHA1 Message Date
Audric Ackermann e34ffb89fc
Merge pull request #1467 from Bilb/fix-delete-group-menu-left
Be sure to show a right click menu to delete a closed group when we already left it
4 years ago
Audric Ackermann f179694439
remove unused worker 4 years ago
Audric Ackermann cdd6fb61eb
fix previews sent on next message if they are resolved too late 4 years ago
Audric Ackermann 46fdebe3d7
Merge pull request #1459 from Bilb/improve-open-group-loading-speed
Improve open group loading speed
4 years ago
Audric Ackermann 02fb5783a4
remove regionCode and PhoneNumber.ts 4 years ago
Audric Ackermann a6cecd33e3 remove ContactDetails unused 4 years ago
Audric Ackermann 43ec14e741 Fix the password length limit when not setting a new password
Relates #1446
4 years ago
Audric Ackermann a0703bc2f9
remove primary and secondary device separate status 4 years ago
Audric Ackermann 135fc3b366
remove prekeys 4 years ago
Audric Ackermann 75b7788fa9
remove stuff related to web api 4 years ago
Audric Ackermann d43ae09eb0
first working version of closed group v2 4 years ago
Audric Ackermann 2fe6b11e89
move ConversationController to typescript 4 years ago
Audric Ackermann adf0d03d35
add test for the MessageEncrypter using Session protocol 4 years ago
Audric Ackermann cd3ec67099 add the encryptWithSessionProtocol method 4 years ago
Audric Ackermann 2bcc7be3e6
remove mp3 lame already file and webrecorder worker unused 4 years ago
Audric Ackermann 3df0a425de
remove permissions popup window and related stuff 4 years ago
Audric Ackermann 7e72566cba remove list_view.js ListView is unused 4 years ago
Audric Ackermann 6afe893359
fix up a few test 4 years ago
Audric Ackermann e1fbcade0f
move expiretimer bucket svg to ts & style them with styled-components 4 years ago
Audric Ackermann 9f0fd6fa8a
fix mentions shows display name in composition box but sends user id 4 years ago
Audric Ackermann 2ec337dd31
Add back ability to edit caption before sending attachments 4 years ago
Audric Ackermann f673589c56
add types for blueimp-load-image 4 years ago
Audric Ackermann f2074f502a
Uniformize size of accepted attachment to 10MB
Some image files can be scaled automatically, so this size is not the
same for them, they will just be scaled down
4 years ago
Audric Ackermann bb87eb0f52
fix timer expiring sometimes missing a sec 4 years ago
Audric Ackermann d218e00bd3
scale down avatars before upload to 512x512 4 years ago
Audric Ackermann 13e02b5bf1
add staged link previews for everything from signal 5 years ago
Audric Ackermann f5818817e9
remove references to old emoji-panel package 5 years ago
Audric Ackermann a7bdc93ca8
working drag and drop, but no scrolling on the conversation messages 5 years ago
Audric Ackermann 363da7aa80
add back toast on attachment adding error 5 years ago
Audric Ackermann c41eaada25
move display of message list to a subcomponent 5 years ago
Audric Ackermann 4d991d3992
Merge branch 'clearnet' into react-refactor 5 years ago
Audric Ackermann e83912e449
avatar placeholder skip first 05 for initial from pubkey 5 years ago
Audric Ackermann 1da4ae69c2
render NoteToSelf list item as a normal conversation 5 years ago
Audric Ackermann 1eb8f8e6b1
remove ConfirmationDialogView unused 5 years ago
Audric Ackermann 5f51573f53
remove unused templates 5 years ago
Audric Ackermann 3945c6b208
Merge remote-tracking branch 'upstream/clearnet' into react-refactor 5 years ago
Audric Ackermann a4397ceeb3
Merge remote-tracking branch 'upstream/clearnet' into fix-drop-message-closed-group 5 years ago
Audric Ackermann e806e912a3
move password_utils.js to typescript 5 years ago
Audric Ackermann 64dff64925
fix mentions notification displayname rather than pubkeys
* replace @pubkeys with their corresponding display name if found
* fix the display of the @ sign on the conversationListItem
5 years ago
Maxim Shishmarev cc43555cd2 Merge branch 'clearnet' into medium-group-fixes 5 years ago
Maxim Shishmarev 87144336b7 Large refactor of medium groups. Fixes them for multidevice 5 years ago
Vincent d823e2a758 safety-number-view 5 years ago
Audric Ackermann 45cdbcbb2f
handle sync of blocked contact/groups as sync events 5 years ago
Mikunj f008a8b3ef Always block the primary device instead of all devices.
Added isBlockedAsync function.
5 years ago
Mikunj 1b93a210bc Comments 5 years ago
Mikunj 8c3943094d Add tests 5 years ago
Mikunj aa75205bbd Move BlockedNumberController to ts 5 years ago
Mikunj 653efaf9cf Fixed libsignal-protocol declaration 5 years ago
Mikunj cd58e9b86e Add utils for stubbing.
Added ImportMock for easier es6 stubbing.
5 years ago
Mikunj b644e2a05f Added more types.
Finalise MessageEncrypter.
5 years ago
Audric Ackermann fa853538d0
LINT after prettier upgrade 5 years ago
Mikunj Varsani 24a3e05154
Revert "Revert "Clean up unused dependencies."" 5 years ago
Vince 5ff7476359
Revert "Clean up unused dependencies." 5 years ago
Mikunj eed0ea058c Removed other dependencies 5 years ago
Mikunj 1cadb01e8d Remove intl-tel-input 5 years ago
Mikunj d671ce0055 Remove phone number libraries 5 years ago
Mikunj a09e370e1d Added testing on pull request
Disable proxy in tests.
5 years ago
Mikunj 92c3e19865 Don't show relative timestamp. 6 years ago
Mikunj 61b862b021 Merge signal 1.24.1 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 3152f92e30 Merge signal 1.23.2
# Conflicts:
#	app/sql.js
#	js/conversation_controller.js
#	package.json
6 years ago
Mikunj 42c501e7f8 Merge v1.23.1
# Conflicts:
#	package.json
6 years ago
Mikunj 3a8111020e Merge v1.23.0
# Conflicts:
#	background.html
#	package.json
#	yarn.lock
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
Scott Nonnenberg fca40cb548 Disable keyboard shortcut for conversation archive 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
Scott Nonnenberg 0ffda78ecb Update libphonenumber dependency 6 years ago
Scott Nonnenberg 5a50786e7a Lint fixes 6 years ago
Scott Nonnenberg a450cdf528 Lint fixes for recent PRs 6 years ago
Buck Doyle 1a76f1dae3 Make manual emoji text entry case-insensitive (#2353) 6 years ago
Scott Nonnenberg eae7660074 Downgrade to electron-builder@20.39.0 due to windows install bug
https://github.com/electron-userland/electron-builder/issues/3813
6 years ago
Scott Nonnenberg c8ea2e9463 Download and install updates without the help of electron-updater 6 years ago
Scott Nonnenberg 81de5f9a76 Introduce CTRL-E shortcut for archiving a conversation 6 years ago
Scott Nonnenberg 613d0ddd12 Lint fixes 6 years ago
Scott Nonnenberg d251282da1 Upgrade electron-builder and electron-updater 6 years ago
Scott Nonnenberg 230c6dc284 Fix vertical sizing of left pane when switching inbox<->archive 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 ba461eb44a Update electron-updater to fix its handling of node_module pkging 6 years ago
Scott Nonnenberg 1c48db7df0 Update electron-builder/updater to fix build error on MacOS 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 e980e3cd22 Lint fixes 6 years ago
Scott Nonnenberg 6ffbc0ac06 Archive Conversation 6 years ago
Scott Nonnenberg ae161c6cf6 Update to Electron 4.x 6 years ago
Scott Nonnenberg d574c2a1e4 Lint fixes 6 years ago
Scott Nonnenberg ca0c0133e9 Lint fixes 6 years ago
Scott Nonnenberg e12e120355 Lint fixes 6 years ago
Scott Nonnenberg 3f8223ff48 Revert electron-builder upgrade due to bugs
This reverts commit 8a3acc6b7e
6 years ago
Scott Nonnenberg a43a78731a Note to Self 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 4d69e109b8 Lint fixes 6 years ago
Scott Nonnenberg 1533fcc807 Fail over to all numbers in retry if errors don't have numbers 6 years ago
Scott Nonnenberg 8a3acc6b7e Update electron-builder and electron-updater 6 years ago
Scott Nonnenberg 589a66c78c Lint fixes 6 years ago
Mikunj 1a15ec9c15 Merge commit signal/master into signal-1.20 6 years ago
Scott Nonnenberg 74bbdb88a5 Lint fixes 6 years ago
Scott Nonnenberg 7db7a3ad44 Preserve scroll position when adding/removing staged quote 6 years ago
Scott Nonnenberg 57abb8300f Upgrade Electron to 3.0.14 6 years ago
Scott Nonnenberg b08c10a547 FileInputView: Event on attachment change to hide/show microphone 6 years ago
Scott Nonnenberg 6eb8f5680c Preserve links with embedded emoji 6 years ago
Scott Nonnenberg f9ea7be61f Reintroduce single attachment limit 6 years ago
Scott Nonnenberg 985b1d6aa6 New staged attachments UI, multiple image attachments per message 6 years ago
Scott Nonnenberg e4babdaef0 Updates to backup infrastructure 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
Scott Nonnenberg f45f8b190d Remove unused lint exceptions 6 years ago
Scott Nonnenberg 822ea9ae53 Improve sealed sender icon display logic 6 years ago
Scott Nonnenberg 313d08344a Request configuration sync on startup of new version 6 years ago
Scott Nonnenberg 9f1f4bf441 Lint fixes 6 years ago
Scott Nonnenberg bdec2d4781 Update icon-gen for Electron v3 compatibility 6 years ago
Scott Nonnenberg fc48b91efa Lint fixes 6 years ago
Scott Nonnenberg 79a861a870 Typing Indicators 6 years ago
Scott Nonnenberg 99252702e1 Support receiving multiple images in one messages 6 years ago
Mikunj 4d3fb17e61 Merge branch 'sig-development' into merge/signal 6 years ago
Scott Nonnenberg 4610b63fb7 Lint fixes 6 years ago
Mikunj 0a88f337d5 Merge branch 'sig-development' into merge/signal 7 years ago
Scott Nonnenberg 2d48daa7b6 Refine Sealed Sender behaviors 7 years ago
Mikunj f589fdac5c Merge signal changes into branch. 7 years ago
Scott Nonnenberg fb670ad6b9 Remove IndexedDB files after removing IndexedDB database 7 years ago
Scott Nonnenberg 1755e0adfd Move all remaining stores to SQLCipher 7 years ago
Scott Nonnenberg a7d78c0e9b Sealed Sender support
https://signal.org/blog/sealed-sender/
7 years ago
Scott Nonnenberg 6656469f5f Update lint exceptions 7 years ago
sachaaaaa 9370e2b74a Merge branch 'master' of https://github.com/signalapp/Signal-Desktop into development
* 'master' of https://github.com/signalapp/Signal-Desktop: (38 commits)
  v1.17.0
  v1.17.0-beta.4
  Ensure that blue group avatars are preserved in dark theme
  Android theme: Incoming quotes take color from containing message
  Conversations have blue avatar backgrounds if no image provided
  Fix lint errors
  Add ca language
  inboxView: Ensure Conversation exists for our own number
  Ensure that file is not attached if we've filtered it
  v1.17.0-beta.3
  Localization updates
  v1.16.3
  Lint fixes
  Lint fixes
  Better handle large numbers of messages in cache on startup
  Keep object stores after conversations migrate to SQLCipher
  Longer timeout for orphaned file cleanup
  Tests and increase consistency for isFileDangerous calls
  Longer timeout for orphaned file cleanup
  v1.17.0-beta.2
  ...

# Conflicts:
#	background.html
#	package.json
7 years ago
Scott Nonnenberg 4514152320 Fix lint errors 7 years ago
Scott Nonnenberg 10bd12d622 Lint fixes 7 years ago
Scott Nonnenberg 0850dc368a Lint fixes 7 years ago
Scott Nonnenberg ca61c9cb85 Warnings for dangerous files 7 years ago
sachaaaaa 04b45f6aa1 Decrypt friend-request messages (the ones using fallback encryption). Moved logic into a new file libloki-protocol.js and concat loki code into js/libloki.js 7 years ago
Scott Nonnenberg 37822d2ef4 Update lint exceptions 7 years ago
Scott Nonnenberg 8f3e3b7aaf Update to new design for avatars: individual/group icons/colors
And two initials.
7 years ago
Scott Nonnenberg 10c53bddb0 Move to new colors, switch incoming/outgoing colors 7 years ago
Scott Nonnenberg c13b91a790 Update linter exceptions after update 7 years ago
Scott Nonnenberg ecb126e74c
Custom linter to check code quality (#2753) 7 years ago
Scott Nonnenberg 3a07e9ae73 Ensure that color mapping matches the spreadsheet 7 years ago
Scott Nonnenberg 643739f65d
Responding to feedback on the updated visuals (#2549)
* Conversation List Item: timestamp bold only when convo has unread

* Preserve the positioning of overlays on re-entry into convo

* ConversationListItem: Handle missing and broken thumbnails

* Shorten timestamp in left pane for better Android consistency

* Update convo last updated if last was expire timer change

But not if it was from a sync instead of from you or from a contact.

* Make links in quotes the same color as the text

* MediaGridItem: Update placeholder icon colors for dark theme

* Ensure turning off timer shows 'Timer set to off' in left pane

* ConversationListItem: Show unread count in blue circle

* Add one pixel margin to blue indicator for text alignment

* Ensure replies to voice message can bet sent successfully
7 years ago
Scott Nonnenberg 3c69886320 Finish new Message component, integrate into application
Also:
- New schema version 8 with video/image thumbnails, screenshots, sizes
- Upgrade messages not at current schema version when loading messages
  to show in conversation
- New MessageDetail react component
- New ConversationHeader react component
7 years ago
Scott Nonnenberg dc11db92f9 New React component: Message
Also: Use react to render contects on the 'show group members' screen
7 years ago
Scott Nonnenberg 951ae6d52c Disable inline rendering of SVG attachments
Like TIFF, they are now treated as binary files.
7 years ago
Scott Nonnenberg 2988da0981 Turn on all of Microsoft's recommend lint rules
Biggest changes forced by this: alt tags for all images, resulting in
new strings added to messages.json, and a new i18n paramter/prop added
in a plot of places.

Another change of note is that there are two new tslint.json files under
ts/test and ts/styleguide to relax our rules a bit there. This required
a change to our package.json script, as manually specifying the config
file there made it ignore our tslint.json files in subdirectories
7 years ago
Scott Nonnenberg a5416e42c4 Refactor all emoji utility methods into window.Signal.Emoji 7 years ago
Scott Nonnenberg 80b069e9b6 Move phone number format/parse into ts/types/PhoneNumber 7 years ago
Scott Nonnenberg aa13a2c6f7 Parse phone numbers into e164 as part of schema upgrade 7 years ago
Scott Nonnenberg 1fd487be3f Refactor to remove duplicated code, lint/prettier fixes 7 years ago
Scott Nonnenberg 37821e5a1b Wire up all contact behaviors, refactor Contact type/selector 7 years ago
Daniel Gasienica 87d374ea78 Remove `@prettier` pragmas 7 years ago
Daniel Gasienica 307ab0d3a5 Extract `saveURLAsFile` 7 years ago
Daniel Gasienica 8ca5a391af arrayBufferToObjectURL: Ensure `data` is `ArrayBuffer` 7 years ago
Daniel Gasienica cb94d09ef9 Rename media gallery items 7 years ago