Code Monkey home page Code Monkey logo

pressbooks-aldine's Introduction

Pressbooks

Contributors: Pressbooks [email protected] Tags: ebooks, publishing, webbooks Requires at least: 6.5.0 Tested up to: 6.5.0

Stable tag: 6.18.1

Requires PHP: 8.1 License: GPL v3.0 or later License URI: https://github.com/pressbooks/pressbooks/blob/production/LICENSE.md

Pressbooks is an open source book publishing tool built on a WordPress multisite platform.

Description

Packagist Current Release Packagist PHP from Packagist

Packagist Code Coverage Translate Pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS. Pressbooks is free software, released under the GPL v3.0 or later license.

Our webbooks and EPUB/PDF exports are all driven by HTML + CSS. XML outputs have no styling.

Requirements

Pressbooks works with PHP 8.1 and WordPress 6.5.0. Lower versions are not supported.

Installing the Plugin

Pressbooks is not for use on an existing blog. Instead it should be used with a fresh, multisite WordPress installation.

To install Pressbooks on your site, download the latest release and follow our installation instructions.

You may want to try Pressbooks.com before deciding whether or not you wish to host and maintain your own instance of Pressbooks. We can also host and maintain an instance of Pressbooks for you.

Contributor guidelines

Developers who are interested in contributing to our project should consult our "Contributing" guidelines and the developer guides published on our documentation website.

Disclaimers

The Pressbooks plugin is supplied "as is" and all use is at your own risk.

Changelog

Please see the CHANGELOG file for more information.

pressbooks-aldine's People

Contributors

arzola avatar cagp-dev-mtl avatar dac514 avatar dannylonglegs avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar fdalcin avatar greatislander avatar ho-man-chan avatar pressbooks-ops avatar richard015ar avatar steelwagstaff avatar transifex-integration[bot] avatar tw77 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pressbooks-aldine's Issues

Activation hooks

Prerequisites

Check the boxes below by changing them from [ ] to [x].

Description

These create required pages.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0.0-dev

Ensure regular users can access dashboard

Prerequisites

Description

See:

Steps to Reproduce

  1. Log in as regular (non-super admin) user

Expected behavior: Link to "My Books" should appear in header.

Actual behavior: No link to admin is present unless user has privileges for network root site.

System Information

Aldine: 1.0-beta.2

Add lightened and darkened foreground colours, lightened primary and accent colours

Prerequisites

Description

For links of various kinds.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0.0-rc.1

Color contrast feedback stopped working

Prerequisites

Description

I implemented this way back in bff87e3. It worked. Then, either as a result of other changes in Aldine (there have been many) or changes in WordPress 4.9, it stopped working.

See:

Steps to Reproduce

  1. Visit Customizer.
  2. Open JavaScript console.
  3. Change colors in the Colors section of the Customizer, creating a low contrast ratio between primary and primary foreground (for example).

Expected behavior: A contrast warning is displayed.

Actual behavior: The JS console outputs:

Uncaught TypeError: setting.id.match is not a function at Object.wp.customize.navMenusPreview.wp.customize.MenusCustomizerPreview.self.bindSettingListener

System Information

Aldine: 1.0-beta.2

Ensure support for OAuth registration/sign in

Prerequisites

Description

Needs testing.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0.0-beta.1

Catalog visibility fix

Prerequisites

Description

Catalog should be hidden automatically if no public books; Catalog page should not be editable.

See:

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0-beta.1

Equal height footer borders

Prerequisites

Description

The borders in the network footer should be equal heights.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0-dev

Add screenshot + description

Prerequisites

Description

As above.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0-rc.2

Catalog page: restore network admin controls, cache contents

Prerequisites

Description

As above.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0-beta.1

Migration from Publisher

Prerequisites

Description

When switching from Publisher 2.x/3.x to Aldine, we should attempt to import landing page content/customizations.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0.0-beta.1

Allow hyphens in the tiles on the calalog page

Prerequisites

Description

Allow hyphens in the tiles on the calalog page as without hyphens the text runs out of the tiles. See printscreens

hyphens-none

hyphens-auto

System Information

Book Info

Book ID: 16
Book URL: http://localhost/wordpress/pwlo00117r4/
Book Privacy: Public

