Commit Graph

3196 Commits

Author SHA1 Message Date
Logan Allen
51eebf3407 chat-hook: send updates to synced every time the object changes 2020-03-11 16:45:01 -07:00
Logan Allen
64938e24e9 chat-hook: added ability to subscribe to chat-hook state from the frontend 2020-03-11 16:44:15 -07:00
ixv
d835cdbe0d
Merge pull request #2445 from urbit/m/link-proxy-initial
link-proxy-hook: correctly scry initial response
2020-03-11 16:31:19 -07:00
ixv
ff7532297e
Merge pull request #2446 from urbit/mp/os1/mobile-pass
os1: mobile pass
2020-03-11 16:30:31 -07:00
ixv
7ef54a1f09
Merge pull request #2442 from urbit/chat-ota-fix
chat-hook: ota fix and improvement on backlog fetching
2020-03-11 16:30:15 -07:00
Matilde Park
10f5078a3c chat: skeleton takes full height on mobile
Previously it was a calc value that left a lot of
blank space at the bottom. Also adds a dark
mode style for the 'all chats' header.
2020-03-11 18:47:56 -04:00
Matilde Park
c391156781 groups: mobile adjustments, settings on blur 2020-03-11 18:47:25 -04:00
Matilde Park
2c0d323fa5 groups: conditional link when on /me
Previously, this removed the 'back' link if it was your
root identity. But on mobile, this removed that flow
entirely -- so this just conditionally sets the href
and keeps the back arrow showing in all cards.
2020-03-11 18:46:52 -04:00
Matilde Park
866a12e34a link: pad link input lower 2020-03-11 18:46:04 -04:00
Matilde Park
727c585059 publish: add back nav for mobile on new-post 2020-03-11 18:45:48 -04:00
Matilde Park
1b4b327489 publish: overflow-scroll only in parent container
Moves the scrollbar out of the body.
2020-03-11 18:45:32 -04:00
Matilde Park
2d5e2b8901 link: hide root page on mobile
Flex was overwriting 'display: none'...
2020-03-11 18:44:07 -04:00
Matilde Park
7f2cadf830 chat, link: 'createGroup' set to false by default 2020-03-11 18:43:36 -04:00
Matilde Park
a454184ca7 chat, link: rearrange invite search above members 2020-03-11 18:42:55 -04:00
Matilde Park
f8ef9a7a55 various: settings submit on blur
Previously when you changed a name, description, etc.
we used a 'save' button -- now it happens when you leave the field.
2020-03-11 18:40:50 -04:00
Fang
f765b34459
link-proxy-hook: correctly scry initial response
Was using "manual" scries, and incorrect ones at that. Would crash, causing
subscriptions to not go through. Now uses the helper function and correct paths.
2020-03-11 23:38:09 +01:00
Benjamin Summers
ccdc40a467 Merge branch 'bs/portable-urbit-atom' of github.com:urbit/urbit into bs/portable-urbit-atom 2020-03-11 14:11:43 -07:00
Benjamin Summers
de3de09fca urbit-atom: Reference impl. for atom/bytes and atom/words conversion. 2020-03-11 14:11:12 -07:00
ixv
10f1e7e667
Merge pull request #2434 from urbit/m/chat-cli
chat-cli: support group-based chats
2020-03-11 14:11:07 -07:00
Matilde Park
f8dc023aa7 soto: shorten comet/moon patp in prompt 2020-03-11 16:58:16 -04:00
Matilde Park
1ed1eb36fd publish: shorten comet / moon patps 2020-03-11 16:58:16 -04:00
Matilde Park
ffd95526e0 link: shorten comet/moon patps 2020-03-11 16:58:16 -04:00
Matilde Park
b5af51f03e groups: shorten comet and moon patps 2020-03-11 16:58:16 -04:00
Matilde Park
a7b6ed4ef3 chat: shorten patps, add patp as title attr
No matter what, if you mouseover a name, you'll
now see its original patp. Comets and moons get
truncated accordingly.
2020-03-11 16:58:16 -04:00
Matilde Park
7c0a4a35ae various: pass classes to blank sigil component
Previously, we only passed classes as properties to actual sigils.
When we were using passed classes to line up sigils,
having a blank sigil would also turn the display askew.
2020-03-11 16:58:16 -04:00
Matilde Park
8d580b4533 launch: shorten patp in header 2020-03-11 16:58:16 -04:00
Matilde Park
81d88a0e79 various: add "cite" utility function
Replicating the arm in zuse that shortens
comet and moons.
2020-03-11 16:58:10 -04:00
Fang
064131e530
chat-cli: render incoming invites
Also removes message from invites sent from chat-cli,
and refactors a scry.
2020-03-11 21:52:26 +01:00
Matilde Park
61dde23e9a launch: left-align "home" in mobile layout
We don't want long patps to overlay the "Home"
title -- to do so without truncating planet names,
we just push "Home" out of the way here.
2020-03-11 15:14:29 -04:00
Logan Allen
10e0dca58c chat-hook: ota fix and improvement on backlog fetching 2020-03-11 12:12:51 -07:00
édouard
4aadbccfae contacts, publish: fixed/edited Tile icons
Turned the assets into ones that will play nice with dark mode (will properly invert their coloration without having weird visual zones)
2020-03-11 15:03:41 -04:00
ixv
0dc65c1995
Merge pull request #2430 from urbit/mp/os1/bug-bashing-vol-1
os1: bug bashing, volume 1
2020-03-10 20:57:26 -07:00
ixv
74f5730f3e
Merge pull request #2435 from urbit/mp/os1/launch-notif-moval
launch: notification in header is relative to @p
2020-03-10 20:56:55 -07:00
ixv
ad58bcd35f
Merge pull request #2437 from urbit/mp/os1/chat/send-split
chat: splice, URL test and send mixed content messages
2020-03-10 20:56:19 -07:00
ixv
b375f44f5b
Merge pull request #2438 from urbit/mp/os1/firefox-reverts
chat: revert #2295, #2371 — restores previous scroll implementation
2020-03-10 20:56:00 -07:00
Matilde Park
e9aacd5e01 publish: add -m, -l widths for edit post button 2020-03-10 23:30:17 -04:00
Matilde Park
e3b53f5eb2 publish: make dropdown arrow clickable 2020-03-10 23:12:22 -04:00
Matilde Park
e50e18ee40 Revert "Firefox scroll support for chat"
This reverts commit 3f3a0b42e5.
2020-03-10 22:45:55 -04:00
Matilde Park
1a3b349c55 Revert "Fixes #2347 pushes chat to bottom on <Chat> mount"
This reverts commit 701f83bc21.
2020-03-10 22:44:35 -04:00
Matilde Park
84a4afefed chat: add left margin to [embed] link
For some reason they're squished right up side the metadata
in OS1 -- this gives them some space.
2020-03-10 22:33:08 -04:00
Matilde Park
9d91fb8d82 chat: splice, URL test and submit mixed messages
I don't know if he likes me or not. Just kidding, this just splices out
URLs into their own messages and sends them after the message.
2020-03-10 22:31:13 -04:00
Matilde Park
011902542b publish: make 'edit post' button transparent 2020-03-10 21:37:30 -04:00
Matilde Park
90a7ff9c91 launch: notification in header is relative to @p
The notification could overlap long @ps. This amends the notification
to be relative to the @p block, pushed to the left of it.
2020-03-10 21:25:07 -04:00
Matilde Park
e946dc657f chat, publish: add catch to util promise 2020-03-10 20:55:05 -04:00
Matilde Park
f58b3d6d0c Revert "chat, publish: avoid race condition in writeText"
This reverts commit 7febf927fa.
2020-03-10 19:44:23 -04:00
Fang
dfacd619eb
chat-cli: more-conventional state naming 2020-03-11 00:42:04 +01:00
Fang
22cc6ae629
chat-cli: support un- *and* managed chats
Re-enables chat creation, touches up invite logic, and makes everything
work with the new "un/managed" attribute of chats.

