Commit Graph

1162 Commits

Author SHA1 Message Date
Elliot Glaysher
dded51f0cd Start %collections on startup, too. 2018-08-09 16:06:14 -07:00
Elliot Glaysher
ab63875449 Merge branch 'collections-redesign' into ford-turbo-eyre-sec
The %collections app now starts.
2018-08-09 15:50:25 -07:00
Joe Bryan
b0ecbcd2ab Merge branch 'master' into collections
* master: (27 commits)
  Transfer ~tep to Rivendell and ~bes to NSPV.
  moar changes
  stylistic changes
  included full group information in scry
  clay permissions issue #749
  fixed outside urls
  fixed clay mut problem
  let us not include .html extensions in our urls if we don't want to
  Bump Ames :protocol-version from 1 to 2
  made hymn renderer unneccesary
  variety of bug-fixes
  first pass, basic functionality working
  Transition ~marzod's Ask duties to a dedicated ship
  Bump Ames :protocol-version from 0 to 1
  fixes +spin to preserve the type of the head of the product
  simplified the code
  now covers posts with spaces and no text
  Revert "Revert "Change %w care to return both @ud and @da cases""
  Revert "Change %w care to return both @ud and @da cases"
  Posts and Comments with no text ignored
  ...
2018-08-09 18:13:52 -04:00
Elliot Glaysher
11cb648399 Trying to get collections working 2018-08-09 14:59:33 -07:00
Elliot Glaysher
89a0a91c57 Boots without old ford. 2018-08-09 11:22:37 -07:00
Elliot Glaysher
8d224e1279 Next fix. 2018-08-08 15:14:26 -07:00
Elliot Glaysher
81bd72ee21 WIP: Commiting so I can get the ~+ patch. 2018-08-08 14:47:01 -07:00
Fang
6e33eea217 Use ++pit:nu:crub:crypto for network keypair generation 2018-08-08 01:01:04 +02:00
Fang
efe3b9a653 Add beginnings of keygen-hoon 2018-08-07 00:55:15 +02:00
Fang
45a5ee60a2 Implement BIP32 library 2018-08-06 21:23:30 +02:00
Isaac Visintainer
3e4b701d79 backend changes for comment integration 2018-08-01 16:08:01 -07:00
Isaac Visintainer
f273157e9d fixed missed renamings and added files to collections dir for ford testing 2018-08-01 11:32:34 -07:00
Elliot Glaysher
2b96d5e311 Merge remote-tracking branch 'origin/collections-redesign' into ford-turbo-eyre-sec 2018-07-31 16:26:45 -07:00
Isaac Visintainer
90289cfa1d some bugfixes and readded x-ship renderers 2018-07-31 13:56:38 -07:00
Elliot Glaysher
4363163319 Merge remote-tracking branch 'origin/collections-redesign' into ford-turbo-eyre-sec
Note: This ignores changes to clay for expediency, these may need to
be hand merged later.
2018-07-31 10:11:10 -07:00
Isaac Visintainer
ef18c51f5e collections redesign 2018-07-30 21:00:49 -07:00
Fang
8580e7b247 Add support for targeting the last x messages in a query range.
/circle/inbox/grams/-5/-0 gets the last 5 messages from the inbox, nothing more.
Closes #643.
2018-07-23 15:30:07 -07:00
Fang
676b188d5f Add correct byte-order HMAC family to zuse. 2018-07-13 14:50:15 +02:00
Fang
d53e33a3e0 Implement argon2.
Fully configurable as per the spec. Includes a new type, in addition to
i, d, and id: u. Similar to id in that it is a hybrid solution, but
slightly tweaked to be unique to Urbit's implementation.

