Commit graph

22138 commits

Author SHA1 Message Date
51a319e8ca
use extractDbHost 2023-06-23 22:00:31 +02:00
f7904a240a
client: fix MFM overflow
closes FoundKeyGang/FoundKey#397

Changelog: Fixed
2023-06-21 23:25:16 +02:00
693dd3ad97
remove unused parameter from MFM component 2023-06-21 22:26:39 +02:00
777b981bf1
client: disable sound for received note by default
Lessen the sound pollution.

closes FoundKeyGang/FoundKey#394

Changelog: Changed
Co-authored-by: Jeder <jeder+git@jeder.pl>
2023-06-09 17:58:44 +02:00
bbd35054e6
change my name in mailmap 2023-06-07 16:20:52 -04:00
kazari
e9862d480c Translated using Weblate (Japanese)
Currently translated at 99.8% (1203 of 1205 strings)

Co-authored-by: kazari <6c577a54-aac9-482a-955e-745c858445e3@simplelogin.com>
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/ja/
Translation: Foundkey/foundkey
2023-06-05 21:43:27 +00:00
cc0915775b
server: add webhook stat to nodeinfo
This will show the number of active web hooks in the node info.
This is desired to be able to gauge webhook usage in Foundkey.

Changelog: Added
2023-06-05 23:39:43 +02:00
f181a8805d
docs: remove bannerColor
This is a fixup for commit a673647fba.
2023-06-05 23:39:43 +02:00
ac482e6eec
fix lockfile 2023-06-01 23:24:11 +02:00
38786b6999
transform tests from ts to js
This allows to get rid of the special loader for ts files. There is
no need for the test files to be written in TypeScript, plain
JavaScript should be fine for this purpose.
2023-06-01 23:21:03 +02:00
680d1f1459
docker: only publish port on localhost
Changelog: Changed
2023-05-31 15:19:10 -04:00
a0f0bac1ca
make mutes case insensitive
closes FoundKeyGang/FoundKey#392

Changelog: Changed
2023-05-31 13:02:40 +02:00
af003fc0fe
try to fix test timeout (again) 2023-05-31 12:42:13 +02:00
94cd10365d
Revert "try to fix tests"
This reverts commit c53486a47c.
2023-05-31 12:31:57 +02:00
0addcddd6c
server: respect log level environment variable 2023-05-31 11:39:50 +02:00
64c4973eca
fixup: removing default exports
This is a fixup for commit 410c519953.
2023-05-30 21:14:42 +02:00
7272bde464
fix more variable issues in processContent 2023-05-30 20:58:18 +02:00
7c9e118ff1
refactor checkExpired to use Promise.all 2023-05-30 20:40:25 +02:00
bed8286175
fix missing variable in processContent 2023-05-30 20:25:55 +02:00
f00b3cc378
add missing import for emoji parsing 2023-05-30 19:53:17 +02:00
21ab8e75ee
activitypub: improve JSON-LD context
Added @type values for most definitions, and made name and value only
scoped to the PropertyValue type. (Blame Volpeon)
2023-05-30 17:57:03 +02:00
9c5755cf65
backend: fixup another missed import of extractEmojis 2023-05-30 00:17:56 -04:00
fce14a07da
backend: fix import of extractEmojis in models/person 2023-05-30 00:12:07 -04:00
cb2d0fdd9e docs: fix systemctl edit command in install guide 2023-05-30 02:30:39 +00:00
56e2000306 docs: use correct capitalization for directory in example service files
This should hopefully cut down on any confusion during the install process.
2023-05-30 01:36:56 +00:00
704651e057
refactor mutedWordsCache and index to separate file 2023-05-29 22:29:37 +02:00
eb971de3a7
move extractEmojis to models/tags 2023-05-29 22:29:36 +02:00
d74b7d2eec
refactor note content processing
Refactor the content processing into a separate function so it can be
reused in a updateNote function to be created.
2023-05-29 22:29:36 +02:00
3ae8049d81
client: change followers only icon to closed lock
Reviewed-on: FoundKeyGang/FoundKey#388
Changelog: Changed
2023-05-29 20:01:23 +02:00
89fad52272
remove redundant check
Whether the actor is suspended is already checked in the performOneActivity
function and does not need to be checked here again since the actor is still
the same as it was there.
2023-05-28 23:31:06 +02:00
2696c34f6c
fix some audience parsing assumptions
The assumptions made in the comment is actually wrong. The comment says:
"If value is a string, this means it must have passed through the resolver,
which means it must be public." But this is not true because we do signed
GET requests which means we may well get non-public posts using the
resolver.
2023-05-28 23:28:43 +02:00
bda8488194
fix messaging messages with multiple recipients
instead of returning early, this should only return after all messaging
messages have been created
2023-05-28 23:28:42 +02:00
c9df2fd060
validate that note attributed to is not local 2023-05-28 23:28:42 +02:00
cc342f1443
refactor createNote, translate comments
Use the already existing functions isPost and toArray instead of
reimplementing them.
2023-05-28 23:28:42 +02:00
4dcca239b1
make container of new notes button click-through 2023-05-27 22:59:03 +02:00
Weblate
30403fbe5c Update translation files
Updated by "Cleanup translation files" hook in Weblate.

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Update translation files

Updated by "Cleanup translation files" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/
Translation: Foundkey/foundkey
2023-05-27 18:43:53 +00:00
98898ece18 Translated using Weblate (German)
Currently translated at 100.0% (1209 of 1209 strings)

Co-authored-by: Johann <johann@qwertqwefsday.eu>
Co-authored-by: Johann150 <johann.galle@protonmail.com>
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/de/
Translation: Foundkey/foundkey
2023-05-27 18:43:52 +00:00
f883d2e31b
fix showing follower/following count 2023-05-27 20:42:10 +02:00
d55f8742b8
cache when computing note count etc. 2023-05-27 20:34:28 +02:00
5408929c2a
fixup: remove another reference to favorites
This is a fixup for commit de81fac334.
2023-05-27 20:19:05 +02:00
351a037959
client: add MFM functions position, scale, fg, bg
Changelog: Added
2023-05-27 12:13:23 +02:00
989f0ce41d
fix MFM fg/bg color regex
CSS colors are either 3 or 6 hex digits, not 3 to 6 (which would allow
4 and 5 digit hex codes, which are not accepted).

Also adds an explicit null/undefined check.

Changes the default color for the $[bg ] function to something different
than the fg color so if you use both functions on a piece of text with
default values, the text stays somewhat readable.
2023-05-27 12:12:29 +02:00
3f9b09e3e7
simplify MFM position CSS 2023-05-27 12:12:29 +02:00
a72f4300aa
remove unused rootScale and scale params 2023-05-27 12:12:29 +02:00
404bb3b6b6
parseSimple in backend 2023-05-27 12:12:28 +02:00
f6ff21ee53
update mfm-js lib 2023-05-27 12:12:28 +02:00
a45b611a7e
add fg and bg tag
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-27 12:12:13 +02:00
11121bbb4c
add scale tag
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Co-authored-by: tamaina <tamaina@hotmail.co.jp>
2023-05-27 12:10:34 +02:00
a16e921ffc
add position token
Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
2023-05-27 12:05:14 +02:00
35e814fab4
fix: don't use psql 13 functions
The function GEN_RANDOM_UUID was only introduced to built in postgresql
in version 13, however, the installation guide specifies that version 12
should be sufficient.
2023-05-27 11:18:06 +02:00