Commit Graph

312 Commits

Author SHA1 Message Date
dependabot[bot] 5b3fb396fc
Bump husky from 4.3.5 to 4.3.6
Bumps [husky](https://github.com/typicode/husky) from 4.3.5 to 4.3.6.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v4.3.5...v4.3.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-14 05:15:40 +00:00
Christian Bundy 9b12cf6881
Merge pull request #545 from fraction/dependabot/npm_and_yarn/yargs-16.2.0
Bump yargs from 16.1.1 to 16.2.0
2020-12-12 20:49:37 -08:00
Christian Bundy dbe555e49e
Merge pull request #550 from fraction/dependabot/npm_and_yarn/husky-4.3.5
Bump husky from 4.3.0 to 4.3.5
2020-12-12 20:49:25 -08:00
dependabot[bot] 8a64352da1
Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-12 04:44:36 +00:00
dependabot[bot] 3e10be4172
Bump markdown-it from 12.0.2 to 12.0.3
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 12.0.2 to 12.0.3.
- [Release notes](https://github.com/markdown-it/markdown-it/releases)
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/12.0.2...12.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-08 05:08:17 +00:00
dependabot[bot] 648e74e205
Bump husky from 4.3.0 to 4.3.5
Bumps [husky](https://github.com/typicode/husky) from 4.3.0 to 4.3.5.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v4.3.0...v4.3.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-08 05:06:14 +00:00
dependabot[bot] 8da7d6514e
Bump yargs from 16.1.1 to 16.2.0
Bumps [yargs](https://github.com/yargs/yargs) from 16.1.1 to 16.2.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v16.1.1...v16.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-07 05:13:49 +00:00
dependabot[bot] 143da01030
Bump highlight.js from 10.4.0 to 10.4.1
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 10.4.0 to 10.4.1.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/10.4.0...10.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-04 05:04:42 +00:00
dependabot[bot] 21138816d9
Bump @types/yargs from 15.0.10 to 15.0.11
Bumps [@types/yargs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/yargs) from 15.0.10 to 15.0.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/yargs)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-03 05:05:15 +00:00
Daan Wynen 10fc3d89fe Fir common-good call
Use `test` instead of `check`.
This was changed in common-good 3.0.
See the [commit](3dc492ea7d)

Also added a pretty aggressive ignore-list for dev-dependencies for depcheck.
2020-11-25 23:30:04 +01:00
dependabot[bot] 956893a0fe Bump common-good from 2.0.3 to 4.0.3
Bumps [common-good](https://github.com/christianbundy/common-good) from 2.0.3 to 4.0.3.
- [Release notes](https://github.com/christianbundy/common-good/releases)
- [Commits](https://github.com/christianbundy/common-good/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-25 21:15:12 +01:00
cblgh df2ebced9e 2.17.0 2020-11-25 07:52:54 -08:00
dependabot[bot] 2dfcc88c12
Bump ssb-blobs from 1.2.3 to 2.0.1
Bumps [ssb-blobs](https://github.com/ssbc/ssb-blobs) from 1.2.3 to 2.0.1.
- [Release notes](https://github.com/ssbc/ssb-blobs/releases)
- [Commits](https://github.com/ssbc/ssb-blobs/compare/v1.2.3...v2.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-25 06:29:47 +00:00
Christian Bundy 81efb9aef1
Merge pull request #530 from fraction/dependabot/npm_and_yarn/types/pull-stream-3.6.2
Bump @types/pull-stream from 3.6.0 to 3.6.2
2020-11-24 21:35:34 -08:00
Christian Bundy 925e4bc78b Merge branch 'master' of github.com:fraction/oasis into upgrade-koa-router 2020-11-24 20:46:51 -08:00
dependabot[bot] 9ef9ab9ff4
Bump @types/pull-stream from 3.6.0 to 3.6.2
Bumps [@types/pull-stream](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/pull-stream) from 3.6.0 to 3.6.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/pull-stream)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-25 04:11:26 +00:00
Christian Bundy 73be3b79c6 Merge remote-tracking branch 'upstream/dependabot/npm_and_yarn/types/yargs-15.0.10' into add-more-tests 2020-11-23 08:19:27 -08:00
Christian Bundy 416b036187 Merge remote-tracking branch 'upstream/dependabot/npm_and_yarn/husky-4.3.0' into add-more-tests 2020-11-23 08:19:13 -08:00
Christian Bundy 47ead0c624 Merge remote-tracking branch 'upstream/dependabot/npm_and_yarn/types/mkdirp-1.0.1' into add-more-tests 2020-11-23 08:18:55 -08:00
Christian Bundy c56b546428 Merge remote-tracking branch 'upstream/dependabot/npm_and_yarn/types/koa__router-8.0.3' into add-more-tests 2020-11-23 08:18:33 -08:00
dependabot[bot] cd6f2182e4
Bump @types/yargs from 15.0.4 to 15.0.10
Bumps [@types/yargs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/yargs) from 15.0.4 to 15.0.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/yargs)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-23 05:18:10 +00:00
dependabot[bot] 25cc918fce
Bump husky from 3.1.0 to 4.3.0
Bumps [husky](https://github.com/typicode/husky) from 3.1.0 to 4.3.0.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v3.1.0...v4.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-23 05:16:46 +00:00
dependabot[bot] 5d892823de
Bump @types/mkdirp from 1.0.0 to 1.0.1
Bumps [@types/mkdirp](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mkdirp) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mkdirp)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-23 05:15:24 +00:00
dependabot[bot] f09c3fc274
Bump @types/koa__router from 8.0.2 to 8.0.3
Bumps [@types/koa__router](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/koa__router) from 8.0.2 to 8.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/koa__router)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-23 05:14:05 +00:00
Christian Bundy 70e87d5e8e Add ssb-private1
Problem: With the new ssb-db@20 we have to explicitly add ssb-private1
to ensure that we can see private messages.

Solution: Add ssb-private1 as a plugin.
2020-11-22 18:02:20 -08:00
Christian Bundy 68acfc833d Merge branch 'master' of github.com:fraction/oasis into add-more-tests 2020-11-22 16:55:37 -08:00
Christian Bundy 26fa0203a7 npm dedupe 2020-11-22 16:38:23 -08:00
Christian Bundy 74ed560ace Merge remote-tracking branch 'upstream/dependabot/npm_and_yarn/ssb-db-20.3.0' into add-more-tests-ssb-db 2020-11-22 16:14:15 -08:00
Christian Bundy 2262116d08 Merge remote-tracking branch 'upstream/dependabot/npm_and_yarn/ssb-backlinks-2.1.1' into add-more-tests 2020-11-22 15:58:15 -08:00
Christian Bundy 76f2792c0b Merge remote-tracking branch 'upstream/dependabot/npm_and_yarn/ssb-search-1.3.0' into add-more-tests 2020-11-22 15:47:07 -08:00
Christian Bundy 6cbaa447d3 Merge remote-tracking branch 'upstream/dependabot/npm_and_yarn/ssb-friends-4.3.0' into add-more-tests 2020-11-22 15:46:56 -08:00
Christian Bundy f77498ae0a Merge remote-tracking branch 'upstream/dependabot/npm_and_yarn/ssb-conn-0.19.1' into add-more-tests 2020-11-22 15:46:44 -08:00
Christian Bundy 9f1b05de70 Merge remote-tracking branch 'upstream/dependabot/npm_and_yarn/ssb-meme-1.1.0' into add-more-tests 2020-11-22 15:46:30 -08:00
Christian Bundy ebb634b097 Merge remote-tracking branch 'upstream/dependabot/npm_and_yarn/ssb-invite-2.1.6' into add-more-tests 2020-11-22 15:46:16 -08:00
Christian Bundy c7b1e0a249 Merge remote-tracking branch 'upstream/dependabot/npm_and_yarn/ssb-blobs-1.2.3' into add-more-tests 2020-11-22 15:45:25 -08:00
Christian Bundy 70e87b8217 Merge remote-tracking branch 'upstream/dependabot/npm_and_yarn/ssb-ooo-1.3.3' into add-more-tests 2020-11-22 15:44:57 -08:00
Christian Bundy 587f9d5efe Merge remote-tracking branch 'upstream/dependabot/npm_and_yarn/ssb-query-2.4.5' into add-more-tests 2020-11-22 15:44:44 -08:00
Christian Bundy b261c3ea98 Merge remote-tracking branch 'upstream/dependabot/npm_and_yarn/ssb-room-1.3.0' into add-more-tests 2020-11-22 15:44:30 -08:00
Christian Bundy c86865a5ca Add more comprehensive tests
Problem: I've been worried about merging these version bump pull
requests since we don't have many tests, and I *really* don't want to
merge any catostrophic breaking changes anywhere.

Solution: Add some tests that are more comprehensive, starting by
creating a temporary SSB database and keypair and then editing the
profile, previewing a message, publishing a message, etc., until we have
a handful of small functions actually being tested. This won't ensure
that everything works forever, and it *really* doesn't test replication,
but it should help increase our confidence that test success means that
fewer things are broken.
2020-11-22 15:35:15 -08:00
dependabot[bot] 57cb5c225d
Bump ssb-db from 19.4.0 to 20.3.0
Bumps [ssb-db](https://github.com/ssbc/ssb-db) from 19.4.0 to 20.3.0.
- [Release notes](https://github.com/ssbc/ssb-db/releases)
- [Commits](https://github.com/ssbc/ssb-db/compare/v19.4.0...v20.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 20:26:32 +00:00
dependabot[bot] e2f9a4d0a3
Bump ssb-backlinks from 1.0.0 to 2.1.1
Bumps [ssb-backlinks](https://github.com/ssbc/ssb-backlinks) from 1.0.0 to 2.1.1.
- [Release notes](https://github.com/ssbc/ssb-backlinks/releases)
- [Commits](https://github.com/ssbc/ssb-backlinks/commits/v2.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 20:26:09 +00:00
dependabot[bot] 49c606e654
Bump ssb-search from 1.2.1 to 1.3.0
Bumps [ssb-search](https://github.com/ssbc/ssb-search) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/ssbc/ssb-search/releases)
- [Commits](https://github.com/ssbc/ssb-search/compare/v1.2.1...v1.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 20:25:48 +00:00
dependabot[bot] 91b5c37207
Bump ssb-friends from 4.1.4 to 4.3.0
Bumps [ssb-friends](https://github.com/ssbc/ssb-friends) from 4.1.4 to 4.3.0.
- [Release notes](https://github.com/ssbc/ssb-friends/releases)
- [Commits](https://github.com/ssbc/ssb-friends/compare/v4.1.4...v4.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 20:25:27 +00:00
dependabot[bot] c87f0762d2
Bump ssb-conn from 0.17.0 to 0.19.1
Bumps [ssb-conn](https://github.com/staltz/ssb-conn) from 0.17.0 to 0.19.1.
- [Release notes](https://github.com/staltz/ssb-conn/releases)
- [Commits](https://github.com/staltz/ssb-conn/compare/v0.17.0...v0.19.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 20:25:07 +00:00
dependabot[bot] 805a6219f7
Bump ssb-meme from 1.0.4 to 1.1.0
Bumps [ssb-meme](https://github.com/ssbc/ssb-meme) from 1.0.4 to 1.1.0.
- [Release notes](https://github.com/ssbc/ssb-meme/releases)
- [Commits](https://github.com/ssbc/ssb-meme/compare/v1.0.4...v1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 20:24:39 +00:00
dependabot[bot] 55d84224a2
Bump ssb-invite from 2.1.4 to 2.1.6
Bumps [ssb-invite](https://github.com/ssbc/ssb-invite) from 2.1.4 to 2.1.6.
- [Release notes](https://github.com/ssbc/ssb-invite/releases)
- [Commits](https://github.com/ssbc/ssb-invite/commits/v2.1.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 20:24:16 +00:00
dependabot[bot] 7071eb06c3
Bump ssb-blobs from 1.2.2 to 1.2.3
Bumps [ssb-blobs](https://github.com/ssbc/ssb-blobs) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/ssbc/ssb-blobs/releases)
- [Commits](https://github.com/ssbc/ssb-blobs/commits/v1.2.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 20:23:54 +00:00
dependabot[bot] eda7855598
Bump ssb-ooo from 1.3.2 to 1.3.3
Bumps [ssb-ooo](https://github.com/dominictarr/ssb-ooo) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/dominictarr/ssb-ooo/releases)
- [Commits](https://github.com/dominictarr/ssb-ooo/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 20:23:28 +00:00
dependabot[bot] 819eb74715
Bump ssb-query from 2.4.3 to 2.4.5
Bumps [ssb-query](https://github.com/dominictarr/ssb-query) from 2.4.3 to 2.4.5.
- [Release notes](https://github.com/dominictarr/ssb-query/releases)
- [Commits](https://github.com/dominictarr/ssb-query/compare/v2.4.3...v2.4.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 20:23:07 +00:00
dependabot[bot] 74937c763d
Bump ssb-room from 1.2.2 to 1.3.0
Bumps [ssb-room](https://github.com/staltz/ssb-room) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/staltz/ssb-room/releases)
- [Commits](https://github.com/staltz/ssb-room/compare/v1.2.2...1.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 20:22:43 +00:00
Christian Bundy 679a2bff74 Revert "Removes husky to fix #346"
Problem: I keep forgetting to run tests and my commits aren't actually
passing in CI. I'd really like for these to be run automatically so that
I don't have to remember my pre-commit hooks.

Solution: Revert commit d9e829e2e8, which
Nick Wynja added to remove Husky as a pre-commit hook. I hope that
anyone who doesn't want to run the pre-commit hook will run Git with the
`--no-verify` option, and anyone bummed at this change will open a
conversation to discuss in more details (or just revert *this* commit).

See-also: https://github.com/fraction/oasis/issues/346
2020-11-22 21:08:45 +01:00
Christian Bundy c993adc01a Merge flotilla source code into Oasis
Problem: I thought it would be a good idea to keep our SSB stack in
another module but it just creates friction and adds another layer to
our stack that has to be independently upgraded and versioned.

Solution: Merge the @fraction/flotilla source code into Oasis so that we
don't have to maintain two separate projects.
2020-11-22 10:10:53 -08:00
Christian Bundy 781e647fce Upgrade @koa/router
This also fixes our routes so that we're listening on `/foo` instead of
`/foo/` with an accidental trailing slash.
2020-11-21 20:15:03 -08:00
Christian Bundy 3600e09ab0
Merge pull request #505 from fraction/dependabot/npm_and_yarn/file-type-16.0.1
Bump file-type from 15.0.1 to 16.0.1
2020-11-21 17:36:05 -08:00
Christian Bundy 5f910c86b5
Merge pull request #501 from fraction/dependabot/npm_and_yarn/types/mkdirp-1.0.1
Bump @types/mkdirp from 1.0.0 to 1.0.1
2020-11-21 17:25:45 -08:00
Christian Bundy 95cef65be2
Merge pull request #506 from fraction/dependabot/npm_and_yarn/pretty-ms-7.0.1
Bump pretty-ms from 6.0.1 to 7.0.1
2020-11-21 17:22:06 -08:00
Christian Bundy 6522172a46
Merge pull request #499 from fraction/dependabot/npm_and_yarn/types/yargs-15.0.10
Bump @types/yargs from 15.0.4 to 15.0.10
2020-11-21 17:18:12 -08:00
dependabot[bot] 6a0ad69969
Bump file-type from 15.0.1 to 16.0.1
Bumps [file-type](https://github.com/sindresorhus/file-type) from 15.0.1 to 16.0.1.
- [Release notes](https://github.com/sindresorhus/file-type/releases)
- [Commits](https://github.com/sindresorhus/file-type/compare/v15.0.1...v16.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 01:11:13 +00:00
Christian Bundy e9f52201ca
Merge pull request #504 from fraction/dependabot/npm_and_yarn/ssb-config-3.4.5
Bump ssb-config from 3.4.4 to 3.4.5
2020-11-21 17:10:19 -08:00
dependabot[bot] 4c309c6ddc
Bump @types/mkdirp from 1.0.0 to 1.0.1
Bumps [@types/mkdirp](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mkdirp) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mkdirp)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 01:09:47 +00:00
Christian Bundy e5c7c60257
Merge pull request #502 from fraction/dependabot/npm_and_yarn/debug-4.3.1
Bump debug from 4.1.1 to 4.3.1
2020-11-21 17:08:26 -08:00
Christian Bundy ce8d4cbf57
Merge pull request #503 from fraction/dependabot/npm_and_yarn/highlight.js-10.4.0
Bump highlight.js from 9.18.1 to 10.4.0
2020-11-21 17:08:13 -08:00
Christian Bundy 5d306b7364
Merge pull request #500 from fraction/dependabot/npm_and_yarn/types/markdown-it-10.0.3
Bump @types/markdown-it from 0.0.9 to 10.0.3
2020-11-21 17:06:36 -08:00
dependabot[bot] fa1accd073
Bump @types/yargs from 15.0.4 to 15.0.10
Bumps [@types/yargs](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/yargs) from 15.0.4 to 15.0.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/yargs)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 01:04:07 +00:00
dependabot[bot] c72dd99c00
Bump pretty-ms from 6.0.1 to 7.0.1
Bumps [pretty-ms](https://github.com/sindresorhus/pretty-ms) from 6.0.1 to 7.0.1.
- [Release notes](https://github.com/sindresorhus/pretty-ms/releases)
- [Commits](https://github.com/sindresorhus/pretty-ms/compare/v6.0.1...v7.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 01:00:09 +00:00
dependabot[bot] 6c41285826
Bump ssb-config from 3.4.4 to 3.4.5
Bumps [ssb-config](https://github.com/ssbc/ssb-config) from 3.4.4 to 3.4.5.
- [Release notes](https://github.com/ssbc/ssb-config/releases)
- [Commits](https://github.com/ssbc/ssb-config/compare/v3.4.4...v3.4.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:59:27 +00:00
dependabot[bot] 83224ea2f0
Bump highlight.js from 9.18.1 to 10.4.0
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.18.1 to 10.4.0.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.18.1...10.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:59:07 +00:00
dependabot[bot] 249b201079
Bump debug from 4.1.1 to 4.3.1
Bumps [debug](https://github.com/visionmedia/debug) from 4.1.1 to 4.3.1.
- [Release notes](https://github.com/visionmedia/debug/releases)
- [Commits](https://github.com/visionmedia/debug/compare/4.1.1...4.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:58:45 +00:00
dependabot[bot] a27f7c4716
Bump @types/markdown-it from 0.0.9 to 10.0.3
Bumps [@types/markdown-it](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/markdown-it) from 0.0.9 to 10.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/markdown-it)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:57:59 +00:00
dependabot[bot] ae9da3df5b
Bump @types/sharp from 0.24.0 to 0.26.1
Bumps [@types/sharp](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sharp) from 0.24.0 to 0.26.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sharp)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:57:17 +00:00
Christian Bundy 520ae4b2ad
Merge pull request #493 from fraction/dependabot/npm_and_yarn/sharp-0.26.3
Bump sharp from 0.25.2 to 0.26.3
2020-11-21 16:45:47 -08:00
Christian Bundy ab280610a9
Merge pull request #494 from fraction/dependabot/npm_and_yarn/ssb-ref-2.14.2
Bump ssb-ref from 2.13.9 to 2.14.2
2020-11-21 16:45:35 -08:00
dependabot[bot] 8740a194aa
Bump ssb-ref from 2.13.9 to 2.14.2
Bumps [ssb-ref](https://github.com/ssbc/ssb-ref) from 2.13.9 to 2.14.2.
- [Release notes](https://github.com/ssbc/ssb-ref/releases)
- [Commits](https://github.com/ssbc/ssb-ref/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:32:39 +00:00
dependabot[bot] 1478579c40
Bump sharp from 0.25.2 to 0.26.3
Bumps [sharp](https://github.com/lovell/sharp) from 0.25.2 to 0.26.3.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Changelog](https://github.com/lovell/sharp/blob/master/docs/changelog.md)
- [Commits](https://github.com/lovell/sharp/compare/v0.25.2...v0.26.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:32:20 +00:00
dependabot[bot] 31036493eb
Bump @types/highlight.js from 9.12.3 to 10.1.0
Bumps [@types/highlight.js](https://github.com/highlightjs/highlight.js) from 9.12.3 to 10.1.0.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/commits/10.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:31:57 +00:00
Christian Bundy 539aab0dbb
Merge pull request #487 from fraction/dependabot/npm_and_yarn/lodash-4.17.20
Bump lodash from 4.17.19 to 4.17.20
2020-11-21 16:29:38 -08:00
Christian Bundy 8d43f62e21
Merge pull request #489 from fraction/dependabot/npm_and_yarn/markdown-it-12.0.2
Bump markdown-it from 10.0.0 to 12.0.2
2020-11-21 16:29:02 -08:00
Christian Bundy 8c1f2c0606
Merge pull request #488 from fraction/dependabot/npm_and_yarn/changelog-version-2.0.0
Bump changelog-version from 1.0.1 to 2.0.0
2020-11-21 16:27:40 -08:00
Christian Bundy 2002235b95
Merge pull request #486 from fraction/dependabot/npm_and_yarn/koa-2.13.0
Bump koa from 2.11.0 to 2.13.0
2020-11-21 16:25:32 -08:00
dependabot[bot] 3255b97c7b
Bump markdown-it from 10.0.0 to 12.0.2
Bumps [markdown-it](https://github.com/markdown-it/markdown-it) from 10.0.0 to 12.0.2.
- [Release notes](https://github.com/markdown-it/markdown-it/releases)
- [Changelog](https://github.com/markdown-it/markdown-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/markdown-it/compare/10.0.0...12.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:20:09 +00:00
dependabot[bot] 8078ffb9cf
Bump changelog-version from 1.0.1 to 2.0.0
Bumps [changelog-version](https://github.com/AlbertoFdzM/changelog-version) from 1.0.1 to 2.0.0.
- [Release notes](https://github.com/AlbertoFdzM/changelog-version/releases)
- [Changelog](https://github.com/AlbertoFdzM/changelog-version/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/AlbertoFdzM/changelog-version/compare/v1.0.1...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:19:47 +00:00
dependabot[bot] 565ba19642
Bump lodash from 4.17.19 to 4.17.20
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.20)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:19:27 +00:00
dependabot[bot] 3d7dd24753
Bump koa from 2.11.0 to 2.13.0
Bumps [koa](https://github.com/koajs/koa) from 2.11.0 to 2.13.0.
- [Release notes](https://github.com/koajs/koa/releases)
- [Changelog](https://github.com/koajs/koa/blob/master/History.md)
- [Commits](https://github.com/koajs/koa/compare/2.11.0...2.13.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:19:06 +00:00
dependabot[bot] f0c74e8e31
Bump yargs from 15.3.1 to 16.1.1
Bumps [yargs](https://github.com/yargs/yargs) from 15.3.1 to 16.1.1.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v15.3.1...v16.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:18:42 +00:00
Christian Bundy b243a321ab
Merge pull request #478 from fraction/dependabot/npm_and_yarn/types/lodash-4.14.165
Bump @types/lodash from 4.14.150 to 4.14.165
2020-11-21 16:16:08 -08:00
Christian Bundy 2f0b6ddaad
Merge pull request #481 from fraction/dependabot/npm_and_yarn/koa-body-4.2.0
Bump koa-body from 4.1.1 to 4.2.0
2020-11-21 16:16:00 -08:00
Christian Bundy b3afaf06c7
Merge pull request #479 from fraction/dependabot/npm_and_yarn/nodemon-2.0.6
Bump nodemon from 2.0.3 to 2.0.6
2020-11-21 16:15:52 -08:00
Christian Bundy 0bb999e567
Merge pull request #477 from fraction/dependabot/npm_and_yarn/types/koa-2.11.6
Bump @types/koa from 2.11.3 to 2.11.6
2020-11-21 16:15:43 -08:00
dependabot[bot] e046bad5c3
Bump supertest from 4.0.2 to 6.0.1
Bumps [supertest](https://github.com/visionmedia/supertest) from 4.0.2 to 6.0.1.
- [Release notes](https://github.com/visionmedia/supertest/releases)
- [Commits](https://github.com/visionmedia/supertest/compare/v4.0.2...v6.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:01:21 +00:00
dependabot[bot] f19d6db50a
Bump koa-body from 4.1.1 to 4.2.0
Bumps [koa-body](https://github.com/dlau/koa-body) from 4.1.1 to 4.2.0.
- [Release notes](https://github.com/dlau/koa-body/releases)
- [Changelog](https://github.com/dlau/koa-body/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dlau/koa-body/compare/v4.1.1...v4.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:01:14 +00:00
dependabot[bot] 3eb8c67da4
Bump nodemon from 2.0.3 to 2.0.6
Bumps [nodemon](https://github.com/remy/nodemon) from 2.0.3 to 2.0.6.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v2.0.3...v2.0.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:01:12 +00:00
dependabot[bot] 594ec86da2
Bump @types/lodash from 4.14.150 to 4.14.165
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.150 to 4.14.165.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:01:11 +00:00
dependabot[bot] 5d9380e454
Bump @types/koa from 2.11.3 to 2.11.6
Bumps [@types/koa](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/koa) from 2.11.3 to 2.11.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/koa)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-22 00:01:11 +00:00
Christian Bundy 783b2c718c
Merge pull request #476 from fraction/dependabot/npm_and_yarn/types/koa__router-8.0.3
Bump @types/koa__router from 8.0.2 to 8.0.3
2020-11-21 15:33:24 -08:00
dependabot[bot] cf24201305
Bump @types/pull-stream from 3.6.0 to 3.6.2
Bumps [@types/pull-stream](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/pull-stream) from 3.6.0 to 3.6.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/pull-stream)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-21 23:22:32 +00:00
dependabot[bot] cf4bc3b0b6
Bump @types/koa__router from 8.0.2 to 8.0.3
Bumps [@types/koa__router](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/koa__router) from 8.0.2 to 8.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/koa__router)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-21 23:22:31 +00:00
Christian Bundy 326b079265
Merge pull request #474 from fraction/dependabot/npm_and_yarn/types/supertest-2.0.10
Bump @types/supertest from 2.0.9 to 2.0.10
2020-11-21 15:21:08 -08:00
Christian Bundy d6ec22aa0c
Merge pull request #473 from fraction/dependabot/npm_and_yarn/tap-14.11.0
Bump tap from 14.10.7 to 14.11.0
2020-11-21 15:20:58 -08:00
dependabot[bot] 918a74f55e
Bump @types/supertest from 2.0.9 to 2.0.10
Bumps [@types/supertest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/supertest) from 2.0.9 to 2.0.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/supertest)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-21 23:10:14 +00:00
dependabot[bot] e1b33597f3
Bump tap from 14.10.7 to 14.11.0
Bumps [tap](https://github.com/tapjs/node-tap) from 14.10.7 to 14.11.0.
- [Release notes](https://github.com/tapjs/node-tap/releases)
- [Commits](https://github.com/tapjs/node-tap/compare/v14.10.7...v14.11.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-21 23:09:54 +00:00
dependabot[bot] 709ec00554
Bump open from 7.0.3 to 7.3.0
Bumps [open](https://github.com/sindresorhus/open) from 7.0.3 to 7.3.0.
- [Release notes](https://github.com/sindresorhus/open/releases)
- [Commits](https://github.com/sindresorhus/open/compare/v7.0.3...v7.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-21 23:09:31 +00:00
Christian Bundy 0aacf3bbc3 Fix tests and remove workaround
Problem: Recently there was a PR [0] merged with a quickfix to avoid
some test failures, which is something I've been trying to avoid. While
`process.exit()` works fine, I'm worried that it means we don't
understand what's happening under the hood, *plus* I have the [maybe
unjustified?] worry that it might kill the process during a database
write or something dangerous. It looks like this particular test hang
was caused by both a stream and some number of intervals that were left
open.

Solution: Provide a way to close the stream and intervals in `index.js`
and ensure that we do that before closing the server.

[0]: https://github.com/fraction/oasis/pull/462
2020-11-11 08:25:38 -08:00
Alexander Cobleigh 988d35a736 manually edit package-lock
the purpose is to only add the two new dependencies this PR introduces, piexifjs
and file-types (and their transitive dependencies, ofc), without affecting any
other dependencies, as compared to oasis's current master branch
2020-10-21 13:58:15 +02:00
Henry 67241ce286 pin deps 2020-10-19 10:38:21 +02:00
Henry 5cb4c8aff1 use file-type for mime and enhanced preview
and cleanup blob addition to text
2020-10-19 10:06:02 +02:00
dependabot[bot] f8e7f25d6c
Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-19 05:08:58 +00:00
Jacob Karlsson c205826b48 Merge branch 'master' of github.com:fraction/oasis into image-search 2020-05-06 20:05:37 +02:00
Christian Bundy f86b73b40e Upgrade Flotilla and SSB-CONN, remove auto-stage
Problem: The auto-stage code was a horrible hack that may be causeing an
OOM bug if too many peers are staged too quickly.

Solution: Since SSB-CONN now supports a variable number of connection
hops, we can remove the auto-stage hack and use the default scheduler
instead of trying to staple on our own hacky scheduler fix.
2020-05-04 13:27:06 -07:00
Jacob Karlsson e456c1d9c5 Add image search 2020-05-03 22:16:44 +02:00
Christian Bundy 09ff4cad21 2.16.0 2020-04-13 14:32:21 -07:00
Christian Bundy 8e4a1c8e53 2.15.0 2020-04-10 12:51:36 -07:00
Christian Bundy 2968f7d80a Merge https://github.com/fraction/oasis into advisory-fix-1 2020-04-10 10:51:29 -07:00
Christian Bundy ecdd78c42e Merge branch 'master' of github.com:fraction/oasis into update-deps 2020-04-08 14:52:06 -07:00
Christian Bundy cb1be6bc8b Fix open sockets that weren't closing during tests
Problem: The test suite isn't closing the database because `app.close()`
only affects the HTTP server. This means that tests don't exit cleanly
and sockets remain open and all sorts of really fun stuff that we don't
want while writing tests.

Solution: Refactor `src/ssb.js` so that we can exit cleanly and have
less rope to hang ourselves with. Add a small lifecycle test that can
help us ensure that the bare minimum lifecycle events are working
correctly, plus now the previous tests are passing on my machine too.
2020-04-06 12:14:58 -07:00
Christian Bundy 3c9ec37d2f Add very basic test suite
Problem: ESLint and TypeScript help catch some types of regressions, but
they don't protect us against obvious stuff like "the server won't
start". This means that humans need to test a bunch of stuff manually,
and that can be really tedious and exhausting.

Solution: Yesterday someone invented this cool concept called "testing"
where you write automated tests for your software to ensure it actually
works the way you expect. It might have beeen invented before yesterday,
I don't know. Anyway, this solution adds a bunch of tests that send HTTP
GET requests to a bunch of endpoints to make sure the server is at least
returning HTTP 200 responses. It also fixes a race condition where HTTP
server was available before the readme / version strings were loaded.
2020-04-03 09:17:13 -07:00
Christian Bundy 182d6d68bc Update npm dependencies
Problem: Our dependencies are getting ahead of us!

Solution: Catch up with `npm update`. I think Markdown-It was the only
breaking change, and it didn't affect us.
2020-04-03 07:11:11 -07:00
Christian Bundy 555249277f Remove @ts-ignore workaround
Problem: The workaround is no longer necessary now that the new version
of @types/koa has been published. Thanks to @peterblazejewicz,
@harryparkdotio, and @orta for the quick upstream fix.

Solution: Run `npm update` and remove the `@ts-ignore` comment.
2020-03-27 09:13:31 -07:00
Christian Bundy defb57321e Merge branch 'master' of github.com:fraction/oasis into type-defs 2020-03-27 08:02:44 -07:00
Christian Bundy c4aaf47a06 Fix Markdown link bug
Problem: Some sigil links were broken because of a bug in SSB-Markdown
that was recently resolved.

Solution: Upgrade SSB-Markdown.

Fixes: https://github.com/fraction/oasis/issues/242
2020-03-25 10:15:26 -07:00
Christian Bundy c9fffe2b9c Add TypeScript definitions for better guardrails
Problem: We have TypeScript enabled on the project but have been missing
lots of definition files, so there are like 500 errors when you enable
`--noImplicitAny`.

Solution: Add definitions and fix the bugs that they point out. This
reduces the number of errors with `--noImplicitAny` to 285.
2020-03-24 09:23:52 -07:00
Christian Bundy dd388feefe Revert @fraction/flotilla change 2020-03-24 08:15:05 -07:00
Christian Bundy 488852f205 Resolve Travis CI + Windows EOL bug
Problem: Travis CI is converting our EOL characters and it's causing
problems when we're parsing with Prettier.

Solution: Disable auto-conversion.
2020-03-23 19:20:38 -07:00
Christian Bundy 32465e5983 Update npm dependencies
Problem: Our dependencies are falling behind and it'd be nice to have
them up-to-date. The only big update it that Common-Good upgraded to the
latest version of Prettier.

Solution: Update them!
2020-03-23 18:59:53 -07:00
Cinnamon 3e74a5cd2e
Merge pull request #298 from christianbundy/2019-03-npm-update
Upgrade npm dependencies
2020-03-11 16:02:09 -07:00
Christian Bundy c575aebb03 2.14.0 2020-03-10 16:57:46 -07:00
Christian Bundy 9b193cda14 Upgrade npm dependencies
Problem: Patchwork is soon going to release with a new SSB-Backlinks,
and since we share a database with Patchwork we should make sure we're
on the same version. If we're on different versions, we'll be constantly
regenerating indexes and that isn't fun for anyone.

Solution: Upgrade npm dependencies.
2020-03-09 14:34:18 -07:00
Daan Wynen 35c42f6b95 Read settings from ~/.config/oasis/config.json
This should give pretty much expected behaviour. Each config value
can be set by three sources:

1. By command-line argument. If it is not given, then
2. By config file. Or, lastly
3. By default value in the source code.

I can't test that the config file is searched and read from the right
place on windows or macOS, but on linux it works.
2020-02-22 10:32:50 +01:00
Christian Bundy 293dcabe68 Update SSB-Mentions and remove workaround
Problem: We've been using a workaround to filter the results of
SSB-Mentions, but that's just been fixed upstream and so we don't need
the workaround anymore.

Solution: Update the SSB-Mentions package and remove the workaround.
2020-02-19 14:38:10 -08:00
Christian Bundy 8088a9aa8b Add Oasis version to settings
Problem: It was impossible to tell which version of Oasis you're
running, which makes it hard to know when you need to update.

Solution: Put the version in the settings so it's easy to reference.
2020-02-18 10:44:36 -08:00
Christian Bundy 1e28b29758 Replace cooler methods with SSB-Client promises
Problem: We started using `cooler.get()` and `cooler.read()` because it
was impossible to use promises with SSB-Client.

Solution: I made some downstream pull requests into the MuxRPC module
and the SSB-Client module, which means that both of them now natively
support promises. This commit removes the weird convenience methods and
replaces them with the native promise support, which should hopefully
make the code easier to read and write.
2020-02-11 13:20:50 -08:00
Christian Bundy 6031b11470 2.13.1 2020-02-09 16:05:36 -08:00
Christian Bundy dfb498181b 2.13.0 2020-02-09 08:11:32 -08:00
Christian Bundy 214ef3335e Add basic scaffolding for internationalization
Problem: It was impossible to do any internationalization because
strings were all embedded throughout Oasis.

Solution: Add an internationalization submodule that provides
language-specific strings for the text elements in views. In future
commits we can add language selection and fallbacks for when the
selected language doesn't support the text we need to have translated.
2020-02-01 13:20:22 -08:00
Cinnamon 22fe9763d7
Merge pull request #125 from christianbundy/no-links2
Update Flotilla to drop SSB-Links2
2020-01-31 15:29:11 -08:00
Christian Bundy 01701d5119 Fix SVG rendering by setting content-type
Problem: Most browsers parse SVG files as XML and refuse to display it
in an `<img>` tag. It's usually unsafe to have browsers try to sniff the
file type themselves, because they can be tricked into running unsafe
code, so we want to set the file type ourselves in the server.

Solution: Use the Is-SVG library for a quick-n-dirty check for whether a
buffer is an SVG. If so, we set the file type accordingly.
2020-01-31 15:04:13 -08:00
Christian Bundy dc23b8bdf2 Update Flotilla to drop SSB-Links2
Problem: We aren't using the index at all so Oasis is just wasting time
and CPU power.

Solution: Upgrade Flotilla and resolve the problem.
2020-01-31 12:59:26 -08:00
Christian Bundy 53c1a1ad94 Hide private messages from author profiles
Problem: Showing private posts on profiles is scary and may give people
the impression that these posts are visible.
https://github.com/fraction/oasis/issues/113

Solution: Hide private messages when rendering public profiles and
change the method name to be very clear that it only returns public
messages.
2020-01-28 17:15:48 -08:00
Christian Bundy 89b68db17e 2.12.0 2020-01-28 12:56:55 -08:00
Christian Bundy ec3e4d489a Merge branch 'master' of github.com:fraction/oasis into conn-buttons 2020-01-28 10:25:42 -08:00
Christian Bundy b56b4bcd74 Update Flotilla to fix conn.stop bug
Problem: Stopping the networking would sometimes allow peers to remain
connected, which was confusing.

Solution: Upgrade to latest SSB-CONN to pull in a bugfix for this
behavior. Huge thanks to @staltz for the quick fix!
2020-01-28 10:22:24 -08:00
Christian Bundy b61d696a53
Merge branch 'master' into fix-tangle 2020-01-27 13:32:58 -08:00
Christian Bundy 681e3c6755 Add buttons to 'meta' page to manage networking
Problem: Sometimes you want to disconnect from the network but you don't
want to have to restart Oasis with the `--offline` flag
(https://github.com/fraction/oasis/issues/89). Sometimes networking gets
stuck and you need to run the equivalent of `ssb gossip reconnect`
(https://github.com/fraction/oasis/issues/63).

Solution: Buttons on the 'meta' page that let you start, stop, or
restart SSB-CONN whenever you want. Note that this commit includes an
update to SSB-CONN, but this version and the previous version both have
a bug where hitting 'stop' twice in a row will throw an error. This
commit implements a workaround for the bug, but it's something we'll
want to remove later once the underlying bug is fixed.
2020-01-26 16:55:48 -08:00
Christian Bundy dec0f42b0f Fix tangle bug when Patchwork is used as a server
Problem: Patchwork is missing a plugin that we need to set the `branch`
property when posting a message. This property is important because it
helps us sort threads, so we're throwing an error when it isn't
available. See: https://github.com/fraction/oasis/issues/21

Solution: HACK THE ~~PLANET~~ API. This commit injects the plugin we
need via Oasis, which is a bit of a duct tape solution but it *is* a
solution.
2020-01-26 12:57:42 -08:00
Christian Bundy b6314309f6 Add some basic type info with JSDoc
Problem: When we don't have any documentation for variable types it's
difficult for both humans and machines to parse our code.

Solution: As discussed in https://github.com/fraction/oasis/issues/78,
adding some JSDoc information on function signatures would be a nice
step in the right direction and could make debugging easier.
2020-01-26 12:42:28 -08:00
Christian Bundy 3c50b94fa1 Update Common-Good to stop using npm alias
Problem: CG's dependency, CSpell, had problems with Windows support, so
I was using a forked module as an alias to circumvent the problem. This
only works on very recent version of npm.

Solution: This morning the CSpell maintainer resolved the problem, so
the latest CG doesn't have to depend on an alias. This commit runs `npm
update` to get the latest version of CG so we don't have this problem.
2020-01-25 16:28:08 -08:00
Christian Bundy 393f7ef087 Update Common-Good to fix Windows problem 2020-01-24 09:28:37 -08:00
Christian Bundy 6d8591b0c8 Upgrade ssb-client and common-good 2020-01-23 18:27:06 -08:00
Christian Bundy abe802910f Update npm dependencies for new common-good
Problem: Common-Good had a bug in the Prettier glob where the recursion
wasn't working correctly. This meant that we weren't actually testing or
fixing some of the deeper files.

Solution: Update CG to the latest version and run `npm run fix` to fix
the linter stuff.
2020-01-23 14:36:25 -08:00
Christian Bundy f0563d3e27 Upgrade common-good 2020-01-21 18:20:06 -08:00
Christian Bundy defe1ecc98 Upgrade to common-good 1.1.1 2020-01-21 17:03:40 -08:00
Christian Bundy b34b04c2c2 Experiment with common-good module 2020-01-21 16:22:19 -08:00
Christian Bundy cb4a6ef971 2.11.0 2020-01-16 11:58:00 -08:00
Christian Bundy 9636d673ad Add latest changes to changelog 2020-01-16 11:57:49 -08:00
Christian Bundy 769a279daa 2.10.0 2020-01-06 18:16:11 -08:00
Christian Bundy f26a148244 Replace yarn.lock with package-lock.json 2020-01-03 15:19:35 -08:00
Christian Bundy b8384eea68
Add links to reply and reply all pages 2019-08-06 19:44:09 -07:00
Christian Bundy a5dbc26d04
1.14.1 2019-08-01 09:11:15 -07:00
Christian Bundy 1651dbb048
1.14.0 2019-07-26 10:09:23 -07:00
Christian Bundy 8776d27df7
Upgrade node module dependencies 2019-07-26 10:09:16 -07:00
Christian Bundy 136df89836
Add support for viewing mentions 2019-07-26 10:06:47 -07:00
Christian Bundy 170431ff3e
Initial commit 2019-06-24 09:51:21 -07:00
Christian Bundy e19790b891
. 2019-06-21 09:18:19 -07:00