Add ability to auto-approve follow requests from followed users #674

Closed
Oneric wants to merge 0 commits from Oneric:followbacks into develop
Owner

A simple nicety feature, allowing users with follow request approvals enabled to optionally automatically approve requests from accounts the user already follows themself.
As a bonus this also includes doc and schema fixes for two unrelated pre-existing properties.

Exposing this in the frontend: AkkomaGang/akkoma-fe#365

Resolves: #148

A simple nicety feature, allowing users with follow request approvals enabled to optionally automatically approve requests from accounts the user already follows themself. As a bonus this also includes doc and schema fixes for two unrelated pre-existing properties. Exposing this in the frontend: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/365 Resolves: https://akkoma.dev/AkkomaGang/akkoma/issues/148

functionality looks good, but could you add some tests for this?

functionality looks good, but could you add some tests for this?
Oneric force-pushed followbacks from 92b1d25de3
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending
ci/woodpecker/pr/build-arm64 Pipeline is pending
ci/woodpecker/pr/docs Pipeline is pending
ci/woodpecker/pr/lint Pipeline is pending
ci/woodpecker/pr/test Pipeline is pending
to f6b2875cf5
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending
ci/woodpecker/pr/build-arm64 Pipeline is pending
ci/woodpecker/pr/docs Pipeline is pending
ci/woodpecker/pr/lint Pipeline is pending
ci/woodpecker/pr/test Pipeline is pending
2024-02-02 15:50:11 +00:00
Compare
Oneric force-pushed followbacks from f6b2875cf5
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending
ci/woodpecker/pr/build-arm64 Pipeline is pending
ci/woodpecker/pr/docs Pipeline is pending
ci/woodpecker/pr/lint Pipeline is pending
ci/woodpecker/pr/test Pipeline is pending
to 6430aad1e0
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build-amd64 Pipeline was successful
ci/woodpecker/pr/build-arm64 Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
2024-02-02 15:52:46 +00:00
Compare
Author
Owner

added two tests and applied mix format

added two tests and applied `mix format`
Oneric force-pushed followbacks from 6430aad1e0
All checks were successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/build-amd64 Pipeline was successful
ci/woodpecker/pr/build-arm64 Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
to 376f6b15ca
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending
ci/woodpecker/pr/build-arm64 Pipeline is pending
ci/woodpecker/pr/docs Pipeline is pending
ci/woodpecker/pr/lint Pipeline is pending
ci/woodpecker/pr/test Pipeline is pending
2024-02-13 14:56:28 +00:00
Compare
Author
Owner

Repushed to bump the migration ID past the one from #684 to not confuse ecto (when following develop).

If the migration was already applied and never reverted locally, it’s probably necessary to temporarily uncomment everything in the migration to successfully "apply" it (or rollback the migration while still at the old commit, but this will reset all permit_followback settings).

Repushed to bump the migration ID past the one from #684 to not confuse ecto (when following `develop`). If the migration was already applied and never reverted locally, it’s probably necessary to temporarily uncomment everything in the migration to successfully "apply" it *(or rollback the migration while still at the old commit, but this will reset all `permit_followback` settings)*.

fixed the conflict and merged into develop via 0ed815b8a1

thanks!

fixed the conflict and merged into develop via 0ed815b8a1d011521ee44f193ec3a3573798d7ab thanks!
floatingghost closed this pull request 2024-02-16 13:28:38 +00:00
Oneric deleted branch followbacks 2024-02-16 15:18:44 +00:00
mel referenced this pull request from a commit 2024-05-15 22:36:01 +00:00
Some checks are pending
ci/woodpecker/pr/build-amd64 Pipeline is pending
ci/woodpecker/pr/build-arm64 Pipeline is pending
ci/woodpecker/pr/docs Pipeline is pending
ci/woodpecker/pr/lint Pipeline is pending
ci/woodpecker/pr/test Pipeline is pending

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AkkomaGang/akkoma!674
No description provided.