Commit Graph

2305 Commits

Author SHA1 Message Date
Liam Fitzgerald
ccd98b6287
metadata-pull-hook: remove pending on nack 2021-02-12 14:49:24 +10:00
Liam Fitzgerald
34f6db54dc
contact-store: add lib/verb 2021-02-12 14:39:15 +10:00
Liam Fitzgerald
9cc8fe6139
metadata-push-hook: keep track of pending requests 2021-02-12 14:30:39 +10:00
Liam Fitzgerald
b6addb5ed3
glob: update to 0v3.t4lg5.84a6h.2bi2s.ni2p9.32uor 2021-02-12 12:31:33 +10:00
Liam Fitzgerald
ed3d3335cb
metadata-hook: fix default-agent 2021-02-12 12:14:56 +10:00
Liam Fitzgerald
e33ac3d0ef
goad: %force in +on-load 2021-02-12 12:07:19 +10:00
Liam Fitzgerald
15e3b43be3
metadata-hook: fix on-load 2021-02-12 11:58:18 +10:00
Liam Fitzgerald
b99ca963c0
glob: update to 0v1.grvkp.m0c8p.i7s2g.p5mje.im0qo 2021-02-12 11:11:09 +10:00
Logan Allen
7bfa30bd75 contact-store: lte rather than lth 2021-02-11 18:56:52 -06:00
Logan Allen
2d81eb5fdc contact-store: compiles 2021-02-11 18:52:26 -06:00
Logan Allen
1ddf9f5b84 contact-store: set last-updated appropriately and send last-updated in JS 2021-02-11 18:47:36 -06:00
Logan Allen
f0a86b2de3 contact-store: add timestamp to %edit 2021-02-11 18:43:04 -06:00
Liam Fitzgerald
e2ad6e3e92
glob: update to 0v7.d72b8.89c7k.vn1je.k3gvs.qr60j 2021-02-12 10:06:26 +10:00
Logan Allen
e2994ec7fa contact-push-hook: kick on set-private, share on set-public 2021-02-11 17:46:36 -06:00
Logan Allen
f0e49770a5 contact-push-hook: kick properly 2021-02-11 17:11:41 -06:00
Logan Allen
53901fdcb5 contact-hooks: do not serve contact data at DM resource 2021-02-11 17:06:17 -06:00
ixv
bbec3434ae
Merge pull request #4417 from urbit/lf/md-pull-hook-init
metadata-pull-hook: move watches to +on-init
2021-02-11 14:19:16 -08:00
Liam Fitzgerald
a8f560f952
Tutorial: disable 2021-02-12 08:04:22 +10:00
Liam Fitzgerald
b527e6ea3d
metadata-pull-hook: move watches to +on-init 2021-02-12 07:43:05 +10:00
matildepark
ff7913f1ca
Merge pull request #4326 from ryjm/jm/hark-read-all
hark-store: add %read-all support
2021-02-11 12:00:29 -05:00
ryjm
a7934c1878 hark-store: add %read-all support
Clears the unread count and notifications, rebuilds cache, and empties out all the unread
indices in `unreads-each`.
2021-02-11 08:45:23 -05:00
matildepark
b3081bae97
Merge pull request #4409 from urbit/la/setting-fix
setting-store: show tutorial upon first load, don't show if dismissed
2021-02-10 14:48:19 -05:00
Logan Allen
f1c3bbcb83 setting-store: show tutorial upon first load, don't show if dismissed 2021-02-10 13:16:32 -06:00
Logan Allen
e743f6605b sane: fix contact desyncs 2021-02-09 16:56:01 -06:00
Logan Allen
47706f1efb groups, settings, contacts: make them compile and run scries properly 2021-02-09 11:30:28 -06:00
Liam Fitzgerald
b4e5430bfc
glob: update to 0v1.8tfbb.r5eaq.3b0pq.el53m.vbfh5 2021-02-09 14:02:45 +10:00
Liam Fitzgerald
ac026ea370
Merge pull request #4400 from urbit/lf/con-hook-loop
contact-hooks: prevent infinite hook loop
2021-02-09 13:40:12 +10:00
Liam Fitzgerald
0350311882
Merge pull request #4391 from urbit/lf/loading-fix
ViewProfile: fix incorrect loading conditional
2021-02-09 13:31:27 +10:00
Liam Fitzgerald
548f2143f8
Merge pull request #4388 from urbit/lf/tutorial
interface: add overlay tutorial
2021-02-09 13:31:06 +10:00
Liam Fitzgerald
7dde91c8c9
contact-push-hook: prevent share loop 2021-02-09 13:21:15 +10:00
Liam Fitzgerald
e9344bf78d
contact-pull-hook: migrate old groups 2021-02-09 11:46:34 +10:00
Liam Fitzgerald
a5925a4842
metadata-hooks: do not request preview if we already have it 2021-02-08 12:07:32 +10:00
Liam Fitzgerald
b0597e32d3
metadata-store: do not pin channels on migrate 2021-02-08 12:07:15 +10:00
Liam Fitzgerald
74511e60ff
settings-store: add flag to check if tutorial has been done 2021-02-08 11:03:34 +10:00
Matilde Park
340b74b478 Merge branch 'release/next-js' into release/next-userspace 2021-02-07 12:41:19 -05:00
Logan Allen
f75d0fefdb contact-store: changed semantics to no-op instead of crash 2021-02-05 13:19:53 -06:00
Logan Allen
78fe4cc045 contact-store: make %add poke idempotent 2021-02-05 12:33:25 -06:00
Liam Fitzgerald
ffbd4a4d88
contact-store: prevent hook forwarding loop 2021-02-05 14:54:26 +10:00
Liam Fitzgerald
c41ea83ee1
glob: update to 0v2.n1md9.trksl.p71td.ctngq.rr9su 2021-02-05 11:02:53 +10:00
Liam Fitzgerald
1445acdb99
landscape: register serviceworker at root 2021-02-04 15:30:59 +10:00
Liam Fitzgerald
90b8ae0065
glob: add service-worker to glob 2021-02-04 15:28:14 +10:00
Liam Fitzgerald
e831dd1bc9
file-server: add Service-Worker-Allowed header 2021-02-04 15:26:59 +10:00
Liam Fitzgerald
ad2cd89310
hark-store: crash on invalid note read
Two %read-note actions set on the same notification could cause the
cache to become invalid. Instead, crash if we read a note that is
already read.
2021-02-04 14:05:03 +10:00
Liam Fitzgerald
981386dffb
metadata-store: migrate %contacts to %groups in app-name 2021-02-04 11:58:25 +10:00
Liam Fitzgerald
97cf9fcb19
hark-store: discard unused metadata notifications in OTA 2021-02-04 11:39:59 +10:00
Liam Fitzgerald
a42f0c7428
metadata-hook: fix on-load 2021-02-04 11:37:43 +10:00
Logan Allen
83edfd67ba graph-push-hook: fixed bunted bowl issue 2021-02-03 13:08:53 -06:00
Liam Fitzgerald
22004a3ea2
contact-pull-hook: give nacks on subscription 2021-02-03 17:26:41 +10:00
Liam Fitzgerald
36202d5c86
contact-hooks: proxy %share and fix its mark validation 2021-02-03 14:53:32 +10:00
Liam Fitzgerald
7d69b23440
Merge remote-tracking branch 'origin/la/push-hook-list-resource' into lf/handoff 2021-02-03 12:50:26 +10:00
Liam Fitzgerald
c042e3f353
metadata-pull-hook: cleanup preview when we receive actual metadata 2021-02-03 12:49:06 +10:00
Liam Fitzgerald
d8dc792497
metadata-pull-hook: watch contacts for new preview
Fetch metadata previews when we learn of a group via a contact's pinned
groups.
2021-02-03 12:49:06 +10:00
Logan Allen
02f4ff58a1 contact: perfected the +is-allowed arm and fixed issue with share type 2021-02-02 19:13:33 -06:00
L
ac759b7d96
Merge pull request #4365 from urbit/lf/revive-invites
Invites: update for new group-view
2021-02-02 18:58:58 -06:00
Liam Fitzgerald
9d08d0d2b6
graph-push-hook: fix +is-allowed 2021-02-03 10:35:01 +10:00
Liam Fitzgerald
63027861dc
invite-store: add %groups in +on-init 2021-02-03 09:52:25 +10:00
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
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
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
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
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
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
Liam Fitzgerald
ac7aa12dd7
language-server: retain state on reload 2021-01-30 12:09: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
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
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
Liam Fitzgerald
b4cbe7b5eb
language-server: prettier hover format 2021-01-29 11:44:13 +10:00
Liam Fitzgerald
410fe58975
language-server: ignore /sys files 2021-01-29 11:43:40 +10:00
matildepark
f4606327a3
Merge pull request #4285 from urbit/lf/md-modernize
metadata-store: modernisation
2021-01-28 17:53:12 -05:00
Logan Allen
8ac1a9768d contacts + interface: hooked up isPublic to interface 2021-01-28 14:45:28 -06:00
Liam Fitzgerald
a1c30ef230
metadata: modernize namespacing 2021-01-28 16:13:57 +10:00
Tyler Brown Cifu Shuster
fc179eac7d interface: adds serviceworker 2021-01-27 21:33:23 -08: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
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
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
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
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
015dffeb0f
metadata-hooks: start in drum 2021-01-21 10:14:19 +10: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
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
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
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
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
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
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
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
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
Liam Fitzgerald
1529113d6f
hark-store: fix mark channel as read issue
Addresses root cause of #4201
2021-01-11 17:43:02 +10:00
Liam Fitzgerald
8fe8cfd29e
hark-store: rebuild cache on inconsistency, instead of crashing
Addresses #4201, although the root cause of the cache inconsistency is
still at large.
2021-01-11 17:42:54 +10:00
Logan Allen
83036c0cc3 hark-group-hook: add type checking to vase sent to %hark-store, fix #4217 2021-01-07 14:03:03 -06:00
matildepark
0830c01024
Merge pull request #4230 from tylershuster/font-fallback
interface: add fallback fonts
2021-01-07 01:17:49 -05:00
fang
6769e5cf5a
spider: prefix thread ids with thread name
For thread ids generated by spider itself, includes the name of the thread,
for convenient identification.
2021-01-06 22:20:51 +01:00
matildepark
1b96410b94
Merge pull request #4197 from tylershuster/hark-title
interface: document title
2021-01-06 16:10:37 -05:00
Tyler Brown Cifu Shuster
207c9accde interface: document title 2021-01-06 12:54:52 -08:00
Tyler Brown Cifu Shuster
1bc5d22412 interface: add fallback fonts 2021-01-05 22:05:36 -08:00
Matilde Park
822a378fb4 Merge branch 'release/next-js' into release/next-userspace 2021-01-05 20:06:37 -05:00
Liam Fitzgerald
44ac3130f8
graph-store: use +bap for update-log listification 2021-01-05 08:23:12 +10:00
Liam Fitzgerald
3e1207283b
Merge remote-tracking branch 'origin/master' into lf/update-log-order 2021-01-05 08:18:12 +10:00
matildepark
584755de2d
Merge pull request #4121 from tylershuster/serve-woff
landscape: add woff2 support, serve Inter & Source Code Pro
2021-01-04 11:31:02 -05:00
Philip Monk
598a46d1f7
Merge remote-tracking branch 'origin/la/spider-fix' into philip/gall-vega 2020-12-18 17:04:02 -08:00
janeway
327a542952
glob: update to 0v5.hvt1e.ie7it.b7i7l.1r7jj.dn9ib 2020-12-18 13:06:18 -08:00
Liam Fitzgerald
2d6913794f
glob: update to 0v7.p2egb.1l8lk.11asn.n1bkb.71bkt 2020-12-18 14:09:25 +10:00
Liam Fitzgerald
a66d0fc2ba
Merge remote-tracking branch 'origin/release/next-userspace' 2020-12-18 14:04:08 +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
Logan Allen
be8c0940e7 hark-graph-hook: reduce extraneous %no-metadata printfs 2020-12-17 19:45:05 +00: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
fang
744cce098f
Merge pull request #4163 from jfranklin9000/release/next-userspace
dbug: make eyre Channels header match the table
2020-12-16 15:53:31 +01:00
Liam Fitzgerald
7ae79cfb1a
glob: update to 0v2.4fgj3.q9463.10ksb.jmhse.00031 2020-12-16 17:52:08 +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
Liam Fitzgerald
0ab9af0679
glob: update to 0v1.pr789.2ugh8.chgtm.dlmfn.cc9pr 2020-12-16 10:11:05 +10:00
Liam Fitzgerald
fa7c347870
graph-store: add TODO comment for backwards tap 2020-12-16 09:42:01 +10:00
Liam Fitzgerald
2c915af179
graph-store: run update log in correct order
tapping an ordered map returns a list with the smallest keys first.
However, graph-store's update-log is defined backwards, such that the
list will have the most recent updates in the front of the list. We
therefore flop the update log before iterating over it, in order to
process the updates in the order they occurred
2020-12-15 21:37:50 +10:00
Liam Fitzgerald
4461b42d6a
glob: update to 0v3t3u8.g4h6p.ckag1.tpdjo.785v5 2020-12-15 15:53:24 +10:00
Liam Fitzgerald
d9b8fd77c1
Merge branch 'release/next-u' into lf/last-updated 2020-12-15 15:49:39 +10:00
Liam Fitzgerald
5fdfca10e2
hark-store: send update counts separately 2020-12-15 15:38:56 +10:00
Liam Fitzgerald
6499eb5fe0
glob: update to 0v5.bo337.25di9.mg5d5.i9vun.5qaqe 2020-12-15 10:09:22 +10:00
John Franklin
00b5734b41 dbug: make eyre Channels header match the table 2020-12-14 17:20:31 -06:00
Liam Fitzgerald
66fe59819e
hark-store: allow setting last-updated independently of unread counts 2020-12-14 13:33:31 +10:00
Liam Fitzgerald
503aaa899a
hark-graph-hook: refactor to ensure facts are given correctly 2020-12-14 13:14:56 +10:00
Logan Allen
504e02a6c8 graph-store: turn back on noisy duplicates 2020-12-12 18:06:44 -06:00
Logan Allen
8b83df00bd Merge remote-tracking branch 'origin/master' into release/next-userspace 2020-12-12 18:05:49 -06:00
Logan Allen
35c2ccd54c graph-store: silence duplicate message assertion temporarily 2020-12-12 14:46:59 -06:00
Matilde Park
2a62b40b62 Merge branch 'la/silence' (#4142)
* origin/la/silence:
  graph-pull-hook: silence issues temporarily

Signed-off-by: Matilde Park <matilde.park@gmail.com>
2020-12-11 20:09:07 -05:00
Logan Allen
97ff374e19 graph-pull-hook: silence issues temporarily 2020-12-12 01:01:17 +00:00
Matilde Park
bad8eb1478 Merge branch 'la/mitigate-notification-madness' (#4137)
* origin/la/mitigate-notification-madness:
  graph-store: no need to iterate through whole list if we find a single duplicate
  graph-store: address ted and mark's comments
  graph-store: no-op if we already have *any* of the indexes in an %add-nodes event

Signed-off-by: Matilde Park <matilde.park@gmail.com>
2020-12-11 19:27:03 -05:00
Logan Allen
386997475b graph-store: no need to iterate through whole list if we find a single duplicate 2020-12-11 18:13:47 -06:00
fang
76de5dec47
Merge pull request #4138 from urbit/m/debug-quacks
debug: render queued ames acks correctly
2020-12-12 01:10:56 +01:00
Logan Allen
78cf4443c2 graph-store: address ted and mark's comments 2020-12-11 18:10:10 -06:00
fang
ed73326cc3
debug: render queued ames acks correctly
Wrap the items in a SearchableList instead of throwing the objects into
the DOM directly.
2020-12-12 00:44:59 +01:00
Logan Allen
e845860e5e graph-store: no-op if we already have *any* of the indexes in an %add-nodes event 2020-12-11 23:05:54 +00:00
Matilde Park
03eb12698a glob: update to 0vada5t.b1gqn.oo4ga.6o12h.ek1ot 2020-12-11 16:16:50 -05:00
Logan Allen
26b9c5a66f graph-store: remove unnecessary clay write upon clobber 2020-12-11 14:53:02 -06:00
Liam Fitzgerald
82851feaea
glob: update to 0v3.e7ep6.1ki6b.qpuiq.22qs6.qcbi7 2020-12-11 16:28:28 +10:00
Liam Fitzgerald
bce1b3e65e
group-pull-hook: remove group on nack 2020-12-11 14:57:20 +10:00
Liam Fitzgerald
191b623d47
hark-store: correctly send reads on %read-index 2020-12-11 14:22:12 +10:00
Logan Allen
34751e1bf8 chat-*: remove unused logic 2020-12-10 21:50:20 -06:00
Liam Fitzgerald
82b668cf3a
graph-store: %node-siblings fixed 2020-12-11 13:05:40 +10:00
Liam Fitzgerald
2b95b308b8
graph-store: simplify node-siblings scries 2020-12-11 12:21:47 +10:00
Liam Fitzgerald
f8452af94e
Merge remote-tracking branch 'origin/release/next-userspace' into lf/chat-graph 2020-12-11 11:50:18 +10:00
Liam Fitzgerald
37bb4e9bfe
graph-store: backup overwritten graphs to clay 2020-12-11 11:38:12 +10:00
Liam Fitzgerald
95cf71c1e6
chat-cli: actually run migration 2020-12-11 11:05:13 +10:00
Liam Fitzgerald
34dee40e74
metadata-store: migrate in poke-import case 2020-12-11 10:56:41 +10:00
Tyler Brown Cifu Shuster
263f046cc2 addressed feedback 2020-12-10 15:42:35 -08:00
Tyler Brown Cifu Shuster
308da85851 landscape: add woff2 support, serve Inter & Source Code Pro
Fixes urbit/landscape#92
2020-12-10 13:55:15 -08:00
Logan Allen
fe728fea35 observe-hook: add %group-on-leave back to observers 2020-12-10 13:55:14 -06:00
Logan Allen
fbfe5f46f0 spider: verbose 2020-12-10 13:46:42 -06:00
Logan Allen
f3e5ee88cc observe-hook: add spacing 2020-12-10 13:27:40 -06:00
Logan Allen
45351e1efa observe-hook: spider wasn't always issuing thread-results, so we got %watch-not-unique. we now make unique wires, but spider's issue remains 2020-12-10 13:20:13 -06:00
Matilde Park
cf88b8525e glob: update to 0v7.0p8us.ekd7r.qtve8.hthik.65552 2020-12-10 10:49:51 -05:00
Liam Fitzgerald
c3e4a1632f
hark: migrate and drop chat notifications 2020-12-10 15:19:46 +10:00
Liam Fitzgerald
c29b3d8167
chat: address migration of missing owner in unmanaged groups 2020-12-10 13:52:25 +10:00
Liam Fitzgerald
1aace5cc07
glob: update to 0v3.fbu1a.5lre3.sfu4r.113f6.2ro2c 2020-12-10 13:23:53 +10:00
Liam Fitzgerald
fc189a7c13
graph-store: on overwrite, archive existing graph 2020-12-10 12:36:59 +10:00
Liam Fitzgerald
bf9d6cfe44
chat: refine archival logic 2020-12-10 12:36:26 +10:00
Logan Allen
144e30a90e chat-hook, store, and hark-chat-hook: fixed merge issues 2020-12-09 16:00:13 -06:00
Logan Allen
7802a7f8d9 Merge branch 'release/next-userspace' into lf/chat-graph 2020-12-09 15:45:26 -06:00
Isaac Visintainer
c5ccc1171a chat-hook: send right amount of backlog 2020-12-08 19:51:28 -08:00
Philip Monk
530d0f8a40
glob: update to 0v2.u8gnq.ipqi1.eksfl.qtd8n.0d56e 2020-12-08 09:56:37 -08:00
Jake Miller
7b19f7a6a3 lens: clear state on %cancel
if you use herb to send a dojo command that doesn't compile,
the lens state doesn't clear and herb no longer works.
this just adds a simple way to clear that state.
2020-12-08 02:45:41 -08:00
Joe Bryan
fd707761f8 zuse: moves lib/base64 2020-12-08 02:36:11 -08:00
Joe Bryan
65fa2ea1af Merge branch 'na-release/candidate' into jb/motion
* na-release/candidate:
  vere: to 1.0
  gaze: update for eth-watcher batch resuls
  vere: replaces obsolete references to u3v_numb and u3A->sen
  u3: adds comments to explain unusual u3v_arvo/u3v_home requirements
  u3: fixes checkpoint version enforcement, refactors u3m_pave() et al
  king: port the new lmdb event log changes.
  u3: WIP adds a version to the checkpoint / persistent state
  u3: revises "rock" format, tags jet registrations
  u3: adds version number to checkpoint patch files
  u3: removes obsolete members from u3_arvo
  vere: removes u3A->sen references from i/o drivers
  vere: implements lmdb event log format
  vere: adds version to lmdb meta table, removes unnecessary jam
2020-12-08 00:37:31 -08:00
Joe Bryan
4420aabfa1 chat-hook: fixes typo in $sign migration 2020-12-07 20:41:49 -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