Commit graph

3033 commits

Author SHA1 Message Date
warrickct
40396224dc adding feature flag for config message receiving 2021-11-16 14:40:52 +11:00
warrickct
2eab74246b PR changes. Disabling message requests behind feature flags. 2021-11-16 13:46:59 +11:00
warrickct
e5a203a48e adding setting of active_at to hide unapproved messages. 2021-11-16 13:09:44 +11:00
Warrick Corfe-Tan
cb5551c1e9 PR changes 2021-11-14 22:38:07 +11:00
Warrick Corfe-Tan
690abb9d52 adding simple PR changes requested. 2021-11-12 13:49:19 +11:00
Warrick Corfe-Tan
6a62437c3e Blocking, accepting on click and accepting on msg send
working across clients.
2021-11-12 13:29:35 +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
Warrick Corfe-Tan
4ad14e4c5b Added syncing accepting of contact between running instances. 2021-10-29 10:58:40 +11:00
Warrick Corfe-Tan
9e0f128fc6 Adding isApproved field to protobuf. 2021-10-27 10:36:22 +11:00
Warrick Corfe-Tan
d57300688e no longer showing empty space for conversations moved from list. 2021-10-26 22:56:22 +11:00
Warrick Corfe-Tan
116cb25b27 fix icon position 2021-10-26 11:10:54 +11:00
Warrick Corfe-Tan
84e12ff42f Alter request button item positioning. 2021-10-26 10:57:51 +11:00
Warrick Corfe-Tan
b6c1578262 WIP message request adding todo note. 2021-10-26 09:21:37 +11:00
Warrick Corfe-Tan
e405b5ffd9 git stash 2021-10-25 17:33:37 +11:00
Warrick Corfe-Tan
dcfa286d77 WIP: fixing missing spaces for list items that have been removed. 2021-10-22 12:12:59 +11:00
Warrick Corfe-Tan
c3f20aceb2 WIP message requesting. Banner styling finished. 2021-10-20 17:49:14 +11:00
Warrick Corfe-Tan
123e68c167 WIP: Adding message requests using existing convo list item. 2021-10-15 10:19:45 +11:00
Warrick Corfe-Tan
5eba4a616e Removing at regex test preventing some urls from rendering as links. 2021-10-04 11:02:58 +11:00
Audric Ackermann
fa32e61982
network delete_all force retries if we get a 421 2021-09-29 17:04:38 +10:00
Audric Ackermann
76100903cb
show ip of onion path on hover of country name 2021-09-22 11:18:11 +10:00
Audric Ackermann
0382d703c5
Merge pull request #1929 from ianmacd/pr1
Display the service node's IP address after its country.
2021-09-21 09:46:51 +10:00
Audric Ackermann
0afb3db604
Merge pull request #1933 from warrickct/add-survey
Adding survey button to settings menu.
2021-09-21 09:38:32 +10:00
Ian Macdonald
14bcbe4ab6
Display the service node's IP address after its country. 2021-09-20 10:11:04 +02:00
Audric Ackermann
4e30614077
disable unsend request on the UI for now (#1934)
* disable unsend request on the UI too

* do not stop propagation of events for message ctx menu
2021-09-20 17:00:54 +10:00
Warrick Corfe-Tan
daae55d62c Adding survey button to settings menu. 2021-09-20 15:44:19 +10:00
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