Commit Graph

813 Commits

Author SHA1 Message Date
Christian Bundy c575aebb03 2.14.0 2020-03-10 16:57:46 -07:00
Christian Bundy 8738e6a83d
Merge pull request #302 from seekr/patch-1
Added more spanish translations
2020-03-10 11:06:47 -07:00
seekr 01f6366455
Merge pull request #2 from christianbundy/pr-302
Remove duplicate `search` in Spanish i18n
2020-03-10 14:52:22 -03:00
seekr fc2137381a
fix duplicate search for es 2020-03-10 14:49:47 -03:00
Christian Bundy 3595f06e79 Remove duplicate `search` in Spanish i18n
Problem: There are two `search` entries in the Spanish
internationalization.

Solution: Remove one of them!
2020-03-10 10:35:39 -07:00
seekr 2117b9f76b
more updates to spanish 2020-03-10 11:31:27 -03:00
seekr 8fbbdaaaf4
started adding spanish translations 2020-03-10 10:01:06 -03:00
Christian Bundy d97cd9a351
Merge pull request #281 from fraction/cinnamon-bun-patch-2
README: add FAQ about running alongside other SSB apps
2020-03-09 15:19:56 -07:00
Christian Bundy f2cf067b67 Present error message while waiting for indexing
Problem: When our views are still indexing the database they apparently
don't respond over MuxRPC, which means that we're just waiting forever
until they finish. This means that people who are indexing the database
get an HTTP response that might take an hour to finish.

Solution: If we have more than 1 mebibyte of backlog, present an error
message explaining the situation and asking for a bit of patience.
2020-03-09 15:14:28 -07:00
Christian Bundy 81909a2584 Appease linter
Problem: Linter is complaining about the previous commit.

Solution: `npm run fix`.
2020-03-09 15:07:49 -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
Christian Bundy d97c04d93f
Merge pull request #295 from hng/feature/small-i18n-improvements
Small i18n improvements
2020-03-09 07:20:07 -07:00
Henning Schumann 15417422a4 Made "private/public" comment translatable 2020-03-09 12:19:01 +01:00
Henning Schumann 314033cdd0 Made content warning text field placeholder translatable 2020-03-09 11:57:21 +01:00
Christian Bundy a2e7f4ad6d
Merge pull request #293 from hng/feature/translations-de
Add German translations
2020-03-08 17:57:46 -07:00
Henning Schumann b86eeeb3e5 Finished up German translations :) 2020-03-08 19:26:36 +01:00
Cinnamon e7c38e3ec5
Merge pull request #285 from christianbundy/vanilla-markdown
Vanilla markdown
2020-03-06 11:57:08 -08:00
Henning Schumann d035b165fd Even more German translations 2020-03-06 17:17:00 +01:00
Henning Schumann d628486ae1 More German translations 2020-03-05 21:22:20 +01:00
Henning Schumann 6aca504921 Merge remote-tracking branch 'upstream/master' into feature/translations-de 2020-03-05 19:53:53 +01:00
Christian Bundy 497cff22f6
Merge pull request #284 from georgeowell/small-text-tweaks
Small text tweaks to /publish
2020-03-03 16:35:43 -08:00
KawaiiPunk 3ed7a52d37
Specified "this post" rather than "the post" in /publish 2020-03-04 00:17:06 +00:00
Christian Bundy cb1cf5e87e Render vanilla Markdown with basic renderer
Problem: The SSB-Markdown library has some SSB-flavored quirks, like
messing with newline behavior, and is inappropriate for rendering plain
Markdown like the readme.

Solution: Since SSB-Markdown uses Markdown-It under the hood, we can use
the same library and just render our Markdown *without* the SSB-flavored
quirks. This gives us the ability to wrap text and avoid SSB-Markdown
problems without having to rewrite all of our Markdown.
2020-03-03 16:13:56 -08:00
KawaiiPunk d4cb2cf9e9
Changed "warning to "content warning" 2020-03-04 00:11:45 +00:00
Christian Bundy 398a082f63 Revert "Fixed wrapping in README to improve readability of /settings/readme"
This reverts commit 4edb15c1ee.
2020-03-03 16:06:36 -08:00
KawaiiPunk 47aa7d3efb
Changed references to "messages" in /publish to "posts" 2020-03-04 00:04:20 +00:00
Christian Bundy 8647b46ae2
Merge pull request #283 from georgeowell/small-text-tweaks
Fixed wrapping in README to improve readability of /settings/readme
2020-03-03 16:04:18 -08:00
KawaiiPunk 107bee5e52
Added word public for emphasis on /publish 2020-03-04 00:00:00 +00:00
KawaiiPunk 4edb15c1ee
Fixed wrapping in README to improve readability of /settings/readme 2020-03-03 23:40:46 +00:00
Christian Bundy 3d9134d3c2
Merge pull request #282 from georgeowell/master
Updated Github issue and pull request templates
2020-03-03 15:21:44 -08:00
KawaiiPunk 0841202525
PULL_REQUEST_TEMPLATE.md: Added markdown h2 styling 2020-03-03 22:59:21 +00:00
KawaiiPunk 0f3f2ac85b
ISSUE_TEMPLATE.md: Changed to markdown h2 and added version/commit question 2020-03-03 22:57:32 +00:00
Christian Bundy ce5679cd8a
Merge pull request #279 from fraction/cinnamon-bun-patch-1
README.md: clarify installation instructions
2020-03-02 14:59:03 -08:00
Cinnamon d6c8aeb30f
README: add FAQ about running alongside other SSB apps
Patchwork freezes on launch if Oasis is already running (because of an SSB server conflict, I assume).  I added an FAQ to guide people around that pothole.
2020-03-02 13:28:35 -08:00
Christian Bundy e0611ebd74 Appease linter
Problem: The linter was complaining about the recent changes to
`README.md`.

