[
{ type: install
  message: <<EOM
  Please see `man paperless-ngx' for details on how to configure paperless.
EOM
}
{ type: upgrade
  message: <<EOM
After each upgrade, please check for differences between your config and
the sample configuration installed by the package:

    diff -u %%PREFIX%%/etc/paperless.conf \
           %%PREFIX%%/etc/paperless.conf.sample

Then merge in changes as required by editing
%%PREFIX%%/etc/paperless.conf.

Database migrations are run automatically on service start, but
it's recommended to run them explicitly, especially on major upgrades:

    service paperless-migrate onestart

EOM
}
{ type: upgrade
  maximum_version: "2.7.2_1"
  message: <<EOM
Configuration of NLTK data has been fixed in port version 2.7.2_1.

Please modify your %%PREFIX%%/etc/paperless.conf based on
`*NLTK*` settings found in %%PREFIX%%/etc/paperless.conf.sample.
EOM
}
{ type: upgrade
  minimum_version: "2.16.0"
  maximum_version: "2.17.1"
  message: <<EOM
WARNING

In versions 2.16.0 - 2.16.3, the interpretation of offset days for
scheduled workflows was inverted. This has  been corrected to restore
the intuitive, pre-2.16 behavior:

    Positive offsets now trigger workflows after the date
    Negative offsets trigger workflows before the date

If you configured scheduled workflows in v2.16.x with inverted offsets
(or adjusted a trigger created in 2.15.x), you must now adjust the
offset sign to match this corrected logic.

If you did not alter your workflow triggers after upgrading from v2.15,
no changes are required.
EOM
}
{ type: upgrade
  maximum_version: "2.18.2_2"
  message: <<EOM
Starting with version 2.18, paperless-ngx uses ES6 module files using
the file extension `mjs`. These need to be served using the media type
`text/javascript`.

See %%EXAMPLESDIR%%/nginx.conf for an example
of how this can be configured when using nginx.
EOM
}
]