Browser

Platform: OS X
Browser Name: Firefox
Browser Version: 58.0
User Agent String: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:58.0) Gecko/20100101 Firefox/58.0

WordPress Configuration

Network URL: http://localhost/wordpress/
Network Type: Subdirectory
Version: 4.9.4
Language: en_US
WP_ENV: developer
WP_DEBUG: Enabled
Memory Limit: 64M

Pressbooks Configuration

Version: 4.5.0
Book Theme: McLuhan
Book Theme Version: 2.0.0-beta.2
Root Theme: Aldine
Root Theme Version: 1.0.0-alpha.6

Pressbooks Dependencies

Epubcheck: Installed
Kindlegen: Installed
xmllint: Installed
PrinceXML: Installed
Saxon-HE: Installed

Must-Use Plugins

hm-autoloader.php: n/a

Network Active Plugins

Hypothesis: 0.5.0
Pressbooks: 5.0.0-dev

Book Active Plugins

Inactive Plugins

Server Configuration

PHP Version: 7.1.12
MySQL Version: 5.6.38
Webserver Info: Apache/2.2.34 (Unix) mod_wsgi/3.5 Python/2.7.13 PHP/7.1.12 mod_ssl/2.2.34 OpenSSL/1.0.2j DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.24.0

PHP Configuration

Safe Mode: Disabled
Memory Limit: 256M
Upload Max Size: 32M
Post Max Size: 32M
Upload Max Filesize: 32M
Time Limit: 30
Max Input Vars: 1000
URL-aware fopen: On (1)
Display Errors: On (1)

PHP Extensions

OPcache: Disabled
XDebug: Disabled
cURL: Supported
cURL Version: 7.52.1
imagick: Not Installed
xsl: Installed

Two minor issues on the main page.

Prerequisites

Check the boxes below by changing them from [ ] to [x].

Description

Two minor issues on the main page.

mainpage

System Information

Root Blog Info

Root Blog ID: 1
Root Blog URL: http://localhost/wordpress/

Browser

Platform: OS X
Browser Name: Firefox
Browser Version: 58.0
User Agent String: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:58.0) Gecko/20100101 Firefox/58.0

WordPress Configuration

Network URL: http://localhost/wordpress/
Network Type: Subdirectory
Version: 4.9.4
Language: en_US
WP_ENV: Not set
WP_DEBUG: Enabled
Memory Limit: 64M

Pressbooks Configuration

Version: 4.5.0
Root Theme: Aldine
Root Theme Version: 1.0.0-alpha.6

Pressbooks Dependencies

Epubcheck: Installed
Kindlegen: Installed
xmllint: Installed
PrinceXML: Installed
Saxon-HE: Installed

Must-Use Plugins

hm-autoloader.php: n/a

Network Active Plugins

Pressbooks: 5.0.0-dev

Root Blog Active Plugins

Inactive Plugins

Server Configuration

PHP Version: 7.1.12
MySQL Version: 5.6.38
Webserver Info: Apache/2.2.34 (Unix) mod_wsgi/3.5 Python/2.7.13 PHP/7.1.12 mod_ssl/2.2.34 OpenSSL/1.0.2j DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.24.0

PHP Configuration

Safe Mode: Disabled
Memory Limit: 256M
Upload Max Size: 32M
Post Max Size: 32M
Upload Max Filesize: 32M
Time Limit: 30
Max Input Vars: 1000
URL-aware fopen: On (1)
Display Errors: On (1)

PHP Extensions

OPcache: Disabled
XDebug: Disabled
cURL: Supported
cURL Version: 7.52.1
imagick: Not Installed
xsl: Installed

Activation routine doesn't appear to work

Prerequisites

Description

When activating Aldine on a new network, the activation routines should run and default content should be inserted. This doesn't appear to be happening.

Steps to Reproduce

As described.

System Information

Aldine: 1.0.0
Pressbooks: 5.0.0

Toggle contact form visibility from Customizer

Prerequisites

Description

As above.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0.0-rc.1

Customizer: preview logo

Prerequisites

Description

Custom logo should be previewed in the customizer.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0-dev

Apply proper styles to fallback for absent primary menu

Prerequisites

Description

