summary refs log tree commit diff
path: root/tests/utils.py (unfollow)
Commit message (Expand)AuthorFilesLines
2016-11-18Fix flake8Mark Haines1-1/+0
2016-11-18Work around client replacing reg paramsDavid Baker1-0/+12
2016-11-14Bump changelog and version v0.18.4-rc1Erik Johnston2-1/+21
2016-11-14Clean transactions based on time. Add HttpTransactionCache tests.Kegan Dougal5-8/+99
2016-11-14Move .observe() up to the cache to make things neaterKegan Dougal3-33/+11
2016-11-12Add support for durations in minutesDaniel Dent1-2/+3
2016-11-11Review commentsKegan Dougal5-158/+119
2016-11-11More flake8Kegan Dougal1-1/+3
2016-11-11Flake8 and fix whoopsieKegan Dougal1-4/+8
2016-11-11Use ObservableDeferreds instead of Deferreds as they behave as intendedKegan Dougal2-30/+31
2016-11-11Use observable deferreds because they are saneKegan Dougal1-3/+4
2016-11-10Flake8Kegan Dougal2-4/+4
2016-11-10Store Promise<Response> instead of Response for HTTP API transactionsKegan Dougal4-88/+68
2016-11-08Don't assume providers raise ConfigError'sErik Johnston1-2/+7
2016-11-08Bump version and changelogErik Johnston2-1/+14
2016-11-08Explicitly set authentication mode in ldap3Erik Johnston1-1/+2
2016-11-08Sample correctlyErik Johnston1-1/+3
2016-11-08Respect use_frozen_dicts option in workersErik Johnston6-0/+22
2016-11-08Limit the number of prev_events of new eventsErik Johnston1-0/+13
2016-11-06default config: blacklist more internal ipsEuan Kemp1-0/+2
2016-11-04CommentErik Johnston1-0/+1
2016-11-04Remove unused but buggy functionErik Johnston1-11/+1
2016-11-03Fix copypasto error in metric rename table in docsPaul "LeoNerd" Evans1-4/+4
2016-11-03Rename the python-specific metrics now the docs claim that we have donePaul "LeoNerd" Evans1-7/+9
2016-11-03Since we don't export per-filetype fd counts any more, delete all the code re...Paul "LeoNerd" Evans1-36/+4
2016-11-03Remove now-unused 'resource' importPaul "LeoNerd" Evans1-8/+0
2016-11-03Now we have new-style metrics don't bother exporting legacy-named process onesPaul "LeoNerd" Evans1-16/+1
2016-11-03Remove spurious commentErik Johnston1-2/+2
2016-11-03Replace postgres GIN with GISTErik Johnston3-1/+45
2016-11-03Don't error on non-ascii passwordsDavid Baker1-1/+1
2016-11-02Set CORs headers on responses from the media repoMark Haines3-7/+22
2016-11-01Bump version and changelogErik Johnston2-1/+7
2016-11-01Continue to clean up received_transactionsErik Johnston1-0/+14
2016-10-31Removed unused stuffErik Johnston1-163/+3
2016-10-31Increase batching of sent transaction insertsErik Johnston1-1/+1
2016-10-31Add details of renamed metricsPaul "LeoNerd" Evans1-0/+34
2016-10-28Remove long-deprecated instructions about promethesus console; also fix for m...Paul "LeoNerd" Evans1-33/+8
2016-10-28Changelog formattting v0.18.2-rc5Erik Johnston1-0/+1
2016-10-28Bump changelog and versionMark Haines2-1/+8
2016-10-27Set up the process collector during metrics __init__; that way all split-proc...Paul "LeoNerd" Evans2-2/+3
2016-10-27Pass the Metrics group into the process collector instead of having it find i...Paul "LeoNerd" Evans2-8/+4
2016-10-27Allow creation of a 'subspace' within a Metrics object, returning another onePaul "LeoNerd" Evans1-0/+3
2016-10-27Bump changelog and version v0.18.2-rc4Erik Johnston2-1/+10
2016-10-27Use most recently added binding, not most recently seen user.Erik Johnston1-19/+11
2016-10-27Fix user_threepids schema deltaErik Johnston1-1/+38
2016-10-27Update changelog v0.18.2-rc3Erik Johnston1-0/+1
2016-10-27Bump changelog and versionErik Johnston2-2/+8
2016-10-25Fixup change log v0.18.2-rc2Erik Johnston1-2/+2
2016-10-25Bump version and changelogErik Johnston2-1/+20
2016-10-24Fix infinite typing bugErik Johnston1-2/+10
2016-10-24Actually use the new functionErik Johnston1-1/+1
2016-10-24Fix incredubly slow back pagination queryErik Johnston4-12/+48
2016-10-20StyleLuke Barnard1-2/+3
2016-10-20Closing brace on following lineLuke Barnard1-1/+2
2016-10-20as_user->app_service, less redundant comments, better positioned commentsLuke Barnard3-14/+11
2016-10-20flake8Luke Barnard1-1/+3
2016-10-20Use real AS object by passing it through the requesterLuke Barnard3-18/+15
2016-10-19Split callback metric lambda functions down onto their own lines to keep line...Paul "LeoNerd" Evans1-8/+16
2016-10-19Adjust code for <100 char line limitPaul "LeoNerd" Evans1-1/+1
2016-10-19Cut the raw /proc/self/stat line up into named fields at collection timePaul "LeoNerd" Evans1-8/+22
2016-10-19Move the process metrics collector code into its own filePaul "LeoNerd" Evans3-141/+161
2016-10-19A slightly neater way to manage metric collector functionsPaul "LeoNerd" Evans1-2/+8
2016-10-19appease pep8Paul "LeoNerd" Evans1-3/+5
2016-10-19Also guard /proc/self/fds-related code with a suitable psuedoconstantPaul "LeoNerd" Evans1-3/+5
2016-10-19Guard registration of process-wide metrics by existence of the requisite /pro...Paul "LeoNerd" Evans1-45/+50
2016-10-19Add standard process_start_time_seconds metricPaul "LeoNerd" Evans1-0/+15
2016-10-19Add standard process_max_fds metricPaul "LeoNerd" Evans1-0/+13
2016-10-19Add standard process_open_fds metricPaul "LeoNerd" Evans1-20/+29
2016-10-19Add standard process_*_memory_bytes metricsPaul "LeoNerd" Evans1-0/+8
2016-10-19Use /proc/self/stat to generate the new process_cpu_*_seconds_total metricsPaul "LeoNerd" Evans1-4/+12
2016-10-19Export CPU usage metrics also under prometheus-standard metric namePaul "LeoNerd" Evans1-0/+15
2016-10-19Callback metric values might not just be integers - allow floatsPaul "LeoNerd" Evans1-2/+2
2016-10-19CommentErik Johnston1-0/+3
2016-10-19Latest delta is now 37David Baker1-0/+0
2016-10-19Convert emails to lowercase when storingDavid Baker2-1/+20
2016-10-19Check whether to ratelimit sooner to avoid workErik Johnston2-6/+22
2016-10-18Refactor test_filter to use real DataStorepik3-46/+83
2016-10-18Allow Configurable Rate Limiting Per ASLuke Barnard3-1/+26
2016-10-18Fix push notifications for a single unread messageErik Johnston1-1/+1
2016-10-18Reduce redundant database work in email pusherErik Johnston1-0/+4
2016-10-17Update changelog v0.18.2-rc1Erik Johnston1-4/+7
2016-10-17Bump version and changelogErik Johnston2-2/+26
2016-10-17Bump schema versionErik Johnston2-1/+1
2016-10-17Remove TODOErik Johnston1-2/+0
2016-10-17Drop some unused indicesErik Johnston3-17/+83
2016-10-14Fix MockHttpRequest always returning M_UNKNOWN errcode in testingpik1-1/+1
2016-10-14Revert part of 6207399David Baker1-20/+10
2016-10-14Error codes for filtersAlexander Maznev2-7/+16
2016-10-14Make password reset email field case insensitiveDavid Baker2-10/+36
2016-10-13Fix email push notifs being droppedErik Johnston1-14/+25
2016-10-12Handle delete device requests with no bodyRichard van der Hoff1-2/+11
2016-10-12User-interactive auth on delete deviceRichard van der Hoff1-5/+11
2016-10-12Explain how long the servers can cache the TLS fingerprints forMark Haines1-3/+4
2016-10-12Improve comment formattingMark Haines2-4/+7
2016-10-11Add config option for adding additional TLS fingerprintsMark Haines2-12/+41
2016-10-11Fix check of wrong variableErik Johnston1-1/+1
2016-10-11Work around email-spamming Riot bugRichard van der Hoff1-3/+14
2016-10-08Use sys.executable instead of hardcoded python. fixes #1161Pedro Larroy1-1/+1
2016-10-07Interactive Auth: Return 401 from for incorrect passwordRichard van der Hoff1-32/+52
2016-10-06rest/client/v1/register: use the correct requester in createUserPatrik Oldsberg4-31/+22
2016-10-06window.postmessage for Interactive Auth fallbackRichard van der Hoff1-1/+3
2016-10-06handlers/profile: added admin override for set_displayname and set_avatar_urlPatrik Oldsberg1-4/+4
2016-10-06handers: do not ratelimit app service sendersPatrik Oldsberg1-1/+7
2016-10-06storage/appservice: make appservice methods only relying on the cache synchro...Patrik Oldsberg10-41/+31
2016-10-05Bump changelog and versionErik Johnston2-1/+7
2016-10-04Add Riot brand to email notifsDavid Baker1-1/+3
2016-10-03Implement pluggable password authErik Johnston7-401/+486
2016-09-30Update changelog v0.18.1-rc1Erik Johnston1-0/+2
2016-09-30api/auth: fix for not being allowed to set your own state_keyPatrik Oldsberg1-10/+0
2016-09-30Bump version and changelogErik Johnston2-1/+22
2016-09-29Restructure ldap authenticationMartin Weinelt1-87/+192
2016-09-27Fix background reindex of origin_server_tsErik Johnston1-15/+29
2016-09-27Update port script with recently added tablesErik Johnston1-0/+9
2016-09-27Remove duplicationErik Johnston1-31/+19
2016-09-27Remove unused variableErik Johnston1-3/+0
2016-09-26Fix perf of fetching state in SQLiteErik Johnston1-20/+41
2016-09-25typoMatthew Hodgson1-1/+1
2016-09-23Reduce DB hits for replicationErik Johnston6-45/+115
2016-09-23Move FEDERATION_PING_INTERVAL timer. Update log lineErik Johnston1-8/+10
2016-09-23Time out typing over federationErik Johnston6-83/+120
2016-09-22Update commentsErik Johnston1-2/+3
2016-09-22Add commentsErik Johnston2-0/+6
2016-09-22Shuffle things around to make unit tests workErik Johnston2-15/+16
2016-09-22Allow invites via 3pid to bypass sender sig checkErik Johnston2-7/+22
2016-09-21Match against event_id, rather than room_idErik Johnston1-1/+1
2016-09-21Remove spurious AS clauseErik Johnston1-1/+1
2016-09-21Update correct tableErik Johnston1-6/+10
2016-09-21Readd entries to public_room_list_stream that were deletedErik Johnston2-1/+23
2016-09-21Fix _delete_old_forward_extrem_cache queryErik Johnston1-5/+4
2016-09-21Add total_room_count_estimate to /publicRoomsErik Johnston1-0/+3
2016-09-21Support /initialSync in synchrotron workerErik Johnston6-383/+461
2016-09-19Bump version and changelogErik Johnston2-3/+16
2016-09-19_id field must uniquely identify different conditionsErik Johnston1-2/+2
2016-09-17proposal for notifying on e2e eventsMatthew Hodgson1-0/+49
2016-09-17PEP8Erik Johnston1-1/+1
2016-09-17Handle fact that _generate_room_entry may not return a room entryErik Johnston1-12/+25
2016-09-17Enable guest access to POST /publicRoomsErik Johnston1-2/+2
2016-09-17SpellingErik Johnston1-1/+1
2016-09-17Fix and clean up publicRooms paginationErik Johnston1-110/+123
2016-09-17mention client_reader workerMatthew Hodgson1-0/+1
2016-09-17fix logger for client_reader workerMatthew Hodgson1-1/+1
2016-09-16Make public room search case insensitiveDavid Baker1-4/+4
2016-09-16Update changelog v0.18.0-rc1Erik Johnston1-2/+3
2016-09-16Update changelog and bump versionErik Johnston2-1/+41
2016-09-16Fix public room pagination for client_reader appErik Johnston1-0/+1
2016-09-16CommentErik Johnston1-0/+2
2016-09-16Make POST /publicRooms require authErik Johnston1-2/+1
2016-09-16CommentErik Johnston1-0/+2
2016-09-16Add remote reoom cacheErik Johnston1-2/+23
2016-09-16Support filtering remote room listsErik Johnston3-6/+18
2016-09-16Filter remote rooms lists locallyErik Johnston2-11/+25
2016-09-16Don't cache searched in /publicRoomsErik Johnston1-1/+5
2016-09-16Add new storage function to slave storeErik Johnston1-0/+1
2016-09-15Add very basic filter API to /publicRoomsErik Johnston1-5/+18
2016-09-15Change the way we calculate new_limit in /publicRooms and add POST APIErik Johnston2-15/+62
2016-09-15Handling expiring stream extrems correctly.Erik Johnston2-3/+22
2016-09-15Change get_pos_of_last_change to return upper boundErik Johnston2-6/+6
2016-09-15Enable state caches on workersErik Johnston6-0/+6
2016-09-15Use stream_change cache to make get_forward_extremeties_for_room cache more e...Erik Johnston3-2/+19
2016-09-15Add cache to get_forward_extremeties_for_roomErik Johnston2-1/+2
2016-09-15Remove default public rooms limitErik Johnston1-1/+1
2016-09-15By default limit /publicRooms to 100 entriesErik Johnston1-1/+1
2016-09-15Stream public room changes down replicationErik Johnston4-1/+74
2016-09-15Base public room list off of public_rooms streamErik Johnston2-7/+79
2016-09-15Pass since/from parameters over federationErik Johnston6-57/+63
2016-09-15Allow paginating both forwards and backwardsErik Johnston2-24/+65
2016-09-15Remove support for aggregate room listsErik Johnston3-65/+1
2016-09-15Ensure we don't mutate the cache of push rulesErik Johnston1-9/+1
2016-09-15Accept optional token to public room listErik Johnston2-7/+76
2016-09-14Calculate the public room list from a stream_orderingErik Johnston2-3/+43
2016-09-14Refactor public rooms to not pull out the full state for each roomErik Johnston2-16/+33