Commit Graph

22179 Commits

Author SHA1 Message Date
Jeder 5aef5bbbc0 tosti's indicator-v3 patch 2023-07-19 20:25:05 +02:00
Jeder a344fb98fb change instance ticker a bit 2023-07-19 20:25:00 +02:00
Michcio 198d2cb30a Produce sourcemaps always (debugging on prod is hard) 2023-07-19 20:25:00 +02:00
Johann150 650b797fd6
star is like 2023-07-19 10:27:56 +02:00
Johann150 9968b21da7
client: add mia emoji alias 2023-07-19 10:25:06 +02:00
Johann150 6dd782d4d5
client: make square avatars less rounded 2023-07-19 10:23:27 +02:00
Johann150 b61e477c0c
server: fix default arguments for fetch 2023-07-19 10:13:33 +02:00
Johann150 75ab4de41f
server: limit caching time for public keys 2023-07-19 09:43:17 +02:00
Johann150 456a86af8d
remove erroneous variable 2023-07-16 17:43:15 +02:00
Johann150 2fbd31abe6
server: refactor fetching
- The `timeout` parameter does not exist in `node-fetch`, so the timeout was not
  working properly.
- Refactor the User-Agent header to be set in a central place instead of several
  different places.
- Refactor more places to use getResult which handles the timeout and everything
  else already instead of the normal `fetch` provided by `node-fetch`.
2023-07-16 17:02:22 +02:00
Johann150 9b4e976bda
activitypub: correctly handle new notes that were edited 2023-07-16 14:32:57 +02:00
Johann150 cc776a6b9b
server: use foundkey-js permissions definition 2023-07-15 09:31:24 +02:00
Johann150 bf698987c3
client: fix mfm overflow again
This reverts commit 2d46cf7c1e.
This reverts commit ecca5a164e.
2023-07-10 22:58:37 +02:00
Johann150 45112158b0
client: fix null is not a valid url 2023-07-10 21:29:34 +02:00
Johann150 46660abb6a
server: fix thread mutes not working
Because of differing string names for the `update` notification in
the application and the database, there were some errors.

Changelog: Fixed
2023-07-10 18:20:40 +02:00
Johann150 415e84daf0
updated maintenance status 2023-07-10 17:46:57 +02:00
Norm 29320a751d docs: update migration guide to deal with typeorm hanging on reverts
This seems to be a common occurrence with attempted migrations between different Misskey forks.

This is the best solution that I can come up with; someone who knows more bash could probably make this completely automated.
2023-07-09 06:58:22 +00:00
remi a5080f80a1
client: change emoji height to match misskey
This fixes federating notes with advanced mfm usage, that looked weird/wrong otherwise.
See also c174f23389

Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
Changelog: Changed
2023-07-08 21:10:30 +02:00
Johann150 3e4c37eb31
Revert "fix broken emails in COC"
This was on purpose to not have the addresses in easily parsable form
for spam bots.

This reverts commit 2cb89a6bf0.
2023-07-06 21:35:31 +02:00
Norm 2cb89a6bf0 fix broken emails in COC 2023-07-06 03:53:30 +00:00
Chloe Kudryavtsev d3eb6a3340 fix reply federation 2023-07-02 14:25:57 +02:00
Chloe Kudryavtsev af1893d71f createaQueryBuilder => createQueryBuilder 2023-07-02 13:57:19 +02:00
Johann150 77358c8f4b
13.0.0-preview6 2023-07-02 11:13:19 +02:00
Johann150 62cd1e7ed6 Translated using Weblate (German)
Currently translated at 100.0% (1206 of 1206 strings)

Co-authored-by: Johann <johann@qwertqwefsday.eu>
Translate-URL: http://translate.akkoma.dev/projects/foundkey/foundkey/de/
Translation: Foundkey/foundkey
2023-07-02 09:11:00 +00:00
Johann150 796adc8599
trigger side effects after updating note 2023-07-02 10:06:54 +02:00
Johann150 ff8b9b6651
refactor note creation side effects
Refactoring the side effects in this way should allow them to be
reused for updating notes as well.
2023-07-02 10:06:53 +02:00
Johann150 c1268c04f8
server: add noteStream handling for updated notes 2023-07-02 10:06:53 +02:00
Johann150 42b555e5e4
activitypub: handle incoming Update Note activities
Changelog: Added
2023-07-02 10:06:53 +02:00
Johann150 5c3e7c132a
add function to update a note 2023-07-02 10:06:53 +02:00
Johann150 76c8e6b11b
client: display note update time 2023-07-02 10:06:52 +02:00
Johann150 ca24080596
add update timestamp & notification 2023-07-02 10:06:38 +02:00
Johann150 a12debb7b6
server: replace unzipper with decompress
The unzipper package did not seem to work any more and was
mangling the meta.json file in its extracted form and potentially
other files which lead to the emoji import not working properly.

Changelog: Fixed
2023-07-02 00:09:45 +02:00
Johann150 f760426142
fix internal download in emoji import
Changelog: Fixed
2023-07-02 00:09:35 +02:00
Johann150 2f30af1812
server: fix instance actor creation
Because findBy returns an array which is always truthy, this would
mean the user is not actually created as requested and instead an
empty array is returned.
2023-06-29 21:21:26 +02:00
Johann150 2d46cf7c1e
fixup! client: fix MFM overflow
Turning the MFM render container into a div changes it to display
as a block which messes up rendering in some places, e.g. when
it is used to render user names in "Renoted by".
2023-06-27 22:26:13 +02:00
Johann150 2ea6daaf7a
rename extractDbHost to extractPunyHost 2023-06-27 22:02:32 +02:00
Johann150 597de07465
server: refactor HTTP signature validation 2023-06-27 21:46:00 +02:00
Johann150 9289b0e8ed
adjust config file example 2023-06-25 20:44:08 +02:00
Hélène b600efae0d
BREAKING: activitypub: validate fetch signatures
Enforces HTTP signatures on object fetches, and rejects fetches from blocked
instances. This should mean proper and full blocking of remote instances.

This is now default behavior, which makes it a breaking change. To disable
it (mostly for development purposes), the configuration item
`allowUnsignedFetches` can be set to true. It is not the default for
development environments as it is important to have as close as possible
behavior to real environments for ActivityPub development.

Co-authored-by: nullobsi <me@nullob.si>
Co-authored-by: Norm <normandy@biribiri.dev>
Changelog: Added
2023-06-25 20:42:14 +02:00
Johann150 ecca5a164e
client: always forbid MFM overflow
Some MFM overlays UI components. This should remove any possibility that
rendered MFM escapes a Note's body.

Changelog: Changed
2023-06-25 18:41:08 +02:00
Johann150 1125a623a7
Revert "client: fix MFM overflow"
This reverts commit f7904a240a.

Changelog: Fixed
2023-06-25 18:40:48 +02:00
Johann150 51a319e8ca
use extractDbHost 2023-06-23 22:00:31 +02:00
Johann150 f7904a240a
client: fix MFM overflow
closes FoundKeyGang/FoundKey#397

Changelog: Fixed
2023-06-21 23:25:16 +02:00
Johann150 693dd3ad97
remove unused parameter from MFM component 2023-06-21 22:26:39 +02:00
Johann150 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
Norm 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
Johann150 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
Johann150 f181a8805d
docs: remove bannerColor
This is a fixup for commit a673647fba.
2023-06-05 23:39:43 +02:00
Johann150 ac482e6eec
fix lockfile 2023-06-01 23:24:11 +02:00