Commit Graph

2133 Commits (567359790ea623949585629c41580961c59a01ff)

Author SHA1 Message Date
kaniini 114b95cee2 Merge branch 'feature/integration_tesla' into 'develop'
6 years ago
William Pitcock b57d83e3c9 MRF: simple policy: fix media removal
6 years ago
Rin Toshaka 6396f1b58f change new to gen in instance.ex . Refactor user.ex
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
Rin Toshaka 03b2d1016d F O R M A T I N G
6 years ago
Rin Toshaka 57c71f8468 Move generate_invite to user.ex
6 years ago
Rin Toshaka d924b6cd3d Refactor copypasta to a private function in instance.ex
6 years ago
Maxim Filippov ce98d5eb9b Parse user's bio on register
6 years ago
Rin Toshaka cbe22deb51 Lint fix
6 years ago
Rin Toshaka faf1f2b304 Move gen.instance to instance.ex
6 years ago
lain 8c9a4e8b40 TwitterAPI: Implement hide_network.
6 years ago
Rin Toshaka 7983b0bdfe Move unsubscribe user task to pleroma/user.ex. Delete unsubscribe_user.ex. Fix pleroma.user toggle_activated to work not only on local users.
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 e3f3d13d99 Add uuid generation extension to sample_psql.eex.
6 years ago
lain 91065e1968 Fix background updating / handling.
6 years ago
Rin Toshaka 31b3ac05ac Lint fix
6 years ago
Rin Toshaka a8ef6b1190 Add admin option to pleroma.user new. Add user existence checking to toggle_activated
6 years ago
rinpatch ae82852330 Move set_admin task to lib/mix/tasks/pleroma/user.ex
6 years ago
rinpatch 6f174cbb71 Delete reactivate user task
6 years ago
rinpatch 5f91d6b859 Fix toggle_deactivated to reactivate a deactivated user
6 years ago
rinpatch fe2759bc9f Attempt to resolve merge conflict
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 44b6200103
lib/mix/tasks/relay*: Use a with block
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 1a31d71187
lib/mix/tasks/relay_{un,}follow.ex: Use a with block
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 7fbfd2db96
lib/mix/tasks/relay_{un,}follow.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 011a2e36b1
lib/mix/tasks/make_admin.ex: New task
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 2829fa4183 sample config: chase http_security change
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 a2bf5426cb sample config: document how to make CSPPlug send STS headers (off by default to allow for SSL debugging)
6 years ago
William Pitcock f516e317ea plugs: add CSPPlug
6 years ago
William Pitcock 419ed3a0ca oauth: fix token decode regression
6 years ago
lambda f745e823f0 Merge branch 'bugfix/json-ld-object-sanitization' into 'develop'
6 years ago
William Pitcock 97e50f3191 activitypub: transmogrifier: sanitize internal representation details from outgoing objects
6 years ago
Haelwenn (lanodan) Monnier 5ecb5629f6
lib/mix/tasks: s/@doc/@moduledoc/
6 years ago
Haelwenn (lanodan) Monnier 5e3207045e
lib/mix/tasks/unsubscribe_user.ex: Fix syntax from bad line copy
6 years ago
Haelwenn (lanodan) Monnier 64c0289893
lib/mix/tasks: Add remaining documentation for mix tasks
6 years ago
Haelwenn (lanodan) Monnier 8b2541e4e7
Document the mix tasks in ex_doc instead
6 years ago
Haelwenn (lanodan) Monnier e1814bb322
Document mix tasks
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