Liam Fitzgerald
357ba972d6
hark-store: refactor on-load
2021-05-04 15:21:49 +10:00
Liam Fitzgerald
31a84f583f
hark: refactor, add migration
2021-05-04 14:17:55 +10:00
Liam Fitzgerald
ec4e3cacc3
post: remove %dm reference
2021-05-04 14:15:47 +10:00
Liam Fitzgerald
7a4546c4a1
dm-hook: screening
2021-05-04 11:17:49 +10:00
Liam Fitzgerald
772a134108
dm-hook: update for latest master
2021-05-04 11:17:49 +10:00
Liam Fitzgerald
10df4fa4b8
dm-hook: pendings and references
2021-05-04 11:17:47 +10:00
Liam Fitzgerald
2001afe01d
hark: remove group, change module to mark in index
2021-05-04 11:17:46 +10:00
Liam Fitzgerald
828e7ead1b
graph: add cage helpers
2021-05-04 11:15:03 +10:00
Liam Fitzgerald
395ef6ef01
hooks: add diplomacy flag
2021-05-04 11:06:59 +10:00
Liam Fitzgerald
29ada0eba1
pull-hook: slog tank on versioned nack
...
Should hopefully provide more debugging info for ghost subscriptions
2021-05-04 11:02:24 +10:00
Liam Fitzgerald
dcf858ccf9
push-hook: hold subscription open after validating access
...
When we receive a watch-nack on a versioned subscription, we attempt to
resubscribe on an unversioned path. However, if we receive an unversioned
subscription request for which we are not compatible, we hold the
subscription open and never send any facts on unversioned subscriptions.
As the check for unversioned compatiblility occurs before retrieving the
initial-watch, subscriptions which are supposed to nack never do. Fixed
by moving the conditional.
Fixes urbit/landscape#795
2021-05-04 10:56:49 +10:00
Liam Fitzgerald
c73e2b95b5
versioning: convert gates return a cage
2021-05-04 10:55:06 +10:00
raghu
baa06904f6
fuse: print help text in generator
2021-05-01 23:04:19 -04:00
Matilde Park
391a3101d9
Merge branch 'release/next-js' into release/next-userspace
2021-04-30 18:10:01 -04:00
Liam Fitzgerald
004145b407
graph: bunt time to ensure deduplication
...
The varying timestamp in the %add-graph fact from graph-push-hook was
preventing deduplication of the jammed noun in ames. Prevents
unnecessary bail: memes upon sending many %add-graph facts
2021-04-30 23:58:50 +10:00
Liam Fitzgerald
681641fe4c
graph-store: initialise update logs
2021-04-30 23:58:42 +10:00
Liam Fitzgerald
56b9a7545c
Merge remote-tracking branch 'origin/master' into la/ref-trans-graph
2021-04-30 14:36:26 +10:00
Philip Monk
ca389b42cf
Merge remote-tracking branch 'origin/master' into release/next-sys
2021-04-28 23:25:16 -07:00
Liam Fitzgerald
1ab144b265
hooks: address L review
2021-04-29 15:29:27 +10:00
rabsef-bicrym
04537e6fc1
Added support for .ico files:
...
-/mar/ico/hoon
* Utilizes similar structure to /mar/png/hoon, w/ changed mimetype
-/lib/server
* Added ico-response, again similar to png w/ same caching
-/app/file-server
* Added reference to ico-response:gen
i showed you my ico, plz respond
2021-04-29 04:38:43 +00:00
L
eb371ea4c2
Merge pull request #4776 from urbit/la/fix-session-cache
2021-04-27 16:00:35 -05:00
fang
6f0a947d1b
Merge branch 'master' into release/next-sys
2021-04-26 23:13:27 +02:00
Logan Allen
79fe01a434
graph-store/push-hook: remove old mark warming, organize
2021-04-26 13:28:13 -05:00
raghu
201c3db193
clay: finalize fuse request - update |fuse
2021-04-25 14:01:45 -04:00
Logan Allen
cd627d452c
metadata-store lib: replace crip, trip with rap 3
2021-04-20 16:25:43 -05:00
Logan Allen
c8565e2c3b
graph-store lib: skip trip and crip, use rap
2021-04-20 15:58:12 -05:00
Liam Fitzgerald
e27b899a9d
pull-hook: prevent subscription to own store
2021-04-20 18:24:49 +10:00
Liam Fitzgerald
8b52f14a20
pull-hook: do not renegotiate if versions did not change
2021-04-20 18:24:47 +10:00
Liam Fitzgerald
7f3d6ef212
push-hook: do not kick subs if versioning same
2021-04-20 18:08:02 +10:00
raghu
b2e1008d9a
clay: add %fuse
2021-04-19 23:46:46 -04:00
Logan Allen
7a44015924
graph-store: update +tag-queries to be a (jug term uid)
2021-04-19 15:53:07 -05:00
Logan Allen
751f3d1f24
server: fix session js caching, add cache threading for other response types, switch from tape to cord interpolation
2021-04-16 12:58:27 -05:00
Logan Allen
d144af2e5b
graph-store: migration code moved into lib, graph-store compiles with stubbed out %remove-posts
2021-04-14 14:26:36 -05:00
Logan Allen
fb0f169c09
graph-store: add referential transparency to structures file and update libs to compile
2021-04-13 16:17:39 -05:00
Logan Allen
f3001e122f
graph-store: clean up old migrations
2021-04-13 15:38:42 -05: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
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
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
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
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
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
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
615be57b7b
Post: refactor permission variations
2021-04-02 11:48:09 +10:00
Logan Allen
5953c9a58f
graph-view: add %vip field to %create-group-feed
2021-04-01 16:08:30 -05:00
Liam Fitzgerald
95bf313ff9
group-view: add %started update
2021-03-29 14:27:28 -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
9323f19108
graph-store: fix JSON
2021-03-25 14:45:16 +10:00
Liam Fitzgerald
248255c697
graph-store: fix crash in JSON
2021-03-25 14:10:28 +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
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
58bf89d834
Merge branch 'release/next-userspace' into la/group-feed
2021-03-24 14:51:49 -05: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
Logan Allen
9de66bc5af
Merge branch 'release/next-userspace' into la/group-feed
2021-03-23 21:13:12 -05: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
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
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
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
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
153d0ff347
hooks: fix remaining bugs
2021-03-19 10:05:07 +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
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
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
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
Logan Allen
caffd0fca8
signatures: properly use life instead of signed data in scry for deed
2021-03-12 10:52:46 -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
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
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
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
Logan Allen
b2759b9f36
Merge branch 'release/next-js' into la/release-2021-03-04
2021-03-08 14:11:54 -06:00
Ted Blackman
b55417a1c3
clay: remove +bunt from marks
2021-03-05 16:53:35 -05: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
Matilde Park
5f24254793
Merge branch 'release/next-js' into release/next-userspace
2021-03-05 03:22:41 -05:00
Philip Monk
a0146f4a44
clay: add %e, %f requests
...
For static naves, casts respectively
2021-03-04 18:28:16 -08: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