1. 27 May, 2022 1 commit
    • Frank Duncan's avatar
      Hardcoded changes for lfc demo · 7ef1ed58
      Frank Duncan authored
      These include:
       * Ability to specify fonts referencing those
       * Title page rearranged
       * Ability to specify title image
       * Page numbers moved to top of page
       * Title of article repeated on top of page on every page of article
         after the first
      7ef1ed58
  2. 26 May, 2022 9 commits
  3. 03 Sep, 2021 1 commit
  4. 25 Jun, 2021 2 commits
  5. 23 Jun, 2021 4 commits
    • Daniel Schultz's avatar
      Merge pull request #51 from OpenTechStrategies/50-support-no-login · 66ba9e0f
      Daniel Schultz authored
      Support missing parameters
      66ba9e0f
    • Dan Schultz's avatar
      Support missing parameters · 4f56bc69
      Dan Schultz authored
      The python was accessing form parameters through direct access, which
      would throw KeyErrors if that form field was not set.  This was causing
      book failures in situations where a username / password wasn't being
      set.
      
      Using `.get` does not throw an error, and instead returns a None value.
      
      The rest of the code already supported the possibility of having no
      authentication credentials.
      
      Issue #50
      4f56bc69
    • Daniel Schultz's avatar
      Merge pull request #54 from OpenTechStrategies/52-fix-single-download · 011f92e9
      Daniel Schultz authored
      Support single article rendering
      011f92e9
    • Dan Schultz's avatar
      Support single article rendering · 17a7563f
      Dan Schultz authored
      Printing a single article via SimpleBook was failing when using the
      "Download as PDF" button on the wiki navigation. The issue is that
      SimpleBook was not including the article's canonical URL, which means it
      could not render.
      
      It is unclear why the original tool did not provide a URL to the
      renderer when printing a single article, but it does now!
      
      Fixing that issue exposed another bug, which is that omitting title
      / subtitle / page size would cause key access errors.  We now look up
      those values in a safe way.
      
      Issue #52
      17a7563f
  6. 16 Jun, 2021 3 commits
  7. 15 Jun, 2021 2 commits
    • Dan Schultz's avatar
      Disable chapters · e10a7580
      Dan Schultz authored
      Chapters are not supported by the renderer at this moment, which means
      that they break if a user attempts to create a book with chapters.  In
      the long run we would like to support chapters, but in the mean time  we
      will disable the UX to prevent a broken user experience.
      
      Issue #37
      e10a7580
    • Dan Schultz's avatar
      Rename page to item · 1836d314
      Dan Schultz authored
      There are references to `page` and `wiki page` throughout the SimpleBook
      UX, but this can be confusing because a given wiki page may result in
      multiple PDF pages.
      
      Replacing these terms with `item` should clear up this naming
      collision.
      
      Issue #38
      1836d314
  8. 14 Jun, 2021 1 commit
    • Dan Schultz's avatar
      Support title / subtitle fields · 31101f9a
      Dan Schultz authored
      The SimpleBook UX has a field for "title" and "subtitle" but neither
      field was used by the rendering algorithm.
      
      This removes title pages for individual chapters while also adding the
      concept of "title page" to the booklet rendering algorithm.
      
      Issue #39
      31101f9a
  9. 10 Jun, 2021 3 commits
  10. 08 Jun, 2021 3 commits
  11. 02 Jun, 2021 2 commits
  12. 27 May, 2021 2 commits
  13. 24 May, 2021 1 commit
    • Karl Fogel's avatar
      Rename and reformat 'COPYING' file to 'LICENSE.md' · d9ee4edd
      Karl Fogel authored
      Move the copyright license file from the older 'COPYING' to the now
      somewhat more common 'LICENSE.md', and reformat it from plaintext to
      Markdown.  The license itself (GPL-2.0) remains unchanged.
      
      I did this after going looking for the license and not seeing it, not
      because it wasn't there but because I'm so used to looking for a file
      named "LICENSE" or "LICENSE.md" these days that I totally missed it
      under the name "COPYING".  And I grew up using the former!  So if
      nowadays I miss it on the first pass, other people probably would too.
      d9ee4edd
  14. 13 May, 2021 1 commit
  15. 12 May, 2021 2 commits
  16. 11 May, 2021 1 commit
  17. 05 May, 2021 2 commits