JRoberts
337d5bdfe7
add "SMP server on Linux" section to README ( #337 )
2022-03-26 19:57:18 +04:00
Evgeny Poberezkin
800581b2bf
core: tcp keep-alive parameters for windows ( #336 )
2022-03-26 13:11:29 +00:00
Evgeny Poberezkin
f060914ab8
notifications server rfc/schema ( #332 )
...
* notifications server rfc/schema
* update schema/protocol
2022-03-22 16:53:01 +00:00
Evgeny Poberezkin
14d76a1582
fix keep-alive options to work on mobile ( #331 )
2022-03-22 08:02:43 +00:00
Evgeny Poberezkin
a37b24a8c2
use TCP keep-alive instead of SMP protocol PING ( #330 )
...
* use TCP keep-alive instead of SMP protocol PING
* update header files
* use CInt
* use Int again
* use network-3.1.2.7
* use https in cabal.project
* confitional keep-alive parameters to work on mac
* pass keep-alive opts via client/agent options
* remove space
2022-03-21 16:13:34 +00:00
John Roberts
5c6ec96d64
make smp servers configurable for running agent ( #326 )
2022-03-10 10:49:22 +04:00
Evgeny Poberezkin
7a19ab224b
make sending confirmation asynchronous ( #327 )
...
* make sending confirmation asynchronous
* confirm first queue synchronously (on JOIN, and delete connection on failure), second queue asynchronously (from REPLY msg)
* test to retry JOIN when the first attempt fails
* process confirmation delivery errors
2022-03-02 15:52:45 +00:00
Efim Poberezkin
7a611bed5a
configure systemd service restart and increase file descriptors limit for Linode script ( #320 )
2022-02-26 18:42:16 +04:00
Efim Poberezkin
a406159ed4
1.0.3
2022-02-26 18:11:07 +04:00
Efim Poberezkin
14780a47d6
prepare v1.0.3 ( #324 )
2022-02-26 18:07:11 +04:00
Evgeny Poberezkin
4a66f68c55
reduce server message queue quota to 128 messages ( #323 )
2022-02-26 17:49:21 +04:00
Evgeny Poberezkin
d1e6147adf
encode all nullary constructors as objects for sumTypeJSON options
2022-02-25 18:50:04 +00:00
Evgeny Poberezkin
7d1fdadef0
reduce connection handshake expiration to 2 days
2022-02-25 10:57:23 +00:00
Evgeny Poberezkin
09e2e75c42
increase queue sizes ( #322 )
...
* increase queue sizes
* remove TODO
2022-02-25 09:02:52 +00:00
Evgeny Poberezkin
dff5cad1be
make CPP condition depend on HOST OS ( #321 )
2022-02-18 08:12:08 +00:00
Evgeny Poberezkin
c1f5f9d846
flip condition for JSON encoding to make android (tagged objects) default ( #319 )
2022-02-16 22:38:15 +00:00
Evgeny Poberezkin
9c4778b129
update condition in cabal
2022-02-16 17:28:14 +00:00
Evgeny Poberezkin
137afb68fe
conditional JSON options for iOS/Android ( #318 )
...
* conditional JSON options for iOS/Android
* update cabal file
2022-02-16 08:58:35 +00:00
Efim Poberezkin
229e2607d7
remove redundant asynchronous connection code ( #317 )
2022-02-14 21:00:14 +04:00
Efim Poberezkin
c380c79560
make new smp client attempt to reconnect on network error ( #315 )
...
* make new smp client attempt to reconnect on network error
* reconnect async wip
* remove comments
* trigger tryReconnectClient
* add subscription before trying to take smp client
* move atomically modify asyncClients
* remove logs
* corrections
* don't put error into new smp client TMVar
* UnliftIO async
* re-work
* test for connection to the server that was initially down
* fix tests
* additionally test that bob receives the message after re-connect
* make test independent of event order
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-02-10 14:48:11 +00:00
Efim Poberezkin
c9994c3a2c
add "yes to migrations" option ( #316 )
2022-02-07 11:51:39 +04:00
Evgeny Poberezkin
137ff7043d
use aeson fork with the option to encode/decode nullary constructors as empty objects ( #312 )
...
* use aeson fork with the option to encode/decode nullary constructors as empty objects
* update dependencies
2022-01-29 19:36:02 +00:00
Evgeny Poberezkin
6fe3bfa980
JSON encoding of types used in simplex-chat ( #311 )
...
* JSON encoding of types used in simplex-chat
* add field names for JSON encodings, encode all error sum-types as objects (to allow extension)
2022-01-26 20:18:41 +00:00
Evgeny Poberezkin
2b857876b4
update release template
2022-01-21 18:13:02 +00:00
Evgeny Poberezkin
b777a4fd93
split the server dependencies from the agent ( #310 )
...
* split the server dependencies from the agent
* remove redundant imports
* fix Main.hs
2022-01-21 17:33:47 +00:00
Efim Poberezkin
e15a25d92e
update Linode stackscript, amendments
2022-01-21 14:21:07 +04:00
Efim Poberezkin
1cd68f4159
update Linode stackscript ( #309 )
2022-01-21 12:36:42 +04:00
Efim Poberezkin
495439adf5
1.0.2
2022-01-21 11:40:49 +04:00
Efim Poberezkin
98fac579c0
switch tls from fork to original repo ( #307 )
2022-01-21 11:26:16 +04:00
Evgeny Poberezkin
670b3b7974
coalesce requests to connect to SMP servers, to have 1 connection per server ( #305 )
...
* coalesce requests to connect to SMP servers
* fix possible race condition when creating new SMP client
* one more race condition
* close pending SMP clients
2022-01-20 18:33:02 +00:00
Efim Poberezkin
305ae94cce
move TLS handshake to a separate thread per-connection ( #306 )
...
* move handshake to a separate thread
* 1.0.2-rc04
* refactor TLS thread
* hide EOF exception
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
2022-01-20 18:32:09 +00:00
Evgeny Poberezkin
a9a6917056
replace file-embed with QQ ( #301 )
2022-01-20 18:31:09 +00:00
Efim Poberezkin
502ee39eb3
publish release as prerelease if tag contains 'rc'; update ghc version in build ( #303 )
2022-01-20 11:38:02 +04:00
Efim Poberezkin
ac899a67c4
support TLS 1.3 ( #300 )
2022-01-18 18:59:02 +04:00
Efim Poberezkin
6e7089284e
cease attempts to send HELLO after timeout ( #298 )
2022-01-18 13:50:43 +04:00
Efim Poberezkin
40efdf97de
bootstrap script to download latest SMP server release for DigitalOcean droplet ( #295 )
2022-01-17 12:32:10 +04:00
Efim Poberezkin
7e0bcc7aa0
v1.0.1 ( #294 )
2022-01-15 18:39:57 +04:00
Efim Poberezkin
56fea79097
add not up to date warning for DO ( #293 )
2022-01-15 12:51:23 +04:00
Evgeny Poberezkin
26a01dfc40
explicitely set line buffering in stdout/stderr to log each lines when output is redirected to files ( #290 )
2022-01-14 08:34:34 +00:00
Efim Poberezkin
9c3962bbe3
update readme on initialization, fix servers list ( #288 )
2022-01-13 10:39:02 +04:00
Evgeny Poberezkin
1882e37bf0
Merge pull request #287 from simplex-chat/master
...
v1 release
2022-01-12 22:51:56 +00:00
Evgeny Poberezkin
45e264c398
v1
2022-01-12 16:20:55 +00:00
Evgeny Poberezkin
41047b5db8
Merge pull request #269 from simplex-chat/ep/v1-rc
...
v1 release
2022-01-12 16:14:07 +00:00
Evgeny Poberezkin
15f01af6cf
update changelog
2022-01-12 11:13:14 +00:00
Evgeny Poberezkin
bfa4911217
improve message error handling ( #286 )
...
* message envelope sizes and protocol doc corrections
* change error handling in message delivery loop
2022-01-12 10:36:22 +00:00
Efim Poberezkin
d1eba1ef2f
update README instructions on server fingerprint and address ( #285 )
2022-01-12 11:28:16 +04:00
Evgeny Poberezkin
5f20f0124a
correction to E2E encrypted (double ratchet) envelope size
2022-01-11 22:08:37 +00:00
Evgeny Poberezkin
38f4cbe74f
Merge branch 'master' into ep/v1-rc
2022-01-11 21:20:27 +00:00
Evgeny Poberezkin
c071adb041
update changelog
2022-01-11 21:19:12 +00:00
Evgeny Poberezkin
657c9b1b37
reduce SMP envelope sizes ( #284 )
2022-01-11 21:01:21 +00:00