Commit Graph

4571 Commits

Author SHA1 Message Date
matildepark
4fd0188d2c
Merge pull request #4693 from urbit/la/clay-error
graph-push-hook: add hc where appropriate and enforce type-checking to prevent issue in future
2021-03-30 19:40:10 -04:00
Logan Allen
1af12b122a graph-validator-post: added type-casts where appropriate 2021-03-30 12:52:53 -05:00
Logan Allen
1fc6f41f75 graph-validators: speed up validators by adding type casts 2021-03-30 12:47:47 -05:00
Logan Allen
6ee776203c graph-push-hook: add hc where appropriate and enforce type-checking to prevent issue in future 2021-03-30 12:40:31 -05:00
Liam Fitzgerald
b5f2b0eb27
group-store: remove empty tags
Fixes urbit/landscape#568
2021-03-30 14:55:41 +10:00
Matilde Park
3c1708d194 Merge branch 'release/next-js' into release/next-userspace 2021-03-29 14:52:12 -04:00
L
6f7d1b0c1b
Merge pull request #4680 from urbit/lf/ref-collections
collections: allow %reference as link
2021-03-29 13:39:08 -05:00
Liam Fitzgerald
27af0625e9 post: do not notify on top level content 2021-03-29 14:27:28 -04:00
Liam Fitzgerald
95bf313ff9 group-view: add %started update 2021-03-29 14:27:28 -04:00
Liam Fitzgerald
8eb77708b3
collections: allow %reference 2021-03-29 12:39:37 +10:00
Philip Monk
820aee0478
zuse: strip ~ from ships in enjs 2021-03-28 01:58:21 -07:00
Philip Monk
4a92313549
Merge branch 'release/next-sys' of ssh://github.com/urbit/urbit into release/next-sys 2021-03-28 01:12:11 -07:00
Philip Monk
fda5e4b361
zuse: hack enjs to speed up ship printing
In +en-json, the vast majority of our time is in +jesc (json string
escaping).  Since ships will always be string-safe, we pretend they're
numbers to bypass the escaper.  This saves about a second on initial
landscape load.
2021-03-28 00:59:08 -07:00
Philip Monk
a777567bb6
eyre: faster wain-to-octs conversion
Avoid allocating hundreds of thousands of cells when giving large
requests.  This took the footprint of this function on initial landscape
load from 1 second to 100 ms.
2021-03-28 00:57:33 -07:00
Philip Monk
a1647a9767
clay, eyre: add profiling hints 2021-03-28 00:50:25 -07:00
Philip Monk
7b55097ef4
hoon: memoize rend:co
We commonly print many names in a row, often the same ones.  For
example, on landscape's initial load, we send all the members of all the
groups we're in, and there's substantial overlap.

At least half the cost is in +fein, which is not currently jetted, but I
believe there's an old jet in the git history.
2021-03-28 00:21:30 -07:00
janeway
a74bdfea20 glob: update to 0v1.4ujsp.698kt.ojftv.7jual.4hhu5 2021-03-26 16:25:20 -04:00
Matilde Park
b7e52edd58 Merge branch 'pre-release/next-userspace' into release/next-userspace 2021-03-26 14:43:28 -04:00
Liam Fitzgerald
996174f85f
push-hook: add version scries 2021-03-26 16:58:02 +10:00
Liam Fitzgerald
5c3bce8dbe
glob: update to 0v5.b7cjf.2kc12.85sng.lkqav.7sn0k 2021-03-26 14:03:10 +10:00
fang
60be716892
readme: update arvo maintainers list
~littel-ponnys no longer maintains Eyre, so I will take over.
/lib/test goes without a dedicated maintainer for now.

