Commit Graph

7564 Commits

Author SHA1 Message Date
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
Jared Tobin
bba0bb056f
interface: reference urbit/urbit repository
Prepends 'urbit/urbit@' to the rendered Landscape shorthash, which
should cause GitHub to auto-link the commit.
2021-01-10 22:12:12 +04:00
Matilde Park
b3afaaf3e3 chat: fix 'enter' behaviour on iOS 2021-01-08 18:03:11 -05:00
matildepark
f3d5ebfe67
Merge pull request #4253 from tylershuster/hash-z-index
launch: fix hash color and mobile position
2021-01-08 17:10:56 -05:00
Tyler Brown Cifu Shuster
ea9db15d67 launch: fix hash color and mobile position
fixes https://github.com/urbit/landscape/issues/166
2021-01-08 13:10:27 -08:00
Matilde Park
cc88278a9f statusbar: correct flexed reconnectbutton 2021-01-08 15:23:51 -05:00
matildepark
c6e3fe46f7
Merge pull request #4251 from tylershuster/hark/update-inbox-title
interface: put dynamic title on inbox
2021-01-08 14:47:14 -05:00
matildepark
f037ad1107
Merge pull request #4250 from tylershuster/publish/on-navigate-behavior
publish: fixes two behaviors on navigation
2021-01-08 14:44:36 -05:00
Tyler Brown Cifu Shuster
7ce3fd49eb interface: put dynamic title on inbox
fixes https://github.com/urbit/landscape/issues/222
2021-01-08 10:32:20 -08:00
matildepark
6f3b248bdf
Merge pull request #4248 from tylershuster/publish/line-breaks
publish: renders line breaks
2021-01-08 13:00:22 -05:00
Tyler Brown Cifu Shuster
4bd7a65416 publish: scroll to top on note navigation
fixes #4204
2021-01-08 09:59:14 -08:00
Tyler Brown Cifu Shuster
f8b9f40d16 publish: mark read on navigate
fixes #4207
2021-01-08 09:48:55 -08:00
Tyler Brown Cifu Shuster
de4eee1eaf publish: renders line breaks
fixes #4245
2021-01-08 09:42:46 -08:00
Tyler Brown Cifu Shuster
36592d154c groups: confirm channel deletion
fixes #4199
2021-01-08 09:30:40 -08:00
matildepark
71f16fc32b
Merge pull request #4246 from urbit/mp/landscape/link-collection-icon
landscape: use 'collections' icon
2021-01-07 19:54:24 -05:00
matildepark
9c44c7eec5
Merge pull request #4225 from urbit/mp/landscape/allow-blank-ships
shipSearch: skip validating 'undefined'
2021-01-07 19:45:29 -05:00
matildepark
caa18af943
Merge pull request #4227 from urbit/mp/landscape/edit-mentioned-comments
landscape: edit comments include leading sig
2021-01-07 19:45:07 -05:00
matildepark
ca0cf64a54
Merge pull request #4243 from urbit/mp/landscape/upload-ios
landscape/useS3: restore behaviour on iOS
2021-01-07 19:44:45 -05:00
Matilde Park
c922fad2ff landscape: use 'collections' icon 2021-01-07 19:40:25 -05: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
7a41664ba1
Merge pull request #4238 from urbit/mp/term/you-dropped-this
term: use 'this' in notificationscount
2021-01-07 13:52:25 -05:00
Matilde Park
40473bf833 landscape/useS3: restore behaviour on ios 2021-01-07 13:28:21 -05:00
matildepark
d441d826a0
Merge pull request #4144 from urbit/ga/qa-3
Ga/qa 3
2021-01-06 18:57:59 -05:00
Gavin Atkinson
c8c7621fdd launch: remove console.log 2021-01-06 15:35:58 -08:00
Gavin Atkinson
7363852f29 Landscape: Explaination of private vs public group in NewGroup 2021-01-06 15:36:18 -08:00
Gavin Atkinson
681d849265 landscape: Style chage on shipSearch tag 2021-01-06 15:36:09 -08:00
Gavin Atkinson
1fcd8076d7 landscape: spacing tweaks in groupSwitcher and sidebar 2021-01-06 15:35:58 -08:00
Gavin Atkinson
a726de34f7 leap: Resolves leap spacing 2021-01-06 15:35:58 -08:00
github-actions[bot]
5053b1f38b
Merge 85435e9a81 into release/next-js 2021-01-06 22:44:17 +00:00
fang
69704c6a80
graph: make the join thread back off
Pushes the pathological case back a bit, but doesn't make it stop trying.
2021-01-06 23:22:54 +01:00
Matilde Park
38c89616fe term: use 'this' in notificationscount 2021-01-06 17:12:49 -05:00
Logan Allen
c99bf65d81 graph-delete thread: properly remove entry from metadata-store and hook 2021-01-06 15:32:16 -06: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
L
2725f5b2c0
Merge pull request #4216 from urbit/la/fix-4164
4164: fixes display issue with jobs / gigs based on faulty hark state
2021-01-06 12:24:36 -06:00
matildepark
bb48d8b3c7
Merge pull request #4224 from urbit/mp/landscape/patp-punctuation
landscape: allow most patp punctation in tokenize
2021-01-06 13:06:10 -05:00
Tyler Brown Cifu Shuster
dbc452ff44 interface: fixes bug where profile overlay would crash due to hook use 2021-01-05 19:04:15 -08:00
Matilde Park
bd1148e171 landscape: edit comments include leading sig
Fixes #4212.
2021-01-05 21:47:38 -05:00
Matilde Park
4573043168 shipSearch: skip validating 'undefined'
Fixes #4218.
2021-01-05 21:37:52 -05:00
Matilde Park
746fa57d15 landscape: allow most patp punctation in tokenize
Fixes #4183.
2021-01-05 21:14:41 -05:00
Matilde Park
3abfcbd4ea statusbar: change color on collapsed text 2021-01-05 19:54:50 -05:00
Matilde Park
9159d92927 meta: correct environment in status bar 2021-01-05 19:33:04 -05:00
Matilde Park
113aad6db5 meta: remove unnecessary variable 2021-01-05 19:24:51 -05:00
Matilde Park
2c0ecc6494 meta: amend environment variable access 2021-01-05 19:18:35 -05:00
Matilde Park
b21f5e0f06 statusbar: add conditional dev stream render 2021-01-05 18:54:43 -05:00
Matilde Park
136efa76a3 Merge branch 'release/next-js' into ixv/fix-unread-resubscribe 2021-01-05 17:34:28 -05:00
fang
141fb07109
Merge pull request #4221 from urbit/m/hark-but-quiet
landscape: remove hark-update printfs
2021-01-05 23:21:21 +01:00
matildepark
8cbf726fa6
Merge pull request #4171 from tylershuster/local-state-hooks
interface: convert local state to hooks
2021-01-05 17:18:15 -05:00
fang
8538b4fd7b
landscape: remove hark-update printfs 2021-01-05 23:07:10 +01:00
Isaac Visintainer
cbdb8903fc notifications: clear state before processing initial update 2021-01-05 13:49:49 -08:00
Logan Allen
599c4db175 interface: place priority in understanding state of channel in graphKeys 2021-01-05 12:35:39 -06: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
Philip Monk
598a46d1f7
Merge remote-tracking branch 'origin/la/spider-fix' into philip/gall-vega 2020-12-18 17:04:02 -08:00
Philip Monk
e0dfbc8083
gall: fix huck wires 2020-12-18 16:28:43 -08:00
Philip Monk
548e2dcea8
gall: don't molt on vega
We can't molt until clay has gotten its pork or else we'll build the old
app against the new kernel.  This ignores vegas, since we should get a
notification from clay on /sys/lyv.
2020-12-18 15:33:58 -08:00
janeway
327a542952
glob: update to 0v5.hvt1e.ie7it.b7i7l.1r7jj.dn9ib 2020-12-18 13:06:18 -08:00
Philip Monk
39cc1c51ec
Merge remote-tracking branch 'origin/la/fix-archivebox' into release/next-sys 2020-12-18 12:55:08 -08:00
Philip Monk
bb29b7c749
Merge remote-tracking branch 'origin/master' into release/next-sys 2020-12-18 12:46:13 -08:00
Philip Monk
a5993cc3e7
Merge remote-tracking branch 'origin/release/next-hoon' into release/next-sys 2020-12-18 12:43:07 -08:00
Philip Monk
e03030b80c
Merge pull request #4136 from urbit/m/redo-hint
hoon: add jet hint for +redo
2020-12-18 12:42:12 -08:00
Logan Allen
ad80e2a716 interface: change Read text to Dismiss 2020-12-18 14:26:28 -06:00
L
0ed3f41c6f
Merge pull request #4193 from tylershuster/clear-weather
weather: add style for 'Clear'
2020-12-18 13:34:03 -06:00
Tyler Brown Cifu Shuster
35c63c1491 weather: add style for 'Clear' 2020-12-18 10:58:46 -08:00
Logan Allen
d6707865a1 interface: fix missing archiveBox by removing Archive view 2020-12-18 12:45:15 -06: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
097d6e923b
interface: update package-lock.json 2020-12-18 13:57:38 +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
Philip Monk
65d477b0fc
Merge pull request #4184 from urbit/philip/jael-order
jael: fix breach notification ordering
2020-12-17 16:24:38 -08:00
Philip Monk
c824284764
Merge pull request #4143 from urbit/philip/ames
ames: Fix stuck flows caused by %strange-current
2020-12-17 16:23:59 -08:00
Philip Monk
b6b2926105
Merge remote-tracking branch 'origin/master' into release/next-sys 2020-12-17 15:19:57 -08:00
Philip Monk
41a2ed084e
jael: fix breach notification ordering
When we changed wires from /a/foo to /ames/foo, our sorting function
started sorting by last character instead of first character, so breach
notifications were given to gall before ames.  This made gall try to
resubscribe before ames cleared its state, so the message would be lost.

