Commit Graph

889 Commits

Author SHA1 Message Date
Liam Fitzgerald
e83efcb932
pull-hook: ensure facts are not malicious
Ensure that the resource from the wire, the resource for the update
match up. Also ensure that the source ship and the ship that is being
pulled from for the resource match up. Without this, a host of a graph
could send updates for graphs that they do not hosts, and these would be
unconditionally forwarded, allowing malicious hosts to overwrite graphs
that they do not host.
2021-01-15 10:33:37 +10:00
Liam Fitzgerald
478e45d373
push-hook: use mark conversion to get resource 2021-01-15 10:33:34 +10:00
Liam Fitzgerald
2cfa0f073f
Merge remote-tracking branch 'origin/release/next-userspace' into lf/md-modernize 2021-01-14 13:37:55 +10:00
Liam Fitzgerald
3fa761aaf3
metadata-store: add picture field 2021-01-14 11:12:48 +10:00
Liam Fitzgerald
541efa5ff9
various, metadata: update metadata interactions 2021-01-14 11:04:15 +10:00
matildepark
a400573c8e
Merge pull request #3416 from urbit/lf/app-sane
Applied schizoanalysis: Sanity checking for landscape
2021-01-13 18:02:15 -05:00
Liam Fitzgerald
9921cdfc81
metadata: add hooks 2021-01-13 14:50:37 +10:00
Liam Fitzgerald
9b6ec09fe9
metadata-store, various: update scry library 2021-01-13 14:05:22 +10:00
Liam Fitzgerald
d724e933b3
metadata-store: move to 1-1 mapping between groups and resources
Most of userspace already makes this assumption, but it was never
reflected in metadata-store itself.
2021-01-13 13:50:04 +10:00
fang
208148caf9
Merge pull request #4181 from urbit/lf/local-azimuth
azimuth: add local contracts
2021-01-12 17:30:36 +01:00
fang
c77a5ba91d
azimuth: remove empty line 2021-01-12 17:12:13 +01:00
Liam Fitzgerald
2cd5e462b0
Merge remote-tracking branch 'origin/release/next-userspace' into lf/app-sane 2021-01-12 14:29:22 +10:00
Liam Fitzgerald
98324445c1
metadata-store: exorcise paths 2021-01-12 14:26:19 +10:00
Liam Fitzgerald
70f3f4a408
azimuth: style nits 2021-01-12 12:54:57 +10:00
Liam Fitzgerald
30b551323b
lib/agentio: add helper library for constructing cards 2021-01-12 09:05:22 +10:00
Liam Fitzgerald
7e0af9cfca
graph-store: add node existence query 2021-01-11 17:44:25 +10:00
Liam Fitzgerald
128356dd47
Merge pull request #4156 from urbit/lf/last-updated
hark-graph-hook, hark-store: set last-updated on self posts
2020-12-18 13:56:16 +10:00
Liam Fitzgerald
6b6e9a7be2
hark: cleanup notifications on leave 2020-12-17 16:10:26 +10:00
Liam Fitzgerald
aec5fbcc23
azimuth: add local contracts 2020-12-17 15:16:28 +10:00
Liam Fitzgerald
69c555c4b5
hark: lazier notifications, update in add-graph 2020-12-17 11:59:35 +10:00
Liam Fitzgerald
169955b45a
hark: rework unread tracking, pt.3 2020-12-16 17:46:35 +10:00
Liam Fitzgerald
610a8730b7
wip 2020-12-16 14:22:23 +10:00
fang
f285c7954e
sole: add %bye effect for closing the session
This lets applications suggest to the client that they should gracefully
unsubscribe from the session.

