aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2020-09-06Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into ↵Mark Felder
media-preview-proxy
2020-09-05RichMedia: do not log webpages missing metadata as errorsrinpatch
Also fixes the return value of Parser.parse on errors, previously was just `:ok` due to the logger call in the end
2020-09-05ConnectionPool middleware: handle connection opening errorsrinpatch
2020-09-05ConnectionPool: fix the previous hotfixrinpatch
I rushed the hotfix and forgot how `pop_in` actually works, I want to die. We need some integration tests for the HTTP client
2020-09-05ConnectionPool middleware: fix a crash due to unimplemented behaviourrinpatch
Structs don't implement Access behaviour, so this crashed. Tests didn't catch it and I didn't test that part of the codepath. Very sorry
2020-09-05Rich Media: Do not cache URLs for preview statusesrinpatch
Closes #1987
2020-09-05[#2497] Func defs grouping fix.Ivan Tashkinov
2020-09-05[#2497] Adjusted media proxy preview invalidation. Allowed client-side ↵Ivan Tashkinov
caching for media preview. Adjusted prewarmer to fetch only proxiable URIs. Removed :preview pool in favor of existing :media one. Misc. refactoring.
2020-09-05[#2497] Made media preview proxy fall back to media proxy instead of to ↵Ivan Tashkinov
source url. Adjusted tests. Refactoring.
2020-09-05Prevent AccountView and instance.get_or_update_favicon failsHaelwenn (lanodan) Monnier
2020-09-04ConnectionPool middleware: Fix connection leak on ReverseProxy redirectsrinpatch
Requires a patched Tesla due to upstream not saving opts between redirects, patch submitted at https://github.com/teamon/tesla/pull/414
2020-09-04fix for ReverseProxyAlexander Strizhakov
2020-09-04temp hackney fixAlexander Strizhakov
2020-09-03HTTP: radically simplify pool checkin/checkoutrinpatch
Use a custom tesla middleware instead of adapter helper function + custom redirect middleware. This will also fix "Client died before releasing the connection" messages when the request pool is overloaded. Since the checkout is now done after passing ConcurrentLimiter. This is technically less efficient, since the connection needs to be checked in/out every time the middleware is left or entered respectively. But I don't think the nanoseconds we might lose on redirects to the same host are worth the complexity.
2020-09-03URL passed to helper is already MediaProxyMark Felder
Set :preview pool on the request
2020-09-03Merge branch 'media-preview-proxy' of git.pleroma.social:pleroma/pleroma ↵Mark Felder
into feld-media-preview-proxy
2020-09-03Fetch preview requests through the MediaProxy. Separate connection options ↵Mark Felder
are not needed. Use a separate pool for preview requests
2020-09-03[#2497] Added support for enforcing output format for media proxy preview, ↵Ivan Tashkinov
used for avatar_static & header_static (AccountView).
2020-09-03Merge branch 'develop' into media-preview-proxyMark Felder
2020-09-03Merge branch 'bugfix/incoming-poll-emoji' into 'develop'lain
Fix emoji in Question, force generated context/context_id insertion Closes #1870 See merge request pleroma/pleroma!2915
2020-09-03Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into ↵lain
seanking/pleroma-fix_install_fe_bug
2020-09-02Merge branch 'fix/2095-deactivated-account-reset' into 'develop'feld
Disallow password resets for deactivated accounts Closes #2095 See merge request pleroma/pleroma!2935
2020-09-02Merge branch 'fix/1991-tzdata-update' into 'develop'lain
user agent if Endpoint is not started yet Closes #1991 See merge request pleroma/pleroma!2945
2020-09-02Merge branch 'bugfix/mastoapi-lists' into 'develop'lain
Fix removing an account from a list Closes #2103 See merge request pleroma/pleroma!2940
2020-09-02ListController: DRY up stuff.lain
2020-09-02Disallow password resets for deactivated accounts.Mark Felder
Ensure all responses to password reset events are identical.
2020-09-02StatusView: Start fetching rich media cards as soon as possiblerinpatch
2020-09-02user agent if Endpoint is not started yetAlexander Strizhakov
2020-09-02Rich media: Add failure trackingrinpatch
2020-09-02html.ex: optimize external url extractionrinpatch
By using a :not() selector and only extracting attributes from the first match.
2020-09-02Merge branch 'fix/2047-rich-media-parser' into 'develop'rinpatch
RichMedia parser fix Closes #2047 See merge request pleroma/pleroma!2941
2020-09-02Merge branch 'http-fixes' into 'develop'rinpatch
Improvements and fixes for http requests See merge request pleroma/pleroma!2904
2020-09-02timeout option moved to gun adapter helperAlexander Strizhakov
2020-09-02default pool for tz_data clientAlexander Strizhakov
2020-09-02correct pool and uniform headers formatAlexander Strizhakov
2020-09-02don't overwrite passed pool option in http clientsAlexander Strizhakov
2020-09-02improvements and fixes for http requestsAlexander Strizhakov
- fix for gun worker termination in some circumstances - pool for http clients (ex_aws, tzdata) - default pool timeouts for gun - gun retries on gun_down messages - s3 upload timeout if streaming enabled
2020-09-02search: fix 'following' query parameterKarol Kosek
The parameter included the accounts that are following you (followers) instead of those you are actually following. Co-Authored-By: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-09-01[#2497] Fix for png media proxy preview response headers (content-type & ↵Ivan Tashkinov
content-disposition).
2020-09-01Fix frontend install mix task bugSean King
2020-09-01don't fail on url fetchAlexander Strizhakov
2020-09-01Fix removing an account from a listHaelwenn (lanodan) Monnier
Mastodon (Frontend) changed a different method for deletes, keeping old format as mastodon documentation is too loose
2020-09-01User table: ensure bio is always a stringrinpatch
Gets rid of '|| ""' in multiple places and fixes #2067
2020-09-01fetcher: Remove fix_object call for Question activitiesHaelwenn (lanodan) Monnier
2020-09-01common_fixes: Force inserting context and context_idHaelwenn (lanodan) Monnier
2020-09-01Add new Emoji Ecto.Type and fix emoji in QuestionHaelwenn (lanodan) Monnier
2020-09-01transmogrifier: Remove mastodon emoji-format from emoji fieldHaelwenn (lanodan) Monnier
2020-09-01application.ex: disable warnings_as_errors at runtimerinpatch
see changed files for rationale
2020-08-31Merge branch 'chat-relation-constraints' into 'develop'Haelwenn
Chats: Add cascading delete on both referenced users. See merge request pleroma/pleroma!2934
2020-08-31Chats: Add cascading delete on both referenced users.lain
Also remove the now-superfluous join in the chat controller, which was only used to filter out these cases.