Commit Graph

4382 Commits

Author SHA1 Message Date
Liam Fitzgerald
85b580f922
Merge remote-tracking branch 'origin/la/fix-feed' 2021-04-13 15:59:26 +10:00
Liam Fitzgerald
ff3abff800
Merge branch 'lf/lowercase-http' 2021-04-13 15:58:52 +10:00
Liam Fitzgerald
64a62e9f85
Merge branch 'lf/fix-sane' 2021-04-13 15:58:23 +10:00
Liam Fitzgerald
1e7c5dff59
file-server: lowercase headers for http2 2021-04-13 15:19:08 +10:00
fang
0570fb5b76
clay: share logic between build-file and directory
By factoring their shared logic out into +build-dependency, which gets
passed the relevant details about how to track the file being built in
the dependency stack.
2021-04-12 13:10:36 +02:00
fang
8b4dba28fa
clay: update dependency logic for /~ imports
To match recent changes to the build logic, where it only includes
top-level hoon files.
2021-04-10 16:22:52 +02:00
fang
a45179412b
clay: for /~, only build top-level files
This is semantically cleaner than arbitrary-depth recursion, and lets us
stop worrying about hyphenated path conflicts.
2021-04-10 02:26:32 +02:00
fang
1411e08944
clay: specify target type for /~ results
Clay will nest-check the results and put a homogenous map into the
subject.
2021-04-10 01:59:26 +02:00
Logan Allen
f733f68008 metadata-store: subscribe to all feeds that got missed in the upgrade 2021-04-09 21:20:27 +00:00
Logan Allen
5d16911f69 eyre: use font-display:swap; in login page 2021-04-09 16:02:55 +00:00
fang
62d7281156
clay: add /~ ford rune, as /= for directories
Hoon files may want to import nouns from all files in a given directory.
/~ lets you do so, importing as a (map @ta *) (but with typed values).

