Commit Graph

12985 Commits

Author SHA1 Message Date
drbeefsupreme
2ba36f97ac
naive: l2 csv remove space from line >80 char 2022-04-06 12:16:57 -04:00
drbeefsupreme
e70b036e07
naive: l2 csv correct tx-data initialization
it seemed to work correctly before, but this makes it more clear that
we're doing the right thing
2022-04-06 12:10:00 -04:00
drbeefsupreme
fe9481d9b9
naive: l2 csv remove wip comment
it's done better now
2022-04-06 11:58:21 -04:00
drbeefsupreme
d38d8ab371
naive: remove name collision for block
the face block was being used for both blocknums and [blocknum
block-dat], this makes all blocknums called blocknum instead
2022-04-06 11:55:20 -04:00
drbeefsupreme
a4250cbac0
naive: l2 csv error handling for child threads
use +mean instead of just a bare ~|
2022-04-06 11:50:44 -04:00
drbeefsupreme
76b195e4ce
naive: l2 csv style changes
no semantic differences
2022-04-06 11:44:28 -04:00
drbeefsupreme
77573850aa
Merge branch 'jon/thread-marks' into jon/l2-csv 2022-04-06 11:39:03 -04:00
drbeefsupreme
098f0b9535
strandio: fix +await-thread %thread-fail handling
we need to use ;; instead of !< since the %thread-fail mark just returns
a raw noun
2022-04-06 11:34:25 -04:00
~datnut-pollen
a7005dcddb
naive: l2 csv apply ~wicdev's style suggestions
Co-authored-by: Philip Monk <phil@pcmonk.me>
2022-04-06 10:51:07 -04:00
fang
51d252be24
ph: include missing library function 2022-04-06 16:44:08 +02:00
drbeefsupreme
a44781f47b
strandio: fix +await-thread %thread-fail handling
we need to use ;; instead of !< since the %thread-fail mark just returns
a raw noun
2022-04-06 10:42:21 -04:00
David Farrell
4f1ebe8416 interface: remove share profile chat button
Removes the "Share private profile?" text and button that appear
at the top of the chat window when the ship has not opted in to sharing
their profile.

fixes urbit/landscape#1195
2022-04-06 09:51:50 -04:00
fang
9bbf6dfad0
aqua: disable cache loading for real ships for now
It breaks some of the azimuth-related tests in a seemingly inconsistent
way, and I cannot find a way to make it work.
2022-04-06 14:52:21 +02:00
fang
fa1a04ea6e
aqua: support using real moons
Only "shortmoons" though, due to some ames lane size limitation which
makes encoding longer ships difficult.

