Commit Graph

9764 Commits

Author SHA1 Message Date
Matilde Park
3ff671d477 Merge branch 'release/next-js' into la/chat-delete 2021-05-05 21:45:52 -04:00
Matilde Park
bf3c7b7b0d Merge branch 'release/next-js' into la/chat-delete 2021-05-05 21:42:07 -04:00
matildepark
61e9deb787
Merge pull request #4809 from urbit/lf/publish-mp
publish: forestry
2021-05-05 21:38:22 -04:00
Liam Fitzgerald
be34223a6e
tokenizeMessage: expand group links 2021-05-06 11:30:30 +10:00
Liam Fitzgerald
5851eaa511
BigIntOrderedMap: fix caching 2021-05-06 11:09:01 +10:00
Liam Fitzgerald
6c653e7ab9
interface: fix merge errors 2021-05-06 10:45:15 +10:00
Liam Fitzgerald
93de5a312b
Merge remote-tracking branch 'origin/release/next-js' into lf/publish-mp 2021-05-06 10:32:49 +10:00
Matilde Park
f0365e6ab2 npm: change package-lock to ver@1 2021-05-05 19:18:37 -04:00
Matilde Park
ae13a69998 Merge branch 'release/next-js' into mp/landscape/more-more-types 2021-05-05 19:10:10 -04:00
Tyler Brown Cifu Shuster
76bef0ba00 interface: Converted all to typescript, fixed auto-fixable problems 2021-05-05 15:40:18 -07:00
Logan Allen
3cf35bc369 graph-store: updated deep-node retrieval to use +tab 2021-05-05 17:25:13 -05:00
Logan Allen
01c5286319 graph-store: change scry name 2021-05-05 16:57:38 -05:00
Logan Allen
28a94d9b25 graph-store: add deep-subset scry that allows one to scry for an upper
bound of ordered items by time
2021-05-05 16:57:32 -05:00
Logan Allen
0ed09b7a29 tests: fix wrong expected result with ordered-map test 2021-05-05 16:53:24 -05:00
Joe Bryan
999b56f809 gen: improve |code confirmation prompt parser
Co-authored-by: fang <github@fang.io>
2021-05-05 14:29:31 -07:00
Joe Bryan
8e855b159f gen: warn and prompt for confirmation in |code %reset 2021-05-05 14:29:29 -07:00
Matilde Park
eb3e6a65f9 interface: type fixes, part 4 2021-05-05 17:20:29 -04:00
James Acklin
052b2603f8
Merge branch 'release/next-js' into james/group-dm-invite 2021-05-05 17:09:20 -04:00
James Acklin
921bee9b02 messages: check for isOwn 2021-05-05 17:07:58 -04:00
Logan Allen
a25f8028f4 tests: add test to make sure subtree is being modified properly in +del-span 2021-05-05 16:07:08 -05:00
James Acklin
02e40930a8 Merge branch 'release/next-js' into james/group-dm-invite 2021-05-05 17:02:45 -04:00
Logan Allen
915c548037 zuse: fix +del-span in +tab 2021-05-05 14:41:13 -05:00
Logan Allen
36ae091cff zuse: +tab in ordered-map is more succinct and no longer nips 2021-05-05 13:09:43 -05:00
Logan Allen
4073cf9d76 zuse: +tab marginal code cleanup to reduce use of lark 2021-05-05 12:59:40 -05:00
Logan Allen
947b9ec75c zuse: +tab should paginate into the ordered-map starting from the highest element, not from the lowest 2021-05-05 11:56:04 -05:00
James Acklin
c4dd1c428c permalinks: back out border hover 2021-05-05 12:39:32 -04:00
James Acklin
ff49268d6f Merge remote-tracking branch 'origin/release/next-js' into james/transclusion-polish 2021-05-05 10:59:09 -04:00
Liam Fitzgerald
5228cbccaf
interface: add shortcut customisation 2021-05-05 14:38:18 +10:00
Liam Fitzgerald
6d403b67fd
settings: customize shortcuts 2021-05-05 14:27:51 +10:00
Liam Fitzgerald
880cde81ca
settings: add shortcut config 2021-05-05 14:03:10 +10:00
Liam Fitzgerald
88e5f297c9
Sidebar: add cycle shortcuts 2021-05-05 13:59:44 +10:00
Liam Fitzgerald
60dd5854fc
interface: add global nav shortcuts 2021-05-05 13:59:06 +10:00
Liam Fitzgerald
9e6862f1c9
skeleton: show/hide sidebar 2021-05-05 13:58:24 +10:00
Liam Fitzgerald
b3ee418b3f
interface: add shortcut provider 2021-05-05 13:57:34 +10:00
Liam Fitzgerald
36798b62ee
chat-editor: focus on alphanumeric keystroke 2021-05-05 13:56:53 +10:00
Liam Fitzgerald
018a17fc6f
interface: add shorcut context 2021-05-05 13:48:07 +10:00
Liam Fitzgerald
effa7471a4
BigIntOrderedMap: faster 2021-05-05 13:47:27 +10:00
Liam Fitzgerald
0925d9a201
interface: fix dependencies 2021-05-05 12:13:13 +10:00
matildepark
f54410c3fd
Merge pull request #4854 from urbit/lf/ref-typings
interface: fix ref typings
2021-05-04 21:10:49 -04:00
Liam Fitzgerald
b0ac1bcaf4
interface: fix ref typings 2021-05-05 11:06:57 +10:00
Liam Fitzgerald
b00a9fed86
Merge remote-tracking branch 'origin/release/next-js' into lf/spring 2021-05-05 10:48:29 +10:00
matildepark
d803ac062a
Merge pull request #4810 from urbit/tbcs/http-api-update
npm: Updated http-api and api packages
2021-05-04 20:31:39 -04:00
Tyler Brown Cifu Shuster
c0c2f31bd7 Updated metadata config definition 2021-05-04 17:06:22 -07:00
Matilde Park
0c76dc672f GraphContentWide: type guard with conditionals 2021-05-04 19:50:13 -04:00
Matilde Park
36c5f1644b landscape/util: cast getModuleIcon 2021-05-04 19:36:47 -04:00
Matilde Park
a276d42078 interface: type corrections, part 3 2021-05-04 18:34:48 -04:00
Logan Allen
59227f8696 tests: added tests for +tab 2021-05-04 15:58:47 -05:00
Matilde Park
97288c349b Merge branch 'release/next-js' into mp/landscape/more-types 2021-05-04 16:19:50 -04:00
Logan Allen
c86559071f zuse: add +tab arm to +on, which allows one to take a subset excluding the start element with a max count 2021-05-04 14:55:41 -05:00
L
cf742789bb
Merge pull request #4846 from urbit/la/hark-perf 2021-05-04 10:03:07 -05:00
raghu
9db61a1566 fuse: simplify state restoration logic 2021-05-03 22:26:49 -04:00
Liam Fitzgerald
395ef6ef01
hooks: add diplomacy flag 2021-05-04 11:06:59 +10:00
Liam Fitzgerald
29ada0eba1
pull-hook: slog tank on versioned nack
Should hopefully provide more debugging info for ghost subscriptions
2021-05-04 11:02:24 +10:00
Liam Fitzgerald
dcf858ccf9
push-hook: hold subscription open after validating access
When we receive a watch-nack on a versioned subscription, we attempt to
resubscribe on an unversioned path. However, if we receive an unversioned
subscription request for which we are not compatible, we hold the
subscription open and never send any facts on unversioned subscriptions.
As the check for unversioned compatiblility occurs before retrieving the
initial-watch, subscriptions which are supposed to nack never do. Fixed
by moving the conditional.

