sh
5d06dde757
docker: add selfhosted version ( #481 )
...
* docker: add selfhosted version
* switch to ghcup
* readme
* master -> stable
* delete git checkout
* rename docker files
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-07-22 11:26:20 +01:00
sh
d8f07e8dde
add hosted docker container ( #479 )
...
* add docker container
* Apply suggestions from code review
* Update README.md
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-07-20 11:21:10 +01:00
JRoberts
3a4f8cb6eb
corrections to ntf server linode script ( #469 )
2022-07-11 16:39:27 +04:00
Evgeny Poberezkin
e75846aa38
Merge pull request #468 from simplex-chat/master
...
Merge master to stable
2022-07-09 12:39:51 +01:00
Evgeny Poberezkin
23496f1a34
v3.0.0 ( #466 )
...
* v3.0.0
* update changelog
v3.0.0
2022-07-09 12:12:36 +01:00
Evgeny Poberezkin
9f5e6bfd19
ntf protocol version negotiation ( #467 )
2022-07-09 12:04:13 +01:00
Evgeny Poberezkin
cb5ad1619c
update version v3.0.0-rc.1
v3.0.0-rc.1
2022-07-08 14:48:08 +01:00
Evgeny Poberezkin
7a238812b7
ntf server: fix resubscribing to SMP server after it was restarted, test ( #465 )
2022-07-08 14:46:01 +01:00
Evgeny Poberezkin
991548b64d
ntf server: do not resubscribe to error/ended subscriptions on restart ( #464 )
2022-07-06 18:20:49 +01:00
Evgeny Poberezkin
cc798145d2
suspend agent without delay ( #463 )
...
* suspend agent without delay
* suspend/activate in separate atomically
2022-07-06 13:58:58 +01:00
Evgeny Poberezkin
4339218c57
v3.0.0-rc.0
v3.0.0-rc.0
2022-07-05 22:30:44 +01:00
Evgeny Poberezkin
abd694bd5a
parameterize protocol server by scheme ( #459 )
2022-07-05 21:56:14 +01:00
Evgeny Poberezkin
9c1b43791c
SMP v3: encrypt message timestamp and flags together with the body between server and recipient ( #457 )
...
* SMP v3: encrypt message timestamp and flags together with the body between server and recipient
* v3 tests
* update protocol doc
* add test for max size message
* delay in notifications test
* simplify v3
* encrypt server message to the recipient when sent
* refactor
* exit on error restoring the messages
* refactor, increase test timeout
* style
* add prints to the test
* remove error from unsafeMaxLenBS
* update protocol
* lint, improve test, change func param
2022-07-05 21:08:05 +01:00
JRoberts
e3d2d6fc91
fix NDELETE parsing ( #461 )
2022-07-04 11:26:27 +01:00
Evgeny Poberezkin
36b4179b8b
update version v3.0.0-beta.4
v3.0.0-beta.4
2022-07-04 10:48:04 +01:00
Evgeny Poberezkin
bc26dc1d68
save and restore server stats on restart ( #460 )
2022-07-04 10:45:35 +01:00
Evgeny Poberezkin
4c0164c49e
fix: support msgFlag NULL in sql ( #458 )
2022-07-03 13:05:16 +01:00
Evgeny Poberezkin
40ae809033
v3.0.0-beta.3 / v1.0.0-beta.3 (ntf)
v3.0.0-beta.3
2022-07-02 15:08:41 +01:00
Evgeny Poberezkin
2c52c514c0
ntf: fix TRPL to send verification to the new token ( #456 )
2022-07-02 15:07:20 +01:00
JRoberts
57d83ae42d
ntf: notify client about ntf supervisor internal errors ( #455 )
...
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-07-02 12:27:09 +04:00
Evgeny Poberezkin
f9cd7e5416
suspend ntf operations when agent is suspended ( #453 )
...
* suspend ntf operations when agent is suspended
* end and begin ntf operation on loop
2022-07-01 22:43:18 +01:00
Evgeny Poberezkin
77f1d45021
fix invalid ini syntax ( #452 )
2022-07-01 22:38:39 +01:00
JRoberts
5ff80f0688
ntf: test more scenarios of notifications mode change; test token change ( #454 )
2022-07-01 21:46:11 +04:00
JRoberts
e622e12a7f
v3.0.0-beta.2 / v1.0.0-beta.2 (ntf)
v3.0.0-beta.2
2022-07-01 15:27:32 +04:00
Evgeny Poberezkin
6b6ea78eac
ntf server error handling ( #448 )
...
* ntf server error handling
* refactor
* fix
2022-07-01 12:25:08 +01:00
Evgeny Poberezkin
238a2e7fe9
handle ntf supervisor errors ( #451 )
2022-07-01 15:22:20 +04:00
JRoberts
82eff6c757
ntf: internal error if ntf server is not configured at SCHK on AUTH error ( #450 )
...
* ntf: internal error if ntf server is not configured at SCHK on AUTH error
* refactor
* rename
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-07-01 14:09:05 +04:00
JRoberts
0392f849aa
ntf: reset subscription on SCHK AUTH error; launch only required workers ( #449 )
2022-07-01 13:19:56 +04:00
JRoberts
16f5fdeeb0
ntf: delete notifier creds on NSASmpDelete ( #447 )
...
* ntf: delete notifier creds on NSASmpDelete
* fix
2022-07-01 09:18:01 +01:00
JRoberts
c3012173e3
ntf: recover from failed/in-deletion subscriptions ( #446 )
...
* ntf: recover from failed/in-deletion subscriptions
* check NASNew status on subscription recover
* carryOnWithDeletion
* logs
* SCHK
2022-06-30 20:18:12 +04:00
Evgeny Poberezkin
f6a321e198
handle SMP errors in ntf subscriber ( #441 )
2022-06-30 16:04:01 +01:00
JRoberts
c82fae72f2
ntf: refactor NtfSubAction ( #445 )
2022-06-30 15:34:16 +04:00
JRoberts
9695786aa5
ntf: separate types into their own module ( #444 )
2022-06-30 14:31:36 +04:00
Evgeny Poberezkin
56ef95e8ae
ntf: fix null action ts ( #443 )
...
Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com >
2022-06-30 14:01:34 +04:00
JRoberts
79d67694ed
ntf: flush ntfSubQ on deleting all subscriptions ( #442 )
2022-06-30 13:39:24 +04:00
Evgeny Poberezkin
8dc051179a
backwards compatible message log ( #440 )
2022-06-29 20:22:41 +04:00
JRoberts
0b25b57e3c
Merge pull request #379 from simplex-chat/f/notifications
...
notifications
2022-06-29 16:54:51 +04:00
JRoberts
07bf2bca3b
v3.0.0-beta.0
2022-06-29 16:52:36 +04:00
JRoberts
6c14372666
fix linter warning
2022-06-29 15:35:41 +04:00
JRoberts
2c7cad5378
ntf: update subscription status, error handling on SMP errors / agent events ( #439 )
...
* ntf: error handling on SMP errors / agent events
* refactor
* CASubError case
* Update src/Simplex/Messaging/Notifications/Server.hs
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* Update src/Simplex/Messaging/Notifications/Server.hs
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* refactor
* Update src/Simplex/Messaging/Notifications/Server.hs
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* Update src/Simplex/Messaging/Notifications/Server.hs
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
* fix lint
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-06-29 15:14:44 +04:00
Evgeny Poberezkin
c9501a23a0
remove TODOs
2022-06-29 08:40:21 +01:00
Evgeny Poberezkin
926e515bc0
fix v2 connecting via v1 contact ( #438 )
2022-06-29 08:38:51 +01:00
JRoberts
09b51dc44f
ntf: retry to deliver notification with new push client ( #437 )
...
* ntf: retry to deliver notification with new push client
* update statuses
* remove token update
* increase tokenTTL
2022-06-28 22:03:06 +04:00
Evgeny Poberezkin
85d507d5d3
ntf-server store log ( #435 )
...
* ntf-server store log
* ntf serevr: restore log when server is started, save compacted store log
* log ntf server store changes
* test, store log works
* update ntf-server exe
2022-06-28 17:10:50 +01:00
Evgeny Poberezkin
b0ac0744e2
fix server ACK for v1 SMP clients ( #436 )
...
* fix server ACK for v1 SMP clients
* add import
2022-06-28 15:36:02 +04:00
Evgeny Poberezkin
ba40d75886
verifyNtfToken: change args order ( #434 )
2022-06-27 19:33:36 +01:00
Evgeny Poberezkin
0c7c0d066d
support dev/prod APNS hosts ( #433 )
...
* support dev/prod APNS hosts
* fix test
2022-06-27 19:20:23 +01:00
JRoberts
3d6ad64d62
ntf: registerNtfToken rework, notification modes ( #431 )
...
* check mode for new subscriptions
* check token inside actions
* migration - apple -> apns
* wip
* register logic, modes
* update mode, cron config, verify token changes
* refactor
* fix test
* NTFMODE
* server: delete subscriptions on deleteToken
* refactor markNtfSubscriptionForDeletion
* remove NTFMODE
* remove subscriptions when token is deleted
* refactor
* lint
* test
* check ntfMode
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com >
2022-06-27 21:54:35 +04:00
Evgeny Poberezkin
51d0b48ce1
suspend/activate agent ( #432 )
...
* suspend/activate agent
* deliver pending messages before agent is suspended
* refactor
2022-06-26 14:15:33 +01:00
Evgeny Poberezkin
a8260290e7
token encodings ( #430 )
2022-06-25 16:17:39 +01:00