Additionally, #4463 and follow-up work sees me taking charge of the terminal
stack, so I will take over formal ownership of that going forward.
2021-03-25 23:52:20 +01:00
Liam Fitzgerald
9323f19108
graph-store: fix JSON 2021-03-25 14:45:16 +10:00
Liam Fitzgerald
e9a8be49a2
glob: update to 0v2.cr29j.cb5a2.64vl5.rumn3.34r76 2021-03-25 14:40:34 +10:00
Liam Fitzgerald
248255c697
graph-store: fix crash in JSON 2021-03-25 14:10:28 +10:00
Liam Fitzgerald
83d0ddf3b0
glob: update to 0v4.vahcq.smjic.02aim.lrbn7.qfpmv 2021-03-25 12:54:54 +10:00
Liam Fitzgerald
00d70f468f
glob: update to 0v6.3olcs.d6chc.eidm2.1pft8.6k264 2021-03-25 12:23:42 +10:00
Liam Fitzgerald
7b378f435d
pull-hook: delay scry in on-load 2021-03-25 11:32:32 +10:00
Liam Fitzgerald
3b3d86aa6c
pull-hook: delay scry in on-load 2021-03-25 11:28:20 +10:00
Liam Fitzgerald
937d7a4e72
md-pull-hook: fix on-load 2021-03-25 10:52:40 +10:00
Liam Fitzgerald
e79fac3c48
glob: update to 0va6530.ql5e0.5cb4q.m1gq5.d7mdk 2021-03-25 09:25:36 +10:00
Matilde Park
7fd4928d96 Merge branch 'release/next-js' into release/next-userspace 2021-03-24 19:10:27 -04:00
Liam Fitzgerald
ce1520ab1a
pull-hook: fix crash 2021-03-25 09:01:22 +10:00
Logan Allen
7587bf0e5b tally: fix for metadata 2021-03-24 15:06:01 -05:00
Logan Allen
58bf89d834 Merge branch 'release/next-userspace' into la/group-feed 2021-03-24 14:51:49 -05:00
Liam Fitzgerald
f495a806c3
glob: update to 0v3.nmpms.bgjpu.9gd2j.klgii.qgeal 2021-03-24 14:12:47 +10:00
Liam Fitzgerald
dd44377624
interface: update transclusion for reference content 2021-03-24 13:11:48 +10:00
Liam Fitzgerald
c186bad1c1
graph-store: +on-load 2021-03-24 13:09:58 +10:00
Liam Fitzgerald
b1e86b42ba
interface: fix private permalinks 2021-03-24 13:09:55 +10:00
Liam Fitzgerald
54b3982b42
graph-store: upgrade reference content
This commit changes the type of update:graph-store and as such, a new
mark has been created. graph-store now consumes and produces
%graph-update-1. This new mark type is backwards incompatible with the
previous mark.
2021-03-24 13:06:26 +10:00
Liam Fitzgerald
1093a80604
glob: update to 0v2.gfefu.pffjo.rphqi.mlmpu.smaq4 2021-03-24 13:00:22 +10:00
Logan Allen
74662a9fb4 metadata: updated all mark usage from %0 to incompatible %1 2021-03-23 21:53:51 -05:00
Liam Fitzgerald
dc503a826b
glob: update to 0v5.3d6ao.5f5kl.i84k6.oqf1e.njnvh 2021-03-24 12:28:27 +10:00
Logan Allen
9de66bc5af Merge branch 'release/next-userspace' into la/group-feed 2021-03-23 21:13:12 -05:00
Logan Allen
b0a3b0c65d graph-validator-post: fix indentation 2021-03-23 21:09:24 -05:00
Liam Fitzgerald
22afdb3aea
hark-graph-hook: notifications for group feed 2021-03-23 15:29:07 +10:00
Liam Fitzgerald
0864b99e3f
Post: prompt for permissions 2021-03-23 14:04:32 +10:00
matildepark
f81e36317a
Merge pull request #4637 from urbit/lf/dm-fix
metadata-push-hook: do not crash on new hidden metadata
2021-03-22 20:48:30 -04:00
Liam Fitzgerald
4f0d84f4ee
Merge branch 'origin/pre-release/next-userspace' into release/next-userspace 2021-03-23 10:48:11 +10:00
Logan Allen
bdfa1650cf interface: fix up issues from zustand merge 2021-03-22 15:11:28 -05:00
pilfer-pandex
15cc84164d Merge branch 'master' into release/next-vere 2021-03-22 15:26:00 -04:00
Logan Allen
2e45f4fd99 Merge branch 'release/next-userspace' into la/group-feed 2021-03-22 12:36:34 -05:00
Liam Fitzgerald
ceafee33ab
hooks: address L review 2021-03-22 09:54:59 +10:00
Liam Fitzgerald
91577e5f23
metadata-push-hook: do not crash on new hidden metadata
If we were creating a DM, for which no %groups metadata exists, the
+transform-proxy-update arm would crash, preventing the creation of new
DMs.
2021-03-22 07:41:28 +10:00
Philip Monk
a7150007ef
Merge pull request #4528 from taalhavras/desk-diff
ddiff: add thread for diffing desks
2021-03-19 16:45:00 -07:00
raghu
60a2de143c renaming ddiff to diff 2021-03-19 19:43:39 -04:00
Liam Fitzgerald
e2d10367af
hark-store: give set instead of count in initial
When we receive a notification, it might not affect our count because
it’ll get merged on the server side, but we unconditionally increment
our count on the client if the notification hasn’t been loaded yet.
Addresses this by storing a set of time, index so we can compute whether
or not the notification is merged or unloaded and change the count
accordingly.