Fixes urbit/landscape#795
2021-05-04 10:56:49 +10:00
Liam Fitzgerald
c73e2b95b5
versioning: convert gates return a cage 2021-05-04 10:55:06 +10:00
Logan Allen
b590faec9d hark-graph-hook: cast the interior of the vase for speed 2021-05-03 18:51:37 -05:00
Matilde Park
24aa7377a8 interface: bump to indigo-react 1.2.22 2021-05-03 19:51:06 -04:00
raghu
2fd8e729e1 fuse: fix indents 2021-05-03 19:29:28 -04:00
Ted Blackman
4c94c7edd4 ames: expire direct lanes faster after inactivity 2021-05-03 17:33:56 -04:00
James Acklin
02e5bd0c5c permalinks: hide permalink footer from the same resource
fixes urbit/landscape#759
2021-05-03 17:01:56 -04:00
Logan Allen
26df0b1952 interface: group feed now allows deletion of posts 2021-05-03 15:43:32 -05:00
Logan Allen
4966615082 interface: add the ability to delete chat messages 2021-05-03 14:05:23 -05:00
James Acklin
884aa98832 chat: remove ~patp mention on message "reply"
fixes urbit/landscape#759
2021-05-03 15:03:16 -04:00
James Acklin
fff54e95b2 permalinks: surface reply count for Group Feed posts, restyle GroupLink
fixes urbit/landscape#759
2021-05-03 14:46:17 -04:00
James Acklin
e2f17527ca permalinks: pad sigils, unify author timestamp size systemwide
fixes urbit/landscape#759
2021-05-03 12:18:14 -04:00
James Acklin
23c56b35d2 Merge remote-tracking branch 'origin/release/next-js' into james/transclusion-polish 2021-05-03 09:15:43 -04:00
raghu
20fb39bba7 fuse: fix comments 2021-05-02 14:15:03 -04:00
raghu
08d3aa2485 fuse: c/r 2021-05-02 14:04:03 -04:00
raghu
75ed2cc0af fuse: c/r 2021-05-02 13:44:18 -04:00
James Acklin
4674559f2d permalinks: uniform appearance for collection links
fixes urbit/landscape#759
2021-05-02 11:20:04 -04:00
James Acklin
1d365d70c3 notes: render preview text as <Text /> 2021-05-02 10:37:29 -04:00
James Acklin
97871691f1 permalinks: uniform appearance for comments and posts (post + groupfeed)
fixes urbit/landscape#759
2021-05-02 10:37:09 -04:00
raghu
baa06904f6 fuse: print help text in generator 2021-05-01 23:04:19 -04:00
Logan Allen
027011deb3 hark-graph-hook: remove unnecessary scries where possible for perf 2021-04-30 19:55:27 -05:00
Matilde Park
391a3101d9 Merge branch 'release/next-js' into release/next-userspace 2021-04-30 18:10:01 -04:00
fang
3a6735203c
landscape: display version mismatch notification
If arvo indicates it needs a newer runtime to apply an upgrade, we now
display a persistent notification on the notifications screen and
turn the base hash background yellow.

