Commit Graph

12696 Commits

Author SHA1 Message Date
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
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
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
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
Hunter Miller
77f0de4cb2 grid: initialize settings, add more checks around order correction 2022-03-21 14:08:28 -05:00
Hunter Miller
3d2472f8b4 tile-grid: check for charges loaded, updating glob 2022-03-21 13:23:58 -05: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
Hunter Miller
4fb718bd78 groups: update version and glob 2022-03-16 16:42:00 -05:00
Hunter Miller
3b300bc6dd grid: updating glob and version 2022-03-16 14:35:52 -05:00
Liam Fitzgerald
d42c04f1e5
Merge pull request #5631 from urbit/lf/notify-strip
notify: disable notifications dismissal
2022-03-15 15:24:36 -06:00
Hunter Miller
eb9c9688ed apps/docket: move all status to hook and make more reliable 2022-03-15 11:42:03 -05:00
Hunter Miller
c22bac9273
Merge pull request #5563 from urbit/hm/landscape-perf-optimization
groups: perf optimization
2022-03-15 11:26:19 -05:00
Hunter Miller
b98258e6e7 npm-api: making iswriter more defensive 2022-03-15 10:50:58 -05:00
Hunter Miller
466e4522e7 interface: removing react-refresh from babel config 2022-03-15 10:35:03 -05:00
Hunter Miller
0d290223b7 interface: fixing babel config 2022-03-15 10:23:49 -05:00
Hunter Miller
143c41540c interface: fixing type issues and ci 2022-03-15 10:17:30 -05:00
Hunter Miller
070f0ce278 Merge branch 'next/landscape' 2022-03-14 16:10:46 -05:00
Hunter Miller
a35f70ac59 Merge branch 'next/groups' 2022-03-14 15:56:49 -05:00
Patrick O'Sullivan
74149bc16f groups: do not notify user if mentioned in DM 2022-03-14 15:04:36 -05:00
Hunter Miller
a6d7ddd164 Merge branch 'next/groups' into hm/landscape-perf-optimization 2022-03-11 15:45:00 -06:00
Patrick O'Sullivan
01a07f6a5b npm: add preSig func to npm lib 2022-03-10 14:15:49 -06:00
Patrick O'Sullivan
8926179f75 groups: trim ship string on preSig 2022-03-10 12:23:42 -06:00
Patrick O'Sullivan
0f85623f25 groups: Use presig on group join links 2022-03-10 12:20:12 -06:00
Patrick O'Sullivan
97aee0f422 groups: Add preSig func to utils 2022-03-10 12:19:32 -06:00
Patrick O'Sullivan
9026712d5c Replace fill with class fill-current 2022-03-08 15:48:19 -06:00
Patrick O'Sullivan
38a4323911
Update pkg/grid/src/components/Checkbox.tsx
Co-authored-by: Hunter Miller <hunter@tlon.io>
2022-03-08 15:28:35 -06:00
Hunter Miller
53ae8f0886 tile-grid: filtering out system tile 2022-03-08 15:27:28 -06:00
Patrick O'Sullivan
aa5946aa70 groups/grid: Move security from groups to grid 2022-03-08 13:26:43 -06:00
Liam Fitzgerald
eeaa6d3c66 notify: disable notifications dismissal
Disables automatic dismissal of push notifications in an attempt to
tighten the debugging space. This should prevent unintentional 404s. To
prevent a space leak we clear notifications once a week on a timer.
2022-03-08 13:14:38 -06:00
Liam Fitzgerald
f042366a7d
Merge pull request #5622 from urbit/po/markdown-styling-around-ship-name
groups: Fix markdown styling around ship names in chat messages
2022-03-07 13:16:09 -06:00
Jake Miller
ed2da5d54f
Merge pull request #5605 from urbit/jm/archive-scry
graph-store: fix scrying into archive
2022-03-06 05:45:57 -05:00
Hunter Miller
531140ab24 tiles: adding drag and drop ordering 2022-03-04 18:50:54 -06:00
Patrick O'Sullivan
26d2d07d31 npm-api: add emphasis property to MentionContent type 2022-03-04 13:03:13 -06:00
Patrick O'Sullivan
4bc543a6ec groups: handle italic or bold markdown around @p's in messages 2022-03-04 12:46:16 -06:00
Hunter Miller
137e3970b9 Merge branch 'master' into next/landscape 2022-03-04 10:51:44 -06:00
Patrick O'Sullivan
d715c7d7cb landscape: Prevent adding duplicate ships to ShipSearch pills 2022-03-03 05:20:59 -06:00
Hunter Miller
6c221fbddc interface: updating glob to trigger properly uploaded glob 2022-03-02 18:32:45 -06:00
tomholford
3bbfd20022 Merge branch 'master' into next/landscape 2022-02-28 15:39:17 -06:00
Hunter Miller
c4bc9b3428 groups: updating glob and version 2022-02-28 11:32:05 -06:00
tomholford
5959b73ecb interface: use single sig in NotificationText
The `ProfileOverlay` component expects a `ship` arg as a patp without the sig. This deSigs the ship value used in `NotificationText`.

