~siprel
7ece09c0d1
king: Cleanup IPC batching in swimming
flow.
2020-05-29 20:16:37 +00:00
~siprel
ba440c8e3a
king: Make sure spinner callbacks are handled correctly from serf.
2020-05-29 19:20:53 +00:00
Joe Bryan
7e37082872
serf: disable automatic |pack
...
|pack currently only works up to some threshold of memory usage,
so it's unsafe to run automatically
2020-05-29 11:34:53 -07:00
~siprel
bc35ec0406
king: IPC Batching during replay and normal operation.
2020-05-29 02:14:25 +00:00
Philip Monk
18e396cf53
release: urbit-os-v1.0.20
...
Previous urbit-os-v1.0.20 was not released
2020-05-28 18:43:20 -07:00
Philip Monk
d49e8adc08
Merge remote-tracking branch 'origin/philip/behn-fix' into release/hotfix
...
behn: fix +unset-timer
2020-05-28 18:37:39 -07:00
Philip Monk
3ab618e234
behn: fix +unset-timer
...
It was throwing away timers sometimes if you cancelled a timer at the
same date as other timers.
2020-05-28 17:09:25 -07:00
Philip Monk
0cfee46fa8
jael: send breach notifications in order
...
See #2952 for details
2020-05-28 15:24:19 -07:00
Philip Monk
1be5411c75
jael: don't notify breach on initial update to ship
...
See #2952 for details
2020-05-28 14:38:07 -07:00
Philip Monk
c20cd29932
jael: look for correct wire
...
We inspect the wire of our subscriber to see if we need to produce the
result as a %public-keys or a %boon. This is bad -- we should proxy the
subscription to avoid this need, but this doesn't make that change yet.
%pubs is an old name that doesn't exist anymore (last existed around
September 2019). The new version is /public-keys, but it's worked so
far because /public-keys has only one item in the path, so it missed the
conditional. This commit makes the intent more clear.
The [%a @ @ *] could be just [%a @ *], but I leave it to reduce the
chance of breaking stuff.
2020-05-28 14:27:08 -07:00
~siprel
80b905c239
king: Slogs routed to both terminal and log output.
2020-05-28 18:56:51 +00:00
~siprel
d8f90ead07
king: Misc Small Cleanup.
2020-05-28 18:21:43 +00:00
Philip Monk
a362e4b3cb
gen: add |ames-wake
...
forgot to add this file
2020-05-28 10:50:32 -07:00
Philip Monk
0642cc5861
ames: add |ames-wake
...
Somehow we ended up with flows which expected to awaken but did not wake
up. This was likely caused by the error in r920j OTA, urbit-os-v1.0.18.
This adds a command which ensures that every flow has an active timer.
I expect this to be needed only once, but it's a pretty general tool, so
it's worth keeping.
I've included an unused @t parameter to more easily add simple debug
commands to ames without having to add a new task
2020-05-28 10:28:31 -07:00
Philip Monk
c417e594e3
hood: update on-save
2020-05-27 19:35:22 -07:00
Philip Monk
472ad18c90
behn: already deleted, don't need to do it again
2020-05-27 18:47:50 -07:00
Philip Monk
86fb78d933
Merge remote-tracking branch 'origin/ted/behn-same-date' into release/hotfix
2020-05-27 18:36:10 -07:00
Philip Monk
ff01a1ea04
ames: don't set new timer if we woke up too early
...
Otherwise if we end up having multple outstanding timers, they never
coalesce to a single timer.
2020-05-27 17:38:18 -07:00
~siprel
ca13d3f79b
king: Better handling of edge-cases around IPC failure.
2020-05-28 00:08:53 +00:00
~siprel
8e78266d74
king: Review and Cleanup w/ Harrison
2020-05-27 22:57:34 +00:00
Ted Blackman
8ed07dfc7e
behn: fix bug with timers at same date
2020-05-27 02:59:07 -04:00
Philip Monk
d0b4d5a02e
release: urbit-os-v1.0.18
2020-05-26 17:41:42 -07:00
~siprel
1f64a528cd
king: Handle replacement events correctly (dont try to parse them).
2020-05-27 00:08:07 +00:00
~siprel
26bd5a9e4b
king: Got new IPC working, still needs lots of polish.
2020-05-26 23:01:03 +00:00
Fang
049cacfa51
Merge pull request #2932 from urbit/m/shoe
...
shoe: console application library
2020-05-27 00:39:27 +02:00
Fang
4b9ec0c9a4
shoe: include example usage of %klr sole-effect
...
Seems worthwhile to signal the existence of richer console output.
Also adds a brief description of what the example app does.
2020-05-26 23:45:45 +02:00
Fang
127355c381
shoe: simplify default +can-connect
...
This belongs in /app/shoe (and indeed already is there).
2020-05-26 23:14:51 +02:00
Fang
509fec7f7c
shoe: improve +on-load logic
...
Turns out that if we use a tag we can just check the value without
needing vase operations.
2020-05-26 23:10:54 +02:00
Fang
36b7fc2e4f
Merge branch 'release/next-sys' into m/debug-dashboard
2020-05-26 20:36:27 +02:00
Joe Bryan
d057208a84
Merge pull request #2938 from lukechampine/invalid-key-segfault
...
vere: handle failed cue of private key file
2020-05-26 11:18:46 -07:00
Joe Bryan
690b8cfe9d
Merge branch 'master' into release/next-vere
...
* master:
release: urbit-os-v1.0.17
migrate-channels: addressed review
os1: migrate app data to new group
chat-view: don't forget to sync permissions
publish: fix bug in publish comment mark
chat: virtualize message-to-json only where needed
publish: abide by namespacing conventions
chat-store: remove redundant tiscom
chat: fix indenting
chat: use ^? on libs correctly
chat: expose types with libs
chat: address review comments
chat: improve namespacing of chat-* types
2020-05-26 11:17:20 -07:00
lukechampine
1b7b905aeb
vere: handle failed cue of private key file
...
Fixes #2934
2020-05-26 13:47:26 -04:00
pkova
28cd252ce7
zuse: improve json to rn parsing
...
Allow the exponent token to be 'e' or 'E', allow the explicit sign of '+'.
Following the spec at https://json.org . Fixes #2935 .
2020-05-26 19:29:24 +03:00
Fang
41448d5b05
chat-cli: use /lib/shoe
2020-05-24 17:57:54 +02:00
Fang
f103c65051
shoe: console application library
...
Deals with sole events, deferring to the underlying app only for higher-
level sole-handling logic.
Currently doesn't offer fancy printing logic, but can easily be extended
to do so.
Passes sole-ids on to the underlying app in all arms so that it may run
session-specific logic wherever it desires.
2020-05-24 17:57:18 +02:00
Fang
2fddfea082
sole: include details in stack trace
2020-05-24 17:57:09 +02:00
Fang
1238047b48
Merge branch 'master' into release/next-sys
2020-05-24 17:51:48 +02:00
Fang
58e85fa661
Merge branch 'release/next-sys' into m/debug-dashboard
2020-05-23 01:00:45 +02:00
Fang
309d30a0c8
dbug: support more eyre scries
2020-05-22 23:57:41 +02:00
Fang
52ef23ccca
eyre, zuse: add scry interfaces for eyre state
...
Scries for getting out open connections, cookie sessions, and existing
channels.
Moves the involved types from eyre into zuse.
2020-05-22 23:55:17 +02:00
Fang
8ab1098a1c
dbug fe: render result count alongside list filter
2020-05-22 23:53:23 +02:00
Benjamin Summers
c5896f5ea0
HasKingEnv + HasPierEnv + misc cleanup
2020-05-22 11:37:58 -07:00
Philip Monk
096149713a
drum: relink to chat-cli
...
The subscription changes in drum broke existing subscriptions. This
worked alright (though loud) for dojo, but it left chat-cli "frozen"
unless you manually unlinked/relinked. This does that automatically.
It also includes a refactoring of +on-load in drum, to avoid vain
repetition.
2020-05-22 00:17:56 -07:00
Philip Monk
cce32194c1
pill: update
2020-05-21 23:15:23 -07:00
Joe Bryan
32f7bfca90
Merge pull request #2922 from urbit/rock-load-tweaks
...
vere: improves jammed state reloading in |pack
2020-05-21 23:00:17 -07:00
Philip Monk
4fcd9f23c0
Merge branch 'release/behn-fast' ( #2915 )
...
* release/behn-fast:
zuse: add +ordered-map
behn: switch to ordered-map
chat: virtualize message-to-json conversion
2020-05-21 22:43:53 -07:00
Philip Monk
0e7b07e061
Merge branch 'release/link-dojo' ( #2867 )
...
* origin/release/link-dojo:
chat-cli: allow sending • character
chat-cli: always talk to local ship only
chat-cli: single-target sole effects as needed
chat-cli: don't allow excessively small cli widths
chat-cli: pull in sole-sur namespace where relevant
chat-cli: remove unused entropy from state
chat-cli: print newlines correctly
chat-cli: support multiple sole connections
chat-cli: don't crash on %bad-text
dojo: rename remote access generators
gall: fix handling of empty path list
dojo: remove unused %json poke
dojo: add remote access controls
drum: switch to per-ship /sole/drum duct
Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-05-21 22:42:18 -07:00
Philip Monk
274215ec6b
zuse: add +ordered-map
...
At some point this should be more properly styled similar to +by, +in,
and +to, but for now this reduces duplication and makes the ordered map
available to everyone.
2020-05-21 22:28:16 -07:00
~siprel
e10d8ab9cb
king: Fleshed out some IPC flows for new protocol.
2020-05-21 22:42:00 +00:00
Fang
4c9d18e5c0
Merge branch 'release/next-sys' into m/debug-dashboard
2020-05-21 20:09:58 +02:00
Joe Bryan
7d5cb6a9f6
Merge pull request #2919 from urbit/term-lockup
...
vere: fix terminal deadlock conditions
2020-05-21 10:24:28 -07:00
Joe Bryan
8c9df55992
u3: switches GMP import assert to conditional
2020-05-21 10:18:48 -07:00
Joe Bryan
cda9aa8274
u3: fixes rock:load size printf
2020-05-21 10:18:44 -07:00
Fang
5877ed4cb2
dbug fe: clean up unneeded console logs
2020-05-21 18:12:24 +02:00
Fang
6ae326470a
dbug fe: separate list query term with space
...
Allows searching for multiple parts of the item key separately,
returning only items that match all.
2020-05-21 18:03:56 +02:00
Fang
d218541e4f
dbug fe: include "active" in active ames flow keys
...
Also adds more clear visual "snd" and "rcv" distinction.
2020-05-21 17:58:39 +02:00
Fang
9f4bb4b295
dbug: no such thing as fallback duct
2020-05-21 12:31:28 +02:00
Philip Monk
8c4c0f31fc
Merge pull request #2920 from urbit/ted/ames-mass-alien
...
ames: fix %alien |mass over-reporting
2020-05-21 01:40:30 -07:00
Ted Blackman
a0eafa8aa3
zuse,ames: handle %trim task
2020-05-21 03:45:08 -04:00
Ted Blackman
0f7b213f38
ames: fix %alien |mass over-reporting
2020-05-21 03:19:20 -04:00
Joe Bryan
068cdea140
vere: bypass terminal logging on lmdb worker thread
2020-05-20 20:12:04 -07:00
Joe Bryan
76e7348b9a
vere: prevents term.c from retrying tcsetattr() indefinitely
2020-05-20 20:09:31 -07:00
Benjamin Summers
0b2c78e24b
king: Skecthed out lowest layer of new IPC protocol.
2020-05-20 17:35:33 -07:00
Fang
826b27df53
dbug: separate flows by forward & backward
...
Instead of send and receive.
2020-05-21 00:59:31 +02:00
ixv
0092c68833
Merge pull request #2914 from urbit/ixv/migrate-groups
...
os1: migrate app data to new group
2020-05-20 14:27:45 -07:00
Joe Bryan
0d4b0f6e30
WIP kh ipc protocol
2020-05-20 14:20:01 -07:00
Elliot Glaysher
d1c4afca85
jets: jet decryption of aes-siv mode.
2020-05-20 13:52:02 -07:00
Elliot Glaysher
6b59885386
jets: jet encryption of aes-siv mode.
2020-05-20 13:52:01 -07:00
Elliot Glaysher
cc3a139440
aes_siv: vendors libaes_siv since it isn't in nix.
...
This vendors libaes_siv so that we can use it to jet
+sivc:aes:crypto.
2020-05-20 13:51:59 -07:00
Joe Bryan
de65cf008f
Merge pull request #2848 from urbit/rub-safe
...
u3: fixes bug in +rub jet (unsafe coercion from c3_w to noun)
2020-05-20 13:41:25 -07:00
Fang
f96c83a4a9
spider, debug fe: actually support killing threads
2020-05-20 22:35:53 +02:00
Fang
da4274d490
dbug: allow custom state queries
...
Try to give state version number on first load. Run custom queries on
demand, similar to +dbug [%state 'whatever'].
2020-05-20 22:34:13 +02:00
ixv
a79f73c091
Merge pull request #2913 from urbit/ixv/fix-chat
...
chat-view: don't forget to sync permissions
2020-05-20 13:25:16 -07:00
Isaac Visintainer
8e6cbbb1d6
migrate-channels: addressed review
2020-05-20 14:24:24 -06:00
Fang
973cb62d6c
Merge branch 'release/next-userspace' into m/smaller-safer-json
2020-05-20 17:29:12 +02:00
Philip Monk
56c66be87a
behn: switch to ordered-map
2020-05-19 21:40:39 -07:00
Isaac Visintainer
e931a473dd
os1: migrate app data to new group
2020-05-19 20:08:35 -06:00
Isaac Visintainer
9b28855842
chat-view: don't forget to sync permissions
2020-05-19 19:48:06 -06:00
matildepark
91cf06b542
Merge pull request #2814 from urbit/lf/chat-type-namespacing
...
chat: improve namespacing of chat-* types
2020-05-19 19:54:22 -04:00
matildepark
74fb1ad68f
Merge pull request #2884 from urbit/lf/publish-namespacing
...
publish: abide by namespacing conventions
2020-05-19 19:14:55 -04:00
Fang
15e3ea6940
dbug: just use +dor for sorting
...
+vor is literally just +dor.
2020-05-19 23:46:27 +02:00
Fang
c3704f0198
dbug fe: add refresh buttons
2020-05-19 23:42:48 +02:00
Fang
c530c39617
dbug fe: remember summary fold state correctly
...
By manually providing a key, we avoid auto-assigned keys, which would
cause the nth summary item to remain unfolded, even if its contents
changed.
2020-05-19 22:53:24 +02:00
Fang
239892b26d
dbug: attempt to render lane details
2020-05-19 22:50:59 +02:00
Fang
2671fe71df
dbug: print warning about passcode access
...
Also fixes typo, cleans up comment.
2020-05-18 22:54:45 +02:00
Fang
edabe438d3
dbug: order rcv's nax
2020-05-18 21:46:33 +02:00
Fang
5572b3d8a7
dbug: sort correctly, by value order
...
Was using +aor, which sorts by LSB order.
2020-05-18 20:53:48 +02:00
Fang
87517ed10a
chat-cli: allow sending • character
...
In the past, this was used for separating messages in the cli. It's no
longer used as such, and likely nobody remembers, either.
2020-05-15 15:50:44 +02:00
Fang
25327b20b1
chat-cli: always talk to local ship only
2020-05-15 15:44:11 +02:00
Fang
7a5d84eb9e
chat-cli: single-target sole effects as needed
2020-05-15 15:28:46 +02:00
Fang
259814634c
chat-cli: don't allow excessively small cli widths
2020-05-15 14:44:34 +02:00
Fang
7247e16cf5
chat-cli: pull in sole-sur namespace where relevant
2020-05-15 14:40:36 +02:00
Fang
37d2385634
chat-cli: remove unused entropy from state
...
Presumably used for unique per-message entropy in a past version.
2020-05-15 14:13:38 +02:00
Fang
7e06e02587
chat-cli: print newlines correctly
...
By accounting for them during text wrapping, instead of letting them
fall through to the printer.
2020-05-15 14:10:07 +02:00
Fang
ccb994a6d3
chat-cli: support multiple sole connections
2020-05-15 13:37:22 +02:00
Fang
b35129e517
chat-cli: don't crash on %bad-text
2020-05-15 13:37:12 +02:00
Fang
c6aae3cc05
dbug fe: import MessageScreen correctly
2020-05-14 17:59:47 +02:00
Fang
0d5f4214c0
dbug fe: restore missing subscriptions component
2020-05-14 17:24:03 +02:00
Fang
98f3fa1171
dbug fe: remove unused imports
2020-05-14 17:12:42 +02:00
Joe Bryan
79458df79f
vere: refactors $quay serialization to iterate without recursion
2020-05-13 15:01:26 -07:00
Benjamin Summers
419dc03727
RIO environment cleanup.
2020-05-13 12:55:16 -07:00
Benjamin Summers
097259de66
king: Use random numbers for request IDs.
2020-05-13 12:06:55 -07:00
Benjamin Summers
66278edd19
king: Logging cleanup.
2020-05-13 12:06:32 -07:00
Benjamin Summers
ba4b9e7fdf
king: Use same logger from all contexts.
2020-05-13 11:29:50 -07:00
Benjamin Summers
b749017564
king: eyre: [WIP] Got multi-tenet HTTPS working.
2020-05-12 17:33:55 -07:00
Benjamin Summers
4ebf276430
king: Flags to disable HTTP/HTTPS/UDP per-ship.
2020-05-12 16:55:49 -07:00
Isaac Visintainer
ac9890c2a9
publish: fix bug in publish comment mark
2020-05-12 17:49:03 -06:00
Benjamin Summers
ba705694bd
king: eyre: [WIP] Got multi-tenet HTTPS working.
2020-05-12 15:43:19 -07:00
Benjamin Summers
67245e9052
king: eyre: Got multi-tenet HTTP working.
2020-05-12 12:53:40 -07:00
Benjamin Summers
f8cd148f0e
king: eyre: Hooked up multi-tenet HTTP. Start-up is a bit hacky. Still totally untested.
2020-05-12 12:04:46 -07:00
ryan lingle
bed894827d
cttp: do not add ampersand before first url query var
2020-05-11 21:11:52 -04:00
Benjamin Summers
965f599788
king: eyre: Finished multi-tenet HTTP flow (not yet started by king).
2020-05-11 12:51:51 -07:00
Fang
be087a8c92
Merge branch 'release/next-sys' of https://github.com/urbit/urbit into m/debug-dashboard
2020-05-11 20:39:00 +02:00
Fang
fe2e3861bb
dbug fe: include missing component
2020-05-11 20:37:52 +02:00
Fang
c991e17871
dbug fe: correct page title
2020-05-11 20:37:28 +02:00
Fang
cd031858b6
dbug fe: remove unused imports
2020-05-11 20:37:06 +02:00
pkova
9d3c997ecf
zuse: allow whitespace around = in attr:de-xml:html
...
Allow one or more whitespace characters before and/or after the equals sign in
name attribute pairs, such as `<hello a = "yo" />` or `<hello a= "yo" />`.
Following the spec at https://www.w3.org/TR/2006/REC-xml11-20060816/#NT-Eq .
2020-05-11 21:09:23 +03:00
Fang
e33a8952c1
Merge pull request #2840 from urbit/m/gall-just-not-unique
...
gall: smaller %watch-not-unique print
2020-05-11 19:44:30 +02:00
Fang
3a8544583c
chat: virtualize message-to-json only where needed
...
Previously we were virtualizing all message rendering operations, but it's only
+tank:enjs:format that we're worried about here.
Doing this more narrowly also allows us to specify a slightly more specific
error message.
2020-05-11 16:56:40 +02:00
Benjamin Summers
c1454b1366
king: Finish factoring out HTTP server lifecycle from Eyre.
2020-05-10 15:27:02 -07:00
Benjamin Summers
37855fd704
king: Factor out HTTP server lifecycle from Eyre + impl multi-tenet HTTP.
2020-05-09 13:01:47 -07:00
Liam Fitzgerald
782135fc97
publish: abide by namespacing conventions
2020-05-09 11:26:25 +10:00
Fang
b00f48e358
dbug: include index.html for debug dashboard
2020-05-09 02:16:20 +02:00
Philip Monk
170f791d1d
Merge branch 'philip/ames-dedup' ( #2852 )
...
* origin/philip/ames-dedup:
clay: don't send peers to message pump
ames: only dedupe long messages
ames: don't split messages until ready to send
ames: dedup new messages and fragments
2020-05-08 13:40:09 -07:00
Benjamin Summers
4b6c2c6ce0
king: Renamed %eyre modules.
2020-05-08 11:29:18 -07:00
Fang
7152cb74a9
chat: virtualize message-to-json conversion
...
Bad `@t` text might crash and fully halt the json conversion, preventing any
data from being delivered to the frontend.
Fixes #2878 .
2020-05-08 19:50:31 +02:00
Fang
959884c9cd
dbug: implement debug dashboard
2020-05-08 14:58:40 +02:00
lukechampine
baa309e375
dojo: rename remote access generators
2020-05-08 00:53:21 -04:00
Philip Monk
54e550d229
gall: clear outstanding ack queue on-load
...
This will fix the issue described in #2867 for ducts that have already
triggered the bug. This will also send spurious acks for any messages
that are outstanding at the time of the upgrade, but I don't believe
this will cause a serious problem.
2020-05-07 21:31:50 -07:00
Philip Monk
35ca2be344
gall: clear outstanding ack queue to breaching ships
...
fixes #2867
2020-05-07 21:17:42 -07:00
lukechampine
8cbb8f142e
gall: fix handling of empty path list
2020-05-07 22:46:51 -04:00
Benjamin Summers
5ba113b499
Begin factoring out Raw HTTP logic from Eyre.
2020-05-07 17:38:27 -07:00
Fang
ac494a265e
verb: allow subscribing to events
...
This excludes, necessarily, events that don't let us emit moves.
(+on-save, +on-peek)
2020-05-08 01:46:29 +02:00
Fang
4a6329eb09
dbug: add scry endpoints
...
Allow scrying out of state and subscriptions for apps that use /lib/dbug
2020-05-08 01:42:29 +02:00
Fang
664275c9f1
eyre: expose bindings through scry
...
Allows you to scry out all bound endpoints at /=bindings=.
Moves an internal type into zuse for easier external use.
2020-05-08 01:39:56 +02:00
Fang
61a5e7a45e
behn: expose timers through scry
...
Instead of giving the tank of the timers, give the list of timers
itself.
Updates +timers to account for this.
2020-05-08 01:38:29 +02:00
Fang
14831f4864
ames: expose state through scries
...
Support /=peers= and /=peer=/~ship scries for getting at all peers and
a specific peer's connection state, respectively.
Moves some internal types into zuse for easier external use.
2020-05-08 01:37:07 +02:00
lukechampine
4217bfa2da
dojo: remove unused %json poke
2020-05-07 17:57:58 -04:00
lukechampine
6ab3ab7d5c
dojo: add remote access controls
2020-05-07 17:57:31 -04:00
Benjamin Summers
36ca949317
king: Factored out DNS flow from Ames driver.
2020-05-07 14:15:32 -07:00
Liam Fitzgerald
d7d07b014b
chat-store: remove redundant tiscom
2020-05-07 10:56:24 +10:00
Liam Fitzgerald
cf8e8f8dc4
Merge branch 'master' into lf/chat-type-namespacing
2020-05-07 10:39:11 +10:00
lukechampine
9f45acc17b
drum: switch to per-ship /sole/drum duct
2020-05-06 18:54:54 -04:00
Fang
69b6495d3d
Merge pull request #2854 from urbit/m/claz-register
...
claz: correct lockup registration arg order
2020-05-06 14:40:58 +02:00
Isaac Visintainer
734e643eb7
release: urbit-os-v1.0.15
2020-05-05 19:32:08 -06:00
ixv
0c57e65b38
Merge pull request #2846 from sigilante/master
...
Add SVG support to img tags in Chat.
2020-05-05 17:59:45 -07:00
ixv
277debf710
Merge pull request #2842 from urbit/mp/chat/message-fixing
...
chat: message input fixes
2020-05-05 17:59:07 -07:00
ixv
06f44ab9f1
Merge pull request #2825 from urbit/lf/chat-bottom-scroll
...
chat-js: fix scrolling and unread behaviour
2020-05-05 17:58:42 -07:00
ixv
8df1d078b1
Merge pull request #2859 from urbit/lf/drum-start-fix
...
drum: fix broken app start
2020-05-05 17:43:51 -07:00
Liam Fitzgerald
54969afdd2
drum: fix broken app start
...
If we find an agent that has already been launched then we continue
iterating through the list of apps instead of stopping
Fixes : #2858
2020-05-06 09:45:17 +10:00