fang
1d4ee5a7b5
eyre: kick busy subscriptions if client not acking
...
In order to curb event queue growth when a client for whatever reason
isn't acking the events we send out, we implement a mechanism for
detecting such "clogging", and proactively kick subscriptions which are
adding too many events to the queue.
If the client hasn't sent an ack for ~s30, any subscription that accrues
more than 50 unacked %facts gets closed to prevent further buildup.
Upon reconnecting, the client will see %kick for the relevant
subscriptions and can open a new subscription as appropriate.
Includes a simple test for this behavior, and updates /app/dbug to be
able to display the newly tracked statistics.
2020-10-19 15:56:05 +02:00
Liam Fitzgerald
2ca8f41288
metadata-store: add |remove generator
2020-10-19 12:45:20 +10:00
matildepark
4354fdde09
Merge pull request #3745 from urbit/mp/landscape/admins-only
...
landscape: only show 'new channel' if admin
2020-10-18 21:52:06 -04:00
fang
63b4fb3e19
eyre: simplify channel subscription storage
...
Instead of storing by "channel wire", store by request-id instead.
The channel wire was just the channel-id, request-id, and some cruft.
2020-10-19 00:48:18 +02:00
fang
69d70b98a2
pill: update
2020-10-18 17:14:41 +02:00
fang
0b331a2ca9
eyre: update tests to match recent changes
2020-10-18 17:00:02 +02:00
fang
7e5f29cfd2
eyre: convert facts to json manually
...
By doing a %watch instead of %watch-as %json for channel subscriptions,
we can hopefully make better use of noun deduplication, when storing
events in a channel's event queue until they get acked.
2020-10-18 16:31:35 +02:00
fang
8def1dbea8
eyre: store unacked events unserialized
...
Store the gall events from channel subscriptions as (vaseless) signs,
instead of serialized events. This should be smaller in memory, and
makes it more likely for noun deduplication to happen.
The cost is needing to reserialize upon channel reconnect, but this is
the less common case, and we don't expect it to be particularly slow.
2020-10-18 16:04:19 +02:00
Matilde Park
4819aac19f
landscape: only show 'new channel' if admin
2020-10-17 13:43:15 -04:00
matildepark
782ea1a6e7
Merge pull request #3696 from urbit/lf/bundle-cleanup
...
interface: various bundle size optimisations
2020-10-16 18:32:07 -04:00
matildepark
4f2e18dc3b
Merge pull request #3743 from tylershuster/sigil-color-picker
...
profile: add html color picker
2020-10-16 17:24:16 -04:00
Tyler Brown Cifu Shuster
2885a1b98b
profile: add html color picker
...
Fixes https://github.com/urbit/landscape/issues/118
2020-10-16 13:41:58 -07:00
Philip Monk
b866ff0e3d
release: urbit-os-v1.0.60
2020-10-16 13:23:50 -07:00
Philip Monk
583e510b0a
Merge branch 'philip/fast-mergebase' ( #3739 )
...
* origin/philip/fast-mergebase:
clay: speed up +find-merge-points
Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-10-16 13:17:13 -07:00
Philip Monk
8cd72daf20
clay: speed up +find-merge-points
...
In certain cases +find-merge-points was very slow. Specifically, the
`done` set was meant to avoid checking the same commit repeatedly, but
it didn't catch the case where a commit was added to the worklist that
was already in that worklist.
Secondly, the worklist was stored as a list but used as a queue, which
resulted in a lot of unnecessary welding. We change it to a qeu.
Fixes #3735
2020-10-16 11:21:02 -07:00
Logan Allen
926c9975c2
graph-leave: fixed leave thread to function properly
2020-10-16 12:10:07 -05:00
matildepark
e7b1f840f7
Merge pull request #3722 from urbit/mp/landscape/channel-menu
...
landscape: check workspace in channel menu
2020-10-16 12:28:46 -04:00
Matilde Park
f7cd173439
publish: prevent input overflow on safari
...
Fixes urbit/landscape#117 .
2020-10-16 12:25:57 -04:00
Matilde Park
40983be79c
landscape: sidebar uses borderRadius
2020-10-16 12:05:38 -04:00
Matilde Park
ed337eb435
launch: home tile uses boxShadow
...
Fixes urbit/landscape#114 .
2020-10-16 12:00:05 -04:00
Logan Allen
ace6a41e9e
graph-threads: update to work with dojo and http
2020-10-16 10:42:31 -05:00
Logan Allen
c9cb97d476
spider: update http handler to be compatible with dojo
2020-10-16 10:42:06 -05:00
Matilde Park
e8c61848ab
Merge branch 'master' into release/next-userspace
2020-10-15 22:47:29 -04:00
Philip Monk
8d0cfd13b7
glob: update to 0v1.hc18i.ms0ac.qi9qj.geopu.sutri
2020-10-15 16:10:02 -07:00
matildepark
3241377155
Merge pull request #3560 from urbit/m/webdojo-slogs
...
webdojo: slogs
2020-10-15 18:13:01 -04:00
Philip Monk
7e5c722c8f
Merge branch 'philip/link-upgrade' into release/next-sys
2020-10-15 14:34:05 -07:00
Philip Monk
ff0214e8ed
Merge remote-tracking branch 'origin/release/next-userspace' into philip/link-upgrade
2020-10-15 14:32:42 -07:00
Philip Monk
d948d22a78
Merge remote-tracking branch 'origin/release/next-hoon' into philip/link-upgrade
2020-10-15 14:32:34 -07:00
L
8b7a61dfa1
Merge pull request #3718 from urbit/mp/launch/tile-prop
...
launch: pass tile props to child
2020-10-15 12:36:52 -05:00
matildepark
a3c193fb38
Merge pull request #3727 from urbit/la/fix-dms
...
interface: fix DM creation to give group permissions properly
2020-10-15 13:33:13 -04:00
Logan Allen
ffb7259e97
interface: fix DM creation to give group permissions properly
2020-10-15 12:32:08 -05:00
Matilde Park
c03c1bfe8e
landscape: check workspace in channel menu
2020-10-15 12:10:09 -04:00
Joe Bryan
45038ad7b1
Merge pull request #3689 from urbit/jb/clay-cancel-correct
...
clay: refactors +cancel-request, consistently accounting for TMI
2020-10-14 22:56:49 -07:00
Philip Monk
bfa94b6c3b
link-store: throw away state if it's stale cards
...
It's burdensome to upgrade cards and vases, and in practice they will be
stale anyway, so we throw them away.
2020-10-14 21:59:37 -07:00
Philip Monk
f295cd714f
Merge remote-tracking branch 'origin/la/hack-to-move-scry' into release/next-sys
2020-10-14 19:30:54 -07:00
Philip Monk
77b33632a6
Merge remote-tracking branch 'origin/master' into release/next-sys
2020-10-14 19:26:33 -07:00
Matilde Park
157eae42d7
launch: pass tile props to child
2020-10-14 22:01:10 -04:00
matildepark
b1417c84e9
Merge pull request #3717 from urbit/lf/group-autojoin
...
JoinGroup: restore autojoin
2020-10-14 21:58:35 -04:00
matildepark
2f8e4d06dd
Merge pull request #3714 from urbit/mp/interface/10-14-fix
...
interface: design feedback tweaks
2020-10-14 21:55:29 -04:00
Matilde Park
061e832c8e
groups: tweak padding on description
2020-10-14 21:55:00 -04:00
Matilde Park
c57ceb0bfb
chat: messages use 'black'
2020-10-14 21:54:46 -04:00
Matilde Park
3e71f5fe8c
chat: z-index raised on profile overlay
...
Also rewritten in indigo-react.
2020-10-14 21:30:38 -04:00
Liam Fitzgerald
0645ea2369
JoinGroup: restore autojoin route
2020-10-15 10:21:05 +10:00
Matilde Park
964dc90dab
chat: prevent timestamp from overflowing
2020-10-14 18:50:02 -04:00
Matilde Park
f49c331d08
groups: pad landing page description for small layouts
2020-10-14 18:48:38 -04:00
Matilde Park
fd57c5fc53
launch: tiles inherit theme colour
2020-10-14 18:21:09 -04:00
Matilde Park
7b09fd6be8
launch: don't sort group tiles by recent
...
Fixes urbit/landscape#111 .
2020-10-14 18:18:31 -04:00
Matilde Park
f614a38f6d
groups: fix styling of channel settings dropdown
...
Fixes urbit/landscape#109 .
2020-10-14 18:16:04 -04:00
Matilde Park
bc23b5232b
interface: stub out email invite
2020-10-14 18:13:25 -04:00
Matilde Park
f5e23ab4c3
groups: remove 'send message' until new DM util
2020-10-14 18:11:44 -04:00