Notably the -ph-moon-az test does not pass, the moon cannot talk to a
non-sponsor galaxy.
2022-04-06 14:51:02 +02:00
Philip Monk
4131821b4f clay: unify all trie implementations
We had trie operations independently implemented in +de in arvo,
+an:cloy in zuse, +zu in clay, lib/trie, and app/spider.  This unifies
them all into +de in arvo, aggregating the used operations.
2022-04-06 00:19:38 -07:00
Philip Monk
0f6f2d6321 clay: bump kelvin, refactor 2022-04-06 00:18:23 -07:00
Philip Monk
90a2625016 clay: style 2022-04-05 20:30:52 -07:00
Hunter Miller
c35f6f19e6 notifications: refining language, dnd prevents badge and browser notify, still get hark state 2022-04-05 19:21:44 -05:00
Hunter Miller
f246cbf32a lock: fixing sizing 2022-04-05 19:20:20 -05:00
Hunter Miller
45b5100601 dialog: fixing weird white flash from brave on window unfocus 2022-04-05 19:19:58 -05:00
Hunter Miller
f085c37ecc browser-settings: making types more robust and fixing setting clearing bug 2022-04-05 18:29:29 -05:00
fang
14f518ef4a
ph: clarify comment in moon test 2022-04-05 23:05:07 +02:00
Patrick O'Sullivan
1d7b5d648a grid: Move browser not. toggle into notification tab, remove dnd 2022-04-05 09:44:28 -05:00
Patrick O'Sullivan
0f3ba4f296 grid: Remove unnecessary space, comma from interface settings 2022-04-04 13:33:49 -05:00
Patrick O'Sullivan
ed9b58c3f9 Update copy for browsers that can't register protocols 2022-04-04 13:32:14 -05:00
Liam Fitzgerald
0eb1295f7b interface: use object-fit:cover
This aligns image embeds with the wishes of the design team, by zooming
and cropping the image to fill the entire container
2022-04-04 12:24:23 -05:00
Philip Monk
73180a0d94
Merge pull request #5670 from urbit/jon/thread-marks
spider: fix child threads
2022-04-01 16:48:15 -07:00
Patrick O'Sullivan
f484ce6da6 grid: fix sort order in notifications 2022-04-01 17:29:27 -05:00
Patrick O'Sullivan
a6e196a0fd groups: fix sort order in notifications 2022-04-01 17:18:32 -05:00
Patrick O'Sullivan
c650d1d477 groups: fix issue with wrapping urls in notes 2022-04-01 14:23:23 -05:00
Hunter Miller
c3b491ddb0 groups-pane: refining loading strategy to be more efficient 2022-04-01 12:18:43 -05:00
Hunter Miller
65e05fbf25 api: turn off verbose 2022-03-31 17:26:06 -05:00
fang
69c3976460
aqua: remove todo list note
Was committed accidentally.
2022-03-31 23:39:20 +02:00
Liam Fitzgerald
185ee5f661 interface: fix reconnect logic 2022-03-31 14:55:03 -06:00
Liam Fitzgerald
66536bebcd @urbit/api: do not reconnect if there is a FatalError 2022-03-31 14:52:18 -06:00
Patrick O'Sullivan
e3f2250b02 grid: remove debug statement 2022-03-31 15:24:18 -05:00
Hunter Miller
1d1b9ae863
Merge branch 'next/groups' into lf/landscape-floor 2022-03-31 12:28:29 -05:00
Liam Fitzgerald
58cd0bd4f3 interface: address hunter review 2022-03-31 10:56:45 -06:00
Patrick O'Sullivan
de30c0ef19 grid: fix mock notification data to match new type def 2022-03-31 11:54:34 -05:00
Patrick O'Sullivan
2af86d64ba npm: fix HarkBody type def for time 2022-03-31 11:49:21 -05:00
Patrick O'Sullivan
7108bfa7c7 groups: remove debug statement from chatinput 2022-03-31 11:39:54 -05:00
Hunter Miller
1949174f63
Merge pull request #5682 from urbit/po/fix-silent-s3-failures
groups: fix silent s3 failures
2022-03-31 11:26:40 -05:00
Patrick O'Sullivan
0d3f4ec554 groups: clear s3 error state on succesful upload 2022-03-31 11:23:52 -05:00
Hunter Miller
9b59f26c6c bootstrap: moving data calls to relevant component so it always loads 2022-03-31 11:07:08 -05:00
Hunter Miller
687b23e519 useFileUpload: fixing stale closure 2022-03-31 11:06:38 -05:00
Patrick O'Sullivan
846fe48e7a groups: lift uploadError state to ChatPane, refactor nested ternary 2022-03-31 11:04:24 -05:00
Patrick O'Sullivan
cc1048dd21 groups: add padding to error box in collections 2022-03-31 10:52:31 -05:00
Patrick O'Sullivan
ff65c17376 groups: remove fixed height from s3 error portal 2022-03-31 10:50:10 -05:00
Hunter Miller
6dc763a7d1 s3client: adding missing promise call to trigger 2022-03-31 09:42:10 -05:00
Patrick O'Sullivan
7f41869895
Merge pull request #5656 from urbit/lf/hark-add-note-ui
hark: add %add-note JSON decoder
2022-03-30 15:44:07 -05:00
Hunter Miller
b1aab5bc36 Merge branch 'next/groups' into hm/fix-missing-channel-state 2022-03-30 15:29:32 -05:00
Patrick O'Sullivan
9db2024676 groups: handle s3 upload failures in chat 2022-03-30 15:04:01 -05:00
Patrick O'Sullivan
836cdb2478 groups: handle s3 upload failures in collections 2022-03-30 14:12:13 -05:00
fang
30be6ef9c8
aqua: stub out azimuth snapshot in pills
It would interfere with aqua's simulation of azimuth.
2022-03-30 17:38:09 +02:00
fang
3d639f325e
aqua: cache real ships as well
And inject their latest keys as soon as we pull them from cache. This
way, we avoid having to do the whole boot sequence again just for a
modified dawn event.
2022-03-30 16:38:48 +02:00
fang
2f3527921a
aqua: increase azimuth refresh rate for real ships
This reduces the time it takes to run tests that wait on azimuth events.
For example, -ph-breach-hi runs ~30% faster.
2022-03-30 13:59:10 +02:00
fang
dad82436be
aqua: support injecting arbitrary tasks 2022-03-30 12:51:46 +02:00
fang
c55975e8de
azimuth: allow configuring of the refresh rate
Pulls a constant out of the code, into state, and adds a poke for
changing it.
2022-03-30 12:19:57 +02:00
Patrick O'Sullivan
618474dbae
Merge pull request #5660 from urbit/po/new-browser-api-toggles
grid: new browser api toggles/settings
2022-03-29 18:28:34 -05:00
Patrick O'Sullivan
2b784caffc groups: remove TODO about harkbody def, fix in separate PR 2022-03-29 09:18:57 -05:00
Liam Fitzgerald
75a2c2b979 interface: static height for embedded images 2022-03-28 14:44:02 -06:00
Liam Fitzgerald
be722a246b dm-hook: fix missing notification on DM invite
Fixes urbit/landscape#1117
2022-03-28 14:33:18 -06:00
Patrick O'Sullivan
a63e54cdfe grid: Fix notification order in inbox 2022-03-28 15:07:02 -05:00
Liam Fitzgerald
41d42da34c interface: fix group feed unread count
Fixes urbit/landscape#1258
2022-03-28 13:54:37 -06:00
Liam Fitzgerald
d4658089a9 hark-graph-hook: revive unread counts for group feed
Fixes urbit/landscape#1258
2022-03-28 13:53:22 -06:00
Patrick O'Sullivan
952a05a901 groups: fix notification order 2022-03-28 14:52:28 -05:00
Liam Fitzgerald
e31c194a20 interface: fix group chat join overflow
fixes urbit/landscape#1105
2022-03-28 12:49:43 -06:00
Liam Fitzgerald
a7906641a7 interface: cap maxHeight of ShipSearch
Fixes urbit/landscape#1393
2022-03-28 12:30:19 -06:00
Liam Fitzgerald
7a6cb8ae6d interface: do not show recently joined if already left
Fixes urbit/landscape#1407
2022-03-28 12:19:19 -06:00
Liam Fitzgerald
88a47ce883 hark-store: fix ship parsing 2022-03-28 10:13:52 -06:00
drbeefsupreme
5ff408057b
squash! spider: mv %thread-done %thread-fail to base-dev 2022-03-28 10:48:43 -04:00
drbeefsupreme
19db24acdd
spider: mv %thread-done %thread-fail to base-dev 2022-03-28 10:42:05 -04:00
Patrick O'Sullivan
de493a6482 groups:Remove useEffect for setting prot. handler from Content 2022-03-28 09:24:51 -05:00
Patrick O'Sullivan
c896349246 groups:Remove button for registering prot. handler in settings 2022-03-28 09:23:44 -05:00
Joe Bryan
9a1b3eaf15
Merge pull request #5664 from urbit/jb/type-leak
hoon: plug type leak in compiler bootstrap
2022-03-28 09:08:59 -04:00
Philip Monk
90098067f2 clay: extend %tomb to delete all unneeded blobs 2022-03-26 14:37:46 -07:00
Philip Monk
ee3951e2df clay: require non-dead files at head of remote 2022-03-25 22:15:53 -07:00
Philip Monk
4278d4c8b3
Merge pull request #5673 from urbit/philip/fix-uno
hoon: fix +uno:by when map is null
2022-03-25 18:23:32 -07:00
Philip Monk
07d01a0071 Merge branch 'philip/fix-uno' into philip/tomb 2022-03-25 18:11:34 -07:00
Philip Monk
50fb239d2f hoon: fix +uno:by when map is null
This crashed at runtime when `a` is null because it tried to instantiate
`meg`, and that means bunting its argument, and that calls `node`, where
the assert failed.

