Jonathan de Jong
4b965c862d
Remove redundant "coding: utf-8" lines ( #9786 )
Part of #9744
Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now.
`Signed-off-by: Jonathan de Jong <jonathan@automatia.nl>`
пре 3 година
Eric Eastwood
0a00b7ff14
Update black, and run auto formatting over the codebase ( #9381 )
- Update black version to the latest
- Run black auto formatting over the codebase
- Run autoformatting according to [`docs/code_style.md
`](80d6dc9783/docs/code_style.md)
- Update `code_style.md` docs around installing black to use the correct version
пре 3 година
Patrick Cloke
c619253db8
Stop sub-classing object ( #8249 )
пре 3 година
Patrick Cloke
5c03134d0f
Convert additional database code to async/await. ( #8195 )
пре 3 година
Patrick Cloke
9b7ac03af3
Convert calls of async database methods to async ( #8166 )
пре 3 година
Andrew Morgan
3916e1b97a
Clean up newline quote marks around the codebase ( #6362 )
пре 4 година
Richard van der Hoff
a6a776f3d8
remove dead transaction persist code ( #5622 )
this hasn't done anything for years
пре 4 година
Amber Brown
463b072b12
Move logging utilities out of the side drawer of util/ and into logging/ ( #5606 )
пре 4 година
Amber Brown
32e7c9e7f2
Run Black. ( #5482 )
пре 4 година
Richard van der Hoff
c127c8d042
Fix origin handling for pushed transactions
Use the actual origin for push transactions, rather than whatever the remote
server claimed.
пре 5 година
Amber Brown
49af402019
run isort
пре 5 година
Matthew Hodgson
6c28ac260c
copyrights
пре 8 година
Erik Johnston
0cf7e480b4
And use buffer(...) there as well
пре 9 година
Erik Johnston
977338a7af
Use buffer(...) when inserting into bytea column
пре 9 година
Erik Johnston
ddb816cf60
Don't unfreeze when using FreezeEvent.get_dict, as we are using a JSONEncoder that understands FrozenDict
пре 9 година
Erik Johnston
4ebbaf0d43
Blunty replace json with simplejson
пре 9 година
Mark Haines
adb04b1e57
Update copyright notices
пре 9 година
Erik Johnston
aa76bf39ab
Remove unused imports
пре 9 година
Erik Johnston
d59aa6af25
For now, don't store txn -> pdu mappings.
пре 9 година
Erik Johnston
bfa36a72b9
Remove PDU tables.
пре 9 година
Mark Haines
f5cf7ac25b
SPEC-7: Rename 'ts' to 'origin_server_ts'
пре 9 година
Matthew Hodgson
8a7c1d6a00
fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch.
пре 9 година
Mark Haines
474dcecb11
Remove unused populate_previous_pdus
пре 9 година
Mark Haines
6966971a28
Use store.persist_event rather than pdu_actions.persist_outgoing/pdu_actions.persist_received
пре 9 година
Mark Haines
64e2a5d58e
Move pdu and event persistence into a single persist_event function
пре 9 година
Matthew Hodgson
59dfbaba3b
when we're talking about backfilling data in federation, call it backfilling - not pagination.
пре 9 година
Matthew Hodgson
f98e6380f1
add in whitespace after copyright statements to improve legibility
пре 9 година
matrix.org
4f475c7697
Reference Matrix Home Server
пре 9 година