MatrixSynapse/synapse/storage
Brendan Abolivier 041ee971c9
Unread counts fixes (#8254)
* Fixup `ALTER TABLE` database queries

Make the new columns nullable, because doing otherwise can wedge a
server with a big database, as setting a default value rewrites the
table.

* Switch back to using the notifications count in the push badge

Clients are likely to be confused if we send a push but the badge count
is the unread messages one, and not the notifications one.

* Changelog
2020-09-04 14:14:22 +01:00
..
databases Unread counts fixes (#8254) 2020-09-04 14:14:22 +01:00
engines Use SequenceGenerator for state group ID allocation 2020-07-16 11:25:08 +01:00
schema Only run one background update at a time 2020-03-31 17:43:58 +01:00
util Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
__init__.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
_base.py Be stricter about JSON that is accepted by Synapse (#8106) 2020-08-19 07:26:03 -04:00
background_updates.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
database.py Fix type signature in simple_select_one_onecol and friends (#8241) 2020-09-04 12:02:29 +01:00
keys.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
persist_events.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
prepare_database.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
purge_events.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
push_rule.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
relations.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
roommember.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
state.py Stop sub-classing object (#8249) 2020-09-04 06:54:56 -04:00
types.py isort 5 compatibility (#7786) 2020-07-05 16:32:02 +01:00