Fixes urbit/landscape#276
2021-03-19 11:28:30 +10:00
Liam Fitzgerald
21bc8130ed
hooks: fix unversioned path destructure 2021-03-19 10:24:35 +10:00
Liam Fitzgerald
34469532e4
hooks: cleanup stale mark references 2021-03-19 10:12:51 +10:00
Liam Fitzgerald
cf39ffab42
hooks: add unversioned conversions 2021-03-19 10:12:51 +10:00
Liam Fitzgerald
460a290cb1
hooks: fix tests 2021-03-19 10:12:50 +10:00
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
Joe Bryan
19d5bd0de4 ames: gate "fragment crashed" printf on msg.veb 2021-03-18 17:04:08 -07:00
Joe Bryan
549c5e5db9 hoon: update seminoun bunt to be fully blocked 2021-03-17 14:21:58 -07: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
J
ef1b125c3e zuse: fix time fix regression
Fixes #4598.

#4474 made the JSON time conversion no longer invertible, which caused
problems for chat, which uses message timestamp in milliseconds as a key
-- so chat would send a message with ms timestamp x, it would get
encoded as @da x, but then when it went back through the conversion to
milliseconds, it would often (not always) get encoded as x-1.

I still do not fully understand why this is -- and why it doesn't seem
to be a problem with seconds based on cursory testing -- but integer
multiplication and division generally do not invert. And adding a half a
millisecond to the input date before converting it resolves the issue
and makes the functions invertible.

