Commit Graph

6876 Commits

Author SHA1 Message Date
Liam Fitzgerald
974a02e63a
hark-chat-hook: poke hark-store for watching channels 2020-11-05 12:51:46 +10:00
Liam Fitzgerald
cd11d994a4
hark-store: add %chat types 2020-11-05 12:50:56 +10:00
Liam Fitzgerald
a3a8f72672
hark-chat-hook: add marks 2020-11-05 12:28:04 +10:00
Liam Fitzgerald
b705b91577
hark-chat-hook: add first sketch 2020-11-05 12:27:45 +10:00
Liam Fitzgerald
fd149da592
ted/groupify: fix %remove-group poke 2020-11-05 12:02:59 +10:00
Liam Fitzgerald
9ab43333e2
landscape: support groupifying chats 2020-11-05 12:02:08 +10:00
Liam Fitzgerald
414567b843
landscape: add GroupifyForm 2020-11-05 11:54:07 +10:00
Liam Fitzgerald
118f153dc7
landscape: refactor dropdown searches 2020-11-05 11:53:36 +10:00
Logan Allen
63a0bb00c0 thread-watch-hook: edge cases tested and fixed 2020-11-04 18:42:52 -06:00
Matilde Park
d872050b4b statusbar: add notification count badge 2020-11-04 16:47:08 -05:00
Matilde Park
adb91f19b8 publish: restore nicknames in note interface 2020-11-04 16:30:48 -05:00
Logan Allen
ed81e2304d thread-watch-hook: compiles 2020-11-04 15:14:18 -06:00
Logan Allen
06062757db thread-watch-hook: add +on-init to watch graph invitatory, and remove ~& 2020-11-04 14:55:46 -06:00
fang
83d46dae88
dill: fall back to default session
This lets us support the "random userspace app sending dill belts".
Ultimately, we'll want to be able to specify a session identifier
alongside the belt, instead of strictly relying on the duct.
2020-11-04 20:12:01 +01:00
fang
eb824f1866
dill: allow watching output of arbitrary sessions
Adds a %view task, which opens a subscription on the output sent to the
specified session. %flee closes the same.
Whenever dill sends a blit to the session, any subscribers get the
output also.

The structures here will become more reasonable once we replace ducts
with proper dill session identifiers.
2020-11-04 20:11:42 +01:00
Logan Allen
65291863a0 thread-watch-hook: successfully sends facts to %invite-accepted-graph
thread
2020-11-04 12:12:24 -06:00
fang
11aaeaa289
Merge pull request #3882 from urbit/m/unren
ren: remove the last renderer files from /ren
2020-11-04 19:08:04 +01:00
fang
18494f8a9d
dill: if styled prompt has no style, emit as plain
People using older runtimes might not support the %klr blit. It's not
uncommon for prompts without style to get passed in as %pom though, so
here we catch that case and turn it into a %pro, which gets rendered as
a traditional %lin.
2020-11-04 17:28:05 +01:00
fang
b96e071eb2
Merge branch 'release/next-sys' into release/next-dill 2020-11-04 17:25:35 +01:00
Gavin Atkinson
d7b5bed21c Adjust leap mobile height 2020-11-03 17:23:47 -08:00
Gavin Atkinson
f6e0f5b7d0 More changes to alter Home to DMs + Drafts 2020-11-03 17:16:28 -08:00
Gavin Atkinson
c748106332 adds spinner to ReconnectButton, refactors 2020-11-03 16:41:50 -08:00
Gavin Atkinson
38c927a6f0 resolves padding inconsistency in header bar, renames home 2020-11-03 16:22:56 -08:00
fang
c992e4ce9d
eyre: forego <atom> in favor of (scow %aura atom)
Pretty-printing is expensive, yet we do it whenever we construct the cookie
string, at least once (but usually twice) per authenticated request.

Here we call out the the specific to-tape functions we need, instead of relying
on the pretty-printer for converting... tapes to tapes, among other things.  
The primary gains come from the cookie-related instances, we update the others
mostly for good style.

For the "receive request and immediately send response" case, that is processed
synchronously within eyre (ie, client sends channel ack), speeds thing up by
roughly 55%.
2020-11-04 01:02:11 +01:00
Joe Bryan
54c0e1b9a0
Merge pull request #3879 from urbit/jb/snapshot-post-replay
vere: save snapshot upon completed replay
2020-11-03 14:56:54 -08:00
fang
3d610448af
ren: remove the last renderer files from /ren
No longer in use.
2020-11-03 23:11:18 +01:00
Matilde Park
d9d7edf720 landscape: migrate global components to indigo-react
Fixes urbit/landscape#50.
2020-11-03 16:48:44 -05:00
Liam Fitzgerald
38e403e0c3
landscape: show groupify form in channel settings 2020-11-04 07:14:08 +10:00
Matilde Park
f7d59985d2 glob: update to 0v4.cf9m1.t0ofg.dtig4.av3jh.2f2db 2020-11-03 16:04:41 -05:00
Liam Fitzgerald
c3f6daf918
interface: move GroupifyForm 2020-11-04 07:02:33 +10:00
Matilde Park
ed2f88b218 lib/sigil: prevent moon sigil shrink 2020-11-03 16:01:38 -05:00
Matilde Park
4fe417b3bf leap: provide inbox icon 2020-11-03 16:01:25 -05:00
fang
37c0383a79
Merge pull request #3864 from urbit/m/ream-to-zapcom
clay: replace ream with nouns and !, zapcom
2020-11-03 21:55:49 +01:00
Matilde Park
437757c584 leap: redirect to notifications correctly 2020-11-03 15:52:35 -05:00
Matilde Park
83bdc143f7 inbox: add missing lodash import 2020-11-03 15:52:21 -05:00
Joe Bryan
94da5c9102 vere: add comment noting possible ctrl-z deadlock 2020-11-03 12:00:54 -08:00
Joe Bryan
0d617eefc9 vere: save snapshot upon completed replay 2020-11-03 11:57:55 -08:00
fang
a94c63d412
verb: improve code style in +print 2020-11-03 20:15:58 +01:00
Matilde Park
c84f8ebe3a Merge branch 'release/next-userspace' into mp/landscape/row-link 2020-11-03 14:12:34 -05:00
Joe Bryan
190557cf88 vere: set maximum http request to 512 MiB 2020-11-03 10:51:34 -08:00
Tyler Brown Cifu Shuster
9aab895e97 publish: fix aggressive exit prevention
Let the people post in peace!
2020-11-03 10:43:16 -08:00
fang
0c10e237d3
verb: render printouts lazily
Instead of passing in a tape to print in case we need in, pass in a trap that
can be called to generate the tape on-demand.