Solution: Run `npm run fix`.
2020-03-02 11:38:08 -08:00
Cinnamon 9f6e5befbc
README.md: clarify installation instructions
The example command `oasis` all by itself wasn't obviously a command-line command, so I added a sentence about it.

Also added a sentence about installing Node, geared at non-technical people.
2020-03-02 11:28:08 -08:00
Cinnamon 209b6a57a1
Merge pull request #276 from christianbundy/simple-install
Simplify installation
2020-03-02 11:17:52 -08:00
Christian Bundy 2e7cb4ad66 Remove readme and startup focus on configuration
Problem: A big chunk of both the readme and the startup output is
dedicated to configuration, which feels to me to be focused on
developers and advanced users rather than beginners who just want to try
using Oasis.

Solution: Move readme configuration info to its own file and hide all
config output (except one line) behind `--debug`. While doing this I
noticed that we're `require()`ing a few modules that we don't need
before setting `process.env.DEBUG`, which I've reorganized so that we
don't accidentally disable debug mode for those modules.
2020-03-01 11:39:01 -08:00
Christian Bundy 1f6f635935 Remove debugging cruft
Problem: I have debug mode manually enabled and have `console.log()`
calls sprinkled through the code and I'm doing `require("crypto")` too
many times.

Solution: Remove debugging cruft so that we don't have a perma-debug
mode.
2020-03-01 11:19:23 -08:00
Christian Bundy 02d6d5adac Add profile image upload
Problem: We can set our name and profile description but profile images
are expected by most people and supported by most clients and we don't
have them. A profile without an image can sometimes lack the intimacy
you'd get if you let people upload profile images that they can use as a
visual avatar.

Solution: Add profile image upload to the Edit Profile page and add a
bunch of plumbing for `ssb.blobs.add()` to add the blob and publish a
message setting it as a profile image.
2020-03-01 11:11:09 -08:00
Christian Bundy 3758bbf636 Simplify installation
Problem: The install instructions in the readme contains quotes because
it has a `*`, but `#semver:` does what we need without the quotes. The
`docs/install.md` file also has some unnecessary complexity, like
cloning via SSH (only useful for maintainers), which I think we can
safely remove.

Solution: Change the install instruction and reorganize
`docs/install.md` to be more relevant to people who are installing from
source.
2020-02-29 08:31:07 -08:00
Cinnamon 3c1453db33
Merge pull request #270 from christianbundy/fix-extended
Fix Extended page sorting posts incorrectly
2020-02-28 14:53:28 -08:00
Cinnamon f137e7155c
Merge pull request #271 from christianbundy/render-channel
Show channel as text appended to posts
2020-02-28 14:52:54 -08:00
Christian Bundy 9d3553352f Show channel as text appended to posts
Problem: Other clients render a `channel` property, which is basically a
way to add a single hashtag to your post, but Oasis doesn't support
that. This means that someone might post "this is fun!" under the
channel #running and people using Oasis would just see "this is fun!"
without any context.

Solution: Add the hashtag to the bottom of the post, which visually
looks the same as someone adding two newlines and a hashtag to the end
of the text in their post.
2020-02-27 17:21:23 -08:00
Christian Bundy dcd995140b Fix Extended page sorting posts incorrectly
Problem: The Extended page is sorting by received timestamp, not
asserted timestamp.

Solution: Find the `Date.now` and replace it with `Date.now()`, which
refers to the current date instead of `undefined`, which is what you get
if you try to `JSON.stringify(Date.now)`.
2020-02-27 16:53:41 -08:00
Cinnamon 881b251aaa
Merge pull request #261 from christianbundy/edit-profile
Add profile edit page
2020-02-27 15:52:16 -08:00
Cinnamon e9fc29c592
Merge branch 'master' into edit-profile 2020-02-27 14:05:37 -08:00
Cinnamon f9a787bef0
Merge pull request #260 from christianbundy/fix-dta-queries
Fix queries with an unused `{index: "DTA"}` option
2020-02-27 14:02:43 -08:00
Cinnamon 763c9f7672
Merge pull request #262 from christianbundy/existing-oasis
Detect existing Oasis server running on interface
2020-02-27 14:01:21 -08:00
Cinnamon 2e59c0e994
Merge pull request #263 from christianbundy/hide-blocked-search
Hide search results from blocked feeds
2020-02-27 14:00:27 -08:00