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
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
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
Ted Blackman
42c120aaf1
Merge pull request #4454 from urbit/ted/gall-q
...
gall: fixes to %boon handling
2021-02-19 18:16:24 -05:00
Ted Blackman
674b5edb1f
Merge branch 'release/next-sys' into ted/gall-q
2021-02-19 13:42:58 -05:00
fang
a3acc70384
Merge branch 'master' into release/next-sys
2021-02-19 19:31:24 +01:00
Ted Blackman
eb56fbd3f4
ames: shorten error printing; update pill
2021-02-19 11:54:34 -05:00
Ted Blackman
669169be0e
pill: update solid
2021-02-18 22:02:54 -05:00
Ted Blackman
d317a0847b
gall: crash properly on failed %boon from ames
2021-02-18 21:51:44 -05:00
Ted Blackman
b702505ac8
clay: print if +read-at-aeon crashes
2021-02-18 21:50:59 -05:00
Liam Fitzgerald
fab9a47a92
Merge remote-tracking branch 'origin/ixv/settings-existence-scry'
2021-02-19 12:47:47 +10:00
Ted Blackman
473a520b27
ames: more informative printing
2021-02-18 21:47:02 -05:00
Logan Allen
c4dead9661
contact-store: fix is-public being set to false on frontend
2021-02-18 13:19:52 -06:00
Logan Allen
6ee6a99acf
contact-store: upon %edit of a nonexistent contact, make an empty contact and set that field
2021-02-18 11:51:15 -06:00
Isaac Visintainer
815c64b074
settings-store: add existence scry
2021-02-17 16:52:45 -08:00
Ted Blackman
22295f08fb
gall: fix request queue desynchronization bug
2021-02-17 17:57:44 -05:00
Liam Fitzgerald
081c4579b2
glob: update to 0v5.pmklm.qttdl.n8bs0.0tnc4.gg633
2021-02-17 14:35:44 +10:00
Liam Fitzgerald
38dcd49630
Merge branch 'lf/dropdown-bubbling' into release/hot-21-2-17
2021-02-17 14:29:22 +10:00
Liam Fitzgerald
b6513d7f49
Merge branch 'lf/landscape-fixesx' into release/hot-21-2-17
2021-02-17 14:28:53 +10:00
Liam Fitzgerald
57dfc24882
AddChannel: fix sig mismatch
2021-02-17 11:36:00 +10:00
matildepark
319efc829c
Merge pull request #4447 from urbit/mp/links/add-import
...
LinkWindow: add missing 'text' import
2021-02-16 16:41:22 -05:00
matildepark
a348a16c07
Merge pull request #4449 from urbit/mp/chat/code-msg
...
chat: render all code output, not just first line
2021-02-16 16:40:59 -05:00
Matilde Park
240e9b5c5c
chat: render all code output, not just first line
2021-02-16 15:35:47 -05:00
matildepark
31e97a368a
Merge pull request #4397 from urbit/lf/markdown-linebreaks
...
TextContent: handle linebreaks before feeding parsing
2021-02-16 15:04:35 -05:00
Matilde Park
c7d818ab49
LinkWindow: add missing 'text' import
...
Fixes urbit/landscape#433
2021-02-16 14:56:24 -05:00
Liam Fitzgerald
1274d35d5a
group-view: handle unmanaged group case
2021-02-16 13:48:23 +10:00
Liam Fitzgerald
3548c984a9
Dropdown: fix event propagation
...
Fixes urbit/landscape#427
2021-02-16 13:04:12 +10:00
Liam Fitzgerald
899ead25fb
hark-store: give %read-all fact
...
Fixes urbit/landscape#402
2021-02-16 12:29:17 +10:00
Liam Fitzgerald
a4d717030d
metadata-push-hook: correct association key
...
Fixes urbit/landscape#405
2021-02-16 12:29:17 +10:00
Liam Fitzgerald
a9d2381d0e
SidebarListHeader: look in %groups not %contacts assocs
...
Fixes urbit/landscape#405
2021-02-16 12:29:17 +10:00
Liam Fitzgerald
ba57ad2222
AddGroup: fix activation from leap
...
Fixes urbit/landscape#439
2021-02-16 12:29:17 +10:00
Liam Fitzgerald
79596d4ca8
metadata-store: update +remove
...
Fixes urbit/landscape#428
2021-02-16 12:29:16 +10:00
Liam Fitzgerald
f5268a528f
graph-push-hook: correctly call +get-roles-writers-variation
...
Fixes urbit/landscape#423
Fixes urbit/landscape#424
2021-02-16 12:29:05 +10:00
Liam Fitzgerald
66d9fd8426
sane: fix accidental self kick
...
Does not remove ourselves from the group when run. Additionally adds
card preview support to the inside app pokes.
Fixes urbit/landscape#442
2021-02-16 12:24:30 +10:00
janeway-bot
c56af887dd
Merge 79f461f5c9
into release/next-js
2021-02-13 09:25:50 +04:00
Liam Fitzgerald
79f461f5c9
glob: update to 0v7.iotki.j1ptb.mk9vm.borai.jfcr1
2021-02-13 15:24:06 +10:00
Liam Fitzgerald
e7cf66c3b1
Merge branch 'lf/init-loop'
2021-02-13 15:17:10 +10:00
Liam Fitzgerald
9e3c048855
contact-store: address L review
2021-02-13 15:14:36 +10:00
Liam Fitzgerald
dbafffd783
contact-store: enforce timestamp ordering on %initial
2021-02-13 14:56:53 +10:00
Matilde Park
a91f96751b
invite: prevent interface crash
...
We're accessing invite.ship when we don't have invite. This stubs that
out.
2021-02-12 22:37:12 -05:00
janeway-bot
9ce9cb3d5f
Merge 58faf16872
into release/next-js
2021-02-13 02:54:41 +04:00
janeway
58faf16872
glob: update to 0v5d3ek.msaj7.n78mj.updun.qc1ea
2021-02-12 17:50:20 -05:00