Commit Graph

198 Commits

Author SHA1 Message Date
Liam Fitzgerald
8135f32816 Merge branch 'next/groups' 2021-11-04 16:14:17 -05:00
Liam Fitzgerald
6aaa94a333
Merge pull request #5376 from urbit/lf/nuke-beginners
interface: remove beginner's island
2021-11-04 11:41:42 -05:00
fang
3953ec0ab0
docket: add scry endpoint for app versions
Applications might want to do rudimentary version control prior to
scrying and other such operations.
2021-10-29 11:17:02 +02:00
Liam Fitzgerald
a931707039 garden: update docket version 2021-10-28 12:08:59 -05:00
Liam Fitzgerald
9dc45c3f13
Merge pull request #5375 from urbit/lf/fix-hark-slow
hark-store: cap size of half-open timeboxes
2021-10-28 12:07:17 -05:00
Liam Fitzgerald
2871ea87d5 hark-system-hook: use correct mark for cage from kiln 2021-10-28 09:04:00 -05:00
fang
b3ea3d245d
Merge pull request #5377 from urbit/m/glob-safari-note
docket: note browser compatibility on upload page
2021-10-27 01:21:53 +02:00
fang
da1495e398
docket: note browser compatibility on upload page 2021-10-27 01:15:03 +02:00
Hunter Miller
2777bd9942 grid: updated glob 2021-10-26 17:01:56 -05:00
Liam Fitzgerald
4ba1223c3f hark-store: cap size of half-open timeboxes
Prevents unnecessarily large timeboxes from accumulating, which can
negatively impact performance.
2021-10-26 15:47:59 -05:00
Liam Fitzgerald
28744a83bf settings-store: remove tutorial setting 2021-10-26 09:30:24 -05:00
Liam Fitzgerald
ff7494f3fa various: update pills, globs, docket 2021-10-25 22:16:53 -05:00
Liam Fitzgerald
a3664da492
Merge pull request #5361 from urbit/lf/post-assembly-grabbag
garden/landscape: fixes
2021-10-25 19:55:57 -05:00
Liam Fitzgerald
d7d745a30f hark-store: fix cache coherency in +opened 2021-10-25 12:57:17 -05:00
Liam Fitzgerald
7cc2ab5022 docket: +add-fact after %site install
The fact used to be generated before we updated the state to reflect the
new status of the charge. Moves fact creation after the state is
updated, ensuring that %site desks will install properly inside the web
interface
2021-10-21 15:23:08 -05:00
Liam Fitzgerald
f91f0dd2b6 hark-store: wipe archive to remove dupes 2021-10-21 14:25:02 -05:00
Liam Fitzgerald
678cf651ad hark-store: add tests, fix memory leak 2021-10-21 13:41:14 -05:00
Hunter Miller
7aedd77d20 grid: updating glob 2021-10-14 16:44:49 -05:00
fang
b6bdd4fed6
Merge pull request #5286 from urbit/m/multi-type
docket: better glob upload handling
2021-10-12 23:47:57 +02:00
Jake Miller
ff81f00ec3
Merge branch 'release/next-userspace' into lf/grid-leap-ally 2021-10-06 18:10:43 -04:00
Hunter Miller
52ad639e1e grid: fixing types and updating glob 2021-10-06 16:14:38 -05:00
Jake Miller
af2a1bfb10
Merge pull request #5306 from urbit/jm/fix-ames-glob
spider, docket: fix versioning and validate-mark
2021-10-06 15:01:19 -04:00
fang
e6d4f204d3
treaty: pr fixup 2021-10-06 21:15:38 +04:00
fang
d9267a62d8
treaty: whitespace 2021-10-06 21:15:17 +04:00
ryjm
084f74129b spider, docket: fix versioning and validate-mark 2021-10-05 22:46:07 -04:00
Hunter Miller
f5fc13706a grid: updating glob 2021-10-04 15:16:57 -05:00
Liam Fitzgerald
cfb10b621c treaty: fixup subscriptions 2021-10-04 16:01:12 +10:00
fang
ef93dd88d2
docket: correctly en-vase a docket definition 2021-10-02 17:30:56 +02:00
fang
7ca810f2cf
docket: show error msgs earlier during glob upload
The error could mean that we don't have a valid `desk`. We want to show that
message, instead of trying to `(~(got by charges) desk)`.

