Commit Graph

18233 Commits

Author SHA1 Message Date
Fang
67d35460e7
Merge pull request #2603 from urbit/mp/links/disable-submit
links: prevent duplicate link submissions
2020-03-25 01:41:05 +01:00
Matilde Park
19ee376aa9 links: prevent duplicate link submissions
Adds a disabled check during link submission to prevent duplicates.

Also fixes an unmarked bug where 'linkValid' was not being reset to
false on submission, allowing for submitting blank links after one
correct link has been submitted.
2020-03-24 20:00:10 -04:00
Isaac Visintainer
f7133f77e0 release: urbit-os-v1.0.6 2020-03-24 15:45:34 -07:00
ixv
fd52384445
Merge pull request #2596 from urbit/mp/publish/publish-m-flexauto
publish: flexbox sizing in skeleton, links open in _blank
2020-03-24 15:19:34 -07:00
ixv
c94ba12c08
Merge pull request #2595 from urbit/philip/clay-cancel-all
clay: add option to skip queue
2020-03-24 15:03:25 -07:00
ixv
a5ed4e15e2
Merge pull request #2593 from urbit/mp/soto/empty-backspace
soto: ignore backspace at cursor position 0
2020-03-24 15:02:49 -07:00
ixv
375cb9ba1b
Merge pull request #2591 from urbit/m/eth-abi-etyp
zuse: better ethereum abi data type
2020-03-24 15:02:17 -07:00
ixv
a88ced01af
Merge pull request #2564 from urbit/mp/link-sigil-size
links: adjust sigil size to 38
2020-03-24 15:01:12 -07:00
Fang
19867d2c49
Merge pull request #2599 from urbit/m/dbug-state-print-fix
dbug: print %state's value, not whole vase
2020-03-24 22:16:43 +01:00
Fang
2186dd8050
dbug: print %state's value, not whole vase 2020-03-24 22:12:28 +01:00
Jared Tobin
cd9f23d6db
Merge branch 'liam-fitzgerald/lf/chat-patp-autocomplete' (#2571)
* liam-fitzgerald/lf/chat-patp-autocomplete:
  chat-fe: fix incorrect property in css
  chat-fe: improve name legibility in autocomplete
  chat-fe: match autocomplete to designs
  chat-fe: autocomplete nicknames in message input
  chat-fe: ignore comets in autocomplete
  chat-fe: correct light mode autocomplete styling
  chat-fe: add patp autocomplete to message input

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-24 17:37:51 +04:00
Fang
a155da6dec
Merge pull request #2587 from urbit/m/dbug-cleaner-subs
dbug: subscription searching & printing improvements
2020-03-24 10:40:45 +01:00
Matilde Park
c1ed7a4841 publish: links open in _blank targets 2020-03-23 21:26:43 -04:00
Matilde Park
4395b130dd publish: add flex-auto to skeleton
-m viewports had overflow out of parent containers;
this uses flex-auto to ensure the skeleton stays within its flex
container.
2020-03-23 21:24:06 -04:00
Liam Fitzgerald
ca8f436fd0 chat-fe: fix incorrect property in css 2020-03-24 11:01:46 +10:00
Liam Fitzgerald
302c3dc4cc chat-fe: improve name legibility in autocomplete 2020-03-24 10:50:53 +10:00
Philip Monk
1599937c81
clay: add option to skip queue
Makes it so that |cancel %force skips the next thing in the queue if
you're not in the middle of something.  If you are in the middle of
something, it skips the thing you're in the middle of (just like naked
|cancel).

This should resolve issues where |cancel doesn't drain the queue.
2020-03-23 15:53:18 -07:00
Fang
7415a2f66a
Merge pull request #2589 from urbit/m/de-purl-com
zuse: allow com in de-purl query parsing
2020-03-23 20:20:05 +01:00
Fang
f2986af4b3
Merge pull request #2582 from urbit/m/chat-backlog-limit
chat-view: limit initial scrollback to 25 msgs
2020-03-23 19:14:26 +01:00
Matilde Park
c1a4aeb60e soto: ignore backspace at cursor position 0
If you entered the web dojo and hit Backspace immediately,
it would still process it as a valid key but pass the whole key forward.

This adds a conditional to ignore the key in those cases.
2020-03-23 11:25:36 -04:00
Fang
303b4b2756
zuse: better ethereum abi data type
Considering some of the options here were atoms, not cells, $% wasn't
appropriate, and led to *etyp:abi:ethereum resulting in ford %ride execution
failure. Simply using $? instead would result in a fish-loop, so here we split
the atom cases from the tagged union ones with a $@.
2020-03-23 12:43:40 +01:00
Fang
87dd953136
zuse: allow com in de-purl query parsing 2020-03-22 01:21:03 +01:00
Fang
c0f93c7306
dbug: allow easily printing all subs
We had no easy way to print all %incoming or %outgoing subscriptions.
Now, passing ~ instead of [%ship ~zod] or similar, will match all.
2020-03-21 18:32:39 +01:00
Fang
50f7dc85fa
dbug: cleaner subscription printing
Previously, the pretty-printing for %incoming and %outgoing results was hanging
on to and displaying irrelevant type information: "_list_ of subscriptions",
"wire with _head and tail_", and so on.

