Commit Graph

282 Commits

Author SHA1 Message Date
Liam Fitzgerald
b5296efbe9 landscape: fix automatically watching group chats
Adds functionality in %group-view and -group-create to automatically
watch group chats when created. This appears to have gotten lost around
the time of the hark-graph-hook and group-view rewrite
2022-04-15 15:33:23 -05:00
Liam Fitzgerald
a47d4b21d1 Merge remote-tracking branch 'origin/next/groups' 2022-04-13 16:04:55 -05:00
Patrick O'Sullivan
9c537f0e03 groups: Update desk.docket with new bs8b1 2022-04-13 16:00:38 -05:00
Liam Fitzgerald
ba50914615
Merge pull request #5661 from urbit/lf/graph-drop-logs
graph-store: drop unnecessary logs
2022-04-13 14:05:28 -05:00
Hunter Miller
25d56c5cfd groups: fixing hash 2022-04-12 13:59:27 -05:00
Hunter Miller
649b127414 Merge branch 'master' of github.com:urbit/urbit 2022-04-12 13:40:17 -05:00
Hunter Miller
3cfc517631 groups: version bump 2022-04-12 13:40:09 -05:00
Patrick O'Sullivan
e2eeda96c2 grid: Update glob to 090hm 2022-04-12 13:28:58 -05:00
Hunter Miller
59e90a0dd1
Merge pull request #5587 from rabsef-bicrym/patch-1
%depth-first has pattern-matching issue
2022-04-07 12:58:54 -05:00
Liam Fitzgerald
be722a246b dm-hook: fix missing notification on DM invite
Fixes urbit/landscape#1117
2022-03-28 14:33:18 -06:00
Liam Fitzgerald
d4658089a9 hark-graph-hook: revive unread counts for group feed
Fixes urbit/landscape#1258
2022-03-28 13:53:22 -06:00
Liam Fitzgerald
0cdd048903 graph-store: subscribers always keep minimal logs
Transposes the change in 1a2a9ee899 so
that subscribers always keep the minimum possible logs.
2022-03-25 13:35:44 -06:00
Liam Fitzgerald
1a2a9ee899 graph-store: drop unnecessary logs
Drops unnecessary logs for subscribers, to reduce memory usage. In local
testing, this incurred a 20% improvement in graph-store memory usage.
Note that publishers still retain the entire history, for backlog and
resubscribe purposes. Subscribers still retain a handful of updates so
that they can resubscribe upon kick correctly.
2022-03-24 13:31:15 -06:00
Patrick O'Sullivan
0a62aa8f22 groups: Fix <user> left <group> notifications 2022-03-22 15:17:29 -05:00
Hunter Miller
ef4131061e Merge branch 'master' into next/groups 2022-03-21 18:20:51 -05:00
Hunter Miller
4fb718bd78 groups: update version and glob 2022-03-16 16:42:00 -05:00
Liam Fitzgerald
d42c04f1e5
Merge pull request #5631 from urbit/lf/notify-strip
notify: disable notifications dismissal
2022-03-15 15:24:36 -06:00
Hunter Miller
a35f70ac59 Merge branch 'next/groups' 2022-03-14 15:56:49 -05:00
Patrick O'Sullivan
74149bc16f groups: do not notify user if mentioned in DM 2022-03-14 15:04:36 -05:00
Liam Fitzgerald
eeaa6d3c66 notify: disable notifications dismissal
Disables automatic dismissal of push notifications in an attempt to
tighten the debugging space. This should prevent unintentional 404s. To
prevent a space leak we clear notifications once a week on a timer.
2022-03-08 13:14:38 -06:00
Jake Miller
ed2da5d54f
Merge pull request #5605 from urbit/jm/archive-scry
graph-store: fix scrying into archive
2022-03-06 05:45:57 -05:00
Hunter Miller
6c221fbddc interface: updating glob to trigger properly uploaded glob 2022-03-02 18:32:45 -06:00
Hunter Miller
c4bc9b3428 groups: updating glob and version 2022-02-28 11:32:05 -06:00
Hunter Miller
2da5e9c5ca landscape: fixing bad glob 2022-02-23 13:30:56 -06:00
Hunter Miller
b4adaf2fee landscape: updating glob and version 2022-02-23 10:45:32 -06:00
Joe Bryan
8cac5b50c4 graph-store: integrates with |mass 2022-02-23 00:16:27 -05:00
ryjm
7ce7d2622d graph-store: fix scrying into archive 2022-02-22 08:07:40 -05:00
fang
3120681b2b
sole: properly support multiple sessions
We update the sole protocol to more cleanly support multiple sessions.

