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
Coverage
Latest PyPI Release
License
onegov.file is released under GPLv2
Changelog
0.7.0 (2018-08-06)
Adds a cache busting hook to bust frontend caches when a file is deleted. [href]
Adds PDF previews. [href]
0.6.1 (2018-06-21)
Fixes upgrade. [href]
0.6.0 (2018-06-21)
Adds a default order to the files. [href]
Migrates the metadata storage to JSONB. [href]
Improves query performance for selecting files in order. [href]
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file onegov.file-0.7.0.tar.gz
.
File metadata
- Download URL: onegov.file-0.7.0.tar.gz
- Upload date:
- Size: 30.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af1e39be7f548fec4fdb3243e39fda0a35b91eb81a56ff85535fdc2dc63bec11 |
|
MD5 | 000085adad74a3224abfae04fd7bae82 |
|
BLAKE2b-256 | 5e02e0c339cb5e985a006333c4409246b408d6408cbf72ab4d2edd1c593c6de9 |
File details
Details for the file onegov.file-0.7.0-py3-none-any.whl
.
File metadata
- Download URL: onegov.file-0.7.0-py3-none-any.whl
- Upload date:
- Size: 35.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b42c9416936f465efad2f489e4513c29d4cce1950b933b06e4aaec968125087 |
|
MD5 | 46c1980b2bde56a54405f49bd0b55887 |
|
BLAKE2b-256 | eef39ea6e1e30e298d12f4fb9dc56a281c0b0e0fee6b99d1e9aea1f77e093dc5 |