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

333 Commits

Author SHA1 Message Date
xuu
318c3275b5 fix: Make register lookup broker if default to blank (#175)
Co-authored-by: Jon Lundy <jon@xuu.cc>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/175
Reviewed-by: James Mills <james@mills.io>
Co-authored-by: xuu <xuu@noreply@mills.io>
Co-committed-by: xuu <xuu@noreply@mills.io>
2022-10-15 21:45:13 +00:00
James Mills
37135ce6af
Fix possible nil map from State.Load() 2022-10-05 13:21:55 +10:00
James Mills
7c149128b4
Fix README logo by centering it 2022-09-25 13:00:55 +10:00
James Mills
c91603b11c
Fix logo extension 2022-09-25 12:58:48 +10:00
James Mills
2d6abaf918
Fix README (Fixes #74) 2022-09-25 12:52:51 +10:00
James Mills
5253269b19 Fix consistent coloring of nicks using taigrr's colorhash library (#173)
Fixes #81

Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/173
2022-09-25 02:29:27 +00:00
Aoi Koizumi (古泉 あおい)
bc12377edb
Add OpenBSD instructions, based on my personal setup. Update docs/Deployment.md
Signed-off-by: Aoi Koizumi (هڈ¤و³‰ مپ‚مپٹمپ„) <koizumi.aoi@kyoko [dash]
project [dot] wer [dot] ee>
2022-08-27 12:25:23 +10:00
James Mills
2b32d9539f
fix: Fix links to Deployment and Development guides in README 2022-06-12 12:52:03 +10:00
James Mills
b227f57b7a
feat: Add development guide with screenshots and refactor docs 2022-06-12 12:49:19 +10:00
James Mills
7420ff47cc
Update PWA 2022-05-23 00:10:37 +10:00
James Mills
c145c27325
Update CHANGELOG for 0.0.22 2022-05-14 01:01:00 +10:00
James Mills
8a18428b87
Fix regression in 330701d causing register to no longe rwork 2022-05-14 01:00:15 +10:00
James Mills
cea7e7fcf6
Update CHANGELOG for 0.0.21 2022-05-07 08:50:44 +10:00
James Mills
9c5fec5caf Fix bug when endpoint is invalid or not configured proeprly and fails lookup (#171)
Fixes #169

This now behaves like this:

```
/Users/prologic/Projects/saltyim/saltyim # ./salty-chat write prologic@mills.io test
WARN[0000] error looking up user endpoint                error="error looking up user testing123@shortcircuit.net.au: non-2xx response received: 404 Not Found"
error initializing client: unable to find your endpoint for testing123@shortcircuit.net.au
/Users/prologic/Projects/saltyim/saltyim #
```

Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/171
Reviewed-by: m u t e f a l l <mutefall@noreply@mills.io>
2022-05-06 22:44:06 +00:00
James Mills
dc432abdc3 Fix handling for invalid or no endpoint passed to make-user (#170)
See #169 which this patch partially fixes one issue found but not the most critical one (hence this PR does not close the issue)

Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/170
Reviewed-by: m u t e f a l l <mutefall@noreply@mills.io>
2022-05-06 21:48:07 +00:00
James Mills
09826d2caa
Update CHANGELOG for 0.0.20 2022-05-02 12:26:27 +10:00
James Mills
ee86b96ee5
Fix goreleaser config 2022-05-02 12:24:32 +10:00
James Mills
9727105c4b
Update CHANGELOG for 0.0.20 2022-05-02 12:19:31 +10:00
mlctrez
504c66f7c1 make outbox.state same as client.state to allow persisting last message retrieved (#168)
After testing quite a bit on the saltyim/app client, I tracked down why all outbox messages were being pulled every time a new client starts up.

I believe the outbox client state should be shared with the parent client to allow the last message retrieved from the oubox to be persisted.

Co-authored-by: mlctrez <mlctrez@gmail.com>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/168
Reviewed-by: James Mills <james@mills.io>
Co-authored-by: mlctrez <mlctrez@noreply@mills.io>
Co-committed-by: mlctrez <mlctrez@noreply@mills.io>
2022-04-29 21:59:40 +00:00
m u t e f a l l
12fc010ce7 docker swarm deployment and dns documentation (#167)
this changeset addresses the need for a simple docker swarm deployment and setup of dns records on cloudflare.

Co-authored-by: m u t e f a l l <mutefall@noreply.mills.io>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/167
Reviewed-by: James Mills <james@mills.io>
Co-authored-by: m u t e f a l l <mutefall@noreply@mills.io>
Co-committed-by: m u t e f a l l <mutefall@noreply@mills.io>
2022-04-26 01:44:51 +00:00
James Mills
af206c0ace
Fix certs Makefile target for local dev and fix alternate subject name 2022-04-15 18:11:46 +10:00
James Mills
994895681d Fix handling for bad endpoints from mixbehaving clients proxying send requests (#163)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/163
Reviewed-by: xuu <xuu@noreply@mills.io>
2022-04-11 22:09:35 +00:00
Sheldon Smith
823c112547 CSS fixes for desktop (#161)
As outlined in [issue #155](https://git.mills.io/saltyim/saltyim/issues/155) and will also improve things such as overflow not working (there's currently no wrapping on overflow) and changing the sidebar and text input to be fixed so only the chatbox scrolls and the text input doesn't overflow off of the view area.

Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/161
Reviewed-by: James Mills <james@mills.io>
Co-authored-by: Sheldon Smith <screem@noreply@mills.io>
Co-committed-by: Sheldon Smith <screem@noreply@mills.io>
2022-04-11 09:59:52 +00:00
mlctrez
364743abf5 fix issue with shared outbox and endpoint modification (#160)
Fixes two issues

cli.me.key.Private() was always nil, outbox hash was the same for everyone 👎

client.Outbox() modified Path variable on endpoint url

Co-authored-by: mlctrez <mlctrez@gmail.com>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/160
Reviewed-by: xuu <xuu@noreply@mills.io>
Reviewed-by: James Mills <james@mills.io>
Co-authored-by: mlctrez <mlctrez@noreply@mills.io>
Co-committed-by: mlctrez <mlctrez@noreply@mills.io>
2022-04-08 15:30:02 +00:00
James Mills
27473cd84a Update the Desktop breakpoint to by 768px (#158)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/158
Reviewed-by: mlctrez <mlctrez@noreply@mills.io>
Co-authored-by: James Mills <james@mills.io>
Co-committed-by: James Mills <james@mills.io>
2022-04-08 12:45:02 +00:00
mlctrez
fcc4f53f20 navigation drawer is now fixed for > 900px windows (#157)
Co-authored-by: mlctrez <mlctrez@gmail.com>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/157
Reviewed-by: James Mills <james@mills.io>
Co-authored-by: mlctrez <mlctrez@noreply@mills.io>
Co-committed-by: mlctrez <mlctrez@noreply@mills.io>
2022-04-07 03:43:09 +00:00
James Mills
81935022c1
Update CHANGELOG for 0.0.1 2022-04-06 09:30:43 +10:00
James Mills
eece0a7abe
Update to msgbus v0.1.19 2022-04-05 16:12:59 +10:00
James Mills
fce6c97259 Upgrade to msgbus v0.1.18 (#153)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/153
2022-04-05 03:10:29 +00:00
James Mills
d90292bc8e fix_case_insensitive_addrs (#148)
Fixes #144

Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/148
Reviewed-by: xuu <xuu@noreply@mills.io>
Co-authored-by: James Mills <james@mills.io>
Co-committed-by: James Mills <james@mills.io>
2022-04-04 16:09:27 +00:00
James Mills
832fb124fe Improve the registration process, add feedback to the PWA's UX adn use an API for registration (#147)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/147
Reviewed-by: xuu <xuu@noreply@mills.io>
Co-authored-by: James Mills <james@mills.io>
Co-committed-by: James Mills <james@mills.io>
2022-04-04 16:04:38 +00:00
James Mills
330701da86 Fix SendToAddr to error when no sender configured (#149)
Fixes #145

Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/149
Reviewed-by: xuu <xuu@noreply@mills.io>
Co-authored-by: James Mills <james@mills.io>
Co-committed-by: James Mills <james@mills.io>
2022-04-04 15:38:59 +00:00
James Mills
f3a847674c Add support for state for Service{} (#142)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/142
2022-04-04 03:42:54 +00:00
James Mills
35aa48c273
Upgrade to msgbus v0.1.17 2022-04-04 12:39:45 +10:00
James Mills
00a11f20fd Fix broken client inbox state persistence (#141)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/141
2022-04-04 02:03:52 +00:00
James Mills
169bbe26ad Upgrade to msgbus v0.1.15 which fixes a deadlock in the Subscribe() API call (#140)
Fixes #139

See also https://git.mills.io/prologic/msgbus/pulls/34

Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/140
2022-04-04 01:23:27 +00:00
James Mills
668cae61b7 Fix version info -v/--version (#138)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/138
Reviewed-by: xuu <xuu@noreply@mills.io>
2022-04-03 23:13:32 +00:00
James Mills
e8110e2a86 Use the new and improved with write-ahead-log (wal) support (#136)
Improves how inbox indices are peristed, hopefully much better now as the topic sequences are now a proper monotonic increasing integer, messages survive crashes/resrarts and so forth.

- [] Remove the `go.mod` replace directive after https://git.mills.io/prologic/msgbus/pulls/33 is merged

cc @xuu

Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/136
Reviewed-by: xuu <xuu@noreply@mills.io>
2022-04-03 16:45:59 +00:00
James Mills
237dce3664 Fixes live from @ullarah 😅 (#135)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/135
2022-04-03 09:46:28 +00:00
James Mills
b3ce088a8e Remove inbox index state persistence (for now) (#134)
Until https://git.mills.io/prologic/msgbus/issues/31 is implemented.

Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/134
2022-04-03 01:21:35 +00:00
James Mills
908e4cf525 Fix SyntaxError :D (#132)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/132
Reviewed-by: xuu <xuu@noreply@mills.io>
Co-authored-by: James Mills <james@mills.io>
Co-committed-by: James Mills <james@mills.io>
2022-04-03 01:11:33 +00:00
xuu
5b01e82897 fix: outbox-subscribe (#131)
Co-authored-by: Jon Lundy <jon@xuu.cc>
Co-authored-by: xuu <me@sour.is>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/131
Co-authored-by: xuu <xuu@noreply@mills.io>
Co-committed-by: xuu <xuu@noreply@mills.io>
2022-04-03 01:03:45 +00:00
xuu
35c4ecca6f feat: sbscribe to outbox (#128)
Co-authored-by: Jon Lundy <jon@xuu.cc>
Co-authored-by: xuu <me@sour.is>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/128
Reviewed-by: James Mills <james@mills.io>
Co-authored-by: xuu <xuu@noreply@mills.io>
Co-committed-by: xuu <xuu@noreply@mills.io>
2022-04-02 22:32:12 +00:00
James Mills
c7ad4734b3 Upgrade msgbus to v0.1.14 (#130)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/130
Reviewed-by: xuu <xuu@noreply@mills.io>
2022-04-02 22:27:20 +00:00
James Mills
f66b505d1a Fix GetState() (#129)
Should return `-1` if no state is found.

Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/129
2022-04-02 22:27:05 +00:00
James Mills
01b1408e62 Code cleanup (#127)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/127
2022-04-02 16:26:33 +00:00
James Mills
8a7fb8686c Fix inbox indexing (#125)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/125
2022-04-02 15:58:20 +00:00
James Mills
c2119ad43f Update msgbus to v0.1.13 (#124)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/124
2022-04-02 15:15:33 +00:00
James Mills
1cda02bf1b Fix loading non-existent state (#123)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/123
2022-04-02 14:36:20 +00:00
James Mills
f1a2e5464e Fix persisting state for read sub-command (#122)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
Reviewed-on: https://git.mills.io/saltyim/saltyim/pulls/122
2022-04-02 14:27:40 +00:00