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
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
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
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
Logan Allen
face904377
graph-push-hook: first pass at modifying incoming %add-nodes updates using the %add-nodes-transform mark
2021-02-22 16:54:45 -06:00
Logan Allen
4753ba5506
push-hook: replace +should-proxy-update with +transform-proxy-update
2021-02-22 14:31:19 -06:00
Ted Blackman
9bf6c6136a
clay: fix mark +grad delegation bug
2021-02-22 14:35:57 -05:00
janeway-bot
1645e8597f
Merge 9a777e84de
into release/next-js
2021-02-22 23:24:22 +04:00
matildepark
ec44fbf269
Merge pull request #4472 from urbit/lf/globbed-sw
...
interface: adds serviceworker support
2021-02-21 22:09:33 -05:00
Liam Fitzgerald
13776380dd
glob: update to 0v1.ua909.ub024.9ed4i.23odb.jgdit
2021-02-22 11:29:17 +10:00
Liam Fitzgerald
64522eeca7
Merge remote-tracking branch 'origin/release/next-js' into lf/globbed-sw
2021-02-22 11:23:57 +10:00
Liam Fitzgerald
ac2c335bd2
hark-store: give stats facts for group notifications
...
Group notifications were being left out of the initial %unreads fact,
which was causing faulty calculation of notification counts on the
frontend
Fixes urbit/landscape #276
2021-02-22 10:47:38 +10:00
Joe Bryan
c630515b76
gen: fix +tally (compiles)
2021-02-19 22:06:22 -08:00
Joe Bryan
ff345af1bd
test: fix base64 call in lib/pkcs
2021-02-19 20:38:26 -08:00
Joe Bryan
9c9f0d68c4
test: report and continue on build failures
2021-02-19 20:36:05 -08:00
Joe Bryan
6ae9631c7a
test: format output for CI
2021-02-19 17:52:56 -08:00
Joe Bryan
68403151b5
test: build agents/generators/marks in alphabetical order
2021-02-19 17:51:59 -08:00
Matilde Park
8f63b5dcf1
Merge branch 'release/next-js' into lf/tutorial-revive
2021-02-19 17:53:04 -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
Liam Fitzgerald
2fc67f9bd3
metadata: do not generate previews for hidden groups
2021-02-19 16:58:31 +10:00
Liam Fitzgerald
ecad0d8ecd
settings: add tutorial settings to enable it
2021-02-19 14:11:01 +10:00
janeway-bot
f3c7ff2a50
Merge fab9a47a92
into release/next-js
2021-02-19 06:59:55 +04: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
Ted Blackman
ad20ddb1d4
clay: added mark runes; can boot off solid pill
2021-02-17 14:31:20 -05:00
Tyler Brown Cifu Shuster
24f0ae5b79
interface: upgraded SourceCodePro
2021-02-17 08:46:45 -08: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
1274d35d5a
group-view: handle unmanaged group case
2021-02-16 13:48:23 +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
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
Liam Fitzgerald
79f461f5c9
glob: update to 0v7.iotki.j1ptb.mk9vm.borai.jfcr1
2021-02-13 15:24:06 +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
janeway
58faf16872
glob: update to 0v5d3ek.msaj7.n78mj.updun.qc1ea
2021-02-12 17:50:20 -05:00
Logan Allen
d5457e3cf5
contact-push-hook: speed up asymptotics by only doing a fixed number of scries
2021-02-12 16:13:19 -06:00
Liam Fitzgerald
38ac5f191f
metadata-pull-hook: address L review
2021-02-12 14:59:16 +10:00
Liam Fitzgerald
ccd98b6287
metadata-pull-hook: remove pending on nack
2021-02-12 14:49:24 +10:00
Liam Fitzgerald
34f6db54dc
contact-store: add lib/verb
2021-02-12 14:39:15 +10:00
Liam Fitzgerald
9cc8fe6139
metadata-push-hook: keep track of pending requests
2021-02-12 14:30:39 +10:00
Liam Fitzgerald
b6addb5ed3
glob: update to 0v3.t4lg5.84a6h.2bi2s.ni2p9.32uor
2021-02-12 12:31:33 +10:00
Liam Fitzgerald
ed3d3335cb
metadata-hook: fix default-agent
2021-02-12 12:14:56 +10:00
Liam Fitzgerald
e33ac3d0ef
goad: %force in +on-load
2021-02-12 12:07:19 +10:00
Liam Fitzgerald
15e3b43be3
metadata-hook: fix on-load
2021-02-12 11:58:18 +10:00
Liam Fitzgerald
b99ca963c0
glob: update to 0v1.grvkp.m0c8p.i7s2g.p5mje.im0qo
2021-02-12 11:11:09 +10:00
Logan Allen
7bfa30bd75
contact-store: lte rather than lth
2021-02-11 18:56:52 -06:00
Logan Allen
2d81eb5fdc
contact-store: compiles
2021-02-11 18:52:26 -06:00
Logan Allen
1ddf9f5b84
contact-store: set last-updated appropriately and send last-updated in JS
2021-02-11 18:47:36 -06:00
Logan Allen
f0a86b2de3
contact-store: add timestamp to %edit
2021-02-11 18:43:04 -06:00
Liam Fitzgerald
e2ad6e3e92
glob: update to 0v7.d72b8.89c7k.vn1je.k3gvs.qr60j
2021-02-12 10:06:26 +10:00
Logan Allen
e2994ec7fa
contact-push-hook: kick on set-private, share on set-public
2021-02-11 17:46:36 -06:00
Logan Allen
f0e49770a5
contact-push-hook: kick properly
2021-02-11 17:11:41 -06:00
Logan Allen
53901fdcb5
contact-hooks: do not serve contact data at DM resource
2021-02-11 17:06:17 -06:00
ixv
bbec3434ae
Merge pull request #4417 from urbit/lf/md-pull-hook-init
...
metadata-pull-hook: move watches to +on-init
2021-02-11 14:19:16 -08:00
Liam Fitzgerald
a8f560f952
Tutorial: disable
2021-02-12 08:04:22 +10:00
Liam Fitzgerald
b527e6ea3d
metadata-pull-hook: move watches to +on-init
2021-02-12 07:43:05 +10:00
matildepark
ff7913f1ca
Merge pull request #4326 from ryjm/jm/hark-read-all
...
hark-store: add %read-all support
2021-02-11 12:00:29 -05:00
ryjm
f5e4dc2423
hark-fe: add read all button
2021-02-11 08:48:13 -05:00
ryjm
a7934c1878
hark-store: add %read-all support
...
Clears the unread count and notifications, rebuilds cache, and empties out all the unread
indices in `unreads-each`.
2021-02-11 08:45:23 -05:00
matildepark
b3081bae97
Merge pull request #4409 from urbit/la/setting-fix
...
setting-store: show tutorial upon first load, don't show if dismissed
2021-02-10 14:48:19 -05:00
L
071fcc621b
Merge pull request #4398 from urbit/lf/spider-code
...
ted: add -code thread
2021-02-10 13:20:07 -06:00
Logan Allen
f1c3bbcb83
setting-store: show tutorial upon first load, don't show if dismissed
2021-02-10 13:16:32 -06:00
L
0b67d0c51e
Merge pull request #4407 from urbit/lf/member-met
...
metadata: use +perk in vip dejs
2021-02-10 12:42:39 -06:00
L
4406d308d2
Merge pull request #4406 from urbit/lf/misc-qa-fixes
...
landscape: miscellaneous fixes
2021-02-10 12:42:02 -06:00
Liam Fitzgerald
00712b81c7
metadata: use +perk in vip dejs
2021-02-10 18:54:46 +10:00
Liam Fitzgerald
b6935d50d6
-graph-delete: fix syntax error
2021-02-10 17:20:32 +10:00
Liam Fitzgerald
718b77f7c5
hooks: prettier %dbug output
2021-02-10 17:20:01 +10:00
Logan Allen
e743f6605b
sane: fix contact desyncs
2021-02-09 16:56:01 -06:00
Logan Allen
47706f1efb
groups, settings, contacts: make them compile and run scries properly
2021-02-09 11:30:28 -06:00
Liam Fitzgerald
b4e5430bfc
glob: update to 0v1.8tfbb.r5eaq.3b0pq.el53m.vbfh5
2021-02-09 14:02:45 +10:00
Liam Fitzgerald
ac026ea370
Merge pull request #4400 from urbit/lf/con-hook-loop
...
contact-hooks: prevent infinite hook loop
2021-02-09 13:40:12 +10:00
Liam Fitzgerald
0350311882
Merge pull request #4391 from urbit/lf/loading-fix
...
ViewProfile: fix incorrect loading conditional
2021-02-09 13:31:27 +10:00
Liam Fitzgerald
548f2143f8
Merge pull request #4388 from urbit/lf/tutorial
...
interface: add overlay tutorial
2021-02-09 13:31:06 +10:00
Liam Fitzgerald
7dde91c8c9
contact-push-hook: prevent share loop
2021-02-09 13:21:15 +10:00
Liam Fitzgerald
e9344bf78d
contact-pull-hook: migrate old groups
2021-02-09 11:46:34 +10:00
Liam Fitzgerald
575fbd4117
mar: add tape mark
2021-02-09 10:29:35 +10:00
Liam Fitzgerald
a1eda0469b
ted: add -code thread
2021-02-09 10:28:49 +10:00
Liam Fitzgerald
a5925a4842
metadata-hooks: do not request preview if we already have it
2021-02-08 12:07:32 +10:00
Liam Fitzgerald
b0597e32d3
metadata-store: do not pin channels on migrate
2021-02-08 12:07:15 +10:00
Liam Fitzgerald
74511e60ff
settings-store: add flag to check if tutorial has been done
2021-02-08 11:03:34 +10:00
Matilde Park
340b74b478
Merge branch 'release/next-js' into release/next-userspace
2021-02-07 12:41:19 -05:00
Logan Allen
f75d0fefdb
contact-store: changed semantics to no-op instead of crash
2021-02-05 13:19:53 -06:00
Logan Allen
78fe4cc045
contact-store: make %add poke idempotent
2021-02-05 12:33:25 -06:00
Liam Fitzgerald
ffbd4a4d88
contact-store: prevent hook forwarding loop
2021-02-05 14:54:26 +10:00
Liam Fitzgerald
c41ea83ee1
glob: update to 0v2.n1md9.trksl.p71td.ctngq.rr9su
2021-02-05 11:02:53 +10:00
Liam Fitzgerald
1445acdb99
landscape: register serviceworker at root
2021-02-04 15:30:59 +10:00
Liam Fitzgerald
90b8ae0065
glob: add service-worker to glob
2021-02-04 15:28:14 +10:00
Liam Fitzgerald
e831dd1bc9
file-server: add Service-Worker-Allowed header
2021-02-04 15:26:59 +10:00
Liam Fitzgerald
ad2cd89310
hark-store: crash on invalid note read
...
Two %read-note actions set on the same notification could cause the
cache to become invalid. Instead, crash if we read a note that is
already read.
2021-02-04 14:05:03 +10:00
Liam Fitzgerald
981386dffb
metadata-store: migrate %contacts to %groups in app-name
2021-02-04 11:58:25 +10:00
Liam Fitzgerald
97cf9fcb19
hark-store: discard unused metadata notifications in OTA
2021-02-04 11:39:59 +10:00
Liam Fitzgerald
a42f0c7428
metadata-hook: fix on-load
2021-02-04 11:37:43 +10:00
Logan Allen
83edfd67ba
graph-push-hook: fixed bunted bowl issue
2021-02-03 13:08:53 -06:00
Liam Fitzgerald
579570ed42
drum: load %settings-store on boot and migrate
2021-02-03 17:57:44 +10:00
Liam Fitzgerald
22004a3ea2
contact-pull-hook: give nacks on subscription
2021-02-03 17:26:41 +10:00
Liam Fitzgerald
36202d5c86
contact-hooks: proxy %share and fix its mark validation
2021-02-03 14:53:32 +10:00