Commit Graph

12602 Commits

Author SHA1 Message Date
Jōshin
fd7d315e3b
khan: wip fyrd 2022-01-25 15:37:48 -08: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
Jōshin
30df250c7d
khan: closer to starting threads 2022-01-22 01:46:59 +00:00
Jōshin
a247113c57
khan: %done task 2022-01-22 01:46:12 +00:00
Jōshin
3cf803129d
khan: basic +call, types 2022-01-21 22:09:01 +00:00
Jōshin
575ff61fa6
khan: vane skeleton 2022-01-21 18:48:05 +00: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
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
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
Mackenzie Davidson
da2b31750b theme_color meta precedence corrected 2021-12-20 13:20:59 -05:00
Mackenzie Davidson
bc249fc204 replace theme color override with existing background color value (rgb(26, 26, 26), in hex) for dark mode users 2021-12-20 13:15:02 -05:00
Mackenzie Davidson
453a253091 override theme_color in manifest 2021-12-20 13:12:33 -05:00
Mackenzie Davidson
f9c76914a9 Merge branch 'master' of https://github.com/mwvd/urbit into html-theme-updates 2021-12-20 12:58:49 -05:00
Philip Monk
e243d5adf6
landscape,garden: make build
Boot was broken, fixing the hark-note file mark and re-adding the
hark-store library fixed it.

This lets us push a new pill, which is necessary for the fix in #5434 to
actually work.

Fixes #5501
Fixes #5502
2021-12-18 22:54:49 -08:00
Joe Bryan
1657c548cc Merge branch 'master' into next/arvo
* master:
  [nix] track nixos-21.11 branch whenever niv updates, bump to include qemu-in-virtualization fix
  webterm: v1.0.0
  herm: permission checks
  herm: avoid trailing empty path segments
  pmnsh: update secp256k1 configure flags
  secp256k1: use nixpkgs provided secp256k1 and add to sources-pmnsh
  webterm: remove border, let term live in page
  theme: cleaning up a few mismatches
  webterm: handle old-style blits and belts
  build: correct lmdb static builds
  build: explicitly override h2o build platforms to support darwin
  ci: upgrade cachix/install-nix-action from v13 -> v16
  build: remove haskell related nix code and haskell.nix dependency
  webterm: update imports
  @urbit/api: move term types
  webterm: fix broken imports
  webterm: update package name for lerna
  webterm: commit missing api files
  webterm: backport