When no primary menu is supplied, the wp_page_menu() output doesn’t display properly.

Steps to Reproduce

  1. Activate Aldine without a Primary Menu in place.

Expected behavior: Header menu still looks good.

Actual behavior: It does not.

System Information

Aldine: 1.0.0-alpha7-ish

Landing page

Prerequisites

Description

A home page.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0.0-dev

Pages without content leave white space at the bottom of the screen

Prerequisites

Description

Footer should always be pulled to the bottom of the window if the content height doesn't exceed the vertical height of the window.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0.0
Pressbooks: 5.0.0

Fix catalog display when contact form is disabled

Prerequisites

Description

Something is not quite right.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0-rc.1

Contact form

Prerequisites

Description

A contact form.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0.0-dev

Catalog page

Prerequisites

Description

A catalog of books.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0.0-dev

Landing page adjustments

Prerequisites

Description

  • Move title up slightly
  • Decrease space between title and subtitle
  • Move background image up a bit
  • Move initial two sections above the fold

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0-beta.1

Default content

Prerequisites

Description

We need one paragraph of content for each of the following pages, which will be created upon activation:

  • About (brief "about Pressbooks" copy, with link to learn more here or elsewhere)
  • Help (brief "how to use Pressbooks" copy, with link to here or elsewhere)

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0.0-dev

Colour scheme: harmonize with Book

Prerequisites

Description

Some colour variable names have changed. They need to be consistent for the customizer to work.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0.0-beta.1

Footer: decrease line height in menu, ensure vertically centered

Prerequisites

Description

As described.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0-beta.1

Cannot Click Links On Homepage

Prerequisites

Steps to Reproduce

  1. In Chrome, on Desktop, Go to http://pressbooks.test
  2. Click on one of [ Home Admin Sign Out ]

Expected behavior: Click works, I go to a new URL

Actual behavior: Nothing?

If I resize, or go to /about, it works.

cannot-click

User Interface Options

Prerequisites

Description

See pressbooks/pressbooks-publisher#6.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0.0-dev

Login screen

Prerequisites

Description

Replace login screen.

Steps to Reproduce

Not applicable.

System Information

Aldine 1.0.0-dev

Catalog: lower breakpoint for left column controls

Prerequisites

Description

Left column controls should appear on small desktop screens.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0-beta.1

Content pages: fix image alignment

Prerequisites

Description

As above.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0-beta.1

Uncaught TypeError: t(...).scrollTo is not a function

Prerequisites

Description

Error on all pages.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0-beta.1

Site logo is not migrated from Publisher

Prerequisites

Description

Logo does not import from Publisher.

Steps to Reproduce

  1. Add logo to Publisher.
  2. Switch to Aldine.

Expected behavior: Logo is active for Aldine.

Actual behavior: Nope.

System Information

Aldine: 1.0.0-rc.1

On desktops the comment submit button is misaligned

Prerequisites

Description

On desktops the comment submit button is misaligned

comment_submitt_button

System Information

Book Info

Book ID: 16
Book URL: http://localhost/wordpress/pwlo00117r4/
Book Privacy: Public

Browser

Platform: OS X
Browser Name: Chrome
Browser Version: 63.0.3239.132
User Agent String: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36

WordPress Configuration

Network URL: http://localhost/wordpress/
Network Type: Subdirectory
Version: 4.9.4
Language: en_US
WP_ENV: developer
WP_DEBUG: Enabled
Memory Limit: 64M

Pressbooks Configuration

Version: 4.5.0
Book Theme: McLuhan
Book Theme Version: 2.0.0-beta.2
Root Theme: Aldine
Root Theme Version: 1.0.0-alpha.6

Pressbooks Dependencies

Epubcheck: Installed
Kindlegen: Installed
xmllint: Installed
PrinceXML: Installed
Saxon-HE: Installed

Must-Use Plugins

hm-autoloader.php: n/a

Network Active Plugins

Hypothesis: 0.5.0
Pressbooks: 5.0.0-dev

Book Active Plugins

Inactive Plugins

Server Configuration

PHP Version: 7.1.12
MySQL Version: 5.6.38
Webserver Info: Apache/2.2.34 (Unix) mod_wsgi/3.5 Python/2.7.13 PHP/7.1.12 mod_ssl/2.2.34 OpenSSL/1.0.2j DAV/2 mod_fastcgi/2.4.6 mod_perl/2.0.9 Perl/v5.24.0

