Allow using schedule_at to post with a past date #7869

Open
mkljczk wants to merge 3 commits from mkljczk/pleroma:backwards-schedule-at into develop
Owner

i think i had a MR for this but i think that was shortly before the data loss? anyway this one's more complete by not allowing backdated posts to reply/quote others' posts and removing mentions from them

Checklist

  • Adding a changelog: In the changelog.d directory, create a file named <code>.<type>.
i think i had a MR for this but i think that was shortly before the data loss? anyway this one's more complete by not allowing backdated posts to reply/quote others' posts and removing mentions from them ### Checklist - [x] Adding a changelog: In the `changelog.d` directory, create a file named `<code>.<type>`. <!-- `<code>` can be anything, but we recommend using a more or less unique identifier to avoid collisions, such as the branch name. `<type>` can be `add`, `change`, `remove`, `fix`, `security` or `skip`. `skip` is only used if there is no user-visible change in the PR (for example, only editing comments in the code). Otherwise, choose a type that corresponds to your change. In the file, write the changelog entry. For example, if a PR adds group functionality, we can create a file named `group.add` and write `Add group functionality` in it. If one changelog entry is not enough, you may add more. But that might mean you can split it into two PRs. Only use more than one changelog entry if you really need to (for example, when one change in the code fix two different bugs, or when refactoring). -->
mkljczk force-pushed backwards-schedule-at from 2c543176df
Some checks are pending
ci/woodpecker/pr/changelog Pipeline is pending approval
ci/woodpecker/pr/lint Pipeline is pending approval
ci/woodpecker/pr/unit-testing-elixir-1.15 Pipeline is pending approval
ci/woodpecker/pr/unit-testing-elixir-1.18 Pipeline is pending approval
to 7a4571a762
All checks were successful
ci/woodpecker/pr/changelog Pipeline was successful
2026-04-07 12:03:43 +00:00
Compare
Merge branch 'develop' into backwards-schedule-at
Some checks failed
ci/woodpecker/pr/changelog Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.15 Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.18 Pipeline failed
bf03a47336
Merge branch 'develop' into backwards-schedule-at
Some checks failed
ci/woodpecker/pr/changelog Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.15 Pipeline failed
ci/woodpecker/pr/unit-testing-elixir-1.18 Pipeline failed
d5e18bdf93

Can we rather add a specific endpoint / mix task for this? This is very unintuitive behavior...

Can we rather add a specific endpoint / mix task for this? This is very unintuitive behavior...
Owner

Implementing user data restoration from backups would probably be a better UX. Especially since backups are already implemented.

Implementing user data restoration from backups would probably be a better UX. Especially since backups are already implemented.
Some checks failed
ci/woodpecker/pr/changelog Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/unit-testing-elixir-1.15 Pipeline failed
ci/woodpecker/pr/unit-testing-elixir-1.18 Pipeline failed
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u backwards-schedule-at:mkljczk-backwards-schedule-at
git switch mkljczk-backwards-schedule-at

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch develop
git merge --no-ff mkljczk-backwards-schedule-at
git switch mkljczk-backwards-schedule-at
git rebase develop
git switch develop
git merge --ff-only mkljczk-backwards-schedule-at
git switch mkljczk-backwards-schedule-at
git rebase develop
git switch develop
git merge --no-ff mkljczk-backwards-schedule-at
git switch develop
git merge --squash mkljczk-backwards-schedule-at
git switch develop
git merge --ff-only mkljczk-backwards-schedule-at
git switch develop
git merge mkljczk-backwards-schedule-at
git push origin develop
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 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
pleroma/pleroma!7869
No description provided.