Commit Graph

742 Commits

Author SHA1 Message Date
Audric Ackermann b93201fbe6
When deleting multiple messages, inform the user of the number
taken from #2263 by @ianmacd
2022-04-27 14:02:13 +10:00
Audric Ackermann e135cbd696
Clarify that the search box can now also find individual messages
from #2228 by @ianmacd
2022-04-27 12:24:04 +10:00
Audric Ackermann 71aa6c813c
Merge remote-tracking branch 'upstream/clearnet' into fix-i18n-with-dollars-sign 2022-03-09 12:00:47 +11:00
Audric Ackermann 2e200df933
fdix NOW ago by using the default format of moment
this prints `A few seconds ago` for a very recent change
2022-03-09 11:12:39 +11:00
Audric Ackermann e1f2393c3a
cleanup translated strings 2022-03-07 13:26:57 +11:00
warrickct 821f4d73ff Merge branch 'clearnet' into msg-request-ui-2 2022-03-03 14:02:10 +11:00
Audric Ackermann f1900f9f36
remove some unused strings
and fix tos links #2176
2022-03-03 14:00:47 +11:00
Audric Ackermann d4c61016e6
Merge pull request #2173 from Bilb/fix-typo-calls
fix typo call missed toast
2022-03-03 13:48:10 +11:00
warrickct 56c1a06a28 Adding rightclick accept/decline menu options for message requests. Adding hide menu item for message request banner. 2022-02-25 14:17:34 +11:00
warrickct 5888fecda4 Add confirmation dialog for clear all message requests. 2022-02-24 15:11:10 +11:00
warrickct 9bbac225ad Remove prevention of sending more than one message for an unapproved conversation. 2022-02-22 09:48:39 +11:00
Audric Ackermann 3fed22048b
rename a few loki to session 2022-02-18 13:03:47 +11:00
warrickct c0622d47f4 Disallow disappearing messages if convo is not approved by recipient. 2022-02-17 22:20:32 +11:00
warrickct ffad806366 Prevent attachments being sent for unapproved conversations. 2022-02-17 20:29:31 +11:00
warrickct 09bcbe6139 Adding empty state for request list. 2022-02-17 18:35:58 +11:00
warrickct 893f7e99b8 Merge branch 'clearnet' into message-request-ui 2022-02-15 12:04:14 +11:00
Audric Ackermann af595eb539
fix typo call toast
send message to him => send message to them
2022-02-15 11:23:54 +11:00
Ian Macdonald 6613161b20
Don't nanny the user. Allow all file types as attachments.
The Android client already has no such restrictions, and these are
ineffective anyway, as they are based on the file's name, not its
payload.
2022-02-14 09:25:53 +01:00
warrickct ee9156d4f8 Merge clearnet into message-request-ui 2022-02-14 16:42:53 +11:00
warrickct bc6edd7774 Adding unhiding of message request banner when receiving a new convo request. 2022-02-14 14:47:54 +11:00
warrickct ac8c4ac2eb Removing msg req feature flag. 2022-02-14 09:57:43 +11:00
warrickct 36ca2a767c Adding PR changes 2022-02-11 12:14:58 +11:00
warrickct d627b8e11d Requesting flow working with sending message as acceptance. 2022-02-10 16:49:56 +11:00
Audric Ackermann 8efc23d619
pull translations from crowdin 2022-02-07 12:05:19 +11:00
Audric Ackermann 5492919424
update EN start in tray setting wording 2022-02-03 14:48:29 +11:00
warrickct 2d66b1db4e Adding styling to conversation window for a message request. 2022-02-03 14:04:35 +11:00
Audric Ackermann 44f61073dc
move search results to styled components
and cleanup search logic and rendering of message results
2022-02-03 10:58:48 +11:00
Audric Ackermann 15ae511bca
Merge branch 'clearnet' into small-refactor 2022-01-17 16:35:16 +11:00
Audric Ackermann 6a403afb41
Merge pull request #2139 from warrickct/global-search-progress
Global Search and Database Trimming
2022-01-17 16:33:20 +11:00
Audric Ackermann f07aba72df
Merge pull request #2136 from Bilb/global-search-off-clearnet
Global search off clearnet
2022-01-17 15:43:28 +11:00
warrickct 804c9a56b9 convert to functional component. Tweak colors for search results. Fix search result header incorrect color. Addressing PR comments from previous search branch. Experimenting trimming approaches. 2022-01-17 14:51:30 +11:00
Audric Ackermann 9bb19540a9
add back deleteContact and deleteGroup translations 2022-01-06 11:15:20 +11:00
warrickct 3f4db67c1b Merge branch 'clearnet' into global-search-off-clearnet 2022-01-06 11:10:06 +11:00
Audric Ackermann 62edcb0cc8
fetch translations from crowdin 2022-01-05 14:37:54 +11:00
warrickct 374d5a6619 Global search partially functioning, added basic functions for load testing performance. 2021-12-22 11:20:29 +11:00
Audric Ackermann 7b103226be
add 'contact' or 'group' to delete action menu
Fixes #2066
2021-12-21 13:41:19 +11:00
Audric Ackermann c5f69a2d95
pull translations from crowdin
Relates #2113
2021-12-21 09:56:38 +11:00
Audric Ackermann 6e102644c3
update english translations 2021-12-21 09:49:22 +11:00
Audric Ackermann 38325215e6
Unban UI (#2091)
* adding basic functionaliy for unbanning a user

* merge ban and unban user dialog in to one dialog

Co-authored-by: warrickct <warrickct@gmail.com>
2021-12-16 15:04:26 +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 95e40c9509
keep read-receipts disabled by default (#2071) 2021-12-08 17:44:24 +11:00
Audric Ackermann 48e7a0e25f
Various UI fixes (#2070)
* cleanup unused convo json fields in db

* display a toast if the user is not approved yet on call OFFER received

* enable CBR for calls

* do not update active_at on configMessage if !!active_at

* remove mkdirp dependency

* disable call button if focused convo is blocked

* quote: do not include the full body in quote, but just the first 100

* click on the edit profile qr code padding

* Allow longer input for opengroup join overlay

Fixes #2068

* Fix overlay feature for start new session button

* make ringing depend on redux CALL status

* turn ON read-receipt by default
2021-12-08 14:15:54 +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
warrickct 86a9253144 Merge branch 'clearnet' into message-requests 2021-11-22 17:24:53 +11:00
warrickct 9c9a43ee97 Adding improvements to message request handling. 2021-11-22 15:48:12 +11:00
Audric Ackermann 453d260d5c
Merge pull request #2027 from Bilb/fix-netwokr-switching
Fix network switching with ongoing webrtc calls
2021-11-15 16:54:15 +11:00
Audric Ackermann b8d5a1c166
disable audio output switching as this is broken for now 2021-11-15 14:46:22 +11:00
Audric Ackermann af7cdfc4b4
Merge pull request #2024 from Bilb/setup-test-playwright
Webrtc calls caller UI +  playwright setup
2021-11-12 16:13:37 +11:00
Audric Ackermann 8c9832f118
add a toggle audio output button 2021-11-12 11:45:17 +11:00
Audric Ackermann cca1b4dabe
add a button to start a video call 2021-11-08 15:33:49 +11:00
Warrick Corfe-Tan 87235641cb fixed typos for translations and method name. 2021-11-04 16:07:27 +11:00
Warrick Corfe-Tan c3924f85a9 Adding blocking of individual requests and syncing of block to devices. Added approval by replying to a message. 2021-11-04 14:47:47 +11:00
Audric Ackermann 27e87edac2
add a ringing and establishing connection label video calls 2021-11-04 14:28:04 +11:00
Warrick Corfe-Tan 8180200b3a Saving logs to desktop. 2021-10-29 15:27:42 +11:00
Audric Ackermann a45f5f520a
incoming call dialog show avatar + caller name 2021-10-28 13:36:01 +11:00
Audric Ackermann d50d7eb803
our video off => show our avatar 2021-10-28 12:03:11 +11:00
Audric Ackermann 0f2fcbb6e3
delete for opengroups is working 2021-10-25 17:04:51 +11:00
Audric Ackermann 251309656b
Merge remote-tracking branch 'upstream/clearnet' into webrtc-calls-p2 2021-10-21 13:52:20 +11:00
Audric Ackermann 99b139f5c4
split settings folder and start adding the settings for video call 2021-10-21 13:18:50 +11:00
Audric Ackermann 55313deb91
add a show user details option in the menu
Fixes #1971
2021-10-20 15:54:26 +11:00
Audric Ackermann 8e6d9ca036
Merge pull request #1969 from Bilb/webrtc-calls
Webrtc video calls - first part - disabled
2021-10-18 16:00:56 +11:00
Audric Ackermann 182192124e
update localized strings from crowdin 2021-10-18 15:59:56 +11:00
Audric Ackermann fbd51c2974
add buttons to display list of inputs + toast on empty 2021-10-14 14:12:08 +11:00
Warrick Corfe-Tan 2b28ec93f9 removed translation for debug logs. 2021-10-11 14:20:33 +11:00
Warrick Corfe-Tan 1fe6b61308 Re-adding code that wasn't commited. Adding button for debug log in settings. 2021-10-11 12:25:27 +11:00
Warrick Corfe-Tan ab6bccade6 Added additional information to debug logs. 2021-10-06 11:35:57 +11:00
Audric Ackermann 1e8c8991ad
more cleanup 2021-10-04 10:56:54 +11:00
Warrick Corfe-Tan 1522e5102d removed isCall property from message. Fixed text 2021-10-01 15:13:02 +10:00
Warrick Corfe-Tan 6743201cc4 added perfect negotiation
Adding toast for cam and audio permission when making a call.

adding missed call message and toast when a call is received while mid-call.

background call message work
2021-10-01 13:39:47 +10:00
Audric Ackermann c54f63ab45
add listener for video calls events 2021-09-27 13:57:31 +10:00
Warrick Corfe-Tan daae55d62c Adding survey button to settings menu. 2021-09-20 15:44:19 +10:00
Warrick 1d459ba533
Unsend messages (only message hashes saving for now is enabled) (#1891)
* WIP unsending message.

* retrieving message with hash from db on receiving unsend request.

* outgoing messages hashes updated on message sent success

* unsend messaging

* unsend message - deleting messages and marking as isDeleted.

* add msg hash to unprocessed records.

* Message unsending working for closed groups provided the message has been updated with a hash from server.

* adding 2-stage confirmation modal for message deletion

* adding rendering of removed incoming messages, disabling rendering of unsent outgoing messages in coversation screen.

* Adding logging

* debugging.

* outgoing only saved for sync message instead of regular message.

* deleting locally

* adding post unsend deletioncode.

* starting adding feature flag.

* Added feature flag.

* addding mandatory messageHash  pollling pipeline methods swarm polling.

* Conversation list item message preview showing deletion placeholder text if deleted.

* add condition to drop unsend requests not send by message author

* refactoring deleteMessage. Saving response hash for closed group message sending

* running yarn ready

* removing logging.

* Adding PR fixes

* Minor changes and running yarn ready

* fix typo

* Moved feature flag to lokiFeatureFlags. Fixing linting errors


Co-authored-by: Audric Ackermann <audric@loki.network>
2021-09-20 13:47:59 +10:00
Audric Ackermann 25453ee807
Speedup body update composition box (#1911)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* move drafts outside of redux to speedup body message writing
2021-09-16 14:34:02 +10:00
audric 3221dd8921 pull latest translations from crowdin 2021-09-02 17:20:25 +10:00
audric 985a5d92bc do not show search input if we only got a single conversation 2021-08-26 16:44:58 +10:00
audric a9dcdea796 update with latet locales from crowdin 2021-08-24 11:39:42 +10:00
audric f7b0c6c7e1 make conversation screen closer to mobile UI part1 2021-08-23 16:32:21 +10:00
Warrick Corfe-Tan ebb37b44b6 Merge branch 'clearnet' into registration-progress-banner 2021-08-19 13:51:12 +10:00
Warrick Corfe-Tan dbc19adeb8 Adding PR changes, running yarn ready 2021-08-19 12:10:11 +10:00
Warrick Corfe-Tan 48b4aab63c applying PR fixes. 2021-08-18 11:17:42 +10:00
Warrick Corfe-Tan f9ad63d58b Merge branch 'clearnet' into registration-progress-banner 2021-08-18 11:14:06 +10:00
Warrick Corfe-Tan af298936d9 Combining and 80 and 90 completion stages. 2021-08-17 10:05:12 +10:00
Warrick Corfe-Tan a1194fa7bb Merge branch 'clearnet' into simplify-onboarding 2021-08-16 09:45:10 +10:00
Warrick Corfe-Tan bf645f36b7 Combining registration steps. 2021-08-16 09:27:29 +10:00
Warrick Corfe-Tan b0a8c6c3eb wip: adding recovery phrase prompt. 2021-08-12 09:23:47 +10:00
audric 612e99af4a add a setting to start the app with a tray icon
Relates #1759
2021-08-10 11:57:27 +10:00
audric 426f2000b8 fixup delete all and handle errors 2021-08-09 11:32:42 +10:00
audric 9991dc2364 move delete account logic to it's own dialog 2021-08-06 10:59:32 +10:00
Audric Ackermann 7365cb2291
Merge pull request #1819 from Brice-W/ban-and-delete-messages
'Ban user and delete all messages' added to menu
2021-08-02 14:34:57 +10:00
Brice-W 2c6821097d adding Ban user and delete all his messages to the menu for moderators 2021-08-02 11:57:10 +10:00
Warrick Corfe-Tan a8a15e3f88 adding PR changes. 2021-08-02 10:52:53 +10:00
Warrick Corfe-Tan 31118ae51f Add notification icon to conversation list item. Add notification subtitle to conversation header on conversation screen. 2021-07-30 15:07:52 +10:00
audric 1054278a54 disable search in messages for now 2021-07-27 10:29:18 +10:00
audric 59baa08f73 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 2021-07-23 10:42:02 +10:00
Warrick Corfe-Tan 6a536a4f60 grammar fix 2021-07-22 16:49:10 +10:00
audric 8766cf3f8a store offset before refresh of messagesList and restore it 2021-07-22 14:40:35 +10:00
Warrick Corfe-Tan 966012016b Popup confirmation before sending a message containing the users recovery phrase. 2021-07-21 12:22:03 +10:00
Audric Ackermann 787e3a32d0
remove count of unread in unread message banner 2021-07-14 11:30:02 +10:00
Brice-W e3aa500ba0 i18n labels for pin conversations limit 2021-07-06 14:01:29 +10:00
Warrick Corfe-Tan 08db057ad9 Merge branch 'clearnet' into pin-conversations 2021-06-29 16:27:22 +10:00