summary refs log tree commit diff
path: root/contrib/vertobot/verto-example.json (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-05-17Update changelog v0.21.0-rc3Erik Johnston1-1/+2
2017-05-17SpellingErik Johnston1-2/+2
2017-05-17Bump changelog and versionErik Johnston2-1/+25
2017-05-17CommentErik Johnston1-0/+5
2017-05-17Short circuit when we have delta idsErik Johnston1-3/+19
2017-05-16Speed up get_joined_hostsErik Johnston2-2/+4
2017-05-16Make presence use cached users/hosts in roomErik Johnston2-4/+4
2017-05-16Speed up get_domain_from_idErik Johnston1-3/+3
2017-05-16Remove spurious merge artifactsErik Johnston1-13/+0
2017-05-16Take a copy before prefilling, as it may be a frozendictErik Johnston1-1/+1
2017-05-15Don't log exceptions for NotRetryingDestinationErik Johnston1-1/+3
2017-05-15Fixed syntax nitsPablo Saavedra2-5/+6
2017-05-15Update commentErik Johnston1-1/+2
2017-05-15CommentsErik Johnston2-3/+6
2017-05-15Add more granular event send metricsErik Johnston1-0/+12
2017-05-15Prefill state cachesErik Johnston3-6/+20
2017-05-15Fixed implementation errorsPablo Saavedra2-3/+7
* Added HS as property in SyncRestServlet * Fixed set_timeline_upper_limit function implementat¡ion
2017-05-13Configurable maximum number of events requested by /sync and /messages (#2220)Pablo Saavedra4-0/+21
Set the limit on the returned events in the timeline in the get and sync operations. The default value is -1, means no upper limit. For example, using `filter_timeline_limit: 5000`: POST /_matrix/client/r0/user/user:id/filter { room: { timeline: { limit: 1000000000000000000 } } } GET /_matrix/client/r0/user/user:id/filter/filter:id { room: { timeline: { limit: 5000 } } } The server cuts down the room.timeline.limit.
2017-05-11Add a comment to old deltaRichard van der Hoff1-0/+4
2017-05-11Don't create event_search index on sqliteRichard van der Hoff2-3/+11
... because the table is virtual
2017-05-11Add more logging for purgingRichard van der Hoff1-7/+14
Log the number of events we will be deleting at info.
2017-05-11Add an index to event_searchRichard van der Hoff3-3/+35
- to make the purge API quicker
2017-05-11Tidy purge code and add some commentsRichard van der Hoff1-12/+19
Try to make this clearer with more comments and some variable renames
2017-05-10Don't de-delta state groups we're about to deleteRichard van der Hoff1-11/+9
2017-05-10add some logging to purge_historyRichard van der Hoff1-4/+21
2017-05-10Modify condition on empty localpartLuke Barnard1-1/+1
2017-05-10Modify register/available to be GET with query paramLuke Barnard2-5/+11
- GET is now the method for register/available - a query parameter "username" is now used Also, empty usernames are now handled with an error message on registration or via register/available: `User ID cannot be empty`
2017-05-10Documantation to chek synapse versionhamber-dick1-0/+9
I've added some Documentation, how to get the running Version of a Synapse homeserver. This should help the HS-Owners to check whether the Upgrade was successful.
2017-05-10Change register/available to POST (from GET)Luke Barnard1-1/+1
2017-05-10Add per user ratelimiting overridesErik Johnston6-19/+93
2017-05-09Replace some instances of preserve_context_over_deferredRichard van der Hoff1-3/+3
2017-05-09Do some logging when one-time-keys get claimedRichard van der Hoff3-0/+54
might help us figure out if https://github.com/vector-im/riot-web/issues/3868 has happened.
2017-05-09Allow clients to upload one-time-keys with new sigsRichard van der Hoff3-33/+182
When a client retries a key upload, don't give an error if the signature has changed (but the key is the same). Fixes https://github.com/vector-im/riot-android/issues/1208, hopefully.
2017-05-08Expand docstring a bitErik Johnston1-1/+7
2017-05-08Add missing yieldsErik Johnston1-2/+4
2017-05-08Don't update event cache hit ratio from get_joined_usersErik Johnston3-5/+21
Otherwise the hit ration of plain get_events gets completely skewed by calls to get_joined_users* functions.
2017-05-08Invalidate cache on device deletionErik Johnston1-2/+6
2017-05-08Cache one time key countsErik Johnston1-0/+9
2017-05-08CommentErik Johnston1-0/+2
2017-05-08Cache check to see if device existsErik Johnston1-1/+12
2017-05-08Increase client_ip cache sizeErik Johnston1-0/+1
2017-05-08Bump version and changelog v0.21.0-rc2Erik Johnston2-1/+14
2017-05-08Revert "Remove unused import"Erik Johnston1-0/+1
This reverts commit ab37bef83bebd7cdaeb7cfd98553d18883d09103.
2017-05-08Revert "We don't care about forgotten rooms"Erik Johnston1-0/+12
This reverts commit ad8b316939d59230526e60660caf9094cff62c8f.
2017-05-08Revert "Speed up filtering of a single event in push"Erik Johnston4-24/+40
This reverts commit 421fdf74609439edaaffce117436e6a6df147841.
2017-05-08Bump version and changelog v0.21.0-rc1Erik Johnston2-1/+50
2017-05-05CommentErik Johnston1-0/+6
2017-05-05Use preserve_fn and add logsErik Johnston1-1/+3
2017-05-05Remove redundant reset of destination timersErik Johnston1-7/+0
2017-05-05Remember how twisted worksKegan Dougal1-2/+2
2017-05-05Add comment and TODOErik Johnston1-0/+6
2017-05-05Include the clockKegan Dougal1-0/+1
2017-05-05Rewrite SimpleHttpClient.request to include timeoutsKegan Dougal1-13/+19
Fixes #2191
2017-05-05Always mark remotes as up if we receive a signed request from themErik Johnston1-0/+7
2017-05-05Handle exceptions thrown in handling remote device list updatesErik Johnston1-1/+16
2017-05-05FixesErik Johnston1-3/+4
2017-05-04Revert "Prefill state caches"Erik Johnston3-27/+9
2017-05-04Add commentErik Johnston1-0/+3
2017-05-04Intern host stringsErik Johnston1-1/+2
2017-05-04Make caches biggerErik Johnston1-1/+1
2017-05-04Fix comment and num argsErik Johnston2-2/+2
2017-05-04Add new storage functions to slave storeErik Johnston1-0/+3
2017-05-04Optimise caches with single keyErik Johnston1-9/+33
2017-05-04Reduce size of get_users_in_roomErik Johnston1-2/+2
2017-05-03Appease the flake8 godsLuke Barnard1-5/+10
2017-05-03Make get_joined_users fasterErik Johnston1-16/+38
2017-05-03Implement username availability checkerLuke Barnard1-0/+36
Outlined here: https://github.com/vector-im/riot-web/issues/3605#issuecomment-298679388 ```HTTP GET /_matrix/.../register/available { "username": "desiredlocalpart123" } ``` If available, the response looks like ```HTTP HTTP/1.1 200 OK { "available": true } ``` Otherwise, ```HTTP HTTP/1.1 429 { "errcode": "M_LIMIT_EXCEEDED", "error": "Too Many Requests", "retry_after_ms": 2000 } ``` or ```HTTP HTTP/1.1 400 { "errcode": "M_USER_IN_USE", "error": "User ID already taken." } ``` or ```HTTP HTTP/1.1 400 { "errcode": "M_INVALID_USERNAME", "error": "Some reason for username being invalid" } ```
2017-05-03No need for the exception variableDavid Baker1-1/+1
2017-05-03List caught expection typesDavid Baker1-1/+1
2017-05-03Merge together redundant calculations/loggingErik Johnston1-9/+2
2017-05-03Update commentErik Johnston1-1/+2
2017-05-03CommentsErik Johnston2-3/+6
2017-05-02Add more granular event send metricsErik Johnston7-5/+32
2017-05-02Instantiate DeferredTimedOutError correctlyRichard van der Hoff1-1/+1
Call `super` correctly, so that we correctly initialise the `errcode` field. Fixes https://github.com/matrix-org/synapse/issues/2179.
2017-05-02Prefill state cachesErik Johnston3-6/+18
2017-05-02Add cache for get_current_hosts_in_roomErik Johnston3-5/+50
2017-04-28FixupErik Johnston1-10/+4
2017-04-28Remove unncessary call in _get_missing_events_for_pduErik Johnston1-13/+11
2017-04-28Don't fetch state for missing events that we fetchedErik Johnston1-0/+6
2017-04-28Remove unused importErik Johnston1-1/+0
2017-04-28We don't care about forgotten roomsErik Johnston1-12/+0
2017-04-28Speed up filtering of a single event in pushErik Johnston4-40/+37
2017-04-27Comment and remove spurious loggingErik Johnston2-1/+3
2017-04-27Fix bgupdate error if index already exists (#2167)Richard van der Hoff1-30/+53
When creating a new table index in the background, guard against it existing already. Fixes https://github.com/matrix-org/synapse/issues/2135. Also, make sure we restore the autocommit flag when we're done, otherwise we get more failures from other operations later on. Fixes https://github.com/matrix-org/synapse/issues/1890 (hopefully).
2017-04-27TypoErik Johnston1-1/+1
2017-04-27Add some extra logging for edge cases of federationErik Johnston1-2/+22
2017-04-26Fix testsErik Johnston1-3/+3
2017-04-26Fix invite state to always include all eventsErik Johnston3-7/+24
2017-04-26Remove debuggingDavid Baker1-2/+1
2017-04-26Revert accidental commitDavid Baker1-4/+4
2017-04-26Fix get_jsonDavid Baker1-5/+4
2017-04-25Use CodeMessageException subclass insteadDavid Baker4-61/+51
Parse json errors from get_json client methods and throw special errors.
2017-04-25document how to make IPv6 work (#2088)Matthew Hodgson1-0/+19
* document how to make IPv6 work * spell out that pip will install 17.1 by default
2017-04-25Make state caches cache in asciiErik Johnston1-2/+3
2017-04-25fix upErik Johnston1-1/+2
2017-04-25Don't specify default as dictErik Johnston1-1/+1
2017-04-25CommentErik Johnston1-0/+2
2017-04-25Reduce size of joined_user cacheErik Johnston4-11/+40
The _get_joined_users_from_context cache stores a mapping from user_id to avatar_url and display_name. Instead of storing those in a dict, store them in a namedtuple as that uses much less memory. We also try converting the string to ascii to further reduce the size.
2017-04-25Reduce _get_state_group_for_event cache sizeErik Johnston1-1/+1
2017-04-25Remove DEBUG_CACHESErik Johnston1-2/+0
2017-04-25Reduce cache size by not storing deferredsErik Johnston2-22/+28
Currently the cache descriptors store deferreds rather than raw values, this is a simple way of triggering only one database hit and sharing the result if two callers attempt to get the same value. However, there are a few caches that simply store a mapping from string to string (or int). These caches can have a large number of entries, under the assumption that each entry is small. However, the size of a deferred (specifically the size of ObservableDeferred) is signigicantly larger than that of the raw value, 2kb vs 32b. This PR therefore changes the cache descriptors to store the raw values rather than the deferreds. As a side effect cached storage function now either return a deferred or the actual value, as the cached list decriptor already does. This is fine as we always end up just yield'ing on the returned value eventually, which handles that case correctly.
2017-04-24Fix code for reporting old verify keys in synapseMark Haines1-3/+2
2017-04-24Only intern ascii stringsErik Johnston1-18/+11
2017-04-24Remove unused cacheErik Johnston2-9/+1
2017-04-21Need the HTTP status codeDavid Baker1-5/+5
2017-04-21Do the same for get_jsonDavid Baker1-8/+21
2017-04-21clarify metric setup to use 'scrape_configs' section of yaml and use an ↵Sean Enck1-3/+2
ar