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
~wicrum-wicrun
e0904c105c
sss: add +fork
and +copy
2023-04-18 21:54:17 +02:00
Joe Bryan
2029fe7b23
tests: removes userspace deq import
2023-04-18 11:05:03 -04:00
Joe Bryan
80a1cf626c
ames: cleanup comments/whitespace
2023-04-18 10:34:47 -04:00
Joe Bryan
6a2c8a7635
dbug: cleanup comments, remove unused +orm
2023-04-18 10:34:34 -04:00
Joe Bryan
33ffd5136c
base: removes userspace lib/deq (also in %lull)
2023-04-18 10:28:51 -04:00
Joe Bryan
3dba309e87
delete old, empty wireshark module
2023-04-18 10:26:10 -04:00
Joe Bryan
5cbbc5be12
lull: cleanup ames interface and comments
2023-04-18 10:25:49 -04:00
Joe Bryan
c864f95598
ames: drop %pine
2023-04-18 10:25:45 -04:00
yosoyubik
e0c0470a6e
tests: fix %fine response signature validation
2023-04-18 09:12:35 +02:00
yosoyubik
07a6b2e06f
tests: check CI with failing signature test
...
This test is failing locally but the signature comes from
+make-meow:etch-hunk:ames which should be the
expected value for the test -- compare result with CI
2023-04-18 05:33:05 +02: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
50f5abc138
tests: removes spurious vases from %tune
2023-04-17 17:47:03 -04:00
Joe Bryan
2cb0a06976
ames: fix build, bypassing alias
2023-04-17 16:08:01 -04:00
Josh Lehman
888bad3551
Merge pull request #6487 from urbit/master
...
Merge master back to develop after urbit-os-v2.137-hotfix1
2023-04-17 08:48:54 -07: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
eee2b1aabf
gen: fix -pine
2023-04-17 14:24:21 +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
Pyry Kovanen
d6f7524b72
Merge pull request #6484 from urbit/release/urbit-os-v2.137-hotfix1
...
Hotfix broken old %ames loads
2023-04-14 22:17:39 +03:00
pkova
de44780981
ames: properly migrate old %snub tasks
2023-04-14 21:56:55 +03: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
Ted Blackman
4cf5193294
Merge pull request #6461 from urbit/i/6451/reset-naxplanations
...
ames: reset timer for naxplanations on corked bones
2023-04-14 13:16:49 -04:00
~wicrum-wicrun
802cdb0c2a
sss: fix memory leak on publisher
2023-04-14 10:08:32 +02:00
yosoyubik
69a5c5e6df
ames: factor out is-corked logic into a gate
2023-04-14 09:12:16 +02:00
Ted Blackman
f3d2df087a
Merge pull request #6463 from ashelkovnykov/json-new
...
zuse: changes in preparation for JSON jets
2023-04-13 11:58:55 -04: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
Josh Lehman
03e85551f6
Merge pull request #6472 from urbit/x/json-bgon
...
eyre: add support for noun-based channels
2023-04-12 12:32:12 -07:00
fang
4bc88f2825
tests: patch eyre tests for channel modes
...
Since the tests call arms from eyre directly, these had to be updated
alongside it, to now specify the channel mode in light of which the
request should be parsed.
Includes smoke tests for jam-mode channels.
2023-04-12 19:33:05 +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
Alex Shelkovnykov
30044fbc1e
Add jet hints
2023-04-11 14:59:15 -06:00
Alex Shelkovnykov
e61d84d57b
Replace +en:json:html code with cord version
...
Encode JSON to cord instead of tape. Code copied from @joemfb 's
version.
2023-04-11 14:59:15 -06:00
Alex Shelkovnykov
ac1a0ffdee
Change JSON parser arms to match |base16:html
2023-04-11 14:59:15 -06:00
Alex Shelkovnykov
28ed583d29
Fix bug in .en-json:html (missing escaped char)
...
The backspace character was not being escaped like other invisible
characters.
2023-04-11 14:59:15 -06:00
Alex Shelkovnykov
3537ef56c3
Fix JSON parser decoding for UTF8
...
JSON supports Unicode as both UTF8 sequences and escaped UTF16. UTF8 is
encoded as between 2 and 4 bytes, the first byte of which governs the
length. The JSON parser was previously accepting any non-ASCII bytes as
UTF8 in any order.
See:
- https://www.crockford.com/mckeeman.html
- https://www.json.org/json-en.html
- https://en.wikipedia.org/wiki/UTF-8#Encoding
2023-04-11 14:59:15 -06:00
Alex Shelkovnykov
1472dadf4d
Add validation functions for UTF8
2023-04-11 14:59:15 -06:00