Commit Graph

2950 Commits

Author SHA1 Message Date
L
0d2a0bae14
Merge pull request #3632 from urbit/la/remove-hall-sur
acme: remove last %hall import and remove sur file
2020-10-13 15:05:37 -05:00
Joe Bryan
b1d81b4cb4 hoon: adds product cast to +murn 2020-10-09 15:25:07 -07:00
Matilde Park
8a1c6f6243 glob: update to 0v4.9nedu.7t8gi.5n5f7.nofgk.c2dl1 2020-10-09 15:38:16 -04:00
Joe Bryan
1402f763f3 clay: refactors +cancel-request, consistently accounting for TMI 2020-10-09 10:34:18 -07:00
Joe Bryan
7ef74cf2f4 hoon: removes "road:new" printf from virtualized crash 2020-10-09 10:27:37 -07:00
Joe Bryan
5053de8b6b hoon: enables need/have type printfs on nest-fail 2020-10-09 10:26:38 -07:00
Fang
c444806c3d
eyre: explicitly permit proposed request in cors
Instead of always providing a wildcard for the allowed methods and
headers, now echoes back the method and headers that the client asked
for, if any.

Fixes #3676.
2020-10-09 14:07:05 +02:00
Matilde Park
fa90317c19 glob: update to 0vffm4l.40gda.ia3t0.5s73j.ov6mt 2020-10-08 20:47:15 -04:00
Matilde Park
5377b2a862 glob: update to 0v7.emvn0.o8u9d.hqpc4.8e6h5.699gl 2020-10-08 17:42:48 -04:00
Ted Blackman
501c1bdc01 -graph-leave: fix action type 2020-10-08 17:34:25 -04:00
Liam Fitzgerald
81b036a354 channel.js: ack subscription updates 2020-10-08 13:08:01 +10:00
Liam Fitzgerald
11366018ae channel.js: fire delete event on beforeUnload 2020-10-08 13:08:01 +10:00
Matilde Park
5c9320dd3b glob: update to 0v7.jr6ec.podvs.b3btt.in45e.v87ac 2020-10-07 22:17:01 -04:00
fang
e512e91f37
hoon: go full lark in +lead and +late (#3442)
To avoid wet-gate issues around face shadowing and such things.
2020-10-07 15:11:05 +02:00
Joe Bryan
00c1fbc185 hoon: virtualize cue when parsing %blob coin literals 2020-10-06 18:01:09 -07:00
Joe Bryan
e786a5f165 zuse: rewrites |base16 for clarity, simplicity, specificity 2020-10-06 11:45:16 -07:00
Joe Bryan
2f2599b861 zuse: adds basic tests for |base16 2020-10-06 10:56:23 -07:00
Joe Bryan
9118913412 zuse: adds |base16 hex $oct en/decoder 2020-10-06 10:56:09 -07:00
Joe Bryan
c8ae2c2537
Merge pull request #3643 from urbit/jb/octs-once
zuse: remove duplicate $octs definition
2020-10-06 10:51:44 -07:00
fang
a1e43e02a0
eyre: prevent binding in reserved namespaces
Disallows registering bindings (through %connect and %serve) that would capture
traffic on paths starting with /~ (Eyre's) or /~_~ (runtime's, as of cc389c5).

Note that we don't touch +insert-binding, which is used by Eyre internally to
set up bindings in its own namespace.
2020-10-06 16:50:49 +02:00
Matilde Park
77b1db2d16 Merge branch 'master' into release/next-userspace 2020-10-05 20:56:57 -04:00
Fang
4cfb98ec8d
hood: welp cards
The +weld call was nest-failing for some reason...
2020-10-05 23:43:12 +02:00
Fang
7242947f95
helm: add cors registry management generators 2020-10-05 23:42:59 +02:00
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
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
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