Commit Graph

3745 Commits

Author SHA1 Message Date
Liam Fitzgerald
4b6637ec9a
graph-hooks: %remove-nodes permissioning 2021-01-26 14:47:35 +10:00
Liam Fitzgerald
ad05ddcc34
graph-hooks: %add-nodes permissioning 2021-01-26 12:42:44 +10:00
Liam Fitzgerald
9c0ad13abd
group-store: add resource field to app-tag
Adds a resource field to the app-tag type, as apps will generally want
to use tags to identify a specific resource
2021-01-26 11:48:45 +10:00
Liam Fitzgerald
f2fd69df90
metadata: interface cleanup 2021-01-26 11:46:06 +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
5163761ede
Revert "metadata-hooks: reuse flows for previews"
This reverts commit 9c6ddc59a5.
2021-01-26 10:09:25 +10:00
Liam Fitzgerald
ccbe4f9ad3
Merge remote-tracking branch 'origin/release/next-userspace' into lf/md-modernize 2021-01-25 14:00:07 +10:00
Liam Fitzgerald
9c6ddc59a5
metadata-hooks: reuse flows for previews 2021-01-25 13:54:58 +10:00
Liam Fitzgerald
2ce654555c
pull-hook: add +take-update arm 2021-01-25 13:07:47 +10:00
Matilde Park
d3c52c5e19 Merge branch 'release/next-js' into release/next-userspace 2021-01-22 17:01:28 -05:00
Liam Fitzgerald
4cb8339bf1
metadata: surface icon and show interstitial on invite 2021-01-22 14:12:09 +10:00
janeway
d16c228870 glob: update to 0v7.ttn7o.50403.rf6oh.63hnc.hgpc9 2021-01-21 19:15:58 -05:00
matildepark
84d23a9308
Merge pull request #4239 from urbit/m/graph-join-backoff
graph: make the join thread back off
2021-01-21 13:27:59 -05:00
Liam Fitzgerald
de33d3d572
metadata-hooks: store previews 2021-01-21 15:18:13 +10:00
Liam Fitzgerald
92a4dcabdb
Merge remote-tracking branch 'origin/release/next-js' into lf/md-modernize 2021-01-21 12:48:37 +10:00
Liam Fitzgerald
3bf03ffc9b
graph-join: crash on backoff and fix scry mold 2021-01-21 10:43:25 +10:00
Liam Fitzgerald
015dffeb0f
metadata-hooks: start in drum 2021-01-21 10:14:19 +10:00
Ted Blackman
6234b56ac1 ames: cache message +jam in +on-memo 2021-01-20 15:29:45 -05:00
Matilde Park
31def6f57a Merge branch 'release/next-js' into release/next-userspace 2021-01-20 12:47:31 -05:00
Liam Fitzgerald
c10b96d5ed
glob: update to 0v3.ov15r.suma1.1i1rk.f45qh.u9opu 2021-01-20 14:09:42 +10:00
Liam Fitzgerald
871fba20a3
metadata-store: add permissions field 2021-01-20 11:51:07 +10:00
Liam Fitzgerald
69a5675a86
graph-store: log %add-graph
When a graph is joined, the subscriber receives an %add-graph update
that corresponds to the current state of the graph. This was not logged,
so if the graph did not recieve any updates before the subscription was
kicked, the whole graph would be have to be sent again. This would be
largely asymptomatic, however hark-store assumes that %add-graph will
only be emitted when a new graph is joined or created. As such, we log
this initial update, so that the push-hook can correctly ascertain the
backlog it needs to send and so %add-graph is only emitted once per
graph. This also opens the door for time-varying scries into
graph-store.

Fixes #4290
2021-01-20 10:52:19 +10:00
Liam Fitzgerald
8541886433
metadata: expose manual pinning of channels 2021-01-18 12:13:41 +10:00
Liam Fitzgerald
ccb47e533d
metadata-store: update import functionality 2021-01-18 11:10:16 +10:00
Liam Fitzgerald
c0ddf43865
metadata-hooks: refine preview behaviour
Timeout proxied subscriptions and distinguish between a nack and a kick.
2021-01-18 10:58:03 +10:00
Liam Fitzgerald
f3ab81f88b
metadata: allow for preview subscriptions 2021-01-15 15:45:51 +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
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
c6ae0cec53
sane: update for new metadata-store 2021-01-14 13:46:16 +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
55c2991a9b
metadata-store,hook: add OTA adapter 2021-01-14 13:10:32 +10:00
Liam Fitzgerald
344e40fda7
glob: update to 0v1.4u9gp.rs1fi.ki7ok.ib4cp.mgdvs 2021-01-14 12:10:44 +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
Liam Fitzgerald
585b6fefa1
hark-graph-hook: rewatch all DMs on upgrade 2021-01-14 10:47:11 +10:00
Liam Fitzgerald
3728a41300
Merge pull request #4266 from urbit/la/aggro-channel-ack
channel.js: ack every 30 events *even if this.outstandingJSON is empty*
2021-01-14 10:13:16 +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
Liam Fitzgerald
b69d11bd86
hark-store: rework caching to correctly calculate unread totals
Hark, when calculating unread totals was ignoring notifications that
were under the same stats-index, but a different index. Reworks the
cache to calculate unread totals correctly.
2021-01-13 12:40:53 +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
aec6b1d754
sane: add dangling metadata checker 2021-01-12 14:57:18 +10: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