Commit Graph

9394 Commits

Author SHA1 Message Date
fang
9b62454bca
naive: wip aggregator
Includes logic for the core flow, but isn't fully hooked up to outside
sources/events yet. Probably doesn't compile. Plenty of TODOs remaining.
2021-05-13 17:21:35 +02:00
drbeefsupreme
49fdf0a496
naive: fix key changing tests 2021-05-11 17:33:57 -04:00
drbeefsupreme
de5a907300
naive: factor out l2 transaction firing into lib
Moved everything related to generating layer 2 transactions, including
verification, into their own library. This ought to be shared between
the aggregator and tests
2021-05-11 16:47:33 -04:00
drbeefsupreme
7470b148b8
naive: unified l2 transaction firing arm 2021-05-11 16:32:33 -04:00
drbeefsupreme
baadf059d4
naive: add basic types 2021-05-11 14:28:43 -04:00
drbeefsupreme
0266805b12
naive: combine l2 spawn tests 2021-05-06 11:37:02 -04:00
drbeefsupreme
f39ca44a9d
naive: combine transfer proxy tests 2021-05-06 11:29:17 -04:00
drbeefsupreme
e7c268f53a
naive: change +transfer-point sample 2021-05-06 11:22:03 -04:00
drbeefsupreme
2c445fe495
naive: more test standardization 2021-05-06 00:54:13 -04:00
drbeefsupreme
8c3ee149cb
naive: l1 sponsorship tests 2021-05-05 23:25:34 -04:00
drbeefsupreme
a81e5e5af4
Merge branch 'philip/naive' into poprox/naive-tests 2021-05-05 22:56:34 -04:00
drbeefsupreme
2189a54ae9
naive: dumb way to make tests more readable 2021-05-05 22:55:15 -04:00
fang
1678d45876
naive: emit effects for processed txs
As a transaction receipt of sort, to inform of transaction success or
failure.
2021-05-06 00:16:49 +02:00
drbeefsupreme
f395a7668d
naive: missing tangs 2021-05-04 14:11:19 -04:00
drbeefsupreme
839a660b69
naive: sponsorship tests 2021-05-04 14:10:25 -04:00
drbeefsupreme
b2a1da4faa
naive: l2 life+rift tests 2021-05-04 13:27:43 -04:00
drbeefsupreme
7b89b552b6
naive: fix transfer life+rift test 2021-04-30 17:45:24 -04:00
drbeefsupreme
90d91472b4
naive: test l2 escape request 2021-04-30 17:42:30 -04:00
drbeefsupreme
d7909375c8
naive: life and rift tests 2021-04-30 17:16:53 -04:00
drbeefsupreme
e87b1e2621
naive: test breach proxies+keys for l2 transfers 2021-04-30 16:39:13 -04:00
drbeefsupreme
7f32d91258
naive: breach is flag not atom 2021-04-30 14:00:03 -04:00
drbeefsupreme
84a8a5c860
naive: fix key format for tests 2021-04-29 16:31:45 -04:00
drbeefsupreme
2099f87290
Merge branch 'philip/naive' into poprox/naive-test 2021-04-29 15:57:27 -04:00
Philip Monk
27949c5d8a
naive: fix +tx 2021-04-28 22:04:11 -07:00
Philip Monk
75eeef544e
naive: store crypto suite number in state
We now store the raw crypto suite number, authentication key, and
encryption key.  App/azimuth converts this to a `pass` for jael's
benefit.
2021-04-28 20:51:43 -07:00
Philip Monk
b1091d0e98
Merge remote-tracking branch 'origin/master' into philip/naive 2021-04-28 20:30:07 -07:00
Philip Monk
3869e01556
naive: infer ships from 'from'
For all except spawn, we can infer one of the ship arguments to be the
"from" ship.  This reduces repetition in the batches, which shortens txs
by 4 bytes each (except spawn), and eliminates the need to assert the
same ship is used in both places.
2021-04-28 19:55:57 -07:00
Philip Monk
36a10eb083
naive: convert can -> cad
Avoid bugs where we miscount the length of assembled atoms.
2021-04-28 19:19:50 -07:00
Philip Monk
5d52171a47
naive: add domain separator
To prevent replay across chains, eg from ropsten to mainnet.
Additionally, this introduces a version number, so we won't have to
worry about future signature formats being accidentally compatible with
this one.
2021-04-28 18:13:00 -07:00
Philip Monk
6dda168f3c
naive: factor out keccak into verifier
The verifier now takes an octs so that we can properly hash it to the 32
bytes required by ecdsa.