Wet gates use the bunt of their formal argument, so we use that.
2022-03-25 18:08:13 -07:00
Philip Monk
6e641005a0 clay: add upgrade to %11 2022-03-25 18:02:22 -07:00
Philip Monk
fb3f74f639 clay: prefer life 2022-03-25 15:32:38 -07:00
drbeefsupreme
5d9d4af0c0
squash! squash! squash! naive: l2 csv more informative printfs & comments 2022-03-25 18:10:29 -04:00
drbeefsupreme
656a86479f
spider: fix child threads
addresses #5442 by adding %thread-done and %thread-fail marks. also
fixes await-thread:strandio and removes some blank lines from
app/spider.hoon

%thread-done loses the type of the result, so you'll need to use ;; to
get it back. the real way to fix this is to have threads produce cages
instead of vases
2022-03-25 18:01:48 -04:00
drbeefsupreme
534849ba92
squash! squash! naive: l2 csv more informative printfs & comments 2022-03-25 17:42:43 -04:00
drbeefsupreme
48d3b3f4d2
squash! naive: l2 csv more informative printfs & comments 2022-03-25 17:25:24 -04:00
drbeefsupreme
2de2b8cbd0
naive: l2 csv more informative printfs & comments 2022-03-25 17:17:45 -04:00
drbeefsupreme
1941c91215
naive: l2 csv factor out %eth-get-tx-receipts
adds a new thread for retrieving transaction receipts, and modifies
naive-csv
to call it as a child thread
2022-03-25 17:04:45 -04:00
Patrick O'Sullivan
bb4c4841ae grid: check for settings load before checking browser settings 2022-03-25 15:40:37 -05:00
Patrick O'Sullivan
8c31150571 grid: set default settings after sending notification 2022-03-25 15:23:28 -05:00
drbeefsupreme
efca5bfedc
naive: l2 csv factor out %eth-get-timestamps
requires child threads to be working
2022-03-25 16:17:40 -04:00
Philip Monk
ef9521272a Merge remote-tracking branch 'origin/lf/ford-memory-shit' into philip/tomb 2022-03-25 13:13:24 -07:00
Philip Monk
c5fda496ac clay: add basic %tomb 2022-03-25 13:13:09 -07:00
Philip Monk
fb05255a83 clay: align comments 2022-03-25 12:38:51 -07:00
Liam Fitzgerald
0cdd048903 graph-store: subscribers always keep minimal logs
Transposes the change in 1a2a9ee899 so
that subscribers always keep the minimum possible logs.
2022-03-25 13:35:44 -06:00
Philip Monk
99a10aa7a8 clay: use XX for things that really need to change 2022-03-25 12:33:48 -07:00
Patrick O'Sullivan
ef77aaf802 groups: Use garden's prot. hand. prefs to determine app link 2022-03-25 14:30:26 -05:00
Patrick O'Sullivan
1399ef9fa5 groups: Add useGardenSettings store to groups 2022-03-25 14:28:07 -05:00
Patrick O'Sullivan
df280daee3 groups: Set browserId in local state on mount of app 2022-03-25 14:27:30 -05:00
Patrick O'Sullivan
0a5cd0041d groups: Add browserId to local state 2022-03-25 14:26:18 -05:00
Patrick O'Sullivan
66451c9089 groups: Add fingerprintjs 2022-03-25 14:25:07 -05:00
Philip Monk
0c3eee07b5 Merge remote-tracking branch 'origin/master' into philip/tomb 2022-03-25 12:21:56 -07:00
Hunter Miller
60d5d4ffcf bootstrap: optimizing order a little more 2022-03-25 12:55:54 -05:00
Hunter Miller
78a0796a74 bootstrap: removing unnecessary clear and moving hark a little higher 2022-03-25 11:42:42 -05:00
drbeefsupreme
4a403a676d
naive: l2 csv add @da to saved file 2022-03-25 11:28:45 -04:00
drbeefsupreme
9cb1cde9b4
naive: l2 csv change gasUsed to effectiveGasPrice 2022-03-25 11:27:01 -04:00
drbeefsupreme
2fdce9e6ca
naive: l2 csv add ^sein:title field 2022-03-25 11:22:26 -04:00
Joe Bryan
d937e131a4 hoon: preserve structural sharing by testing subject/product equality in +burp 2022-03-25 10:28:05 -04:00
Joe Bryan
15e570a622 hoon: plug type leak in vase literals by properly burping %hint 2022-03-25 10:27:32 -04:00
Philip Monk
a6832975c7 helm: add poke to helm to allow self-breaching moons
Intended use is for transitory moons to be able to breach themselves on
startup.

