Commit Graph

262 Commits

Author SHA1 Message Date
Audric Ackermann c1c1cde14b
improve caption editor, and disable right panel if messagedetails shown 2020-11-26 14:24:29 +11:00
Audric Ackermann 22b4f39e52
MessageDetails: contact status fallbacks to message status
this is used for medium groups
2020-11-25 13:25:08 +11:00
Audric Ackermann 5c55a9411f
add first step to enable back MessageDetails.
Still not much the react way to do it for now
2020-11-25 11:52:20 +11:00
Audric Ackermann 2ec337dd31
Add back ability to edit caption before sending attachments 2020-11-24 16:12:28 +11:00
Audric Ackermann edd984e0f5
make quotes stay empty when there object isEmpty() 2020-11-19 11:56:34 +11:00
Audric Ackermann 051436339d
remove unused font 2020-11-09 11:12:01 +11:00
Audric Ackermann 7058bc0319
fix metadata styles for media message without body on light mode 2020-11-06 15:17:23 +11:00
Audric Ackermann 7ae79ee0a2
make timer notification work with empty profile name (display pubkey) 2020-11-04 13:44:37 +11:00
Audric Ackermann b865810cb0
fix expiretimer color for incoming message in light mode 2020-11-04 11:06:17 +11:00
Audric Ackermann 07c384aa0d
render GroupNotification messages 2020-10-30 10:24:53 +11:00
Audric Ackermann 857bea50ea
enable back keyboard navigation on message list 2020-10-28 15:16:10 +11:00
Audric Ackermann ba959f3379
link preview state moved to SessionCompositionBox 2020-10-28 13:29:45 +11:00
Audric Ackermann 13e02b5bf1
add staged link previews for everything from signal 2020-10-28 11:06:47 +11:00
Audric Ackermann fe3cfb9e82
move all menu to react-contexify 2020-10-22 16:34:41 +11:00
Audric Ackermann 026a1930ed
add a getOrThrow to ConversationController when we expect this convo 2020-10-15 17:19:49 +11:00
Audric Ackermann 144ae41529
add type for ConversationController, remove showStartConversation
and cleanup scss
2020-10-15 16:43:51 +11:00
Audric Ackermann a652ec3b61
fix light theme in react refactor 2020-10-09 13:30:10 +11:00
Audric Ackermann 4d991d3992
Merge branch 'clearnet' into react-refactor 2020-10-08 17:23:55 +11:00
Audric Ackermann dfff6c2149
Merge pull request #1374 from Bilb/hide-shorten-pubkey-except-public 2020-10-08 09:53:43 +11:00
Audric Ackermann 37dd7b87cc
remove right buttons on Message. use right click instead 2020-10-07 16:09:01 +11:00
Audric Ackermann f57c85dc0d
hide pubkey when not needed on conversationHeader and listItem 2020-10-06 15:45:27 +11:00
Audric Ackermann 1da4ae69c2
render NoteToSelf list item as a normal conversation 2020-09-10 15:52:36 +10:00
Audric Ackermann 531d64b4cc
Merge pull request #1331 from Bilb/fix-group-panel-with-plenty-media
fix the media panel with lots of media (bottom button hidden)
2020-09-09 13:03:02 +10:00
Audric Ackermann fae8ef8d5b
Merge pull request #1334 from Bilb/fix-left-border-blocked 2020-09-09 13:02:53 +10:00
Audric Ackermann 2aef1f3132
be sure blocked border is shown even with mention or unread 2020-09-09 10:39:55 +10:00
Audric Ackermann f43ea3d940
fix size of sent badge on message detail view 2020-09-08 16:56:56 +10:00
Audric Ackermann f682cbd9d0
fix the media panel with lots of media (bottom button hidden) 2020-09-08 16:15:03 +10:00
Audric Ackermann 252c45f635
Merge remote-tracking branch 'upstream/clearnet' into use-created-at-server-timestamp 2020-09-04 10:18:20 +10:00
Audric Ackermann 71169a56fe
fix light theme attachment doc UI 2020-09-03 14:54:17 +10:00
Audric Ackermann cb911d4db1
fix members ui for light mode 2020-09-02 12:08:31 +10:00
Audric Ackermann 00994bcb4a
make most of the app rtl compatible (text based only) 2020-08-31 14:51:59 +10:00
Audric Ackermann 5909b7c807
cleanup scss 2020-08-31 10:05:39 +10:00
Audric Ackermann 8ff53a434a
refactor quote styles 2020-08-26 16:12:07 +10:00
Audric Ackermann b1e29cc89f
refactor scss 2020-08-26 10:48:35 +10:00
Audric Ackermann 291982c2aa
cleanup css and themify missing stuff 2020-08-25 15:58:14 +10:00
Audric Ackermann 031e19df63
themify group panel 2020-08-25 12:13:43 +10:00
Audric Ackermann 9cbf21547b
cleanup scss and themify message view 2020-08-25 11:25:41 +10:00
Vincent 6078be1657 revive-ts-refactor 2020-07-08 17:12:34 +10:00
Vincent 83528f4b8d Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into refactor-ts-react 2020-07-08 16:42:30 +10:00
Mikunj 7665ecacfb Fix incorrect sent timestamps 2020-07-03 10:28:33 +10:00
Mikunj 8d11660b13 Fix attachments 2020-07-03 10:08:24 +10:00
Vincent cf05d4ff6c revivify 2020-04-24 12:18:43 +10:00
Vincent 48ce580fd4 Notification styling 2020-04-06 17:59:28 +10:00
Vincent 43772b8ee2 Timer notifications complete 2020-04-06 16:32:50 +10:00
Vincent f2ce52a3d5 Timer notifications rework 2020-04-06 15:34:35 +10:00
Vincent 01491e9c3f Convert to public sans 2020-03-30 19:56:12 +11:00
Vincent 5dc21710b8 Convert to open fonts 2020-03-30 11:37:31 +11:00
Konstantin Ullrich 18a464fc58 Add a numeric TTL Countdown if the time left is under 1 minute 2020-03-12 12:43:24 +01:00
Vincent a1e4072ec1 Stylistic updated 2020-02-14 11:55:15 +11:00
Vincent 4d65fe76ab Updating tos & privacy links 2020-02-14 11:41:59 +11:00
Vincent 30ccb81d3d Disappearing messages in Channel Settings panel 2020-02-13 15:35:09 +11:00
Vincent 7b674bb8d8 Various UI improvements 2020-02-12 17:27:14 +11:00
Mikunj Varsani a75ef365b8 Fix device unlinking.
Fix session request being sent even if we have keys to setup a session.
Fix minor crash.
2020-02-11 10:18:41 +11:00
Vincent 821cf00b65 Closed group update message stylgin 2020-02-05 14:19:01 +11:00
Vincent c0a33a630f Join channel generalisation 2020-02-03 15:50:38 +11:00
Vincent bff2b2b2f2 SASS fixup 2020-01-30 14:21:27 +11:00
Vincent f55e20d8ac Cleanup media view formatting 2020-01-30 12:03:43 +11:00
Vincent ae01b11478 Looking into keyboard navigation 2020-01-30 11:44:25 +11:00
Audric Ackermann 25344685a2 merge 2020-01-21 14:49:14 +11:00
Vincent 2439c6f95b Contextmenu left trigger fix for messageview 2020-01-17 10:11:58 +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 3014b7ccba update conversation list item in messages view 2020-01-03 17:04:53 +11:00
Audric Ackermann c883d20bd7 add the left pane sections on main page 2020-01-03 17:03:02 +11:00
Audric Ackermann 4999ececfd enlarged avatar when clicked in showUserDetailsDialog 2019-12-10 11:47:21 +11:00
Audric Ackermann c19b53d3fd Disable horizontal scrollbar on conversation list #560 2019-11-26 11:18:51 +11:00
Maxim Shishmarev 4dd314c18f Enable profile pictures 2019-11-18 17:34:41 +11:00
Maxim Shishmarev 8677fb15a0 Select multiple messages and bulk deletion 2019-11-06 10:26:21 +11:00
Maxim Shishmarev 0d19b708f9 Creating private group chats between friends 2019-11-01 11:57:49 +11:00
Maxim Shishmarev 9e6f6d5a01 Fix incorrectly showing friend request as pending 2019-10-31 15:23:08 +11:00
Maxim Shishmarev 8be1c61f4c Highlight conversations with unread mentions of the user 2019-10-02 16:18:45 +10:00
Maxim Shishmarev 687e9db77b Custom message rendering of mentions 2019-09-23 11:00:51 +10:00
Maxim Shishmarev 0d9e4bbf45 Only shorten pubkeys if name is present 2019-09-13 11:12:28 +10:00
Mikunj 0b898612d9 Linting. 2019-09-11 15:18:18 +10:00
Mikunj 0883b1b650 Updated styles.
Merge commit clearnet into mod-badges
2019-09-11 14:58:34 +10:00
Mikunj ea5bc24253 Updated design 2019-09-11 14:02:56 +10:00
Beaudan Brown e9a2b57d37 Show crown icon for moderators 2019-09-10 16:07:29 +10:00
Mikunj 83d198108c Fix the ui bug where items would appear over the loki logo. 2019-08-30 10:02:46 +10:00
Beaudan 1d0067e6e5 Forgot to add this part 2019-08-08 14:56:52 +10:00
Maxim Shishmarev d0e73ed7f8 Add a button to paste pubkey from clipboard if valid 2019-08-02 10:33:55 +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 61b862b021 Merge signal 1.24.1 2019-04-18 13:27:54 +10:00
Mikunj 3a8111020e Merge v1.23.0
# Conflicts:
#	background.html
#	package.json
#	yarn.lock
2019-04-18 11:12:02 +10:00
Mikunj 5d916748ae Fix styling 2019-04-18 11:05:01 +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 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 230c6dc284 Fix vertical sizing of left pane when switching inbox<->archive 2019-03-14 17:30:46 -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 b3ac1373fa Move left pane entirely to React 2019-03-12 17:44:14 -07:00
Scott Nonnenberg 6ffbc0ac06 Archive Conversation 2019-03-12 17:44:14 -07:00
Scott Nonnenberg d72f89d776 Render only visible conversations in left pane 2019-03-12 17:44:14 -07:00
Mikunj 9ac76e7e62 Linting 2019-02-22 10:22:03 +11:00
Mikunj 06be1da40d Added p2p message styling 2019-02-22 10:22:03 +11:00
Scott Nonnenberg f5af063191 Improve spinner colors on top of medium-brightness backgrounds 2019-02-20 16:40:35 -08:00
Scott Nonnenberg 1d2c3ae23c Download attachments in separate queue from message processing 2019-02-12 16:34:21 -08:00
Scott Nonnenberg a43a78731a Note to Self 2019-02-12 16:08:51 -08: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
Mikunj 9b382de6da Added online indicator.
Disable selection in contacts.
2019-02-01 10:06:39 +11:00
Scott Nonnenberg 813924685e Link Previews 2019-01-29 13:53:14 -08:00
Vanja Cosic 993c85b88c Make non-message components of UI non-selectable (#3078)
* Make sidebar non-selectable
* Prevent selection of avatar and context menu text in conversation view
* Make loading view and conversation placeholder view non-selectable
* Make settings view contents non-selectable
2019-01-22 14:08:00 -08:00
Mikunj 1a15ec9c15 Merge commit signal/master into signal-1.20 2019-01-22 13:54:03 +11:00
Mikunj 6bd2d3962e Linted files 2019-01-16 16:18:08 +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
Scott Nonnenberg 2380f01e31 Ensure that too-wide messages don't overflow in small breakpoint 2019-01-10 10:22:52 -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
sha-265 3f78a3c466 Fix text alignment for RTL quoted messages (#2980) 2018-12-14 09:27:46 -08:00
Mikunj d686783124 Fix minor icon clipping.
Disable text highlighting on header.
2018-12-04 15:31:59 +11:00
Mikunj 341c5e4ed8 Updated nickname display modal. 2018-12-04 15:31:59 +11:00
Mikunj 1cb09cad2a Add header options. 2018-12-04 08:47:09 +11:00
Mikunj 14ecbc3f35 Moved MainHeader into its own Backbone View. 2018-12-04 08:47:09 +11:00
Mikunj a807b6eacd Show expand icon on main header. 2018-12-04 08:47:09 +11:00
Mikunj 1be63b52b2 Show contact name on main header. 2018-12-04 08:47:09 +11:00
Mikunj 961eb53915 Auto-generate profile images on conversations. 2018-12-03 08:55:43 +11:00
Mikunj c32bd3564d Fix minor UI layout. 2018-11-29 16:11:24 +11:00
Mikunj a530a6c197 Convert gutter to dark theme. 2018-11-29 16:02:02 +11:00
Mikunj f1d18219ed Conversation UI update. 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
Mikunj ae2e2fa2ae Updated UI in conversation to support user blocking behaviour. 2018-11-16 15:31:56 +11:00
Mikunj 3789e94342 Added PoW loading icon. 2018-11-15 13:58:29 +11:00
Mikunj a80d6bb868 Merged branch correctly. 2018-11-13 13:41:21 +11:00
Mikunj 21f76fa693 Minor layout fix 2018-11-12 12:22:56 +11:00
Mikunj 0a23888875 Fix up friend request message layout 2018-11-12 12:17:47 +11:00
Mikunj 0cf616328e Fixed saving prekey bundle once friend request is accepted.
Added option to delete conversation after it is declined.
2018-11-12 11:02:08 +11:00
Mikunj c150cbe34f Friend request message indicator. 2018-11-12 09:22:05 +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
Mikunj f589fdac5c Merge signal changes into branch. 2018-11-07 15:26:37 +11:00
Scott Nonnenberg a7d78c0e9b Sealed Sender support
https://signal.org/blog/sealed-sender/
2018-10-29 14:49:18 -07:00
Scott Nonnenberg f21f83a163 Conversations have blue avatar backgrounds if no image provided 2018-10-18 11:39:23 -07:00
Scott Nonnenberg 7d9711ba65 Restore iOS-specific theme; colors on left in android theme 2018-10-11 11:42:18 -07:00
Scott Nonnenberg ca61c9cb85 Warnings for dangerous files 2018-10-09 13:48:32 -07:00
Scott Nonnenberg 15a8ffbff0 Fix timer colors 2018-10-09 13:47:36 -07:00
Scott Nonnenberg 102c2717cb Fix the overflow on message bubbles with long names/attachments 2018-10-01 18:18:37 -07:00
Scott Nonnenberg a8e12d0771 Add user's avatar to the top left of the screen 2018-10-01 18:18:37 -07:00
Scott Nonnenberg 8f3e3b7aaf Update to new design for avatars: individual/group icons/colors
And two initials.
2018-10-01 18:18:37 -07:00
Scott Nonnenberg cf16ced91c Unread badge is now attached to avatar in left pane 2018-10-01 18:18:37 -07:00
Scott Nonnenberg 10c53bddb0 Move to new colors, switch incoming/outgoing colors 2018-10-01 18:18:37 -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 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 a247ffe5cf When iOS device has been linked, use iOS color scheme 2018-08-15 11:22:45 -07:00
Scott Nonnenberg 9accf63fdb Ensure that the metadata overlay is on top of all overlays 2018-08-07 17:43:48 -07:00
Scott Nonnenberg e2e575210f Fix lint issue in _modules.scss 2018-08-06 18:22:30 -07:00
Scott Nonnenberg 1d18c5686d Fix problems with transparency on some macOS computers 2018-08-06 18:08:10 -07:00
sha-265 381cb06be8 Fix text alignment for RTL messages (#2597) 2018-08-03 09:26:36 -07:00
Scott Nonnenberg b0b1e9b8e3 Message: video/image attachment borders inline, on top of image
Otherwise, its transparency will result in a distracting line between it
and its attached message bubble
2018-08-02 17:19:56 -07:00
Scott Nonnenberg 3105b77475 Migrate to SQLCipher for messages/cache
Quite a few other fixes, including:
  - Sending to contact with no avatar yet (not synced from mobile)
  - Left pane doesn't update quickly or at all on new message
  - Left pane doesn't show sent or error status

Also:
 - Contributing.md: Ensure set of linux dev dependencies is complete
2018-07-31 17:08:45 -07:00