Commit graph

3207 commits

Author SHA1 Message Date
audric
cc4168a858 do not update last fetch timestamp when an exception for retrieve 2021-08-12 11:48:55 +10:00
Warrick Corfe-Tan
d13a6824ee running yarn ready 2021-08-12 09:24:52 +10:00
Warrick Corfe-Tan
b0a8c6c3eb wip: adding recovery phrase prompt. 2021-08-12 09:23:47 +10:00
Warrick Corfe-Tan
bfed4a88dd removing comments 2021-08-12 09:21:49 +10:00
Warrick Corfe-Tan
81969ae12f applying linting and formatting. 2021-08-12 09:21:49 +10:00
Warrick Corfe-Tan
986fc16e7d Adding animation to briefly scale up send button after recording is made. 2021-08-12 09:21:49 +10:00
Warrick Corfe-Tan
32f7dcc811 testing shake addition to send button on finished recording. 2021-08-12 09:21:49 +10:00
Warrick Corfe-Tan
8fca989736 Fixing delete button JSX evaluating to NaN 2021-08-12 09:21:49 +10:00
Warrick Corfe-Tan
9eb1847da5 WIP removing NaN dsiaply timer text. 2021-08-12 09:21:48 +10:00
Warrick Corfe-Tan
cd7a1233fa Adding small hover effect to message composition icon buttons. Removing extra method call. 2021-08-12 09:21:48 +10:00
Warrick Corfe-Tan
637b604d0b Adding fraction timer display, exaggerating recording animation, moving delete button to toolbar, display full recording duration immediately after stop recording. 2021-08-12 09:21:48 +10:00
Warrick Corfe-Tan
03c14c84cb added styled component and conditional button for sending pausing recording. 2021-08-12 09:21:48 +10:00
audric
d2e089b9ab do not count unread of muted conversation in count of total unread
Relates #1840
2021-08-11 16:15:32 +10:00
audric
9018ae3009 Allow to copy an url on click on it via dialog
Relates #1842
2021-08-11 14:16:27 +10:00
audric
b83067d0ee onclick on video pause the video
Relates #1843
2021-08-11 14:10:09 +10:00
audric
c58312e853 do not render typing animation at all if not typing 2021-08-11 12:28:44 +10:00
audric
01ff290f85 fix tests 2021-08-11 09:35:24 +10:00
audric
c83776e510 fix the log file space usage on path building error
the issue seems to be coming from the fact that we need at least
minSnodePool count snodes to build a path reliably.
2021-08-10 16:51:05 +10:00
audric
07b6d7f6f1 fix a bug with preview of messages not being downloaded 2021-08-10 16:50:21 +10:00
audric
4db85a3c01 make background of messages only if there is no text 2021-08-10 16:49:53 +10:00
audric
1eb2e59d62 amke sure to reset link previews when replacing the text in composition 2021-08-10 15:47:55 +10:00
audric
83fa26bc25 do not replace new lines with br in messages
this is to allow copy pasting of content by just selecting it

Relates #1758
2021-08-10 14:04:20 +10:00
audric
751a8f1882 start in tray setting directly creates the tray icon 2021-08-10 13:47:37 +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
263c48e58b Merge remote-tracking branch 'upstream/clearnet' into network-clear-all 2021-08-10 09:58:26 +10:00
audric
abbd0a84a9 increase timeout for snode api requests (mainly for attachment upload)
Relates #1774
2021-08-09 12:23:56 +10:00
audric
e2c26e9819 add basic draft support (text only)
Relates #1791
2021-08-09 12:17:57 +10:00
audric
426f2000b8 fixup delete all and handle errors 2021-08-09 11:32:42 +10:00
Audric Ackermann
aca7fc7473
Merge pull request #1838 from Brice-W/minor-fixes
Minor fixes
2021-08-08 17:52:32 -07:00
Brice-W
2f579d3c7d lint 2021-08-09 10:28:26 +10:00
Brice-W
a8596bc844 clean 2021-08-09 10:22:10 +10:00
Brice-W
4ab414a932 Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into minor-fixes 2021-08-09 09:26:38 +10:00
audric
e9412df60e fix lint and steal autofocus on registration to seed 2021-08-06 15:59:38 +10:00
audric
2ebae9a746 fix tests for variable swarm polling 2021-08-06 14:04:21 +10:00
audric
79c8fada6e move all dialogs to a subfolder 2021-08-06 11:09:14 +10:00
audric
61b48dd06b move delete_all api call to snodeAPI.ts 2021-08-06 11:01:18 +10:00
audric
c276bf8dbe fix delete_all endpoint for testnet 2021-08-06 10:59:32 +10:00
audric
9991dc2364 move delete account logic to it's own dialog 2021-08-06 10:59:32 +10:00
Audric Ackermann
e43e9df8e0 make sure forceDelete network data returns malicious snodes 2021-08-06 10:59:32 +10:00
Audric Ackermann
67f642596d remove SessionId reset dialog
consider user had the time to update now
2021-08-06 10:59:32 +10:00
Audric Ackermann
3dd1a534d3 fix delete all on network request 2021-08-06 10:59:32 +10:00
audric
67c2124a3b do not try to fetch seed node data with ip as cert will not be valid 2021-08-06 10:59:28 +10:00
Warrick Corfe-Tan
a38ea1f05d Merge branch 'clearnet' into recording-ui 2021-08-05 15:30:02 +10:00
Warrick Corfe-Tan
8552afd2ca Updating notification icons to match android icons. 2021-08-05 15:14:04 +10:00
Warrick Corfe-Tan
b98b876ea7 Removing extra delete icons. 2021-08-05 13:15:03 +10:00
Warrick Corfe-Tan
13be7a4c4a removing comments 2021-08-05 11:37:18 +10:00
Warrick Corfe-Tan
ab3720a064 applying linting and formatting. 2021-08-05 11:32:55 +10:00
Warrick Corfe-Tan
384340578c Adding animation to briefly scale up send button after recording is made. 2021-08-05 11:18:18 +10:00
Warrick Corfe-Tan
be687062d6 testing shake addition to send button on finished recording. 2021-08-05 10:47:53 +10:00
Warrick Corfe-Tan
b5bd352ec2 Fixing delete button JSX evaluating to NaN 2021-08-05 09:41:50 +10:00
audric
ab8b6e85b4 Merge remote-tracking branch 'upstream/clearnet' into network-clear-all 2021-08-05 09:38:26 +10:00
audric
ce847db036 lint 2021-08-04 16:09:03 +10:00
audric
1fb3f74f6e disable drag on images 2021-08-04 15:39:14 +10:00
audric
5d6c2d94ff fix emoji being inserted into mentions identifier
if the cursor is before the first mention => insert it correctly
if the cursor is after the last mention => insert it correctly
if the cursor is between those two => insert it at the end of the
composition box
2021-08-04 14:56:00 +10:00
audric
b05910e219 Merge remote-tracking branch 'upstream/clearnet' into add-message-bottom-keep-scroll 2021-08-04 10:55:29 +10:00
audric
0658cb539a poll more often for inactive closed groups
the issue is that when you start the app, a closed group active at is
maybe a day old.
so you poll for this pubkey.

