Henry
4884f264fd
add simple test for blob uploads
2020-10-19 10:06:35 +02:00
Henry
e7dd215f4d
fix common-good setup
...
somehow it's cli arguments changed
2020-10-19 10:06:34 +02:00
Henry
3bdca12a21
invalidate @mentions cache if the user follows someone
2020-10-19 10:06:07 +02:00
Henry
c3acbc80d1
fix @mentions lookup table
...
with duplicates ignored switching back to a previous name doesn't work.
Imagine names [a,b,a], with duplicates ignored the query only returns [a,b].
2020-10-19 10:06:07 +02:00
2f746d99e1
remove bracket from regex
2020-10-19 10:06:07 +02:00
ffb207ce57
add more delims, fix double nicknames
2020-10-19 10:06:07 +02:00
Henry
8f9ef5e3c7
change name->feed lookup structure
...
we had duplicates and _old_ names in the first attempt,
with this new strucutre only one name per feed is kept (the most recent)
also: tweak regexp some more
should not correctly match end of string and NOT match inside md link
https://regex101.com/r/Uu6iTj/3/
2020-10-19 10:06:07 +02:00
28f1821fd5
improve mentions regex edge cases
2020-10-19 10:06:06 +02:00
9fb2b87708
add i18n for mentions component
2020-10-19 10:06:06 +02:00
d4a1602940
add much improved mentions listing
2020-10-19 10:06:06 +02:00
Henry
6ea47ebac6
some more comments
2020-10-19 10:06:06 +02:00
a2817cf5fb
implement relationship-based name matching
2020-10-19 10:06:06 +02:00
Henry
d1e68e94a7
some prefix matching logic
...
lowercase the searches and see if they match the beginning of a name.
2020-10-19 10:06:06 +02:00
632d23cfae
add german translations (thx cryptix)
2020-10-19 10:06:06 +02:00
8127008ce4
add i18n.preview for all languages except .de, improve labels
2020-10-19 10:06:06 +02:00
2fca62549e
delineate bottom border of summary details
2020-10-19 10:06:06 +02:00
Henry
9004280d0b
some @mentions in preview
...
replaces immediatly if there is one match,
but just spews multiple ones.
* add silly in-memory about:name cache
rational is also commented the code. the tl:dr; is oasis already doesnt
use ssb-about or other indexing plugins.
butt for @mentions we need a quick way to lookup names to feeds,
otherwise we block the preview flow with long query times.
2020-10-19 10:06:06 +02:00
8fe9c5b6f5
make subtopicView and commentView consistent w/ threads
2020-10-19 10:06:06 +02:00
2f042c5964
remove superfluous padding top from post-preview2C
2020-10-19 10:06:06 +02:00
53ee4a58a9
tweak post preview css
2020-10-19 10:06:06 +02:00
6d50e53604
remove exif data from uploaded jpegs
2020-10-19 10:06:06 +02:00
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