Commit Graph

3087 Commits

Author SHA1 Message Date
Fang
1c14e8854f
eyre: minimal CORS support
Adds a cors-registry to Eyre's state that tracks allowed and rejected
origins for the purposes of CORS request handling.

For preflight requests, generates a response in-line.
For simple requests, adds CORS headers onto whatever response is given.

See also:
https://groups.google.com/a/urbit.org/g/dev/c/bb82dwEJGzM/m/q2JjNSx5BwAJ
2020-10-05 23:41:42 +02:00
Joe Bryan
455de92b0d arvo: restore :time app 2020-10-05 01:17:17 -07:00
Liam Fitzgerald
bda2770320 Merge branch 'release/next-userspace' into lf/global-skeleton-links 2020-10-05 15:47:45 +10:00
Liam Fitzgerald
fdbf225c66 graph-store: restore @ud encoding 2020-10-05 15:27:26 +10:00
Liam Fitzgerald
627937f5a0 publish-mark: address review 2020-10-05 15:26:27 +10:00
Liam Fitzgerald
0d646aebf3 metadata-store: migrate publish to graph-store 2020-10-05 14:50:11 +10:00
Liam Fitzgerald
ecf15cb66d publish: update graph-store migration 2020-10-05 14:42:38 +10:00
Joe Bryan
b5c9f4ed2a zuse: removes redundant definitions of $mite and $octs 2020-10-03 23:34:10 -07:00
Joe Bryan
a208387a72
Merge pull request #3520 from urbit/ted/ames-scry-print
ames: print failed scrys
2020-10-02 15:30:27 -07:00
Matilde Park
5b9da64122 glob: update to 0v6.k146g.ot3f9.d6vgi.6hrj7.4e5gn 2020-10-02 14:14:19 -04:00
Matilde Park
294f89d56e Merge branch 'release/next-userspace' 2020-10-01 22:56:23 -04:00
Logan Allen
e9f27a51fa acme: remove last %hall import and remove sur file 2020-10-01 21:49:16 -05:00
Logan Allen
a968bb004b chat-hook: fix infinite loop from reconnecting to own dm 2020-10-01 21:29:50 -05:00
Logan Allen
2c0ddfa960 Merge branch 'la/fix-dumb-mistake' of github.com:urbit/urbit into la/fix-dumb-mistake 2020-10-01 21:19:25 -05:00
Logan Allen
f34c1ba614 chat-hook: added assert to remove infinite loop case 2020-10-01 21:18:51 -05:00
Logan Allen
43139fa38d chat-hook: fix infinite loop 2020-10-02 02:04:20 +00:00
Logan Allen
f83674e985 chat-hook: do not remove chat if watch-nack 2020-10-02 01:59:14 +00:00
Logan Allen
1db605646a chat-hook: wip recover state 2020-10-01 20:49:58 -05:00
Logan Allen
17e1f6a043 chat-hook: fix dumb mistake 2020-10-01 20:31:34 -05:00
Matilde Park
d0d8f7d9f0 glob: update to 0vlkq9j.tgij1.qgq25.qilkc.0bsm7 2020-10-01 20:59:50 -04:00
Matilde Park
f76c5e13ef Merge branch 'release/next-userspace' 2020-10-01 20:40:28 -04:00
Logan Allen
0db7bba4fc chat-hook: remove app-path from hook state when it has no corresponding group, and do not crash in prior upgrade if chat has no group 2020-10-01 16:28:32 -05:00
fang
be1f4a5f6b
eyre: add authentication checker scry endpoint
Lets you check whether a specific Cookie header value string constitutes an
authenticated request.

/ex/=//=/authenticated/cookie/(scot %t 'cookie-string')

