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
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
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
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
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
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
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
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
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
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
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
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
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
3b300f09fd
pwa: Fix the name of the main component to be SaltyChat
2022-03-25 21:28:35 +10:00
James Mills
5c1fd1077b
WIP: Fix for Mobile Safari
2022-03-25 16:49:42 +10:00
James Mills
544aecb368
pwa: Remove the unsed link component(s)
2022-03-25 15:36:23 +10:00
James Mills
9e9abacf1a
pwa: Fix build errors
2022-03-25 15:28:44 +10:00
mlctrez
ab6e29a376
errors go to a modal dialog
2022-03-24 23:20:16 -05:00
mlctrez
14eb996218
compact chat window text a bit
2022-03-24 21:22:57 -05:00
mlctrez
906a85c8d2
add send-to address
2022-03-24 21:11:26 -05:00
James Mills
3870354554
Remove no-cors
2022-03-25 11:23:20 +10:00
mlctrez
f736b42a00
remove debugging
2022-03-24 19:29:02 -05:00
mlctrez
30d7330503
remove endpoint configuration, no longer used
2022-03-24 18:03:46 -05:00
mlctrez
43f5d14025
Merge branch 'material-design-exp-matt' of ssh://git.mills.io:2222/saltyim/saltyim into material-design-exp-matt
2022-03-24 17:48:51 -05:00
mlctrez
a2f9fd8cd7
fixup doc
2022-03-24 13:39:38 -05:00
mlctrez
61e3b8e6bd
initial work on configuration page
2022-03-24 13:39:38 -05:00
mlctrez
e937a895be
auto scroll to last chat message
2022-03-24 13:38:41 -05:00
mlctrez
ca49338f3f
clear value and focus on input
2022-03-24 13:38:41 -05:00
mlctrez
c084b99953
chat screen layout
2022-03-24 13:38:41 -05:00
mlctrez
4452560dc3
re-add icons to update banner buttons
2022-03-24 13:38:41 -05:00
mlctrez
edcbecde11
initial goapp-mdc integration work
2022-03-24 13:38:41 -05:00
James Mills
02842fd49c
pwa: Playing around with material design
2022-03-24 13:37:18 -05:00
mlctrez
e24bbf72d5
fixup doc
2022-03-24 09:53:40 -05:00
mlctrez
70cbed1fa9
initial work on configuration page
2022-03-24 09:50:51 -05:00
James Mills
332202551d
Fix CI
2022-03-24 14:11:51 +10:00
mlctrez
f5aaf48ebc
auto scroll to last chat message
2022-03-23 12:32:46 -05:00
mlctrez
8e8f8ec728
clear value and focus on input
2022-03-23 12:20:17 -05:00
mlctrez
b5a7e5af47
chat screen layout
2022-03-23 12:08:21 -05:00
mlctrez
9eff8ebd99
re-add icons to update banner buttons
2022-03-23 09:09:38 -05:00
James Mills
7ffefb042e
Refactor Endpoint for automatic endpoint discovery and less configuration ( #46 )
...
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/prologic/saltyim/pulls/46
2022-03-23 12:39:31 +00:00
mlctrez
73854ad66e
initial goapp-mdc integration work
2022-03-22 23:06:56 -05:00
James Mills
801d6b93bb
Add support for client and server (broker) registration ( #43 )
...
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/prologic/saltyim/pulls/43
2022-03-22 22:59:09 +00:00
James Mills
b04ee521ae
Fix bild issue on small machines by restructing some of the cli code and only build the cli by default
2022-03-22 23:46:44 +10:00
James Mills
a37f578544
Add support for generating ULID(s) for User's Endpoints
2022-03-22 22:14:46 +10:00
James Mills
e5b0c0dde7
pwa: Playing around with material design
2022-03-22 15:44:54 +10:00
James Mills
7452f3a1ce
pwa: test self-update
2022-03-22 14:48:54 +10:00
James Mills
a5bceb13d4
pwa: Add app update detection
2022-03-22 14:43:05 +10:00
James Mills
daf7f4efe5
Revert "Revert "pwa: Add support for installable detection and prompt""
...
This reverts commit 15981876ff7c322a047f80ff05a1b92eb180f4e7.
2022-03-22 14:04:47 +10:00
James Mills
15981876ff
Revert "pwa: Add support for installable detection and prompt"
...
This reverts commit 6bfc3beda9c671dc26bd1ee1845c22b217902095.
2022-03-22 14:02:21 +10:00
James Mills
1c721ce8f7
Code cleanup
2022-03-22 13:58:50 +10:00
James Mills
6bfc3beda9
pwa: Add support for installable detection and prompt
2022-03-22 13:48:39 +10:00
James Mills
8546e54c23
Update message from Hello World to indicate we're not quite ready for prime time just yet :D
2022-03-22 12:39:04 +10:00
James Mills
40f781080c
Code cleanup
2022-03-22 12:35:57 +10:00
James Mills
85613a4646
Fixed some missing routes for the PWA
2022-03-22 11:26:24 +10:00
James Mills
33a90947e8
Re-fix build constraint for PWA app.wasm
2022-03-22 11:08:04 +10:00
James Mills
361315418f
Revert "Fix build tag for pwa app.wasm"
...
This reverts commit 0ecaec69f892418d6d4706c8f2ecf307c0b50248.
2022-03-22 11:06:37 +10:00
James Mills
0ecaec69f8
Fix build tag for pwa app.wasm
2022-03-22 10:35:25 +10:00
James Mills
ce5ffbd687
Excempt /inbox/* from CSRF
2022-03-22 10:05:00 +10:00
James Mills
6b678240aa
Add configuration options for the store
2022-03-22 09:54:02 +10:00
James Mills
be4b4a5e9d
Add a basic structure for a go-app PWA + integrated Broker ( #36 )
...
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Co-authored-by: Jon Lundy <jon@xuu.cc>
Reviewed-on: https://git.mills.io/prologic/saltyim/pulls/36
2022-03-21 22:27:35 +00:00
James Mills
8993981e81
Refactor the code ( #38 )
...
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/prologic/saltyim/pulls/38
2022-03-21 14:46:16 +00:00