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