Commit Graph

30519 Commits

Author SHA1 Message Date
Matilde Park
b8fca68db6 grid: pasting shortcodes redirects to app page
Current behaviour when pasting, eg. `~paldev/pals` is to show the list
of all apps by ~paldev, even though the URL knows we're looking for pals
(eg. `/~paldev/apps/pals`). By reconstructing the URL to include the
host and desk twice, we can redirect straight to the app prompt, as
that's where that route exists.
2022-04-26 15:25:09 -07:00
Patrick O'Sullivan
931040b6e3 groups: bump api version 2022-04-26 13:44:43 -05:00
Patrick O'Sullivan
35a224137a npm: fix issue caused by set var in groups/lib.ts 2022-04-26 13:42:18 -05:00
yosoyubik
79af26fc3c azimuth: revert azimuth change in 60cc44e 2022-04-26 18:36:48 +02:00
Joe Bryan
92657762ed vere: stubs out --next upgrade flag 2022-04-22 22:03:00 -04:00
Joe Bryan
1c6feb7b0f
Merge pull request #5708 from urbit/m/bout-format
u3: improve %bout time printing
2022-04-22 21:59:07 -04:00
Joe Bryan
ab0381447c
Merge pull request #5717 from urbit/jb/one-vere
vere: removes urbit-worker
2022-04-22 21:58:45 -04:00
Philip Monk
ac6e793aa2 arvo: rename +de to +of 2022-04-22 17:55:42 -07:00
Joe Bryan
36f284c548 vere: refactors serf i/o initialization 2022-04-22 16:45:28 -04:00
Joe Bryan
618f92360a vere: restores ctrl-c on windows, fixes latent handle precision bug 2022-04-22 16:32:56 -04:00
Joe Bryan
edcf08c929
Merge pull request #5731 from urbit/jb/vere-status
vere: adds runtime status endpoint (reflecting current spinner state)
2022-04-22 12:14:45 -04:00
rcrdlbl
d57acf1b58 useEmbed logic moved up one level 2022-04-22 10:45:39 -04:00
yosoyubik
9cb425e0ef ames: remove unused ames-to-ames %plea logic
This seems to have been used in the past for pinging the ship's
sponsor, but was later removed when the :ping app was introduced
2022-04-22 15:49:15 +02:00
yosoyubik
087f24e931 ames: use +trace to print logs 2022-04-22 12:29:16 +02:00
yosoyubik
e2f8e21529 ames: remove sigwut 2022-04-22 12:26:53 +02:00
yosoyubik
471b9be22d ames: fix emit of parsing old wire log 2022-04-22 12:26:24 +02:00
yosoyubik
91435a92ca ames: don't drop events with old wires
Previously we were dropping events that used old
wires that lacked a rift in them. This seems a
bad behavior because we don't want to destroy a
flow that has not been processed by both ends.

Note: pending a fix to test-old-ames-wire
2022-04-22 12:26:14 +02:00
yosoyubik
6cdebea1af ames: address review 2022-04-22 12:26:08 +02:00
yosoyubik
60cc44e961 ames: fix cached state in larval upgrade 2022-04-22 12:26:02 +02:00
yosoyubik
1b01455fe5 ames: fix dangling-bone error 2022-04-22 12:25:55 +02:00
Joe Bryan
7cd05b2bf9 vere: adds runtime status endpoint (reflecting current spinner state) 2022-04-21 15:26:17 -04:00
Joe Bryan
7741179c02 vere: refactors http request socket stealing 2022-04-21 15:25:55 -04:00
Joe Bryan
75b5f51a45 vere: temporarily disables ctrl-c on windows 2022-04-20 22:43:01 -04:00
Joe Bryan
9b947a7159 vere: removes obsolete windows binary extension handling 2022-04-20 22:43:01 -04:00
Hunter Miller
d26817d1e1
Merge pull request #5720 from 0x70b1a5/next/groups
Images should use -webkit-optimize-contrast.
2022-04-20 12:54:25 -05:00
Hunter Miller
2cb36bfbfb
Merge pull request #5713 from dnmfarrell/dnmfarrell/set-messages-title
groups: set the right title for messages
2022-04-20 12:50:15 -05:00
Hunter Miller
a0a0a9c2ff
Merge pull request #5728 from dillon/dp/fix-edit-profile
groups: fix edit profile
2022-04-20 12:48:09 -05:00
fang
c325d3b0b7
Merge pull request #5681 from urbit/m/aqua-revival
aqua: make tests pass, faster
2022-04-20 18:48:29 +02:00
fang
4415aa781e
Merge branch 'next/arvo' into m/aqua-revival 2022-04-20 18:47:59 +02:00
Hunter Miller
fd6aa680be
Merge pull request #5718 from urbit/hm/s3-v4-signatures
s3: adding v4 signatures for updated compatibility
2022-04-20 11:32:11 -05:00
Hunter Miller
d1eee0bae6
Merge pull request #5711 from yungcalibri/next/landscape
Interview eval: fix the long link layout issue [DNM]
2022-04-20 10:35:05 -05:00
Hunter Miller
1cb4268851
Merge branch 'next/groups' into next/landscape 2022-04-20 10:31:14 -05:00
Hunter Miller
aa724635d1 Merge branch 'master' into next/groups 2022-04-20 10:19:38 -05:00
Hunter Miller
8aaeeef405 Merge branch 'master' into next/landscape 2022-04-20 10:16:56 -05:00
Hunter Miller
3e38e6c4f7 http-api: updating dist to be more compatible with node 2022-04-20 10:00:46 -05:00
Philip Monk
dfd4fc1028 clay: wip 2022-04-19 20:03:32 -07:00
Hunter Miller
25988742f2 Merge branch 'next/landscape' of github.com:urbit/urbit into next/landscape 2022-04-19 14:51:08 -05:00
André Fincato
2f7bc1e847 groups: fix blockquote to work also in notebook
previous code was assuming too much the context of the data structure.
in chat the AST works on a single node base (?), in notebook on a
multi node base.

