Commit Graph

6233 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Logan Allen
c9cb97d476 spider: update http handler to be compatible with dojo 2020-10-16 10:42:06 -05:00
Elliot Glaysher
c6de028fc2
Merge pull request #3728 from urbit/kh-fix-newline
Revert "king: fix zig-zag in stderr logging"
2020-10-16 10:30:49 -04:00
Elliot Glaysher
170bede757
Merge pull request #3726 from urbit/kh-make-code
Simplify +code and implement it in KH.
2020-10-16 10:30:00 -04:00
fang
7853c7df9b
king: improve king subsite implementation
Make KingSubsite part of ServConf, handle 404 case more gracefully, make
slog endpoint send SSE headers immediately.

Remaining work mostly revolves around the slog endpoint's slog queue. It
builds up even if nobody is listening, and only the first to pull from
the queue gets to handle/emit the slog event.
2020-10-16 14:13:07 +02:00
pilfer-pandex
359d6c881b king: scry reform 2020-10-15 21:22:48 -07:00
Matilde Park
e8c61848ab Merge branch 'master' into release/next-userspace 2020-10-15 22:47:29 -04:00
Philip Monk
8d0cfd13b7
glob: update to 0v1.hc18i.ms0ac.qi9qj.geopu.sutri 2020-10-15 16:10:02 -07:00
matildepark
3241377155
Merge pull request #3560 from urbit/m/webdojo-slogs
webdojo: slogs
2020-10-15 18:13:01 -04:00
Joe Bryan
33d93cc483
Merge pull request #3703 from urbit/jb/restore-treap-jets
u3: add more jets for list and treap operations
2020-10-15 15:12:10 -07:00
Philip Monk
7e5c722c8f
Merge branch 'philip/link-upgrade' into release/next-sys 2020-10-15 14:34:05 -07:00
Joe Bryan
d4a34c2b66 u3: updates +all:by/+any:by jets to validate loobean gate product 2020-10-15 14:33:36 -07:00
Philip Monk
ff0214e8ed
Merge remote-tracking branch 'origin/release/next-userspace' into philip/link-upgrade 2020-10-15 14:32:42 -07:00
Philip Monk
d948d22a78
Merge remote-tracking branch 'origin/release/next-hoon' into philip/link-upgrade 2020-10-15 14:32:34 -07:00
Joe Bryan
0f1cf42511
Merge pull request #3522 from frodwith/reco-rebase
vere: fix typo in secp reco jet
2020-10-15 12:08:11 -07:00
Elliot Glaysher
aa8634ecdd Revert "king: fix zig-zag in stderr logging"
This reverts commit e9ed97f8a8.
2020-10-15 13:58:41 -04:00
L
8b7a61dfa1
Merge pull request #3718 from urbit/mp/launch/tile-prop
launch: pass tile props to child
2020-10-15 12:36:52 -05:00
Logan Allen
ffb7259e97 interface: fix DM creation to give group permissions properly 2020-10-15 12:32:08 -05:00
Elliot Glaysher
9e2039ee2f arvo: Simplify the actual +code implemetation in jael. 2020-10-15 13:20:06 -04:00
Elliot Glaysher
16b3edfbd0 king: derive +code from Ring and print login +code on startup
We need to be able to programatically get the +code outside of
Urbit, so add an implementation of the derivation in king haskell.
2020-10-15 13:17:43 -04:00
Matilde Park
c03c1bfe8e landscape: check workspace in channel menu 2020-10-15 12:10:09 -04:00
Joe Bryan
45038ad7b1
Merge pull request #3689 from urbit/jb/clay-cancel-correct
clay: refactors +cancel-request, consistently accounting for TMI
2020-10-14 22:56:49 -07:00
Philip Monk
bfa94b6c3b
link-store: throw away state if it's stale cards
It's burdensome to upgrade cards and vases, and in practice they will be
stale anyway, so we throw them away.
2020-10-14 21:59:37 -07:00
Philip Monk
f295cd714f
Merge remote-tracking branch 'origin/la/hack-to-move-scry' into release/next-sys 2020-10-14 19:30:54 -07:00
Philip Monk
77b33632a6
Merge remote-tracking branch 'origin/master' into release/next-sys 2020-10-14 19:26:33 -07:00
Matilde Park
157eae42d7 launch: pass tile props to child 2020-10-14 22:01:10 -04:00
matildepark
b1417c84e9
Merge pull request #3717 from urbit/lf/group-autojoin
JoinGroup: restore autojoin
2020-10-14 21:58:35 -04:00
Matilde Park
061e832c8e groups: tweak padding on description 2020-10-14 21:55:00 -04:00
Matilde Park
c57ceb0bfb chat: messages use 'black' 2020-10-14 21:54:46 -04:00
Matilde Park
3e71f5fe8c chat: z-index raised on profile overlay
Also rewritten in indigo-react.
2020-10-14 21:30:38 -04:00
Liam Fitzgerald
0645ea2369 JoinGroup: restore autojoin route 2020-10-15 10:21:05 +10:00
pilfer-pandex
b35f879502 king: implement ~_~/slog without cookies; problems with MultiEyre 2020-10-14 17:05:56 -07:00
Joe Bryan
b786530de0 test: adds +find regression test, fixes set/map comment typo 2020-10-14 16:32:16 -07:00
Matilde Park
964dc90dab chat: prevent timestamp from overflowing 2020-10-14 18:50:02 -04:00
Matilde Park
f49c331d08 groups: pad landing page description for small layouts 2020-10-14 18:48:38 -04:00
Matilde Park
fd57c5fc53 launch: tiles inherit theme colour 2020-10-14 18:21:09 -04:00
Matilde Park
7b09fd6be8 launch: don't sort group tiles by recent
Fixes urbit/landscape#111.
2020-10-14 18:18:31 -04:00
Matilde Park
f614a38f6d groups: fix styling of channel settings dropdown
Fixes urbit/landscape#109.
2020-10-14 18:16:04 -04:00
Matilde Park
bc23b5232b interface: stub out email invite 2020-10-14 18:13:25 -04:00
Matilde Park
f5e23ab4c3 groups: remove 'send message' until new DM util 2020-10-14 18:11:44 -04:00
Matilde Park
01bcd1d54a chat: pin unread notice on mobile
Fixes urbit/landscape#106.
2020-10-14 18:06:26 -04:00
Matilde Park
2123c6e7f7 chat: fix chat input border on dark mode safari
Also rewrites the container in indigo-react.
2020-10-14 17:58:30 -04:00
Joe Bryan
6eb3890670
Merge pull request #3523 from urbit/jb/restage-leer
vere: adds leer-jet in support of new +to-wain:format
2020-10-14 12:56:17 -07:00
Joe Bryan
efac8d6133
Merge pull request #3644 from urbit/jb/retime
arvo: restore :time app
2020-10-14 12:55:21 -07:00
Logan Allen
2f9a7c9c68 chat-hook: hack to move scry to a new event to fix +on-load 2020-10-14 14:20:48 -05:00
Joe Bryan
8f455a2d03 u3: rewrites and enables +int:by jet 2020-10-14 10:51:54 -07:00
Joe Bryan
0d5b6575b4 u3: adds u3kdb_uni() 2020-10-14 10:51:54 -07:00
Joe Bryan
57d2220d36 u3: refactors and enables +int:in jet, correcting refcounts 2020-10-14 10:51:59 -07:00
Joe Bryan
d095960132 u3: adds u3qdb_wyt declaration 2020-10-14 10:51:54 -07:00
Joe Bryan
6fa50ff69f u3: refactors +urn:by jet, normalizing declarations 2020-10-14 10:51:54 -07:00
Joe Bryan
2832307c5d u3: refactors +run:by jet, normalizing declarations 2020-10-14 10:51:54 -07:00
Joe Bryan
92dfaeb7eb u3: refactors +key:by jet, simplifying refcounts and normalizing declarations 2020-10-14 10:51:54 -07:00
Joe Bryan
beec5c5c51 u3: refactors +apt:by jet, fixing recursion bugs and normalizing declarations 2020-10-14 10:51:54 -07:00
Joe Bryan
842f2a8831 u3: refactors +any:by jet, adding tail-recursion and normalizing declarations 2020-10-14 10:51:54 -07:00
Joe Bryan
69578a73fc u3: refactors +all:by jet, adding tail-recursion and normalizing declarations 2020-10-14 10:51:54 -07:00
Joe Bryan
42c7885302 u3: refactors +run:in jet, normalizing declarations 2020-10-14 10:51:54 -07:00
Joe Bryan
f216db003a u3: refactors +rep:in jet, normalizing declarations 2020-10-14 10:51:50 -07:00
Joe Bryan
4dda88864d
Merge pull request #3701 from urbit/jb/re-re-repn
u3: re-re-enable +repn jet
2020-10-14 09:46:20 -07:00
Joe Bryan
34176e68ea u3: refactors +apt:in jet, fixing recursion bugs and normalizing declarations 2020-10-14 00:23:23 -07:00
Joe Bryan
7f0f77ebb9 u3: rewrites +find jet with necessary uint precision
and fixes end-of-haystack bug
2020-10-13 23:51:45 -07:00
Joe Bryan
d8ada45c35 u3: rewrites +zing jet using u3i_defcons() 2020-10-13 23:51:45 -07:00
Liam Fitzgerald
f14c0ee19e interface, glob: serve source maps externally 2020-10-14 13:26:40 +10:00
Joe Bryan
c58c605ebe Merge branch 'release/next-vere' into jb/restore-treap-jets
* release/next-vere: (1707 commits)
  king: fix zig-zag in stderr logging
  u3: refactors +murn/+turn, removing unused variable
  u3: rewrites +skim jet with u3i_defcons()
  u3: rewrites +skip jet with u3i_defcons()
  u3: rewrites +skid jet with u3i_defcons()
  vere: updates ames to only print network send failures once
  u3: cleans up testing protocol, enables gc in mug tests
  u3: refactors and enables gc in jam tests
  u3: cleans up testing protocol, enables gc in hashtable tests
  u3: enables gc in ames and newt tests
  u3: initializes head/tail in u3i_defcons() (under U3_MEMORY_DEBUG)
  king: actually try shutting down the piers
  king: --serf="" is a host option, not a per ship option.
  u3: optimizes +wyt:in jet, gated by compile-time assertion
  u3: further optimizes +lent jet, gated by compile-time assertion
  u3: refactors allocator constants, adds u3a_cells and u3a_maximum
  u3: optimizes +lent jet, avoiding u3i_vint() while possible
  u3: moves cell allocation counter into u3a_celloc()
  u3: fixes memory leak introduced in +murn jet
  u3: fixes mismatches in +div and +dvr jets
  ...