Eagerly rendering printouts was costing us a lot of time when we didn't actually
need them, because the pretty-printer is slow.
2020-11-03 19:17:13 +01:00
Liam Fitzgerald
ebb15a4fc3 lib/graph: address L review 2020-11-04 04:10:57 +10:00
Liam Fitzgerald
8b7c543f29 links: allow author to delete posts 2020-11-04 04:08:53 +10:00
matildepark
31b7c61d9a
Merge pull request #3866 from tylershuster/sidebar-scrollbar
fixes https://github.com/urbit/landscape/issues/132
2020-11-03 13:04:32 -05:00
Matilde Park
b107bf16e9 glob: update to 0v2.76bkn.nvb2c.j2704.jqhct.la06e 2020-11-03 12:34:17 -05:00
Matilde Park
3a1c3117c0 Merge branch 'release/next-userspace' into lf/hark-redux 2020-11-03 12:31:10 -05:00
matildepark
7bb8d42ca8
Merge pull request #3860 from tylershuster/publish-spinner
publish: fixes #3859, fixes #3844
2020-11-03 12:17:39 -05:00
matildepark
bced8e804e
Merge pull request #3848 from urbit/mp/landscape/10-30-qa
landscape: 10/30 QA fixes from design feedback
2020-11-03 12:10:13 -05:00
fang
acf0f8d0e1
clay: %limb instead of %wing 2020-11-03 16:35:28 +01:00
Tyler Brown Cifu Shuster
c4cdf415c9 publish: return JS number revision
fixes #3859, fixes #3844
2020-11-03 06:49:27 -08:00
pkova
b114956870 zuse: improve url extension parsing
Previously extensions ending with numbers such as .woff2 were not recognized.
2020-11-03 15:54:10 +02:00
Liam Fitzgerald
e04d9f2dba graph-pull-hook: only archive graph if we already have it 2020-11-03 17:20:46 +10:00
Liam Fitzgerald
4213543e35 lib/graph: add +get-keys 2020-11-03 17:20:01 +10:00
Liam Fitzgerald
5f1f98f746 lib-push-hook: fix behaviour of %remove
%remove did not properly iterate over the paths and as such did not
return a complete list of paths to kick.

Fixes #3868
2020-11-03 16:32:53 +10:00
Liam Fitzgerald
c221b211cb publish: mentions support 2020-11-03 16:13:24 +10:00
Liam Fitzgerald
7dce8a6d6b links: mention support 2020-11-03 16:13:00 +10:00
Liam Fitzgerald
94f787d120 interface: build in mentions FE support 2020-11-03 16:12:34 +10:00
Liam Fitzgerald
26f2e9e951 graph-store: loosen link comment validation 2020-11-03 16:12:07 +10:00
Liam Fitzgerald
6c150279ac hark-graph-hook: use %mention type for +is-mention 2020-11-03 15:03:02 +10:00
Liam Fitzgerald
92fec34658 graph-store: add %mention type 2020-11-03 15:03:02 +10:00
Liam Fitzgerald
04c1ad6653 hark: add publish support 2020-11-03 14:55:32 +10:00
Liam Fitzgerald
13fe6c3ad1 hark: address L review 2020-11-03 14:55:01 +10:00
Tyler Brown Cifu Shuster
ebfb6826f2 fixes https://github.com/urbit/landscape/issues/132 2020-11-02 17:11:19 -08:00
Liam Fitzgerald
e9d9bb839f Merge branch 'release/next-userspace' into lf/hark-redux 2020-11-03 10:58:52 +10:00
Liam Fitzgerald
515a9a1f54 hark-store, hark-graph-hook: address L review comments 2020-11-03 10:36:00 +10:00
Liam Fitzgerald
9702c5a86c graph-push-hook: allow for node removal by post author 2020-11-03 10:22:12 +10:00
Liam Fitzgerald
5c0d175998 lib/graph: add +get-node 2020-11-03 10:19:58 +10:00
fang
e7afc51018
clay: replace ream with nouns and !, zapcom
Motivation for the change is performance improvements on the un-`^~`d uses of
ream. Parsing turns out to be slow, making ream slow in turn. So we construct
the hoon ast manually instead.

!, is arguably better style than ream, since it doesn't require a ^~ for static
input, and lets syntax highlighting function properly.

For the investigated case, in +get-cast's +grow flow, improves performance by
over 80%.
2020-11-03 00:27:10 +01:00
Matilde Park
b6286e1abd landscape: flex-shrink group title in dropdown
Instead of using a maxWidth in pixels, we flexbox to truncate the title.
2020-11-02 16:36:43 -05:00
Matilde Park
07b74af662 landscape/groupSwitcher: link to group with row
Previously, you had to click the text inside the recent groups menu.