Primarily, the "sole id" is updated to be a [@p @ta] instead of a @ta,
and it is now generated based off the connected dill session, rather
than statically.

This change ripples out to applications that support the sole protocol:
the subscription path becomes /sole/[ship]/[session] (as opposed to
/sole/[per-ship-constant]), and %sole-action pokes include the new id as
well.
For shoe agents, this means (at the very least) updating the function
signatures of the shoe arms.

/lib/sole has been updated to include helper functions for parsing a
sole-id from a subscription path, and turning a sole-id into its
corresponding path. It also has a function to aid in migrating old
sole-ids.

Existing sole agents are made to kick any known open sessions, forcing a
resubscribe by drum, so that they may use exclusively the new format
going forward. Third-party agents are recommended to do the same.

Note that some functionality, such as |link, still operates exclusively
on the default session. Improvements in this area to follow soon.
2022-02-20 17:19:03 -06:00
fang
c4f38032ce
pkg: move /lib/dill into base-dev, include it
Landscape desk needed it, but didn't have it.
2022-02-20 15:35:55 -06:00
Liam Fitzgerald
981bcfdecc landscape: cache marks again
Fixes urbit/urbit#5590
2022-02-09 10:52:04 -06:00
rabsef-bicrym
22a69d38f4
%depth-first has pattern-matching issue
support a `%depth-first` scry constructed as follows `.^(* %gx /=graph-store=/graph/<ship of resource>/<name of resource>/depth-first/<count>/<start>/graph-update-3)`
2022-02-07 17:49:11 -08:00
Liam Fitzgerald
f3da5488ce Merge remote-tracking branch 'origin/next/groups' into lf/no-perms-rejoin 2022-02-03 11:12:43 -06:00
Liam Fitzgerald
9540afecad group-view: fix errored rollback 2022-01-31 16:20:57 -06:00
Hunter Miller
874d380ad5 groups: updating version 2022-01-28 20:30:13 -06:00
Hunter Miller
dc188d6059 groups: fixing bad glob 2022-01-28 20:29:34 -06:00
Hunter Miller
509bd2b11a groups: updating glob 2022-01-28 19:39:48 -06:00
Hunter Miller
5426f2aff8 Merge branch 'next/groups' into hm/fix-group-dm-initial-load 2022-01-25 11:23:30 -06:00
Hunter Miller
86d9aba7fb garden,landscape: updating globs and versions 2022-01-24 16:14:26 -06:00
Liam Fitzgerald
14ca87c43c dm-hook: mutate screened before giving fact
Fixes an issue where the subscription update would contain stale data
2022-01-24 15:18:52 -06:00
Liam Fitzgerald
c5c7946e5a
Merge pull request #5553 from urbit/la/proxy-sigs
graph-push-hook: proxy add and remove signatures across the network
2022-01-20 16:52:22 -06:00
Logan Allen
bb953945f8 graph-push-hook: proxy add and remove signatures across the network 2022-01-20 21:58:00 +00:00
Liam Fitzgerald
6c1ce45815
Merge pull request #5489 from urbit/lf/fix-revoke
groups: fix permission handling
2022-01-10 11:11:12 -06:00
Liam Fitzgerald
a1aee5d2c8
Merge pull request #5519 from urbit/lf/fix-admin-remove
graph-validator-chat: allow admin removal of any message
2022-01-10 11:06:58 -06:00
Liam Fitzgerald
05de25a22f graph-validator-chat: allow admin removal of any message 2022-01-04 15:11:24 -06:00
Mackenzie Davidson
da2b31750b theme_color meta precedence corrected 2021-12-20 13:20:59 -05:00
Mackenzie Davidson
bc249fc204 replace theme color override with existing background color value (rgb(26, 26, 26), in hex) for dark mode users 2021-12-20 13:15:02 -05:00
Mackenzie Davidson
453a253091 override theme_color in manifest 2021-12-20 13:12:33 -05:00
Mackenzie Davidson
f9c76914a9 Merge branch 'master' of https://github.com/mwvd/urbit into html-theme-updates 2021-12-20 12:58:49 -05:00
Philip Monk
e243d5adf6
landscape,garden: make build
Boot was broken, fixing the hark-note file mark and re-adding the
hark-store library fixed it.

This lets us push a new pill, which is necessary for the fix in #5434 to
actually work.

