Commit Graph

429 Commits

Author SHA1 Message Date
Logan Allen
7a44015924 graph-store: update +tag-queries to be a (jug term uid) 2021-04-19 15:53:07 -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
Liam Fitzgerald
8b5a69a56f
Merge remote-tracking branch 'origin/la/warm-marks' 2021-04-08 15:13:04 +10:00
Logan Allen
01890fa040 observe-hook: upgrade to keep marks warm 2021-04-06 15:47:57 -05:00
Liam Fitzgerald
f1710c2f03
metadata: restore historical marks 2021-04-03 10:33:31 +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
7fd4928d96 Merge branch 'release/next-js' into release/next-userspace 2021-03-24 19:10:27 -04:00
Logan Allen
58bf89d834 Merge branch 'release/next-userspace' into la/group-feed 2021-03-24 14:51:49 -05:00
Liam Fitzgerald
c186bad1c1
graph-store: +on-load 2021-03-24 13:09:58 +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
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
669dfacd04
demo: add demo/testing agent for hook libraries 2021-03-19 10:12:50 +10: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
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
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
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
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
Liam Fitzgerald
b8d1dbd8c6
group-view: add hidden field 2021-03-04 12:54:37 +10:00
Philip Monk
6e3d1680a7
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-03-03 17:54:57 -08: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
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
Liam Fitzgerald
04170206bd
hark-graph-hook: upgrade notification-kind to allow for sibling autowatches 2021-02-26 13:37:25 +10:00
Isaac Visintainer
c0849f2c0b settings: add array type 2021-02-24 17:28:26 -08: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
J
d94f35aa5c gcp: add token type
Also use it in -get-gcp-jwt.
2021-02-24 00:49:47 +00:00
Logan Allen
f0a86b2de3 contact-store: add timestamp to %edit 2021-02-11 18:43:04 -06:00
Liam Fitzgerald
97cf9fcb19
hark-store: discard unused metadata notifications in OTA 2021-02-04 11:39:59 +10: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
1093ad0e42
group-view: add %invite action 2021-02-03 09:51:43 +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
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
e7b404ee4e
group-view: add JSON decoders for new actions 2021-02-01 13:48:49 +10:00
Liam Fitzgerald
a6e1459395
group-view: add %create thread 2021-02-01 13:25:00 +10:00
Liam Fitzgerald
0bad34b044
group-view: refactor to surface UI state 2021-02-01 11:58:59 +10:00
Logan Allen
72e036bae3 Merge branch 'release/next-userspace' into la/contact-store 2021-01-29 14:48:39 -06: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
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
matildepark
f4606327a3
Merge pull request #4285 from urbit/lf/md-modernize
metadata-store: modernisation
2021-01-28 17:53:12 -05:00
Logan Allen
8ac1a9768d contacts + interface: hooked up isPublic to interface 2021-01-28 14:45:28 -06:00
Liam Fitzgerald
a1c30ef230
metadata: modernize namespacing 2021-01-28 16:13:57 +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
Matilde Park
78940cb10f Merge branch 'release/next-js' into mp/contacts/ui-detail 2021-01-26 16:51:46 -05: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
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
Logan Allen
7bb76ba39c contact-store: change fields in to reflect new profile 2021-01-21 11:36:48 -06: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
015dffeb0f
metadata-hooks: start in drum 2021-01-21 10:14:19 +10:00
Matilde Park
31def6f57a Merge branch 'release/next-js' into release/next-userspace 2021-01-20 12:47:31 -05: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
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
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
f3ab81f88b
metadata: allow for preview subscriptions 2021-01-15 15:45:51 +10:00
Liam Fitzgerald
3fa761aaf3
metadata-store: add picture field 2021-01-14 11:12:48 +10:00
Liam Fitzgerald
9921cdfc81
metadata: add hooks 2021-01-13 14:50:37 +10:00
Liam Fitzgerald
9b6ec09fe9
metadata-store, various: update scry library 2021-01-13 14:05:22 +10:00
Liam Fitzgerald
d724e933b3
metadata-store: move to 1-1 mapping between groups and resources
Most of userspace already makes this assumption, but it was never
reflected in metadata-store itself.
2021-01-13 13:50:04 +10:00
Liam Fitzgerald
98324445c1
metadata-store: exorcise paths 2021-01-12 14:26:19 +10:00
fang
b8bf96d55f
file-server: inline docs for actions 2021-01-02 13:44:13 +01:00
Liam Fitzgerald
128356dd47
Merge pull request #4156 from urbit/lf/last-updated
hark-graph-hook, hark-store: set last-updated on self posts
2020-12-18 13:56:16 +10:00
Liam Fitzgerald
6b6e9a7be2
hark: cleanup notifications on leave 2020-12-17 16:10:26 +10:00
Liam Fitzgerald
169955b45a
hark: rework unread tracking, pt.3 2020-12-16 17:46:35 +10:00
Liam Fitzgerald
610a8730b7
wip 2020-12-16 14:22:23 +10:00
fang
f285c7954e
sole: add %bye effect for closing the session
This lets applications suggest to the client that they should gracefully
unsubscribe from the session.

Arguably this might be accomplished by %kick-ing the client and then
crashing on their subsequent resubscribe, but this requires tracking
their sole session id and has less semantic clarity on what's happening.
2020-12-15 16:56:47 +01:00
Liam Fitzgerald
5fdfca10e2
hark-store: send update counts separately 2020-12-15 15:38:56 +10:00
Liam Fitzgerald
66fe59819e
hark-store: allow setting last-updated independently of unread counts 2020-12-14 13:33:31 +10:00
Liam Fitzgerald
06ed5af3f4
graph-store: add -eval thread 2020-12-11 15:52:17 +10:00
Liam Fitzgerald
c3e4a1632f
hark: migrate and drop chat notifications 2020-12-10 15:19:46 +10:00
Logan Allen
7802a7f8d9 Merge branch 'release/next-userspace' into lf/chat-graph 2020-12-09 15:45:26 -06:00
fang
d98c59e73a
zuse: lift moves out of +able 2020-12-08 01:47:06 +01:00
fang
eab88170e2
Merge branch 'jb/motion' into m/de-thereum 2020-12-07 13:42:00 +01:00
fang
25a55c0f63
various: ethereum, azimuth, json-rpc out of zuse
Moves them into files in /lib, and updates dependents accordingly.
2020-12-06 17:26:52 +01:00
Philip Monk
8103a6423c
jael: cleanup per review 2020-12-05 15:17:37 -08:00
Philip Monk
b9fe6af976
jael: don't signal breach if first hearing of ship
When you first boot, if you try talk to someone before your azimuth is
up-to-date (for example by import), then if they've ever breached
(twice) then you'll get breach notification, cancelling your message.

This changes is it so that if we haven't heard anything about this ship,
we don't signal a breach.

The implementation complexity is primarily because we need
eth-watcher/azimuth-tracker to produce an update of a list instead of a
list of updates.  This way, Jael can keep a "state as of the beginning
of this move" variable to check when deciding whether to signal a
breach.
2020-12-04 23:08:47 -08:00
Logan Allen
fc28fbd1c5 Merge branch 'lf/chat-graph' into la/merge-graph 2020-12-04 12:49:21 -06:00
Matilde Park
78c22ae5c4 Merge branch 'na-release/candidate' into release/next-userspace 2020-12-03 20:55:16 -05:00
Isaac Visintainer
2cf6af586d Merge branch 'na-release/candidate' into philip/testnet 2020-12-02 21:10:15 -08:00