This allows lib/naive to use its own stdlib again.
2021-04-28 15:38:28 -07:00
drbeefsupreme
7f1e21d3d5
naive: l1 key change test 2021-04-28 15:29:20 -04:00
drbeefsupreme
fe8150f395
naive: key change test 2021-04-28 15:13:31 -04:00
Philip Monk
f2c43edc99
naive: make bitlengths explicit
Also switches everything to ropsten by default, including ivory pill.
Batches work on ropsten now.

Also adds +tx as a hacky development tool to create text for metamask to
sign and then turn that into a batch.  A useful reference for bridge and
aggregator work.
2021-04-27 22:58:19 -07:00
Philip Monk
a644d8a5b2
naive: merge fixes 2021-04-27 17:31:38 -07:00
Philip Monk
3b0fc59c2b
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive 2021-04-27 17:27:28 -07:00
Philip Monk
781cdf3960
naive: alter signatures to match personal_sign 2021-04-27 17:26:34 -07:00
Joe Bryan
d1327db316 urbit: bumps version to 1.5 2021-04-27 13:58:44 -07:00
Joe Bryan
bc45a6d32f
Merge pull request #4819 from wexpertsystems/docker-port-doc-fix
docker: update documentation
2021-04-27 13:49:05 -07:00
Joe Bryan
8d421ae68e vere: improves u3_creq struct declaration style 2021-04-27 10:54:22 -07:00
Joe Bryan
645b860aa5 vere: extends cttp state machine to handle a/sync errors with tls 2021-04-27 10:54:17 -07:00
Philip Monk
6e34c320fe
Merge remote-tracking branch 'origin/release/next-vere' 2021-04-26 18:15:13 -07:00
pilfer-pandex
b2c2aa2240
Merge pull request #4792 from urbit/lf/king-fix-hidden-files
king: do not commit files starting with a dot
2021-04-26 19:23:15 -04:00
pilfer-pandex
db87197479 urbit: bump version to 1.4 2021-04-26 19:22:21 -04:00
pilfer-pandex
94ad4ec3ac king: fix typo in UDP.hs comment 2021-04-26 18:58:14 -04:00
Wexpert Systems
d415610ac9
docker: update documentation
Minor documentation update to fix the examples and clarify best practices for setting and mapping the Ames UDP port while running Urbit in docker.
2021-04-25 12:02:56 -04:00
pilfer-pandex
dad455365d king: add requested disclamer to UDP.hs 2021-04-23 15:51:51 -04:00
pilfer-pandex
0bcc83f40c king: my god, actually reverse ip addrs 2021-04-23 15:51:51 -04:00
pilfer-pandex
17bf33d3a0 king: fix byte order of Ipv4 2021-04-23 15:51:51 -04:00
pilfer-pandex
48837a1fbe king: ames: make udp serv reuse port on err 2021-04-23 15:51:50 -04:00
drbeefsupreme
d87f0e6723
naive: prv -> pk 2021-04-23 14:54:36 -04:00
drbeefsupreme
d561083418
naive: add sambud 2021-04-23 14:52:48 -04:00
Joe Bryan
7829ca006c
Merge pull request #4804 from urbit/jb/sift-ud
u3: rewrites %ud parser
2021-04-22 20:17:43 -07:00
Joe Bryan
715b42bb42 u3: tweaks u3s_sift_ud() conditional style 2021-04-22 20:14:28 -07:00
Joe Bryan
45ef57ab1a u3: refactors gmp initialization in u3r_mp() 2021-04-22 17:34:49 -07:00
Joe Bryan
0681c9a477 u3: avoid gmp realloc in u3s_sift_ud() 2021-04-22 17:26:36 -07:00
Joe Bryan
1600e71daf u3: adds a macro for leading digits in u3s_sift_ud() 2021-04-22 16:17:56 -07:00
Joe Bryan
64a96acb20 u3: requires at least one leading digit in u3s_sift_ud() 2021-04-22 16:07:35 -07:00
Joe Bryan
9c550a6795 u3: shortcircuit direct atoms in u3i_chub() 2021-04-22 15:54:19 -07:00
Joe Bryan
af1325a387 u3: simplies leading-digit control flow in u3s_sift_ud() 2021-04-22 15:53:42 -07:00
Joe Bryan
1ca0207b20 u3: adds basic tests for u3s_sift_ud() 2021-04-22 15:42:03 -07:00
Joe Bryan
edd886c37b u3: fix typo in u3s_sift_bytes() block conditionals 2021-04-22 15:12:55 -07:00
drbeefsupreme
d81cf1a197
naive: l2 spawn proxy spawn test, add datbud 2021-04-22 15:18:23 -04:00
drbeefsupreme
b76f2c7f45
transaction firing now includes private key 2021-04-22 14:35:50 -04:00
drbeefsupreme
14b81f8ea4
naive: add l1 changed-keys transaction 2021-04-22 13:40:32 -04:00
Liam Fitzgerald
b46f2e24e6
glob: update to 0v3.g6u13.haedt.jt4hd.61ek5.6t30q 2021-04-22 18:00:19 +10:00
Joe Bryan
a2732a039f u3: cleans up comments in u3s_sift_ud() 2021-04-21 22:32:40 -07:00
Joe Bryan
39a3d1f266 u3: updates u3s_sift_ud() to skip gmp allocation where possible 2021-04-21 22:22:04 -07:00
Joe Bryan
5730958d90 u3: refactors u3s_sift_ud() control flow 2021-04-21 22:08:39 -07:00
Joe Bryan
c084dc8c66 u3: replaces overly-lenient %ud parser in +slaw jet 2021-04-21 18:02:57 -07:00
Liam Fitzgerald
77fded3dab
GraphNotification: safe property access 2021-04-22 11:02:23 +10:00
Joe Bryan
d05ff8c188 u3: adds u3s_sift_ud/bytes %ud parser 2021-04-21 18:01:56 -07:00
Joe Bryan
a780295448 u3: remove unwanted assertions in emergency printf 2021-04-21 11:01:55 -07:00
Philip Monk
1ed14c9908
naive: remove "wrap" functionality
Wraps are hard to get right, so we remove support for now.
2021-04-20 23:51:32 -07:00
Liam Fitzgerald
d357593ef1
king: address ~pilfer-pandex review 2021-04-21 16:40:22 +10:00
Philip Monk
05dbd8cddd
naive: move signature verification inside loop
Before this change, signatures were verified according to the owners at
the beginning of batch, which is wrong.  Now we do it per wrap, but this
is *also* wrong because they should actually be verified per tx, in case
the owner changes within a wrap.

