Commit Graph

6298 Commits

Author SHA1 Message Date
Joe Bryan
b2c79860e0 u3: moves u3z of printed timestamp to u3m_boot() 2020-10-23 13:35:57 -07:00
Joe Bryan
347a1ffb66 u3: remove timestamp printing in u3v_time() 2020-10-23 11:02:07 -07:00
pilfer-pandex
e254c72788 king: address #3778 per joe 2020-10-23 00:10:33 -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
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
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
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
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
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
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