Commit Graph

22 Commits

Author SHA1 Message Date
Netscape Navigator e0d0739af6 Run rubocop 2020-04-25 10:11:25 -05:00
Netscape Navigator e087888e94 🎉 v0.1.0 - minimally feature complete 2020-04-22 08:44:12 -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 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 9adc19aa9c All tests pass. 2020-04-14 08:18:36 -05:00
Netscape Navigator f175c99067 [WIP][UNSTABLE] Gradually adding `lipmaa` header. 2020-04-12 09:38:52 -05:00
Netscape Navigator 291b450da6 Improve lexer error handling tests 2020-04-10 07:39:50 -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 dd7456cc88 Rename .public_key attributes to .multihash for consistency 2020-04-06 07:22:24 -05:00
Netscape Navigator dd455ff1df [STABLE] Convert URLSafeb64 to Crockford32. 2020-04-05 20:21:50 -05:00
Netscape Navigator 6b71044e86 Fix most failing tests. 2020-04-03 04:48:28 -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 f3373863a6 Rename KeyPair to LocalIdentity to disambiguate (were dealing with peers now). 2020-03-24 07:39:32 -05:00
Netscape Navigator 8d9deb90af Finish tests for Pigeon::Lexer 💯 ✔️ 2020-03-23 08:56:04 -05:00
Netscape Navigator 3982406014 More tests for Lexer. NEXT: Fix coverage elsewhere, write parser 2020-03-23 08:39:35 -05:00
Netscape Navigator d10d9bbadc Bug fix: Lexer hangs on single entry bundles. 2020-03-23 08:39:00 -05:00
Netscape Navigator 33cf84fa7b Dont reuse :TERMINATOR tokens. Add tests for bundle consumption. Found bug when consuming single message (?) 2020-03-20 09:01:02 -05:00
Netscape Navigator 0a907cb086 Move Pigeon::Lexer into its own module 2020-03-18 07:32:40 -05:00
Netscape Navigator decc2f83a0 (FAILING) Finish all the regexes required for a bundle lexer 2020-03-17 08:40:09 -05:00