This also gives a yellow notification dot, but it's overridden by the
blue one if there are regular notifications too.
2021-04-30 23:15:16 +02:00
janeway
d0be435624 glob: update to 0v2.9br5i.hl1e5.cda79.75gdi.jj5hc 2021-04-30 12:49:53 -04:00
Logan Allen
6e360a9746 graph-store: +on-load to %5 properly 2021-04-30 11:36:54 -05:00
janeway
4f873320f1 glob: update to 0vrjber.rqjl4.19elk.2fmnt.6t82g 2021-04-30 12:16:28 -04:00
fang
4772b261ad
launch: expose runtime lag scry endpoint 2021-04-30 18:10:15 +02:00
Liam Fitzgerald
004145b407
graph: bunt time to ensure deduplication
The varying timestamp in the %add-graph fact from graph-push-hook was
preventing deduplication of the jammed noun in ames. Prevents
unnecessary bail: memes upon sending many %add-graph facts
2021-04-30 23:58:50 +10:00
Liam Fitzgerald
681641fe4c
graph-store: initialise update logs 2021-04-30 23:58:42 +10:00
Liam Fitzgerald
85f2dd26ce
glob: update to 0v7.dmf2h.884m6.b2p1b.l1and.uv1lv 2021-04-30 15:25:01 +10:00
Liam Fitzgerald
773c590055
Merge remote-tracking branch 'origin/release/next-js' 2021-04-30 15:12:33 +10:00
Liam Fitzgerald
56b9a7545c
Merge remote-tracking branch 'origin/master' into la/ref-trans-graph 2021-04-30 14:36:26 +10:00
Liam Fitzgerald
4c0e9dfe82
VirtualScroller: fix pendings and scroll after jump 2021-04-30 12:15:04 +10:00
Liam Fitzgerald
93c6d157af
hark: fix notification archival 2021-04-30 12:14:31 +10:00
Liam Fitzgerald
7ea0361b98
interface: include iPad in UA check 2021-04-30 12:13:50 +10:00
James Acklin
d68881aeff permalinks: chat message cleanup, click entire block to navigate
fixes urbit/landscape#759
2021-04-29 21:26:20 -04:00
Philip Monk
49bbf37ca2
Merge pull request #4835 from urbit/philip/clay-fixes
clay: fix requests for strange cares over ames
2021-04-29 15:18:05 -07:00
Logan Allen
0dae5e1725 graph-store: fix %add/remove-tag generators 2021-04-29 12:24:30 -05:00
James Acklin
f39c642801 chat: refocus and reset state on submit, allow enter linebreaks on mobile 2021-04-29 11:10:53 -04:00
Philip Monk
ca389b42cf
Merge remote-tracking branch 'origin/master' into release/next-sys 2021-04-28 23:25:16 -07:00
Philip Monk
7b7e9e3104
clay: fix requests for strange cares over ames
Four changes:

- implement +validate-u to allow %u requests over the network
- make +validate-x use our local marks to make %x requests generally
  work over the network
- in +start-request, if a foreign ship is making a request that we
  shouldn't send over the network, ignore it.  This closes a DOS vector.
- in +duce, if we're about to make a request to a foreign ship which
  they won't be able to answer, crash the event.

Combined, these fix many of the common cases of weirdness around foreign
clay requests.  Notably absent is a fix for reading `%a` across the
network, which I still maintain should happen against the foreign
hoon/zuse.

fixes #4834
see also #4307
2021-04-28 23:24:15 -07:00
Liam Fitzgerald
4b6f390a97
glob: update to 0v3.m4922.94fro.soub7.2cod3.0rfhh 2021-04-29 15:58:06 +10:00
Liam Fitzgerald
d18630d4e8
Merge remote-tracking branch 'origin/release/next-js' 2021-04-29 15:41:11 +10:00
Liam Fitzgerald
4d6315562c
Merge branch 'lf/hook-cond-negotiate' 2021-04-29 15:41:00 +10:00
Liam Fitzgerald
1ab144b265
hooks: address L review 2021-04-29 15:29:27 +10:00
rabsef-bicrym
04537e6fc1 Added support for .ico files:
-/mar/ico/hoon
 * Utilizes similar structure to /mar/png/hoon, w/ changed mimetype
-/lib/server
 * Added ico-response, again similar to png w/ same caching
-/app/file-server
 * Added reference to ico-response:gen

