Commit Graph

93 Commits

Author SHA1 Message Date
Fang
bc254031c1 No longer send local peers out with federation updates. 2018-04-25 21:02:34 +02:00
Fang
aaeb7520b6 Make sure that, in the federation case, changes are only recorded if there's actual changes.
Also remove commented code.
2018-04-25 15:50:04 +02:00
Fang
da1dc7a074 Remove commented out code. 2018-04-12 19:34:58 +02:00
Fang
eaf080b3b4 Adapt state. 2018-04-12 17:28:40 +02:00
Fang
38fce5986e Disable relative message number in subscription ranges. 2018-04-12 16:47:32 +02:00
Fang
542e3a33d6 Clean up ++so-first-grams and ++so-in-range using =*. 2018-03-07 01:20:55 +01:00
Fang
95e35ce2c9 Add support for targeting the last x messages in a query range.
/circle/inbox/grams/-5/-0 gets the last 5 messages from the inbox, nothing more.
Closes #643.
2018-03-07 01:15:19 +01:00
Fang
f5cb07948f Clean up ++prep of hall and talk. 2018-02-22 15:17:12 +01:00
Fang
35d3b04d21 Add usage tags to circle configs, allowing clients to store arbitrary meta usage info. 2018-02-22 13:08:24 +01:00
Fang
cfd52cc2ae Make initial federation result send just the last 100 messages. 2018-02-22 13:01:05 +01:00
Fang
f1eeb66af0 Adapt state. 2018-02-21 15:03:16 +01:00
Fang
8a4e3c8656 Revert "Add usage tags to circle configs, allowing clients to store arbitrary meta usage info."
This reverts commit e807db9055.
2018-02-21 13:23:58 +01:00
Fang
3e43963426 Ensure that %remove diffs actually get sent out for those interested in config.
In the future, this should also go out to those interested in group, and delete the remote group when it is received.
2018-02-19 20:55:00 +01:00
Fang
344fb38bc6 Make hall's ++prep more robust. 2018-02-19 17:04:20 +01:00
Fang
94a72a74f6 Pulled subscriptions can no longer cause a story to be created.
This doesn't seem to be an issue for other arms, but the fact that that isn't immediately clear is cause for mild concern.
2018-02-19 15:31:13 +01:00
Fang
7d8a0a36a3 Add state adapters. 2018-02-14 22:41:52 +01:00
Fang
4acc7b372b No longer automatically send invite messages when changing permissions. 2018-02-14 17:20:52 +01:00
Fang
e807db9055 Add usage tags to circle configs, allowing clients to store arbitrary meta usage info. 2018-02-14 17:02:47 +01:00
Fang
4c846c95a6 More debug pokes, for checking incoming subs and resubscribing to federating children. 2018-01-26 22:47:49 +01:00
Fang
2b08d7fbd9 Make hall and talk always use ost.bol instead of bone 0, which gall now disallows. 2018-01-25 19:03:22 +01:00
Fang
9f2d841b24
Always show all circles to their owner.
Even if they banned themselves.
2018-01-17 14:30:50 +01:00
Fang
d2cc5a5658
Fixed weird code for updating /circles subscriptions.
No longer incorrectly uses the subscriber's ship name when getting the affected story.
2018-01-17 00:20:34 +01:00
Fang
b0876bd4e6 Burden prize may contains no more than 2k messages, for performance reasons. 2018-01-07 16:28:22 +01:00
Fang
bd712a8547 Clarified TODO. 2018-01-03 21:10:47 +01:00
Fang
4e33264230 Can now query hall for own circles.
Talk code depends on #522.
Closes #503.
2018-01-03 18:34:13 +01:00
Fang
2a118e330b Merge commit 'ff5c9ae031d58b27d7db3b563aba3f3310e83286' into hall-talk-smallfix 2017-12-19 15:33:30 +01:00
Fang
7dda8f12b3 Reject status changes if the new nickname is a valid ship name. 2017-12-19 14:43:49 +01:00
Elliot Glaysher
a5ef941505 Enables more doccords in hall and talk. 2017-12-18 15:53:59 -08:00
Fang
06b3355556 Renamed ++naem to ++name. 2017-12-18 14:20:45 +01:00
Ted Blackman
a6ebf69d3a
Merge pull request #492 from Fang-/hall-filter
Customizable filter for incoming hall messages
2017-12-15 11:28:55 -08:00
Fang
56519a6b56 More temporary debug pokes. 2017-12-14 01:55:33 +01:00
Fang
e1a0bdc3c9 Notify of all peer fails using hall messages, not just /circle ones. 2017-12-14 00:40:33 +01:00
Fang
6a1d2fcbba Always remove the old source when we resub a dropped /circle subscription. 2017-12-14 00:11:46 +01:00
Fang
1e82b54c85 Pretty-print peer and poke nacks as hall messages. 2017-12-14 00:07:35 +01:00
Fang
9cd3a41a16 Always attempt to resubscribe on ++quit. 2017-12-14 00:05:39 +01:00
Fang
032132252a
Add debug printfs to generic ++quit arm in hall 2017-12-13 15:32:09 +01:00
Fang
12262410c4 Work around runtime error caused by _example behavior. 2017-12-13 02:08:52 +01:00
Fang
c5ea0cc028 Expand filter with bowl data. 2017-12-12 16:54:33 +01:00
Fang
77d03383b4 Hall can now perform customizable filtering on incoming messages.
Uses a `|=(telegram ...)` supplied by /app/hall/filter.hoon
2017-12-12 13:58:02 +01:00
Ted Blackman
8fe58e3261
Merge pull request #487 from Fang-/revert-prep
Revert hall's ++prep back to normal.
2017-12-11 12:35:45 -08:00
Ted Blackman
22e52b18b9
Merge pull request #486 from Fang-/talk-small-fixes
Hall & talk QoL fixes
2017-12-11 12:32:23 -08:00
Fang
8b7628fc13 Revert ++prep back to normal. 2017-12-11 21:25:50 +01:00
Ted Blackman
b40e18bdaa
Merge pull request #481 from Fang-/talk-numbering-fix
Rebuild msg number references, fix msg updating, provide debug tools
2017-12-11 12:22:05 -08:00
Fang
7ea1a0507a Speeches embedded in speeches are no longer exempt from filtering.
Closes #478.
2017-12-11 19:49:45 +01:00
Fang
8c40520164 Removed outdated todo. 2017-12-11 19:33:37 +01:00
Fang
c5cd8b7721 Now properly handle messages we're re-reading from a different source. 2017-12-11 18:28:40 +01:00
Elliot Glaysher
93d822e567 Enabled doccords in hall. 2017-12-10 19:56:58 -08:00
Fang
f1514c8a21 Add poke arm for getting debug info out of hall and talk. 2017-12-11 01:00:26 +01:00
Fang
0e04242148 Add logic for rebuilding state that refers to messages by numbers.
Because count used to be incorrect, messages are being referred to by incorrect indices. This rebuilds all count-dependent data.
2017-12-11 01:00:26 +01:00
Fang
0a24fd09fb Fix incorrect usage of sourced list of indices. 2017-12-11 01:00:26 +01:00