Commit graph

2708 commits

Author SHA1 Message Date
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
Audric Ackermann
bbbcfd54d6
rename all spacer-* to react component 2021-06-17 16:51:59 +10:00
Audric Ackermann
a5d7995168
merge dialog refctor with clearnet 2021-06-17 16:38:20 +10:00
Audric Ackermann
c9d7f4a1ab
Merge remote-tracking branch 'w/onion-paths' into clearnet 2021-06-17 14:55:25 +10:00
Audric Ackermann
eae9321522
Merge pull request #1701 from Bilb/fix-ons-single-char
allow single chars ONS
2021-06-17 09:40:09 +10:00
Audric Ackermann
09799d83c6
allow single chars ONS 2021-06-17 09:23:54 +10:00
Warrick Corfe-Tan
7c82ccb3e9 user details modal refactor functioning. 2021-06-16 16:08:08 +10:00
Warrick Corfe-Tan
e8d06e86b5 Fixed error message always appearing for group rename. 2021-06-16 16:08:08 +10:00
Warrick Corfe-Tan
8c0bec7a97 invite contacts dialog functioning. 2021-06-16 16:07:52 +10:00
Warrick Corfe-Tan
59b02a5ed4 Update group name modal dialog fixes 2021-06-16 16:07:13 +10:00
Warrick Corfe-Tan
9e5824cee1 Update group rename dialog 2021-06-16 16:06:42 +10:00
Warrick Corfe-Tan
b278aa09df add / remove moderator modals refactored. Need to remove old whisper code and files. 2021-06-16 16:06:42 +10:00
Warrick Corfe-Tan
e55cae697d Refactor confirm modal to redux. 2021-06-16 16:04:05 +10:00
Audric Ackermann
dd9341a196
remove i18n from props everywhere where possible 2021-06-16 15:37:02 +10:00
Audric Ackermann
4b9d2c0692
fix tests 2021-06-16 15:36:06 +10:00
Audric Ackermann
e9217168e4
improve 502 handling with guard node in fault in some cases 2021-06-16 14:52:00 +10:00
Audric Ackermann
b09c44c964
remove context in locales 2021-06-16 11:20:31 +10:00
Audric Ackermann
adb9775848
cleanup trasnlation with latest from crowdin 2021-06-16 10:14:09 +10:00
Audric Ackermann
8ef9c8ed1a
remove delivery receipt logic 2021-06-15 10:12:43 +10:00
Audric Ackermann
3f75fa54ad
delete one opengroupv1 message every 10 sec until there is no more 2021-06-11 15:14:52 +10:00
Audric Ackermann
9796f6fd52
limit the number of returned members to the last 300 2021-06-11 13:12:41 +10:00
Audric Ackermann
27fb732f50
cleanup unused prekeys table 2021-06-11 12:09:57 +10:00
Audric Ackermann
9cff53a256
call table names on sql when possible 2021-06-11 12:04:07 +10:00
Audric Ackermann
c5287158c4
merge protobuf attachment and preview types 2021-06-10 12:27:03 +10:00
Audric Ackermann
b403b89224
fix bug with quote empty profileName 2021-06-10 12:26:48 +10:00
Audric Ackermann
3c80869418
improve bad path handling when snode not in path 2021-06-10 11:41:11 +10:00
Audric Ackermann
5bf844241b
fix tests 2021-06-10 10:27:00 +10:00
Audric Ackermann
03fe67b974
remove unused contact field on message 2021-06-10 09:58:30 +10:00
Audric Ackermann
c1225b3a74
made some timestamp required in the protobuf 2021-06-10 09:58:10 +10:00
Audric Ackermann
173b49723b
rename groupInvitation in proto and remove more stuff unused 2021-06-10 09:08:20 +10:00
Audric Ackermann
c090782919
remove UPDATE type of closed group control message 2021-06-10 09:00:54 +10:00
Audric Ackermann
01fd927070
match envelope type with ios protos 2021-06-10 08:55:25 +10:00
Audric Ackermann
37c9c6b5c3
new closed group send and handle expire timer already set 2021-06-09 11:49:19 +10:00
Audric Ackermann
0a208c0d15
store snodes list on db, use them if possible on app start
if not enough snodes or no snodes at all, a request to the seed node is
made instead
2021-06-08 14:35:30 +10:00
Warrick Corfe-Tan
1bfdbc5c93 WIP: Refactoring modals. 2021-06-08 14:04:09 +10:00
Warrick Corfe-Tan
ddda525f63 refactored password change modal. 2021-06-07 20:27:54 +10:00
Audric Ackermann
2e475450ee
fix deduplication using a hash of recent messages 2021-06-07 17:58:27 +10:00
Warrick Corfe-Tan
09f4b703ef seed dialog refactored 2021-06-07 17:42:45 +10:00
Warrick Corfe-Tan
85e83a221d white sapce 2021-06-07 17:15:06 +10:00
Warrick Corfe-Tan
234ec42162 working with styling 2021-06-07 17:12:21 +10:00
Warrick Corfe-Tan
1925f7725f Session confirm modal appearing and deleting account on OK click. 2021-06-07 17:04:13 +10:00
Audric Ackermann
722f240f3d
fix deduplication based on serverTimestamp 2021-06-07 15:54:44 +10:00
Audric Ackermann
bf9a3e6fad
hide settings for mentions_only notif for 1o1 chats 2021-06-07 15:13:05 +10:00
Audric Ackermann
4a98d911a2
add a HeaderOption to change the notification settings for each convo 2021-06-07 14:20:07 +10:00
Warrick Corfe-Tan
b2dcb695f8 Fixed modal header styling for onion path dialog. 2021-06-07 11:44:49 +10:00
Audric Ackermann
f9dfe4290a
Merge pull request #1680 from Bilb/fix-readd-clear-zombies
add pn server dev url fallback to v2/lsrpc
2021-06-07 11:02:23 +10:00
Audric Ackermann
6b399e3683
add pn server dev url fallback to v2/lsrpc
the dev pn server is not used in the app, this change is just here to
not have to think of switching this part too when debugging against the
pn dev server
2021-06-07 11:00:38 +10:00
Audric Ackermann
94cdbeaa3a
Merge pull request #1678 from Bilb/fix-readd-clear-zombies
Fix readd clear zombies
2021-06-07 10:41:07 +10:00
Audric Ackermann
f186bdbe39
clear our zombie list if we get readded to a closed group 2021-06-07 09:58:33 +10:00
Audric Ackermann
10b5ff9e0d
fix deleteAuthToken by including it on the request 2021-06-07 09:48:53 +10:00
Warrick Corfe-Tan
de3536081a onion-paths-WIP 2021-06-07 08:36:48 +10:00
Warrick Corfe-Tan
e435b6c932 Making some PR changes. 2021-06-04 17:56:09 +10:00
Warrick Corfe-Tan
ec39f7ae9b Moved edit profile saving into edit profile component file. 2021-06-04 14:48:05 +10:00
Audric Ackermann
623f3da4a2
avoid refreshing mentions too often 2021-06-04 13:38:14 +10:00
Audric Ackermann
ecf409bed5
fix slow app while removing v1 convoss 2021-06-04 12:19:44 +10:00
Audric Ackermann
d44c55b6af
WIP 2021-06-04 10:21:05 +10:00
Audric Ackermann
118813661d
remove inte tests + handle opengroupv2 messages in chunk
this is to avoid freezing UI and is only a temporary fix

