Commit Graph

13494 Commits

Author SHA1 Message Date
Hunter Miller
143c41540c interface: fixing type issues and ci 2022-03-15 10:17:30 -05:00
Hunter Miller
070f0ce278 Merge branch 'next/landscape' 2022-03-14 16:10:46 -05:00
drbeefsupreme
643700546f
hoon: populate %brpt doccords label 2022-03-14 17:09:41 -04:00
drbeefsupreme
0dc3498a6f
hoon: change %brdt AST to support doccords label 2022-03-14 17:08:49 -04:00
drbeefsupreme
f08b613416
hoon: populate label for %brcn doccords
This changes the parser for +tall so that it looks before and after a
hoon for doccords, and then extracts a label for %brcn if it exists.
+wrap will be used to annotating most hoons, but this commit only covers
%brcn
2022-03-14 17:00:04 -04:00
Hunter Miller
a35f70ac59 Merge branch 'next/groups' 2022-03-14 15:56:49 -05:00
Patrick O'Sullivan
74149bc16f groups: do not notify user if mentioned in DM 2022-03-14 15:04:36 -05:00
fang
41a796d2d1
hoon: hook up $+ for shorthand type rendering
Too often when dealing with big types the compiler traces and other such
outputs become hard to read. Wrapping a type as $+(shorthand big-type)
will now print #shorthand in place of the type.
2022-03-14 13:58:48 -04:00
drbeefsupreme
0a3ec9a92d
hoon: doccords cleanup %note tag for +boog 2022-03-14 11:49:31 -04:00
drbeefsupreme
336817d5bc
hoon: doccords for core chapters
this populates the $what in $tome
2022-03-14 11:49:30 -04:00
drbeefsupreme
cdaf23a184
hoon: prefix and postfix doccords for ++ and +$
there's a stub for +* but its not working yet
2022-03-14 11:49:29 -04:00
Hunter Miller
a6d7ddd164 Merge branch 'next/groups' into hm/landscape-perf-optimization 2022-03-11 15:45:00 -06:00
rabsef-bicrym
986d273b5f
Update /lib/ring/hoon for %jael scries.
Also I took the liberty of making `build-signing-participants` use a `%lyfe` scry and remove unknowns from the set rather than crashing. This is a choice - happy to change it back the other way.
2022-03-11 11:10:47 -08:00
Yaseen
f487afd4ee story: marginal output formatting improvement to +story-list 2022-03-11 12:28:07 -05:00
Yaseen
341e27b5c3 story: enforce 80 cols, fix formatting, update comments 2022-03-11 12:08:40 -05:00
Yaseen
b43b9f195e story: add file mar/story-diff.hoon, extract diff type to sur file 2022-03-11 11:21:55 -05:00
Yaseen
18537e0ae0 story: allow |story-write to also accept a lone title 2022-03-11 11:00:57 -05:00
Yaseen
add4452589 review: symlink base-dev files into arvo 2022-03-11 10:56:23 -05:00
Yaseen
a43dafdf44 review: align end comments 2022-03-11 10:48:35 -05:00
Patrick O'Sullivan
01a07f6a5b npm: add preSig func to npm lib 2022-03-10 14:15:49 -06:00
Patrick O'Sullivan
8926179f75 groups: trim ship string on preSig 2022-03-10 12:23:42 -06:00
Patrick O'Sullivan
0f85623f25 groups: Use presig on group join links 2022-03-10 12:20:12 -06:00
Patrick O'Sullivan
97aee0f422 groups: Add preSig func to utils 2022-03-10 12:19:32 -06:00
fang
3df227760f
hoon: hook up $+ for shorthand type rendering
Too often when dealing with big types the compiler traces and other such
outputs become hard to read. Wrapping a type as $+(shorthand big-type)
will now print #shorthand in place of the type.
2022-03-10 01:45:18 +01:00
Patrick O'Sullivan
9026712d5c Replace fill with class fill-current 2022-03-08 15:48:19 -06:00
Patrick O'Sullivan
38a4323911
Update pkg/grid/src/components/Checkbox.tsx
Co-authored-by: Hunter Miller <hunter@tlon.io>
2022-03-08 15:28:35 -06:00
Hunter Miller
53ae8f0886 tile-grid: filtering out system tile 2022-03-08 15:27:28 -06:00
Patrick O'Sullivan
aa5946aa70 groups/grid: Move security from groups to grid 2022-03-08 13:26:43 -06:00
Liam Fitzgerald
eeaa6d3c66 notify: disable notifications dismissal
Disables automatic dismissal of push notifications in an attempt to
tighten the debugging space. This should prevent unintentional 404s. To
prevent a space leak we clear notifications once a week on a timer.
2022-03-08 13:14:38 -06:00
ryjm
20fdae85a4 fix typo and beak 2022-03-08 10:13:04 -05:00
Liam Fitzgerald
f042366a7d
Merge pull request #5622 from urbit/po/markdown-styling-around-ship-name
groups: Fix markdown styling around ship names in chat messages
2022-03-07 13:16:09 -06:00
Jōshin
81f4254893
vere: guarantee unique concatenated names 2022-03-06 16:45:55 -05:00
Jōshin
a480b2a91f
vere: lord info 2022-03-06 16:33:53 -05:00
ryjm
dc03d866f8 arvo: language-server desk support 2022-03-06 15:45:47 -05:00
Jōshin
3400e55b2d
vere: disk info
Fixes an apparent infinite loop in u3_disk_slog if red_u is not 0.
2022-03-06 15:31:03 -05:00
Jōshin
382f06efe9
vere: info measurements as $mass 2022-03-06 12:33:30 -06:00
ryjm
155729ec8b %home -> %base
Mostly cosmetic, but also fixes `language-server` and parts of sundry
neglected components (the nix build for solid pills, aqua, gaze exports,
+help)
2022-03-06 11:55:55 -05:00
Jake Miller
ed2da5d54f
Merge pull request #5605 from urbit/jm/archive-scry
graph-store: fix scrying into archive
2022-03-06 05:45:57 -05:00
Hunter Miller
531140ab24 tiles: adding drag and drop ordering 2022-03-04 18:50:54 -06:00
Patrick O'Sullivan
26d2d07d31 npm-api: add emphasis property to MentionContent type 2022-03-04 13:03:13 -06:00
Patrick O'Sullivan
4bc543a6ec groups: handle italic or bold markdown around @p's in messages 2022-03-04 12:46:16 -06:00
Hunter Miller
137e3970b9 Merge branch 'master' into next/landscape 2022-03-04 10:51:44 -06:00
Jōshin
df25781c37
conn: update header comment 2022-03-03 16:26:09 -06:00
Patrick O'Sullivan
d715c7d7cb landscape: Prevent adding duplicate ships to ShipSearch pills 2022-03-03 05:20:59 -06:00
Jōshin
1e77271afc
Merge pull request #5616 from urbit/jo/sort-motes
vere: sort motes
2022-03-02 19:52:35 -08:00
Jōshin
b598eb2815
vere: prune wrong motes
verified using vim regex search (and corresponding regexes for the 3, 2,
and 1 letter motes):

    /c3__\(.\)\(.\)\(.\)\(.\) *c3_s4\(('\1','\2','\3','\4')\)\@!
2022-03-02 21:19:52 -06:00
Jōshin
039bc7a975
vere: remove unused and wrong mote 2022-03-02 21:09:34 -06:00
Jōshin
06fe78ef6e
Merge branch 'next/arvo' into jo/khan 2022-03-02 20:28:44 -06:00
Jōshin
0d3b6d3d2a
Merge branch 'master' into next/arvo 2022-03-02 20:28:09 -06:00
Jōshin
0139550c79
khan: saner tic rollover, remove our 2022-03-02 20:15:44 -06:00
Hunter Miller
6c221fbddc interface: updating glob to trigger properly uploaded glob 2022-03-02 18:32:45 -06:00
Jōshin
e54e92cfa9
khan: docs 2022-03-02 18:02:20 -06:00
Jōshin
9d50957861
arvo: remove $crag, promote $page 2022-03-02 17:59:56 -06:00
Jōshin
8afea3c2ba
arvo: $card is not a cask 2022-03-02 17:38:45 -06:00
Jōshin
d06d8044fd
test: confirm different tids on same eny 2022-03-02 17:30:56 -06:00
Jōshin
0b507cf498
khan: don't reset tic
instead make it a rolling 128-bit integer. 128 bits is the same size as
the +sham space, so is one natural choice for "big enough to never have
to think about this." 64, 32, 16, even 8 bits would probably be fine.
2022-03-02 17:28:10 -06:00
Jōshin
18274090b2
khan: handle multiple %fards in one event 2022-03-02 16:37:46 -06:00
Jōshin
5d7321385f
khan: separate arms by blank comments 2022-03-02 15:09:01 -06:00
Jōshin
1ef958ea25
khan: use +en-beam / +de-beam, wide form 2022-03-02 15:07:38 -06:00
Jōshin
02d796cddb
arvo: remove redundant * 2022-03-02 15:07:10 -06:00
Jōshin
e4b6fe6ad3
test: 1162 2022-03-02 13:25:10 -06:00
Jōshin
91d390d529
khan: update docs 2022-03-02 13:23:06 -06:00
Jōshin
340f4d5b6c
khan: %fard/%arow use $cage, not $vase
Threads should eventually take and produce $cage instead of $vase. Since
%khan is likely to be used by third parties, we write to the eventual
intended API. We ignore the mark on the input $cage (it is safe to
always specify %noun), and we always use %noun as the output mark.

%fyrd now makes more sense. It was previously discarding the type of the
output %arow and re-encoding the raw noun as a vase of the output mark;
it is now performing mark conversion from the mark of the output $cage
to the originally requested output mark.
2022-03-02 13:07:52 -06:00
Jōshin
6ed6fdfc6e
Merge pull request #5575 from urbit/jo/unix-sane
vere/unix: sane(r) path handling
2022-03-02 10:00:05 -08:00
Yaseen
a57cb822a3
Merge branch 'urbit:master' into story 2022-03-02 12:03:44 -05:00
lukechampine
53a0c87cdb ames: add sendkeys-packet 2022-03-02 00:56:57 -05:00
lukechampine
df6318acd0 ames: fix comet self-attestation handling 2022-03-02 00:52:48 -05:00
lukechampine
1044d42a15 ames: don't enqueue blobs sent to unknown comets 2022-03-02 00:46:18 -05:00
Jōshin
f5fb214939
khan: initial state version is %0 2022-03-01 23:38:55 -06:00
Jōshin
6ce6e4f504
khan: structural slap, not general slam 2022-03-01 19:34:56 -06:00
Jōshin
2e9b4f5a94
khan: better wire production
runs afoul of a likely hoon bug and/or use case for dependent hoon.
2022-03-01 19:33:54 -06:00
Jōshin
f1da3f12d2
vere: sort motes
just piped the whole body through !sort in vim.
2022-03-01 17:43:44 -06:00
Jōshin
7d9ac764a7
conn: document /info type 2022-03-01 17:40:53 -06:00
Jōshin
33fb7ff86a
vere: u3_pier_info (and use in conn) 2022-03-01 17:35:21 -06:00
Joe Bryan
75b64f5b3e
Merge pull request #5515 from DaneBettis/dane.bettis/stacktrace-hints
Dane.bettis/stacktrace hints
2022-03-01 17:59:40 -05:00
Joe Bryan
d3804c01c0 Merge branch 'master' into next/vere
* master: (33 commits)
  groups: updating glob and version
  interface: use single sig in NotificationText
  interface: fix subscription reconnect issues
  landscape: fixing bad glob
  landscape: updating glob and version
  interface: adds `theme-color` meta tag, removes outdated safari web app meta tag
  zuse: add missing assertions
  landscape: cache marks again
  zuse: comment clarifying sk bounds check
  bounds-check against sk=1
  zuse: style cleanup, use +rep/+end
  pill: solid, brass
  interface: refine joining error cases
  group-view: fix errored rollback
  helm: cleanup +poke-rekey to match #5522
  helm: fix |rekey to work with multikey files
  test: schnorr bounds checking
  zuse: boundary assertions for schnorr
  zuse: schnorr test cases
  zuse: schnorr address
  ...