I added a regression test, so hopefully the next courageous adventurer
who winds up here after wondering why +unm looks funny will have a
safeguard against some of the mistakes I made.
2021-03-12 20:06:10 +00: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
Ted Blackman
b55417a1c3 clay: remove +bunt from marks 2021-03-05 16:53:35 -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
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
Joe Bryan
23e867ca8d test: move nock tests 2021-02-22 11:25:20 -08:00
Joe Bryan
39d288af0a test: check that nock 9 with axis 1 is handled correctly 2021-02-22 11:25:20 -08: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
Liam Fitzgerald
7d69b23440
Merge remote-tracking branch 'origin/la/push-hook-list-resource' into lf/handoff 2021-02-03 12:50:26 +10:00
Liam Fitzgerald
c042e3f353
metadata-pull-hook: cleanup preview when we receive actual metadata 2021-02-03 12:49:06 +10:00
Liam Fitzgerald
d8dc792497
metadata-pull-hook: watch contacts for new preview
Fetch metadata previews when we learn of a group via a contact's pinned
groups.
2021-02-03 12:49:06 +10:00
Logan Allen
02f4ff58a1 contact: perfected the +is-allowed arm and fixed issue with share type 2021-02-02 19:13:33 -06:00
L
ac759b7d96
Merge pull request #4365 from urbit/lf/revive-invites
Invites: update for new group-view
2021-02-02 18:58:58 -06:00
Liam Fitzgerald
9d08d0d2b6
graph-push-hook: fix +is-allowed 2021-02-03 10:35:01 +10:00
Liam Fitzgerald
63027861dc
invite-store: add %groups in +on-init 2021-02-03 09:52:25 +10:00
Liam Fitzgerald
e17bf31859
group-view: add -group-invite thread 2021-02-03 09:52:00 +10:00
Liam Fitzgerald
1093ad0e42
group-view: add %invite action 2021-02-03 09:51:43 +10:00
Logan Allen
fe76d75a18 contacts: clarify syntax for +is-allowed 2021-02-02 17:29:42 -06:00
Logan Allen
a728514aa5 contact: improved +is-allowed and added %contact-share mark 2021-02-02 17:04:28 -06:00
Logan Allen
33eabe2574 Merge branch 'release/next-userspace' into la/push-hook-list-resource 2021-02-02 13:52:10 -06:00
Logan Allen
992562a128 contact-push-hook: add our pseudoresource to sharing 2021-02-02 13:47:53 -06:00
Logan Allen
de3b350efb contacts + group-view: added in flow for auto-sharing your profile with a group if it is public 2021-02-02 13:36:05 -06:00
Matilde Park
3fce1cdcb6 Merge branch 'release/next-userspace' into lf/graph-permissioning 2021-02-02 14:11:06 -05:00
Liam Fitzgerald
9f9cfc086c
lib/contact: fix +is-allowed, +get-contact 2021-02-02 15:35:29 +10:00
Liam Fitzgerald
3dcd6395ac
metadata-hooks: move +resource-for-update to common library 2021-02-02 14:31:35 +10:00
Liam Fitzgerald
b3c0198177
group-hooks: move +resource-for-update into common library 2021-02-02 14:31:16 +10:00
Liam Fitzgerald
8672261d1a
graph-hooks: move +resource-for-update into common library 2021-02-02 14:30:48 +10:00
Liam Fitzgerald
638d5e6773
contact-hooks: move +resource-for-update into common library 2021-02-02 14:30:12 +10:00
Liam Fitzgerald
66c8cafe75
pull-hook: move +resource-for-update back into door, add %no-validate flag
Adds %no-validate flag, to prevent checking the wire/src.bowl/resource
all match-up to enable P2P connections. Moves the resource-for-update
back into the inner door, to match the push-hook.
2021-02-02 14:27:12 +10:00
Liam Fitzgerald
2bdec7deb0
contact-store: make pinned group resource conversion use path-style
This is necessary because Formik loses the plot when fields aren't
referentially equal every render.
2021-02-02 13:07:25 +10:00
Liam Fitzgerald
c16f2365bf
Merge remote-tracking branch 'origin/release/next-userspace' into lf/graph-permissioning 2021-02-02 10:40:40 +10:00
Logan Allen
da03594fbc contact-push-hook: add blank personal psuedo-resource for personal contact subscriptions 2021-02-01 18:24:56 -06:00
Logan Allen
48d9e8c9b8 group-view: initiate %contact-pull-hook subscription upon group join 2021-02-01 16:36:16 -06:00
Logan Allen
d3ac83de0e contact-pull-hook: do not remove contact data upon nack 2021-02-01 16:21:18 -06:00
Logan Allen
e1b1e1abf7 group-threads: contact push/pull hooks added to group lifecycle 2021-02-01 16:19:25 -06:00
Logan Allen
d6eb1638d9 contact-push-hook: write out initial-watch to expose proper data 2021-02-01 16:01:23 -06:00
Logan Allen
c8b83eb1dd contact-push-hook: direct any ship's update to all the affected resources 2021-02-01 15:28:52 -06:00
Logan Allen
c9583ee104 push-hook: revert removal of +resource-for-update, change type from (unit resource) to (list resource) to support contact-push-hook use case 2021-02-01 14:49:14 -06:00
Liam Fitzgerald
ee1ab3b131
metadata, groups: update for %groups metadata 2021-02-01 17:54:37 +10:00
Liam Fitzgerald
97502838d6
Merge remote-tracking branch 'origin/la/contact-store' into lf/join-cleanup 2021-02-01 17:01:02 +10:00
Liam Fitzgerald
e6d66b205a
group,graph-view: fixup calling convention for awaiting threads 2021-02-01 16:27:38 +10:00
Liam Fitzgerald
2730eb6c09
graph-view: refactor threads to call into %group-view 2021-02-01 14:07:39 +10:00
Liam Fitzgerald
e7b404ee4e
group-view: add JSON decoders for new actions 2021-02-01 13:48:49 +10:00
Liam Fitzgerald
d5bfe028e8
group-view: add leave, delete threads 2021-02-01 13:43:40 +10:00
Liam Fitzgerald
a6e1459395
group-view: add %create thread 2021-02-01 13:25:00 +10:00
Liam Fitzgerald
e1cea68f4e
Merge remote-tracking branch 'origin/release/next-userspace' into lf/join-cleanup 2021-02-01 12:16:57 +10:00
Liam Fitzgerald
0bad34b044
group-view: refactor to surface UI state 2021-02-01 11:58:59 +10:00
Liam Fitzgerald
ac7aa12dd7
language-server: retain state on reload 2021-01-30 12:09:59 +10:00
Matilde Park
b726ee2066 Merge branch 'release/next-userspace' into la/contact-store 2021-01-29 18:33:53 -05:00
Matilde Park
876e90106e Merge branch 'release/next-js' into release/next-userspace 2021-01-29 18:18:38 -05:00
Logan Allen
7b82c55b59 graph-delete thread: fix %metadata-store scry and %hook reference to %push-hook 2021-01-29 16:58:44 -06:00
Logan Allen
13bad6b16c graph-create thread: fix metadata to metadatum rename 2021-01-29 16:52:04 -06:00
Logan Allen
691409eda9 metadata-store: compiles 2021-01-29 16:38:32 -06:00
Logan Allen
72e036bae3 Merge branch 'release/next-userspace' into la/contact-store 2021-01-29 14:48:39 -06:00
Liam Fitzgerald
175fc0a383
metadata: fix breakage from merge 2021-01-29 15:45:06 +10:00
Liam Fitzgerald
a5f945b5a4
Merge remote-tracking branch 'origin/release/next-userspace' into lf/graph-permissioning 2021-01-29 15:25:58 +10:00
Liam Fitzgerald
d41ea872c5
group-view: add to interface state 2021-01-29 15:17:16 +10:00
Liam Fitzgerald
5580190e5a
group-view: add JSON conversion 2021-01-29 14:52:56 +10:00
Liam Fitzgerald
ee34819cd2
group-view: fix breakage from merge 2021-01-29 14:52:36 +10:00
Liam Fitzgerald
b7d832d467
Merge remote-tracking branch 'origin/release/next-userspace' into lf/join-cleanup 2021-01-29 14:22:07 +10:00
Liam Fitzgerald
f013508853
group-view: implicitly join graphs if group is hidden 2021-01-29 14:21:13 +10:00
Liam Fitzgerald
911cade5e5
graph-view: rename to group-view 2021-01-29 12:39:38 +10:00
Liam Fitzgerald
977dc62882
graph-view: cleanup subscription handling 2021-01-29 12:38:33 +10:00
Liam Fitzgerald
7b46b8bfed
language-server: break up parser from shoe 2021-01-29 12:01:33 +10:00
Liam Fitzgerald
377b2cd10c
language-server: prevent %play-open on %zpgl 2021-01-29 11:44:37 +10:00
Liam Fitzgerald
b4cbe7b5eb
language-server: prettier hover format 2021-01-29 11:44:13 +10:00
Liam Fitzgerald
410fe58975
language-server: ignore /sys files 2021-01-29 11:43:40 +10:00
Liam Fitzgerald
3c8e73cbc8
Revert "language-server: parse commands permissively"
This reverts commit 8f8ec8bcc5.
2021-01-29 10:09:52 +10:00
matildepark
f4606327a3
Merge pull request #4285 from urbit/lf/md-modernize
metadata-store: modernisation
2021-01-28 17:53:12 -05:00
Liam Fitzgerald
c52a2f060d
metadata-store: modernize /lib 2021-01-29 08:33:29 +10:00
Logan Allen
8ac1a9768d contacts + interface: hooked up isPublic to interface 2021-01-28 14:45:28 -06:00
Liam Fitzgerald
6a8c2afe34
metadata-store: rename /lib file 2021-01-28 16:14:39 +10:00
Liam Fitzgerald
a1c30ef230
metadata: modernize namespacing 2021-01-28 16:13:57 +10:00
Tyler Brown Cifu Shuster
fc179eac7d interface: adds serviceworker 2021-01-27 21:33:23 -08:00
Liam Fitzgerald
aa62d18d2f
ChannelSettings: refine delete/remove logic and buttons 2021-01-28 14:59:26 +10:00
Liam Fitzgerald
9c30e4e126
glob: update to 0v1.39us5.oj5a9.9as9u.od9db.0dipj 2021-01-28 10:22:45 +10:00
Logan Allen
cb21979d94 contacts: added %set-public update type 2021-01-27 17:20:42 -06:00
ixv
9715c280e3
Merge pull request #4276 from urbit/ixv/settings
settings store
2021-01-27 11:02:45 -08:00
L
c3395d4c14
Merge pull request #4337 from urbit/mp/contacts/ui-detail
contacts: UI details
2021-01-27 12:47:53 -06:00
fang
353e0f7395 clay: condense +pile-rule
Rewrites the `+pile-rule` parsing rule for compactness and legibility.
This is a purely stylistic change.
2021-01-27 12:17:40 -05:00
Ted Blackman
ca1585c841 clay: static clay boots 2021-01-26 22:51:52 -05:00
Ted Blackman
ce9f1eb3da clay: fix +grow in mark casting 2021-01-26 20:43:23 -05:00
Isaac Visintainer
59e070e46e graph-store: updated tree type in import flow 2021-01-26 14:32:38 -08:00
Isaac Visintainer
d902f339c2 lens: remove chat-* exports 2021-01-26 14:32:38 -08:00
Logan Allen
090946e328 contact-store: updates sent to /all path as well 2021-01-26 16:18:01 -06:00
Matilde Park
78940cb10f Merge branch 'release/next-js' into mp/contacts/ui-detail 2021-01-26 16:51:46 -05:00
Logan Allen
683df1b9a4 contact-store: fix crash 2021-01-26 15:41:34 -06:00
Logan Allen
316b86e7fb contact-store: update to add public groups and force us to always keep our own contact 2021-01-26 15:22:33 -06:00
Ted Blackman
6be1ebc41a clay,lull: +test-mar-mime passes 2021-01-26 15:59:36 -05:00
Liam Fitzgerald
d0fb69847b
graph: add permissioning for links 2021-01-26 14:58:27 +10:00
Liam Fitzgerald
955ea54502
graph: add permissioning for chat 2021-01-26 14:50:33 +10:00
Liam Fitzgerald
4b6637ec9a
graph-hooks: %remove-nodes permissioning 2021-01-26 14:47:35 +10:00
Isaac Visintainer
c77559021f settings: fix minor issues with json encoding 2021-01-25 20:32:09 -08:00
Liam Fitzgerald
ad05ddcc34
graph-hooks: %add-nodes permissioning 2021-01-26 12:42:44 +10:00
Liam Fitzgerald
9c0ad13abd
group-store: add resource field to app-tag
Adds a resource field to the app-tag type, as apps will generally want
to use tags to identify a specific resource
2021-01-26 11:48:45 +10:00
Liam Fitzgerald
f2fd69df90
metadata: interface cleanup 2021-01-26 11:46:06 +10:00
Liam Fitzgerald
a488c1f5fb
metadata-hooks: use pokes instead of watches to communicate preview 2021-01-26 11:10:39 +10:00
Isaac Visintainer
026b7b09ce settings: add mark for scry result for frontend scry json conversion 2021-01-25 16:43:47 -08:00
Liam Fitzgerald
8fe1b3d4ea
Revert "pull-hook: add +take-update arm"
This reverts commit 2ce654555c.
2021-01-26 10:09:31 +10:00
Liam Fitzgerald
5163761ede
Revert "metadata-hooks: reuse flows for previews"
This reverts commit 9c6ddc59a5.
2021-01-26 10:09:25 +10:00
Liam Fitzgerald
ccbe4f9ad3
Merge remote-tracking branch 'origin/release/next-userspace' into lf/md-modernize 2021-01-25 14:00:07 +10:00
Liam Fitzgerald
9c6ddc59a5
metadata-hooks: reuse flows for previews 2021-01-25 13:54:58 +10:00
Liam Fitzgerald
2ce654555c
pull-hook: add +take-update arm 2021-01-25 13:07:47 +10:00
Liam Fitzgerald
f88318b1b7
glob: update to 0v7.9mc9i.jbk7p.smfcl.3aose.b6dat 2021-01-24 11:28:33 +10:00
janeway
a9b32192fc glob: update to 0v7.3vkbq.euver.m66ss.rs6kt.06tp8 2021-01-22 17:15:13 -05:00
Matilde Park
d3c52c5e19 Merge branch 'release/next-js' into release/next-userspace 2021-01-22 17:01:28 -05:00
Liam Fitzgerald
4cb8339bf1
metadata: surface icon and show interstitial on invite 2021-01-22 14:12:09 +10:00
janeway
d16c228870 glob: update to 0v7.ttn7o.50403.rf6oh.63hnc.hgpc9 2021-01-21 19:15:58 -05:00
matildepark
84d23a9308
Merge pull request #4239 from urbit/m/graph-join-backoff
graph: make the join thread back off
2021-01-21 13:27:59 -05:00
Logan Allen
7bb76ba39c contact-store: change fields in to reflect new profile 2021-01-21 11:36:48 -06:00
Liam Fitzgerald
de33d3d572
metadata-hooks: store previews 2021-01-21 15:18:13 +10:00
Liam Fitzgerald
92a4dcabdb
Merge remote-tracking branch 'origin/release/next-js' into lf/md-modernize 2021-01-21 12:48:37 +10:00
Liam Fitzgerald
3bf03ffc9b
graph-join: crash on backoff and fix scry mold 2021-01-21 10:43:25 +10:00
Liam Fitzgerald
015dffeb0f
metadata-hooks: start in drum 2021-01-21 10:14:19 +10:00
Ted Blackman
6234b56ac1 ames: cache message +jam in +on-memo 2021-01-20 15:29:45 -05:00
Matilde Park
31def6f57a Merge branch 'release/next-js' into release/next-userspace 2021-01-20 12:47:31 -05:00
Liam Fitzgerald
c10b96d5ed
glob: update to 0v3.ov15r.suma1.1i1rk.f45qh.u9opu 2021-01-20 14:09:42 +10:00
Liam Fitzgerald
871fba20a3
metadata-store: add permissions field 2021-01-20 11:51:07 +10:00
Liam Fitzgerald
69a5675a86
graph-store: log %add-graph
When a graph is joined, the subscriber receives an %add-graph update
that corresponds to the current state of the graph. This was not logged,
so if the graph did not recieve any updates before the subscription was
kicked, the whole graph would be have to be sent again. This would be
largely asymptomatic, however hark-store assumes that %add-graph will
only be emitted when a new graph is joined or created. As such, we log
this initial update, so that the push-hook can correctly ascertain the
backlog it needs to send and so %add-graph is only emitted once per
graph. This also opens the door for time-varying scries into
graph-store.

