Commit Graph
63 Commits
Author SHA1 Message Date
Cédric Krier 122ade0b30 Increase version number 2025-12-15 21:34:54 +01:00
Cédric Krier 692810e7b8 Prepare release 7.8.0 2025-12-15 20:17:16 +01:00
Cédric Krier 954f137e65 Update translations [skip ci] 2025-12-15 18:00:12 +01:00
Cédric Krier 6360869d6c Add id as matching key for product image URL
This allows to generate an URL for a specific image.
2025-05-27 00:08:28 +02:00
Cédric Krier 3f7794b968 Replace picsum service by our own images in product image tests
Closes #14201
2025-08-28 10:51:26 +02:00
Nicolas Évrard 9839c0902d Add test that fields in __access__ are required
Closes #14261
2025-09-29 13:16:49 +02:00
Adrià Tarroja Caubet c9d323f544 Add a timestamp parameter to the URLs of the product images
Closes #11456
2025-10-11 13:27:37 +02:00
Cédric Krier 74ee169c54 Refactor of trytond.config to add cache
This removes the need to store configuration in global variable and so make it
easier to update for example for testing.

Closes #14249
2025-10-07 08:19:57 +02:00
Cédric Krier 95456d6f92 Use tryton.cfg to register in the Pool 2025-09-18 16:42:29 +02:00
Cédric Krier 6718a613cf Convert UnidentifiedImageError from PIL into validation error
The image conversion that are done as preprocessing of the user input should be
considered as data validation.

Closes #14084
2025-06-18 01:26:39 +02:00
Cédric Krier ae5b18eba0 Increase version number 2025-04-28 16:40:56 +02:00
Cédric Krier 04487b81d4 Prepare release 7.6.0 2025-04-28 16:12:25 +02:00
Cédric Krier b85d6e9efa Update translations [skip ci] 2025-04-27 11:36:15 +02:00
Cédric Krier 1e151a15a2 Remove support for Python 3.8 2025-04-06 12:11:03 +02:00
Cédric Krier 6d8b42c687 Add support for Python 3.13 2025-04-06 12:10:20 +02:00
Cédric Krier 5aeff66acd Use ModelStorage hooks instead of extending create/write/delete 2025-04-06 00:14:17 +02:00
Udo Spallek b245323c30 Fix typo in alt text of documentation logo
Closes #13895
2025-02-28 00:49:48 +01:00
Cédric Krier 709bebe701 Use base URL as logo link and include homepage in TOC
This way the navigation in the documentation is unified.
2025-02-09 15:19:19 +01:00
Cédric Krier b65377e89e Read only the image from the selected cache
Using the instance from the list of cache, the ORM read the image for all the
linked cache which is unnecessary.

Closes #13831
2025-01-21 18:35:56 +01:00
Udo Spallek 8b252472c4 Replace usage of docstring of Model by __string__ attribute
Closes #8402
2024-11-19 10:09:52 +01:00
Cédric Krier ab3fecb282 Increase version number 2024-11-04 18:51:20 +01:00
Cédric Krier dc470fe1f4 Prepare release 7.4.0 2024-11-04 18:23:40 +01:00
Cédric Krier 015c68f2c6 Update translations 2024-11-02 16:10:36 +01:00
Cédric Krier 62b079225f Remove $ before series in formatted document URL without base URL 2024-09-03 17:55:42 +02:00
Cédric Krier 3360de4a98 Match product image against None
Closes #13337
2024-06-14 10:03:07 +02:00
Juan Jose Pablos fbe87b99c8 Replace link to configuration document by ref to labels 2024-07-08 19:00:26 +02:00
Cédric Krier 3369d98de2 Add option to skip tests that require network 2024-05-20 12:20:00 +02:00
Cédric Krier 09976345fe Convert image in RGBA to add background using alpha composite
Closes #13316
2024-06-09 01:49:57 +02:00
Cédric Krier a5fcf23ad0 Save images with 300 dpi
Closes #13206
2024-04-20 12:29:34 +02:00
Cédric Krier cd41ab4c5e Always convert image to RGB format
Closes #13206
2024-04-20 12:26:21 +02:00
Cédric Krier dea9cea516 Add description for image
Closes #13226
2024-04-30 12:58:04 +02:00
Cédric Krier cd8777277a Update translations [skip ci]
Closes #13225
2024-04-30 13:09:39 +02:00
Cédric Krier 38a3a8e68e Increase version number 2024-04-29 18:03:56 +02:00
Cédric Krier 2fc668b9f7 Prepare release 7.2.0 2024-04-29 17:31:11 +02:00
Cédric Krier b443997044 Update translations [skip ci] 2024-04-27 18:44:57 +02:00
Cédric Krier d4248499ca Use white background to remove alpha channel of images
Closes #13191
2024-04-11 15:19:41 +02:00
Cédric Krier 4790d928af Add images to product category
Closes #13062
2024-02-27 17:52:09 +01:00
Cédric Krier 6bb7b6cc43 Generalize ImageMixin to be used with other models than products 2024-02-27 17:52:34 +01:00
Cédric Krier 88ac130d2f Remove readthedocs 2024-02-18 18:35:54 +01:00
Cédric Krier 69bdce8b29 Use include directive for subdirectory documentation
Closes #12822
2023-12-24 10:48:07 +01:00
Cédric Krier 40b8cf0eca Support linkcheck ignore per module documentation
If a linkcheck_ignore.json exists in the doc folder, it is loaded to extend
the linkcheck_ignore configuration of Sphinx.
2024-01-01 13:43:49 +01:00
Cédric Krier 4344f77ac5 Do not convert width and height URL parameters of product image into boolean
Since 8cba7039bc3c there are 2 new arguments w and h.

Closes #12745
2023-11-14 15:07:54 +01:00
Cédric Krier 6b2aa74ce5 Preserve product image ratio
Closes #12744
2023-11-14 14:18:56 +01:00
Cédric Krier 38da6a0451 Increase version number 2023-10-30 18:51:13 +01:00
Cédric Krier 65f477f731 Prepare release 7.0.0 2023-10-30 18:17:32 +01:00
Cédric Krier c577fad900 Update translations [skip ci] 2023-10-28 14:15:23 +02:00
Cédric Krier 4e010a988f Add support for Python 3.12 2023-10-22 19:40:55 +02:00
Cédric Krier 523bcd4011 Use module name to build path for readthedocs requirements 2023-09-03 12:03:49 +02:00
Cédric Krier 6a06579e13 Use Sphinx book theme for documentation 2023-09-01 09:44:09 +02:00
Cédric Krier adc26533da Add .readthedocs.yaml configuration [skip ci]
This is required by Read the Docs service:
https://blog.readthedocs.com/migrate-configuration-v2/

Closes #12344
2023-08-06 11:06:08 +02:00