Fixes #5282.
2021-10-01 15:25:38 +02:00
fang
51f4c83352
multipart: more lenient content-type parsing
It's not uncommon for files to have mime types like `image/svg+xml`.
The + in there was tripping up the strictly-`@ta` parser for the content-type.

Here we change the parser to accept +, and all the other characters that the
`@t` parser accepts. This is perhaps a bit overkill, but we primarily care
about getting the parsed request to the caller. If any further validation is
required, it can happen upstream.

Fixes #5282.
2021-10-01 15:22:22 +02:00
Hunter Miller
b117bc8189 avatar: fixing ship rendering and updating glob 2021-09-29 18:28:46 -05:00
Hunter Miller
36a29eec8a Merge branch 'dist' of github.com:urbit/urbit into dist 2021-09-29 15:05:24 -05:00
Hunter Miller
2158206170 grid: updating globs 2021-09-29 15:05:15 -05:00
Fang
21d721c00f
docket: ignore absent docket file for kids 2021-09-29 23:20:58 +04:00
Liam Fitzgerald
029f839be5 treaty: prevent networking loops 2021-09-30 00:32:20 +10:00
Liam Fitzgerald
ebe5fe68ef various: update pills, jams, docket 2021-09-29 22:53:18 +10:00
Liam Fitzgerald
452d6cab74 garden: update docket, jam 2021-09-29 20:01:30 +10:00
Liam Fitzgerald
354f146cee settings-store: migrate to %landscape 2021-09-29 19:38:42 +10:00
Liam Fitzgerald
df7b6787a0 docket: fix broket |install 2021-09-29 18:33:00 +10:00
Liam Fitzgerald
ff2e1f1c6f arvo: update jamfiles, pills, dockets 2021-09-29 16:09:22 +10:00
Liam Fitzgerald
a8c6030f0b various: disable verb-by-default 2021-09-29 14:48:27 +10:00
Liam Fitzgerald
d1c9b4cdf6 garden: fix app links 2021-09-29 13:27:28 +10:00
Liam Fitzgerald
31f5898087 kiln: track original publisher with desk.ship file 2021-09-29 13:27:28 +10:00
Fang
fba9fb4aad
docket: don't crash on receiving uninstall ack
We should've already deleted it from state by this point.
2021-09-29 00:49:44 +04:00
Fang
514c17ee8e
glob: move mark to the right place 2021-09-29 00:44:37 +04:00
Fang
aa98a175ef
docket: write docket-0 to disk on-glob-upload 2021-09-29 00:38:32 +04:00
Ted Blackman
89507f108d
Merge pull request #5262 from ryjm/jm/move-glob
garden: move glob from base-dev to garden
2021-09-28 15:54:08 -04:00
Ted Blackman
7eb08a1a40 docket: silence boring %base printf 2021-09-28 15:51:27 -04:00
Ted Blackman
5511cc95b5 docket,kiln: snapshot on %watch 2021-09-28 15:33:16 -04:00
Fang
1c90c0c9e7
docket: muh versioned marks 2021-09-28 23:22:06 +04:00
ryjm
e7ab54f73b garden: move glob from base-dev to garden
Since spider tracks the thread's source desk now, the glob mark can live
in %garden rather than %base-dev. The mark is only used to verify
a glob from ames in docket.
2021-09-28 15:18:10 -04:00
Hunter Miller
d738d1f0e4 Merge branch 'dist' of github.com:urbit/urbit into dist 2021-09-28 14:12:09 -05:00
Hunter Miller
5481d4f590 glob: updating grid and landscape 2021-09-28 14:12:06 -05:00
Fang
dca7742321
treaty: fix the other un-versioned mark instance 2021-09-28 22:59:47 +04:00
Fang
899aadf750
treaty: send treaty with the versioned mark 2021-09-28 22:33:40 +04:00
Hunter Miller
ce587b0c1e
Merge pull request #5260 from urbit/lf/fe-fixes
dist: FE fixes
2021-09-28 12:42:48 -05:00
Fang
e03ec03fc0
docket: set chad to %hung if glob hashes mismatch 2021-09-28 20:53:08 +04:00
Fang
8c368e639e
docket: always %leave previous fetch-glob
This just no-ops if it doesn't exist. If it does, we avoid the
duplicate-subscription-wire problem.
2021-09-28 20:52:19 +04:00
Fang
526e60b04c
strandio: fail when http request gets cancelled
Instead of waiting for a proper response. Iris doesn't currently retry!

