Commit Graph

73 Commits

Author SHA1 Message Date
Nick Wynja 31e5ae37d5 Hides content of messages from blocked people
This introduces a basic implementation to not display the content of
messages. It still shows that a message exists but shows localized
copy indicating why the content was hidden.

We should consider additional filters or queries in different views to actually
remove these posts but I'll leave that as up for discussion since I can see
value in showing that a blocked comment exists in a conversation.
2021-03-02 17:47:28 -05:00
Jose Fabio 698121813b npm run fix 2020-12-30 10:22:03 -07:00
Jose Fabio 4623c203a4 Even more translations 2020-12-30 09:52:34 -07:00
Jose Fabio 7d936f458f More translations 2020-12-29 20:19:58 -07:00
Jose Fabio b0b3900e80 Better translations for Spanish 2020-12-29 20:13:03 -07:00
Christian Bundy a02744d0eb Add rebuild button to settings
Problem: The latest release seems to have some index problems, which is
frustrating, but might be able to be circumvented with a database
rebuild. The rebuild was something that Ahau funded and I'm excited to
be able to finally expose this to users without asking them to `rm -rf`
random files in their `~/.ssb` directory.

Solution: Replaced unused 'progress' bars (always at 100%) with rebuild
button.
2020-11-29 10:55:00 -08:00
Alexander Cobleigh 9fb2b87708 add i18n for mentions component 2020-10-19 10:06:06 +02:00
Alexander Cobleigh 632d23cfae add german translations (thx cryptix) 2020-10-19 10:06:06 +02:00
Alexander Cobleigh 8127008ce4 add i18n.preview for all languages except .de, improve labels 2020-10-19 10:06:06 +02:00
Henry 423c0c11f4 begin working on preview with blobs 2020-10-19 10:04:39 +02:00
Daan Wynen a40b2eefc1 make the linters happy.
this time they had a *lot* of opinions. :P
2020-05-23 21:14:49 +02:00
Daan Wynen e8c8aa49a7 Add simple pagination to user feeds.
This is simply based on sequence numbers and the `gt`/`lt` arguments of
`createUserStream`.
2020-05-23 06:13:11 +02:00
Nick Wynja 45c9ffe3f5 Adds view specific titles 2020-05-12 09:13:46 -04:00
Jacob Karlsson f63a0dfa0a Add i18n for image search 2020-05-03 23:02:44 +02:00
Christian Bundy 8e2eb404e0 Rename "reply" to "subtopic"
Problem: The words "comment" and "reply" are super ambiguous, but
renaming them is hard.

Solution: I think "subtopic" captures the sentiment well, and makes it
clear that you're leaving the current topic to start a new topic (rather
than just replying to an individual message).
2020-04-16 08:31:35 -07:00
Nick Wynja 82bfcfa350 Merge remote-tracking branch 'upstream/master' into sync 2020-04-13 15:48:54 -04:00
Christian Bundy 1985e8898c Run `npm run fix`
Problem: The linter was throwing lots of un-fun errors.

Solution: `npm run fix` to resolve them.
2020-04-13 09:11:04 -07:00
Nick Wynja fd1d63ffba Introduces sync endpoint
Starts, waits until connected to peers, waits for progress, disconnects
2020-04-13 11:28:36 -04:00
Fred 84bb9051cc
Added french "fr" translation
1st "fr" translation
2020-04-11 00:11:35 +02:00
Sean Billig 8fc5437b6b
Merge pull request #381 from christianbundy/fix-italian
Fix linter problems with Italian translation
2020-03-31 15:14:08 -07:00
Christian Bundy 302bd3fa8c Merge commit 'refs/pull/367/head' of github.com:fraction/oasis into fix-italian 2020-03-31 10:27:02 -07:00
Christian Bundy e7bd3ed305 Add block and unblock to author profile
Problem: We have a way to follow and unfollow, but there's no way to
block or unblock. Also if you go to the profile of a blocked peer, their
posts still show up.

Solution: Add block and unblock and hide messages from blocked peers on
their profile page.

Fixes: https://github.com/fraction/oasis/issues/370
2020-03-28 10:03:31 -07:00
wuhei 6d396c16cc typos 2020-03-28 00:04:10 +01:00
Christian Bundy 4091fce767 Fix linter problems
Problem: This doesn't pass the linter.

Solution: Run `npm run fix` and disable the spell-checker when we
define language names.
2020-03-27 14:14:39 -07:00
wuhei b27b6241f2 Italian translation, changed a string in the Spanish translation 2020-03-27 19:12:49 +01:00
Christian Bundy defb57321e Merge branch 'master' of github.com:fraction/oasis into type-defs 2020-03-27 08:02:44 -07:00
Nick Wynja 95e7a31dcd lint fix 2020-03-25 09:05:53 -04:00
Nick Wynja 48f8108340 Merge master 2020-03-24 21:00:38 -04:00
Nick Wynja a96aaa5012 Merge conflict 2020-03-24 19:57:22 -04:00
Nick Wynja fa874e8f4f Fixes spacing issues in text-based browsers
Closes #329; Addresses spacing issues in text-based browsers by introducting block
elements and non-breaking spaces.
2020-03-24 19:40:12 -04:00
Christian Bundy 11c413d447 Merge branch 'master' of github.com:fraction/oasis into npm-update-march-23 2020-03-24 12:09:39 -07:00
Nick Wynja a4b00696ab Load theme using existing config mechanisms
This allow someone to pass in the theme as a command line arg or set the
theme in defaults.json, while still allowing someone to set the theme on
a per-browser basis as a cookie.
2020-03-24 14:11:27 -04: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 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
Christian Bundy 122ed68a82 Merge commit 'refs/pull/316/head' of github.com:fraction/oasis 2020-03-17 10:22:22 -07:00
KawaiiPunk f032cbcc7f
Added reference to "plain text" instead of just text 2020-03-12 19:44:28 +00:00
Nick Wynja c3a4474256 Merge branch 'master' of https://github.com/fraction/oasis into threads 2020-03-11 23:22:11 -04:00
KawaiiPunk 4e27dd4b59
Added references to posts from yourself in Topics and Summaries 2020-03-11 21:54:22 +00:00
KawaiiPunk 836c5a06ed
Changed desription to mention that latest also includes posts from yourself 2020-03-11 21:47:40 +00:00
Christian Bundy 228cab563d
Merge pull request #310 from georgeowell/view-thread-label
View thread label
2020-03-11 07:08:42 -07:00
KawaiiPunk daf82588ab
Tweaked edit your profile description to make it clearer 2020-03-11 08:55:29 +00:00
KawaiiPunk dc723595b4
Removed reference to "basic post" 2020-03-11 08:52:27 +00:00
KawaiiPunk e4dd883e2a
Changed reference to message to comment for consistency 2020-03-11 08:51:03 +00:00
mario 8c3fc3f393 finished spanish i18n 2020-03-10 20:05:56 -07:00
seekr fc2137381a
fix duplicate search for es 2020-03-10 14:49:47 -03: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
Nick Wynja 7e601ae35a Adds Threads view for seeing wider conversation 2020-03-10 08:42:56 -04: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