Commit Graph

546 Commits (0d14def0ca781b79ffb3c1022472ac64f990cdf8)

Author SHA1 Message Date
Haelwenn (lanodan) Monnier 82b57ebad1
[Pleroma.Web.TwitterAPI.UserView]: Add mastodon-fields in "fields"
6 years ago
William Pitcock 56577d8b48 twitter api: add no_rich_text option to userview for account prefs
6 years ago
William Pitcock c2b69798dd twitter api: add support for disabling rich text
6 years ago
William Pitcock 2f5b026548 twitter api: add support for user-specified html policy
6 years ago
William Pitcock c9585ec007 twitter api: fix mimetype fallback when attachments use a URI instead of a URL object
6 years ago
William Pitcock e82ce2a4b3 formatting
6 years ago
William Pitcock ac486fc59b everywhere: use Pleroma.HTML module instead of HtmlSanitizeEx directly
6 years ago
kaniini b7923aa304 Merge branch 'hotfix_broken_likes' into 'develop'
6 years ago
William Pitcock e2ce0e9e05 run `mix format`.
6 years ago
William Pitcock c921d99898 config: add ability to disable Pleroma FE config management (closes #276)
6 years ago
lambda 58539e1357 Revert "Merge branch 'feature/rich-text' into 'develop'"
6 years ago
William Pitcock 856b5e1ca4 config: chase pleroma-fe updates from MR pleroma-fe!324.
6 years ago
William Pitcock 6aa65b68b8 common api: add support for formatting messages outside of twitter-style plain text
6 years ago
Henry Jameson 0f1c629d65 better solution, added test.
6 years ago
hakabahitoyo 946a0769c4 remove unused settings from /api/statusnet/config
6 years ago
William Pitcock aab2bdddf4 twitter api: provide object descriptions as attachment description field
6 years ago
William Pitcock 09cb402203 fe config: add collapse_message_with_subject fe option
6 years ago
Henry Jameson 9b046d2a84 fixed notifications API completely breaking if there's a like for
6 years ago
Haelwenn (lanodan) Monnier 643f373514
Run mix format
6 years ago
Haelwenn (lanodan) Monnier d5bdd55b5d
[Pleroma.Web.TwitterAPI.UserView]: Do not fail if user.bio is nil
6 years ago
kaniini f6b06d2ac8 Merge branch 'feature/peertube_2' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier 74c74decf5
Basic peertube support.
6 years ago
ensra cdb3dd48ab Format
6 years ago
ensra 5debd7b5cc Twitter API: Support Mastodon-style bios
6 years ago
lain 8c0c930041 formatting
6 years ago
lain ffd9ad1f0c Fix for elixir 1.7.
6 years ago
lambda 13440a80e1 Merge branch 'feature/invites' into 'develop'
6 years ago
lambda 9de6145737 Merge branch 'fix/remote-follow-errormessage' into 'develop'
6 years ago
eal db5cdfa333 Remote follow: don't show confusing error if already following
6 years ago
eal 37b802682c HTML-sanitize usernames before emojifying.
6 years ago
eal ed9738e031 Add tests for emoji in user profiles
6 years ago
eal cee63ad3f7 TwitterAPI user view: add screen_name_html and description_html.
6 years ago
William Pitcock b23630076f TwitterAPI: present pleroma frontend config in API
6 years ago
William Pitcock b832df1e15 formatting
6 years ago
William Pitcock f03e57f764 twitter api: activity representer: add summary field for testsuite
6 years ago
William Pitcock 152a526237 twitter api: refactor activity html generation, add support for Articles
6 years ago
William Pitcock 3b799f22b7 twitterapi: activity view: expose message summary text
6 years ago
lambda fe4387077a Merge branch 'feature/default-scope' into 'develop'
6 years ago
William Pitcock 971bb4f2bd activity interpretation: formatting
6 years ago
William Pitcock 66819ea784 twitter api: use ActivityView.render_content() where appropriate instead of duplicating the logic
6 years ago
William Pitcock 121c1f6230 twitter api: refactor activity html generation, add support for Articles
6 years ago
William Pitcock 2f14996d9a twitter api: allow setting default_scope
6 years ago
William Pitcock dcdf7b6686 twitter api: user view: show default message scope if known
6 years ago
Vivian Lim 1299bccc7d return unquoted empty array from /api/qvitter/mutes.json
6 years ago
lambda 8c7fdcb31b Merge branch 'feature/twitterapi-unrepeat' into 'develop'
6 years ago
Francis Dinh 1555c66650 Add unretweet TwAPI endpoint and cleanup AP.unannounce
6 years ago
Henry Jameson 9c1cf1befb formatting
6 years ago
Henry Jameson f42ffbe9a8 Initial invites support + tests.
6 years ago
William Pitcock f8e0942745 twitter api: add approve/deny endpoints
6 years ago
William Pitcock e08cf21e5b twitter api: add friend requests list api
6 years ago
William Pitcock ba8dab7542 twitterapi: user view: return if an account is locked or not
6 years ago
William Pitcock 993312cdb3 twitterapi: add profile setting for locked/unlocked accounts
6 years ago
Rachel H 1525a0404b Fix follow errors
6 years ago
lain 0f70e83e8c Better error handling in TwitterApiController.
6 years ago
eal 935e544e19 TwitterAPI: fix "Follows you" being shown for the wrong user.
6 years ago
lain 3ece4a3ebc Only return certain activities in TwitterAPI mentions.
6 years ago
William Pitcock e80d91c64a introduce User.maybe_direct_follow() and use it where we used to call User.follow()
6 years ago
William Pitcock c89b90222c twitter api: also remove explicit User.follow here
6 years ago
lambda c2dcd767cf Merge branch 'feature/incoming-remote-unfollow' into 'develop'
6 years ago
Francis Dinh 72b93d13f8 Hook up block/unblock to TwitterAPI
6 years ago
Francis Dinh 55f9aefd08 Hook unfollow into TwitterAPI
6 years ago
Syldexia d0690622cd Added endpoint for changing passwords
6 years ago
Francis Dinh 89c5de9096 Fix unfollows
6 years ago
lain dca26f3655 Fix specs.
6 years ago
lain ff007af0c2 Return visilility in twitter api, too.
6 years ago
lain 434601a5c3 Return private / direct posts on user timelines, too.
6 years ago
lambda 8b0c222b43 Merge branch 'feature/account-deletion' into 'develop'
6 years ago
Thog 6f39ecc41b
Support Undo like activities (Fix #139)
6 years ago
Syldexia d1366f8d46 Modified deleting an account to run as a task
6 years ago
Syldexia 5bfb7b4ce6 Moved account deletion stuff to somewhere that hopefully makes more sense
6 years ago
Syldexia a16117225f Added endpoint for user account deletion
6 years ago
lambda aeff2d6474 Merge branch 'feature/unrepeats' into 'develop'
6 years ago
Mark Felder aaacebd906 Fix unused variables, imports, and aliases
6 years ago
Mark Felder 636f0fa402 Clean up unused aliases and imports
6 years ago
Mark Felder 943820ae29 More unused variables
6 years ago
Mark Felder ab4aa5720a Fix a bunch of unused variable warnings
6 years ago
lain bc215f5684 Fix format.
6 years ago
Francis Dinh 0df1a4efc8 Fix comment grammar
7 years ago
Wim Vanderbauwhede 7517155544 Changed to support \r\n and \n
7 years ago
Wim Vanderbauwhede 52ee91efce Patch to replace newlines with <br> tags in bio
7 years ago
Francis Dinh c5dc7e6e31 Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into feature/unrepeats
7 years ago
lain a61e8ac154 Formatting.
7 years ago
eal fa37acfcc7 TwitterAPI: Add Qvitter notification endpoint.
7 years ago
Francis Dinh 32a26eb910 Fix TwitterAPI.delete call
7 years ago
Francis Dinh 7b4f55238e Handle unrepeats via the TwitterAPI
7 years ago
Francis Dinh 85bd191291 Remove unretweet function for now
7 years ago
Francis Dinh b949577472 Add unrepeat functionality
7 years ago
lain 8f9bcc4ab0 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
lain 70bcdf32bd Only search in public data for now.
7 years ago
eal e7ddda44c0 Follow import: allow URI in addition to screen_name.
7 years ago
lain d70d1c427a TwitterAPI: Don't put follows into the public tls.
7 years ago
lain b3b7ab5d9a Load all users at once in timelines.
7 years ago
lain 360c51f1f5 Use context_ids directly if we have them.
7 years ago
lain bc31bee7c4 Generates contexts and ids on insertion time.
7 years ago
lain a4db3a732f Pre-fetch conversation ids.
7 years ago
lain 802736679c Remove unused ActivityRepresenter module.
7 years ago
lain 7ab94ae22d TwitterApiController: Use ActivityView.
7 years ago
lain e90f8f6c4b TwApi ActivityView: Add delete activities.
7 years ago
lain 1f32ba052c TwApi ActivityView: Add follows.
7 years ago
lain 4afbef39f4 Format the code.
7 years ago
lain c1d529ee94 TwApi ActivityView: Add announces.
7 years ago
lain 1f1caab138 TwApi ActivityView: Add Like rendering.
7 years ago
lain df8fc72491 Don't go through all available emoji.
7 years ago
lain e30752bc79 Add basic activity view.
7 years ago
lain d2099c849d More Jason changes.
7 years ago
lain 847cb15626 Fix tests.
7 years ago
lain c7be7a9454 Unify user fetching.
7 years ago
lain a17ba0ee0d Only return posts in TwAPI user view.
7 years ago
lain e9de04b74b Add support for outgoing update.
7 years ago
lain 4ea2a41014 Fix more specs.
7 years ago
lain dfaddeb765 Use update_and_set cache.
7 years ago
lain 7e0ce32f4d Fix external url in twitterapi.
7 years ago
lain 94db9ac4db Merge branch 'develop' into feature/activitypub
7 years ago
lain 947ba6495d More TwAPI fixes.
7 years ago
lain 391b3e3586 TwitterAPI: Fix some bugz.
7 years ago
lain fd95075e32 TwitterAPI: Fix mentions.
7 years ago
lain 5bc810c452 Add moderator function.
7 years ago
lain 01faa7c555 TwitterAPI: support follow activities without published date.
7 years ago
lain 1633470e4a TwitterAPI: Only fetch creates, announces, follows.
7 years ago
lain 010f818a29 Fix conversations.
7 years ago
lain 5d89997a70 Respect visibility in API.
7 years ago
lain c974f6544f Show users their own posts in timeline.
7 years ago
lain 539340d914 Handle sensitive property.
7 years ago
lain ce31f3a922 Twitter Representers: Handle Mastodon attachments.
7 years ago
Roger Braun 08f458e6df UtilController: Fix statusnet config api compatibility.
7 years ago
eal 29be70c008 Add remote following of local profiles.
7 years ago
eal ab83e0de6d TwitterAPI: Add is_local to user view.
7 years ago
eal beb13bf3a9 Revert "Revert "Add remote follow pages.""
7 years ago
eal b259b4e4d1 Revert "Add remote follow pages."
7 years ago
eal 47e8c8db05 Add remote follow pages.
7 years ago
eal b3e7d7ae6d Fetch external profile in the background.
7 years ago
eal 14b086eec2 Add a default profile picture and banner.
7 years ago
eal 5c09d8d3f1 Unlink follow import process from the one processing request.
7 years ago
lambda 35ac549a99 Merge branch 'media-proxy' into 'develop'
7 years ago
lambda 29c9812789 Merge branch 'fix/twitterapi-follow-lists' into 'develop'
7 years ago
eal 1969773fb4 Fix follower/following lists.
7 years ago
eal fdfb508259 Run follow import in the background.
7 years ago
eal d89193a8d7 Allow uploading a file for follow import.
7 years ago
eal 39ccfdc084 Add follow import.
7 years ago
href 72f7baa654
Merge remote-tracking branch 'upstream/develop' into media-proxy
7 years ago
Lain Iwakura 5c40986120 Basic backend chat.
7 years ago
href 5f35fdcf5d
media proxy: good enough wip
7 years ago
Thog 59770c3f5c
Fix all compilation warnings
7 years ago
eal 31e4277ba5 Don't add summary if empty.
7 years ago
lambda 1cca544e20 Merge branch 'twitterapi-bitlbee' into 'develop'
7 years ago
eal f9828e578c TwitterAPI: Add /users/show.
7 years ago
eal 22bbe27115 TwitterAPI: Add unimplemented /friendships/no_retweets/ids.
7 years ago
eal 3533bf7eac TwitterAPI: Add /friends/ids.
7 years ago
lambda 77e272df2d Merge branch 'following-you-in-user-view' into 'develop'
7 years ago
eal f7fc048aeb TwitterAPI user view: add follows_you.
7 years ago
Roger Braun d2430d5007 Look through whole db for user timelines.
7 years ago
eal 4656cb9b99 TwitterAPI user view: add blocks.
7 years ago
eal 6c0758e041 TwitterAPI: Add blocks.
7 years ago
eal c6210183e1 Add mastodon API endpoint for custom emoji.
7 years ago
Roger Braun d89a7a0b34 TwitterAPI: Add blocking to fetches.
7 years ago
Roger Braun 04217f52c9 TwitterAPI: Display cws.
7 years ago
eal fe7804e42d Add an API endpoint for emoji.
7 years ago
Roger Braun 6af164f27b Add password reset.
7 years ago
Roger Braun d009a79df5 TwitterAPI: Return proper error.
7 years ago
Roger Braun 6877d7aaad Fix typo.
7 years ago
Roger Braun b7b3e3f263 Use inserted_at as sort in search.
7 years ago
Roger Braun 959e993c7d Apply incoming custom emoji.
7 years ago
Roger Braun 884006a9e9 Federate emoji out.
7 years ago
Roger Braun c17c8ce36d Don't check limit twice in TwitterAPIController.
7 years ago
Roger Braun 03952a2760 Sort by updated_at
7 years ago
Roger Braun f039c9c19a Don't specify order in results for now.
7 years ago
Roger Braun 5d1f8dcd1c TwitterAPI: Add search.
7 years ago
Roger Braun c20530e708 Add configuration option for registrations.
7 years ago
Roger Braun 50409326a8 Refactor posting and make character limit configurable.
7 years ago
Roger Braun d625d8db7d Add unfav to Mastodon API.
7 years ago
Roger Braun 454dc18570 Add favoriting to Mastodon API.
7 years ago
Roger Braun 66e4c710d4 Add reblogging to MastodonAPI.
7 years ago
Roger Braun 4dc517a0bb Add deletion to masto api.
7 years ago
Roger Braun 2652d9e4ed Slight cleanup.
7 years ago
Roger Braun 632e1f7943 Add delete to TwAPI representer correctly.
7 years ago
Roger Braun 1f9a5272e1 Add delete to TwAPI.
7 years ago
Roger Braun fcf3128a56 Add TwAPI representer for deletes.
7 years ago
Roger Braun 6c3a0ffae4 Add banner and background updating.
7 years ago
Roger Braun 5142a8efbb Add profile update.
7 years ago
Roger Braun 171ef33cbb More sensible attachment names.
7 years ago
Roger Braun 67bfa19b35 Set twitter-style possibly_sensitive boolena.
7 years ago
Roger Braun 5dc278b1a6 Add activity_type to twitter api output.
7 years ago
Roger Braun d95b78c72f Remove email from mastoinfo.
7 years ago
Roger Braun d1f86ad69f Basic masto-style info.
7 years ago
Roger Braun 8a97bebc53 More meta info fixes.
7 years ago
Roger Braun 7ccdebe180 Small meta info fixes.
7 years ago
Roger Braun 1a001588e8 Don't break on empty mentions.
7 years ago
Roger Braun 7d34cec58d escape attachment urls on creation.
7 years ago
Roger Braun 00b722430f Revert "Close br tags."
7 years ago
Roger Braun 19e8421947 Revert "Wrap in <p>."
7 years ago
Roger Braun 3063e3b440 Revert "Remove newlines completely so mastodon doesn't bug out."
7 years ago
Roger Braun 0ca3ab7b59 Remove newlines completely so mastodon doesn't bug out.
7 years ago
Roger Braun c81d0b6f89 Wrap in <p>.
7 years ago
Roger Braun 2eba8e74cc Close br tags.
7 years ago
Roger Braun 72ca58c540 Save follower count and note count in user.
7 years ago
Roger Braun a027b0027c Add friends endpoint.
7 years ago
Roger Braun 94a394e3a8 Add followers endpoint.
7 years ago
Roger Braun 140f72725d Use follower address in user entry.
7 years ago
Roger Braun 7e9647b146 Fix undo activity.
7 years ago
Roger Braun e343c0c9c4 Add way to update most recent notification id.
7 years ago
Roger Braun 9bdea19d83 For non-create activities, grab the create activity to fav/rt
7 years ago
Roger Braun cd522d2139 Also fetch posts by id in fav/rts.
7 years ago
Roger Braun 1c074efeaf Add external links to twapi.
7 years ago
dtluna 08e53df91e Move util functions to UtilController
7 years ago
Roger Braun 1e6491ec96 Merge branch 'develop' into refactor/user-view
7 years ago
Roger Braun af49c11193 Work around upserting problems in context mapping.
7 years ago
dtluna 069daf644d Replace UserRepresenter with UserView
7 years ago
Roger Braun 45c751985e Move finmojis to representation.
7 years ago
Roger Braun 66b4fee80e Add finmoji.
7 years ago
Roger Braun fa82822932 Revert "Add invisible tags to TwAPI output."
7 years ago
Roger Braun d00571ff75 Fetch user feed on externalprofile request.
7 years ago
Roger Braun fafb765c48 Output tags list in TwAPI.
7 years ago
Roger Braun 8feec8d390 Strip unsafe html on output in TwAPI.
7 years ago
Roger Braun 7b41e103e1 Remove html from user bios on display.
7 years ago
Roger Braun 83c657afa5 Do some basic escaping.
7 years ago
Roger Braun 1af9c77736 Move mention parsing to Formatter module.
7 years ago
Roger Braun eb18b9ebba Enable user timelines.
7 years ago
Roger Braun 00c032783d Fix NaN statuses per day.
7 years ago
Roger Braun c7fdd1b7ff Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into develop
7 years ago
Roger Braun c6aa60c829 Shorten names in links.
7 years ago
Roger Braun 4854a604ef Extract note handler.
7 years ago
Roger Braun 48f9df2391 Keep newlines around.
7 years ago
Roger Braun a92a9dce94 Add invisible tags to TwAPI output.
7 years ago
Roger Braun 0da6ade619 Save tags in object.
7 years ago
Roger Braun 9033bfffd2 Twitter API refactoring.
7 years ago
Roger Braun 70024632ba AP refactoring.
7 years ago
Roger Braun 423194520e Fix mention replacing.
7 years ago
Roger Braun 04544da8f1 Fetch user on externalprofile if we don't know him
7 years ago
Roger Braun 36448d6483 Add externalprofile to TwAPI.
7 years ago
Roger Braun 71362acb93 Quick fix for database filling.
7 years ago
Roger Braun 1418d72749 Add class=attachment to attachment links.
7 years ago
Roger Braun b9da7d3219 typo.
7 years ago
Roger Braun 7303786160 Add some twapi fixes.
7 years ago
Roger Braun b403ea4d2b Merge branch 'develop' into dtluna/pleroma-feature/unfollow-activity
7 years ago
Roger Braun a41aa4e489 Federate follow salmons.
7 years ago
Roger Braun 95ab0dc3c5 Add conversation ids to twapi announce representer.
7 years ago
Roger Braun 7269c51f3a Some refactoring.
7 years ago
Roger Braun c48c381e90 Merge branch 'develop' into dtluna/pleroma-refactor/1
7 years ago
Roger Braun 33c803d6da Add attachment link to posts.
7 years ago
Roger Braun 16f8406eb6 Add statusnet_profile_url to the TwAPI.
7 years ago
Roger Braun 32a95d73da Add twkn timeline.
7 years ago
Roger Braun 3cb518270a Remove superfluous transaction.
7 years ago
Roger Braun f169de3454 Cache objects in dev and prod.
7 years ago
Roger Braun 09f7ed4214 Don't set statusnetConversationIds on replies anymore.
8 years ago
Roger Braun 379caca01d Wrap context creation in transaction.
8 years ago
Roger Braun 4c8111c334 Use conversation mapping objects to get / retrieve context from TwAPI.
8 years ago
Roger Braun ffc604a2c2 Use cache for user info data.
8 years ago
dtluna a9b2ad1759 Merge branch 'develop' of ssh.gitgud.io:lambadalambda/pleroma into feature/unfollow-activity
8 years ago
dtluna 6cf7c13228 Refactor code to comply with credo suggestions
8 years ago
Roger Braun e8882ab3da Merge branch 'develop' into feature/incoming_ostatus
8 years ago