summary refs log tree commit diff
path: root/synapse/config/repository.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean up the blacklist/whitelist handling.Mark Haines2016-05-161-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 Hodgson2016-05-011-0/+14
| | | | matrix.org IP space
* Give install requirementsErik Johnston2016-04-131-1/+7
|
* Add back in helpful description for missing url_preview_ip_range_blacklistErik Johnston2016-04-131-1/+5
|
* Sanitize the optional dependencies for spider APIErik Johnston2016-04-131-10/+28
|
* fix typoMatthew Hodgson2016-04-081-1/+1
|
* Add url_preview_enabled config option to turn on/off preview_url endpoint. ↵Matthew Hodgson2016-04-081-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_urlsMatthew Hodgson2016-03-271-0/+3
|\
| * add 800x600 thumbnails to make vector look prettier (and anyone else who ↵Matthew Hodgson2016-03-021-0/+3
| | | | | | | | likes big thumbnails)
* | initial WIP of a tentative preview_url endpoint - incomplete, untested, ↵Matthew Hodgson2016-01-241-1/+5
|/ | | | experimental, etc. just putting it here for safekeeping for now
* Implement configurable stats reportingDaniel Wagner-Hall2015-09-221-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 warningMark Haines2015-08-131-0/+1
|
* Doc-string for config ultility functionMark Haines2015-08-121-0/+11
|
* Add config option for setting the list of thumbnail sizes to precalculateMark Haines2015-08-121-0/+39
|
* Make a config option for whether to generate new thumbnail sizes dynamicallyMark Haines2015-08-121-0/+8
|
* Make upload dir a configurable path.Eric Myhre2015-06-181-0/+5
| | | | | | Fixes SYN-425. Signed-off-by: Eric Myhre <hash@exultant.us>
* remove duplicate parse_size methodMark Haines2015-04-301-9/+0
|
* Manually generate the default config yaml, remove most of the commandline ↵Mark Haines2015-04-301-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 10MMark Haines2015-01-061-1/+1
|
* Update copyright noticesMark Haines2015-01-061-1/+1
|
* Limit the size of images that are thumbnailed serverside. Limit the size of ↵Mark Haines2014-12-111-0/+5
| | | | file that a server will download from a remote server
* Get uploads working with new media repoMark Haines2014-12-021-0/+4
|
* Fix pep8 warningsMark Haines2014-10-301-0/+1
|
* pyflakes cleanupErik Johnston2014-09-301-1/+0
|
* Limit the size of uploadsMark Haines2014-09-031-0/+39