Commit graph

22307 commits

Author SHA1 Message Date
e3703ea17b
foundkey-js: cleanup removed API endpoints
Changelog: Removed
2025-05-17 18:39:07 +02:00
4a0f5aacca
server: remove unused endpoints
Changelog: Removed
2025-05-17 18:36:05 +02:00
2e25a9d520
client: de-emphasize waiting jobs
If the queue contains waiting jobs, this not necessarily a bad thing. It just
means the queue will start processing it as soon as possible.

Changelog: Changed
2025-05-17 18:22:28 +02:00
7cc79282e0
server: remove get-online-users-count endpoint
Changelog: Removed
2025-05-17 18:05:08 +02:00
11444e0b80
client: remove online user count widget
Changelog: Removed
2025-05-17 18:03:07 +02:00
1d9e7f6f57
client: simplify guest start page
Removed the timeline as well as some unused code and API calls.

The design is adjusted to deal with the empty space opening up from
removing the timeline.
2025-05-17 18:02:44 +02:00
866f6ad5f6
server: fix poll info missing from replied to note
Considering the poll detail information means it is not displayed in the
replied to note in the detailled note component in the client.

Changelog: Fixed
2025-05-16 16:39:13 +02:00
50b2bba44a
BREAKING: remove announcements
For small instances it is assumed that a feature like this is not necessary.

Changelog: Removed
2025-05-04 00:07:19 +02:00
a986656a2d
server: simplify SVG conversion condition 2025-05-03 22:51:17 +02:00
a22555dae5
server: remove mediaProxy config option
Changelog: Removed
2025-05-03 22:40:24 +02:00
d16fcbd8ca
server: simplify emoji proxy url 2025-05-03 22:29:26 +02:00
8489178d34
server: remove unused proxy image processing options
Changelog: Removed
2025-05-03 22:03:50 +02:00
c6f5eaf83f
fixup! activitypub: simplify profile field rendering 2025-04-30 21:23:18 +02:00
34fcaee7ee
client: validate called endpoint URLs
This is particularly of concern when this comes from AiScript.

Changelog: Security
2025-04-27 22:53:59 +02:00
2569b03a21
activitypub: simplify profile field rendering
Changelog: Changed
2025-04-27 21:51:42 +02:00
f665dfefcc
backend: fix typo 2025-04-05 21:23:29 +02:00
8981619526
backend: fix broken emojis on edited notes
Changelog: Fixed
2025-02-28 18:08:07 +01:00
0f5c6b4092
client: more actions for renotes
Also allows to perform most note actions on renotes.

Changelog: Added
2025-02-06 20:24:01 +01:00
ab9c6d46a3
client: better error for already clipped note
Changelog: Fixed
2025-02-06 20:21:37 +01:00
81cf69c9bf
client: refactor getNoteMenu
Instead of re-determining `appearNote` inside `getNoteMenu`, it makes sense
to pass in the value since it has already been computed anyway.
2025-02-06 20:06:07 +01:00
0dfd5d8bc0
activitypub: more validation for polls 2024-11-21 19:57:24 +01:00
e384b1762b
activitypub: disallow transitive activities
This might be able to circumvent the ID host equality check, which
doesn't seem like a good idea.

Probably better since most likely the following code is not properly
equipped to handle null values anyway.
2024-11-21 19:55:52 +01:00
ce5c6f8309
server: simplify validateNote
Instead of returning an error that isn't even used, just throw the
error right away.
2024-11-21 19:55:20 +01:00
42e8cc5989
activitypub: prevent poll spoofing 2024-11-21 19:52:43 +01:00
6123df0ebd
server: catch unresolvable featured notes
Instead of throwing all featured notes away, just remove that specific one.

closes #407
2024-10-18 17:39:28 +02:00
4aae4a5ffb
server: properly parse pinned post types 2024-10-18 17:28:38 +02:00
9d288c0613
translate comments 2024-10-18 17:26:13 +02:00
bc841ec965
server: enable Happy Eyeballs IPv4/v6 selection
Whoever thought it was a good idea to have this disabled by default...
2024-10-14 15:24:11 +02:00
0569bc3e15
update yarn.lock 2024-10-10 11:55:06 +02:00
880382a45f
server: remove unused dependencies 2024-10-10 11:42:30 +02:00
b63e03942e
server: remove slow option 2024-10-10 11:34:29 +02:00
67ebf83ed7
server: remove cli-highlight
This function is only used for highlighting logged PostgreSQL queries
which do not show up coloured in my log anyway so seems irrelevant.

