Commit Graph

3929 Commits

Author SHA1 Message Date
Logan Allen
fe76d75a18 contacts: clarify syntax for +is-allowed 2021-02-02 17:29:42 -06:00
Logan Allen
a728514aa5 contact: improved +is-allowed and added %contact-share mark 2021-02-02 17:04:28 -06:00
Logan Allen
33eabe2574 Merge branch 'release/next-userspace' into la/push-hook-list-resource 2021-02-02 13:52:10 -06:00
Logan Allen
992562a128 contact-push-hook: add our pseudoresource to sharing 2021-02-02 13:47:53 -06:00
Logan Allen
de3b350efb contacts + group-view: added in flow for auto-sharing your profile with a group if it is public 2021-02-02 13:36:05 -06:00
Matilde Park
3fce1cdcb6 Merge branch 'release/next-userspace' into lf/graph-permissioning 2021-02-02 14:11:06 -05:00
Liam Fitzgerald
9f9cfc086c
lib/contact: fix +is-allowed, +get-contact 2021-02-02 15:35:29 +10:00
Liam Fitzgerald
3dcd6395ac
metadata-hooks: move +resource-for-update to common library 2021-02-02 14:31:35 +10:00
Liam Fitzgerald
b3c0198177
group-hooks: move +resource-for-update into common library 2021-02-02 14:31:16 +10:00
Liam Fitzgerald
8672261d1a
graph-hooks: move +resource-for-update into common library 2021-02-02 14:30:48 +10:00
Liam Fitzgerald
638d5e6773
contact-hooks: move +resource-for-update into common library 2021-02-02 14:30:12 +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
2bdec7deb0
contact-store: make pinned group resource conversion use path-style
This is necessary because Formik loses the plot when fields aren't
referentially equal every render.
2021-02-02 13:07:25 +10:00
Liam Fitzgerald
c16f2365bf
Merge remote-tracking branch 'origin/release/next-userspace' into lf/graph-permissioning 2021-02-02 10:40:40 +10:00
Logan Allen
da03594fbc contact-push-hook: add blank personal psuedo-resource for personal contact subscriptions 2021-02-01 18:24:56 -06:00
Logan Allen
48d9e8c9b8 group-view: initiate %contact-pull-hook subscription upon group join 2021-02-01 16:36:16 -06:00
Logan Allen
d3ac83de0e contact-pull-hook: do not remove contact data upon nack 2021-02-01 16:21:18 -06:00
Logan Allen
e1b1e1abf7 group-threads: contact push/pull hooks added to group lifecycle 2021-02-01 16:19:25 -06:00
Logan Allen
d6eb1638d9 contact-push-hook: write out initial-watch to expose proper data 2021-02-01 16:01:23 -06:00
Logan Allen
c8b83eb1dd contact-push-hook: direct any ship's update to all the affected resources 2021-02-01 15:28:52 -06:00
Logan Allen
c9583ee104 push-hook: revert removal of +resource-for-update, change type from (unit resource) to (list resource) to support contact-push-hook use case 2021-02-01 14:49:14 -06:00
Liam Fitzgerald
ee1ab3b131
metadata, groups: update for %groups metadata 2021-02-01 17:54:37 +10:00
Liam Fitzgerald
97502838d6
Merge remote-tracking branch 'origin/la/contact-store' into lf/join-cleanup 2021-02-01 17:01:02 +10:00
Liam Fitzgerald
e6d66b205a
group,graph-view: fixup calling convention for awaiting threads 2021-02-01 16:27:38 +10:00
Liam Fitzgerald
2730eb6c09
graph-view: refactor threads to call into %group-view 2021-02-01 14:07:39 +10:00
Liam Fitzgerald
e7b404ee4e
group-view: add JSON decoders for new actions 2021-02-01 13:48:49 +10:00
Liam Fitzgerald
d5bfe028e8
group-view: add leave, delete threads 2021-02-01 13:43:40 +10:00
Liam Fitzgerald
a6e1459395
group-view: add %create thread 2021-02-01 13:25:00 +10:00
Liam Fitzgerald
e1cea68f4e
Merge remote-tracking branch 'origin/release/next-userspace' into lf/join-cleanup 2021-02-01 12:16:57 +10:00
Liam Fitzgerald
0bad34b044
group-view: refactor to surface UI state 2021-02-01 11:58:59 +10:00
Matilde Park
b726ee2066 Merge branch 'release/next-userspace' into la/contact-store 2021-01-29 18:33:53 -05:00
Matilde Park
876e90106e Merge branch 'release/next-js' into release/next-userspace 2021-01-29 18:18:38 -05:00
Logan Allen
7b82c55b59 graph-delete thread: fix %metadata-store scry and %hook reference to %push-hook 2021-01-29 16:58:44 -06:00
Logan Allen
13bad6b16c graph-create thread: fix metadata to metadatum rename 2021-01-29 16:52:04 -06:00
Logan Allen
691409eda9 metadata-store: compiles 2021-01-29 16:38:32 -06:00
Logan Allen
72e036bae3 Merge branch 'release/next-userspace' into la/contact-store 2021-01-29 14:48:39 -06:00
Liam Fitzgerald
175fc0a383
metadata: fix breakage from merge 2021-01-29 15:45:06 +10:00
Liam Fitzgerald
a5f945b5a4
Merge remote-tracking branch 'origin/release/next-userspace' into lf/graph-permissioning 2021-01-29 15:25:58 +10:00
Liam Fitzgerald
d41ea872c5
group-view: add to interface state 2021-01-29 15:17:16 +10:00
Liam Fitzgerald
5580190e5a
group-view: add JSON conversion 2021-01-29 14:52:56 +10:00
Liam Fitzgerald
ee34819cd2
group-view: fix breakage from merge 2021-01-29 14:52:36 +10:00
Liam Fitzgerald
b7d832d467
Merge remote-tracking branch 'origin/release/next-userspace' into lf/join-cleanup 2021-01-29 14:22:07 +10:00
Liam Fitzgerald
f013508853
group-view: implicitly join graphs if group is hidden 2021-01-29 14:21:13 +10:00
Liam Fitzgerald
911cade5e5
graph-view: rename to group-view 2021-01-29 12:39:38 +10:00
Liam Fitzgerald
977dc62882
graph-view: cleanup subscription handling 2021-01-29 12:38:33 +10:00
matildepark
f4606327a3
Merge pull request #4285 from urbit/lf/md-modernize
metadata-store: modernisation
2021-01-28 17:53:12 -05:00
Liam Fitzgerald
c52a2f060d
metadata-store: modernize /lib 2021-01-29 08:33:29 +10:00
Logan Allen
8ac1a9768d contacts + interface: hooked up isPublic to interface 2021-01-28 14:45:28 -06:00
Liam Fitzgerald
6a8c2afe34
metadata-store: rename /lib file 2021-01-28 16:14:39 +10:00
Liam Fitzgerald
a1c30ef230
metadata: modernize namespacing 2021-01-28 16:13:57 +10:00
Liam Fitzgerald
aa62d18d2f
ChannelSettings: refine delete/remove logic and buttons 2021-01-28 14:59:26 +10:00
Liam Fitzgerald
9c30e4e126
glob: update to 0v1.39us5.oj5a9.9as9u.od9db.0dipj 2021-01-28 10:22:45 +10:00
Logan Allen
cb21979d94 contacts: added %set-public update type 2021-01-27 17:20:42 -06:00
ixv
9715c280e3
Merge pull request #4276 from urbit/ixv/settings
settings store
2021-01-27 11:02:45 -08:00
L
c3395d4c14
Merge pull request #4337 from urbit/mp/contacts/ui-detail
contacts: UI details
2021-01-27 12:47:53 -06:00
fang
353e0f7395 clay: condense +pile-rule
Rewrites the `+pile-rule` parsing rule for compactness and legibility.
This is a purely stylistic change.
2021-01-27 12:17:40 -05:00
Ted Blackman
ca1585c841 clay: static clay boots 2021-01-26 22:51:52 -05:00
Ted Blackman
ce9f1eb3da clay: fix +grow in mark casting 2021-01-26 20:43:23 -05:00
Isaac Visintainer
59e070e46e graph-store: updated tree type in import flow 2021-01-26 14:32:38 -08:00
Isaac Visintainer
d902f339c2 lens: remove chat-* exports 2021-01-26 14:32:38 -08:00
Logan Allen
090946e328 contact-store: updates sent to /all path as well 2021-01-26 16:18:01 -06:00
Matilde Park
78940cb10f Merge branch 'release/next-js' into mp/contacts/ui-detail 2021-01-26 16:51:46 -05:00
Logan Allen
683df1b9a4 contact-store: fix crash 2021-01-26 15:41:34 -06:00
Logan Allen
316b86e7fb contact-store: update to add public groups and force us to always keep our own contact 2021-01-26 15:22:33 -06:00
Ted Blackman
6be1ebc41a clay,lull: +test-mar-mime passes 2021-01-26 15:59:36 -05:00
Liam Fitzgerald
d0fb69847b
graph: add permissioning for links 2021-01-26 14:58:27 +10:00
Liam Fitzgerald
955ea54502
graph: add permissioning for chat 2021-01-26 14:50:33 +10:00
Liam Fitzgerald
4b6637ec9a
graph-hooks: %remove-nodes permissioning 2021-01-26 14:47:35 +10:00
Isaac Visintainer
c77559021f settings: fix minor issues with json encoding 2021-01-25 20:32:09 -08: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
Isaac Visintainer
026b7b09ce settings: add mark for scry result for frontend scry json conversion 2021-01-25 16:43:47 -08: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
Liam Fitzgerald
f88318b1b7
glob: update to 0v7.9mc9i.jbk7p.smfcl.3aose.b6dat 2021-01-24 11:28:33 +10:00
janeway
a9b32192fc glob: update to 0v7.3vkbq.euver.m66ss.rs6kt.06tp8 2021-01-22 17:15:13 -05: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
Logan Allen
7bb76ba39c contact-store: change fields in to reflect new profile 2021-01-21 11:36:48 -06: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
Logan Allen
7ffce92c37 hood: start %contact-push/pull-hooks 2021-01-19 15:20:47 -06:00
Logan Allen
54b64f5682 contacts: write hooks and use permisssioning system 2021-01-19 15:07:11 -06:00
Logan Allen
cdb91291ed contact-store: %allow/%disallow support 2021-01-19 13:59:11 -06:00
Logan Allen
1eb99bfdcd contact-store: wrote out all the JSON conversions and store compiles 2021-01-19 13:59:11 -06:00
Logan Allen
1f7f86f682 contact-store: first approach at rewrite 2021-01-19 13:59:09 -06:00
Isaac Visintainer
78bdcbf020 settings: renamed to settings store; used =* instead of =/ 2021-01-19 11:41:28 -08:00
Isaac Visintainer
67954362a3 settings: new store, lib, sur, and mar 2021-01-19 11:41:28 -08: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
Ted Blackman
f469dbf8bc clay,lull: compiles with static marks 2021-01-13 15:20:58 -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
Ted Blackman
ece8bbf0a2 clay: WIP static mark and cast builds 2021-01-12 19:10:11 -05: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
janeway
2d50075bfb glob: update to 0v5.sekq0.8skge.ekt62.i73ig.g5sep 2021-01-11 18:15:12 -05:00
Logan Allen
3611fcab16 channel-js: ensure lastEventId is an integer, and correctly set lastAckedEvent 2021-01-11 23:07:53 +00:00
Liam Fitzgerald
5a24de979a
graph-view: first draft 2021-01-12 09:05:39 +10:00
Liam Fitzgerald
30b551323b
lib/agentio: add helper library for constructing cards 2021-01-12 09:05:22 +10:00
Matilde Park
c6069bda3f Merge branch 'release/next-js' into release/hot/2020-1-11 2021-01-11 17:51:42 -05:00
matildepark
9e3722d581
Merge pull request #4262 from urbit/lf/hark-autorebuild
hark-store: Fix channel marking as read crash
2021-01-11 17:48:30 -05:00
matildepark
c44ac6210b
Merge pull request #4261 from urbit/lf/hark-remove-fixes
hark-store: fix dangling unreads
2021-01-11 17:48:09 -05:00
Liam Fitzgerald
99bc912fc5
hark-store: add rebuild printf 2021-01-12 08:31:10 +10:00
Liam Fitzgerald
9c7ac3773a
hark, graph-store: address L review 2021-01-12 08:15:14 +10:00
Liam Fitzgerald
a82c0bb2fe
hark-store: address L style review 2021-01-12 08:05:40 +10:00
fang
0613b5b297
tally: also list the groups we're in 2021-01-11 22:56:02 +01:00
fang
578f10180a
tally: add generator for measuring group activity
Scrapes groups and graphs for member counts and recent activity respectively,
and uses that to print out a "tally" of activity for all local groups and their
channels. Since this output is intended to be shared with other parties,
anonymizes resource identifiers by default.
2021-01-11 22:55:48 +01:00
Logan Allen
5dd29f1fe7 channel.js: ack every 30 events *even if this.outstandingJSON is empty* 2021-01-11 15:29:15 -06:00
matildepark
0fd5ba6054
Merge pull request #4244 from urbit/la/fix-4217
hark-group-hook: add type checking to vase sent to %hark-store, fix #4217
2021-01-11 15:01:47 -05:00
Liam Fitzgerald
dfc3ef0c0e
hark-graph-hook: dismiss unreads for a node when it is deleted 2021-01-11 17:44:25 +10:00
Liam Fitzgerald
1ed0477663
graph-store: emit affected descended nodes in %remove-nodes
When %remove-nodes is sent as an update, it may refer to a parent node,
in which case the deletion of all the parent's children is implied. If
we hold onto references to nodes outside of graph-store, we are unable
to tell which of our references were affected, other than iterating over
every reference to check if one of the deleted indices is a prefix of
the reference. This is obviously undesirable, so we emit all of the
nodes we deleted, including the nodes deleted implicitly.
2021-01-11 17:44:25 +10:00
Liam Fitzgerald
18301fa7d7
hark-store: cleanup dangling unreads
Creates a noun poke %fix-dangling, which iterates through the unreads
and dismiss those which refer to nodes which no longer exist.
Additionally, adds a migration which runs this poke.
2021-01-11 17:44:25 +10:00
Liam Fitzgerald
7e0af9cfca
graph-store: add node existence query 2021-01-11 17:44:25 +10:00
Liam Fitzgerald
d01f1f62e5
hark-graph-hook: fix muting on %remove-graph
*_watching was bunting to watching (i.e. a no-op), causing watching to
be wiped everytimne a graph was removed
2021-01-11 17:43:58 +10:00