synapse-product/synapse
Erik Johnston 38b346a504
Replace or_ignore in simple_insert with simple_upsert (#10442)
Now that we have `simple_upsert` that should be used in preference to
trying to insert and looking for an exception. The main benefit is that
we ERROR message don't get written to postgres logs.

We also have tidy up the return value on `simple_upsert`, rather than
having a tri-state of inserted/not-inserted/unknown.
2021-07-22 12:39:50 +01:00
..
_scripts Add script for getting info about recently registered users (#10290) 2021-07-06 13:03:16 +01:00
api Switch to chunk events so we can auth via power_levels (MSC2716) (#10432) 2021-07-21 10:29:57 +00:00
app Port the ThirdPartyEventRules module interface to the new generic interface (#10386) 2021-07-20 12:39:46 +02:00
appservice Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
config Update the notification email subject when invited to a space. (#10426) 2021-07-21 17:29:54 +00:00
crypto Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
events Port the ThirdPartyEventRules module interface to the new generic interface (#10386) 2021-07-20 12:39:46 +02:00
federation Add type hints to additional servlet functions (#10437) 2021-07-21 18:12:22 +00:00
groups Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
handlers Port the ThirdPartyEventRules module interface to the new generic interface (#10386) 2021-07-20 12:39:46 +02:00
http Fix a handful of type annotations. (#10446) 2021-07-22 12:00:16 +01:00
logging Fix a handful of type annotations. (#10446) 2021-07-22 12:00:16 +01:00
metrics [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00
module_api Fix a handful of type annotations. (#10446) 2021-07-22 12:00:16 +01:00
push Update the notification email subject when invited to a space. (#10426) 2021-07-21 17:29:54 +00:00
replication Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
res/templates Port "Allow users to click account renewal links multiple times without hitting an 'Invalid Token' page #74" from synapse-dinsic (#9832) 2021-04-19 19:16:34 +01:00
rest Add type hints to additional servlet functions (#10437) 2021-07-21 18:12:22 +00:00
server_notices Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
static Add initial support for a "pick your IdP" page (#9017) 2021-01-05 11:25:28 +00:00
storage Replace or_ignore in simple_insert with simple_upsert (#10442) 2021-07-22 12:39:50 +01:00
streams Add a return type to parse_string. (#10438) 2021-07-21 09:47:56 -04:00
util [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00
__init__.py 1.39.0rc1 2021-07-20 12:31:51 +01:00
event_auth.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
notifier.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
python_dependencies.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
server.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
types.py [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00
visibility.py [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00