i showed you my ico, plz respond
2021-04-29 04:38:43 +00:00
Liam Fitzgerald
dbf8c2afb9
VirtualScroller: do not crash if ref is unset 2021-04-29 14:33:26 +10:00
Liam Fitzgerald
42be76b5c2
publish: temporarily disable tokenizing publish 2021-04-29 14:22:25 +10:00
Liam Fitzgerald
1735c1d6a5
interface: update package.json 2021-04-29 14:20:06 +10:00
Liam Fitzgerald
80a5612fda
interface: use new GraphContent 2021-04-29 14:19:30 +10:00
Liam Fitzgerald
3cda34d0fa
GraphContent: rename and cleanup 2021-04-29 14:12:51 +10:00
Liam Fitzgerald
c74ad3170e
GraphContent: unify rendering 2021-04-29 14:12:15 +10:00
James Acklin
e1462bc77c messages: fixes mystery hamburger bouncing 2021-04-28 21:04:43 -04:00
James Acklin
9678a5619f Merge branch 'release/next-js' into james/group-dm-invite 2021-04-28 20:52:24 -04:00
James Acklin
7e754a819f messages: addressing PR comments
fixes urbit/landscape#4780
2021-04-28 19:01:40 -04:00
Matilde Park
a223aa79e5 interface, npm/api: type checking, round 2 2021-04-28 17:18:30 -04:00
Logan Allen
dd6eeccdae zuse: update names of +subset to +lot, +peek to +pry, remove unnecessary comments 2021-04-28 16:12:46 -05:00
Logan Allen
42a1a68913 interface: graph-reducer, put empty string when hash is null 2021-04-28 13:13:58 -05:00
Logan Allen
5e85d975b3 Merge branch 'la/delete-interface' into la/ref-trans-graph 2021-04-28 13:02:39 -05:00
Logan Allen
d5ed85efa8 Merge branch 'master' into la/ref-trans-graph 2021-04-28 12:53:06 -05:00
Tyler Brown Cifu Shuster
c99c443514 Fixed deSig signature 2021-04-28 10:50:45 -07:00
Matilde Park
54ef64ee7c ChatPane: invert showOurContact conditional 2021-04-28 13:18:37 -04:00
Liam Fitzgerald
e937911536
ChatResource: refactor to use ChatPane 2021-04-28 13:56:35 +10:00
Liam Fitzgerald
d635d596b8
ChatPane: add component 2021-04-28 13:56:09 +10:00
Liam Fitzgerald
a1c433b455
ShareProfile: refactor to remove dead props 2021-04-28 13:55:40 +10:00
Liam Fitzgerald
053e392c5c
ChatWindow: remove association prop 2021-04-28 13:55:05 +10:00
Liam Fitzgerald
f221cfe135
ChatInput: lift callbacks, refactor 2021-04-28 13:54:49 +10:00
Liam Fitzgerald
d2b08fbd8e
ChatMessage: refactor to remove association prop 2021-04-28 13:54:24 +10:00
Liam Fitzgerald
163d94e5a8
withStorage: fix typings 2021-04-28 13:50:19 +10:00
Liam Fitzgerald
22645b9814
interface: add state accessors 2021-04-28 13:37:20 +10:00
janeway-bot
b6a6b26911
Merge d1327db316 into release/next-js 2021-04-28 01:01:21 +04:00
L
eb371ea4c2
Merge pull request #4776 from urbit/la/fix-session-cache 2021-04-27 16:00:35 -05:00
Matilde Park
9675f0131e ChatMessage: fix props destructure 2021-04-27 16:59:32 -04:00
Joe Bryan
d1327db316 urbit: bumps version to 1.5 2021-04-27 13:58:44 -07:00
Joe Bryan
bc45a6d32f
Merge pull request #4819 from wexpertsystems/docker-port-doc-fix
docker: update documentation
2021-04-27 13:49:05 -07:00
Matilde Park
370b7ad9de Merge branch 'release/next-js' into lf/more-virt-perf 2021-04-27 15:54:27 -04:00
Matilde Park
2d22823a5b UnreadNotice: add missing space 2021-04-27 15:51:02 -04:00
Joe Bryan
8d421ae68e vere: improves u3_creq struct declaration style 2021-04-27 10:54:22 -07:00
Joe Bryan
645b860aa5 vere: extends cttp state machine to handle a/sync errors with tls 2021-04-27 10:54:17 -07:00
Liam Fitzgerald
4f6003fd24
graph-update: fix recursive add-nodes case 2021-04-27 16:34:48 +10:00
Liam Fitzgerald
27f2f93cc8
VirtualScroller: fix for origin=top 2021-04-27 16:25:50 +10:00
Liam Fitzgerald
7524dd268f
UnreadNotice: show even if are missing unread message 2021-04-27 15:33:38 +10:00
Liam Fitzgerald
215b301be5
glob: update to 0v3.hls3k.gsbae.rm6pr.p6qve.46dh8 2021-04-27 15:17:55 +10:00
Liam Fitzgerald
5281d41205
VirtualScroller: smaller pages, disable children shifting layout 2021-04-27 15:12:43 +10:00
Liam Fitzgerald
ac5bc51da6
ChatMessage: aggressively memoize, remove more dead props 2021-04-27 15:12:42 +10:00
Liam Fitzgerald
19f9dd6009
graph-update: fix add-graph 2021-04-27 11:34:05 +10:00
Liam Fitzgerald
9304409e8b
ChatResource: cap initial backlog 2021-04-27 11:33:45 +10:00
janeway-bot
1262a04a41
Merge 6e34c320fe into release/next-js 2021-04-27 05:16:02 +04:00
Philip Monk
6e34c320fe
Merge remote-tracking branch 'origin/release/next-vere' 2021-04-26 18:15:13 -07:00
pilfer-pandex
b2c2aa2240
Merge pull request #4792 from urbit/lf/king-fix-hidden-files
king: do not commit files starting with a dot
2021-04-26 19:23:15 -04:00
pilfer-pandex
db87197479 urbit: bump version to 1.4 2021-04-26 19:22:21 -04:00
Philip Monk
72bd2e185f
Merge pull request #4825 from urbit/m/tests-updates
tests: update to reflect recent changes
2021-04-26 15:59:37 -07:00
pilfer-pandex
94ad4ec3ac king: fix typo in UDP.hs comment 2021-04-26 18:58:14 -04:00
fang
6f0a947d1b
Merge branch 'master' into release/next-sys 2021-04-26 23:13:27 +02:00
James Acklin
98d21ca27b messages: resource name heuristic for showing invite button
fixes urbit/landscape#497
2021-04-26 16:48:13 -04:00
James Acklin
9e85e0a16d messages: yank 1:1 DM invitations
Fixes urbit/landscape#497
2021-04-26 16:16:00 -04:00
matildepark
77219c6825
Merge pull request #4821 from urbit/mp/landscape/me-highlight
landscape: highlight content mentioning our ship
2021-04-26 16:04:23 -04:00
L
ef69505c62
Merge pull request #4811 from urbit/mp/landscape/timestamps
landscape: restore timestamps across interface
2021-04-26 15:02:02 -05:00
L
0e99a874ba
Merge pull request #4799 from urbit/mp/landscape/color-input-pound
ColorInput: remove "#" from input value
2021-04-26 15:01:38 -05:00
James Acklin
ff3d1822c2 chat: persist submit button 2021-04-26 15:49:02 -04:00
matildepark
844bc1f8f4
Merge pull request #4801 from urbit/james/visual-grabbag
chat: jimmy's visualfix omnibus
2021-04-26 14:57:22 -04:00
James Acklin
96375643ce
Merge branch 'release/next-js' into james/group-dm-invite 2021-04-26 14:49:26 -04:00
James Acklin
b8c495c563 chat: no shrinking avatar in ChatInput 2021-04-26 14:33:12 -04:00
Logan Allen
79fe01a434 graph-store/push-hook: remove old mark warming, organize 2021-04-26 13:28:13 -05:00
fang
d95696f29c
tests: update format tests to account for #4677
It had changed ship encoding to fit into a json %n, but hadn't updated the
tests to reflect this.
2021-04-26 19:40:26 +02:00
fang
0a71b75550
tests: update clay tests to account for #4745
It had changed the shape of some data structures, but hadn't updated the tests
to reflect that.
2021-04-26 19:36:43 +02:00
fang
5d4d7de6a6
Merge pull request #4745 from urbit/m/ford-fassig
clay: add /~ ford rune, as /= for directories
2021-04-26 16:19:19 +02:00
Liam Fitzgerald
26d822c3b2
ChatMessage: remove dead props 2021-04-26 17:06:33 +10:00
Liam Fitzgerald
88a9d9ad1c
ChatResource: remove unnecessary props 2021-04-26 17:06:14 +10:00
Liam Fitzgerald
ae840659da
ChatWindow: remove unnecessary props 2021-04-26 17:05:57 +10:00
Liam Fitzgerald
6308579588
interface: remove dead pendings 2021-04-26 17:05:00 +10:00
Liam Fitzgerald
7a6b2eb015
virtualContext: drop useLayoutEffect 2021-04-26 17:04:36 +10:00
Liam Fitzgerald
aaea592cfc
VirtualScroller: rework for less memory use, faster speeds 2021-04-26 17:04:14 +10:00
Liam Fitzgerald
c1f055d46e
interface: make BigIntOrderedMap immutable 2021-04-26 16:59:38 +10:00
Liam Fitzgerald
c039f1e142
interface: remove unnecessary routing props 2021-04-26 16:35:11 +10:00
James Acklin
cb6b4e14e0 chat: stateful send button in ChatInput 2021-04-25 23:00:06 -04:00
Matilde Park
1d5cff849d landscape: highlight content with our mentions 2021-04-25 15:45:51 -04:00
raghu
919450b0c6 fuse: update help text 2021-04-25 14:23:06 -04:00
raghu
8cbacb2545 clay: allow successive upgrades 2021-04-25 14:01:55 -04:00
raghu
201c3db193 clay: finalize fuse request - update |fuse 2021-04-25 14:01:45 -04:00
raghu
9d7afd10ee clay: change fuse request 2021-04-25 14:01:33 -04:00
Wexpert Systems
d415610ac9
docker: update documentation
Minor documentation update to fix the examples and clarify best practices for setting and mapping the Ames UDP port while running Urbit in docker.
2021-04-25 12:02:56 -04:00
matildepark
bd81b4408e
Merge pull request #4816 from urbit/mp/landscape/banner-tweak
chat: prevent shrinking of share banner
2021-04-24 21:54:54 -04:00
James Acklin
47c8075294 chat: threshold send button & chatinput fixes 2021-04-24 21:42:21 -04:00
Matilde Park
789c5de615 landscape: fix un-set avatars in participants list 2021-04-24 16:05:12 -04:00
fang
b553b9534c
chat-cli: update audience on-;view
This feels more correct, and matches historic on-;join behavior.