Arguably this might be accomplished by %kick-ing the client and then
crashing on their subsequent resubscribe, but this requires tracking
their sole session id and has less semantic clarity on what's happening.
2020-12-15 16:56:47 +01:00
fang
a124c747b7
drum: update app index early when unlinking
The added logic also happens in +se-drop, which will get called by
+se-abet if we did unlink an application. But +se-agon depends on the
index being sane, and may be called between +se-klin and +se-abet.
2020-12-15 16:21:56 +01:00
Liam Fitzgerald
d9b8fd77c1
Merge branch 'release/next-u' into lf/last-updated 2020-12-15 15:49:39 +10:00
Liam Fitzgerald
66fe59819e
hark-store: allow setting last-updated independently of unread counts 2020-12-14 13:33:31 +10:00
Logan Allen
522d4b72b3 push-hook: fix duplicate messages being sent 2020-12-12 18:06:17 -06:00
Liam Fitzgerald
1da21eb3f0
graph-store: remove printfs 2020-12-11 15:54:52 +10:00
Liam Fitzgerald
06ed5af3f4
graph-store: add -eval thread 2020-12-11 15:52:17 +10:00
Logan Allen
34751e1bf8 chat-*: remove unused logic 2020-12-10 21:50:20 -06:00
Liam Fitzgerald
c3e4a1632f
hark: migrate and drop chat notifications 2020-12-10 15:19:46 +10:00
Logan Allen
7802a7f8d9 Merge branch 'release/next-userspace' into lf/chat-graph 2020-12-09 15:45:26 -06:00
Philip Monk
4f776a6f5e
test: get make everything compile 2020-12-08 17:57:41 -08:00
Philip Monk
d4acbd1761
Merge remote-tracking branch 'origin/master' into jb/motion 2020-12-08 09:51:34 -08:00
Joe Bryan
fd707761f8 zuse: moves lib/base64 2020-12-08 02:36:11 -08:00
Joe Bryan
c44d739bcf arvo: delete unused source 2020-12-07 23:51:10 -08:00
Joe Bryan
5caa3a5206 pill: properly serialize %md files 2020-12-07 23:03:09 -08:00
Joe Bryan
9586e79591 chat-hook: fix build with ^? in lib/migrate 2020-12-07 22:00:20 -08:00
Liam Fitzgerald
8c4b453ed4
Merge remote-tracking branch 'origin/release/next-userspace' into lf/app-sane 2020-12-08 13:14:26 +10:00
Joe Bryan
aaf506ce8a Merge branch 'jb/motion' into jb/motion-merge
* jb/motion:
  pill: solid
  zuse: remove %crud from vane-task
  arvo: full vane names in $sign
  aqua: build again (still broken)
  arvo: reform of the scry reform
2020-12-07 18:52:51 -08:00
Joe Bryan
a910cf76e3 Merge branch 'na-release/candidate' into jb/motion-merge
* na-release/candidate:
  pull-hook: make wires more stable identifiers based on resource
  leap: position notification dot relatively
2020-12-07 18:24:13 -08:00
fang
d98c59e73a
zuse: lift moves out of +able 2020-12-08 01:47:06 +01:00
Joe Bryan
17736990ed arvo: full vane names in $sign 2020-12-07 16:30:22 -08:00
fang
b9dc1dd9d8
ivory: pretend to handle imports
This lets us write a /lib/vere that imports ethereum and azimuth things
from userspace libraries again.
2020-12-08 00:36:19 +01:00
Logan Allen
358a6e73fd pull-hook: make wires more stable identifiers based on resource 2020-12-07 14:22:00 -06:00
fang
bf5ae5cdf9
lib/vere: hard-copy minimal necessary dependencies
Ideally we'd include /lib/ethereum and /lib/azimuth instead of copying
in their relevant contents, but we don't have the technology yet.
2020-12-07 15:45:54 +01:00
fang
eab88170e2
Merge branch 'jb/motion' into m/de-thereum 2020-12-07 13:42:00 +01:00
Joe Bryan
5a82f1d4c0 Merge branch 'na-release/candidate' into jb/motion
* na-release/candidate: (36 commits)
  ames: don't crash on forward-lane scry
  jael: cleanup per review
  jael: don't signal breach if first hearing of ship
  pill: update
  vere: compile
  lens: don't de-base64
  vere: make import flow not use base64 encoding
  version: strip trailing newline
  pill: mainnet
  Revert "zuse: change to ropsten"
  chat-hook: fix another poke-import issue
  chat-hook: fix poke-import issue
  apps: reorder maps, sets, and jugs
  apps: reorder maps, sets, and jugs
  kiln: add base-hash and our scries
  lens: fix change lost in merge
  graph-store: leave try-rejoin wire when subscription succeeds
  graphs: import-export
  chat: import/export
  invites: import/export
  ...