This closes urbit/landscape#1376
2022-02-25 15:24:14 -06:00
Liam Fitzgerald
cbb17a2135 interface: fix subscription reconnect issues
Restores subscription reconnect issues by correctly throwing a
FatalError so that subscriptions are correctly restarted
2022-02-25 13:25:18 -06:00
tomholford
4c25bcd586 devex: peg interface node version
See: https://nodejs.org/en/about/releases/
2022-02-24 16:32:39 -06:00
Hunter Miller
ce75499ae5 Merge branch 'next/groups' 2022-02-24 10:44:08 -06:00
tomholford
47338cffc6 Merge branch 'master' into next/groups 2022-02-23 17:14:34 -06:00
Hunter Miller
2da5e9c5ca landscape: fixing bad glob 2022-02-23 13:30:56 -06:00
Hunter Miller
b4adaf2fee landscape: updating glob and version 2022-02-23 10:45:32 -06:00
ryjm
7ce7d2622d graph-store: fix scrying into archive 2022-02-22 08:07:40 -05:00
fang
98c6c77ebb
Merge branch 'next/arvo' 2022-02-17 20:32:26 +01:00
Hunter Miller
2959549594
Merge pull request #5600 from urbit/mackenzie/theme-color
interface: adds `theme-color` meta tag, removes outdated safari web app meta tag
2022-02-15 16:32:10 -06:00
Mackenzie Davidson
7b835165e0 interface: adds theme-color meta tag, removes outdated safari web app meta tag
fixes urbit/landscape#1392
2022-02-15 12:27:04 -05:00
Jōshin
ca0a861c5e
zuse: add missing assertions 2022-02-09 14:14:12 -06:00
Liam Fitzgerald
981bcfdecc landscape: cache marks again
Fixes urbit/urbit#5590
2022-02-09 10:52:04 -06:00
rabsef-bicrym
22a69d38f4
%depth-first has pattern-matching issue
support a `%depth-first` scry constructed as follows `.^(* %gx /=graph-store=/graph/<ship of resource>/<name of resource>/depth-first/<count>/<start>/graph-update-3)`
2022-02-07 17:49:11 -08:00
Jōshin
64fcd685af
zuse: comment clarifying sk bounds check 2022-02-03 13:52:09 -06:00
Jōshin
4cef7dc38b
bounds-check against sk=1
+sign:schnorr crashes on `=(0 sk)`, so the bounds checking code is not
exercised for sk=0. It also crashes on `(gte sk n.domain.c)`, which is
redundant with the size check on sk, so we remove that.
2022-02-03 13:21:21 -06:00
Jōshin
f07f759253
zuse: style cleanup, use +rep/+end 2022-02-03 12:54:27 -06:00
Liam Fitzgerald
f3da5488ce Merge remote-tracking branch 'origin/next/groups' into lf/no-perms-rejoin 2022-02-03 11:12:43 -06:00
Jōshin
822eb6ea08
Merge branch 'next/arvo' into jo/secp-arvo 2022-02-02 20:34:11 -06:00
Liam Fitzgerald
b14dc76992 interface: refine joining error cases 2022-01-31 16:21:27 -06:00
Liam Fitzgerald
9540afecad group-view: fix errored rollback 2022-01-31 16:20:57 -06:00
Hunter Miller
874d380ad5 groups: updating version 2022-01-28 20:30:13 -06:00
Hunter Miller
dc188d6059 groups: fixing bad glob 2022-01-28 20:29:34 -06:00
Hunter Miller
de747b343f join: don't show modal if no kind 2022-01-28 19:51:35 -06:00
Hunter Miller
509bd2b11a groups: updating glob 2022-01-28 19:39:48 -06:00
Hunter Miller
0d93cf9cff join: handling kind safer and join links more consistent 2022-01-28 19:33:42 -06:00
drbeefsupreme
f67962b803
helm: cleanup +poke-rekey to match #5522 2022-01-28 12:23:36 -05:00
Hunter Miller
c07bcd6e03 Merge branch 'next/groups' 2022-01-27 10:25:14 -06:00
Hunter Miller
88e956df01 Merge branch 'next/landscape' 2022-01-27 10:24:04 -06:00
fang
d7d15115ee
Merge branch 'next/webterm' 2022-01-27 00:30:17 +01:00
fang
192f2cd19d
webterm: v1.0.1 2022-01-27 00:29:24 +01:00
drbeefsupreme
b5f299c02d
helm: fix |rekey to work with multikey files 2022-01-26 16:29:14 -05:00
Philip Monk
34bcd2ffcd
Merge pull request #5495 from urbit/m/whos-who
helm: bind /who.json
2022-01-26 12:47:47 -07:00
Hunter Miller
0abf7eecfe app: refactoring app to TS and removing lots of unused props 2022-01-26 12:21:19 -06:00
Hunter Miller
79f0fd98dd chat-resource: fixing admin detection 2022-01-26 10:29:04 -06:00
Hunter Miller
049a85bc60 Merge branch 'next/groups' into hm/landscape-perf-optimization 2022-01-25 17:05:32 -06:00
Hunter Miller
5426f2aff8 Merge branch 'next/groups' into hm/fix-group-dm-initial-load 2022-01-25 11:23:30 -06:00
Hunter Miller
86d9aba7fb garden,landscape: updating globs and versions 2022-01-24 16:14:26 -06:00
Liam Fitzgerald
14ca87c43c dm-hook: mutate screened before giving fact
Fixes an issue where the subscription update would contain stale data
2022-01-24 15:18:52 -06:00
fang
a51ac14833
webterm: improve readability of char under cursor
Make sure it's the opposite of the cursor color.
2022-01-24 14:33:25 +01:00
Liam Fitzgerald
c5c7946e5a
Merge pull request #5553 from urbit/la/proxy-sigs
graph-push-hook: proxy add and remove signatures across the network
2022-01-20 16:52:22 -06:00
Logan Allen
bb953945f8 graph-push-hook: proxy add and remove signatures across the network 2022-01-20 21:58:00 +00:00
yosoyubik
0c9fc76b93 eth-watcher: fix zoom-margin to account for reorgs
The previous value—used for testing—didn't consider
block reorgs, which meant that if we zoom to the latest
block that has no transactions, but that gets later replaced
by a 1-block reorg that does have a transaction, we'll miss it,
making our Azimuth state incomplete.

