Commit Graph

3250 Commits

Author SHA1 Message Date
Isaac Visintainer
fddee190b3 publish: fix post textarea overflowing container in firefox 2020-03-18 14:04:22 -07:00
Fang
ec6c2ed69a
chat fe: invite search with/out ships
This lets you specify whether or not you want to include ships in search
results for the InviteSearch component, as is already possible for
groups. This enables group-only searching, as will be used by the next
commit.

Also modifies the placeholder text based on what is included in the
search results.
2020-03-18 22:02:37 +01:00
Fang
54eece11af
chat-view: allow %groupify into existing group
Will add the chat to an existing group, optionally adding chat members
who aren't part of the group yet to the group.
2020-03-18 21:54:28 +01:00
Fang
64e60b6b57
chat-view: add docs for %create action 2020-03-18 21:40:14 +01:00
Benjamin Summers
5bf82f46c2 urbit-atom: Cleanup 2020-03-18 12:38:48 -07:00
Matilde Park
73379df54b link: restore contributor counts in sidebar
During the metadata restructure I didn't adjust
this property pass and it passed through an
empty "group" prop and processed it as 0.
2020-03-18 14:20:27 -04:00
Benjamin Summers
33ef966afc urbit-atom: Remove testing executable. 2020-03-18 11:13:52 -07:00
Benjamin Summers
cbc44643c7 urbit-atom: More TODO 2020-03-18 11:12:57 -07:00
Benjamin Summers
8b2d0928e6 urbit-atom: Use faster atom -> bytes routine where possible. 2020-03-18 11:12:57 -07:00
Benjamin Summers
3660d07b3e urbit-atom: don't run reference impl. on big benchmarks. 2020-03-18 11:12:57 -07:00
Benjamin Summers
340cc6f0aa urbit-atom: TODO.md 2020-03-18 11:12:53 -07:00
Benjamin Summers
da27ed54fa urbit-atom: Benchmarks: GMP's import is faster than mine, but my export is much faster. 2020-03-18 11:12:49 -07:00
Isaac Visintainer
a9f8a2bd88 release: urbit-os-v1.0.3 2020-03-17 18:04:34 -07:00
ixv
867dbe08ab
Merge pull request #2538 from urbit/philip/bar-stack
arvo: Multi-stack drifting
2020-03-17 17:38:14 -07:00
ixv
4cb9d64623
Merge pull request #2534 from urbit/philip/ames-verb
ames: print num-fragments in packet verbage
2020-03-17 17:07:08 -07:00
Philip Monk
b830cf1486
goad: run with %force on kernel change
In many cases running without %force is insufficient because ford
crashes while unsubscribing.  This should fix some cases of OTAs being
received but not processed.
2020-03-17 17:06:48 -07:00
ixv
6e6cd18699
Merge pull request #2528 from urbit/mp/groups/pad-bottom-card
groups: add bottom padding to contact card
2020-03-17 17:03:27 -07:00
ixv
0872419f5c
Merge pull request #2530 from urbit/mp/soto/cmdv
soto: cmd/ctrl+v pasting, whitelist keys
2020-03-17 17:03:16 -07:00
ixv
dcd328a2c4
Merge pull request #2536 from urbit/ixv/publish-scroll-fix
publish: fix onScroll fetching bug
2020-03-17 17:02:40 -07:00
Fang
04b6ff9704
Merge pull request #2510 from urbit/m/chat-update-numbers
chat-store: include msg sequence nrs in update
2020-03-18 01:02:31 +01:00
Fang
bdd9e3566c
Merge pull request #2532 from urbit/m/chat-cli-maybe-catch-up
chat-cli: skip catch-up if chat-store not booted
2020-03-18 01:01:01 +01:00
Philip Monk
7d7f4133a6
arvo: add bar stack to hoon stack trace
We have three stacks: the hoon stack, bar stack, and duct stack.  This
turns the bar stack to a list of ducts and adds it to the hoon stack.
This tells you the ducts of the moves that caused the move where you
crashed.

See:

recover: dig: intr
crud: %belt event failed
bail: intr
  bar-stack