if the call is a success, all good, you get the latest messages and
update the active_at.
but if the first call fails (even after retrying), this group will be
marked as inactive and will be polled only a tiny little bit until we
get new messages.

So this commit make sure that we poll more often for closed groups which
are considered inactive
2021-08-04 10:52:38 +10:00
audric
bea704ecf0 bump react to 17 2021-08-04 10:52:24 +10:00
Warrick Corfe-Tan
e51f7b8a7a WIP removing NaN dsiaply timer text. 2021-08-03 17:07:44 +10:00
Warrick Corfe-Tan
91eafd389a Adding small hover effect to message composition icon buttons. Removing extra method call. 2021-08-03 16:18:38 +10:00
Warrick Corfe-Tan
123a60483e Adding fraction timer display, exaggerating recording animation, moving delete button to toolbar, display full recording duration immediately after stop recording. 2021-08-03 15:45:44 +10:00
Brice-W
9d7722fc7d don't display the name input box for public groups as they can't be modified atm 2021-08-03 15:18:25 +10:00
Brice-W
7965b4e44a . is already present in the i18n label 2021-08-03 15:17:38 +10:00
Audric Ackermann
f7658c323d
Merge pull request #1821 from Brice-W/bug-fixes
Bug fixes
2021-08-02 21:50:38 -07:00
Brice-W
f7c7d6a3d8 change source of MessageAttributesOptionals to not null 2021-08-03 14:31:06 +10:00
Brice-W
4ba0154e06 set expireTimer to 0 by default 2021-08-03 14:30:33 +10:00
Brice-W
ac76011a75 fix attachments download 2021-08-03 14:28:47 +10:00
Audric Ackermann
9b98b32d1b
filter out duplicates only if they are less than 10 messages away 2021-08-03 14:15:01 +10:00
Audric Ackermann
8ab8444222
remove expire warning. app asks to update on app start 2021-08-03 11:14:36 +10:00
Audric Ackermann
ef2d22ce8a
fix app icon for all platforms 2021-08-02 16:04:51 +10:00
Audric Ackermann
a1ab816076
Merge remote-tracking branch 'upstream/clearnet' into add-message-bottom-keep-scroll 2021-08-02 14:41:57 +10:00
Warrick Corfe-Tan
b3b020a253 added styled component and conditional button for sending pausing recording. 2021-08-02 14:36:19 +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
Audric Ackermann
19c6bebab0
make sure to retry fetch sqwarm with a new targetNode if needed 2021-08-02 14:33:39 +10:00
Audric Ackermann
2c174bdac7
fix audio message autoplay as broken with perf improvements
fix bug making "trust contact" first audio message being played on click
to trust
2021-08-02 14:32:38 +10:00
Brice-W
fbe9f19c81 typo 2021-08-02 14:15:11 +10:00
Brice-W
d8fa73d393 lint 2021-08-02 13:22:55 +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
2e05ed0922 removing comment. Running yarn ready. 2021-08-02 11:56:25 +10:00
Audric Ackermann
57aa8cba69
cursor pointer on click to trust contact message body 2021-08-02 10:57:22 +10:00
Warrick Corfe-Tan
a8a15e3f88 adding PR changes. 2021-08-02 10:52:53 +10:00
Audric Ackermann
6e8d25e530
Fixes mentions in message body and resolve them quicker
Relates #1815
2021-08-02 10:47:32 +10:00
Warrick Corfe-Tan
f087937f6f WIP debugging network deletion failing. 2021-08-02 09:40:14 +10:00
Brice-W
6ca2476f41 Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into media-access 2021-07-30 16:32:48 +10:00
Brice-W
347038cf82 added microphone access check 2021-07-30 16:31:35 +10:00
Audric Ackermann
360cb52680
make all messages types a readable message 2021-07-30 16:26:58 +10:00
Audric Ackermann
3f065a7b0e
improve marking message as read with hooks 2021-07-30 16:12:36 +10:00
Warrick Corfe-Tan
0c3ca8e5db Merge branch 'clearnet' into network-clear-all 2021-07-30 15:52:36 +10:00
Warrick Corfe-Tan
1a973f6573 remove unused import 2021-07-30 15:47:17 +10:00
Audric Ackermann
3dc11b923d
do not display optional password on registration page 2021-07-30 15:45:12 +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
Warrick Corfe-Tan
6e362098b2 pass in prop 2021-07-30 11:56:17 +10:00
Warrick Corfe-Tan
eebfc988bb Adding icons to the header row. 2021-07-30 11:50:29 +10:00
Warrick Corfe-Tan
2dba61ce1d Adding styled component 2021-07-30 11:48:23 +10:00
Warrick Corfe-Tan
213ca58d75 Adding icons 2021-07-30 11:47:16 +10:00
Audric Ackermann
dbd6563fa0
consider that a reply to our message is a mention for notification 2021-07-30 10:52:50 +10:00
Audric Ackermann
d14807d2ab
Merge remote-tracking branch 'upstream/clearnet' into add-message-bottom-keep-scroll 2021-07-30 10:37:33 +10:00
Warrick Corfe-Tan
ec447b2e2e network clear all WIP 2021-07-30 10:08:26 +10:00
Audric Ackermann
20f5c3b822
scroll to unread indicator rather than message on load convo 2021-07-30 10:07:30 +10:00
Audric Ackermann
c6a394664f
bump electron-builder to 22.8.0 2021-07-30 09:39:09 +10:00
Audric Ackermann
8970daf292
Merge pull request #1812 from Bilb/fix-replying-focus-input
fix replying to message focus composition box
2021-07-30 09:25:45 +10:00
Audric Ackermann
61277a5397
fix replying to message focus composition box
Relates #1808
2021-07-30 08:55:46 +10:00
Audric Ackermann
99f862dd0f
fix send link preview keep being shown
Relates #1810
2021-07-30 08:51:37 +10:00
Audric Ackermann
119b6e1baf
keep scrolled position when adding messages at the bottom 2021-07-29 17:27:29 +10:00
Brice-W
47e2f5726e fix group key pair cache issue 2021-07-29 16:59:29 +10:00
Audric Ackermann
06dfaa2482
always retry all emcyrption keypairs on incoming group msg 2021-07-29 16:31:35 +10:00
Audric Ackermann
12d09bc896
preload messages when switching conversation 2021-07-29 15:29:32 +10:00
Audric Ackermann
e5bbfc8c1e
transparency disabled if png and text are present 2021-07-29 14:01:43 +10:00
Audric Ackermann
f9ecfccc0a
batch UI updates of message added events 2021-07-29 13:44:38 +10:00
Audric Ackermann
506a0b2927
fix profileKey share in config message for base64 profileKey 2021-07-29 13:42:36 +10:00
Audric Ackermann
8b88eca050
Merge pull request #1799 from Brice-W/oxen-logo
Oxen logo in the Settings
2021-07-29 09:30:17 +10:00
Warrick Corfe-Tan
2e5ffc3196 wip delete all network message. 2021-07-28 17:10:46 +10:00
Brice-W
3995dbdeee oxen icon svg added 2021-07-28 16:45:46 +10:00
Brice-W
0d5e52678f add link to Oxen website in the settings (right icon missing) 2021-07-28 15:19:07 +10:00
Audric Ackermann
d236ef9cde
Merge pull request #1796 from Bilb/fix-profile-name-update-without-profile-key
fix a bug not making profile name updates in opengroup
2021-07-28 07:00:12 +02:00
audric
8414aa800d fix a bug not making profile name updates in opengroup 2021-07-28 14:46:13 +10:00
Audric Ackermann
2a371d3c57
Merge pull request #1794 from Bilb/fix-profile-key-config-message
Fix profile key config message
2021-07-27 09:29:38 +02:00
audric
316f37ae3d fix a bug of attachment not loading in one to one chats 2021-07-27 17:06:11 +10:00
audric
fce86989f0 make sure profileKey is a hex string in all convos 2021-07-27 16:41:15 +10:00
Audric Ackermann
77a6be3432
Merge pull request #1793 from Brice-W/group-edition-fix
Fix for name change and adding members in groups
2021-07-27 06:27:33 +02:00
Brice-W
eb3851592c lint 2021-07-27 14:02:22 +10:00
Brice-W
a6aed4d7d1 fix isAdmin to return the right value for closed groups 2021-07-27 13:54:38 +10:00
audric
9f62d6577c remove unused accessKey derived from profileKey 2021-07-27 13:19:48 +10:00
Brice-W
bfa68fc9b5 add isGroup test 2021-07-27 12:05:49 +10:00
Brice-W
b89f55dd02 update displayed buttons on groups 2021-07-27 12:01:11 +10:00
audric
5b487b0fec Merge remote-tracking branch 'upstream/clearnet' into disable-search-for-now 2021-07-27 11:25:14 +10:00
audric
4b8778d071 fix markRead using timestamp of now when scroll to bottom 2021-07-27 11:16:23 +10:00
Brice-W
9c61defc0b small update 2021-07-27 10:33:35 +10:00
audric
1054278a54 disable search in messages for now 2021-07-27 10:29:18 +10:00
Brice-W
e31b219bd4 fix 2021-07-26 15:46:36 +10:00
Brice-W
54a2eef700 change the way skipTimerInit is defined in MessageModel 2021-07-26 15:11:20 +10:00
Brice-W
bec9bd553e Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into filter-expired-messages 2021-07-26 12:19:20 +10:00
audric
dbf6a0183f remove unread top banner on scroll to bottom 2021-07-26 11:30:53 +10:00
Brice-W
751d0b9348 clearTimout call added to checkExpired to avoid multiple calls to setExpired 2021-07-26 11:12:42 +10:00
Brice-W
d7eafb7e15 rollback changes 2021-07-26 10:49:35 +10:00
Brice-W
72868c10e5 clean 2021-07-26 10:47:10 +10:00
Brice-W
beca14982c manage expired nessage deletion in setExpired 2021-07-26 10:43:12 +10:00
audric
e82d51fff0 do not show warning about link preview if they are already ON 2021-07-23 15:21:51 +10:00
audric
e69873d6ba fix link preview url onClick
Fixes https://github.com/oxen-io/session-android/issues/669
2021-07-23 15:16:51 +10:00
audric
59baa08f73 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 2021-07-23 10:42:02 +10:00
audric
a814937c08 disable test for attachemnt read/write
as they are too much linked to the window object for now
2021-07-22 17:20:52 +10:00
Audric Ackermann
5d1d21f715
Merge pull request #1788 from warrickct/send-seed-confirmation
Send seed confirmation
2021-07-22 16:50:28 +10:00
Audric Ackermann
ece7f3e184
Merge pull request #1785 from warrickct/close-modals-easier
Close modals easier
2021-07-22 16:48:02 +10:00
audric
bfc4b2b720 lint 2021-07-22 16:34:17 +10:00
audric
588ae85cda fix at lat types for attachment 2021-07-22 16:13:22 +10:00
Brice-W
6bbabce8e3 fix async issue 2021-07-22 15:21:52 +10:00
audric
12ff3379e1 add key for all messages list so we can scroll to them programnatically 2021-07-22 15:04:46 +10:00
Brice-W
e5615357f7 call setToExpire when expire timer is started to set expire_at property of message 2021-07-22 14:58:00 +10:00
audric
8766cf3f8a store offset before refresh of messagesList and restore it 2021-07-22 14:40:35 +10:00
audric
c8f0150aaf fix unread banner position when first unread is visible 2021-07-22 12:30:01 +10:00
audric
c2b5ac68d6 don't rely on scrollheight to calculate for ui Updates
as it causes a layout complete refresh
2021-07-22 10:20:09 +10:00
audric
e72885944b use selector to sort and add first of serie flag 2021-07-21 17:14:14 +10:00
audric
6d34a60f94 improve performance by not loading all unread messages 2021-07-21 13:40:21 +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
4f5072ee65 Merge remote-tracking branch 'upstream/clearnet' into perf-improv 2021-07-21 09:47:10 +10:00
audric
b7df0788c2 move mentions state to the ConversationState 2021-07-20 17:14:04 +10:00
Brice-W
18f15615d4 don't render messages that are already expired 2021-07-20 17:09:17 +10:00
audric
23e9a6d31c move some actions to redux in hooks 2021-07-20 16:58:51 +10:00
Warrick Corfe-Tan
ca4dec9fda linting, formatting, testing 2021-07-20 15:23:48 +10:00
Audric Ackermann
6df84fbd1e
Merge pull request #1778 from Brice-W/focus-issue
Fix for focus issue
2021-07-20 15:20:09 +10:00
Warrick Corfe-Tan
28924a63bb removing some unusued imports. 2021-07-20 15:03:30 +10:00
Warrick Corfe-Tan
3fca7ef4de remove unused imports. 2021-07-20 14:47:57 +10:00
Warrick Corfe-Tan
973df5d245 clicking outside of confirmation modal body closes confirmation modal. 2021-07-20 14:46:19 +10:00
Warrick Corfe-Tan
4cdc852ea3 cherry-pick conflicts. 2021-07-20 10:55:13 +10:00
Brice-W
829fd1c199 menu fixes 2021-07-19 10:23:20 +10:00
Brice-W
e9f70d8c82 fix issue 2021-07-19 09:31:24 +10:00
Brice-W
9a420f85ce fixes 2021-07-16 16:20:34 +10:00
Brice-W
74147d8c3d Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into focus-issue 2021-07-16 15:53:46 +10:00
Brice-W
4f98917eaf clean 2021-07-16 13:49:32 +10:00
Brice-W
1397107dff fix issues 2021-07-16 13:48:08 +10:00
Brice-W
db46c2960b update in marking read message 2021-07-16 13:32:58 +10:00
Audric Ackermann
3c0ea2b900
Merge pull request #1781 from Bilb/fix-link-device
fix link device. start polling for our pubkey
2021-07-16 10:50:54 +10:00
audric
41c2ce67a7 fix link device. start polling for our pubkey 2021-07-16 10:33:06 +10:00
Audric Ackermann
0e4d7ec21a
WIP 2021-07-16 09:34:32 +10:00
Brice-W
c38d2a5ea7 revert prev changes + marking read now based on received_at 2021-07-15 16:48:54 +10:00
Audric Ackermann
a54345a42e
put back quote a message logic with hook 2021-07-14 16:36:55 +10:00
Audric Ackermann
9a380b716b
put saveAttachemntToDisk outside of component 2021-07-14 15:57:03 +10:00
Audric Ackermann
5c8bb358c6
mmeoise callbacks for right panel attachments 2021-07-14 14:39:19 +10:00
Audric Ackermann
511adcf388
refactored right panel to hook 2021-07-14 13:56:13 +10:00
Audric Ackermann
4ca5a4f093
fixup selected message in redux logic 2021-07-14 11:48:57 +10:00
Audric Ackermann
787e3a32d0
remove count of unread in unread message banner 2021-07-14 11:30:02 +10:00
Audric Ackermann
16d34a7137
moved conversations reducer to createSlice 2021-07-14 10:53:03 +10:00
Audric Ackermann
63b81b4c8e
cleanup SessionMessageList p1 2021-07-13 17:00:20 +10:00
Brice-W
46dc6c6275 pin conversations added to header menu 2021-07-13 15:38:59 +10:00
Brice-W
5d7d58fe05 move NotificationForConvoOption declaration + getConversationNotificationSettingType created as used twice 2021-07-13 15:34:56 +10:00
Brice-W
adab2b4506 add Notifications in conversations context menu 2021-07-13 15:14:43 +10:00
Audric Ackermann
399041c5b3
cache identity pair and add some per measure 2021-07-13 14:19:06 +10:00
Brice-W
14ef4cd39a adding lastReadTimestamp property 2021-07-13 13:08:46 +10:00
Audric Ackermann
4ec1392aec
do local attachments decrypt/encrypt in worker 2021-07-13 11:50:11 +10:00
Audric Ackermann
e8f0c4aaec
move libloki to webworker and remove unused stuff in it 2021-07-13 11:16:59 +10:00
Brice-W
151fc758c0 format 2021-07-12 16:44:31 +10:00
Audric Ackermann
1b2a644e7a
fixed crash on leftpaneContactSection 2021-07-12 16:08:35 +10:00
Audric Ackermann
3e27a397d7
bump version of node-sass 2021-07-12 15:49:51 +10:00
Audric Ackermann
78caaa2bfd
fix tests 2021-07-12 15:22:06 +10:00
Audric Ackermann
c1ffe23b1e
moved verifySignature of opengroup messages to a worker 2021-07-12 15:15:40 +10:00
Brice-W
c98fdec10e adding new files 2021-07-12 15:03:30 +10:00
Brice-W
2af9d9e15d use of a custom hook to detect focus 2021-07-12 14:35:43 +10:00
Audric Ackermann
5b0b165ba9
Merge remote-tracking branch 'upstream/clearnet' into perf-improv 2021-07-12 13:01:23 +10:00
Audric Ackermann
3ae1ac6118
remove unused libsignal stuff 2021-07-12 10:38:03 +10:00
Audric Ackermann
8760a59875
nodefetch headers as on mobile + cleanup worker code 2021-07-09 15:31:10 +10:00
Audric Ackermann
aead3d6510
force headers to be empty for onion_req request 2021-07-09 14:20:48 +10:00
Audric Ackermann
32cb19125f
remove signalprotocoladress unused 2021-07-09 14:00:28 +10:00
Audric Ackermann
9a302fb5ff
add a cache of the keypairs for a closed group 2021-07-09 11:45:26 +10:00
Audric Ackermann
7cc7db5d4a
batch conversaiton UI refreshes 2021-07-08 17:21:27 +10:00
Audric Ackermann
f0fad6edfa
uniformized props for Message 2021-07-08 16:43:32 +10:00
Audric Ackermann
ee4a0b9b1e
cleanedup redux action openConversationExternal 2021-07-08 16:12:58 +10:00
Audric Ackermann
7f76ab274c
added a hook to fetch avatar of closed group members 2021-07-08 16:11:43 +10:00
Brice-W
936f9a3efc don't mark message as read if app isn't focused 2021-07-08 15:03:27 +10:00
Audric Ackermann
016461f506
mark message as read on click on scroll to bottom button 2021-07-08 13:30:09 +10:00
Audric Ackermann
b385a9b101
test with better-sqlite3 bindings 2021-07-08 13:00:20 +10:00
Audric Ackermann
bf76abacee
Merge pull request #1770 from Brice-W/pin-conversations
Pin conversations
2021-07-07 14:03:01 +10:00
Brice-W
5252dd40e3 fixes 2021-07-07 13:43:33 +10:00
Brice-W
f1e4cbaabf clean 2021-07-07 11:16:12 +10:00
Audric Ackermann
4fbb0d48f2
remove index as key 2021-07-07 10:40:02 +10:00
Brice-W
14cecb1216 menu item creation moved to getPinConversationMenuItem 2021-07-07 10:37:35 +10:00
Brice-W
ff7f201e04 add feature flag 2021-07-07 10:19:35 +10:00
Brice-W
03891a9438 revert last commit 2021-07-07 09:29:04 +10:00
Brice-W
21b8b9f35b memory optimization 2021-07-06 17:21:43 +10:00
Brice-W
c3bf2a4e96 fixes and tests 2021-07-06 17:16:05 +10:00
Audric Ackermann
97b9156562
improve performamce by memoizing avatar and menus 2021-07-06 17:14:00 +10:00
Brice-W
b2deeb39be clean 2021-07-06 15:05:04 +10:00
Brice-W
75a20e5de7 simplification by using derived data 2021-07-06 15:02:29 +10:00
Audric Ackermann
87a8385629
move timerOptions to redux 2021-07-06 14:40:45 +10:00
Audric Ackermann
e451cdd78f
rename message props to messageProps 2021-07-06 14:22:22 +10:00
Audric Ackermann
c8aa73626e
do not load right panel data unless it is visibl 2021-07-06 14:02:47 +10:00
Brice-W
e3aa500ba0 i18n labels for pin conversations limit 2021-07-06 14:01:29 +10:00
Brice-W
4ddc00c9b6 set a limit numer to pinned conversations 2021-07-06 13:34:39 +10:00
Audric Ackermann
f0db797a9a
fix loading of messages props 2021-07-05 17:09:17 +10:00
Audric Ackermann
3f0088ed2a
fix memory leak on avatar place holder useEffect 2021-07-05 15:55:04 +10:00
Audric Ackermann
672eb91975
add types for message props and remove props function calls msg 2021-07-05 15:54:35 +10:00
Audric Ackermann
6deb97dbc0
WIP 2021-07-05 11:23:47 +10:00
Audric Ackermann
a0afd3efe4
add some performance measure for commit calls 2021-07-05 10:30:33 +10:00
Audric Ackermann
ca331b95a6
remove coverage unused 2021-07-05 10:26:40 +10:00
Brice-W
dcd8da87ca fix errors 2021-07-02 14:59:09 +10:00
Brice-W
6b8a4ffc6c display link preview popup only time 2021-07-02 14:35:28 +10:00
Audric Ackermann
6ca466cc22
fix about window localized string 2021-07-02 11:58:43 +10:00
Audric Ackermann
ef0b07bb7a
WIP 2021-07-01 14:39:13 +10:00
Warrick Corfe-Tan
4decda9cff Merge branch 'clearnet' into pin-conversations 2021-06-30 15:39:30 +10:00
Warrick Corfe-Tan
535a66b879 minor tidying 2021-06-30 15:36:19 +10:00
Warrick Corfe-Tan
cf6ac09300 Refactor to functional components 2021-06-30 15:19:37 +10:00
Audric Ackermann
e5a60af93f
Merge pull request #1751 from Bilb/fix-expire-without-seeing
do not start expire timer before seing message
2021-06-30 15:09:44 +10:00
Audric Ackermann
e9714f8db8
Merge pull request #1734 from Bilb/fix-clear-all-data
add loading for leaving opengroup dialog
2021-06-30 15:09:23 +10:00
Audric Ackermann
a0811b699c
Merge pull request #1744 from Bilb/use-retrieve-status-for-isOnline
use our retrieve status as isOnline status
2021-06-30 15:08:49 +10:00
audric
9cb69cf8fd do not start expire timer before seing message 2021-06-30 15:02:22 +10:00
Warrick Corfe-Tan
563dff64ae yarn linting and formatting, 2021-06-30 13:12:25 +10:00
Warrick Corfe-Tan
36cf05db1b Switched conversation pin state. 2021-06-30 13:09:09 +10:00
Audric Ackermann
52293d6787
fix trust do not trigger redownload of already dl medias 2021-06-29 16:37:49 +10:00
Warrick Corfe-Tan
08db057ad9 Merge branch 'clearnet' into pin-conversations 2021-06-29 16:27:22 +10:00
Warrick Corfe-Tan
49415e3bf0 Yarn formatting and linting. 2021-06-29 16:21:45 +10:00
Warrick Corfe-Tan
264f97663e Persisting conversation pin statuses. 2021-06-29 15:57:37 +10:00
Audric Ackermann
447f862ace
add some static glowing to the actionpanel light 2021-06-29 15:23:48 +10:00
Audric Ackermann
504a9afc0a
fix up handling of clock out of sync 2021-06-29 14:55:59 +10:00
Audric Ackermann
e85f69a144
use our retrieve status as isOnline status 2021-06-29 13:59:41 +10:00
Warrick Corfe-Tan
60b3032833 Exclude showing pin icon and menu item for contacts list. 2021-06-29 13:14:35 +10:00
Audric Ackermann
19555b99a0
Merge pull request #1723 from Bilb/poll-less-often-group-not-active
Poll less often group not active
2021-06-29 11:48:42 +10:00
Audric Ackermann
50d4481672
fix symbols allowed for password + update tests 2021-06-29 11:21:03 +10:00
Warrick Corfe-Tan
6dd7f34e4d Pin conversations WIP. Pinning functioning and persisting on conversation list. 2021-06-29 10:52:55 +10:00
Audric Ackermann
10702088e2
allow sending messages even if our app is expired 2021-06-29 10:39:40 +10:00
Audric Ackermann
bab0a94e0d
make moderator strings add/remove error more explicit 2021-06-29 10:01:04 +10:00
Audric Ackermann
66c86a3cf6
never show pubkey for quoted message author 2021-06-28 16:55:44 +10:00
Audric Ackermann
3424796212
Merge pull request #1735 from Bilb/vertical-line-onion
Vertical line on onion path modal
2021-06-28 15:37:44 +10:00
Audric Ackermann
5e55c2cfab
fix lint 2021-06-28 15:09:14 +10:00
Audric Ackermann
4eb76df60c
fix line on onion path modal 2021-06-28 15:02:02 +10:00
Audric Ackermann
15aa6b5ef9
add loading for leaving opengroup dialog 2021-06-28 13:31:21 +10:00
Warrick Corfe-Tan
00c7c8b969 vertical line wip. 2021-06-28 13:25:20 +10:00
Audric Ackermann
4e8dcefa9a
Merge pull request #1731 from Bilb/fix-clear-all-data
show loading while sending last config message
2021-06-28 11:50:10 +10:00
Audric Ackermann
ce9155a6bf
fix refresh random snode pool after getting new guardNodes 2021-06-28 11:46:35 +10:00
Audric Ackermann
e4dae7f408
show loading while sending last config message 2021-06-28 11:45:44 +10:00
Warrick Corfe-Tan
fe474425ba wip vertical line. 2021-06-28 11:30:22 +10:00
Audric Ackermann
d686076ba8
Merge remote-tracking branch 'upstream/clearnet' into play-custom-speed-button 2021-06-25 16:33:06 +10:00
Audric Ackermann
9bdd6ad139
add button to control speed playback on the player 2021-06-25 16:19:16 +10:00
Audric Ackermann
4a491e6a6a
lint 2021-06-25 15:33:31 +10:00
Audric Ackermann
13bc1a21d9
add test for swarmPolling variable rate 2021-06-25 15:22:26 +10:00
Warrick Corfe-Tan
5b5cea6831 minor formatting and linting changes. 2021-06-25 15:16:37 +10:00
Warrick Corfe-Tan
c04d3cd7d1 minor move function to larger scope 2021-06-25 14:47:42 +10:00
Warrick Corfe-Tan
f2984d0b38 removed comment. 2021-06-25 14:02:04 +10:00
Warrick Corfe-Tan
210ca13271 Merge branch 'clearnet' into audio-messages-play-all 2021-06-25 11:05:50 +10:00
Audric Ackermann
51e5ded36b
auto download attachment in closed group 2021-06-25 10:57:51 +10:00
Audric Ackermann
7ea30b70ca
variable swarm polling based on activeAt timestamp 2021-06-25 10:47:25 +10:00
Warrick Corfe-Tan
184c4d5d3e Audio autoplay stop when sent from a different user. 2021-06-25 10:18:53 +10:00
Warrick Corfe-Tan
281b72cca0 delete unused reducer 2021-06-25 09:47:54 +10:00
Warrick Corfe-Tan
fc31f8d2b1 Merge branch 'clearnet' into audio-messages-play-all 2021-06-25 09:10:44 +10:00
Audric Ackermann
29c29c5752
fix click to trust only dling file received 2021-06-24 17:12:34 +10:00
Warrick Corfe-Tan
be11c37a59 Linting and formatting. 2021-06-24 17:06:21 +10:00
Warrick Corfe-Tan
5a62fabd1c Doesn't autoplay new messages once if last message received was an autoplayed. 2021-06-24 16:53:34 +10:00
Audric Ackermann
712f76a53c
Merge remote-tracking branch 'upstream/clearnet' into remove-conversationct-singleton 2021-06-24 16:42:00 +10:00
Audric Ackermann
9e5d33d849
trigger download for past messages when trusting contact 2021-06-24 16:37:37 +10:00
Audric Ackermann
a0b3e1c40f
add a gallery icon and cleanup 2021-06-24 16:22:01 +10:00
Audric Ackermann
802bd169d7
remove opengroupmanager singlteon 2021-06-24 15:35:42 +10:00
Warrick Corfe-Tan
da00ac8d44 Saving userConfig redux slice to local storage. 2021-06-24 15:31:20 +10:00
Audric Ackermann
e090b8e8c6
remove getInstance on swarmPolling 2021-06-24 15:28:20 +10:00
Audric Ackermann
e9e718bfcb
remove getInstance on MessageController=> getMessageController 2021-06-24 15:20:47 +10:00
Audric Ackermann
0b410404a3
remove keypair request manager 2021-06-24 15:19:04 +10:00
Audric Ackermann
89a0868fc3
remove getInstance of conversationController to get() 2021-06-24 15:10:38 +10:00
Warrick Corfe-Tan
3bd72df258 linting and formatting. 2021-06-24 14:13:45 +10:00
Warrick Corfe-Tan
397b0d09dc Merge branch 'clearnet' into audio-messages-play-all 2021-06-24 14:01:34 +10:00
Warrick Corfe-Tan
856ced056a Minor tidying. 2021-06-24 14:00:07 +10:00
Warrick Corfe-Tan
d35f3f9e62 WIP: audio autoplay working with consecutive messages. Next step store state on shutdown and rename variables. 2021-06-24 13:43:52 +10:00
Audric Ackermann
7fadfac7dc
fix spinner for onion path loading dialog 2021-06-24 12:59:34 +10:00
Audric Ackermann
d7eb0d5af1
lint 2021-06-24 11:15:44 +10:00
Audric Ackermann
27b4ac283f
render spinner onion path dialog if no path 2021-06-24 11:13:11 +10:00
Audric Ackermann
54f06cca1b
disable editing of open group name 2021-06-24 11:01:03 +10:00
Audric Ackermann
f1ee7589a0
fix session password dialog 2021-06-24 10:50:35 +10:00
Audric Ackermann
151dcd1431 fix up onion path animation with no glowing nodes 2021-06-23 13:19:02 +10:00
Warrick Corfe-Tan
f381102860 WIP: autoplay consecutive messages. Setting state done. 2021-06-22 17:04:57 +10:00
Audric Ackermann
e8020348b4
fix up onion path animation with no glowing nodes 2021-06-22 14:28:46 +10:00
Warrick Corfe-Tan
02713328db removed line. 2021-06-22 11:47:29 +10:00
Warrick Corfe-Tan
fce639bb6c Fix snode return 2021-06-22 11:43:27 +10:00
Audric Ackermann
bfb4c00583
Merge pull request #1709 from Bilb/fix-fetch-snodes-from-db
fix snode fetch from seed if not enough on app start in db
2021-06-22 11:28:36 +10:00
Audric Ackermann
bfbcde1c2b
Merge pull request #1707 from Bilb/fix-onion-path-light-orange
fix moderator dialogs and opengroup
2021-06-22 11:27:06 +10:00
Audric Ackermann
bc3819aab7
Merge pull request #1708 from warrickct/link-visit-confirmation
Link visit confirmation
2021-06-22 11:26:55 +10:00
Audric Ackermann
156a880472
fix snode fetch from seed if not enough on app start in db 2021-06-22 11:26:30 +10:00
Warrick Corfe-Tan
82d79accdb remove unused import 2021-06-22 09:34:09 +10:00
Warrick Corfe-Tan
877bd34271 Minor formatting 2021-06-22 09:30:12 +10:00
Warrick Corfe-Tan
23c83662e7 Added message entries for message link visit warning. 2021-06-22 09:15:47 +10:00
Warrick Corfe-Tan
a9913d29f7 Link guard working. 2021-06-21 17:09:15 +10:00
Warrick Corfe-Tan
4776c6bd57 Revert "WIP refactoring message component."
This reverts commit ad175fafd7.
2021-06-21 16:37:54 +10:00
Audric Ackermann
09d9db38e8
move taskWithTimeout to typescript 2021-06-21 16:12:51 +10:00
Audric Ackermann
34835ef68f
fix createf instead use useRef for h5 audio player 2021-06-21 15:36:12 +10:00
Audric Ackermann
013df7fa2c
Merge remote-tracking branch 'upstream/clearnet' into fix-onion-path-light-orange 2021-06-21 15:18:47 +10:00
Warrick Corfe-Tan
e2ce6c35ee PR fixes. 2021-06-21 15:07:58 +10:00
Audric Ackermann
788493e856
remove some unused props for messages 2021-06-21 14:46:29 +10:00
Warrick Corfe-Tan
ad175fafd7 WIP refactoring message component. 2021-06-21 14:43:27 +10:00
Audric Ackermann
a659d5b480
fix open group invitation logic 2021-06-21 14:26:28 +10:00
Audric Ackermann
9ed030fac6
fix moderator add/remove 2021-06-21 14:10:06 +10:00
Warrick Corfe-Tan
b92efb9fc6 minor animation tweak 2021-06-21 13:50:47 +10:00
Warrick Corfe-Tan
250db61356 Merge branch 'clearnet' into merge-dialogs 2021-06-21 13:50:37 +10:00
Warrick Corfe-Tan
061cb38300 Linting and formatting changes applied. 2021-06-21 13:36:28 +10:00
Warrick Corfe-Tan
207026025c Merge branch 'merge-dialogs' of https://github.com/Bilb/loki-messenger into merge-dialogs 2021-06-21 12:59:36 +10:00
Audric Ackermann
9a08ab68bc
fix onion path status light for orange color 2021-06-21 12:08:51 +10:00
Warrick Corfe-Tan
9730471d59 Added ability to toggle playback speed for audio messages via context menu, 2021-06-21 11:42:27 +10:00
Audric Ackermann
6c1cac9203
fixup edit profile dialog 2021-06-21 11:42:25 +10:00
Audric Ackermann
b64e8bf610
fix seed dialog and leave group as admin dialog 2021-06-21 10:59:37 +10:00
Warrick Corfe-Tan
43855f9986 animation tweak to onion path status. 2021-06-21 10:25:29 +10:00
Warrick Corfe-Tan
740dedecc7 Switched hook used for checking online status. 2021-06-21 09:44:02 +10:00
Warrick Corfe-Tan
0c5fd6236d lengthen glow animation cycle length. 2021-06-21 09:41:34 +10:00
Audric Ackermann
fa6fcfc829
Merge remote-tracking branch 'w/link-preview-dialog' into merge-dialogs 2021-06-18 16:56:08 +10:00
Audric Ackermann
0d11dab622
fix onion path since moved to redux 2021-06-18 16:49:13 +10:00
Audric Ackermann
651921590c
reduxify remaining dialogs 2021-06-18 16:44:28 +10:00
Warrick Corfe-Tan
6affca034d yarn linting fixes. 2021-06-18 16:36:43 +10:00
Warrick Corfe-Tan
f356c9b843 Yarn formatting. 2021-06-18 16:30:42 +10:00
Warrick Corfe-Tan
15afdbfa7d Link preview confirmation dialog working. 2021-06-18 16:28:24 +10:00
Warrick Corfe-Tan
e27e299f14 minor refactor. 2021-06-18 16:18:51 +10:00
Warrick Corfe-Tan
5c9e4b7c86 Merge branch 'merge-dialogs' into link-preview-dialog 2021-06-18 15:57:26 +10:00
Warrick Corfe-Tan
64545ec7c4 Merge branch 'merge-dialogs' of https://github.com/Bilb/loki-messenger into merge-dialogs 2021-06-18 15:56:46 +10:00
Warrick Corfe-Tan
6393a4ff27 Confirmation box appearing on link paste but no functionality is changed yet. 2021-06-18 15:44:11 +10:00
Warrick Corfe-Tan
4f8e455b38 WIP. Adding confirmation to show link preview on pasting into composition box. 2021-06-18 15:02:55 +10:00
Audric Ackermann
93e43fe929
move conversation dialogs to redux store 2021-06-18 14:31:16 +10:00
Warrick Corfe-Tan
eb2e60b2eb Fixed update-group-name dialog styling. 2021-06-18 11:34:10 +10:00
Warrick Corfe-Tan
24749ddd5a Fixed onion path glow animation. 2021-06-18 10:31:05 +10:00
Audric Ackermann
b4fc19fa78
remove lodash calls left from window 2021-06-17 17:00:59 +10:00