Skip to content

[pull] main from TryGhost:main - #1435

Merged
pull[bot] merged 7 commits into
code:mainfrom
TryGhost:main
Aug 21, 2026
Merged

pull[bot] merged 7 commits into
code:mainfrom
TryGhost:main

Conversation

@pull

@pull pull Bot commented Aug 21, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

no ref

*I recommend reviewing this change one commit at a time.*

This change:

- Adds unit tests for TOTP helpers
- Converts TOTP generator to TypeScript
- Renames "OTP" to "TOTP" (to disambiguate with "HOTP")
- Avoids overwriting global options

This should have no user impact.
no ref

This should have no user impact.

The `sequence` export from `@tryghost/promise` can be replaced with
simple `await`s and loops. This brings us closer to removing the
package.
no ref

`bulkDestroyWhere` was exported from a Bookshelf plugin, but only called
in once place. Let's simply inline it.

`git grep bulkDestroyWhere` returns no results after this change.
no ref

This also rewrites it in a more realistic way, instead of mocking `req`
and `res`.
@pull pull Bot locked and limited conversation to collaborators Aug 21, 2026
@pull pull Bot added the ⤵️ pull label Aug 21, 2026
@pull
pull Bot merged commit 81292b0 into code:main Aug 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant