Commit Graph

143 Commits

Author SHA1 Message Date
tacryt-socryp
238a2b8d6b
Merge pull request #5749 from rabsef-bicrym/patch-4
Solve #5706 - Create vase at each branch of `t.t.t.t.path`
2022-06-30 15:27:53 -05:00
rabsef-bicrym
a7c5104f46
Solve #5706 - Create vase at each branch of t.t.t.t.path
#5706 describes an issue with using `!>` higher up in `graph-store` where multiple types are potentially included in the vase's construction, resulting in a type of `?((unit time) update-log:store)` when scrying the internals - no fun!
2022-05-06 13:42:11 -07:00
Hunter Miller
62c316225e
Merge pull request #5723 from urbit/lf/fix-group-chats
landscape: fix automatically watching group chats
2022-05-02 09:59:18 -05:00
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
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
649b127414 Merge branch 'master' of github.com:urbit/urbit 2022-04-12 13:40:17 -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
Liam Fitzgerald
d42c04f1e5
Merge pull request #5631 from urbit/lf/notify-strip
notify: disable notifications dismissal
2022-03-15 15:24:36 -06: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
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
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
9540afecad group-view: fix errored rollback 2022-01-31 16:20:57 -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
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
Liam Fitzgerald
e8ba3b5f73 metadata-push-hook: address mark review 2021-12-14 08:50:57 -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
Mackenzie Davidson
8d4b325477 landscape - safari theme-color prefers-color-scheme dark + fallbacks 2021-12-09 10:50:38 -05:00
Liam Fitzgerald
d58666d4c7 invite-store: change /all scry to return %invite-update 2021-12-06 15:28:26 -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
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
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
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
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
52d0c33d59 hark-graph-hook: rip out mark-based polymorphism 2021-10-21 13:41:14 -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
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
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
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
57d0a7def4 group-view: do not crash on rejoin
Fixes urbit/lansdcape#1113
2021-09-23 12:11:05 +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
Hunter Miller
2dbfbedd05 app-reference: correcting structure and hoon typings 2021-09-17 18:25:32 -05:00
Liam Fitzgerald
8a457c0762 landscape: update hark hooks for timeboxing 2021-09-17 10:48:38 +10: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
ce919f15fd hark-graph-hook: handle migration case 2021-09-10 13:45:43 +10:00
Liam Fitzgerald
e08ac991b3 garden: move settings-store 2021-09-09 09:52:56 +10:00
Liam Fitzgerald
f24fbe3eba Merge remote-tracking branch 'origin/dist' into lf/nu-hark-store 2021-09-06 14:34:46 +10:00
Liam Fitzgerald
76e033c649 landscape: upgrade for new hark-store 2021-09-06 13:31:11 +10:00
Liam Fitzgerald
1793157cfa graph-push-hook: parameterise desk 2021-09-02 08:58:10 +10:00
Liam Fitzgerald
962ab54f40 garden: move hark-store 2021-09-01 14:36:31 +10:00
Liam Fitzgerald
76cc80af6c bitcoin: split into seperate desk 2021-08-26 13:00:58 +10:00
Ted Blackman
6408baaa93 various: fix merge problems 2021-08-18 01:16:48 +03:00
Ted Blackman
70bba97180 hark-graph-hook: fix merge artifact 2021-08-12 17:08:20 +03:00
Ted Blackman
616ab66f26 merge master; loosen :hood's updates 2021-08-11 19:23:36 +03:00
Ted Blackman
5c513b9d1e landscape: miscellaneous fixes 2021-07-24 12:11:15 +03:00
Ted Blackman
944c172f67 herm: move from %landscape to %base 2021-07-23 14:02:24 +03:00
Ted Blackman
50b50adade landscape: version works again, fix gcp 2021-07-21 11:59:33 +03:00
Ted Blackman
bd3e452a42 landscape,interface: use new %kiln base-hash scry 2021-07-20 21:55:39 +03:00
Ted Blackman
7f47e676cc landscape: all threads build 2021-07-19 16:59:03 +03:00
Ted Blackman
cee258c9b6 spider: threads on other desks, and fixed call sites 2021-07-19 15:17:55 +03:00
Ted Blackman
efb1c547eb landscape: installs without crashing (but threads still fail) 2021-07-19 14:02:50 +03:00
Ted Blackman
1c41b01359 %base: move landscape files out; %base boots, %landscape validates 2021-07-18 04:40:20 +03:00