Commit Graph

15840 Commits

Author SHA1 Message Date
Jared Tobin
1f8826a8ed
Merge branch 'la-tiscol-fix'
* la-tiscol-fix:
  chat: changed a =: to a =. to fix message storage bug

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-16 09:43:40 +04:00
Jared Tobin
3e44e5155e
Merge branch 'claz-checks' (#1822)
* claz-checks:
  claz: group state check arms together
  claz: factor asserts out of callsites
  claz: check pool sizes when inviting
  claz: check planet availability for %invites
  claz: print proper error messages

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-16 09:41:31 +04:00
Philip Monk
6b8d75a88c
jael: retrieve first sponsor instead of last 2019-10-15 18:04:34 -07:00
Logan Allen
2871a964ba chat: changed a =: to a =. to fix message storage bug 2019-10-15 16:16:02 -07:00
Jared Tobin
a5e3ca92b4
tests: disable %ames test-send
This test depends on the ames protocol version, and so should probably
be rewritten.  It's currently holding up a breach, so it's most
expedient to just disable it for the time being.
2019-10-15 23:23:57 +04:00
Jared Tobin
f0a0c66afd
ames: bump protocol version
A last-minute adjustment to the v0.9.0 release to ensure that ships in
the next era don't become haunted by ghosts of the past one.
2019-10-15 22:32:55 +04:00
Jared Tobin
4613264047
release: v0.9.0
Updates URBIT_VERSION, Landscape builds, and all pills.
2019-10-15 14:50:05 +04:00
Jared Tobin
9068188e4b
build: fix 'solid' derivation [ci skip]
578adc93 introduced a 'meta' attribute for handling, amongst other
things, conditional construction of the debug executable.  It missed the
'solid' derivation, causing it to break.
2019-10-15 11:56:16 +04:00
Jared Tobin
8a4a3335d5
build: fix typo [ci skip]
s/ubit/urbit
2019-10-15 11:56:05 +04:00
Fang
a0145ff3db
claz: group state check arms together
In both core and flow. +run-checks sets the stage for future command
legitimacy checks.
2019-10-14 21:54:32 +02:00
Fang
8b37f5fe33
claz: factor asserts out of callsites
We now do them in the relevant functions instead, since we always want
to hard-fail on unexpected/erroneous responses.
2019-10-14 21:52:57 +02:00
Fang
a5564f2860
claz: check pool sizes when inviting 2019-10-14 20:19:17 +02:00
Jared Tobin
6f58c138b2
Merge branch 'ops-image' (#1820)
* ops-image:
  build: move ops debug conditional usage to drv metadata

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-14 20:50:16 +04:00
Fang
4a4b592afc
claz: check planet availability for %invites 2019-10-14 17:19:34 +02:00
Fang
8d3787328a
claz: print proper error messages 2019-10-14 16:03:12 +02:00
Brendan Hay
578adc9363
build: move ops debug conditional usage to drv metadata
Rather than conditional reconstructing the "urbit/bin/urbit-debug -g"
string everytime using the debug conditional, this information has been
added to the derivation's .meta attribute.
2019-10-14 10:25:34 +02:00
Jared Tobin
eaf0cfd995
Merge branch 'perm-hook' (#1818)
* perm-hook:
  permission-hook: style improvement
  apps: added permission hook and chat-view %join action

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-13 09:07:21 +04:00
Logan Allen
7f0ab1b8ab permission-hook: style improvement 2019-10-12 18:58:20 -07:00
Jared Tobin
2bb3c5a551
Merge branch 'claz-target-fix' (#1819)
* claz-target-fix:
  claz: %single %send-point to correct contract

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-12 15:19:38 +04:00
Fang
9b079f6c83
claz: %single %send-point to correct contract
09cb5f2 added a %send-point call, which is meant to target the delegated sending
contract. For %invites batches, this was the case. Handling of %single, however,
still sent all calls to the ecliptic contract.

This looks at the call tag to determine the target contract.
2019-10-12 00:22:44 +02:00
Logan Allen
b12e305c9c apps: added permission hook and chat-view %join action 2019-10-11 14:09:30 -07:00
Jared Tobin
3a540371a0
vere: rc version bump (-> 0.9.0.rc-4)
Also updates brass, ivory pills.
2019-10-11 11:27:04 +04:00
Jared Tobin
ac55d362e9
Merge branch 'ames-boot-timer' (#1817)
* ames-boot-timer:
  pills: update solid
  ames: skip timers if unix duct is unset

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-11 11:08:35 +04:00
Jared Tobin
daf2176ca9
pills: update solid 2019-10-11 10:56:16 +04:00
Jared Tobin
9d1b09c995
Merge branch 'chat-cli-glyphs' (#1816)
* chat-cli-glyphs:
  chat-cli: maintain sane glyph binding state
  chat-cli: support per-target glyph unbinding
  chat-cli: properly decode double-bound glyphs
  chat-cli: try not to double-bind glyphs

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-11 10:35:42 +04:00
Jared Tobin
3f4edb608d
Merge branch 'la-join' (#1815)
* la-join:
  js: Improved join UI and added support for paths with multiple elements

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-11 09:12:31 +04:00
Jared Tobin
23a1375f73
Merge branch 'pkova/master' (#1814)
* pkova/master:
  eyre: fix missing cancel-heartbeat-move cases

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-11 09:07:10 +04:00
Joe Bryan
e9396973cc ames: skip timers if unix duct is unset 2019-10-10 17:21:39 -07:00
Fang
4e963ff23a
chat-cli: maintain sane glyph binding state
This ensures that `binds` is updated to match overwrites in `bounds`.
2019-10-10 23:49:36 +02:00
Fang
31b7331e1e
chat-cli: support per-target glyph unbinding 2019-10-10 23:40:08 +02:00
Fang
e01d59ae4c
chat-cli: properly decode double-bound glyphs
Resolves glyph to most recently seen target.
2019-10-10 22:40:37 +02:00
Fang
cf24f4a80e
chat-cli: try not to double-bind glyphs
Try to use the default glyph.
If that is already in use, random available glyph.
If there's none available, the default glyph.
2019-10-10 22:38:36 +02:00
Logan Allen
84e143574a js: Improved join UI and added support for paths with multiple elements 2019-10-10 11:20:53 -07:00
pkova
92cc039155 eyre: fix missing cancel-heartbeat-move cases 2019-10-10 20:59:39 +03:00
Jared Tobin
990d357e0f
Merge branch 'claz-invites' (#1813)
* claz-invites:
  claz: Correct & complete comments

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-10 14:51:17 +04:00
Fang
fa4d1bba48
claz: Correct & complete comments 2019-10-10 11:31:05 +02:00
Jared Tobin
8b64b3de40
vere: rc version bump (-> 0.9.0.rc-3) 2019-10-10 10:58:13 +04:00
Jared Tobin
77af7aff72
Merge branch 'claz-invites' (#1809)
* claz-invites:
  claz: Implement batch invites
  keygen: Add ownership-from-ticket function

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-10 10:47:59 +04:00
Jared Tobin
8a6912e42a
Merge branches 'algorithm-tests' and 'treap-traverse' (#1777, #1799)
* treap-traverse:
  tests: replace bogus queue in test-qeu
  pills: update solid
  hoon: replaces manual +tree cons with explicit %=

* algorithm-tests:
  pills: update solid
  tests: unit tests for +in (set)
  tests: unit tests for +to (queue)
  tests: unit tests for +by (map)
  tests: unit tests for +differ (diff/merge)
  hoon: fix for +uno/uni (#1779) set/map union
  hoon: fix for +apt:to (#1778) queue correctness

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-10 10:33:15 +04:00
Jared Tobin
d2964581da
tests: replace bogus queue in test-qeu
Per yosoyubik's commentary in urbit/urbit#1799:

The test is expecting that qeu to not be correct.. when it is.

The test [98 [97 ~ ~] [100 ~ [99 ~ ~]]] is a correct queue if we look at
vertical ordering: (mor 98 97), (mor 98 100) & (mor 100 99) all return
%.y, so vertical ordering is correct.

The previous implementation of +apt:to checked only horizontal ordering
between siblings, in this case that would fail: (mor 97 100) returns
%.n, but that is not how you check correctness of hoon treaps.

The solution is to modify that test with a proper "incorrect" +qeu, for
example: ((soft (qeu)) [97 [98 ~ ~] [100 ~ [99 ~ ~]]]). Vertical
ordering is not correct with any of the children.
2019-10-10 10:20:25 +04:00
Jared Tobin
b100160198
Merge branch 'treap-traverse' into yosoyubik-contribs
* treap-traverse:
  pills: update solid
  hoon: replaces manual +tree cons with explicit %=

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-10 10:07:03 +04:00
Jared Tobin
ad53e40e99
Merge branch 'algorithm-tests' into merge-yosoyubik-contribs
* algorithm-tests:
  pills: update solid
  tests: unit tests for +in (set)
  tests: unit tests for +to (queue)
  tests: unit tests for +by (map)
  tests: unit tests for +differ (diff/merge)
  hoon: fix for +uno/uni (#1779) set/map union
  hoon: fix for +apt:to (#1778) queue correctness

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-10 09:45:43 +04:00
Fang
09cb5f2403
claz: Implement batch invites
For generating many sendPoint() transactions for the Delegated Sending
contract. Specify what ship to send the invites as, and a path to a file
containing lines of "~ship,~ticket,0xaddress".

Comes with a generator, |claz-invites, for generating such files, given
a star and a range of its children (and an output path).
2019-10-09 21:28:48 +02:00
Fang
e6775d0907
keygen: Add ownership-from-ticket function
Many use cases care only for the ownership wallet. Using a function like
this, that derives exclusively that, saves computation time.
2019-10-09 21:19:04 +02:00
Jared Tobin
7b193375da
Merge branch 'chat-minor' (#1807)
* chat-minor:
  drum: Ensure dojo prompt on-boot
  chat-hook: Improve reap printf readability
  chat-cli: Remove prep printf

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-09 20:44:30 +04:00
Fang
9d63a3e9c7
drum: Ensure dojo prompt on-boot
The previous method for doing this relied on "dojo" being first when
sorting alphabetically, which is not the case anymore.
2019-10-09 18:02:03 +02:00
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
224ef6c89f
Merge branches 'vere-fs-errors' and 'args-cleanup' (#1805, #1806)
* vere-fs-errors:
  vere: checks on boot that we have write permissions for $pier
  vere: uses c3_sync macro instead of inline platform checks
  vere: handle error when opening pier lockfile

* args-cleanup:
  vere: adds comments noting possible -a/-d requirements
  vere: implements -x (exit immediately after boot)
  vere: removes unimplemented cli args -b and -V

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-09 10:52:03 +04: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