Commit graph

3207 commits

Author SHA1 Message Date
Audric Ackermann 15ac6ed23c
Merge remote-tracking branch 'upstream/master' into clearnet 2021-09-20 14:00:52 +10:00
Audric Ackermann efebd8ba24
bump to 1.7.2 (#1926)
* 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

* bump to 1.7.2
2021-09-20 13:52:59 +10:00
Audric Ackermann e3c27f1016
fix reply for incoming messages (#1930) 2021-09-20 13:48:20 +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 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 Ackermann 2fdafb8fba
Out of sync message sync (#1923)
* 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
2021-09-17 11:36:36 +10:00
Audric Ackermann e9dfa0704f
do not overwrite sent_at with network time for synced messages (#1921)
* do not update sent_at for synced messages

* reply to message context menu only visible if msg sent
2021-09-17 10:38:27 +10:00
Audric Ackermann 2e0cf0bca9
Fix video play lightbox autostart (#1920)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* fix app start delete db when passowrd error

* fix double dialog issue with delete account

* fixup login screen

* Fix video autoplay start when not initialized

Relates #1904
2021-09-16 14:49:19 +10:00
Audric Ackermann 525f9dcfb2
Fix today for translated date break (#1915)
* add using timestamp offset from network for sending part1

* remove MessageController as we now rely on the database

* fix tests for message sending overriding timestamp

* Fixs date break translations of today etc

Relates #1913
2021-09-16 14:49:11 +10:00
Audric Ackermann b45109985c
use timestamp offset in for messages storage requests (#1892)
* add using timestamp offset from network for sending part1

* remove MessageController as we now rely on the database

* fix tests for message sending overriding timestamp
2021-09-16 14:48:46 +10:00
Audric Ackermann ab75f945ff
Ask confirm before delete account (#1910)
* disable sending on enter while composing

Fixes #1899 #1497

* ask confirmation before deleting account

* fix app start delete db when passowrd error

* fix double dialog issue with delete account

* fixup login screen
2021-09-16 14:42:13 +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 Ackermann a1f5706fea
disable sending on enter while composing (#1909)
Fixes #1899 #1497
2021-09-14 13:17:36 +10:00
Audric Ackermann 797bf0650f
Session 1.7.1 (#1908)
* Keep line breaks when message has some new lines

Relates #1758 and #1898 and #1901

* Fix path building (#1903)

* Keep line breaks when message has some new lines

Relates #1758 and #1898 and #1901

* fix link preview cropped when received

* make sure we fetch from seed if we end up with not enough snodes

* try to download recent previews if we just trusted a user

* throw if we need to rebuild path while fetching snode list from snode

* fixup no refecthing of snode list while we are fetching them already

* added test for fetch from db or seed

* fetch snode list from snode every hour

also make sure the path building does not try to get more snodes. It
just throws

* do not drop a path if an opengroup room is down and we get errors  back

* do not throw an error if the snode in error in not in any path

* fix tests

* bump to v1.7.11
2021-09-13 18:05:49 +10:00
Audric Ackermann c92baad736
Fix path building (#1903)
* Keep line breaks when message has some new lines

Relates #1758 and #1898 and #1901

* fix link preview cropped when received

* make sure we fetch from seed if we end up with not enough snodes

* try to download recent previews if we just trusted a user

* throw if we need to rebuild path while fetching snode list from snode

* fixup no refecthing of snode list while we are fetching them already

* added test for fetch from db or seed

* fetch snode list from snode every hour

also make sure the path building does not try to get more snodes. It
just throws

* do not drop a path if an opengroup room is down and we get errors  back

* do not throw an error if the snode in error in not in any path

* fix tests

* bump to v1.7.11
2021-09-13 17:07:53 +10:00
audric ffe8375dd1 fix build of onion path when snodes count is exactly 12 2021-09-06 14:35:10 +10:00
audric 7c49c51cf8 make outgoing status align flex-end 2021-09-06 10:45:29 +10:00
audric bfc805c9d4 fix search logic and UI cosmetic fixes 2021-09-03 16:47:04 +10:00
audric bf02b85043 finish rework registration page 2021-09-02 17:20:44 +10:00
audric ba35a8cb24 update design of registration page 2021-09-02 16:38:37 +10:00
audric 56412df2b4 fixup registration page with back buttons for now
Relates #1889
2021-09-02 15:08:39 +10:00
audric 8462d7d38e make encrypted content fast load if already stored decrypted 2021-09-02 10:33:42 +10:00
audric 0d90248450 fix scrolling jumping to bottom on new messages 2021-09-02 10:31:08 +10:00
audric 08cdd035ae disable transition for background of leftpane (for app initial load) 2021-09-01 15:25:34 +10:00
audric bd7d88e170 remove theme from css and used variables instead 2021-09-01 14:29:04 +10:00
audric 350f00283b move tsx and theme to css variables part1 2021-08-31 13:58:34 +10:00
audric 62764d25f6 showDate break on > 5 minutes diff between messages 2021-08-31 11:29:33 +10:00
audric a30876fd65 removed the enum from SessionIconType. Just rely on the type itself 2021-08-30 17:57:31 +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 8ebcb2d1e1 replace SessionIcon size enum with type 2021-08-30 14:02:15 +10:00
audric 1048042f7d fix attachment pre-decrypting when out of view 2021-08-27 17:23:46 +10:00
audric cdd11eee47 speed up attachment loading by only loading those inview 2021-08-27 16:57:29 +10:00
audric a986931569 make attacments the same size that they are displayed on the UI 2021-08-27 15:18:44 +10:00
audric 2e9cd0ada6 add date break with full date when older than a week 2021-08-27 14:02:52 +10:00
audric 2825b66ef6 add screen break for jump in messages timestamp 2021-08-27 12:49:33 +10:00
audric 40566a58a4 moved the unread indicator to outside of message items 2021-08-27 11:38:02 +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 714024fb1f fix notification icons 2021-08-26 16:25:14 +10:00
audric 7fa50b4a73 do not pass props not needed between message list components 2021-08-26 16:17:37 +10:00
audric ea2dbb4a69 onionpath status only has ip needed 2021-08-25 16:51:40 +10:00
audric 38665e105a remove search messages frpm search result 2021-08-25 16:19:26 +10:00
audric ec2eab6e23 do not trigger redux update if onion path did not change 2021-08-25 16:18:53 +10:00
audric 4968244491 fix tooltip error in debug run related to memory leak 2021-08-25 15:29:13 +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
audric 3cdc5f1551 fix autofocus on session passowrd login 2021-08-23 11:23:35 +10:00
Audric Ackermann c990fe30c0
Merge pull request #1834 from warrickct/recording-ui
Recording UI
2021-08-20 10:54:16 +10:00
audric 7b93d5df9a fix caption for attachments not displayed once sent 2021-08-20 10:20:23 +10:00
audric de1475b3bb fix slow sending of opengroup message 2021-08-20 09:31:35 +10:00
Warrick Corfe-Tan 22723f1937 Merge branch 'clearnet' into recording-ui 2021-08-20 09:06:01 +10:00
Audric Ackermann cb0cead2a7
Merge pull request #1870 from Bilb/fix-audio-msg-sending
fix audio attachments sending blob
2021-08-19 17:06:18 +10:00
audric f48b57d077 fix audio attachments sending blob 2021-08-19 17:05:23 +10:00
Warrick Corfe-Tan ebb37b44b6 Merge branch 'clearnet' into registration-progress-banner 2021-08-19 13:51:12 +10:00
Audric Ackermann ca96795683
Merge pull request #1869 from Bilb/logs-pn-server
Add logs of PN server notify fails
2021-08-19 13:46:03 +10:00
Audric Ackermann eed48094fe
Merge pull request #1851 from warrickct/simplify-onboarding
Combining registration steps.
2021-08-19 13:45:49 +10:00
Warrick Corfe-Tan 665c717271 adding PR change. 2021-08-19 13:39:51 +10:00
audric 68330b42bf Add logs of PN server notify fails 2021-08-19 13:20:31 +10:00
Warrick Corfe-Tan dbc19adeb8 Adding PR changes, running yarn ready 2021-08-19 12:10:11 +10:00
Warrick Corfe-Tan 0cbcc00180 Adding registration stages file. Somehow became untracked. 2021-08-18 14:18:09 +10:00
Warrick Corfe-Tan b26ec1996d yarn ready 2021-08-18 11:56:53 +10:00
Warrick Corfe-Tan 4564863dd5 yarn ready 2021-08-18 11:54:53 +10:00
Warrick Corfe-Tan 85fca22c08 adding use context pr change. 2021-08-18 11:46:23 +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 e6733551bb applying pr fix 1 2021-08-18 10:55:11 +10:00
Audric Ackermann a3edb99549
Merge pull request #1856 from Bilb/fix-attachment-since-electron-upgrade
Fix attachment since electron upgrade
2021-08-18 10:00:33 +10:00
audric 6a11a4c879 store staged Attachments in redux
still an issue with the File in redux
2021-08-18 09:55:35 +10:00
audric 8a19b50c0f fix attachment not being uploaded since electron upgrade 2021-08-17 16:03:57 +10:00
Warrick Corfe-Tan f255f674c8 Refactoring subcomponents to fix ts-lint errors. 2021-08-17 15:11:40 +10:00
Warrick Corfe-Tan 1783c706b5 refactoring seed modal 2021-08-17 13:08:44 +10:00
Warrick Corfe-Tan af298936d9 Combining and 80 and 90 completion stages. 2021-08-17 10:05:12 +10:00
Audric Ackermann 96df64bd8c
Merge pull request #1847 from warrickct/equal-length-pills
Equalize width open group pills
2021-08-16 16:39:50 +10:00
audric 9f7e20b8b8 showExitIcon in link click dialog 2021-08-16 16:25:26 +10:00
Brice-W a89c6710fb Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into link-previews 2021-08-16 15:10:17 +10:00
Brice-W f6d3715dab add a link icon when there is no image available or when media download is not allowed 2021-08-16 14:46:31 +10:00
Warrick Corfe-Tan 5e019c1af4 lowering z-index 2021-08-16 14:26:52 +10:00
Warrick Corfe-Tan e0a06dd84b Merge branch 'clearnet' into equal-length-pills 2021-08-16 14:11:21 +10:00
Warrick Corfe-Tan 59d52d6e66 running yarn ready 2021-08-16 09:57:38 +10:00
Warrick Corfe-Tan a1194fa7bb Merge branch 'clearnet' into simplify-onboarding 2021-08-16 09:45:10 +10:00
Warrick Corfe-Tan 0c5f2f8232 changing registration component and filename. 2021-08-16 09:42:05 +10:00
Warrick Corfe-Tan bf645f36b7 Combining registration steps. 2021-08-16 09:27:29 +10:00
audric 1e5f10dab9 do not poll for opengroup when offline 2021-08-16 09:15:40 +10:00
Warrick Corfe-Tan 46917a0546 Adding PR changes, passing yarn ready 2021-08-13 16:05:34 +10:00
audric 1af08311dd fix tray cannot be destroyed
Relates #https://github.com/electron/electron/issues/17622
2021-08-13 15:44:32 +10:00
Warrick Corfe-Tan 3606987f32 running yarn ready 2021-08-13 15:38:19 +10:00
Warrick Corfe-Tan 1560c83b2b Adding hover over tooltip for open group pills. 2021-08-13 15:36:33 +10:00
audric 6a50484597 fix tests for swarm polling 2021-08-13 14:51:15 +10:00
audric e5dab2781e remove spectron dependency 2021-08-13 14:47:00 +10:00
audric 43aeacb9c9 fix saving empty list of read messages error 2021-08-13 11:58:05 +10:00
audric 8344c48d88 handle offline status for selectGuardNodes stuff 2021-08-13 11:49:45 +10:00
audric ac40143ad0 disable drag on message body to fix drag overlay bug 2021-08-13 11:44:52 +10:00
Brice-W e5ee3467ac fix popup issue around link preview setting 2021-08-12 16:17:10 +10:00
Brice-W 68979f83d5 Merge branch 'clearnet' of https://github.com/oxen-io/session-desktop into link-previews 2021-08-12 16:01:43 +10:00
Brice-W 384eecd9dc allow receiving link previews when sending is disabled 2021-08-12 15:58:41 +10:00
audric 9e37985d03 enable no-unused local and imports and fix tslint 2021-08-12 14:48:18 +10:00
audric 1ffadad2ad remove ip_url from seed nodes as this is unused 2021-08-12 14:24:20 +10:00
audric 215f2227c1 move what is used only for PN server api call to pnserver.ts 2021-08-12 14:18:03 +10:00
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