summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2019-09-09Merge branch 'fix/read-inbox' into 'develop'feld
Fix `ActivityPubController.read_inbox/2` Closes #1248 See merge request pleroma/pleroma!1649
2019-09-10Fix `ActivityPubController.read_inbox/2`Egor Kislitsyn
2019-09-08Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queueIvan Tashkinov
2019-09-07Mastodon API: URI encode hashtag name in generated URLsshadowfacts
Otherwise hashtags with word characters other than those allowed in URLs (e.g. Japanese characters) produce hashtag URLs that are invalid.
2019-09-06activity: when restricting deactivated users, precalculate the user listAriadne Conill
the PostgreSQL query planner is easily confused due to the complexity of certain queries we make. while we plan to simplify these queries through unification of activities and objects, we are not yet there. it has been discovered that using a precalculated list of deactivated users encourages the query planner to prefer simpler indices instead of the activity_visibility index. accordingly, drop the subquery and precalc the user list instead.
2019-09-06activitypub: help ecto build a better query for thread mute filteringAriadne Conill
using an indexed value in thread_mute table helps ecto build a better query.
2019-09-06[#1149] Merge remote-tracking branch 'remotes/upstream/develop' into ↵Ivan Tashkinov
1149-oban-job-queue # Conflicts: # test/web/twitter_api/twitter_api_controller_test.exs
2019-09-06Refactor `add_link_headers/7` -> `add_link_headers/3`Egor Kislitsyn
2019-09-06Merge branch 'so-long-twitterapi' into 'develop'rinpatch
Removing TwitterAPI See merge request pleroma/pleroma!1605
2019-09-05Call TrailingFormatPlug for /api/pleroma/emojirinpatch
Apparently Pleroma-FE still calls it with trailing '.json'
2019-09-05Merge branch 'feature/mastoapi-accounts-external' into 'develop'Haelwenn
Mastdon API: Add ability to get a remote account by nickname to `/api/v1/accounts/:id` See merge request pleroma/pleroma!1622
2019-09-05Move checking for restrict_local to User.get_cached_by_id_or_nicknamerinpatch
2019-09-05Mastodon API Poll view: Fix handling of polls without an end daterinpatch
2019-09-05Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queueIvan Tashkinov
2019-09-05Merge branch 'fix/safe-render-notifications' into 'develop'rinpatch
Do not crash if one notification failed to render See merge request pleroma/pleroma!1630
2019-09-05Do not crash if one notification failed to renderrinpatch
2019-09-04don't try to truncate non-stringsSadposter
2019-09-04truncate remote user bio/display nameSadposter
2019-09-04Mastodon API: Add `pleroma.thread_muted` to Status entityrinpatch
Needed for pleroma-fe!941
2019-09-04Apply suggestion to lib/pleroma/notification.exrinpatch
2019-09-04Extend `/api/pleroma/notifications/read` to mark multiple notificationsrinpatch
as read and make it respond with Mastoapi entities
2019-09-03Mastdon API: Add ability to get a remote account by nickname torinpatch
`/api/v1/accounts/:id`
2019-09-03[#1149] Merge remote-tracking branch 'remotes/upstream/develop' into ↵Ivan Tashkinov
1149-oban-job-queue # Conflicts: # CHANGELOG.md
2019-09-03Return "total" optionallyMaxim Filippov
2019-09-02Return total from pagination + testsMaxim Filippov
2019-09-02[#1149] Refactoring: GenServer workers renamed to daemons, `use Oban.Worker` ↵Ivan Tashkinov
moved to helper.
2019-09-02use atom key for fieldsSadposter
2019-09-02mix formatSadposter
2019-09-02truncate fields for remote users insteadSadposter
2019-08-31[#1149] Refactored Oban workers API (introduced `enqueue/3`).Ivan Tashkinov
2019-08-31[#1149] Addressed code review comments (code style, jobs pruning etc.).Ivan Tashkinov
2019-08-31[#1149] Added Oban job for "activity_expiration". Merged remote-tracking ↵Ivan Tashkinov
branch 'remotes/upstream/develop' into 1149-oban-job-queue # Conflicts: # config/config.exs
2019-08-31credo fixesrinpatch
2019-08-31Add back /api/qvitter/statuses/notifications/read.jsonrinpatch
2019-08-31Remove TwitterAPI representersrinpatch
2019-08-31Remove Activity, User and Notification views from TwitterAPIrinpatch
2019-08-31Remove most of Pleroma.Web.TwitterAPI.TwitterAPIrinpatch
2019-08-30Fix AntiFollowbotPolicy when trying to follow a relayfeld
2019-08-28Merge branch 'fix-osada-follow' into 'develop'Haelwenn
Transmogrifier: Fix follow handling when the actor is an object. Closes #1211 See merge request pleroma/pleroma!1604
2019-08-27Merge branch 'list-controller' into 'develop'lain
Extract list actions from `MastodonAPIController` into `ListController` See merge request pleroma/pleroma!1600
2019-08-27Apply suggestion to lib/pleroma/web/activity_pub/activity_pub_controller.exMaksim
2019-08-27Transmogrifier: Use Containment.get_actor to get actors.lain
2019-08-27added tests for ActivityPub.like\unlikeMaksim Pechnikov
2019-08-27[#1149] Bugfix: Pleroma.Workers.Subscriber / "verify_websub" works with ↵Ivan Tashkinov
WebsubServerSubscription.
2019-08-27Remove most of TwitterAPIControllerrinpatch
2019-08-26Transmogrifier: Fix follow handling when the actor is an object.lain
2019-08-26Move mastodon_api/*_controller.ex to mastodon_api/controllers/Egor Kislitsyn
2019-08-26Extract MastodonAPIController's list actions into ↵Egor Kislitsyn
MastodonAPI.ListController; Add more tests
2019-08-26Extract MastodonAPI.MastodonAPIController.errors/2 to ↵Egor Kislitsyn
MastodonAPI.FallbackController
2019-08-26Add validation in Pleroma.List.create/2Egor Kislitsyn