Commit Graph

8696 Commits (de95ee7772d6a0a5f28e182d0bff3afc38cfe500)

Author SHA1 Message Date
Lain Soykaf ca8c676867 Linting.
3 years ago
Finn Behrens 8af53101fb move result into with guard
3 years ago
marcin mikołajczak c96e52b88c Add 'notifying' to relationship for compatibility with Mastodon
3 years ago
marcin mikołajczak 64a4c147b1 MastoAPI: accept notify param in follow request
3 years ago
sadposter 6a6260f64e re-enable deactivated check
3 years ago
FloatingGhost db46913dcc make linter happy
3 years ago
FloatingGhost cd8bdbc761 Make deactivated user check into a subquery
3 years ago
sadposter ca2bd8b72b remove deactivated_users call
3 years ago
Alex Gleason 949a53e327
Log Ecto queries > 500ms
3 years ago
sadposter bb54720778 add debug
3 years ago
sadposter c85b278f1e Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
3 years ago
Alex Gleason 8286ceb465
Merge remote-tracking branch 'origin/develop' into password-reset
3 years ago
Alex Gleason 5da4f33bf1
Restore POST /auth/password
3 years ago
marcin mikołajczak cd5fb84b76 remote_interaction API endpoint
3 years ago
Alex Gleason 6519f59d91
v2 Suggestions: return `is_suggested` through the API
3 years ago
Alex Gleason 8dc1d2201a
Instance: add v2_suggestions feature
3 years ago
Alex Gleason e5a7547fbe
v2 Suggestions: also filter out users you follow
3 years ago
Alex Gleason 437c1a5a52
v2 Suggestions: actually flter out dismissed suggestions
3 years ago
Alex Gleason aee55b9a8b
v2 Suggestions: dismiss a suggestion
3 years ago
Alex Gleason 6c0484d571
AdminAPI: suggest a user through the API
3 years ago
Alex Gleason e28d990ecb
v2 Suggestions: don't skip visibility check
3 years ago
Alex Gleason b17360cd7c
v2 Suggestions: rudimentary API response
3 years ago
Alex Gleason 7e1caddc58
v2 Suggestions: return empty array
3 years ago
Alex Gleason 720198d569
Merge remote-tracking branch 'pleroma/develop' into manifest
3 years ago
Alex Gleason cb9359335f
Expose /manifest.json for PWA
3 years ago
marcin mikołajczak d64d1b1d45 Fix replies count for remote replies
3 years ago
rinpatch 588bcbac55 Apply 2 suggestion(s) to 2 file(s)
3 years ago
marcin mikołajczak 8e040e098b Lint
3 years ago
marcin mikołajczak 106b5c2678 Fix a typo
3 years ago
marcin mikołajczak 40414bf177 MastoAPI: Add user notes on accounts
3 years ago
sadposter a61207cf8f Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
3 years ago
Alibek Omarov 04aca335aa nodeinfo: report activeMonth and activeHalfyear users fields
3 years ago
lain e2772d6bf1 Merge branch 'block-behavior' into 'develop'
3 years ago
lain 6e3df11693 Merge branch 'instance-deletion' into 'develop'
3 years ago
lain 6aff3d3204 Merge branch 'fix-object-deletion-timeout' into 'develop'
3 years ago
lain bd77243981 Merge branch 'userfeed-fe-fallback' into 'develop'
3 years ago
Haelwenn (lanodan) Monnier 23e91ec8dd activity_pub_controller: Fix misleading debug warning in post_inbox_fallback
3 years ago
sadposter eb1c7d75f4 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
3 years ago
Haelwenn 6b5c2d5f86 Merge branch 'refactor/group_validator_fields' into 'develop'
3 years ago
Haelwenn (lanodan) Monnier 23161526d4 object_validators: Group common fields in CommonValidations
3 years ago
Mark Felder 3af7db9fd7 Fix typo
3 years ago
Haelwenn (lanodan) Monnier a17910a6c6
CI: Bump lint stage to elixir-1.12
3 years ago
Haelwenn 92a8ff59aa Merge branch 'from/develop/tusooa/add-remove-emails' into 'develop'
3 years ago
sadposter bd9c9136f9 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
3 years ago
marcin mikołajczak 555d7d57c9 Add "exposable_reactions" to features, if showing reactions
3 years ago
Haelwenn 6b3842cf50 Merge branch 'remove/mastofe' into 'develop'
3 years ago
sadposter c31e491e99 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
3 years ago
Tusooa Zhu 198250dcef
Allow users to remove their emails if instance does not need email to register
3 years ago
Mark Felder 181282fb2e Remove unused Logger
3 years ago
sadposter b202cf15d6 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
3 years ago
Sean King 3117c60997
Make suggested change for create_response
3 years ago
Sean King 2e59cdd80f
Fix aliases sorting
3 years ago
Sean King 33f063204e
Add unit test for Pleroma API app controller
3 years ago
Sean King d02cf7b0cd
Fix lint
3 years ago
Sean King a14e1c0003
Move GET /api/v1/apps to GET /api/v1/pleroma/apps
3 years ago
Sean King eab6291094
Require follow and read OAuth scopes for GET /api/v1/apps
3 years ago
someone cc4f20b130
mix pleroma.database set_text_search_config now runs concurrently and infinitely
3 years ago
Ilja 20084329ea
Selecting MRF policies didn't work as intended any more
3 years ago
Tusooa Zhu bd0eb1c675
Make activity search properly use GIN indexes
3 years ago
Ilja 53b0dd4ecc
List available frontends also when no static/frontends folder is present yet
3 years ago
Sam Therapy 09c42ce13e
Add Admin-FE menu for StealEmojiPolicy
3 years ago
Haelwenn 689a59f41f Merge branch 'set_text_search_config_timeout' into 'develop'
3 years ago
Haelwenn bc62a35282 Merge branch 'features/ingestion-no-nil' into 'develop'
3 years ago
Haelwenn 6633ec816f Merge branch 'admin_fe_dont_list_mrf_policies_any_more' into 'develop'
3 years ago
Tusooa Zhu a9984c6da7
Make activity search properly use GIN indexes
3 years ago
Sean King baa8196fc9
Fix API spec, add app schema
3 years ago
Sean King ba6914f90a
Fix formatting in app_operation.ex
3 years ago
Sean King 6519732045
GET /api/v1/apps endpoint
3 years ago
Alex Gleason b11dbbf403
UserController: fall back to frontend when user isn't found
3 years ago
someone 4b940e441a mix pleroma.database set_text_search_config now runs concurrently and infinitely
3 years ago
Haelwenn 84ec0fbeaa Merge branch 'show_frontends_also_when_no_static_frontends_folder_is_created_yet' into 'develop'
3 years ago
Ilja f9bafc17fb List available frontends also when no static/frontends folder is present yet
3 years ago
Haelwenn 2d9f803dc6 Merge branch 'StealEmojiMRF_add_adminFE' into 'develop'
3 years ago
Haelwenn 773708cfe8 Merge branch 'builder-note' into 'develop'
3 years ago
Alex Gleason ba6049aa81
Builder.note/1: return {:ok, map(), keyword()} like other Builder functions
3 years ago
Sam Therapy b901b73057
Add Admin-FE menu for StealEmojiPolicy
3 years ago
Alex Gleason a2eacfc525
CommonAPI.Utils.make_note_data/1 --> ActivityPub.Builder.note/1
3 years ago
Ilja 5049b4272e Selecting MRF policies didn't work as intended any more
3 years ago
Alex Gleason 01175ef498
Streamer: fix crash in MastodonAPI.StatusView
3 years ago
Haelwenn (lanodan) Monnier 27e1e4c742
Activity.Search: fallback on status resolution on DB Timeout
3 years ago
Alex Gleason e117551169
AdminAPI: hotfix for nil report objects
3 years ago
Haelwenn (lanodan) Monnier bb2d5879cc
maybe_notify_subscribers: Don't create notifications from ingested replies
3 years ago
Haelwenn (lanodan) Monnier 0e2aebd036
TwitterAPI: Make change_email require body params instead of query
3 years ago
Haelwenn (lanodan) Monnier 3961422f85
TwitterAPI: Make change_password require body params instead of query
3 years ago
Haelwenn (lanodan) Monnier 8baaa36a16
ObjectAgePolicy: Fix pattern matching on published
3 years ago
kPherox 34606d609d
fix: stream out Create Activity
3 years ago
Haelwenn 61ba54897e Merge branch 'streamer-crash-fix' into 'develop'
3 years ago
Alex Gleason b7bbf42acd
Streamer: fix crash in MastodonAPI.StatusView
3 years ago
rinpatch 7afabe1cc6 Merge branch 'bugfix/status-search-fallback' into 'develop'
3 years ago
Haelwenn (lanodan) Monnier 6455b967ec
Activity.Search: fallback on status resolution on DB Timeout
3 years ago
Haelwenn 3a7b54be4a Merge branch 'nil-report-object-hotfix' into 'develop'
3 years ago
Haelwenn (lanodan) Monnier 61d233921c
ObjectValidator.stringify_keys: filter out nil values
3 years ago
Haelwenn 3ca39ccf69 Merge branch 'bugfix/subscriptions-replies' into 'develop'
3 years ago
Haelwenn (lanodan) Monnier 436fac3bac
maybe_notify_subscribers: Don't create notifications from ingested messages
3 years ago
Alex Gleason 7247c29653
AdminAPI: hotfix for nil report objects
3 years ago
Haelwenn 7c1243178b Merge branch 'bugfix/change_password' into 'develop'
3 years ago
Haelwenn (lanodan) Monnier 197cdebca9
TwitterAPI: Make change_email require body params instead of query
3 years ago
Haelwenn 8679a57a71 Merge branch 'bugfix/object-age-create' into 'develop'
3 years ago
Haelwenn (lanodan) Monnier 09dcb2b522
TwitterAPI: Make change_password require body params instead of query
3 years ago
Haelwenn (lanodan) Monnier c64eae40a2
ObjectAgePolicy: Fix pattern matching on published
3 years ago
Haelwenn f4af74b0fc Merge branch 'fix/streaming-api-for-create-activity' into 'develop'
3 years ago
Haelwenn 901204df22 Merge branch 'poll-notification' into 'develop'
3 years ago
kPherox ee5def34da
fix: stream out Create Activity
3 years ago
Sean King 1841bd8383 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remove/mastofe
3 years ago
Egor Kislitsyn ad09bdb376
Improve readability
3 years ago
Ilja b0926a71b2
Make transparency_exclusions use tuples in admin-fe
3 years ago
Ilja f4028c908c
Add key- and valuePlaceholders for quarantined_instances and mrf_simple
3 years ago
Ilja 03030b47c2
quarantine instances info
3 years ago
Ilja 47fc57bbcc
Change what nodeinfo returns without breaking backwards compatibility
3 years ago
Ilja 7fdc3cde06
Return maps in node_info
3 years ago
Ilja c0489f9fac
Fixed deprecation warning checks
3 years ago
Ilja 3c5a497b19
Deprecate transparency_exclusions
3 years ago
Ilja dfeb3862da
config :mrf, :transparency_exclusions works with tumples now
3 years ago
Ilja e0c7d77197
Deprecate and rewrite settings for quarentine settings
3 years ago
Ilja 27fe7b0274
Make quarentine work with list of tuples instead of strings
3 years ago
Ilja 4ba0beb60c
Make mrfSimple work with tuples
3 years ago
Ilja 647087d7fd
Deprectate strings for SimplePolicy
3 years ago
Alex Gleason b83758bd96
Merge remote-tracking branch 'pleroma/develop' into moderators
3 years ago
sadposter daab1eaa65 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
3 years ago
Alex Gleason 44ede0657f
Merge remote-tracking branch 'pleroma/develop' into staff-plug
3 years ago
sadposter 2519d4eb1a Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
3 years ago
Alex Gleason 7f23dd6cc8
Merge remote-tracking branch 'pleroma/develop' into object-tombstone-visibility
3 years ago
Alex Gleason 9cc8642b80
Visibility: check Tombstone objects in visible_for_user?/2
3 years ago
sadposter de69585eaa :Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
3 years ago
Haelwenn 7acdab1f30 Merge branch 'mkljczk-develop-patch-60115' into 'develop'
3 years ago
Alex Gleason 62bf6d67e3
Merge remote-tracking branch 'pleroma/develop' into poll-notification-fixes
3 years ago
Alex Gleason 70f1496eb8
Poll notification: only notify local users
3 years ago
Alex Gleason 0b1c05ca1e
Poll notification: trigger PollWorker through common_pipeline
3 years ago
Alex Gleason 6a6e42c9bf
PollWorker defensive checks
3 years ago
Alex Gleason cbd1a10c16
Poll notification: notify for polls even when block_from_strangers is set
3 years ago
Alex Gleason 0114754db2
MastodonAPI: Support poll notification
3 years ago
Alex Gleason 3674179b26
Merge remote-tracking branch 'pleroma/develop' into instance-deletion
3 years ago
Alex Gleason bad79f79e6
AdminAPI.InstanceController: clean up tests, rename actions
3 years ago
Alex Gleason 54dbcfe02a
AdminAPI: add DELETE /instances/:instance to delete all content from a remote instance
3 years ago
Alex Gleason f67d00d12b
Add Instance.delete_users_and_activities/1 to delete all content from a remote instance
3 years ago
Alex Gleason 25676c84be
Create AdminAPI.InstanceController
3 years ago
feld 3f58213646 Merge branch 'admin-api-users-sort' into 'develop'
3 years ago
Alex Gleason 1a2fe96d56
Merge remote-tracking branch 'pleroma/develop' into admin-api-users-date
3 years ago
Alex Gleason 167e14416b
AdminAPI: add date to users
3 years ago
Alex Gleason deb3f91136
Merge remote-tracking branch 'pleroma/develop' into admin-api-users-sort
3 years ago
Alex Gleason 5e88796784
AdminAPI: sort user results by ID descending
3 years ago
Alex Gleason 2b3d7794b2
AdminAPI: let moderators actually do things
3 years ago
Alex Gleason 4fe9a758f9
Let moderators manage custom emojis
3 years ago
Alex Gleason 1f093cb216
Moderators: reorganize :admin_api pipeline in Router
3 years ago
Alex Gleason 9bc1e79c56
Moderators: add UserIsStaffPlug
3 years ago
Alex Gleason e40b58fd56
Merge remote-tracking branch 'pleroma/develop' into fix-object-deletion-timeout
3 years ago
Alex Gleason 9a0cb34c8c
Fix Activity.delete_all_by_object_ap_id/1 timeout so users can be deleted
3 years ago
Haelwenn 173e977e28 Merge branch 'features/ingestion-page' into 'develop'
3 years ago
Haelwenn (lanodan) Monnier 6dc78f5f6f
AP C2S: Remove restrictions and make it go through pipeline
3 years ago
Sean King 5d279a22b1 Merge develop branch upstream
3 years ago
marcin mikołajczak 6ef8e1776d fix the fucking list timelines on mastofe/soapbox-fe
3 years ago
Alex Gleason 310ef6b70d
Deletions: change User.purge/1 to defp, add CHANGELOG entry
3 years ago
Alex Gleason 99cc26bb02
Merge remote-tracking branch 'pleroma/develop' into remote-deletions
3 years ago
Alex Gleason beb1c98ab5
Deletions: don't purge keys so Delete/Undo activities can be signed
3 years ago
Alex Gleason 43800d83f4
Deletions: allow deactivated users to be deleted
3 years ago
Alex Gleason a7929c4d89
Deletions: preserve account status fields during purge, fix checks
3 years ago
Alex Gleason 01c2d2a296
Also purge the user in User.perform/2
3 years ago
Alex Gleason c6d4133727
Deletions: purge the user immediately
3 years ago
Alex Gleason be2da95c36
Correctly purge a remote user
3 years ago
sadposter f191021f52 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
3 years ago
sadposter e56c319e8f merge
3 years ago
Alex Gleason 281806de75
Activity deletion: fix FunctionClauseError #2686
3 years ago
feld f97f305d00 Merge branch 'ecto-upgrade' into 'develop'
3 years ago
Alex Gleason 54af527759
Upgrade Ecto to v3.6.2, remove deprecated ecto_explain
3 years ago
Haelwenn (lanodan) Monnier fc6ab78a84
Add test on changing [:instance, :upload_limit]
3 years ago
Haelwenn (lanodan) Monnier a851a24036
Downgrade Plug to 1.10.x, revert upload_limit tuple to function change
3 years ago
feld 406dadb56b Merge branch 'fix/twittercard-video-dimensions' into 'develop'
3 years ago
Mark Felder 202ee5fd77 Add note about video thumbnails for code spelunkers unfamiliar with Media Preview Proxy
3 years ago
Alex Gleason 15e2aaa9f6
Fix compile cycle in Pleroma.Tests.AuthTestController
3 years ago
Mark Felder 6aa7fc15df Formatting of the comment
3 years ago
Mark Felder 5f7901cc48 Credo
3 years ago
Mark Felder 2a47156b87 Lint
3 years ago
Mark Felder 86bcb87e6c Fix incorrectly ordered arguments to the function and not properly merging lists.
3 years ago
Mark Felder 2cf648d419 Add a video thumbnail to the OpenGraph metadata if Media Preview Proxy is enabled.
3 years ago
Mark Felder 19a49dd757 Remove Metadata.Utils.attachment_url/1
3 years ago
Haelwenn (lanodan) Monnier c839078a75
ObjectValidators.{Announce,EmojiReact,Like}: Fix context, actor & addressing
3 years ago
Haelwenn 53cf801c30 Merge branch 'cycles-plug-deps' into 'develop'
3 years ago
Haelwenn eba3c7b42f Merge branch 'cycles-side-effects' into 'develop'
3 years ago
Alex Gleason 45b7325b9e
Refactor skipped plugs into Pleroma.Web functions
3 years ago
Alex Gleason 67ec0e6c18
Switch to runtime deps in ActivityPub.SideEffects
3 years ago
Alex Gleason 45ab24f2d9
Switch to runtime deps in Pleroma.Instances
3 years ago
Mark Felder 9cb8960284 Switch OGP default type from "website" to "article"
3 years ago
feld d896e45faf Merge branch 'cycles-config-loader-redux' into 'develop'
3 years ago
feld 4de2bd3b79 Merge branch 'cycles-user-view' into 'develop'
3 years ago
Mark Felder d70db63084 Set the correct height/width if the data is available when generating opengraph metadata
3 years ago
Alex Gleason 4faeec2c44
Create AdminAPI.UserView to avoid compile-time dep
3 years ago
Mark Felder aa8cc4e86e Only use fallback for videos and only add this metadata for images if we really have it.
3 years ago
Mark Felder d4ac9445cd Twittercard metadata for images should also include dimensions if available
3 years ago
Alex Gleason 1be14cc45f
Ignore runtime deps in Pleroma.Config.Loader with Module.concat/1
3 years ago
Mark Felder 5de65ce3e8 Set the correct height/width if the data is available when generating twittercard metadata
3 years ago
feld 1175023687 Merge branch 'metadata-for-all' into 'develop'
3 years ago
feld 939b3bfe43 Merge branch 'improve-og-embed' into 'develop'
3 years ago
Mark Felder 5c27578bce Support metadata for video files too
3 years ago
Alex Gleason b99f60615c Fix order of Pleroma.Web.Utils.Params aliases
3 years ago
Alex Gleason ec65b7ae29 Pleroma.Web.Params --> Pleroma.Web.Utils.Params
3 years ago
Alex Gleason 0877b120c3 Pleroma.Web.ControllerHelper.truthy_param?/1 --> Pleroma.Web.Params.truthy_param?/1
3 years ago
feld 99f8605582 Merge branch 'cycles-uploads' into 'develop'
3 years ago
Alex Gleason 1399b82f7b
Create WrapperAuthenticator and simplify Authenticator behaviour
3 years ago
Alex Gleason bdaa1d4512
Upload.Filter: use generic types in @spec
3 years ago
Alex Gleason d87dfcb5f0
Put custom guards in Web.Utils.Guards
3 years ago