Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a script to generate a clean config file (#4315) | Richard van der Hoff | 2018-12-22 | 1 | -4/+4 |
| | |||||
* | Fix a number of flake8 errors | Richard van der Hoff | 2018-10-24 | 1 | -1/+1 |
| | | | | | | | | | | | | Broadly three things here: * disable W504 which seems a bit whacko * remove a bunch of `as e` expressions from exception handlers that don't use them * use `r""` for strings which include backslashes Also, we don't use pep8 any more, so we can get rid of the duplicate config there. | ||||
* | run isort | Amber Brown | 2018-07-09 | 1 | -1/+1 |
| | |||||
* | Add private IPv6 addresses to preview blacklist #3312 | Felix Schäfer | 2018-06-01 | 1 | -0/+3 |
| | | | | | | | The added addresses are expected to be local or loopback addresses and shouldn't be spidered for previews. Signed-off-by: Felix Schäfer <felix@thegcat.net> | ||||
* | Fix passing wrong config to provider constructor | Erik Johnston | 2018-01-18 | 1 | -1/+1 |
| | |||||
* | Remove duplicate directory test | Erik Johnston | 2018-01-18 | 1 | -4/+0 |
| | |||||
* | Fixup comments | Erik Johnston | 2018-01-18 | 1 | -1/+5 |
| | |||||
* | Make storage providers more configurable | Erik Johnston | 2018-01-18 | 1 | -11/+72 |
| | |||||
* | Copy everything to backup | Erik Johnston | 2017-10-12 | 1 | -1/+3 |
| | |||||
* | Basic implementation of backup media store | Erik Johnston | 2017-10-12 | 1 | -0/+18 |
| | |||||
* | default config: blacklist more internal ips | Euan Kemp | 2016-11-06 | 1 | -0/+2 |
| | |||||
* | Clean up the blacklist/whitelist handling. | Mark Haines | 2016-05-16 | 1 | -6/+6 |
| | | | | | | | Always set the config key with an empty list, even if a list isn't specified. This means that the codepaths are the same for both the empty list and for a missing key. Since the behaviour is the same for both cases this makes the code somewhat easier to reason about. | ||||
* | add a url_preview_ip_range_whitelist config param so we can whitelist the ↵ | Matthew Hodgson | 2016-05-01 | 1 | -0/+14 |
| | | | | matrix.org IP space | ||||
* | Give install requirements | Erik Johnston | 2016-04-13 | 1 | -1/+7 |
| | |||||
* | Add back in helpful description for missing url_preview_ip_range_blacklist | Erik Johnston | 2016-04-13 | 1 | -1/+5 |
| | |||||
* | Sanitize the optional dependencies for spider API | Erik Johnston | 2016-04-13 | 1 | -10/+28 |
| | |||||
* | fix typo | Matthew Hodgson | 2016-04-08 | 1 | -1/+1 |
| | |||||
* | Add url_preview_enabled config option to turn on/off preview_url endpoint. ↵ | Matthew Hodgson | 2016-04-08 | 1 | -4/+73 |
| | | | | | | | | | defaults to off. Add url_preview_ip_range_blacklist to let admins specify internal IP ranges that must not be spidered. Add url_preview_url_blacklist to let admins specify URL patterns that must not be spidered. Implement a custom SpiderEndpoint and associated support classes to implement url_preview_ip_range_blacklist Add commentary and generally address PR feedback | ||||
* | Merge branch 'develop' into matthew/preview_urls | Matthew Hodgson | 2016-03-27 | 1 | -0/+3 |
|\ | |||||
| * | add 800x600 thumbnails to make vector look prettier (and anyone else who ↵ | Matthew Hodgson | 2016-03-02 | 1 | -0/+3 |
| | | | | | | | | likes big thumbnails) | ||||
* | | initial WIP of a tentative preview_url endpoint - incomplete, untested, ↵ | Matthew Hodgson | 2016-01-24 | 1 | -1/+5 |
|/ | | | | experimental, etc. just putting it here for safekeeping for now | ||||
* | Implement configurable stats reporting | Daniel Wagner-Hall | 2015-09-22 | 1 | -1/+1 |
| | | | | | | | | | | SYN-287 This requires that HS owners either opt in or out of stats reporting. When --generate-config is passed, --report-stats must be specified If an already-generated config is used, and doesn't have the report_stats key, it is requested to be set. | ||||
* | Fix flake8 warning | Mark Haines | 2015-08-13 | 1 | -0/+1 |
| | |||||
* | Doc-string for config ultility function | Mark Haines | 2015-08-12 | 1 | -0/+11 |
| | |||||
* | Add config option for setting the list of thumbnail sizes to precalculate | Mark Haines | 2015-08-12 | 1 | -0/+39 |
| | |||||
* | Make a config option for whether to generate new thumbnail sizes dynamically | Mark Haines | 2015-08-12 | 1 | -0/+8 |
| | |||||
* | Make upload dir a configurable path. | Eric Myhre | 2015-06-18 | 1 | -0/+5 |
| | | | | | | Fixes SYN-425. Signed-off-by: Eric Myhre <hash@exultant.us> | ||||
* | remove duplicate parse_size method | Mark Haines | 2015-04-30 | 1 | -9/+0 |
| | |||||
* | Manually generate the default config yaml, remove most of the commandline ↵ | Mark Haines | 2015-04-30 | 1 | -19/+16 |
| | | | | arguments for synapse anticipating that people will use the yaml instead. Simpify implementing config options by not requiring the classes to hit the super class | ||||
* | Increase default maximum attachment size to 10M | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | |||||
* | Limit the size of images that are thumbnailed serverside. Limit the size of ↵ | Mark Haines | 2014-12-11 | 1 | -0/+5 |
| | | | | file that a server will download from a remote server | ||||
* | Get uploads working with new media repo | Mark Haines | 2014-12-02 | 1 | -0/+4 |
| | |||||
* | Fix pep8 warnings | Mark Haines | 2014-10-30 | 1 | -0/+1 |
| | |||||
* | pyflakes cleanup | Erik Johnston | 2014-09-30 | 1 | -1/+0 |
| | |||||
* | Limit the size of uploads | Mark Haines | 2014-09-03 | 1 | -0/+39 |