If you run a moon without persistence, then every time the program is
restarted, it must be breached.  This lets the moon breach itself
instead of requiring direct interaction with the planet.  The moon
should reserve the first bone for this purpose, and then every time it
starts up, it should send [%helm-moon-breach ~moon-name] to hood on the
planet.
2022-03-24 19:20:01 -07:00
Hunter Miller
a93c3975d7 any-ascii: lazy load for code-splitting 2022-03-24 19:22:47 -05:00
Hunter Miller
6a5b0e3a83 s3: lazy load aws sdk for code splitting 2022-03-24 19:21:56 -05:00
Hunter Miller
e3b2e166d7 bootstrap: moving and reordering, adding scries
This undoes some of the code-splitting done previously as it didn't
affect performance enough, and was actively hurting it in some ways.
Instead this moves the subscription initiation higher and adds scries
for critical data. This also shuffles the calls in App's useEffect so
that they are more colocated with relevant concerns.
2022-03-24 19:18:45 -05:00
Hunter Miller
edb4094301 groups: fixing bad prod build and missing react-refresh 2022-03-24 19:13:36 -05:00
drbeefsupreme
61e70c928b
squash! naive: l2 csv refactoring for readability 2022-03-24 19:12:54 -04:00
drbeefsupreme
b0cee44497
naive: l2 csv refactoring for readability
semantics should be unchanged
2022-03-24 18:20:31 -04:00
Liam Fitzgerald
1a2a9ee899 graph-store: drop unnecessary logs
Drops unnecessary logs for subscribers, to reduce memory usage. In local
testing, this incurred a 20% improvement in graph-store memory usage.
Note that publishers still retain the entire history, for backlog and
resubscribe purposes. Subscribers still retain a handful of updates so
that they can resubscribe upon kick correctly.
2022-03-24 13:31:15 -06:00
Patrick O'Sullivan
734b1310f8 grid: add ability to store/toggle per-browser settings 2022-03-24 11:27:27 -05:00
Patrick O'Sullivan
c222802b00 grid: add fingerpintjs to save per-browser settings 2022-03-24 11:22:34 -05:00
Jōshin
e1a4acdc70
Merge branch 'master' into next/arvo 2022-03-23 16:10:04 -06:00
fang
3259f1f588
aqua: fix most tests
Small touch-ups to simulation behavior and ph tests. Most of them pass
now, even if they're still really slow at times.