2020-12-07 00:27:58 -08:00
Joe Bryan
71ecdc60fc arvo: interface 2020-12-06 23:10:58 -08:00
Joe Bryan
ea06fbed59 arvo: pill reform 2020-12-06 20:53:14 -08:00
Liam Fitzgerald
6f9b991e3f
graph-store: address L review 2020-12-07 12:46:15 +10:00
fang
25a55c0f63
various: ethereum, azimuth, json-rpc out of zuse
Moves them into files in /lib, and updates dependents accordingly.
2020-12-06 17:26:52 +01:00
Joe Bryan
205c9a8620 zuse: removes en/de-beam (now in arvo) 2020-12-06 03:33:43 -08:00
Joe Bryan
0f0c2a6ffb zuse: moves |dawn to lib/vere, rewrites +ivory 2020-12-05 00:51:49 -08:00
Philip Monk
e5be584337
Merge remote-tracking branch 'origin/na-release/candidate' into philip/testnet 2020-12-04 23:51:42 -08:00
Joe Bryan
c45e10fa5c aqua: fixes obsolete atom api calls missed in merge 2020-12-04 21:38:39 -08:00
Philip Monk
b4d3e7fe00
Merge remote-tracking branch 'origin/la/fix-pull' into philip/testnet 2020-12-04 18:52:07 -08:00
Philip Monk
0de3e76055
glob: update to 0v6.cmrce.5ass7.5gfqi.7c8cg.mdo7n 2020-12-04 17:59:15 -08:00
Logan Allen
b5c36eef75 pull-hook: fix (list path) to path 2020-12-04 15:52:06 -06:00
Logan Allen
29d118af72 pull-hook: convert list of paths to single path 2020-12-04 15:14:52 -06:00
Logan Allen
09a5d7c71d pull-hook: fix +end 2020-12-04 14:31:05 -06:00
Logan Allen
c5a46bc605 pull-hook: fix handle-kick printouts 2020-12-04 14:20:28 -06:00
Matilde Park
1c6f92abef Merge branch 'release/next-userspace' into lf/chat-graph 2020-12-04 15:10:05 -05:00
Logan Allen
d71ba699ae pull-hook: fix handle-kick printouts 2020-12-04 13:24:42 -06:00
Logan Allen
fc28fbd1c5 Merge branch 'lf/chat-graph' into la/merge-graph 2020-12-04 12:49:21 -06:00
Philip Monk
28010d3599
kiln: produce one base-hash via scry 2020-12-04 00:37:28 -08:00
Joe Bryan
5e2b197633
Merge pull request #4072 from urbit/jb/moar-what
arvo: embrace filesystem, add %lull
2020-12-04 00:20:20 -08:00
Philip Monk
4b48ab959e
Merge remote-tracking branch 'origin/philip/testnet-master' into philip/testnet 2020-12-03 23:56:30 -08:00
Philip Monk
da4c03f14f
Merge remote-tracking branch 'origin/ixv/data-migration' into philip/testnet-master 2020-12-03 23:52:55 -08:00
Matilde Park
78c22ae5c4 Merge branch 'na-release/candidate' into release/next-userspace 2020-12-03 20:55:16 -05:00
matildepark
c264be3a7c
Merge pull request #4030 from urbit/lf/mule-hooks
lib/hooks: virtualise kick handler to ensure subscription integrity
2020-12-03 20:49:49 -05:00
Liam Fitzgerald
e8ba12c7e3
pull-hook: L review 2020-12-04 11:49:10 +10:00
Philip Monk
1213e298db
Merge remote-tracking branch 'origin/na-release/candidate' into philip/testnet 2020-12-03 17:16:02 -08:00
Joe Bryan
0cc8c450a8 arvo: removes %lyra and %veer 2020-12-03 15:32:36 -08:00
Joe Bryan
4a825df15b Merge branch 'na-release/candidate' into jb/atom-gates
* na-release/candidate:
  kh: use Word8 for Tint true color values
  arvo: remove unused app files, libraries, and imports
  webterm: improve line-spacing in certain browsers
  vere: avoid +scot call for color value rendering
  kh: support 24-bit %klr colors
  vere: support 24-bit %klr colors
  webterm: update mar and js to support 24-bit color
  tests: fix ames tests
  pill: update ivory pill
  dojo: correct mark conversion scry path
  pill: solid
  aqua/ph: fix comet test
  ames: flat packet format
  hoon, dill: Add 24-bit true color
