Commit graph

769 commits

Author SHA1 Message Date
Audric Ackermann
411b343e6a add unpairing of device from settings 2020-01-21 10:32:27 +11:00
Audric Ackermann
4d950f859b add back link device in settings in a dialog 2020-01-21 10:11:50 +11:00
Vincent
d0a8b933e9 Add friends to server Session'isation 2020-01-20 15:40:24 +11:00
Vincent
010cf045cb optimisation of ternary & binary expr. 2020-01-20 14:36:46 +11:00
Vincent
e065cc404f Password set, change and remove complete 2020-01-20 14:10:28 +11:00
Vincent
35d59c75eb Password set, change and remove complete 2020-01-20 14:10:22 +11:00
Vincent
a64a34edcb Disclaimer modal and settings view cleanup 2020-01-16 14:13:46 +11:00
Audric Ackermann
ddaf62a499 add group settings page with media downladable and docs only 2020-01-16 11:27:29 +11:00
Audric Ackermann
902e678a64 fix lint 2020-01-16 11:27:29 +11:00
Audric Ackermann
c44437f62c add channel section and refactor closableOverlay 2020-01-16 11:26:25 +11:00
Audric Ackermann
94ae4127b5 add link to our privacy policy 2020-01-16 11:17:59 +11:00
Audric Ackermann
84c315449f show nb of members on group chat when members.length>0 2020-01-16 11:17:06 +11:00
Audric Ackermann
b49e85ad08 add the you have friend request title on contact section 2020-01-16 11:01:20 +11:00
Audric Ackermann
214679dece add registration errors show to user 2020-01-16 11:01:20 +11:00
Vincent
d217c76647 mergable settingsview 2020-01-15 13:49:07 +11:00
Vincent
b0658ba7ed settings toggling abstraction 2020-01-15 12:26:14 +11:00
Vincent
5360968a91 Add public server modal to message pane 2020-01-13 16:10:19 +11:00
Vincent
e7d3bc6d35 Settings view modals and categories 2020-01-08 17:21:39 +11:00
Vincent
589f77a85f Completed left panel for settings 2020-01-07 17:47:48 +11:00
Vincent
74fd0159eb Fix conflicts 2020-01-07 12:41:14 +11:00
Vincent
dff4523efa Cleanups 2020-01-07 10:32:54 +11:00
Vincent
2d01275ede QR Code responds to theme changes 2020-01-07 10:19:44 +11:00
Vincent
7b6e28eaab Keyboard navigation wrt Modals 2020-01-06 16:08:22 +11:00
Vincent
2ede557a74 Modal additions incl. QR fixup and Seed View 2020-01-06 15:46:49 +11:00
Vincent
2caffa9289 Dependencies resorted and modal adjustments 2020-01-06 09:30:29 +11:00
Audric Ackermann
c9000c3f26 add the accept/decline buttons on friend requests in conversationslist 2020-01-03 17:07:41 +11:00
Audric Ackermann
af22bd7b33 add the leftpane overlay as reusable from subsections 2020-01-03 17:07:40 +11:00
Audric Ackermann
571af6c654 add contact section bottom buttons and empty list 2020-01-03 17:07:40 +11:00
Audric Ackermann
1bbb3cedd4 render header from static method in LeftPane.tsx to be reused on subsection 2020-01-03 17:07:40 +11:00
Audric Ackermann
28a27711e1 work on compose view 2020-01-03 17:07:40 +11:00
Audric Ackermann
98be71680d add session h1 h2 and h3 2020-01-03 17:06:58 +11:00
Audric Ackermann
e3a0d15890 add showcompose on showcompose click 2020-01-03 17:06:58 +11:00
Audric Ackermann
6cc7ef4962 correct typo 2020-01-03 17:06:58 +11:00
Audric Ackermann
7ba85921b1 replace loki with session on loading screens 2020-01-03 17:06:58 +11:00
Audric Ackermann
bd3a4c5b19 addd placeholder in conversation search input 2020-01-03 17:04:53 +11:00
Audric Ackermann
225f002648 add conversations with working search on leftpanel 2020-01-03 17:03:02 +11:00
Vincent
8074756dc2 Infinte duration toasts 2020-01-03 11:48:55 +11:00
Vincent
6ee5d041fb Finishing up some modals 2019-12-30 17:38:28 +11:00
Vincent
66911d6f06 Connect to server modal semi-complete 2019-12-30 13:09:52 +11:00
Vincent
648cc2339c Working with deps 2019-12-27 17:55:28 +11:00
Vincent
659d4412bd QR code completion 2019-12-23 17:40:48 +11:00
Vincent
2419272608 Updated React dialogs to SessionModals 2019-12-23 09:44:18 +11:00
Vincent
8aac656107 Modals finished. Need to xfer all to React 2019-12-20 16:08:57 +11:00
Vincent
d0d5012e07 Fixed breaking sessionToggle issues 2019-12-18 17:48:37 +11:00
Audric Ackermann
cca4b51c8f remove showSubtitle option on registration page 2019-12-16 11:27:27 +11:00
Audric Ackermann
49d5106b56 validate form registration on enter press 2019-12-16 09:38:34 +11:00
Audric Ackermann
818cfc6dd3 make display name mandatory (remove optional string) 2019-12-16 09:38:34 +11:00
Audric Ackermann
d5b8436f4d integrate dangerouslySetInnerHTML into custom components and sanityze it before rendering 2019-12-16 09:38:34 +11:00
Audric Ackermann
d6913c4819 do not localize registration strings which cannot be easily made
begin your session
ensuring peace of mind
and terms and conditions
are all static english code because otherwise we would need to use
dangerouslySetHtml
2019-12-16 09:37:32 +11:00
Audric Ackermann
291e3b48a0 add i18n translation and use them in the app 2019-12-16 09:37:31 +11:00
Vincent
2bdc0579c3 Message deletion moderator check and toast. 2019-12-13 10:09:22 +11:00
Vincent
fc235d6057 Completed message selection 2019-12-11 17:48:54 +11:00
Ryan Tharp
c794ecea7a new add/remove moderation dialog messages 2019-12-10 00:18:01 -08:00
Ryan Tharp
549e3b4516
Merge branch 'clearnet' into multidevice-publicchat 2019-12-06 13:56:25 -08:00
Maxim Shishmarev
5123fa0409
Merge pull request #669 from msgmaxim/restoration
Prompting the user to reset session on invalid ciphertext
2019-12-05 10:06:48 +11:00
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
2019-12-04 16:07:20 +11:00
Ryan Tharp
29090ad80a add updatePublicGroupDialogTitle and strip trailing whitespace 2019-12-03 02:34:26 -08:00
vincentbavitz
2e83881373
Merge pull request #652 from vincentbavitz/public-ban
Public ban
2019-11-29 10:12:14 +11:00
Maxim Shishmarev
81bfa90943 Prompting the user to reset session on invalid ciphertext 2019-11-28 14:05:11 +11:00
Maxim Shishmarev
07c39523e9 Show appropriate message in group invitation dialog on no friends 2019-11-25 17:29:07 +11:00
Beaudan Brown
43a91ab672 Linted 2019-11-25 16:34:52 +11:00
Beaudan Brown
bee5a89f14 Show toast on user ban 2019-11-25 16:30:34 +11:00
Beaudan Brown
4581a20260 Add new string i18n stuff 2019-11-25 15:35:13 +11:00
Maxim Shishmarev
89e5e919f2 Address more review comments 2019-11-25 12:02:03 +11:00
Maxim Shishmarev
a5fce17d8c public chat invitations 2019-11-22 16:16:43 +11:00
Maxim Shishmarev
4dd314c18f Enable profile pictures 2019-11-18 17:34:41 +11:00
sachaaaaa
5e27be9598 Change auto accept message 2019-11-18 12:05:21 +11:00
Beaudan Brown
685ada5cc5 Merge branch 'clearnet' into prep-merge 2019-11-15 12:31:40 +11:00
Beaudan Brown
c168e34adf Update multi device string to match mobile 2019-11-15 11:36:15 +11:00
sachaaaaa
cd2c4b993a lint 2019-11-06 13:22:01 +11:00
sachaaaaa
497f42165a Allow unpairing device 2019-11-06 10:52:34 +11:00
Maxim Shishmarev
8677fb15a0 Select multiple messages and bulk deletion 2019-11-06 10:26:21 +11:00
sachaaaaa
13572c3524
Merge branch 'multi-device' into paired_device_alias 2019-11-06 10:08:59 +11:00
sachaaaaa
b324421534 Allow primary device to assign local aliases to paired devices 2019-11-01 16:18:30 +11:00
Maxim Shishmarev
a2f836c690 Address review comments 2019-11-01 12:00:29 +11:00
Maxim Shishmarev
7c05939f55 Add group admins and the ability to remove members from private groups 2019-11-01 12:00:29 +11:00
Maxim Shishmarev
0df5214979 Limit small private groups to 10 members 2019-11-01 12:00:29 +11:00
Maxim Shishmarev
0490e5c668 Clean up conversation options for groups 2019-11-01 12:00:29 +11:00
Maxim Shishmarev
9f81f67460 Can leave private group chats 2019-11-01 12:00:29 +11:00
Maxim Shishmarev
90f1d4a6aa Display error messages when creating/updating group chats 2019-11-01 12:00:29 +11:00
Maxim Shishmarev
cf18572049 Adding new group members; establishing sessions between non-friends 2019-11-01 11:57:49 +11:00
Maxim Shishmarev
0d19b708f9 Creating private group chats between friends 2019-11-01 11:57:49 +11:00
sachaaaaa
65361d33f5 New menu item "show pairing words" for secondary devices 2019-10-31 18:18:07 +11:00
Maxim Shishmarev
9e6f6d5a01 Fix incorrectly showing friend request as pending 2019-10-31 15:23:08 +11:00
Beaudan Brown
883feb668d The rest of my multidevice work, send messages to all the correct devices and automatic friend request if not friends with a device 2019-10-28 16:48:06 +11:00
Beaudan Brown
1b3f56dfd3 Update change nickname message 2019-10-28 13:56:09 +11:00
Beaudan Brown
08ad913105 Add explicit isSecondary flag to conversation list items so they can remain hidden in the menu after they become friends etc 2019-10-28 12:17:21 +11:00
Beaudan Brown
2f52995e18 Fix the delete messages button to not break the conversation 2019-10-25 12:06:39 +11:00
Beaudan Brown
d97eced37b Merge branch 'clearnet' into multi-device 2019-10-23 16:34:56 +11:00
Beaudan Brown
a3635216db Enable sending audio recordings 2019-10-23 15:00:14 +11:00
Beaudan Brown
49fcb50d48 Update link preview settings to be cleaner 2019-10-23 14:55:34 +11:00
Mikunj
3ba71fad9e Linting. 2019-10-23 09:31:36 +11:00
Beaudan Brown
5e1e70ac8c Enable link previews by default 2019-10-22 15:23:59 +11:00
Beaudan Campbell-Brown
c9b11814a6
Merge pull request #567 from BeaudanBrown/name-restriction
Display name restrictions 2
2019-10-22 13:35:58 +11:00
Beaudan Brown
602ec1ccaf Also block displayname characters in the edit display name menu and change spaces to underscores 2019-10-22 13:15:58 +11:00
Beaudan Brown
5d2f7ddb20 Add messages needed for UI, bit of house work 2019-10-09 14:51:12 +11:00
Beaudan Brown
39fac5fd02 Add initial add server UI skeleton 2019-10-09 14:06:57 +11:00
sachaaaaa
8ecf057386 Display list of paired device in modal 2019-09-16 18:15:43 +10:00
Beaudan Brown
870dc7f904 Fix tests, refactor menu items to please linter and lint 2019-09-04 10:58:32 +10:00
Beaudan Brown
66459ac4bd Remove most of the right click and cog menu options for the public chats 2019-09-03 17:53:19 +10:00
Mikunj
21dad58537 Linting. 2019-09-02 14:27:52 +10:00
Mikunj
3380500a2d Added QR code viewing. 2019-09-02 11:31:07 +10:00
Beaudan Brown
e4ecc5b389 A prepare for message deletion 2019-08-30 15:01:16 +10:00
Maxim Shishmarev
cdd374a4b2 Add a toggle option for typing indicators; use short ttl for them 2019-08-06 11:57:45 +10:00
Mikunj
b8ef6c2cc6 Loki changes
Added friends section in search.