The breach ones don't pass, but also complain of dangling bone, so might
work once the fix for that is in.
2022-03-23 22:19:35 +01:00
Philip Monk
5ff4cc7f66
Merge pull request #5612 from ynx0/story
clay: add `story`, a set of tools to support commit messages
2022-03-22 21:49:16 -07:00
Philip Monk
17e237eae3 ted: remove unused -azimuth-tracker 2022-03-22 21:44:35 -07:00
Hunter Miller
1e29177b2a interface: improving channel load time/ordering 2022-03-22 19:05:24 -05:00
Liam Fitzgerald
a3ec1af915 @urbit/api: add add-note hark-store poke 2022-03-22 16:42:54 -06:00
Liam Fitzgerald
5a1ead5513 hark-store: add %add-note JSON decoder 2022-03-22 16:42:54 -06:00
drbeefsupreme
0786f62e8b
naive: l2 csv export csv file
passes to clay to ask it to write the csv to disk
2022-03-22 18:04:34 -04:00
drbeefsupreme
0f8ea20ac0
naive: l2 csv flatten data into list of tx
this takes all the gathered data and turns it into a list suitable for
transformation into a csv
2022-03-22 17:15:07 -04:00
Patrick O'Sullivan
dfcc0bf7c3 groups: remove debug statement 2022-03-22 15:20:16 -05:00
Patrick O'Sullivan
0a62aa8f22 groups: Fix <user> left <group> notifications 2022-03-22 15:17:29 -05:00
Patrick O'Sullivan
abd7e7f853 groups: Handle notifs received without links (like group updates) 2022-03-22 15:16:16 -05:00
Hunter Miller
ef4131061e Merge branch 'master' into next/groups 2022-03-21 18:20:51 -05:00
Hunter Miller
6e0b1096c2 grid: updating glob and version 2022-03-21 15:59:26 -05:00
Hunter Miller
82164abe2f Merge branch 'next/landscape' into hm/fix-tile-order-persistence 2022-03-21 15:26:04 -05:00
Patrick O'Sullivan
3c68499b86 grid: fix loop caused by useEffect in tilegrid 2022-03-21 15:15:39 -05:00
fang
804c8a8bb7
aqua: use cache for fake ships only
Boot sequence for real ships contains %dawn, which is affected by
azimuth state and may not be consistent.
2022-03-21 20:29:23 +01:00
Hunter Miller
77f0de4cb2 grid: initialize settings, add more checks around order correction 2022-03-21 14:08:28 -05:00
Liam Fitzgerald
dd70856188 clay: be careful with subject in ford results
This fixes a space leak where the entire ford/clay core would be
included in the ford cache. Heavily reduces memory usage by clay,
reducing total usage from 100-200MB to around 10MB.
2022-03-21 13:02:36 -06:00
Hunter Miller
3d2472f8b4 tile-grid: check for charges loaded, updating glob 2022-03-21 13:23:58 -05:00
Liam Fitzgerald
2def946ded clay: break out ford memory usage in more detail
Instead of reporting a single memory size for built files, marks and
conversions, we now report memory size per path, mark name and mark
pair, respectively.
2022-03-21 12:21:38 -06:00
Hunter Miller
ce39c22026 grid: updating bad glob entry 2022-03-21 13:05:28 -05:00
Hunter Miller
3cbe8e97fe grid: updating glob and version 2022-03-21 12:46:42 -05:00
Hunter Miller
7e193cf733 Merge branch 'next/landscape' 2022-03-21 12:43:21 -05:00
Hunter Miller
1806320786 tile-grid: ensure we aren't trying to display uninstalled apps 2022-03-21 11:51:05 -05:00
Jōshin
4be43d5e28
hoon: fix comment whitespace 2022-03-21 10:24:27 -06:00
yosoyubik
cff562b4c6 Merge branch 'next/arvo' into roller/batch-split 2022-03-20 14:27:50 +01:00
yosoyubik
cf838fd1d7 roller: add batch-trimming functionality
If a batch gets bigger than a max size defined by the ethereum node
the raw transaction is sent to, the /ted/roller/send thread will crash and
the batch will be blocked, stopping any subsequent batches to be sent.

This detects when the current batch reaches a certain threshold and only
includes transactions up to that point, moving the ones that are not sent
back to the pending queue, adjusting their history and finding status.
2022-03-20 14:07:27 +01:00
fang
3a4993f58c
aqua: cache results of booting ships from pill
This gives us much higher cycle times when retrying tests over and over,
since we can just fast-forward past the boot sequence, which never
changes unless we change the pill.
2022-03-19 00:24:23 +01:00
drbeefsupreme
c304f62b34
naive: l2 csv all relevant data in one map
puts timestamps, gas costs, and rolls+their effects into one map
2022-03-17 17:16:09 -04:00
drbeefsupreme
5171ec367a
naive: l2 csv get naive effects
passing the event log to naive.hoon and harvesting the diffs
2022-03-17 14:13:54 -04:00