Skip to content

Releases: Stirling-Tools/Stirling-PDF

0.13.0 Login + Auth functionality and auto redact

28 Aug 09:24
c57b308
Compare
Choose a tag to compare

V0.13.0

Major (potental breaking) changes

IMPORTANT If not already please add a volume mount to the /configs directory
I am expecting some hotfixes during this version due to the type of changes introduced so please be patient and use older 0.12.2 tag if you see issues (after reporting them!).

Settings file

All environment variables have been renamed and structured to make way for settings file support
This file is located in the /configs directory and follows standard YAML formatting
Environment variable overrides are still supported.
Settings such as username shown here

security:
  initialLogin:
    username: 'username' # Specify the initial username for first boot (e.g. 'admin')
    password: 'password' # Specify the initial password for first boot (e.g. 'password123')

Would have the environment variable of the combined 'path' of the variable resulting in: SECURITY_INITIALLOGIN_USERNAME

Login

Login authentication is now enabled via a setting DOCKER_ENABLE_SECURITY this MUST be provided via docker settings to work as the jar is downloaded at runtime for the security version (Standard is still packaged within docker image itself). This was done because the extra security adds a overhead of 200mb memory consumption.

Additionally for Login to be enabled a user must first set via the Initial login user credentials either via environment variable or the settings.yml. Once entered please restart the docker for changes to take effect.
This uses a database filer also located in the /configs folder (PLEASE MOUNT IT)

This supports per account user settings, API keys, and the changing of usernames and passwords

Once a user is made that Admin user can create new users within the admin panel
Found in settings -> Account settings -> Admin Settings

New features

  • UI Change bootstrap 4 to 5, and home page columns 3 to 4. Bootstrap change might cause some UI issues Please report anything looking odd!
  • Auto redact PDF text.
  • Extra images for apple-touch-icons etc to better support mobile bookmarks
  • US language support note just GB (Thanks @jb2barrels !)
  • NL language support (Thanks @appel !)
  • Merge PDF now supports sort types like sort by file name etc

Bugs

  • Fix for Numbering pages naming
  • Fix for change permissions not working when empty
  • Sanatize PDF bug fixes
  • Thanks everyone for the different language cleanups this patch (@deraw, @adrielCarmoUFMS and others )

0.13.0: Merge pull request #327 from Frooodle/loginPage

28 Aug 10:04
c57b308
Compare
Choose a tag to compare
Login page tweaks

0.12.2 Minor version bumps and API change

08 Aug 19:31
fd39f28
Compare
Choose a tag to compare
  • Added ENABLE_API_METRICS parameter to disable metrics if you want and fixed some existing api metrics
  • Bumped versioning of dependencies

0.12.1 Show/Export javascript, bug fixes

06 Aug 21:17
Compare
Choose a tag to compare

Enhancements

  • Show Javascript moved from get INFO to dedicated section with syntax highlights
  • Bug fixes and things

0.12.0 Markdown to PDF, Get Info and Convert to long single page

06 Aug 12:16
379791a
Compare
Choose a tag to compare

New Features

  • Convert a PDF into a single page (ie turn a 3 page a4 into a single giant long page)
  • Markdown to PDF (WIP)
  • Get all info on PDF, Turns a JSON of all possible info you might want to know about a PDF
  • Etract pages (Re uses Organiser page but renamed for searchability)

enhancements

  • Drag and drop now appends entries instead of resetting
  • Better description text for blank page detection
  • Drag drop support in multi tool (sepcial thanks to @jordyjordy )

0.11.2 Hotfix for bugs

26 Jul 21:09
Compare
Choose a tag to compare

More bug hotfixes for sign and image to pdf + others

0.11.1 Fix for signing, pdfToHtml and auto split

26 Jul 12:01
Compare
Choose a tag to compare

Hotfix for

Signing not loading
PDF To HTML loading incorrect
AutoSplit support for multi dividers next to each other and Duplex mode

0.11.0 Lots and lots of new features!

24 Jul 23:02
Compare
Choose a tag to compare

Features

  • Added /customFiles directory for all SPDF versions, use this folder to override SPDF files such as Icons (placing a new icon at /customFiles/favicon.svg) etc to customize any images. This is also for adding new fonts for Signatures!
  • Add page numbers
  • Auto rename PDFs
  • Adjust color/contrast etc
  • Crop PDFs
  • Auto split pages
  • Sanitize PDFs
  • Convert HTML to PDF (Uses WeasyPrint, supports HTML or ZIP)
  • Convert URL to PDF (Uses WeasyPrint, mostly for plain websites like wikipedia)
  • Added search bar to home page and navbar. Added tags via language files for custom searching
  • Added drag drop UI and made it larger

Enhancements

  • Watermark controller now supports images
  • Signature supports new fonts, also supports custom fonts via /customFiles
  • Fixed navbar to scale with other languages (more to come)

Bug Fixes

  • Install fonts to docker-lite
  • Compress PDF no longer returns files which might be larger

Other

  • Cleanup language files

Known bugs

Some of these features dont work well with rotated PDFs this is known but please raise a github ticket for them regardless!

0.10.3 languages and Bug fixes

02 Jul 18:15
4c4c22e
Compare
Choose a tag to compare

Features

Added Basque (Euskara) (eu_ES) (Thanks @inazkue )
Added Japanese (日本語) (ja_JP) (Thanks @tkymmm)

Enhancements

Fonts for arabic, korean, chinese and japanese added for watermarks and LibreOffice conversions. Should fix issues seen with those languages
added MAX_FILE_SIZE env param, default 2000MB to customise file limits on website

Bugs

Fix LibreOffice conversions for non romain alphabet as part of above enhancement (This is work in progress let me knwo if it still doesnt work)
Fix API for stat queries
Image DPI fix

Extras

Includes code for the new 'pipeline' and folder scan stuff but disabled, still testing in pre-alpha and not finished
Added "Filter" APIs that return true/false for set size/count checks (and hasImage, hasText) for pipelines and other PDF automations
Added extra info to API documentation and changed tagging type to have catagories

Minor bug fixes

10 Jun 17:21
f2a65dc
Compare
Choose a tag to compare
v0.10.2

Update build.gradle