Commit Graph

2986 Commits (67ff8d9311d453220af1b84385281a077a3cb20e)

Author SHA1 Message Date
Ivan Tashkinov 4ad843fb9d [#468] Prototype of OAuth2 scopes support. TwitterAPI scope restrictions.
6 years ago
Haelwenn (lanodan) Monnier 381fe44172
HTML.Scrubber.Default: Consistency
6 years ago
Haelwenn (lanodan) Monnier 2272934a5e
Stash
6 years ago
Haelwenn (lanodan) Monnier d2e4eb7c74
Web.ActivityPub.ActivityPub: assign the Enum.filter to recipients & simplify it
6 years ago
Haelwenn (lanodan) Monnier bd9b5fffbc
Mix.Tasks.Pleroma.Uploads: Fix typo in documentation
6 years ago
Haelwenn (lanodan) Monnier 473095faf2
Web.Federator: Fix unused variable
6 years ago
Haelwenn (lanodan) Monnier 60ea29dfe6
Credo fixes: alias grouping/ordering
6 years ago
Haelwenn (lanodan) Monnier 106f4e7a0f
Credo fixes: parameter consistency
6 years ago
Haelwenn (lanodan) Monnier 8bcfac93a8
Make credo happy
6 years ago
lain 563f04e81b Do autofollow first.
6 years ago
lain bbd0049fae Respect blocks in mass follow.
6 years ago
lambda 1eecbc1cd1 Merge branch 'feature/keyword-policy' into 'develop'
6 years ago
Karen Konou 7e47a810a2 help i am not good with git
6 years ago
Karen Konou 5c5b228f21 Added thread unmuting (still a bit buggy maybe)
6 years ago
Karen Konou a44e532fb1 Added thread unmuting (still a bit buggy maybe)
6 years ago
rinpatch 7356659273 wow
6 years ago
Karen Konou 98ec578f4d Merge branch 'develop' into feature/thread-muting
6 years ago
rinpatch f88dec8b33 What idiot did that? (me)
6 years ago
rinpatch 6c21f5aa16 Merge branch 'develop' into feature/keyword-policy
6 years ago
rinpatch 8a0b755c19 rename ftl_removal to federated_timeline_removal to keep consistent naming with SimplePolicy
6 years ago
rinpatch 2174f6eb4f Add default config for keyword policy
6 years ago
rinpatch 46aa8c18a2 Add keyword policy
6 years ago
Karen Konou c43f414a79 Somehow fixed the repo insert [skip-ci]
6 years ago
Karen Konou 7e3ec93ed0 made a silly oopsie
6 years ago
Karen Konou 77448de492 ugghhhh
6 years ago
Ivan Tashkinov 2c68cf7e9e OAuth2 security fixes: redirect URI validation, "Mastodon-Local" security breach fix.
6 years ago
Karen Konou f4ff4ffba2 Migration and some boilerplate stuff
6 years ago
Mark Felder 74518d0b60 hide_followings was renamed to hide_followers in the FE, but never synced up in the BE
6 years ago
Haelwenn 1220a17146 Merge branch 'bugfix/rich-media-card' into 'develop'
6 years ago
kaniini 18e783bcb2 Merge branch 'add-admin-and-moderator-fields' into 'develop'
6 years ago
William Pitcock 65a4b9fbea mastodon api: rich media: don't clobber %URI struct with a string
6 years ago
rinpatch f7aedbcc55 Merge branch 'fix/activitypub-user-view-badmap' into 'develop'
6 years ago
href f753043ce0
Fix if clause in activity_pub user_view
6 years ago
Egor Kislitsyn 6f05f448f8 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
eugenijm 035eaeb9b8 Allow to configure visibility for admin and moderator badges
6 years ago
eugenijm 398c81f9c8 Add is_admin and is_moderator boolean fields to the user view
6 years ago
William Pitcock d83dbd9070 rich media: parser: reject any data which cannot be explicitly encoded into JSON
6 years ago
kaniini d120aa63f0 Merge branch 'fix-dm-index' into 'develop'
6 years ago
kaniini 681ba1e52f Merge branch 'feature/ap-c2s-whoami' into 'develop'
6 years ago
kaniini eb2b1960e0 Merge branch 'feature/split-hide-network-v2' into 'develop'
6 years ago
kaniini ecdb0b7f57 Merge branch 'bugfix/rich-media-image-nil' into 'develop'
6 years ago
William Pitcock 1d94b67e40 mastodon api: fix rendering of cards without image URLs (closes #597)
6 years ago
lambda f8b831ecfd Merge branch 'bugfix/transmogrifier-bare-tags' into 'develop'
6 years ago
William Pitcock a2bb5d890d html: don't attempt to parse nil content
6 years ago
William Pitcock e71ab5a10f activitypub: transmogrifier: fix bare tags
6 years ago
William Pitcock db1165f70f activitypub: c2s: add /api/ap/whoami endpoint for andstatus
6 years ago
lain f3c8b02d65 Massage index until it actually does the stuff we want.
6 years ago
Haelwenn 03991e7bc5 Merge branch 'feature/mrf-tag' into 'develop'
6 years ago
William Pitcock 7d110be119 activitypub: mrf: tag policy: fix force-unlisted and sandbox actions
6 years ago
William Pitcock 64a3993425 activitypub: mrf: tag policy: add support for subscription control
6 years ago
Egor Kislitsyn 14d967f515 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
rinpatch 3ae11835a9 Merge branch 'hotfix/hellthread-deprecation-warning' into 'develop'
6 years ago
Karen Konou 4031c94a59 fix hellthread threshold deprecation warning
6 years ago
William Pitcock ff2c28fd6d activitypub: mrf: tag policy: refactor the filtering hook a bit
6 years ago
William Pitcock 9a69f08e86 activitypub: mrf: tag policy: add support for processing follow requests
6 years ago
William Pitcock 084bb8ccd5 activitypub: mrf: tag policy: implement force-unlisted and sandbox
6 years ago
William Pitcock 88e32a32ce mrf: add initial MRF.TagPolicy engine
6 years ago
William Pitcock 93e136d70b mix: add user tag/untag task
6 years ago
kaniini 25a659d2dc Merge branch 'mime-riff' into 'develop'
6 years ago
href 127f99ae18
Mime: detect RIFF formats (wave, webp, avi)
6 years ago
rinpatch 00835bf678 Merge branch 'fix/rich-media-relative-path' into 'develop'
6 years ago
Egor Kislitsyn 3a3a3996b7 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
6 years ago
rinpatch 89762ad230 Merge branch 'feature/hellthread-filter-improvements' into 'develop'
6 years ago
Karen Konou 58262a8b8a removed a debug thingy
6 years ago
Karen Konou 4430641349 squished a bug
6 years ago
Karen Konou 3cf046babb actually commited the changes
6 years ago
Karen Konou 63a4f4b7be fixed Map,put arguments, updated nomenclature
6 years ago
Karen Konou 583c4e0f17 more tweaks, fixed silly mistakes...
6 years ago
Karen Konou e10cda7541 implemented tweaks
6 years ago
kaniini c57f37bd36 Merge branch 'mogrify-orient' into 'develop'
6 years ago
Karen Konou 531507a635 fixed things
6 years ago
Karen Konou 10130fa7d6 made toggleable, added docs
6 years ago
Karen Konou 0ef0ae35ab added optional delist feature
6 years ago
Maxim Filippov 16ce129e38 Split hide_network into hide_followers & hide_followings (fixed)
6 years ago
lambda 69a38644bc Merge branch '589-fix-cache' into 'develop'
6 years ago
lain 505a084058 Still do caching in tests.
6 years ago
Mark Felder 0c08bd4181 Update Mogrify docs and warning for deprecated syntax to encourage
6 years ago
Ivan Tashkinov 3913b0196e [#582] Made single-pub task call Instance.set_reachable/1 if `set_reachable` is not specified.
6 years ago
Ivan Tashkinov b40b4bc4e5 [#582] Optimized federation retirement by reducing the number of SQL calls
6 years ago
Maxim Filippov 2c59eb3cfc Add responsive features to layout
6 years ago
rinpatch 68d461b3a9 Check if rich media uri is relative
6 years ago
rinpatch 833404f0f5 Use with instead of if in the card
6 years ago
rinpatch e4d18f328b merge only if page_url is an absolute path
6 years ago
rinpatch cbadf9d333 Fix rich media relative path
6 years ago
kaniini 486749064f Revert "Merge branch 'feature/split-hide-network' into 'develop'"
6 years ago
href 28bfb09b01 Merge branch 'hotfix/object-normalize-cache' into 'develop'
6 years ago
href ffbf306c9a Merge branch 'streaming-api-url-fix' into 'develop'
6 years ago
William Pitcock af10ef8d4e object: use cached accesses when possible in Object.normalize()
6 years ago
eugenijm a184811a60 Use url() instead of static_url in Endpoint.websocket_url()
6 years ago
href 7e384a2425 Merge branch 'develop' into 'develop'
6 years ago
Luna 9cac8729af update nodeinfo version when requesting 2.1
6 years ago
eugenijm d747bd9870 Use String.replace_leading instead of String.replace for getting websocket streaming api url.
6 years ago
Luna 1cdcee89da mix format pass
6 years ago
Luna 23b1c64a19 downcase software name in nodeinfo
6 years ago
Luna b17ce875cf keep compatibility with nodeinfo 2.0
6 years ago
Haelwenn (lanodan) Monnier 74c6119f28
MastodonAPI.MastodonAPIController: Return a 404 when we fail to get a list
6 years ago
Luna cd6db6abe4 use Mix.Project.Config for some Application functions
6 years ago
kaniini 0a82a7e6d6 Merge branch 'feature/split-hide-network' into 'develop'
6 years ago
lambda fc7644798d Merge branch 'serve-sw-pleroma.js' into 'develop'
6 years ago
href fa5ec765d9
Serve sw-pleroma.js properly
6 years ago
lain 01d483f9c7 Merge remote-tracking branch 'origin/develop' into fix-rich-media-toggle
6 years ago
href b3b0855456 Merge branch '534_federation_targets_reachability' into 'develop'
6 years ago
Luna b0c4c082c4 mix format pass
6 years ago
Luna c05928dbda use nodeinfo 2.1, add repository field
6 years ago
lain b19b4f8537 Remove default value for rich media.
6 years ago
href 308b35ebe2
User.follow_all: ensure its stays unique
6 years ago
lambda 44913c1019 Merge branch 'bugfix/rich-media-non-unicode' into 'develop'
6 years ago
William Pitcock 46dba03098 rich media: parser: only try to validate strings, not numbers (OEmbed)
6 years ago
William Pitcock dafb6f0b5e rich media: parser: reject OGP fields we cannot safely process
6 years ago
rinpatch 7057891db6 Make rich media support toggleable
6 years ago
lambda a43a1c6d4e Revert "Merge branch 'spc-fix-3' into 'develop'"
6 years ago
kaniini 4d3655c479 Merge branch 'spc-fix-3' into 'develop'
6 years ago
Haelwenn 00d4333373 Merge branch 'features/glitch-soc-frontend' into 'develop'
6 years ago
Egor Kislitsyn 58e250d9d2 fix merge
6 years ago
Egor Kislitsyn d3677d2b4d Merge remote-tracking branch 'MAIN/develop' into feature/jobs
6 years ago
lambda 6b54a3ec0b Merge branch 'multiple-hackney-pools' into 'develop'
6 years ago
href 5ea0397e2d
Fix 4aff4efa typos
6 years ago
kaniini bd5086731e Merge branch 'multiple-hackney-pools' into 'develop'
6 years ago
lain 47ec690c54 Use race-condition free mass follow.
6 years ago
lain 935e65e261 Use race-condition free following method.
6 years ago
Egor Kislitsyn ab31adf15b tiny improve
6 years ago
href 4aff4efa8d
Use multiple hackney pools
6 years ago
kaniini 7a2c4f984b Merge branch 'bugfix/fix-rejects' into 'develop'
6 years ago
kaniini d03a116654 Merge branch 'hj-happiness-improvement' into 'develop'
6 years ago
William Pitcock 57549f6043 activitypub: utils: update the state of *any* pending follow relationship that matches the actor and target
6 years ago
William Pitcock cbb2b709de activitypub: transmogrifier: fix follow request rejections
6 years ago
Ivan Tashkinov 92753b0cd9 [#534] Made federation push sender be determined basing on content instead of `referer` header. Updated tests.
6 years ago
Haelwenn ebb3496386 Merge branch 'feature/rich-media-part-2-electric-boogaloo' into 'develop'
6 years ago
William Pitcock 61d6715714 rich media: oembed: return data in the same format as the other parsers
6 years ago
William Pitcock ddb5545202 rich media: kill some testsuite noise
6 years ago
William Pitcock 0f11254a06 rich media: parser: add some basic sanity checks on the returned data with pattern matching
6 years ago
William Pitcock 83b7062634 rich media: parser: cache negatives
6 years ago
William Pitcock 8fb16e9f0f rich media: parser: add copyright header
6 years ago
Maxim Filippov 50d6183893 Split hide_network into hide_followers & hide_followings
6 years ago
Egor Kislitsyn 1724a6b34b add spec back
6 years ago
Egor Kislitsyn 56533495b5 fix defaults
6 years ago
Egor Kislitsyn b2e9700785 cleanup
6 years ago
Egor Kislitsyn 55affbca7f add a job queue
6 years ago
lain f53d464db0 Put deprecation warnings undre Pleroma.Config.
6 years ago
Ivan Tashkinov d3f9e6f6fe [#534] Merged `upstream/develop`.
6 years ago
Ivan Tashkinov 1d2f41642c [#534] Various tweaks. Tests for Instances and Instance.
6 years ago
lain 8e8a1e1ba8 Return new-style config if old-style config is set to false.
6 years ago
lain f1d58c5c49 Don't run warnings in a task.
6 years ago
Haelwenn de0fb88a9c Merge branch 'safe-render-activities' into 'develop'
6 years ago
href df2f7b39dd
re f83bae7c: remove unnecessary filter
6 years ago
lain f231313b70 Add deprecation warning mechanism.
6 years ago
lain 1825118fd4 Correctly handle invalid credentials on auth login.
6 years ago
Ivan Tashkinov 9560abea10 [#534] Refactoring / tweaks per MR review.
6 years ago
William Pitcock ddc7ae2c1a mastodon api: card: force OGP images through mediaproxy
6 years ago
William Pitcock ebeabdcc72 rich media: helpers: clean up unused aliases
6 years ago
William Pitcock 91ef64a1ec activitypub: prime OGP crawler cache when new messages are inserted into the database
6 years ago
William Pitcock 8e42251e06 rich media: add helpers module, use instead of MastodonAPI module
6 years ago
William Pitcock 24a103a1fe mastodon api: formatting
6 years ago
William Pitcock 6096846f5f API: kill /api/rich_media/parse endpoint
6 years ago
William Pitcock 07a9a891ad twitter api: fix up activity representer
6 years ago
William Pitcock de42646634 rich media: add try/rescue to ensure we catch parsing and fetching failures
6 years ago
William Pitcock 5d895093fd twitter api: embed card in twitterapi posts
6 years ago
William Pitcock 5a37ddc2dc mastodon api: embed card in status object
6 years ago
William Pitcock 132d815f1f mastodon api: factor out status card fetching, move status card rendering to statusview, add opengraph extended data
6 years ago
Haelwenn (lanodan) Monnier cda1470e02
[MastoAPI][GlitchAPI] Add bookmarks
6 years ago
Haelwenn (lanodan) Monnier 872241d7c5
/web/index template: Modify for glitch-soc
6 years ago
href 71bb90073b
/notice/:id - send the FE index even if 404
6 years ago
lambda 16ab1437d6 Merge branch 'safe-render-activities' into 'develop'
6 years ago
lain 2e277dd4ad Fix objects.
6 years ago
kaniini ea12371a01 Merge branch 'discard-invalid-likes' into 'develop'
6 years ago
href 77f2137383
Transmogrifier: fix incoming objects with invalid likes
6 years ago
href f83bae7c22
Views: wrap activity rendering in a rescue
6 years ago
kaniini 9af798ad40 Merge branch 'flake-random-worker-id' into 'develop'
6 years ago
href e0e0cc5ab0
Flake: random worker id
6 years ago
kaniini 5eb81d2c72 Merge branch 'features/mastoapi-multi-hashtag' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier a65c188593
Web.MastodonAPI.AccountView: Add is_moderator and is_admin
6 years ago
William Pitcock 8f2f471e94 rich media: gracefully handle fetching nil URIs
6 years ago
kaniini 155a884300 Merge branch 'flake-from-int' into 'develop'
6 years ago
href d6015338c8
Flake: support integers in from_string/1
6 years ago
kaniini 3e66723f7e Merge branch 'join-in-preloads' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier de956b9e04
Web.MastodonAPI.MastodonAPIController: tag+any bookmark params in a array and flatten it
6 years ago
William Pitcock 1f7843b9b8 mastodon api: use OGP uri instead of page_url for deducing domain name, fix test
6 years ago
William Pitcock 86037e9c39 mastodon api: use HTML.extract_first_external_url()
6 years ago
href 8018ae7ae5
Join on preloads to avoid N+1 queries
6 years ago
William Pitcock be9abb2cc5 html: add utility function to extract first URL from an object and cache the result
6 years ago
William Pitcock 78047d57bf mastodon api: provider_name setting is required too on the card
6 years ago
Haelwenn (lanodan) Monnier 39863236eb Web.MastodonAPI.MastodonAPIController: generic get_status_card/1 function for MastoAPI 2.6.x
6 years ago
Haelwenn (lanodan) Monnier 3f64379b13 Web.MastodonAPI.MastodonAPIController: Add Rich-Media support
6 years ago
Haelwenn (lanodan) Monnier 5a84def6a6
Fix the logic in multi-hashtag TLs
6 years ago
Haelwenn (lanodan) Monnier 4ad0ad14ed
Web.ActivityPub.ActivityPub: Simplify multi-hashtag, add tests
6 years ago
Haelwenn (lanodan) Monnier 1a9bb4daa0
[Web.ActivityPub.ActivityPub]: Fix restrict_tag()
6 years ago
Haelwenn (lanodan) Monnier f9cae0d04f
[WIP,MastoAPI] Multi-tag timelines
6 years ago
Haelwenn (lanodan) Monnier 15aa45ae8a
Web.ActivityPub.ActivityPub: Fix check_remote_limit/1 against activities with content: nil
6 years ago
Ivan Tashkinov 060d280e64 [#534] Made Salmon.send_to_user calls be handled through Federator.enqueue.
6 years ago
lain aa8ddfdbe2 SPC fixes: Fix activities.
6 years ago
Ivan Tashkinov 465adedb7c [#534] Websub fix: made SQL use UTC time zone when comparing with `valid_until` (instead of postgresql-server default time zone).
6 years ago
Ivan Tashkinov 656ed7c84a [#534] Configurable outgoing federation reachability timeout.
6 years ago
rinpatch 3a5b3c5a3a Merge remote-tracking branch 'pl/develop' into oembed_provider
6 years ago
kaniini 4c99b6d35a Merge branch 'fix/tusky-dm' into 'develop'
6 years ago
kaniini c9b418e547 Merge branch 'develop' into 'oembed_provider'
6 years ago
kaniini 4df71cd88b Merge branch 'classic-flakeids' into 'develop'
6 years ago
Maxim Filippov 9274cabe01 Use correct logic to determine "attentions" list
6 years ago
Ivan Tashkinov 3e9399ec0b [#534] Optimized bulk publish ops to filter on reachability early. `Instance` refactoring.
6 years ago
href a3ba72d978
Fix clippy with one/five lines
6 years ago
Ivan Tashkinov 8654a591f0 [#534] Updating external instances reachability on incoming federation.
6 years ago
href be43aa2875
FlakeId: ignore null mac for workerid, use first mac
6 years ago
William Pitcock 54ec6d09b0 mrf: add anti-followbot policy
6 years ago
Ivan Tashkinov 20b54366ee [#534] Federation publish requests status control (enforced 2xx response code check).
6 years ago
Maxim Filippov 4333fea1dc Send "hide_network" in user_view
6 years ago
Ivan Tashkinov f161a92cb1 [#534] Initial implementation of unreachable federation targets retirement.
6 years ago
kaniini 4a278cd80a Merge branch 's3-namespace' into 'develop'
6 years ago
lain 2de208817c Merge branch 'develop' into rename/pleroma_activity_consistency
6 years ago
lain e221c681dc New frontend configuration mechanism.
6 years ago
href a92c43bc4b
Clippy!
6 years ago
href 973c9eed18
Treat User.Info pinned ids as strings
6 years ago
href e36a434b99
FlakeId.from_string/1: remove old, un-needed conversion
6 years ago
href 422e60ad76
2019
6 years ago
href cdc5e6ff5c
ActivityPub: restrict_since/restrict_max: ignore empty param
6 years ago
href 9d63b27dcd
Test FlakeID old id compat & Ecto type
6 years ago
href 28d77e373c
Flake Ids for Users and Activities
6 years ago
Haelwenn 707cd9389c Merge branch 'fix/activity_get_by_id' into 'develop'
6 years ago
Ivan Tashkinov 34d59e4008 [#502] Fixed User.active_local_user_query to return users with nil or missing `info.deactivated`. Adjusted test.
6 years ago
rinpatch e460820fcf Add get_by_id to activity.ex
6 years ago
href f9a3269099
Uploader callback controller
6 years ago
href 99763999c1
reverse_proxy - always override plug's cache-control
6 years ago
href 97412d9f94
S3 Namespace
6 years ago
lambda 8cd853ce0c Merge branch '530_federator_user_info_overwrite_fix' into 'develop'
6 years ago
lambda 69454c8345 Merge branch 'feature/dm-sanity' into 'develop'
6 years ago
Ivan Tashkinov a4d3fec8a7 [#502] Code comments update.
6 years ago
Ivan Tashkinov aa480f4a8b [#530] Prevents user `info` from being overwritten because of race conditions
6 years ago
Haelwenn (lanodan) Monnier 7390192c03
Activity: mix format (2 empty lines)
6 years ago
Haelwenn (lanodan) Monnier 98c8184c1f
Activity: get_create_activity_by_object_ap_id/1 → get_create_by_object_ap_id/1
6 years ago
Haelwenn (lanodan) Monnier 2fdbd4d137
Activity: create_activity_by_object_id_query/1 → create_by_object_ap_id/1 when is_list
6 years ago
Haelwenn (lanodan) Monnier f8ab1b7427
Activity: get_all_by_object_ap_id/1 → get_all_create_by_object_ap_id/1
6 years ago
Haelwenn (lanodan) Monnier 4ad5a0abb9
Activity: all_by_object_ap_id_q/1 → create_by_object_ap_id/1
6 years ago
Haelwenn (lanodan) Monnier 75e4c8f0b2
Activity: all_non_create_by_object_ap_id_q → by_object_ap_id
6 years ago
Haelwenn (lanodan) Monnier b82c6dc536
Activity: all_by_object_ap_id/1 → get_all_by_object_ap_id/1
6 years ago
Haelwenn (lanodan) Monnier f94cc6d824
Mix.Tasks.Pleroma.Instance: Generate signing_salt
6 years ago
lain cf1f35a93a Send delete event over Mastodon streaming api
6 years ago
lambda f3045a179e Merge branch 'i1t/pleroma-477_user_search_improvements' into 'develop'
6 years ago
lain 5834b08fe7 Set custom similarity limit.
6 years ago
William Pitcock aa37313416 activitypub: short-circuit is_public?() with directMessage flag check
6 years ago
William Pitcock 7c9749f793 transmogrifier: slightly clean up fix_explicit_addressing pipeline
6 years ago
William Pitcock 420651157b transmogrifier: don't apply heuristics against messages which have `directMessage` set true
6 years ago
William Pitcock ddae43eb43 activitypub: add is_private?/is_direct? helpers
6 years ago
William Pitcock 9adc80afff common api: set directMessage flag on our own posts
6 years ago
William Pitcock 75dfa1f0b0 mastodon api: get_visibility(): DMs never have a cc list.
6 years ago
William Pitcock 681f40ee5c activitypub: transmogrifier: fix up to/cc addressing brain damage caused by mastodon-style explicit DMs
6 years ago
William Pitcock 8d06be35e0 activitypub: utils: add determine_explicit_mentions() and tests
6 years ago
kaniini 42612b1c8d Merge branch 'bugfix/improve-boost-targeting' into 'develop'
6 years ago
lain b108aeee08 Make use of the indices.
6 years ago
rinpatch 44693fbf6e Formating
6 years ago
rinpatch afd83db0d7 Provide local og:url for remote activities
6 years ago
kaniini 651ce1c97b Merge branch '491_full_mentions_in_user_bio' into 'develop'
6 years ago
Maxim Filippov 651a1d64b5 Add current user to mentioned
6 years ago
Maxim Filippov e116e55cab Add actor to recipients
6 years ago
lain bd6c12592e Add migration to fix spc users.
6 years ago
lain 5d4d51e6dc Add fixes for SPC users.
6 years ago
rinpatch 74346a7035 Fix merge conflict
6 years ago
Ivan Tashkinov 79e44042bc [#477] User trigram index adjustment.
6 years ago
Ivan Tashkinov ed8f55ab8e [#477] User: FTS and trigram search results mixing (to handle misspelled requests).
6 years ago
rinpatch 997f4a5e09 Remove custom emojis and trailing whitespaces from previews
6 years ago
rinpatch 1b1af4798a Use object instead of activity for metadata
6 years ago
Ivan Tashkinov 65bb9b2fba [#491] Made full nicknames be preserved in user links text only in Bio.
6 years ago
William Pitcock 75a9b2a851 activitypub: add a match clause for objects, not just activities
6 years ago
William Pitcock dbc4e92509 activitypub: transmogrifier: do not clobber the addressing on relayed announcements
6 years ago
William Pitcock 33b473cc02 activitypub: allow is_public?() to work on any type of map representing an AS2 object
6 years ago
William Pitcock 8e9f1d5587 activitypub: relay: chase selective public announce changes
6 years ago
William Pitcock 2479e88815 activitypub: announce: add new public parameter
6 years ago
kaniini 98d9dcd509 Merge branch '502_instance_stats_active_users_count_fix' into 'develop'
6 years ago
kaniini ae8a5942cf Merge branch 'bad-copy-paste' into 'develop'
6 years ago
sxsdv1 948fba6f76 Fix bad link in likes collection
6 years ago
rinpatch a95d5da607 Don't show content if empty or zero width space
6 years ago
Ivan Tashkinov 954dc4a4ad [#502] Fixed `user_count` in `/api/v1/instance` to include only active local users.
6 years ago
Mark Felder 849c83ed46 formatting
6 years ago
Mark Felder 6bc9a641ba Default to disabled in the code in case the setting is absent from config.exs
6 years ago
rinpatch 388ceb6a7d Fix the issue with get_by_nickname never being called
6 years ago
Mark Felder 8c368d42a2 Make attachment links configurable
6 years ago
Ivan Tashkinov 2bfae25a1f [#491] Made user bio preserve full nicknames (nick@host).
6 years ago
rinpatch 4d5f15cd42 Introduce optional unfurling of nsfw content
6 years ago
rinpatch 0256bd2f1d Use object url instead of a hack
6 years ago
rinpatch fd3a558230 Apply feld's patch
6 years ago
rinpatch 5fa508cc2b Remove @providers and call Pleroma.config on runtime
6 years ago
rinpatch bb43f4cee9 Remove useless with in opengraph.ex
6 years ago
rinpatch 9a90b5d91a oof
6 years ago
rinpatch 8a9f089812 remove id cast
6 years ago
rinpatch 5a08dee379 cache ap_id in id instead of caching user two times
6 years ago
rinpatch 82cf9b9751 forgot to remove this thing
6 years ago
rinpatch 293f6a8b71 join us now and share the software~. Also tests
6 years ago
lain 943324b661 MastoAPI: Don't break on missing users.
6 years ago
rinpatch b44995866b Replace map with reduce to remove nils
6 years ago
lambda 608cc65d43 Merge branch 'feature/improve-microformats' into 'develop'
6 years ago
lambda da4b670451 Merge branch '518_instance_stats_fix' into 'develop'
6 years ago
rinpatch ff01fd3c4f Remove caching because it does not affect performance and may be even worse in some cases
6 years ago
Ivan Tashkinov 90433b988e [#518] Fixed /api/v1/instance ("domain_count" value) and /api/v1/instance/peers responses.
6 years ago
rinpatch bfe2a11a6b Add config doc
6 years ago
Ivan Tashkinov 0bc6d30f7d [#477] Minor refactoring (user search query).
6 years ago
rinpatch a9c27e137d Add a fallback function to handle generic params, just in case
6 years ago
rinpatch a76793006b Thanks you rinpatch, very cool
6 years ago
rinpatch 0039d45b5b No need to use activity in the key
6 years ago
rinpatch 70b2bb6ede add caching
6 years ago
rinpatch dd1432d695 Disable previews for any activity, but create
6 years ago
William Pitcock 461ab9489d formatter: improve microformats markup
6 years ago
William Pitcock 1ddab78247 html: allow microformats-related markup through the html filter
6 years ago
rinpatch 565caff3f4 cache HTML in OGP
6 years ago
rinpatch 9aa69e12b8 Add behaviours to TwitterCard, remove some dumb stuff in Formatter.truncate
6 years ago
lambda 9a444c0d22 Merge branch 'bugfix/websub-hardening' into 'develop'
6 years ago
rinpatch 2e630bea0d Add twitter card, filter nsfw
6 years ago
William Pitcock 2d3241753f http: add support for query parameters, use Jason for JSON encoding instead of Poison like everywhere else
6 years ago
rinpatch 70f140681f Add space between name and nickname
6 years ago
rinpatch e8eecd61b4 Formating
6 years ago
rinpatch 410fd9d774 Attach attachments
6 years ago
William Pitcock 17da432dbb websub: improve error handling
6 years ago
rinpatch ff6c9a5c96 Introduce get_by_id in Activity, replace newlines with spaces
6 years ago
rinpatch 850912b06b refactor opengraph to a different module with a behaviour
6 years ago
rinpatch 8745c8c990 remove useless newlines after every tag. Make domain.com/username provide opengraph too
6 years ago
Ivan Tashkinov 5b8f9ff8c1 [#477] User search tests. Normalized search rank in User.search.
6 years ago
rinpatch 2858fd2da2 add a fallback function
6 years ago
rinpatch 6f23139864 please don't bully me for this
6 years ago
rinpatch 4587a5712a cringe
6 years ago
rinpatch ce15e0659e Fix some edge cases [nervous laughter]
6 years ago
lambda 646bb87816 Merge branch 'fix/elixir-1-8-type-annotation' into 'develop'
6 years ago
rinpatch 4656f433f9 Move metadata.ex out of ostatus
6 years ago
Haelwenn (lanodan) Monnier 9fcdca1bdc
Upload: Fix uploading with a : in the filename
6 years ago
Haelwenn (lanodan) Monnier e3eb75bd23
Upload: Fix uploading with a ? in the filename
6 years ago
Maxim Filippov e8eff9fe03 Fix Elixir 1.8 type annotation issue
6 years ago
rinpatch f20bfc9ea5 Merge branch 'media-url-escape' into 'develop'
6 years ago
lambda fd2f1258fb Merge branch 'load-all-dms' into 'develop'
6 years ago
Ivan Tashkinov dc45ec62c2 [#477] User search improvements: tsquery search with field weights, friends & followers boosting.
6 years ago
Shadowfacts 42b7584068
URI escape file upload URLs
6 years ago
kaniini de1da7b3d1 Merge branch 'feature/add-oembed-parser' into 'develop'
6 years ago
kaniini fa0392e49c Merge branch 'activitypub-likes' into 'develop'
6 years ago
rinpatch 5f9786288d Prefer ids to usernames
6 years ago
William Pitcock 6e5b0406b9 mrf: add no placeholder-text policy, strips pointless "." content from posts with images
6 years ago
rinpatch e4dc3f71ae Resolve merge conflict
6 years ago
Maxim Filippov b8a77c5d70 Add OEmbed parser
6 years ago
sxsdv1 868034375c Add likes to activitypub object representation
6 years ago
sxsdv1 581edd5a91 Add route to get object like activities
6 years ago
sxsdv1 36711e1c83 Handle client submitted activitypub like activity
6 years ago
sxsdv1 1eb7318831 Prepare all types objects before serialising
6 years ago
Sadposter 9daf162461 Honour parameters on MastoAPI /favourites
6 years ago
Sadposter 144b48da95 Add link headers to MastoAPI /favourites
6 years ago
Egor Kislitsyn b594a54d0c unpin when deleting a status
6 years ago
kaniini e4afe1359b Merge branch 'activitypub-dereference-activity-id' into 'develop'
6 years ago
Maxim Filippov 1f851a0723 Add Twitter Card parser
6 years ago
kaniini 11d08c6226 Merge branch 'twapi-follower-pagination' into 'develop'
6 years ago
Haelwenn ab4c5f5bf7 Merge branch 'bugfix/markdown-newline-codeblocks' into 'develop'
6 years ago
William Pitcock 0bdbd4f968 common api: utils: remove newline to <br> conversion from bare HTML to be consistent with markdown
6 years ago
William Pitcock 2ecf81f10c common api: fix newlines in markdown code blocks
6 years ago
kaniini 7f5efddd6e Merge branch 'feature/pinned-posts' into 'develop'
6 years ago
kaniini f85d108c41 Merge branch 'mass-follow' into 'develop'
6 years ago
kaniini d203b0b4d3 Merge branch 'dm-optimizations' into 'develop'
6 years ago
rinpatch b57db828c7 Merge branch 'hotfix/ogp-cachex-fix' into 'develop'
6 years ago
rinpatch a2d7f0e0e9 Remove :commit since a tuple is already returned
6 years ago
lain a99e156f2c Add integer casts.
6 years ago