Skip to content

[stable32] fix(dev): fix high-severity prose and code errors in developer manual - #14694

Merged
skjnldsv merged 12 commits into
stable32from
backport/14619/stable32
May 1, 2026
Merged

[stable32] fix(dev): fix high-severity prose and code errors in developer manual#14694
skjnldsv merged 12 commits into
stable32from
backport/14619/stable32

Conversation

@backportbot

@backportbot backportbot Bot commented May 1, 2026

Copy link
Copy Markdown

Backport of #14619

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Remove all the empty commits
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

miaulalala added 11 commits May 1, 2026 14:32
AI-Assisted-By: claude-sonnet-4-6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
AI-Assisted-By: claude-sonnet-4-6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
AngularJS reached end-of-life in December 2021. Nextcloud uses Vue.js.

AI-Assisted-By: claude-sonnet-4-6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
Code block was labelled "javascript" but contains PHP syntax.

AI-Assisted-By: claude-sonnet-4-6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
PHP constructors are __construct(), not __constructor().

AI-Assisted-By: claude-sonnet-4-6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
AI-Assisted-By: claude-sonnet-4-6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
registerService() used AuthorMappers::class (plural) but the class
is AuthorMapper::class.

AI-Assisted-By: claude-sonnet-4-6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
AI-Assisted-By: claude-sonnet-4-6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
Event was described as triggered when a user "deletes" a subscription,
but the event name and its sibling SubscriptionDeletedEvent make clear
it fires on updates.

AI-Assisted-By: claude-sonnet-4-6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
Correct spelling is NoCSRFRequired (CSRF, not CRSF).

AI-Assisted-By: claude-sonnet-4-6 <noreply@anthropic.com>
Signed-off-by: Anna Larch <anna@nextcloud.com>
…xamples

fix(dev): fix missing closing parenthesis in reference.rst template examples

{{ t('myapp', 'Title' }} and {{ t('myapp', 'Extra info' }} were both

missing the closing ) before }}.

AI-Assisted-By: claude-sonnet-4-6 <noreply@anthropic.com>

Signed-off-by: Anna Larch <anna@nextcloud.com>

[skip ci]
@skjnldsv

skjnldsv commented May 1, 2026

Copy link
Copy Markdown
Member

@copilot fix this partial backport based on the original PR.

@skjnldsv
skjnldsv marked this pull request as ready for review May 1, 2026 14:51
- Resolve conflict in dependency_injection.rst: accept stable32's major
  rewrite which already has the correct AuthorMapper::class references
  and also fixes new AuthorService -> AuthorMapper constructor bug
- Accept backgroundjobs.rst auto-merge: incorporates stable32's fix for
  'time minimum time' redundancy while keeping our semicolon fix
- Also fix missing semicolon in new backgroundjobs.rst Scheduling section
  added by stable32 (same PHP property declaration bug)

Signed-off-by: Anna Larch <anna@nextcloud.com>

Co-authored-by: skjnldsv <14975046+skjnldsv@users.noreply.github.com>

Copilot AI commented May 1, 2026

Copy link
Copy Markdown
Contributor

@copilot fix this partial backport based on the original PR.

Done in commit 302b783.

Here's what was completed:

Merge with stable32 (302b783): The base branch had moved forward with significant changes to dependency_injection.rst (full rewrite, already fixing AuthorMapper::class) and backgroundjobs.rst (redundant "time" fix). Merged those in and resolved the conflict by accepting stable32's rewrite of dependency_injection.rst.

Extra fix surfaced by merge: The new Scheduling code example added to backgroundjobs.rst in stable32 had the same missing-semicolon bug — fixed that too.

Changes not applicable to stable32: Two commits remain intentionally empty (controllers.rst typing/pastig fix and rest_apis.rst NoCRSFRequired fix) — those sections simply don't exist in the stable32 version of those files.

All 8 applicable fixes from #14619 are present in the final diff vs stable32.

@skjnldsv
skjnldsv enabled auto-merge May 1, 2026 14:59
@skjnldsv
skjnldsv merged commit 160d64e into stable32 May 1, 2026
15 checks passed
@skjnldsv
skjnldsv deleted the backport/14619/stable32 branch May 1, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants