Used to open fp = open(file_path,'wb') a few lines before it was needed. This shouldn't be too much of a problem but opening and closing it right after eachother keeps the session open for less time and there are less chances on failure.
* Image extractor from HTML fields. (#354)
* [8.0][html_image_url_extractor] Image extractor from HTML fields.
This technical utility allows the developer to get a list of image URLs from any piece of HTML.
You can use it for example, to get the cover image from a blog post (upcoming module), or to create a slider with all images from it.
* [9.0] [MIG] html_image_url_extractor
* Updated README.rst
* [8.0][html_text] Excerpt generator.
This module adds a technical utility to allow the developer to get an excerpt from any HTML chunk.
You can choose the maximum amount of words or characters if you want.
See the README and inline docstrings for further details.
The filestore is saved in the backup, so if you save the backup in the
filestore, you'd end up with a huge backup that includes itself and the
universe may collapse.
- Follow template README.
- Remove HTML README.
- Move models to models folder.
- Model and view file names follow guidelines.
- Unused methods cleanup.
- Remove unneeded `.pot` file.
- Fix permissons.
- Follow PEP8 in names everywhere.
- Set more descriptive field names.
- Disable backups for other databases, for security.
- Remove db name from generated file, for easier cleanup.
- EAFP logic everywhere.
- More descriptive name.
- Data files moved to YAML, with cleaner ir.cron record creation.
- Add permissions for db.backup model.
- Icons.
- Update tests with new format.
- Storage method is a selectable, for easier extensibility.
- Instead of custom mailing, it just has a mail thread where you can subscribe.
- Should fix almost all comments in https://github.com/OCA/server-tools/pull/203.