6
1
mirror of https://git.mills.io/saltyim/saltyim.git synced 2024-06-25 00:08:26 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
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
647dc97ff5
Fix some reliability issues with Client.Drain() that was dropping messages 2022-03-29 12:21:06 +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
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
Jon Lundy
da56689e4d fix: stuff 2022-03-26 14:42:39 -06: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
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
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
mlctrez
05c44be6c0 refactor identity create/read for functional arguments to support PWA (#53)
This PR is for refactoring interaction with CreateIdentity(), GetIdentity(), and NewClient() to allow operations on the identity contents from within a PWA where a filesystem is not present.

It was suggested to use functional arguments so this pull request reflects this.

Co-authored-by: mlctrez <mlctrez@gmail.com>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/53
Co-authored-by: mlctrez <mlctrez@noreply@mills.io>
Co-committed-by: mlctrez <mlctrez@noreply@mills.io>
2022-03-24 20:21:29 +00:00
James Mills
5dccf640f2 Fix PackMessage to ensure every message ends with a UNIX newline (\n) 2022-03-23 23:25:03 +10: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
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
9036019c54 Use Debug logging level for logging debug logs 2022-03-22 01:26:40 +10: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
James Mills
5c36775dd2 Register tcell encodings (Fixes #23) 2022-03-21 16:14:38 +10:00
xuu
7ccd59efc0 feat: make endpoint uniform. add profiles (#30)
Co-authored-by: Jon Lundy <jon@xuu.cc>
Reviewed-on: https://git.mills.io/prologic/saltyim/pulls/30
Co-authored-by: xuu <xuu@noreply@mills.io>
Co-committed-by: xuu <xuu@noreply@mills.io>
2022-03-21 00:31:59 +00:00
Phil S
1e9101d96d Have text not touch border (#17)
It's the little things...

Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: https://git.mills.io/prologic/saltyim/pulls/17
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
2022-03-20 06:13:52 +00:00
James Mills
27fdd5c562 Set width to inner rect of chat box 2022-03-20 15:52:16 +10:00
James Mills
b2a648a2bc Further improve the formatting 2022-03-20 15:46:38 +10:00
Phil S
93589b15b0 Chat formatting (#16)
Changed chat format to have the text on a separate line instead of inline with datetime and user.

Co-authored-by: Phil S <ullarah@noreply@mills.io>
Reviewed-on: https://git.mills.io/prologic/saltyim/pulls/16
Co-authored-by: Phil S. <ullarah@noreply@mills.io>
Co-committed-by: Phil S. <ullarah@noreply@mills.io>
2022-03-20 05:08:02 +00:00
James Mills
e25622a087 Use some padding for the user 2022-03-20 14:58:55 +10:00
James Mills
50172a32ae Fixed filtering logic in UI 2022-03-20 14:52:04 +10:00
James Mills
d7fd0ddde3 Improve the UX colors 2022-03-20 13:57:20 +10:00
James Mills
663edd1bc6 Fix bugs with the TUI client 2022-03-20 13:44:22 +10:00
James Mills
1702b0e36d Add title back that @xuu added 2022-03-20 11:40:32 +10:00
James Mills
4c7835f394 Rebuild the shitty UI using tcell/tview 2022-03-20 11:19:21 +10:00