Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-15 | Connection Pool: register workers using :via | rinpatch | |
2020-07-15 | Connection pool: Fix race conditions in limit enforcement | rinpatch | |
Fixes race conditions in limit enforcement by putting worker processes in a DynamicSupervisor | |||
2020-07-15 | Connection pool: check that there actually is a result | rinpatch | |
Sometimes connections died before being released to the pool, resulting in MatchErrors | |||
2020-07-15 | Connection Pool: don't enforce pool limits if no new connection needs to be ↵ | rinpatch | |
opened | |||
2020-07-15 | Refactor gun pooling and simplify adapter option insertion | rinpatch | |
This patch refactors gun pooling to use Elixir process registry and simplifies adapter option insertion. Having the pool use process registry instead of a GenServer has a number of advantages: - Simpler code: the initial implementation adds about half the lines of code it deletes - Concurrency: unlike a GenServer, ETS-based registry can handle multiple checkout/checkin requests at the same time - Precise and easy idle connection clousure: current proposal for closing idle connections in the GenServer-based pool needs to filter through all connections once a minute and compare their last active time with closing time. With Elixir process registry this can be done by just using `Process.send_after`/`Process.cancel_timer` in the worker process. - Lower memory footprint: In my tests `gun-memory-leak` branch uses about 290mb on peak load (250 connections) and 235mb on idle (5-10 connections). Registry-based pool uses 210mb on idle and 240mb on peak load | |||
2020-07-15 | Create Question: Add context field to create | Haelwenn (lanodan) Monnier | |
2020-07-15 | {Answer,Question}Validator: Keep both actor and attributedTo for now but ↵ | Haelwenn (lanodan) Monnier | |
sync them | |||
2020-07-15 | Fix attachments in polls | Haelwenn (lanodan) Monnier | |
2020-07-15 | Fixup for EctoType module move | Haelwenn (lanodan) Monnier | |
2020-07-15 | QuestionValidator: Use AttachmentValidator | Haelwenn (lanodan) Monnier | |
2020-07-15 | CreateGenericValidator: add expires_at | Haelwenn (lanodan) Monnier | |
2020-07-15 | SideEffects: port ones from ActivityPub.do_create and ActivityPub.insert | Haelwenn (lanodan) Monnier | |
2020-07-15 | question_validator: remove conversation field | Haelwenn (lanodan) Monnier | |
2020-07-15 | question_validator: fix for mastodon poll expiration | Haelwenn (lanodan) Monnier | |
Mastodon activities do not have a "closed" field, this could be seen on https://pouet.it/users/lanodan_tmp/statuses/104345126997708380 which runs Mastodon 3.1.4 (SDF runs 3.1.2) | |||
2020-07-15 | create_question_validator: remove validate_recipients_match | Haelwenn (lanodan) Monnier | |
2020-07-15 | fetcher: Reinject Question through validator | Haelwenn (lanodan) Monnier | |
2020-07-15 | fetcher: more descriptive variable names | Haelwenn (lanodan) Monnier | |
2020-07-15 | Fix multiple-choice poll detection | Haelwenn (lanodan) Monnier | |
2020-07-15 | transmogrifier_test: test date, anyOf and oneOf completely | Haelwenn (lanodan) Monnier | |
2020-07-15 | QuestionOptionsValidator: inline schema for replies | Haelwenn (lanodan) Monnier | |
2020-07-15 | AnswerValidator: Create | Haelwenn (lanodan) Monnier | |
2020-07-15 | QuestionValidator: Create | Haelwenn (lanodan) Monnier | |
2020-07-14 | Email admins when a new unapproved account is up for review | Alex Gleason | |
2020-07-14 | Merge remote-tracking branch 'upstream/develop' into by-approval | Alex Gleason | |
2020-07-14 | Add :approval_pending to User @type account_status | Alex Gleason | |
2020-07-14 | AdminAPI: Add `PATCH /api/pleroma/admin/users/approve` endpoint | Alex Gleason | |
2020-07-14 | AdminAPI: Filter users by `need_approval` | Alex Gleason | |
2020-07-14 | AdminAPI: Return `approval_pending` with users | Alex Gleason | |
2020-07-14 | Include port in host for signatures | Maksim Pechnikov | |
2020-07-14 | Lint and fix test to match new log message | Mark Felder | |
2020-07-14 | Improve error messages | Mark Felder | |
2020-07-14 | AdminAPI: Return `registration_reason` with users | Alex Gleason | |
2020-07-14 | Merge branch 'feature/1922-media-proxy-whitelist' into 'develop' | feld | |
Support for hosts with scheme in MediaProxy whitelist setting Closes #1922 See merge request pleroma/pleroma!2754 | |||
2020-07-14 | Merge branch 'fix/scrubber-recompile-warnings-as-errors' into 'develop' | feld | |
Fix in-db configuration in dev environment See merge request pleroma/pleroma!2764 | |||
2020-07-14 | Merge branch '1940-admin-token-oauthless-auth' into 'develop' | feld | |
[#1940] Reinstated OAuth-less `admin_token` authentication Closes #1940 See merge request pleroma/pleroma!2760 | |||
2020-07-14 | [#1940] Added `admin_token` param (as `admin_api_params/0`) to existing ↵ | Ivan Tashkinov | |
Admin API OpenAPI operations. | |||
2020-07-14 | Merge branch '1916-transmogrifier-skipping-oddities-in-address-fields' into ↵ | feld | |
'develop' Transmogrifier: filtering weirdness in address fields Closes #1916 See merge request pleroma/pleroma!2762 | |||
2020-07-14 | Fix in-db configuration in dev environment | rinpatch | |
Previously, in-db configuration only worked when `warnings_as_errors` was disabled because re-compiling scrubbers on application restart created a warning about module conflicts. This patch fixes that by enabling `ignore_module_conflict` option of the compiler at runtime, and enables `warnings_as_errors` in prod since there is no reason to keep it disabled anymore. | |||
2020-07-14 | MRF Policies: Return a {:reject, reason} instead of {:reject, nil} | Haelwenn (lanodan) Monnier | |
2020-07-14 | [#1940] Applied rate limit for requests with bad `admin_token`. Added doc ↵ | Ivan Tashkinov | |
warnings on `admin_token` setting. | |||
2020-07-19 | [#1940] Reinstated OAuth-less `admin_token` authentication. Refactored ↵ | Ivan Tashkinov | |
UserIsAdminPlug (freed from checking admin scopes presence). | |||
2020-07-14 | Accept `reason` in POST /api/v1/accounts and store in DB | Alex Gleason | |
2020-07-13 | Transmogrifier: filtering weirdness in address fields | = | |
2020-07-13 | Merge branch 'develop' into refactor/notification_settings | Mark Felder | |
2020-07-13 | Merge branch 'config-behaviours-runtime' into 'develop' | feld | |
Config/Docs: Expand behaviour suggestions modules at runtime Closes #1941 See merge request pleroma/pleroma!2755 | |||
2020-07-13 | Merge branch 'features/profile-fields-emojo' into 'develop' | feld | |
user: Add support for custom emojis in profile fields See merge request pleroma/pleroma!2741 | |||
2020-07-13 | Use Logger.info for {:reject, reason} | Haelwenn (lanodan) Monnier | |
2020-07-13 | Transmogrifier.fix_in_reply_to/2: Use warn for non-fatal fail to get ↵ | Haelwenn (lanodan) Monnier | |
replied-to post | |||
2020-07-13 | Merge branch '1937-renaming' into 'develop' | Haelwenn | |
ActivityPub: Don't rename a clashing nickname with the same ap id. Closes #1937 See merge request pleroma/pleroma!2748 | |||
2020-07-12 | Make a user unapproved when registering with `account_approval_required` on | Alex Gleason | |