Skip to content

Releases: Academic-Labbook/alp

Academic Labbook Plugin 0.22.0

15 Dec 16:09
Compare
Choose a tag to compare
Pre-release

Eleventh preview release of Academic Labbook Plugin for WordPress.

With this release, the minimum WordPress and PHP versions required to run this plugin has changed. Before upgrading this plugin, ensure you have upgraded WordPress core to at least version 5.6, and PHP to at least 7.1.

The application passwords feature has been removed from ALP in favour of the new built-in application passwords in WordPress 5.6. Users who use this feature will have to regenerate passwords using their Profile admin screen.

For installation instructions, see here.

It is highly recommended to use the Labbook theme - it fully enables most of the features provided by this plugin.

Changes since last release

0.22.0

  • WordPress 5.6 and PHP 7.1 now required.
  • Removed application passwords feature provided by ALP in favour of new core application passwords feature. Users using application passwords will now have to regenerate them going to their own user page in the admin area. Note that this removal was planned as listed in the "Development plans in the context of WordPress upgrades" section of the project README file.
  • Set default image and gallery image links in the block editor to the corresponding files now that this is finally supported. Note that this feature only becomes visible with WordPress 5.6.
  • Change use of wp_localize_script to wp_add_inline_script.
  • "Unread Posts" admin bar menu item is now only shown on the front end.
  • PHP4 style int typecasts replaced with PHP5+ equivalents.
  • Changed users widget to use URLs conforming to the site's current permalink setting.
  • Block editor social blocks re-blacklisted after upstream changes enabled them.

Academic Labbook Plugin 0.21.0

06 Sep 13:47
Compare
Choose a tag to compare
Pre-release

Tenth preview release of Academic Labbook Plugin for WordPress.

With this release, the minimum WordPress version required to run this plugin has changed. Before upgrading this plugin, ensure you have upgraded WordPress core to at least version 5.5.

For installation instructions, see here.

It is highly recommended to use the Labbook theme - it fully enables most of the features provided by this plugin.

Changes since last release

0.21.0

  • Renamed deprecated function and hook calls to reflect changes in core.
  • Inventory can now be hierarchical and use the post children block.
  • Remove ability in REST API to view other users' post read flags (this was never used by the front end).

Academic Labbook Plugin 0.20.2

15 Jun 14:23
Compare
Choose a tag to compare
Pre-release

Ninth preview release of Academic Labbook Plugin for WordPress.

For installation instructions, see here.

It is highly recommended to use the Labbook theme - it fully enables most of the features provided by this plugin.

Changes since last release

0.20.2

  • Rebuild coauthors tool now removes coauthor terms for users who no longer exist on the site.
  • Updated some URLs pointing to https://alp.attackllama.com/.

0.20.1

  • Added extra check when adding Unread Posts button to admin bar.
  • Used better hook for adding Unread Posts to admin bar.
  • Various bug fixes:
    • Null check for terms in update_coauthor_term; occasionally we've seen the term doesn't exist.
    • Null check for when an old revision has been deleted.
    • Check that ALP is active on blogs when adding coauthor terms on login when ALP is installed in a network but not network active.
    • Stop CSS revisions appearing in the Recent Revisions widget.

Academic Labbook Plugin 0.20.0

27 May 10:18
Compare
Choose a tag to compare
Pre-release

Eighth preview release of Academic Labbook Plugin for WordPress.

For installation instructions, see here.

It is highly recommended to use the Labbook theme - it fully enables most of the features provided by this plugin.

Changes since last release

0.20.0

  • Fixed bug with terms on login. When logging in, users of blogs would have their coauthor term added to the primary blog (usually site ID 1) because of the hook 'check_coauthor_term_on_login' which creates the coauthor term if it doesn't exist. This meant that users of secondary blogs who were not users of the primary blog would still be available for selection as authors on the new post screen of the primary blog. They would not however save correctly because the users were not members of that blog; they would be silently discard. This change fixes the creation of the coauthor terms to only create terms on the blogs the user is a member of.

    Existing sites running ALP may still have these terms, however. The rebuild coauthor tool will later be updated to delete terms of users who are not members of the blog.

  • Fixed potential bug by not now checking post authors are consistent on newly created auto-drafts.

  • Added ability to hide revisions on post page and header. This requires the latest release of the Labbook theme (1.2.0).

0.19.1

  • Fixed an issue with creation of coauthor terms during a WordPress import.

Academic Labbook Plugin 0.19.0

11 Mar 20:30
Compare
Choose a tag to compare
Pre-release

Seventh preview release of Academic Labbook Plugin for WordPress.

For installation instructions, see here.

It is highly recommended to use the Labbook theme - it fully enables most of the features provided by this plugin.

Changes since last release

0.19.0

  • Removed the manual WP_Query SQL modifications for including coauthors in search results, and replaced with a parameter based search. Due to this functionality not being identical, other changes were made to restore original functionality. This is quite a major change and needs field testing.
  • Added ability to disable the display of cross-references on supported posts.
  • Updated edit summary JavaScript (just refactoring, no functionality changes).
  • Fixed bug where a link to network settings from the site settings page would be displayed to network admins where ALP is active on the site only, not network-wide.
  • Updated automatic test configuration.

Academic Labbook Plugin 0.18.0

01 Feb 14:29
Compare
Choose a tag to compare
Pre-release

Sixth preview release of Academic Labbook Plugin for WordPress.

For installation instructions, see here.

It is highly recommended to use the Labbook theme - it fully enables most of the features provided by this plugin.

Changes since last release