Initially implemented as a direct port from the pure Python
implementation, then lightly rewritten to be more Hoon-ish.
https://pypi.org/project/argon2pure/
2018-07-05 22:44:37 +02:00
Fang
fb08ab8fd1 Use face over lark when available. 2018-07-05 22:40:03 +02:00
Fang
287d10619e Implement blake2b.
It's not generalized yet, so blake2s isn't supported.
2018-07-02 22:10:06 +02:00
Fang
7c34009e8e Use ++rep over ++can when we can 2018-06-29 13:10:38 +02:00
Fang
23b177a3d2 Use ++rev over ++swp, for safety. 2018-06-29 13:08:58 +02:00
Joe Bryan
d8649441bf updates oauth libraries to use the real %eyre host scry 2018-06-29 00:02:34 -04:00
Joe Bryan
a20122a410 auto-starts :acme 2018-06-29 00:02:34 -04:00
Fang
004ac54d28 Clean up base58 en/decoding 2018-06-29 01:11:55 +02:00
Fang
4352293d44 Rename secp point serialization arms 2018-06-29 00:52:42 +02:00
Fang
19144c7610 Add HMAC-SHA1 2018-06-29 00:46:08 +02:00
Fang
a756d69b8f Put +=byts to use 2018-06-29 00:34:07 +02:00
Fang
9aba5593a6 Restructure and complete BIP32 core
It now contains features it was missing, and those have been verified
for correctness. Behaves more like an object now, with initialization
and state change arms, and easy ways to get data out.
2018-06-29 00:12:14 +02:00
Fang
7a02a6c796 Fix bug in RIPEMD-160 implementation. 2018-06-28 20:39:45 +02:00
Fang
125956413d BIP32 key derivation logic.
Messy, in dire need of restructuring.
2018-06-28 00:47:20 +02:00
Fang
d2770cd221 Fix bug in HMAC implementation. 2018-06-27 23:17:03 +02:00
Fang
2d7163876c SHA-1 re-implementation, can account for leading zeroes. 2018-06-27 20:21:16 +02:00
Fang
beae8cc01a Converting points on curve to un/compressed numbers. 2018-06-27 20:20:35 +02:00
Fang
3ac9b33697 RIPEMD-160 implementation. 2018-06-27 01:03:18 +02:00
Elliot Glaysher
87cbea377d Remove indirect hoons and fix up callsites using // 2018-06-26 13:52:56 -07:00
Fang
f5f9c209d0 Start work on BIP32 support.
Library file includes wrappers for the SHA family to make it take and produce sane byte order data, and a new HMAC implementation that depends on it.
Also includes @belisarius222's secp256k1 implementation, plus experimental (and broken) support for other secp variants.
2018-06-22 20:33:53 +02:00
Joe Bryan
cd4330a024 auto-starts :dns, adds generator to configure authority 2018-06-20 19:24:13 -04:00
Joe Bryan
9d72b8f92b Merge branch 'collections' into collections-merge
* collections: (127 commits)
  Revert "cross-ship permissions works now"
  deleted more unused files, updated json arm of collections mark
  removed unused index file (was used for debug)
  cross-ship permissions works now
  rendered MVE css and js 272af56804f822c23efa645aafcf1d5d8a8bfdff
  simplified latest alias
  new 'latest' page in colls
  deleted a swp file
  mve updates f83035d162dd60107b45798117cf924437070798
  isaac's eyre changes to polling parameters as requested by Logan
  rendered MVE f0a44584883e8789ec5bab9c80334ae0ee251e02
  source new circle to inbox in collections app
  relative href
  removed topic text from collection json
  patch back in realnet ames (was testnet ames in xship-wrap
  collections now sends invites to whitelist
  aded fascen to pass along fasbuc params
  add x-htm wrappers for &htm
  rename default eyre mark to x-urb, do xhsip on x- prefix requests
  updated json endpoints in accordance with logan's requests
  ...
2018-06-19 20:51:22 -04:00
Elliot Glaysher
ddf0334b15 Switch Gall to use the Turbo vane.
This fixes Gall and userland apps so that they boot. It then disables
%hall and %talk, which will only boot with the +fond jet disabled.
(Otherwise, we get a bail from the jet.)
2018-06-13 13:12:32 -07:00
Anthony Arroyo
3b982bdf8b new 'latest' page in colls 2018-06-04 10:57:31 -07:00
Elliot Glaysher
bc17312fa3 Merge branch 'master' into ford-turbo 2018-06-04 09:59:44 -07:00
Anthony Arroyo
db2d0ac428 mve updates f83035d162dd60107b45798117cf924437070798 2018-06-01 17:46:51 -07:00
Curtis Yarvin
2c2a680c57 Introduced +$ notation. 2018-06-01 14:31:10 -07:00
Ted Blackman
6fae175bba WIP trying to get dontjo working 2018-05-31 17:14:39 -07:00
Ted Blackman
0b3713ce07 basic transfusion succeeded 2018-05-31 11:25:06 -07:00
Ted Blackman
873e073faf transfusion into kernel as %t vane 2018-05-30 16:25:28 -07:00
Ted Blackman
48cfdae72c fix Ford call signature and tests 2018-05-30 13:50:14 -07:00
Ted Blackman
f2f250a8ff %mash schematic 2018-05-29 14:31:23 -07:00
Ted Blackman
3f31b36014 fix error handling in +make-join 2018-05-29 14:30:37 -07:00
Fang
5a25e87dec Remove old jael structs from old-zuse. 2018-05-29 22:43:49 +02:00
Ted Blackman
bbc38adddc %join schematic 2018-05-29 12:06:27 -07:00
Ted Blackman
03be29f160 %pact cleanup and docs 2018-05-29 09:48:43 -07:00
Curtis Yarvin
ddb0fc22f4 Chapter names for everyone. 2018-05-28 23:42:16 -07:00
Ted Blackman
9bfece90c9 %pact schematic and first of two needed tests 2018-05-28 23:10:47 -07:00
Ted Blackman
0ea2e51046 minor cleanup 2018-05-28 23:08:34 -07:00
Curtis Yarvin
a29b22357d Some renaming and stuff. 2018-05-27 12:15:15 -07:00
Ted Blackman
afb1532241 %diff schematic 2018-05-27 09:35:02 -07:00
Keaton Dunsford
a113515fba Transition ~marzod's Ask duties to a dedicated ship
This commit allows Ask app responsibility/load to get taken off of
~marzod and assigned to a dedicated Ask ship: currently, ~socden-malzod,
a child of Tlon's ops star, ~dopzod.
2018-05-25 15:18:17 -07:00
Curtis Yarvin
a26105370b Old help totally cleaned out. 2018-05-24 15:39:56 -07:00
Ted Blackman
c609f4d210 Fix %bake for marks 2018-05-24 15:31:29 -07:00
Elliot Glaysher
42e3c9312f Execute /mark/ in scaffolds 2018-05-24 10:25:54 -07:00
Elliot Glaysher
4791657f49 Pass a cage around as the crane subject to preserve marks 2018-05-23 16:20:44 -07:00
Elliot Glaysher
1e111d9fad Execute /& in scaffolds 2018-05-23 15:56:50 -07:00
Elliot Glaysher
5764293dae Arguments should always propagate so remove /% 2018-05-23 15:56:50 -07:00
Ted Blackman
fefa1aafd8 %bake schematic 2018-05-23 15:23:11 -07:00
Elliot Glaysher
a80123dac6 Execute /!mark/ in scaffolds 2018-05-23 14:20:49 -07:00
Ted Blackman
0e1a2686eb %cast schematic 2018-05-23 00:26:56 -07:00
Ted Blackman
b94aeb1652 %mute schematic 2018-05-23 00:05:05 -07:00
Elliot Glaysher
e965213049 Execute /_ in scaffolds; fixes %hoon suffixes 2018-05-22 16:33:18 -07:00
Elliot Glaysher
d8bb5906b4 Execute /$ in scaffolds 2018-05-21 15:48:45 -07:00
Ted Blackman
4cbb057600 %vale schematic 2018-05-21 14:54:58 -07:00
Ted Blackman
566422f7db %volt schematic 2018-05-21 13:38:14 -07:00
Elliot Glaysher
f9a4c8791b Execute /, in scaffolds 2018-05-21 13:34:56 -07:00
Elliot Glaysher
c0b4146803 Execute /: in scaffolds 2018-05-21 12:56:10 -07:00
Elliot Glaysher
5bb0cc50d9 Unflop hoons 2018-05-21 11:04:02 -07:00
Elliot Glaysher
1647f60213 Put the source disc in +scaffold 2018-05-21 10:58:59 -07:00
Curtis Yarvin
f060b46e44 Modify for all-wet core. 2018-05-20 14:33:06 -07:00
Curtis Yarvin
d15578859b Badly done. 2018-05-20 13:23:01 -07:00
Elliot Glaysher
30ecfc50b7 Merge branch 'ford-turbo' of github.com:urbit/arvo into ford-turbo 2018-05-18 16:25:11 -07:00
Elliot Glaysher
dd02b0c05d Execute /! in scaffolds 2018-05-18 16:21:45 -07:00
Ted Blackman
af21824b4f %bunt schematic 2018-05-18 13:59:00 -07:00
Elliot Glaysher
ef87e14f33 Execute /| in scaffolds 2018-05-18 13:19:35 -07:00
Elliot Glaysher
6f8ea7918e Execute /; in scaffolds 2018-05-17 16:35:27 -07:00
Elliot Glaysher
2df0b8b863 Execute /. and /^ in scaffolds 2018-05-17 14:49:44 -07:00
Elliot Glaysher
e6ff085fce Cleanup pass on the crane runner 2018-05-17 11:35:19 -07:00
Elliot Glaysher
d5444d44c5 Execute /= and /~ in scaffolds 2018-05-17 11:18:48 -07:00
Ted Blackman
6a720339cf linking works 2018-05-16 14:29:25 -07:00
Elliot Glaysher
e20bf4c4c2 Add syntax. 2018-05-16 10:40:04 -07:00
Elliot Glaysher
b129488c4d Clean up error handling in +make 2018-05-15 16:02:01 -07:00
Ted Blackman
faca1ab348 use make-<schematic-name> as arm names 2018-05-15 15:02:17 -07:00
Ted Blackman
ca9acf23ba sort +build-receipt's in +reduce 2018-05-15 14:44:48 -07:00
Anthony Arroyo
8c8ab699b8 merging in xship-wrap 2018-05-15 12:26:15 -07:00
Elliot Glaysher
8a521f4e80 Make the +hood parser use +parse-scaffold. Also, error checking. 2018-05-15 10:42:45 -07:00
Elliot Glaysher
fdcfebb73d Implements all cranes. 2018-05-14 17:07:19 -07:00
Ted Blackman
a4dfda9897 %reef with +disc and short-circuit 2018-05-14 16:19:56 -07:00
Elliot Glaysher
45f2c01a4b Implement parsing of the first five cranes. 2018-05-14 11:32:03 -07:00
Fang
e362b4b1c8 Merge in userspace constitution work. 2018-05-14 19:59:34 +02:00
Elliot Glaysher
ee904e08b7 Implement // parsing 2018-05-11 15:31:24 -07:00
Elliot Glaysher
ad5fc9d4ff Implement /? 2018-05-11 14:56:50 -07:00
Elliot Glaysher
157eb6a59c A very basic +scaffold parser which can read /- and /+ 2018-05-11 14:42:23 -07:00
Ted Blackman
3fc28092c8 %core schematic and basic test 2018-05-11 12:55:44 -07:00
Elliot Glaysher
4e5fffec08 Implementation of %hood with no imports. 2018-05-10 17:13:09 -07:00
Elliot Glaysher
d80015a708 Fix error state of dude. 2018-05-10 16:58:22 -07:00
Elliot Glaysher
6781d45ede Implement the %dude schematic 2018-05-10 15:18:12 -07:00
Ted Blackman
b20193e067 %path schematic and basic test 2018-05-10 13:34:25 -07:00
Elliot Glaysher
88ab046d88 Change %wris so it always returns a date.
This removes the scry from +rebuild in ford-turbo. This is ok since ford-turbo
Is the only consumer of %wris. The ford-turbo app now works end-to-end in a
way that theoretically should work without the app.
2018-05-10 11:18:52 -07:00
Fang
09e4e813d0 Make sure jael gets processed alongside other vanes. 2018-05-10 01:43:43 +02:00
Elliot Glaysher
a786cb38d9 Fix orphaned provisional builds.
This removes :clear-sub-builds because it is complicated and unnecessary and
then fixes how we clean up orphaned provision builds so we don’t leave orphaned
builds around if that build also had another listener.
2018-05-09 14:00:09 -07:00
Elliot Glaysher
b83b2885b6 Remove accidentally committed ~& 2018-05-09 12:28:35 -07:00
Anthony Arroyo
9bd01853e5
Revert "Revert "Change %w care to return both @ud and @da cases"" 2018-05-09 11:24:34 -07:00
Anthony Arroyo
00b2291ca8
Revert "Change %w care to return both @ud and @da cases" 2018-05-09 10:56:07 -07:00
Elliot Glaysher
00e43a38ee Merge branch 'ford-turbo-app' into ford-turbo 2018-05-09 10:20:09 -07:00
Ted Blackman
b1e85d481e %plan basic implementation and test 2018-05-08 16:54:29 -07:00
Elliot Glaysher
505aa209f3 Merge branch 'ford-turbo' into ford-turbo-app 2018-05-08 11:25:33 -07:00
Elliot Glaysher
167414a803 Merge branch 'ford-turbo-call' into ford-turbo 2018-05-08 11:15:47 -07:00
Elliot Glaysher
fdb72174c0 Implement %call, along with some refactoring on how we handle blocks. 2018-05-08 11:10:58 -07:00
Ted Blackman
541a805a6f %reef schematic and test 2018-05-07 16:12:07 -07:00
Ted Blackman
67a65bc853 use pit=vase in ford-turbo; fixed tests 2018-05-07 15:59:39 -07:00
Ted Blackman
6d092f0087 fixed %pin bug; added a few pin tests 2018-05-07 15:04:54 -07:00
Elliot Glaysher
2c6a085382 Scrys should block on a specific case, not in general. 2018-05-07 14:31:24 -07:00
Elliot Glaysher
bebf3eaf5a Fix %writ in the test app.
This fixes an infinite loop by advancing the clock in +writ and +wris,
along with using ~palfun's modified %cw operation to get a date from an
@ud +case.

This still doesn't fully work because of an interaction between the
testing app and how +scry:make works: our suplied scry method that we
provide to ford-turbo always blocks, but ford-turbo tracks blocking on
resources instead of specific times.
2018-05-03 16:17:09 -07:00
Elliot Glaysher
12b89743d6 Merge remote-tracking branch 'palfun/clay-w-change' into ford-turbo-app 2018-05-03 13:13:17 -07:00
Curtis Yarvin
07fd6faab9 Merge branch 'master' into research-merge; broken 2018-05-03 10:51:39 -07:00
Fang
1e0326f739 Encode block numbers properly. 2018-05-03 17:16:47 +02:00
Fang
d681c5964c Update existing usage of clay %w to take new result type into account. 2018-05-03 00:06:19 +02:00
Elliot Glaysher
1694f95eee Implement +slit. Tests both the success and error cases. 2018-05-02 14:47:24 -07:00
Anton Dyudin
dbfe2bf8f6 produce real &urb from /+urb-split 2018-05-02 14:35:36 -07:00
Elliot Glaysher
014921fbe9 Fix %sing calls.
Clay expects paths to not be flopped like beams are.
2018-05-01 13:56:24 -07:00
Ted Blackman
d6ed0984d3 cache reclamation and basic tests 2018-05-01 10:55:05 -07:00
Fang
c596ce12a7 Correct DNS domains getter signature. 2018-05-01 01:47:14 +02:00
Ted Blackman
18f38a7372 use new hoon syntaxes in ford-turbo
New syntaxes:
=/  =model  ...
::
%~  tap  in  ...
2018-04-30 15:15:25 -07:00
Ted Blackman
537d5f5562 renames 2018-04-30 14:57:32 -07:00
Ted Blackman
67894d0ab8 Merge branch 'ford-turbo' into turbo-merge 2018-04-30 11:34:35 -07:00
Elliot Glaysher
858f8ff330 Document +promote-build and helper functions. 2018-04-27 15:32:06 -07:00
Elliot Glaysher
0745a074cb Cleanup +apply-build-result and +apply-blocks 2018-04-27 14:09:18 -07:00
Elliot Glaysher
3bae2a8155 Further name tweaking. 2018-04-26 16:58:03 -07:00
Elliot Glaysher
47e194d7d4 Clean up +gather and put semantic names on datastructure manipulation. 2018-04-26 13:53:16 -07:00
Elliot Glaysher
b1b73abaab Cleanup pass.
- Created a +by-build-dag door which encapsulated the bijug logic.
- Did some reorganization of +reduce.
- Started trying to comment better.
2018-04-25 16:56:38 -07:00
Fang
856196c877 Fix subscription path range parsing. 2018-04-25 20:54:36 +02:00
Elliot Glaysher
e676c41e60 +test-double-alts: ensure that two %alts don't break each other 2018-04-25 11:16:27 -07:00
Elliot Glaysher
9444811d38 +test-live-and-pinned-triangle: don't promote pinned builds. 2018-04-24 14:44:41 -07:00
Elliot Glaysher
a3d0bd0d22 Add +test-scry-clay-live-again and make it work. 2018-04-24 12:57:19 -07:00
Elliot Glaysher
2561a56d80 Track provisional sub-builds; %alts passes now.
We needed to add tracking for provisional sub-builds to avoid leaking
orphan builds.
2018-04-23 16:17:20 -07:00
Anthony
06227f6131 add compiled mve front end baf9e6933c2fdd9 2018-04-23 09:31:54 -07:00
C. Guy Yarvin
97d2de4f4e Still some mild spec conversion bugs. 2018-04-22 19:41:24 -07:00
Fang
52222bed73 Typo correction in read request id parsing. 2018-04-18 23:50:32 +02:00
Fang
e5aec54571 Fix hull diff generation and application. 2018-04-18 23:18:17 +02:00
Fang
b10b27e0a7 Move call data generation to lib. 2018-04-18 14:04:18 +02:00