Commit Graph

1875 Commits (465adedb7cc457303278444d0f56960f87fde1e9)

Author SHA1 Message Date
href 84b9a9d497
TwitterAPI.ActivityView: Ignore unhandled activities
6 years ago
href 412df2cd38
Warn if push is disabled..
6 years ago
Maksim Pechnikov baead4ea4b fix markdown formatting
6 years ago
href 91236c60c7 Merge branch 'feature/file-size-checking' into 'develop'
6 years ago
href 0b4c61e8d5
Fix warning
6 years ago
href ec0e613eca
Pleroma.Activity.mastodon_notification_type/1
6 years ago
href 331396cbcd
Properly disable Web Push if no VAPID key is set
6 years ago
href 6822916183
Typos
6 years ago
href b1bcd97a0f
Push: respect alerts settings
6 years ago
href d8984b7bf8
Push: add missing notification_type field
6 years ago
href 7facbb2b8d
Push.Subscription: convert base64 to base64 urlsafe
6 years ago
Egor Kislitsyn 324933a0ac
improve push message format (compatibility with mastodon)
6 years ago
Egor Kislitsyn 658edb166f
fix and improve web push; add configuration docs
6 years ago
Ivan Tashkinov 69fd63e248 [#114] Added `invitesEnabled` to `metadata` of nodeinfo.
6 years ago
Ivan Tashkinov 66380b0641 [#114] Removed `confirm_email` action stub (to be addressed in a separate MR).
6 years ago
Ivan Tashkinov 9666376f5f [#114] Readded `invites_enabled` config setting, updated readme.
6 years ago
Ivan Tashkinov a89e3b4b60 [#114] Moved email_invite action to AdminAPIController, adjusted tests.
6 years ago
Ivan Tashkinov 3cbf16a5fe [#114] Added UserInviteToken creation, adjusted invitation email link to include it.
6 years ago
Ivan Tashkinov cc83d7ffe7 [#114] Naive implementation of email invitations.
6 years ago
href 30dc81667c Merge branch '114_user_registration_emails' into 'develop'
6 years ago
Ivan Tashkinov f81213910f [#114] Addressed MR comments. Removed functionality to be extracted to other MRs.
6 years ago
lambda 262cc6d44b Merge branch 'fix/double-rt-or-fav' into 'develop'
6 years ago
eal 61ad2ce422 TwitterAPI: Include favorited post in json
6 years ago
eal 1ca080c862 Prevent accidental double RTs or favorites
6 years ago
Ivan Tashkinov 18b9467d1a [#114] Removed `email_invite` implementation (to be addressed separately).
6 years ago
Ivan Tashkinov 00744c6b03 [#114] Initial implementation of user email invitations.
6 years ago
Ivan Tashkinov 908943352f [#114] Refactored `password_reset` (moved to TwitterAPI). Added homepage links to password reset result pages.
6 years ago
Ivan Tashkinov bfff2399ff [#114] Routes and config for `confirm_email` and `email_invite` (Twitter API).
6 years ago
Ivan Tashkinov e3a21bcd45 [#114] Addressed warnings. Fix of `with` statement clause in `password_reset`.
6 years ago
Ivan Tashkinov f5afb11032 [#114] Initial implementation of user password reset emails (user-initiated).
6 years ago
Ivan Tashkinov 12905ce1ad [#114] Added /dev/mailbox dev-only route (emails preview). Added mailer config examples.
6 years ago
Maksim Pechnikov 89b3729afa fix warnings
6 years ago
scarlett 213176c3c3 Add new frontend options to server-side config.
6 years ago
lambda ff10b9927b Merge branch 'support/bugfix_272' into 'develop'
6 years ago
lain c81c74d847 Treat warnings as errors outside of tests.
6 years ago
Maksim Pechnikov e94c3442f4 updates
6 years ago
Maksim Pechnikov 074fa790ba fix compile warnings
6 years ago
Maksim Pechnikov 068353ac0b formatting
6 years ago
Maksim Pechnikov 9442588ae9 fix hashtags in api response
6 years ago
Rin Toshaka 15616eda5e Make uploadlimit an object that stores upload limits for avatars, banners, backgrounds, general content
6 years ago
lambda beadeaffa1 Merge branch 'fix/nodeinfo-nil-features' into 'develop'
6 years ago
href bdc8112e40
Media proxy: fix url encoding
6 years ago
Rin Toshaka 578051809f Add uploadlimit to Twitter API config
6 years ago
lambda 94ac0075bf Merge branch 'media-proxy-follow-redirect' into 'develop'
6 years ago
href 134cc94cbd
Nodeinfo: remove null features; relay feature.
6 years ago
href d8fcf7c5cf
Media proxy: follow HTTP redirects by default
6 years ago
lambda 94d8f1ab30 Merge branch '394_user_tags' into 'develop'
6 years ago
Ivan Tashkinov 6ed5044c4e [#394] Refactoring (using Ecto.Multi; "untag" route change).
6 years ago
Ivan Tashkinov 7a2162bbcb [#394] User view (Twitter & Mastadon API): wrapped "tags" in "pleroma" map.
6 years ago
Ivan Tashkinov 7bcb6a183a [#394] Refactoring.
6 years ago
Ivan Tashkinov 7b19487389 [#394] Added `users.tags` and admin routes to tag and untag users. Added tests.
6 years ago
kaniini 1d531fd2f3 Merge branch 'fix/mastodon-api-settings' into 'develop'
6 years ago
kaniini abead01ab6 Merge branch 'correct-and-improve-http-options' into 'develop'
6 years ago
kaniini b0adea30b3 Merge branch 're-mrf' into 'develop'
6 years ago
rinpatch 2ae1128d9f MastoAPI: Fix put_settings
6 years ago
scarlett d27e3f269f Rename regular expression 'have_re' to 'reply_prefix'.
6 years ago
Egor Kislitsyn 6f36e903b0 use `User.avatar_url`
6 years ago
Egor Kislitsyn 79668c08fc cleanup
6 years ago
scarlett 3dff61ebec Harden re: detection.
6 years ago
Egor Kislitsyn 3d492795b7 clean up
6 years ago
Egor Kislitsyn 4944498133 Merge branch 'develop' into feature/compat/push-subscriptions
6 years ago
Egor Kislitsyn bac58b1524 show warning if VAPID is not set
6 years ago
Egor Kislitsyn 8b4397c704 Merge branch 'develop' into feature/compat/push-subscriptions
6 years ago
Egor Kislitsyn 04a48286e6 Add web push support
6 years ago
scarlett 6a6aaa0e1a Use object.normalize.
6 years ago
Hakaba Hitoyo a09ed0f5af avoid mix format bug
6 years ago
kaniini ccf0b46dd6 Merge branch '210_twitter_api_uploads_alt_text' into 'develop'
6 years ago
Ivan Tashkinov 3e90f688f1 [#210] Mastodon: actor storing for media uploads, ownership check to update_media.
6 years ago
Hakaba Hitoyo 96ba95df2e remove follow_redirect options
6 years ago
Hakaba Hitoyo 27792b2d77 remove pool and timeout options which duplicate with the default
6 years ago
Hakaba Hitoyo 505d820827 Merge remote-tracking branch 'origin/debug-suggestions-api' into correct-and-improve-http-options
6 years ago
lain 76d6b1c6ab Merge remote-tracking branch 'origin' into follower-hiding
6 years ago
lain 3ea4476445 MastodonAPI: Show users their own network.
6 years ago
lain fdac215091 TwitterAPI: Show users their own network.
6 years ago
Ivan Tashkinov 3b5be09f45 [#210] Stylistic change.
6 years ago
lain 839526a913 TwitterAPI: Add network hiding.
6 years ago
Ivan Tashkinov c4f3c5e939 [#210] Stylistic change.
6 years ago
Ivan Tashkinov 848151f7cb [#210] [TwitterAPI] Made actor be stored for uploads. Added ownership check
6 years ago
Ivan Tashkinov be187f82f7 [#210] Further refactoring.
6 years ago
hakabahitoyo a418547bdf debug /api/v1/suggestions
6 years ago
scarlett 8a1df182cf Add a MRF Policy for appending re: to identical subjects in replies.
6 years ago
kaniini ec1ec32f20 Merge branch 'optional-retry-queue' into 'develop'
6 years ago
lain 925b05054f Make retry queue optional.
6 years ago
kaniini 114b95cee2 Merge branch 'feature/integration_tesla' into 'develop'
6 years ago
William Pitcock b57d83e3c9 MRF: simple policy: fix media removal
6 years ago
Ivan Tashkinov 48e6193bf2 [#210] Refactoring.
6 years ago
Ivan Tashkinov 826fc446d5 [#210] TwitterAPI: implemented /api/media/metadata/create
6 years ago
Maksim Pechnikov 87109482f3 status_code -> status
6 years ago
Maksim Pechnikov 97252a27d9 fix http request in Salmon
6 years ago
Maksim Pechnikov 3ce16e5a56 init tesla and updated the http requests in Pleroma.Web.Websub
6 years ago
lambda 88b05aeabb Merge branch 'fix/parse-user-bio' into 'develop'
6 years ago
lambda 42ef7cd227 Merge branch 'fix-media-proxy-defaults' into 'develop'
6 years ago
Maxim Filippov 4b70e5eae9 Parse bio for MastodonAPI
6 years ago
Maxim Filippov ce98d5eb9b Parse user's bio on register
6 years ago
lain 8c9a4e8b40 TwitterAPI: Implement hide_network.
6 years ago
lain 2a639de9b3 MastodonApi: Implement hide_network.
6 years ago
lain 6be0ab1e55 Hide network in ap.
6 years ago
href 43d5e4f7fa
Fix media proxy config defaults
6 years ago
lain f18b86fd5f More fixes for Info schema.
6 years ago
lain 93f2dc19d9 TwitterAPI: Fix banner and background update.
6 years ago
lain 347df6421d Fix masto api user updating.
6 years ago
lain c443c9bd72 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into validate-user-info
6 years ago
lain 1c67277c80 Fix admin api.
6 years ago
href 680716b3c9
Config docs
6 years ago
href 02d3dc6869
Uploads fun, part. 2
6 years ago
href b19597f602
reverse proxy / uploads
6 years ago
lain d0ec2812bd Merge remote-tracking branch 'origin' into validate-user-info
6 years ago
lain 8f1fffebc6 Fix transmogrifier test.
6 years ago
lain d088ac6286 Fix OStatus user updates.
6 years ago
lain 48b95a9b95 Assorted fixes.
6 years ago
lain d407f662af Fix TwitterApiController.
6 years ago
lain a6812bc9df Remove "most recent notification" endpoint.
6 years ago
KokaKiwi 87098d1676 Streamer: Don't send unwanted DMs to list streams
6 years ago
lain 3c61df6b9e Webfinger fixes.
6 years ago
lain ec464ef20a HTTP sig fixes.
6 years ago
Haelwenn 5ae6088d37 Merge branch 'feature/mrf-user-allowlist' into 'develop'
6 years ago
William Pitcock 271f9f1335 nodeinfo: add mrf_user_allowlist data
6 years ago
William Pitcock 8c05d19c7f MRF: add user allowlist module
6 years ago
Mark Felder 6cc94404d7 Replace this hardcoded <title>
6 years ago
Haelwenn (lanodan) Monnier ca029f0b69
Web.Streamer: Get unauthenticated statuses representation
6 years ago
Haelwenn (lanodan) Monnier d388a99143
Web.MastodonAPI.MastodonSocket: Put access_token at function-level
6 years ago
Haelwenn (lanodan) Monnier 5346fabf14
Web.MastodonAPI.MastodonSocket: Add unauthentified websocket endpoints
6 years ago
kaniini 675653ceb7 Merge branch 'feature/admin-api' into 'develop'
6 years ago
kaniini 182e3e8da2 Merge branch 'feature/improve-version' into 'develop'
6 years ago
kaniini a591a044a9 Merge branch 'runtime-fixes' into 'develop'
6 years ago
lain 0bea0308f1 Merge branch 'validate-user-info' of git.pleroma.social:pleroma/pleroma into validate-user-info
6 years ago
lain 0896cf4c0f Fix most mastodon api bugs.
6 years ago
Haelwenn c7d08bc1cf Merge branch 'feature/retry-queue' into 'develop'
6 years ago
William Pitcock 3456948cd1 mastodon api: fix up quite a few test failures
6 years ago
William Pitcock ef6c64a5d2 activitypub: fix restrict_blocked()
6 years ago
William Pitcock c196754b4d mastodon api: account view: fix tests
6 years ago
William Pitcock ece8656733 streamer: fix fetching the user's block list
6 years ago
William Pitcock 4ac849cb4a common api: fix moderator check when deleting posts
6 years ago
lain 6f0b9a5163 Fix Notification tests.
6 years ago
href bc5cf2c192
Improved version string
6 years ago
href 7f4c3a1e99
mediaproxy: fix empty url & add some tests
6 years ago
eal 689b46efc8 RetryQueue: tiny refractor, add tests
6 years ago
href bcecdc3ab1
Various runtime configuration fixes
6 years ago
lain fbb70d25fe Several twitter api fixes.
6 years ago
lain 40d9d2098c Fix user updating from AP.
6 years ago
lain cafa15131a Mix format.
6 years ago
lain 4c918392c6 Fix most User tests.
6 years ago
lain e7cd6e9739 Fix setting of keys.
6 years ago
eal 62299be094 Federator: add retry queue.
6 years ago
William Pitcock f6be980f4f activitypub: object view: avoid leaking private details
6 years ago
William Pitcock 98795172a7 ostatus controller: respond with AS2 objects instead of activities to notice URIs
6 years ago
William Pitcock dfcfb184b1 activitypub: transmogrifier: make deletes secure
6 years ago
Haelwenn (lanodan) Monnier 0ca00b3a07
Web.AdminAPI.AdminAPIController: Fixes bugs found with ExUnit
6 years ago
Haelwenn (lanodan) Monnier 12ccf0c4f8
Change Relay from `status` to `{status, message}`
6 years ago
Haelwenn (lanodan) Monnier 4634d99d0d
Web.Router: Change right to permission group (except for function names)
6 years ago
William Pitcock 0d1375f274 federator: return :ok or :error depending on if an AP doc was accepted or not
6 years ago
William Pitcock 3d9266a8cb federator: do origin containment when processing inbound messages
6 years ago
William Pitcock c88533209c activitypub: user fetching: use fetch_and_contain_remote_object_from_id()
6 years ago
William Pitcock daa8ec3d62 activitypub: factor out AP object fetching to it's own function and add ID-based containment
6 years ago
Haelwenn (lanodan) Monnier e0b0fde713
Web.AdminAPI.AdminAPIController: Change right to permission group (except for function names)
6 years ago
Haelwenn (lanodan) Monnier ccd6b1956d
lib/pleroma/web/admin_api/admin_api_controller.ex: Support status reply of Relay.{un,}follow
6 years ago
Haelwenn (lanodan) Monnier 265c8c5209
Pleroma.Web.ActivityPub.Relay: make {un,}follow return :ok only if it worked, :error if it didn’t
6 years ago
Haelwenn (lanodan) Monnier f9d05902fe
lib/pleroma/web/admin_api/admin_api_controller.ex: An admin cannot un-admin themselves
6 years ago
Haelwenn (lanodan) Monnier a87ed2fad6
Pleroma.Web.AdminAPI.AdminAPIController: user_create statement format
6 years ago
Haelwenn (lanodan) Monnier f48062488e
Add get endpoints for rights [AdminAPI]
6 years ago
Haelwenn (lanodan) Monnier 59ce7fedce
Fix connection returns make generic right endpoint [AdminAPI]
6 years ago
Haelwenn (lanodan) Monnier c5a2bd6a65
admin_api_controller.ex: fix remaining params at once
6 years ago
Haelwenn (lanodan) Monnier 95b107b6cc
admin_api_controller.ex: Add documentation, fix get_invite_token
6 years ago
Haelwenn (lanodan) Monnier 578a911737
admin_api_controller.ex: get_password_reset: fix params and response
6 years ago
Haelwenn (lanodan) Monnier 5732eef16b
lib/pleroma/web/admin_api/admin_api_controller.ex: Pleroma.Web.AdminAPI.Controller → Pleroma.Web.AdminAPI.AdminAPIController
6 years ago
Haelwenn (lanodan) Monnier 77d2fd54dd
admin_api_controller: Have some basic code
6 years ago
Haelwenn (lanodan) Monnier ee2e1328ad
admin_api_controller.ex: Create
6 years ago
William Pitcock 603fccf175 activitypub: fetch_object_from_id(): prefer `actor` over `attributedTo` to avoid spoofing
6 years ago
lain f87b315618 TwitterAPI: Fix dm_timeline displaying only half of the conversation.
6 years ago
lambda 2f639ea129 Merge branch 'feature/pleromafe-usersearch' into 'develop'
6 years ago
lain 27aa136aac Format.
6 years ago
lain 7b170cd616 Add Pleroma user search api for PleromaFE.
6 years ago
lambda cc45797f4e Merge branch 'fix-media-proxy-filename' into 'develop'
6 years ago
kaniini 69d557e86d Merge branch 'twitter-api-direct-messages' into 'develop'
6 years ago
href f52a1d1ec5
media_proxy: use path only to retrieve filename
6 years ago
lain ea9a776d7b TwitterApi: Add direct message endpoint
6 years ago
lain 2cf40237ff MastodonAPI: Add pagination to private messages.
6 years ago
href 9b553a1087
media_proxy: CSP, content-disposition
6 years ago
shibayashi 87c76a9a2f
Add __Host- prefix when secure flag is enabled
6 years ago
scarlett 0ce5623134 Merge branch 'twitter-api-null-display-name' into 'develop'
6 years ago
scarlett cb6fd73861 Twitter API: Fall back to user.nickname if user has no name
6 years ago
kaniini 54923c2e55 Merge branch 'feature/csp-plug' into 'develop'
6 years ago
William Pitcock fe67665e19 rename CSPPlug to HTTPSecurityPlug.
6 years ago
KokaKiwi 1592fa2bea Mastodon API: Fix list streaming
6 years ago
William Pitcock f516e317ea plugs: add CSPPlug
6 years ago
William Pitcock 419ed3a0ca oauth: fix token decode regression
6 years ago
William Pitcock 97e50f3191 activitypub: transmogrifier: sanitize internal representation details from outgoing objects
6 years ago
William Pitcock f8310114a6 activitypub: object view: sanitize both the activity and the object when an activity is given for rendering
6 years ago
kaniini c9c1f9dee2 Merge branch 'bugfix/ostatus-as2-reflection' into 'develop'
6 years ago
kaniini 7daa102fa4 Merge branch 'bugfix/local-jsonld-context' into 'develop'
6 years ago
William Pitcock 4f87b8362b endpoint: move CORSPlug in front of Plug.Static
6 years ago
William Pitcock 03a9990baf endpoint: fix formatting
6 years ago
William Pitcock e6d246882d federator: don't federate anything other than Note objects to OStatus
6 years ago
William Pitcock e4971553c7 activitypub: utils: use same object type list for mention extraction as insertion
6 years ago
William Pitcock b9871e7e5a activitypub: utils: wrap Note objects in a Create when extracting mentions
6 years ago
William Pitcock 6cadfcb21e activitypub: utils: switch to using new Notification.get_notified_from_activity().
6 years ago
William Pitcock 6b4064fa5d activitypub: transmogrifier: unify mention extraction
6 years ago
Haelwenn (lanodan) Monnier 2fab32ab61
Pleroma.Web.Endpoint: Whitelist schemas directory
6 years ago
Haelwenn (lanodan) Monnier 934125695d
Move /litepub-1.0.jsonld to /schemas/litepub-0.1.jsonld
6 years ago
William Pitcock 4e93d6ae14 common api: utils: flip to/cc for mentions
6 years ago
William Pitcock 3e33479c05 activitypub: transmogrifier: only consider `to` users as mention targets
6 years ago
Haelwenn (lanodan) Monnier abcacec97d
Pleroma.Web.ActivityPub.Utils: Use locally-served JSON-LD Litepub context instead of Github-hosted one
6 years ago
William Pitcock da16ada424 utils: use litepub @context instead of that huge mess
6 years ago
William Pitcock f733470037 user view: unify a @context entry that was missed
6 years ago
lambda 59cf7cf235 Merge branch 'small-jsonld-refactor' into 'develop'
6 years ago
lain 34bd411781 Unify json ld header handling.
6 years ago
lain 3b02fd9fb7 Small refactor.
6 years ago
kaniini 4d627a5117 Merge branch 'feature/qvitter-notifications-dismiss' into 'develop'
6 years ago
kaniini b451a92d78 Merge branch 'runtime-config' into 'develop'
6 years ago
href e42f2efae4
/api/v1/accounts/relationships Return an empty array if no id in params
6 years ago
href 9070588493
Runtime config: MRF changes
6 years ago
William Pitcock b2105a3131 twitterapi: add notification read endpoint
6 years ago
href 5bb88fd174
Runtime configuration
6 years ago
kaniini a68c18f0ad Merge branch 'unify-mastodon-oauth' into 'develop'
6 years ago
kaniini 0f3e78addb Merge branch 'runtime-router' into 'develop'
6 years ago
lain a8f1e30cb8 Formatting.
6 years ago
lain 4f640c43ed Unify Mastodon Login with OAuth login.
6 years ago
href 2bc924ba45
Get rid of Pleroma.Config in favor of Application
6 years ago
href 013f7ba8c1
Add federating plug & public tests
6 years ago
href 6fe23c5458
Runtime configured router
6 years ago
href 763fc7b44f
Runtime configured emojis
6 years ago
kaniini 007f1c73b1 Merge branch 'feature/cors-again' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 3e50bb667f
Pleroma.Web.MastodonAPI.StatusView: Content isn’t nullable
6 years ago
lain e954cfcc2c Add CORSPlug to make web-based OAuth easier.
6 years ago
lambda 4bcdbb12a4 Merge branch 'fix_hashtag_search' into 'develop'
6 years ago
Mark Felder 0cca7edbe0 Fix hashtag search
6 years ago
lain 45ebc8dd9a Check for empty string in_reply_to ids.
6 years ago
Haelwenn (lanodan) Monnier 3c7d4ff271
Pleroma.Web.TwitterAPI.ActivityView: Harden TwitterAPI against remnant of prismo
6 years ago
William Pitcock 24ba08de13 twitter api: add support for rendering Page objects
6 years ago
William Pitcock 4d8f076125 mastodon api: add support for rendering Page objects
6 years ago
William Pitcock 9f03b5c4f7 activitypub: transmogrifier: add support for Page objects
6 years ago
kaniini eba9a62024 Merge branch 'feature/relay-tests' into 'develop'
6 years ago
Haelwenn 40676d7683 Merge branch 'bugfix/prismo.news_article_url' into 'develop'
6 years ago
lain 1e9ced5af4 Test Relay, switch to runtime configuration.
6 years ago
Haelwenn (lanodan) Monnier b2da5262ea
Pleroma.Web.ActivityPub.Transmogrifier: fix_url when not a string/empty
6 years ago
Haelwenn (lanodan) Monnier 755f166406
Pleroma.Web.MastodonAPI.StatusView: Do not fail when URL isn’t a string
6 years ago
William Pitcock 10f3958468 object: return the deleted object as well
6 years ago
William Pitcock 2bf358d7b4 activitypub: use Object.delete() instead of mutating the database and cache directly
6 years ago
Haelwenn (lanodan) Monnier 558e6a84d6
[Pleroma.Web.CommonAPI]: Delete post cache entry when it’s deleted
6 years ago
William Pitcock 47f76bf4b1 common api: allow self-liking objects
6 years ago
scarlett b92e38d2d4 Add user reactivation task.
6 years ago
kaniini a880e0a527 Merge branch 'feature/upload-limits' into 'develop'
6 years ago
William Pitcock 676c97b8c7 nodeinfo: expose configured upload limits
6 years ago
William Pitcock f407831120 common api: prefer formatting attachments using the attachment's name instead of URI
6 years ago
William Pitcock 784b3a615d utils: fix another possible leak with private S3 backends using mediaproxy
6 years ago
William Pitcock 181f3bb56a mastodon api: enforce upload limits for avatars and banners
6 years ago
William Pitcock e12489e2fe twitter api: enforce upload limits for avatars, banners and backgrounds
6 years ago
William Pitcock 167d3789a5 activitypub: upload: pass through an upload limit if one is provided
6 years ago
William Pitcock 5c6ec2d9fc twitter/mastodon api: always use mediaproxy URLs in attachments
6 years ago
William Pitcock 72ea54de6e activitypub: fix possible false positives with broken thread filtering
6 years ago