2022-03-01 17:58:48 -05:00
Jōshin
5825cbde71
test: move _test_lily into noun_tests 2022-03-01 16:23:23 -06:00
DaneBettis
ad2e6975af changes in response to code review 2022-03-01 21:27:33 +00:00
DaneBettis
7fa53169f2 vere: add hela and nara hints 2022-03-01 21:24:11 +00:00
DaneBettis
ee46c6a0dd vere: add %nara %hela hints, add a hoon test module for hints
nara: swedish for near, provides a trace from the start of the nearest virtualization
      to the statement wrapped by the nara hint.

hela: swedish for whole, provides a trace from the start of the event
      to the statement wrapped by the hela hint.

The eventual goal is to present these traces in a way that is most salient & useful to developers
and in a way that is aesthetically pleasing as the bout hint is useful and nice looking.

For this pull request the goal is to provide the actual functionality in code that we can feel
safe and comfortable adding to the master branch. To this end, I've added a trivial set of tests for
nara and hela in pkg/arvo/tests/run/hints.hoon - they only prove that invoking these hints will not
crash the runtime, but I'm open to ideas for how I can test these hints further.
2022-03-01 21:24:11 +00:00
DaneBettis
0917f694c9 vere: add %near and %hela tracing hints 2022-03-01 21:24:11 +00:00
Joe Bryan
9dc5d7b178 jets: plug leak in (slaw %p ...) 2022-03-01 11:14:06 -05:00
tomholford
3bbfd20022 Merge branch 'master' into next/landscape 2022-02-28 15:39:17 -06:00
Hunter Miller
c4bc9b3428 groups: updating glob and version 2022-02-28 11:32:05 -06:00
~nallux-dozryl
4bb2439609
Merge branch 'urbit:master' into master 2022-02-26 22:43:07 +08:00
Yaseen
591c19b9a9 story: rename generators 2022-02-25 18:27:54 -05:00
Yaseen
70afcbd642 clay: fix bug in fuse
Co-authored-by: Philip Monk <phil@pcmonk.me>
2022-02-25 16:34:44 -05:00
Yaseen
c1a8d527fa story: fix output formatting in +story-log 2022-02-25 16:28:17 -05:00
tomholford
5959b73ecb interface: use single sig in NotificationText
The `ProfileOverlay` component expects a `ship` arg as a patp without the sig. This deSigs the ship value used in `NotificationText`.

This closes urbit/landscape#1376
2022-02-25 15:24:14 -06:00
Liam Fitzgerald
cbb17a2135 interface: fix subscription reconnect issues
Restores subscription reconnect issues by correctly throwing a
FatalError so that subscriptions are correctly restarted
2022-02-25 13:25:18 -06:00
Jōshin
a9442040be
khan: alignment 2022-02-25 11:16:47 -08:00
Jōshin
224a363780
test: fix failure introduced by random tids 2022-02-25 11:08:09 -08:00
tomholford
4c25bcd586 devex: peg interface node version
See: https://nodejs.org/en/about/releases/
2022-02-24 16:32:39 -06:00
Hunter Miller
ce75499ae5 Merge branch 'next/groups' 2022-02-24 10:44:08 -06:00
tomholford
47338cffc6 Merge branch 'master' into next/groups 2022-02-23 17:14:34 -06:00
Hunter Miller
2da5e9c5ca landscape: fixing bad glob 2022-02-23 13:30:56 -06:00
Hunter Miller
b4adaf2fee landscape: updating glob and version 2022-02-23 10:45:32 -06:00
Joe Bryan
ff3bb495d8 hoon: updates %mcgl with an hygienic expansion 2022-02-22 20:39:30 -05:00
Yaseen
33aa0c8fa7 story: generators: fix case check 2022-02-22 18:33:38 -05:00
Yaseen
5f421d577a story: fix scry path in |story-set 2022-02-22 18:11:55 -05:00
ryjm
7ce7d2622d graph-store: fix scrying into archive 2022-02-22 08:07:40 -05:00
Jōshin
af1f2da161
vere: resolve /vars type
the full type output by vars is now:

    (list [cord (list [cord (list [cord @])])])

it's a mouthful, but a consistent mouthful. the first layer of the list
is the IO driver name, nam_m. the second layer is the instance name,
either %all or some driver-relevant identifier (e.g. http instance.) the
third layer is the list of labels and values.
2022-02-21 23:07:32 -08:00
Yaseen
38a2e9d74a story: generators: add desk existence everywhere 2022-02-21 22:13:15 -05:00
Yaseen
4eb7e623cd story: generators: fix case scry 2022-02-21 22:10:22 -05:00
Jōshin
dfd744d08a
conn: basic http server info
This actually raises difficult questions about the schema for the /vars
peel. One level of nesting makes sense to aggregate per IO driver, but
multiple levels is confusing.

The current output is extremely unprincipled: you just have to know that
there are multiple http servers and handle the output accordingly.

Options would be:

1. collapse the ambiguity to the top level, i.e. 'http-0i8080',
   'http-global', etc.
2. collapse the ambiguity to the inner level, i.e. '0i8080-connections'.
3. create a proper recursive data type that e.g. uses an $each.
3b. send some kind of schema.
5. recognize that we have entered a terrifying hall of mirrors and back
   out the entire approach of nested metrics in favor of just a bigass
   flat list of labels with values like borgmon does.
2022-02-20 00:15:37 -08:00
Jōshin
d771a4b9ef
khan: randomize tids
tid was accidentally getting set to the name of the output mark. As we
don't currently support cancelling threads, there is no reason to
maintain the originally-intended correspondence between tid and conn
request-id.

Take the opportunity to clean up indentation somewhat.
2022-02-19 02:18:49 -08:00
Jōshin
5a5518f7f0
conn: indentation 2022-02-19 00:27:59 -08:00
Jōshin
fedd2710ee
ames: comment 2022-02-19 00:02:05 -08:00
Jōshin
dc9f645e72
conn: typo 2022-02-18 23:48:07 -08:00
Jōshin
b6d101d651
conn: read http / https ports from pier
also read peels against the pier that this conn is associated with.
2022-02-18 23:44:53 -08:00
Jōshin
86eb32d933
vere: implement noun-style info in conn %vars 2022-02-18 23:28:12 -08:00
Jōshin
c291add2b3
vere: s/info/slog/ 2022-02-18 22:50:25 -08:00
Jōshin
7f53686e39
Revert "conn: provides ames metrics"
This reverts commit 80d4400d53.
2022-02-18 22:46:02 -08:00
Jōshin
a3edf17895
conn: alignment 2022-02-18 22:39:44 -08:00
Yaseen
a149dc6c40 story: generators: add check for invalid case 2022-02-18 22:30:24 -05:00
~nallux-dozryl
ab35dd4028
Merge branch 'urbit:master' into master 2022-02-19 09:04:02 +08:00
Yaseen
c02f59818e story: fix generator bugs 2022-02-18 18:51:37 -05:00
Yaseen
05784fcee3 story: check for storyfile existence and use case from beak where appl. 2022-02-18 18:20:17 -05:00
Yaseen
4b04da5a9a story: make |story-{set,remove} use $cash instead of $case 2022-02-18 17:49:17 -05:00
Yaseen
b616f48169 story: add $cash 2022-02-18 17:46:04 -05:00
Yaseen
3d006d60ad clay: add scry for case existence check 2022-02-18 17:43:38 -05:00
Yaseen
9d85401832 story: add generator help text 2022-02-18 17:40:55 -05:00
Jōshin
2cbe30395e
newt: use 0x0 instead of 0x9 2022-02-18 12:36:31 -08:00
Jōshin
fde6c95b34
conn: don't send %work 2022-02-18 12:16:12 -08:00
Jōshin
c89bb66949
conn: peel is (unit), not (unit (unit)) 2022-02-18 12:06:05 -08:00
Jōshin
31d195a264
conn: hopefully clarify bail termination 2022-02-18 11:55:46 -08:00
Jōshin
22b2dd4373
conn: remove args from help list 2022-02-18 11:35:52 -08:00
Jōshin
fae633a32f
vere: per-block indentation 2022-02-18 11:32:51 -08:00
Jōshin
23d94f1828
conn: fix break style 2022-02-18 11:29:56 -08:00
Jōshin
c1a739b2d3
vere: ivory.h u3 header convention 2022-02-18 11:10:59 -08:00
Jōshin
286f77e301
Revert "conn: produce command line arguments"
This reverts commit c2bc47a399.
2022-02-18 11:09:38 -08:00
fang
98c6c77ebb
Merge branch 'next/arvo' 2022-02-17 20:32:26 +01:00
Jōshin
470ae80d4b
khan: cleanup 2022-02-15 22:32:52 -08:00
Jōshin
0e185b66ed
test: fix 2022-02-15 22:32:43 -08:00
Hunter Miller
2959549594
Merge pull request #5600 from urbit/mackenzie/theme-color
interface: adds `theme-color` meta tag, removes outdated safari web app meta tag
2022-02-15 16:32:10 -06:00
Mackenzie Davidson
7b835165e0 interface: adds theme-color meta tag, removes outdated safari web app meta tag
fixes urbit/landscape#1392
2022-02-15 12:27:04 -05:00
Jōshin
6aa72069e3
arvo: introduces $crag
Also strips out `$` from khan top-level comment.

There are arguments for keeping $crag in lull, and on the other side for
moving $cast to arvo. This seemed like the most reasonable approach.
2022-02-14 12:46:31 -06:00
Jōshin
6d275fe9f3
khan: move =/ down 2022-02-14 09:09:55 -06:00
Jōshin
6c443191a7
khan: name $cast type 2022-02-13 21:13:48 -06:00
Jōshin
044e9015af
Merge branch 'next/arvo' into jo/khan
Conflicts:
	bin/brass.pill
	bin/solid.pill

