Commit Graph

15677 Commits

Author SHA1 Message Date
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
Jared Tobin
32052396d8
vere: version bump (0.8.0 -> 0.9.0)
Additionally updates all pills, for good measure.
2019-10-08 12:36:38 +04: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
Jared Tobin
cd9cd68fe7
Merge branch 'pkova/master' (#1687)
* pkova-master:
  pills: update solid (#1)
  eyre: add channel \n heartbeat every 20 seconds

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-07 21:44:00 +04: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
Jared Tobin
f9fc56a227
mailmap: add .mailmap file [ci skip]
The .mailmap file is used by git-shortlog when creating summaries of
commits for releases, etc.  Contributors who use multiple email
addresses (e.g. jared@tlon.io, jared@jtobin.io) or who would like their
name formatted in a particular manner (e.g. 'Jared Tobin' instead of
'jtobin') can add entries to .mailmap to unify their commits under a
single heading.

To initialise the file, I've added enough entries to ensure there are no
duplicate authors when running 'git shortlog --since="1 year ago"'.
2019-10-07 16:54:31 +04:00
Jared Tobin
95bb70967f pills: update solid (#1) 2019-10-07 10:51:21 +03:00
Jared Tobin
c3a69d683b
Merge branch 'container-image-tags' (#1800)
* container-image-tags:
  build: Trimming build target from container image tag

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-07 09:34:26 +04:00
pkova
a019c2079e eyre: add channel \n heartbeat every 20 seconds 2019-10-07 03:11:11 +03:00
Brendan Hay
55e6533e68
build: Trimming build target from container image tag 2019-10-06 10:44:02 -07:00
Jared Tobin
9e3b960194
contributing: fix awkward language [ci skip]
This is more of an OCD fix than anything, but technically the canonical
source tree is not located 'in' the master branch; it *is* the master
branch.
2019-10-06 19:03:26 +04:00
Jared Tobin
64a20fd700
contributing: add notes on describing contributions [ci skip]
Adds a couple of blurbs on how to describe contributions to the git
practice 'contributing' section.
2019-10-06 18:57:47 +04:00
Jared Tobin
20462d1529 pills: update solid 2019-10-06 12:09:54 +02:00
yosoyubik
84ebe8bf37 tests: unit tests for +in (set) 2019-10-06 12:00:53 +02:00
yosoyubik
764615b587 tests: unit tests for +to (queue) 2019-10-06 12:00:53 +02:00
yosoyubik
9d0e0c7827 tests: unit tests for +by (map) 2019-10-06 12:00:53 +02:00
yosoyubik
30a4496a87 tests: unit tests for +differ (diff/merge) 2019-10-06 12:00:53 +02:00
yosoyubik
7ed0a938e2 hoon: fix for +uno/uni (#1779) set/map union 2019-10-06 12:00:53 +02:00
yosoyubik
b55149af55 hoon: fix for +apt:to (#1778) queue correctness 2019-10-06 12:00:48 +02:00
Jared Tobin
18f55bb5f8
Merge branch 'tank-priorities' (#1797)
* tank-priorities:
  vere: Wrap tank dump priority escape codes with terminal check

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-06 09:22:57 +04:00
Jared Tobin
b85936ee5c
Merge branch 'container-image-tags' (#1798)
* container-image-tags:
  build: Tag container images with git branch/sha build information

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-05 22:32:33 +04:00
Brendan Hay
7070650bf6
build: Tag container images with git branch/sha build information 2019-10-05 11:16:59 -07:00
Brendan Hay
4dc1ec8874
vere: Wrap tank dump priority escape codes with terminal check 2019-10-05 11:04:58 -07: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
Jared Tobin
9ebe114c3b
Merge branch 'eyre-cookie' (#1794)
* eyre-cookie:
  eyre: changed cookie format

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-05 16:14:46 +04:00
Joe Bryan
a282342558
Merge pull request #1793 from urbit/forkless-daemon
Add Option to Disable Terminal/TTY Assumptions
2019-10-04 15:29:37 -07:00
Isaac Visintainer
e9c639464b eyre: changed cookie format 2019-10-04 15:06:01 -07:00
Joe Bryan
a1db81cbc9 updates solid pill 2019-10-04 14:19:42 -07:00
Brendan Hay
db0b7acd13
Adding terminal guard around tty column/row calculations 2019-10-04 23:16:08 +02:00
Joe Bryan
f389e2b141
Merge pull request #1792 from urbit/image-pill
Bake Solid Pill Into Container Images
2019-10-04 14:10:37 -07:00
Brendan Hay
e8f133d532
Adding -T option to disable terminal/tty assumptions
Without incurring the fork() that -d/daemon mode implies.
2019-10-04 23:09:24 +02:00