summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-12Remove stub for /api/v1/accounts/:id/identity_proofs (deprecated by Mastodon ↵marcin mikołajczak
3.5.0) Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-08Merge branch 'inactive-test' into 'develop'feld
Do not allow committing tests with a .ex extension See merge request pleroma/pleroma!4211
2024-08-08Merge branch 'follow-validator' into 'develop'lain
Do not require a cc field when validating an incoming Follow activity See merge request pleroma/pleroma!4212
2024-08-07Remove validation for cc fields on BlocksMark Felder
2024-08-07Remove validation for cc fields on Follow Accept/RejectMark Felder
2024-08-07Improve variable nameMark Felder
2024-08-07Improve the FollowValidatorMark Felder
2024-08-07Do not require a cc field when validating an incoming Follow activityMark Felder
The cc field is not required and the code was keeping the cc if it existed on an activity or replacing it with the default of an empty list when casting. If any Follow activity was received with a cc field, it would attempt to keep it. This was noticed in !4208 where we would craft Follow requests with a cc value of nil.
2024-08-07Add test for Follow objects with a ccMark Felder
2024-08-07Merge remote-tracking branch 'origin/develop' into inactive-testMark Felder
2024-08-07Merge branch 'workerhelper-fix' into 'develop'feld
Fix WebPush notifications not generating jobs See merge request pleroma/pleroma!4210
2024-08-07Do not allow committing tests with a .ex extensionMark Felder
2024-08-07Update changelogMark Felder
2024-08-07Fix WebPush notifications not generating jobsMark Felder
Dialyzer pointed this one out. The WorkerHelper removal in !4166 was missing this Oban.insert() and tests were not noticing any problems because we mocked the Push.send function instead of executing it and checking for the Oban job.
2024-08-07Merge branch 'commonapi-consistency' into 'develop'feld
Fix CommonAPI.follow/2 return values order See merge request pleroma/pleroma!4209
2024-08-07Fix CommonAPI.follow/2 which returned users in the reverse order they were ↵Mark Felder
provided to the function
2024-08-07Merge branch 'stream-follow-relationships-count' into 'develop'feld
StreamerView: Do not leak follows count if hidden See merge request pleroma/pleroma!4205
2024-08-07Merge branch 'stream-follow-relationships-count' into developMark Felder
2024-08-07Tests to confirm wanted behaviorMark Felder
2024-08-07Improve the variable namingMark Felder
2024-08-07Merge branch 'remove/workerhelper' into 'develop'feld
Remove WorkerHelper See merge request pleroma/pleroma!4166
2024-08-07Extract the logic from the mapMark Felder
2024-08-06Merge branch 'publisher-cc-fix' into 'develop'feld
Fix follow requests which get stuck pending See merge request pleroma/pleroma!4208
2024-08-06CredoMark Felder
2024-08-06Remove unused mocksMark Felder
2024-08-06ChangelogMark Felder
2024-08-06Use a struct to hold the prepared data passed to publish_one/1Mark Felder
2024-08-06Force cc to an empty list if undefinedMark Felder
2024-08-06Test that cc on a published Follow is an empty listMark Felder
2024-08-06Test Factory: ensure remote users have a valid inboxMark Felder
Without a valid inbox we can't generate the publish_one Oban jobs
2024-08-06Remove test, logic was flawedMark Felder
Before splitting the publish_one/1 function into two parts for testing purposes we had logic that checked the keys of params for :unreachable_since and if it was absent it did not set the instance as reachable. There is also a test to validate that when unreachable_since is nil, we set it as reachable. However the default value of :unreachable_since when an instance is reachable is nil. The test appears to be testing a scenario that does not exist in the real world, and with this refactor we will always have an :unreachable_since key. We were attempting to update the reachability upon every successful federation because we always include it when we generate the publish_one jobs.
2024-08-06Split Federator.publish_one/1 into a second function called prepare_one/1Mark Felder
2024-08-06Use the normal Oban test assertionsMark Felder
2024-08-05Merge branch 'get-statuses-param' into 'develop'Haelwenn
Support `id` param in `GET /api/v1/statuses` See merge request pleroma/pleroma!4204
2024-08-04StreamerView: Do not leak follows count if hiddenmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-03Support `id` param in `GET /api/v1/statuses`marcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-08-02Merge branch 'gun/snooze' into 'develop'feld
Gun: Publisher job behavior improvement See merge request pleroma/pleroma!4202
2024-08-02Gun: Publisher job behavior improvementMark Felder
Gun's connection pool also returns an error if duplicate workers are launched simultaneously. Snooze on this error as well, and lower the snooze to 3 seconds with the optimism that the connection will still be open by then and the delivery can be completed quickly. The original setting of 30 seconds is pretty high and means there's an unnatural lag between deliveries of activities destined to the same server that were created at nearly the same time. This configuration should be more efficient.
2024-08-02Merge branch 'stable' into 'develop'lain
Stable See merge request pleroma/pleroma!4201
2024-08-01Merge branch 'release/2.7.0' into 'stable'lain
v2.7.0 See merge request pleroma/pleroma!4179
2024-08-01Mix: Update version to 2.7.0Lain Soykaf
2024-08-01Frontend: Update to 2.7.0Lain Soykaf
2024-08-01Prepare changelogLain Soykaf
2024-07-31Merge branch 'fix/disclose_client' into 'develop'feld
Fix User.disclose_client never working correctly See merge request pleroma/pleroma!4199
2024-07-31Fix User.disclose_client never working correctlyMark Felder
Our test environment cheats by constructing a conn with a custom oauth_access/2 function. This assigns a :token to the conn but due to the way it is constructed it has the :user preloaded. When the OAuth Plug fetches a token it does not preload the user, so the check for user.disclose_client was always nil and assumed to be false. Preloading the :user ensures the test environment matches reality.
2024-07-30Merge branch 'fix-migration' into 'develop'feld
Fix publisher job migration error See merge request pleroma/pleroma!4198
2024-07-30Fix publisher job migration errorMark Felder
2024-07-30Update changelogMark Felder
2024-07-30Remove :workers config from ConfigDBMark Felder
2024-07-30Remove WorkerHelperMark Felder