Commit Graph

7593 Commits

Author SHA1 Message Date
janeway-bot
0fc5c4ef53
Merge 108a5f0de8 into release/next-js 2021-01-20 04:53:34 +04: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
Matilde Park
6363868731 publish: step up font size in titles 2021-01-19 16:25:36 -05:00
Matilde Park
1f7348ab6c publish: move 'new post' to header 2021-01-19 16:24:21 -05:00
Matilde Park
904ba113b7 author: increase font size 2021-01-19 15:54:07 -05:00
Matilde Park
4eb3a5ffdf statusbar: remove patp 2021-01-19 15:51:34 -05:00
Matilde Park
3f8de9a701 leap: correct font sizing of input 2021-01-19 15:47:30 -05:00
Matilde Park
392bccc6a8 launch: prevent modal button size overflow 2021-01-19 15:46:23 -05:00
Matilde Park
22f7754583 landscape: step up font size in channel header 2021-01-19 15:44:42 -05:00
Matilde Park
d0a276fd43 chat: add editor padding on mobile 2021-01-19 15:44:20 -05:00
Matilde Park
7ba6efbca2 publish: prevent 'new post' squash 2021-01-19 15:30:35 -05:00
Matilde Park
6ce130176a links: equalise font size, fix dropdown width 2021-01-19 15:28:43 -05:00
Matilde Park
ed2b350b2f profile: widen sidebar 2021-01-19 15:24:55 -05:00
Matilde Park
f5344efade landscape: widen popover menu 2021-01-19 15:22:55 -05:00
Matilde Park
6790664b2b sidebar: level padding-right 2021-01-19 15:20:30 -05:00
Matilde Park
2ea9b48ecb groupSwitcher: prevent text clipping 2021-01-19 15:19:40 -05:00
Liam Fitzgerald
becd520c45
links: pass empty measure prop to fix comments 2021-01-18 17:14:12 +10:00
Liam Fitzgerald
959c7ee488
LinkWindow, VirtualScroller: virtualise correctly 2021-01-18 16:32:12 +10:00
matildepark
86dd68a7cc
Merge pull request #4291 from urbit/mp/landscape/qa-2021-1
landscape: QA from 1.5, round one
2021-01-15 17:54:39 -05:00
Matilde Park
64b4689a4a landscape: remove old new channel button 2021-01-15 17:45:10 -05:00
Matilde Park
2cd80bf2af landscape: sidebar updated to latest 2021-01-15 17:32:39 -05:00
Matilde Park
a889095265 landscape: amend paddingRight in sidebar 2021-01-14 20:28:44 -05:00
Matilde Park
316c52802f landscape: prevent offscreen bumps from font size 2021-01-14 20:22:20 -05:00
Matilde Park
a6254066e7 newChannel: correct dark mode back link 2021-01-14 20:18:07 -05:00
Matilde Park
f00b887867 dropdown: use latest mockup 2021-01-14 20:16:37 -05:00
janeway-bot
3d7be50f16
Merge cb7c9c6535 into release/next-js 2021-01-15 04:49:34 +04: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
Matilde Park
d5b0f15e0b launch: icons match modal icon margin 2021-01-14 19:32:39 -05:00
Matilde Park
07070fc3b6 statusbar: force squared icons
Both were 32x34; either we could change px to 7px or
tell it to fit 32px. I chose latter.
2021-01-14 19:26:14 -05:00
Matilde Park
2180fd65c3 hark: use pat-da for dates 2021-01-14 19:19:52 -05:00
Matilde Park
84e6073745 publish: delete uses cursor:pointer 2021-01-14 19:10:02 -05:00
Matilde Park
a0f324b800 hark: only allow marking as read
Fixes urbit/landscape#149.
2021-01-14 19:08:51 -05:00
Matilde Park
901a08aa25 chat: allow line breaks in markdown
Fixes #4202.
2021-01-14 18:07:20 -05:00
matildepark
faef9b1d42
Merge pull request #4279 from tylershuster/hark/inbox-layout
notifications: fix layout
2021-01-14 14:27:03 -05:00
github-actions[bot]
398edad5f0
Merge a1345ddac4 into release/next-js 2021-01-14 07:03:56 +00:00
Jared Tobin
a1345ddac4
Merge pull request #4256 from black-river-software/black-river-software/dockerize
Nix build for a 'smart' docker image that can load keyfiles or a pier and boot a ship
2021-01-14 11:03:25 +04:00
Tyler Brown Cifu Shuster
7be1d8d313 interface: add useHovering hook 2021-01-13 18:50:14 -08:00
github-actions[bot]
49706ebf13
Merge 344e40fda7 into release/next-js 2021-01-14 02:19:20 +00:00
Liam Fitzgerald
344e40fda7
glob: update to 0v1.4u9gp.rs1fi.ki7ok.ib4cp.mgdvs 2021-01-14 12:10:44 +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
Tyler Brown Cifu Shuster
9b15ccbcc8 fixes https://github.com/urbit/landscape/issues/171 2021-01-13 14:32:31 -08:00
Matilde Park
2a91c43fa8 publish: automatically continue lists
Fixes #3329.
2021-01-13 16:30:49 -05:00
Edward Amsden
a64e0e141e
build: Build docker image and publish to Docker Hub
d3c5aa74c1 introduced a Docker image intended for deploying Urbit ships

