Commit Graph

4206 Commits

Author SHA1 Message Date
Liam Fitzgerald
938ba80e9e
hooks: rewatch unversioned on nack 2021-03-19 10:12:50 +10:00
Liam Fitzgerald
ee12180a5d
hooks: allow unversioned subscriptions for migrate 2021-03-19 10:12:50 +10:00
Liam Fitzgerald
669dfacd04
demo: add demo/testing agent for hook libraries 2021-03-19 10:12:50 +10:00
Liam Fitzgerald
fb502ae519
hooks: add generators 2021-03-19 10:12:49 +10:00
Liam Fitzgerald
23e772ece5
hooks: fix remaining bugs 2021-03-19 10:12:49 +10:00
Liam Fitzgerald
0878104538
versioning: address review, add tests 2021-03-19 10:12:49 +10:00
Liam Fitzgerald
c99b452fff
version: add mark 2021-03-19 10:05:09 +10:00
Liam Fitzgerald
1832ce1d60
pull-hook: resume sub-ahead 2021-03-19 10:05:09 +10:00
Liam Fitzgerald
46eea8f3d4
pull-hook: resume pub-ahead 2021-03-19 10:05:08 +10:00
Liam Fitzgerald
35bbb358f2
push-hook: version proxied pokes 2021-03-19 10:05:08 +10:00
Liam Fitzgerald
b9206aacec
contact-hooks: update for versioning 2021-03-19 10:05:08 +10:00
Liam Fitzgerald
37ab1b7b2a
md-hooks: upgrade for versioning 2021-03-19 10:05:08 +10:00
Liam Fitzgerald
4b305b5450
graph-hooks: upgrade for versioning 2021-03-19 10:05:07 +10:00
Liam Fitzgerald
360b447a3e
group-hooks: upgrade for versioning 2021-03-19 10:05:07 +10:00
Liam Fitzgerald
153d0ff347
hooks: fix remaining bugs 2021-03-19 10:05:07 +10:00
Liam Fitzgerald
746ece51ce
clay: allow numbers in +segments 2021-03-19 10:05:06 +10:00
Liam Fitzgerald
200944e91a
push-hook: proper versioning 2021-03-19 10:05:06 +10:00
Liam Fitzgerald
e5d75cac25
pull-hook: version mismatch suspend 2021-03-19 10:05:06 +10:00
Liam Fitzgerald
72fe65acd9
hooks: add versioning support 2021-03-19 10:05:02 +10:00
L
bcc43efdb0
Merge pull request #4584 from urbit/la/host-messages-transformed
push-hook: transform all messages, even the host's
2021-03-17 13:02:58 -05:00
L
fe7fdbcff2
Merge pull request #4596 from urbit/la/signatures-work
graph-store signatures: turn them on and correctly validate them
2021-03-17 13:02:43 -05:00
Logan Allen
6e9146bd58 thread: change name from disable-group-feed to dismiss-group-feed 2021-03-16 13:07:36 -05:00
Logan Allen
5a29e0bbcb graph-view: add json conversion and -graph-dismiss-group-feed thread 2021-03-16 13:01:17 -05:00
fang
779a977167
Merge pull request #4600 from urbit/m/permaclean-gall
gen: delete |wash-gall
2021-03-16 14:22:28 +01:00
Logan Allen
c874849203 metadata + post validator + -graph-create-group-feed: end to end create group feed 2021-03-15 17:28:45 -05:00
Logan Allen
5d7677195e group-view: automatically join the group feed if one is present when we first join a group 2021-03-15 16:04:07 -05:00
Matilde Park
554be3be4f Merge branch 'release/next-js' into release/next-userspace 2021-03-15 13:19:44 -04:00
Logan Allen
3600866a5d push-hook: cache transform and fail if transform fails 2021-03-15 11:59:57 -05:00
Logan Allen
2c1ae5646b push-hook: refactored to transform-proxy-update within forward-update when appropriate. changed a manual |- into +murn 2021-03-12 18:08:34 -06:00
fang
0fbaa373a4
gen: delete |wash-gall
The functionality this would trigger no longer exists.
2021-03-12 22:48:06 +01:00
Logan Allen
5c69e92da4 -graph-add-nodes: sign nodes 2021-03-12 10:53:54 -06:00
Logan Allen
caffd0fca8 signatures: properly use life instead of signed data in scry for deed 2021-03-12 10:52:46 -06:00
Logan Allen
fad1302169 graph-validator-post: reject invalid input 2021-03-12 10:51:36 -06:00
janeway
0a8d82d822
glob: update to 0vtbs05.a6mkl.r5ark.jfj84.3fa4h 2021-03-12 14:35:19 +10:00
Logan Allen
b58e30fba7 metadata-store, observe-hook, threads: auto-joining group feeds works for groups you're already a part of, and so does group feed creation 2021-03-11 15:37:29 -06:00
matildepark
ff21e29594
Merge pull request #4577 from tinnus-napbus/strandio-fix-await-thread
strandio: fix await-thread and thread-result
2021-03-11 14:02:10 -05:00
Liam Fitzgerald
205e827024
Merge remote-tracking branch 'origin/release/next-js' into release/next-userspace 2021-03-11 12:08:35 +10:00
Logan Allen
6d88c471bc -group and -graph threads: update to use new module data structure 2021-03-10 17:22:24 -06:00
tinnus-napbus
210a63e238 strandio: fix await-thread and thread-result
thread-result generated the tid twice and didn't take the kick caused by
the child thread closing. Additionally, await-thread and thread-result
expect a %thread-fail to produce [term (list tang)] rather than the
actual [term tang].