2021-12-17 23:39:04 -05:00
Joe Bryan
663934b5cf
Merge pull request #5478 from urbit/bh/remove-haskell-nix
build: remove urbit-king haskell releases and haskell.nix dependency
2021-12-17 20:36:21 -08:00
fang
970075bbcd
helm, docket: bind /who endpoint in helm instead
This seems like a better place.
2021-12-17 00:42:57 +01:00
Joe Bryan
e8cdafddfc arvo: refactor |mass output, make vane /whey peek optional 2021-12-16 12:21:21 -05:00
Joe Bryan
32e1ed0a15 arvo: fix type typo (s/mein/mien/g) 2021-12-16 12:15:48 -05:00
yosoyubik
1bda134280 azimuth: update /app/azimuth snapshot 2021-12-15 08:31:26 +01:00
fang
81f1d816e0
docket: bind /who.json 2021-12-14 22:42:42 +01:00
fang
dd6b090bfa
Merge pull request #5454 from urbit/m/backport-nu-webterm
webterm: backport
2021-12-14 19:23:23 +01:00
fang
960f2b1ae2
webterm: v1.0.0 2021-12-14 17:17:32 +01:00
yosoyubik
5d4a410653 roller: don't set :frequency timer on commit 2021-12-14 16:39:22 +01:00
yosoyubik
d0309abfd8 roller: get suggested gas price only for mainnet 2021-12-14 15:44:43 +01:00
yosoyubik
1b278ce104 dice: dont print %failed logs in tx-effects 2021-12-14 15:27:44 +01:00
yosoyubik
fc540bf209 roller: handle sending malformed batches 2021-12-14 15:24:25 +01:00
Liam Fitzgerald
e8ba3b5f73 metadata-push-hook: address mark review 2021-12-14 08:50:57 -05:00
yosoyubik
d1a04c7c54 Merge branch 'naive/snapshot' into roller/gas-price 2021-12-14 09:41:22 +01:00
yosoyubik
4724c32d3d pill: load azimuth snapshot file with mime mark 2021-12-14 09:40:34 +01:00
yosoyubik
0c7ada2076 roller: fix response parsing from gasoracle 2021-12-13 19:16:47 +01:00
Liam Fitzgerald
bfaec1daab interface: address hunter review 2021-12-13 10:23:37 -05:00
Liam Fitzgerald
7252c7c1da interface: fix unreads not clearing chats
Fixes urbit/landscape#761
2021-12-13 08:44:29 -05:00
Liam Fitzgerald
740d9b796e interface: inset by safe-area on iOS
Fixes urbit/landscape#242
2021-12-13 08:25:59 -05:00
fang
fd375c1d90
herm: permission checks
Make sure herm can only be interacted with by the local ship.
2021-12-13 14:25:14 +01:00
fang
c7c601c041
herm: avoid trailing empty path segments
append /view to the existing subscription paths to "wrap" the possibly
empty path segment of the session name.
2021-12-13 14:24:20 +01:00
Liam Fitzgerald
917b53b374 interface: add disable spellcheck setting
Fixes urbit/landscape#79
2021-12-13 08:18:38 -05:00
Liam Fitzgerald
dc305371bc interface: strip apps from landscape omnibox
Fixes urbit/landscape#1295
2021-12-13 08:02:14 -05:00
Liam Fitzgerald
0e847ec53c landscape: do not show cross-desk notifications 2021-12-13 07:52:41 -05:00
Liam Fitzgerald
167718bd8e interface: prevent hook crash in publish notes
Fixes urbit/landscape#1299
Fixes urbit/landscape#1343
2021-12-13 07:45:25 -05:00
Liam Fitzgerald
28ace88bd9 interface: remove My Channels link from GroupSwitcher
Fixes urbit/landscape#1331
2021-12-13 07:39:08 -05:00
Liam Fitzgerald
418ad3736d -group-leave: cleanup seperation of concerns between groups, metadata, graphs 2021-12-13 06:29:00 -05:00
Liam Fitzgerald
6a6af5edc4 metadata-pull-hook: fix limb expression in on-pull-nack 2021-12-13 06:26:44 -05:00
Liam Fitzgerald
224353364a metadata-push-hook: watch group-store for permission revocation 2021-12-13 06:26:07 -05:00
Liam Fitzgerald
e1138e1684 push-hook: fix %revoke action for versioned subscriptions 2021-12-13 06:23:03 -05:00
Liam Fitzgerald
fd4844bf9f pull-hook: fix swapped argument preventing cards being sent 2021-12-13 06:19:00 -05:00
Liam Fitzgerald
722b19066e landscape: defer removing metadata until on-leave thread
Addresses graphs not being archived correctly, and causing spurious
notifications
2021-12-13 04:37:08 -05:00
yosoyubik
92c498cd04 Merge branch 'naive/snapshot' into roller/gas-price 2021-12-10 18:42:55 +01:00
yosoyubik
8601b13e3f azimuth: remove unused import in snapshot mark 2021-12-10 16:59:30 +01:00
yosoyubik
f6dca03786 pill: restore solid pill 2021-12-10 16:19:59 +01:00
yosoyubik
fd2ff95989 roller: fix refuel generator 2021-12-10 13:13:14 +01:00
yosoyubik
f6ff4f108b roller: add utilities for handling low-gas batches
This adds support for handling cases where the send-batch thread failed,
mainly among them, a thread crash. One of the events that causes this
behavior is a ver low gas price for this L1 transaction.

Here we add support for manually bumping the price for such transaction,
and for increasing the default fallback gas-price, together with discarding
any malformed batch from the sending queue.
2021-12-10 11:36:45 +01:00
Jōshin
d94aa5704b
Merge branch 'master' into next/arvo
Conflicts:
	pkg/arvo/lib/azimuth.hoon

This file was turned into a symlink to pkg/base-dev/lib/azimuth.hoon on
one side of the fork, and meanwhile edited on the other side of the fork
(to update ecliptic to the new address for the WSTR fix.)

The two sides of the fork both had different outdated addresses in
base-dev's azimuth.hoon file, and Git's UI helpfully refilled the
contents of arvo's azimuth.hoon so that it showed a merge conflict with
an empty diff.

Resolved by reading out HEAD:pkg/arvo/lib/azimuth.hoon into
pkg/base-dev/lib/azimuth.hoon and manually recreating the symlink.
2021-12-10 08:24:32 +00:00
Liam Fitzgerald
6de9dbdd3f landscape: better leap searching
Allows categories to reorder. Improves searching algorithm to order by
strength of match
2021-12-09 16:49:43 -05:00
Mackenzie Davidson
8d4b325477 landscape - safari theme-color prefers-color-scheme dark + fallbacks 2021-12-09 10:50:38 -05:00
Mackenzie Davidson
809f8f7159 safari theme-color fallbacks 2021-12-09 10:33:32 -05:00
Mackenzie Davidson
280e4da513 safari theme-color prefers-color-scheme dark 2021-12-09 10:31:42 -05:00
yosoyubik
c467d5aa67 Merge branch 'roller/quota-left' into naive/snapshot 2021-12-09 07:45:18 +01:00
yosoyubik
ae05bbf571 roller: don't crash if nonce not in queue 2021-12-09 07:44:53 +01:00
yosoyubik
4384f19643 azimuth: use ship as prefix for loading snapshot log 2021-12-09 07:30:08 +01:00
yosoyubik
fb2c078fde pill: load azimuth snapshot as mime in file-ovum 2021-12-09 07:28:57 +01:00
fang
b20abb8841
webterm: remove border, let term live in page
This also helps conceal some xterm resizing inaccuracies.
2021-12-09 00:36:50 +01:00
Hunter Miller
3ee9132416 theme: cleaning up a few mismatches 2021-12-08 17:00:25 -06:00
Liam Fitzgerald
ac2337a6a7 landscape: bump version, glob 2021-12-08 16:46:59 -05:00
Liam Fitzgerald
0979b8fc39 interface: hide invite if already joined 2021-12-08 15:24:32 -05:00
Liam Fitzgerald
b8da026c5e Merge branch 'next/groups' 2021-12-08 13:42:49 -05:00
fang
81a45608a0
webterm: handle old-style blits and belts
Additions and changes easily distinguishable for extermination once the
new backend lands.
2021-12-08 17:12:38 +01:00
fang
35e820bfe6
Merge branch 'next/arvo' into m/shoe-scry 2021-12-08 13:13:54 +01:00
yosoyubik
cce14699c8 azimuth: update log message 2021-12-08 12:52:23 +01:00
yosoyubik
37adba1ba0 various: update to new udiff:point type 2021-12-08 11:23:35 +01:00
yosoyubik
1e912d1ec4 Merge branch 'roller/quota-left' into naive/snapshot 2021-12-08 11:02:23 +01:00
yosoyubik
463ca6e8db roller: set default quota to 25 2021-12-08 11:02:05 +01:00
Brendan Hay
16379db9b0
build: remove haskell related nix code and haskell.nix dependency
* Upgrades the nixpkgs pin to 21.11.
* Removes nix code, sources, and attributes related to haskell.nix and
  the code under pkg/hs.