This commit modifies the build.yml GitHub Actions workflow to build the
docker image as part of the push/PR workflow, and adds a
`release-docker.yml` workflow, which runs on any tag push `urbit-v*` and
pushes the image to Docker Hub, also synchronizing the README.

Co-authored-by: Josh Lehman <josh@urbit.org>
2021-01-13 12:36:45 -05:00
Edward Amsden
d3c5aa74c1
build: A 'smart' docker image
This commit adds the `docker-image` attribute to the main Nix
entrypoint, invoking `nix/pkgs/docker-image` which will build
a 'smart' docker image that can load keyfiles or a pier and
boot a ship

It includes a README for the official docker image, suitable
for posting as the README to a Docker Hub or similar docker
image repository.
2021-01-13 07:37:28 -05:00
Tyler Brown Cifu Shuster
d8ec8ae9d1 fixes https://github.com/urbit/landscape/issues/146 2021-01-12 22:46:49 -08:00
Tyler Brown Cifu Shuster
f5e51b321b fixes https://github.com/urbit/landscape/issues/148 2021-01-12 22:33:17 -08:00
Tyler Brown Cifu Shuster
f9452a4173 notifications: fix layout
fixes https://github.com/urbit/landscape/issues/218
2021-01-12 21:14:07 -08: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
Matilde Park
36a5bfbf93 landscape: hotfix to cite in statusbar 2021-01-12 18:58:04 -05:00
Matilde Park
c7f4327920 landscape: pass contact to profile overlay 2021-01-12 18:05:30 -05:00
Matilde Park
115bb9a3d8 chat: code fontSize step down 2021-01-12 15:03:19 -05:00
Matilde Park
344c40f51e landscape: delete interim themes 2021-01-12 14:59:58 -05:00
Matilde Park
686127cc8b landscape: update to indigo-react 1.2.16 2021-01-12 14:56:37 -05:00
Matilde Park
cbfbfa21c1 landscape: update light / dark versions 2021-01-12 14:32:34 -05:00
Matilde Park
3f059a57d8 Merge branch 'release/next-js' into mp/landscape/indigo-themes 2021-01-12 14:27:22 -05:00
matildepark
804ceb9631
Merge pull request #4269 from urbit/lf/hark-phantom-dot
hark: address phantom dot on archive
2021-01-12 14:11:28 -05:00
Tyler Brown Cifu Shuster
652073cd49 interface: bump sigil-js 2021-01-11 21:12:47 -08:00
Liam Fitzgerald
742971fec9
LinkWindow: address Tyler review 2021-01-12 12:44:16 +10:00
Liam Fitzgerald
c6465bf0ad
Merge remote-tracking branch 'origin/release/next-js' into lf/infinite-link-scroll 2021-01-12 12:34:51 +10:00
Liam Fitzgerald
b009104f8b
notifications: update count on archive 2021-01-12 12:25:54 +10:00
Matilde Park
ced3d7a079 meta: force dev stream deploy 2021-01-11 18:26:42 -05: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
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
Matilde Park
3ba0d89ee5 chat: unreverse keys when getting unread msg
Fixes #4219.
2021-01-11 16:49:14 -05:00
Logan Allen
5dd29f1fe7 channel.js: ack every 30 events *even if this.outstandingJSON is empty* 2021-01-11 15:29:15 -06:00
Tyler Brown Cifu Shuster
f1c9a596c2 chat: fix sizing on mobile
fixes https://github.com/urbit/landscape/issues/230
2021-01-11 12:29:45 -08: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
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