Fixes #5501
Fixes #5502
2021-12-18 22:54:49 -08:00
Liam Fitzgerald
e8ba3b5f73 metadata-push-hook: address mark review 2021-12-14 08:50:57 -05:00
Liam Fitzgerald
418ad3736d -group-leave: cleanup seperation of concerns between groups, metadata, graphs 2021-12-13 06:29:00 -05:00
Liam Fitzgerald
6a6af5edc4 metadata-pull-hook: fix limb expression in on-pull-nack 2021-12-13 06:26:44 -05:00
Liam Fitzgerald
224353364a metadata-push-hook: watch group-store for permission revocation 2021-12-13 06:26:07 -05:00
Liam Fitzgerald
e1138e1684 push-hook: fix %revoke action for versioned subscriptions 2021-12-13 06:23:03 -05:00
Liam Fitzgerald
fd4844bf9f pull-hook: fix swapped argument preventing cards being sent 2021-12-13 06:19:00 -05:00
Liam Fitzgerald
722b19066e landscape: defer removing metadata until on-leave thread
Addresses graphs not being archived correctly, and causing spurious
notifications
2021-12-13 04:37:08 -05:00
Mackenzie Davidson
8d4b325477 landscape - safari theme-color prefers-color-scheme dark + fallbacks 2021-12-09 10:50:38 -05:00
Liam Fitzgerald
ac2337a6a7 landscape: bump version, glob 2021-12-08 16:46:59 -05:00
Liam Fitzgerald
1893ffd651 landscape: update glob 2021-12-07 11:23:50 -05:00
Liam Fitzgerald
d58666d4c7 invite-store: change /all scry to return %invite-update 2021-12-06 15:28:26 -05:00
Liam Fitzgerald
4dbf4a9e9f
Merge pull request #5472 from urbit/jo/graph-store-mark
landscape: correct mark
2021-12-06 09:36:15 -05:00
Jōshin
ffc2d8f0b9
landscape: correct mark
This was crashing before due to a `[%no-cast-from %graph-update-3 %graph-update]`. With this change it produces output.
2021-12-04 20:55:15 -08:00
Liam Fitzgerald
fe84339747 landscape: update glob, version 2021-12-02 14:07:41 -05:00
Liam Fitzgerald
0af4d998c1
Merge pull request #5449 from urbit/lf/group-view-refactor
groups: refactor joining process
2021-12-02 12:09:09 -05:00
Liam Fitzgerald
9658d45dac
Merge pull request #5461 from urbit/lf/revive-notify
notify: upgrade for new hark-store, miscellaneous improvements
2021-12-02 12:08:26 -05:00
Liam Fitzgerald
f68c4db4d2 notify: address mark review 2021-12-02 10:19:22 -05:00
Liam Fitzgerald
12cc826a38
Merge pull request #5462 from urbit/lf/fix-moon-invites
invite-hook: use equality instead of team:title
2021-12-02 09:06:01 -05:00
Liam Fitzgerald
eb4cce0da7 invite-hook: use equality instead of team:title
Fixes a bug that prevented moons from being invited
2021-11-30 16:19:24 -05:00
Liam Fitzgerald
c6a68ced13 notify: prevent memory leak, cleanup notifications when dismissed 2021-11-30 13:41:51 -05:00
Liam Fitzgerald
4c47bc3ba0 notify: rework subscription wires and rewatch 2021-11-30 13:05:59 -05:00
Liam Fitzgerald
1f0465c1d6 notify: update for new hark-store 2021-11-30 11:31:46 -05:00
Liam Fitzgerald
accba6a3ea landscape: add %hark-note mark 2021-11-30 11:25:48 -05:00
Liam Fitzgerald
5f52ec9ad6 garden: move /+ hark-store into -dev 2021-11-30 11:25:30 -05:00
Liam Fitzgerald
b30e2d26a0 landscape: reorg join fields 2021-11-24 15:18:56 -05:00
Liam Fitzgerald
8f368d3d5d landscape: move /nack path into lib 2021-11-24 15:12:22 -05:00
Liam Fitzgerald
84767c7f4d group-view: make OTAable 2021-11-17 16:14:56 -05:00
Liam Fitzgerald
d8b7473bdf group-view: share contact, autojoin graphs 2021-11-17 16:09:41 -05:00
Liam Fitzgerald
03e094d075 group-view: add reqeuest rollback, request aborting 2021-11-17 16:08:53 -05:00
Liam Fitzgerald
1d5566cc18 group-view: add breach handling 2021-11-17 16:08:00 -05:00
Liam Fitzgerald
835c0baf2b group-view: refactor types for additional functionality 2021-11-17 16:03:30 -05:00
Liam Fitzgerald
ec480ab7d1 contacts: federate contacts through group chats 2021-11-17 15:59:42 -05:00
Liam Fitzgerald
9de0caf319 metadata: allow previews for group chats 2021-11-17 15:56:48 -05:00
fang
309cd96f8c
various: bump pkg kelvins ahead of coming update 2021-11-10 14:51:26 +01:00
Liam Fitzgerald
108cf625dd group-view: make joins retriable 2021-11-08 14:30:32 -06:00
Liam Fitzgerald
f218e4bf5c group-view: refactor for clarity 2021-11-08 14:30:32 -06:00
Liam Fitzgerald
8e603751e8 landscape: add /nack path to group,metadata pull-hook 2021-11-08 14:30:32 -06:00
Liam Fitzgerald
d88595ba1c groups: update glob, version 2021-11-04 16:43:01 -05:00
Liam Fitzgerald
9e9af0311b groups: update version in docket 2021-11-04 16:18:10 -05:00
Liam Fitzgerald
7f7c81b018 groups: update glob, hotfix import 2021-11-04 12:09:19 -05:00
Liam Fitzgerald
3fc6a52e74 groups: update glob 2021-11-04 11:55:31 -05:00
Liam Fitzgerald
9ac1897072 hark-graph-hook: correctly get rear of index 2021-10-28 14:02:48 -05:00
Liam Fitzgerald
83f6501418 hark-graph-hook: fix dm notifications 2021-10-26 11:53:48 -05:00
Liam Fitzgerald
c095c37024 hark-graph-hook: fix face 2021-10-26 08:59:24 -05:00
Liam Fitzgerald
c242bef79f hark-graph-hook: fix calling of +add-nodes, place using parent index 2021-10-26 08:33:44 -05:00
Liam Fitzgerald
ff7494f3fa various: update pills, globs, docket 2021-10-25 22:16:53 -05:00
Liam Fitzgerald
be207aaa09
Merge pull request #5336 from urbit/lf/fix-missing-messages
landscape: fix failing scry causing messages to be improperly validated
2021-10-25 20:56:44 -05:00
Liam Fitzgerald
1cae55b432 landscape: address jake review 2021-10-25 19:59:36 -05:00
Liam Fitzgerald
52d0c33d59 hark-graph-hook: rip out mark-based polymorphism 2021-10-21 13:41:14 -05:00
Liam Fitzgerald
1cc388c42f landscape: fix failing scry causing messages to be improperly validated
If we received a graph-node with that was signed by a past or future
life of a ship, then we would potentially crash scrying for the public
keys. Now, if there is a mismatch between lives, we simply no-op and
treat the signature as valid.
2021-10-19 13:00:00 -05:00
Hunter Miller
c3271b0b2e landscape: updating glob 2021-10-08 15:37:33 -05:00
Hunter Miller
7f0c319af4 landscape: updating glob 2021-10-05 13:22:34 -05:00
Hunter Miller
3d8bd05499 landscape: updating glob 2021-10-04 15:12:15 -05:00
fang
ea6147bd66
graph-store: clean up merge artefact 2021-10-05 00:00:13 +04:00
fang
aa48973c6a
Merge branch 'release/next-userspace' 2021-10-04 23:45:45 +04:00
Liam Fitzgerald
52be186fcc pull-hook: add nice flag to kick poke 2021-09-30 19:17:49 +10:00
Liam Fitzgerald
aa44d2e8a1 graph-pull-hook: renegotiate subscriptions 2021-09-30 18:53:07 +10:00
Liam Fitzgerald
13eb709fb1 graph-store: Handle missing update-logs gracefully in scries
If a subscription was kicked before receiving any graph-updates on it,
then the attempt to construct a valid resubscribe path would fail, as
the scry crashes. Fixes this by handling the missing update-log case
correctly.
2021-09-30 18:47:50 +10:00
Liam Fitzgerald
fffa2c1385 landscape: correctly freeze graph-update-2 2021-09-30 14:08:21 +10:00
Hunter Miller
2158206170 grid: updating globs 2021-09-29 15:05:15 -05:00
Liam Fitzgerald
25de4cadbb landscape: move version mark, update jam 2021-09-29 23:49:04 +10:00
Liam Fitzgerald
ebe5fe68ef various: update pills, jams, docket 2021-09-29 22:53:18 +10:00
Liam Fitzgerald
ff2e1f1c6f arvo: update jamfiles, pills, dockets 2021-09-29 16:09:22 +10:00
Liam Fitzgerald
a8c6030f0b various: disable verb-by-default 2021-09-29 14:48:27 +10:00
Liam Fitzgerald
003657890b landscape: refine group joining interface 2021-09-29 14:37:31 +10:00
Liam Fitzgerald
31f5898087 kiln: track original publisher with desk.ship file 2021-09-29 13:27:28 +10:00
Ted Blackman
107ea02668 remove glob from other desks 2021-09-28 16:13:32 -04:00
Hunter Miller
5481d4f590 glob: updating grid and landscape 2021-09-28 14:12:06 -05:00
Liam Fitzgerald
f3f13b1261 garden: version treaty, docket 2021-09-28 12:50:45 +10:00
Liam Fitzgerald
cf5f444458 graph-store: bump update mark 2021-09-28 12:50:45 +10:00
Hunter Miller
502f2e8a9c Merge branch 'hm/btc-wallet-conflict-resolution' into ea/master-dist-deconflict 2021-09-27 18:55:45 -05:00
Fang
1640ff6d38
dist: add glob mark, merge base-dev into others
This had fallen off the wagon at some point.
2021-09-27 13:34:23 +04:00
Ted Blackman
2544b79e4b kiln,desks: remove %fish from /desk/bill; fix some other kiln issues 2021-09-26 17:03:26 -04:00
Liam Fitzgerald
862eab4097 garden,landscape: update globs 2021-09-24 14:41:56 +10:00
Liam Fitzgerald
e1ee384e05 interface: rename Landscape -> Groups 2021-09-24 10:03:09 +10:00
Ted Blackman
6bf3a7fe4c Merge branch 'ted/dist-migrate-wip' into dist 2021-09-23 18:12:09 -04:00
Ted Blackman
c80fb82318 clay,kiln,landscape/notify: migration runs 2021-09-23 18:07:13 -04:00
Liam Fitzgerald
5dadee5375 Merge remote-tracking branch 'origin/dist' into m/dist-ames-glob-fixes 2021-09-23 15:50:55 +10:00
Liam Fitzgerald
42e19b53f6 grid, interface: glob 2021-09-23 15:08:31 +10:00
Liam Fitzgerald
57d0a7def4 group-view: do not crash on rejoin
Fixes urbit/lansdcape#1113
2021-09-23 12:11:05 +10:00
Liam Fitzgerald
dab1084842 landscape: update glob, again 2021-09-22 14:47:14 +10:00
Liam Fitzgerald
2804c86587 interface: fixed glob 2021-09-22 14:45:11 +10:00
Liam Fitzgerald
6c6b7a526c grid, interface: glob 2021-09-22 14:25:01 +10:00
Liam Fitzgerald
eedf6edf4d garden,landscape: update globs 2021-09-22 10:55:11 +10:00
Liam Fitzgerald
e0a029dbdf landscape: update glob 2021-09-21 15:13:53 +10:00
Liam Fitzgerald
7194b3586c garden,landscape: update globs 2021-09-21 14:28:45 +10:00
Liam Fitzgerald
848f52a8ad Merge remote-tracking branch 'origin/dist' into lf/dist-fixes 2021-09-21 13:44:12 +10:00
Liam Fitzgerald
9cc2d07a4e dm-hook: notify on pending 2021-09-21 13:34:09 +10:00
Hunter Miller
e9ac2bd9cf types: correcting path type v2 2021-09-20 20:34:23 -05:00
Hunter Miller
7aefdd957d Merge branch 'dist' into hm/landscape-app-link 2021-09-20 20:04:03 -05:00
Liam Fitzgerald
afc42760ea grid, interface: glob 2021-09-20 14:39:49 +10:00
Liam Fitzgerald
2b9df91f2a interface: update landscape glob 2021-09-20 12:17:54 +10:00
Hunter Miller
2dbfbedd05 app-reference: correcting structure and hoon typings 2021-09-17 18:25:32 -05:00
Liam Fitzgerald
7b9b0c62b7 various: update symbolic merges 2021-09-17 14:54:01 +10:00
Liam Fitzgerald
143a8e08e6 various: fix dependencies & tests 2021-09-17 14:51:19 +10:00
Liam Fitzgerald
caad190e22 garden-dev: fix hark-store sur/ packaging 2021-09-17 10:51:30 +10:00
Liam Fitzgerald
8a457c0762 landscape: update hark hooks for timeboxing 2021-09-17 10:48:38 +10:00
Hunter Miller
d786c8d677 permalink: app embeds 2021-09-16 16:05:54 -05:00
Liam Fitzgerald
a433e4f911 Merge remote-tracking branch 'origin/dist' into lf/nu-hark-store 2021-09-14 12:40:52 +10:00
Liam Fitzgerald
2a15658d2e interface: fix packaging 2021-09-13 22:04:52 +10:00
Liam Fitzgerald
e4fad4f7b1 various: fix packaging 2021-09-10 14:37:17 +10:00