Commit Graph

42 Commits

Author SHA1 Message Date
Isaac Visintainer
4f0e599cb1 contacts: import/export 2020-12-01 17:38:51 -08:00
Logan Allen
c8068e8fcb agents: all agents compile with new invites types and import patterns 2020-10-22 12:17:15 -05:00
Logan Allen
52d7837420 agents: updated all references to invites 2020-10-20 17:23:07 -05:00
Logan Allen
f015acb76c metadata: add %module field to metadata 2020-09-22 12:26:19 -05:00
Matilde Park
ef3b9282c2 various: add [landscape] marker to apps in arvo 2020-08-31 21:54:39 -04:00
Liam Fitzgerald
516423b853 contact-hook: no-op on accepted invite
The contact-hook was attempting to join a group upon it's invite being
accepted. However, the join poke is also sent from the frontend, causing
a potential race condition. Changes contact-hook to no-op on an
%invite-update.
2020-08-17 12:41:24 +10:00
Liam Fitzgerald
70b0336d22 contact-hook: resubscribe on correct paths 2020-07-23 17:42:41 +10:00
Liam Fitzgerald
66e2fc0208 chat, publish, contacts: fix OTA bugs 2020-07-22 12:54:34 +00:00
Liam Fitzgerald
2509642042 contact-hook: upgrade paths on OTA 2020-07-17 12:04:15 +10:00
Liam Fitzgerald
26c610f8d2 interface: update store + api + subscriptions for new groups 2020-07-02 12:19:32 +10:00
Liam Fitzgerald
47352a06ba groups: finalize state adapters 2020-06-24 10:28:57 +10:00
Liam Fitzgerald
8cf81002ec Merge branch 'ford-fusion' into lf/groups-refactor 2020-06-23 12:13:03 +10:00
Philip Monk
6ff9f75bb7
Merge remote-tracking branch 'origin/master' into ford-fusion 2020-06-19 14:52:18 -07:00
Liam Fitzgerald
d5466ff31a groups: fix remaining bugs in new implementation 2020-06-15 18:09:03 +10:00
Liam Fitzgerald
daaf9201ae contact-hook: fix /~/default poke
We don't maintain a synced entry in the state for /~/default, so ignore
the synced check if modifying the /~/default contacts.
2020-06-10 13:14:25 +10:00
Liam Fitzgerald
d66dbff61e groups: migrate to push-pull hooks and resources 2020-06-08 17:53:16 +10:00
Philip Monk
8b78f04dd3
Merge remote-tracking branch 'origin/master' into ford-fusion 2020-06-02 21:50:20 -07:00
Liam Fitzgerald
2bafd3eb57 groups: fix race condition in joining flow
Attempting to sync a group that a ship is not in causes the subscription
to fail. Because the %add-members action and the sync used to be sent in
one invocation, ames does not guaranteed the order of these remote
actions and so we wait for the %add-members poke to be acked before
adding the group and associated resources.
2020-06-02 15:28:34 +10:00
Liam Fitzgerald
5016e84c0a groups: namespace tags 2020-06-02 15:24:08 +10:00
Liam Fitzgerald
841ba72bd9 chat: update to new groups 2020-06-02 15:20:14 +10:00
Liam Fitzgerald
d2de8d72eb groups: begin rewrite 2020-06-02 15:07:09 +10:00
Ted Blackman
64882f09e7 /gen,/app: stop using /= 2020-05-19 16:53:55 -04:00
Logan Allen
6d4a694aeb t groups + contacts: make removes completely clean up state 2020-04-21 15:00:43 -04:00
Logan Allen
bfcaf6468e contact-hook: tested it, got /synced path working, and subscriptions loading 2020-04-14 18:05:32 -04:00
Logan Allen
b6e4566e61 contacts: fix group deletion and do some quality of life fixes 2020-04-14 21:33:01 +00:00
Logan Allen
99878eb65d apps: added hints to the top of many networked apps 2020-04-02 17:49:46 -04:00
Fang
058dcdf100
contact-hook: less destructive catch-up on-sub
(Re)subscribing gets us a %contacts update, containing the full set of
contacts as it currently exists.

Previously, we would fully delete our local state, only to recreate it
using the data from the update.

Now, we never delete existing data, instead only creating if we don't
have it yet, and adding, removing or recreating contacts if they
changed.

In the future, we'll want an easy way to turn two contacts into an %edit
diff, to let us apply correct semantics to individual contacts, too.
2020-03-27 14:21:03 +01:00
Logan Allen
43e4ca149e contact-hook: re-establish connection to group-store if subscription failed during ota 2020-03-13 19:32:28 +00:00
Fang
55aa0cb610
apps: augment with /lib/dbug 2020-03-12 01:33:48 +01:00
Logan
e160f0b0f4
Update pkg/arvo/app/contact-hook.hoon
Co-Authored-By: Fang <git@fang.io>
2020-03-09 12:29:49 -07:00
Logan Allen
3824402200 chat: upgraded chat-hook to move old chats to /~/chat-path
chat: ota attempt

chat: ota triggers chat-store to tell chat-hook to send cards to update chat-store's state

contact-view: commented out avatars and base64

chat: cleaned up commits
2020-03-08 13:05:10 -07:00
Logan Allen
bb0f56f17a chat + contacts: integrate managed groups with metadata 2020-03-01 15:40:49 -08:00
Logan Allen
5aa7a91134 contact-hook: suppress resubscribe stack trace 2020-02-12 14:29:29 -08:00
Logan Allen
2d0e7c76c5 contact-hook: fix invite to group being sent back to owner upon acceptance 2020-02-10 15:25:48 -08:00
Logan Allen
ea93dd3af8 chat + contacts: finished integration for managed groups
Specifically, this commit removes the add action from the contact-view
and replaces it with a listener within contact-hook for additions
to groups. This means that when a ship is added to a group that the
contact-hook is watching, the ship is automatically sent an invite to
join that "managed group" from the contacts application. This also
includes the UI integration work on the management screen and settings
screen for working with the new group / permission structure.
2020-02-06 16:02:45 -08:00
Logan Allen
1279019cdd contacts: delete groups/contacts properly and mirror to foreign 2020-01-29 16:48:58 -08:00
Logan Allen
4c5ecb51bd contact: remove extraneous ~& 2020-01-29 15:09:24 -08:00
Logan Allen
77f702b38c contacts: working on remove from group behavior 2020-01-29 10:42:33 -08:00
Logan Allen
3244862eaa contacts: update apps to work with updated %gall gifts 2020-01-24 15:57:29 -08:00
Logan Allen
aac3bd9678 contacts: adding yourself to group works 2020-01-23 13:15:17 -08:00
Logan Allen
8de18e4d4c contact hook / group hook is hooked up to ui 2020-01-23 13:15:17 -08:00
Logan Allen
56a1c3400a contact-hook: added first complete and compiling version 2020-01-23 13:13:52 -08:00