Commit Graph

15573 Commits

Author SHA1 Message Date
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
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
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
Logan Allen
39a5017254 chat: added old @ messages, now called %me messages 2019-10-03 13:33:07 -07: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
Logan Allen
f9377536fb app: Added chat store, hook, marks, and view. 2019-10-01 10:18:36 -07:00
Jared Tobin
515bfcd312
Merge branch 'la-permission-groups' (#1763)
* la-permission-groups:
  hood: start up groups and permissions
  apps: added group/permission stores, hooks, marks

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-01 14:48:36 +04: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
cacf1f7e74
Merge branch 'jt-axe-gall-printf' (#1780)
* jt-axe-gall-printf:
  gall: remove %gall-booting printf

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-30 11:24:45 +04: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
Jared Tobin
846bd8982f
Merge branch 'la-zuse-additions' (#1757)
* la-zuse-additions:
  zuse: added path, tank, string utils to en/dejs

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-30 01:34:26 +04:00
Logan Allen
166465af59
zuse: added path, tank, string utils to en/dejs 2019-09-30 01:31:46 +04:00
Jared Tobin
b330fb4a8d
Merge branch 'safe-memo' (#1780)
* safe-memo:
  u3: refactors memoization patterns for safer rc

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-30 00:50:30 +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
Jared Tobin
5c99f33271
Merge branch 'ted/verb' (#1754)
* ted/verb:
  update pill
  hood: |knob {tag} {level} to set dill verbosity
  dill: set verbosity by error tag
2019-09-29 21:09:05 +04:00
Ted Blackman
f222ca49fb
update pill 2019-09-29 20:45:23 +04:00
Ted Blackman
0bf9e98d08
hood: |knob {tag} {level} to set dill verbosity 2019-09-29 20:45:10 +04:00
Jared Tobin
2694d04a51
contributing: add note on hotfixes [ci skip] 2019-09-28 14:44:50 +04:00
Joe Bryan
9896f3d16f u3: refactors memoization patterns for safer rc
specifically, avoiding uncounted references when
memoizing in the compiler
2019-09-27 17:02:27 -07:00
Joe Bryan
2f4ddad20c solid pill 2019-09-27 13:14:50 -07:00
Joe Bryan
3dd9bd7111 arvo: wires up %trim memory-pressure event stubs 2019-09-27 13:02:11 -07:00
Joe Bryan
7a62373308 u3: wires up the %trim event in the daemon 2019-09-27 13:02:11 -07:00
Joe Bryan
c5ab5c6c5b u3: adds %trim memory-pressure notification "effect" 2019-09-27 13:02:11 -07:00
Joe Bryan
a0cab6c8ed u3: tweaks |mass output (and fixes inadvertent truncation) 2019-09-27 13:02:11 -07:00
Joe Bryan
e51ba034d2 u3: refactors periodic memory reclamation
and adds clarifying comments to u3m_reclaim()
2019-09-27 13:02:11 -07:00
Joe Bryan
b75b418e25 u3: factors out u3a_idle() to measure free-lists in a road 2019-09-27 13:02:11 -07:00
Joe Bryan
ca2671947b u3: adds and uses u3a_full/heap/temp road macros 2019-09-27 13:02:11 -07:00
Joe Bryan
a2732a35b6 u3: cleans up whitespace, removes dead code in allocator 2019-09-27 13:02:11 -07:00
Ted Blackman
f2073dbc34 dill: set verbosity by error tag 2019-09-27 13:55:14 -04:00
Jared Tobin
cd3d24117c
Merge branch 'weather-precip-percent' (#1765)
* weather-precip-percent:
  weather: fix precipitation display

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-27 17:12:38 +04:00
Fang
7b21316694
weather: fix precipitation display
The `precipProbability` value ranges from 0 to 1, so to display
percentages we need to scale it up.
2019-09-27 17:08:50 +04:00
Jared Tobin
7491228042
Merge branch 'la-channel-js' (#1764)
* la-channel-js:
  eyre: better error handling in channel js

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-27 16:45:14 +04:00
Logan Allen
9a62a04042
eyre: better error handling in channel js 2019-09-27 16:30:53 +04:00
Jared Tobin
ba6f60cc66
Merge branch 'la-remove-hall-hood' (#1771)
* la-remove-hall-hood:
  hood: remove hall dependency.

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-27 15:41:23 +04:00