summary refs log tree commit diff
path: root/scripts-dev/check_auth.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-10-19Fix typo in thumbnail generationErik Johnston1-2/+5
2017-10-19Fix typoErik Johnston1-1/+1
2017-10-17Fix 500 error when we get an error handling a PDURichard van der Hoff1-1/+0
FederationServer doesn't have a send_failure (and nor does its subclass, ReplicationLayer), so this was failing. I'm not really sure what the idea behind send_failure is, given (a) we don't do anything at the other end with it except log it, and (b) we also send back the failure via the transaction response. I suspect there's a whole lot of dead code around it, but for now I'm just removing the broken bit.
2017-10-17Doc some more dynamic Homeserver methodsRichard van der Hoff1-0/+8
2017-10-17Fix 500 error when fields missing from power_levels eventRichard van der Hoff1-3/+3
If the users or events keys were missing from a power_levels event, then we would throw 500s when trying to auth them.
2017-10-17Improve error handling for missing files (#2551)Richard van der Hoff3-17/+33
`os.path.exists` doesn't allow us to distinguish between permissions errors and the path actually not existing, which repeatedly confuses people. It also means that we try to overwrite existing key files, which is super-confusing. (cf issues #2455, #2379). Use os.stat instead. Also, don't recomemnd the the use of --generate-config, which screws everything up if you're using debian (cf #2455).
2017-10-17fix thumbnailing (#2548)Krombel1-2/+2
in commit 0e28281a the code for thumbnailing got refactored and the renaming of this variables was not done correctly. Signed-Off-by: Matthias Kesler <krombel@krombel.de>
2017-10-17Fix logcontext handling for persist_eventsRichard van der Hoff2-7/+22
* don't use preserve_context_over_deferred, which is known broken. * remove a redundant preserve_fn. * add/improve some comments
2017-10-17Fix name of test_logcontextRichard van der Hoff1-0/+0
The file under test is logcontext.py, not log_context.py
2017-10-17Add some tests for make_deferred_yieldableRichard van der Hoff1-0/+38
2017-10-17Remove dead classRichard van der Hoff1-76/+0
This isn't used anywhere.
2017-10-17Fix testDavid Baker1-0/+1
2017-10-17pep8David Baker1-1/+2
2017-10-16Add config option to auto-join new users to roomsDavid Baker2-0/+40
New users who register on the server will be dumped into all rooms in auto_join_rooms in the config.
2017-10-16DelintLuke Barnard3-1/+3
2017-10-16Make it work. Warn about lack of user profileLuke Barnard1-2/+2
2017-10-16_create_rererouter for get_invited_users_in_groupLuke Barnard1-17/+2
2017-10-16Implement GET /groups/$groupId/invited_usersLuke Barnard6-1/+115
2017-10-16Log a warning when no profile for invited memberLuke Barnard1-2/+5
And return empty profile
2017-10-16Omit the *s for @room notificationsDavid Baker1-1/+1
They're just redundant
2017-10-13Add try/finally block to close t_byte_sourceErik Johnston1-24/+41
2017-10-13Remove old commentErik Johnston1-1/+0
2017-10-13oopsMatthew Hodgson1-1/+1
2017-10-13Don't reuse source but instead copy from primary media store to backupErik Johnston2-22/+9
2017-10-13PEP8Erik Johnston1-1/+1
2017-10-13fix copyright to companies which actually exist(ed)Matthew Hodgson1-1/+1
2017-10-13Move type into keyErik Johnston1-3/+3
2017-10-13CommentErik Johnston1-1/+1
2017-10-13Remove spurious additionErik Johnston1-4/+0
2017-10-13Don't needlessly rename variableErik Johnston1-13/+13
2017-10-13Add paths back in...Erik Johnston1-4/+4
2017-10-13Remove unnecessary diffErik Johnston1-3/+1
2017-10-13Make things be absolute paths againErik Johnston1-7/+7
2017-10-13s/write_to_file/write_to_file_and_backup/Erik Johnston1-5/+5
2017-10-13Fix upErik Johnston2-43/+32
2017-10-13Fix up thumbnailing functionErik Johnston3-75/+73
2017-10-13Fix typoErik Johnston1-1/+1
2017-10-13Fix up commentsErik Johnston1-2/+26
2017-10-13Move makedirs to threadErik Johnston1-2/+1
2017-10-13Use make_deferred_yieldableErik Johnston1-7/+7
2017-10-12Fix commentsErik Johnston2-1/+4
2017-10-12Don't close prematurely..Erik Johnston1-2/+5
2017-10-12getvalue closes bufferErik Johnston1-11/+10
2017-10-12Get len before closeErik Johnston1-6/+11
2017-10-12Don't close file prematurelyErik Johnston2-8/+18
2017-10-12Copy everything to backupErik Johnston5-77/+151
2017-10-12TypoErik Johnston1-1/+1
2017-10-12Remove dead codeErik Johnston1-3/+0
2017-10-12Fix typosErik Johnston1-20/+26
2017-10-12Fix typoErik Johnston1-1/+1
2017-10-12Basic implementation of backup media storeErik Johnston4-126/+131
2017-10-12log when we get an exception handling replication updateshera1-1/+5
2017-10-11logformatter: fix AttributeErrorRichard van der Hoff1-3/+11
make sure we have the relevant fields before we try to log them.
2017-10-11Fix fetching remote summariesErik Johnston1-2/+2
2017-10-11peeeeeeeeep8888888888888888888888888888Erik Johnston1-1/+1
2017-10-11Fix group stream replicationErik Johnston1-7/+7
The stream update functions expect the storage function to return a list of tuples.
2017-10-11Fix stackoverflow and logcontexts from linearizerRichard van der Hoff2-6/+46
1. make it not blow out the stack when there are more than 50 things waiting for a lock. Fixes https://github.com/matrix-org/synapse/issues/2505. 2. Make it not mess up the log contexts.
2017-10-11fix isinstanceDavid Baker1-1/+1
2017-10-11Fix typo in invite to groupErik Johnston1-1/+1
2017-10-11Allow error strings from spam checkerDavid Baker1-2/+6
2017-10-11fix a logcontext leak in read receipt handlingRichard van der Hoff1-0/+4
2017-10-11log pdu_failures from incoming transactionsRichard van der Hoff1-2/+3
... even if we have no EDUs. This appears to have been introduced in 476899295f5fd6cff64799bcbc84cd4bf9005e33.
2017-10-11Fix typoErik Johnston1-1/+1
2017-10-11Fix attestations to check correct server nameErik Johnston1-10/+20
2017-10-11Fix schema delta versionsErik Johnston3-1/+1
2017-10-11Validate room idsErik Johnston1-1/+5
2017-10-10pep8David Baker2-3/+5
2017-10-10Don't KeyError if no power_levels eventDavid Baker1-1/+3
2017-10-10Use notification levels in power_levelsDavid Baker3-12/+22
Rather than making the condition directly require a specific power level. This way the level require to notify a room can be configured per room.
2017-10-10There was already a constant for thisDavid Baker1-3/+4
also update copyright
2017-10-10More optimisationDavid Baker1-6/+9
2017-10-10What year is it!? Who's the president!?David Baker1-1/+1
2017-10-09fed server: process PDUs for different rooms in parallelRichard van der Hoff1-19/+34
With luck, this will give a real-time improvement when there are many rooms and the server ends up calling out to fetch missing events.
2017-10-09Fed server: use a linearizer for ongoing transactionsRichard van der Hoff1-1/+29