Also updates docket to detect this case and retry appropriately.
2021-09-28 20:51:51 +04:00
Fang
d0091baa62
desk-jams: update
Also cleans docket back up.
2021-09-28 19:30:07 +04:00
Fang
6277213079
tmp: debug printfs 2021-09-28 18:30:12 +04:00
Fang
5cae9185f0
meta: fixup merge 2021-09-28 17:40:46 +04:00
Fang
400d2e4f44
Merge remote-tracking branch 'origin/lf/versioning-marks-dist' into dist 2021-09-28 17:13:33 +04:00
Liam Fitzgerald
8219f25093 garden: fix notification archival
Fixes urbit/landscape#1214
2021-09-28 14:32:38 +10:00
Liam Fitzgerald
77f7b05939 kiln: version external marks 2021-09-28 12:50:45 +10:00
Liam Fitzgerald
f3f13b1261 garden: version treaty, docket 2021-09-28 12:50:45 +10:00
ryjm
7fd9e6fcaa spider garden: restore |. 2021-09-27 21:23:46 -04:00
ryjm
472f16fd2e garden spider: address comments 2021-09-27 21:23:46 -04:00
ryjm
47a6aa2753 spider garden: remove sigpams and move glob mark 2021-09-27 21:23:46 -04:00
ryjm
3fd6722f90 garden: update glob thread for ames 2021-09-27 21:23:46 -04:00
ryjm
ddf9e769ae spider, docket: move back to threads 2021-09-27 21:23:46 -04:00
Fang
4785dbbee5
docket: %leave glob subscriptions if necessary
If we're about to re-%watch on the same wire, we need to %leave first to
avoid getting into a duplicate wire situation.
2021-09-27 23:57:39 +04:00
Ted Blackman
7665e75849 manual merge @liam-fitzgerald misc. fixes PR 2021-09-27 14:50:58 -04:00
Fang
1640ff6d38
dist: add glob mark, merge base-dev into others
This had fallen off the wagon at some point.
2021-09-27 13:34:23 +04:00
Ted Blackman
2544b79e4b kiln,desks: remove %fish from /desk/bill; fix some other kiln issues 2021-09-26 17:03:26 -04:00
Fang
09c74dbaff
docket: fix "do we have this glob yet" check
We were incorrectly assuming we were comparing against a unit value.

Also makes a ~| more useful.
2021-09-26 21:55:22 +04:00
Fang
131cd82fc8
docket: include hash and target in glob wires
To avoid running into "duplicate wire" situations when we're just trying
to request the latest thing.

Additionally now does hash validation on http globs, and just silently
no-ops if the result we got came from a previous request.
2021-09-26 21:53:13 +04:00
Fang
2836fbde50
docket: better hash mismatch output
Could be useful to know both hashes when a mismatch happens.
2021-09-26 12:49:27 +04:00
Hunter Miller
b5c4ce1e15 grid: updating glob 2021-09-25 17:16:13 -05: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
Hunter Miller
cdf4782a8a grid: fixing glob 2021-09-24 12:15:54 -05: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
Liam Fitzgerald
4267f69e3c hark: cleanup edges 2021-09-24 11:10:02 +10: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
Liam Fitzgerald
6c6b7a526c grid, interface: glob 2021-09-22 14:25:01 +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
Fang
514c54b46e
docket: change chad to %hung if glob watch fails 2021-09-21 19:28:52 +02: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
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
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
f6b5377d8f treaty: hardcode default ally 2021-09-21 14:53:32 +10:00
Liam Fitzgerald
7194b3586c garden,landscape: update globs 2021-09-21 14:28:45 +10:00
Liam Fitzgerald
55da88a32a hark-system-hook: reconfigure update notifications 2021-09-21 12:51:03 +10:00
Fang
da28fbfed9
Merge dist into m/distpilled 2021-09-20 19:35:51 +02:00