Initial commit.
SVN revision 406.
New feature: Custom Css.
To activate locally make sure to Network Enable the PressBooks Custom Theme.
IMPORTANT: Not yet released to the public. Work in progress.
initial commit for epub import
Change to abstract class

Tried not to change any functionality, just neutralize the import
functionality to begin to resemble something that can be extended to
other file types.

Re-created an as yet unfinished abstract class and modified some of the
language around epub specific files.

Added some documentation, more to come.

copied over some functions that will come in handy later.
documentation and validation

beefed up the documentation and the epub validate functionality with
epubcheck so that we are only pulling in EPUB 2. If epubcheck generates
errors validating the import file, instead of bailing, it just produces
a warning message.
SVN Internal commit 422
Merge pull request #9 from bdolor/pb-internal-svn

SVN Internal commit 422
merged fork code with import
added import menu page
Merge pull request #1 from pressbooks/master

Update from pressbooks/pressbooks master
select chapters option established, chapters saved as 'options' in wp and displayed on page
Merge remote-tracking branch 'bdolor-dev/dev' into dev
updated dev branch from master
step1 and step2 selective import

added a table for selecting chapters and content types, writes to an
array.
Initial support for custom PressBooks markup buttons in TinyMCE (ticket #748).
Web chapter number styling fix to match the rest of theme for Luther, Clarke and Donham.

Ticket #789

Signed-off-by: Sonia <sonia@nudge.ca>
Custom markup buttons in TinyMCE

Moved metadataManagerDefaultEditorArgs to Editor class.
Repositioned dropdown to second row, third row looked weird and did not toggle with kitchen sink.
Repositioned footnote buttons to second row.
Renamed class methods to camelCase, prefixed functions with static, coding standards.
My IDE auto-formated some stuff, changed some tabs? File under coding standards.
MOBI Validation Error: Cover is too small

Reduce amount of "Cover is too small" errors we see in the logs from kindlegen.

* Ideal height/width ration of 1.6
* A minimum of 625 pixels on the shortest side and 1000 pixels on the longest side
* For best quality, your image would be 1563 pixels on the shortest side and 2500 pixels on the longest side

@see: https://kdp.amazon.com/self-publishing/help?topicId=A2J0TRG6OPX0VM
Check if image is actually an image

Sometimes due to user error he/she will point to a GIF, JPG, PNG that returns a 404, webpage, or text.
We don't want to include this in an Ebook.
Revert back to old global $id, if any.