Commit Graph

869 Commits

Author SHA1 Message Date
Fang
3e7f0dd9d8
link-view: support %delete and %invite actions
%delete tries to be as local as possible in its impact.
%invite deals with un/managed branching for you.
2020-03-04 22:11:54 +01:00
Fang
1f4e14f38a
link-view: include missing %create steps
Expose the metadata and set up a permission set for the group.
2020-03-04 22:06:24 +01:00
Fang
396d13ee1a
Merge branch 'os1-rc' of https://github.com/urbit/urbit into m/link-meta 2020-03-04 18:55:29 +01:00
Logan Allen
3210eac7e6 chat: only delete metadata for a chat if you created it 2020-03-03 16:10:54 -08:00
Fang
10842ecd92
link fe: remove references to chat & security 2020-03-03 18:31:08 +01:00
Fang
e524ffbdf6
link-view: use metadata-hook as advised in #2387 2020-03-03 16:47:07 +01:00
Logan Allen
eb1561cfc4 metadata-hook: support group members other than host creating shared resources 2020-03-02 16:50:20 -08:00
Fang
a382f7d41b
Merge branch 'os1-rc' of https://github.com/urbit/urbit into m/link-meta 2020-03-03 00:16:41 +01:00
Fang
111333ec93
link: can create managed groups for new collections
Just defers to contact-view for managed group creation.
2020-03-03 00:12:05 +01:00
Logan Allen
b8614cc7d8 chat + contact views: updated for style and to assert that group-path must be equal to app-path if there are ships in the members set 2020-03-02 11:10:29 -08:00
Logan Allen
e66fd1cbd6 chat-view: send invites when creating chat and group already exists 2020-03-01 17:08:16 -08:00
Logan Allen
5915840237 contacts + chat: move permission-hook syncing for managed groups to contact-view so everyone can depend on it 2020-03-01 16:38:46 -08:00
Logan Allen
bb0f56f17a chat + contacts: integrate managed groups with metadata 2020-03-01 15:40:49 -08:00
Fang
0539f3ca1f
link fe: metadata integration
- finds resources & displays details using metadata-store
- supports creating new collections for groups
- supports creating new collections with new unmanaged group
- supports receiving invites for new (unmanaged) collections
2020-03-01 02:10:35 +01:00
Fang
115fd1c14c
metadata-store: never crash fetching group metadata
In order to track & respond to all group-related metadata, hooks may
want to subscribe to the metadata-store in response to group creation.
In that case it is possible that there are no entries for the group-path
in group-indices yet.

This makes us fall back to the empty set in case group-indices has no
entry for the group-path yet.
2020-03-01 02:09:25 +01:00
Fang
0658367aaf
link hooks: discover resources with metadata-store
Instead of assuming groups to be singular resources, now depends on
metadata-store to discover %link resources, and the groups associated
with those.
2020-03-01 02:09:25 +01:00
Logan
3e235146ee
Merge pull request #2371 from litpub/bug/scroll-to-bottom-on-new-chat
chat: Fixes #2347 pushes chat to bottom on <Chat> mount
2020-02-29 16:35:38 -08:00
édouard
5474680e5c soto: swap out tile images
The previous Tile.png for the Dojo module (Soto) was a stylized rendering of "barcen" and could be seen as confusing. Fixing up the image to appear more *actually* glyph-like.
2020-02-28 16:16:37 -05:00
~litpub
701f83bc21 Fixes #2347 pushes chat to bottom on <Chat> mount 2020-02-28 13:02:31 -08:00
Logan
1cfd176434
Merge pull request #2369 from urbit/unmanaged-chats-rc
Unmanaged Chats Work Properly and Support Metadata Syncing
2020-02-28 11:52:54 -08:00
Logan Allen
c960075a11 chat: set metadata properly and incorporate fixes 2020-02-28 11:52:17 -08:00
Logan Allen
2b15010e66 chat: removed extraneous prints 2020-02-27 16:16:38 -08:00
Logan Allen
14b28a3d82 chat: unmanaged chats can be joined, have their title/description set, and send invites properly 2020-02-27 16:14:07 -08:00
édouard
f8bb003243
Merge branch 'os1-rc' into ed/qa-header-spacing-fixes 2020-02-27 19:06:33 -05:00
Logan
6587bc318d
Merge pull request #2367 from urbit/mp/os1/group/details
contacts: add group details page, metadata-store reducer
2020-02-27 15:28:44 -08:00
Fang
e7cbccbbf5
metadata-store: never crash fetching app metadata
In order to track & respond to all app-related metadata, hooks may want to
subscribe to the metadata-store as the first thing they do on-init. In that case
it is exceedingly likely that there are no entries for the app-name in
app-indices yet.

