Commit Graph

468 Commits

Author SHA1 Message Date
Fang
79544a03d0
chat-hook: Improve reap printf readability 2019-10-09 15:30:26 +02:00
Fang
86f37ede6c
chat-cli: Remove prep printf 2019-10-09 15:04:51 +02:00
Jared Tobin
23f13877a0
Merge branch 'odyssey-wip' (#1785)
* odyssey-wip: (31 commits)
  chat-cli: Add clarity
  drum: Boot with %chat-cli, without %hall & %talk
  chat-cli: Cosmetic improvements
  chat: Move eval logic out of /lib/chat-json
  chat-cli: Properly support deleting local chats
  chat-cli: Subscribe to /updates instead of /all
  chat: Move eval logic into lib
  chat: removed unnecessary cast
  chat: removed overly specific pattern match
  chat: style fix for a comment
  chat: remove poke-noun arms
  chat: fixed eval function to disable scry
  chat-cli: Simplify message command type & logic
  chat-cli: Implement permission management
  chat: /primary path provides truncated initial as well as updates
  chat: style fixes, removed some redirect bugs from chat
  chat-cli: Match store and hook's path handling
  chat-cli: Update prompt on-create
  chat: changed wire format and quitting subscription properly on ban
  chat-cli: Add debug poke for connecting to store
  ...

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-09 10:04:38 +04:00
Fang
4dea1068b2
chat-cli: Add clarity 2019-10-09 00:06:39 +02:00
Fang
b7f1e9c578
Merge branch 'odyssey-wip' into odyssey-chat-cli 2019-10-08 23:32:57 +02:00
Fang
816535c311
drum: Boot with %chat-cli, without %hall & %talk
Also refactors the surrounding code in +deft-apes.
2019-10-08 23:19:05 +02:00
Fang
24859907aa
chat-cli: Cosmetic improvements
Better variable naming. Trailing newline.
2019-10-08 23:00:46 +02:00
Fang
e567de9c18
chat: Move eval logic out of /lib/chat-json
This allows us to always include the bowl when evaluating a code letter.
2019-10-08 22:44:20 +02:00
Fang
0da8e1efb3
chat-cli: Properly support deleting local chats
Since the current implementation of ;leave is silently destroying state
instead of unsubscribing, we disallow running ;leave on local chats and
provide an explicit ;delete instead.
2019-10-08 22:28:56 +02:00
Fang
42aa035530
chat-cli: Subscribe to /updates instead of /all
On first boot (and debug poke) we scry for /all to ensure we know all
messages.
2019-10-08 22:06:45 +02:00
Fang
9532857ef5
chat: Move eval logic into lib 2019-10-08 22:06:28 +02:00
Logan Allen
225fb9327f chat: removed unnecessary cast 2019-10-08 12:44:28 -07:00
Logan Allen
c1ecfd86cb chat: removed overly specific pattern match 2019-10-08 12:40:15 -07:00
Logan Allen
e9bbf68eed chat: style fix for a comment 2019-10-08 12:39:00 -07:00
Logan Allen
e567803478 chat: remove poke-noun arms 2019-10-08 12:37:39 -07:00
Logan Allen
6ab2879b81 chat: fixed eval function to disable scry 2019-10-08 12:13:29 -07:00
Fang
c7fbad61ee
chat-cli: Simplify message command type & logic
By dropping support for •-separated multi-messaging, we can simplify
the parsing and handling of message sending inputs.
2019-10-08 20:01:46 +02:00
Fang
dac51a9ed8
chat-cli: Implement permission management
Set security type during ;create. Use ;invite and ;banish to dis/allow
ships from reading and/or writing.

Talks to the group-store to modify permission groups. Scries into
permission-store to check for white- vs blacklist.
2019-10-08 20:01:21 +02:00
Logan Allen
536dcdc4f4 chat: /primary path provides truncated initial as well as updates 2019-10-08 10:41:06 -07:00
Logan Allen
fbbb3830b2 chat: style fixes, removed some redirect bugs from chat 2019-10-08 10:11:18 -07:00
Fang
9c562f4c62
chat-cli: Match store and hook's path handling
Now prefixes the host ship to the path, and parses it back out, only
when appropriate.
2019-10-08 16:18:20 +02:00
Fang
10b17ff127
chat-cli: Update prompt on-create
Creating a mailbox would refresh the prompt before setting a new
audience, instead of after. This change corrects the behavior.

Also updates glyph binding code and print style.
2019-10-08 16:15:19 +02:00
Fang
b2365c1668
Merge 'odyssey-wip' into odyssey-chat-cli 2019-10-08 13:04:49 +02:00
Logan Allen
79903ff9f5 chat: changed wire format and quitting subscription properly on ban 2019-10-07 17:35:48 -07:00
Fang
12050d44a8
chat-cli: Add debug poke for connecting to store 2019-10-07 20:46:35 +02:00
Fang
03b5a1cd71
chat-cli: Support %url and %me message types 2019-10-07 20:45:58 +02:00
Fang
c0d07fa14a
chat-cli: Clean up code
Renames, refactors, and occasionally rewrites many of the arms used
within the application. Splits +sh into +sh-in and +sh-out, improves
naming for rendering cores, moves arms around for better organization,
and adds descriptions to all arms.
2019-10-07 16:31:10 +02:00
Fang
7911061dab
chat-cli: Make more fully-featured
Brings it largely up to parity with Talk, save for features relating to:
- presence & nicknames
- circle management (permissions, sources)
- deprecated message types

In addition to implementing remaining functionality for basic usage
patterns, makes the following changes:
- glyphs per target, not multiple targets
- assume /~ship/path paths are created/used by the chat-hook

Code cleanup pending.
2019-10-07 16:09:22 +02:00
Fang
07454e2327
apps: Add WIP chat-cli 2019-10-07 16:09:14 +02:00
pkova
a019c2079e eyre: add channel \n heartbeat every 20 seconds 2019-10-07 03:11:11 +03:00
Jared Tobin
8aeaf1610b
Merge branch 'behn-log-drip-fail' (#1795)
* behn-log-drip-fail:
  updates solid pill
  behn: print error on failed %drip
2019-10-05 16:28:20 +04:00
Isaac Visintainer
e9c639464b eyre: changed cookie format 2019-10-04 15:06:01 -07:00
Philip Monk
d202a4fb56 behn: print error on failed %drip 2019-10-04 14:05:52 -07:00
Logan Allen
39a5017254 chat: added old @ messages, now called %me messages 2019-10-03 13:33:07 -07:00
Jared Tobin
8920bf0dc5
meta: update contributing section in arvo readme [ci skip]
The subtree in pkg/arvo apparently still has a README in it, which had
gotten only slightly out of sync with the overall project README.  This
commit updates its 'contributing' section to point at the appropriate
contributing document.
2019-10-03 14:39:14 +04:00
Logan Allen
e3b39f735f marks: moved hook action marks 2019-10-02 18:30:50 -07:00
Logan Allen
2625efd485 apps: updated style and added moon support 2019-10-02 18:30:50 -07:00
Logan Allen
8b74a674f3 chat-hook: updated to allow a simpler message send flow 2019-10-02 18:30:50 -07:00
Logan Allen
693b6f2b81 hood: added chat-store, hook, and view to startup 2019-10-02 18:30:50 -07:00
Logan Allen
0f5eea480d chat: added new JS files, deleted old chat.hoon 2019-10-02 18:30:41 -07:00
Joe Bryan
22ddd4aeb5 arvo: clear caches in response to (high) memory pressure 2019-10-01 15:04:13 -07:00
Joe Bryan
ef959e0c52 gall: clear caches in response to memory pressure 2019-10-01 15:04:07 -07:00
Joe Bryan
1e9cc07649 eyre: close channels in response to memory pressure 2019-10-01 15:04:03 -07:00
Joe Bryan
8ff445c68c ford: clear caches in response to memory pressure 2019-10-01 11:35:08 -07:00
Logan Allen
f9377536fb app: Added chat store, hook, marks, and view. 2019-10-01 10:18:36 -07:00
Logan Allen
ee92862785 hood: start up groups and permissions 2019-09-30 16:43:09 -07:00
Logan Allen
4b01718d76 apps: added group/permission stores, hooks, marks 2019-09-30 14:46:07 -07:00
Jared Tobin
21c3119660
gall: remove %gall-booting printf
%gall currently prints

  [%gall-booting <app> p=<ship> q=<desk>]

whenever it receives a %conf (i.e., when it boots an app).  This turns
up in many of the places the old, less-informative '%mo-not-running'
printf did, but it's of similarly little use, and mainly serves to
create redundant line noise.  This commit just removes it.
2019-09-30 01:58:28 +04:00
Logan Allen
166465af59
zuse: added path, tank, string utils to en/dejs 2019-09-30 01:31:46 +04:00
Jared Tobin
2add146302
Merge branch 'reclamation' (#1773)
* reclamation:
  solid pill
  arvo: wires up %trim memory-pressure event stubs
  u3: wires up the %trim event in the daemon
  u3: adds %trim memory-pressure notification "effect"
  u3: tweaks |mass output (and fixes inadvertent truncation)
  u3: refactors periodic memory reclamation
  u3: factors out u3a_idle() to measure free-lists in a road
  u3: adds and uses u3a_full/heap/temp road macros
  u3: cleans up whitespace, removes dead code in allocator
2019-09-29 21:30:56 +04:00