Resolved by regenerating pills.
2022-02-13 21:00:10 -06:00
Jōshin
e4f5438e88
test: tlv 2022-02-13 20:37:34 -06:00
Jōshin
22ef135323
test: missing mark cases, further cleanup 2022-02-13 20:30:36 -06:00
Jōshin
a1621ed2d4
test: cleanup 2022-02-13 19:58:36 -06:00
Jōshin
76911c6784
test: cleanup 2022-02-13 19:56:29 -06:00
Jōshin
27b6b4f706
test: %fyrd fail case 2022-02-13 13:09:39 -08:00
Jōshin
286c909283
test: refactor, strip out inner %fard call 2022-02-13 12:54:21 -08:00
Jōshin
18e2d751a5
test: remaining %fard failures 2022-02-13 12:51:43 -08:00
Jōshin
5750f5f0f6
test: %khan full run, %fyrd 2022-02-13 12:02:13 -08:00
Jōshin
1d487a758b
test: full run, happy path 2022-02-13 07:33:03 -08:00
yosoyubik
1dd5fca11c roller: bug fix in looking for sending diff 2022-02-12 14:36:40 +01:00
yosoyubik
72794870c8 roller: include signing address in sending txs 2022-02-12 14:02:50 +01:00
Jōshin
4e312379ec
conn: remove cram 2022-02-11 22:24:55 -08:00
Jōshin
d7608019f2
khan: cleanup, namespace 2022-02-11 22:18:15 -08:00
Jōshin
c0423adea6
khan: parameterized types, nested implementation
%fyrd is now implemented in terms of %fard, and likewise %avow in terms
of %arow. State is tracked via wire rather than in a global map.

Unit tests adjusted to match.
2022-02-11 21:58:09 -08:00
Yaseen
61ca368f28 story: |story-set: better error message on missing desk 2022-02-11 13:08:16 -05:00
Yaseen
52537a7b3b story: lib: remove ;; in favor of typecast 2022-02-11 12:12:20 -05:00
yosoyubik
403c8af519 roller: check for existence in resend nonce 2022-02-11 15:46:13 +01:00
yosoyubik
5c9fc52f47 roller: keep force flag in sending transactions 2022-02-11 14:28:27 +01:00
Jōshin
c8f3dd65af
conn: remove unused inn_u 2022-02-11 00:15:43 -08:00
Jōshin
69c29e5b31
conn: u3i_chub in ames stats 2022-02-11 00:00:47 -08:00
Jōshin
171ee877e4
Merge branch 'next/vere' into jo/khan-c3 2022-02-10 23:52:17 -08:00
Jōshin
ee8a21e166
conn: more docs cleanup, describe %ovum updates 2022-02-10 23:32:21 -08:00
Jōshin
f1b5e6a0dc
conn: cleanup docs, document %peel 2022-02-10 23:21:30 -08:00
Jōshin
80d4400d53
conn: provides ames metrics 2022-02-10 23:14:19 -08:00
yosoyubik
db660b6167 roller-rpc: make force field optional 2022-02-10 20:44:50 +01:00
yosoyubik
5fd991161c roller: add support for forced transactions 2022-02-10 20:23:27 +01:00
Jōshin
e66345e04d
Merge pull request #5510 from mrdomino/jo/secp-c3
vere: schnorr signature jets
2022-02-09 13:01:21 -08:00
Jōshin
ed0c66a43c
vere: comments around fs wrappers and unix.c 2022-02-09 14:56:10 -06:00
Jōshin
ca0a861c5e
zuse: add missing assertions 2022-02-09 14:14:12 -06:00
Liam Fitzgerald
b813580b93 zuse: add ++ns:dejs:format
Adds a signed integer JSON parser, i.e. a gate of type $-(json @s)
2022-02-09 13:16:24 -06:00
Liam Fitzgerald
981bcfdecc landscape: cache marks again
Fixes urbit/urbit#5590
2022-02-09 10:52:04 -06:00
Jōshin
3124d0815a
conn: cleanup peel response 2022-02-08 15:16:44 -06:00
Jōshin
54bc16626c
Merge branch 'next/vere' into jo/unix-sane 2022-02-08 14:29:02 -06:00
Jōshin
5ff5082a5d
khan: docs, lift arg vase into (unit) 2022-02-08 12:03:00 -06:00
Jōshin
34fd7f5adf
test: wip full-run test 2022-02-08 08:44:55 -06:00
rabsef-bicrym
22a69d38f4
%depth-first has pattern-matching issue
support a `%depth-first` scry constructed as follows `.^(* %gx /=graph-store=/graph/<ship of resource>/<name of resource>/depth-first/<count>/<start>/graph-update-3)`
2022-02-07 17:49:11 -08:00
Jōshin
776604bf74
test: rewrite khan start-args unit test 2022-02-07 17:51:05 -06:00
Jōshin
8123255a62
khan: add %fard/%arow for in-arvo threads
These take and produce vases, and assign random tids (rather than
deducing them from the input duct.)

Since %fard does not require mark conversion, we make the mark/beak on
$thread-state optional (and use this to decide whether to send %avow or
%arow.) Provide a state adapter since it's possible that people have
been experimenting with this vane.

This makes the negative case of %avow/%arow kind of clunky, since there
is no content difference, but the following does not seem possible
within the Hoon type system:

    =/  gif
      ?~  p.tad
      %arow  %avow
    [hen %give gif %| p.cag tang]~