Fixes #4177
2020-12-17 15:19:06 -08:00
Tyler Brown Cifu Shuster
380a7b30af interface: convert local state to hooks 2020-12-17 12:29:56 -08: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
Logan Allen
0341814c54 zuse: add backward tap (+bap) to +ordered-map 2020-12-16 12:57:05 -06: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
Joe Bryan
6678e7313b hoon: crash with valid tank on %eror 2020-12-15 18:22:51 -08:00
Liam Fitzgerald
0ab9af0679
glob: update to 0v1.pr789.2ugh8.chgtm.dlmfn.cc9pr 2020-12-16 10:11:05 +10:00
Liam Fitzgerald
6012609214
notifications: fix accidental overwrite 2020-12-16 10:08:03 +10:00
Liam Fitzgerald
fa7c347870
graph-store: add TODO comment for backwards tap 2020-12-16 09:42:01 +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
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
3cfc96c31e
links-fe: infinite scroll for link displays 2020-12-15 16:53:07 +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
1f040ac081
hark-store: fix global count being out of sync 2020-12-15 15:39:23 +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
L
cd125fc71f
Merge pull request #4149 from urbit/la/fix-push-hook
push-hook: push out facts to each path only a single time
2020-12-14 17:57:08 -06:00
John Franklin
00b5734b41 dbug: make eyre Channels header match the table 2020-12-14 17:20:31 -06:00
L
c50485f267
Merge pull request #4155 from urbit/lf/invite-squash
notifications: fix invite squashing
2020-12-14 13:21:48 -06:00
Liam Fitzgerald
51a4816978
chat: lazier chat loading
Load smaller amounts of backlog when displaying a chat
2020-12-14 15:15:30 +10: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
Liam Fitzgerald
e1a4f3bafa
notifications: fix invite squashing
Fixes #4111
2020-12-14 11:25:25 +10:00
Logan Allen
504e02a6c8 graph-store: turn back on noisy duplicates 2020-12-12 18:06:44 -06:00
Logan Allen
522d4b72b3 push-hook: fix duplicate messages being sent 2020-12-12 18:06:17 -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
Philip Monk
e5d4230f6b
ames: print on crashing %done
This is guaranteed to produce a stuck flow if the error isn't transient,
so this will be good info to get.
2020-12-11 16:49:55 -08:00
Philip Monk
023640856f
Merge remote-tracking branch 'origin/master' into release/next-sys 2020-12-11 16:48:55 -08:00
Philip Monk
175ce28bb7
ames: tag verb printfs 2020-12-11 16:45:13 -08:00
Philip Monk
595efabf6c
ames: recover from %strange-current 2020-12-11 16:43:13 -08: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
matildepark
3a8264f96b
Merge pull request #4135 from urbit/la/remove-clay-write
graph-store: remove unnecessary clay write upon clobber
2020-12-11 16:09:33 -05:00
fang
0ef30e0360
hoon: add jet hint for +redo 2020-12-11 21:58:19 +01:00
Logan Allen
26b9c5a66f graph-store: remove unnecessary clay write upon clobber 2020-12-11 14:53:02 -06:00
Matilde Park
38c66dc06a landscape: mentions avoid passing entire contacts
We don't need 2,000 objects inside each mention.
2020-12-11 14:04:16 -05:00
Matilde Park
4530b59dd9 landscape: mentions respect calmengine
Fixes #4130.
2020-12-11 12:09:57 -05:00
Matilde Park
3662df0e73 chat: send correct timestamp to daybreak
Fixes #4127.
2020-12-11 11:59:53 -05:00
fang
80a5b22ab1
jael: account for step in deriving code
This had regressed during some breach-related merge. Multiple commits/branches
had touched this codepath recently, eating the code step change introduced in
#3217.

Fixes #4126.
2020-12-11 12:37:56 +01:00
Liam Fitzgerald
82851feaea
glob: update to 0v3.e7ep6.1ki6b.qpuiq.22qs6.qcbi7 2020-12-11 16:28:28 +10:00
Liam Fitzgerald
6e18225c5c
graph-store: remove-graph in keys 2020-12-11 16:07:19 +10: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
Matilde Park
164b0910cb interface: mentionText prefaces color with hash
Fixes profile overlays in mentions.
2020-12-11 00:02:56 -05: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
d27a26ec31
chat: window-based overscan, bigger pages 2020-12-11 12:57:09 +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
d2f467912e
Merge pull request #4120 from urbit/la/fix-leave
group-on-leave: soften de-path to fix thread and add thread back to observe-hook state
2020-12-11 11:45:01 +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
matildepark
89f603e201
Merge pull request #4117 from urbit/mp/landscape/various
landscape: various regressions
2020-12-10 19:06:24 -05:00
matildepark
6a2467f9d9
Merge pull request #4123 from urbit/jt/capcom
landscape: case sensitivity training
2020-12-10 19:03:33 -05:00
L
be3b98cbf8
Merge pull request #4119 from urbit/la/observe-unique-wire
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 17:44:15 -06:00