summary refs log tree commit diff
path: root/synapse/media/preview_html.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add stubs package for lxml. (#15697)Patrick Cloke2023-05-311-23/+56
| | | | | | | The stubs have some issues so this has some generous cast and ignores in it, but it is better than not having stubs. Note that confusing that Element is a function which creates _Element instances (and similarly for Comment).
* Refactor media modules. (#15146)Patrick Cloke2023-02-271-0/+501
* Removes the `v1` directory from `test.rest.media.v1`. * Moves the non-REST code from `synapse.rest.media.v1` to `synapse.media`. * Flatten the `v1` directory from `synapse.rest.media`, but leave compatiblity with 3rd party media repositories and spam checkers.