Fixes #4758.
2021-04-24 21:03:48 +02:00
Matilde Park
6d37c23ae8 VirtualScroller: avoid unsafe null access 2021-04-24 14:50:49 -04:00
matildepark
a8ee7fcfe4
Merge pull request #4817 from urbit/lf/virt-perf
VirtualScroller: performance, memory leaks
2021-04-23 23:11:56 -04:00
Liam Fitzgerald
f79e489d67
ChatResource: prevent unnecessary state update 2021-04-24 12:23:45 +10:00
Liam Fitzgerald
47c19b60c0
VirtualScroller: only rerender on scroll lock if necessary 2021-04-24 12:22:44 +10:00
Liam Fitzgerald
2e7b1cd41d
VirtualScroller: lock scroll less aggressively
Prevents incorrect scroll adjustment
2021-04-24 12:22:08 +10:00
Liam Fitzgerald
6a1f0e2ac9
VirtualScroller: aggressively cleanup refs
Prevents a memory leak, as it appears React holds onto the class
instance after unmounting
2021-04-24 12:20:42 +10:00
Liam Fitzgerald
bc4f26b2b3
VirtualScroller: rework scroll initialisation
Calling restore if the scroll is locked simply resets the scroll,
instead of using the usual adjustment algorithm
2021-04-24 12:19:33 +10:00
matildepark
6a106b1703
Merge pull request #4815 from urbit/mp/publish/comment-codes
landscape: move transcluded comments to graphcontentwide
2021-04-23 22:13:00 -04:00
fang
550dee32da
clay: +any:in in place of +lien over +tap:in 2021-04-23 23:05:11 +02:00
fang
dcdf695991
clay: insert %nest-fail into trace conditionally
Previously, we would stack on the ~| for every file we had previously
processed, even though we only want it in the trace for actual failures.
2021-04-23 22:56:24 +02:00
pilfer-pandex
dad455365d king: add requested disclamer to UDP.hs 2021-04-23 15:51:51 -04:00
pilfer-pandex
0bcc83f40c king: my god, actually reverse ip addrs 2021-04-23 15:51:51 -04:00
pilfer-pandex
17bf33d3a0 king: fix byte order of Ipv4 2021-04-23 15:51:51 -04:00
pilfer-pandex
48837a1fbe king: ames: make udp serv reuse port on err 2021-04-23 15:51:50 -04:00
matildepark
9ad12777ae
Merge pull request #4786 from urbit/la/fix-omnibox
interface: group feed no longer shows in omnibox
2021-04-23 15:45:40 -04:00
Matilde Park
a7ed122c5c chat: prevent shrinking of share banner 2021-04-23 15:43:53 -04:00
Matilde Park
794af89ec2 landscape: flex comments to container width
Prevents horizontal overflow.
2021-04-23 15:39:44 -04:00
Matilde Park
7ac71c64a3 landscape: move transcluded comments to new render
Fixes urbit/landscape#814
Fixes urbit/landscape#813
2021-04-23 15:39:21 -04:00
L
f11a66a381
Merge pull request #4795 from urbit/la/fast-index
graph-store, metadata-store lib: skip trip and crip, use rap
2021-04-23 14:36:57 -05:00
Logan Allen
27e5a6aef4 omnibox: add maybe operators 2021-04-23 14:34:39 -05:00
Matilde Park
0a71fb89e2 Merge branch 'release/next-js' into release/next-userspace 2021-04-23 14:57:17 -04:00
matildepark
b78e7583db
Merge pull request #4812 from urbit/mp/landscape/indigo-bump
landscape: update indigo-react to 1.2.21
2021-04-23 09:46:28 -04:00
Joe Bryan
7829ca006c
Merge pull request #4804 from urbit/jb/sift-ud
u3: rewrites %ud parser
2021-04-22 20:17:43 -07:00
Joe Bryan
715b42bb42 u3: tweaks u3s_sift_ud() conditional style 2021-04-22 20:14:28 -07:00
Matilde Park
a13542dfa7 interface/logic: revert group-update type change
It broke tags, needs a redo.
2021-04-22 21:21:44 -04:00
Joe Bryan
45ef57ab1a u3: refactors gmp initialization in u3r_mp() 2021-04-22 17:34:49 -07:00
Joe Bryan
0681c9a477 u3: avoid gmp realloc in u3s_sift_ud() 2021-04-22 17:26:36 -07:00
Matilde Park
04f46eefe5 landscape: update indigo-react to 1.2.21 2021-04-22 19:46:43 -04:00
Matilde Park
236b7a047f Merge branch 'release/next-js' into mp/landscape/indigo-bump 2021-04-22 19:43:47 -04:00
Joe Bryan
1600e71daf u3: adds a macro for leading digits in u3s_sift_ud() 2021-04-22 16:17:56 -07:00
Joe Bryan
64a96acb20 u3: requires at least one leading digit in u3s_sift_ud() 2021-04-22 16:07:35 -07:00
Joe Bryan
9c550a6795 u3: shortcircuit direct atoms in u3i_chub() 2021-04-22 15:54:19 -07:00
Joe Bryan
af1325a387 u3: simplies leading-digit control flow in u3s_sift_ud() 2021-04-22 15:53:42 -07:00
Joe Bryan
1ca0207b20 u3: adds basic tests for u3s_sift_ud() 2021-04-22 15:42:03 -07:00
Joe Bryan
edd886c37b u3: fix typo in u3s_sift_bytes() block conditionals 2021-04-22 15:12:55 -07:00
matildepark
5c5aefa9fc
Merge pull request #4806 from urbit/lf/fix-virt-scroller
VirtualScroller: fix race conditions and excessive scroll adjusting
2021-04-22 17:50:19 -04:00
Matilde Park
8532c0c362 landscape: restore timestamps across interface 2021-04-22 17:48:24 -04:00
matildepark
94435de867
Merge pull request #4807 from urbit/lf/offsettop-crash
Dropdown: check ref exists
2021-04-22 17:10:27 -04:00
matildepark
906f513959
Merge pull request #4808 from urbit/lf/flex-shrink-typings
interface: fix flex-shrink typings
2021-04-22 17:09:39 -04:00
Logan Allen
6c0a7ceeef interface: deleting links works 2021-04-22 15:26:31 -05:00
Logan Allen
b98f38e068 interface: deleting posts and comments works 2021-04-22 14:45:02 -05:00
Logan Allen
f697857eca interface: update existing views to work with removePosts 2021-04-22 14:18:22 -05:00
Logan Allen
db6b98d31c interface: update logic to work with removePosts 2021-04-22 14:17:55 -05:00
Logan Allen
f44236b7a2 graph-store: make validation work properly with type change 2021-04-22 14:17:01 -05:00
Logan Allen
ca9f6180d8 zuse: make ordered-map's +run wet 2021-04-22 10:46:48 -05:00
Tyler Brown Cifu Shuster
3325b5d5b8 npm: Updated http-api and api packages 2021-04-22 07:17:39 -07:00
janeway-bot
423613eed0
Merge b46f2e24e6 into release/next-js 2021-04-22 14:33:43 +04:00
Liam Fitzgerald
6c5d13bce0
publish: bin custom markdown css 2021-04-22 18:58:46 +10:00
Liam Fitzgerald
d8c721a4cc
publish: add GraphContentTall and use for notes 2021-04-22 18:58:39 +10:00
Liam Fitzgerald
f64d582a4e
tokeniseMessage: handle linebreaks correctly 2021-04-22 18:53:42 +10:00
Liam Fitzgerald
b46f2e24e6
glob: update to 0v3.g6u13.haedt.jt4hd.61ek5.6t30q 2021-04-22 18:00:19 +10:00
Liam Fitzgerald
08452efef8
interface: fix flex-shrink, grow typings pt.2 2021-04-22 16:35:44 +10:00
Liam Fitzgerald
a7afaf065d
interface: fix flex-shrink, grow typings 2021-04-22 16:30:13 +10:00
Joe Bryan
a2732a039f u3: cleans up comments in u3s_sift_ud() 2021-04-21 22:32:40 -07:00
Joe Bryan
39a3d1f266 u3: updates u3s_sift_ud() to skip gmp allocation where possible 2021-04-21 22:22:04 -07:00
Liam Fitzgerald
24259dab87
Dropdown: check ref exists
Fixes urbit/landscape#805
2021-04-22 15:16:04 +10:00
Joe Bryan
5730958d90 u3: refactors u3s_sift_ud() control flow 2021-04-21 22:08:39 -07:00
Liam Fitzgerald
6f7ed005ae
VirtualScroller: fix race condition in ref deletion
A callback ref is called after the component is mounted, but before the
component is unmounted. However, we might still be adjusting scroll
position based on a component that is going to be remounted. Previously,
we delayed the deletion until the next tick with setTimeout. With the
faster ordered map implementation, the component may be remounted
before the next tick, leading to the deletion of a ref that is still
mounted. To work around this, we store a set of 'orphans' and clear the
map of orphans on an interval, and only clear the map if we are not
currently adjusting our scroll position. Also includes fixes for jumpy
scroll behaviour on initial mount.
2021-04-22 15:04:38 +10:00
Liam Fitzgerald
f80ca5a3da
virtualContext: fix useVirtualResizeProp 2021-04-22 15:02:21 +10:00
Joe Bryan
c084dc8c66 u3: replaces overly-lenient %ud parser in +slaw jet 2021-04-21 18:02:57 -07:00
Liam Fitzgerald
77fded3dab
GraphNotification: safe property access 2021-04-22 11:02:23 +10:00
Joe Bryan
d05ff8c188 u3: adds u3s_sift_ud/bytes %ud parser 2021-04-21 18:01:56 -07:00
Matilde Park
75f06a7c9e landscape/logic: type safety adjustments 2021-04-21 17:22:08 -04:00
James Acklin
9587ccf5ca links: prevent click in transcluded images, use hovered external arrow 2021-04-21 16:43:48 -04:00
James Acklin
b3f31516d2 chat: show clickable arrow action on remote image hover 2021-04-21 16:21:33 -04:00
James Acklin
4283aa93f5 chat: adjust ChatMessage color 2021-04-21 15:46:29 -04:00
James Acklin
d585c58b8f chat: click name to copy ~patp in ProfileOverlay 2021-04-21 15:41:14 -04:00
James Acklin
efd088a372 chat: pointer cursor for attachment + dojo in input 2021-04-21 15:02:57 -04:00
James Acklin
3d40d37e80 interface: new messages icon
partially fixes urbit/landscape#560
2021-04-21 15:00:14 -04:00
James Acklin
6d9508abfc chat: flush borders + round corners for images 2021-04-21 14:59:16 -04:00
James Acklin
8124f63215 chat: flush borders + round corners for images 2021-04-21 14:58:16 -04:00
matildepark
1a01e58b7b
Merge pull request #4798 from urbit/mp/landscape/action-bg
landscape: pass background colors to actions
2021-04-21 14:38:39 -04:00
Joe Bryan
a780295448 u3: remove unwanted assertions in emergency printf 2021-04-21 11:01:55 -07:00
matildepark
62e2ea39c2
Merge pull request #4794 from urbit/lf/fast-ordered-map
interface: fast BigIntOrderedMap
2021-04-21 12:06:07 -04:00
Matilde Park
156d0d380d ColorInput: remove "#" from input value
Fixes urbit/landscape#803
2021-04-21 11:44:00 -04:00
Matilde Park
ab6239bf59 landscape: pass background colors to actions
Fixes urbit/landscape#802
2021-04-21 11:20:14 -04:00
Liam Fitzgerald
d40a495328
SwipeMenu: make faster 2021-04-21 17:26:31 +10:00
Liam Fitzgerald
c8ca6b9f9b
glob: update to 0v5.cokpj.dju6d.nnuti.980jl.h319v 2021-04-21 17:26:29 +10:00
Liam Fitzgerald
4489f6eee7
SwipeMenu: prevent wrong direction swipe 2021-04-21 16:45:16 +10:00
Liam Fitzgerald
d357593ef1
king: address ~pilfer-pandex review 2021-04-21 16:40:22 +10:00
Liam Fitzgerald
eb8d9b3f60
BigIntOrderedMap: remove lodash dependency 2021-04-21 16:39:35 +10:00
James Acklin
d7bee178c8 messages: PR fixes
fixes urbit/landscape#497
2021-04-20 20:43:20 -04:00
Logan Allen
cd627d452c metadata-store lib: replace crip, trip with rap 3 2021-04-20 16:25:43 -05:00
Logan Allen
cef4e6a726 zuse: fix +apt jet parent not found 2021-04-20 16:04:48 -05:00
Logan Allen
c8565e2c3b graph-store lib: skip trip and crip, use rap 2021-04-20 15:58:12 -05:00
Logan Allen
5b7b7e6cb7 zuse: reorder dip alphabetically 2021-04-20 15:21:07 -05:00
Logan Allen
6b0dc98952 ames: reflect update of name +traverse -> +dip 2021-04-20 15:04:28 -05:00
Logan Allen
b5a8e7a40b zuse: change name of +ordered-map to +on and add alias, change name of +traverse to +dip as per talk with ted 2021-04-20 15:03:57 -05:00
Joe Bryan
e32a9b2c75 u3: abort all home-road bails 2021-04-20 11:58:38 -07:00
Joe Bryan
1a257b525c u3: allow bail:meme through (a la bail:fail) 2021-04-20 11:56:37 -07:00
~locpyl-tidnyd
2389727f8f u3: centralize use of u3_Signal 2021-04-20 11:03:38 -07:00
Logan Allen
f0ba5afe1c zuse: respond to joe's requests to remove mk-item and add fast hint for ordered-map 2021-04-20 12:56:24 -05:00
Logan Allen
9247fc247c zuse: add +got and +has arms to +ordered-map 2021-04-20 12:11:54 -05:00
Logan Allen
ae2aefed2a zuse: made +run allow type transform to match +by and +in 2021-04-20 12:06:03 -05:00
Logan Allen
2e302818d3 zuse: added +any to +ordered-map 2021-04-20 12:05:24 -05:00
Logan Allen
fd6f6b3bd0 zuse: added jet hints to all +ordered-map arms, reordered them alphabetically as is done in +in and +by 2021-04-20 12:04:59 -05:00
Joe Bryan
bb3661975d
Merge pull request #4779 from wexpertsystems/docker-curl-lens
Docker: add curl, implement scripts for obtaining +code from loopback
2021-04-20 09:28:16 -07:00
Liam Fitzgerald
ec7c456b19
interface: mark bigintorderedmap as immerable 2021-04-20 18:39:56 +10:00
Liam Fitzgerald
e27b899a9d
pull-hook: prevent subscription to own store 2021-04-20 18:24:49 +10:00
Liam Fitzgerald
8b52f14a20
pull-hook: do not renegotiate if versions did not change 2021-04-20 18:24:47 +10:00
Liam Fitzgerald
7f3d6ef212
push-hook: do not kick subs if versioning same 2021-04-20 18:08:02 +10:00
Liam Fitzgerald
268677e744
metadata-store: prevent infinite loop 2021-04-20 16:15:04 +10:00
Liam Fitzgerald
e6857d5797
king: do not commit files starting with a dot 2021-04-20 15:32:26 +10:00
Liam Fitzgerald
e63beeb271
glob: update to 0v4.m6t09.ego4v.atjn3.mn5p4.mchad 2021-04-20 15:06:10 +10:00
Liam Fitzgerald
f9cf711c69
Merge remote-tracking branch 'origin/release/next-js' 2021-04-20 14:53:28 +10:00
Liam Fitzgerald
e0a12bd7dd
Merge remote-tracking branch 'origin/la/no-data-contact' 2021-04-20 14:53:18 +10:00
Liam Fitzgerald
1a4b2699ca
Merge remote-tracking branch 'origin/la/md-fix' 2021-04-20 14:52:57 +10:00
Liam Fitzgerald
f038176169
Merge remote-tracking branch 'origin/la/font-display-swap' 2021-04-20 14:52:41 +10:00
raghu
b2e1008d9a clay: add %fuse 2021-04-19 23:46:46 -04:00
Liam Fitzgerald
fc955ab83e
interface: new BigIntOrderedMap
New ordered map implementation that is faster and more space
efficient. Stores the map and keys as a flat POJO, sorting them upon
iteration. The sorting cost is only typically paid once per render
however as the sorted array is cached until the map is mutated. This
implementation appears to play nicer with immer's structural sharing,
reducing the incidence of 'props are equal by value, but not by
reference'.
2021-04-20 13:31:57 +10:00
Liam Fitzgerald
1ab925f84c
interface: unify BigIntOrderedMap imports 2021-04-20 13:11:39 +10:00
Liam Fitzgerald
45c0f3b8da
notifications: swipe to reveal dismiss menu 2021-04-20 13:08:58 +10:00
Liam Fitzgerald
3f56706dc3
interface: add mobile breakpoint to state 2021-04-20 13:05:50 +10:00
Liam Fitzgerald
c01a00bd6a
notifications: key notifications correctly 2021-04-20 12:53:41 +10:00
Liam Fitzgerald
a9d7584d64
interface: add SwipeMenu component 2021-04-20 12:47:49 +10:00
Liam Fitzgerald
2da4be0aac
interface: add @react-spring/web & react-use-gesture 2021-04-20 12:47:05 +10:00
fang
c180b92f2a
Merge pull request #4789 from urbit/m/acyou
acme: don't no-op for moons and comets
2021-04-20 01:20:51 +02:00
Philip Monk
66b4c3f193
Merge pull request #4677 from urbit/philip/fast-refresh
sys: Speed up things used in Landscape
2021-04-19 15:43:16 -07:00
Philip Monk
8870add20d
Merge pull request #4701 from urbit/ted/gall-print
gall: print on missing request for ack
2021-04-19 15:41:27 -07:00
matildepark
110bcaa6ce
Merge pull request #4785 from urbit/la/fix-591
interface: fix #591 message display by time-sent in chat
2021-04-19 17:28:55 -04:00
matildepark
b090311964
Merge pull request #4689 from urbit/lf/form-merge
ChannelSettings: unify form handling
2021-04-19 17:22:16 -04:00