This is because contacts is now used in signal for something else and we don't want to clash meanings.

Styling fixes

Add dropdown options into mainheader

Updated styling

Restore StartNewConversation to the old ui style of loki messenger.

Fix friend search display.

Fix header expand animation.

Hooked up menu actions.

Linting.

More styling changes.

Fix tests.

Added back in the loki logo below the gutter.

Fix toast positioning.

Fix context menu showing incorrectly on virtual lists.

Added tabs.

Linting
2019-04-24 13:25:20 +10:00
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
2019-04-18 12:45:19 +10:00
Mikunj
3a8111020e Merge v1.23.0
# Conflicts:
#	background.html
#	package.json
#	yarn.lock
2019-04-18 11:12:02 +10:00
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
2019-04-18 10:13:49 +10:00
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
2019-04-17 16:42:09 +10:00
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
2019-04-17 13:47:17 +10:00
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
2019-04-17 11:59:54 +10:00
Scott Nonnenberg
b31fbcaa17 Don't send if message body is too long 2019-04-16 14:35:16 -07:00
Mikunj
40ab727b12 Linting 2019-04-15 10:42:29 +10:00
Mikunj
b2ecb87462 Review fixes 2019-04-15 10:31:19 +10:00
Mikunj
c7130a3bbb Added password confirmation dialog before showing seeds. 2019-04-12 14:48:15 +10:00
Scott Nonnenberg
2beee8da09 Update strings for 45 languages 2019-04-08 14:16:09 -07:00
Scott Nonnenberg
c8ea2e9463 Download and install updates without the help of electron-updater 2019-04-05 17:18:37 -07:00
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
2019-03-14 17:30:46 -07:00
Scott Nonnenberg
42041d955c Fix typo in 'move to inbox' string 2019-03-13 09:15:03 -07:00
Scott Nonnenberg
b3ac1373fa Move left pane entirely to React 2019-03-12 17:44:14 -07:00
Scott Nonnenberg
601ad3773c Update strings for sixteen languages 2019-03-12 17:44:14 -07:00
Scott Nonnenberg
6ffbc0ac06 Archive Conversation 2019-03-12 17:44:14 -07:00
Scott Nonnenberg
ae161c6cf6 Update to Electron 4.x 2019-03-12 17:44:14 -07:00
Beaudan
14367620d9 lint 2019-03-12 11:36:32 +11:00
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 2019-03-12 11:10:50 +11:00
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 2019-03-07 17:10:33 +11:00
sachaaaaa
b39b45e29d Fix #214 Replace help menu links 2019-03-01 14:44:16 +11:00
Scott Nonnenberg
5165eb3bd4 On database error: show popup, allow user to delete and relaunch 2019-02-20 16:51:30 -08:00
Scott Nonnenberg
5ea8f73f10 Localization updates 2019-02-13 16:53:39 -08:00
Scott Nonnenberg
a43a78731a Note to Self 2019-02-12 16:08:51 -08:00
Mikunj
a1e4b740f2 Fixed up settings view.
Fix review issues.
2019-02-08 16:03:15 +11:00
Mikunj
725a41a8d7 Added link preview setting. 2019-02-08 14:58:31 +11:00
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
2019-02-06 13:53:20 +11:00
Scott Nonnenberg
8654d80973 Localization updates 2019-02-05 13:55:55 -08:00
Scott Nonnenberg
0d7480bd92 A number of small fixes for Link Previews 2019-02-05 13:55:55 -08:00
Scott Nonnenberg
425e45e17a Introduce new language: NB 2019-01-29 16:08:03 -08:00
Scott Nonnenberg
160d9f640b Large update to localization strings 2019-01-29 13:53:14 -08:00
Scott Nonnenberg
813924685e Link Previews 2019-01-29 13:53:14 -08:00
Mikunj
5ad4532779 Fixed up delete message. 2019-01-29 13:57:17 +11:00
Mikunj
ac59e1249f Added db resetting.
Use built in signal warning view.
2019-01-29 12:57:24 +11:00
Mikunj
1a15ec9c15 Merge commit signal/master into signal-1.20 2019-01-22 13:54:03 +11:00
Scott Nonnenberg
0ba25ff8d5 Multiple images can now be selected in file chooser and drag/drop 2019-01-17 10:17:10 -08:00
Scott Nonnenberg
1e4b562922 Multiple images can now be selected in file chooser and drag/drop 2019-01-16 10:32:57 -08:00
Mikunj
6bd2d3962e Linted files 2019-01-16 16:18:08 +11:00
Beaudan Campbell-Brown
c1dfd400f5
Merge pull request #131 from Mikunj/ttl-setting
Added TTL to settings.
2019-01-16 15:22:56 +11:00
Mikunj
6467b0bb45 Fix up tests. 2019-01-16 12:38:29 +11:00
Mikunj
1f10a73e4f Updated strings. 2019-01-16 11:30:09 +11:00
Scott Nonnenberg
0de54e125c Improve caption editor usability, new 'add attachment' affordance 2019-01-15 10:51:49 -08:00
Scott Nonnenberg
aab2a57b48 Some style and interaction fine-tuning 2019-01-14 17:40:31 -08:00
Mikunj
24455fc8b7 Updated TTL to use slider. 2019-01-14 12:41:25 +11:00
Mikunj
235dbb2176 Added display of message ttl in settings.
Fixed setting message ttl.
2019-01-14 09:46:31 +11:00
Scott Nonnenberg
f9ea7be61f Reintroduce single attachment limit 2019-01-04 12:25:48 -08:00
Scott Nonnenberg
985b1d6aa6 New staged attachments UI, multiple image attachments per message 2019-01-04 12:21:26 -08:00
Mikunj
654b0dac84 Merge signal-master. 2018-12-17 12:56:04 +11:00
Mikunj
f92cc6cbd4 Added menu option to view seed. 2018-12-12 11:27:47 +11:00
Mikunj
0491ceacf1 Added seed dialog.
Fixed issue where incorrect language was used to generate seed.
2018-12-12 11:27:41 +11:00
Mikunj
7d0d244e7c Added localised error messages. 2018-12-10 11:34:34 +11:00
Mikunj
9e995bde6c Review fixes.
Updated tests.
2018-12-10 11:19:20 +11:00
Mikunj
0b87f13699 Added password dialog view. 2018-12-07 15:34:16 +11:00
Mikunj
26ba553e6a Added menu options to set, change and remove password. 2018-12-07 11:43:48 +11:00
Mikunj
7a96b8446a Rename launcherView to passwordView. 2018-12-06 15:39:17 +11:00
Mikunj
6620244d03 Show main window on correct password; 2018-12-06 15:39:17 +11:00
sachaaaaa
df80249cba fix missing awaits 2018-12-06 12:10:24 +11:00
sachaaaaa
7e612700f7 Handle session reset, Loki style 2018-12-06 12:10:24 +11:00
Mikunj
85298012e4 Added generation of seed in registration. 2018-12-04 15:31:59 +11:00
Mikunj
1cb09cad2a Add header options. 2018-12-04 08:47:09 +11:00
Mikunj
610a305e23 Added localised strings.
Only override name when editing profile.
2018-11-28 12:46:56 +11:00
Mikunj
449f44cc5a Added changing user nicknames. 2018-11-28 10:31:11 +11:00
Mikunj
6ce9d6a08c Added nickname dialog. 2018-11-28 10:31:11 +11:00
Scott Nonnenberg
79a861a870 Typing Indicators 2018-11-26 15:26:04 -08:00
Scott Nonnenberg
99252702e1 Support receiving multiple images in one messages 2018-11-26 15:26:04 -08:00
sachaaaaa
19b6698a24
Merge pull request #53 from BeaudanBrown/read-receipts
Read receipts setting
2018-11-23 09:36:28 +11:00
Beaudan
bed9ce5be2 Added read receipt checkbox to the settings window which enables or disables the sending and receiving of read receipts 2018-11-22 16:49:15 +11:00
sachaaaaa
dbdd52b4eb
Merge pull request #50 from Mikunj/fix/friend-request
Friend request fixes
2018-11-22 16:06:41 +11:00
Mikunj
484efd34a3 Added friend request message expiration. 2018-11-22 13:37:22 +11:00
Mikunj
dbb92aa9c8 Added i18n messages. 2018-11-19 16:22:17 +11:00
Mikunj
ae2e2fa2ae Updated UI in conversation to support user blocking behaviour. 2018-11-16 15:31:56 +11:00
Mikunj
061b8ab2cb Added function to help friend request notifications 2018-11-15 11:46:38 +11:00
Mikunj
4d08a74d53 Updated FriendRequest to be more consistent with the other typescript components. 2018-11-13 13:46:53 +11:00
Mikunj
a80d6bb868 Merged branch correctly. 2018-11-13 13:41:21 +11:00
Mikunj
0a23888875 Fix up friend request message layout 2018-11-12 12:17:47 +11:00
Mikunj
0a88f337d5 Merge branch 'sig-development' into merge/signal 2018-11-12 10:06:34 +11:00
Mikunj
9dc19044b9 Handle the case where the user is sending a friend request.
Fix up styling for outgoing message.
2018-11-09 14:42:14 +11:00
Mikunj
08ca779fe1 Fixed up friend request message display 2018-11-09 14:27:49 +11:00
Scott Nonnenberg
a2202d7d8c Update localization strings 2018-11-07 16:36:05 -08:00
Mikunj
f589fdac5c Merge signal changes into branch. 2018-11-07 15:26:37 +11:00
Scott Nonnenberg
527b884eb4 Update localization strings 2018-11-01 17:00:24 -07:00
Scott Nonnenberg
1755e0adfd Move all remaining stores to SQLCipher 2018-10-31 17:36:51 -07:00
sachaaaaa
4b9fcb98d4 Linting and other housekeeping stuff 2018-11-01 11:10:30 +11:00
Scott Nonnenberg
a7d78c0e9b Sealed Sender support
https://signal.org/blog/sealed-sender/
2018-10-29 14:49:18 -07:00
sachaaaaa
143b1e883d
Merge pull request #17 from sachaaaaa/lock_input_friend_request
Lock input after friend request is sent
2018-10-25 10:47:38 +11:00
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
2018-10-23 13:32:08 +11:00
sachaaaaa
5602f4bfff Change placeholder in discussion 2018-10-18 15:09:02 +11:00
Scott Nonnenberg
afa7f4b084 Add ca language 2018-10-17 17:30:18 -07:00
Scott Nonnenberg
14651a39bd Localization updates 2018-10-15 17:32:32 -07:00
Scott Nonnenberg
ca61c9cb85 Warnings for dangerous files 2018-10-09 13:48:32 -07:00
sachaaaaa
33ad509fbf Merge branch 'master' of https://github.com/signalapp/Signal-Desktop into development
# Conflicts:
#	_locales/ar/messages.json
#	_locales/es_419/messages.json
#	_locales/he/messages.json
#	_locales/hi/messages.json
#	_locales/hr/messages.json
#	_locales/kn/messages.json
#	_locales/ko/messages.json
#	_locales/mk/messages.json
#	_locales/sr/messages.json
#	_locales/uk/messages.json
#	_locales/vi/messages.json
#	package.json
2018-10-01 09:46:42 +10:00
Scott Nonnenberg
979afad47a Localization string updates 2018-09-20 15:34:59 -07:00
Scott Nonnenberg
9c399624cc Support for blocking groups on mobile, via group/blocked syncs 2018-09-14 16:25:43 -07:00
Scott Nonnenberg
46dac94ab8 Pop toast on attempted attach if image attachment is too large 2018-09-05 17:48:43 -07:00
Scott Nonnenberg
8290146721 Show generic attachment for non-loading/too-large images/videos 2018-09-05 17:48:43 -07:00
Scott Nonnenberg
0d6c3c0bce Introduce new languages to the product 2018-09-05 14:17:38 -07:00
Scott Nonnenberg
efefb7a488 Update localization strings 2018-09-05 14:17:38 -07:00
sachaaaaa
015ef5b399 More rebranding 2018-08-22 10:30:25 +10:00
Scott Nonnenberg
ffd40d41fe Update strings for 'fa' language 2018-08-16 16:55:55 -07:00
Scott Nonnenberg
b3d56276a8 Conversations now better take advantage of wide screens 2018-08-15 17:00:32 -07:00
Scott Nonnenberg
fedfbed304 Copy quoted message contents into quote on receipt
Also:
  - visually distinguish any reference we couldn't verify on receipt
  - show toast on quote click if we can't scroll to message
  - toast visuals redesigned to match rest of app
