Commit Graph

820 Commits

Author SHA1 Message Date
Liam Fitzgerald
e3ae98123b
push-hook: remove old resource-for-update 2021-01-15 10:33:37 +10:00
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
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
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
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