~[
  ~[/g/use/spider/~zod/build/~.dojo_0v5ogno.5anji.vn3f6.4gs7t.6r2ft /d //term/1]
  ~[/d //term/1]
  ~[/g/use/spider/~zod/find/~.dojo_0v5ogno.5anji.vn3f6.4gs7t.6r2ft /d //term/1]
  ~[/g/use/dojo/~zod/out/~zod/spider/drum/wool /d //term/1]
  ~[/d //term/1]
  ~[/g/use/dojo/~zod/drum/hand /d //term/1]
  ~[/g/use/hood/~zod/out/~zod/dojo/drum/phat/~zod/dojo /d //term/1]
  ~[/d //term/1]
  ~[//term/1]
]
call: failed
/~zod/home/~2020.3.17..23.14.11..50e0/sys/vane/ford:<[6.128 3].[6.220 5]>
/~zod/home/~2020.3.17..23.14.11..50e0/sys/vane/ford:<[6.129 3].[6.220 5]>
/~zod/home/~2020.3.17..23.14.11..50e0/sys/vane/ford:<[6.132 3].[6.220 5]>
...
2020-03-17 16:31:38 -07:00
Isaac Visintainer
a23c5a7ebe publish: fix onScroll fetching bug 2020-03-17 15:19:14 -07:00
Philip Monk
3b9f7249d3
ames: print num-fragments in packet verbage
Gives you a poor man's progress bar.  For example, to determine how much
of an OTA you've downloaded from your sponsor, run:

|ames-sift (sein:title our now our)
|ames-verb %rcv

and then to turn it off:

|ames-verb
2020-03-17 14:03:48 -07:00
Fang
1fe7ef8617
Merge pull request #2529 from urbit/mp/link/soundcloud
links: add soundcloud embeds
2020-03-17 18:28:45 +01:00
Matilde Park
9ee62d2e0d links: check for soundcloud url on mount 2020-03-17 12:43:31 -04:00
Fang
9498d9afa5
chat-cli: skip catch-up if chat-store not booted
This way we don't just crash on the scry that follows.
2020-03-17 15:49:01 +01:00
Jared Tobin
80ab15e7b6
Merge branch 'pkova/master' (#2423)
* pkova/master:
  hoon: fix ket not working past tistar
2020-03-17 16:56:39 +04:00
Matilde Park
dee0312784 soto: whitelist non-character keys
Inverting from an ongoing blacklist
to a whitelist of a few functional keys.
2020-03-16 21:47:29 -04:00
Matilde Park
3e1f3dca6e soto: allow cmd/ctrl+v pasting 2020-03-16 21:36:45 -04:00
Matilde Park
116bfac640 links: add soundcloud embeds 2020-03-16 21:25:15 -04:00
Isaac Visintainer
9c495aa38a release: urbit-os-v1.0.2 2020-03-16 17:55:56 -07:00
Matilde Park
1c14599ada groups: add bottom padding to contact card 2020-03-16 20:34:35 -04:00
ixv
254c3cf3a7
Merge pull request #2527 from urbit/ixv/publish-foreign-group-fix
publish: fix permissions issue
2020-03-16 17:28:46 -07:00
ixv
abc39cdc04
Apply suggestions from code review
Co-Authored-By: Fang <git@fang.io>
2020-03-16 17:05:23 -07:00
Isaac Visintainer
3f882b5a90 publish: fix permissions bug when notebook is associated with a foreign hosted group 2020-03-16 16:45:00 -07:00
Fang
be53e26d15
Merge pull request #2524 from urbit/m/chat-cli-shortcode
chat-cli: absolute parity wrt "shortcodes"
2020-03-17 00:38:27 +01:00
Fang
4b5a02fac8
Merge pull request #2480 from urbit/m/chat-groupify
chat: groupify
2020-03-16 18:37:29 +01:00
Fang
db5475b1ae
chat-cli: absolute parity wrt "shortcodes"
Downgrades unmanaged chat paths to their uglified versions, as used by
web chat. Removes "group-based" indicators and makes them implicit in
shorter paths instead.
2020-03-16 17:46:58 +01:00
Fang
6ac52b5523
chat-cli: set sane display width, if zero
Under mysterious conditions, chat-cli might get into a state where its
rendering width is set to zero. This makes sure we set it back to 80
if that's the case.

This commit is mostly just precaution.
2020-03-16 17:43:46 +01:00
Jared Tobin
1dd2b77222
release: urbit-os-v1.0.1 2020-03-16 15:10:58 +04:00
Jared Tobin
7af1048224
Merge branch 'mp/os1/chat-simple-sigil' (#2500)
* origin/mp/os1/chat-simple-sigil:
  chat: remove "#" from fallback sigil color

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-16 12:43:42 +04:00
Jared Tobin
4091f76d26
Merge branch 'mp/remove-invites-tile' (#2492)
* origin/mp/remove-invites-tile:
  launch: don't render invites tile

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-16 12:43:20 +04:00
Jared Tobin
1f940cd327
Merge branch 'mp/soto-paste' (#2490)
* origin/mp/soto-paste:
  soto: allow for right click pasting

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-16 12:42:55 +04:00
Jared Tobin
7d3eafa35c
Merge branch 'mp/soto-capslock' (#2489)
* origin/mp/soto-capslock:
  soto: add 'capslock' to ignored keys

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-16 12:41:21 +04:00
Jared Tobin
c0cc4a1db8
Revert "Merge branch 'liam-fitzgerald/hoon-spot' (#2247)"
This reverts commit 046506f9d4, reversing
changes made to 6ef08962ef.

I'm reverting this as we're moving to a new branch/release model in
which breaching changes (as this one is) will live on a long-running
'next' branch, rather than alongside non-breaching changes in master.

This revert should itself be reverted on the 'next' branch.
2020-03-16 10:51:00 +04:00
Fang
62dfc5fd3c
chat-hook: clear all subscriptions on watch-nack
We would remove the entry from state, but not clean up its mailbox subscription.
2020-03-15 17:37:57 +01:00
Fang
9b5bc80016
chat-store: include msg sequence nrs in update
It was filling the number.envelope prior to adding the envelope to the
mailbox, but wasn't actually including that change in the %message(s)
update that was getting sent out.

This makes +append-envelope return both the updated mailbox _and_ the
modified envelope, which we then use in our outgoing update.
2020-03-14 23:15:41 +01:00
Fang
346ac24a91
Merge pull request #2493 from urbit/mp/chat/precision-splitter
chat: use more precise regex for splitting messages
2020-03-14 15:22:27 +01:00
Matilde Park
eff3c85973 chat: remove "#" from fallback sigil color
In the chat input we fall back to #000000 and blend it; but we also
prefix any color we send to the sigil component with a # for
uxToHex values, so we end up passing ##000000. This results
in simplified sigils -- when in doubt, ensure the hex formatting
is correct...
2020-03-13 22:51:20 -04:00
Fang
74fec3a76e
Merge pull request #2486 from urbit/m/chat-cli-bound
chat-cli: ensure bound map is sorted
2020-03-14 02:07:38 +01:00
Matilde Park
f4610ba4a9 chat: use more precise regex 2020-03-13 20:55:54 -04:00
Matilde Park
f9a2aae085 launch: don't render invites tile 2020-03-13 20:32:55 -04:00
Matilde Park
07f6268509 soto: allow for right click pasting 2020-03-13 19:52:12 -04:00
Matilde Park
493784055f soto: add 'capslock' to ignored keys 2020-03-13 19:23:26 -04:00
ixv
3bb8a7d13f
Merge pull request #2476 from urbit/mp/weather-dector
weather: redirect after autodetect submission
2020-03-13 13:47:37 -07:00
Fang
123213b3be
chat-cli: ensure bound map is sorted
During upgrade, we gassed _in_ a map, instead of _by_, causing it to use
set-style sorting, leading to incorrect lookups.

This fixes that upgrade logic, and re-builds the map for existing instances.
2020-03-13 21:45:49 +01:00
ixv
f37d63a84a
Merge pull request #2484 from urbit/la-kings
contact-hook: re-establish connection to group-store if subscription …
2020-03-13 13:07:35 -07:00
ixv
4b6271b151
Merge pull request #2471 from urbit/mp/launch-weather-crash
launch: stop passing 'invite' prop to tiles
2020-03-13 13:02:27 -07:00
ixv
229373924b
Merge pull request #2458 from urbit/mp/publish-typo
publish: fix join typo
2020-03-13 13:01:19 -07:00
ixv
144f7f3cba
Merge pull request #2455 from urbit/mp/color-picker-alignment
chat, link: preview for channel colour picker
2020-03-13 13:00:59 -07: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
acdf511f23
chat fe: improve groupify copy 2020-03-13 19:02:29 +01:00
Fang
32ae34a37a
chat fe: support groupify operation 2020-03-13 18:15:34 +01:00
Fang
9793dccef0
chat-view: support %groupify
This upgrades an existing, unmanaged village chat into a full-fledged
group plus chat.
2020-03-13 18:15:34 +01:00
Fang
b77ab0f122
chat-view: add scry helper 2020-03-13 18:15:34 +01:00
Benjamin Summers
0b68ab8a01 urbit-atom: Use GMPs import/export feature. 2020-03-13 10:04:38 -07:00
Matilde Park
1123ae5c99 weather: redirect after autodetect submission 2020-03-13 11:04:57 -04:00
Matilde Park
d016199ed7 link: submit color on blur 2020-03-13 10:41:18 -04:00
Matilde Park
788f8013c7 chat: submit color on blur 2020-03-13 10:38:52 -04:00
Matilde Park
bca75a7b80 launch: stop passing 'invite' prop to tile 2020-03-13 10:21:00 -04:00
Matilde Park
fa3cbdf68e publish: fix join typo 2020-03-13 01:00:02 -04:00
Matilde Park
d4e2369849 link: add preview box to channel color picker 2020-03-13 00:17:57 -04:00
Matilde Park
21a4c50376 chat: add preview box to channel color picker 2020-03-13 00:17:51 -04:00
Matilde Park
b503001609 chat: split and send mixed messages sequentially
Hot and cold in that order. This amends the behaviour of messages
with text and URLs to submit them in order of found URL,
instead of batching the URLs at the end.
2020-03-12 21:46:03 -04:00
pkova
0d079b537c hoon: fix ket not working past tistar 2020-03-13 00:37:33 +02:00
Benjamin Summers
029262333b urbit-atom: unpin package verisons 2020-03-12 13:09:18 -07:00
Benjamin Summers
51656f915b urbit-atom: Fallback to slow implementation in GHCJS for now. 2020-03-12 13:09:14 -07:00
Benjamin Summers
14cba45597 urbit-atom: Back out of vendoring integer-simple. 2020-03-12 13:09:10 -07:00
ixv
54d1e7eb63
Merge pull request #2450 from urbit/m/dbug-state-slapper
dbug: allow complex, hoon-based state queries
2020-03-12 11:09:26 -07:00
Benjamin Summers
7e79c6d200 urbit-atom: [WIP] remove negative numbers from integer-simple. 2020-03-12 10:58:29 -07:00
Benjamin Summers
2d1a6883e8 urbit-atom: s/Integer/Atom/ in integer-simple code. 2020-03-12 10:49:35 -07:00
Benjamin Summers
01d1a0f7e9 urbit-atom: Moved urbit-integer-simple into urbit-atom package. 2020-03-12 10:45:01 -07:00
Benjamin Summers
cd656b389f urbit-atom: Vendor integer-simple. 2020-03-12 10:19:14 -07:00
Benjamin Summers
0abf80cc8e urbit-atom: Don't use tasty for tests to avoid clock dependency. 2020-03-12 09:59:50 -07:00
Philip Monk
2ea8800710
behn: drop drip failures
Restores previous behavior.  This is wrong, but without it we fail when
vanes (specifically Ford) crash on goof.
2020-03-12 09:39:27 -07:00
Fang
9a6bde765b
dbug: allow complex, hoon-based state queries
+dbug [%state 'some-hoon'] now allows you to run some-hoon against the
application's state. That hoon has access to the bowl and stdlib for
more dbugging convenience.
2020-03-12 16:40:35 +01:00
Jared Tobin
40f93d9dad
vere: v0.10.4 version bump [ci skip] 2020-03-12 14:14:30 +04:00
Jared Tobin
3d40f3196c
Merge branch 'philip/breach-time' (#2433)
* origin/philip/breach-time:
  eth-watcher: reduce required number of confirmations

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-12 11:24:10 +04:00
Jared Tobin
edbc9ba553
Merge branch 'arvo-no-print-loop' (#2422)
* origin/arvo-no-print-loop:
  arvo: removes looping crash printf

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-12 11:24:10 +04:00
ixv
33c422fca6
Merge pull request #2447 from urbit/la-unsubscribed-state
chat-hook: added ability to subscribe to chat-hook state from the front-end
2020-03-11 23:36:42 -07:00
Logan Allen
a0a39b87dc chat-hook: watch-ack successfully for store subscripttion kills 2020-03-11 23:13:31 -07:00
Isaac Visintainer
ba43f03726 chat-hook: resubscribe when kicked from chat-store 2020-03-11 22:21:56 -07:00
Logan Allen
84a9f23af6 chat-hook: fix ota chat backlog duplication 2020-03-11 20:43:41 -07:00
Logan Allen
cac98b2284 chat-hook: don't send invites upon on-load 2020-03-11 20:33:38 -07:00
Logan Allen
872c620c5a chat-js: styled the resubscribe element 2020-03-11 20:33:01 -07:00
Benjamin Summers
b659f48c3e urbit-atom: No classy-prelude dependency. 2020-03-11 19:41:07 -07:00
Benjamin Summers
2a7058ffd8 urbit-atom: don't use unboxed tuples (breaks ghci) 2020-03-11 19:24:18 -07:00
Benjamin Summers
3c568c8e4c urbit-atom: Wrote tests and fixed an edge-case. 2020-03-11 19:19:38 -07:00
ixv
7a5f7537dc
Merge pull request #2448 from urbit/m/dbug-more
apps: augment with /lib/dbug
2020-03-11 18:13:24 -07:00
Fang
55aa0cb610
apps: augment with /lib/dbug 2020-03-12 01:33:48 +01:00
ixv
b01f0dc260
Merge pull request #2443 from urbit/mp/os1/short-patp
os1: truncate comet/moon patps in all applications
2020-03-11 17:00:06 -07:00
Logan Allen
64a62df461 chat-hook: removed comments 2020-03-11 16:45:03 -07:00
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