Commit Graph

11090 Commits

Author SHA1 Message Date
ryjm
154deb3281 clay: print stacktrace on build failure 2021-09-25 15:36:00 -04:00
Fang
cf73edb73c
docket: don't crash on adding a brand new docket
If we didn't have a charge for it yet, adding its new docket would
previously fail. Here we make sure this doesn't crash.

The local install case was hitting this.
2021-09-25 18:27:14 +04:00
Fang
ed516900e7
kiln: notify about local installs
Remote install send a %commit because they receive new files. Local
installs never receive files, so weren't notifying kiln subscribers.

Here we "manually" send a %commit fact when installing a local desk.
2021-09-25 18:26:04 +04:00
Fang
4ed2a5914b
eyre: bind most specific endpoint first
This sticks to the old behavior, which was briefly lost in recent
changes.
2021-09-25 17:44:31 +04:00
Fang
7d3fc3d9b1
eyre: update tests wrt recent changes 2021-09-25 17:16:39 +04:00
Fang
f51ac34517
dojo: reset =dir during migration
The base desk is the new default. If we leave the dir untouched, for
most users this means they remain on home, which gets rendered
explicitly in the prompt since it's no longer the default desk.
2021-09-25 15:43:43 +04:00
fang
fbf9ecd34c
Merge pull request #5246 from urbit/m/dojo-deskology
dojo: support running other-desk generators
2021-09-24 23:26:00 +02:00
Fang
dc5662b73e
dojo: finalize new +desk!generator syntax 2021-09-25 01:12:55 +04:00
Fang
369a6b7a47
eyre: allow overwriting existing bindings
Previously, if trying to bind to an endpoint that was already bound to,
eyre would reject it. This doesn't play very nicely in a softdist world
where uninstalled apps might not get a chance to clean up, and apps
might re-bind simply for being re-installed.

Here we change eyre to overwrite an existing binding if it conflicts
with the new one to be added.
2021-09-25 00:54:24 +04:00
Hunter Miller
b7750ff605 landscape: service worker scope off 2021-09-24 12:43:59 -05:00
Hunter Miller
064785664b grid: changing copy that was missed 2021-09-24 12:39:10 -05:00
Hunter Miller
ebba85998f Merge branch 'dist' of github.com:urbit/urbit into dist 2021-09-24 12:16:15 -05:00
Hunter Miller
cdf4782a8a grid: fixing glob 2021-09-24 12:15:54 -05:00
Fang
ce09681b0a
clay: avoid migrating during boot
We set the "have we migrated yet" flag to true during boot, because
we're starting out in a post-migration world.

Also fixes a state version number.
2021-09-24 20:55:28 +04:00
Liam Fitzgerald
862eab4097 garden,landscape: update globs 2021-09-24 14:41:56 +10:00
Liam Fitzgerald
2680e4512d various: update copy 2021-09-24 14:12:53 +10:00
Hunter Miller
88f20e2208 Merge branch 'dist' of github.com:urbit/urbit into dist 2021-09-23 21:11:13 -05:00
Hunter Miller
75bb540c2d grid: notifications mobile styles and other tweaks 2021-09-23 21:09:48 -05:00
Liam Fitzgerald
4267f69e3c hark: cleanup edges 2021-09-24 11:10:02 +10:00
Liam Fitzgerald
b532e629f3 grid, interface: fix localStorage versioning 2021-09-24 10:08:23 +10:00
Liam Fitzgerald
e1ee384e05 interface: rename Landscape -> Groups 2021-09-24 10:03:09 +10:00
Hunter Miller
4b5e827cbd Merge branch 'dist' of github.com:urbit/urbit into dist 2021-09-23 17:30:24 -05:00
Hunter Miller
421155285f system-prefs: better mobile styles 2021-09-23 17:30:18 -05:00
Hunter Miller
1f69b175e9 interface-prefs: fixing bad logic 2021-09-23 17:29:39 -05:00
Ted Blackman
6e8d6bfb83 Merge branch 'dist' of github.com:urbit/urbit into dist 2021-09-23 18:12:24 -04:00
Ted Blackman
6bf3a7fe4c Merge branch 'ted/dist-migrate-wip' into dist 2021-09-23 18:12:09 -04:00
Ted Blackman
c80fb82318 clay,kiln,landscape/notify: migration runs 2021-09-23 18:07:13 -04:00
Hunter Miller
d4dadcdacb fonts: adding missing weight 2021-09-23 15:58:01 -05:00
Hunter Miller
b0ccb67adc errors: more robust error handling 2021-09-23 14:35:55 -05:00
Fang
9f89dadc41
dojo: support running other-desk generators
Syntax is +desk#gen. (We can probably find something nicer.)