We need to have webworkers in this app
2021-06-03 18:27:11 +10:00
Audric Ackermann
f3768a674a
short error on no network for retry sending message 2021-06-03 14:30:58 +10:00
Warrick Corfe-Tan
72d31bf158 Modal header additions. Close and back button. 2021-06-02 19:58:33 +10:00
Warrick Corfe-Tan
066e0d954e lights glowing but not yet in order.
WIP glow cycle.

Glow animation working.

Glow animation working, modal no longer interferring with left menu margins.

Cleaning up code. Adding PR suggestions.

Adding typing.

Refactor edit profile modal dialog to no longer use the signal code.
2021-06-02 15:57:56 +10:00
Audric Ackermann
94a0748d71
add some logs to opengroup retry 2021-06-02 15:57:38 +10:00
Audric Ackermann
9a9fb7271e
add some logs when fetching a new token opengroupv2 2021-06-02 14:24:20 +10:00
Audric Ackermann
0aefd1b2bf
add handling of old ONS names too 2021-06-02 13:59:48 +10:00
Audric Ackermann
60f40c44c6
make sure the returned ONS session id is a valid sessionID 2021-06-02 12:36:25 +10:00
Audric Ackermann
a8a8372a08
disable ONS input while fetching 2021-06-02 12:31:56 +10:00
Audric Ackermann
d0c1a2bf3a
add ONS resolve for new ONS and loading on message overlay 2021-06-02 12:29:06 +10:00
Audric Ackermann
61b04929f0
show a spinner while default rooms are loading 2021-06-01 16:01:59 +10:00
Audric Ackermann
b055165a5d
display a message when the recipient screenshots an attachemnt 2021-06-01 15:46:29 +10:00
Audric Ackermann
810ccdf675
send dataExtractionNotificaionMessage on saving attachment on priv chats 2021-06-01 10:08:16 +10:00
Audric Ackermann
b87faa9291
fix SessionIcon viewbox being out of bounds 2021-05-31 15:40:23 +10:00
Audric Ackermann
d6b7463f5f
remove unused crypto marking us as coinminer
hopefully
2021-05-31 14:26:50 +10:00
Audric Ackermann
70e72cb92d
fix compile errors with SessionIcon 2021-05-31 14:11:20 +10:00
Audric Ackermann
718f6dea9f
Merge remote-tracking branch 'upstream/master' into remove-fsv1-sogsv1 2021-05-31 13:48:20 +10:00
Audric Ackermann
8a2efb83ec
Merge branch 'clearnet' into remove-fsv1-sogsv1 2021-05-31 13:46:19 +10:00
Audric Ackermann
0192f295f2
move the user fetch for mentions to redux 2021-05-31 13:44:13 +10:00
Audric Ackermann
c8878f0a19
remove existing opengroups v1 from db along with every messages 2021-05-31 13:08:26 +10:00
Audric Ackermann
744be229b7
move the PN server notify() to not use dot_net_api 2021-05-31 12:16:48 +10:00
Audric Ackermann
6f8c8ee1b3
remove most of sogsv1 and fsv1 and update version fetch url
version fetch is used to know when we have a new update
2021-05-31 11:22:37 +10:00
Audric Ackermann
c9614cea9e
Merge pull request #1667 from Bilb/fix-attachment-name-sending
do not overwrite attachment name on sending side
2021-05-27 15:12:03 +10:00
Audric Ackermann
3456162402
Moved opengroupv1 test to opengroupv2 tests 2021-05-27 14:51:56 +10:00
Audric Ackermann
81553aed57
do not overwrite attachment name on sending side
Relates #1593
2021-05-27 14:41:57 +10:00
Audric Ackermann
cbae5af36a
remove dialog unstable attachment
again
2021-05-27 12:47:08 +10:00
Audric Ackermann
f6ced14054
Merge branch 'clearnet' into accept-keypair-closed-group-existing 2021-05-27 11:05:35 +10:00
Audric Ackermann
b15eeb00cd
fixup duration missing 2021-05-27 11:05:00 +10:00
Audric Ackermann
e40a2692d6
Merge branch 'clearnet' into accept-keypair-closed-group-existing 2021-05-27 10:56:13 +10:00
Audric Ackermann
caf8397d29
Merge pull request #1652 from Bilb/fetch-x-messages-long-away
Fetch last messages only when long away from room
2021-05-27 10:39:39 +10:00
Audric Ackermann
9c568caf1f
fix replying to audio message crash
Fixes #1657
2021-05-26 15:47:02 +10:00
Audric Ackermann
9c8f935e03
fix up dirty hack to display mentions correctly
Fixes #1658
2021-05-26 15:41:49 +10:00
Audric Ackermann
db54cb37b9
hide failing call to deleteAuthToken logs 2021-05-26 15:04:28 +10:00
Audric Ackermann
637e092a00
make sure fileserver v1 is not supported and not used anymore 2021-05-26 14:35:09 +10:00
Audric Ackermann
a2ee3ac98f
Merge remote-tracking branch 'upstream/clearnet' into scoring-system 2021-05-26 14:15:54 +10:00
Audric Ackermann
7d73f9a593
drop support for old file server avatar download 2021-05-26 14:14:14 +10:00
Audric Ackermann
88036edd38
add more tests for multi errors onion rebuild 2021-05-26 13:47:53 +10:00
Warrick Corfe-Tan
98fe0a87d8 WIP making changes to modal. 2021-05-26 10:05:07 +10:00
Warrick Corfe-Tan
22a32283b7 WIP Adding country and styling to modals. 2021-05-26 10:04:26 +10:00
Warrick Corfe-Tan
d7b22e13e1 WIP: Onion path modal using redux state and refactored modals. 2021-05-26 09:58:33 +10:00
Audric Ackermann
05745d7726
add tests to drop snode from path after 3 failure 2021-05-25 17:40:08 +10:00
Audric Ackermann
2e9a34f72b
add tests for handling of OXEN_SERVER_ERRORS 2021-05-25 16:10:00 +10:00
Audric Ackermann
53c9bb1012
add some tests for 421 handling at destination 2021-05-25 15:11:58 +10:00
Audric Ackermann
bfa203f28b
retry posting message to opengroupv2 2021-05-25 13:44:06 +10:00