2020-10-13 18:53:32 -07:00
Joe Bryan
9d5119b33f hoon: adds hints for likely-to-be-jetted list/treap/parser arms 2020-10-13 18:38:09 -07:00
Joe Bryan
5edaf634bc
Merge pull request #3691 from urbit/jb/need-have
hoon: enables need/have type printfs on nest-fail
2020-10-13 18:33:26 -07:00
Matilde Park
65bb8a0fb5 glob: update to 0v1.bn7am.9sl00.vfh1o.uvsuf.dn9b7 2020-10-13 21:07:18 -04:00
Matilde Park
093549175f landscape: resource descriptions include links 2020-10-13 21:00:00 -04:00
Matilde Park
579ea86d42 interface: fix richText receiving props 2020-10-13 20:59:48 -04:00
Matilde Park
b8b09b8e5e chat: set messages to 14px 2020-10-13 20:46:36 -04:00
Matilde Park
0454a1a843 chat: fix chat input size 2020-10-13 20:46:31 -04:00
Joe Bryan
c3af1afec1
Merge pull request #3693 from urbit/jb/ames-print-less
vere: updates ames to only print network send failures once
2020-10-13 17:36:13 -07:00
Matilde Park
1a7bb6ecfa publish: vertically align 'edit' and 'delete' 2020-10-13 20:31:47 -04:00
matildepark
5861e38392
Merge pull request #3671 from urbit/lf/channel-js-fixes
channel.js: eagerly ack subscription updates
2020-10-13 18:54:10 -04:00
matildepark
b22f7e30c3
Merge pull request #3697 from urbit/lf/fleet-proxy
interface: multi ship devserver
2020-10-13 18:52:58 -04:00
Matilde Park
26ab2bd51e groups: properly direct mobile navigation in home 2020-10-13 18:26:16 -04:00
L
0d2a0bae14
Merge pull request #3632 from urbit/la/remove-hall-sur
acme: remove last %hall import and remove sur file
2020-10-13 15:05:37 -05:00
pilfer-pandex
e9ed97f8a8 king: fix zig-zag in stderr logging 2020-10-13 12:01:04 -07:00
Liam Fitzgerald
6855f623de interface: multi ship devserver 2020-10-13 15:06:12 +10:00
pilfer-pandex
def318abd9 king: packet tests, scry tqueue 2020-10-12 21:57:01 -07:00
Liam Fitzgerald
6794a930b5 interface: rewrite lodash imports with babel
Due to lodash's packaging mechanism, it is unable to treeshake unless
you always import from it in a certain fashion. This commit adds a babel
plugin to rewrite these imports for us.
2020-10-13 11:52:14 +10:00
Liam Fitzgerald
e7d3261252 interface: do not bundle extra locales
Landscape is not localised in any fashion and we never change the
default locale. As such, the locales that moment.js includes in the
bundle are redundant and can be removed
2020-10-13 11:49:57 +10:00
Liam Fitzgerald
abffd4062d interface: disable source maps on production builds
Source maps have never worked correctly on production builds, and the
way that they are bundled into the JS itself negatively impacts our time
to first paint. As such, we disable them for a significant bundle size
improvement (10MB -> 2.4MB)
2020-10-13 11:48:13 +10:00
Joe Bryan
cabd811091 u3: refactors +murn/+turn, removing unused variable 2020-10-11 00:19:43 -07:00
Joe Bryan
880203ec1d u3: rewrites +skim jet with u3i_defcons() 2020-10-09 16:15:24 -07:00
Joe Bryan
6010f2a866 u3: rewrites +skip jet with u3i_defcons() 2020-10-09 16:13:12 -07:00
Joe Bryan
fda817dc61 u3: rewrites +skid jet with u3i_defcons() 2020-10-09 16:06:28 -07:00
Joe Bryan
b1d81b4cb4 hoon: adds product cast to +murn 2020-10-09 15:25:07 -07:00
Matilde Park
8a1c6f6243 glob: update to 0v4.9nedu.7t8gi.5n5f7.nofgk.c2dl1 2020-10-09 15:38:16 -04:00
Joe Bryan
e74ca2c0fd vere: updates ames to only print network send failures once 2020-10-09 12:02:50 -07:00
Matilde Park
072a9643eb groups: show invites in home workspace 2020-10-09 14:35:40 -04:00
Matilde Park
9b8d197e8f interface: sidebarInvite in indigo-react 2020-10-09 14:35:27 -04:00
Joe Bryan
1402f763f3 clay: refactors +cancel-request, consistently accounting for TMI 2020-10-09 10:34:18 -07:00
Joe Bryan
7ef74cf2f4 hoon: removes "road:new" printf from virtualized crash 2020-10-09 10:27:37 -07:00
Joe Bryan
5053de8b6b hoon: enables need/have type printfs on nest-fail 2020-10-09 10:26:38 -07:00
Fang
c444806c3d
eyre: explicitly permit proposed request in cors
Instead of always providing a wildcard for the allowed methods and
headers, now echoes back the method and headers that the client asked
for, if any.

