Ilja
20084329ea
Selecting MRF policies didn't work as intended any more
* Policies were put under a new module (Pleroma.Web.ActivityPub.MRF.Policy instead of Pleroma.Web.ActivityPub.MRF), but this wasn't changed in the Pleroma.Web.ActivityPub.MRF @mrf_config_descriptions
* I don't have a unit test to prevent similar problems in the future because I don't find a proper way to do it
* The descriptions in the unit tests are defined in the unit tests, so if someone changes module names in the code, the tests wont see it
* The list is generated in Pleroma.Docs.Generator.list_behaviour_implementations, but I can't do a check in the when clause of the function to see if the provided module is a behaviour or not.
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3509
2 years ago
Ilja
53b0dd4ecc
List available frontends also when no static/frontends folder is present yet
* To see what front ends are installed, it ls static/frontends. When this folder doesn't exists yet, it will return an empty array.
* Installing still works since the folder is created during installation already
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3510
2 years ago
Haelwenn (lanodan) Monnier
0e2aebd036
TwitterAPI: Make change_email require body params instead of query
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3503
2 years ago
Haelwenn (lanodan) Monnier
3961422f85
TwitterAPI: Make change_password require body params instead of query
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3503
2 years ago
Haelwenn (lanodan) Monnier
8baaa36a16
ObjectAgePolicy: Fix pattern matching on published
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3500
2 years ago
Alex Gleason
167e14416b
AdminAPI: add date to users
2 years ago
Alex Gleason
5e88796784
AdminAPI: sort user results by ID descending
2 years ago
Haelwenn (lanodan) Monnier
6dc78f5f6f
AP C2S: Remove restrictions and make it go through pipeline
3 years ago
Alex Gleason
beb1c98ab5
Deletions: don't purge keys so Delete/Undo activities can be signed
2 years ago
Alex Gleason
43800d83f4
Deletions: allow deactivated users to be deleted
2 years ago
Alex Gleason
a7929c4d89
Deletions: preserve account status fields during purge, fix checks
2 years ago
Alex Gleason
be2da95c36
Correctly purge a remote user
2 years ago
Alex Gleason
54af527759
Upgrade Ecto to v3.6.2, remove deprecated ecto_explain
2 years ago
Haelwenn (lanodan) Monnier
fc6ab78a84
Add test on changing [:instance, :upload_limit]
2 years ago
Mark Felder
f37db23848
Test that videos only get image thumbnails in OGP metadata when we can produce them with Preview Proxy
2 years ago
Mark Felder
dc8fe91dec
Metadata.Utils.attachment_url/1 was used in this test too
2 years ago
Haelwenn (lanodan) Monnier
c839078a75
ObjectValidators.{Announce,EmojiReact,Like}: Fix context, actor & addressing
2 years ago
Mark Felder
d70db63084
Set the correct height/width if the data is available when generating opengraph metadata
2 years ago
Mark Felder
d4ac9445cd
Twittercard metadata for images should also include dimensions if available
2 years ago
Mark Felder
5de65ce3e8
Set the correct height/width if the data is available when generating twittercard metadata
2 years ago
Mark Felder
3121ed1325
Blurhash varies slightly by computer generating it, so just validate it wasn't nil
2 years ago
Mark Felder
f1abe39f6f
Update test names and verify blurhash is correctly generated for images
2 years ago
Mark Felder
1c4c73c6a0
Add test for AnalyzeMetadata upload filter fetching dimensions from a video
2 years ago
Alex Gleason
1399b82f7b
Create WrapperAuthenticator and simplify Authenticator behaviour
Speeds up recompilation by reducing compile-time cycles
2 years ago
Mark Felder
017f947fc1
Channel name was incorrect. We left it as chat:public for backwards compatibility.
2 years ago
Mark Felder
a5ae0432ed
Test was named incorrectly and did not execute
2 years ago
Mark Felder
f5ef7fe43b
Fix test warnings
2 years ago
Mark Felder
264458531a
Formatting
2 years ago
Alex Gleason
fe4c4a7178
MRF: create MRF.Policy behaviour separate from MRF module
Speeds up recompilation by reducing compile-time deps
2 years ago
Mark Felder
d5daf59f88
Fix warning for misuse of clear_config/2
The old warning message was producing an improperly formatted suggestion.
2 years ago
Haelwenn (lanodan) Monnier
eb7313b0d3
Pipeline Ingestion: Page
3 years ago
Mark Felder
f58928cf1c
Add missing deprecation warning left out of !2842
2 years ago
io
2c401dafa1
Improve opengraph embeds
This brings them more in line with Mastodon.
- Deduplicates display name from the title and content
- Removes arbitrary limits on the size of the embedded image
- Removes angled double quotes from embed descriptions. These would normally just indicate that the content is a quote, but that is already implied by the content being in an embed.
2 years ago
Haelwenn (lanodan) Monnier
24d66b60a0
request_builder_test: mode :read got removed
2 years ago
Haelwenn (lanodan) Monnier
5c3a0dd26e
factory: Fix article_factory
2 years ago
Mark Felder
d9513b11d3
Forgot to move migration test when rebasing
3 years ago
Mark Felder
9ce2c017c0
We want clear_config/2 in all tests now
3 years ago
Roman Chvanikov
d7dfa6d27c
Update test for RenameInstanceChat migration
3 years ago
Mark Felder
01f796f8bb
Add a test for the migration
3 years ago
Mark Felder
d6432a65da
Move shout configuration from :instance, update docs and changelog
3 years ago
Mark Felder
ff00b354fa
Rename the non-federating Chat feature to Shout
3 years ago
Alex Gleason
51a9f97e87
Deprecate Pleroma.Web.base_url/0
Use Pleroma.Web.Endpoint.url/0 directly instead. Reduces compiler cycles.
2 years ago
Alex Gleason
10dfe81479
Pleroma.Constants.as_local_public/0 --> Pleroma.Web.ActivityPub.Utils.as_local_public/0
Move as_local_public/0 to stop making modules depend on Web at compile-time
2 years ago
Alex Gleason
c23b81e399
Pleroma.Web.get_api_routes/0 --> Pleroma.Web.Router.get_api_routes/0
Reduce recompilation time by breaking compile-time cycles
3 years ago
Mark Felder
4694853766
Provide totalItems field for featured collections
3 years ago
Mark Felder
fe40f6f291
Switch from the deprecated "use Mix.config" to "import Config"
3 years ago
Mark Felder
05d678c070
Expose user email address to user/owner; not publicly.
3 years ago
Mark Felder
9b6b5ac196
Rename upload filter to AnalyzeMetadata
3 years ago
Alex Gleason
4c060ae733
Ingest remote attachment width/height
3 years ago
Alex Gleason
ab9eabdf20
Add SetMeta filter to store uploaded image sizes
3 years ago