2018-08-15 14:58:55 -07:00
Scott Nonnenberg
1d7987108b Show and log progress during the SQLCipher migration 2018-08-02 17:25:51 -07:00
Scott Nonnenberg
3b7ee3e2ce A couple copy changes: Show -> View, New Number -> Safety Number 2018-08-01 11:59:49 -07:00
Scott Nonnenberg
3e62b82774 Update localization strings 2018-07-31 17:09:10 -07:00
Scott Nonnenberg
e80857562a Disappearing messages: show 'disabled' instead of 'set to off' 2018-07-27 09:15:57 -07:00
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
2018-07-20 16:37:57 -07:00
Scott Nonnenberg
60d56cf7e0
Localization strings update (#2550) 2018-07-20 16:30:56 -07:00
Scott Nonnenberg
2ef2235317 Show error if debug log upload fails 2018-07-19 10:21:53 -07:00
Scott Nonnenberg
c517e4193b New option: Disable spell check 2018-07-18 19:41:16 -07:00
Scott Nonnenberg
61bb038207 Update localization strings 2018-07-18 10:47:58 -07:00
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
2018-07-17 15:58:07 -07:00
Scott Nonnenberg
69f11c4a7b Include _locales/en/messages.json in prettier formatting 2018-07-17 15:53:32 -07:00
Scott Nonnenberg
dc11db92f9 New React component: Message
Also: Use react to render contects on the 'show group members' screen
2018-07-17 15:53:33 -07:00
Scott Nonnenberg
fc5c52fbdf Remove iOS theme in favor of plain light/dark themes 2018-07-17 15:45:40 -07:00
Scott Nonnenberg
9003419ff6 Update strings for quite a few languages 2018-07-12 11:32:00 -07:00
Scott Nonnenberg
ad4387803b New media permission, show dialog when not enabled for voice msg
UI now in separate renderer:
  - the permissions popup
  - settings dialog
  - debug log dialog
  - about window

Couple bug fixes:
  - About Window: Fix 'escape' to close window
  - Remove outdated dist/copy tasks from Gruntfile

Eslintified settings_view.js
2018-07-03 16:04:21 -07:00
Scott Nonnenberg
9d9a797bda Handle timer updates along with group updates 2018-07-03 16:04:21 -07:00
Scott Nonnenberg
4415293100 Make all OS menus localizable
Turns out that Electron is not localizing the 'role' elements like we
expected would happen.
2018-07-03 16:04:21 -07:00
Scott Nonnenberg
1f02d411a1 Add missing timer option strings 2018-07-03 15:10:00 -07:00
Scott Nonnenberg
9ef7c42097 Add link to terms and privacy policy in about window 2018-06-21 15:38:11 -07:00
Scott Nonnenberg
d29f50c396
Update fr/tr strings (#2479) 2018-06-21 12:03:06 -07:00
Scott Nonnenberg
01be58acc2 Remove formatting in importError localization string 2018-05-23 16:26:48 -07:00
Scott Nonnenberg
ab00c71c46 Remove unused messages.json strings 2018-05-23 16:26:47 -07:00
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
2018-05-23 16:26:47 -07:00
Scott Nonnenberg
d54aedcefa
A few fixes for the contact detail screen (#2374)
* Only show 'send message' on contact detail when user has account

* Make contact detail headers visible in dark mode

* Fix vertical scrolling for very large contact in detail pane

* Fix a couple comment typos
2018-05-23 12:15:46 -07:00
Scott Nonnenberg
eafa038ba4 Use backup labels if custom contact type labels are missing 2018-05-10 11:54:58 -07:00
Daniel Gasienica
3bf8a8966a Notification improvements
- Remove on read, on focus, and on exit.
- Show multi-message notifications like '5 new messages'.
2018-05-10 14:45:56 -04:00
Scott Nonnenberg
41be7f126b Visuals for embedded contacts as well as contact detail screen 2018-05-07 19:09:55 -07:00
Scott Nonnenberg
b41cf47df6
Update translations for week of 5/7 (#2352) 2018-05-07 19:04:25 -07:00
Daniel Gasienica
e167958135 Remove unused messageCaption 2018-05-02 18:11:13 -04:00
Scott Nonnenberg
2aa7955a65 Update translations for week of 5/1 2018-05-02 09:29:36 -07:00
Scott Nonnenberg
82e2fe93a5
Show 'You' in Android theme quotes instead of contact name (#2312)
Show 'You' in Android theme quotes instead of contact name
2018-04-30 13:49:19 -07:00
Scott Nonnenberg
c5935eef5d Show 'You' in Android theme quotes instead of contact name 2018-04-30 12:33:16 -07:00
Daniel Gasienica
fa45656e8e Wire up media gallery empty state 2018-04-27 16:31:43 -04:00
Daniel Gasienica
9858e0e680 Fix translation description 2018-04-25 15:24:51 -04:00
Daniel Gasienica
a86a596f34 Add translations for section headers in media gallery 2018-04-25 15:24:51 -04:00
Daniel Gasienica
273248d3fd Wire up ‘View All Media’ menu item 2018-04-25 15:24:50 -04:00
Scott Nonnenberg
7d11efc50b ConversationView: Add 'View All Media' menu item 2018-04-25 15:24:50 -04:00
Scott Nonnenberg
ef1d568a80
Restore rendering of group update and end session messages
The previous work to refactor bubbles broke rendering for these message
types. :0/
2018-04-23 19:16:00 -07:00
Scott Nonnenberg
12257e1560
MessageView: Show menu w/ 'reply to message' on triple-dot click 2018-04-20 15:23:55 -07:00
Scott Nonnenberg
73e1498403
messages.json: Fix typo in replacement string 2018-04-16 12:16:11 -07:00
Scott Nonnenberg
087dd0f758
Support for iOS theme 2018-04-13 18:10:49 -07:00
Scott Nonnenberg
21bf02c94d
Fixed examples in Quote.md, rough Android visuals 2018-04-13 18:05:44 -07:00
Daniel Gasienica
add19aa732 Add initialization view 2018-03-26 16:56:37 -04:00
Scott Nonnenberg
383e02edc4
New section in settings screen, full-screen 'are you sure?' 2018-03-14 14:42:13 -07:00
Daniel Gasienica
1e2cd3ae1f Rename ‘File a Bug’ to ‘Report an Issue’
This makes it more consistent with ‘Report an issue’ under View > Debug Log.

Not using ellipsis as menu item doesn’t require user confirmation:
https://stackoverflow.com/a/637708
2018-03-08 16:21:27 -05:00
Daniel Gasienica
bd5f3bd73a Make dialog title consistent with menu bar item 2018-03-08 16:21:27 -05:00
Daniel Gasienica
3df22026ab UX Improvements: Global Menu & Copy Changes (#2078)
- [x] Removed ‘Restart Signal’ global menu item
- [x] Change _Click to create contact…_ to _Start conversation…_
- [x] Move global menu (top-left kebab) into OS menu bar,
      i.e. **Settings** > **Preferences…**
- [x] Add tests for OS menu bar templates
- [x] Fix bug with **Window** menu on macOS when showing setup options
- [x] Use _Title Case_ for all OS menu bar menu items for consistency

commit dedf7c9af0de90980388559659df0d92a77b864c
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 16:53:42 2018 -0500

    Use ‘Title Case’ to be consistent with OS menus

    References:
    - Apple:
        - https://developer.apple.com/macos/human-interface-guidelines/menus/menu-anatomy/#menu-and-menu-item-titles
        - https://developer.apple.com/library/content/documentation/FinalCutProX/Conceptual/FxPlugHIG/TextStyleGuidelines/TextStyleGuidelines.html#//apple_ref/doc/uid/TP40013782-CH6-SW1
    - https://titlecaseconverter.com/

commit 3286da29b334bd4526c587b17707c2f230cec8f5
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 16:36:50 2018 -0500

    Fix bug for macOS ‘Window’ menu with setup options

commit 236a23d1eafe2a16073394a27b9013298b682a25
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 16:27:46 2018 -0500

    Test menus with included setup options

commit c5d5f5abb8d7f52d6a4aa182a86c92f7ddceade0
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 16:10:27 2018 -0500

    Move settings (‘Preferences’) into OS-level menu

    This reduces our reliance on custom UI until we have more design resources.

commit 027803f8f4983cffa443f0beff1854dcf541689b
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 16:02:56 2018 -0500

    Prepare tests for menu with/without included setup

commit 9e2f006924b85eb249a8a1261c1c4dd1a706afa6
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 15:55:46 2018 -0500

    Destructure `includeSetup`

commit 6b2a1eccdf724fd722e58415d2700da73942d9e8
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 15:55:14 2018 -0500

    🔤 `createTemplate` `options`

commit c2fecba34b153fed106f414ed3347d46299f6fe5
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 12:49:55 2018 -0500

    Test menu for Windows and Linux

commit 60281b1af9ad1f022cdbc40711ebd0b688a7355d
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 12:40:39 2018 -0500

    Add `yarn run test-app` command

commit 1a0489919c0a97b03fe88196260fef894fb3d9e4
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 12:40:29 2018 -0500

    Add test for `SignalMenu.createTemplate` on macOS

commit 9638b86c0f00f231e44562a5aa01626f0e5fdd8b
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 12:34:46 2018 -0500

    Make `createTemplate` pure

    Extracting `options.platform` makes it easier to test without having to
    stub `process.platform`.

commit 9c26404892d7c9a7bd0199a9e8367a165a3b365c
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 11:47:39 2018 -0500

    Extract `locale.load` `appLocale` & `logger` for testability

    This allows us to run this code in a non-Electron environment, e.g. Node.js
    Mocha test suite.

commit 710b22438df25c8d5e8431845a035c55ec8fc0b7
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 11:46:13 2018 -0500

    🔤 npm scripts

commit 9ae22937fbce078f91443023b560b3c0468c1380
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 11:45:30 2018 -0500

    Use 2-space indendation for `app` module tests

commit 22c26baf6159bd2e1f5a787c10e2260f09395329
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 11:22:55 2018 -0500

    Prefer named exports

commit 9c9526195266ac77ac2ca04135a1e675f617dfd2
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 11:22:46 2018 -0500

    🔤 Organize `require`s

commit 2f144d24d9e9a9ef72fe418996e3c911b304b00a
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Tue Feb 27 11:13:50 2018 -0500

    Remove existing global hamburger menu

    This will be replaced by a OS-level ‘Preferences’ menu.

commit f5adb374cb742e5f319ececda8ab6d8adee88d7e
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Mon Feb 26 18:40:54 2018 -0500

    Remove ‘Restart Signal’ menu from settings

    Apparently, this is a remnant from the Chrome web application.

commit d7a206bc8e67ef44022085e804ca040ed1b219f7
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Mon Feb 26 17:16:49 2018 -0500

    Clarify label for starting a new conversation

    When user a enters a number that is not a contact, we prompt them to start a new
    conversation.

commit 715a4064367fb61d85c1a4f9d48261b2ce002435
Author: Daniel Gasienica <daniel@gasienica.ch>
Date:   Mon Feb 26 16:46:26 2018 -0500

    Use ‘Enter name or number’ as prompt’

    This follows implementation of Android and recommendation from Alissa.
2018-03-02 15:59:39 -05:00
Scott Nonnenberg
426dab85a2
New design for import/install, 'light' import (#2053)
- A new design for the import flow. It features:
  - Icons at the top of every screen
  - Gray background, blue buttons, thinner text
  - Simpler copy
- A new design for the install flow. It features:
  - Immediate entry into the QR code screen
  - Animated dots to show that we're loading the QR code from the server
  - Fewer screens: 1) QR 2) device name 3) sync-in-progress
- When not set up, the app opens directly into the install screen, which has been streamlined. The `--import` command-line argument will cause the app to open directly into the import flow.
- Support for two different flavors of builds - the normal build will open into the standard registration flow, and the import flavor will be exactly the same except during setup it will open directly into the import flow.
- A new design for the (dev-only) standalone registration view
- When these install sequences are active, the OS File menu has entries to allow you to switch the method of setup you'd like to use. These go away as soon as the first step is taken in any of these flows.
- The device name (chosen on initial setup) is now shown in the settings panel
- At the end of a light import, we hand off to the normal device link screen, starting at the QR code. On a full import, we remove the sensitive encryption information in the export to prevent conflicts on multiple imports.
- `Whisper.Backup.exportToDirectory()` takes an options object so you can tell it to do a light export.
- `Whisper.Backup.importFromDirectory()` takes an options object so you can force it to load only the light components found on disk. It also returns an object so you can tell whether a given import was a full import or light import.
- On start of import, we build a list of all the ids present in the messages, conversations, and groups stores in IndexedDB. This can take some time if a lot of data is in the database already, but it makes the subsequent deduplicated import very fast.
- Disappearing messages are now excluded when exporting
- Remove some TODOs in the tests
2018-02-22 10:40:32 -08:00
Steven Leiva
742fe73d34 'Restart' -> 'Restart Signal' button in update dialog (#2024) 2018-02-01 11:35:15 -08:00
Scott Nonnenberg
7b49180bc0
Big update to new signal branding (#2018) 2018-01-30 14:22:51 -08:00
Scott Nonnenberg
72b7e4ec34
Process expireTimer and block status along with contact/group sync (#1980)
* Mark group as left = false if it is active in contact sync

* Handle expireTimer + blocked state along with contact/group sync
2018-01-29 18:14:39 -08:00
Scott Nonnenberg
98d3a5e607
Update strings for just about all supported languages (#1921) 2018-01-04 16:28:53 -08:00
Martino Pilia
cd50fe3123 Add a tray icon to the application (#1676)
This commit adds a tray icon to the application, shown in the system
tray bar, that can be used to minimise the application window.  This
is a common feature on most desktop messaging apps (e.g. Telegram
Desktop or Slack) and allows to save space in the system task bar.

The tray icon provides a context menu that contains a button to
show/hide the application window, and a button to quit the
application. When the tray icon is clicked, the visibility of the
window is toggled.  When the close (x) button of the window is
pressed, the application is not terminated but minimised to the tray
icon instead (it can be terminated by using the "Quit" entry in the
File menu or in the context menu of the tray icon).

The tray icon is disabled by default, and two command line arguments
are available to enable it:
  --use-tray-icon: enables the tray icon
  --start-in-tray: enables the tray icon and the application starts
                   minimised in the tray bar

Resolves: #1480
2017-11-27 14:48:09 -08:00
Scott Nonnenberg
0a4f984cf5
Properly localize group changes (#1802)
* Properly localize group updates

* Remove phone number in display name if contact in address book

* New string for multiple new group members
2017-11-21 16:38:13 -08:00
Scott Nonnenberg
f07302c2cd
Add some copy clarifying the import process (#1803) 2017-11-21 14:51:58 -08:00
Scott Nonnenberg
259862ec2e
Update strings for quite a few languages (#1733)
de, el, es, es_419, fa, hi, it, no, pt_PT, ro, ru, sl, and zh_TW
2017-11-08 15:05:59 -08:00
Vangelis
c0c4730bad Added top level menu shortcuts, pull labels from messages.json (#1702)
* Added top level menu shortcuts (Fixes #1688 and #1695).

The ampersand (&) character in front of a letter in a menu label
indicates that the letter that follows '&' will be used as a keyboard
shortcut letter to access this menu. In Windows/Linux, the default
shortcut combination is Alt+<letter>.

* Use non-hardcoded menu labels.

The menu labels were hardcoded in English.
We should not be using plain strings right in the source code, but
pulling them from the `messages.json` files instead.
2017-11-07 15:14:20 -08:00
Scott Nonnenberg
845291c51e
Wait for IndexedDB transactions to complete for import scale (#1698)
* No longer reference 'Chrome App' on the start screen

* Imports are only complete when IndexedDB transaction is complete
2017-11-07 10:19:18 -08:00
Heather Booker
0d3c70151d Fix copy pasta of timestamp_m to timestamp_h in locales (#1582) 2017-10-20 15:51:28 -07:00
Scott Nonnenberg
75cece3358 Improve OS menu (#1563)
* Remove reload options, new file/help menus, tools/log at bottom

* Further menus refactor: install handlers at template creation

* WIP: Further tune menus, add custom about window

* New About window, new help menu items, menu labels now i18n

* Default device name on registration is now computer hostname

The OS of the device makes sense for those of us testing across a lot of
different OSes. And maybe for a user with just one desktop device. But
most users with multiple desktop devices are using the same OS for both.

* About window: Only show window when content is ready

* Fix typo in app/menu.js
2017-10-13 16:49:16 -07:00
Axel
3dc3667b45 Add setting to hide menu bar (#1551)
* Add setting to hide menu bar

Add a setting in the themes section to hide the menu bar.
The menu bar is not needed in everyday use and might not fit in with
signals dark theme. The hidden menu bar can still be shown by pressing
alt.
autoHideMenuBar is added to windowConfig and saved and restored on
startup to prevent flickering.

* Trigger events only when related setting changes

Set the event to trigger on instanciation of the view.
Notification settings no longer reapply the theme or menu bar settings.

* Save window state when closing the window

When not moving or resizing the window, no BrowserWindow config would be
created and saved.
2017-10-13 11:39:18 -07:00
Lilia
24f3763836 i18n group updates (#1549)
// FREEBIE
2017-10-10 08:49:12 -07:00
Scott Nonnenberg
8b60212c12 Update strings for fa, no, pt_BR, pt_PT, ro, zh_CN, zh_TW (#1517)
Also, remove unneeded (and potentially brittle) title from support link
in importError string.

FREEBIE
2017-09-28 17:44:41 -07:00
Lilia
fe4738a6e8
Transifex config specific to electron, updated translations (#1478)
* Add transifex config to git

So we can pull different translation resources from different branches.

// FREEBIE

* Pull the electron strings from transifex

* Update translations
2017-09-14 17:48:09 -07:00
Scott Nonnenberg
0416d2162c
Tune the import error message: suggest re-export, debug log link
FREEBIE
2017-09-14 17:03:16 -07:00
Scott Nonnenberg
7f8ade7747
Remove migration-related functionality, leaving export stuff
FREEBIE
2017-09-14 17:03:14 -07:00
Scott Nonnenberg
413fba80af
Separate dir selection from import, better import button text
This allows us to show the 'import in progress' screen only when the
user has successfully selected a directory.

FREEBIE
2017-09-14 17:02:46 -07:00
Scott Nonnenberg
ba347744ff
Import: choice on first startup, workflow, ported to Node.js fs API
FREEBIE
2017-09-14 17:02:43 -07:00
David Balatero
9a7f4ae41c
Show dialog box when there's an update for download 2017-09-14 16:53:50 -07:00
lilia
2528acc717
Remove platform-specific links from install flow
Mostly to satisfy the mac app store.

// FREEBIE
2017-09-14 16:53:43 -07:00
Scott Nonnenberg
c71b7d7f27
Update localized strings
FREEBIE
2017-09-14 16:34:13 -07:00
Scott Nonnenberg
00e1a6a36a Export: Improve usability - timing expectations, install button (#1474)
Because export might take a couple minutes, we now set expectations
that it might take 'several minutes' instead of just 'please wait.'

We also promote 'Install new Signal Desktop' from a text link in the
instructions to a button. This is important on the 'Completed' screen
because it is bigger and to the left of the 'Export Again' button, which
previously drew primary focus on that screen.

Lastly, we also remove the title-specific element of the support link,
so we're resilient to title changes in the future.

FREEBIE
2017-09-13 13:33:40 -07:00
lilia
8caecd50cd Update swedish translations
// FREEBIE
2017-09-04 12:39:32 +02:00
lilia
8dca9c9b8f Update translations
Fixes #1427

// FREEBIE
2017-09-04 12:24:28 +02:00
Scott Nonnenberg
e16d80d9a2 Update a large number of strings via transifex (#1403)
FREEBIE
2017-08-30 09:31:03 -07:00
Scott Nonnenberg
763970b0c5
String updates for es, fi, it, ja, pt_PT, ru and sv
FREEBIE
2017-08-28 14:21:40 -07:00
Scott Nonnenberg
c0cd733139 Full export, migration banner, and full migration workflow - behind flag (#1342)
* Add support for backup and restore

This first pass works for all stores except messages, pending some scaling
improvements.

// FREEBIE

* Import of messages and attachments

Properly sanitize filenames. Logging information that will help with
debugging but won't threaten privacy (no contact or group names),
where the on-disk directories have this information to make things
human-readable

FREEBIE

* First fully operational single-action export and import!

FREEBIE

* Add migration export flow

A banner alert leads to a blocking ui for the migration. We close the socket and
wait for incoming messages to drain before starting the export.

FREEBIE

* A number of updates for the export flow

1. We don't immediately pop the directory selection dialog box, instead
  showing an explicit 'choose directory' button after explaining what is
  about to happen
2. We show a 'submit debug log' button on most steps of the process
3. We handle export errors and encourage the user to double-check their
  filesystem then submit their log
4. We are resilient to restarts during the process
5. We handle the user cancelling out of the directory selection dialog
  differently from other errors.
6. The export process is now serialized: non-messages, then messages.
7. After successful export, show where the data is on disk

FREEBUE

* Put migration behind a flag

FREEBIE

* Shut down websocket before proceeding with export

FREEBIE

* Add MigrationView to test/index.html to fix test

FREEBIE

* Remove 'Submit Debug Log' button when the export process is complete

FREEBIE

* Create a 'Signal Export' directory below user-chosen dir

This cleans things up a bit so we don't litter the user's target
directory with lots of stuff.

FREEBIE

* Clarify MessageReceiver.drain() method comments

FREEBIE

* A couple updates for clarity - event names, else handling

Also the removal of wait(), which wasn't used anywhere.

FREEBIE

* A number of wording updates for the export flow

FREEBIE

* Export complete: put dir on its own line, make text selectable

FREEBIE
2017-08-28 13:06:10 -07:00
Scott Nonnenberg
1b3024a5ea
Run 'locale-patch' Grunt task on recent string additions
FREEBIE
2017-08-17 10:11:19 -07:00
Scott Nonnenberg
eb348faa38
Update spanish, italian, and romanian strings
FREEBIE
2017-08-17 08:55:14 -07:00
Scott Nonnenberg
b2690afa32 Clarify someRecipientsFailed string via description
FREEBIE
2017-08-08 11:22:41 -07:00
Scott Nonnenberg
305bd6b3b8 App loading screen: show messages processed so far
Also, show the same loading screen on index.js before we've bootstrapped
the app.

FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
14765599f3 Delete individual message
FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
782b8c7640 someRecipientsFailed string: Add period for consistency
... with messageNotSent.

FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
08ecb5f3d2 Improve wording on the 'SN changed' popup after verification
FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
8112cd220a Show warning when we discover key change on verify
FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
86b1aafe0c "Clear verification" -> "Mark as not verified"
We lose consistency with iOS, but it is more consisent with the other
phrasing used throughout the app.

FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
ff4fde651c Make it clear in conversation just some recipients failed
FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
12914307f1 Improve experience when discovering identity key error on send
New experience in the Message Detail view when outgoing identity key
errors happen, matching the Android View.

'View' button is only shown on outgoing key errors right now.

When a contact with an outgoing identity key error is clicked, they are
taken to a view like the popup that comes up on Android: an explanation
of what happened and three options: 'Show Safety Number', 'Send Anyway',
and 'Cancel'

Contacts are now sorted alphabetically, with the set of contacts with
errors coming before the rest.

FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
b6cca41a0c Update verification-related strings to better match mobile app
FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
1e8ae774a2 Differentiate between local and remote trust decisions
FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
2778148179 Move unverified banner text to match Android
Longer, so it will wrap more often. We have the right alignment and
padding in place, though, so it looks pretty reasonable.

FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
12d7fb3b74 Left-align confirmation dialog text, explain more on 'send anyway'
FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
16433d661a Show call to action on group member list when verifying
FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
31bf05e14a Add verified state summary to top of safety number screen
FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
1cf9289b1a Add items to conversation history when user verifies/unverifies
FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
02973372aa Update strings to use 'Click to show' not 'Click to verify'
'Click to verify' suggests immediate action. We don't want that.

FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
a827334c3e Allow re-send of messages in msg detail view on OutgoingKeyError
We also show more errors than we used to in the MessageDetail screen
to help make it clear what is happening, and why the user would need to
re-send.

FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
8264f3ba33 Make the term 'Verified' fully localizable
FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
3d61f87d86 Remove isVerified string from messages.json - don't use
We don't need this extra string for the safety number screen, since the
header includes the user's verified status.

FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
c7e385eb38 Remove 'safety number approval' option from settings dialog
Also sync templates in test/index.html and background.html

FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
243cbd8123 Confirmaton on send, banner when 'unverified'
Not yet using the new APIs, but ready to. Still to do:
- Send sync messages on trust decisions
- Respond to received trust decision sync messages
- Show trust decisions in the conversation history
- In that rare situation where a sent message ends up with a key error
  make it easy to retry the send.

FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
bedf10056b Support for group-member verifications via second-level panel
Also:
- All the necessary wire-up to update things in real time. If you have
a safety number page up via a group member view as well as via a 1:1
conversation with that contact, they'll both be updated as the
underlying model changes. Similarly, the overall group will update
in real-time as members change.
- A bit of special-casing for yourself in a group conversation - you're
shown as 'me' and are not clickable, where normally that would take you
to the Safety Number screen for that contact. You are also not included
in the trust calculations for a given group.

FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
ae3587f05e Move all instances of 'verify identity' to 'show identity'
As discussed in standup this morning - only the act of verifying or a
statement about current status should use that word 'verify.'

FREEBIE
2017-08-04 12:03:25 -07:00
Scott Nonnenberg
ee0b0f5ffb Remove all concept of 'key conflict' from the app 2017-08-04 12:03:25 -07:00
lilia
834faf3e39 Update translations
// FREEBIE
2017-06-20 18:41:10 -07:00
Ikarulus
ec3278ca3a add message length warning for android clients 2017-06-07 15:53:14 -07:00
lilia
54d14dde31 Update translations
// FREEBIE
2017-05-25 16:52:22 -07:00
Scott Nonnenberg
d294cc96a5 A few tweaks to safety number-related UI
* Show a pointer cursor on safety number change notification
* Add 'click to verify' to the text shown there
* Add ':' to the text shown on the safety number screen
* Limit the width of the safety number box, to force 3x4 layout
* Center the safety number box

FREEBIE
2017-05-23 15:50:22 -07:00
lilia
681418cf6b Restyle last seen indicator
Add horizontal line behind text.

// FREEBIE
2017-05-23 11:08:23 -07:00
Scott Nonnenberg
4c7bfbe9ff Scroll down button: when scrolled up, or new non-visible message
FREEBIE
2017-05-23 11:08:23 -07:00
Scott Nonnenberg
fed26c36ca Add new Last Seen Indicator with unread count, scroll to it
This is to ensure that when there are a lot of unread messages, the user
is given the chance to see all of them by being scrolled to the oldest
new message.

When a new message comes in, the indicator will be incremented.

When the user sends a message or switches away from the conversation,
the last seen indicator will be removed.

FREEBIE
2017-05-23 11:08:23 -07:00
lilia
bec69826ae Add descriptions to i18n messages about network status
A transifx translator requested some clarity around one of these strings, so
I've added brief descriptions for each of them.

// FREEBIE
2017-05-22 12:16:25 -07:00
lilia
693aff2b27 Update translations 2017-05-22 10:19:48 -07:00
lilia
6102289b0f Update translations 2017-05-17 12:37:33 -07:00
lilia
517400699a Update translations
// FREEBIE
2017-05-16 12:14:42 -07:00
lilia
cfe0c77243 Conversation view blocks sending to left groups
Instead of attempting to send, which will throw an 'Unknown group' exception,
show a toast.

// FREEBIE
2017-05-16 12:10:29 -07:00
lilia
3ea5c0435b Update attachment style
Add names and sizes for all attachments except images, and (as with
arbitrary attachments), clicking on the text will open a save dialog.
In the absence of a filename, choose something that makes sense.

Display different icons for different media types, including distinct icons
for voice notes and audio files.

In iOS theme, audio, video, voice, and files are all encapsulated in bubbles.

Closes #804
Closes #842
Closes #836

// FREEBIE
2017-05-12 15:27:45 -07:00
lilia
5b1f817f6e Update translations
// FREEBIE
2017-05-02 13:53:29 -07:00
lilia
00f626a02a Update translations
// FREEBIE
2017-05-01 10:40:32 -07:00
lilia
38973cbc5c Update translations 2017-04-15 23:51:10 -07:00
lilia
d3492960a6 Display info in network status when unlinked
When we can't connect due to being unlinked, network status indicator
will show an appropriate informational message and a button to open the
installer window to relink.

// FREEBIE
2017-04-12 20:43:16 -07:00
Sam Vevang
ed4991974b set up a new view for displaying the network status
// FREEBIE
2017-04-08 00:10:56 -07:00
lilia
be65cd1cd7 Update translations
// FREEBIE
2017-04-07 19:35:25 -07:00
lilia
1beea04f06 Update translations
// FREEBIE
2017-03-30 15:12:11 -07:00
lilia
9949d0d269 Update translations 2017-03-10 16:09:58 -08:00
lilia
51e77b37bd Update translations
// FREEBIE
2017-03-04 17:57:47 -08:00
lilia
c680be5db7 Update translations 2017-03-02 15:00:45 -08:00
lilia
8f17b98fde Update translations 2017-02-28 12:06:03 -08:00
lilia
cda22880a0 Update translations 2017-02-16 18:30:26 -08:00
lilia
04d04962a7 Update translations 2017-02-09 15:27:14 -08:00
karissa
eb5c95e287 Add a few missing translatable strings to conversation search view 2017-02-03 20:48:05 -08:00
Asa Ayers
bda0430805 Add an option to play audio notifications 2017-02-02 09:00:14 -06:00
lilia
c1835f573f Update translations 2017-01-26 14:13:29 -08:00
RiseT
96252a7ee6 Use singular form for per-conversation safety numbers
// FREEBIE
2016-12-03 20:58:33 +01:00
lilia
f02491a15c Update translations 2016-12-03 20:51:30 +01:00
Ikarulus
53cd3af78b Added a dark theme
I added a dark theme in order to solve #328.
This may fix #328 at least partially.
2016-12-02 00:41:42 +01:00
lilia
ff2c23b26a Update translations 2016-11-17 20:31:12 +01:00
lilia
ae6174c511 Update translations / Fixes #963 2016-11-01 09:35:46 +09:00
lilia
ba0e83bbf0 Update translations 2016-10-30 17:41:27 +09:00
lilia
c0a160b1dd Yet more identity key -> safety numbers changes 2016-10-28 16:53:18 +09:00
lilia
74883ccd3c More identity key -> safety numbers changes 2016-10-28 16:47:45 +09:00
lilia
ae379c1621 Update translations 2016-10-28 16:45:21 +09:00
lilia
a67bd75484 Update verification screen copy 2016-10-28 15:13:22 +09:00