Changelog: Changed
2024-10-10 11:23:30 +02:00
ebafed4a97
server: remove docker support
Changelog: Removed
2024-10-10 11:16:16 +02:00
d87de46217
server: remove elasticsearch
Changelog: Removed
2024-10-10 11:13:20 +02:00
35735342c1
server: remove summaly
Changelog: Removed
2024-09-07 09:48:25 +02:00
91c63388c7
server: timeout for endedPollNotification job
This gets necessary because the job now additionally tries to re-fetch
the number of votes before showing the notification since commit
6ce067af56.
2024-09-07 09:24:45 +02:00
d5cf305a3a
server: refactor fetchInstanceMetadata
The function only uses the host aspect of the instance and re-fetches
the rest from the database anyway, so it does not make sense to require
to pass the whole instance object as an argument everywhere.
2024-09-07 09:21:20 +02:00
886e21e2dd
server: update instance metadata in separate job
Previously, the deliver and inbox queue jobs would also take care of
updating the instance metadata. On a low resource server like mine,
the deliver queue is often the "critical path" and handling this
there is not a good idea.

Instead, this is handled in a separate job and with a slight delay,
to not interfere with bulk delivery jobs.
2024-08-30 01:31:02 +02:00
6ce067af56
server: re-fetch poll votes before end notif 2024-08-29 22:39:10 +02:00
650869e2f7
server: ol/ul for html->mfm
Implements a simple rendering for ordered and unordered lists.

To properly support nested lists, and lists inside of blockquotes,
this necessitated rewriting the `analyze` function to return text.
This now also means that markup inside of blockquotes will be parsed properly.
2024-08-09 00:57:09 +02:00
2ed5ecd6a1
server: code improvements in following service 2024-08-09 00:25:12 +02:00
67089193ea
server: query cache is optional
The query cache can be disabled in the configuration file and should
thus be considered optional. It should not be assumed that it is present.
2024-07-19 20:45:25 +02:00
c0364f236c
remove tests
Since I don't use them and they never really worked correctly anyway,
there is no real point in keeping them around. Also, removing them
allows to shed quite a bit of "weight" in (dev)dependencies.
2024-07-07 19:31:45 +02:00
77a8eb6f54
client: fix drive folder layout 2024-07-06 21:29:27 +02:00
be950f5313
activitypub: fix LD context
Some checks failed
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/test Pipeline failed
ActivityPub through ActivityStreams 2.0 requires the use of the
expansion algorithm from JSON-LD 1.0 which is not able to handle nested contexts.

Fixes commit 21ab8e75ee, thanks to sn0w.
2024-05-13 00:30:00 +02:00
a9c6e51051
client: implement small/center MFM functions
Some checks failed
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/test Pipeline failed
Changelog: Added
2024-04-20 17:48:42 +02:00
c18a7a8d30
activitypub: no longer accept LD Signatures
Some checks failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/test Pipeline failed
LD signatures are not properly securely implemented, further they
do not seem to be necessary any more.

closes #373

Changelog: Removed
2024-04-20 17:26:25 +02:00
d34f7c7faa
apply mutes to image descriptions
Some checks failed
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/test Pipeline failed
Changelog: Added
2024-04-04 00:07:45 +02:00
095802d059
server: remove unused logger.store attribute
Some checks failed
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline failed
2024-04-01 21:25:14 +02:00
f245b6e517
server: remove direct chalk dependency
Some checks failed
ci/woodpecker/push/lint-backend Pipeline failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint-sw Pipeline failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-client Pipeline failed
ci/woodpecker/push/test Pipeline failed
Colouring of logs is not important to me because if I view them in journalctl
there are no colours anyway.
2024-04-01 19:10:55 +02:00