2020-12-03 14:17:23 -08:00
Isaac Visintainer
2cf6af586d Merge branch 'na-release/candidate' into philip/testnet 2020-12-02 21:10:15 -08:00
Liam Fitzgerald
5b318ad873
chat, metadata: OTA migration 2020-12-03 14:53:48 +10:00
Logan Allen
1913cdf4f1 arvo: remove unused app files, libraries, and imports 2020-12-02 14:05:04 -06:00
Joe Bryan
b5ec0c30f0 hoon: renames +new-end, +new-lsh, +new-rsh 2020-12-02 01:00:09 -08:00
Isaac Visintainer
e672c7348b Merge branch 'ixv/data-migration' into philip/testnet 2020-12-02 00:29:14 -08:00
Joe Bryan
bec63413b0 hoon: adds +new-rsh, switches all +rsh call sites 2020-12-02 00:21:51 -08:00
Joe Bryan
089852e948 hoon: adds +new-lsh, switches all +lsh call sites 2020-12-02 00:21:38 -08:00
Joe Bryan
4f9cba2baf hoon: adds +new-end, switches all +end call sites 2020-12-02 00:21:12 -08:00
Isaac Visintainer
0c3edb1ca9 apps: reorder maps, sets, and jugs 2020-12-02 00:00:03 -08:00
Philip Monk
1394a9c455
kiln: add base-hash and our scries 2020-12-01 22:27:52 -08:00
Liam Fitzgerald
3d21dcd19f
Merge branch 'release/next-userspace' into lf/chat-graph 2020-12-02 13:42:02 +10:00
Liam Fitzgerald
54c469ecfa
graph-store: make JSON conversion invertible 2020-12-02 13:17:49 +10:00
Joe Bryan
0420dad443 hoon: removes +repn and +ripn 2020-12-01 18:11:59 -08:00
Isaac Visintainer
4668ddf84d groups: import/export 2020-12-01 17:38:51 -08:00
Isaac Visintainer
f5137a5114 userspace: data migration testing utilities 2020-12-01 17:38:51 -08:00
Logan Allen
0007c5c097 Merge branch 'release/next-userspace' into la/archive-graph-on-leave 2020-12-01 16:41:26 -06:00
Philip Monk
e69804a5ae
Merge remote-tracking branch 'origin/na-release/candidate' into m/flagday-keyfile 2020-12-01 14:02:37 -08:00
Logan Allen
2760f79f66 group-on-leave thread: clean up contacts as well as everything else 2020-12-01 15:20:45 -06:00
Philip Monk
257b17bdfc
Merge remote-tracking branch 'origin/ixv/data-migration-with-lens' into m/flagday-keyfile 2020-12-01 13:16:53 -08:00
Isaac Visintainer
50ca536a27 groups: import/export 2020-11-30 23:05:39 -08:00
Isaac Visintainer
7d1c58031c userspace: data migration testing utilities 2020-11-30 23:02:12 -08:00
Liam Fitzgerald
9ee62a2e55
hark: rework unread tracking, again 2020-12-01 15:46:28 +10:00
Joe Bryan
096ef91f7a hood: fix obsolete syntax introduced in merge 2020-11-30 21:23:35 -08:00
Joe Bryan
072e2c8101 Merge branch 'm/vane-unversion' into m/modern-hoon
* m/vane-unversion:
  ames: remove old state versions & conversions
  gall: rename fading styles
  vanes: remove old load types and logic
  gall: refresh clay subscription on fade
  gall: add nonce to agent wires
  gall: add %doze-style fade
  gall: fade initial commit
2020-11-30 21:04:16 -08:00
Joe Bryan
97cb62bc45 Merge branch 'philip/fade' into m/vane-unversion
* philip/fade:
  gall: rename fading styles
  gall: refresh clay subscription on fade
  gall: add nonce to agent wires
  gall: add %doze-style fade
  gall: fade initial commit
2020-11-30 20:49:04 -08:00