This makes us fall back to the empty set in case app-indices has no entry for
the app-name yet.
2020-02-28 00:16:09 +01:00
édouard
e8fdf3713d chat, contacts, dojo, links, publish: edited existing padding/margins/color/font-size of tab/header components
Basically, this PR includes a collection of edits made to the headers across each of our OS1 modules.
I flattened the font sizing, fixed edge margins/padding, and fixed some button copy in the case of the Contacts app.
2020-02-27 17:54:13 -05:00
Logan Allen
7abb371a20 chat: unmanaged chats are cleaned up and sync down metadata properly 2020-02-27 14:54:03 -08:00
Matilde Park
8ae2cc2680 metadata-store: fix 'associations' typo for /all 2020-02-26 22:43:40 -05:00
Isaac Visintainer
c502474942 Merge branch 'master' into os1-rc 2020-02-26 19:18:17 -08:00
Isaac Visintainer
8cd6160c55 publish: don't reset post dates on notebook import 2020-02-26 16:04:49 -08:00
Isaac Visintainer
8616bf06bf publish: ignore updates from old version 2020-02-26 16:04:42 -08:00
Isaac Visintainer
da31b74521 publish: don't leave notebooks on OTA 2020-02-26 16:02:39 -08:00
Isaac Visintainer
762bf136eb publish: set tile-num after OTA 2020-02-26 16:02:24 -08:00
Isaac Visintainer
db65ff546f publish: don't require a new notebook to trigger upgrading the old 2020-02-26 16:02:15 -08:00
Logan
c5f1f0f7d2
Merge pull request #2356 from urbit/os1-chat-integration
apps: main backend integration between metadata and chat
2020-02-26 14:51:36 -08:00
Logan Allen
eada785c2c chat-js + view: updated new page to work properly with group creation / selection 2020-02-26 14:21:20 -08:00
Logan Allen
0d69e17f3b apps: main backend integration between metadata and chat 2020-02-26 14:10:32 -08:00
matildepark
a1b9e34290
Merge pull request #2353 from urbit/mp/os1/publish/edit
publish: add 'edit note' functionality
2020-02-26 16:29:48 -05:00
Matilde Park
e6b38a1b47 publish: allow direct join from URL 2020-02-25 21:07:06 -05:00
Isaac Visintainer
9581a0535c publish: add publish invite path 2020-02-25 13:43:06 -08:00
Logan
1272a61443
Merge pull request #2324 from urbit/m/chat-ota
OS1 OTA: chat groups & permissions
2020-02-25 13:17:56 -08:00
Fang
82292cc152
chat-hook: on-migrate, only send invites for whitelists
Instead of also sending invites to blacklisted ships, which is obviously
incorrect.
2020-02-25 21:06:44 +01:00
Fang
53bc1d1996
chat-hook: on-migrate, send fresh invites
Accepting these post-upgrade should re-establish all the required
subscriptions. (But doesn't as of this commit, work still pending.)
2020-02-25 21:02:05 +01:00
Matilde Park
a81018a5b6 publish: add wildcard route for note endpoints
We take in /edit parameters (and possibly others) on notes,
so we let the front-end handle the routing regardless of the additional
params in the URL.
2020-02-25 14:19:15 -05:00
matildepark
1c87e329d3
Merge pull request #2345 from urbit/jy/copy
Copy changes to publish and contacts
2020-02-25 13:14:31 -05:00
Fang
d6da23f8c4
chat-hook: style touch-ups 2020-02-25 16:56:10 +01:00
Fang
51f1f9e3a2
chat-hook: on-migrate, delete permission-hook entry
If we don't host a group, we can't (locally) delete it, but we do still
have a permission-hook entry we want to clean up. This does that
deletion, but still relies on the permission-hook logic to clean it up
in the local group case.
2020-02-24 22:52:40 +01:00
Jimmy
e5be10dcc9 publish: sidebar dropdown copy change
update copy on contact

sidebarjs: sort dropdown copy change
2020-02-24 11:57:46 -08:00
~litpub
3f3a0b42e5 Firefox scroll support for chat 2020-02-24 11:40:14 -08:00