Commit Graph

46 Commits

Author SHA1 Message Date
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