Commit Graph

362 Commits

Author SHA1 Message Date
Fang
fa9c55b530 Fixed issue with rare case where federator messages parent directly, in which messages don't get propagates down that parent's branch. 2017-06-13 19:40:59 -07:00
Fang
23927ece36 Made ++da-change-story cleaner. 2017-06-13 18:49:45 -07:00
Fang
d5e052daaa Moved init logic upstream. 2017-06-13 18:46:02 -07:00
Fang
9dbdd3f89f Tiny changes, comments & cleanup. 2017-06-13 18:06:38 -07:00
Fang
09a155f1c6 Fixed federation across galaxies. 2017-06-13 17:51:10 -07:00
Fang
ccfd01bb67 Touched up burden logic and moved it upstream, into delta generation. 2017-06-13 17:28:16 -07:00
Fang
5a6112d887 Fixed issue where messages got stored in the wrong order. 2017-06-13 17:18:04 -07:00
Fang
82ed507338 Weaved agent's message printing into ++ta-learn and friends.
No longer reprints messages if only audience/delivery changed.
2017-06-13 11:16:19 -07:00
Fang
2c96e87060 Moved %done delta logic upstream. Now actually stores message with updated audience. 2017-06-13 11:14:13 -07:00
Fang
ef5bfcd6d6 Implemented catch-all ++reap. 2017-06-12 18:10:55 -07:00
Fang
975f07f2d1 Burden subscriptions now specify the bearer, delivering "customized" rumors. 2017-06-12 18:09:00 -07:00
Fang
563aa0102e Mostly functional federation & delta model. 2017-06-12 15:19:45 -07:00
Fang
23cd3ad758 Newly updated in-between commit for delta-model talk. tmp 2017-05-22 17:10:24 +02:00
Fang
076f3a0ac4 Message sanitization is now configurable on a per-story level.
Story configuration includes a filter for specifying sanitization rules: dis/allowing capitals and non-ASCII characters.
The agent does not care about these rules, and just sends its message. If more limiting rules becomes available, the agent might want to adjust its message parsing according to the active audience.
2017-05-09 21:43:42 +02:00
Fang
165b94872e Talk-agent can now properly render messages that are longer than 64 characters.
It no longer forcibly splits up messages to fit that width.
2017-05-09 16:57:35 +02:00
Fang
661dcf5100 Renamed ++so-report-group to -crowd to match report and type renaming. 2017-05-03 18:39:23 +02:00
Fang
3e558bded3 Shuffled order of talk actions around to be slightly more intuitive. 2017-05-03 18:38:41 +02:00
Fang
73dabbb830 Renamed cli parsers to match new terminology. 2017-05-01 19:39:21 +02:00
Fang
22538c8593 More consistent about naming @t as cord, @p as ship, etc. 2017-05-01 19:34:05 +02:00
Fang
36765e0d14 Implemented actual federation.
%burden and %relief commands have been implemented to facilitate this,
for starting and ending federation respectively.
2017-05-01 17:32:26 +02:00
Fang
f8e3ef2edf Renamed talk guardian's parsed wire faces. 2017-04-27 13:21:17 +02:00
Fang
790468e28a Renamed talk state molds. 2017-04-27 12:15:41 +02:00
Fang
f3533eae4f More renaming of talk structures. 2017-04-26 23:33:25 +02:00
Fang
0e1b86da98 Patched remnant of station to circle renaming, sat to cir. 2017-04-25 21:18:14 +02:00
Fang
41980ae1de Some TODOs, cleanup in talk apps. 2017-04-25 21:09:20 +02:00
Fang
7c385e7203 Printfs now get sent to the default mailbox instead. 2017-04-25 13:33:02 +02:00
Fang
23bdb637b2 Bound faces to talk structures. Renamed stations to circles.
Communication structures get no new faces because their ideal implementation uses gates to process them.
2017-04-24 21:14:51 +02:00
Fang
0a4d5e9b3b Completed the cleanup of talk-agent.
Refactoring, renaming, reordering. Removes man/knot from all cores, replaced with calls to ++inbox.
2017-04-24 17:35:15 +02:00
Fang
b7381410e8 Partial cleanup of talk-agent.
So far includes some renaming of arms, partial documentation, bits of refactoring.
2017-04-21 17:37:10 +02:00
Fang
ba1546347c Further touch-ups to talk-guardian. 2017-04-21 16:14:11 +02:00
Fang
a08d490852 Significant cleanup of talk-guardian.
Renamed some arms and faces to be more obvious, refactored some code to be more clear, reorganized arms and updated inline documentation.
2017-04-21 00:05:32 +02:00
Fang
227f59f3db Removed unimportant ~&. 2017-04-19 11:33:00 +02:00
Fang
738ac90152 Updated TODOs. 2017-04-18 21:33:02 +02:00
Fang
49eb5fe7dd ++pa-start no longer adds a follower if they are only interested in past data. 2017-04-18 18:59:29 +02:00
Fang
019bb9e3e5 Guardian now only sends remote presence diffs to readers, not the whole thing. 2017-04-18 16:10:01 +02:00
Fang
af459acbb8 Agent now properly does a per-partner uni of presence maps. 2017-04-18 14:29:58 +02:00
Fang
02b31e4cb0 Implemented ;unbind for unbinding glyphs. 2017-04-18 14:29:17 +02:00
Fang
9355a4d9b4 Self-permissions issue. 2017-04-17 13:49:46 +02:00
Fang
6d39b45cb8 Station parser. 2017-04-17 13:14:04 +02:00
Fang
ad8fb2607e Moved unsubscribing of specific ships (instead of bones) into its own arm. 2017-04-14 17:01:54 +02:00
Fang
86deb6204b Implemented %depict, %source and %delete commands. 2017-04-14 16:16:36 +02:00
Fang
85a13cea21 Fully deprecated %design and %publish commands in favor of the new actions. 2017-04-14 13:02:38 +02:00
Fang
8b82260408 Added %source action for un/subscribing, %convey and %phrase actions for sending.
New actions are used in reader to simplify implementation.
2017-04-13 23:40:53 +02:00
Fang
108431b2c9 Put remotes and mirrors back into config. They no longer contain local story data.
Reader doesn't care much, aside from changes to lowdowns. It subscribes exclusively to the default mailbox.
2017-04-13 14:09:38 +02:00
Fang
17b1abc0ba Lowdowns now contain only what changed. +other small changes/TODOs.
Pre-rollback.
2017-04-12 20:09:23 +02:00
Fang
496a177a8e Reader now properly stores mailbox's sources, and updates audience for new sources.
The latter is necessary because of the delay between setting audience to a newly created/joined station, which causes the mailbox to be included because we don't know we're actually subscribed to the new station yet.
2017-04-12 15:09:24 +02:00
Fang
3a43657bc1 Allowed readers to subscribe to grams from specific stories.
This means apps don't have to write to the standard mailbox to be able to get messages.
2017-04-12 13:22:44 +02:00
Fang
f0331924b3 Lowdown %grams now exclusively come from the mailbox. 2017-04-11 22:51:47 +02:00
Fang
1345c9b3c0 Reader no longer uses tales for any storage.
Configs and presences in maps, all grams in one place (as the mailbox already did), subscriptions as a set of sources rather than mailbox config.
2017-04-11 22:36:11 +02:00
Fang
59aa18e6d2 Merged local story configs and presences into the remote maps. Reader lowdowns no longer distinguish between local and remote stories. 2017-04-11 17:01:25 +02:00
Fang
d769b2f325 Implemented %create action. 2017-04-11 13:24:07 +02:00
Fang
4b5010a7ba ++sh no longer stores commands in its core, but adds moves directly to ++ra. 2017-04-11 13:08:15 +02:00
Fang
eebd699032 Removed ++update in favor of ++action. 2017-04-11 13:00:13 +02:00
Fang
38b91e2f37 Implemented ++ra-know equivalent that sends a reaction if story lookup fails. 2017-04-11 12:18:37 +02:00
Fang
c33d5a04e5 Implemented ;invite and ;banish for giving and denying permission to stations.
Read permissions for journals and mailboxes are constant: all and our team resp.
2017-04-11 12:17:23 +02:00
Fang
2a3dffc8c4 Implemented %action and %reaction types for better reader-broker comms.
Opens up new possibilities for refactoring.
2017-04-10 22:24:25 +02:00
Fang
0e850fc8bd Small changes, TODOs and miscellaneous cleanup. 2017-04-04 21:55:05 +02:00
Fang
97a32fca79 Renamed ++ra-diff-talk-lowdown- arms to ++ra-low-. 2017-04-04 21:52:05 +02:00
Fang
7b819b644a Renamed ++sh-repo- arms to be consistent with their new usage. 2017-04-04 21:44:24 +02:00
Fang
1d3e57ebe4 Changes in configs now get printed to the cli. 2017-04-04 20:59:51 +02:00
Fang
f895a898fe Fixed old and incorrect usage of subscription path. 2017-04-04 18:47:11 +02:00
Fang
ce8a9a8ca2 ++ra-unconfig and ++pa-reform-gone for story deletion. 2017-04-04 16:15:12 +02:00
Fang
b39393acb9 Resolved TODO's and removed old code. ;who now prints human handles if available. 2017-04-04 15:40:59 +02:00
Fang
670d4d26af Fixed incorrect usage of uni:by. 2017-04-04 13:33:38 +02:00
Fang
3350be68d5 Moved remotes and mirrors out of stories/tales and into global state. 2017-04-04 00:14:06 +02:00
Fang
0d41537f91 Removed ++timed from talk-guardian, no longer in use. 2017-04-03 21:12:58 +02:00
Fang
2fef0b771b Lowdowns for readers now include remote presences and configs, to aid mailbox behavior. 2017-04-03 16:50:35 +02:00
Fang
e36aed9778 Undid removal of federation functionality to facilitate traditional mailbox behavior.
The default mailbox gets used to contain foreign stories.
2017-04-03 14:42:45 +02:00
Fang
c0a8d7ba5c $design commands can now actually delete stories again. 2017-04-03 12:44:05 +02:00
Fang
29034fc5a1 Fixed the order in which lowdowns get sent: %tales should always go first. 2017-03-31 16:33:52 +02:00
Fang
4af1e44467 Properly send, process and show presences. 2017-03-31 16:33:39 +02:00
Fang
40b01138e4 Fixed issue where audience wasn't getting set on create/join. 2017-03-31 12:46:40 +02:00
Fang
8ac81e570d Removed unused ++etch arms from agent. 2017-03-30 23:57:49 +02:00
Fang
6c20c8d0fe Fixed error in %glyph lowdown construction and improved its handling. 2017-03-30 23:56:48 +02:00
Fang
6a15fb2cab Removed remote mirrors (federation) from agent's shell.
Now passing ++sh tale knots instead of being specified within shell.
2017-03-30 18:04:47 +02:00
Fang
7d8e0e8e33 Removed remote mirrors (federation) from guardian. 2017-03-30 17:49:18 +02:00
Fang
f15a52a7f2 Miscellaneous small changes, mostly comments and debugging. 2017-03-30 14:17:37 +02:00
Fang
718d88f3b7 Moved some report-related parts of ++sh to be lowdown-oriented. 2017-03-30 14:14:30 +02:00
Fang
163c31d425 Talk lowdowns can now indicate story/tale deletions. 2017-03-30 13:33:37 +02:00
Fang
c03921811a ++sh now has a generic diff function for sets. 2017-03-30 11:52:40 +02:00
Fang
30e11f0dd1 No longer sends multiple %tales reports for the same change. 2017-03-29 20:19:36 +02:00
Fang
9b94bbeb33 Removed %house reports, superseded by %tales lowdowns. 2017-03-29 20:17:21 +02:00
Fang
c41973005f Subscriptions now happen properly and config data gets propagated to readers. 2017-03-29 17:03:59 +02:00
Fang
91421fd8d2 Fixed issue where the incorrect bone was used for sole effects. 2017-03-29 13:00:44 +02:00
Fang
47f36dda65 Readers no longer receive talk reports. Rely on lowdowns for updates instead.
Working title. Compiles but doesn't run well. ++sh needs work to accommodate.
2017-03-29 00:11:12 +02:00
Fang
5313bf635a Agent can now boot, get initial data from guardian, and perform sole-actions. 2017-03-27 23:17:09 +02:00
Fang
9305be2a0a State now contains a single shell. 2017-03-27 23:11:25 +02:00
Fang
81c9bb6ba0 Numerous small changes and fixes to get the guardian to compile. 2017-03-27 17:26:05 +02:00
Fang
36d02bfc42 Numerous small changes and fixes to get the agent to compile. 2017-03-27 15:27:08 +02:00
Fang
e53cedd10d Agent now actually sends talk command to the guardian. 2017-03-27 14:52:53 +02:00
Fang
394566869b Shell's audience no longer a unit. 2017-03-27 12:52:30 +02:00
Fang
2873ab49f5 Changed update $human. 2017-03-27 12:50:39 +02:00
Fang
a2d2633776 Fixed syntax errors. 2017-03-27 11:26:23 +02:00
Fang
c27d9fcf8d Merged subscription groups into one. 2017-03-25 00:54:56 +01:00
Fang
cf346ddcf5 Changed update and lowdown of identities to allow for deletion. 2017-03-25 00:24:55 +01:00
Fang
073990055f Better talk-lowdown move creation. 2017-03-24 21:30:20 +01:00
Fang
803e521e38 Set up protocol for updating/sharing generic UI state.
Moved/copied parts of ++ra and ++pa into the agent.
2017-03-24 21:10:27 +01:00
Fang
8602a6c5ff Better split state. 2017-03-23 23:10:28 +01:00
Fang
8c2d8327b8 Updated comments and new TODO's. 2017-03-23 23:07:35 +01:00
Fang
b092ea2e71 Rough initial split. Nonfunctional. 2017-03-23 01:34:56 +01:00