* Continuous integration no longer builds (or packages/releases)
  urbit-king (haskell).
* To continue to developing any haskell code under pkg/hs it's left as
  a user exercise uto install and configure GHC/Stack.

As a consequence running nix-shell should be considerably more
performant and requires downloading or building less dependencies.
2021-12-08 10:06:42 +01:00
Philip Monk
5c20b63a5a
Merge pull request #5412 from urbit/jb/safer-dojo
dojo: improve safety of mark conversion
2021-12-07 20:20:53 -08:00
Philip Monk
1ffdad8719
Merge pull request #5439 from ynx0/dev-fixes
meta: fix various issues in file tree for development
2021-12-07 19:07:34 -08:00
Philip Monk
7583d33cf1
Merge pull request #5436 from urbit/m/claz-lockup-txs
claz: better linear lockup ops support
2021-12-07 18:41:55 -08:00
yosoyubik
28dacad857 Merge branch 'roller/quota-left' into naive/snapshot 2021-12-07 17:48:30 +01:00
yosoyubik
33852ea90e roller: support private keys with leading 0x 2021-12-07 17:47:56 +01:00
Liam Fitzgerald
1893ffd651 landscape: update glob 2021-12-07 11:23:50 -05:00
Liam Fitzgerald
ba9cfd8e92 interface: do not redirect to joined group automatically 2021-12-07 11:04:36 -05:00
Liam Fitzgerald
119805fd04 interface: hide aborted requests 2021-12-07 11:02:23 -05:00
yosoyubik
0833ee9ea6 azimuth: only print number of points during init 2021-12-07 16:32:39 +01:00
yosoyubik
81eb6ae247 pill: add azimuth snapshot 2021-12-07 16:13:39 +01:00
Liam Fitzgerald
d58666d4c7 invite-store: change /all scry to return %invite-update 2021-12-06 15:28:26 -05:00
Liam Fitzgerald
8be81d7dc5
Merge pull request #5469 from urbit/hm/group-join-fixes
interface: minor group join fixes
2021-12-06 14:34:35 -05:00
Liam Fitzgerald
641cf79894 interface: fix tsc 2021-12-06 14:16:17 -05:00
Liam Fitzgerald
9de35cfd70 webterm: update imports 2021-12-06 10:05:54 -05:00
Liam Fitzgerald
cbc1b910fd @urbit/api: move term types 2021-12-06 10:05:36 -05:00
Liam Fitzgerald
3fa572b53a webterm: fix broken imports 2021-12-06 10:05:14 -05:00
Liam Fitzgerald
3b3564cae9 webterm: update package name for lerna 2021-12-06 10:04:36 -05:00
Liam Fitzgerald
97f334e819 interface: address hunter review 2021-12-06 09:38:20 -05:00
Liam Fitzgerald
4dbf4a9e9f
Merge pull request #5472 from urbit/jo/graph-store-mark
landscape: correct mark
2021-12-06 09:36:15 -05:00
fang
3df0efd7c6
Merge pull request #5473 from urbit/m/base-atom
pkg: include atom mark in base-dev
2021-12-06 15:11:12 +01:00
yosoyubik
d08ab43f3a lull: skip rift/life printf when booting 2021-12-06 13:47:59 +01:00
fang
4bff1df7e8
pkg: include atom mark in base-dev 2021-12-05 14:50:50 +01:00
Jōshin
ffc2d8f0b9
landscape: correct mark
This was crashing before due to a `[%no-cast-from %graph-update-3 %graph-update]`. With this change it produces output.
2021-12-04 20:55:15 -08:00
Hunter Miller
9e3ed16c76 Merge branch 'master' into next/landscape 2021-12-03 16:44:51 -06:00