Matilde Park
f59b8dd494
link-fe: blend stranger sigils
...
If a user is a member, but not a contact, their sigil is unstyled,
blending with the background.
2020-02-26 01:20:30 -05:00
Matilde Park
69f0fff800
link-fe: fix responsive truncate for short titles
...
If titles were shorter, they would still take up full-width.
I used too many "flex-autos", clearly, and this commit seems to create
the desired behaviour for both title lengths.
2020-02-26 01:19:40 -05:00
Matilde Park
e6b38a1b47
publish: allow direct join from URL
2020-02-25 21:07:06 -05:00
Matilde Park
6ac641899c
publish: join.js proper catch and UI transition
2020-02-25 20:51:03 -05:00
Matilde Park
30022e84cc
publish: join.js style changes and button polish
2020-02-25 20:50:20 -05:00
Matilde Park
c8fe63dddc
publish: catch duplicate note titles
2020-02-25 18:31:50 -05:00
Matilde Park
ec15d2dccb
publish: add conditional "edit" link in note.js
2020-02-25 18:05:39 -05:00
Matilde Park
e3e63ff337
publish: inline style -> class changes
2020-02-25 17:51:36 -05:00
Matilde Park
b0e05d912e
publish: add edit post component
2020-02-25 17:50:12 -05:00
Matilde Park
c3c73990df
publish: remove spinner console.log
2020-02-25 17:49:56 -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
Jimmy
36f53f9eea
contact-card: removing border on buttons
2020-02-25 10:10:58 -08: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
matildepark
f8dd807ae8
Merge pull request #2340 from urbit/mp/os1/soto/spinner
...
soto: add light/dark mode, spinner, prevent overflow
2020-02-24 13:58:39 -05:00
matildepark
96c4b30587
Merge pull request #2339 from urbit/mp/os1/publish/truncate-titles
...
publish: wrap or truncate title / snippet overflow
2020-02-24 13:26:13 -05:00
Jared Tobin
024908dd6a
Merge branch 'm/dbug-default' ( #2343 )
...
* origin/m/dbug-default:
dbug: default to %state
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-02-24 13:44:10 +04:00
Fang
a61718fd51
dbug: default to %state
2020-02-23 01:46:26 +01:00
Logan
f64d720795
Merge pull request #2326 from urbit/os1-metahook
...
metadata-hook: a hook for sending metadata over the network
2020-02-21 20:05:07 -08:00
Logan
204ad1420d
Merge pull request #2342 from urbit/mp/os1/launch/dark
...
launch: dark mode
2020-02-21 19:14:30 -08:00
Logan
170003789a
Merge pull request #2316 from litpub/fixes-dom-nesting
...
chat: Fixes dom nesting warning on <Message>
2020-02-21 19:02:52 -08:00
Matilde Park
be19135a02
weather: add dark mode styles to tile
2020-02-21 21:58:40 -05:00
Matilde Park
fa5e8ecdab
soto: add dark mode styles to tile
2020-02-21 21:58:29 -05:00
Matilde Park
ab0ad9f7d0
publish: add dark mode styles to tile
2020-02-21 21:58:22 -05:00
Matilde Park
395bec28a8
link: add dark mode styles to tile
2020-02-21 21:58:12 -05:00
Matilde Park
d75b1d3023
contacts: add dark mode styles to tile
2020-02-21 21:58:02 -05:00
Matilde Park
71ca2ec419
clock: add dark mode event listener, hex colors
2020-02-21 21:57:46 -05:00
Matilde Park
05d820fcba
chat: add dark mode style to tile
2020-02-21 21:57:27 -05:00
Matilde Park
2aa49589f8
launch: add dark mode classes
2020-02-21 21:57:05 -05:00
Matilde Park
12b2d4756e
eyre: add dark mode styling to sign-in
2020-02-21 21:56:25 -05:00
Matilde Park
931821d2d5
publish: inputs have black border on focus
2020-02-21 20:44:01 -05:00
Matilde Park
20e58eea82
link-fe: inputs have black border on focus
2020-02-21 20:35:48 -05:00
Matilde Park
ea84da77ab
contacts: inputs have black border on focus
2020-02-21 20:25:39 -05:00
Matilde Park
82fa934c37
chat: inputs have black border on focus
2020-02-21 20:21:39 -05:00
matildepark
0578abfbc0
Merge pull request #2337 from urbit/mp/os1/truncate-titles
...
link-fe: truncate titles properly
2020-02-21 19:57:55 -05:00
Matilde Park
79ad3fa12c
soto: add spinner, fix overflow case
2020-02-21 19:52:01 -05:00
Matilde Park
08e511db87
soto: add light theme
2020-02-21 19:32:08 -05:00
Logan Allen
cf21ada1c2
metadata: style fixes, some bug fixes
2020-02-21 16:14:57 -08:00
Matilde Park
5b2d58bd22
publish: wrap or truncate title / snippet overflow
2020-02-21 19:03:38 -05:00
Matilde Park
382a4da4b1
chat: remove spinner.css from index.css
2020-02-21 18:42:16 -05:00
Matilde Park
657dc5b408
link-fe: truncate titles properly
2020-02-21 18:33:55 -05:00
Fang
e5525b7d9e
chat-hook: on-migrate, configure permission-hook also
...
Permissions for the new group need to be exposed to the members of those
new groups. This makes the on-migrate logic poke the permission-hook for
that.
2020-02-21 23:57:58 +01:00
Fang
c3becc9f5f
chat-hook: fall back if metadata-store not live
...
This temporary, upgrade-oriented logic depends on two assumptions:
- If the metadata-store is not running, we are still in the process of
applying the upgrade.
- If the above is true, all chats are /~host/name, all groups are
/~/~host/name, and they have a strict one-to-one relation.
Armed with those assumptions, we can deduce groups from chats and vice
versa without depending on the metadata-store, allowing us to carry on
as if it were already running.
2020-02-21 23:57:57 +01:00
Fang
337dc03f6b
permission-group-hook: support /lib/dbug interface
2020-02-21 23:57:57 +01:00
ixv
d1c54a7c2d
Merge pull request #2333 from urbit/ixv/publish-ota
...
OS1: fix publish ford OTA issues
2020-02-21 14:25:03 -08:00
Isaac Visintainer
09b381e8c6
ford: add state version and perform flush on migration between versions
2020-02-21 14:10:16 -08:00
Logan
fee50ff9e7
Merge pull request #2325 from pkova/os1-rc
...
chat-store: immediate handle-read on our %message
2020-02-21 13:45:50 -08:00
Isaac Visintainer
f7aa1298bb
ford: explain +load change in comment
2020-02-21 13:29:59 -08:00
Logan
75644a2c38
Merge pull request #2329 from urbit/mp/os1/contacts/share-with-group-redirect
...
contacts: redirecting share view, sigil color fix
2020-02-21 13:26:07 -08:00
Fang
d80b5d24bc
permission-hook: clean up access-control on %delete
...
If we %add-owned, then we add an entry to the access-control jug matching the
data we put into the synced map. When a permission gets deleted, we remove it
from synced, but previously neglected to clean up the matching access-control
entry.
This ensures that if a permission was deleted, and we had it registered as
owned, that the relevant access-control entry is removed from state.
2020-02-21 21:45:04 +01:00
Matilde Park
366c4e671a
link-fe: remove header-bar from index.js
2020-02-21 15:32:02 -05:00
Isaac Visintainer
19e70368e8
ford: flush state on upgrade
2020-02-21 11:12:33 -08:00
Isaac Visintainer
6e8643000b
fixed call to make-groups in outer core
2020-02-21 11:11:38 -08:00
matildepark
910f19c21d
Merge pull request #2328 from urbit/mp/os1/link/spinner
...
link-fe: add spinner, behaviour
2020-02-21 09:42:35 -05:00
Matilde Park
4770d78198
contacts: pass "#" prefix to sigil colour
2020-02-20 21:39:46 -05:00
Matilde Park
61e26c8fc2
contacts: redirect from 'share' option correctly
2020-02-20 21:39:31 -05:00
matildepark
2c39e70cc0
Merge pull request #2327 from urbit/mp/os1/contacts/invite-polish
...
contacts: add spinner, invite-search, and blend unknown sigils
2020-02-20 21:09:03 -05:00
Matilde Park
14d2275054
link-fe: remove spinner.css from index.css
2020-02-20 20:50:39 -05:00
Matilde Park
805a7c444d
contacts: remove spinner.css from index.css
2020-02-20 20:49:55 -05:00
Matilde Park
2e1ff70fb0
link-fe: add spinner, behaviour
...
Also refactors the header bar back into the skeleton to pass the
spinner.
2020-02-20 20:11:12 -05:00
Matilde Park
748a9059e1
contacts: use invite-search for adding contacts
2020-02-20 18:56:30 -05:00
Matilde Park
b2404d0cdc
chat: add groupResults prop, fix peer set
2020-02-20 18:56:30 -05:00
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
édouard
5a6b859a07
Replacing the nonexistent soto tile image depicting "tiscen" with "barcen"
2020-02-20 13:43:48 -05: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