:app|gen desugars to :app +desk#gen, where the desk is the desk the app
is running on.

:app|desk#gen currently broken, in the sense that the above desugaring
takes precedence.

+on-load just aborts any running user action to avoid having a
monstrously large state adapter.
2021-09-23 20:09:54 +02:00
Hunter Miller
a9917cf2ec versioning: more consistent updates than tags 2021-09-23 09:34:41 -05:00
Hunter Miller
6440e75841 install: fixing dialog width on mobile 2021-09-23 09:23:37 -05:00
Liam Fitzgerald
5dadee5375 Merge remote-tracking branch 'origin/dist' into m/dist-ames-glob-fixes 2021-09-23 15:50:55 +10:00
Liam Fitzgerald
b0f6f59b01 docket: move hash outside buccen 2021-09-23 15:45:13 +10:00
Liam Fitzgerald
42e19b53f6 grid, interface: glob 2021-09-23 15:08:31 +10:00
Ted Blackman
16abd02a66 gall: set %hood to %base during dist upgrade 2021-09-22 23:11:41 -04:00
Hunter Miller
e39f1270e5 Merge branch 'dist' of github.com:urbit/urbit into dist 2021-09-22 21:57:16 -05:00
Hunter Miller
bbdc7e3bdb grid: fixing inter and manifest link 2021-09-22 21:57:07 -05:00
Liam Fitzgerald
d02a83a20b interface: remove notifications redirect causing crash
Fixes urbit/landscape#1188
2021-09-23 12:11:05 +10:00
Liam Fitzgerald
802a0f91c2 interface: dedupe pendings in DM sidebar
Fixes urbit/landscape#1184
2021-09-23 12:11:05 +10:00
Liam Fitzgerald
57d0a7def4 group-view: do not crash on rejoin
Fixes urbit/lansdcape#1113
2021-09-23 12:11:05 +10:00
Liam Fitzgerald
be30ebb397 grid: archive notifications without following
Fixes urbit/landscape#1172
2021-09-23 12:11:05 +10:00
Liam Fitzgerald
7de7917294 interface: fix sharing private profile
Fixes urbit/landscape#1189
2021-09-23 12:11:05 +10:00
Hunter Miller
2382130e39 Merge branch 'hm/disable-prefs-non-https' into dist 2021-09-22 15:58:20 -05:00
Hunter Miller
9b3f32437c favicon: adding all the tags required with new icon 2021-09-22 15:55:11 -05:00
Fang
6812d15480
gall, kiln: better migration logic 2021-09-22 22:34:20 +02:00
Hunter Miller
77667a52b5 prefs: disable prefs that rely on https 2021-09-22 14:44:38 -05:00
Hunter Miller
1e21dd43eb leap: removing notifications from index 2021-09-22 13:59:05 -05:00
Fang
f70ec7f4c4
Merge remote-tracking branch 'origin/dist' into ted/dist-migrate-wip 2021-09-22 20:55:43 +02:00
Hunter Miller
c61a668c81 recent-apps: remove recent when suspending/removing 2021-09-22 11:56:52 -05:00
Hunter Miller
7d0554f460 tile: don't allow near white tiles 2021-09-22 10:14:47 -05:00
Fang
eb1ec5b749
clay: clean up migration error case printfs 2021-09-22 15:45:04 +02:00
Liam Fitzgerald
dab1084842 landscape: update glob, again 2021-09-22 14:47:14 +10:00
Liam Fitzgerald
2804c86587 interface: fixed glob 2021-09-22 14:45:11 +10:00
Liam Fitzgerald
6c6b7a526c grid, interface: glob 2021-09-22 14:25:01 +10:00
Liam Fitzgerald
973e642f42 grid: fix gray color on notifs, sidebar menu
Fixes urbit/landscape#1170
2021-09-22 14:10:46 +10:00
Liam Fitzgerald
50061a72b1 grid: optimistic notification opening 2021-09-22 14:10:11 +10:00
Liam Fitzgerald
24b713a1ea grid: correct name for landscape
Fixes urbit/landscape#1168
2021-09-22 14:04:50 +10:00
Liam Fitzgerald
bf2f8cb6ce grid: margin in SysPref sidebar
Fixes urbit/landscape#1171
2021-09-22 13:56:10 +10:00
Liam Fitzgerald
1aa8f9a1e8 grid: optimistic app install
Fixes urbit/landscape#1169
2021-09-22 13:51:53 +10:00
Liam Fitzgerald
05f6230d60 grid: disable button during install
Fixes urbit/landscape#1178
2021-09-22 13:45:43 +10:00
Liam Fitzgerald
738127a22f interface: fix group feed unread count 2021-09-22 13:43:10 +10:00
Liam Fitzgerald
281ad108a0 grid: fix OTA pausing 2021-09-22 13:39:47 +10:00
Liam Fitzgerald
ab09eb6e01
Merge pull request #5240 from urbit/lf/pause-fixes
hood: fix pause poke
2021-09-22 13:31:51 +10:00
Liam Fitzgerald
f3befc8afc hood: fix pause poke 2021-09-22 13:20:05 +10:00
Hunter Miller
86038e089c color: fixing color normalization and adding to avatars 2021-09-21 21:53:39 -05:00
Hunter Miller
e7890f093d Merge branch 'dist' of github.com:urbit/urbit into dist 2021-09-21 21:30:39 -05:00
Hunter Miller
94d01f0d43 recent-apps: only handle by key so always fresh 2021-09-21 21:30:17 -05:00
Liam Fitzgerald
d3802fa0c0 interface: render app preview in link block 2021-09-22 12:01:57 +10:00
Hunter Miller
79142fe4af embed: removing testing code 2021-09-21 20:47:25 -05:00
Liam Fitzgerald
e93cdb654e interface: fix unread counts on tiles 2021-09-22 11:31:55 +10:00
Liam Fitzgerald
eedf6edf4d garden,landscape: update globs 2021-09-22 10:55:11 +10:00
Liam Fitzgerald
7b262c78ce docket: remove index.html caching 2021-09-22 10:11:31 +10:00
Liam Fitzgerald
6a6eff9fe5
Merge pull request #5237 from urbit/lf/default-ally
treaty: default to hardcoded ship instead of sponsor
2021-09-22 09:59:38 +10:00
Liam Fitzgerald
cbae49c02a
Merge pull request #5239 from urbit/hm/landscape-dist-fixes
interface: dist fixes
2021-09-22 09:58:48 +10:00
Fang
904165f83a
clay: don't forget the extra q
+load still nest-fails though.
2021-09-22 01:39:29 +02:00
Fang
f588ea9feb
clay: grab tmp desk jamfile correctly 2021-09-22 01:16:21 +02:00
Ted Blackman
30364ab29b clay: wip migration 2021-09-21 19:13:54 -04:00
Hunter Miller
1c51b7d4ae permalinks: better handling and onboarding, removing tiles too 2021-09-21 17:56:52 -05:00
Hunter Miller
335f8cb92f system-prefs: fixing base ota toggle and adding disabled to link handling toggle 2021-09-21 17:12:17 -05:00
Hunter Miller
d415173bab permalink: app embed responsive sizing 2021-09-21 16:25:36 -05:00
fang
8cc92751ee
webterm: adjust tile color
Fixes urbit/landscape#1167.
2021-09-21 22:38:52 +02:00
Hunter Miller
72ddbf1eb1 service-worker: fixing path and scope 2021-09-21 15:13:46 -05:00
Fang
514c54b46e
docket: change chad to %hung if glob watch fails 2021-09-21 19:28:52 +02:00
Fang
0512ed1281
Revert "kiln: better +install-local fix"
This reverts commit e4949aeb6f.