2022-02-07 17:51:05 -06:00
Jōshin
d07c063c44
vere: remove unused declarations from vere.h 2022-02-05 22:04:11 -06:00
Jōshin
0d0ac4edbf
conn: peel: /help, /mass stub, /vars stub
Also make /live return u3K.pir_u->liv_o.
2022-02-05 22:03:00 -06:00
Yaseen
8814f31879 story: shorten recur statement in +story-log 2022-02-05 22:56:27 -05:00
Yaseen
fc5c7d53ea story: make desk an optional param in story-list 2022-02-05 22:50:10 -05:00
Yaseen
4a921ad68b story: fix |story-remove and allow it to remove a specific prose 2022-02-05 22:50:10 -05:00
Yaseen
ce0fa85e18 story: generators improvements
- use desk parameter instead of %base everywhere
- formatting clean up
- make |story-remove take a case instead of an aeon
- make desk param optional for story-set and story-log
2022-02-05 22:50:10 -05:00
Jōshin
259c7e535c
vere: remove log lines 2022-02-05 19:57:59 -06:00
Jōshin
c2bc47a399
conn: produce command line arguments
Involves saving a copy of the arguments in _main_getopt.
2022-02-05 18:53:21 -06:00
Jōshin
c6a147257a
conn: extract %peel response 2022-02-05 15:13:42 -06:00
Jōshin
3e3f9c553c
conn: add port request
Also make peel requests respond with $unit.
2022-02-05 09:06:26 -06:00
Jōshin
f47b77faae
vere: mv ivory header out of ur 2022-02-05 09:03:50 -06:00
Yaseen
5346784609 story: parser improvements 2022-02-05 06:16:59 -05:00
Yaseen
a38ec43d99 story: misc clean up 2022-02-05 06:15:45 -05:00
Yaseen
322fb5ecce story: clean up snoc in txt:grow 2022-02-04 12:53:13 -05:00
Yaseen
75b01a2c0c story: fix dif-ju correctness on empty input 2022-02-04 12:51:58 -05:00
Yaseen
9b66cb9b81 story: make lib lead core 2022-02-04 12:49:55 -05:00
Yaseen
94d55f1e33 story: misc changes 2022-02-04 12:49:10 -05:00
Philip Monk
66fd3073d7
Merge pull request #5568 from urbit/m/galaxy-dawn
vere: do not use eth-mainnet for galaxy booting
2022-02-03 17:28:50 -07:00
Jōshin
64fcd685af
zuse: comment clarifying sk bounds check 2022-02-03 13:52:09 -06:00
Jōshin
330c433f27
jets: remove sosi/sove testing flags
N.B. `tot` appears to not be used anywhere currently, so I removed it
from `sosi`.
2022-02-03 13:45:50 -06:00
Jōshin
4cef7dc38b
bounds-check against sk=1
+sign:schnorr crashes on `=(0 sk)`, so the bounds checking code is not
exercised for sk=0. It also crashes on `(gte sk n.domain.c)`, which is
redundant with the size check on sk, so we remove that.
2022-02-03 13:21:21 -06:00
Jōshin
f07f759253
zuse: style cleanup, use +rep/+end 2022-02-03 12:54:27 -06:00
Liam Fitzgerald
f3da5488ce Merge remote-tracking branch 'origin/next/groups' into lf/no-perms-rejoin 2022-02-03 11:12:43 -06:00
Yaseen
e1f8f4db45 story: fix error with null jug 2022-02-02 23:35:55 -05:00
Jōshin
822eb6ea08
Merge branch 'next/arvo' into jo/secp-arvo 2022-02-02 20:34:11 -06:00
Jōshin
08ca0cf0c7
jets: mark schnorr jets non-perfect
also marks %sosi as non-total, since it conceivably could punt.
2022-02-02 20:32:46 -06:00
Jōshin
8d3f19aba9
Merge branch 'next/vere' into jo/secp-c3 2022-02-02 17:57:51 -06:00
Jōshin
74b71f35cc
Merge branch 'next/vere' into jo/unix-sane 2022-02-02 12:27:25 -06:00
fang
5588953d84
Merge branch 'next/vere' into m/--vere-args 2022-02-02 19:26:17 +01:00
Jōshin
bd67814a95
Merge branch 'next/vere' into jo/khan-c3 2022-02-02 12:24:55 -06:00
Jōshin
f34f6a91e9
conn: comment format 2022-02-02 12:24:36 -06:00
Jōshin
997544eb11
conn: describe +fyrd interface to %khan 2022-02-02 12:24:36 -06:00
Joe Bryan
1736bae519
Merge pull request #5572 from urbit/jb/dirty-loom
u3: fix snapshot corruption by preemptively dirtying the loom
2022-02-02 13:01:52 -05:00
Jōshin
7fcdf6ef54
noun: go ahead and enforce that invariant (#5579)
* noun: go ahead and enforce that invariant

* mingw: sysconf compat wrapper
2022-02-02 08:06:05 -06:00
Joe Bryan
60fc5c1389 u3: refines snapshot system docs 2022-02-01 20:11:40 -05:00
Jōshin
1183634501
unix: knot mapping that is not a valid @ta
'~.' was a pun with the @ta encoding, which could cause people to get
confused about how the mapping actually worked.

I had previusly wanted the escape sequence to be a valid @ta, since I
had wanted to check that path components were (sane %ta) prior to doing
$knot conversion. However @joemfb mentioned that it was desirable to
have it not be a valid @ta so that if someone messed up the encoding in
the future, the paths would be detectably wrong.

This necessitates calling _unix_knot_to_string on unsanitized input,
which means we can no longer assume that it won't contain non-(sane %ta)
characters, which means we can no longer assert that '\\' is not in the
string on Linux.

Also added a seemingly forgotten null byte to _unix_knot_to_string.
2022-02-01 12:56:50 -06:00
Jōshin
7b6e89fc15
unix: comment with suggestions for future 2022-01-31 23:07:13 -06:00
Jōshin
4a74b9b13f
unix: fix regression in _unix_scan_mount_point
We previously checked for '#' at strlen(out_u->d_name) - 1 here. So just
go ahead and do (sane %ta) on the whole out_u->d_name.
2022-01-31 20:52:42 -06:00
Jōshin
46a1139e70
main: repath cleanup 2022-01-31 17:26:07 -06:00
Jōshin
5591752f9c
main: support files in cwd 2022-01-31 17:02:18 -06:00
Jōshin
0375646a93
unix: cane before root removal 2022-01-31 16:34:09 -06:00
Liam Fitzgerald
b14dc76992 interface: refine joining error cases 2022-01-31 16:21:27 -06:00
Liam Fitzgerald
9540afecad group-view: fix errored rollback 2022-01-31 16:20:57 -06:00
Jōshin
4c22e2ceaa
spider: blank lines 2022-01-31 15:47:14 -06:00
Jōshin
6c5d7133f1
unix: fix compile warning 2022-01-31 14:25:22 -06:00
Jōshin
eaf47d95c5
unix: test cases 2022-01-31 14:23:39 -06:00
Jōshin
3f1c526d2e
main: repath scry path 2022-01-31 14:19:27 -06:00
Jōshin
8191955eff
unix: reorder checks 2022-01-31 14:18:22 -06:00
Jōshin
c83d9b9c1e
unix: hard-code %put base directory 2022-01-31 14:03:34 -06:00
Jōshin
2b05fa2ebe
unix: use $ for types 2022-01-31 13:53:22 -06:00
Jōshin
9172b3dfe8
unix: c3_ 2022-01-31 13:52:44 -06:00
Jōshin
6b5361d7df
unix: code review feedback 2022-01-31 13:49:51 -06:00
Jōshin
ca1ed3d7a1
vere: remove 'new' from header comments
'New' is relative; some of these subsystems were 'new' in 2015.
2022-01-31 13:21:50 -06:00
Jōshin
b8277be5b2
vere: remove walk, move save to unix 2022-01-31 13:19:32 -06:00
Jōshin
7fc9db8c9a
unix: reformat comments 2022-01-31 12:28:45 -06:00
Jōshin
443315f401
vere: rename u3_unix_{safe,cane} 2022-01-31 12:25:42 -06:00
Jōshin
60f1a44910
unix: remove extra layer of conditional 2022-01-31 11:14:54 -06:00
Jōshin
0d9264ea1c
unix: don't require that string is non-empty
Fixes an assert failure if you try to commit a file named `~.`.
2022-01-31 11:13:57 -06:00
Jōshin
2a5baa9e3f
main: simplify _main_repath 2022-01-31 10:59:23 -06:00
Jōshin
b5a49a159f
unix: use (sane %ta) out of arvo 2022-01-31 10:43:56 -06:00
Jōshin
19002c72dd
compat: mingw realpath 2022-01-31 10:24:11 -06:00
Jōshin
c041080729
unix: bugfixes
- Don't test for '\\' in u3_unix_safe. Doing otherwise was crashing vere
  when unmounting a mountpoint that had come to contain a file with '\\'
  in its path. This might mean you can do bad things on Windows if other
  checks fail.

- Ignore any files whose names do not pass `(sane %ta)` when scanning
  directories. (This reimplements `(sane %ta)` in C. Perhaps it should
  instead call `(sane %ta)`.)

- Use '~.' rather than '~' for the escape. We ignore files that end in
  '~', probably for vim backup-file reasons.

- Add a _unix_string_to_knot missed in the prior conversion.
2022-01-31 10:00:35 -06:00
Jōshin
00f7407a5e
unix: escape overloaded paths
unix cannot represent the file with empty name, and it has special
mappings for '.' and '..'. as these three are all valid arvo `+knot`s,
we need to escape them if we come across them.

the method we use to escape is: if we encounter any of those three
`+knot`s, or any `+knot` starting with '~', we prepend its filename with
a '~'. and when going from filename to `+knot`, we do the reverse; i.e.
we ignore a '~' if it is the first character of a filename.

the current implementation just crashes if it encounters a `+knot`
containing '/' or '\\', neither of which are valid under the current
implementation of `@ta` (which only accepts numbers, lowercase, '-',
'~', '.', and '_'.)

it also crashes if it encounters a file containing '\\'. something else
should happen here; most likely vere should just ignore the file.
2022-01-31 10:00:35 -06:00
Jōshin
d4b4504ae4
vere: move lockfile from unix to disk 2022-01-30 19:26:45 -06:00
Yaseen
b7e0b28220
Merge branch 'urbit:master' into story 2022-01-30 16:03:48 -05:00
Yaseen
9afc2b8258 story: diff: use dif-ju and uni-ju 2022-01-30 16:03:10 -05:00
Yaseen
68da061f47 story: update outdated diff types 2022-01-30 16:02:47 -05:00
Yaseen
f723088f4d story: create fundamental jug operations 2022-01-30 16:02:25 -05:00
Yaseen
e791c501a0 story: fix lib import 2022-01-30 16:01:45 -05:00
Yaseen
08cd2feed7 story: use new parser in mark 2022-01-30 16:01:31 -05:00
Yaseen
10e252bca0 story: add new parsers to lib 2022-01-30 16:01:00 -05:00
Yaseen
b87a754622 story: rip out parsers 2022-01-30 16:00:38 -05:00
Yaseen
75d6882b51 story: fix to-text arms 2022-01-30 15:59:58 -05:00
Yaseen
9286d89fa2 story: add chapter type 2022-01-30 15:59:06 -05:00
Yaseen
8787c43c83 story: cleanup 2022-01-30 15:58:35 -05:00
Jōshin
a4b40d104c
noun: noop, C 'types' being what they are... 2022-01-30 13:09:20 -06:00
Jōshin
0248f57f0b
unix: comment format 2022-01-29 23:24:12 -06:00
Jōshin
3d36582fda
unix: whitespace cleanup 2022-01-29 23:24:12 -06:00
Jōshin
c8f8ced249
main: canonicalize paths from command line 2022-01-29 23:24:11 -06:00
Jōshin
a74d08f489
vere: extra fs calls 2022-01-29 23:24:11 -06:00
Jōshin
741e1d3e8b
vere: replace fs calls with asserting counterparts 2022-01-29 23:24:11 -06:00
Jōshin
d2fc42c3ea
unix: asserting wrappers around unix fs calls 2022-01-29 23:24:11 -06:00
Jōshin
2e53930d5a
Merge branch 'master' into next/vere 2022-01-28 21:23:00 -08:00
Hunter Miller
874d380ad5 groups: updating version 2022-01-28 20:30:13 -06:00
Hunter Miller
dc188d6059 groups: fixing bad glob 2022-01-28 20:29:34 -06:00
Hunter Miller
de747b343f join: don't show modal if no kind 2022-01-28 19:51:35 -06:00
Hunter Miller
509bd2b11a groups: updating glob 2022-01-28 19:39:48 -06:00
Hunter Miller
0d93cf9cff join: handling kind safer and join links more consistent 2022-01-28 19:33:42 -06:00
drbeefsupreme
f67962b803
helm: cleanup +poke-rekey to match #5522 2022-01-28 12:23:36 -05:00
Jōshin
ccf9110f7f
test: khan test cleanup
;;(vase ...) does a nest-check of the type of the kernel. This is
undesirable, so we instead run everything through +slum and cast the
result to +tang.
2022-01-28 09:05:37 -08:00
Jōshin
21ea32e8ad
khan: +bear allows a full +beak 2022-01-27 22:28:30 -08:00
Jōshin
72981203c8
khan: PR feedback, wip tests 2022-01-27 22:20:31 -08:00
Peter McEvoy
c1441e9cd0 u3: document page tracking subtleties when taking snapshot 2022-01-27 14:05:29 -08:00
Joe Bryan
4087699172 u3: fix snapshot corruption by preemptively dirtying the loom 2022-01-27 14:51:25 -05:00
Hunter Miller
c07bcd6e03 Merge branch 'next/groups' 2022-01-27 10:25:14 -06:00
Hunter Miller
88e956df01 Merge branch 'next/landscape' 2022-01-27 10:24:04 -06:00
Jōshin
7f6868a06e
khan: strip inner faces from +bear 2022-01-26 21:50:08 -08:00
Jōshin
05a11d57b3
khan: cleanup
- only store metadata in the persistent map. just enough to support
  (eventual) thread cancellation and output mark lookup.

- try to delete thread state at other failure points not covered by
  %kick.

- reflect back the passed output mark rather than form.dais. not sure
  about this one yet.
2022-01-26 20:09:36 -08:00
Jōshin
aba5c0303d
khan: del in %kick 2022-01-26 17:45:25 -08:00
Jōshin
1281e1cdbe
khan: functionally done 2022-01-26 17:41:01 -08:00
Jōshin
425bf6b011
khan: accepts thread arguments with marks 2022-01-26 16:26:30 -08:00
fang
d7d15115ee
Merge branch 'next/webterm' 2022-01-27 00:30:17 +01:00
fang
192f2cd19d
webterm: v1.0.1 2022-01-27 00:29:24 +01:00
Yaseen
a0cc6d8980 story: make +story-log use arms from lib 2022-01-26 18:07:29 -05:00
Yaseen
1e871e3c35 story: use crip/trip where necessary 2022-01-26 18:07:00 -05:00
drbeefsupreme
b5f299c02d
helm: fix |rekey to work with multikey files 2022-01-26 16:29:14 -05:00
Philip Monk
34bcd2ffcd
Merge pull request #5495 from urbit/m/whos-who
helm: bind /who.json
2022-01-26 12:47:47 -07:00
Hunter Miller
0abf7eecfe app: refactoring app to TS and removing lots of unused props 2022-01-26 12:21:19 -06:00
Yaseen
484772e2b7 story: misc changes 2022-01-26 11:41:22 -05:00
Yaseen
d8450c2892 story: use lib arms in txt:grow 2022-01-26 11:41:08 -05:00
Yaseen
3105176df9 story: handle conflicts for updated $story type (mvp) 2022-01-26 11:39:18 -05:00
Yaseen
b0a666d2eb story: add lib/story.hoon 2022-01-26 11:37:02 -05:00
Hunter Miller
79f0fd98dd chat-resource: fixing admin detection 2022-01-26 10:29:04 -06:00
fang
5928ca8747
vere: do not use mainnet-proxy for galaxy booting
Fallback to the default happens in dawn.c, which correctly points to
roller.urbit.org, an endpoint that matches its request/response logic.
Continuing to use an Ethereum endpoint instead of an L2 one will just result
in 400s, since they don't speak the same language.
2022-01-26 17:17:37 +01:00
Jōshin
8ad57d8bd2
khan: cleanup 2022-01-25 21:28:45 -08:00
Jōshin
12b4c80cf1
khan: wip threads v0
super ghetto first pass with a bunch of stuff hard-coded to prevent
sending giant vases over the wire.
2022-01-25 20:08:48 -08:00
Jōshin
507ab561aa
conn: don't send roc 2022-01-25 16:06:30 -08:00
Jōshin
fd7d315e3b
khan: wip fyrd 2022-01-25 15:37:48 -08:00
Hunter Miller
049a85bc60 Merge branch 'next/groups' into hm/landscape-perf-optimization 2022-01-25 17:05:32 -06:00
Yaseen
5b512abae5 story: update |story-remove to use new types 2022-01-25 14:54:55 -05:00
Yaseen
86ef82dbe1 story: misc changes 2022-01-25 14:54:30 -05:00
Yaseen
194f3d55c6 story: make sur file an lead core 2022-01-25 13:52:40 -05:00
Hunter Miller
5426f2aff8 Merge branch 'next/groups' into hm/fix-group-dm-initial-load 2022-01-25 11:23:30 -06:00
Jōshin
aebce8dbf5
Merge branch 'next/vere' into jo/khan-c3 2022-01-25 08:50:45 -08:00
Hunter Miller
86d9aba7fb garden,landscape: updating globs and versions 2022-01-24 16:14:26 -06:00
Liam Fitzgerald
14ca87c43c dm-hook: mutate screened before giving fact
Fixes an issue where the subscription update would contain stale data
2022-01-24 15:18:52 -06:00
fang
a51ac14833
webterm: improve readability of char under cursor
Make sure it's the opposite of the cursor color.
2022-01-24 14:33:25 +01:00
~nallux-dozryl
dd53baa059
Fix comment indent for abs:si 2022-01-24 15:24:01 +08:00
Jōshin
13bdfe26aa
build: arm64 architecture
This seems to be what nix settled on.

(As of now, I can build urbit on M1 Mac with stock nix. nix-build -A
urbit hangs for some reason, but nix-shell ./configure && make works.)
2022-01-23 21:22:13 -08:00
xiphiness
73b2d27d49
Add +address-to-checksum gate to ethereum lib as per EIP-55
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-55.md

I needed it because some api's i'm hitting fail if the address isn't checksummed.

Could maybe be written better, haven't done much byte munging in hoon. Feel free to improve.
2022-01-23 19:57:13 +02:00
Jōshin
924d8e0628
conn: comments 2022-01-22 02:33:26 +00:00
Jōshin
30df250c7d
khan: closer to starting threads 2022-01-22 01:46:59 +00:00
Jōshin
a247113c57
khan: %done task 2022-01-22 01:46:12 +00:00
Jōshin
3cf803129d
khan: basic +call, types 2022-01-21 22:09:01 +00:00
Jōshin
575ff61fa6
khan: vane skeleton 2022-01-21 18:48:05 +00:00
Yaseen
c818d293ba story: add generator +story-log 2022-01-21 11:50:42 -05:00
Yaseen
606acd8fa2 story: restore previous mark functionality, ignore conflicts 2022-01-21 11:50:05 -05:00
Liam Fitzgerald
c5c7946e5a
Merge pull request #5553 from urbit/la/proxy-sigs
graph-push-hook: proxy add and remove signatures across the network
2022-01-20 16:52:22 -06:00
Logan Allen
bb953945f8 graph-push-hook: proxy add and remove signatures across the network 2022-01-20 21:58:00 +00:00
Yaseen
a927d31629 story: make |story-list use new types 2022-01-20 16:01:01 -05:00
Yaseen
f491aa0384 story: update |story-set to use new types 2022-01-20 15:58:05 -05:00
Yaseen
b06df068c0 story: make |story-init use new types and make overwriting optional 2022-01-20 15:56:47 -05:00
Yaseen
f2b8a1b7f7 story: update sur file 2022-01-20 15:54:37 -05:00
yosoyubik
d62ba7d6b5 roller: fix wrong ship quota 2022-01-20 16:15:38 +01:00
yosoyubik
0c9fc76b93 eth-watcher: fix zoom-margin to account for reorgs
The previous value—used for testing—didn't consider
block reorgs, which meant that if we zoom to the latest
block that has no transactions, but that gets later replaced
by a 1-block reorg that does have a transaction, we'll miss it,
making our Azimuth state incomplete.

To fix it, we rewind the Azimuth state to the contents of the snapshot,
and then start retrieving logs from the latest one we have.
2022-01-19 17:41:05 +01:00
Hunter Miller
09f71e504b dms: don't load if pending 2022-01-18 14:38:45 -06:00
yosoyubik
3d943ec201 ames: ignore missing peer-state on-publ-sponsor 2022-01-18 20:34:32 +01:00
Yaseen
df9e5175d1 story: create sur file and extract type 2022-01-16 22:36:52 -05:00
Yaseen
6a25f8ffca story: add custom ++grad core 2022-01-15 23:37:51 -05:00
Yaseen
e5642b5ff3 story: rename door sample to tale 2022-01-15 23:26:33 -05:00
Jōshin
86fee3c104
conn: merge lines 2022-01-15 08:13:50 +00:00
Jōshin
c89eb11f57
conn: various fixes and cleanups 2022-01-15 08:00:59 +00:00
Jōshin
275beeb071
conn: some peel/urth functionality 2022-01-15 07:32:48 +00:00
Jōshin
c1a4bf75cf
conn: comment 2022-01-14 20:36:10 +00:00
Hunter Miller
3bbaf6de80 join: making sure group is in state and retaining join request state 2022-01-13 16:15:38 -06:00
Hunter Miller
ed3b19cd0f sidebarlistheader: fixing potential undefined ref 2022-01-13 16:14:22 -06:00
Yaseen
b37fd09fab clay: implement %base-tako scry under the %s care 2022-01-13 15:56:20 -05:00
Jōshin
f6cef00dd9
conn: comment 2022-01-13 06:29:55 +00:00
Jōshin
2e39926180
conn: van_o -> kan_o 2022-01-13 06:25:12 +00:00
Jōshin
bdcc30da98
khan: -> conn
Get some space between the IO driver and vane, since the driver is
mostly self-contained now and only depends on %khan for thread running.

"Conn" is a nautical term; it is the status of being in control of a
ship's movements, or the act of controlling a ship.
2022-01-13 06:21:30 +00:00
Jōshin
75271a8795
khan: implement %ovum
Untested as of yet.
2022-01-13 06:11:35 +00:00
Jōshin
66ef25447f
khan: stub out new commands 2022-01-13 05:19:51 +00:00
Jōshin
9e115a2b28
khan: rid is any-sized atom
Also updates comment to match current target.
2022-01-13 04:58:09 +00:00
fang
7be6950fe5
Merge branch 'm/helm-perms' into next/arvo 2022-01-13 00:36:22 +01:00
fang
b9491bcbb8
Merge branch 'master' into next/arvo 2022-01-13 00:36:07 +01:00
fang
0bc1f49f0f
drum: only process pokes from the local ship
No mark files exist for any of the drum marks, so trying to poke remote drums
would fail anyway, but relying on the mark system in that way seems a bit
fragile, so we add an explicit permission check.
2022-01-13 00:24:31 +01:00
fang
bde8c0b04a
helm: only process pokes from the local ship
No mark files exist for any of the helm marks (except `%helm-hi`), so trying to
poke remote helms would fail anyway, but relying on the mark system in that way
seems a bit fragile, so we add an explicit permission check.
2022-01-12 13:28:44 +01:00
jose
f158ebe312
Merge pull request #5532 from urbit/azimuth/jael-fix
jael: give new private key to subscribers on %keys new-event
2022-01-12 12:47:21 +01:00
yosoyubik
432d9674f5 jael: don't put conflicting this-su in the subject 2022-01-12 11:01:06 +01:00
Hunter Miller
c13ec5a698 notification-redirect: send to already joined chat instead of showing join modal 2022-01-11 19:36:06 -06:00
Hunter Miller
1ddd38e82c join: removing unused props, fixing invite 'kind' for proper linking 2022-01-11 19:32:51 -06:00
Hunter Miller
5fba433415 hark-update: fixing desk check 2022-01-11 19:30:53 -06:00
Hunter Miller
846502ef51 Merge branch 'next/groups' into hm/remove-dm-delete 2022-01-11 18:16:29 -06:00
Hunter Miller
4ee680807f Merge branch 'master' into next/groups 2022-01-11 18:15:25 -06:00
Hunter Miller
8efc0a9006 dms: hiding delete for dms and hiding dropdown if only reply 2022-01-11 16:43:57 -06:00
Hunter Miller
f6db32e669 webpack: fixing refresh in dev 2022-01-11 16:43:02 -06:00
Hunter Miller
158dfc0dec interface: fixing type errors 2022-01-11 16:42:38 -06:00
Liam Fitzgerald
6c1ce45815
Merge pull request #5489 from urbit/lf/fix-revoke
groups: fix permission handling
2022-01-10 11:11:12 -06:00
Liam Fitzgerald
f1f57abec0
Merge pull request #5485 from urbit/lf/recency-improvements
landscape: better leap searching
2022-01-10 11:10:51 -06:00
Liam Fitzgerald
b4512bf1a0
Merge pull request #5490 from urbit/lf/groups-grabbag
groups: misc frontend fixes
2022-01-10 11:08:14 -06:00
Liam Fitzgerald
4009f9d350
Merge pull request #5525 from urbit/lf/fix-dm-loading
DmResource: reload DM if cleared by kick
2022-01-10 11:07:25 -06:00
Liam Fitzgerald
a1aee5d2c8
Merge pull request #5519 from urbit/lf/fix-admin-remove
graph-validator-chat: allow admin removal of any message
2022-01-10 11:06:58 -06:00
Jōshin
ce05e562ed
test: schnorr bounds checking 2022-01-09 05:49:47 +00:00
Jōshin
71c59737d8
zuse: boundary assertions for schnorr
Just assert on mis-sized values.
2022-01-09 05:31:36 +00:00
Jōshin
4591fa272e
zuse: schnorr test cases
These are from:
<https://github.com/bitcoin/bips/blob/master/bip-0340/test-vectors.csv>
2022-01-09 05:28:22 +00:00
yosoyubik
fccf99e0a6 jael: refactor new-event for %keys diff
this also adds a %rerun %poke to /app/azimuth
2022-01-08 19:28:11 +01:00
yosoyubik
8535563de6 jael: give private key to subscribers on keys diff
Triggering this event has been added to /app/azimuth's +on-load
2022-01-08 09:48:28 +01:00
Peter McEvoy
db1b8d8239 vere: use hex literal for database size passed to u3_lmdb_init() 2022-01-07 14:44:08 -08:00
yosoyubik
583d5f5063 azimuth: process snapshot on-load 2022-01-07 18:13:51 +01:00
Hunter Miller
1ddc7fee83 types: fixing type issues from merge 2022-01-07 11:08:59 -06:00
yosoyubik
1950736518 azimuth: update snapshot at block 13.958.653 2022-01-07 17:31:49 +01:00
fang
afea2edc59
webterm: improve selection look & feel 2022-01-07 14:02:28 +01:00
Peter McEvoy
e4616828c1
u3: disable page tracking on inner roads (#5477)
* u3: disable page tracking on inner roads

* u3: optimize reinstatement of page tracking

* u3: replace U3_OS_Native* macros with static global variable

* u3: move U3_OS_NativePageWords global variable into portable.h

* Revert 2ee26990c2, 16c52a4b73, d7bfe37ff7, 4a78133991

Revert "u3: move U3_OS_NativePageWords global variable into portable.h"
This reverts commit 2ee26990c26a8af15a0234fa23dd041b13aa02de.

Revert "u3: replace U3_OS_Native* macros with static global variable"
This reverts commit 16c52a4b73f35cfe54165ad9232110c2f741d223.

Revert "u3: optimize reinstatement of page tracking"
This reverts commit d7bfe37ff768ecfc0055d71076c67a4df4aff621.

Revert "u3: disable page tracking on inner roads"
This reverts commit 4a781339914b2c47772107d8654a27c40aef7ddf.

* u3: remove u3e_dirty()

* u3: use sizeof() in u3e_foul()

* u3: disable inner road page tracking by defaulting to dirty pages

* u3: read and write-protect on per-page basis in _ce_image_blit()

* u3: remove _ce_patch_junk_page()

* u3: increment ptr_w in _ce_image_blit()
2022-01-06 16:23:19 -08:00
Hunter Miller
9c5f90fe3b Merge branch 'next/groups' into hm/landscape-perf-optimization 2022-01-06 16:52:55 -06:00
Hunter Miller
4834ec59a2 Merge branch 'master' into next/landscape 2022-01-06 16:25:04 -06:00
Liam Fitzgerald
a42b344559 DmResource: reload DM if cleared by kick 2022-01-06 13:55:22 -06:00
yosoyubik
8df443bc46 azimuth: remove eth-logs 2022-01-06 16:43:28 +01:00
Hunter Miller
318cb9f00e Merge branch 'master' into next/landscape 2022-01-05 16:59:32 -06:00
Liam Fitzgerald
05de25a22f graph-validator-chat: allow admin removal of any message 2022-01-04 15:11:24 -06:00
Jōshin
573495546d
vere: reading comprehension :( 2022-01-04 18:28:19 +00:00
Jōshin
c7d8c73865
vere: change include file name in compat 2022-01-04 18:19:46 +00:00
Jōshin
40f3263e08
vere: remove headers from configure script
It doesn't seem to be doing anything.
2022-01-04 17:29:23 +00:00
Yaseen
dcb8aedc09 story: amend |story-set to use the tako from appropriate desk 2021-12-30 21:01:03 -05:00
Jōshin
6fe108f538
vere: schnorr jets
C side of the work at jo/secp-arvo. Validated against these test vectors
prior to setting `ice = c3y`:

<https://github.com/bitcoin/bips/blob/master/bip-0340/test-vectors.csv>

I didn't touch any of the core hashes; perhaps they should be updated.
2021-12-30 22:58:31 +00:00
Jōshin
40fbd16036
zuse: schnorr address 2021-12-30 05:46:44 +00:00
Jōshin
cb5983c6ae
zuse: schnorr jet hints 2021-12-30 04:25:31 +00:00
Jōshin
5d98ecfe2f
urcrypt: first pass at schnorr signatures 2021-12-30 04:16:37 +00:00
Jōshin
f93457ce9c
zuse: style 2021-12-30 04:14:25 +00:00
Jōshin
0fb3dd5ed0
zuse: cleanup 2021-12-30 00:47:11 +00:00
Jōshin
022ec2867d
zuse: banish byte twiddling from schnorr
Actually it's just hidden in +sha-256l:sha now.
2021-12-30 00:42:47 +00:00
Jōshin
57ef17fc91
zuse: signatures were backwards 2021-12-29 23:58:31 +00:00
Jōshin
09294d79bc
zuse: unused ffra 2021-12-29 23:50:16 +00:00
Jōshin
4c6187787f
zuse: remove redundant flips on sig 2021-12-29 23:50:16 +00:00
Jōshin
4f1269b205
zuse: cleanup in schnorr 2021-12-29 23:50:15 +00:00
Jōshin
b296f3912e
zuse: verify:schnorr works 2021-12-29 23:50:15 +00:00
Jōshin
ab4b735471
zuse: sign:schnorr basically done
Schnorr's choice of big-endian encoding commits us to some degree of
byte twiddling; try to make this fairly seamless.
2021-12-29 23:49:54 +00:00
Jōshin
f39421c97b
zuse: flip bytes in sig
gross!
2021-12-29 19:02:51 +00:00
Jōshin
a1c548ced4
zuse: schnorrsig-sign from spec
test vectors match, but are byte-flipped. has to do a lot of endianness
twiddling.
2021-12-29 18:57:45 +00:00
Jōshin
645b7afbd7
test: cleanup
- u3s_cue_xeno_init_with to after u3m_boot_lite().

- c3__ux for overflow case for more intuitive test output.

- "test boot" in final output.
2021-12-26 23:26:39 +00:00
Jōshin
0682eb8a3a
nix,vere: move ivory def to its own source file 2021-12-26 22:31:35 +00:00
Jōshin
fbcec9d0ec
vere: use u3r_safe_word instead of u3r_word_fit
Also add boundary condition tests for u3v_lily.
2021-12-26 21:31:46 +00:00
Jōshin
a07e0b8997
test: return 0 2021-12-26 19:56:06 +00:00
Jōshin
b29fb12e47
test: fix make output, add boot tests 2021-12-26 19:55:03 +00:00
Jōshin
c7f4768e40
vere: reorder u3v functions 2021-12-26 07:08:05 +00:00
Jōshin
2526c4b59d
vere: fix u3v_lily bounds checking
Before this, u3v_lily would erroneously accept atoms bigger than 64 bits
that, when truncated to 64 bits, were 31-bit numbers.

Decided to drop _cv_mole altogether. Another option would be to write a
u3r_chub_fit, write _cv_mole in terms of that, and check width in
u3v_lily as it currently does.

I tried to add a test case, but it seems that tests don't have access to
an ivory pill for +scot / +slaw. This would be the test case, more or
less:

    {
      c3_l lit_l;
      c3_w big_w[] = {0, 0, 1};
      u3_atom big = u3i_words(3, big_w);
      u3_noun cod = u3dc("scot", c3__ux, big);

      if ( c3y == u3v_lily(c3__ux, cod, &lit_l) ) {
        printf("fail\n");
      }
    }

(The refcounting was also messed up, possibly from my refactor to use
+slaw instead of +slay, but this seems to have been unrelated.)
2021-12-26 06:44:54 +00:00
Jōshin
d64674c0e8
khan: only plan %done if vane is present 2021-12-25 21:19:25 +00:00
Jōshin
e226161d03
khan: better noun refcounting, errors
- Caught a couple potential leaks.

- Reworded error messages to be more @tas-compliant.

- Used unique error codes in bal_f calls.

- Moved u3z calls onto same line as returns.
2021-12-25 21:07:59 +00:00
Jōshin
b61f4e5728
khan: comment changes
Not sure we actually want to guarantee exactly-once response semantics,
so you can't rely on request ordering to correlate requests even if you
never send simultaneous requests.

Also do a worked example of a %urth scry, which hopefully raises the
question of whether %urth should try to support views.
2021-12-25 20:42:19 +00:00
Jōshin
d505541498
Revert "behn: comment spacing"
Leave arvo stuff out of the next/vere changes entirely.

This reverts commit 0102bb271f.
2021-12-25 20:26:45 +00:00
Jōshin
69f4d57ccd
test: we stopped futureproofing at some point 2021-12-25 20:25:24 +00:00
Jōshin
9f0a1cc684
vere: export u3v_lily
It was if 0'd out in noun/vortex.c. That seems like a more reasonable
place to put it then a whole other self-contained file.

The commented version used slay instead of slaw and had an extra paren;
I opted to replace it with the impelementation from reck.c from http.c.
2021-12-25 19:54:21 +00:00
Jōshin
0911c39b0e
khan: comment fixes 2021-12-25 09:47:26 +00:00
Jōshin
d22618e89f
khan: comment formatting 2021-12-25 09:41:27 +00:00
Jōshin
aa3bbe165e
zuse: schnorrsig stubs 2021-12-25 08:47:43 +00:00
Jōshin
736fc6f47c
khan: fix comment
It's a little atom; so 31 bits, not 32.
2021-12-25 08:44:36 +00:00
Jōshin
ddbe673a43
khan: naming scheme for _khan_init_sock 2021-12-25 08:41:42 +00:00
Jōshin
845d325dd7
khan: always open socket, make %fyrd conditional
Inlines the server initialization in _khan_io_talk. Adds a van_o loobean
that differentiates between having the vane and missing the vane; van_o
is c3n if the %born event failed. In that case, we don't bother
forwarding %fyrd requests at all, but %peek requests still go through.
2021-12-25 08:37:47 +00:00
Jōshin
969115d5c1
khan: document %peek overlay 2021-12-25 08:26:05 +00:00
Jōshin
6a783cda55
khan: remove _khan_close_socket
It was a mistake to call it except from _khan_close_chan, so just inline
it at the one call site. Also lets us stop doing our own pointer
juggling in _khan_io_exit.

While we're at it, flip argument order in _khan_close_chan;
superordinate first seems more natural.
2021-12-25 01:53:56 +00:00
Jōshin
18764678b0
khan: remove TODO, clean up docs 2021-12-25 01:31:37 +00:00
Jōshin
dfe2330d49
khan: urth namespace stub 2021-12-25 01:28:17 +00:00
Jōshin
fbe6cd5196
khan: include %avow in response 2021-12-25 00:19:28 +00:00
Jōshin
7386e3b0a3
khan: assert 2021-12-24 23:30:01 +00:00
Jōshin
9280c107c0
newt: remove fprintf
This was sorta here in case that decode case ever got tripped
erroneously. Calling bal_f ought to be sufficient to produce a log.
2021-12-24 22:51:07 +00:00
Jōshin
ee68f533fe
khan: redo error logic
No more retries. If something goes wrong, log it and close the channel.
If we receive an unknown message from the vane, crash the process.
2021-12-24 22:49:57 +00:00
Jōshin
a85dac4e65
khan: _khan_read_wire takes tag, rename fn
- Have _khan_read_wire take a tag rather than produce it; if the tag is
  not the one passed, it assumes it knows nothing of the rest of the
  wire structure and simply returns c3n.

- rename _khan_search_chan to _khan_find_chan, the latter being more
  flwy.
2021-12-24 22:29:59 +00:00
Jōshin
3cad739fdf
khan: reformat %peek, report %fyrd errors, misc
- Reformat %peek responses to start with request-id.

- Send %fyrd errors back over the channel that started the %fyrd.

- Factor out _khan_read_wire, reused by both _khan_poke_bail and
  _khan_io_kick.

- Move _khan_search_chan up above _khan_poke_bail to use it there.
2021-12-24 22:20:49 +00:00
Jōshin
8e1ab0ff35
khan: fix ci
liv_o was always c3n without the vane. The pier was waiting for all
drivers to report liv_o == c3y. Tragedy ensued.

Maybe now we want to open the socket for peeks and moves even if the
vane is not present, so this may need to be rethought even further.
This is just the simple resolution for the culprit unearthed by
git-bisect.
2021-12-24 07:39:26 +00:00
Jōshin
1b39475096
khan: cleanup, request-ids in kick_f
- Factor out _khan_send_noun.

- Fix inconsistent operator locations.
2021-12-23 23:13:21 +00:00
Jōshin
1b64a72b7d
khan: flip request-id order, add request list
Keeping a request list allows us to detect the case where a scry result
has returned on a connection that has already been closed, so we can
noop in that case.

Flipping the order of tag and request-id seems more natural for the
%fyrd case; otherwise there's no clear thing to send to the vane.
(Sending the whole jar sends request-id twice; once in the wire, once in
the body. Sending only the command itself loses context and introduces
potential namespace overlaps.)

As of now, scries are working.

And the format the IO driver takes is:

$:  request-id=@ud
$%  [%fyrd fyrd-args=*]
    [%peek peek-args=*]
    [%move move-args=*]
==
2021-12-23 10:04:16 +00:00
Jōshin
ceeb21d71e
khan: poke destructuring now case-independent
- Adds request-id to %fyrd.

- Adds log lines per poke.

- Missed a u3z(jar) in the switch default case.
2021-12-23 09:26:24 +00:00
Jōshin
07d5cfc0c0
vere: typo in lord.c peek docs 2021-12-23 07:18:21 +00:00
Jōshin
3cd1a697ef
Merge branch 'next/vere' into jo/khan-c3 2021-12-23 07:18:09 +00:00
Jōshin
0d9cc5b6af
khan: wip scries, moves, request ids
Also clean up some types and remove obsolete TODOs.
2021-12-23 07:15:54 +00:00
Mackenzie Davidson
da2b31750b theme_color meta precedence corrected 2021-12-20 13:20:59 -05:00
Mackenzie Davidson
bc249fc204 replace theme color override with existing background color value (rgb(26, 26, 26), in hex) for dark mode users 2021-12-20 13:15:02 -05:00
Mackenzie Davidson
453a253091 override theme_color in manifest 2021-12-20 13:12:33 -05:00
Mackenzie Davidson
f9c76914a9 Merge branch 'master' of https://github.com/mwvd/urbit into html-theme-updates 2021-12-20 12:58:49 -05:00
Philip Monk
e243d5adf6
landscape,garden: make build
Boot was broken, fixing the hark-note file mark and re-adding the
hark-store library fixed it.

This lets us push a new pill, which is necessary for the fix in #5434 to
actually work.

Fixes #5501
Fixes #5502
2021-12-18 22:54:49 -08:00
Joe Bryan
1657c548cc Merge branch 'master' into next/arvo
* master:
  [nix] track nixos-21.11 branch whenever niv updates, bump to include qemu-in-virtualization fix
  webterm: v1.0.0
  herm: permission checks
  herm: avoid trailing empty path segments
  pmnsh: update secp256k1 configure flags
  secp256k1: use nixpkgs provided secp256k1 and add to sources-pmnsh
  webterm: remove border, let term live in page
  theme: cleaning up a few mismatches
  webterm: handle old-style blits and belts
  build: correct lmdb static builds
  build: explicitly override h2o build platforms to support darwin
  ci: upgrade cachix/install-nix-action from v13 -> v16
  build: remove haskell related nix code and haskell.nix dependency
  webterm: update imports
  @urbit/api: move term types
  webterm: fix broken imports
  webterm: update package name for lerna
  webterm: commit missing api files
  webterm: backport
2021-12-17 23:39:04 -05:00
Joe Bryan
15148c72bf Merge branch 'master' into next/vere
* master:
  [nix] track nixos-21.11 branch whenever niv updates, bump to include qemu-in-virtualization fix
  webterm: v1.0.0
  herm: permission checks
  herm: avoid trailing empty path segments
  pmnsh: update secp256k1 configure flags
  secp256k1: use nixpkgs provided secp256k1 and add to sources-pmnsh
  webterm: remove border, let term live in page
  theme: cleaning up a few mismatches
  webterm: handle old-style blits and belts
  build: correct lmdb static builds
  build: explicitly override h2o build platforms to support darwin
  ci: upgrade cachix/install-nix-action from v13 -> v16
  build: remove haskell related nix code and haskell.nix dependency
  webterm: update imports
  @urbit/api: move term types
  webterm: fix broken imports
  webterm: update package name for lerna
  webterm: commit missing api files
  webterm: backport
2021-12-17 23:38:22 -05:00
Joe Bryan
663934b5cf
Merge pull request #5478 from urbit/bh/remove-haskell-nix
build: remove urbit-king haskell releases and haskell.nix dependency
2021-12-17 20:36:21 -08:00
Joe Bryan
eeac4e5489
Merge pull request #5195 from urbit/pp/leaks2
king: fix several more space leaks
2021-12-17 20:18:42 -08:00
Joe Bryan
c4cf6bf655
Merge pull request #5000 from ryjm/jm/merciful-king
king: don't kill on C-d
2021-12-17 20:17:52 -08:00
Joe Bryan
60cefe192e
Merge pull request #5182 from urbit/naive/preboot
L2 preboot validation (kh)
2021-12-17 20:16:33 -08:00
Joe Bryan
b111054ab2
Merge pull request #5419 from urbit/lf/fix-injection
vere: update event injection for four letter vanes
2021-12-17 07:52:34 -08:00
fang
970075bbcd
helm, docket: bind /who endpoint in helm instead
This seems like a better place.
2021-12-17 00:42:57 +01:00
Joe Bryan
e8cdafddfc arvo: refactor |mass output, make vane /whey peek optional 2021-12-16 12:21:21 -05:00
Joe Bryan
32e1ed0a15 arvo: fix type typo (s/mein/mien/g) 2021-12-16 12:15:48 -05:00
Peter McEvoy
6f42d9e30a u3: add header guards to header files in pkg/urbit/include 2021-12-15 17:45:25 -07:00
fang
0cb818a0ab
Merge pull request #5445 from urbit/m/hmac-gate-prep
jets: cache hmac hashing gate
2021-12-15 20:25:41 +01:00
yosoyubik
1bda134280 azimuth: update /app/azimuth snapshot 2021-12-15 08:31:26 +01:00
fang
81f1d816e0
docket: bind /who.json 2021-12-14 22:42:42 +01:00
Yaseen
077c23b9e7 story: add generator |story-init 2021-12-14 14:31:38 -05:00
Yaseen
2626c32085 story: let |story-set take a case and make it optional 2021-12-14 14:31:09 -05:00
fang
dd6b090bfa
Merge pull request #5454 from urbit/m/backport-nu-webterm
webterm: backport
2021-12-14 19:23:23 +01:00
Joe Bryan
53e8ee727c
Merge pull request #5493 from urbit/jb/hint-no-tail
u3: fix compilation of dynamic hints in tail position
2021-12-14 10:16:40 -08:00
fang
960f2b1ae2
webterm: v1.0.0 2021-12-14 17:17:32 +01:00
yosoyubik
5d4a410653 roller: don't set :frequency timer on commit 2021-12-14 16:39:22 +01:00
yosoyubik
d0309abfd8 roller: get suggested gas price only for mainnet 2021-12-14 15:44:43 +01:00
yosoyubik
1b278ce104 dice: dont print %failed logs in tx-effects 2021-12-14 15:27:44 +01:00
yosoyubik
fc540bf209 roller: handle sending malformed batches 2021-12-14 15:24:25 +01:00
Liam Fitzgerald
e8ba3b5f73 metadata-push-hook: address mark review 2021-12-14 08:50:57 -05:00
yosoyubik
d1a04c7c54 Merge branch 'naive/snapshot' into roller/gas-price 2021-12-14 09:41:22 +01:00
yosoyubik
4724c32d3d pill: load azimuth snapshot file with mime mark 2021-12-14 09:40:34 +01:00
Joe Bryan
6d2764bc15
Merge pull request #5492 from laudiacay/fix-behn-tag-check
Adding tag == c3_doze check to _behn_io_kick in Behn io driver
2021-12-13 21:53:40 -08:00
Joe Bryan
df572b15f1 Merge branch 'master' into next/vere
* master: (55 commits)
  landscape: bump version, glob
  interface: hide invite if already joined
  landscape: update glob
  interface: do not redirect to joined group automatically
  interface: hide aborted requests
  invite-store: change /all scry to return %invite-update
  interface: fix tsc
  interface: address hunter review
  pkg: include atom mark in base-dev
  landscape: correct mark
  interface: refine spacing
  interface: fix invite notifications
  landscape: add invite declination
  landscape: prevent reflow jank in group summary on load
  interface: fix unjoined graph permalink redirect
  join: automatically join when done
  landscape: update glob, version
  notify: address mark review
  interface: fix publish url preprocessing
  bg-color: changing to always store ux, optimizing displayform and colorinput
  ...
2021-12-14 00:52:30 -05:00
Joe Bryan
1f055607e4 u3: fix compilation of dynamic hints in tail position
hinted formulas are never in tail position
2021-12-14 00:17:10 -05:00
Claudia Richoux
9014af72c8
adding check to fix 2021-12-13 22:17:29 -06:00
yosoyubik
0c7ada2076 roller: fix response parsing from gasoracle 2021-12-13 19:16:47 +01:00
Liam Fitzgerald
bfaec1daab interface: address hunter review 2021-12-13 10:23:37 -05:00
Liam Fitzgerald
7252c7c1da interface: fix unreads not clearing chats
Fixes urbit/landscape#761
2021-12-13 08:44:29 -05:00
Liam Fitzgerald
740d9b796e interface: inset by safe-area on iOS
Fixes urbit/landscape#242
2021-12-13 08:25:59 -05:00
fang
fd375c1d90
herm: permission checks
Make sure herm can only be interacted with by the local ship.
2021-12-13 14:25:14 +01:00
fang
c7c601c041
herm: avoid trailing empty path segments
append /view to the existing subscription paths to "wrap" the possibly
empty path segment of the session name.
2021-12-13 14:24:20 +01:00
Liam Fitzgerald
917b53b374 interface: add disable spellcheck setting
Fixes urbit/landscape#79
2021-12-13 08:18:38 -05:00
Liam Fitzgerald
dc305371bc interface: strip apps from landscape omnibox
Fixes urbit/landscape#1295
2021-12-13 08:02:14 -05:00
Liam Fitzgerald
0e847ec53c landscape: do not show cross-desk notifications 2021-12-13 07:52:41 -05:00
Liam Fitzgerald
167718bd8e interface: prevent hook crash in publish notes
Fixes urbit/landscape#1299
Fixes urbit/landscape#1343
2021-12-13 07:45:25 -05:00
Liam Fitzgerald
28ace88bd9 interface: remove My Channels link from GroupSwitcher
Fixes urbit/landscape#1331
2021-12-13 07:39:08 -05:00
Liam Fitzgerald
418ad3736d -group-leave: cleanup seperation of concerns between groups, metadata, graphs 2021-12-13 06:29:00 -05:00
Liam Fitzgerald
6a6af5edc4 metadata-pull-hook: fix limb expression in on-pull-nack 2021-12-13 06:26:44 -05:00
Liam Fitzgerald
224353364a metadata-push-hook: watch group-store for permission revocation 2021-12-13 06:26:07 -05:00
Liam Fitzgerald
e1138e1684 push-hook: fix %revoke action for versioned subscriptions 2021-12-13 06:23:03 -05:00
Liam Fitzgerald
fd4844bf9f pull-hook: fix swapped argument preventing cards being sent 2021-12-13 06:19:00 -05:00
Liam Fitzgerald
722b19066e landscape: defer removing metadata until on-leave thread
Addresses graphs not being archived correctly, and causing spurious
notifications
2021-12-13 04:37:08 -05:00
Jōshin
6a4855a616
khan: trivial style cleanup 2021-12-11 06:40:34 +00:00
Jōshin
e5dc029715
khan: wip naive scry implementation
As of yet untested since I don't yet know how to construct a scry path
from Haskell. Probably broken; crashes the process on some input.
2021-12-11 06:26:00 +00:00
Jōshin
b747a06a49
test: fix newt tests
Tests! What a concept!
2021-12-11 05:09:39 +00:00
Jōshin
9b6332c359
newt: change framing to tag byte + 32-bit length 2021-12-11 04:54:06 +00:00
yosoyubik
92c498cd04 Merge branch 'naive/snapshot' into roller/gas-price 2021-12-10 18:42:55 +01:00
yosoyubik
8601b13e3f azimuth: remove unused import in snapshot mark 2021-12-10 16:59:30 +01:00
yosoyubik
f6dca03786 pill: restore solid pill 2021-12-10 16:19:59 +01:00
yosoyubik
fd2ff95989 roller: fix refuel generator 2021-12-10 13:13:14 +01:00
yosoyubik
f6ff4f108b roller: add utilities for handling low-gas batches
This adds support for handling cases where the send-batch thread failed,
mainly among them, a thread crash. One of the events that causes this
behavior is a ver low gas price for this L1 transaction.

Here we add support for manually bumping the price for such transaction,
and for increasing the default fallback gas-price, together with discarding
any malformed batch from the sending queue.
2021-12-10 11:36:45 +01:00
Jōshin
d94aa5704b
Merge branch 'master' into next/arvo
Conflicts:
	pkg/arvo/lib/azimuth.hoon

This file was turned into a symlink to pkg/base-dev/lib/azimuth.hoon on
one side of the fork, and meanwhile edited on the other side of the fork
(to update ecliptic to the new address for the WSTR fix.)

The two sides of the fork both had different outdated addresses in
base-dev's azimuth.hoon file, and Git's UI helpfully refilled the
contents of arvo's azimuth.hoon so that it showed a merge conflict with
an empty diff.

Resolved by reading out HEAD:pkg/arvo/lib/azimuth.hoon into
pkg/base-dev/lib/azimuth.hoon and manually recreating the symlink.
2021-12-10 08:24:32 +00:00
Liam Fitzgerald
6de9dbdd3f landscape: better leap searching
Allows categories to reorder. Improves searching algorithm to order by
strength of match
2021-12-09 16:49:43 -05:00
Mackenzie Davidson
8d4b325477 landscape - safari theme-color prefers-color-scheme dark + fallbacks 2021-12-09 10:50:38 -05:00
Mackenzie Davidson
809f8f7159 safari theme-color fallbacks 2021-12-09 10:33:32 -05:00
Mackenzie Davidson
280e4da513 safari theme-color prefers-color-scheme dark 2021-12-09 10:31:42 -05:00
yosoyubik
c467d5aa67 Merge branch 'roller/quota-left' into naive/snapshot 2021-12-09 07:45:18 +01:00
yosoyubik
ae05bbf571 roller: don't crash if nonce not in queue 2021-12-09 07:44:53 +01:00
yosoyubik
4384f19643 azimuth: use ship as prefix for loading snapshot log 2021-12-09 07:30:08 +01:00
yosoyubik
fb2c078fde pill: load azimuth snapshot as mime in file-ovum 2021-12-09 07:28:57 +01:00
Peter McEvoy
bad890a6a6 u3: re-add accidentally-removed openssl header file 2021-12-08 17:31:55 -08:00
Peter McEvoy
fd69a8dfe7 u3: comment u3a_* macros 2021-12-08 17:31:55 -08:00
fang
b20abb8841
webterm: remove border, let term live in page
This also helps conceal some xterm resizing inaccuracies.
2021-12-09 00:36:50 +01:00
Hunter Miller
3ee9132416 theme: cleaning up a few mismatches 2021-12-08 17:00:25 -06:00
Liam Fitzgerald
ac2337a6a7 landscape: bump version, glob 2021-12-08 16:46:59 -05:00
Liam Fitzgerald
0979b8fc39 interface: hide invite if already joined 2021-12-08 15:24:32 -05:00
Liam Fitzgerald
b8da026c5e Merge branch 'next/groups' 2021-12-08 13:42:49 -05:00
fang
81a45608a0
webterm: handle old-style blits and belts
Additions and changes easily distinguishable for extermination once the
new backend lands.
2021-12-08 17:12:38 +01:00
fang
35e820bfe6
Merge branch 'next/arvo' into m/shoe-scry 2021-12-08 13:13:54 +01:00
yosoyubik
cce14699c8 azimuth: update log message 2021-12-08 12:52:23 +01:00
yosoyubik
37adba1ba0 various: update to new udiff:point type 2021-12-08 11:23:35 +01:00
yosoyubik
1e912d1ec4 Merge branch 'roller/quota-left' into naive/snapshot 2021-12-08 11:02:23 +01:00
yosoyubik
463ca6e8db roller: set default quota to 25 2021-12-08 11:02:05 +01:00
Brendan Hay
16379db9b0
build: remove haskell related nix code and haskell.nix dependency
* Upgrades the nixpkgs pin to 21.11.
* Removes nix code, sources, and attributes related to haskell.nix and
  the code under pkg/hs.
* Continuous integration no longer builds (or packages/releases)
  urbit-king (haskell).
* To continue to developing any haskell code under pkg/hs it's left as
  a user exercise uto install and configure GHC/Stack.

As a consequence running nix-shell should be considerably more
performant and requires downloading or building less dependencies.
2021-12-08 10:06:42 +01:00
Philip Monk
5c20b63a5a
Merge pull request #5412 from urbit/jb/safer-dojo
dojo: improve safety of mark conversion
2021-12-07 20:20:53 -08:00
Philip Monk
1ffdad8719
Merge pull request #5439 from ynx0/dev-fixes
meta: fix various issues in file tree for development
2021-12-07 19:07:34 -08:00
Philip Monk
7583d33cf1
Merge pull request #5436 from urbit/m/claz-lockup-txs
claz: better linear lockup ops support
2021-12-07 18:41:55 -08:00
yosoyubik
28dacad857 Merge branch 'roller/quota-left' into naive/snapshot 2021-12-07 17:48:30 +01:00
yosoyubik
33852ea90e roller: support private keys with leading 0x 2021-12-07 17:47:56 +01:00
Liam Fitzgerald
1893ffd651 landscape: update glob 2021-12-07 11:23:50 -05:00
Liam Fitzgerald
ba9cfd8e92 interface: do not redirect to joined group automatically 2021-12-07 11:04:36 -05:00
Liam Fitzgerald
119805fd04 interface: hide aborted requests 2021-12-07 11:02:23 -05:00
yosoyubik
0833ee9ea6 azimuth: only print number of points during init 2021-12-07 16:32:39 +01:00
yosoyubik
81eb6ae247 pill: add azimuth snapshot 2021-12-07 16:13:39 +01:00
Liam Fitzgerald
d58666d4c7 invite-store: change /all scry to return %invite-update 2021-12-06 15:28:26 -05:00
Liam Fitzgerald
8be81d7dc5
Merge pull request #5469 from urbit/hm/group-join-fixes
interface: minor group join fixes
2021-12-06 14:34:35 -05:00
Liam Fitzgerald
641cf79894 interface: fix tsc 2021-12-06 14:16:17 -05:00
Liam Fitzgerald
9de35cfd70 webterm: update imports 2021-12-06 10:05:54 -05:00
Liam Fitzgerald
cbc1b910fd @urbit/api: move term types 2021-12-06 10:05:36 -05:00
Liam Fitzgerald
3fa572b53a webterm: fix broken imports 2021-12-06 10:05:14 -05:00
Liam Fitzgerald
3b3564cae9 webterm: update package name for lerna 2021-12-06 10:04:36 -05:00
Liam Fitzgerald
97f334e819 interface: address hunter review 2021-12-06 09:38:20 -05:00
Liam Fitzgerald
4dbf4a9e9f
Merge pull request #5472 from urbit/jo/graph-store-mark
landscape: correct mark
2021-12-06 09:36:15 -05:00
fang
3df0efd7c6
Merge pull request #5473 from urbit/m/base-atom
pkg: include atom mark in base-dev
2021-12-06 15:11:12 +01:00
yosoyubik
d08ab43f3a lull: skip rift/life printf when booting 2021-12-06 13:47:59 +01:00
fang
4bff1df7e8
pkg: include atom mark in base-dev 2021-12-05 14:50:50 +01:00
Jōshin
ffc2d8f0b9
landscape: correct mark
This was crashing before due to a `[%no-cast-from %graph-update-3 %graph-update]`. With this change it produces output.
2021-12-04 20:55:15 -08:00
Hunter Miller
9e3ed16c76 Merge branch 'master' into next/landscape 2021-12-03 16:44:51 -06:00
Liam Fitzgerald
04d88ae5e7 interface: refine spacing 2021-12-03 15:16:50 -05:00
Liam Fitzgerald
dff232816d interface: fix invite notifications 2021-12-03 15:16:13 -05:00
Liam Fitzgerald
413b4b8c9f landscape: add invite declination 2021-12-03 14:42:39 -05:00
Liam Fitzgerald
e655b84f10 landscape: prevent reflow jank in group summary on load 2021-12-03 12:39:46 -05:00
Liam Fitzgerald
f863a83d4c interface: fix unjoined graph permalink redirect 2021-12-03 12:39:24 -05:00
yosoyubik
ad16155c77 azimuth: load azimuth state from state snapshot 2021-12-03 16:11:15 +01:00
Hunter Miller
87337d0e7a join: automatically join when done 2021-12-02 17:06:42 -06:00
fang
2c71a5d79d
azimuth: update ecliptic address
To account for the recent upgrade.
2021-12-02 21:45:39 +01:00
Liam Fitzgerald
fe84339747 landscape: update glob, version 2021-12-02 14:07:41 -05:00
Liam Fitzgerald
0af4d998c1
Merge pull request #5449 from urbit/lf/group-view-refactor
groups: refactor joining process
2021-12-02 12:09:09 -05:00