Here, we move to producing tangs, instead of vases, and print those. For the
%incoming and %outgoing cases, we print a line for every subscription, sorting
them by path and wire respectively, and giving clean, easily readable output.
2020-03-21 18:29:33 +01:00
Liam Fitzgerald
6c403f5135 chat-fe: match autocomplete to designs 2020-03-21 13:52:41 +10:00
Liam Fitzgerald
9c759a7e68 chat-fe: autocomplete nicknames in message input 2020-03-21 13:49:57 +10:00
ixv
fed93b1fe5
Merge pull request #2565 from urbit/groups/leave-group-text
groups: two contact card changes
2020-03-20 16:17:33 -07:00
ixv
3ba00c3623
Merge pull request #2580 from urbit/mp/publish/pending
publish: add pending state for comments
2020-03-20 16:16:51 -07:00
Matilde Park
41f95e231f publish: pending comments get correct timestamp 2020-03-20 17:46:00 -04:00
Matilde Park
812ab41a81 publish: abundant safety checks in comments update 2020-03-20 17:36:25 -04:00
Fang
6e67feb256
Merge pull request #2581 from urbit/revert-2566-m/chat-fe-less-groupify
Revert "chat fe: disable advanced groupify"
2020-03-20 21:48:44 +01:00
Fang
376af254af
chat-view: limit initial scrollback to 25 msgs
Provided "load backlog on-scroll" actually works, you don't really need
all that much on initial load.
2020-03-20 20:47:15 +01:00
ixv
9f997fb5b8
Merge pull request #2579 from urbit/m/chat-hook-cleanup-subs
chat-hook: clean up pre-OS1 subscriptions
2020-03-20 11:35:15 -07:00
Fang
2db5f7bb59
Revert "chat fe: disable advanced groupify" 2020-03-20 18:45:22 +01:00
Matilde Park
0246bea613 publish: add pending state for comments 2020-03-20 13:23:47 -04:00
Fang
1e1c26e306
chat-hook: clean up pre-OS1 subscriptions
If chats with identical resource paths were created, that would result
in chat-hook seeing updates twice.

These "/mailbox wire sub to local chat-store" subscriptions aren't
created by the current logic anymore, and as such any existing ones
should be eradicated.
2020-03-20 17:56:17 +01:00
Fang
64a693a037
Merge pull request #2569 from urbit/mp/groups/too-many-removes
groups: permission remove button for group members
2020-03-20 11:48:01 +01:00
Liam Fitzgerald
14399777e0 chat-fe: ignore comets in autocomplete 2020-03-20 15:30:04 +10:00
Liam Fitzgerald
2f97099e94 chat-fe: correct light mode autocomplete styling 2020-03-20 15:28:46 +10:00
Liam Fitzgerald
19b97040f2 chat-fe: add patp autocomplete to message input 2020-03-20 15:28:46 +10:00
Matilde Park
3b2bd32130 groups: remove - mh2 -> mh3
Design tweak.
2020-03-19 20:28:44 -04:00
Matilde Park
7cc5c9c6b5 groups: permission remove button for group members
Adds 'adminOpt' to the remove button for group members
who have not yet shared metadata.
2020-03-19 20:26:54 -04:00
Isaac Visintainer
a645f939ad release: urbit-os-v1.0.5 2020-03-19 16:40:17 -07:00
Fang
67f017da3d
Merge pull request #2566 from urbit/m/chat-fe-less-groupify
chat fe: disable advanced groupify
2020-03-20 00:36:41 +01:00
Fang
3bf402bc6e
chat fe: update copy to match lesser functionality
Co-Authored-By: ixv <isaacv@tlon.io>
2020-03-20 00:25:43 +01:00
Fang
6182d61420
chat fe: disable advanced groupify
Introduced in #2546, the new functionality seems able to induce weird
behavior causing messages to be processed twice. Disabling this
functionality on the frontend until that has been fixed.
2020-03-20 00:13:16 +01:00
Matilde Park
b2b6c05992 groups: fix "remove from" / "leave group" text
When you were looking at your own card in another group,
it would say "Remove from" group. This is from an arbitrarily strict
ternary check that adminOpt catches
for us, so we just check if the ship is us.
2020-03-19 18:16:22 -04:00
Matilde Park
d1b73f7ae3 groups: strengthen the admin check on cards
Before we saw if window.ship was in the path of the group.
If you're a star or higher, you'll match many group paths that you don't
own. This strengthens the check.
2020-03-19 18:15:36 -04:00
Matilde Park
7f8fcbe528 link: adjust sigil size to 38 2020-03-19 17:48:38 -04:00
Isaac Visintainer
83fc700d41 release: urbit-os-v1.0.4 2020-03-19 11:19:30 -07:00