To fix it, we rewind the Azimuth state to the contents of the snapshot,
and then start retrieving logs from the latest one we have.
2022-01-19 17:41:05 +01:00
Hunter Miller
09f71e504b dms: don't load if pending 2022-01-18 14:38:45 -06:00
yosoyubik
3d943ec201 ames: ignore missing peer-state on-publ-sponsor 2022-01-18 20:34:32 +01:00
Hunter Miller
3bbaf6de80 join: making sure group is in state and retaining join request state 2022-01-13 16:15:38 -06:00
Hunter Miller
ed3b19cd0f sidebarlistheader: fixing potential undefined ref 2022-01-13 16:14:22 -06:00
fang
7be6950fe5
Merge branch 'm/helm-perms' into next/arvo 2022-01-13 00:36:22 +01:00
fang
b9491bcbb8
Merge branch 'master' into next/arvo 2022-01-13 00:36:07 +01:00
fang
0bc1f49f0f
drum: only process pokes from the local ship
No mark files exist for any of the drum marks, so trying to poke remote drums
would fail anyway, but relying on the mark system in that way seems a bit
fragile, so we add an explicit permission check.
2022-01-13 00:24:31 +01:00
fang
bde8c0b04a
helm: only process pokes from the local ship
No mark files exist for any of the helm marks (except `%helm-hi`), so trying to
poke remote helms would fail anyway, but relying on the mark system in that way
seems a bit fragile, so we add an explicit permission check.
2022-01-12 13:28:44 +01:00
jose
f158ebe312
Merge pull request #5532 from urbit/azimuth/jael-fix
jael: give new private key to subscribers on %keys new-event
2022-01-12 12:47:21 +01:00
yosoyubik
432d9674f5 jael: don't put conflicting this-su in the subject 2022-01-12 11:01:06 +01:00
Hunter Miller
c13ec5a698 notification-redirect: send to already joined chat instead of showing join modal 2022-01-11 19:36:06 -06:00
Hunter Miller
1ddd38e82c join: removing unused props, fixing invite 'kind' for proper linking 2022-01-11 19:32:51 -06:00
Hunter Miller
5fba433415 hark-update: fixing desk check 2022-01-11 19:30:53 -06:00
Hunter Miller
846502ef51 Merge branch 'next/groups' into hm/remove-dm-delete 2022-01-11 18:16:29 -06:00
Hunter Miller
4ee680807f Merge branch 'master' into next/groups 2022-01-11 18:15:25 -06:00
Hunter Miller
8efc0a9006 dms: hiding delete for dms and hiding dropdown if only reply 2022-01-11 16:43:57 -06:00
Hunter Miller
f6db32e669 webpack: fixing refresh in dev 2022-01-11 16:43:02 -06:00
Hunter Miller
158dfc0dec interface: fixing type errors 2022-01-11 16:42:38 -06:00
Liam Fitzgerald
6c1ce45815
Merge pull request #5489 from urbit/lf/fix-revoke
groups: fix permission handling
2022-01-10 11:11:12 -06:00
Liam Fitzgerald
f1f57abec0
Merge pull request #5485 from urbit/lf/recency-improvements
landscape: better leap searching
2022-01-10 11:10:51 -06:00
Liam Fitzgerald
b4512bf1a0
Merge pull request #5490 from urbit/lf/groups-grabbag
groups: misc frontend fixes
2022-01-10 11:08:14 -06:00
Liam Fitzgerald
4009f9d350
Merge pull request #5525 from urbit/lf/fix-dm-loading
DmResource: reload DM if cleared by kick
2022-01-10 11:07:25 -06:00
Liam Fitzgerald
a1aee5d2c8
Merge pull request #5519 from urbit/lf/fix-admin-remove
graph-validator-chat: allow admin removal of any message
2022-01-10 11:06:58 -06:00
Jōshin
ce05e562ed
test: schnorr bounds checking 2022-01-09 05:49:47 +00:00
Jōshin
71c59737d8
zuse: boundary assertions for schnorr
Just assert on mis-sized values.
2022-01-09 05:31:36 +00:00
Jōshin
4591fa272e
zuse: schnorr test cases
These are from:
<https://github.com/bitcoin/bips/blob/master/bip-0340/test-vectors.csv>
2022-01-09 05:28:22 +00:00
yosoyubik
fccf99e0a6 jael: refactor new-event for %keys diff
this also adds a %rerun %poke to /app/azimuth
2022-01-08 19:28:11 +01:00
yosoyubik
8535563de6 jael: give private key to subscribers on keys diff
Triggering this event has been added to /app/azimuth's +on-load
2022-01-08 09:48:28 +01:00
yosoyubik
583d5f5063 azimuth: process snapshot on-load 2022-01-07 18:13:51 +01:00
Hunter Miller
1ddc7fee83 types: fixing type issues from merge 2022-01-07 11:08:59 -06:00
yosoyubik
1950736518 azimuth: update snapshot at block 13.958.653 2022-01-07 17:31:49 +01:00
fang
afea2edc59
webterm: improve selection look & feel 2022-01-07 14:02:28 +01:00
Hunter Miller
9c5f90fe3b Merge branch 'next/groups' into hm/landscape-perf-optimization 2022-01-06 16:52:55 -06:00
Hunter Miller
4834ec59a2 Merge branch 'master' into next/landscape 2022-01-06 16:25:04 -06:00
Liam Fitzgerald
a42b344559 DmResource: reload DM if cleared by kick 2022-01-06 13:55:22 -06:00
yosoyubik
8df443bc46 azimuth: remove eth-logs 2022-01-06 16:43:28 +01:00
Hunter Miller
318cb9f00e Merge branch 'master' into next/landscape 2022-01-05 16:59:32 -06:00
Liam Fitzgerald
05de25a22f graph-validator-chat: allow admin removal of any message 2022-01-04 15:11:24 -06:00
Jōshin
40fbd16036
zuse: schnorr address 2021-12-30 05:46:44 +00:00
Jōshin
cb5983c6ae
zuse: schnorr jet hints 2021-12-30 04:25:31 +00:00
Jōshin
f93457ce9c
zuse: style 2021-12-30 04:14:25 +00:00
Jōshin
0fb3dd5ed0
zuse: cleanup 2021-12-30 00:47:11 +00:00
Jōshin
022ec2867d
zuse: banish byte twiddling from schnorr
Actually it's just hidden in +sha-256l:sha now.
2021-12-30 00:42:47 +00:00
Jōshin
57ef17fc91
zuse: signatures were backwards 2021-12-29 23:58:31 +00:00
Jōshin
09294d79bc
zuse: unused ffra 2021-12-29 23:50:16 +00:00
Jōshin
4c6187787f
zuse: remove redundant flips on sig 2021-12-29 23:50:16 +00:00
Jōshin
4f1269b205
zuse: cleanup in schnorr 2021-12-29 23:50:15 +00:00
Jōshin
b296f3912e
zuse: verify:schnorr works 2021-12-29 23:50:15 +00:00
Jōshin
ab4b735471
zuse: sign:schnorr basically done
Schnorr's choice of big-endian encoding commits us to some degree of
byte twiddling; try to make this fairly seamless.
2021-12-29 23:49:54 +00:00
Jōshin
f39421c97b
zuse: flip bytes in sig
gross!
2021-12-29 19:02:51 +00:00
Jōshin
a1c548ced4
zuse: schnorrsig-sign from spec
test vectors match, but are byte-flipped. has to do a lot of endianness
twiddling.
2021-12-29 18:57:45 +00:00
Jōshin
aa3bbe165e
zuse: schnorrsig stubs 2021-12-25 08:47:43 +00:00