PHP Configuration

Safe Mode: Disabled
Memory Limit: 256M
Upload Max Size: 32M
Post Max Size: 32M
Upload Max Filesize: 32M
Time Limit: 30
Max Input Vars: 1000
URL-aware fopen: On (1)
Display Errors: On (1)

PHP Extensions

OPcache: Disabled
XDebug: Disabled
cURL: Supported
cURL Version: 7.52.1
imagick: Not Installed
xsl: Installed

PHP Fatal Error When Pressbooks Compatibility Fails

Prerequisites

Description

( ! ) Fatal error: Uncaught Error: Call to undefined function Pressbooks\Admin\Branding\get_customizer_colors() in /srv/www/example.com/current/web/app/themes/pressbooks-aldine/inc/actions/namespace.php on line 172
--

1 | 0.0115 | 358328 | {main}( ) | .../index.php:0
2 | 0.0638 | 360984 | require( '/srv/www/example.com/current/web/wp/wp-blog-header.php' ) | .../index.php:5
3 | 0.4837 | 21983328 | require_once( '/srv/www/example.com/current/web/wp/wp-includes/template-loader.php' ) | .../wp-blog-header.php:19
4 | 0.4898 | 21987976 | include( '/srv/www/example.com/current/web/app/themes/pressbooks-aldine/page.php' ) | .../template-loader.php:74
5 | 0.4898 | 21987976 | get_header( ??? ) | .../page.php:15
6 | 0.4898 | 21988352 | locate_template( ???, ???, ??? ) | .../general-template.php:41
7 | 0.4899 | 21988464 | load_template( ???, ??? ) | .../template.php:647
8 | 0.4905 | 22012816 | require_once( '/srv/www/example.com/current/web/app/themes/pressbooks-aldine/header.php' ) | .../template.php:688
9 | 0.4918 | 22020368 | wp_head( ) | .../header.php:20
10 | 0.4918 | 22020368 | do_action( ???, ??? ) | .../general-template.php:2614
11 | 0.4918 | 22020744 | WP_Hook->do_action( ??? ) | .../plugin.php:453
12 | 0.4918 | 22020744 | WP_Hook->apply_filters( ???, ??? ) | .../class-wp-hook.php:310
13 | 0.5056 | 22059056 | Aldine\Actions\output_custom_colors( ??? ) | .../class-wp-hook.php:286

Steps to Reproduce

  1. Open web/app/plugins/pressbooks/compatibility.php
  2. Change $pb_minimum_wp = '9.9.9';
  3. Refresh front page.

Expected behavior:

Front page, or some sort of warning.

Actual behavior:

Fatal PHP Error.

Page header overlaps menu when text size is increased

Prerequisites

Description

The page header overlaps menu when text size is increased.

Steps to Reproduce

  1. Increase the text size.
  2. Click a menu item.

Expected behavior: It is clickable.

Actual behavior: It isn't, because the header is overlapping it.

System Information

Aldine: 1.0.0

Suppress "Display title and tagline" in customizer

Prerequisites

Description

As above.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0.0-rc.1

PHP Notice when 404

Prerequisites

Description

When I go to a page that displays a 404 I get:

Notice: the_widget was called <strong>incorrectly</strong>. Widgets need to be registered using <code>register_widget()</code>, before they can be displayed. Please see <a href="https://codex.wordpress.org/Debugging_in_WordPress">Debugging in WordPress</a> for more information. (This message was added in version 4.9.0.) in /srv/www/example.com/current/web/wp/wp-includes/functions.php on line 4146

404

Steps to Reproduce

  1. Turn on verbose error reporting, or tail the log files.
  2. Go to: http://pressbooks.test/zzzzzzzzz

Use starter-content theme support

Prerequisites

Description

See:

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0.0-beta.1

Book cards: decrease size of subject, move closer to title

Prerequisites

Description

As above.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0-beta.1

Suppress header text colour in customizer

Prerequisites

Description

As above.

Steps to Reproduce

Not applicable.

System Information

Aldine: 1.0.0-rc.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.