fang
08ad367cd8
eyre: when a %request causes a crud, serve 500
...
Previously, if an incoming request caused a crash, we would just drop it
on the floor. We should at least have the decency to serve the client a
quick 500 and let them get on with their day.
We make sure not to touch state here. The connection is guaranteed-fresh
because of the task's semantics, and we're handling it in-line in one go.
Notably we only give a simple "crud!" for the body, instead of the full
error trace. We don't know whether the request is authenticated or not
(and who knows if checking was the cause of the crash!), and the crud
might leak sensitive details about the ship it occurred on. For the
owner, the trace still gets printed into the terminal.
2023-05-04 17:42:36 +02:00
Ted Blackman
24467176f6
Merge pull request #6550 from urbit/jb/clay-quiet
...
clay: remove %take-foreign slog
2023-05-04 11:38:55 -04:00
Ted Blackman
de58756736
Merge pull request #6548 from urbit/philip/pending
...
clay: on update, remove all previous pending updates
2023-05-04 11:38:22 -04:00
Ted Blackman
100333cd5a
Merge pull request #6549 from urbit/jb/eyre-safe
...
eyre: handle agent errors safely
2023-05-03 19:16:10 -04:00
Joe Bryan
48ec5b2693
clay: remove %take-foreign slog
2023-05-03 18:48:30 -04:00
Joe Bryan
c42f1d2663
eyre: corrects connection lifecycle comment
2023-05-03 18:40:22 -04:00
Joe Bryan
c349d154b6
eyre: optimizes responses, removes redundant connection state updates
2023-05-03 18:39:19 -04:00
Joe Bryan
007a32c47a
eyre: remove redundant connection retrieval
2023-05-03 18:25:48 -04:00
Joe Bryan
7fb2f613d4
eyre: no-op on agent-error when missing connection state
2023-05-03 18:25:10 -04:00
Philip Monk
9d7b196024
clay: on update, remove all previous pending updates
...
Fixes #6537 , see discussion there for alternatives.
2023-05-03 13:03:53 -07:00
Joe Bryan
7f2257e581
clay: virtualize parsing to workaround runaway memoization
2023-05-02 17:16:22 -04:00
Ted Blackman
51e85291c1
Merge pull request #6542 from urbit/wicrum/wan-mop
...
lull,ames: use `mop` instead of `pha` in `.wan.keens`
2023-05-02 11:55:38 -04:00
~wicrum-wicrun
451a84d467
jael: fake ships always have rift=0
2023-05-02 17:36:22 +02:00
~wicrum-wicrun
c1e14bdbf5
ames: use +pry:mop
and +del:mop
instead of virtualizing
2023-05-02 17:07:14 +02:00
~wicrum-wicrun
c03c3dc13b
ames: migration uses +tap:deq
instead of +dip-left:deq
2023-05-02 17:01:53 +02:00
Ted Blackman
1c69528565
Merge pull request #6538 from bacwyls/bwyl/read-s-subs-413-patch
...
clay: fix read-s subs for 413
2023-05-02 10:42:29 -04:00
~wicrum-wicrun
ecaf70bc00
ames,lull,zuse: move +pha
and +deq
into ames to not pollute kelvin code
2023-05-02 16:26:59 +02:00
~wicrum-wicrun
ded0b75914
ames,lull: .wan.keen
uses fragment as mop key
2023-05-02 16:25:51 +02:00
~wicrum-wicrun
d7a2c53df8
lull,ames: use mop
instead of pha
in .wan.keens
2023-05-02 15:17:25 +02:00
bacwyls
4a1aae5c48
clay: fix read-s subs for 413
...
=case was added as an argument to read-s to support %cs subs
it was accidentally removed as an argument during a merge,
breaking %cs subs by causing it to always crash in a
comparison between case and [%da now], because case resolved
to the mold rather than a value. this commit restores
intended functionality.
2023-05-01 18:32:49 -05:00
Ted Blackman
c3d461d6de
Merge pull request #6515 from urbit/i/6504/fine-next-steps
...
fine: next steps
2023-05-01 11:32:52 -04:00
Marcus
96398a7b54
clay: add requests permission checks
2023-04-30 19:56:16 -03:00
~wicrum-wicrun
b804ab3a23
gall: hold on to .ken.yoke
through uninstalls
2023-04-28 19:19:42 +02:00
Philip Monk
013f294cde
clay: correctly save cache after goad
...
The refactor from aeon to tako is from May 2022, but unmerged until
March 2023. In the meantime, I added another usage of aeon-flow in July
2022, which was converted to aeon-flow in March 2023, but the argument
itself was unchanged. This meant we didn't save the cache after +goad.
2023-04-27 17:09:33 -07:00
~wicrum-wicrun
5819ee3ddd
Revert "gall,lull: add outstanding %keen
s to the $bowl
"
...
This reverts commit 11f53d680a
.
2023-04-27 19:22:41 +02:00
~wicrum-wicrun
11f53d680a
gall,lull: add outstanding %keen
s to the $bowl
2023-04-27 19:20:54 +02:00
~wicrum-wicrun
f3d7863527
gall: %yawn
on uninstall
2023-04-27 19:20:54 +02:00
yosoyubik
4728ee68c6
Revert "Revert "ames: make +abet pure""
...
This reverts commit d214fad1bd
.
https://github.com/urbit/urbit/pull/6403 got closed, probably due to its
previous inclusion in the Remote Scry PR, so we reopen it (as a draft).
2023-04-27 14:42:34 +02:00
Joe Bryan
bbe14ce747
arvo: fix %gall meta-namespace reads (missed in merge)
2023-04-26 20:28:32 -04:00
~wicrum-wicrun
6715f5eb37
gall: track outstanding %keen
s and send %yawn
on nuke
2023-04-27 00:36:54 +02:00
Hunter Miller
06af50a9b9
eyre: fixing errant whitespace
2023-04-26 17:00:46 +03:00
Hunter Miller
215a35640c
eyre: if logged in and accessing login page, redirect
2023-04-26 17:00:46 +03:00
Ted Blackman
625b63614e
Merge pull request #6406 from urbit/i/5788/remote-scry
...
Add Remote Scry Protocol
2023-04-25 11:06:04 -04:00
Joe Bryan
517df2aebd
ames: fix fine error printf
2023-04-25 10:14:42 -04:00
yosoyubik
c79ef21893
clay: remove scrying sigpam
2023-04-25 05:31:03 +02:00
Joe Bryan
5dfc8e3c5d
arvo: restructures |mass, switches to %x //whey
2023-04-24 16:21:41 -04:00
~wicrum-wicrun
05304146a7
gall,eyre,dojo,azimuth,dbug: gall claims the [%$ *]
namespace
2023-04-24 21:53:52 +02:00
~wicrum-wicrun
673803fe0b
ames: use $spar
2023-04-24 19:10:05 +02:00
~wicrum-wicrun
dafa1cc030
lull,ames: reference +mop
in $packet-pump-size
2023-04-24 19:10:05 +02:00
Joe Bryan
ba3a5b22e8
lull: removes case:clay (duplicated from arvo)
2023-04-24 13:08:25 -04:00
Joe Bryan
393457fcc6
clay: remove more dead %warp-index code
...
building on c2f7f75492
2023-04-24 13:07:41 -04:00
Joe Bryan
c1f80e2865
clay: remove stack traces, blank lines
2023-04-24 13:07:40 -04:00
yosoyubik
66a7b7b1c2
ames: make fi-send take a blob
2023-04-24 18:54:36 +02:00
yosoyubik
d43e684bae
ames: rename @uxmeow as $yowl
2023-04-24 18:54:36 +02:00
Joe Bryan
8f43d9674d
ames: removes stale comments, dead code
2023-04-24 12:53:29 -04:00
Joe Bryan
cf8a887b80
arvo: rebinds and uses $omen
2023-04-24 12:52:33 -04:00
Joe Bryan
2ece07f096
ames: %fine requests are always for public data
2023-04-24 12:36:53 -04:00
pkova
5868c29c3b
eyre: combine unreleased loads for ~2023.4.19 and ~2023.4.11
2023-04-24 18:54:22 +03:00
yosoyubik
714d0b13f1
ames: remove sigpam
2023-04-24 17:00:41 +02:00
~wicrum-wicrun
641326ad36
ames,lull: remove .siz
from $meow
2023-04-24 16:23:09 +02:00
pkova
3792ba5cc7
Merge branch 'next/kelvin/413' of https://github.com/urbit/urbit into pkova/fix-eyre-clog
2023-04-24 13:43:36 +03:00
pkova
a1fd3a6792
lull, eyre: actually send events on clogged channel reconnect
2023-04-24 13:38:14 +03:00
yosoyubik
bf0a4a3327
ames: fix upgrade from state 4&5
2023-04-24 11:44:24 +02:00
Joe Bryan
d2d1412c3a
ames: replace (empty) signatures with tag byte in fine requests (wail)
2023-04-23 01:09:53 -04:00
Ted Blackman
84cd948f30
Merge branch 'next/kelvin/413' into i/5788/remote-scry
2023-04-22 14:33:20 -04:00
Ted Blackman
6e793dfe39
Merge branch 'develop' into next/kelvin/413
2023-04-22 14:33:01 -04:00
yosoyubik
599eb6231b
ames: rename etch-keen to etch-wail
2023-04-22 20:26:08 +02:00
Ted Blackman
c2f7f75492
clay: remove dead %warp-index scry codepath
2023-04-22 14:24:12 -04:00
Ted Blackman
8f0c0c04fd
clay: fix state-12 upgrade
2023-04-22 13:24:15 -04:00
Ted Blackman
f3655a8662
ames: re-enable life&rift check on fine requests
2023-04-22 11:30:17 -04:00
Ted Blackman
8ba7b3ae95
clay: $+ more types in +load
2023-04-22 10:47:33 -04:00
yosoyubik
5bbd727f18
Merge branch 'develop' into i/5788/remote-scry
2023-04-22 16:07:44 +02:00
yosoyubik
64a1680e2c
ames: don't crash if waking up on a strange wire
...
This was a regression introduced in 8e54f7fcc3
the previous behavior was not to crash so we
restore it here
2023-04-22 13:47:15 +02:00
yosoyubik
2bcfd7599a
ames: fix %fine tests to account for updated %tune
2023-04-21 17:54:01 +02:00
Joe Bryan
4d84131464
ames: refactors %tune, supercedes %miss
2023-04-21 10:43:30 -04:00
Joe Bryan
15279e5267
arvo: add jet hints for profiling
2023-04-20 22:38:31 -04:00
Joe Bryan
a9267bb493
clay: label old state structures
2023-04-20 22:38:31 -04:00
Joe Bryan
013aee8dfd
clay: add casts to +stay
2023-04-20 22:38:10 -04:00
Ted Blackman
bac96d751e
clay: fix state version number
2023-04-20 22:36:03 -04:00
~wicrum-wicrun
6746687ade
ames: print fine errors instead of propagating
2023-04-20 22:32:16 +02:00
~wicrum-wicrun
b92e4c4238
ames: get dat
from etched body
2023-04-20 18:52:01 +02:00
~wicrum-wicrun
953e6f5861
ames: set signature in fine requests to all zeroes
2023-04-20 18:12:29 +02:00
yosoyubik
bee09fe5e1
ames: in %larva +load always set cached-state
2023-04-19 16:23:01 +02:00
yosoyubik
873de61269
ames: give %miss to all listeners on %keen cancel
...
%spider will send a %yawn task to ames if a thread fails
or stops. if the thread is done, it will delete the scry
from its state without notifying %ames
2023-04-19 11:03:11 +02:00
Joe Bryan
51effc6be9
ames: add (disabled) rift/life verification
2023-04-19 00:50:13 -04:00
Joe Bryan
846276f85a
ames: refactors $sign and $note
2023-04-19 00:50:13 -04:00
Joe Bryan
80a1cf626c
ames: cleanup comments/whitespace
2023-04-18 10:34:47 -04:00
Joe Bryan
c864f95598
ames: drop %pine
2023-04-18 10:25:45 -04:00
yosoyubik
5c838a42a7
ames: use fi-emit for %fine gifts
2023-04-18 05:31:23 +02:00
Joe Bryan
790a0de292
ames: fix move clobbering in +fi-done
2023-04-17 18:29:44 -04:00
Joe Bryan
2cb0a06976
ames: fix build, bypassing alias
2023-04-17 16:08:01 -04:00
yosoyubik
03b3d0b3f4
tests: fix /tests/sys/fine
2023-04-17 16:41:53 +02:00
yosoyubik
296815e097
ames: remove keen-id from remote scry state
...
TODO: udpate /~debug frontend
2023-04-17 16:22:57 +02:00
yosoyubik
c062d7c2b0
ames: handle error for hearing fine responses
...
WIP the error is not propagated to the listeners (TODO error gift?)
2023-04-17 15:06:28 +02:00
yosoyubik
0987cddd7e
ames: add /fine/ducts/[path] scry endpoint
2023-04-17 14:22:20 +02:00
yosoyubik
1d91bb5e33
ames: first pass a %fine unit tests
2023-04-17 14:15:35 +02:00
Ted Blackman
9ce37f0d71
Merge pull request #6483 from urbit/pkova/fix-ames-load
...
ames: properly migrate old %snub tasks
2023-04-14 14:20:22 -04:00
Josh Lehman
1d1a81b90e
Merge pull request #6471 from urbit/pkova/fix-eyre-unacked
...
eyre: do not clear unacked events in +on-get-request
2023-04-14 11:14:29 -07:00
pkova
24f7f3549f
ames: properly migrate old %snub tasks
2023-04-14 20:41:57 +03:00
yosoyubik
69a5c5e6df
ames: factor out is-corked logic into a gate
2023-04-14 09:12:16 +02:00
Joe Bryan
f8305dee4b
Merge branch 'develop' into next/kelvin/413
2023-04-13 11:21:18 -04:00
yosoyubik
898ed99863
ames: no-op on naxplanation acks for corked bones
2023-04-13 08:53:01 +02:00
fang
171142fd31
eyre: use jam mime type for PUT mode detection
...
Making this consistent with the mime type used for GET requests.
2023-04-12 19:19:13 +02:00
fang
d32527ba19
eyre: further refactor +load logic
...
Co-authored by: joemfb <joemfb@gmail.com>
2023-04-12 18:53:44 +02:00
fang
132299f278
eyre, mar: use x-urb-jam mime type for jams
2023-04-12 18:42:35 +02:00
pkova
fa40fd7f35
eyre: do not clear unacked events in +on-get-request
2023-04-12 19:36:26 +03:00
~wicrum-wicrun
97c8e3833d
ames: emit %miss
on failed signature verification
2023-04-12 15:04:59 +02:00
yosoyubik
4c2bc332e0
Merge branch 'develop' into i/6451/reset-naxplanations
2023-04-12 06:49:57 +02:00
fang
4b68139c40
Merge branch 'next/kelvin/413' into x/json-bgon
2023-04-11 21:54:43 +02:00
Ted Blackman
365a1d5af9
Merge pull request #6447 from urbit/jb/drip-hurl
...
behn: propagate errors in deferred moves
2023-04-11 11:28:20 -04:00
yosoyubik
4840b2aed2
ames: simplify reset timer
2023-04-11 14:24:05 +02:00
yosoyubik
48a60d602c
ames: reset timer for naxplanation on corked bones
2023-04-09 08:13:21 +02:00
yosoyubik
98a5ab9035
ames: fix handling of fine tasks for aliens
2023-04-08 06:34:10 +02:00
yosoyubik
538b0e920e
Merge branch 'develop' into i/5788/remote-scry
2023-04-07 19:24:08 +02:00
yosoyubik
8744b1f4db
ames: revert min tro to ~m2
2023-04-07 19:10:26 +02:00
Joe Bryan
d2eda084ac
Merge branch 'develop' into ted/ames-ping-2
2023-04-06 15:07:38 -04:00
Ted Blackman
eddbe86d69
ames: fix syntax error
2023-04-06 11:58:34 -04:00
fang
e300fa2d6b
dill: exclude wrapped-task from most +call traces
...
Instead of including wrapped-task as-is in most call traces, we now only
include it in traces for crashing (harden task) calls. For everything
else, we include only the tag of the resulting $task.
Closes #6444 .
2023-04-06 15:58:12 +02:00
yosoyubik
2da5431ec2
ames: add minimal verbosity for |fine
...
This can be set with |ames-verb %fin. We might want to extend this
with a more granular logging system, probably similar to current ames
2023-04-06 13:44:45 +02:00
yosoyubik
9f45741a9a
ames: use +update-qos:pe in fine core
2023-04-06 13:44:45 +02:00
yosoyubik
1c2b7667b1
ames: use |fi for remote scry |fine core
2023-04-06 13:44:45 +02:00
~wicrum-wicrun
645f5e473a
gall: only %x
, %t
and %z
reserve [%$ *]
, for backwards compatibility
2023-04-05 20:51:04 +02:00
Ted Blackman
66678acd3e
ames: ping faster to sponsors
2023-04-05 11:59:06 -04:00
~wicrum-wicrun
db2ac2fa65
ames: update gall scries to use %x
instead of %a
2023-04-05 16:23:38 +02:00
~wicrum-wicrun
93c1497431
gall: claim the [%$ *]
namespace and relinquish the rest
2023-04-05 14:59:59 +02:00
~wicrum-wicrun
9890e5b8da
Revert "gall: add permissions to scry paths"
...
This reverts commit 6e542d4afe
.
2023-04-05 14:59:59 +02:00
~wicrum-wicrun
45617df540
gall: add permissions to scry paths
2023-04-05 14:59:59 +02:00
~wicrum-wicrun
8cd29cb8e7
gall: block when scrying into the future
2023-04-05 14:59:59 +02:00
~wicrum-wicrun
cf6bbb87a0
gall: smear @da
if binding to a path earlier than its latest binding
2023-04-05 14:59:59 +02:00
~wicrum-wicrun
4b82b7b8d3
gall: return a cage instead of a cage of a page at %a
scry
2023-04-05 14:59:59 +02:00
~wicrum-wicrun
4f77f84e72
lull,gall: store $page
instead of $noun
in scry bindings
2023-04-05 14:59:59 +02:00
~wicrum-wicrun
09be62ed8f
lull,gall: add scry bindings to bowl
2023-04-05 14:59:59 +02:00
~wicrum-wicrun
e6bd652366
gall: support %a
scry at any date
2023-04-05 14:59:59 +02:00
~wicrum-wicrun
93afa55167
gall: store date with each scry binding
2023-04-05 14:59:59 +02:00
~wicrum-wicrun
94a4eca649
gall: support %t
scry
2023-04-05 14:59:59 +02:00
~wicrum-wicrun
8544c571bf
gall: support %z scry
2023-04-05 14:59:59 +02:00
~wicrum-wicrun
e8ae1ae86f
gall: save highwater mark when nuking
2023-04-05 14:59:59 +02:00
~wicrum-wicrun
9c560ece05
block when appropriate on %w
scry
2023-04-05 14:59:59 +02:00
~wicrum-wicrun
9659e1c16b
gall: block at %a
scry if date isn't now
2023-04-05 14:59:58 +02:00
~wicrum-wicrun
ad7cf21d01
gall,lull: don't include $case
in %grow
2023-04-05 14:59:58 +02:00
~wicrum-wicrun
42b5615f65
gall: simplify $neet
definition
2023-04-05 14:59:58 +02:00
~wicrum-wicrun
7137f0de03
gall: implement %w scry
2023-04-05 14:59:58 +02:00
~wicrum-wicrun
e4ceed09ad
gall: enforce monotonic growth of cases
2023-04-05 14:59:58 +02:00
~wicrum-wicrun
f0043aa4ec
gall: support %a scries at the current time
2023-04-05 14:59:58 +02:00
Ted Blackman
31a2697260
gall: undo indent
2023-04-05 14:59:58 +02:00
Ted Blackman
e9e803b346
gall: add +trace to scry binding handlers
2023-04-05 14:59:58 +02:00
Ted Blackman
128375c4aa
gall: handle scry moves locally
2023-04-05 14:59:58 +02:00
Ted Blackman
98f3e682bd
gall: remove unused helpers
2023-04-05 14:59:58 +02:00
Ted Blackman
c69e71e83f
lull,gall: switch to per-agent scry bindings
2023-04-05 14:59:58 +02:00
Ted Blackman
fc14b21815
gall: store scry paths in a +mop, not +map
2023-04-05 14:59:58 +02:00
Ted Blackman
b798ba2320
gall: +mo-cull compiles
2023-04-05 14:59:58 +02:00
Ted Blackman
3e6f4ed44a
gall: check high-water mark
2023-04-05 14:59:58 +02:00
Ted Blackman
541f4725ae
gall: +mo-tomb compiles
2023-04-05 14:59:58 +02:00
Ted Blackman
1aa7b8105d
lull,gall: %grow compiles
2023-04-05 14:59:58 +02:00
yosoyubik
d137d78465
ames: remove |fi core
...
The entry point arms of |fi are moved to the |pe core and
|ke is now called directly so we avoid doing e.g. abed:ke:fi:peer
2023-04-05 10:27:47 +02:00
Joe Bryan
b6194711c3
behn: hurl errors on %drip %crud
2023-04-04 15:07:27 -04:00
Joe Bryan
9ae28a985c
clay: %pass %drip with context, expect and handle errors in +take
2023-04-04 15:06:51 -04:00
yosoyubik
08170068b0
ames: send a nack if there is not case for %pine
...
If the publisher can't produce a case for a given path,
it nacks the plea sent by the requester, that will then
produce a %miss to the vane that initiated the scry
2023-04-04 15:00:08 +02:00
yosoyubik
d7df6bcce3
ames: fix pattern match check when sinking a %pine
2023-04-04 10:59:28 +02:00
midden-fabler
d8ad34f0fc
update scry path listing
2023-04-04 03:06:22 -04:00
midden-fabler
bacbfd71ac
add last-contact scry endpoint
2023-04-04 02:50:09 -04:00
yosoyubik
06a1f9aa27
ames: refactor unused on-pine flow for publishers
2023-04-04 08:28:43 +02:00
yosoyubik
920c208a60
ames: fix on-pine
2023-04-03 12:48:16 +02:00
yosoyubik
dbac58827e
spider: clean up remote scries on thread-done
2023-04-03 09:40:56 +02:00
yosoyubik
6c06fa16fa
spider: support tracking/canceling scry requests
...
(%spider only tracks scry requests started by the -keen thread)
2023-04-03 09:18:51 +02:00
yosoyubik
d406344081
lull, ames: add %wham to cancel all scry requests
...
(we might want to add permissioning to restrict who can send %whams)
2023-04-01 09:20:49 +02:00
yosoyubik
55dffb59e7
ames: add all=? flag to fine %yawn task
...
if all=& in |yawn, it will delete all listeners ducts,
without notifying them about it, which seems bad,
so we migh adress that separatedly.
Also, it might be cleaner to have a separate task instead of
a flag, to have two paths for "remove me" and "remove all",
this way there won't be an option for a listener to remove all
others, and that will have to be handled explicitly.
2023-03-31 15:45:51 +02:00
yosoyubik
8387a28bd2
ames: use %$ to handle /pine pleas
...
Sending a %pine plea to an old publisher will result in
a crash because it:
- (pre remote-scry) handles only %cork pleas with %$ as the vane
- (pre GRQF) it doesn't handle %$ as the recipient vane
2023-03-31 11:37:05 +02:00
lukechampine
e0ff3b4d5f
eyre: add cache
2023-03-28 17:01:31 -04:00
yosoyubik
8e54f7fcc3
ames: fix parsing fine timer wire
2023-03-28 13:40:10 +02:00
yosoyubik
f34e472bdd
ames: fix faulty +abed, one more time
2023-03-28 12:35:23 +02:00
yosoyubik
c9124e9fd0
ames: fix faulty bunted state in +abed
2023-03-25 16:58:03 +01:00
Pyry Kovanen
cb819b2091
Merge pull request #6413 from urbit/i/6407/zeal
...
clay: stop failed kelvin upgrades from retrying immediately
2023-03-24 18:36:09 +02:00
Philip Monk
89500460f7
clay: stop failed kelvin upgrades from retrying immediately
...
We were retrying failed kelvin upgrades as many times as we had apps
that needed to be suspended, because suspending an app triggers an
attempt to run the next kelvin upgrade. This suspends all those apps in
one batch move, and then tries the next kelvin upgrade only once at the
end.
Fixes #6407
Partially addresses #6285
2023-03-24 18:19:48 +02:00
yosoyubik
140e5d2b5f
ames: reorder |keen arms
2023-03-24 13:59:29 +01:00
yosoyubik
3269192b29
ames: remove mu/mi-trace
2023-03-24 12:44:20 +01:00
yosoyubik
ce02fecc41
ames: use +abed properly for |mi and |mu
2023-03-24 12:14:31 +01:00
~wicrum-wicrun
d76057cac7
ames: handle remote scry requests for gall data
2023-03-23 18:51:19 +01:00
yosoyubik
439184fa7c
ames: add +abed arms to peer-core
2023-03-23 12:54:22 +01:00
yosoyubik
d214fad1bd
Revert "ames: make +abet pure"
...
This is stil a WIP and has not been tested so reverting commit
e4182f52a9
.
2023-03-23 10:41:56 +01:00
yosoyubik
3c158b2491
ames: move etch-hunk out of the fine core
2023-03-23 10:19:54 +01:00
yosoyubik
8b0bd25a45
ames: rename keen-core -> ke
2023-03-23 06:45:14 +01:00
~wicrum-wicrun
f297762ab9
clay (and everything else) compiles
2023-03-22 23:24:55 +01:00
yosoyubik
2545e05c7a
lull: implement +wyt for getting the size of a |deq
2023-03-22 12:26:50 +01:00
Ted Blackman
9772114f6f
wip clay somewhat closer to compiling, but fails on hit.dom
2023-03-21 17:33:50 -06:00
Ted Blackman
03b3f75ae1
clay: dome->domo, compilation still fails though
2023-03-21 14:59:34 -06:00
Joe Bryan
817125ba51
ames: fix up merge resolutions (compiles!)
2023-03-21 13:38:59 -04:00
yosoyubik
dd0f35c8ad
Merge branch 'm/contdist-and-behn' into i/5788/remote-scry
2023-03-21 18:01:17 +01:00
yosoyubik
e4182f52a9
ames: make +abet pure
2023-03-20 09:19:27 +01:00
yosoyubik
1144fb3f28
ames: use the %rcv flag when hearing a packet
2023-03-18 19:16:10 +01:00
yosoyubik
d645fcc862
ames: always ack %hear tasks on corked bones
2023-03-18 19:06:16 +01:00
yosoyubik
80914289b2
ames: fix %snub queued evet update
2023-03-17 18:51:27 +01:00
yosoyubik
003613d1d5
Merge branch 'develop' into yu/ames-snub-whitelist
2023-03-17 14:05:38 +01:00
fang
e11ac8a1c8
eyre: deduce channel mode from headers, not url
2023-03-16 14:32:02 -06:00
fang
10fe204c9e
eyre: add support for noun-based channels
...
Adds a "mode" to channels, which can be set to either %json (current
behavior) or %jam. For %jam channels, aside from the SSE framing, all
communication happens through @uw-encoded jammed nouns. This applies to
both outgoing channel events, as well as incoming channel requests.
We choose @uw-style encoding because raw bytestreams are fragile and
cannot work inside the SSE stream context.
Currently, a separate endpoint (/~/channel-jam/etc) is used to indicate
%jam as the desired mode for a channel. We will probably want to make
this a bit cleaner, not least because it's not currently implemented as
a formal standalone endpoint, but also to give it stronger aesthetic
equivalence with the existing channel endpoint. Putting the mode in the
file extension is a tempting option here, but semantically not quite
right.
Connecting to the same channel across multiple modes is currently
supported, but it's untested, and unclear whether this is desirable or
not.
2023-03-16 14:31:45 -06:00
tadad
328a3d687d
Merge branch 'develop' into i/6303/eyre-verbose
2023-03-16 09:36:27 -06:00
Josh Lehman
dbe6f7fd20
Merge branch 'develop' into i/6264/ames-snub-whitelist
2023-03-16 08:30:57 -07:00
yosoyubik
02f01cf14c
Merge branch 'develop' into i/6103/ames-refactor
2023-03-16 09:27:22 +01:00
dachus
0286ca7b5b
dome:clay => domo, moved to lull, full scry enabled
2023-03-15 08:35:59 -04:00
dachus
540a4948ca
flue added to cone
2023-03-15 08:35:58 -04:00
dachus
9c2c128b69
and moved to lull
2023-03-15 08:35:58 -04:00
pkova
d9c9b4150b
lull, eyre: remove scry adapters for /~/name endpoint
2023-03-15 08:35:58 -04:00
yosoyubik
3654431f3a
ames: sanity check abetting the sink core
2023-03-15 10:35:08 +01:00
yosoyubik
943690f8ee
ames: remove unused %krocs and %corks logic
...
%krocs is still in peer-state, in lull.hoon and can be removed
next time ames-state is updated, same as for %corks (only in ames-state)
2023-03-12 13:47:40 +01:00
yosoyubik
86bad20baf
ames: no-op if bone has been corked on the sender
2023-03-12 10:05:33 +01:00
yosoyubik
c1974b30b2
ames: clean up clogged conditional
2023-03-12 09:59:11 +01:00
yosoyubik
2724523a26
Merge branch 'develop' into i/6103/ames-refactor
2023-03-12 09:46:44 +01:00
yosoyubik
34f9a49b73
ames: log pleas for corked bones
2023-03-12 09:45:33 +01:00
yosoyubik
707cbd63ab
ames: always ack recork pleas
2023-03-12 09:36:51 +01:00
yosoyubik
f58fcfd41d
ames: no-op if bone has been corked on the sender
2023-03-12 08:47:44 +01:00