synapse/synapse/util
Richard van der Hoff b74606ea22 Fix a bug with saml attribute maps.
Fixes a bug where the default attribute maps were prioritised over
user-specified ones, resulting in incorrect mappings.

The problem is that if you call SPConfig.load() multiple times, it adds new
attribute mappers to a list. So by calling it with the default config first,
and then the user-specified config, we would always get the default mappers
before the user-specified mappers.

To solve this, let's merge the config dicts first, and then pass them to
SPConfig.
2019-09-19 20:32:14 +01:00
..
caches Fix some error cases in the caching layer. (#5749) 2019-07-25 15:59:45 +01:00
__init__.py Add kwargs and doc 2019-07-29 10:03:14 +02:00
async_helpers.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
distributor.py Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 2019-07-04 00:07:04 +10:00
file_consumer.py Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 2019-07-04 00:07:04 +10:00
frozenutils.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
httpresourcetree.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
jsonobject.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
logcontext.py Improve the backwards compatibility re-exports of synapse.logging.context (#5617) 2019-07-05 02:32:02 +10:00
logformatter.py Improve the backwards compatibility re-exports of synapse.logging.context (#5617) 2019-07-05 02:32:02 +10:00
manhole.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
metrics.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
module_loader.py Fix a bug with saml attribute maps. 2019-09-19 20:32:14 +01:00
msisdn.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
ratelimitutils.py Fixes to the federation rate limiter (#5621) 2019-07-05 11:10:19 +01:00
retryutils.py Replace returnValue with return (#5736) 2019-07-23 23:00:55 +10:00
rlimit.py run isort 2018-07-09 16:09:20 +10:00
stringutils.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
threepids.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
versionstring.py Cache get_version_string. 2019-07-22 13:15:08 +01:00
wheel_timer.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00