This makes the entire row clickable.
2020-11-02 16:36:07 -05:00
Logan Allen
697d23f83a thread-watch-hook: made %invite-accepted-graph thread 2020-11-02 15:22:50 -06:00
Logan Allen
1b8af7d78c hood: start %thread-watch-hook 2020-11-02 15:22:50 -06:00
Logan Allen
353d328340 thread-watch-hook: moved to marks and slopped vases 2020-11-02 15:22:50 -06:00
Logan Allen
ce43ea0765 thread-watch-hook: compiles properly 2020-11-02 15:22:50 -06:00
Logan Allen
1c0777e0a7 thread-watcher: first sketch 2020-11-02 15:22:50 -06:00
Matilde Park
e245a92d5e chat: remove daybreak from unread marker 2020-11-02 16:03:44 -05:00
Matilde Park
3902996798 landscape/sidebar: hide new channel container
The previous write left some padding, preventing users from clicking the
bottom channel in a long sidebar for no reason.
2020-11-02 15:40:40 -05:00
matildepark
e78767f6ab
Merge pull request #3856 from tylershuster/revision-plurality
publish: fixes single revision plurality
2020-11-02 15:21:17 -05:00
matildepark
be25af04dc
Merge pull request #3855 from tylershuster/transparent-scrollbar
landscape: fixes white background on scrollbars
2020-11-02 15:13:46 -05:00
matildepark
9411133bfe
Merge pull request #3854 from tylershuster/tile-padding
launch: fixes tile padding
2020-11-02 15:13:06 -05:00
matildepark
d33ed266a9
Merge pull request #3858 from tylershuster/chrome-scroll
chat: fixes #3853
2020-11-02 15:05:30 -05:00
Tyler Brown Cifu Shuster
1c74881890 remove scrollbars from launch 2020-11-02 11:56:32 -08:00
Tyler Brown Cifu Shuster
2bbc17cfa4 chat: fixes #3853 2020-11-02 11:34:04 -08:00
Tyler Brown Cifu Shuster
7017b3d9cb groups: prevent accidental group deletion
Fixes https://github.com/urbit/landscape/issues/68
2020-11-02 10:32:37 -08:00
Tyler Brown Cifu Shuster
6f6c129d45 publish: fixes single revision plurality
fixes https://github.com/urbit/urbit/issues/3841
2020-11-02 08:52:33 -08:00
Tyler Brown Cifu Shuster
67ab5cf312 landscape: fixes white background on scrollbars 2020-11-02 08:49:34 -08:00
Tyler Brown Cifu Shuster
edc6896c40 launch: fixes tile padding
fixes https://github.com/urbit/landscape/issues/129
2020-11-02 08:47:55 -08:00
Tyler Brown Cifu Shuster
61442c4c2e publish: prevent leaving note with unsaved changes
Fixes #3838
2020-11-02 08:41:52 -08:00
fang
50651cd76e
Merge pull request #3849 from urbit/pppf/eyre-slog
kh: webslogs
2020-10-31 21:22:09 +01:00
fang
2497283ff2
king: more code style weaks, remove stale todo's 2020-10-31 21:00:00 +01:00
pilfer-pandex
82606e03e3
Merge pull request #3852 from urbit/pp/fix-kh-again
king: fix a warning
2020-10-30 17:31:15 -07:00
Elliot Glaysher
15d2c18368
Merge pull request #3809 from urbit/kh-specify-eth-node
king: port the '-e' option to specify ethereum node endpoint.
2020-10-30 20:06:00 -04:00
fang
a35cad457a
Merge pull request #3830 from urbit/m/respect-forwarded-more
eyre: respect protocol from Forwarded header
2020-10-31 00:38:41 +01:00
pilfer-pandex
a211390e77 king: and fix a warning in Packet.hs 2020-10-30 16:35:52 -07:00
pilfer-pandex
06f3dc2d3e king: fix MonadFail issue in Packet.hs caused by merge 2020-10-30 16:29:57 -07:00
fang
c0f1fe8433
king: improve code style in KingSubsite 2020-10-30 23:42:33 +01:00
fang
77fc886570
Merge branch 'release/next-vere' into pppf/eyre-slog 2020-10-30 23:30:00 +01:00
pilfer-pandex
bd0672cb8e king: 1 TiB mapsize for event log 2020-10-30 14:54:33 -07:00
pilfer-pandex
6f0bb5990c
Merge pull request #3595 from urbit/pp/stateless
Implement stateless forwarding in the king
2020-10-30 14:48:38 -07:00
Joe Bryan
bafa1ef7f5
Merge pull request #3806 from urbit/release/next-ci
build: migrate to hercules ci, haskell.nix, and upgrade to ghc 8.8.4
2020-10-30 14:33:26 -07:00
Matilde Park
5c84ba514f groups: only surface invite if admin
Fixes #3803.
2020-10-30 16:28:47 -04:00
Matilde Park
bef97699e2 landscape: new channel surfaces 'back' button on mobile 2020-10-30 16:20:41 -04:00
Matilde Park
8a09a216c3 landscape: invite uses 'Users' icon 2020-10-30 16:16:28 -04:00
Matilde Park
d2c8939fb0 landscape: default to 'last updated' sort 2020-10-30 16:14:19 -04:00
Matilde Park
dcc8ea666d landscape: remove reverse alphabetical sort 2020-10-30 16:13:17 -04:00
Matilde Park
caffdcbc68 launch: tile borders use scales.black20 2020-10-30 16:09:25 -04:00
Matilde Park
8458b40e34 chat: code blocks are rounded, levelled padding 2020-10-30 16:04:45 -04:00
Matilde Park
2688497c4a chat: message containers use pt3 to stay level 2020-10-30 16:02:24 -04:00
Matilde Park
00dee222eb chat: nicknames use inter medium 2020-10-30 15:56:53 -04:00
Matilde Park
c5c264c09d chat: messages lined up with input 2020-10-30 15:55:25 -04:00
Matilde Park
47dc4cd889 launch: remove sigil tile 2020-10-30 15:50:30 -04:00
Liam Fitzgerald
625dda87fc glob: update to 0vptpd9.7fcod.53cag.tfca7.grfkf 2020-10-30 13:13:47 +10:00
Liam Fitzgerald
b5a9ea15d7 NewPost: fix bignum handling 2020-10-30 13:01:19 +10:00
Matilde Park
cc7c96461f glob: update to 0v6.e9uhe.am6af.kd2sf.7qvdc.cilkh 2020-10-29 21:29:47 -04:00
Matilde Park
36a27ebe70 Merge branch 'lf/fix-last-updated' (#3840)
* origin/lf/fix-last-updated:
  CommentItem: pass date correctly
  groups: filter contacts invites from sidebar
  Sidebar: do not crash on lastUpdated sorting

Signed-off-by: Matilde Park <matilde.park@gmail.com>
2020-10-29 21:24:00 -04:00
Liam Fitzgerald
b31bda74c2 CommentItem: pass date correctly 2020-10-30 11:23:00 +10:00
Matilde Park
31bc17005c groups: filter contacts invites from sidebar 2020-10-29 21:21:58 -04:00
Liam Fitzgerald
20799fd8f2 Sidebar: do not crash on lastUpdated sorting 2020-10-30 11:16:57 +10:00
Matilde Park
60fc870ec0 glob: update to 0v5.97qv3.kke6t.jn8tc.oe2fe.78c8n 2020-10-29 20:47:35 -04:00
Liam Fitzgerald
34771ba30f publish: clarify stack trace in +on-agent 2020-10-30 10:41:06 +10:00
L
b63760aa14
Merge pull request #3818 from urbit/mp/landscape/home-in-switcher
landscape: 'home' workspace in switcher
2020-10-29 19:26:44 -05:00
matildepark
3bd4ac2484
Merge pull request #3473 from urbit/lf/graph-publish-fe
publish: graph-store rewrite
2020-10-29 20:25:30 -04:00
matildepark
82ad2a6a82
Merge pull request #3802 from tylershuster/hoon-scroll
chat: fixed embedded scroll item disability
2020-10-29 20:25:11 -04:00
matildepark
44ebeb35b4
Merge pull request #3836 from ryjm/release/next-userspace
landscape: give private groups kicking ability
2020-10-29 20:24:37 -04:00
matildepark
2005d9d93a
Merge pull request #3837 from urbit/ga/qa
UI tweaks + QA Fixes
2020-10-29 20:24:20 -04:00
Liam Fitzgerald
f4483fdecb graph-store: update indices of leaf posts 2020-10-30 10:23:08 +10:00
Liam Fitzgerald
5f0855d278 graph-store: update indices in post on migrate 2020-10-30 10:20:35 +10:00
Logan Allen
c0bb44175d Merge branch 'lf/graph-publish-fe' of github.com:urbit/urbit into lf/graph-publish-fe 2020-10-30 00:09:10 +00:00
Logan Allen
27cc2c435d graph-store: indentation fix 2020-10-30 00:09:00 +00:00
Liam Fitzgerald
9c8e1bab2d graph-store: prevent infinite loop 2020-10-30 10:05:59 +10:00
matildepark
3049c8ee0b
Merge pull request #3828 from urbit/lf/new-channel-admin
groups-js: add ourselves to admin in group-update reducer
2020-10-29 19:38:40 -04:00
Gavin Atkinson
76a5f436c2 indigo-react 1.2.12, home tile color, header buttons are now square, fix
header bar margin
2020-10-29 16:20:48 -07:00
Matilde Park
bdaa56d681 glob: update to 0v1.el225.9dbhq.381at.4pfta.bl8da 2020-10-29 19:13:42 -04:00
fang
3f9cd4a794
king: get rid of unnecessary helper 2020-10-29 23:22:48 +01:00
fang
f8a2235d6e
Merge pull request #3835 from urbit/m/silent-subs
eyre: ignore facts directly after clog
2020-10-29 22:13:04 +01:00
ryjm
8a27280576 landscape: give private groups kicking ability
the ronaldo commit
2020-10-29 17:11:17 -04:00
matildepark
3d1942e8df
Merge pull request #3819 from urbit/mp/links/delete
links: add link deletion
2020-10-29 12:58:30 -04:00
Brendan Hay
6599a85b99
king: ensure tests are enabled on ci and don't depend on lfs pills 2020-10-29 16:20:41 +01:00
fang
42229657ca
eyre: respect protocol from Forwarded header
If the Forwarded header specifies the original connection is secure,
update the flag to reflect that, regardless of whether the connection
directly to the urbit was made securely.
2020-10-29 14:24:24 +01:00
fang
82dcad4c59
zuse: if empty, unpack header into empty list
Previously, would give a ~[{}] for the '' header. This makes it parse
that as "no entries" rather than "one entry without data".
2020-10-29 14:19:57 +01:00
Liam Fitzgerald
66ad349c5c Profile: use ColorInput for background
Fixes #3384
2020-10-29 15:35:16 +10:00
Liam Fitzgerald
5ebbb26f41 groups-js: add ourselves to admin in group-update reducer
Fixes #3825
2020-10-29 15:18:59 +10:00
Liam Fitzgerald
b768cd3dd0 graph-store: normalize @da in indices
As links is the only application currently using graph-store, we migrate
all indices to @da instead of a @da or a unix timestamp. Rolls over
current graphs and update log to rectify this. Additionally, applies the
link validator mark to graphs, as this was missing. Fixes a latent bug
in graph-store where the removal of a graph that triggered a mark build
would prevent the mark from being rebuilt. Fixes mark input and index
formatting from the frontend as well.
2020-10-29 14:11:55 +10:00
Liam Fitzgerald
fbf505c0d9 graph-store: mark unmarked graphs 2020-10-29 13:11:18 +10:00
Liam Fitzgerald
829cd509b4 publish: migrate note body correctly 2020-10-29 12:56:41 +10:00
Liam Fitzgerald
c6dc485d24 graph-js: useBigIntOrderedMap 2020-10-29 12:52:13 +10:00
Liam Fitzgerald
225718b8cf metadata-store: fix path handling in migration 2020-10-29 10:25:16 +10:00
Liam Fitzgerald
d5683fb631 publish: fix time handling in publish 2020-10-29 09:49:05 +10:00
Liam Fitzgerald
410d193f5a publish: loosen comment validation 2020-10-29 09:37:47 +10:00
Liam Fitzgerald
ec1c4339c5 publish: loosen validator 2020-10-29 09:35:43 +10:00
Liam Fitzgerald
aabd890b6d publish: fix backoff 2020-10-29 09:34:15 +10:00
Liam Fitzgerald
4079de05f6 publish: fix graph-validator mark 2020-10-29 09:32:15 +10:00
Matilde Park
7e61bb9a6d glob: update to 0v5.d2ut4.t1kqo.2mdr9.mnc4i.vgb53 2020-10-28 19:25:57 -04:00
Liam Fitzgerald
e86a870868 lib/util: remove _.chain 2020-10-29 09:21:54 +10:00
Logan Allen
358af000ec invite-store: fix %graph %create 2020-10-28 21:54:02 +00:00
Tyler Brown Cifu Shuster
db457b504a launch: fluid layout
fixes https://github.com/urbit/landscape/issues/107
2020-10-28 14:18:18 -07:00
Logan Allen
0eb0ef9479 graph-store: if null timestamp, replace with now 2020-10-28 14:37:26 -05:00
Logan Allen
e357a36577 graph-create: fix creation in edge cases 2020-10-28 14:06:34 -05:00
fang
5615b5dc1a
king: factor scrying logic into helper lib
Takes care of constructing the full scry path based off the given
components. Fills in timestamp with the current time. Logs errors on
result conversion failures.
2020-10-28 19:59:48 +01:00
fang
af225f673a
king: scry to check authentication of webslog reqs
Instead of giving webslogs to anyone who asks, only acknowledge requests
with valid session cookies. Send 403s to all others.
2020-10-28 19:33:21 +01:00
Elliot Glaysher
d1c5f97bd7 king: cancel http servers immediately on shutdown. 2020-10-28 14:24:52 -04:00
fang
418b9fda7e
king: add helper for escaping Text into @ta format
Behavior should match (scot %t the-text).
2020-10-28 19:13:23 +01:00
Tyler Brown Cifu Shuster
3b5d3c6ff6 chat: fixed embedded scroll item disability
Fixes #3801
2020-10-28 08:13:50 -07:00
Liam Fitzgerald
39d538f9bc Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-10-28 16:40:02 +10:00
Liam Fitzgerald
2de45c53ef Merge branch 'release/next-userspace' into lf/hark-redux 2020-10-28 16:34:55 +10:00
Liam Fitzgerald
12e16e00ba hark-fe: filter on groups 2020-10-28 16:28:44 +10:00
Liam Fitzgerald
ab781cfbc3 hark-fe: toggle mute in group settings 2020-10-28 16:00:14 +10:00
Liam Fitzgerald
0510b723d7 hark-fe: add (un)mute buttons in ChannelMenu 2020-10-28 15:59:33 +10:00
Liam Fitzgerald
d09d42b269 hark-fe: enable omnibox support 2020-10-28 15:58:59 +10:00
Liam Fitzgerald
0a69c6fd5b hark-fe: add inbox view 2020-10-28 15:58:29 +10:00
Liam Fitzgerald
ec5804bb3c hark-fe: integrate hooks into state 2020-10-28 15:56:03 +10:00
Liam Fitzgerald
cf4f0f302e hark: final pass for bugs 2020-10-28 15:52:59 +10:00
Matilde Park
e1bbb25c6c links: use admin role for deletion check 2020-10-27 21:56:51 -04:00
Matilde Park
380b7a2c92 links: add link deletion
Fixes #3045.
2020-10-27 21:43:58 -04:00
Matilde Park
047b11a445 landscape: 'home' workspace in switcher
Fixes #3805.
2020-10-27 21:24:25 -04:00
matildepark
6e71811053
Merge pull request #3810 from urbit/mp/launch/filter-deleted-groups
launch: filter out metadata for deleted groups
2020-10-27 21:00:00 -04:00
matildepark
da629def1e
Merge pull request #3816 from tylershuster/chat-dates
chat: fixes relative datestamps
2020-10-27 20:52:53 -04:00
L
210a9f968c
Merge pull request #3721 from urbit/la/modernize-invites
invite-store/hook: modernize the code style to match other new apps
2020-10-27 19:37:44 -05:00
Logan Allen
ef67bdea8b invite-store: move to de-path-soft 2020-10-27 19:18:56 -05:00
Tyler Brown Cifu Shuster
14ec271ecf chat: fixes relative datestamps
fixes https://github.com/urbit/landscape/issues/125
2020-10-27 17:16:01 -07:00
Tyler Brown Cifu Shuster
a823913b8c clock: add background to moon 2020-10-27 17:02:22 -07:00
Ted Blackman
56db7cdcda ames/zuse: require >64-bit comet addresses 2020-10-27 17:28:07 -04:00
Ted Blackman
fcf9cfbcdb ames/zuse: require >64-bit comet addresses 2020-10-27 17:20:25 -04:00
Logan Allen
870a6f635f invites: indentation fixes 2020-10-27 15:45:26 -05:00
Matilde Park
2a23d7a1e7 launch: filter out metadata for deleted groups
Addresses #3800 through front-end.
2020-10-27 14:15:27 -04:00
Elliot Glaysher
b3c145ee35 king: port the '-e' option to specify ethereum node endpoint. 2020-10-27 14:01:59 -04:00
Logan Allen
7083979628 invite: initialize state for %graph invites and fix mark 2020-10-27 12:48:50 -05:00
matildepark
0920b83f2d
Merge pull request #3788 from tylershuster/clock-mask-always
clock: always draw large arc
2020-10-27 13:44:08 -04:00
Logan Allen
795e4a4509 invite-store: updated comments 2020-10-27 12:33:28 -05:00
matildepark
880af1e7a5
Merge pull request #3789 from tylershuster/publish-newline
publish: don't insert newline
2020-10-27 13:26:47 -04:00
matildepark
63615dd64d
Merge pull request #3797 from urbit/mp/chat/indigo-inline-code
chat: indigo-react inline code
2020-10-27 13:26:19 -04:00
matildepark
7e37cc6348
Merge pull request #3807 from tylershuster/invite-dim
landscape: allow autofocusing ship select
2020-10-27 13:25:51 -04:00
matildepark
dd6c26e0e3
Merge pull request #3795 from urbit/mp/leap/reorg
leap: return 'other' first, lowercase groups
2020-10-27 12:33:47 -04:00
Tyler Brown Cifu Shuster
d1aa23d22e landscape: allow autofocusing ship select
Fixes #3804
2020-10-27 07:52:29 -07:00
Elliot Glaysher
4e35a8eb8a
Merge pull request #3769 from urbit/kh-inject
king: implement -I and --inject-event-list
2020-10-27 10:44:33 -04:00
Brendan Hay
de17409fd6
king: various warning and -Werror related fixes
This also removes -Werror from racqure due to the sheer number
build failures arising from compiler warnings.
2020-10-27 14:28:08 +01:00
Brendan Hay
74db584ad7
king: simplify parser types to avoid invalid existential newtype 2020-10-27 14:28:08 +01:00
Brendan Hay
2b74a8edd6
king: disable overlapping patterns for deriveNoun/Void usage 2020-10-27 14:28:08 +01:00
Brendan Hay
d752256126
king: replace use of deprecated network/socket address lookup 2020-10-27 14:28:08 +01:00
Brendan Hay
c089f4c557
herb: removing unnecessary .gitattributes 2020-10-27 14:28:08 +01:00
Brendan Hay
a6e748627c
herb: correct python shebang
This ensures the shebang works and can be run or patched via nix.
2020-10-27 14:28:08 +01:00
Brendan Hay
8a830934b1
build: reorganising top-level .gitignore and add nix ignores 2020-10-27 14:28:07 +01:00
Brendan Hay
016b4a7244
vere: externalise version from configure script
This allows tooling such as ci expressions to easily inspect the
build's current version.
2020-10-27 14:28:05 +01:00
Brendan Hay
345bf2c39a
king: remove broken/unused regex-tdfa-text dependency
Text instances are now contained in the parent regex-tdfa package.
2020-10-27 13:56:17 +01:00
Brendan Hay
eeff3034cd
king: update stackage resolver to lts-16.15
This allows us to drop flat/urbit-hob as they're now in the package set,
web3/vinyl need to be added to account for urbit-azimuth's dependencies.
2020-10-27 13:56:04 +01:00
Brendan Hay
ce3cbf0857
build: rework all nix expressions to support hercules-ci builds
This also removes nixcrpkgs and OSX cross compilation in favour of
compiling on the target. x86_64/musl targets are still supported
on Linux.

All sources are now managed via niv (see nix/sources.json) and Haskell
package sets are provided/organised via IOHK's haskell.nix.

Some effort has been made to expose similar top-level attributes for
development, but in some cases there have been changes. Please see
the comments in the top-level default.nix and ci.nix files for usage.
2020-10-27 13:55:49 +01:00
Liam Fitzgerald
d89ccffb62 interface: convert lib/util to TS 2020-10-27 15:32:56 +10:00
Liam Fitzgerald
1d65e52351 hark-fe: add store, api logic 2020-10-27 15:32:26 +10:00
Liam Fitzgerald
8b090400f1 hark-store: add subscriptions, cache unread count 2020-10-27 15:07:13 +10:00
Liam Fitzgerald
136faf581f hark-group-hook: add subscriptions 2020-10-27 15:06:32 +10:00
Liam Fitzgerald
df2755b485 hark-graph-hook: add subscriptions, preferences 2020-10-27 15:05:00 +10:00
Liam Fitzgerald
9b19e30d23 hark-hooks: add JSON conversion, marks 2020-10-27 15:04:39 +10:00
Liam Fitzgerald
a16a1cafcc graph-store: expose post:enjs 2020-10-27 15:01:24 +10:00
Philip Monk
f548deaff6
Merge pull request #3787 from urbit/philip/symbols
hoon: update glyph names
2020-10-26 18:06:53 -07:00
Joe Bryan
75404376ba
Merge pull request #3764 from urbit/jb/ames-clean
vere: refactors ames i/o driver
2020-10-26 13:50:20 -07:00
Joe Bryan
9cc9a308bf vere: fix snprintf return-code check in ames 2020-10-26 13:32:56 -07:00
Joe Bryan
aa200cf25a
Merge pull request #3786 from urbit/jb/ames-peek-forward-lane
ames: updates forward-lane scry-handling to prevent routing loops
2020-10-26 11:56:23 -07:00
fang
2e7b2ceedb
Merge branch 'pp/stateless' into pppf/eyre-slog 2020-10-26 16:34:41 +01:00
Elliot Glaysher
759ac51f27 king: Don't hard error on injected event failure. 2020-10-26 10:57:07 -04:00
fang
93475aa756
eyre: remove fact-without-subscription printf 2020-10-26 15:52:39 +01:00
fang
828f88b737
Merge branch 'master' into release/next-vere 2020-10-26 14:54:06 +01:00
fang
26049a3da0
eyre: ignore facts directly after clog
When an application would send multiple facts during a single event, it
was possible for the first fact to trigger a clog, removing the
subscription and sending a quit, but then the second fact still getting
sent out at normal.

Here, we drop any facts for subscriptions we don't have registered in
state, which should only happen in the described case.
2020-10-24 11:45:21 +02:00
fang
b92cfdb242
eyre: produce moves in correct order
Because storing in reverse order means producing in reverse reverse
order.

The tests didn't catch this because they, too, were infected with the
"reverse moves" meme.
2020-10-24 01:48:51 +02:00
Matilde Park
3fa759c484 chat: indigo-react inline code
Fixes urbit/landscape#124.
2020-10-23 17:58:16 -04:00
Tyler Brown Cifu Shuster
c07681fafc publish: don't insert newline
Fixes #3596
2020-10-23 14:27:50 -07:00
Matilde Park
83bfc22450 leap: return 'other' first, lowercase groups 2020-10-23 17:16:16 -04:00
Matilde Park
278f5b4369 profile: remove 'drag and drop' tile settings
Fixes #3791.
2020-10-23 16:36:05 -04:00
Joe Bryan
b2c79860e0 u3: moves u3z of printed timestamp to u3m_boot() 2020-10-23 13:35:57 -07:00
matildepark
ae5561ee61
Merge pull request #3790 from ryjm/ryjm/fix-weather-api
weather: fix api call
2020-10-23 14:20:49 -04:00
ryjm
27a5dc1e6d weather: fix api call 2020-10-23 14:13:47 -04:00
Joe Bryan
347a1ffb66 u3: remove timestamp printing in u3v_time() 2020-10-23 11:02:07 -07:00
Tyler Brown Cifu Shuster
92d4973eb0 clock: always draw large arc 2020-10-23 08:24:06 -07:00
pilfer-pandex
e254c72788 king: address #3778 per joe 2020-10-23 00:10:33 -07:00
Philip Monk
fc15f0d735
Merge branch 'pr' into HEAD 2020-10-22 20:47:53 -07:00
Matilde Park
6a97ebb54f Merge branch 'release/next-userspace' 2020-10-22 22:21:18 -04:00
Matilde Park
1930a75d73 glob: update to 0v2.1vtfh.0l23v.30s7f.n57l9.dpjvi 2020-10-22 22:19:58 -04:00
matildepark
d8c83f886f
Merge pull request #3773 from urbit/mp/landscape/dm-restoration
chat: create dm route, restore participants option
2020-10-22 22:12:17 -04:00
Liam Fitzgerald
4f3b17412c landscape: make link relative for DM 2020-10-23 12:09:47 +10:00
Liam Fitzgerald
c96cf96c86 landscape: use invite popover for DM 2020-10-23 12:05:00 +10:00
Liam Fitzgerald
bfc412042e landscape: add DM dropdown 2020-10-23 11:48:31 +10:00
matildepark
85ea3a88d3
Merge pull request #3776 from urbit/mp/publish/groupify
landscape: add 'admin only' check to groupify form
2020-10-22 21:27:39 -04:00
matildepark
20240a8d36
Merge pull request #3785 from tylershuster/clock-mask
clock: svg with mask
2020-10-22 21:27:19 -04:00
matildepark
87ae39defc
Merge pull request #3784 from urbit/lf/ordered-map-fix
graph-js: normalize keys in reducer
2020-10-22 21:24:08 -04:00
Liam Fitzgerald
8e7d9a5e01 graph-js: save original keys and indices 2020-10-23 11:21:36 +10:00
Liam Fitzgerald
bf1a206ae1 graph-js: normalize node.post.index 2020-10-23 10:59:02 +10:00
Liam Fitzgerald
236769f3b6 graph-js: cleanup and comment normalizeKey 2020-10-23 10:40:18 +10:00
Matilde Park
f6a49d52a8 chat: remove paddingTop from input 2020-10-22 20:38:13 -04:00
Tyler Brown Cifu Shuster
955ee8fd36 clock: svg with mask 2020-10-22 17:38:06 -07:00
Joe Bryan
da928bed10 ames: updates forward-lane scry-handling to match +send-blob 2020-10-22 17:37:46 -07:00
Liam Fitzgerald
9ed01c4602 graph-js: normalize keys in reducer
Pre-graph-store links that were brought over use @da as their index,
however new links use a unix timestamp as their index. Pending a proper
fix, we instead just normalize all the indexes to be unix timestamps
inside the reducer.
2020-10-23 10:31:48 +10:00
Matilde Park
be73c8e487 landscape: add 'dm' to sidebar in home workspace 2020-10-22 20:10:44 -04:00
Matilde Park
9f234dad63 launch: keep base hash on top layer 2020-10-22 20:08:57 -04:00
matildepark
8165f4d150
Revert "clock: render in SVG, show moon phase" 2020-10-22 20:03:39 -04:00
Liam Fitzgerald
fb220cf2a8 links: fix comment submit 2020-10-23 09:36:05 +10:00
pilfer-pandex
66e3df0b06 king: address joe's comments 2020-10-22 16:13:26 -07:00
fang
3f346e3d39
vere: fix -j help text 2020-10-23 00:50:41 +02:00
Joe Bryan
e59863bded vere: partially prevent forwarding loops by excluding self-galaxy lanes 2020-10-22 15:38:25 -07:00
Joe Bryan
caa21b04cf vere: adds (verbose, debug) ames packet forwarding printfs 2020-10-22 15:37:48 -07:00
Matilde Park
3b39122984 Merge branch 'release/next-userspace' into mp/landscape/dm-restoration 2020-10-22 16:54:32 -04:00
matildepark
e147599bbe
Merge pull request #3767 from tylershuster/svg-clock
clock: render in SVG, show moon phase
2020-10-22 16:50:15 -04:00
matildepark
54b771091c
Merge pull request #3774 from tylershuster/chat-mobile
chat: fall back to native input on mobile
2020-10-22 16:50:07 -04:00
Tyler Brown Cifu Shuster
91738280ae chat: fall back to native input on mobile 2020-10-22 11:56:31 -07:00
Tyler Brown Cifu Shuster
871336b402 clock: render in SVG, show moon phase 2020-10-22 11:19:36 -07:00
Matilde Park
760b6214df landscape: prevent thick horizontal scroll 2020-10-22 14:02:57 -04:00
Joe Bryan
c5870b60d1 vere: updates ames future-refactoring comments for accuracy 2020-10-22 10:52:43 -07:00
Joe Bryan
7a5d57ce91 vere: adds ames stats for failed header/body parsing 2020-10-22 10:51:20 -07:00
Matilde Park
1addc47733 landscape: add 'admin only' check to groupify form 2020-10-22 13:49:49 -04:00
Logan Allen
c8068e8fcb agents: all agents compile with new invites types and import patterns 2020-10-22 12:17:15 -05:00
matildepark
d1e9bd2984
Merge pull request #3737 from urbit/mp/publish/overflow-safari
publish: prevent post input overflowing layout on safari
2020-10-22 13:10:06 -04:00
Elliot Glaysher
5cdeecc627 king: undo undo 2020-10-22 13:06:57 -04:00
Elliot Glaysher
61af5b104e king: patch cleanup 2020-10-22 10:53:28 -04:00
Liam Fitzgerald
582b4b15ff hark-store: address review comments 2020-10-22 11:30:37 +10:00
Liam Fitzgerald
f3fec6ac74 hark-group-hook: address review comments 2020-10-22 11:30:18 +10:00
Liam Fitzgerald
4237d2caf6 hark-graph-hook: address review comments 2020-10-22 11:30:02 +10:00
Liam Fitzgerald
6dae330bb6 metadata: add arms to helper core 2020-10-22 11:29:35 +10:00
Liam Fitzgerald
373c44301f NewChannel: redirect on successful creation 2020-10-22 10:43:14 +10:00
Liam Fitzgerald
18b46484cf GroupsPane: handle new channel route correctly on mobile 2020-10-22 10:42:36 +10:00
Liam Fitzgerald
7a4d61fe69 publish-js: fix updating posts 2020-10-22 10:31:10 +10:00
Liam Fitzgerald
5b8087b72a publish: refine backoff behaviour 2020-10-22 10:30:04 +10:00
Logan Allen
3304613127 interface/chat-view: updated group invites and chat invites to work properly 2020-10-21 18:11:31 -05:00
matildepark
4706db8c40
Merge pull request #3762 from urbit/mp/chat/timestamp-top
chat: timestamps are lined at top of messages
2020-10-21 19:04:58 -04:00
matildepark
67569406c9
Merge pull request #3771 from urbit/mp/launch/indigo-react
launch: migrate remainders to indigo-react
2020-10-21 19:02:13 -04:00
matildepark
0c87a44e97
Merge pull request #3747 from urbit/lf/remove-channel-generator
metadata-store: add |remove generator
2020-10-21 17:18:54 -04:00
Matilde Park
f01fdf9efa chat: create dm route, restore participants option 2020-10-21 15:55:11 -04:00
Matilde Park
be959df8df launch: migrate remainder to indigo-react
Fixes urbit/landscape#53.
2020-10-21 15:23:36 -04:00
Matilde Park
47c0afae69 chat: pad unread marker more evenly 2020-10-21 14:55:59 -04:00
Elliot Glaysher
04ab7b5eb6 king: implement -I and --inject-event-list
This makes it so during `run`, you can inject a series of Events
into your Urbit. The `-I` injection was implemented in Vere, and
has been ported to KH, with the extended `--inject-event-list`
flag which handles a jammed list of events.

Also included is a sample generator which builds a list of events.
2020-10-21 14:39:35 -04:00
Matilde Park
b97f94a56a chat: hoon eval preserves whitespace 2020-10-21 13:17:22 -04:00
fang
e3dcfc6372
release: urbit-os-v1.0.61 2020-10-21 12:43:40 +02:00
Liam Fitzgerald
b1fb130103 hark-group-hook: add %hark-group-hook 2020-10-21 16:09:22 +10:00
Liam Fitzgerald
def6cfd535 hark-graph-hook: add %hark-graph-hook 2020-10-21 16:09:18 +10:00
Liam Fitzgerald
1c1e2f60b0 graph-validator-link: add notification-kind conversion 2020-10-21 16:01:14 +10:00
Liam Fitzgerald
e336ad1c77 graph-store: add graph-mark scry 2020-10-21 15:59:39 +10:00
Liam Fitzgerald
560b663eb0 graph-create: correctly pass mark to poke 2020-10-21 15:58:51 +10:00
Liam Fitzgerald
2aed5baa25 hark-store: add working hark-store 2020-10-21 15:55:39 +10:00
Joe Bryan
fcd6968e8e vere: adds comment about re-checking ames' protocol version 2020-10-20 17:14:52 -07:00
pilfer-pandex
c8159b7fe8 king: multi-request support lol 2020-10-20 16:42:20 -07:00
Joe Bryan
67f06ce5e5 vere: adds comments discussing protocol-version constraints 2020-10-20 15:59:15 -07:00
Joe Bryan
7b4e48deb7 vere: updates ames' info handler to also print config 2020-10-20 15:59:15 -07:00
Joe Bryan
0e03bea08d vere: groups counters and config in ames' state structure 2020-10-20 15:59:15 -07:00
Joe Bryan
0ff8a28ca5 vere: refactors ames' galaxy address resolution 2020-10-20 15:59:15 -07:00
Joe Bryan
e2b47e02c2 vere: refactors ames' packet parsing and forwarding 2020-10-20 15:59:15 -07:00
Joe Bryan
acbcc53e49 vere: refactors ames' packet serialization 2020-10-20 15:59:15 -07:00
Joe Bryan
9b1b303417 vere: factors out ames' ship chubs-array to byte-array conversion 2020-10-20 15:59:15 -07:00
Joe Bryan
6c6b2db0d8 vere: factors out ames' ship byte-array to chubs-array conversion 2020-10-20 15:59:15 -07:00
Joe Bryan
7c393a1d71 vere: factors out ames' packet header parsing/serialization 2020-10-20 15:59:15 -07:00
Joe Bryan
6400f760c7 vere: renames ames mug helper for consistency 2020-10-20 15:59:11 -07:00
Logan Allen
44f1ed6d03 invite-json: first pass 2020-10-20 17:27:44 -05:00
Logan Allen
52d7837420 agents: updated all references to invites 2020-10-20 17:23:07 -05:00
Matilde Park
835378650b chat: timestamps are lined at top of messages 2020-10-20 17:22:00 -04:00
Matilde Park
a580f1fba4 chat: pad sigil icon in input 2020-10-20 16:56:55 -04:00
matildepark
092dbe21af
Merge pull request #3734 from urbit/mp/interface/sigil-icons
interface: use icon sigils for <16px renders
2020-10-20 16:42:29 -04:00
Logan Allen
cbfa820ee3 graph-threads: delete thread gets rid of metadata properly 2020-10-20 15:15:58 -05:00
Logan Allen
79ac6eb8cd Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-10-20 15:08:40 -05:00
Logan Allen
96d4c9d1e1 interface: fix main notebook route and remove update processing 2020-10-20 15:06:44 -05:00
Logan Allen
803f430c18 interface: makes leaving and deleting a publish resource work, fixes store 2020-10-20 14:27:54 -05:00
matildepark
13fadd592c
Merge pull request #3758 from urbit/mp/chat/prevent-crash
chat: prevent crashes if join is interrupted
2020-10-20 15:15:31 -04:00
L
c187c591ba
Merge pull request #3738 from urbit/la/spider-http
threads: make spider HTTP threads compatible with dojo threads, and fix the %graph-leave thread
2020-10-20 12:55:32 -05:00
matildepark
431bd0663c
Merge pull request #3736 from urbit/mp/launch/tile-regression
interface: enforce border radius
2020-10-20 00:27:47 -04:00
matildepark
dbb57cee01
Merge pull request #3757 from urbit/mp/groups/participant-search
groups: allow search to have sigs
2020-10-19 22:09:25 -04:00
matildepark
af990fb56c
Merge pull request #3756 from urbit/mp/groups/invite-prompt
groups: new channel only shows ship search at home
2020-10-19 22:09:01 -04:00
Matilde Park
164e90b53f chat: prevent crashes if join is interrupted
Fixes #3748.
2020-10-19 22:04:41 -04:00
Matilde Park
f4667e3aca groups: allow search to have sigs 2020-10-19 21:37:32 -04:00
Matilde Park
bb37ba8236 groups: new channel only shows ship search at home 2020-10-19 21:26:44 -04:00
Matilde Park
aeec7f4c5e groups: add 'kick from' action 2020-10-19 21:18:02 -04:00
Matilde Park
b7c7cb9a1c interface: icon sigils have borderradius 2020-10-19 21:07:24 -04:00
Matilde Park
d52753513f interface: use icon sigils for <16px renders 2020-10-19 21:04:51 -04:00
Liam Fitzgerald
f8fcc161a1 publish: fix graph-store migration
Previously, if a subscriber received the OTA migration before the host,
then it would attempt to subscribe to a non-existent resource, and
receive a nack, thus unsubscribing the ship from the notebook. To
rectify this, the tombstoned publish has been changed to resubscribe in
a loop with exponential back off. Once it receives a positive watch-ack
(i.e. the host completed the OTA), it will then migrate the notebook to
graph-store by adding it to graph-pull-hook
2020-10-20 10:39:14 +10:00
fang
5bebff3c38
eyre: kick subscriptions if fact conversion fails
This matches the behavior that gall uses for %watch-as subscriptions,
which eyre was using previously.
2020-10-19 19:17:58 +02:00
fang
1d4ee5a7b5
eyre: kick busy subscriptions if client not acking
In order to curb event queue growth when a client for whatever reason
isn't acking the events we send out, we implement a mechanism for
detecting such "clogging", and proactively kick subscriptions which are
adding too many events to the queue.

If the client hasn't sent an ack for ~s30, any subscription that accrues
more than 50 unacked %facts gets closed to prevent further buildup.

Upon reconnecting, the client will see %kick for the relevant
subscriptions and can open a new subscription as appropriate.

Includes a simple test for this behavior, and updates /app/dbug to be
able to display the newly tracked statistics.
2020-10-19 15:56:05 +02:00
Liam Fitzgerald
3ee0f13e41 publish: tombstone 2020-10-19 16:15:55 +10:00
Liam Fitzgerald
b610153b24 publish: address comments 2020-10-19 15:39:36 +10:00
Liam Fitzgerald
b94941f0a2 Merge branch 'release/next-userspace' into lf/graph-publish-fe 2020-10-19 13:18:25 +10:00
Liam Fitzgerald
2ca8f41288 metadata-store: add |remove generator 2020-10-19 12:45:20 +10:00
fang
63b4fb3e19
eyre: simplify channel subscription storage
Instead of storing by "channel wire", store by request-id instead.
The channel wire was just the channel-id, request-id, and some cruft.
2020-10-19 00:48:18 +02:00
fang
0b331a2ca9
eyre: update tests to match recent changes 2020-10-18 17:00:02 +02:00
fang
7e5f29cfd2
eyre: convert facts to json manually
By doing a %watch instead of %watch-as %json for channel subscriptions,
we can hopefully make better use of noun deduplication, when storing
events in a channel's event queue until they get acked.
2020-10-18 16:31:35 +02:00
fang
8def1dbea8
eyre: store unacked events unserialized
Store the gall events from channel subscriptions as (vaseless) signs,
instead of serialized events. This should be smaller in memory, and
makes it more likely for noun deduplication to happen.

The cost is needing to reserialize upon channel reconnect, but this is
the less common case, and we don't expect it to be particularly slow.
2020-10-18 16:04:19 +02:00
Matilde Park
4819aac19f landscape: only show 'new channel' if admin 2020-10-17 13:43:15 -04:00
matildepark
782ea1a6e7
Merge pull request #3696 from urbit/lf/bundle-cleanup
interface: various bundle size optimisations
2020-10-16 18:32:07 -04:00
Tyler Brown Cifu Shuster
2885a1b98b profile: add html color picker
Fixes https://github.com/urbit/landscape/issues/118
2020-10-16 13:41:58 -07:00
Logan Allen
769c50dd25 invite-store: converted from paths to resources. wip 2020-10-16 13:22:57 -05:00
Philip Monk
8cd72daf20
clay: speed up +find-merge-points
In certain cases +find-merge-points was very slow.  Specifically, the
`done` set was meant to avoid checking the same commit repeatedly, but
it didn't catch the case where a commit was added to the worklist that
was already in that worklist.

Secondly, the worklist was stored as a list but used as a queue, which
resulted in a lot of unnecessary welding.  We change it to a qeu.

Fixes #3735
2020-10-16 11:21:02 -07:00
Logan Allen
926c9975c2 graph-leave: fixed leave thread to function properly 2020-10-16 12:10:07 -05:00
matildepark
e7b1f840f7
Merge pull request #3722 from urbit/mp/landscape/channel-menu
landscape: check workspace in channel menu
2020-10-16 12:28:46 -04:00
Matilde Park
f7cd173439 publish: prevent input overflow on safari
Fixes urbit/landscape#117.
2020-10-16 12:25:57 -04:00
Matilde Park
40983be79c landscape: sidebar uses borderRadius 2020-10-16 12:05:38 -04:00
Matilde Park
ed337eb435 launch: home tile uses boxShadow
Fixes urbit/landscape#114.
2020-10-16 12:00:05 -04:00
Logan Allen
ace6a41e9e graph-threads: update to work with dojo and http 2020-10-16 10:42:31 -05:00