The better fix wasn't better at all!
2021-09-21 19:06:03 +02:00
Hunter Miller
ff024adfc7 hash: removing in favor of grid 2021-09-21 11:58:47 -05:00
Fang
b41aaf8f10
docket: stop eating fresh globs and their hashes
When we uploaded a glob we hosted, we'd write a new docket to clay,
triggering a %commit.
The handling of this would:
- fail to update the docket in state,
- and discard our new glob, because the docket had changed.

Here we properly update the docket mirror in state, and make sure to
keep the glob around if its hash lines up.
2021-09-21 18:19:38 +02:00
Fang
e4949aeb6f
kiln: better +install-local fix
We have an upstream, and it is local.
2021-09-21 17:53:17 +02:00
Fang
75cc6aa28a
docket: add explicit hash to http globs 2021-09-21 17:52:45 +02:00
Fang
f1bb35fcee
docket: update docket file's glob hash on upload
If the docket says the glob is a local ames glob, then update the hash
to match the newly uploaded glob.

One would naively expect this to result in a %commit fact being
received, letting us update our state through the usual mechanism.
This is, for some reason, not the case...
2021-09-21 17:42:45 +02:00
Fang
8d91e8a903
kiln: safer +install-local printf
We don't have upstream tracking state for local installs, so this
would just crash.
2021-09-21 17:32:27 +02:00
Fang
4e453a9051
docket: hash-based glob-ames, handle within app
Instead of going through the thread. This works around a mark
definition issue and lets the docket file be more precise about
version selection. (Though older globs likely won't be kept around.)
2021-09-21 16:18:41 +02:00
Fang
976a071e5c
docket: stub out only glob _data_ in dbug state
And make it (hopefully) more obvious that it's getting stubbed out.
2021-09-21 16:17:53 +02:00
Liam Fitzgerald
e0a029dbdf landscape: update glob 2021-09-21 15:13:53 +10:00
Liam Fitzgerald
4fb53eff14 grid: use default ally instead of ~zod 2021-09-21 14:53:57 +10:00
Liam Fitzgerald
f6b5377d8f treaty: hardcode default ally 2021-09-21 14:53:32 +10:00
Liam Fitzgerald
e8148f20dd base-dev,arvo: update marks, add %ship mark 2021-09-21 14:51:57 +10:00
Liam Fitzgerald
7194b3586c garden,landscape: update globs 2021-09-21 14:28:45 +10:00
Liam Fitzgerald
b8d68291f2 interface: update permalinks 2021-09-21 14:14:01 +10:00
Liam Fitzgerald
4792776f07 grid: fix breakage caused by type change 2021-09-21 14:13:02 +10:00
Liam Fitzgerald
079b6cea2e @urbit/api: resync hood types 2021-09-21 14:11:58 +10:00
Liam Fitzgerald
848f52a8ad Merge remote-tracking branch 'origin/dist' into lf/dist-fixes 2021-09-21 13:44:12 +10:00
Liam Fitzgerald
37b1e9569b
Merge pull request #5228 from urbit/hm/landscape-app-link
interface: app permalink embeds
2021-09-21 13:43:41 +10:00
Liam Fitzgerald
b9b5091759 interface: surface pending DMs 2021-09-21 13:43:04 +10:00
Liam Fitzgerald
d36be73933 interface: add loaded flag to metadata state 2021-09-21 13:39:02 +10:00
Liam Fitzgerald
9cc2d07a4e dm-hook: notify on pending 2021-09-21 13:34:09 +10:00
Liam Fitzgerald
2d3db95aa5 grid: revive mocked notifications 2021-09-21 12:51:23 +10:00
Liam Fitzgerald
55da88a32a hark-system-hook: reconfigure update notifications 2021-09-21 12:51:03 +10:00
Liam Fitzgerald
571f8cef5e kiln: actually unpause desk 2021-09-21 12:49:04 +10:00
Hunter Miller
c7cafd8e1a permalink: fixed path and spider case 2021-09-20 21:09:19 -05:00
Hunter Miller
e9ac2bd9cf types: correcting path type v2 2021-09-20 20:34:23 -05:00
Hunter Miller
7aefdd957d Merge branch 'dist' into hm/landscape-app-link 2021-09-20 20:04:03 -05:00
Liam Fitzgerald
8748b115a2
Merge pull request #5236 from urbit/hm/grid-qa-fixes
grid: qa fixes round 1
2021-09-21 10:10:24 +10:00
Fang
c0bfab9bf5
clay: wip migrate from desk jams
To work around mark availability issues.
2021-09-21 00:28:31 +02:00
Hunter Miller
9047053e13 grid: lots of fixes 2021-09-20 16:30:22 -05:00
Ted Blackman
55306b503c zuse: fix build errors 2021-09-20 17:22:32 -04:00
Fang
e9aa3821ef
zuse, clay: further wip migration 2021-09-20 23:13:04 +02:00
Hunter Miller
0aba0eed23 local-storage: versioning 2021-09-20 14:54:50 -05:00
Fang
da28fbfed9
Merge dist into m/distpilled 2021-09-20 19:35:51 +02:00
Fang
5cf8e5a484
docket: account for new kiln fact mark 2021-09-20 19:30:26 +02:00
fang
5afa9f4974
Merge pull request #5220 from urbit/m/dist-glob-upload-docs
dist: docket: improve upload page
2021-09-20 19:16:48 +02:00
Ted Blackman
fb8c73e39a zuse,clay: WIP +migrate-dist 2021-09-20 13:01:48 -04:00
Ted Blackman
04e010e6c8 Merge branch 'dist' into ted/dist-migrate-wip 2021-09-20 07:43:43 -04:00
Liam Fitzgerald
ea5570655b garden: hark-store typo 2021-09-20 14:51:01 +10:00
Liam Fitzgerald
240b0bd077 arvo: start %herm by default 2021-09-20 14:43:59 +10:00
Liam Fitzgerald
afc42760ea grid, interface: glob 2021-09-20 14:39:49 +10:00
Liam Fitzgerald
d593561b0f interface: fix misc bugs 2021-09-20 14:34:55 +10:00
Liam Fitzgerald
a49399269b grid: fix notification state 2021-09-20 14:30:08 +10:00
Liam Fitzgerald
0655d72fd4 hark-store: fix %archive-all 2021-09-20 14:15:19 +10:00
Liam Fitzgerald
2b9df91f2a interface: update landscape glob 2021-09-20 12:17:54 +10:00
Liam Fitzgerald
71f8b9a90b settings-store: handle missing desk 2021-09-20 12:17:54 +10:00
Hunter Miller
2dbfbedd05 app-reference: correcting structure and hoon typings 2021-09-17 18:25:32 -05:00
Liam Fitzgerald
ce8f9d00fb hood: respect ordering of agents in bill 2021-09-17 15:43:30 +10:00
Liam Fitzgerald
7b9b0c62b7 various: update symbolic merges 2021-09-17 14:54:01 +10:00
Liam Fitzgerald
143a8e08e6 various: fix dependencies & tests 2021-09-17 14:51:19 +10:00
Liam Fitzgerald
94fc096b80 Merge remote-tracking branch 'origin/dist' into lf/nu-hark-store 2021-09-17 12:57:56 +10:00
Liam Fitzgerald
e515314215
Merge pull request #5223 from urbit/hm/grid-tweaks
grid: various fixes and tweaks
2021-09-17 12:49:17 +10:00
Liam Fitzgerald
f690752180
Merge pull request #5219 from urbit/m/dist-webterm
dist: webterm: standalone package
2021-09-17 12:46:48 +10:00
Liam Fitzgerald
f28bcf803f Merge remote-tracking branch 'origin/dist' into lf/nu-hark-store 2021-09-17 11:41:33 +10:00
Liam Fitzgerald
caad190e22 garden-dev: fix hark-store sur/ packaging 2021-09-17 10:51:30 +10:00
Liam Fitzgerald
faa1a515aa interface: replace invites, joining 2021-09-17 10:50:02 +10:00
Liam Fitzgerald
8a457c0762 landscape: update hark hooks for timeboxing 2021-09-17 10:48:38 +10:00
Liam Fitzgerald
993b529b9d grid: update for new hark timeboxing 2021-09-17 10:45:06 +10:00
Liam Fitzgerald
1d94d08d60 garden: rework hark-store timeboxing 2021-09-17 10:44:35 +10:00
Fang
6e487eb2fb
webterm: add glob url to desk.docket 2021-09-17 00:07:19 +02:00
Hunter Miller
58ea2b77a1 nav: better close behavior and small tweaks 2021-09-16 17:05:29 -05:00
Hunter Miller
77ad1fdb36 permalink: app embed image support 2021-09-16 16:23:11 -05:00
Hunter Miller
d786c8d677 permalink: app embeds 2021-09-16 16:05:54 -05:00
Ted Blackman
3b30b67a3e Merge branch 'ted/kiln-warp' into m/distpilled, and
modify Kiln to listen for %writ's from Clay to track commits to Clay
that were not generated by Kiln itself.
2021-09-16 12:25:02 -04:00
Hunter Miller
1d71c83581 suspend-dialog: removing ungrammatical comma 2021-09-16 09:29:35 -05:00