Liam Fitzgerald
7b378f435d
pull-hook: delay scry in on-load
2021-03-25 11:32:32 +10:00
Liam Fitzgerald
ce1520ab1a
pull-hook: fix crash
2021-03-25 09:01:22 +10:00
Liam Fitzgerald
ceafee33ab
hooks: address L review
2021-03-22 09:54:59 +10:00
Liam Fitzgerald
938ba80e9e
hooks: rewatch unversioned on nack
2021-03-19 10:12:50 +10:00
Liam Fitzgerald
ee12180a5d
hooks: allow unversioned subscriptions for migrate
2021-03-19 10:12:50 +10:00
Liam Fitzgerald
23e772ece5
hooks: fix remaining bugs
2021-03-19 10:12:49 +10:00
Liam Fitzgerald
0878104538
versioning: address review, add tests
2021-03-19 10:12:49 +10:00
Liam Fitzgerald
c99b452fff
version: add mark
2021-03-19 10:05:09 +10:00
Liam Fitzgerald
1832ce1d60
pull-hook: resume sub-ahead
2021-03-19 10:05:09 +10:00
Liam Fitzgerald
46eea8f3d4
pull-hook: resume pub-ahead
2021-03-19 10:05:08 +10:00
Liam Fitzgerald
153d0ff347
hooks: fix remaining bugs
2021-03-19 10:05:07 +10:00
Liam Fitzgerald
200944e91a
push-hook: proper versioning
2021-03-19 10:05:06 +10:00
Liam Fitzgerald
e5d75cac25
pull-hook: version mismatch suspend
2021-03-19 10:05:06 +10:00
Liam Fitzgerald
72fe65acd9
hooks: add versioning support
2021-03-19 10:05:02 +10:00
Liam Fitzgerald
718b77f7c5
hooks: prettier %dbug output
2021-02-10 17:20:01 +10:00
Liam Fitzgerald
22004a3ea2
contact-pull-hook: give nacks on subscription
2021-02-03 17:26:41 +10:00
Liam Fitzgerald
66c8cafe75
pull-hook: move +resource-for-update back into door, add %no-validate flag
...
Adds %no-validate flag, to prevent checking the wire/src.bowl/resource
all match-up to enable P2P connections. Moves the resource-for-update
back into the inner door, to match the push-hook.
2021-02-02 14:27:12 +10:00
Liam Fitzgerald
a488c1f5fb
metadata-hooks: use pokes instead of watches to communicate preview
2021-01-26 11:10:39 +10:00
Liam Fitzgerald
8fe1b3d4ea
Revert "pull-hook: add +take-update arm"
...
This reverts commit 2ce654555c
.
2021-01-26 10:09:31 +10:00
Liam Fitzgerald
2ce654555c
pull-hook: add +take-update arm
2021-01-25 13:07:47 +10:00
Liam Fitzgerald
5d9955c0ce
Merge remote-tracking branch 'origin/release/next-js' into lf/md-modernize
2021-01-15 14:53:10 +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
8c4b453ed4
Merge remote-tracking branch 'origin/release/next-userspace' into lf/app-sane
2020-12-08 13:14:26 +10:00
Logan Allen
358a6e73fd
pull-hook: make wires more stable identifiers based on resource
2020-12-07 14:22:00 -06: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
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
Liam Fitzgerald
e8ba12c7e3
pull-hook: L review
2020-12-04 11:49:10 +10:00
Isaac Visintainer
50ca536a27
groups: import/export
2020-11-30 23:05:39 -08:00
Liam Fitzgerald
ec3f404325
pull-hook: move subscription restart to %sane poke
2020-11-30 13:34:55 +10:00
Liam Fitzgerald
1ed07f3295
pull-hook: restart subscriptions in on-load
2020-11-30 10:43:37 +10:00
Liam Fitzgerald
f73a96ba90
pull-hook: backstop crashed kick handler
...
Virtualises the kick handler for the inner door in lib/pull-hook, so
that crashes in the handler do not cause a dangling resource with no
subscription. Additionally, failed kicks now cause the sync to be
dropped into a failed-kicks map in the state, where we attempt to
recover from the failure in the on-load.
2020-11-26 16:09:14 +10:00
Liam Fitzgerald
f851803d3c
pull-hook: do not crash on dangling sync
...
If the %kick handler of the inner-core crashes, then we never get to
resubscribe, thus leaving a dangling entry in the state with no
corresponding subscription. Updates the pull-hook-action pokes to not
crash when given a dangling entry.
2020-11-26 15:42:23 +10:00
Logan Allen
b11b343280
Merge branch 'release/next-userspace' into lf/app-sane
2020-11-19 11:39:48 -06:00
Liam Fitzgerald
27b5f70b80
pull-hook: fix rewatch wire
2020-11-06 12:08:08 +10:00
Liam Fitzgerald
4fc8560a13
pull-hook: fix rewatching subscriptions
2020-11-06 12:05:51 +10:00
Liam Fitzgerald
10c956fc87
pull-hook: fix base-state-0 type
2020-11-06 12:03:14 +10:00
Liam Fitzgerald
d902aa9629
pull-hook: rewatch missing subscriptions
2020-11-06 11:44:09 +10:00
Matilde Park
c7f8af1fd2
Merge branch 'release/next-userspace'
2020-09-08 20:32:02 -04: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
Liam Fitzgerald
003537e80e
lib/hooks: remove reference to scrying
2020-09-03 10:13:29 +10:00
Liam Fitzgerald
b81153db03
pull-hook: prevent from subscribing to ourselves
2020-09-02 11:21:14 +10:00
Liam Fitzgerald
361c1203ef
pull-hook: add /synced scry
2020-09-01 15:11:48 +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
531d53ddfc
lib-hooks: address mark review
2020-08-05 13:55:12 +10:00
Liam Fitzgerald
d91de5f276
lib-hooks: document with comments
2020-08-01 11:11:13 +10:00
Liam Fitzgerald
64065d720c
groups: refactor ota
2020-07-13 01:44:49 +00:00
Liam Fitzgerald
d66dbff61e
groups: migrate to push-pull hooks and resources
2020-06-08 17:53:16 +10:00