Big changes
- using ORM top and bottom, libgutenberg==0.8.x, ebookmaker==0.11.x
- FileInfo now subsumes all the functionality of pgcat.php. FileInfo used to dump the data it read to a pipe, which autocat.php consumed the stream and generated sql. Now, metadata is persisted into the ORM
- csv export!
- with ebookmaker changes, supports generated html for all books
- pickling of lazy ORM objects necessitated overhaul of job queuing - dc objects are no longer put in job queues
- added Notifier, allows WWer to register a notification email for an ebook. Also sends CRITICAL notifications to the WWer. If no emails registered, notifications are sent to a file
- added notifications to send fail conversions to wwer
- added support in FileInfo for json files from workflow and for txt files generated by dopush(pglaf)
- added switch to turn on routine notifications.
- new environment variables needed to support notifications
- SMTP_HOST = 'smtp.gmail.com' default = localhost:25 (default ssl port is 465)
- SMTP_USER = 'webmasterexample.com'
- SMTP_PASSWORD = 'gmail password' default = ''
- SMTP_SSL = "True" default = False
- REPLY_TO_EMAIL = default = 'help2021pglaf.org'
- new config CLI parameter:
- notify (--notify) turn on SUCCESS and ISSUES notifications.
- the following directories should exist:
- $PRIVATE/logs
- $PRIVATE/logs/json
- $PRIVATE/logs/json/backup
- $PRIVATE/logs/notifications
- $PRIVATE/logs/dopush
- $PRIVATE/logs/dopush/backup