Intended for use in the runtime, for example with #3557.
2020-10-01 19:55:16 +02:00
fang
a37b728b86
Merge pull request #3565 from tylershuster/eyre-response-code
eyre: send 'no content' status with no content
2020-10-01 16:06:44 +02:00
Matilde Park
fe8432d62c Merge branch 'mp/status/indigo-react' (#3614)
* origin/mp/status/indigo-react:
  interface: remove png binaries
  interface: indigo-react statusbar icons

Signed-off-by: Matilde Park <matilde@tlon.io>
2020-10-01 00:23:43 -04:00
Tyler Brown Cifu Shuster
11feb86457 updated eyre test 2020-09-30 18:20:18 -07:00
Liam Fitzgerald
6264091148 publish: fix breakage from merge 2020-10-01 11:15:46 +10:00
Liam Fitzgerald
ef7bb37f8f Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-10-01 09:43:34 +10:00
fang
84494fcd63
Merge pull request #3588 from urbit/dk-js-chan
landscape: channel.js plumbing acks through for subscriptions
2020-10-01 01:01:47 +02:00
Fang
b277b82167
hood: welp cards
The +weld call was nest-failing for some reason...
2020-09-30 15:54:27 +02:00
Fang
369193f50a
helm: add cors registry management generators 2020-09-30 15:54:25 +02:00
Fang
0866d99c73
eyre: minimal CORS support
Adds a cors-registry to Eyre's state that tracks allowed and rejected
origins for the purposes of CORS request handling.

For preflight requests, generates a response in-line.
For simple requests, adds CORS headers onto whatever response is given.

See also:
https://groups.google.com/a/urbit.org/g/dev/c/bb82dwEJGzM/m/q2JjNSx5BwAJ
2020-09-30 15:54:15 +02:00
Liam Fitzgerald
cae7ff7e50 launch: remove stale tiles 2020-09-30 23:48:33 +10:00
fang
487aa501c6
Merge pull request #3591 from urbit/m/shoe-auto-history-unset
shoe: don't auto-run discontinuous inputs
2020-09-29 11:22:34 +02:00
Matilde Park
01e28b3033 interface: remove png binaries 2020-09-28 21:45:37 -04:00
Liam Fitzgerald
8acabefcc5 Merge branch 'release/next-userspace' into lf/global-skeleton-links 2020-09-29 11:02:49 +10:00
David Kerschner
0cd4d12400 landscape: channel.js, address requested changes 2020-09-28 15:47:42 -07:00
Tyler Brown Cifu Shuster
15f793ddfb landscape: remove externally loaded aws 2020-09-28 15:04:31 -07:00
fang
f84c651adc
readme: improve clarity of phrasing around testing 2020-09-28 18:49:37 +02:00
Tyler Brown Cifu Shuster
a1822bc5f1 updated eyre test 2020-09-28 09:27:21 -07:00
fang
6d843bfe5a
readme: update arvo test command 2020-09-28 17:52:02 +02:00
Elliot Glaysher
cea51ef16d
Merge pull request #3553 from pkova/eyre
eyre: remove superfluous connection-state check
2020-09-28 10:50:20 -04:00
Tyler Brown Cifu Shuster
9d1514385f Merge branch 'release/next-sys' of https://github.com/urbit/urbit into eyre-response-code 2020-09-27 21:28:04 -07:00
fang
7977dcfec0
shoe: don't auto-run discontinuous inputs
Previously, up-arrowing into (or otherwise retrieving) a command from history
that automatically runs on-input would directly run the command again,
preventing the user from up-arrowing past the auto-run command into further
history.

With this change, shoe detects discontinuous inputs (sole's `%set` edit), and
refuses to auto-run the parsed command in those cases.
2020-09-26 02:08:35 +02:00
fang
106a714fb5
Merge pull request #3569 from pkova/release/next-userspace
dojo: parse %as in ++parse-value instead of ++parse-build
2020-09-26 01:16:56 +02:00
David Kerschner
a07757c313 landscape: channel.js plumbing acks through for subscriptions 2020-09-25 15:57:53 -07:00
Matilde Park
5519f9baaa Merge branch 'release/next-userspace' 2020-09-25 17:32:32 -04:00
Matilde Park
fb66701008 Merge branch 'la/spider' (#3582)
* origin/la/spider:
  spider: bind eyre unconditionally upon upgrade

Signed-off-by: Matilde Park <matilde.park@sunshinegardens.org>
2020-09-25 17:32:05 -04:00
Logan Allen
36f53a434d spider: bind eyre unconditionally upon upgrade 2020-09-25 16:28:17 -05:00
Logan Allen
e17e508379 chat-hook: fix, test, and ensure sending invite works 2020-09-25 15:52:42 -05:00
Logan Allen
f6b2a45c62 chat-hook: send invites to all unsubscribed members of unmanaged chats 2020-09-25 14:18:26 -05:00
Logan Allen
561f8e00b3 metadata-store: migrate indices properly 2020-09-25 10:41:39 -05:00
pkova
d576c9479f dojo: parse %as in ++parse-value instead of ++parse-build
Allows things like `+hello &helm-hi 'hi'`. Fixes #1476.
2020-09-25 14:11:40 +03:00
Fang
9efa389e5a
glob: update hash correctly 2020-09-25 11:31:17 +02:00
Fang
e5c3c5263f
glob: update to 0v5.6e3d0.3hm4q.iib09.rb2jb.9h4k4 2020-09-25 11:20:06 +02:00
Liam Fitzgerald
f77522755d metadata-store: rebuild indices
The OTA deployment of urbit-os-v1.0.50 unintentionally wiped the indices
during the state migration. This caused widespread permissions issues,
as agents were unable to tell which group is associated with what channel.
Fortunately, the indices are a simple transform of the associations noun,
which was kept intact. This commit introduces a state migration to rebuild
the indices, in order to restore connectivity on the network.
2020-09-25 16:21:29 +10:00
Tyler Brown Cifu Shuster
8a9534e0ac eyre: send 'no content' headers with no content 2020-09-24 21:07:07 -07:00
Matilde Park
4fad47d151 glob: update to 0v4.6aspk.m4l21.aha5i.79git.eu8bv 2020-09-24 22:17:49 -04:00
Matilde Park
54a058b95c Merge branch 'lf/pre-ota-fixes' (#3563)
* origin/lf/pre-ota-fixes:
  graph: add restore thread
  links: fix broken Input import

Signed-off-by: Matilde Park <matilde.park@sunshinegardens.org>
2020-09-24 22:12:06 -04:00
Liam Fitzgerald
f4d75ad74d graph: add restore thread 2020-09-25 12:07:21 +10:00
Matilde Park
98acf2ee70 glob: update to 0v6.5vpjh.iofq9.lseb0.1e4c8.2p7fo 2020-09-24 21:21:05 -04:00
L
f00d476fcb
Merge pull request #3521 from urbit/ted/link
graph import/export generators
2020-09-24 20:06:46 -05:00
Liam Fitzgerald
65e0fa1eb8 publish: refine new groups layout 2020-09-25 10:44:24 +10:00
Matilde Park
261b0f24a1 Merge branch 'release/link' (#3544)
* origin/release/link: (72 commits)
  graph: handle already joined case
  graph: subscribe to keys globally
  leap: fix react-routing to links
  interface: fixing syntax error in metadata settings
  interface: last tweaks
  leap: refer to module when indexing graph data
  link-store: fix migration bugs
  links: fix s3 detection
  links: all inputs use gray2
  links: link-item retains hostname detection
  links: pass remoteContentPolicy to pending comment
  link-listen-hook: silently discard %behn %wake
  link: iterate over OrderedMap correctly
  interface: added oembeds and drag and drop back
  interface: ported in Liam's graph-update reducer and threaded through some display parameters into LinkItem
  apps: fix issues with mark and remove unnecessary comments
  interface: fix tab bar to display and link properly
  graph-view: en-path resource for md-hook
  push-hook: Proxy local pokes and fix kick path
  interface: removed unused api and store files
  ...

Signed-off-by: Matilde Park <matilde@tlon.io>
2020-09-24 20:44:10 -04:00
Liam Fitzgerald
24c9067921 links: update for new groups layout 2020-09-25 10:44:10 +10:00
Liam Fitzgerald
7b2c485587 interface: flesh out new groups layout 2020-09-25 10:43:30 +10:00
Logan Allen
cec014fa96 interface: last tweaks 2020-09-24 19:09:46 -05:00
Ted Blackman
7237132e9a link-store: fix migration bugs 2020-09-24 20:03:07 -04:00
Logan Allen
7498b6d0cb link-listen-hook: silently discard %behn %wake 2020-09-24 17:21:47 -05:00
fang
c46061eda7
zuse: make octs value @ instead of @t
Because these things aren't always printable/valid @t.
2020-09-24 21:36:45 +02:00
Logan Allen
1eef5ac05f apps: fix issues with mark and remove unnecessary comments 2020-09-24 13:47:45 -05:00
pkova
5902ef9a53 eyre: remove superfluous connection-state check
This was originally introduced by me in #1814 to address #1811. Eyre was not
canceling heartbeat timers on all relevant events making it easy to end
up with an infinite behn loop. This check allowed ships that entered an infinite
loop to recover, as per my comment at
https://github.com/urbit/urbit/pull/1814#discussion_r333477482. Otherwise it's
not necessary.
2020-09-24 17:50:42 +03:00
Liam Fitzgerald
69d8130334 graph-view: en-path resource for md-hook 2020-09-24 10:11:54 +10:00
Liam Fitzgerald
3452781b40 push-hook: Proxy local pokes and fix kick path 2020-09-24 10:11:29 +10:00
Matilde Park
690e106853 Merge branch 'mp/remove-test' (#3519)
* origin/mp/remove-test:
  arvo: remove test/example.udon

Signed-off-by: Matilde Park <matilde@tlon.io>
2020-09-22 17:14:52 -04:00
Logan Allen
bc9b508d77 Merge branch 'release/next-userspace' into release/link 2020-09-22 15:52:42 -05:00
Logan Allen
8891a72b9c metadata-json: removed whitespace 2020-09-22 13:54:20 -05:00
Logan Allen
599dd8fed1 metadata-store: remove all %link entries 2020-09-22 13:16:53 -05:00
Logan Allen
598b4e19c2 graph-view: added %module field to %graph-view %create action 2020-09-22 12:44:52 -05:00
Logan Allen
3bc4be631e permission: fully deprecate and remove unnecessary logic 2020-09-22 12:37:22 -05:00
Logan Allen
f015acb76c metadata: add %module field to metadata 2020-09-22 12:26:19 -05:00
Ted Blackman
9ee1a1751c :graph-store: remove stray printf 2020-09-21 10:50:03 -04:00
Logan Allen
38459a1095 graph-threads: fixed graph threads and added more fine-grained permissions to graph-push-hook 2020-09-18 16:59:56 -05:00
Ted Blackman
d6899857f4 +graph-store/import-graph 2020-09-18 16:50:34 -04:00
Ted Blackman
3c03d61038 +graph-store/export-graph and associated scry handler 2020-09-18 16:21:00 -04:00
Logan Allen
0f2c4d069e graph-push-hook: graph push hook forwarding works 2020-09-18 15:09:06 -05:00
Ted Blackman
f2be97d315 ames: print failed scrys 2020-09-18 16:06:13 -04:00
Ted Blackman
f334854318 WIP: +graph-export 2020-09-18 15:50:54 -04:00
Matilde Park
7f559f5ca9 arvo: remove test/example.udon
This file dates back to the previous Eyre write; Arvo no longer has a
/web folder, so this seems fine to clean out.
2020-09-18 14:25:15 -04:00
Logan Allen
0211cdd73c graph-thread: %forward an update to the appropriate %graph-push-hook 2020-09-17 13:56:21 -05:00
fang
665547d400
Merge pull request #3441 from urbit/m/dbug-state-scry
dbug: attempt to scry for state
2020-09-17 13:17:23 +02:00
fang
b7df1a3f65
Merge pull request #3419 from urbit/m/shoe-tables
shoe: tables
2020-09-17 13:16:50 +02:00
Joe Bryan
03a308bcef Merge branch 'release/next-sys' into jb/trim-meld
* release/next-sys:
  pill: update
2020-09-16 23:33:28 -07:00
Philip Monk
61fd3c957d
pill: update 2020-09-16 22:27:09 -07:00
Matilde Park
ba7763897f Merge branch 'release/next-userspace' of github.com:urbit/urbit into release/next-userspace 2020-09-16 12:55:28 -04:00
L
3bf91ddebe
Merge pull request #3458 from urbit/lf/graph-fixes
graph-store: fix signatures & marks
2020-09-16 11:48:54 -05:00
Matilde Park
4e82588cc0 glob: update to 0v3.u1ets.ipgbo.eo23m.md70h.djpj0 2020-09-16 00:32:23 -04:00
Matilde Park
405c4792dc glob: update to 0v6.cvqlg.l55tn.kk8qp.lv4q3.f06lj 2020-09-15 22:14:46 -04:00
Ted Blackman
77658b1a8a Merge remote-tracking branch 'origin/release/link' into lf/graph-be 2020-09-15 16:46:00 -04:00
Ted Blackman
9d4e10ff48 graph-view: hard-code app-name to %graph on server-side 2020-09-15 16:25:58 -04:00
Ted Blackman
183e7210cc -graph-join: remove timeout 2020-09-15 16:10:12 -04:00
Logan Allen
6c0589e32f Merge branch 'release/next-userspace' into lt/link-migration 2020-09-15 12:42:36 -05:00
Logan Allen
5d5d93e663 graph-push-hook: find group associated with app resource 2020-09-15 12:29:26 -05:00
Logan Allen
e2670deba3 graph-push-hook: check whether someone is a member, not whether they can join 2020-09-15 11:32:29 -05:00
Liam Fitzgerald
a81c41b942 publish: update validator mark to allow for revisions 2020-09-15 15:51:46 +10:00
Liam Fitzgerald
dd3fd3b6a9 graph-store: allow recursive add-nodes from JSON 2020-09-15 15:32:04 +10:00
Liam Fitzgerald
61e1a40650 graph-view: remove typing of app 2020-09-15 11:23:13 +10:00
Logan Allen
8106be7c16 link-view: removed TODO 2020-09-14 14:52:09 -05:00
Logan Allen
cfe9484087 graph-validator-link: removed unicode characters 2020-09-14 14:50:27 -05:00
Logan Allen
1f02c594a8 userspace: addressed TODOs and made %link-store compile 2020-09-14 14:49:41 -05:00
Joe Bryan
74d5d5df24 hoon: refactors +stir types/comments for clarity 2020-09-11 12:48:19 -07:00
Joe Bryan
d89210cceb hoon: rewrites +stir using tail-recursion and +roll 2020-09-11 12:48:14 -07:00
Liam Fitzgerald
9ef2adf9da graph-view: error-handling pass 2020-09-11 13:09:34 +10:00
Liam Fitzgerald
e206b9c951 graph-view: fix app-name in metadata 2020-09-11 10:15:04 +10:00
Liam Fitzgerald
af77d47e73 graph-view: revived groupify 2020-09-11 10:15:04 +10:00
Liam Fitzgerald
574e6de984 graph-view: refine threads 2020-09-11 10:15:04 +10:00
Liam Fitzgerald
556759ee3f graph-view: address review comments 2020-09-11 09:35:44 +10:00
Liam Fitzgerald
cd0ca3a1b4 lib/graph: fix scries 2020-09-11 09:35:44 +10:00
Liam Fitzgerald
ff1219bbda marks: add graph-view marks 2020-09-11 09:35:44 +10:00
Liam Fitzgerald
2a9c1bf3fa Revert "graph-hooks: deleted for now until we can test them with a UI"
This reverts commit 738481ff71.
2020-09-11 09:35:44 +10:00
Liam Fitzgerald
08dab6c5b0 graph-view: add delete, leave threads 2020-09-11 09:35:44 +10:00
Liam Fitzgerald
47561d806f spider: add state adapters for HTTP interface 2020-09-11 09:35:44 +10:00
Liam Fitzgerald
06012abe2e spider: add HTTP interface 2020-09-11 09:35:44 +10:00
Liam Fitzgerald
19371c46c2 graph-view: added create,join threads 2020-09-11 09:35:44 +10:00
Liam Fitzgerald
c3fd4922aa lib/strandio: add +scry 2020-09-11 09:35:44 +10:00
Liam Fitzgerald
cae2ccd707 graph-view: revived groupify 2020-09-10 21:39:50 +10:00
Liam Fitzgerald
feb96625f1 Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-09-10 20:45:37 +10:00
Liam Fitzgerald
03807619ed graph-view: refine threads 2020-09-10 20:20:00 +10:00
Liam Fitzgerald
22b6277abe publish: rewrite top-level for graph-store 2020-09-10 20:09:52 +10:00
Joe Bryan
31fe240632 arvo: adds |meld, triggering memory unification 2020-09-09 22:50:43 -07:00
Joe Bryan
7f0b500778 arvo: adds |trim, triggering memory reclamation 2020-09-09 22:49:37 -07:00
Matilde Park
a2adf7359d glob: update to 0v4.kdc52.27is2.c7mnh.7vsrb.ij4jo 2020-09-09 00:19:14 -04:00
Philip Monk
f9665c0cbd
Merge pull request #3378 from urbit/philip/base-hash
clay: expose mergebase as base-hash
2020-09-08 20:11:05 -07:00
Liam Fitzgerald
4df053733b Merge branch 'lf/publish-graph' into lf/graph-publish-fe 2020-09-09 11:19:46 +10:00
Matilde Park
7d857d3a83 glob: update to 0v6.vnpkl.sq452.quabg.73g7k.dhi55 2020-09-08 20:39:36 -04:00
Matilde Park
c7f8af1fd2 Merge branch 'release/next-userspace' 2020-09-08 20:32:02 -04:00
Liam Fitzgerald
502792a734 publish: store title in content 2020-09-08 16:09:06 +10:00
Liam Fitzgerald
d1a1cfccad publish: first draft of graph-store migration 2020-09-08 14:23:50 +10:00
Fang
c109111ff9
dbug: attempt to scry for state
If the underlying app implements a /x/dbug/state endpoint in +on-peek,
dbug will now use that for %state evaluation. Falls back to the vase
provided by +on-save if the peek fails.

This allows apps and (perhaps more usefully) wrapper agents to provide
customized vases to /lib/dbug.

Updates /lib/shoe to make use of this, properly prepending the wrapped
app's vase to shoe's own, instead of including it as-is.
2020-09-07 15:55:45 +02:00
matildepark
d136c50ccc
Merge pull request #3243 from urbit/lf/lib-hooks-docs
lib-hooks: document with comments
2020-09-05 16:18:17 -04:00
matildepark
c45691d214
Merge pull request #3408 from urbit/lf/xml-ver
zuse: allow xml declaration in +de-xml:html
2020-09-05 16:17:31 -04:00
Liam Fitzgerald
881146e476 graph-view: address review comments 2020-09-04 17:51:28 +10:00
Liam Fitzgerald
fe17e48713 lib/graph: fix scries 2020-09-04 17:42:20 +10:00
Liam Fitzgerald
2c2a61746b graph-store: fix signatures & marks 2020-09-04 15:37:39 +10:00
Philip Monk
c7480c9b07
clay: fix bug in %mate
If both sides changed a file in the same way, %mate used the version in
the mergebase, which is incorrect.  This changes it to use the version
in the destination desk.

An example of this issue:

    > +cat %/test/hoon
    /~zod/home/~2020.9.3..21.41.24..61ed/test/hoon
    first

    > |merge %scratch our %home
    >=
    merged with strategy %fine
    + /~zod/scratch/2/test/hoon

    > +cat /=scratch=/test
    /~zod/scratch/~2020.9.3..21.41.32..408c/test/hoon
    first

    > *%/test/hoon 'second'
    : /~zod/home/3/test/hoon

    > *%%%/scratch=/test/hoon 'second'
    : /~zod/scratch/3/test/hoon

    > |merge %scratch our %home
    >=
    %fine merge failed, trying %meet
    %meet merge failed, trying %mate
    merged with strategy %mate
    : /~zod/scratch/4/test/hoon

    > +cat /=scratch=/test
    /~zod/scratch/~2020.9.3..21.42.25..9e8b/test/hoon
    first
2020-09-03 14:34:30 -07:00
Liam Fitzgerald
7174f3281b marks: add graph-view marks 2020-09-04 00:12:12 +10:00
Liam Fitzgerald
ab145928ca Revert "graph-hooks: deleted for now until we can test them with a UI"
This reverts commit 738481ff71.
2020-09-03 15:07:35 +10:00
Liam Fitzgerald
9aeabe515a graph-view: add delete, leave threads 2020-09-03 15:07:18 +10:00
Liam Fitzgerald
b1093f0749 spider: add state adapters for HTTP interface 2020-09-03 15:04:11 +10:00
Liam Fitzgerald
24658275d5 spider: add HTTP interface 2020-09-03 14:47:34 +10:00
Liam Fitzgerald
003537e80e lib/hooks: remove reference to scrying 2020-09-03 10:13:29 +10:00
Liam Fitzgerald
18755b63ce graph-view: added create,join threads 2020-09-02 15:18:07 +10:00
Liam Fitzgerald
7eea3de7bb lib/strandio: add +scry 2020-09-02 15:17:34 +10:00
Liam Fitzgerald
3cce0f3830 glob: update to 0v5.g2nge.n1pgc.v5326.ivfqv.7ici2 2020-09-01 22:34:24 -04:00
Liam Fitzgerald
e96671b930 chat-view: no-op instead of crash on self-join 2020-09-02 11:44:10 +10:00
Liam Fitzgerald
b006e7f4ad chat-view: crash on joining own chat 2020-09-02 11:21:44 +10:00
Liam Fitzgerald
b81153db03 pull-hook: prevent from subscribing to ourselves 2020-09-02 11:21:14 +10:00
Fang
941d9b90c0
shoe: add %table and %row usage to example app
Adds "table" and "row" commands, in addition to the existing "demo" one,
to provide examples of dime-table rendering, text wrapping etc.
2020-09-01 20:13:48 +02:00
Fang
7658686a03
shoe: add %table and %row shoe commands
For rendering a data table or just a single table row respectively.

Table data is a list of header names, a list of width restrictions, and a list
of rows, defined as lists of dimes.
Row contents are rendered as per the aura in the dime. This also determines
their alignment (left/right), and how they break to fit smaller-width columns.

%row was added because %table necessitated implementing it. Whether it's a good
fit for the shoe "protocol" remains to be seen.
2020-09-01 20:12:30 +02:00
Ted Blackman
4b26b2dd71 link: archive graph on migration 2020-09-01 13:57:19 -04:00
L
48df07cd55
Merge pull request #3390 from urbit/la/graph-js
interface: added graph reducer, store state, and subscription
2020-09-01 12:27:07 -05:00
Matilde Park
ef3b9282c2 various: add [landscape] marker to apps in arvo 2020-08-31 21:54:39 -04:00
Matilde Park
293e3261f1 Merge branch 'mp/maintainers-rfc' (#3381)
* origin/mp/maintainers-rfc:
  arvo/README: update maintainers

Signed-off-by: Matilde Park <matilde.park@sunshinegardens.org>
2020-08-31 15:01:38 -04:00
Liam Fitzgerald
5020223ff2 zuse: de-xml:html handles declarations as in spec 2020-09-01 02:15:19 +10:00
Liam Fitzgerald
b5f64715f4 zuse: allow xml declaration in +de-xml:html
Allows for parsing of an xml declaration. Throws it away, as the
datastructure doesn't have anywhere to put the result
2020-08-31 12:24:41 +10:00
Philip Monk
67c5caada8
clay: add safe merge options
As described in gen/hood/merge/help.txt
2020-08-28 16:36:00 -07:00
Philip Monk
9d4003d415
Merge pull request #3400 from urbit/philip/diff
clay: minimal -diff thread
2020-08-28 11:39:37 -07:00
Philip Monk
4c758372d6
clay: minimal -diff thread
Barebones 2-way diff thread.  Further development should include:

- recognize at least %txt and %hoon diff types as (urge:clay cord) and
print them prettily

- check if they're directories and recurse through them, noting files
that exist in one or the other and diffing ones that exist in both

- support 3-way diffs.  Since we know the desks they're on, we can find
a mergebase (see how +trouble gets the base-hash in #3378) and do a
3-way diff.

- extend the above to support all the useful diffs, including
diff3(a,b), diff2(mergebase(a,b),a) and any other useful ones.
2020-08-27 21:14:47 -07:00
Logan Allen
bbf854d956 graph-store: updated scry interface to return %graph-store marks so as to properly do %json conversion 2020-08-27 17:31:36 -05:00
Fang
2385670631
Merge pull request #3387 from urbit/m/eyre-wack-gall
eyre: prevent %eyre-no-channel errors
2020-08-27 22:26:19 +02:00
Matilde Park
13b5851b71 Merge branch 'master' into release/next-userspace 2020-08-27 14:50:27 -04:00
Fang
ddb61adbd1
lib: take json as argument to server json-response
No reason conversion to octs has to happen outside of this function.
2020-08-27 16:57:03 +02:00
Fang
b06f8a0f9e
eyre: send %leave on %fact/ack for deleted channel
Ordinarily, eyre cleans up the relevant gall subscriptions whenever a
channel disappears. In yet unresolved erroneous behavior though, it may
leave a gall subscription open, despite wiping the channel from state.

Attempting to pass the response onto the deleted channel anyway results
in an %eyre-no-channel error later in the event. The volume of these
errors can degrade the user experience, as per #3196.

To resolve the annoyance (but not the underlying issue) we detect the
"subscription has no channel" case, and issue a %leave. Doing so
requires additional information in the wire, so we add that in,
refactoring the relevant wire building along the way.

Note that due to the wire requirements, this cannot resolve existing
cases. For that, we depend on bc929ba6d.
2020-08-27 14:16:46 +02:00
Fang
bc929ba6db
gall: forget eyre subscriptions once
As part of the solution to #3196, we need to clean up any gall
subscriptions that eyre didn't properly clean up.

Since detecting that is hard, we opt to just wipe _all_ eyre-originating
subscriptions from gall. We inspect the duct, which isn't good, but it's
only just this once.
2020-08-27 13:23:36 +02:00
Philip Monk
769b43d73a
clay: add comments and cleanup +find-merge-points 2020-08-26 18:32:20 -07:00
Matilde Park
d47cfdb57d release: urbit-os-v1.0.43 2020-08-26 21:12:53 -04:00
Matilde Park
d78e28a167 glob: update to 0v6.8fpt6.7mcjg.nb019.df3fo.haav6 2020-08-26 21:11:32 -04:00
Matilde Park
e76e919755 landscape/index.html: restore aws script
This got dropped in a merge conflict somewhere.
2020-08-26 20:50:49 -04:00
Matilde Park
0245ea73cf Merge branch 'la/file-server-fix' (#3379)
* origin/la/file-server-fix:
  file-server: fix %file-server by adding SPA flag and threading is-file through request

Signed-off-by: Matilde Park <matilde.park@sunshinegardens.org>
2020-08-26 20:39:38 -04:00
matildepark
e8b51df6dd
arvo/README: update maintainers 2020-08-26 18:29:19 -04:00
Logan Allen
e1b011224d file-server: fix %file-server by adding SPA flag and threading is-file through request 2020-08-26 14:24:16 -05:00
Philip Monk
9cd826f8f9
clay: make +find-merge-points faster
The main thing here is that we aggressively check whether we're in
ancestry of another mergebase candidate.  This means we don't have to do
a 2nd pass to eliminate redundant candidates.
2020-08-25 22:54:48 -07:00
Philip Monk
794b31ec91
file-server: use new base hash 2020-08-25 21:08:26 -07:00
Philip Monk
4468d79509
clay: expose mergebase as base-hash
Change the definition of base-hash to be the mergebase of %home with the
OTA source.  This means it's the most recent successfully-applied
update, which is usually the most important information.

Add sour-hash, which is the hash of the most recently *downloaded*
update, regardless of whether it applied successfuly (ie the old
base-hash).

Add a summary of the various hashes at the top of gen/trouble.
2020-08-25 20:25:39 -07:00
Philip Monk
f606d2e3d6
clay: cleaner no-op detection
Only no-op if the incoming commit's parent is the old head of the desk.
Also move the printing near the end so we can know exactly if anything
changed.
2020-08-25 18:15:06 -07:00
Liam Fitzgerald
a7779025e8 Merge branch 'release/next-userspace' into lf/settings-screen 2020-08-26 10:50:12 +10:00
Philip Monk
d5596eb1a3
clay: if commit would be a no-op, don't commit it
fixes #3317
2020-08-25 16:24:36 -07:00
Philip Monk
d4c7f99bd6
Merge pull request #3217 from cmarcelo/code-reset
jael, eyre: Add a way to reset the web login code
2020-08-25 15:26:01 -07:00
Philip Monk
9f96259261
Merge pull request #3311 from ohAitch/fix-wuts
dojo: restore `??` and `???` syntax
2020-08-25 15:00:49 -07:00
Anton Dyudin
46af34cfe8
dojo: fix dy-show-type-noun indent 2020-08-25 13:45:32 -07:00
matildepark
2bd4a7035a
Merge pull request #3316 from urbit/dk-peek
updated on-peek for s3-store
2020-08-24 14:37:32 -04:00
Logan Allen
1a419895a3 link-hooks: left TODO comments 2020-08-19 16:27:08 -07:00
Logan Allen
5838b017f8 link: deactivated view 2020-08-19 16:26:21 -07:00
Logan Allen
291ec5526b link-hooks: deactivated and deleted state 2020-08-19 16:21:42 -07:00
Logan Allen
a4e21da3f0 hood: starts %graph-pull-hook and %graph-push-hook 2020-08-19 12:48:08 -07:00
Logan Allen
7ec18b834d Merge branch 'la/graph-hook' into lt/link-migration 2020-08-19 12:28:11 -07:00
Logan Allen
b70cae9d77 graph-hook: both hooks compile 2020-08-19 12:26:58 -07:00
Logan Allen
928e5f7362 graph-hooks: initial sketch 2020-08-19 12:22:20 -07:00
David Kerschner
dd3e1a5bcc launch: minor on-peek update 2020-08-19 11:46:52 -07:00
matildepark
669a55ecf3
Merge pull request #3307 from cmarcelo/json-for-chat-update-keys
chat: serialize %keys to JSON for chat update
2020-08-19 13:02:32 -04:00
matildepark
f9805aada9
Merge pull request #3327 from urbit/lf/groups-join-fix
groups: join fixes
2020-08-19 11:09:05 -04:00
David Kerschner
1eb6407062 launch: added scrys for missing options 2020-08-18 17:25:51 -07:00
David Kerschner
bf4faf467c s3-store: requested stylistic changes 2020-08-18 17:25:35 -07:00
Ted Blackman
dd2bae9320 links: data migration compiles; untested and still needs subscription migration 2020-08-18 15:41:24 -04:00
Ted Blackman
96d2906edc link: graph validator compiles and runs 2020-08-18 13:32:04 -04:00
Liam Fitzgerald
a8e4e00627 Merge branch 'release/next-userspace' into lf/settings-screen 2020-08-18 09:56:04 +10:00
Caio Marcelo de Oliveira Filho
92cf9d7c33 Merge branch 'master' into code-reset 2020-08-17 14:55:07 -07:00
Logan Allen
9c33fbd9be file-server: fix #3047, incorrect path matching 2020-08-17 13:30:05 -07:00
David Kerschner
8837e6686e updated per comments 2020-08-17 12:57:46 -07:00
Matilde Park
80b3d59789 Merge branch 'master' into release/next-userspace 2020-08-17 13:00:28 -04:00
Liam Fitzgerald
e89cb3bd71 Merge branch 'release/next-userspace' into lf/settings-screen 2020-08-17 18:10:00 +10:00
Liam Fitzgerald
5a1a994b9f group-store: Disallow joining of nonexisting groups
Returns %.n upon requesting a join of group that does not exist
2020-08-17 12:51:45 +10:00
Liam Fitzgerald
f658d99c76 pull-hook: no-op on double add
If we receive an %add poke for a resource we are already pulling, no-op
instead of crashing. This should prevent crashes upon repulling a
resource after a breach of the host.
2020-08-17 12:47:40 +10:00
Liam Fitzgerald
516423b853 contact-hook: no-op on accepted invite
The contact-hook was attempting to join a group upon it's invite being
accepted. However, the join poke is also sent from the frontend, causing
a potential race condition. Changes contact-hook to no-op on an
%invite-update.
2020-08-17 12:41:24 +10:00
David Kerschner
a2c7b16eb1 updated on-peek for s3-store 2020-08-14 11:36:29 -07:00
Tyler Brown Cifu Shuster
a593a9a3de interface: div is not a self-closing tag 2020-08-13 21:17:36 -07:00
Anton Dyudin
4c45ffc7f0 dojo: reintroduce "?? expr" raw-ish type printer 2020-08-14 00:27:31 +00:00
Anton Dyudin
dda386472c dojo ???: handle threads 2020-08-14 00:27:31 +00:00
Anton Dyudin
d372da3829 dojo: reintroduce "??? expr" parse debug mode
NOTE does a somewhat quetionable type thing, original version didn't compile
2020-08-14 00:27:31 +00:00
Fang
22c66f9ac4
Merge pull request #3304 from ohAitch/patch-3
Fix {a/$foo} in type printing to [a=%foo]
2020-08-13 10:44:36 +02:00
Caio Marcelo de Oliveira Filho
04326ad04d chat: Refactor to use ?- in chat update JSON serialization 2020-08-13 01:11:12 -07:00
Caio Marcelo de Oliveira Filho
058ec8aa2c chat: serialize %keys to JSON for chat update 2020-08-13 01:10:24 -07:00
Matilde Park
b0d252fa76 publish: no-op when joining our own notebook
Fixes #3300.
2020-08-12 23:08:31 -04:00
Matilde Park
b963a55b04 publish: no-op when joining our own notebook
Fixes #3300.
2020-08-12 21:12:05 -04:00
Anton Dyudin
06262cb701
Fix {a/$foo} in type printing to [a/%foo]
Per longtime deprecation of modeless mold syntax.
2020-08-12 12:25:46 -07:00
Liam Fitzgerald
993ba2d00f glob: update to 0v2.pbthv.gd1q2.h2ura.5esrn.d361c 2020-08-11 22:14:07 -04:00
Matilde Park
a123dd67dd interface: allow pinch zooming if needed 2020-08-11 16:20:19 -04:00
Matilde Park
087dbf0221 interface: prevent interface zooming on iOS 2020-08-11 15:24:28 -04:00
Liam Fitzgerald
7abeebc672 glob: update to 0v7.foe2o.ang8k.28dnr.fudi0.74c8d 2020-08-11 00:26:02 -04:00
Matilde Park
442d124836 landscape/index.html: update for new bundle 2020-08-10 23:01:01 -04:00
Matilde Park
f79f1a128b glob: update to 0v2.aal6p.71bo0.v3r4f.ka7l6.8js3t 2020-08-10 23:00:40 -04:00
Matilde Park
f93448e473 landscape/index.html: update for new bundle 2020-08-10 22:09:57 -04:00
Matilde Park
ef26b119dc glob: update to 0vmf0mo.4kgmp.27315.046hb.ikabc 2020-08-10 21:30:27 -04:00
Liam Fitzgerald
e3d1293f6a Merge branch 'release/next-userspace' into lf/settings-screen 2020-08-10 09:52:36 +10:00
Fang
2e7ea5cdb3
hoon: add +lead and +late
For tacking some head or tail onto some noun, respectively.
2020-08-09 16:15:17 +02:00
Liam Fitzgerald
1238c2034b Merge branch 'release/next-userspace' into lf/settings-screen 2020-08-07 10:48:21 +10:00
Liam Fitzgerald
860794e084 Merge branch 'release/next-userspace' into lf/versioned-js-bundles 2020-08-07 10:30:13 +10:00
Matilde Park
fe4b6facb1 omnibox: use current assets 2020-08-05 21:32:19 -04:00
Matilde Park
67e1586f94 Merge branch 'release/next-userspace' into mp/omnibox 2020-08-05 15:27:10 -04:00
Liam Fitzgerald
531d53ddfc lib-hooks: address mark review 2020-08-05 13:55:12 +10:00
Liam Fitzgerald
b3139f0e52 settings: add inline image upload 2020-08-05 13:39:25 +10:00
matildepark
ef62796305
Merge pull request #3251 from urbit/lf/admin-invite
contact-view: poke %group-push-hook correctly
2020-08-04 19:12:31 -04:00
Liam Fitzgerald
13e22455f3 contact-view: poke %group-push-hook correctly
Fixes #3214
2020-08-04 12:55:05 +10:00
Liam Fitzgerald
044cea6eb4 glob: update glob for versioning 2020-08-04 10:53:45 +10:00
Liam Fitzgerald
0d1930b6ac file-server: migrate to new dir 2020-08-04 10:38:56 +10:00
Liam Fitzgerald
f4971ae08c glob: serve all webpack assets out of /bundle 2020-08-04 10:36:51 +10:00
Liam Fitzgerald
255cf8a730 glob: handle versioned JS bundles in |make 2020-08-03 10:09:49 +10:00
Liam Fitzgerald
cf84670fc8 file-server: do not cache index.html
Removes caching for index.html so JS versioning can occur by referencing
JS bundles with different filenames
2020-08-03 09:53:49 +10:00
Liam Fitzgerald
d91de5f276 lib-hooks: document with comments 2020-08-01 11:11:13 +10:00
Caio Marcelo de Oliveira Filho
72b164ade2 eyre: Make %code-changed handling less chatty 2020-07-31 13:01:19 -07:00