0.18.0

  • Fix bug with child block which appeared from 5.3.
  • Fix bug whereby media types detected by WordPress/PHP to have different media types to those specified by the network administrator were disallowed. A new setting has been added, ssl_alp_override_media_types, to control whether this mode is enabled.
  • Fix bug with hanging coauthor rebuild.
  • Added permissions checks before displaying and allowing tools to be run (in addition to the usual check for manage_options before displaying the tools page). This prevents non-super admins on network installations from running coauthor and cross-reference rebuild tools.
  • Gracefully handle situations with admin revision tables when revision changes cannot be determined.
  • Added a note to the readme about application passwords potentially becoming available in core and therefore being liable for future removal.
  • Updated tools page notices.
  • Other minor tweaks.

Academic Labbook Plugin 0.17.2

30 Oct 20:55
Compare
Choose a tag to compare
Pre-release

Hotfix release to fix a critical bug. See 0.17.0 for the main release notes, but install the zip located here.

Academic Labbook Plugin 0.17.1

01 Oct 18:28
Compare
Choose a tag to compare
Pre-release

Hotfix release to fix a regression added in the last release. See 0.17.0 for the main release notes, but install the zip located here.

Academic Labbook Plugin 0.17.0

30 Sep 20:19
Compare
Choose a tag to compare
Pre-release

Note: this version contained a small bug which has been fixed in a hotfix. Please use that release instead.

Fifth preview release of Academic Labbook Plugin for WordPress.

For installation instructions, see here.

It is highly recommended to use the Labbook theme - it fully enables most of the features provided by this plugin.

Changes since last release

0.17.0

  • Added page children block.
  • Added setting to hide social embed blocks from editor.
  • Fixed revision date timezone issue.
  • Fixed incorrectly named TeX block properties.
  • Fixed bug when previewing an inventory item.
  • Split Labbook theme into a separate repository.

Academic Labbook Plugin 0.16.0

12 Aug 20:30
Compare
Choose a tag to compare
Pre-release

Fourth preview release of Academic Labbook Plugin for WordPress. This change requires manual queries to update old installations. See the update procedure below.

For installation instructions, see here.

It is highly recommended to use the Labbook theme - it fully enables most of the features provided by this plugin.

Update procedure

Some taxonomies added to WordPress by ALP have been renamed. This means any terms created before installing this update will have the old taxonomy assigned to them, and will therefore not appear on the site in the correct places. To fix this, some simple database queries must be run against tables in each blog on network sites or against single sites, and the permalink structures must be refreshed. This is easiest to achieve with WP-CLI.

Here are the commands to run on a network installation (assuming BASH):

wp db query "UPDATE wp_term_taxonomy SET taxonomy = 'ssl-alp-coauthor' WHERE taxonomy = 'ssl_alp_coauthor';"
wp site list --field=blog_id | xargs -n1 -I % wp db query "UPDATE wp_%_term_taxonomy SET taxonomy = 'ssl-alp-coauthor' WHERE taxonomy = 'ssl_alp_coauthor';"
wp db query "UPDATE wp_term_taxonomy SET taxonomy = 'ssl-alp-crossreference' WHERE taxonomy = 'ssl_alp_crossreference';"
wp site list --field=blog_id | xargs -n1 -I % wp db query "UPDATE wp_%_term_taxonomy SET taxonomy = 'ssl-alp-crossreference' WHERE taxonomy = 'ssl_alp_crossreference';"
wp db query "UPDATE wp_term_taxonomy SET taxonomy = 'ssl-alp-unread-flag' WHERE taxonomy = 'ssl_alp_unread_flag';"
wp site list --field=blog_id | xargs -n1 -I % wp db query "UPDATE wp_%_term_taxonomy SET taxonomy = 'ssl-alp-unread-flag' WHERE taxonomy = 'ssl_alp_unread_flag';"
wp site list --field=url | xargs -n1 -I % wp --url=% rewrite flush

These commands first update the default network blog, then each individual blog in turn. Some commands will report errors that tables don't exist - this is fine, nothing bad happens (explanation: it's because the table wp_1_term_taxonomy doesn't exist; this would normally belong to the default blog but this instead uses wp_term_taxonomy). The last command flushes the rewrite rules to allow pretty permalinks to work again.

For single installations, the commands to run are (assuming BASH):

wp db query "UPDATE wp_term_taxonomy SET taxonomy = 'ssl-alp-coauthor' WHERE taxonomy = 'ssl_alp_coauthor';"
wp db query "UPDATE wp_term_taxonomy SET taxonomy = 'ssl-alp-crossreference' WHERE taxonomy = 'ssl_alp_crossreference';"
wp db query "UPDATE wp_term_taxonomy SET taxonomy = 'ssl-alp-unread-flag' WHERE taxonomy = 'ssl_alp_unread_flag';"
wp rewrite flush

For servers without BASH, adapt the xargs syntax as necessary, or run the queries manually.

Changes since last release

0.16.0

  • Renamed taxonomy term names. This is a BREAKING change - see above.
  • Added inventory system.
  • Changed post revisions widget to show only posts with line changes.
  • Changed post revision widget to use transients instead of cache; default
    update time set to 5 minutes.
  • Added check to remove "Uncategorised" category from posts with at least one
    other category.
  • Added check to avoid referenced posts which cannot be read by user from
    showing in the cross-references list.
  • Simplified permission checks when editing custom taxonomy terms.
  • Updated KaTeX to 0.10.2.
  • Fixed bug with coauthors not being assigned to posts on sites with existing
    posts.
  • Fixed bug with unread posts list pagination.
  • Added tool to detect pretty permalink status.
  • Expanded admin documentation.
  • Numerous minor bug fixes.