summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2024-11-12B Providers/ActivityPub: Ensure that nothing explodes on unexpected input.Lain Soykaf
2024-11-12Merge branch 'fix/vapid_keyword_fallback' into 'develop'lain
push: make vapid_config fallback to empty array See merge request pleroma/pleroma!4276
2024-11-12Merge branch 'develop' into 'tusooa/se-opt-out'lain
# Conflicts: # lib/pleroma/web/metadata/providers/feed.ex
2024-11-12Merge branch 'atom-tag' into 'develop'lain
Metadata: Do not include .atom feed links for remote accounts See merge request pleroma/pleroma!4281
2024-10-29Pleroma.Upload.Filter.Dedupe: sharding directory structureMark Felder
Dedupe now uses a three-level sharding directory structure to improve performance when many files are uploaded and stored on a filesystem instead of an object store. (note: Minio still affected as it still uses a traditional filesystem) This does not help if you already have hundreds of thousands of files uploaded. The media URLs are permanently part of the activity so the files cannot be relocated. A motivated user could write a tool to move the files and perhaps write an Nginx or equivalent redirect to make the files still accessible, but that is beyond the scope of this change.
2024-10-27Fix /api/v2/media returning the wrong status code for media processed ↵Mark Felder
synchronously The API should return a 202 only if data cannot be returned yet and a followup GET /api/v1/media/:id should be called to retrieve it. This is something Mastodon does when it needs to transcode large media files. It does not apply to Pleroma and causes apps to waste an API call when posting a status which causes apps to appear to hang on higher latency environments, such as on mobile networks. https://docs.joinmastodon.org/methods/media/#v2
2024-10-12Add metadata provider for ActivityPub alternate linksmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-11Merge branch 'refactor-change-password' into 'develop'feld
LDAP: permit password changing See merge request pleroma/pleroma!4285
2024-10-11Merge branch 'remote-report-policy' into 'develop'feld
Remote report policy See merge request pleroma/pleroma!4280
2024-10-11Merge branch 'tusooa/3331-fix-incoming-block' into 'develop'feld
Fix incoming Blocks being rejected Closes #3331 See merge request pleroma/pleroma!4282
2024-10-11Reorganize the LDAP moduleMark Felder
2024-10-11Add change_password/3 to LDAP moduleMark Felder
2024-10-11Support password changes for LDAP auth backendMark Felder
2024-10-11Refactor password changes to go through Pleroma.Web.Auth so they can be ↵Mark Felder
supported by the different auth backends
2024-10-10Merge branch 'poll-refresh' into 'develop'feld
Refactor Poll Refreshing See merge request pleroma/pleroma!4278
2024-10-09Skip the final refresh job if the activity is localMark Felder
2024-10-09Merge branch 'hashtag-feeds-restricted' into 'develop'marcin mikołajczak
Repesct :restrict_unauthenticated for hashtag rss/atom feeds See merge request pleroma/pleroma!4266
2024-10-08Fix incoming Blocks being rejectedtusooa
2024-10-06Merge branch 'profile-image-descriptions' into 'develop'marcin mikołajczak
Federate avatar/header descriptions See merge request pleroma/pleroma!4264
2024-10-06Metadata: Do not include .atom feed links for remote accountsmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-03RemoteReportPolicy: Fix third-party report detectionMint
2024-10-03mix formatAlex Gleason
2024-10-03RemoteReportPolicy: add `reject_third_party` optionMint
2024-10-03RemoteReportPolicy: add `:reject_all` option, fix testsAlex Gleason
2024-10-03Add RemoteReportPolicy to reject reports without enough informationAlex Gleason
2024-10-03Increase poll refresh interval to 120 secondsMark Felder
2024-10-03Remove pattern that can never matchMark Felder
2024-10-03Check if a refresh is permitted by comparing timestamps before attempting to ↵Mark Felder
insert an Oban job It's better to avoid inserting an Oban job that will just be rejected if it's not expensive to check.
2024-10-02Fix nonexisting user will not generate metadata for search engine opt-outtusooa
2024-10-02Do not attempt to schedule poll refresh jobs for local activitiesMark Felder
2024-09-30CredoMark Felder
2024-09-30Rename assignment for consistencyMark Felder
2024-09-30Schedule a final poll refresh before streaming out the notificationsMark Felder
2024-09-30Skip refetching poll results if the object's updated_at is newer than the ↵Mark Felder
poll closed timestamp
2024-09-30Add Oban job to handle poll refreshing and stream out the updateMark Felder
2024-09-30Remove Object.get_by_id_and_maybe_refetch/2Mark Felder
This was only used for poll refreshing and is not a good approach to the problem.
2024-09-24push: make vapid_config fallback to empty arrayHaelwenn (lanodan) Monnier
2024-09-24T03:53:27.770757+00:00 NightmareMoon pleroma: path=/notice/AmJcSqyeyij4W70K36 [error] Preloading for /notice/AmJcSqyeyij4W70K36 failed. ** (FunctionClauseError) no function clause matching in Keyword.get/3 (elixir 1.15.8) lib/keyword.ex:388: Keyword.get(nil, :public_key, nil) (pleroma 2.7.0-3067-g9b76dbd4-dev-lanodan2) lib/pleroma/web/mastodon_api/views/instance_view.ex:262: Pleroma.Web.MastodonAPI.InstanceView.pleroma_configuration/1 (pleroma 2.7.0-3067-g9b76dbd4-dev-lanodan2) lib/pleroma/web/mastodon_api/views/instance_view.ex:45: Pleroma.Web.MastodonAPI.InstanceView.render/2 (pleroma 2.7.0-3067-g9b76dbd4-dev-lanodan2) lib/pleroma/web/preload/providers/instance.ex:28: Pleroma.Web.Preload.Providers.Instance.build_info_tag/1 (pleroma 2.7.0-3067-g9b76dbd4-dev-lanodan2) lib/pleroma/web/preload/providers/instance.ex:21: Pleroma.Web.Preload.Providers.Instance.generate_terms/1 (pleroma 2.7.0-3067-g9b76dbd4-dev-lanodan2) lib/pleroma/web/preload.ex:13: anonymous fn/3 in Pleroma.Web.Preload.build_tags/2
2024-09-21MRF.SimplePolicy: Add id_filter/1Haelwenn (lanodan) Monnier
2024-09-21MRF.DropPolicy: Add id_filter/1Haelwenn (lanodan) Monnier
2024-09-21Object.Fetcher: Hook to MRF.id_filterHaelwenn (lanodan) Monnier
2024-09-21MRF: Add filtering against AP idHaelwenn (lanodan) Monnier
2024-09-19Include session scopes in TokenViewmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-18LDAP: fix compile warningMark Felder
Sometimes the compile will emit the following warning, so we'll just avoid it by making it call a function in the LDAP module which will never have this problem. warning: :GenServer.call/2 is undefined (module :GenServer is not available or is yet to be defined)
2024-09-17Improve matching on bind errorsMark Felder
2024-09-17Change :connection to :handle to match upstream nomenclatureMark Felder
2024-09-17Reduce LDAP timeoutsMark Felder
10 seconds is way too long for any login attempt or search result. LDAP should always be fast.
2024-09-17Make the email attribute configurableMark Felder
While here, fix the System.get_env usage to use the normal fallback value method and improve the UID label description
2024-09-17Link the eldap connection processMark Felder
Ensure if LDAP GenServer crashes it gets cleaned up, and we should crash and restart if somehow the eldap connection process crashes unexpectedly as we can't seem to receive any DOWN messages from it, etc.
2024-09-17Fix return value when not doing STARTTLSMark Felder
2024-09-17Only close connection if it is not nilMark Felder