Note the description as "directories" here, instead of "path prefix".
The behavior, as implemented, will not include /path/hoon for /~  /path,
instead only including /path/more/hoon and more deeply nested files.
This seems to be, generally, the behavior you want, for example when
importing from /app/myapp/* for /app/myapp/hoon.

Actually using the resulting map requires some manual casting, which is
not ideal. Some code style improvement work remains to be done as well.
2021-04-09 01:49:14 +02:00
Liam Fitzgerald
1c939b4861
graph-validator-post: enable unreads and notifications 2021-04-08 16:05:17 +10:00
Liam Fitzgerald
baf365b63b
glob: update to 0v4.7tk5q.9ha4l.tbmji.fvkno.s9pfq 2021-04-08 15:20:20 +10:00
Liam Fitzgerald
8b5a69a56f
Merge remote-tracking branch 'origin/la/warm-marks' 2021-04-08 15:13:04 +10:00
fang
1ec5e5acfb
hoon: add +stap, path parser
And cleans up a bunch of locally hand-written implementations of it.
2021-04-07 21:14:13 +02:00
Logan Allen
59ece927c2 observe-hook: style fixes as per joe's review 2021-04-07 12:19:26 -05:00
Logan Allen
c7e4291d6d observe-hook: ask for next case as opposed to now.bowl when using %next, unless riot is null. small cleanup 2021-04-06 18:51:32 -05:00
Logan Allen
faf1f83e8f graph-store: remove obsoleted code necessary to keep graph marks warm 2021-04-06 17:21:09 -05:00
Logan Allen
c6616a7e9d observe-hook: listen for mark additions 2021-04-06 16:47:17 -05:00
Logan Allen
744b9f2334 observe-hook: remove debugging code 2021-04-06 16:19:22 -05:00
Logan Allen
5f14b21636 observe-hook: warm up caches in +on-init also, not just +on-load 2021-04-06 16:02:18 -05:00
Logan Allen
01890fa040 observe-hook: upgrade to keep marks warm 2021-04-06 15:47:57 -05:00
Jōshin
4aa9bba5b3
gcp: isConfigured doesn't touch store
Makes the thread return a simple boolean; almost as simple as just
returning %.y or %.n.

gcpManager now stores whether GCP is configured as a private variable.

Also fixes some type errors in gcp.
2021-04-06 19:08:53 +00:00
Liam Fitzgerald
31717ae908
sane: don't kick unsubscribed
Fixes urbit/landscape#735
2021-04-06 11:47:48 +10:00
Liam Fitzgerald
fbd85abf4e
Merge remote-tracking branch 'origin/master' into lf/push-hook-unver 2021-04-03 12:54:35 +11:00
Liam Fitzgerald
b6a758b1f9
pull-hook: noop on unsupported, unversioned facts
Pull-hook side of the previous change to push-hook
(479fbfd798). Noop on unsupported
unversioned marks, waiting for the publisher to upgrade and kick. Same
tradeoffs as previous change apply.
2021-04-03 10:45:22 +10:00
Liam Fitzgerald
f1710c2f03
metadata: restore historical marks 2021-04-03 10:33:31 +10:00
janeway
6ed5ccbc4e glob: update to 0v2i7ds.j99ka.5dpja.pef1e.b04e0 2021-04-02 17:02:40 -04:00
Logan Allen
21b1119c74 metadata lib: parse right 2021-04-02 20:35:25 +00:00
Logan Allen
6fbbe2ceb7 metadata-store lib: make config encode/decode invertible 2021-04-02 19:18:59 +00:00
Liam Fitzgerald
ea5dc47eca
glob: update to 0v2.utsjo.ghhil.f0qh8.h5633.ffi8u 2021-04-03 01:04:52 +10:00
Liam Fitzgerald
f27fa5b0f3
metadata: fix updating graph metadata 2021-04-02 23:23:31 +10:00
Liam Fitzgerald
01960286d0
push-hook: do not pass facts to unsupported, unversioned subs 2021-04-02 22:14:15 +10:00
Liam Fitzgerald
479fbfd798
push-hook: noop on unversioned, unsupported watches
Mainnet is currently experiencing undue load due to a watch-kick loop.
If the watch is unsupported, it will be kicked due to a mark mismatch,
which will be interpreted by the unversioned hooks as a network pressure
kick, prompting a resub and continuing the loop. Instead, we now no-op
on unversioned, unsupported watches, waiting for the subscriber to
rewatch after it processes the versioning OTA. This will silently break
groups for the subscriber until the reach the latest OTA, but is
preferable to nacking, and kicking them permanently
2021-04-02 20:38:22 +10:00
Liam Fitzgerald
f322360dca
glob: update to 0v5.ancat.1qorl.7rea9.55ltu.2r24p 2021-04-02 15:38:35 +10:00
Liam Fitzgerald
eb131e64a8
metadata: prevent crash 2021-04-02 15:24:26 +10:00
Liam Fitzgerald
4d659be7cf
metadata: fix JSON conversions 2021-04-02 14:35:41 +10:00
Liam Fitzgerald
8d455eeac1
glob: update to 0v6.i86m5.f4rs9.l09fu.a7d86.v00sl 2021-04-02 13:27:10 +10:00
Liam Fitzgerald
5071ca309e
Merge remote-tracking branch 'origin/release/next-userspace' 2021-04-02 13:13:16 +10:00
Liam Fitzgerald
f2a7617376
Post: tweak permissions to match designs 2021-04-02 12:11:24 +10:00
Liam Fitzgerald
578924049d
Merge branch 'release/next-userspace' into lf/post-parent 2021-04-02 12:06:16 +10:00
Liam Fitzgerald
615be57b7b
Post: refactor permission variations 2021-04-02 11:48:09 +10:00
L
6097dd4ec6
Merge pull request #4712 from urbit/la/fix-disable
graph-disable-group-feed: archive the graph if necessary
2021-04-01 20:11:25 -05:00
Matilde Park
bd9d218ab6 Merge branch 'master' into release/next-userspace 2021-04-01 20:16:12 -04:00
Logan Allen
15f92702f2 graph-disable-group-feed: archive the graph if necessary 2021-04-01 18:57:36 -05:00
Joe Bryan
e9ee2f77c2 Merge branch 'master' into release/next-vere
* master: (160 commits)
  glob: update to 0v6.8mn05.16g61.46lkc.lgddc.3ifug
  metadata-push-hook: fixes issue with adding unmanaged metadata
  pills: update solid
  graph-push-hook: don't crash on multipart add
  glob: update to 0v5.g86fq.9ngth.ki9h1.q7kut.icm5f
  graph-store: scry only once during +validate-graph
  graph-store: fewer allocations in +validate-graph
  graph-store: speed up +validate-graph by using +turn and no longer virtualizing
  interface: version local state by commit hash
  graph-push-hook: add hc where appropriate and enforce type-checking to prevent issue in future
  graph-validators: speed up validators by adding type casts
  build: only run publish-npm-packages on pkg/npm
  build: match on path subdirectories
  glob: update to 0v1.4ujsp.698kt.ojftv.7jual.4hhu5
  launch: prevent aggressive tutorial render
  launch: get tutorial state from zustand
  push-hook: add version scries
  glob: update to 0v5.b7cjf.2kc12.85sng.lkqav.7sn0k
  readme: update arvo maintainers list
  notifications: clear before applying unreads
  ...
2021-04-01 15:31:35 -07:00
Logan Allen
5953c9a58f graph-view: add %vip field to %create-group-feed 2021-04-01 16:08:30 -05:00
janeway
588026e12e glob: update to 0v6.8mn05.16g61.46lkc.lgddc.3ifug 2021-04-01 13:56:03 -04:00
Logan Allen
88b097040b metadata-push-hook: fixes issue with adding unmanaged metadata 2021-04-01 17:08:30 +00:00
Liam Fitzgerald
417483c4de
Merge branch 'master' into release/next-userspace 2021-04-01 18:35:39 +10:00
Liam Fitzgerald
0477d66ca9
graph-push-hook: don't crash on multipart add 2021-04-01 15:24:17 +10:00
Liam Fitzgerald
7e750cf189
glob: update to 0v5.g86fq.9ngth.ki9h1.q7kut.icm5f 2021-04-01 12:08:42 +10:00
L
6a399432df
Merge pull request #4700 from urbit/la/graph-fast
graph-store: speed up +validate-graph by using +turn and no longer virtualizing
2021-03-31 16:41:09 -05:00
Logan Allen
2791cd5d9a graph-store: scry only once during +validate-graph 2021-03-31 16:08:36 -05:00
Logan Allen
d34045f190 graph-store: fewer allocations in +validate-graph 2021-03-31 16:08:31 -05:00
Logan Allen
d939c91e78 graph-store: speed up +validate-graph by using +turn and no longer virtualizing 2021-03-31 16:08:23 -05:00
Ted Blackman
06faf0b13c gall: print on missing request for ack 2021-03-31 14:54:28 -04:00
Matilde Park
f65527e145 Merge branch 'pre-release/next-userspace' into release/next-userspace 2021-03-30 20:13:49 -04:00
Matilde Park
15c1c2146a Merge branch 'master' into pre-release/next-userspace 2021-03-30 19:49:14 -04:00
Logan Allen
77196addaa graph-push-hook: add hc where appropriate and enforce type-checking to prevent issue in future 2021-03-30 19:42:24 -04:00
Logan Allen
3c8ac1edb1 graph-validators: speed up validators by adding type casts 2021-03-30 19:41:48 -04:00
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