Commit Graph

133 Commits

Author SHA1 Message Date
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
C. Guy Yarvin
e749d60b1d Merged with constant errors disabled. 2018-01-31 15:36:48 -08: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
Fang
a114dc7e06 Fix off-by-one error when updating old messages. 2017-12-11 01:00:26 +01:00
Ted Blackman
7aa8150639
Merge pull request #475 from Fang-/talk-fix-present
Fix erroneous presence handling
2017-12-09 14:39:01 -08:00
Fang
b8109d5b95 Ignore %status and %config diffs that wouldn't actually change anything. 2017-12-09 17:45:43 +01:00
Fang
66f87e1fab Ignore %present commands that wouldn't actually change anything. 2017-12-09 17:33:36 +01:00
Fang
3e0a681c2b A %remove status diff now *actually* removes the status. 2017-12-09 17:17:57 +01:00
Fang
100f0cb431 Don't put any grams into the prize if they weren't requested. 2017-12-09 14:59:29 +01:00
Fang
6a162cd5d9 Reset stories' count to be equal to (lent grams) in ++prep. 2017-12-08 23:05:47 +01:00
Fang
27db17d1a4 Fixed incorrect usage of ++team:title. 2017-12-06 16:54:08 +01:00
Fang
3ecd885177 Now properly avoids sending burden updates to the reporter again. 2017-12-06 12:30:19 +01:00
Fang
07885a3c98 Removed version requirements from hall and talk.
Also small comment cleanup.
2017-12-05 22:32:55 +01:00
Fang
1b7aae8631 Implemented /circles, for querying visible circles on ships. 2017-11-24 20:34:46 +01:00
Fang
e14e9dfea5 Comments, minor cleanup. 2017-11-24 00:46:41 +01:00
Fang
f13979d1f2 ++ta-action no longer requires a bone it doesn't even use. 2017-11-24 00:46:00 +01:00
Fang
a2cf78a510 Made situations where forced unsubscribes occur (;banish, ;delete) actually work.
We no longer resubscribe when a foreign source quits our subscription.
We don't always want to do this for local quits either, but can't differentiate. So for now, we pull local subs instead of quitting them.

Depends on urbit/arvo#459
2017-11-24 00:43:16 +01:00
Fang
7d13f01633 Removed unused delta %quit. 2017-11-23 13:31:59 +01:00
Fang
52c6805879 Now remove people's presence when they get banished. 2017-11-22 23:23:16 +01:00
Fang
1771a56e36 Now also send invite messages to people who have already been invited.
To allow for hosts to notify/remind people they can join.
2017-11-22 21:22:44 +01:00
Fang
974d1e1026 No longer send out multiple messages when inviting multiple people. 2017-11-22 20:40:20 +01:00
Fang
a03a5d2feb Now need write permission to indicate presence. 2017-11-22 20:22:08 +01:00
Fang
afa8402f2f Updated ++sa-unearth to correctly work with current subscription paths. 2017-11-22 18:51:12 +01:00
Fang
caac75dc65 No longer require %inbox membership to be able to list a circle in one's public memberships. 2017-11-20 21:44:22 +01:00
Fang
5fbb7599cb Hall stories now also track where messages were received from.
Stories can be queried for messages originating exclusively from a specific source.
2017-11-20 20:48:54 +01:00
Fang
afa6b7552c Now *actually* checks if a message is in a subscriber's range.
Fixes omitted sample caused by changes in 6e4b9fe.
2017-11-20 20:23:02 +01:00
Fang
909d8665f3 Simplify unnecessarily verbose checks in ++dedicate. 2017-11-20 18:51:55 +01:00
Fang
5436f71bce Removed unnecessary operations in ++so-resub. 2017-11-20 14:44:29 +01:00
Fang
5cd9f12ae3 Tiny fixes & todo's cleanup. 2017-11-17 20:10:23 +01:00
Fang
c16269de6f Stories now track which ships are actually subscribed to them.
Can be queried using /peers/[circle-name].
2017-11-17 20:09:40 +01:00
Fang
0a610d6419 Cleaned up %peer and %pull move wires and logic. 2017-11-17 18:41:08 +01:00
Fang
c05ca4a103 Hall now silently ignores (the data-less) %report prizes, so it doesn't seem like something's wrong. 2017-11-16 21:32:09 +01:00
Fang
27d3867951 Changed ?-/?+ separation comments to adhere more closely to the standard. 2017-11-16 01:21:25 +01:00
Fang
b416535408 Renamed "reader" to "client".
More immediately obvious terminology.
2017-11-16 00:56:33 +01:00
Fang
aa35774190 Minor styling and cleanup. 2017-11-16 00:48:56 +01:00
Fang
9aa32d7de7 Subscriptions now get ended if we no longer know their story. 2017-11-14 00:55:18 +01:00
Fang
89f73aced8 If we got changes from a /report, don't send those same changes back to them. 2017-11-14 00:55:03 +01:00
Fang
ca61503876 Don't create a %permit delta if there is no change. 2017-11-13 23:45:55 +01:00
Fang
65383f5709 Removed !: from hall and talk. 2017-11-10 00:04:07 +01:00
Fang
0b50718439 Removed outdated comments. 2017-11-09 22:40:22 +01:00
Fang
1865c9df70 Comments. 2017-11-09 19:08:30 +01:00
Fang
12e954c352 Fixed another problematic accumulator call. 2017-11-09 19:08:05 +01:00
Fang
664a97b0e8 Added a %report prize so it no longer looks like the query's unavailable. 2017-11-09 18:26:26 +01:00
Fang
cf3e4eecb0 Fixed some flaws in federation-related code.
New circles can now propagate more than a single level down, changes get applied properly.
2017-11-09 18:25:26 +01:00
Fang
698e7386a0 Temporarily worked around runtime errors in hall that occur when federation happens. 2017-11-09 10:38:12 +01:00
Fang
ee1ca40f34 Renamed %talk-guardian to %hall, %talk-agent to %talk.
In /sur, /gen, /mar, /lib renamed files/folders from "talk" to "hall".
2017-11-07 22:05:52 +01:00