Commit Graph

23146 Commits

Author SHA1 Message Date
Edward Amsden
02afb3edfb
build: tag docker image as "latest"
When pushing the docker image, update the "latest" tag as well as
pushing a tag for the current Urbit version. This way users pulling
tloncorp/urbit:latest will always get an image with the latest point
release of Urbit.
2021-01-14 20:52:41 -05:00
Liam Fitzgerald
cb7c9c6535
glob: update to 0v1.4u9gp.rs1fi.ki7ok.ib4cp.mgdvs 2021-01-15 10:40:40 +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
matildepark
20da8a6ed3
Merge pull request #4286 from urbit/jt/merge-via-bot
Use bot to execute merge workflow
2021-01-14 11:53:40 -05: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
Jared Tobin
67c57c98c5 meta: activate adjusted merge workflow 2021-01-14 15:56:57 +09:00
Jared Tobin
60f67727fe meta: stage adjusted merge workflow
Uses janeway-bot's token, rather than the default GitHub Actions token,
to allow the merge workflow to trigger others.
2021-01-14 15:56:34 +09:00
Liam Fitzgerald
344e40fda7
glob: update to 0v1.4u9gp.rs1fi.ki7ok.ib4cp.mgdvs 2021-01-14 12:10:44 +10:00
Liam Fitzgerald
bcc129a3c9
Merge pull request #4284 from urbit/lf/rewatch-dms
hark-graph-hook: rewatch all DMs on upgrade
2021-01-14 12:04:48 +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
36e3a60b96
Merge pull request #4278 from urbit/lf/hark-negative
hark-store: rework caching to correctly calculate unread totals
2021-01-14 10:13:00 +10: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
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
matildepark
6095402687
Merge pull request #4271 from urbit/jt/janeway-bump
meta: bump janeway version in glob action
2021-01-12 14:32:54 -05:00
Jared Tobin
5fc506c837
meta: bump janeway version in glob action
Uses janeway v0.13.3, which allows us to remove some of the hacky steps
in the glob action entrypoint script introduced in 17f3431b43.
2021-01-12 13:51:19 +04: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
matildepark
08d5246a6d
Merge pull request #4267 from urbit/mp/chat/unread-notice
chat: unreverse keys when getting unread msg
2021-01-11 17:38:07 -05:00
Liam Fitzgerald
99bc912fc5
hark-store: add rebuild printf 2021-01-12 08:31:10 +10:00
matildepark
fb2c60a025
Merge pull request #4233 from urbit/m/tally
tally: add generator for measuring group activity
2021-01-11 17:20:55 -05: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
matildepark
c79d43bb59
Merge pull request #4265 from tylershuster/chat/mobile-input
chat: fix sizing on mobile
2021-01-11 15:45:26 -05: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
matildepark
1f6420a33d
Merge pull request #4263 from urbit/lf/hark-muting
hark-graph-hook: fix muting on %remove-graph
2021-01-11 15:00:33 -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
matildepark
168431f4d5
Merge pull request #4260 from urbit/jt/issue-tweak
Reference urbit/urbit repository when submitting issues
2021-01-10 17:44:37 -05: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
matildepark
f724f729cf
Merge pull request #4255 from urbit/mp/chat/mobile-enter
chat: fix 'enter' behaviour on iOS
2021-01-09 12:52:17 -05: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