Commit Graph

18240 Commits

Author SHA1 Message Date
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
ixv
b811506969
Merge pull request #2548 from urbit/mp/groups/delorted
groups: delete group members without shared metadata; delete groups
2020-03-19 10:54:42 -07:00
ixv
c410263c5b
Merge pull request #2559 from urbit/mp/publish/recompare
publish: sort inclusive of accented characters
2020-03-19 10:54:24 -07:00
Fang
65404276b8
Merge pull request #2557 from urbit/mp/chat/sidebar-nicks
chat: sidebar pulls nickname from associated group
2020-03-19 17:28:03 +01:00
Matilde Park
e9c2f47729 publish: sort inclusive of accented characters
Alphabetical and reverse alphabetical sort in the sidebar
now uses localeCompare instead of Unicode point comparison.
2020-03-19 12:12:58 -04:00
Matilde Park
c5d790410e chat: sidebar pulls nickname from associated group
We were looking for the box in our contacts object, not the associated
group, so if you had a group and chat with the same name,
you'd see nicknames, but in no other situations. This commit rectifies
that by safely polling for the associated group of the chat.
2020-03-19 11:46:47 -04:00
Fang
bee7f67d45
Merge pull request #2518 from urbit/m/chat-hook-watch-nack
chat-hook: clear all subscriptions on watch-nack
2020-03-19 15:35:26 +01:00
Fang
a162ab0e73
chat-hook: handle watch-nack for /store wires too
Similar to /backlog wires, we want to emulate %remove behavior on-nack.
2020-03-19 15:32:40 +01:00
Fang
23e3399c05
Merge pull request #2543 from urbit/mp/link/contrib-count
link: restore contributor counts in sidebar
2020-03-19 13:59:27 +01:00
Jared Tobin
14ce3177aa
Merge branch 'mp/publish/new-button' (#2549)
* origin/mp/publish/new-button:
  publish: prevent submission of empty notes
  publish: add responsive width for new post button

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-19 14:36:25 +04:00
Jared Tobin
7a7fe45677
Merge branch 'm/chat-groupify-extra' (#2546)
* origin/m/chat-groupify-extra:
  chat-view: %delete even without association
  frontend: apply ec6c2ed69 to link, publish, groups
  chat fe: clarify copy
  chat fe: support adding chat to existing group
  chat fe: invite search with/out ships
  chat-view: allow %groupify into existing group
  chat-view: add docs for %create action

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-19 14:35:59 +04:00
Jared Tobin
c5a1451ae8
Merge branch 'ixv/publish-post-height' (#2544)
* origin/ixv/publish-post-height:
  publish: fix post textarea overflowing container in firefox

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-19 14:34:46 +04:00
Jared Tobin
2b794da987
Merge branch 'philip/goad-force' (#2539)
* origin/philip/goad-force:
  goad: run with %force on kernel change

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-19 14:34:07 +04:00
Fang
d823448635
chat-view: %delete even without association
Previously, running %delete had a hard dependency on a (metadata-store)
association being present for the chat. If a remotely-hosted chat got
deleted, that would delete the association, preventing us from deleting
the chat for ourselves.

Now, we simply neglect to do related metadata deletions if no
association was present in the first place.
2020-03-19 01:33:33 +01:00
Fang
cc1c28fdec
frontend: apply ec6c2ed69 to link, publish, groups 2020-03-19 00:00:02 +01:00
Matilde Park
b86d6006a0 publish: prevent submission of empty notes
The onclick would fire regardless of disabled attr.
This commit adds a conditional check to the onclick's function.
2020-03-18 18:42:42 -04:00
Matilde Park
45b61f90e1 publish: add responsive width for new post button 2020-03-18 18:34:18 -04:00
Fang
143bae6190
chat fe: clarify copy
Also clarifies a comment, and removes unnecessary console.log calls.
2020-03-18 23:28:35 +01:00
ixv
8a0d342d8f
Merge pull request #2411 from urbit/bs/portable-urbit-atom
`urbit-atom` 32 bit and GHCJS support.
2020-03-18 15:16:10 -07:00
Matilde Park
803a4f6e86 groups: add ability to delete groups 2020-03-18 18:02:00 -04:00
Matilde Park
e82edd6e51 groups: delete group members without metadata 2020-03-18 17:30:47 -04:00
Fang
1ea4277988
chat fe: support adding chat to existing group
Using the updated chat-view %groupify action. Groupifying without
selecting a group creates a new group based off the chat. Selecting a
group first makes that the target of the group, and allows you to
specify whether to merge ships from the chat into the group.
2020-03-18 22:06:16 +01:00
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