History log of /plugin/structpublish/action/show.php (Results 1 – 19 of 19)
Revision Date Author Comments
# 9ab8cbae 15-Aug-2025 annda <17853330+annda@users.noreply.github.com>

�� Automatic code style fixes


# 9cc4b3d8 15-Aug-2025 Anna Dabrowska <dabrowska@cosmocode.de>

Don't hide drafts from users with edit permissions

Implements #15


# 31e730e1 29-Aug-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Code style adjustments


# b476f81d 22-Jun-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Do not pass unused variable around


# ed00f27d 22-May-2023 Andreas Gohr <andi@splitbrain.org>

register IS_PUBLISHED on our own database connection

Ideally the plugin shouldn't open it's own connection, but rely on the
main struct connection. But since our helper inherits from the struct
help

register IS_PUBLISHED on our own database connection

Ideally the plugin shouldn't open it's own connection, but rely on the
main struct connection. But since our helper inherits from the struct
helper it is treated as a different class (not as the same as struct).
So we need to ensure that our function is registered on the correct
connection.

Why this has worked before is unclear. With the devel branch of the
sqlite plugin it fails.

In the future this should be refactored correctly.

show more ...


# 98487b75 17-May-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Suppress 'old revision' message for users with no publishing permissions

Don't show the message if the viewed revision is the latest published one


# 030815a3 20-Feb-2023 Anna Dabrowska <dabrowska@cosmocode.de>

Option to override view restrictions for superusers

New config option which allows admins to view unpublished revisions even if they have no publisher rightsOption to override view restrictions for

Option to override view restrictions for superusers

New config option which allows admins to view unpublished revisions even if they have no publisher rightsOption to override view restrictions for superusers

show more ...


# 11580b0e 04-Oct-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Fix check for not yet published pages


# 6d5e23d3 26-Sep-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Respect requested revision


# 8b0ba635 15-Sep-2022 Andreas Gohr <andi@splitbrain.org>

added more docblocks and some reformatting


# 0dcf68ca 14-Sep-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Latest published revision is a Revision object


# e31c94d7 14-Sep-2022 Andreas Gohr <andi@splitbrain.org>

move all constants to their own class


# 63483f20 14-Sep-2022 Andreas Gohr <andi@splitbrain.org>

fix deny behavior when no published version is available


# dafa9812 24-Aug-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Register custom sqlite function via event


# 939e6e3c 23-Aug-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Remove obsolete helper


# 8d2065f7 23-Aug-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Cleaner access to revision data


# 40f4519b 23-Aug-2022 Anna Dabrowska <dabrowska@cosmocode.de>

Working check whether current user may see not only published revisions


# 51066f27 22-Aug-2022 Anna Dabrowska <dabrowska@cosmocode.de>

WIP Show only published revisions to users without publishing privileges


# e394901a 06-Oct-2021 Anna Dabrowska <dabrowska@cosmocode.de>

Use a regular struct schema instead of custom table