Changes the +target type, so requires state transition. We use that
opportunity to clean up our messages mirror (memory reclamation).

"Unmanaged" chats should work the same as they did before.
Group-based chats are secondary citizens, but supported by prepending
"group " to whatever target you want to use. ie:
;join group ~marzod/secret-club  ::  join a group-based chat
;group ~marzod/secret-club       ::  target a group-based chat

The latter case should be rarely needed, as glyphs remember this
attribute of their bound target.

Creating a group alongside a chat is supported through:
;create village-with-group /cool-kids

You can then invite to that group (and by extension the associated chat)
by doing:
;invite group /cool-kids ~rinsed-walrus
2020-03-11 00:40:21 +01:00
Philip Monk
9375616335
eth-watcher: reduce required number of confirmations
To 30 blocks + 30 blocks + 0-5 minutes == about 15 minutes total.
Further reduction should be possible, but requires changing the
algorithm a bit.  We don't want to reduce the number of confirmations
below about 30, though, since we don't handle reorganizations well.

See #2414.
2020-03-10 16:12:56 -07:00
Fang
4740fdd493
chat-cli: use example of state instead of type
This prepares us for versioned state, and is more consistent with modern
app code style.
2020-03-10 23:56:24 +01:00
Fang
2c1539742b
chat-cli: add scry helper 2020-03-10 23:31:18 +01:00
Isaac Visintainer
5114cebfd7 publish: stop adding newlines, and fix post snippet on edit 2020-03-10 15:08:56 -07:00
Isaac Visintainer
fd01162397 publish: handle read notifications properly 2020-03-10 15:08:48 -07:00
Isaac Visintainer
0e9ea8c039 publish: fix notebook deletion card flushing bug 2020-03-10 15:08:38 -07:00
Matilde Park
ee887caced link: additional safety checks in settings view 2020-03-10 17:10:41 -04:00
Matilde Park
7febf927fa chat, publish: avoid race condition in writeText 2020-03-10 17:03:18 -04:00
ixv
9d0fe998c1
Merge pull request #2410 from urbit/mp/os1/invite-launch
launch: subscribe to invite-view, show group invite count in tile
2020-03-10 12:17:34 -07:00
ixv
073fc4be34
Merge pull request #2429 from urbit/eyre-login
eyre: upon login redirect parameter being empty, redirect to /
2020-03-09 20:44:23 -07:00
ixv
305a4874e2
Merge pull request #2428 from urbit/remote-pub-metadata
publish: update remote metadata group properly and only send invites …
2020-03-09 20:43:44 -07:00
Matilde Park
078991864c chat: remove linking shortcodes to chatrooms
We use shortcodes for all channels now -- in general,
we don't want people to be joining them as chats.
2020-03-09 22:25:31 -04:00
Matilde Park
3f16359755 chat / publish: change clipboard API for safari
Safari doesn't support writeText(). I incorporate a PD polyfill
here to basically fill in the gap...
2020-03-09 22:23:24 -04:00
Matilde Park
ef9d5da931 publish: fix textarea padding on firefox
Firefox treats the padding as literal padding;
other browsers treat the padding as part of the writable
area. This sets it as an initial height.
2020-03-09 22:00:49 -04:00
Matilde Park
636d99b405 publish: fix note top matter on firefox
Firefox renders 'span' tags differently than other browsers.

This commit lines them up identically by making the spans inline-blocks.
2020-03-09 21:52:04 -04:00
Matilde Park
566ea49651 publish: prevent duplicates of new notes
Adds another disable catch and more elaborate
logic for preventing duplicate note submissions.
2020-03-09 21:39:09 -04:00
Matilde Park
d59d205af9 publish: resequence spinner for new.js 2020-03-09 21:38:09 -04:00
Matilde Park
49775f81e5 publish: add fallback values to note.js 2020-03-09 21:24:02 -04:00
Matilde Park
fb42bf4374 publish: dark mode border on invite items 2020-03-09 21:21:22 -04:00
Matilde Park
81899320d7 publish: dark mode dropdown buttons in subscribers 2020-03-09 21:17:07 -04:00
Matilde Park
c4948f1ed7 chat: leave button gets border in dark mode 2020-03-09 21:14:31 -04:00
Matilde Park
d274120fcc link: line up title across views; dark mode button
(Settings had a button that had a border of the same colour as
the background, so this steps it up a shade.)
2020-03-09 21:06:27 -04:00
Matilde Park
b6b4f7cf5d link: pass 'popout' to skeleton in settings view
(Otherwise, the OS1 chrome will stay showing.)
2020-03-09 21:05:35 -04:00
Matilde Park
e8b087ea87 clock: revert removal of initial media query check
This commit restores a small check for a match of the query,
so that when you load in dark mode, the clock loads in dark(ly).
Without this commit, it would only shift modes as part of a media query
change.
2020-03-09 20:57:13 -04:00
Matilde Park
f4a06589c0 clock: prevent canvas draw smears
Trying to use a transparent background revealed constant
redraws each second -- this commit returns a color
declaration to the background, changing with the media query.
2020-03-09 20:52:53 -04:00
Matilde Park
4275f7fc94 clock: use addListener for media query
Previously, we used addEventListener, which was returned by the
media query as an inheritance from the window object.
Safari doesn't support this, but it, and all browsers,
support an alias that uses function-based checks.

This commit uses that alias.
2020-03-09 20:51:20 -04:00
Logan Allen
bd947421ca eyre: upon login redirect parameter being empty, redirect to / 2020-03-09 17:16:43 -07:00
Logan Allen
9a6a7b147d publish: update remote metadata group properly and only send invites for unmanaged notebooks 2020-03-09 17:05:06 -07:00
Logan Allen
17bea9a5bd chat: only send invites for unmanaged chats 2020-03-09 16:44:16 -07:00
ixv
dc2d7fe64d
Merge pull request #2425 from urbit/mp/os1/groups/settings-truncation
groups: add max-width for group titles
2020-03-09 16:28:38 -07:00
ixv
cd2e57a9c2
Merge pull request #2426 from urbit/mp/os1/edit-publish
publish: edit notebook settings
2020-03-09 16:28:20 -07:00
ixv
512c7204ba
Merge pull request #2419 from urbit/merge-la-ota-work
chat: upgraded chat-hook to move old chats to /~/chat-path
2020-03-09 16:20:50 -07:00
Matilde Park
07b0652064 publish: add shortcode copying, API call for edits
Also adds 'comments' setting to the reducer for editing notebooks.
2020-03-09 17:21:54 -04:00
ixv
d60d9d2845
Merge pull request #2415 from urbit/mp/os1/invite-group-titles
invite search: surface group metadata in results
2020-03-09 14:10:32 -07:00
Matilde Park
0f2d4417da groups: add max-width for group titles 2020-03-09 16:40:59 -04:00
Matilde Park
447be345ea launch: place group invitations in header 2020-03-09 16:15:29 -04:00
Logan Allen
e0583be364 Merge branch 'merge-la-ota-work' of github.com:urbit/urbit into merge-la-ota-work 2020-03-09 12:40:43 -07:00
Logan Allen
e8c95157d4 chat-hook: emit cards upon upgrade AND store cards to be sent later upon chat-store trigger to support either order of updating 2020-03-09 12:40:04 -07:00
Matilde Park
7fbe0c9318 various: amend invite copy on creation front-ends 2020-03-09 15:36:00 -04: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
Joe Bryan
eb05e71d60 arvo: removes looping crash printf 2020-03-09 00:41:04 -07:00
Matilde Park
a889706758 groups: sidebar, additional check for safety
When accepting an invite, the sidebar would crash the application
because we were accessing 'metadata' of undefined -- accessing
too many nested property levels without enough safety.

