summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-22update descriptionMaksim Pechnikov
2020-07-22added testsMaksim Pechnikov
2020-07-21added welcome emailMaksim Pechnikov
2020-07-20Merge branch 'patch-1' into 'develop'Haelwenn
fix markdown rendering withing <details>; typo parent**s**_visible See merge request pleroma/pleroma!2781
2020-07-20fix markdown rendering withing <details>; typo parent**s**_visibleDym Sohin
2020-07-18Merge branch 'fix/followredirects-hackney' into 'develop'feld
Don't enable Pleroma.HTTP.Middleware.FollowRedirects unless Gun is used Closes #1966 and #1961 See merge request pleroma/pleroma!2778
2020-07-18Don't enable Pleroma.HTTP.Middleware.FollowRedirects unless Gun is usedhref
2020-07-17Merge branch 'fix-1958' into 'develop'Haelwenn
OpenAPI: Add :id to follower/following endpoints, fixes #1958 Closes #1958 See merge request pleroma/pleroma!2772
2020-07-17OpenAPI: Add :id to follower/following endpoints, fixes #1958Alex Gleason
2020-07-17Merge branch 'feature/expose-post-formats' into 'develop'Haelwenn
Expose the post formats in /api/v1/instance See merge request pleroma/pleroma!2776
2020-07-17Expose the post formats in /api/v1/instanceMark Felder
2020-07-17Merge branch 'feature/totp-input-improvements' into 'develop'feld
Improve TOTP token and recovery input fields in OAuth login See merge request pleroma/pleroma!2769
2020-07-17TOTP length is configurable, so we can't hardcode this here.Mark Felder
2020-07-17Merge branch 'chore/issue-template-remove-tasks' into 'develop'rinpatch
Bug issue template: remove choice in "Installation type" See merge request pleroma/pleroma!2774
2020-07-17Bug issue template: remove choice in "Installation type"rinpatch
It made gitlab display "1 of 2 tasks completed" when one is chosen, which is totally not what this was used for.
2020-07-16Improve TOTP token and recovery input fields in OAuth loginMark Felder
2020-07-15Merge branch 'refactor/gun-pool-registry' into 'develop'feld
Refactor gun pooling and simplify adapter option insertion Closes #1834, #1700, and #1680 See merge request pleroma/pleroma!2479
2020-07-15Merge branch 'develop' into refactor/gun-pool-registryMark Felder
2020-07-15Merge branch 'refactor/notification_settings' into 'develop'feld
Refactor notification settings See merge request pleroma/pleroma!2602
2020-07-15Update FE bundleMark Felder
2020-07-15Merge branch 'develop' into refactor/notification_settingsMark Felder
2020-07-15Merge branch 'features/mrf-reasons' into 'develop'rinpatch
Add rejection reason to our MRFs See merge request pleroma/pleroma!2759
2020-07-15Merge branch 'fix/oban-pruning' into 'develop'rinpatch
Bring back oban job pruning Closes #1945 See merge request pleroma/pleroma!2768
2020-07-15Merge branch 'issue/sign-authority' into 'develop'feld
Include port in host for signatures See merge request pleroma/pleroma!2766
2020-07-15MastoAPI: fix & test giving MRF reject reasonsHaelwenn (lanodan) Monnier
2020-07-15Bring back oban job pruningrinpatch
Closes #1945
2020-07-15ConnectionPool.Worker: do not stop with an error when there is a timeoutrinpatch
This produced error log messages about GenServer termination every time the connection was not open due to a timeout. Instead we stop with `{:shutdown, <gun_error>}` since shutting down when the connection can't be established is normal behavior.
2020-07-15Merge branch 'develop' into issue/sign-authorityMaksim Pechnikov
2020-07-15Set a default timeout for Gun adapter timeouthref
2020-07-15Don't test tls_options in adapter helper test.href
2020-07-15host is now uselesshref
2020-07-15Simplify TLS optshref
- `verify_fun` is not useful now - use `customize_check_hostname` (OTP 20+ so OK) - `partial_chain` is useless as of OTP 21.1 (wasn't there, but hackney/.. uses it)
2020-07-15Go back to upstream Teslahref
2020-07-15Bump gunhref
2020-07-15parentheses...href
2020-07-15Fix race in enforcer/reclaimer starthref
2020-07-15Ensure connections error get known by the callerhref
2020-07-15ConnectionPool.Worker: Open gun conn in continue instead of inithref
2020-07-15config.exs: set gun retries to 0rinpatch
The new pooling code just removes the connection when it's down, there is no need to reconnect a connection that is just sitting idle, better just open a new one next time it's needed
2020-07-15Connection Pool: fix LRFU implementation to not actually be LRUrinpatch
The numbers of the native time unit were so small the CRF was always 1, making it an LRU. This commit switches the time to miliseconds and changes the time delta multiplier to the one yielding mostly highest hit rates according to the paper
2020-07-15Request limiter setup: consider {:error, :existing} a successrinpatch
When the application restarts (which happens after certain config changes), the limiters are not destroyed, so `ConcurrentLimiter.new` will produce {:error, :existing}
2020-07-15FollowRedirects: Unconditionally release the connection if there is an errorrinpatch
There is no need for streaming the body if there is no body
2020-07-15config.exs: make gun the default againrinpatch
2020-07-15Gun adapter helper: fix wildcard cert issues on OTP 23rinpatch
See https://bugs.erlang.org/browse/ERL-1260 for more info. The ssl match function is basically copied from mint, except that `:string.lowercase/1` was replaced by `:string.casefold`. It was a TODO in mint's code, so might as well do it since we don't need to support OTP <20. Closes #1834
2020-07-15Add documentation for new connection pool settings and remove somerinpatch
`:retry_timeout` and `:retry` got removed because reconnecting on failure is something the new pool intentionally doesn't do. `:max_overflow` had to go in favor of `:max_waiting`, I didn't reuse the key because the settings are very different in their behaviour. `:checkin_timeout` got removed in favor of `:connection_acquisition_wait`, I didn't reuse the key because the settings are somewhat different. I didn't do any migrations/deprecation warnings/changelog entries because these settings were never in stable.
2020-07-15Use erlang monotonic time for CRF calculationrinpatch
2020-07-15Adapter Helper: Use built-in ip address typerinpatch
2020-07-15Connection Pool: add testsrinpatch
2020-07-15Remove tests for old poolrinpatch
2020-07-15HTTP: Implement max request limitsrinpatch