Skip to main content

Images/files organized in collections.

Project description

Run the Tests

Install tox and run it:

pip install tox
tox

Limit the tests to a specific python version:

tox -e py27

Conventions

Onegov File follows PEP8 as close as possible. To test for it run:

tox -e pep8

Onegov File uses Semantic Versioning

Build Status

Build Status

Coverage

Project Coverage

Latest PyPI Release

Latest PyPI Release

License

onegov.file is released under GPLv2

Changelog

0.5.2 (2018-02-06)

  • Excludes pdf/postscript files from the supported image formats. [href]

  • Requires Python 3.6. [href]

0.5.1 (2017-12-22)

  • Switches to onegov core’s custom json module. [href]

0.5.0 (2017-11-14)

  • Encodes X-File-Note results in json to avoid non-ASCII characters. [href]

0.4.0 (2017-09-22)

  • Adds the ability to link a bunch of files to any ORM model. [href]

0.3.2 (2017-01-26)

  • Upgrades to the latest filedepot release, removing our hack. [href]

0.3.1 (2017-01-18)

  • Adds the ability to temporarily switch depot engines. [href]

0.3.0 (2017-01-03)

  • Record the image dimensions when storing an image. [href]

0.2.3 (2016-09-28)

  • Use onegov.core’s svg sanitiser when adding an svg file. [href]

0.2.2 (2016-09-09)

  • Supports latest filedepot release. [href]

0.2.1 (2016-08-19)

  • Limits caching of HEAD request (alt-text) to one minute. [href]

0.2.0 (2016-07-27)

  • Adds the ability to update the file note through an AJAX call. [href]

  • Adds HEAD request support for files. [href

  • Return a custom X-File-Note header, when requesting an image. This header contains the value of the note field of the requested file. [href]

0.1.4 (2016-07-26)

  • Orders files in relationships by last change date. [href]

0.1.3 (2016-07-20)

  • Fixes polymorphic type attribute not working. [href]

0.1.2 (2016-07-20)

  • Fixes query not filtering enough for typed collections. [href]

0.1.1 (2016-07-20)

  • Fixes query not working correctly for typed collections. [href]

0.1.0 (2016-07-19)

  • Adds the ability to detect, find and prevent file duplicates. [href]

0.0.1 (2016-07-14)

  • Initial Release [href]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onegov.file-0.5.2.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

onegov.file-0.5.2-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file onegov.file-0.5.2.tar.gz.

File metadata

  • Download URL: onegov.file-0.5.2.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for onegov.file-0.5.2.tar.gz
Algorithm Hash digest
SHA256 ae0bcaac6536462586d66340f018366f6e26b32653f596b98523e6ced62fb4f4
MD5 93d6f3234be78181d53a707d1f763339
BLAKE2b-256 7049c3872ad13ea4ab76ccefc345375e77e5628f3ed508cc5a7ec508ff8905bd

See more details on using hashes here.

File details

Details for the file onegov.file-0.5.2-py3-none-any.whl.

File metadata

File hashes

Hashes for onegov.file-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f70ea6d12e54bcf2789666cdddd0533107b36824a6a34f9767a9c7c948bdfecd
MD5 67a8b1bcfb2599eec908bc3f726edced
BLAKE2b-256 df656dff3d443f1e1c486ede65c0896cbad513fef15ed97cb0c242a07e5ff591

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page