J
713954a8bb
gcp: mark for tokens, token-to-json
2021-02-24 19:30:49 +00:00
janeway-bot
05eb92ca55
Merge 6b30a6c47d
into release/next-js
2021-02-24 08:27:51 +04: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
Liam Fitzgerald
6f4c089250
Merge pull request #4479 from urbit/mp/landscape/ship-contacts
...
ShipSearch: update for flattened contacts
2021-02-24 11:19:19 +10:00
matildepark
fb4f786339
Merge pull request #4488 from urbit/mp/landscape/metadata-hidden
...
MetadataIcon: hide image overflow
2021-02-23 20:18:30 -05:00
matildepark
b4333c711e
Merge pull request #4486 from urbit/mp/landscape/authors
...
links, publish, notifications: work with flattened contacts
2021-02-23 20:18:14 -05:00
matildepark
d7337ed1d2
MetadataIcon: hide image overflow
...
Prevents visible cutoff given we have border-radius.
2021-02-23 20:02:33 -05: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
matildepark
a89f509a2c
Merge pull request #4487 from urbit/mp/landscape/change-groupsearch-method
...
GroupSearch: use includes, not startsWith
2021-02-23 19:46:45 -05:00
matildepark
3bc6737c6e
Merge pull request #4485 from urbit/mp/landscape/group-join-placeholders
...
landscape: bring placeholder group joins to parity
2021-02-23 19:44:08 -05:00
matildepark
244f290924
Merge pull request #4480 from urbit/mp/landscape/timestamp-size
...
chat: set timestamp size to 1 in unread-notice
2021-02-23 19:41:29 -05: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
Matilde Park
e0b30165da
hark-fe: fix for flattened contacts
...
Fixes urbit/landscape#458
2021-02-23 18:10:27 -05: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
Matilde Park
9758ec635c
GroupSearch: use includes, not startsWith
...
Loosely searches for group titles.
Fixes urbit/landscape#477
2021-02-23 17:26:27 -05: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
Matilde Park
d3467e6961
GroupLink: address #4485 design review
2021-02-23 17:16:06 -05:00
Matilde Park
fbc7e51a8e
links, publish: work with flattened contacts
...
Fixes urbit/landscape#457
2021-02-23 17:06:03 -05:00
Matilde Park
f77e1da331
landscape: bring placeholder group joins to parity
...
Fixes urbit/landscape#478
2021-02-23 16:31:15 -05:00
J
860343e3d4
-get-gcp-jwt: clean up references, use +ot
...
Moves =, closer to call sites so it's clearer what's coming from where.
Also uses +ot, allowing a less horrifying +sign-jwt. This also seems to
not jump back and forth between tapes and cords as much, for what that's
worth.
2021-02-23 21:14:35 +00:00
Jōshin
ac40b5cf24
-get-gcp-jwt: produce a JWT for use in GCP Storage
2021-02-23 21:13:30 +00:00
Jōshin
08791901b7
sh/poke-gcp-account-json: poke gcp storage values
...
To support GCP storage, we want to poke entries from a service account
JSON file into settings-store. This script does that.
2021-02-23 21:10:50 +00:00
Jōshin
ed3d5a233e
Merge pull request #4474 from urbit/jo/zuse-enjs-time
...
Supports @da-to-unix and unix-to@da conversion with both second and millisecond resolution in both chrono:userlib and en/dejs:format. Stops rounding up to the next millisecond in enjs.
2021-02-23 13:07:15 -08:00
Jōshin
1a0d26f03b
pill: solid
2021-02-23 20:44:18 +00:00
matildepark
859fc6422a
Merge pull request #4481 from urbit/james/daybreak-padding
...
chat: correctly pad daybreak divider
2021-02-23 15:12:59 -05:00
Jōshin
92a0b5eadf
zuse: simplify +di/du:dejs:format
2021-02-23 19:46:21 +00:00
Jōshin
9e69892631
zuse: time conversion fixes
...
State before: in chrono:userlib, there were second-resolution
@da-to-unix and unix-to-@da functions. In en/dejs:format, there were
millisecond-resolution @da-to-unix and unix-to-@da functions. The
@da-to-unix path in time:enjs confusingly rounded to the nearest
millisecond, meaning millisecond n was a label for [n-0.5, n+0.5) rather
than [n, n+1).
This adds a millisecond-resolution @da-to-unix and unix-to-@da to
chrono:userlib, and a second-resolution conversion to en/dejs:format.
It makes use of the chrono:userlib functions in en/dejs, and doesn't do
any rounding.
Backwards-incompatible changes:
- made unt:chrono:userlib take a @da rather than @.
2021-02-23 19:46:21 +00:00
James Acklin
a68f929eed
chat: pad message, not daybreak
...
Fixes urbit/landscape#475
2021-02-23 13:33:07 -05:00
janeway-bot
7be3a8445f
Merge 50d45b0703
into release/next-js
2021-02-23 21:35:58 +04:00
fang
50d45b0703
gen: ensure +tally can run successfully
...
Apparently the group-store scry interface was changed recently.
2021-02-23 18:33:15 +01:00
Matilde Park
4ac0a001bd
chat: set timestamp size to 1 in unread-notice
2021-02-22 16:23:11 -05:00
matildepark
390a17b706
Merge pull request #4477 from urbit/james/blockquote-spacing
...
chat: blockquote spacing
2021-02-22 15:52:48 -05:00
James Acklin
97a6298889
chat: address PR comments
...
Fixes urbit/landscape#473
2021-02-22 15:29:24 -05:00
Matilde Park
fc2dd935b5
ShipSearch: update for flattened contacts
2021-02-22 15:22:15 -05:00
matildepark
e202a6425b
Merge pull request #4470 from urbit/james/miniprofile
...
interface: fixes miniprofile layout, restores actions
2021-02-22 14:43:14 -05:00
matildepark
a624519f62
Merge pull request #4466 from urbit/mp/landscape/safari-flex-shrink
...
landscape: prevent settings collapse on safari
2021-02-22 14:38:18 -05:00
matildepark
75f8cf573e
Merge pull request #4469 from urbit/james/chat-mention
...
chat: correctly position mentions
2021-02-22 14:31:58 -05:00
janeway-bot
1645e8597f
Merge 9a777e84de
into release/next-js
2021-02-22 23:24:22 +04:00
Joe Bryan
9a777e84de
Merge pull request #4467 from urbit/jb/test-runner
...
ci: fix test harness output, report build failures
2021-02-22 11:23:54 -08:00
James Acklin
b6cdbf60c5
chat: eliminate blockquote padding and newline break, pad last message
...
Fixes urbit/landscape#473
2021-02-22 12:15:01 -05:00
James Acklin
06750bf856
chat: lints custom.css
...
Fixes urbit/landscape#473
2021-02-22 12:13:44 -05:00
matildepark
5f138e80ac
Merge pull request #4473 from urbit/lf/img-cors
...
RemoteContent: remove crossOrigin attribute if CORS unsupported
2021-02-21 23:31:27 -05:00
Liam Fitzgerald
ecb835f949
RemoteContent: remove crossOrigin attribute if CORS unsupported
2021-02-22 14:01:08 +10:00