Commit Graph

2638 Commits (c46490b1999dd0ddb3d3b23409ba725c21811a96)

Author SHA1 Message Date
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
lain 7ac152ed38 TwitterAPI: Add follower/following pagination.
6 years ago
lambda 1881680e28 Merge branch 'scarlett/pleroma-summary-html-api' into 'develop'
6 years ago
lain 5027f82cde Add activity visibility index.
6 years ago
Egor Kislitsyn 44a1e69484 Add Twitter API for the pinned statuses
6 years ago
lain 9854978b8b Remove recent activity restriction.
6 years ago
Egor Kislitsyn 1b06e6fdf3 only non-reblogs, self-authored, public statuses can be pinned
6 years ago
lain 65fc2df7cc Use follow_all in autofollow.
6 years ago
lain 26938d65fd Add User mass following function.
6 years ago
Egor Kislitsyn 28afcb7c31 move defaults from sample_config.exs to config.exs
6 years ago
Egor Kislitsyn 48591aab98 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts
6 years ago
sxsdv1 20c0dd1e24 Support activity+json request for activity
6 years ago
kaniini 5c5c8508c2 Merge branch 'hotfix/media-proxy-uri' into 'develop'
6 years ago
William Pitcock f15183178c user: fix auth_active?/1 for remote users
6 years ago
William Pitcock 0015d43e13 user: factor out illogical User.Info.superuser?/1.
6 years ago
William Pitcock 74f48beec3 user: remove entirely redundant remote_or_auth_active?/1.
6 years ago
William Pitcock 2af67353c5 user: harden auth_active?/1, superuser?/1, visible_for?/1
6 years ago
William Pitcock 595a970493 user: use pattern matching to determine if user is local or remote instead of the previous hairy logic
6 years ago
Egor Kislitsyn 0c750bc432 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts
6 years ago
Egor Kislitsyn 6428ef77ad add default configuration for the pinned statuses and some doc
6 years ago
lain 0fae04c4e3 Add a setting for users to autofollow on sign up.
6 years ago
Egor Kislitsyn e679da4c34 add `pinned` property to `StatusView`
6 years ago
Egor Kislitsyn 63dbd87568 rename `post` to `status`
6 years ago
lain a16b17cc61 Actually put some onformation in the error user, make it actually properly parse
6 years ago
kaniini 74e1093732 Merge branch 'resilient-user-view' into 'develop'
6 years ago
Egor Kislitsyn f24087f96e Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts
6 years ago
Egor Kislitsyn 380e9fba21 add pinned posts
6 years ago
lain 7382adf407 Make TwAPI UserView more resilient to issues.
6 years ago
scarlett 36fa5e8802 Check visible_for_user when performing a search using a direct link.
6 years ago
scarlett 52493467ac Twitter API: Add a summary_html field.
6 years ago
Sadposter 042852ecf3 Add check to prevent multiple follow notifications from the same user
6 years ago
kaniini 8d047c7a72 Merge branch 'fix/user-search-null-name' into 'develop'
6 years ago
kaniini 0b54c3d643 Merge branch 'fix_486' into 'develop'
6 years ago
kaniini 576368237c Merge branch 'activitypub-tombstone-fix' into 'develop'
6 years ago
scarlett 145d6fe6e9 Merge branch 'emoji-in-summary' into 'develop'
6 years ago
scarlett 6556be344d Resolve some test failures.
6 years ago
scarlett 3c86d907d4 add some brakets to the emoji list.
6 years ago
scarlett 0787f0dfbe Strip HTML in and allow emoji in summaries.
6 years ago
sxsdv1 2d7da5f437 Don't crash on AP request for tombstone
6 years ago
cascode a81307251c Merge branch 'develop' of git.pleroma.social:cascode/pleroma into fix/user-search-null-name
6 years ago
rinpatch ba17518a0a Merge branch 'feature/rich-media-cachex' into 'develop'
6 years ago
William Pitcock 487c00d36d rich media: disable cachex in test mode
6 years ago
kaniini bf5aaefbb5 Merge branch 'fix/html-cache-content-collision' into 'develop'
6 years ago
William Pitcock 0964c207eb rich media: use cachex to avoid flooding remote servers
6 years ago
Rin Toshaka 1e2d58982e oopsies
6 years ago
Rin Toshaka 846082e54f Different caches based on the module. Remove scrubber version since it is not relevant anymore
6 years ago
spctrl 4aa977d3b3 fix 486: Add option --assume-yes to allow it to work non-interactive
6 years ago
kaniini 4258dd8633 Merge branch 'feature/rich-media' into 'develop'
6 years ago
kaniini ffea81b84f Merge branch 'activitypub-c2s-delete-activity' into 'develop'
6 years ago
cascode 5b23dfa1c5 handle null
6 years ago
kaniini d9d62a110c Merge branch 'mr/retry-queue-remove-fold' into 'develop'
6 years ago
kaniini eaaf701319 Merge branch 'fix/follow-requests-deleted-accounts' into 'develop'
6 years ago
rinpatch b73a1a33de Merge branch 'captcha' into 'develop'
6 years ago
William Pitcock eb1a18d22f user: check that the follow request actually has an active account associated with it
6 years ago
Michael Loftis 943211b035 rewrites List.foldl to Enum.each
6 years ago
Maxim Filippov 48e81d3d40 Add RichMediaController and tests
6 years ago
sxsdv1 4e1cc2bab6 Implement delete activity
6 years ago
sxsdv1 551c3d9391 Split create activity specifics from update_outbox
6 years ago
Maxim Filippov 917d48d09b Better variable name
6 years ago
Maxim Filippov 2aab4e03c3 Add OGP parser
6 years ago
kaniini 32bed66471 Merge branch 'pool-usage' into 'develop'
6 years ago
rinpatch 34fa709015 Merge branch 'configurable-federator' into 'develop'
6 years ago
lambda 32541172cd Merge branch 'cleanup/admin-api-useless-if' into 'develop'
6 years ago
lain 400337b0a7 Make Federator options configurable.
6 years ago
lain 096a927805 Merge remote-tracking branch 'origin/develop' into pool-usage
6 years ago
lain d4799e0dc2 Remove default pool, it's used automatically anyway.
6 years ago
Haelwenn (lanodan) Monnier 1e6c102bfc
Web.AdminAPI.AdminAPIController: Remove a useless if in user_delete
6 years ago
kaniini 90e157ef80 Merge branch 'features/admin-api-user-views' into 'develop'
6 years ago
William Pitcock 980b5288ed update copyright years to 2019
6 years ago
lambda 33e3a7ba7d Merge branch 'fix/scrubber-cache' into 'develop'
6 years ago
Rin Toshaka 6ed9b31a5f Eh?
6 years ago
Rin Toshaka 7e09c2bd7d Move scrubber cache-related functions to Pleroma.HTML
6 years ago
kaniini 8e7da98b18 Merge branch 'mr/retry-queue' into 'develop'
6 years ago
Rin Toshaka dec23500d8 Resolve merge conflict
6 years ago
Rin Toshaka ab3089d6a7 Fix comment in object.ex
6 years ago
Rin Toshaka c50353e6ae shame on me for not testing after revert
6 years ago
Rin Toshaka 3f9da55adc Fix formating. Aparently my pre-commit hook broke.
6 years ago
Rin Toshaka 62af23bd26 Revert some changes in html.ex
6 years ago
Rin Toshaka c119ea3a57 Friendship ended with Postgresql now Cachex is my best friend
6 years ago
Rin Toshaka 535fddd286 Friendship ended with Postgresql now Cachex is my best friend
6 years ago
Rin Toshaka d9f40b05b3 Added get_stripped_html_for_object. Renamed a few things
6 years ago
Michael Loftis cb286fdeba Improves RetryQueue behavior
6 years ago
Rin Toshaka bce152aba0 Tidy up the code. Rename key to signature
6 years ago
Rin Toshaka 66d1c31461 Fix some stupid typos
6 years ago
sxsdv1 f40562b4e1 Respond with full activity to outbox post
6 years ago
sxsdv1 1e781715c8 Limit activity types accepted to outbox to only 'Create'
6 years ago
sxsdv1 569bad8210 Create activity when client posts to outbox
6 years ago
sxsdv1 26dc2dddab Implement ActivityPub inbox view
6 years ago
Rin Toshaka a32e23905a Use Object.change instead of Ecto.Changeset.change
6 years ago
sxsdv1 aa082ca7b6 Wire up stub routes for client calls of activitypub inbox/outbox
6 years ago
Rin Toshaka 9a0163db53 use Kernel.put_in instead of Map.merge
6 years ago
vaartis 816db3f494 Remove the debugging IO.inspect
6 years ago
Haelwenn f5d7b0003e Merge branch 'fix_485' into 'develop'
6 years ago
Rin Toshaka 19f9889fbe I am not sure what's going on anymore so I'll just commit and reset all the other files to HEAD
6 years ago
kaniini 3dc5f04976 Merge branch 'carrot-bullying' into 'develop'
6 years ago
spctrl ab9cda315f Change 'name' to 'instance_name' so option is used when running non-interactive
6 years ago
kaniini dd8f2196f6 Merge branch '483_blocks_import_export' into 'develop'
6 years ago
Maksim Pechnikov 523848d1fd Salmon# fixed publish an activity to remote accounts
6 years ago
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 69ad1039ba mix tasks: add legal boilerplate
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