Commit Graph

2572 Commits (90facd359813197060f6c33f2389fce772550fc3)

Author SHA1 Message Date
Ivan Tashkinov 7bd49a3222 [#483] User.get_by_nickname/1: ensured case-insensitive matching for local FQN. Added tests.
6 years ago
Ivan Tashkinov b3574dccbb [#483] User.get_by_nickname/1: allowed retrieving user by fully-qualified local nickname
6 years ago
Ivan Tashkinov 67b4297f4d [#483] Refactored blocks and follows import, added tests.
6 years ago
kaniini 49cf5f9ce0 Merge branch '471_invalid_accounts_rendering' into 'develop'
6 years ago
Ivan Tashkinov 700661b761 [#483] Blocked users list import (TwitterAPI).
6 years ago
Ivan Tashkinov 0a41786624 [#467] Refactored valid / invalid user rendering.
6 years ago
kaniini 68f483ef4c Merge branch 'fix/no-attachment-links' into 'develop'
6 years ago
Ivan Tashkinov 6e9a15b181 [#483] Blocked users export for TwitterAPI.
6 years ago
Haelwenn (lanodan) Monnier b43d630f30
Web.TwitterAPI.UserView: Add rights.admin
6 years ago
Ivan Tashkinov 0d1788ce44 [#471] Factored out User.visible_for?/2.
6 years ago
Vyr Cossont d8cc96cb1f Fix Twitter timelines for private instances
6 years ago
kaniini bee6acd51d Merge branch 'feature/create-tombstone-instead-of-delete' into 'develop'
6 years ago
kaniini cff0292d4b Merge branch 'reserve-user-names' into 'develop'
6 years ago
Ivan Tashkinov e6aeb1d4a5 [#471] Prevented rendering of inactive local accounts.
6 years ago
Maxim Filippov be70272ab0 Treat only true and "true" as true
6 years ago
vaartis 708a228919 Set ttl_interval to the seconds_valid time
6 years ago
Vyr Cossont e4562105e7 Implement exclude_reblogs and include_rts
6 years ago
Maxim Filippov 838c024231 Treat any present value in "no_attachment_links" as true
6 years ago
Ekaterina Vaartis 448af3601a Up captcha timer to 60 secs again, save used captchas in cachex
6 years ago
lain 551d80cc01 Expose restricted names in nodeinfo.
6 years ago
lain 5811e65e67 Add some hard limits on inserted activities.
6 years ago
lain 91724d160a Reserve a few user names
6 years ago
Maxim Filippov ca2e9ce9cc Revert unneeded changes
6 years ago
Maxim Filippov f75f707f6c Revert Activity tombstones, add ObjectTombstone struct
6 years ago
Maxim Filippov 2bbec33c71 Fix failing tests
6 years ago
Maxim Filippov 18a4cbb244 Capitalize "tombstone"
6 years ago
Maxim Filippov 0f412cf6e6 Create tombstone instead of object deletion
6 years ago
William Pitcock 2791ce9a1f add license boilerplate to pleroma core
6 years ago
lambda 005b4194ff Merge branch 'bugfix/trans_fix_url_videos' into 'develop'
6 years ago
William Pitcock 34a4ed22c4 twitter api: add "Video" to supported activity types list
6 years ago
William Pitcock 79b51a97fe twitter api: activity representer: remove peertube hack
6 years ago
William Pitcock 32dfc1d12a mastodon api: status view: remove obsolete peertube hack
6 years ago
William Pitcock 71f6d9f418 transmogrifier: significantly rework handling of peertube videos, add test
6 years ago
lambda a3e33fa177 Merge branch 'hotfix/activity-without-content' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 3aff8067e4 transmogrifier: When it’s a Video move "url" to "attachment"
6 years ago
Karen Konou a7f07bb6e5 Implement kaniini's tweaks
6 years ago
Karen Konou c76179419d Renamed the things
6 years ago
Karen Konou 409ff60bf8 Fix formatting
6 years ago
Karen Konou 92362e1e22 Implement large thread filter
6 years ago
Ekaterina Vaartis b386e560ba Move the encryption out of kocaptcha into general captcha module
6 years ago
Ekaterina Vaartis 336e37d98f Make captcha (kocaptcha) stateless
6 years ago
kaniini 2e2030ada8 Merge branch '114_email_confirmation' into 'develop'
6 years ago
Ivan Tashkinov 7cab7de9ff [#114] Allowed unconfirmed users to authenticate if :account_activation_required is disabled prior to confirmation.
6 years ago
Ivan Tashkinov f69cbf4755 [#114] Added :user_id component to email confirmation path to improve the security.
6 years ago
Ivan Tashkinov 8adcd1e80f [#114] Removed flash messages rendering on redirects.
6 years ago
Ivan Tashkinov 501ce34d7f [#114] Stylistic adjustments.
6 years ago
Maksim f1b93b5be7 [#413] fix parse mentions
6 years ago
kaniini fda148a9a2 Merge branch 'documentation/copy-pleroma-api' into 'develop'
6 years ago
raeno 652f49d176 Remove extra bracket
6 years ago
raeno 7fb3780431 Merge branch 'develop' into oembed_provider
6 years ago
Ivan Tashkinov b520d44b58 [#114] `mix format`
6 years ago
Ivan Tashkinov 279096228c [#114] Made MastodonAPI and TwitterAPI user show actions return 404 for auth-inactive users
6 years ago
Ivan Tashkinov a532ad5d72 [#114] User.register/1 tweak.
6 years ago
Ivan Tashkinov 968d7490b6 [#114] User.Info: renamed `confirmation_update` to `confirmation_changeset`.
6 years ago
Ivan Tashkinov 59fc5d15df [#114] User.Info: renamed `confirmation_update` to `confirmation_change`.
6 years ago
kaniini f98ee9402f Merge branch 'userless-admin' into 'develop'
6 years ago
lain f3eb414e28 Add a way to use the admin api without a user.
6 years ago
rinpatch ef318fb8a9 Merge branch 'develop' into fix/formatter-ignore-html-chars
6 years ago
rinpatch 059dd6f681 Ignore HTML characters in formatter.ex
6 years ago
Haelwenn (lanodan) Monnier a6dfe1fc6b
Documentation: Move generated files to priv/static/doc, add it to endpoint.ex
6 years ago
href f58f20abbb
Twitter ActivityView: fix crash when activity content is nil
6 years ago
Ivan Tashkinov 3371a45884 [#114] Formatting fix.
6 years ago
Ivan Tashkinov b096e30cff [#114] Added email confirmation resend action. Added tests
6 years ago
Ivan Tashkinov aed0f90287 [#114] Added `pleroma.confirmation_pending` to user views, adjusted view tests.
6 years ago
Ivan Tashkinov b86057cc7f [#114] Refactored User.register_changeset to init confirmation data.
6 years ago
Ivan Tashkinov 1de0aa2f10 [#114] Account confirmation email, registration as unconfirmed (config-based), auth prevention for unconfirmed.
6 years ago
Ivan Tashkinov a05cb10a95 [#114] Email confirmation route, action, node setting, User.Info fields.
6 years ago
raeno a300336459 Merge branch 'develop' into oembed_provider
6 years ago
href b1860fe85a
Instance/Static runtime plug
6 years ago
lambda 3d980daa49 Merge branch '459_fix_user_profile_crash' into 'develop'
6 years ago
Maksim Pechnikov 92a5133c42 fix text field
6 years ago
lambda 52ac7dce5c Merge branch 'captcha' into 'develop'
6 years ago
lambda c6d5f189d9 Merge branch 'fix-tags' into 'develop'
6 years ago
lambda 078b8b6d22 Merge branch 'phoenix14' into 'develop'
6 years ago
lain e4763cd459 Fix tagging problems for existing instances.
6 years ago
vaartis 35522fef09 Use :ets.match_delete to delete old captchas
6 years ago
href 77b5154c82
Cowboy handler for Mastodon WebSocket
6 years ago
raeno cc87880488 Support both OAuth token record and token string in UserView
6 years ago
lambda 567359790e Merge branch 'testfix/webfinger-jrd' into 'develop'
6 years ago
Ekaterina Vaartis ef6829382a Clean captchas up periodically, not schedule it after theyre created
6 years ago
Ekaterina Vaartis 3a31fdaf06 Change minutes_retained config to seconds_retained
6 years ago
Ekaterina Vaartis 6062885df6 Add a configurable auto-cleanup for captchas
6 years ago
href 5dcb7aecea
More put_view.
6 years ago
href f672555ad3
Upgrade to Phoenix 1.4
6 years ago
eal 28478a9c4f Merge branch 'fix/masto-put-settings' into 'develop'
6 years ago
eal 4c783e35c0 Mastodon API: Fix PUT /api/web/settings
6 years ago
Ekaterina Vaartis 8d55a549e6 Replace HTTPoison with Tesla for kocaptha
6 years ago
Ekaterina Vaartis 23549d3952 Formatting fixes
6 years ago
Ekaterina Vaartis b5518da904 Separate captcha implementation into a behaviour and use it
6 years ago
Haelwenn (lanodan) Monnier cddab5700b
WebFinger: Sends a 400 when resource param is missing, fix XRD typo in test
6 years ago
lambda cc6689cc20 Merge branch 'fix/views-ignore-unhandled-activites' into 'develop'
6 years ago
Ekaterina Vaartis 28c43a417e Add an ability to disabled captcha
6 years ago
Ekaterina Vaartis a2399c1c7c Add base CAPTCHA support (currently only kocaptcha)
6 years ago
href e74f384b68 Merge branch 'fix/issue_433' into 'develop'
6 years ago
href bfe27c1b55 Merge branch '114_email_invites' into 'develop'
6 years ago
href acec11626d Merge branch 'fix/issue_272' into 'develop'
6 years ago
Maksim Pechnikov ea72ac549b fix case when tags is invalid
6 years ago
raeno b0c3211984 Scrub html from activity.content or user.bio for opengraph meta
6 years ago
raeno 90b00701ff Merge branch 'develop' into oembed_provider
6 years ago
Maksim Pechnikov d3ec09bb38 fix tags
6 years ago
raeno 46486595ff Handle "users/:id" links as well. Fix comments in MR.
6 years ago
href 980131b4db Merge branch 'pleroma-feature/compat/push-subscriptions' into 'develop'
6 years ago
Maksim Pechnikov bc6262d250 fixed typo
6 years ago
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 07e93f9940 [#114] Improved tests.
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
raeno c5c3ad90d0 Fix tests. Remove oembed template
6 years ago
raeno b5de7c4c4d Remove oembed for now, will submit it in another MR. Fix warnings
6 years ago
raeno 018516d3f3 Refactor ostatus_controller, extract metatags redirection to Redirector itself. Set 'html' as default type for ostatus links
6 years ago
raeno 9b3a6cdb07 Extract opengraph/oembed into separate module
6 years ago
raeno d903e34cac Add opengraph/twitter_card:summary support. Add config to toggle on/off specific metadata
6 years ago
raeno 8902942128 WIP. Implement oembed route and handle both json/xml for "Note" type activity
6 years ago
raeno 21afdf6d99 Insert meta tags into static index.html on the fly for OStatus#notice
6 years ago
Ivan Tashkinov 9e689de063 [#114] Removed `email_invite` implementation (to be addressed separately).
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
href 7214d57463
Extended nicknames: allow dashes.
6 years ago
href 7d9ddbe689
Allow underscores in usernames.
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
Ivan Tashkinov 10c156d98f [#114] SMTP deps and config.
6 years ago
Maksim Pechnikov 89b3729afa fix warnings
6 years ago
scarlett 213176c3c3 Add new frontend options to server-side config.
6 years ago
lain d6bf06ab4f Fix warnings.
6 years ago
lambda 0863ec2737 Merge branch 'fix_empty_bio_crash' into 'develop'
6 years ago
lambda ff10b9927b Merge branch 'support/bugfix_272' into 'develop'
6 years ago
lambda 6786ad3d98 Merge branch 'fix/theora-detection-read-bytes' into 'develop'
6 years ago
lambda 0554d91dcd Merge branch 'anonymize-filter-text' into 'develop'
6 years ago
lain c81c74d847 Treat warnings as errors outside of tests.
6 years ago
Maksim Pechnikov e94c3442f4 updates
6 years ago
raeno 9ba4a1c5fe Fixes #415. Properly handle nil and empty string by User.parse_bio
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 7d86c0c53f Merge branch 'fix/gopher-respect-ip' into 'develop'
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
Rin Toshaka 09f20de0d7 Make gopher respect ip
6 years ago
href 3b27f61ffa
AnonymizeFilename: allow for a pre-defined text instead of random string
6 years ago
href 3c925e9d88
Emojis: Alphabetical ordering
6 years ago
Ivan Tashkinov 1cea97df64 [#394] Refactoring of User.tag and User.untag (removed User.tag_or_untag etc.)
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
kaniini 48a0315646 Merge branch 'follower-hiding' into 'develop'
6 years ago
Vald 194869c7db added data attrs to twitter scrubber
6 years ago
lain 7d5720f2e4 Fix merge.
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
Vald 3ccfe226c0 added data attrs for user and tag
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
Maksim Pechnikov c524c50509 fix/273
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
William Pitcock 956f3c75ca user: put default user info when registering a user
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 50e72f6c48 remove httpoison_mock
6 years ago
Maksim Pechnikov dd8aee332c formatting the code
6 years ago
Maksim Pechnikov a9e4a97586 update test
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 ec34de0c1f WebSub fix test
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
rinpatch 343b0adfa6 Merge branch 'develop' into fix/theora-detection-read-bytes
6 years ago
rinpatch a3953ca37a Change @read_bytes to 35
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 91065e1968 Fix background updating / handling.
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 e9982c521b
Upload filter: anonymize filename
6 years ago
kaniini ca24ad2a2b Merge branch 'feature/reverse-proxy' into 'develop'
6 years ago
href 8e0e20631c
Reverse proxy: default max read duration at 30 secs.
6 years ago
lambda e99bab8f27 Merge branch 'config-delete' into 'develop'
6 years ago
href 1d94c8f0f0
Fix supervisor order
6 years ago
href 253da275bd
Pleroma.Config.delete/1
6 years ago
href 7282937f33
MIME: video/audio ogg detection
6 years ago
href 680716b3c9
Config docs
6 years ago
href 65e7307d68
Upload: bring back base_url
6 years ago
href 5d92431350
Fix deprecation warnings
6 years ago
href 02d3dc6869
Uploads fun, part. 2
6 years ago
href 97b00d366f
reverse_proxy: more headers
6 years ago
href a2640c8088
Parse correctly content-type & do not forward content-length
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 e002858071 Fix ostatus test.
6 years ago
lain 3c61df6b9e Webfinger fixes.
6 years ago
lain badbe2656c More fixes.
6 years ago
kaniini b9bc83097d Merge branch 'ogg-theora-detection' into 'develop'
6 years ago
lain ec464ef20a HTTP sig fixes.
6 years ago
rinpatch 0d229613df Fix lint error
6 years ago
rinpatch 7f20a3cf1f Add Theora detection to upload.ex
6 years ago
Haelwenn 5ae6088d37 Merge branch 'feature/mrf-user-allowlist' into 'develop'
6 years ago
kaniini a76058fc1d Merge branch 'fix/pleromafe-title' 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 04daa0fa44
Plugs.HTTPSecurityPlug: Activate upgrade-insecure-requests only when there is https
6 years ago
shibayashi 591b11eafc
Add manifest-src to allow manifest.json
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 d3180e0ccc Raise on usage of old function.
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 3356c7d1e9 oauth plug: fix deactivated check
6 years ago
William Pitcock 4ac849cb4a common api: fix moderator check when deleting posts
6 years ago
William Pitcock 312676f711 user: fix user.info lookup in User.locked?()
6 years ago
lain 6f0b9a5163 Fix Notification tests.
6 years ago
lain 2887f4ff1d Fix formatter 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
lain fc3bcf335e Fix following locked users.
6 years ago
lain d5af41b577 Fix note count update.
6 years ago
lain 6f90ceb2ed Fix follower count test.
6 years ago
lain 812f5b058a Fix blocking.
6 years ago
lain 756764266c Formatting.
6 years ago
lain b396dba425 Fix follower count setting.
6 years ago
lain 5c8f07f0a8 Fix note counting.
6 years ago
lain 47d883d3ab Fix User deactivation.
6 years ago
lain 50585d051b Add User.Info module
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 4a79b89dba
lib/pleroma/plugs/user_is_admin_plug.ex: change 403 string to “User is not admin.”
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 c8b8f1d32c
[Pleroma.Plugs.UserIsAdminPlug]: Check if admin is true instead of false, fix error reporting
6 years ago
Haelwenn (lanodan) Monnier 7076d45cb6
lib/pleroma/plugs/user_is_admin_plug.ex: Create
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
kaniini 05967472f2 Merge branch 'feature/uploader-mdii' into 'develop'
6 years ago
hakabahitoyo 59e079f641 fallbacking into local uploader
6 years ago
hakabahitoyo 8fd0556c78 better config reading
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
William Pitcock c07464607d http security: remove form-action from CSP definitions
6 years ago
lain e8d8c84f79 Add better test for user search functionlity.
6 years ago
hakabahitoyo 55abd8482e better config
6 years ago
hakabahitoyo 52224de39f better extension detection
6 years ago
hakabahitoyo 4fbfacf5e1 debug
6 years ago
hakabahitoyo 8e707aba29 format
6 years ago
Hakaba Hitoyo ebe658c169 debuf
6 years ago
Hakaba Hitoyo 698cb3587c omplement mdii uploader
6 years ago
Hakaba Hitoyo 58af0787be add mdii uploader
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 ee5932a504 http security: allow referrer-policy to be configured
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 df72978dce csp plug: add support for certificate transparency
6 years ago
William Pitcock 331cf6ada1 csp plug: add sts support
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 b3c360ce2c notification: add fallback get_notified_from_activity()
6 years ago
William Pitcock b9871e7e5a activitypub: utils: wrap Note objects in a Create when extracting mentions
6 years ago
William Pitcock 8c805ada32 user: remove obsolete User.get_notified_from_activity().
6 years ago
William Pitcock 6cadfcb21e activitypub: utils: switch to using new Notification.get_notified_from_activity().
6 years ago
William Pitcock cdfdd77e30 notification: implement new Notification.get_notified_from_activity()
6 years ago
William Pitcock d26cd6c1bf user: factor out user set fetching from User.get_notified_from_activity()
6 years ago
William Pitcock 81d6ca1783 user: implement AS2 mention extraction + unify Announce handling
6 years ago
William Pitcock 6b4064fa5d activitypub: transmogrifier: unify mention extraction
6 years ago
William Pitcock 0a2c1a3419 user: add optional local_only param to get_notified_from_activity()
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
William Pitcock 144dc048b8 user: only consider `to` recipients 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
William Pitcock f16c2e0b1b notification: add Notification.set_read_up_to()
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
href 7d328c658d
Small wrapper module around Application.get_env/put_env
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 83911b1443
Fix wrong return when finmoji is disabled
6 years ago
href fd0e7d18d9
handle_continue is OTP21+
6 years ago
href 6fe23c5458
Runtime configured router
6 years ago
href d096bc17bf
revert endpoint position in supervision tree
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
Lee Starnes 585b29337c Ensure filters have a filter_id
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
lain e6ec01afb6 Start configuration manager.
6 years ago
lain 9b77030d3c Add basic configuration management module.
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 2b3a40d038 object: split object_cache from user_cache
6 years ago
William Pitcock f584a603f9 user: make User.delete() return data consistent with Object.delete()
6 years ago
William Pitcock 2c3bfd7f76 user: delete user_info data in User.invalidate_cache()
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
William Pitcock c4e43da63e object: add safe object deletion function
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
kaniini 5fea3d9eca Merge branch 'allow-abbr' into 'develop'
6 years ago
scarlett 795634c90f Allow use of the `abbr` HTML tag.
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 36825932eb s3 uploader: add new feature to force public attachment URIs to go through media proxy
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 fa483cd7c2 upload: add new optional argument designating an upload size limit
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
kaniini 44762daf51 Merge branch 'feature/broken-thread-filtering' into 'develop'
6 years ago
William Pitcock c302c619b9 http: fix mediaproxy
6 years ago
William Pitcock 26eb11c172 activitypub: add support for filtering broken threads out of timelines
6 years ago
William Pitcock 7338368ad9 http: enable keepalive / connection pooling (closes #336)
6 years ago
William Pitcock f6cb963df2 activitypub utils: fix recipient check when the message is unaddressed (mastodon)
6 years ago
Haelwenn (lanodan) Monnier 7906dfe5a0
[Pleroma.Web.Nodeinfo.NodeinfoController]: Simplify features strings
6 years ago
Haelwenn (lanodan) Monnier 57330dd91b
[Pleroma.Web.Nodeinfo.NodeinfoController]: Have a list of supported features
6 years ago
kaniini 9fe9c09883 Merge branch 'finmoji-optional' into 'develop'
6 years ago
scarlett ae5beb7b64 Make finmoji optional
6 years ago
William Pitcock ce70eb8c00 activitypub utils: fix user splicing
6 years ago
William Pitcock 2f1f1a4f30 activitypub: splice users into recipient lists when they receive messages at their personal inbox
6 years ago
kaniini 9e9b1bd5ea Merge branch 'bugfix/ap-uri-user-search' into 'develop'
6 years ago
Haelwenn 79b1e4465f Merge branch 'bugfix/233-handle-missing-StatusView' into 'develop'
6 years ago
William Pitcock 5383887bd4 transmogrifier: do not try to contain origin of something which doesn't have one
6 years ago
Haelwenn (lanodan) Monnier b386888a0e
[Pleroma.Web.MastodonAPI.MastodonAPIController]: fallback for try_render/4
6 years ago
William Pitcock 1ed25c963a twitterapi: activity view: add the other in_reply_to fields
6 years ago
William Pitcock 1b480e3514 user: add helper for fetching profile url (which may be different than ap id)
6 years ago
Haelwenn (lanodan) Monnier b112112c11
[Pleroma.Web.MastodonAPI.MastodonAPIController]: Wrap around render/4
6 years ago
Haelwenn (lanodan) Monnier b0a940d5a2
[Pleroma.Web.MastodonAPI.StatusView]: Remove unused arguments
6 years ago
Haelwenn (lanodan) Monnier 2da0ffeb28
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex: Output an error when render(status.json) gives a nil
6 years ago
Haelwenn (lanodan) Monnier 0c10be8731
[Pleroma.Web.MastodonAPI.StatusView]: Remove nils from lists.json
6 years ago
Haelwenn (lanodan) Monnier 3b0e9287a5
[Pleroma.Web.MastodonAPI.StatusView]: Return nil as fallback for missing views
6 years ago
William Pitcock fee43ae5e7 twitterapi: activity view: implement in_reply_to_screen_name using the new graph walking helper
6 years ago
William Pitcock f3f736afc4 activity: add helper to fetch an activity's parent
6 years ago
kaniini 945ce9910d Merge branch 'bugfix/html-scrub-comments' into 'develop'
6 years ago
William Pitcock 8613db0e3b html: ensure comments are correctly scrubbed
6 years ago
scarlett a253c1466e New frontend options
6 years ago
AkiraFukushima a249cbf187 Add a test for List.get_lists_account_belongs
6 years ago
AkiraFukushima e8c698af41 Add an endpoint /api/v1/accounts/:id/lists to get lists to which account belongs
6 years ago
kaniini ad3181895c Merge branch 'bugfix/html-scrub-schemes' into 'develop'
6 years ago
William Pitcock 595d855f0e html scrubbing policies: restrict img tags to http/https only for mediaproxy compatibility
6 years ago
Haelwenn (lanodan) Monnier 2154c5dcd8
lib/pleroma/html.ex: Use macros for valid_schemes, change config for schemes
6 years ago
William Pitcock 582dbe5c8d formatter: fix matching osada users
6 years ago
scarlett 7562912f6a Use maybe_direct_follow for follow imports
6 years ago
Haelwenn (lanodan) Monnier d7654c77de
lib/pleroma/html.ex: Use a function as a variable (broken for some reason)
6 years ago
Haelwenn (lanodan) Monnier 50e0a9ae56
lib/pleroma/html.ex: Fix scheme lists
6 years ago
William Pitcock 30efa86c05 common api: enable tag linking in markdown mode
6 years ago
Haelwenn (lanodan) Monnier eacab0fb05
Delete Tokens and Authorizations on password change
6 years ago
William Pitcock 51eaece3ea user: break out local cases for maybe_direct_follow
6 years ago