Commit Graph

203 Commits

Author SHA1 Message Date
Audric Ackermann cf44896a03
Minor call tweaks (#2051)
* show missed-call,started-call and answered call notification in chat

* fix types for createLastMessageUpdate

* show incoming dialog if we have a pending call when enable call receptio

* simplify a bit the avatar component

* move disableDrag to a custom hook

* speed up hash colors of avatarPlaceHolders

* fixup text selection and double click reply on message

* keep avatar decoded items longer before releasing memory

* add incoming/outgoing/missed call notification

also, merge that notification with the timer and group notification
component

* hangup call if no answer after 30sec

* refactor SessionInput using hook + add testid field for recovery

* disable message request feature flag for now

* fix merge issue

* force loading screen to be black instead of white

for our dark theme user's eyes safety
2021-11-29 17:40:46 +11:00
Audric Ackermann 1e8c8991ad
more cleanup 2021-10-04 10:56:54 +11:00
Audric Ackermann b17312c13c
Cleanup redux store (#1925)
* do not consider expire timer update unread messages #1881

* cleanup conversation props in redux to only have what cannot be derived

* fix app not starting without the await on convo creation

* cleanup props of message model
2021-09-17 16:41:04 +10:00
Audric Ackermann 945ecf34a1
Fix select colors for sent messages and link text not selectable (#1924)
* do not update sent_at for synced messages

* reply to message context menu only visible if msg sent

* Allow scrolling in mentioning people in composition box

Relates #1849

* fix selection colors for sent messages and make link selectable

Relates #1922
2021-09-17 11:36:46 +10:00
audric bd7d88e170 remove theme from css and used variables instead 2021-09-01 14:29:04 +10:00
Audric Ackermann c0292b0b2b
fix up session logo on loading and max message body length 2020-12-09 13:02:27 +11:00
Audric Ackermann c128684ffe
cleanup unused svg files from Signal 2020-12-04 15:47:33 +11:00
Audric Ackermann 828aa4413f
remove unused group_member_list component 2020-11-17 16:46:04 +11:00
Audric Ackermann 2fc61d2c96
cleanup expired template from html files 2020-11-17 09:09:04 +11:00
Audric Ackermann 00994bcb4a
make most of the app rtl compatible (text based only) 2020-08-31 14:51:59 +10:00
Audric Ackermann 39941cb078
make registration background a bit darker 2020-08-27 14:19:10 +10:00
Audric Ackermann f7d6da0ebc
remove useless css 2020-08-27 14:19:03 +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 5f51573f53
remove unused templates 2020-08-25 16:58:24 +10:00
Audric Ackermann 291982c2aa
cleanup css and themify missing stuff 2020-08-25 15:58:14 +10:00
Audric Ackermann 269f799d6b
themify userDetailsDialog 2020-08-24 14:57:55 +10:00
Audric Ackermann f3a51cf2a6
add custon light/black scrollbar style 2020-08-24 14:10:40 +10:00
Vincent 958a4c8594 Linted 2020-04-16 21:24:11 +10:00
Vincent d3c934e119 attachment sending test complete 2020-03-31 13:35:48 +11:00
Beaudan Brown 685ada5cc5 Merge branch 'clearnet' into prep-merge 2019-11-15 12:31:40 +11:00
Beaudan Brown 3bdbf03658 Enforce display name 2019-10-23 14:55:09 +11:00
sachaaaaa 0426d85e7a Merge branch 'clearnet' into multi-device
* clearnet: (136 commits)
  Fix more check on deletion.
  Only shorten pubkeys if name is present
  Shorten pubkeys in quotations too
  better guard
  pass serverId back to the server
  Bump version.
  Purge cache on failure.
  Fix unnecessary link preview fetches.
  Review changes. Increase mod time to 30 seconds.
  Undo defaultPublicChatServer change,
  Modified colour of dark mod badge
  Linting.
  Updated design
  Show crown icon for moderators
  Fix last hash all being NULL in database
  Poll for moderators, store them on the conversation and use the list to determine our own mod status
  Make sure we are always updating the last deleted id
  Update ts/components/conversation/FriendRequest.md
  Fix #355 Display timestamp for friend requests
  Fix duplicate detection for sent messages in public chat
  ...

# Conflicts:
#	app/sql.js
#	js/background.js
#	js/models/messages.js
#	js/views/app_view.js
#	libloki/crypto.js
#	libtextsecure/message_receiver.js
2019-09-16 15:59:40 +10:00
sachaaaaa ef6b22f6b9 Simplify and lint 2019-09-03 16:42:12 +10:00
Beaudan Campbell-Brown 48b6bf54c1
Merge pull request #461 from Mikunj/qr-code
Pubkey QR code
2019-09-02 15:52:39 +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
sachaaaaa 7b262561a5 simplify scss for disabled button 2019-09-02 10:19:09 +10:00
sachaaaaa 3a78f47cd7 Secondary device registration: UX changes (show countdown, disable button, etc.) 2019-08-30 11:53:45 +10:00
sachaaaaa a7f999aeb1
Merge pull request #391 from sachaaaaa/show_seed_errors
Report mnemonic errors instead of silent failure
2019-08-09 17:13:10 +10:00
sachaaaaa 1f3f63dcc6 Report mnemonic error in a toast instead of silently fail 2019-08-09 16:08:22 +10:00
sachaaaaa 701f6be00c Add missing mnemonic languages 2019-08-08 15:36:36 +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 ae8b3899ad Changed registration to be a 2 step process. 2019-04-04 11:09:50 +11:00
Scott Nonnenberg b3ac1373fa Move left pane entirely to React 2019-03-12 17:44:14 -07:00
sachaaaaa c968eb8daf revert background colour in main.js (+1 squashed commit)
Squashed commits:
[9ec61f5f] revert background colour
2019-02-06 14:01:05 +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 1d6f1cbcca Fix width of audio player when window is very narrow 2019-02-05 13:55:55 -08:00
Vanja Cosic b26f6231d8 Get rid of the white flash when the app starts up (#3083)
* Prevent FOUC on startup, use Signal Blue instead

Instead of flashing a white background on startup, the app will show a blue background while everything is loading.

* Make sure tests are rendered on white background

* Use `icon_250.png` as the loading image

* Remove hardcoded 'Loading...' text from template
2019-02-05 09:25:05 -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
Mikunj a1275ab911 Fix css on linux. 2018-12-12 15:45:51 +11:00
Mikunj 0b87f13699 Added password dialog view. 2018-12-07 15:34:16 +11:00
Mikunj f53bec38a5 Added password inputs on registration screen.
Fix case where db is deleted but password hash still remains which causes user to never register.
Allow password to have symbols and other characters.
Added more tests.

Moved passHash from config into the sqlite db.
We can do this because we assume if sql failed to initialise then the key provided was wrong and thus we can show the user the password page.
2018-12-06 15:47:37 +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
Mikunj 62c802445b Allow generating mnemonic for different languages. 2018-12-05 12:03:40 +11:00