Commit Graph

133 Commits

Author SHA1 Message Date
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
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
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