Matilde Park
f2434f288c
publish: add groupResults prop, fix peer set
2020-02-20 18:56:30 -05:00
Matilde Park
ca9bc45511
contacts: use invite-search for new.js
2020-02-20 18:56:25 -05:00
Fang
4a45d2caa6
chat-hook: implement group/permission migration
...
We want to move from group/permission paths of the form /chat/~host/name
to /~/~host/name, merging the ./read and ./write permission paths into a
single permission matching the group path.
(The leading /~ signifies an "unmanaged" group, one used by apps
internally, and not explicitly exposed to the user as a contacts group.)
This upgrade logic does roughly the following, for every chat path, to
accomplish the migration:
1. delete ./read and ./write groups associated with the chat
2. create a new group containing an approximate "uni" of the old groups
3. register the chat + new group with the metadata-store
4. hook the group up to its matching permission set
Note that because existing groups are hooked up through the
permission-group-hook, doing step 1 deletes the associated permissions.
Step 4 then re-establishes that relation for the newly created group.
The logic here scries into the metadata-store, and as such depends on
that having been started prior to this upgrade process.
2020-02-21 00:50:17 +01:00
Fang
491ac5689f
chat-hook: use metadata-store for permission checks
...
When permissions change, find out which chats are impacted (on the
assumption that permission paths are group paths), then perform actions
wrt that chat accordingly.
When a chat is interacted with, find out which groups the chat is
associated with, then use those to perform permission checks. If the
check passes for any group, permission is granted.
2020-02-21 00:50:17 +01:00
Fang
9a9aaaaf17
chat-hook: add scry helper
2020-02-21 00:50:16 +01:00
Fang
16886c4876
metadata-store: support /lib/dbug interface
2020-02-21 00:50:16 +01:00
Fang
5a029967b7
drum: start metadata-store on-upgrade
2020-02-21 00:50:15 +01:00
Logan Allen
5ef4cd50ac
metadata-hook: implemented watch, kick, added group-scry to store
2020-02-20 14:55:46 -08:00
Matilde Park
18846d4c7c
contacts: blend unknown contact sigils
2020-02-20 17:37:36 -05:00
pkova
2062c9c92e
chat-store: immediate handle-read on our %message
2020-02-21 00:27:35 +02:00
Matilde Park
9ff2864f9c
contacts: add spinner and behaviour
2020-02-20 17:19:33 -05:00
Logan
a0b9e84ae5
Merge pull request #2318 from urbit/mp/os1/chat/spinner
...
chat: add new spinner, behaviours
2020-02-20 13:40:45 -08:00
Logan
d203c684e7
Merge pull request #2319 from urbit/mp/os1/chat/blended-sigil
...
chat: blend uncustomised sigils
2020-02-20 13:38:47 -08:00
matildepark
f78f53525a
Merge pull request #2317 from urbit/mp/os1/publish-progress
...
publish: add spinner, transition behaviours
2020-02-20 15:05:13 -05:00
Matilde Park
a960a7778a
publish: remove header-bar render from index.js
2020-02-20 14:40:43 -05:00
matildepark
910603aaf9
Merge pull request #2320 from urbit/qa/replace-soto-tile-image
...
Replacing the nonexistent soto tile image depicting "tiscen" with "barcen"
2020-02-20 13:48:06 -05:00
édouard
5a6b859a07
Replacing the nonexistent soto tile image depicting "tiscen" with "barcen"
2020-02-20 13:43:48 -05:00
Jared Tobin
f4bc103a25
Merge branch 'jt/sh-king-tweak'
...
* jt/sh-king-tweak:
sh: ensure release dir exists in static king build
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-02-20 20:00:03 +04:00
Jared Tobin
4c6b665e94
sh: ensure release dir exists in static king build
...
Fixes a minor bug that can occur when copying the resulting binary.
(Also removes the use of ldd, which doesn't apply in the static binary
case.)
2020-02-20 19:55:49 +04:00
Jared Tobin
fe05a61b8b
Merge branch 'bs/king-uncursed' ( #2313 )
...
* origin/bs/king-uncursed:
king: Terminal input line wasn't being shown b/c line buffering.
king: Remove TERMINFO_DIRS hack.
king: First stab at removing terminfo dependency.
king: New dependency: `ansi-terminal`
king: Factored all terminal rendering logic into its own module.
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-02-20 14:42:55 +04:00
Benjamin Summers
957c0da9bb
king: Terminal input line wasn't being shown b/c line buffering.
2020-02-20 14:41:07 +04:00
Benjamin Summers
e1f6db7250
king: Remove TERMINFO_DIRS hack.
2020-02-20 14:41:07 +04:00
Benjamin Summers
9d2d6c42c6
king: First stab at removing terminfo dependency.
2020-02-20 14:41:07 +04:00
Benjamin Summers
a318462836
king: New dependency: ansi-terminal
2020-02-20 14:41:06 +04:00
Benjamin Summers
3b1bd6600a
king: Factored all terminal rendering logic into its own module.
2020-02-20 14:41:03 +04:00
Matilde Park
09d2057284
chat: blend uncustomised sigils
2020-02-20 01:37:16 -05:00
Matilde Park
075de2cf3b
chat: add spinner behaviours
2020-02-20 01:18:19 -05:00
Jared Tobin
bed28da17f
Merge branch 'kh/release-build' ( #2293 )
...
* origin/kh/release-build:
king: Use newer static-haskell-nix script for KH build.
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-02-20 09:33:36 +04:00
Matilde Park
45af92c173
publish: sidebar and note -m, -l viewport fixes
2020-02-20 00:28:16 -05:00
Matilde Park
68f38dbf5b
publish: spinner on post comment, proper disabling
2020-02-20 00:11:15 -05:00
Matilde Park
a0c06dbdf0
publish: new-post.js uses spinner
2020-02-20 00:11:00 -05:00
Matilde Park
86a0993975
publish: new.js uses spinner and disables button
2020-02-20 00:10:41 -05:00
Matilde Park
108f3d9e4a
publish: move header into skeleton, add spinner
2020-02-20 00:10:18 -05:00
Matilde Park
ccde2a6a76
publish: proper sidebar height, overflow behaviour
2020-02-20 00:08:35 -05:00
Logan Allen
99663fec50
metadata-hook: handle metadata facts
2020-02-19 17:56:36 -08:00
~litpub
ea6d0a0502
Fixes DOM nesting error on <Message>
2020-02-19 17:49:53 -08:00
Isaac Visintainer
00a9eb9eab
Merge branch 'master' into os1-rc
2020-02-19 16:04:21 -08:00
matildepark
7d4f9bc6b2
Merge pull request #2315 from urbit/mp/os1/weather/hotfix-border
...
weather: add border to manual entry
2020-02-19 16:41:41 -07:00
Matilde Park
9de5ee87af
publish: dropdown component as sidebar sort
...
also adds 'align' to dropdown component as prop
2020-02-19 17:55:11 -05:00
Logan
11d8953873
Merge pull request #2310 from urbit/mp/os1/invite-search-ship
...
chat, publish: invite-search surfaces valid ship name as result
2020-02-19 13:48:43 -08:00
Logan
5df24fc856
Merge pull request #2312 from litpub/support-line-breaks
...
chat: Supports translating /n into new <p> tags
2020-02-19 13:48:21 -08:00
Logan
1e05f47d91
Merge branch 'os1-rc' into support-line-breaks
2020-02-19 13:48:14 -08:00
Matilde Park
c3f0743053
publish: new post has same width as other views
2020-02-19 16:24:36 -05:00
Matilde Park
eec6713338
weather: add border to manual entry
2020-02-19 15:43:05 -05:00
matildepark
76576003be
Merge pull request #2308 from urbit/mp/os1/weather/colors
...
weather: add blurred color gradient, changes based on weather
2020-02-19 13:05:46 -07:00
Matilde Park
1638c62406
weather: style fixes
2020-02-19 15:01:21 -05:00
Logan
6d86c44f4b
Merge pull request #2314 from urbit/la-group-create
...
chat-js: fixed group creation
2020-02-19 11:23:52 -08:00
Logan
820e14757a
Merge branch 'os1-rc' into la-group-create
2020-02-19 11:23:05 -08:00
Matilde Park
3d0f1ff898
weather: increase blur
2020-02-19 13:20:52 -05:00
~litpub
b96df813aa
Supports translating /n into new <p> tags
2020-02-18 23:07:41 -08:00