Also introduces the roll/wrap terminology.
2021-04-20 23:08:32 -07:00
Philip Monk
f9e93fa660
naive: add snapshot via git lfs 2021-04-20 21:58:52 -07:00
Philip Monk
1b5bc0f476
naive: snapshot improvements 2021-04-20 21:57:04 -07:00
Philip Monk
05b281e247
Merge remote-tracking branch 'origin/yu/zoom-step' into philip/naive 2021-04-20 18:21:50 -07:00
Joe Bryan
e32a9b2c75 u3: abort all home-road bails 2021-04-20 11:58:38 -07:00
Joe Bryan
1a257b525c u3: allow bail:meme through (a la bail:fail) 2021-04-20 11:56:37 -07:00
~locpyl-tidnyd
2389727f8f u3: centralize use of u3_Signal 2021-04-20 11:03:38 -07:00
Joe Bryan
bb3661975d
Merge pull request #4779 from wexpertsystems/docker-curl-lens
Docker: add curl, implement scripts for obtaining +code from loopback
2021-04-20 09:28:16 -07:00
Liam Fitzgerald
268677e744
metadata-store: prevent infinite loop 2021-04-20 16:15:04 +10:00
Liam Fitzgerald
e6857d5797
king: do not commit files starting with a dot 2021-04-20 15:32:26 +10:00
Liam Fitzgerald
e63beeb271
glob: update to 0v4.m6t09.ego4v.atjn3.mn5p4.mchad 2021-04-20 15:06:10 +10:00
Liam Fitzgerald
f9cf711c69
Merge remote-tracking branch 'origin/release/next-js' 2021-04-20 14:53:28 +10:00
Liam Fitzgerald
e0a12bd7dd
Merge remote-tracking branch 'origin/la/no-data-contact' 2021-04-20 14:53:18 +10:00
Liam Fitzgerald
1a4b2699ca
Merge remote-tracking branch 'origin/la/md-fix' 2021-04-20 14:52:57 +10:00
Liam Fitzgerald
f038176169
Merge remote-tracking branch 'origin/la/font-display-swap' 2021-04-20 14:52:41 +10:00
matildepark
110bcaa6ce
Merge pull request #4785 from urbit/la/fix-591
interface: fix #591 message display by time-sent in chat
2021-04-19 17:28:55 -04:00
matildepark
b090311964
Merge pull request #4689 from urbit/lf/form-merge
ChannelSettings: unify form handling
2021-04-19 17:22:16 -04:00
matildepark
fe61b8b7a9
Merge pull request #4782 from urbit/lf/notif-fixes
notifications: preferences screen, fix pagination
2021-04-19 17:18:03 -04:00
Logan Allen
fa59f87dc5 contact-store: disallow data: urls from being added 2021-04-19 14:38:33 -05:00
L
f26e63421e
Merge pull request #4777 from urbit/mp/group-feed/show-parent-if-parent
PostReplies: show parent author in parent postItem
2021-04-19 14:03:41 -05:00
Logan Allen
9a61daaa69 interface: fix #591 message display by time-sent in chat 2021-04-19 12:37:40 -05:00
Liam Fitzgerald
c92753d1ed
ChannelPopover: cancel dismisses popover 2021-04-19 15:58:44 +10:00
Liam Fitzgerald
f1be29389a
settings: default tutorial to seen
Prevents a race condition where the tutorial prompt will always show
2021-04-19 15:47:35 +10:00
matildepark
9a7f90bb63
Merge pull request #4783 from urbit/lf/tut-island-fix
launch: fix reversed destructure
2021-04-19 01:35:50 -04:00
Liam Fitzgerald
4c02bd0698
launch: fix reversed destructure
This was causing the tutorial to never be shown. This change should be
deployed with a new pill, to ensure comets show the tutorial.
2021-04-19 15:32:44 +10:00
Liam Fitzgerald
6128c8d096
notifications: bring preferences to spec 2021-04-19 15:24:30 +10:00
Liam Fitzgerald
988e614db4
interface: correctly scroll lock document
Even if overflow is hidden, certain mobile browsers may interpret a
scroll event to be on the document root, leading to strange and
inconsistent scrolling behaviours. Addresses this by adding
touch-action: none, which explicitly instructs browers to ignore this
element in scroll calculations.
2021-04-19 14:28:51 +10:00
Liam Fitzgerald
0ef452f8b3
notifications: update dismiss action styling 2021-04-19 13:26:21 +10:00
Liam Fitzgerald
048bd02604
notifications: fix broken pagination
Fixes urbit/landscape#788
2021-04-19 13:15:46 +10:00
Wexpert Systems
ae75305106
docker: update container documentation
Add docker container usage examples and document the newly included +code scripts.
2021-04-18 16:22:32 -04:00
yosoyubik
5271061809 eth-watcher: reduce zoom-step between public and launch blocks 2021-04-17 13:59:54 +02:00
édouard
deeab71831 sidebar: provide more contrast to sidebar items
Reverting this back to a most contrasty state in answer to frequent complaints of being unable to tell which channels were unread
2021-04-16 21:44:48 -04:00
édouard
503a3a8a49 invite notifications: fix radius of mention line 2021-04-16 20:28:50 -04:00
Matilde Park
55c1da67c6 PostReplies: show parent author in parent postItem
If an item is top of view, and has a parent,
we now render the parent author we are
replying to.

