Commit Graph

12894 Commits

Author SHA1 Message Date
Jōshin
d5a182ab38
conn: clean up whitespace 2022-03-25 15:16:39 -06:00
Jōshin
66ee870461
conn: extract _conn_make_cran() 2022-03-25 15:16:39 -06:00
Jōshin
133ef8c779
repo: fix ent build on mingw 2022-03-25 15:16:39 -06:00
Jōshin
30c329115d
Merge branch 'master' into next/vere 2022-03-23 16:31:57 -06:00
Jōshin
469c597310
conn: send errors on bail 2022-03-23 10:50:23 -06:00
Jōshin
8e1842df69
conn: condense _conn_moor_poke
- Saves a call to `+scot`.

- Removes `else` blocks from `if` statements that return.

- Handles missing %khan as a normal bail.
2022-03-23 10:19:37 -06:00
Hunter Miller
6e0b1096c2 grid: updating glob and version 2022-03-21 15:59:26 -05:00
Jōshin
9649c35e47
conn: add %peel /who 2022-03-21 14:38:39 -06:00
Jōshin
0ce83ce68b
disk: %read info 2022-03-21 14:29:54 -06:00
Jōshin
1d97e6464a
vere: remove short flags from header comment 2022-03-21 14:27:31 -06:00
Hunter Miller
82164abe2f Merge branch 'next/landscape' into hm/fix-tile-order-persistence 2022-03-21 15:26:04 -05:00
Jōshin
74578f80d5
conn: futureproof comment 2022-03-21 14:25:32 -06:00
Patrick O'Sullivan
3c68499b86 grid: fix loop caused by useEffect in tilegrid 2022-03-21 15:15:39 -05:00
Jōshin
b5df46d0e9
conn: don't u3z(u3_none)
Empirically this seemed to work before (maybe hind events were never
getting sent?), but `u3a_lose` takes a `u3_noun` so it seems best to
follow the specified API.
2022-03-21 14:13:23 -06:00
Jōshin
6c386ce946
http: print port in error message 2022-03-21 13:18:14 -06:00
Jōshin
05046f756b
vere: long-only opt for http/s port
Also includes in usage.
2022-03-21 13:15:37 -06:00
Hunter Miller
77f0de4cb2 grid: initialize settings, add more checks around order correction 2022-03-21 14:08:28 -05:00
Jōshin
4f124c5911
http: abort increment/bind loop on manual port
Also moves the per_s / pes_s reset out of _http_write_ports_file and
into the bind loop itself.
2022-03-21 12:45:11 -06:00
Hunter Miller
3d2472f8b4 tile-grid: check for charges loaded, updating glob 2022-03-21 13:23:58 -05:00
Hunter Miller
ce39c22026 grid: updating bad glob entry 2022-03-21 13:05:28 -05:00
Hunter Miller
3cbe8e97fe grid: updating glob and version 2022-03-21 12:46:42 -05:00
Hunter Miller
7e193cf733 Merge branch 'next/landscape' 2022-03-21 12:43:21 -05:00
Jōshin
fb5dd0026e
vere: add http/s port flags 2022-03-21 11:10:08 -06:00
Hunter Miller
1806320786 tile-grid: ensure we aren't trying to display uninstalled apps 2022-03-21 11:51:05 -05:00
Jōshin
07e50da237
conn: use %bail instead of %fail 2022-03-19 08:26:41 -06:00
Jōshin
1210832d1b
conn: refcounts 2022-03-19 08:13:19 -06:00
Jōshin
9a656e0dae
vere: drivers in driver link-order 2022-03-18 16:51:29 -06:00
Jōshin
50de7b45b0
Merge branch 'next/vere' into jo/khan-c3 2022-03-18 16:50:16 -06:00
Jōshin
beb3ee8ec0
Merge branch 'master' into next/vere 2022-03-18 16:49:12 -06:00
Hunter Miller
4fb718bd78 groups: update version and glob 2022-03-16 16:42:00 -05:00
Hunter Miller
3b300bc6dd grid: updating glob and version 2022-03-16 14:35:52 -05:00
Hunter Miller
eb9c9688ed apps/docket: move all status to hook and make more reliable 2022-03-15 11:42:03 -05:00
Hunter Miller
070f0ce278 Merge branch 'next/landscape' 2022-03-14 16:10:46 -05: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
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
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
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
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
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
Hunter Miller
6c221fbddc interface: updating glob to trigger properly uploaded glob 2022-03-02 18:32:45 -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
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
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
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
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
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
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
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