this commit move the previous code from inside the single stitch function to
the area where the final AST is stitched together.
2022-04-19 15:16:31 +02:00
André Fincato
5634e08da5 groups: set font-size=1 to list block
this set the correct size to a list item which contains for eg only a
link child (as link child has the prop  fontSize="inherit").
2022-04-19 09:04:42 +02:00
André Fincato
db6130146b groups: avoid extra node in plain link URL
This still leaves an empty root node which does not take up visual
space though. A more comprehensive approach would be to filter out
plain URL links from the graph, eg from the function

```
t[1].children.map(c => {
    if (c?.children) {
      let links = [];
      c.children.filter(k => {
        if (k.type === 'link') {
          links.push({
            type: 'root',
            children: [
              {
                type: 'graph-url',
                url: k.url
              }
            ]
          })
        }
      })

      c.children.push(...links);
    }
  });
```
2022-04-19 09:04:19 +02:00
André Fincato
dedacabb53 groups: add graph-url block below plain URL block
this commit suggests a possible UI to put back the rich embed URL
right below (aka in context) the block where the plain URL has been
inserted. in this way when pasting a URL the formatting does not break
and yet a richer UI is still rendered.
2022-04-19 09:03:58 +02:00
André Fincato
96482ca99c groups: correctly display blockquote content in full
as of now, a blockquote would discard any other content after
a URL and would put it on a new line.

eg '> some text https://urbit.org this is urbit' would be rendered as

```
> some text https://urbit.org

this is urbit
```

this commit joins all content inside of a blockquote as one block.
2022-04-19 09:03:41 +02:00
André Fincato
0a03e44632 groups: convert URL from graph-url to plain link
this change removes rich embed URLs in order to not break text flow. eg
when writing a sentence with a URL, before this commit the UI would
display the URL as its own block on a new line, plus anything
afterwards it (originally on the same line of text), would be
displayed on a new line as well.
2022-04-19 09:02:53 +02:00
André Fincato
f03397f301 groups: don't render plain URL 2022-04-19 09:02:12 +02:00
dillon
89498e7b3a groups: fix edit profile
Adds async/await to prevent pokes from being interrupted by a premature route change in the profile  page.
2022-04-18 18:40:24 -04:00
yung calibri
c70ca0ad10 fixup! interface: tweak LinkDetail flex distribution 2022-04-18 15:37:43 -04:00
yung calibri
4481660842 interface: tweak LinkDetail flex distribution 2022-04-18 15:30:09 -04:00
yung calibri
99396e8133 interface: fix double border in LinkDetail 2022-04-18 15:01:03 -04:00
yung calibri
f0a1724d97 interface: fix LinkBlockItem border parameters 2022-04-18 14:56:42 -04:00
yung calibri
2f08d07527 fixup! interface: fix centering in LinkBlockItem summary 2022-04-18 14:52:51 -04:00