aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2019-09-13Emoji: Add function to detect if a character is an emojilain
2019-09-12Merge branch 'fix/error-log-double-quotes' into 'develop'Haelwenn
Fix double quotes in error logs See merge request pleroma/pleroma!1656
2019-09-12Parse http signature for request to objects/activitiesrinpatch
2019-09-12Merge branch 'develop' into test/activity_pub/transmogrifier.exMaksim Pechnikov
2019-09-12Put the cache with the right key when using a tracking functionrinpatch
2019-09-12Track object/create activity fetchesrinpatch
2019-09-12Transmogrifier: Strip internal emoji reaction fields.lain
2019-09-12PleromaAPIController: Add endpoint to fetch emoji reactions.lain
2019-09-12added test for OstatusMaksim Pechnikov
2019-09-11Fix double quotes in error logsMark Felder
Example: pleroma: [error] Couldn't fetch ""https://pleroma.soykaf.com/objects/6288a14b-0623-40fc-a26a-0d358f8a11ca"", error: nil
2019-09-11added testsMaksim Pechnikov
2019-09-11Use Jason for rendering responsesrinpatch
Although Jason readme says Phoenix 1.4+ already does it by default, [it actually does it only for new projects](https://github.com/phoenixframework/phoenix/blob/3bfb9f6e900c9a2e31cb95736e2cb5bdad329b61/lib/phoenix.ex#L58-L59)
2019-09-11Merge branch 'patch-5' into 'develop'Haelwenn
Mastodon API: URI encode hashtag name in generated URLs See merge request pleroma/pleroma!1642
2019-09-11Merge branch 'fix/oom-parallel-rendering' into 'develop'lain
Revert "Parallelize template rendering" See merge request pleroma/pleroma!1654
2019-09-11Add extended benchmarkrinpatch
2019-09-11refactoringAlex S
2019-09-11little refactorAlex S
2019-09-11some changesAlex S
2019-09-11little fixAlex S
2019-09-11don't add behaviour to suggestionsAlex S
2019-09-11little fixAlex S
2019-09-11typo fixAlex S
2019-09-11some changesAlex S
2019-09-11fixAlex S
2019-09-11expanding regex sigils to use modifiersAlex S
2019-09-11mix docs generates config.mdAlex S
2019-09-11description formattersAlex S
2019-09-11added testsMaksim Pechnikov
2019-09-10Revert "Parallelize template rendering"rinpatch
This reverts commit 1ad71592adb47762287aec8c36d0fca565c38362. Since it had no limit on the number on concurrent processes it OOM killed instances while rendering hellthreads. When I tried introducing a concurrency limit with Task.async_stream/manual folds it lead to about 3 times worse performance on threads larger than 1000 activities (we are talking 30s vs 1.2 minutes), I think this is not worth the about 1.5 times performance increase on smaller threads when using it.
2019-09-10added tests /activity_pub/transmogrifier.exMaksim Pechnikov
2019-09-10Add an endpoint to get multiple statuses by IDsEgor Kislitsyn
2019-09-10Merge branch 'develop' into feature/moderation-log-filtersMaxim Filippov
2019-09-09Add Pleroma.Plugs.Cacheminibikini
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-08[#1234] Mastodon 2.4.3 hierarchical scopes initial support (WIP).Ivan Tashkinov
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-07Merge branch 'develop' into issue/1218Maksim Pechnikov
2019-09-07Merge branch 'develop' into support/testsMaksim Pechnikov
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-06tests for mastodon_api_controller.exMaksim Pechnikov
2019-09-06generating remote usersAlex S
2019-09-06docs fixesAlex S
2019-09-06Merge branch 'develop' into issue/1218Maksim Pechnikov
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'