Fixes #3676.
2020-10-09 14:07:05 +02:00
Matilde Park
8e7ecbe925 interface: thin and transparent scrollbar
Prevents an edge case in Chrome browsers in light mode on the launch
screen where the scrollbar was just a thick, white border on top of
user backgrounds.
2020-10-09 00:16:20 -04:00
Matilde Park
fa90317c19 glob: update to 0vffm4l.40gda.ia3t0.5s73j.ov6mt 2020-10-08 20:47:15 -04:00
matildepark
fb1fe8094f
Merge pull request #3687 from urbit/mp/leap/apps
leap: restore app index, remove from default
2020-10-08 20:40:52 -04:00
Matilde Park
a2fbf8c51c leap: restore app index, remove from default 2020-10-08 18:35:19 -04:00
Matilde Park
bbd105c2e4 links: key linkItems by date 2020-10-08 18:23:30 -04:00
Ted Blackman
cc6ce73fe4 LocalReducer: fix empty case of localStorage rehydration 2020-10-08 17:58:24 -04:00
Matilde Park
5377b2a862 glob: update to 0v7.emvn0.o8u9d.hqpc4.8e6h5.699gl 2020-10-08 17:42:48 -04:00
Ted Blackman
501c1bdc01 -graph-leave: fix action type 2020-10-08 17:34:25 -04:00
Joe Bryan
074b0cc0b0 u3: cleans up testing protocol, enables gc in mug tests 2020-10-08 14:20:30 -07:00
Joe Bryan
2ca626429e u3: refactors and enables gc in jam tests 2020-10-08 14:19:47 -07:00
Joe Bryan
5350dbfbbd u3: cleans up testing protocol, enables gc in hashtable tests 2020-10-08 14:19:47 -07:00
Joe Bryan
84ff37482a u3: enables gc in ames and newt tests 2020-10-08 14:19:37 -07:00
Matilde Park
917651f6ee publish: fix 'notebook index' link 2020-10-08 16:42:53 -04:00
Matilde Park
d1b2058e21 groups: listen for correct graphkey format
We wait for the incoming app path to auto-redirect, but graphKeys
doesn't use /ship/ format, but sigless ship slash resource paths.
2020-10-08 16:21:33 -04:00
Matilde Park
54fcd38e3d leap: index unmanaged reosurces to '/home' path 2020-10-08 16:18:29 -04:00
matildepark
36126fd944
Merge pull request #3681 from urbit/mp/leap/add-home
leap: add 'home' to leap index, default results
2020-10-08 15:45:39 -04:00