Commit Graph

1023 Commits

Author SHA1 Message Date
680a894efd add blob upload to comment, subtopics 2020-10-19 10:06:06 +02:00
119c1f8584 implement content warnings for comments, subtopics
also make sure to only display content warning in summary for subtopics
2020-10-19 10:06:06 +02:00
0449ebd425 refactor previewView, fix displaying content warnings in previews 2020-10-19 10:06:06 +02:00
2d5781f0fe add subtopic previewing 2020-10-19 10:06:06 +02:00
83ab086fb5 extract preview code into generatePreview 2020-10-19 10:06:06 +02:00
e63937c830 condense threads in summaries view, as well 2020-10-19 10:06:06 +02:00
0e8ee0c63d improve thread view 2020-10-19 10:06:06 +02:00
0ea5f998f5 fix crash w/ no likes, improve preview styling 2020-10-19 10:06:06 +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
Henry
be412793c2 whoops cleanup 2020-10-19 10:04:39 +02:00
e64b595b54 implement comment previewing 2020-10-19 10:04:39 +02:00
cc8d2db6a3 extract preview code into generatePreview 2020-10-19 10:04:39 +02:00
52382ba3a9 condense threads in summaries view, as well 2020-10-19 10:04:39 +02:00
d2c5c5feea make like button the same size as other footer actions 2020-10-19 10:04:39 +02:00
b4fb448e53 improve thread view 2020-10-19 10:04:39 +02:00
5064e32abb ignore vim swap files 2020-10-19 10:04:39 +02:00
b101472767 improve visual hierarchy by refining bold text use 2020-10-19 10:04:39 +02:00
Henry
423c0c11f4 begin working on preview with blobs 2020-10-19 10:04:39 +02:00
Christian Bundy
77f8b6c7bf
Merge pull request #461 from black-puppydog/timestamp-tooltip
Add absolute post time as tooltip to timestamps.
2020-10-12 15:20:56 -07:00
Daan Wynen
8ae7e3125c Add absolute post time as tooltip to timestamps.
Oh, so Christian's birthday was "1y ago"? But when *exactly* was that?
Hover the timestamp to find out! :)
2020-10-12 23:36:45 +02:00
Christian Bundy
d01759f770
Merge pull request #459 from fraction/dependabot/npm_and_yarn/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19
2020-07-20 09:19:47 -07: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
Christian Bundy
7c8fb572f6
Merge pull request #451 from black-puppydog/blob-get-params
Allow GET params in /blob calls.
2020-05-25 08:45:53 -07:00
Christian Bundy
526c53b8f5
Merge pull request #449 from black-puppydog/render-blogs
Add rendering of blog messages.
2020-05-25 08:41:38 -07:00
Daan Wynen
a12ad9018c Allow GET params in /blob calls.
This allows blobs to load when the blob reference in the markdown has
`?contentType=image/jpeg` or similar hints attached.
It does so by simply removing the GET parameters from the URL though.
It would be a bit nicer to actually use those hints to set the right
HTTP response headers, but somehow koa keeps ignoring / overwriting (?)
the manually-set `Content-Type` headers, so this has to do for now.
2020-05-25 03:48:59 +02:00
Daan Wynen
9519050eb2 Add rendering of blog messages.
Patchwork does that. So if we're aiming for feature parity...
Also, blogs are neat. :)
2020-05-25 03:46:29 +02:00
Christian Bundy
eb9e44981a
Merge pull request #448 from black-puppydog/feed-pagination
Add simple pagination to user feeds.
2020-05-24 10:43:55 -07: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
Christian Bundy
68ed94e7dd
Merge pull request #447 from nickwynja/fix-profile-edit
Fix broken Profile Edit
2020-05-19 07:14:00 -07:00
Nick Wynja
d26fc919b4 Fix broken Profile Edit 2020-05-19 07:42:19 -04:00
Christian Bundy
f6794f2a99
Merge pull request #434 from christianbundy/docker-refactor
Refactor Docker example
2020-05-17 19:14:59 -07:00
Christian Bundy
09ec80bffe
Merge pull request #438 from nickwynja/thread-separator
Adds visual separator between different threads
2020-05-13 12:42:11 -07:00
Nick Wynja
e19a0b457b Adds visual separator for threads 2020-05-13 14:31:19 -04:00
Christian Bundy
63888766dc
Merge pull request #435 from nickwynja/sticky-fix
Improve wrapping of sticky section header
2020-05-12 06:48:23 -07:00
Christian Bundy
637a478072
Merge pull request #436 from nickwynja/titles
Adds view specific titles
2020-05-12 06:47:58 -07:00
Nick Wynja
b4f0509e21 Adds mystery description fallback
If a message had no obvious text because it didn't have a content type
of post, use the mystery description as to not break the `postSnippet()`
function and give a valid snippet in the title.
2020-05-12 09:33:28 -04:00
Nick Wynja
8ce7d73edd adds title for imageSearch 2020-05-12 09:26:08 -04:00
Nick Wynja
45c9ffe3f5 Adds view specific titles 2020-05-12 09:13:46 -04:00
Nick Wynja
bdc43a61e3 Improve wrapping of sticky section header 2020-05-12 09:06:51 -04:00
Christian Bundy
a5d5e446c7 Refactor Docker example
Problem: The Docker example was using Alpine with the Tini dependency
and some neat custom stuff, but it wasn't super clear to understand
everything that was going on. It was also slow because lots of stuff was
compiling from source.

Solution: Replace neat custom stuff with boring defaults for clarity and
much faster builds.
2020-05-10 13:52:47 -07:00
Sean Billig
58765f8b0e
Merge pull request #425 from Powersource/image-search
Image search
2020-05-07 08:44:44 -07:00
Jacob Karlsson
c205826b48 Merge branch 'master' of github.com:fraction/oasis into image-search 2020-05-06 20:05:37 +02:00
Nick Wynja
41d436b8f0
Merge pull request #427 from christianbundy/conn-hops
Upgrade Flotilla and SSB-CONN, remove auto-stage
2020-05-04 16:57:45 -04:00
Christian Bundy
8e30c93de8 Fix 'cannot set autostart of undefined'
Problem: `customConfig.conn` isn't defined.

Solution: Use `lodash.set()`.
2020-05-04 13:44:00 -07: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
3b753f16ac Apply style fixes 2020-05-03 23:14:19 +02:00
Jacob Karlsson
f63a0dfa0a Add i18n for image search 2020-05-03 23:02:44 +02:00
Jacob Karlsson
51ae2966f1 Add sidebar entry 2020-05-03 22:38:34 +02:00
Jacob Karlsson
e456c1d9c5 Add image search 2020-05-03 22:16:44 +02:00