This commit adds a take-kick, removes the duplicate tid line, and fixes the
expected thread-fail type.
2021-03-11 00:25:07 +13:00
raghu
20bcb37989 ddiff: always show full beam in diffs 2021-03-09 22:34:20 -05:00
janeway
d17779972f
glob: update to 0v3.o81b7.9dkd7.6ubrn.ebhmi.dtree 2021-03-10 12:12:21 +10:00
janeway
640190610c glob: update to 0v7.sjbvb.4gg0l.1qmbv.fmobl.d2tsq 2021-03-09 17:18:58 -05:00
Logan Allen
59da9e1f49 Merge branch 'release/next-userspace' into la/group-feed 2021-03-09 13:22:25 -06:00
Logan Allen
63cfbd2ca4 Merge branch 'master' into release/next-userspace 2021-03-09 13:20:22 -06:00
janeway
4e9873359d glob: update to 0v3.i5rmt.7fid4.sr9bh.0pcpi.cmc0v 2021-03-09 18:07:06 +00:00
Logan Allen
7da7da8e1e metadata-store: based on discussion with @ixv, made differences between graphs and groups in metadatum more clear 2021-03-09 11:11:28 -06:00
janeway
1b1871303e glob: update to 0v7.9orhd.ugk69.vmf2f.hcj15.tcf9c 2021-03-08 15:39:01 -05:00
Logan Allen
b2759b9f36 Merge branch 'release/next-js' into la/release-2021-03-04 2021-03-08 14:11:54 -06:00
raghu
a7165e0f85 ddiff: c/r 2021-03-05 17:09:24 -05:00
Logan Allen
45b2ea4096 interface + -group-create thread: group homepage asks if you want to enable feed 2021-03-05 15:21:41 -06:00
Logan Allen
f8a87b81d2 metadata-store: do not discard preview parameter 2021-03-05 14:44:34 -06:00
Logan Allen
9430c8c5ab metadata-store: modify module from @t to (each @t (unit (unit md-resource))) so as to allow for setting an optional group feed associated with a group 2021-03-05 14:28:46 -06:00
Logan Allen
5dd27ebf59 graph-validator-post: built initial graph-validator for group feed 2021-03-05 12:26:30 -06:00
Matilde Park
5f24254793 Merge branch 'release/next-js' into release/next-userspace 2021-03-05 03:22:41 -05:00
Matilde Park
dd244afc8e Merge branch 'master' into release/next-js 2021-03-05 03:22:15 -05:00
Liam Fitzgerald
6cecfaf430
Merge remote-tracking branch 'origin/master' into release/next-js 2021-03-05 15:24:14 +10:00
Philip Monk
ac096d85ae
merge: cast to wain to avoid ford bug
/* is giving us something with an extra `txt` face wrapped around it,
which interacts poorly with wet gates.  An explicit cast fixes it.
2021-03-04 21:17:50 -08:00
janeway
9c9446d77f
glob: update to 0v8buag.lcoib.dupqj.iprqk.spvqf 2021-03-04 19:45:20 -08:00
Philip Monk
538a5eaf15
threads: make compile
mostly by deleting them
2021-03-04 19:35:31 -08:00
Philip Monk
f5ce79da9d
marks: fixup
Many of the marks were broken, and staticizing the marks revealed this.
This makes them build.
2021-03-04 19:21:34 -08:00
Philip Monk
a0146f4a44
clay: add %e, %f requests
For static naves, casts respectively
2021-03-04 18:28:16 -08:00
Philip Monk
631fec25c7
Merge remote-tracking branch 'origin/la/graph-threads' into philip/clay-upgrade 2021-03-04 17:38:38 -08:00
Logan Allen
69fa1296be graph-threads: make %groupify and %restore compile 2021-03-04 19:09:41 -06:00
Philip Monk
f3f875304f
drum-put: clam 2021-03-04 16:26:05 -08:00
Liam Fitzgerald
9e8c4e1471
glob: update 2021-03-05 10:08:03 +10:00
Philip Monk
008f8ac54d
tests: update for removing +volt 2021-03-04 15:20:43 -08:00
janeway
aa07cc4cba
glob: update to 0vah4o5.ark7i.iqunl.or5d7.3rm2e 2021-03-04 14:47:10 -08:00
Philip Monk
3c99ad06ab
noun: add +mash 2021-03-04 14:41:38 -08:00
janeway
7e6672d356
glob: update to 0v1.5ahkf.kj160.veq26.sbnii.p6h5t 2021-03-04 14:28:54 -08:00
raghu
c98e1df819 dojo: print thread results as tang if they are tang 2021-03-04 16:57:41 -05:00
Philip Monk
4a066c8d4d
clay: fix upgrade 2021-03-04 13:41:07 -08:00
janeway
d968d66e81 glob: update to 0v5.04p4c.551r4.4c6os.t537a.3nbjs 2021-03-04 14:56:14 -05:00
matildepark
3ac19c34d8
Merge pull request #4537 from urbit/lf/invite-fixes
invites: don't pin to top
2021-03-04 14:23:20 -05:00
fang
1dccbecbda
Merge pull request #4512 from urbit/m/dbug-cue
dbug: virtualize ames lane cueing
2021-03-04 19:50:57 +01:00
Matilde Park
f1356ed96d Merge branch 'release/next-js' into la/release-2021-03-04 2021-03-04 12:34:01 -05:00
matildepark
1dcdfed9c6
Merge pull request #4461 from urbit/lf/tutorial-revive
tutorial: reenable
2021-03-04 12:24:09 -05:00
L
3e9d5da7ea
Merge pull request #4521 from urbit/lf/hark-future
hark-store: remove visions of future
2021-03-04 11:22:34 -06:00
matildepark
8bf3c809a4
Merge pull request #4478 from urbit/la/transform-proxy
push-hook: replace +should-proxy-update with +transform-proxy-update
2021-03-04 12:04:16 -05:00
Matilde Park
d07f041a5e Merge branch 'release/next-js' into release/next-userspace 2021-03-04 12:01:22 -05:00
Liam Fitzgerald
b8d1dbd8c6
group-view: add hidden field 2021-03-04 12:54:37 +10:00
Philip Monk
137f1cdff3
Merge remote-tracking branch 'origin/ted/static-clay-3' into release/next-sys 2021-03-03 18:42:44 -08:00
Philip Monk
6215137ed5
Merge remote-tracking branch 'origin/ted/ordered-map-fix' into release/next-sys 2021-03-03 18:20:33 -08:00
Philip Monk
faffc74e5d
Merge remote-tracking branch 'origin/m/dbug-cue' into release/next-sys 2021-03-03 18:19:50 -08:00
Philip Monk
0e427c3c7e
Merge commit '5a6a88c' into release/next-sys 2021-03-03 18:18:12 -08:00
Philip Monk
6e3d1680a7
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-03-03 17:54:57 -08:00
fang
5a6a88c4db
Merge pull request #4533 from urbit/m/safer-tally
tally: be safer wrt mangled metadata
2021-03-04 00:13:27 +01:00
matildepark
c16815b003
Merge pull request #4347 from urbit/lf/moar-lsp
language-server: fixes & improvements
2021-03-03 14:51:40 -05:00
matildepark
5e86058ffa
Merge pull request #4509 from urbit/lf/graph-sibling-fixes
hark-graph-hook: upgrade notification-kind to allow for sibling autowatches
2021-03-03 14:50:58 -05:00
Logan Allen
9c178d7f34 Merge branch 'release/next-js' into la/transform-proxy 2021-03-03 12:56:39 -06:00
fang
883a56382f
tally: be safer wrt mangled metadata
Previously, if metadata-store said a graph existed, we'd unconditionally scry
for it. Now, we make sure the graph actually exists, to avoid risking a crash.
2021-03-03 17:14:07 +01:00
janeway
75a00b9c18
glob: update to 0v9flom.311gv.90jce.591n4.d09bf 2021-03-03 11:34:18 +10:00
Logan Allen
379e1840bc -graph-add-nodes: scry properly within a thread 2021-03-02 15:55:58 -06:00
raghu
76a189f544 ddiff: add generator 2021-03-02 15:05:27 -05:00
Logan Allen
48ab4da76c graph-push-hook: build %transform-add-nodes mark to keep cache hot 2021-03-02 14:01:12 -06:00
Logan Allen
e7ad46db15 -graph-add-nodes: add commented out signature support 2021-03-02 13:10:40 -06:00
Raymond E. Pasco
2823b2729b
Change PNG aura from @t to @
No PNG is (sane %t) - the PNG header alone isn't.

This should also be octs, not an atom, as a binary filetype - it works
for PNG purely by coincidence (no valid PNG can end with a sequence of
00 bytes, because they have to end with 00 00 00 00 49 45 4e 44 ae 42 60
82).
2021-03-02 14:00:12 -05:00
Liam Fitzgerald
38968bde94
Merge remote-tracking branch 'origin/release/next-js' into lf/tutorial-revive 2021-03-02 13:11:43 +10:00
Liam Fitzgerald
43b2423db7
hark-store: remove visions of future 2021-03-02 12:43:51 +10:00
Logan Allen
a9232d0df7 graph-view: use all of the proper types, get the API call working to send up the proper hashes 2021-03-01 17:24:21 -06:00
Philip Monk
413413b70c
zuse: traverse always delete 2021-02-26 21:03:20 -08:00
Philip Monk
5ac70ec974
ames: reset num-live to actual number of live packets 2021-02-26 20:53:27 -08:00
Ted Blackman
4c190eb2e9 zuse: ordered-map minor cleanup 2021-02-26 22:39:41 -05:00
Ted Blackman
ccc704b22e zuse: remove unused +nup:ordered-map 2021-02-26 22:38:04 -05:00
Ted Blackman
fcbb70de9e zuse: actually fix ordered-map +traverse this time 2021-02-26 22:37:11 -05:00
Ted Blackman
2442f9bb93 zuse: fix ordered-map delete many 2021-02-26 21:42:22 -05:00
fang
c7d86015aa
dbug: assume new lane encoding 2021-02-27 01:41:16 +01:00
J
c1b259af5b interface, gcp: don't spam the console with 500s
Options here were: make the get-token thread try to return a unit, or
write a different thread to check whether GCP Storage seemed to be
configured and poll on that thread, or move the whole thing into a Gall
app.

The compromise between time-to-implement and overall cleanliness seemed
to be to write a different thread that just checks whether the settings
fields have been poked. Unfortunately this means GcpManager is now a
somewhat hefty JavaScript state machine.

Took out the logic to check whether S3 was configured in GcpManager,
since it was really only there to prevent spamming the console with
500s. If you have both S3 and GCP Storage configured for some reason,
you will now use GCP per the logic in useStorage.
2021-02-26 23:42:57 +00:00
Logan Allen
7c18df399c interface: beginnings of api/reducer integration 2021-02-26 16:59:13 -06:00
Logan Allen
b2ef9044a6 -graph-add-nodes: return (map index hash) upon completion and finish out the json conversion 2021-02-26 14:05:11 -06:00
janeway
6bcbbf8f1a
glob: update to 0v5.ip41o.9jcdb.4jb1f.sd508.fdssj 2021-02-26 17:07:59 +10:00
Liam Fitzgerald
76733e1072
Merge branch 'lf/read-all-fix' 2021-02-26 16:56:58 +10:00
Liam Fitzgerald
4f62de33a3
Merge remote-tracking branch 'origin/ixv/settings-type' 2021-02-26 16:56:15 +10:00
Ted Blackman
04ea4c78b2
ames: +on-hear-shut remove dead code 2021-02-26 16:55:26 +10:00
Ted Blackman
ccea39f865
ames: fix comet handshake 2021-02-26 16:55:24 +10:00
Liam Fitzgerald
04170206bd
hark-graph-hook: upgrade notification-kind to allow for sibling autowatches 2021-02-26 13:37:25 +10:00
Liam Fitzgerald
034fc30173
Merge remote-tracking branch 'origin/release/next-js' into lf/tutorial-revive 2021-02-26 11:26:17 +10:00
Liam Fitzgerald
86bc8b9444
hark-store: bunt cache before rebuilding
Previously, rebuilding the cache in any scenario other than on-load would add
missing notifications but not remove read or dismissed notifications

Fixes urbit/landscape#479
2021-02-26 09:58:48 +10:00
Logan Allen
c5e846d573 -graph-add-nodes: %graph-add-nodes thread that adds a hash to each node being added 2021-02-25 15:56:59 -06:00
Logan Allen
0f7ff055df graph-store: only calculate hash when necessary, only check signatures if necessary 2021-02-25 13:06:26 -06:00
Logan Allen
ae8018d660 graph-push-hook: fixed bugs with validator conversions and with transform 2021-02-25 12:41:17 -06:00
Isaac Visintainer
c0849f2c0b settings: add array type 2021-02-24 17:28:26 -08:00
Logan Allen
19005f3ca3 graph: rewrite +tap-deep to function properly 2021-02-24 19:14:18 -06:00
Logan Allen
6228bc42a6 graph-push-hook: deny imposters even if we have %yes permission 2021-02-24 16:09:56 -06:00
Logan Allen
63dc2f4c36 graph-push-hook: prevent fuse-loop 2021-02-24 15:30:49 -06:00
J
0a23c0f4a4 -get-gcp-token: docs, formatting
Correct expiry from @da -> @dr, and set max cols to 72.
2021-02-24 21:26:59 +00:00
J
d0bb1cc849 gcp: camel-case json key names
Now we can do ({accessKey, expiresIn}) => {...} in JavaScript.
2021-02-24 21:20:39 +00:00
J
d60c3183f7 gcp: lib spacing 2021-02-24 20:55:40 +00:00
J
2a82da55ca -get-gcp-token: error messages
Don't dump extra console output on thread failure. Say 'gcp' in failures
to aid debugging.
2021-02-24 20:37:37 +00:00
J
03e99f52c9 gcp: make expiry relative
This indeed makes it easier on the Landscape side. It also makes it
easier to coerce from the JSON Google gives us, so a win all around.
2021-02-24 20:35:24 +00:00
Ted Blackman
9636b889aa clay: speed up +checkout-changes 2021-02-24 14:43:35 -05:00
J
713954a8bb gcp: mark for tokens, token-to-json 2021-02-24 19:30:49 +00:00
Logan Allen
22d1348e57 graph-push-hook: implement transform-add-nodes mark and properly ingest %add-nodes event 2021-02-24 13:12:46 -06:00
Ted Blackman
0452eb92f2 Merge branch 'release/next-sys' into HEAD 2021-02-24 13:26:51 -05:00
Ted Blackman
4297082966 language-server: fix parser 2021-02-24 13:07:45 -05:00
Ted Blackman
68e1d92fb4 clay: fix tests 2021-02-24 13:07:27 -05:00
Ted Blackman
ce61d49ef9 clay: fix |mass; some renaming 2021-02-24 12:59:13 -05:00
Ted Blackman
19bf227428 clay: remove debug artifacts 2021-02-24 12:44:08 -05:00
Ted Blackman
d447e70b09 clay: fix /% parser; clean up unit tests 2021-02-24 12:18:50 -05:00
Liam Fitzgerald
6b30a6c47d
glob: update to 0v3.10f5l.mmsef.76usq.9a3gk.0rmog 2021-02-24 14:25:45 +10:00
Liam Fitzgerald
7a8e16a2f2
Merge branch 'lf/not-your-mate' 2021-02-24 14:07:54 +10:00
Liam Fitzgerald
491c1b4698
Merge branch 'lf/neg-notifications' 2021-02-24 14:07:45 +10:00
J
328159da67 -get-gcp-token: renamed from -get-gcp-jwt 2021-02-24 00:49:47 +00:00
J
d94f35aa5c gcp: add token type
Also use it in -get-gcp-jwt.
2021-02-24 00:49:47 +00:00
J
a8113182a8 -get-gcp-jwt: vertical 2021-02-23 23:48:50 +00:00
J
6a07130f0d -get-gcp-jwt: correct scope, clean up call
It turns out 'devstorage.read_write' also gives us an access token
instead of a JWT, and is probably more the thing that we want.

Took the opportunity to make scope a macro to clean up the make-jwt call
site.
2021-02-23 23:12:48 +00:00
J
aa93ac49c1 -get-gcp-jwt: sot -> jot, moar vertical
Since we only have one JWT (the thing we produce is an "access token",
not a JWT), we can just call it jot.
2021-02-23 23:03:07 +00:00
J
61d8030ec9 -get-gcp-jwt: documentation, clearer return faces 2021-02-23 22:53:42 +00:00
J
9f43fef85d -get-gcp-jwt: returns time of expiry
Couldn't bring myself to pass in a relative date without a base, so we
instead pass now into get-access-token, and return the time of expiry.
2021-02-23 22:40:05 +00:00
J
b0bb659f12 -get-gcp-jwt: @dr expires_in, cleanup
The expiry field we get from Google is not a timestamp, but a count of
seconds after which the token is invalid (hence, 'expires_in'). We
represent this as a @dr by multiplying the integer we get from Google by
~1s. (Perhaps it will wind up being easier on the Landscape side to
consume the raw integer, but we may as well start off more
type-correct.)

Also cleans up some names now that I'm less confused about how the token
API works, and makes some syntax more vertical.
2021-02-23 22:34:48 +00:00
J
d978e6a551 -get-gcp-jwt: produces an access token
The correct scope to ask for is not devstorage.editor, but
cloud-platform. This will, rather than returning a signed JWT from
Google that looks like it works but doesn't, return a JSON object
containing an access token and expiration time.
2021-02-23 22:18:59 +00:00