Fixes an unfiled bug
2021-04-16 16:05:14 -04:00
Matilde Park
ec60ea6790 meta: enable package-lock on npm
You should enable package-locks so npm ci can run without creating
conflicts during preinstall.
2021-04-16 13:48:37 -04:00
Matilde Park
8b82aec6c2 MentionText: pass all ships with sigs 2021-04-16 12:28:06 -04:00
matildepark
f2d91fdc98
Merge pull request #4772 from urbit/mp/landscape/prod
meta/interface: re-integrate preinstall script with clean install
2021-04-16 12:08:44 -04:00
Matilde Park
290b8c7c38 notifications: add margins to each
Otherwise they are not distinguished apart.
2021-04-16 11:47:40 -04:00
Liam Fitzgerald
d5bbc58c2b
Merge remote-tracking branch 'origin/release/next-js' into lf/notif-v2 2021-04-16 16:03:07 +10:00
Liam Fitzgerald
83901ece22
notifications: refactor invites to match spec 2021-04-16 16:02:26 +10:00
Liam Fitzgerald
3bd1e06f0f
notifications: refactor inbox to match spec 2021-04-16 16:02:05 +10:00
Liam Fitzgerald
801ccdad6f
notifications: refactor notification to match spec 2021-04-16 16:01:52 +10:00
Liam Fitzgerald
8bfb7da796
notifications: update header to match spec 2021-04-16 16:01:38 +10:00
Liam Fitzgerald
711bb8d88c
notifications: refactor group notification to match spec 2021-04-16 16:01:19 +10:00
Liam Fitzgerald
992b607e3c
notifications: refactor graph notification to match spec 2021-04-16 16:01:05 +10:00
Liam Fitzgerald
08028efcd7
interface: add utilities, fix useLazyScroll 2021-04-16 16:00:36 +10:00
Liam Fitzgerald
86552306c2
interface: add getters for stores 2021-04-16 15:59:02 +10:00
Liam Fitzgerald
63b3a37d86
Timestamp: set line-height 2021-04-16 15:57:42 +10:00
Liam Fitzgerald
dd9dfc0a9f
Author: fix mono spacing 2021-04-16 15:57:19 +10:00
Matilde Park
aefc267477 landscape: install using ci in most cases 2021-04-15 15:41:20 -04:00
Matilde Park
0892767f64 Revert "Revert "build: pkg/interface builds pkg/npm preinstall""
This reverts commit ebcd2136eb.
2021-04-15 15:39:52 -04:00
Logan Allen
dea3fd6e8d metadata-store: actually fix it, strongly type the action sent to %pull-hook to prevent moronic errors 2021-04-15 13:05:00 -05:00
Philip Monk
c915839e9d
naive: fetch l2 batches from chain 2021-04-15 01:02:58 -07:00
Joe Bryan
7084d8951d Revert "Merge pull request #4769 from urbit/revert-4766-jb/cttp-crash-fix"
This reverts commit 6d17d4c845, reversing
changes made to 8f330c2ddb.
2021-04-14 20:24:36 -07:00
Joe Bryan
969be23f66
Revert "vere: fix cttp crash by accounting for synchronous error callback" 2021-04-14 20:16:52 -07:00
Joe Bryan
8f330c2ddb
Merge pull request #4766 from urbit/jb/cttp-crash-fix
vere: fix cttp crash by accounting for synchronous error callback
2021-04-14 20:15:48 -07:00
James Acklin
e473b3031f imageInput: adds clear button
fixes urbit/landscape#785
2021-04-14 21:36:01 -04:00
Philip Monk
3e56e17a22
naive: remove l2 set-voting-proxy
Since galaxies can't be on L2
2021-04-14 18:03:52 -07:00
Philip Monk
176df1fc2a
naive: add verbosity level 2021-04-14 17:49:30 -07:00
Philip Monk
1d35cc349e
Merge remote-tracking branch 'origin/poprox/naive-tests' into philip/naive 2021-04-14 17:24:33 -07:00
Philip Monk
45e28f535a
naive: 80 cols 2021-04-14 17:17:01 -07:00
Philip Monk
46275fa251
naive: a few bugfixes 2021-04-14 16:58:27 -07:00
drbeefsupreme
b065b60da1
casting 2021-04-14 18:54:40 -04:00
drbeefsupreme
791cece901
l1+l2 proxies, l2 transfers + spawn-after-transfer 2021-04-14 18:53:38 -04:00
matildepark
9f98081452
Merge pull request #4752 from urbit/james/leap-selection
leap: deduplicate selection with mouse+keys
2021-04-14 18:53:28 -04:00
matildepark
05711cbe14
Merge pull request #4725 from urbit/james/image-input
interface: redesign ImageInput
2021-04-14 18:26:27 -04:00
Joe Bryan
bd4c15f2d1 vere: print url on cttp parse failure 2021-04-14 14:22:12 -07:00
Joe Bryan
5fe96953bf vere: fix cttp crash by accounting for synchronous error callback 2021-04-14 14:04:42 -07:00
James Acklin
95b4f4007b imageInput: eliminate closures as components
fixes urbit/landscape#695
2021-04-14 16:31:21 -04:00
Tyler Brown Cifu Shuster
bbafcc6d6f sidebar: typesafe notifications check 2021-04-14 13:03:36 -07:00
drbeefsupreme
2c1b3629d5
layer 2 transactions 2021-04-14 15:36:56 -04:00
drbeefsupreme
fae0e9cd42
unspecialize spawn proxy change 2021-04-14 14:33:31 -04:00
drbeefsupreme
97eaf0d3f4
squash! splitting l1/l2 into cores, adding l1 events 2021-04-14 14:31:47 -04:00
drbeefsupreme
912cc7bc9f
splitting l1/l2 into cores, adding l1 events 2021-04-14 14:30:00 -04:00
James Acklin
8e866f3262 leap: belt-and-suspenders patp match
fixes urbit/landscape#598
2021-04-13 16:34:50 -04:00
Matilde Park
27ed29b257 landscape: fix s3 link
Fixes urbit/landscape#768
2021-04-13 16:06:33 -04:00