Fixes #4290
2021-01-20 10:52:19 +10:00
Logan Allen
7ffce92c37 hood: start %contact-push/pull-hooks 2021-01-19 15:20:47 -06:00
Logan Allen
54b64f5682 contacts: write hooks and use permisssioning system 2021-01-19 15:07:11 -06:00
Logan Allen
cdb91291ed contact-store: %allow/%disallow support 2021-01-19 13:59:11 -06:00
Logan Allen
1eb99bfdcd contact-store: wrote out all the JSON conversions and store compiles 2021-01-19 13:59:11 -06:00
Logan Allen
1f7f86f682 contact-store: first approach at rewrite 2021-01-19 13:59:09 -06:00
Isaac Visintainer
78bdcbf020 settings: renamed to settings store; used =* instead of =/ 2021-01-19 11:41:28 -08:00
Isaac Visintainer
67954362a3 settings: new store, lib, sur, and mar 2021-01-19 11:41:28 -08:00
Liam Fitzgerald
8541886433
metadata: expose manual pinning of channels 2021-01-18 12:13:41 +10:00
Liam Fitzgerald
ccb47e533d
metadata-store: update import functionality 2021-01-18 11:10:16 +10:00
Liam Fitzgerald
c0ddf43865
metadata-hooks: refine preview behaviour
Timeout proxied subscriptions and distinguish between a nack and a kick.
2021-01-18 10:58:03 +10:00
Liam Fitzgerald
f3ab81f88b
metadata: allow for preview subscriptions 2021-01-15 15:45:51 +10:00
Liam Fitzgerald
5d9955c0ce
Merge remote-tracking branch 'origin/release/next-js' into lf/md-modernize 2021-01-15 14:53:10 +10:00
Liam Fitzgerald
e3ae98123b
push-hook: remove old resource-for-update 2021-01-15 10:33:37 +10:00
Liam Fitzgerald
e83efcb932
pull-hook: ensure facts are not malicious
Ensure that the resource from the wire, the resource for the update
match up. Also ensure that the source ship and the ship that is being
pulled from for the resource match up. Without this, a host of a graph
could send updates for graphs that they do not hosts, and these would be
unconditionally forwarded, allowing malicious hosts to overwrite graphs
that they do not host.
2021-01-15 10:33:37 +10:00