Commit Graph

332 Commits

Author SHA1 Message Date
warrickct 436d22bafd Added colouring of simple session button. 2022-02-04 11:22:26 +11:00
Audric Ackermann e17b5e0671
Fix attachment dl freeze (#2086)
* fix attachment download freezing app for some opengroups

* make registration page work with smaller height
2021-12-15 15:56:29 +11:00
Audric Ackermann 28c7445dce
refactor most of the components to outside of their Session folder (#2072)
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes #2079
2021-12-14 15:15:12 +11:00
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 62e8150021
add padding to qr code for easy scanning in dark mode
Relates #2004
2021-11-04 16:38:46 +11:00
Audric Ackermann 6eb6f00c62
make sure messages do not take more than 75% of the list width 2021-10-21 13:09:50 +11:00
Audric Ackermann 87e7cc5ebf
Merge remote-tracking branch 'upstream/clearnet' into webrtc-calls 2021-10-14 14:22:37 +11:00
Audric Ackermann 3f1e55b787
add basic code markup 2021-10-04 10:57:15 +11:00
Audric Ackermann 87aa4dfbf4
center ip and countries in onion path dialog 2021-09-22 13:35:36 +10:00
Audric Ackermann 76100903cb
show ip of onion path on hover of country name 2021-09-22 11:18:11 +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 Ackermann 48090b4b25
Keep line breaks when message has some new lines
Relates #1758 and #1898 and #1901
2021-09-08 13:45:56 +10:00
audric ba35a8cb24 update design of registration page 2021-09-02 16:38:37 +10:00
audric bd7d88e170 remove theme from css and used variables instead 2021-09-01 14:29:04 +10:00
audric a53392853f make the CompositionBox closer to the mobile UI 2021-08-30 15:11:26 +10:00
audric e85f351540 cleanup theme object 2021-08-30 14:26:58 +10:00
audric f9988119f9 major UI rewrite of messages view with redux improvements 2021-08-25 15:01:19 +10:00
audric ee4ed2e075 fix attachment logic with ui redesign 2021-08-24 13:23:23 +10:00
audric f7b0c6c7e1 make conversation screen closer to mobile UI part1 2021-08-23 16:32:21 +10:00
Warrick Corfe-Tan bfed4a88dd removing comments 2021-08-12 09:21:49 +10:00
Audric Ackermann 649a581dd2
make caret-color as text-color to make it for visible 2021-07-30 11:15:52 +10:00
audric 30327257ca don't overflow char taking too much space 2021-07-23 10:39:53 +10:00
Audric Ackermann 4eb76df60c
fix line on onion path modal 2021-06-28 15:02:02 +10:00
Warrick Corfe-Tan 00c7c8b969 vertical line wip. 2021-06-28 13:25:20 +10:00
Warrick Corfe-Tan fe474425ba wip vertical line. 2021-06-28 11:30:22 +10:00
Audric Ackermann 9bdd6ad139
add button to control speed playback on the player 2021-06-25 16:19:16 +10:00
Audric Ackermann e8020348b4
fix up onion path animation with no glowing nodes 2021-06-22 14:28:46 +10:00
Audric Ackermann bbbcfd54d6
rename all spacer-* to react component 2021-06-17 16:51:59 +10:00
Warrick Corfe-Tan b2dcb695f8 Fixed modal header styling for onion path dialog. 2021-06-07 11:44:49 +10:00
Warrick Corfe-Tan ec39f7ae9b Moved edit profile saving into edit profile component file. 2021-06-04 14:48:05 +10:00
Warrick Corfe-Tan 066e0d954e lights glowing but not yet in order.
WIP glow cycle.

Glow animation working.

Glow animation working, modal no longer interferring with left menu margins.

Cleaning up code. Adding PR suggestions.

Adding typing.

Refactor edit profile modal dialog to no longer use the signal code.
2021-06-02 15:57:56 +10:00
Warrick Corfe-Tan 22a32283b7 WIP Adding country and styling to modals. 2021-05-26 10:04:26 +10:00
Warrick Corfe-Tan d7b22e13e1 WIP: Onion path modal using redux state and refactored modals. 2021-05-26 09:58:33 +10:00
Warrick cb307790f6
WIP: User nicknames (#1618)
* WIP Adding change nickname dialog.

* WIP adding nickname change dialog.

* WIP nickname dialog.

* WIP: Able to set conversation nicknames. Next step cleaning and adding to conversation list menu.

* Fix message capitilisations.

* Add change nickname to conversation list menu.

* Enable clear nickname menu item.

* Added messages for changing nicknames.

* Clearing nicknames working from header and message list.

* Adding modal styling to nickname modal.

* Reorder nickname menu item positions.

* Add group based conditional nickname menu options to conversation header menu.

* minor tidying.

* Remove unused error causing el option.

* Formatting.

* Linting fixes.

* Made PR fixes

* Prioritise displaying nicknames for inviting new closed group members
and updating closed group members.
2021-05-12 10:40:49 +10:00
Audric Ackermann eb0ddd85f4
add zombies logic for member leaving and removing 2021-05-05 16:40:15 +10:00
Audric Ackermann a04bc0d225 center notification icon on settings and make label clickable 2021-03-02 15:25:38 +11:00
Audric Ackermann d655c397e0
make the isAdmin coming from the convo props and not the messages 2021-01-22 11:09:34 +11:00
Audric Ackermann 5c3cb0a165
make moderator dialogs the Session way 2021-01-21 17:49:14 +11:00
Audric Ackermann 72c96ea998
remove most of the SessionProtocol unused stuff
- prekeys
- SessionCipher
- LokiCipher
- endSession and the reset Session logic
- what we called Sessionprotocol manager (to keep track of session with
everyone)
2021-01-18 10:58:34 +11:00
Audric Ackermann b15984aa08
cosmetic UI for updateGroupMembersDialog 2021-01-13 14:06:27 +11:00
Audric Ackermann b0a229bf13 add Dialog on app start to ask to update SessionID 2020-12-16 16:35:30 +11:00
Audric Ackermann 3313c72ba7
set the min-width of a message to 150px 2020-12-14 17:06:21 +11:00
Audric Ackermann e9f186065d
do not shrink SessionSpinner 2020-12-14 16:23:59 +11:00
Audric Ackermann 5109f9fdda
remove ConversationLoadingScreen (unused) 2020-12-14 16:23:27 +11:00
Audric Ackermann dd4f591cf4
deleteAccount => show warning when recover will generate new SessionID 2020-12-08 15:04:46 +11:00
Audric Ackermann cb2f90f7f7
make SessioNotificationCount a styled component 2020-12-04 18:01:51 +11:00
Audric Ackermann e38be266c2 major rework of session icon => make them styled with styled-component 2020-12-03 12:09:39 +11:00
Audric Ackermann edd984e0f5
make quotes stay empty when there object isEmpty() 2020-11-19 11:56:34 +11:00
Audric Ackermann 30f93b2ad3
remove conversation stack 2020-11-11 10:01:17 +11:00
Audric Ackermann c039c89a26
remove resetMessageSelection() as unused and cleanup toast 2020-11-10 16:15:27 +11:00