mlctrez
d6fcad992c
new chat should also update contacts ( #92 )
...
Co-authored-by: mlctrez <mlctrez@gmail.com>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/92
Co-authored-by: mlctrez <mlctrez@noreply@mills.io>
Co-committed-by: mlctrez <mlctrez@noreply@mills.io>
2022-03-30 00:35:43 +00:00
xuu
754fcc7323
feat: add compression negotiation for sent messages ( #91 )
...
feat: add compression negotiation for sent messages
fix: unix homedir handling
the service will negotiate a compression algo for sending messages
when a user chats someone during the auto discovery, the service returns an `Accept-Encoding: br, gzip, deflate`
the client saves that response and so when it makes POSTs of messages adds the best `Content-Encoding` and compresses the message
example:
```
>> GET /.well-known/salty/c765c69040d98f3af2181237f47ec01398d80f8ab2690fe929e4311ab05dec01.json
<< Accept-Encoding: br, gzip, deflate
<<
<< {"endpoint":"https://salty.home.arpa/inbox/01FZBR8Y2E6TH949JA3925WF71 ","key":"kex1wurry09ftqjuxgjl0jxmqypv4axqvzqljkgeadxjcpwtfuhcedcslck52d"}
>> POST /inbox/01FZBR8Y2E6TH949JA3925WF71
>> Content-Encoding: br
>>
>> [Brotli Compressed data]
```
this PR depends on https://git.mills.io/prologic/msgbus/pulls/24
Co-authored-by: Jon Lundy <jon@xuu.cc>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/91
Co-authored-by: xuu <xuu@noreply@mills.io>
Co-committed-by: xuu <xuu@noreply@mills.io>
2022-03-29 22:23:16 +00:00
James Mills
f9fa628e75
Add support for new contacts appearing in contact list automatically ( #89 )
...
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Co-authored-by: mlctrez <mlctrez@gmail.com>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/89
2022-03-29 22:06:06 +00:00
James Mills
7fc5e7184b
Fix a panic when there is no valid Endpoint ( #90 )
...
Fixes #83
But I'm not sure how to properly surface teh aerrors out of the `Subscribe` and `Rain` channels at this time 😆 (and do something sensible with them at eh UI/UX level).
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/90
Reviewed-by: xuu <xuu@noreply@mills.io>
Co-authored-by: James Mills <james@mills.io>
Co-committed-by: James Mills <james@mills.io>
2022-03-29 19:02:29 +00:00
James Mills
2bd7ee7b4e
go_register_redo ( #88 )
...
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/88
Reviewed-by: xuu <xuu@noreply@mills.io>
2022-03-29 04:42:37 +00:00
James Mills
d6487912c3
pwa: Update app.wasm
2022-03-29 12:22:03 +10:00
James Mills
27c91a911c
go mod tidy
2022-03-29 12:21:28 +10:00
James Mills
647dc97ff5
Fix some reliability issues with Client.Drain() that was dropping messages
2022-03-29 12:21:06 +10:00
mlctrez
ada098f80d
update doh providers to those that work with cors ( #86 )
...
remove google from doh.Use() and add dnspod
Co-authored-by: mlctrez <mlctrez@gmail.com>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/86
Reviewed-by: James Mills <james@mills.io>
Co-authored-by: mlctrez <mlctrez@noreply@mills.io>
Co-committed-by: mlctrez <mlctrez@noreply@mills.io>
2022-03-29 01:57:38 +00:00
James Mills
07d28ba5d4
Use the Client's builtin cache for addr lookups and do the send async ( #84 )
...
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/84
2022-03-29 00:24:03 +00:00
James Mills
fedbf216fc
Fix missing storage source files in Dockerfile
2022-03-29 08:46:28 +10:00
mlctrez
969a263d06
support for contacts, multiple chat threads, and persistence ( #77 )
...
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Co-authored-by: James Mills <james@mills.io>
Co-authored-by: mlctrez <mlctrez@gmail.com>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/77
Co-authored-by: mlctrez <mlctrez@noreply@mills.io>
Co-committed-by: mlctrez <mlctrez@noreply@mills.io>
2022-03-28 21:49:01 +00:00
James Mills
3a82188a5b
Add clean-all target to Makefile
2022-03-28 11:08:19 -06:00
James Mills
6751df353e
Whoops
2022-03-27 15:29:30 +10:00
James Mills
5e22d087ee
Make the service bot actually work finally ( #73 )
...
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/73
Reviewed-by: xuu <xuu@noreply@mills.io>
2022-03-27 05:25:09 +00:00
James Mills
bcbf7eeedc
Fix daemon name :D ( #72 )
...
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/72
2022-03-27 03:04:47 +00:00
James Mills
c576a3c4ac
Upgrade to msgbus msgbus v0.1.9 (reverting nhooyr.io/websocket change)
2022-03-27 13:03:23 +10:00
James Mills
2676ceab9e
Fix Service.String()
2022-03-27 12:14:04 +10:00
James Mills
ec0e74b895
Update to latest msgbus with replaced gorills/websocket with better library ( #71 )
...
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/71
Reviewed-by: xuu <xuu@noreply@mills.io>
2022-03-27 02:11:46 +00:00
James Mills
5420bcde15
Fix svc bot so it attempts reconnect until successful ( #70 )
...
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/70
Reviewed-by: xuu <xuu@noreply@mills.io>
Co-authored-by: James Mills <james@mills.io>
Co-committed-by: James Mills <james@mills.io>
2022-03-27 02:11:40 +00:00
James Mills
df84b1f3b4
Ooops
2022-03-27 11:18:43 +10:00
xuu
c15701250f
fix: stuff ( #69 )
...
Co-authored-by: Jon Lundy <jon@xuu.cc>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/69
Co-authored-by: xuu <xuu@noreply@mills.io>
Co-committed-by: xuu <xuu@noreply@mills.io>
2022-03-26 23:35:53 +00:00
Jon Lundy
da56689e4d
fix: stuff
2022-03-26 14:42:39 -06:00
James Mills
55f0823ad3
Fix CreateConfig() to be idempotent
2022-03-27 03:11:23 +10:00
James Mills
5e067f63cc
Code cleanup
2022-03-27 03:00:39 +10:00
James Mills
368577c99e
Fix svc user (bot) so it actually starts
2022-03-27 02:59:23 +10:00
James Mills
3f025d1ebb
Code cleanup
2022-03-27 01:55:44 +10:00
James Mills
fa26923d54
Fix GetIdentity()
2022-03-27 01:55:24 +10:00
James Mills
f5d022df56
Code cleanup
2022-03-27 01:31:17 +10:00
James Mills
fb2c94dbb8
Properly log the Base RL
2022-03-27 01:19:40 +10:00
James Mills
072799a94d
Code cleanup
2022-03-27 01:09:07 +10:00
James Mills
61d0c5bef8
Tidy up the Docker image's entrypoint
2022-03-27 00:58:28 +10:00
xuu
38a6d71644
xuu/bot ( #64 )
...
Co-authored-by: Jon Lundy <jon@xuu.cc>
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/64
Co-authored-by: xuu <xuu@noreply@mills.io>
Co-committed-by: xuu <xuu@noreply@mills.io>
2022-03-26 14:43:05 +00:00
James Mills
af290700b4
Ooops
2022-03-27 00:40:10 +10:00
James Mills
411d5500b3
Fix DNS lookup failures in the PWA by using DoH (DNS over HTTP) ( #65 )
...
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/65
2022-03-26 03:48:57 +00:00
James Mills
2641d08b2b
Fix install instructions for salty-chat.sh for msgbus and salty cli tools
2022-03-26 12:40:57 +10:00
James Mills
4c88a24c87
Add sub-command for checking CORS on discovery endpoints (check_cors), fail lookup if CORS check fails ( #63 )
...
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/63
2022-03-26 01:42:57 +00:00
James Mills
323f09ff5c
Add optional support for setting up a TLS listener with Let's Encrypt support ( #61 )
...
Same as https://git.mills.io/yarnsocial/yarn/pulls/785
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/61
2022-03-26 01:42:40 +00:00
James Mills
d6930fce67
Why won't you push you stupid Docker hub
2022-03-26 11:40:22 +10:00
James Mills
f346d2354f
Fix Docker image we're pushing to
2022-03-26 11:33:16 +10:00
James Mills
7cc77f5ac0
Trigger CI
2022-03-26 11:02:33 +10:00
James Mills
ee3eeed759
Fix README Build Status badge
2022-03-26 10:48:01 +10:00
James Mills
211f725986
Fix Lookup to actually use SRV records (where available) and refactor ( #62 )
...
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/62
Reviewed-by: xuu <xuu@noreply@mills.io>
2022-03-25 23:49:44 +00:00
James Mills
fda4628414
Update 'Roadmap.md'
2022-03-25 21:38:44 +00:00
James Mills
55d0fe7d51
Add ConfigHandler() to serve p builtin /.well-known/salty/:config configs for users ( #60 )
...
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/60
2022-03-25 14:42:56 +00:00
James Mills
eafc9f0865
Fix CORS support
2022-03-25 23:10:48 +10:00
James Mills
d0ecf8eb16
Fix support for 2-way chat (receive works 🥳 )
2022-03-25 22:47:06 +10:00
James Mills
a12b9478d7
Fix Docker images entrypoint to configure DATA and STORE env vars by default if not set to sensible valeus
2022-03-25 21:42:46 +10:00
James Mills
3b300f09fd
pwa: Fix the name of the main component to be SaltyChat
2022-03-25 21:28:35 +10:00
James Mills
8c13d6a60c
Fix Dockerfile's default CMD to saltyd to make it easier on Synology users
2022-03-25 21:28:17 +10:00