6
1
mirror of https://git.mills.io/saltyim/saltyim.git synced 2024-06-30 18:51:03 +00:00
Commit Graph

63 Commits

Author SHA1 Message Date
James Mills
158c7f9231 Don't double log errors in Request() 2022-03-20 01:24:21 +10:00
James Mills
e602f0f3ce Update CHANGELOG for 0.0.3 2022-03-20 00:50:52 +10:00
James Mills
335dac958c Ooops 2022-03-20 00:50:43 +10:00
James Mills
4f977af349 Add chglog config 2022-03-20 00:49:56 +10:00
James Mills
c93e7bd241 Publish releases straight away 2022-03-20 00:46:54 +10:00
James Mills
ea059f3cb6 Re-add beeep desktop notifications 2022-03-20 00:46:21 +10:00
James Mills
e64001715f Update deps 2022-03-19 23:31:55 +10:00
James Mills
2bf318388b Update 'README.md' 2022-03-19 13:05:36 +00:00
James Mills
f77d6d4340 Ignore /dist directory 2022-03-19 22:59:26 +10:00
James Mills
02f68a45d9 Add GoRelaser config 2022-03-19 22:56:23 +10:00
James Mills
25cefb9d74 Fix args for make-user 2022-03-19 22:31:19 +10:00
James Mills
d4bce14370 Upgrade deps 2022-03-19 22:30:57 +10:00
James Mills
8f0914ef22 Add make-user command (#9)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/prologic/saltyim/pulls/9
2022-03-19 11:42:36 +00:00
James Mills
005a013753 Add support for looking for a default identity 2022-03-19 16:34:33 +10:00
James Mills
7a3f2e5159 Improve error handling for GetIdentity() and missing User address 2022-03-19 16:02:40 +10:00
James Mills
f5838a65a7 Update README 2022-03-19 15:48:42 +10:00
James Mills
d097dedd77 Ooops 2022-03-19 15:45:08 +10:00
James Mills
767e62a178 Update README 2022-03-19 15:43:43 +10:00
James Mills
34f76e4294 Add chat command 2022-03-19 15:35:31 +10:00
James Mills
522db3548c Ignore desktop notification errors silently 2022-03-19 14:41:53 +10:00
James Mills
365d000381 Fix Lookup not returning an error parsing invalid configs 2022-03-19 14:12:33 +10:00
James Mills
eefeb944e7 Improve display of date/time 2022-03-19 14:10:56 +10:00
James Mills
53c7bd5cad Fix shell readmsgs() so no arguments work properly 2022-03-19 14:01:26 +10:00
James Mills
14d08150a5 Format and colorize the messages nicely 2022-03-19 13:50:12 +10:00
James Mills
c2b6b44374 Add builtin support for sending desktop notifications 2022-03-19 12:46:37 +10:00
James Mills
7eec2da5a4 Add read command 2022-03-19 12:35:04 +10:00
James Mills
6a31d35397 go mod tidy 2022-03-19 11:25:04 +10:00
James Mills
e92052dccc Refactor lookup and send and bild a Request utility function 2022-03-19 11:24:07 +10:00
James Mills
a78e5c191a Minor improvements to the send command 2022-03-19 11:06:17 +10:00
James Mills
3854b869f8 Fix help message 2022-03-19 10:43:34 +10:00
James Mills
05b0dc4881 Minor shell fixes 2022-03-19 10:35:05 +10:00
xuu
78417dd472 feat: add send message functionality (#8)
I added sha256 for discovery and fallback ability.
And implemented sending message using msgbus.

Co-authored-by: Jon Lundy <jon@xuu.cc>
Reviewed-on: https://git.mills.io/prologic/salty-chat/pulls/8
Co-authored-by: xuu <xuu@noreply@mills.io>
Co-committed-by: xuu <xuu@noreply@mills.io>
2022-03-18 22:50:04 +00:00
xuu
578f95e26e use sha256 for discovery (#7)
and backwards compatibility for old way.

Reviewed-on: https://git.mills.io/prologic/salty-chat/pulls/7
Co-authored-by: xuu <xuu@noreply@mills.io>
Co-committed-by: xuu <xuu@noreply@mills.io>
2022-03-18 22:49:26 +00:00
James Mills
02bc19fd55 Send timestamps in UTC time 2022-03-19 01:20:41 +10:00
xuu
c7f9a042c7 feat: print control chars to clear and reprint prompt (#5)
This will make the feed of messages more natural looking

![image](/attachments/d7e041ae-4b1d-454c-b732-a3cb0fa6de6c)

Reviewed-on: https://git.mills.io/prologic/salty-chat/pulls/5
Co-authored-by: xuu <xuu@noreply@mills.io>
Co-committed-by: xuu <xuu@noreply@mills.io>
2022-03-18 15:15:25 +00:00
James Mills
82b2b10fad Refactor for better naming and terminology 2022-03-19 01:13:31 +10:00
James Mills
475a88b564 Minor fixes 2022-03-19 01:05:39 +10:00
James Mills
7e6c4b2dc7 Add lookup command (#4)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/prologic/salty-chat/pulls/4
2022-03-18 14:48:59 +00:00
James Mills
84d0d51231 Ooops 2022-03-18 23:19:37 +10:00
James Mills
570529f0a4 Fix instructions for setting up the Salty Config 2022-03-18 22:58:50 +10:00
James Mills
31ce9336e2 Ooops 2022-03-18 21:10:13 +10:00
James Mills
f720b475ae Make salty-chat sendmsg and chat compliant with the spec v1.1 2022-03-18 21:09:05 +10:00
James Mills
9e94de91c3 Fix some bad printf(s) 2022-03-18 11:49:36 +10:00
Aoi Koizumi
d00625413b Simplified the salty commands' presence check, correct XDG_DATA_HOME to $XDG_CONFIG_HOME.
Signed-off-by: Aoi Koizumi <novaburst@kalli.st>
2022-03-18 11:37:23 +10:00
James Mills
67f2fde644 Fix some shell warnings 2022-03-18 10:40:02 +10:00
xuu
4f253bcc9d add background for reading user messages (#2)
One note of change.. in the .key file we should put the nick@domain.tld so when it formats the message it has that in the message.

Signed-off-by: xuu <xuu@noreply@mills.io>
Reviewed-on: https://git.mills.io/prologic/salty-chat/pulls/2
Co-authored-by: xuu <xuu@noreply@mills.io>
Co-committed-by: xuu <xuu@noreply@mills.io>
2022-03-18 00:34:30 +00:00
James Mills
4a8bbccce2 Refactor message formatting 2022-03-18 02:26:34 +10:00
James Mills
8445183c98 Improve help output 2022-03-18 02:20:15 +10:00
James Mills
61c98bb45f Fix help to show how to use make-user 2022-03-17 22:56:28 +10:00
James Mills
27f5e794b9 Improve lookup error handling 2022-03-17 13:55:18 +10:00