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
Audric Ackermann
9204d2f5dd
remove importer
2021-06-21 16:54:20 +10:00
Audric Ackermann
93e43fe929
move conversation dialogs to redux store
2021-06-18 14:31:16 +10:00
Audric Ackermann
b4fc19fa78
remove lodash calls left from window
2021-06-17 17:00:59 +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
a2ee3ac98f
Merge remote-tracking branch 'upstream/clearnet' into scoring-system
2021-05-26 14:15:54 +10:00
Audric Ackermann
8c726fd745
reupload avatar every 10 days
2021-05-25 13:19:57 +10:00
Audric Ackermann
a2ea02960e
add some retries for not already retries requests
2021-05-24 16:03:52 +10:00
Audric Ackermann
5cab7908b4
add some test for partial path rebuilding
2021-05-19 15:54:31 +10:00
Audric Ackermann
c599d0b629
WIP
2021-05-17 14:39:56 +10:00
Audric Ackermann
12d40aa94e
Fix attachment extension vnd ( #1628 )
...
* allow openoffice document extension and don't use
* allow opendocument to be shared with the extension rather than mimetype
Fixes #1593
* allow message without padding
* add test for odt files
2021-05-13 13:32:52 +10:00
Audric Ackermann
8cb50ebc91
move onionPath building to outside of index.ts
2021-05-13 13:18:16 +10:00
Audric Ackermann
58abd08e6d
Get snode from snode ( #1614 )
...
* force deleteAccount after 10sec timeout waiting for configMessage
* move some constants to file where they are used
* add a way to fetch snodes from snodes
* remove a snode from a pubkey's swarm if we get 421 without valid content
* remove getVersion from snodes
* hide groupMembers in right panel for non-group convo
2021-05-12 10:34:53 +10:00
Audric Ackermann
5525312542
syncConf every 7 days and fix link device
2021-05-06 16:00:41 +10:00
Audric Ackermann
7ec663df71
move SwarmPolling from window to require singleton
2021-05-05 16:40:14 +10:00
Audric Ackermann
9bf3cb1880
cleanup actionPanel
2021-04-30 13:26:33 +10:00
Audric Ackermann
710c9fa269
fix http request over onion
2021-04-30 11:12:44 +10:00
Audric Ackermann
cca4de710b
remove featureFlag onion v2 => if onion enabled it is v2
2021-04-29 14:44:16 +10:00
Audric Ackermann
0c0da48150
remove pow
2021-04-28 15:24:45 +10:00
Audric Ackermann
98b69c17f0
add userblocking opengroupv2 and quoting back of messages
2021-04-27 16:56:34 +10:00
Audric Ackermann
8a77c2bc9d
enable outgoing padded attachments
2021-04-27 11:13:51 +10:00
Audric Ackermann
34148e67ec
add return of url after v2 attachment upload
2021-04-26 16:15:27 +10:00
Audric Ackermann
786cd384fb
add the OpenGroupManagerV2 logic to add and remove rooms
2021-04-22 18:04:12 +10:00
Audric Ackermann
f7581cf4eb
increase prettier maxWidth to 100
2021-04-22 18:03:58 +10:00
Audric Ackermann
6896cffd75
Merge branch 'clearnet' into HEAD
2021-04-22 18:02:01 +10:00
Audric Ackermann
27323a12f4
Merge branch 'master' into clearnet
2021-04-22 17:55:35 +10:00
Audric Ackermann
b9586c90ce
working open group v2 getInfo for https only
2021-04-20 14:52:02 +10:00
Audric Ackermann
d98700b17f
allow unpadding of attachments if needed
...
currently, the padding of attachments is disabled behind a featureFlags
2021-04-14 14:15:02 +10:00
Audric Ackermann
ccf8a31ae3
move Attachments and Attachments_test to typescript
2021-04-14 10:34:48 +10:00
Audric Ackermann
b588edb243
fix update of locale moment
2021-03-19 16:34:34 +11:00
Audric Ackermann
b28687980c
fix update of locale moment
2021-03-19 13:59:03 +11:00
Audric Ackermann
35e57f2509
move mnemonic.js to typescript
2021-03-05 14:52:44 +11:00
Audric Ackermann
6fbe060973
move deleteAccount() to AccountManager
2021-03-03 10:36:30 +11:00
Audric Ackermann
e6cf28cb2a
prettier on pre-commit
2021-03-01 12:05:39 +11:00
Audric Ackermann
5d6d81b9ef
Move accountManager to typescript
2021-03-01 10:39:46 +11:00
Audric Ackermann
c55f204440
Merge branch 'clearnet' into restore-handle-configuration
2021-02-25 16:36:03 +11:00
Audric Ackermann
0a82bf98fa
Add displayName and avatar pointer to ConfigurationMessage
2021-02-25 10:28:41 +11:00
Audric Ackermann
e466062f15
WIP
2021-02-23 14:22:01 +11:00
Audric Ackermann
1fc672da28
adress review
2021-02-22 14:40:47 +11:00
Audric Ackermann
5ab3680903
make OnionPath a singleton and build path on app Start only
2021-02-22 09:35:05 +11:00
Audric Ackermann
3ee0ccfac8
remove the forceSave logic for a message, always insert or replace
2021-02-19 13:01:24 +11:00
Audric Ackermann
8ea9f02cec
Move data.js to data.ts
2021-02-15 15:16:52 +11:00
Audric Ackermann
7b81c4213a
Merge clearnet
2021-02-12 14:08:11 +11:00
Audric Ackermann
78e7255cb8
send the keypair to added members if we are admin
...
and remove request encryption keypair handling
2021-02-11 16:40:05 +11:00
Audric Ackermann
36fab86d30
Merge remote-tracking branch 'upstream/clearnet' into move-models-to-ts-2
2021-02-09 15:54:34 +11:00
Audric Ackermann
df0b44db4c
Merge remote-tracking branch 'upstream/clearnet' into multi-device-v2
2021-02-09 13:46:06 +11:00
Audric Ackermann
b76ce0f2ff
update models to TS part2
2021-02-08 16:18:36 +11:00
Audric Ackermann
65ed81e980
enable explicit group updates on the sending side
2021-02-08 15:37:40 +11:00
Audric Ackermann
60afbe7b06
fallback to es for moment when given locale is es-419
2021-02-08 15:36:43 +11:00
Audric Ackermann
0d3e515843
fix max size of closed group back to 100
2021-02-08 15:35:59 +11:00
Audric Ackermann
89ea946b3f
disable sending of explicit group updates for now - only receiving is ON
2021-02-08 15:35:22 +11:00
Audric Ackermann
0fe026ab15
Fix the password length limit when not setting a new password
...
Relates #1446
2021-02-08 15:21:14 +11:00
Audric Ackermann
a51f95d28c
move models to TS part1
2021-02-08 15:20:47 +11:00
Audric Ackermann
aede96b69b
enable explicit group updates on the sending side
2021-02-08 14:12:44 +11:00
Audric Ackermann
b88ea110e8
Add multi device v2 support
2021-02-08 11:56:14 +11:00
Audric Ackermann
9400ec9e1c
Merge pull request #1478 from Bilb/fix-es-419-moment-locale
...
fallback to es for moment when given locale is es-419
2021-02-05 14:29:35 +11:00
Audric Ackermann
812fac4020
fix max size of closed group back to 100
2021-02-05 13:30:26 +11:00
Audric Ackermann
5c1cd7467b
fallback to es for moment when given locale is es-419
2021-02-04 09:27:40 +11:00
Audric Ackermann
ab8aa0d982
disable sending of explicit group updates for now - only receiving is ON
2021-02-01 16:40:23 +11:00
Audric Ackermann
46fdebe3d7
Merge pull request #1459 from Bilb/improve-open-group-loading-speed
...
Improve open group loading speed
2021-01-29 11:43:41 +11:00
Audric Ackermann
02fb5783a4
remove regionCode and PhoneNumber.ts
2021-01-28 09:46:15 +11:00
Audric Ackermann
43ec14e741
Fix the password length limit when not setting a new password
...
Relates #1446
2021-01-27 11:00:32 +11:00
Audric Ackermann
ce8bc84de0
add way to add/remove moderators from the message click handler
2021-01-22 10:13:01 +11:00
Audric Ackermann
135fc3b366
remove prekeys
2021-01-21 17:49:07 +11:00
Audric Ackermann
c0484207d1
Merge branch 'clearnet' into fix-ban-user
2021-01-19 15:44:29 +11:00
Audric Ackermann
6dd9dde44f
increase closed group size limit to 100
2021-01-19 15:35:20 +11:00
Audric Ackermann
75b7788fa9
remove stuff related to web api
2021-01-15 10:56:49 +11:00
Audric Ackermann
d43ae09eb0
first working version of closed group v2
2021-01-12 16:56:21 +11:00
Audric Ackermann
2fe6b11e89
move ConversationController to typescript
2021-01-06 14:26:53 +11:00
Audric Ackermann
cf25e89a14
cleanup unused code
2020-12-15 17:14:18 +11:00
Audric Ackermann
3df0a425de
remove permissions popup window and related stuff
2020-12-09 11:35:31 +11:00
Audric Ackermann
228e4ed662
move MessageController to typescript
2020-12-02 11:26:31 +11:00
Audric Ackermann
5e43210493
Merge branch 'clearnet' of github.com:loki-project/loki-messenger into react-refactor
2020-11-25 13:42:56 +11:00
Audric Ackermann
2ec337dd31
Add back ability to edit caption before sending attachments
2020-11-24 16:12:28 +11:00
Audric Ackermann
f673589c56
add types for blueimp-load-image
2020-11-24 13:19:21 +11:00
Audric Ackermann
c736023c88
enable file onion request v2 in lokiFeatureFlags
2020-11-24 09:05:45 +11:00
Audric Ackermann
da62ba6829
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
2020-11-23 16:26:52 +11:00
Audric Ackermann
f8f15cb9f7
fix remove message for public groups
2020-11-19 13:26:59 +11:00
Audric Ackermann
2f2eb2ad53
link back backbone conversation events to redux store
2020-11-13 17:17:48 +11:00
Maxim Shishmarev
27859b13aa
Added an option to use v3/lsrpc endpoint for more compact (base64) file reponses
2020-11-09 14:25:24 +11:00
Audric Ackermann
94b445983d
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
2020-11-04 10:31:23 +11:00
Audric Ackermann
1f2c01722a
move to new identity key mechanism
...
now we do as followed:
• Generate 16 bytes of random data
• Add 16 bytes of zeros
• Use the 16 bytes of random + 16 bytes of zeros to generate an ED25519 key pair
• Convert the ED25519 key pair to an X25519 key pair
All of this is happening with libsodiumm called over IPC
2020-10-29 13:36:40 +11:00
Audric Ackermann
f5818817e9
remove references to old emoji-panel package
2020-10-27 14:32:59 +11:00
Audric Ackermann
79eae4838d
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
2020-10-27 09:59:23 +11:00
Audric Ackermann
17ac8c4343
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
2020-10-27 09:14:08 +11:00
Audric Ackermann
2b13321c23
remove completely send to proxy
2020-10-22 09:58:32 +11:00
Audric Ackermann
4c91d977ca
move token and submit challenge call to onion request
2020-10-22 09:56:44 +11:00
Maxim Shishmarev
692a0e8cff
Optionally use v2 onions for snode requests
2020-10-21 14:08:12 +11:00
Audric Ackermann
4d991d3992
Merge branch 'clearnet' into react-refactor
2020-10-08 17:23:55 +11:00
Audric Ackermann
c7e54c4257
make attachment download use onion routing
2020-10-08 15:36:57 +11:00
Audric Ackermann
1b6629d818
enable ssk for all ENV by default
2020-09-28 13:16:35 +10:00
Audric Ackermann
c052b1a2ec
update group size limit to 20 now that those are ssk groups
...
Also removed removed description while creating a medium group as it was
removed on mobile
2020-09-25 09:35:39 +10:00
Audric Ackermann
5961e141c1
enable senderkeys feature flags (and so medium groups)
2020-09-25 09:10:12 +10:00
Audric Ackermann
e678895d17
undo enable ssk groups
2020-09-22 08:59:58 +10:00
Audric Ackermann
3a876c7322
add notify to PN server on message sent
2020-09-21 12:26:23 +10:00
Audric Ackermann
dafe8a80ab
shortcut newReceiver when calling dataMessage exported functions
2020-09-02 12:07:44 +10:00
Audric Ackermann
fec3a0f643
remove install_view.js
2020-08-17 14:03:51 +10:00
Audric Ackermann
3945c6b208
Merge remote-tracking branch 'upstream/clearnet' into react-refactor
2020-08-10 10:51:33 +10:00
Audric Ackermann
58dd064e93
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests
2020-08-07 10:00:37 +10:00
Audric Ackermann
fc664a2580
show a toast on secondary device forced unlink
2020-08-06 14:23:38 +10:00
Mikunj
49b994367d
Remove multi device data.
...
Force wipe secondary devices.
2020-08-04 11:56:15 +10:00
Mikunj
c0fca99485
Disable multi device
2020-08-04 11:23:48 +10:00
Audric Ackermann
933eb73aa1
Merge remote-tracking branch 'upstream/clearnet' into fix-integration-tests
2020-08-03 11:48:00 +10:00
Audric Ackermann
c12c3b5f64
move stub of integration tests to typescript
2020-08-03 11:25:06 +10:00
Audric Ackermann
e806e912a3
move password_utils.js to typescript
2020-07-30 11:07:36 +10:00
Audric Ackermann
e2a42d1b61
add stubbing of messageQueue in window from ts tests
2020-07-29 11:25:36 +10:00
Audric Ackermann
ef0bbf897d
enable onion file server by default
2020-07-27 09:51:46 +10:00
Vincent
707200718d
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into refactor-ts-react
2020-07-17 16:37:05 +10:00
Vincent
c26e20d33f
css-loader
2020-07-16 16:39:35 +10:00
Mikunj
9e14615cd2
Remove RSS Feeds
2020-07-16 13:39:40 +10:00
Vincent
54b7d9a21b
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into refactor-ts-react
2020-07-16 11:57:42 +10:00
Maxim Shishmarev
237bd84b35
Fix medium group sending for single device users; protocol changes
2020-07-10 17:59:33 +10:00
Vincent
6078be1657
revive-ts-refactor
2020-07-08 17:12:34 +10:00
Vincent
83528f4b8d
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into refactor-ts-react
2020-07-08 16:42:30 +10:00
Maxim Shishmarev
ae35626b35
Merge pull request #1221 from msgmaxim/ts-onion-requests
...
Move onion requests to typescript
2020-07-07 16:01:19 +10:00
Mikunj Varsani
f11e0f2cd0
Merge pull request #1222 from Mikunj/blocking
...
Fix up Blocking
2020-07-07 15:51:59 +10:00
Maxim Shishmarev
6919f53a45
Move constants to preload.js
2020-07-07 11:05:04 +10:00
Mikunj
aa75205bbd
Move BlockedNumberController to ts
2020-07-07 10:24:24 +10:00
Maxim Shishmarev
12f73e23f2
Move onion requests to typescript
2020-07-07 09:57:52 +10:00
Vincent
4c48c9f6d6
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into closed-group-fixes
2020-07-07 09:50:08 +10:00
Maxim Shishmarev
d5a98b8b47
Remove swarm nodes from conversations
2020-07-06 15:41:52 +10:00
Vincent
6e1f3fdc75
linked-devices-limit
2020-07-06 14:19:13 +10:00
Maxim Shishmarev
9cdb7710ec
Stub out swarm polling
2020-07-03 14:01:46 +10:00
Maxim Shishmarev
0904e7a8ca
Refactor from message polling to content message handling
2020-06-30 18:10:35 +10:00
Mikunj
ae2b8334e0
Replace bytebuffer component
2020-06-18 10:49:59 +10:00
Maxim Shishmarev
8ca7b8cfb4
Message receiving refactor: handleDataMessage onwards
2020-06-12 18:08:44 +10:00
Audric Ackermann
d7e9d6cfb8
move SESSION_REQUEST processing to handleSessionRequestMessage()
2020-06-12 08:40:35 +10:00
Audric Ackermann
d1518f8233
add new handling of session request message
2020-06-11 11:43:58 +10:00
Mikunj
9b855a11e1
Added MessageSender tests
2020-06-09 12:30:19 +10:00
Mikunj
3ea0689d2f
Linting
2020-06-05 13:07:11 +10:00
Mikunj
e6139a5463
Merge branch 'clearnet' into message-sending-refactor
2020-06-05 13:05:23 +10:00
Audric Ackermann
1b39992e4a
enable senderKey during integration test
2020-06-04 09:17:45 +10:00
Audric Ackermann
73e15250d7
Merge remote-tracking branch 'upstream/clearnet' into integration-test-logs-rebased
2020-06-03 15:56:48 +10:00
Audric Ackermann
a656e3ba3f
add env variable to enable message_logs
2020-06-03 15:35:11 +10:00
Mikunj
4985fbae65
Increase onion request hops to 3
2020-06-03 15:26:27 +10:00
Maxim Shishmarev
ab2aa7669f
Add sender key feature flag
2020-05-29 17:49:23 +10:00
Maxim Shishmarev
fcadcd780e
More integration tests for medium groups
2020-05-29 17:48:57 +10:00
Vincent
07e7afeb31
Merge branch 'clearnet' of https://github.com/loki-project/session-desktop into lns-map
2020-05-28 15:40:55 +10:00
Audric Ackermann
64fca28aa8
Merge remote-tracking branch 'upstream/clearnet' into integration-test-logs-rebased
2020-05-28 08:58:48 +10:00
Ryan Tharp
e69828d490
Merge pull request #1100 from neuroscr/fileonion
...
File server onion routing support
2020-05-26 22:19:48 -07:00
Ryan Tharp
78991416f1
put file server onion requests behind a feature flag
2020-05-26 22:16:04 -07:00
Audric Ackermann
e399b9b65b
lint
2020-05-26 17:36:25 +10:00
Audric Ackermann
a5ff0f0c08
test: no need to stub fileserver. start it locally
2020-05-26 17:28:43 +10:00
Audric Ackermann
5e8504dab5
test-integration make all calls stubbed by default
2020-05-26 17:28:41 +10:00
Audric Ackermann
1144609c2a
test-integration make all calls stubbed by default. fix a few bugs with stubbed server
2020-05-26 17:28:40 +10:00
Audric Ackermann
81cb1122f8
remove window.getMessageTTL
2020-05-22 17:49:48 +10:00
Audric Ackermann
f46c885fdf
merge fix-closed-group to clearnet
2020-05-15 12:53:49 +10:00