This commit just adds a check for the intermediate property.
2020-03-09 00:28:42 -04: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
Benjamin Summers
8f25a50232 Pulled some urbit-atom test from the bowels of git history. Not working yet. 2020-03-06 23:19:19 -08:00
Matilde Park
d62712748a publish: add front-end fields for editing notebook 2020-03-06 23:56:20 -05:00
Matilde Park
2afd0e63fe publish: route group metadata to new screen 2020-03-06 23:10:23 -05:00
Matilde Park
15a8c4f115 link: route group metadata to new screen 2020-03-06 23:10:13 -05:00
Matilde Park
dd7e15b131 chat: route group metadata to new screen 2020-03-06 23:10:04 -05:00
Matilde Park
9176ff104b invite search: surface group metadata 2020-03-06 23:09:49 -05:00
Matilde Park
114ca1e862 groups: invite items get white styling in dark mode 2020-03-06 22:08:12 -05:00
Matilde Park
ac5f266e75 groups: spell 'trumpeter' correctly 2020-03-06 22:01:59 -05:00
Matilde Park
067ebed56b launch: reduce invites 2020-03-06 22:01:49 -05:00
Benjamin Summers
28ae8bbaf2 urbit-atom: Debugging hacks to test in GHCJS. 2020-03-06 18:12:53 -08:00
Matilde Park
289a0ae61a groups: add invite count to tile 2020-03-06 17:53:06 -05:00
Matilde Park
95acca9acb launch: subscribe to invite-view, pass invite data
This commit adds a new subscription to launch and retain the current
tile data prop structure by initialising the data prop as an object
and always appending the invite information to it.
2020-03-06 17:38:49 -05:00
Benjamin Summers
f7356fe1ed urbit-atom: Support 32 bit CPUs 2020-03-06 14:31:12 -08:00
Benjamin Summers
70bda9f9d3 urbit-atom: autofmt urbit-atom. 2020-03-06 14:31:06 -08:00
Benjamin Summers
2bc8506a74 urbit-atom: Got Atom.Internal to build with GHCJS. 2020-03-06 14:31:00 -08:00
Matilde Park
b374ff790d groups: hide back to channels mav on /me card 2020-03-06 17:03:06 -05:00
Matilde Park
60d853e895 groups: tweak contact card header 2020-03-06 16:59:46 -05:00
ixv
a219014949
Merge pull request #2405 from urbit/mp/os1/metadata-restructure
OS1: metadata restructuring across applications, group metadata editing
2020-03-06 13:14:27 -08:00
Matilde Park
48c636ab8e chat: pending messages blend correctly 2020-03-06 16:08:13 -05:00
Matilde Park
ed9794817b groups: fix details + settings routing overwrites 2020-03-06 16:08:06 -05:00
Matilde Park
07dde3efb2 groups: add contact - dark mode fixes 2020-03-06 16:07:32 -05:00
Matilde Park
a8c95a348d publish: remove "pointer" if new button disabled 2020-03-06 15:51:51 -05:00
Matilde Park
f3cbfdbbbd link: safety check in metadata reducer 2020-03-06 15:50:11 -05:00
Matilde Park
d46b271ba2 publish: safety check in metadata reducer 2020-03-06 15:50:03 -05:00
Matilde Park
8166115751 chat: style and safety fixes for nested objects 2020-03-06 15:48:21 -05:00
ixv
af98e6e6ca
Merge pull request #2406 from urbit/mp/os1/publish/join-disabler
publish: disable button after joining book
2020-03-06 12:31:59 -08:00
Jared Tobin
b7911fa785
vere: rc version bump (v0.10.4.rc1 -> v0.10.4.rc2) [ci skip] 2020-03-06 15:42:06 +04:00
Jared Tobin
6ccc843165
Merge branch 'arvo-errors' (#2366)
* origin/arvo-errors: (35 commits)
  pill: all
  vane: jet-hints all vanes for profiling
  arvo: refines crash printfs
  arvo: fix wire (and adapt old) for %vega reset notification
  arvo: removes all vase literals from |va
  arvo: removes all traces of meta-meta card reduction
  arvo: cleanup per review
  arvo: removes vestigial |is core
  arvo: remove refactoring comments
  arvo: replace $milt with $meta
  arvo: replace $mill with $maze
  worker: sends new error-notification events
  arvo: removes %gave, generalizes %hurl
  vane: prints error notifications where not handled
  behn: forward %drip error notifications, refactor %crud handling
  ames: downcast %hear error notification to %hole
  vane: downcast all error notifications to %crud
  arvo: removes (commented out) legacy event routing
  test: updates vane calling convention
  dill: "downcast" +call error notification to %crud
  ...

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-06 13:45:33 +04:00
Jared Tobin
8b6710c360
Merge branch 'mp/os1/invite-search-blend' (#2400)
* origin/mp/os1/invite-search-blend:
  invite search: proper padding, blending of group name

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-06 13:44:05 +04:00
ixv
3e4d73d9e1
Merge pull request #2403 from urbit/publish-meta-ota
publish: check if metadata-store has started before scrying it
2020-03-05 20:35:27 -08:00
ixv
5b21dbce25
Merge pull request #2402 from urbit/ota-meta-hook
drum: start metadata-hook on OTA
2020-03-05 20:34:39 -08:00
Isaac Visintainer
21e44f6c5d Merge branch 'ota-meta-hook' (#2402)
* ota-meta-hook:
  drum: start metadata-hook on OTA

Signed-off-by: Isaac Visintainer <isaac.visintainer@gmail.com>
2020-03-05 20:33:18 -08:00
Matilde Park
075dd3aa73 publish: disable button after joining book 2020-03-05 22:57:21 -05:00
Matilde Park
0014a48d74 publish: add groups metadata to store, reducers 2020-03-05 22:33:53 -05:00
Matilde Park
d73d60b73b groups: add descriptions, group settings 2020-03-05 22:26:42 -05:00
Matilde Park
831b93dc4e link: add 'lh-solid' to headers 2020-03-05 21:01:30 -05:00
Matilde Park
7ec75dcd62 link: rewrite metadata structure for consistency 2020-03-05 20:26:03 -05:00
Matilde Park
12cae5dda8 groups: sidebars polish, lining up vertically 2020-03-05 19:54:55 -05:00
Matilde Park
b539c3e24e groups: nav back to group details page from card 2020-03-05 19:54:37 -05:00
Matilde Park
3f95084eb5 groups: new buttons made consistent, dark mode 2020-03-05 19:54:12 -05:00
Matilde Park
9127b17b5c Merge branch 'master' into mp/os1/metadata-restructure 2020-03-05 19:16:37 -05:00
Matilde Park
9f45554047 chat: surface chat title in header 2020-03-05 19:15:49 -05:00
Logan Allen
2ce60e9f0d drum: start metadata-hook on OTA 2020-03-05 15:50:18 -08:00
Logan Allen
1a8dfccf22 publish: check if metadata-store has started before scrying it 2020-03-05 15:43:12 -08:00
Matilde Park
1dd78ef413 chat: associations data structure -> nested object
Before this, it was a Map. But because we want to store multiple app
metadata stores -- and because maps are specialised objects -- this
commit restructures the store, reducers, and rewrites behaviour first.
2020-03-05 18:39:06 -05:00
Logan Allen
b8987f6988 drum: start metadata-hook on OTA 2020-03-05 15:20:44 -08:00
ixv
3c039bce39
Merge pull request #2378 from urbit/m/link-meta
link: metadata integration
2020-03-05 15:09:59 -08:00
Fang
fd9c6cee5d
link fe: various ui/ux fixes based on feedback
Also sneaks in a grammar correction for link-listen-hook documentation.
2020-03-05 22:42:02 +01:00
Joe Bryan
67cef638c4 Merge branch 'master' into arvo-errors
* master: (484 commits)
  king: Slight CLI cleanup and fix test build.
  king: Add command-line flags to configure HTTP and HTTPS ports.
  groups: reduce metadata updates, removal
  chat: reducer handles metadata removal
  groups: exclude group metadata from channels list
  groups: set and surface group name metadata
  groups: remove dummy 'share' flow, 'default' group
  contacts: rename, migrate '~contacts' to '~groups'
  sh/release: rename vere release tarballs
  vere: patch version bump (v0.10.3 -> v0.10.4.rc1) [ci skip]
  pills: updated brass and solid
  chat: pull room contacts from associated group
  chat: spell 'permanent' correctly
  eyre: remove padding from 'access' input
  chat: only delete metadata for a chat if you created it
  chat: settings inputs add borders on focus
  vere: disables gc on |mass in the daemon process
  chat: remove console.log from metadataAction
  chat: style fixes during review, use metadata-hook
  chat: edit description, color settings
  ...
2020-03-05 11:56:49 -08:00
ixv
a16e40228d
Merge pull request #2399 from urbit/publish-metadata
publish: integration with metadata
2020-03-05 11:56:03 -08:00
Logan Allen
37820e5f51 publish: fill in title and description when importing, style 2020-03-05 11:44:34 -08:00
Fang
9a3f1be1b3
link fe: fix various display issues 2020-03-05 16:05:05 +01:00
Fang
6966aa0df3
link fe: support empty unmanaged groups 2020-03-05 15:53:44 +01:00
Fang
c71e5315e9
link fe: implement members & settings pages 2020-03-05 15:52:44 +01:00
Jared Tobin
2bf46d7d26
Merge branch 'mp/os1/metadata-remove' (#2401)
* origin/mp/os1/metadata-remove:
  groups: reduce metadata updates, removal
  chat: reducer handles metadata removal

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-05 14:35:01 +04:00
Jared Tobin
9ef1744ac0
Merge branch 'mp/os1/groups/new' (#2398)
* origin/mp/os1/groups/new:
  groups: exclude group metadata from channels list
  groups: set and surface group name metadata

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-05 14:34:26 +04:00
Jared Tobin
39055eeda2
Merge branch 'kh/configure-http-ports' (#2385)
* origin/kh/configure-http-ports:
  king: Slight CLI cleanup and fix test build.
  king: Add command-line flags to configure HTTP and HTTPS ports.

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-05 14:31:56 +04:00
Benjamin Summers
237774adc5 king: Slight CLI cleanup and fix test build.
Forgot to add `hidden` to http options. Without this, they show up on
the summary line in `king run --help`.
2020-03-04 19:18:00 -08:00
Benjamin Summers
2dc97293cc king: Add command-line flags to configure HTTP and HTTPS ports. 2020-03-04 19:13:21 -08:00
Matilde Park
01c4909393 groups: reduce metadata updates, removal 2020-03-04 19:58:46 -05:00
Matilde Park
56d1630888 chat: reducer handles metadata removal 2020-03-04 19:45:02 -05:00
Matilde Park
ef386302bf invite search: proper padding, blending of group name 2020-03-04 18:57:31 -05:00
Logan Allen
3ace135c18 publish: integration with metadata 2020-03-04 15:56:48 -08:00
Matilde Park
cf7c7fd852 groups: exclude group metadata from channels list 2020-03-04 18:26:00 -05:00
Matilde Park
76c2f49054 groups: set and surface group name metadata 2020-03-04 18:20:32 -05:00
ixv
ab793f1f70
Merge pull request #2397 from urbit/mp/os1/contacts-groups
contacts: prune unmanaged "share" flow, rename to "groups"
2020-03-04 14:42:41 -08:00
Matilde Park
061deb94a8 groups: remove dummy 'share' flow, 'default' group 2020-03-04 16:13:19 -05:00
Matilde Park
aee2496588 contacts: rename, migrate '~contacts' to '~groups' 2020-03-04 16:13:12 -05:00
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
353f61cdd3
link: avoid duplicate entries when merging lists
Otherwise we might store entries we had already heard previously.
2020-03-04 21:22:04 +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
Jared Tobin
bba91e7a96
vere: patch version bump (v0.10.3 -> v0.10.4.rc1) [ci skip] 2020-03-04 18:30:40 +04:00
Jared Tobin
a9ba8c56f0
Merge branch 'king-no-mas' (#2389)
* origin/king-no-mas:
  vere: disables gc on |mass in the daemon process

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-04 18:02:45 +04:00
Jared Tobin
a1d489d977
Merge branch 'os1-rc' (#2365)
* origin/os1-rc: (439 commits)
  pills: updated brass and solid
  chat: pull room contacts from associated group
  chat: spell 'permanent' correctly
  eyre: remove padding from 'access' input
  chat: only delete metadata for a chat if you created it
  chat: settings inputs add borders on focus
  chat: remove console.log from metadataAction
  chat: style fixes during review, use metadata-hook
  chat: edit description, color settings
  chat: add update-metadata to metadata reducer
  chat: revise api.js to match data structures
  metadata-json: add json to action parsers
  chat: construct settings page for metadata
  chat: correct bottom border on join links
  chat: copy shortcodes
  chat: linkify unmanaged chats
  metadata-hook: support group members other than host creating shared resources
  contacts: add bg-gray0 to root page
  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
  contacts: changed color + copy of "add to group" button
  ...
2020-03-04 15:48:05 +04:00
Logan
f457c0e568
Merge pull request #2394 from urbit/mp/os1/chat/contact-polling
chat: pull room contacts from associated group
2020-03-03 18:33:20 -08:00
Logan
8111328c92
Merge pull request #2393 from urbit/mp/os1/chat/permanent
chat: spell 'permanent' correctly
2020-03-03 18:32:26 -08:00
Logan
75a702c5b8
Merge pull request #2392 from urbit/mp/os1/launch-pad
eyre: remove padding from 'access' input
2020-03-03 18:31:09 -08:00
Matilde Park
92dbc4805e chat: pull room contacts from associated group 2020-03-03 21:02:45 -05:00
Matilde Park
2426343566 chat: spell 'permanent' correctly 2020-03-03 20:19:33 -05:00
Matilde Park
dd402e315f eyre: remove padding from 'access' input 2020-03-03 19:52:04 -05:00
Logan Allen
3210eac7e6 chat: only delete metadata for a chat if you created it 2020-03-03 16:10:54 -08:00
Joe Bryan
6322639436 vane: jet-hints all vanes for profiling 2020-03-03 14:17:42 -08:00
Joe Bryan
c94b5c25cb arvo: refines crash printfs 2020-03-03 14:17:42 -08:00
Matilde Park
2a9d570b6c chat: settings inputs add borders on focus 2020-03-03 17:13:39 -05:00
Joe Bryan
3e6f9d4698 vere: disables gc on |mass in the daemon process 2020-03-03 13:53:27 -08:00
Fang
9816ed69b3
link fe: remove unused "active" prop 2020-03-03 22:08:00 +01:00
Joe Bryan
066e994567 arvo: fix wire (and adapt old) for %vega reset notification 2020-03-03 12:58:56 -08:00
Logan
d5b382e80a
Merge branch 'os1-rc' into foreign-metadata 2020-03-03 12:37:27 -08:00
Fang
8568ecff9d
link fe: refactor route paths
We change route paths back to their more-sane ordering, giving up
support for /longer/resource/paths.

The makeRoutePath utility constructs a route path for the given resource,
that optionally points to a specific page, or item, etc.

Also removes unused uuid utility.
2020-03-03 21:35:40 +01: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
Fang
316cacf73b
link fe: support /join route 2020-03-03 16:44:28 +01:00
Fang
a72c74d74d
link fe: navigate to collection post-create 2020-03-03 16:26:42 +01:00
Fang
950023e448
link-view: in mark, use terms for +of cases 2020-03-03 16:26:08 +01:00
Jared Tobin
6f5b87f148
Merge branch 'ford-re-pit' (#2384)
* origin/ford-re-pit:
  test: use %ford pit-shortcircuit instead of cache-priming
  ford: restores pit-shortcircuit, but only during boot

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-03 16:49:50 +04:00
Jared Tobin
be2c07d80d
Merge branch 'jt/urbit-large-log' (#2344)
* origin/jt/urbit-large-log:
  build: remove urbit-large-log-limit derivation
  vere: use 40G mapsize only on macOS, 60G otherwise
  build: better vere label patch
  build: add configurePhase for urbit derivation
  build: label large-log-limit vere version
  Revert "Revert "Merge branch 'jt/urbit-large-log' (#2211)""

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-03 16:26:50 +04:00
Logan
ba76de8e7b
Merge pull request #2388 from urbit/mp/os1/chat/settings
chat: settings — edit channel metadata, shortcode copying
2020-03-02 20:31:05 -08:00
Matilde Park
92e8bba2c9 chat: remove console.log from metadataAction 2020-03-02 23:30:44 -05:00
Matilde Park
869f19c8f8 chat: style fixes during review, use metadata-hook 2020-03-02 23:27:07 -05:00
Matilde Park
e3e7c9e80c chat: edit description, color settings 2020-03-02 22:30:32 -05:00
Matilde Park
88b34c2ba7 chat: add update-metadata to metadata reducer 2020-03-02 22:30:32 -05:00
Matilde Park
4637587afd chat: revise api.js to match data structures 2020-03-02 22:30:32 -05:00
Matilde Park
15b5395f3c metadata-json: add json to action parsers 2020-03-02 22:30:32 -05:00
Matilde Park
eb2d914b23 chat: construct settings page for metadata 2020-03-02 22:30:26 -05:00
Matilde Park
ec089b4648 chat: correct bottom border on join links 2020-03-02 22:30:04 -05:00
Matilde Park
71d6937848 chat: copy shortcodes 2020-03-02 22:29:58 -05:00
Matilde Park
6464dc89ce chat: linkify unmanaged chats 2020-03-02 20:37:31 -05:00
Logan Allen
eb1561cfc4 metadata-hook: support group members other than host creating shared resources 2020-03-02 16:50:20 -08:00
Matilde Park
6dd84b467e contacts: add bg-gray0 to root page 2020-03-02 18:38:30 -05: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
Joe Bryan
3444e20a92 test: use %ford pit-shortcircuit instead of cache-priming 2020-03-02 12:20:53 -08:00
Joe Bryan
18f199b2c3 ford: restores pit-shortcircuit, but only during boot 2020-03-02 12:20:21 -08:00
Logan
057d5996d1
Merge pull request #2379 from urbit/la-managed-chat-integration
chat + contacts: integrate managed groups with metadata
2020-03-02 11:27:59 -08: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
f29bc2389d
Merge pull request #2381 from urbit/ed/qa-contacts-buttonfix
contacts: changed color + copy of "add to group" button
2020-03-02 10:10:02 -08:00
édouard
ebaecc3fd1 contacts: changed color + copy of "add to group" button
I changed the copy and appearance (color only) of the "Invite" button previously located in Contacts, as it looked like a non-interactive label.
2020-03-02 12:57:54 -05: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
8b2398b3e2 contact-js: removed console.log 2020-03-01 15:49:31 -08:00
Logan Allen
bb0f56f17a chat + contacts: integrate managed groups with metadata 2020-03-01 15:40:49 -08:00
Jared Tobin
d72bddd66d
Merge branch 'reignore' (#2362)
* origin/reignore:
  gitignore: re-add mystery lines [ci skip]
  gitattributes: export-ignore pkg/urbit/.gitignore [ci skip]
  gitignore: tweaks [ci skip]
  Revert "meta: remove herb, urbit .gitignore files [ci skip]"

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-01 23:40:18 +04:00
Jared Tobin
578593d347
vere: use 40G mapsize only on macOS, 60G otherwise
Per discussion in urbit/urbit#2344, there doesn't seem to be any problem
in raising the default LMDB mapsize on non-mac operating systems.
2020-03-01 22:58:20 +04: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
Fang
068a8c98d6
metadata: add helper lib for common queries 2020-03-01 02:09:24 +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
Logan
4ade3884bd
Merge pull request #2370 from urbit/mp/os1/dark
os1: dark mode pass
2020-02-29 16:34:44 -08:00
Jared Tobin
9c1d3090c9
Merge branch 'lukechampine/crypto-tests' (#2222)
* lukechampine/crypto-tests:
  test: add bip32 vectors
  test: add scrypt vectors
  test: add hmac vectors
  test: add ed25519 vectors
  test: add expect arm
  test: add AES SIV mode vectors
  zuse: split sivb keys at correct offset
  test: add AES-CMAC vectors
  test: add AES CTR mode vectors
  test: add AES CBC mode vectors
  test: add AES ECB mode vectors
2020-02-29 19:39:35 +04:00
Jared Tobin
70d099e969
gitattributes: export-ignore pkg/urbit/.gitignore [ci skip] 2020-02-29 18:05:17 +04:00
Jared Tobin
44c88cc645
gitignore: tweaks [ci skip]
Removes the herb .gitignore previously removed in 7fab8be0dc, replacing
its contents with a cross-project ignore of Nix's 'result' symlink
artifact in the root .gitignore.

Moves some entries from the Vere .gitignore into the root file, as it
seems they can safely be assumed to be undesirable everywhere.

Also cleans up the root .gitignore, removing duplicate entries,
superfluous patterns, etc.
2020-02-29 18:00:25 +04:00
Matilde Park
7535dd2e03 chat: display metadata titles in sidebar 2020-02-28 23:26:17 -05:00
Matilde Park
26ba8d3181 chat: initiate associations in store 2020-02-28 23:26:00 -05:00
Matilde Park
c3d14daff3 chat: add metadata-update reducer 2020-02-28 23:25:48 -05: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
Jared Tobin
bd2d90440f
Merge branch 'ted/ford-no-pit' (#2322)
* origin/ted/ford-no-pit:
  pills: update solid
  http.c: revert timeout to original ~m10
  tests: prime ford %reef cache
  http.c: bump timeout from ~m20 to ~m30
  http.c: bump timeout from ~m10 to ~m20
  tests: fix ford tests for no %reef short-circuit
  ford: remove pit short-circuit
2020-02-28 20:48:24 +04:00
lukechampine
f214ac8191 test: add bip32 vectors 2020-02-28 11:47:43 -05:00
lukechampine
0688c31d8a test: add scrypt vectors 2020-02-28 11:47:43 -05:00
lukechampine
58cdceafd6 test: add hmac vectors 2020-02-28 11:47:43 -05:00
lukechampine
b300a97ca4 test: add ed25519 vectors 2020-02-28 11:47:43 -05:00
Jared Tobin
046506f9d4
Merge branch 'liam-fitzgerald/hoon-spot' (#2247)
* liam-fitzgerald/hoon-spot:
  hoon: toggle spot typehints on flag
  hoon: support %spot hint in xray
  hoon: add %spot typehint

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-02-28 20:02:39 +04:00
Joe Bryan
eae7b71048 arvo: removes all vase literals from |va 2020-02-28 00:34:29 -08:00
Joe Bryan
cec9240771 arvo: removes all traces of meta-meta card reduction 2020-02-28 00:34:29 -08:00
Joe Bryan
d783b8902a arvo: cleanup per review 2020-02-28 00:34:29 -08:00
Matilde Park
bc072790ec publish: add dark mode 2020-02-28 01:26:01 -05:00
Matilde Park
909a2ebf05 invite search: adjust dark mode hover background 2020-02-28 01:03:05 -05:00
Matilde Park
c91b67028b contacts: dark mode pass 2020-02-28 00:47:02 -05:00
Matilde Park
cf6460c5b5 invite search: blend names, filter empty nicknames 2020-02-28 00:46:06 -05:00
Matilde Park
94c90f640e link: add dark mode bottom border to sidebar 2020-02-28 00:19:11 -05:00
Matilde Park
2c301c0b80 chat: integrate invite search on members page 2020-02-28 00:15:55 -05: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
édouard
6bc4f489d4 links: edit/update sidebar styling to match chat
Using existing styling classes found in chat, I've edited the Links module to retain an appearance/sizing that is more uniform with our Chat module interfaces
2020-02-27 18:58:28 -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