Commit Graph

110 Commits

Author SHA1 Message Date
Netscape Navigator e0d0739af6 Run rubocop 2020-04-25 10:11:25 -05:00
Netscape Navigator 2d7c1b2f26 Test updates 2020-04-25 09:47:58 -05:00
Netscape Navigator 7edf4db041 TODO: Fix directory structure of exported bundles. 2020-04-24 07:18:40 -05:00
Netscape Navigator 589b683a12 Rename more methods 2020-04-24 06:20:02 -05:00
Netscape Navigator 8fed4dc0bc WIP. TODO: Make sure client is ingesting blobs in a bundle 2020-04-23 07:41:47 -05:00
Netscape Navigator e087888e94 🎉 v0.1.0 - minimally feature complete 2020-04-22 08:44:12 -05:00
Netscape Navigator 4f38f12a1a Ability to use blob as key, value or kind. 2020-04-21 08:02:53 -05:00
Netscape Navigator 10dc8e7cab Storage layer obeys blocklist 2020-04-19 21:32:37 -05:00
Netscape Navigator eb1b9a9a97 Remove wonky draft API 2020-04-19 17:09:50 -05:00
Netscape Navigator 638ce7c9b0 Begin renaming database methods for consistency 2020-04-19 09:25:42 -05:00
Netscape Navigator 3dd47bfe5e Done with singleton removal 2020-04-18 10:30:35 -05:00
Netscape Navigator 49a3623b28 🤞 One failure left... 2020-04-18 10:19:06 -05:00
Netscape Navigator a24486e583 Start removing @db instance vars 2020-04-18 09:24:51 -05:00
Netscape Navigator d3ddc21de3 WIP, Need to fix saved drafts. 2020-04-18 08:51:54 -05:00
Netscape Navigator 780823ccaf [REALLY UNSTABLE] Started removal of Pigeon::Storage.current 2020-04-16 09:05:10 -05:00
Netscape Navigator bd34ce89c7 Remove singleton usage in ::Storage 2020-04-15 08:06:24 -05:00
Netscape Navigator a710a7905f Singleton removal: Remove Pigeon::Bundle 2020-04-15 08:00:11 -05:00
Netscape Navigator 21ec42dbd7 Begin singleton removal 2020-04-15 07:46:49 -05:00
Netscape Navigator 9fba00c48b Add message size limit of 64 keys. 2020-04-15 07:31:18 -05:00
Netscape Navigator 9adc19aa9c All tests pass. 2020-04-14 08:18:36 -05:00
Netscape Navigator 975d7cde57 Done with lipmaalinks, but probably not partial verification. 2020-04-14 08:09:45 -05:00
Netscape Navigator 48625599d6 Add lexer method to tokenize just the top half of an entry 2020-04-13 09:12:58 -05:00
Netscape Navigator f175c99067 [WIP][UNSTABLE] Gradually adding `lipmaa` header. 2020-04-12 09:38:52 -05:00
Netscape Navigator d6742bb9c0 Ready to write tests for Lipmaa linking 2020-04-11 09:53:22 -05:00
Netscape Navigator c82eb7a3c9 Cleanup ::Storage (make some public methods private) 2020-04-11 09:42:43 -05:00
Netscape Navigator 291b450da6 Improve lexer error handling tests 2020-04-10 07:39:50 -05:00
Netscape Navigator e8e223f2ee More method renaming and dead code removal 2020-04-10 07:21:00 -05:00
Netscape Navigator 58926b4c68 [STABLE] Pass all message creation (even local messages) through the message lexer/parser for validation. 2020-04-09 08:12:23 -05:00
Netscape Navigator 8df1336702 Continuing fixes for ::Draft. 6 failures 2020-04-09 07:30:32 -05:00
Netscape Navigator a6a8634cab WIP. 7 tests failing. Refactor Pigeon::Draft / ::Message
Pigeon::Message was holding on to too many drafting responsibilities.
It also was possible for the local identity to inadvertantly author
malformed messages. This is because local messages were not passed
through the ::Lexer / ::Parser and thereby did not receive the same
scrutiny of remote messages.

To avoid security problems later, and for additional security,
I will only allow messages to be saved *after* passing through the
lexer/parser. This means moving much of Pigeon::Message's logic
into Pigeon::Draft.
2020-04-07 08:58:53 -05:00
Netscape Navigator d76f72ed88 Test case: ingesting malformed messages (whitespace keys and kind) 2020-04-07 08:13:28 -05:00
Netscape Navigator 492b2da385 WIP: Validate that `kind` and body keys dont contain whitespace 2020-04-06 07:52:32 -05:00
Netscape Navigator dd7456cc88 Rename .public_key attributes to .multihash for consistency 2020-04-06 07:22:24 -05:00
Netscape Navigator 6d6e8ffa37 Fix kitchen_sink.sh. Add tests for base32 encoder 2020-04-06 07:18:04 -05:00
Netscape Navigator dd455ff1df [STABLE] Convert URLSafeb64 to Crockford32. 2020-04-05 20:21:50 -05:00
Netscape Navigator 30d6690b1c [UNSTABLE] Remove b64, add b32 2020-04-05 19:38:37 -05:00
Netscape Navigator ae4c29ad0b WIP. Brainstorm base32 ideas. 2020-04-04 17:35:07 -05:00
Netscape Navigator b0181234af Test case: Verification / assertion error 2020-04-03 05:29:19 -05:00
Netscape Navigator cf8232d2d7 Works again! 🎉 2020-04-03 05:19:42 -05:00
Netscape Navigator 6b71044e86 Fix most failing tests. 2020-04-03 04:48:28 -05:00
Netscape Navigator 0fcc94d7c1 Update `normal.bundle` to account for stricter Lexer validations. 2020-04-03 04:41:03 -05:00
Netscape Navigator 57a5630659 Test case: Parsing meessage with duplicate keys 2020-04-02 07:38:00 -05:00
Netscape Navigator 4b3905b676 Add test for Storage#find_all 2020-04-02 07:32:21 -05:00
Netscape Navigator 9feb3d9ffc Find `message find-all` in CLI 2020-04-02 07:24:43 -05:00
Netscape Navigator 3c36f0efc2 Add ::Helpers.create_message(), Fix ALPHANUMERICISH regex (needed to allow hyphens) 2020-04-02 07:11:23 -05:00
Netscape Navigator 1c1caae42b update (failing) tests. Add better lex error messages 2020-04-01 08:25:27 -05:00
Netscape Navigator 94009bc725 Be more strict about strings. 2020-04-01 08:07:39 -05:00
Netscape Navigator e79e0aedf3 Never save same message twice 2020-04-01 07:38:32 -05:00
Netscape Navigator e84ee564e7 Comment / debugger cleanup 2020-04-01 07:33:52 -05:00
Netscape Navigator 1348433d2f Whoops, ingestion actually does *not* work. Maybe the `.chomp` in #render is tainting signatures? 2020-03-31 07:46:11 -05:00