summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Fix event_backwards_extrem insertion to ignore outliersErik Johnston2015-05-191-2/+3
|
* Add a timeout param to get_eventErik Johnston2015-05-194-16/+25
|
* Handle the case when things return empty but non none thingsErik Johnston2015-05-191-2/+2
|
* Don't apply new room join hack if depth > 5Erik Johnston2015-05-191-3/+6
|
* Don't always hit get_server_verify_key_v1_directErik Johnston2015-05-191-5/+10
|
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perfErik Johnston2015-05-192-3/+12
|\
| * Disable GZip encoding on static file resources as per commentDavid Baker2015-05-191-1/+7
| |
| * Add forgotten .items()Erik Johnston2015-05-191-1/+1
| |
| * Fix scripts-dev/convert_server_keys.py to have correct formatErik Johnston2015-05-191-1/+4
| |
| * SYN-383: Actually, we expect this value to be a dictErik Johnston2015-05-191-1/+2
| |
| * Revert accidental commitErik Johnston2015-05-191-3/+3
| |
* | SYN-383: Actually, we expect this value to be a dictErik Johnston2015-05-191-1/+2
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perfErik Johnston2015-05-192-4/+4
|\|
| * SYN-383: Handle the fact the server might not have signed thingsErik Johnston2015-05-192-4/+4
| |
| * Don't reuse var namesErik Johnston2015-05-191-2/+2
| |
* | Don't reuse var namesErik Johnston2015-05-191-2/+2
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perfErik Johnston2015-05-191-18/+18
|\|
| * SYN-383: Fix parsing of verify_keys and catching of _DefGen_ReturnErik Johnston2015-05-191-18/+18
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perfErik Johnston2015-05-1914-161/+298
|\|
| * SYN-383: Extract the response list from 'server_keys' in the response JSON ↵Mark Haines2015-05-191-1/+3
| | | | | | | | as it might work better than iterating over the top level dict
| * Merge pull request #152 from matrix-org/notifier_performanceMark Haines2015-05-1813-160/+295
| |\ | | | | | | Notifier performance
| | * Don't bother sorting by the room_stream_ids, it shouldn't matter which order ↵Mark Haines2015-05-181-1/+1
| | | | | | | | | | | | they are notified in
| | * Merge branch 'develop' into notifier_performanceMark Haines2015-05-1810-105/+279
| | |\
| | * | Make sure the notifier stream token goes forward when it is updated. Sort ↵Mark Haines2015-05-182-4/+21
| | | | | | | | | | | | | | | | the pending events by the correct room_stream_id
| | * | Add some doc-strings to notifierMark Haines2015-05-141-19/+33
| | | |
| | * | Use the current token when timing out a notifier, make sure the user_id is a ↵Mark Haines2015-05-141-2/+2
| | | | | | | | | | | | | | | | string in on_new_user_event
| | * | Merge branch 'notifier_unify' into notifier_performanceMark Haines2015-05-144-21/+10
| | |\ \
| | * | | Fix v2 sync, update the last_notified_ms only if there was an active listenerMark Haines2015-05-142-6/+7
| | | | |
| | * | | Fix metric counterMark Haines2015-05-131-2/+2
| | | | |
| | * | | Discard unused NotifierUserStreamsMark Haines2015-05-133-16/+38
| | | | |
| | * | | Don't set a timer if there's already a result to returnMark Haines2015-05-131-3/+10
| | | | |
| | * | | Don't bother checking for new events from a source if the stream token ↵Mark Haines2015-05-131-2/+6
| | | | | | | | | | | | | | | | | | | | hasn't advanced for that source
| | * | | Don't bother checking for updates if the stream token hasn't advanced for a userMark Haines2015-05-1312-55/+123
| | | | |
| | * | | Merge branch 'notifier_unify' into notifier_performanceMark Haines2015-05-1228-306/+631
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/notifier.py
| | * \ \ \ Merge branch 'notifier_unify' into notifier_performanceMark Haines2015-05-123-24/+28
| | |\ \ \ \
| | * | | | | Add a NotifierUserStream to hold all the notification listeners for a userMark Haines2015-05-121-114/+116
| | | | | | |
* | | | | | | Do work in parellel when joining a roomErik Johnston2015-05-181-19/+50
|/ / / / / /
* | | | | | Merge pull request #154 from matrix-org/erikj/events_moveMark Haines2015-05-182-155/+132
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | Move get_events functions to storage.events
| * | | | | Move get_events functions to storage.eventsErik Johnston2015-05-182-155/+132
|/ / / / /
* | | | | Merge pull request #153 from matrix-org/markjh/presence_docstringMark Haines2015-05-153-97/+233
|\ \ \ \ \ | | | | | | | | | | | | Add some doc strings for presence.
| * | | | | More whitespaceMark Haines2015-05-151-0/+1
| | | | | |
| * | | | | Add some missed argument types, cleanup the whitespace a bitMark Haines2015-05-141-6/+17
| | | | | |
| * | | | | More doc-stringsMark Haines2015-05-141-39/+202
| | | | | |
| * | | | | Remove unused arguments and doc PresenceHandler.push_update_to_clientsMark Haines2015-05-143-60/+21
| | | | | |
* | | | | | Support gzip encoding for client, client v2 and web client resources (SYN-176).David Baker2015-05-141-5/+16
|/ / / / /
* | | | | Treat setting your display name to the empty string as removing it (SYN-186).David Baker2015-05-141-0/+3
| | | | |
* | | | | Merge pull request #150 from matrix-org/notifier_unifyMark Haines2015-05-141-174/+48
|\ \ \ \ \ | | |_|_|/ | |/| | | Make v1 and v2 client APIs interact with the notifier in the same way.
| * | | | Merge branch 'develop' into notifier_unifyMark Haines2015-05-144-21/+10
| |\ \ \ \ | | |_|_|/ | |/| | |
| * | | | Merge branch 'develop' into notifier_unifyMark Haines2015-05-1228-306/+631
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | Conflicts: synapse/notifier.py
| * | | | Update the end_token correctly, otherwise the token doesn't advance and the ↵Mark Haines2015-05-121-1/+1
| | | | | | | | | | | | | | | | | | | | client gets duplicate events
| * | | | Merge branch 'develop' into notifier_unifyMark Haines2015-05-122-23/+27
| |\ \ \ \ | | |_|_|/ | |/| | |
| * | | | Don't bother passing the events to the notifier since it isn't using themMark Haines2015-05-111-95/+18
| | | | |
| * | | | Use wait_for_events to implement 'get_events'Mark Haines2015-05-111-79/+30
| | | | |
* | | | | Disallow whitespace in aliases here tooDavid Baker2015-05-141-0/+5
| | | | |
* | | | | Throw error when creating room if alias contains whitespace #SYN-335David Baker2015-05-141-0/+5
| | | | |
* | | | | Make shared secret registration work againDavid Baker2015-05-141-1/+4
| | | | |
* | | | | Add ID generator for push_rules_enable to #resolve SYN-378David Baker2015-05-142-2/+13
| |_|_|/ |/| | |
* | | | Specify python 2.7 in the virtualenv setup (SYN-319) #resolvedDavid Baker2015-05-141-1/+1
| | | |
* | | | Don't talk to yourself when backfillingErik Johnston2015-05-121-0/+2
| | | |
* | | | You need to call contextmanagerErik Johnston2015-05-121-0/+1
| | | |
* | | | Merge pull request #151 from matrix-org/revert-147-presence-performanceMark Haines2015-05-121-20/+6
|\ \ \ \ | |_|_|/ |/| | | Revert "Improvement to performance of presence event stream handling"
| * | | Revert "Improvement to performance of presence event stream handling"Mark Haines2015-05-121-20/+6
|/ / /
* | | Merge pull request #143 from matrix-org/erikj/SYN-375Mark Haines2015-05-123-16/+60
|\ \ \ | | | | | | | | SYN-375 - Lots of unhandled deferred exceptions.
| * | | Change the way we create observers to deferreds so that we don't get spammed ↵Erik Johnston2015-05-083-16/+60
| | | | | | | | | | | | | | | | by 'unhandled errors'
* | | | Merge pull request #147 from matrix-org/presence-performanceMark Haines2015-05-121-6/+20
|\ \ \ \ | | | | | | | | | | Improvement to performance of presence event stream handling
| * | | | Use the presence cachemap ordering to early-abort the iteration loopPaul "LeoNerd" Evans2015-05-071-2/+7
| | | | |
| * | | | Store presence cachemap in an ordered dict, so that the newer serials will ↵Paul "LeoNerd" Evans2015-05-071-4/+13
| | | | | | | | | | | | | | | | | | | | be at the end
* | | | | Merge pull request #144 from matrix-org/erikj/logging_contextMark Haines2015-05-1221-156/+239
|\ \ \ \ \ | | | | | | | | | | | | Preserving logging contexts
| * | | | | Make distributer.fire work as it didErik Johnston2015-05-121-20/+30
| | | | | |
| * | | | | Unwrap defer.gatherResults failuresErik Johnston2015-05-126-7/+18
| | | | | |
| * | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-05-1214-92/+244
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | | | | | | erikj/logging_context
| * | | | | Fix up leak. Add warnings.Erik Johnston2015-05-088-49/+70
| | | | | |
| * | | | | Add some docsErik Johnston2015-05-081-2/+14
| | | | | |
| * | | | | PEP8Erik Johnston2015-05-082-4/+2
| | | | | |
| * | | | | Change the way we do logging contexts so that they survive divergencesErik Johnston2015-05-0813-100/+131
| | |/ / / | |/| | |
* | | | | Merge pull request #149 from matrix-org/erikj/backfillMark Haines2015-05-128-126/+310
|\ \ \ \ \ | |_|/ / / |/| | | | Backfill support
| * | | | Err, delete the right stuffErik Johnston2015-05-121-4/+5
| | | | |
| * | | | NewlinesErik Johnston2015-05-121-2/+0
| | | | |
| * | | | We do actually want to delete rows out of event_backward_extremitiesErik Johnston2015-05-121-4/+11
| | | | |
| * | | | Fix up _handle_prev_events to not try to insert duplicate rowsErik Johnston2015-05-121-23/+13
| | | | |
| * | | | Do state groups persistence /after/ checking if we have already persisted ↵Erik Johnston2015-05-121-6/+9
| | | | | | | | | | | | | | | | | | | | the event
| * | | | s/backfil/backfill/Erik Johnston2015-05-121-4/+4
| | | | |
| * | | | Typos everywhereErik Johnston2015-05-121-1/+1
| | | | |
| * | | | And another typo.Erik Johnston2015-05-121-3/+3
| | | | |
| * | | | Err, gatherResults doesn't take a dict...Erik Johnston2015-05-121-4/+7
| | | | |
| * | | | Handle the case where the other side is unreachable when backfillingErik Johnston2015-05-121-14/+42
| | | | |
| * | | | Make get_current_token accept a direction parameter, which tells whether the ↵Erik Johnston2015-05-124-8/+26
| | | | | | | | | | | | | | | | | | | | source whether we want a token for going 'forwards' or 'backwards'
| * | | | Initial hack at wiring together pagination and backfillErik Johnston2015-05-113-5/+141
| | | | |
| * | | | Move storage.stream._StreamToken to types.RoomStreamTokenErik Johnston2015-05-112-85/+85
| | |_|/ | |/| |
* | | | Merge pull request #148 from matrix-org/bugs/SYN-377Mark Haines2015-05-122-23/+27
|\ \ \ \ | |/ / / |/| | | SYN-377: Make sure that the event is marked as persisted from the main thread.
| * | | SYN-377: Make sure that the StreamIdGenerator.get_next.__exit__ is called ↵Mark Haines2015-05-122-23/+27
|/ / / | | | | | | | | | from the main thread after the transaction completes, not from database thread before the transaction completes.
* | | Merge branch 'hotfixes-v0.9.0-r4' of github.com:matrix-org/synapse into developErik Johnston2015-05-113-58/+55
|\ \ \
| * \ \ Merge pull request #146 from matrix-org/erikj/push_rules_fixesErik Johnston2015-05-112-57/+54
| |\ \ \ | | | | | | | | | | Fix 500 on push rule updates.
| | * | | Prefer to use _simple_*.Erik Johnston2015-05-111-44/+41
| | | | |
| | * | | push_rules table expects an 'id' fieldErik Johnston2015-05-112-13/+13
| | | | |
| * | | | Bump versionErik Johnston2015-05-111-1/+1
| |/ / /
* | | | SYN-376: Add script for converting server keys from v1 to v2Mark Haines2015-05-111-0/+113
| | | |
* | | | Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2015-05-103-3/+3
|\| | | | |_|/ |/| |
| * | Merge pull request #145 from matrix-org/hotfixes-v0.9.0-r3 v0.9.0-r3David Baker2015-05-102-2/+2
| |\ \ | | | | | | | | Hotfixes v0.9.0 r3
| | * | Bump versionErik Johnston2015-05-101-1/+1
| | | |
| | * | Fix push rule bug: can't insert bool into small int columnErik Johnston2015-05-101-1/+1
| |/ /
| * | typoMatthew Hodgson2015-05-091-1/+1
| | |
| * | Merge branch 'hotfixes-v0.9.0-r2' of github.com:matrix-org/synapse v0.9.0-r2Erik Johnston2015-05-087-19/+67
| |\ \
| | * | Bump versionErik Johnston2015-05-081-1/+1
| |/ / |/| |
* | | Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2015-05-086-9/+15
|\| |
| * | Merge branch 'hotfixes-v0.9.0-r1' of github.com:matrix-org/synapse v0.9.0-r1Erik Johnston2015-05-086-9/+15
| |\ \
| | * | Actually rename all isntancesErik Johnston2015-05-081-1/+1
| | | |
| | * | Reword port script usageErik Johnston2015-05-081-2/+2
| | | |
| | * | Support reading directly from a configErik Johnston2015-05-081-0/+3
| | | |
| | * | UPGRADES: s/v0.x.x/v0.9.0Erik Johnston2015-05-081-1/+1
| | | |
| | * | Mention Ivan Shapovalov contrib/systemdErik Johnston2015-05-082-0/+5
| | | |
| | * | Bump versionErik Johnston2015-05-081-1/+1
| | | |
| | * | Fix port_from_sqlite_to_postgres after changes to storage layer.Erik Johnston2015-05-081-4/+2
| |/ /
* | | Drop the old table not the new tableMark Haines2015-05-081-1/+1
| | |
* | | Rename unique constraintMark Haines2015-05-081-1/+1
| | |
* | | Remove unsignedMark Haines2015-05-081-2/+2
| | |
* | | Bump schema versionMark Haines2015-05-081-1/+1
| | |
* | | Make the timestamps in server_keys_json bigintsMark Haines2015-05-081-0/+32
| |/ |/|
* | Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2015-05-075-8/+87
|\|
| * Merge branch 'release-v0.9.0' of github.com:matrix-org/synapse v0.9.0Erik Johnston2015-05-07200-3086/+9543
| |\
| | * Slight rewordingErik Johnston2015-05-071-2/+10
| | |
| | * Reword docs/application_services.rstErik Johnston2015-05-071-5/+7
| | |
| | * Add some information on registering AS'sErik Johnston2015-05-072-0/+28
| | |
| | * Bump dateErik Johnston2015-05-071-1/+1
| | |
| | * Bump syweb versionErik Johnston2015-05-071-3/+3
| | |
| | * Add link to registration specErik Johnston2015-05-071-1/+2
| | |
| | * Add JIRA issue idErik Johnston2015-05-071-2/+2
| | |
| | * Explain the change in AS /register apiErik Johnston2015-05-071-1/+4
| | |
| | * Change log: Link to application services spec.Erik Johnston2015-05-061-2/+3
| | |
| | * Move CAPTCHA_SETUP to docs/Erik Johnston2015-05-061-0/+0
| | |
| | * Linkify docs/postgres.sqlErik Johnston2015-05-061-1/+2
| | |
| | * Update change log to be more detailedErik Johnston2015-05-061-3/+14
| | |
| | * Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.9.0Erik Johnston2015-05-0615-2/+4
| | |\
| | * | Update change logErik Johnston2015-05-061-4/+28
| | | |
| | * | Bump versionErik Johnston2015-05-061-1/+1
| | | |
* | | | revert accidental bcrypt gensalt round reduction from loadtestingMark Haines2015-05-071-1/+1
| | | |
* | | | pynacl-0.3.0 was released so we can finally start using it directly from pypiMark Haines2015-05-072-7/+2
| | | |
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into developDavid Baker2015-05-0731-140/+267
|\ \ \ \
| * | | | Optional profiling using cProfileMark Haines2015-05-061-1/+21
| | | | |
| * | | | Don't read from the config file before checking it existsMark Haines2015-05-061-9/+10
| | |_|/ | |/| |
| * | | Merge pull request #140 from matrix-org/erikj/scripts_refactorMark Haines2015-05-0615-2/+4
| |\ \ \ | | |_|/ | |/| | Seperate scripts/ into scripts/ and scripts-dev/
| | * | Acutally add scripts-dev/Erik Johnston2015-05-0611-0/+549
| | | |
| | * | Re-add scripts/register_new_matrix_userErik Johnston2015-05-061-0/+153
| | | |
| | * | Seperate scripts/ into scripts/ and scripts-dev/, where scripts/* are ↵Erik Johnston2015-05-0615-704/+4
| |/ / | | | | | | | | | automatically added to the package
| * | Merge pull request #138 from matrix-org/erikj/SYN-371Mark Haines2015-05-051-22/+0
| |\ \ | | | | | | | | SYN-371 - Failed to persist event
| | * \ Merge branch 'erikj/executemany' of github.com:matrix-org/synapse into ↵Erik Johnston2015-05-058-48/+129
| | |\ \ | | | | | | | | | | | | | | | erikj/SYN-371
| | * | | Don't insert without deduplication. In this case we never actually use this ↵Erik Johnston2015-05-051-22/+0
| | | | | | | | | | | | | | | | | | | | table, so simply remove the insert entirely
| * | | | Merge pull request #137 from matrix-org/erikj/executemanyMark Haines2015-05-057-55/+100
| |\ \ \ \ | | | |/ / | | |/| | executemany support
| | * | | And use buffer(...) there as wellErik Johnston2015-05-052-2/+3
| | | | |
| | * | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/executemanyErik Johnston2015-05-058-46/+118
| | |\ \ \ | | |/ / / | |/| | |
| * | | | Use buffer(...) when inserting into bytea columnErik Johnston2015-05-052-4/+3
| | | | |
| * | | | Merge pull request #139 from matrix-org/bugs/SYN-369Mark Haines2015-05-054-16/+80
| |\ \ \ \ | | | | | | | | | | | | Fix race with cache invalidation. SYN-369
| | * | | | Add some doc-stringMark Haines2015-05-051-0/+4
| | | | | |
| | * | | | Collect the invalidate callbacks on the transaction object rather than ↵Mark Haines2015-05-057-51/+51
| | | | | | | | | | | | | | | | | | | | | | | | passing around a separate list
| | * | | | SYN-369: Add comments to the sequence number logic in the cacheMark Haines2015-05-051-0/+7
| | | | | |
| | * | | | Add debug flag in synapse/storage/_base.py for debugging the cache logic by ↵Mark Haines2015-05-051-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | comparing what is in the cache with what was in the database on every access
| | * | | | Invalidate the room_member cache if the current state events updatesMark Haines2015-05-051-0/+5
| | | | | |
| | * | | | Missing return for when the event was already persistedMark Haines2015-05-051-1/+1
| | | | | |
| | * | | | Invalidate the caches from the correct threadMark Haines2015-05-056-29/+46
| | | | | |
| | * | | | Sequence the modifications to the cache so that selects don't race with insertsMark Haines2015-05-051-3/+23
| | | | | |
| * | | | | Fix the --help option for synapseMark Haines2015-05-051-18/+29
| | | | | |
| * | | | | Missed events are not outliersErik Johnston2015-05-051-1/+1
| | | | | |
| | | * | | Add a comment about the zip(*[zip(sorted(...),...)])Erik Johnston2015-05-051-0/+8
| | | |/ /
| | | * | Fix indentationErik Johnston2015-05-051-10/+10
| | | | |
| | | * | Add support for using executemanyErik Johnston2015-05-055-61/+99
| | |/ / | |/| |
| * | | Don't call 'encode_parameter' no-opErik Johnston2015-05-053-10/+0
| |/ /
| * | Correctly name transactionErik Johnston2015-05-051-1/+1
| | |
| * | Remove some unused indexesErik Johnston2015-05-011-0/+18
| | |
| * | Don't log enqueue_Erik Johnston2015-05-011-1/+0
| | |
* | | TypoDavid Baker2015-05-071-1/+1
|/ /
* | user_id now in user_threepidsDavid Baker2015-05-012-6/+6
| |
* | That wasn't a deferredErik Johnston2015-05-012-4/+2
| |
* | Remove inlineCallbacks from non-generatorErik Johnston2015-05-011-2/+0
| |
* | TypoErik Johnston2015-05-011-1/+1
| |
* | Remove some run_on_reactorsErik Johnston2015-05-013-10/+0
| |
* | Don't log all auth events every time we call auth.checkErik Johnston2015-05-011-1/+4
| |
* | Use the daemonize key from the config if it existsMark Haines2015-05-011-1/+4
| |
* | Don't use self.execute: it's designed for fetching stuffDavid Baker2015-05-011-3/+8
| |
* | database config is not kept in separate config file anymoreMark Haines2015-05-011-13/+9
| |
* | Merge pull request #136 from matrix-org/markjh/config_cleanupMark Haines2015-05-0119-496/+572
|\ \ | | | | | | Config restructuring.
| * | Allow generate-config to run against an existing config file to generate ↵Mark Haines2015-05-013-14/+26
| | | | | | | | | | | | default keys
| * | Allow "manhole" to be ommited from the configMark Haines2015-04-301-1/+1
| | |
| * | Remove the ~, comment the lines insteadMark Haines2015-04-302-2/+2
| | |
| * | Update key.pyMark Haines2015-04-301-1/+2
| | |
| * | Update metrics.pyMark Haines2015-04-301-2/+2
| | |
| * | Update README.rstMark Haines2015-04-301-1/+1
| | |
| * | missing importMark Haines2015-04-301-0/+2
| | |
| * | read the pid_file from the config file in synctlMark Haines2015-04-302-3/+4
| | |
| * | Can't specify bind-port on the cmdline anymoreMark Haines2015-04-301-2/+1
| | |
| * | Merge branch 'develop' into markjh/config_cleanupMark Haines2015-04-3016-88/+176
| |\ \ | | | | | | | | | | | | | | | | Conflicts: synapse/config/captcha.py
| * | | Write a default log_config when generating configMark Haines2015-04-305-6/+59
| | | |
| * | | Don't break when sizes or durations are given as integersMark Haines2015-04-302-12/+15
| | | |
| * | | Add a random string to the auto generated key idMark Haines2015-04-301-1/+3
| | | |
| * | | Allow --enable-registration to be passed on the commandlineMark Haines2015-04-301-3/+16
| | | |
| * | | Use disable_registration keys if they are presentMark Haines2015-04-301-0/+5
| | | |
| * | | Allow multiple config files, set up a default config before applying the ↵Mark Haines2015-04-303-23/+40
| | | | | | | | | | | | | | | | config files
| * | | remove duplicate parse_size methodMark Haines2015-04-302-10/+0
| | | |
| * | | Manually generate the default config yaml, remove most of the commandline ↵Mark Haines2015-04-3017-478/+457
| | | | | | | | | | | | | | | | arguments for synapse anticipating that people will use the yaml instead. Simpify implementing config options by not requiring the classes to hit the super class
* | | | No id field on userDavid Baker2015-05-011-5/+1
| | | |
* | | | More missed get_user_by_id API changesDavid Baker2015-05-012-4/+4
| | | |
* | | | One too many lensErik Johnston2015-05-011-1/+1
| | | |
* | | | Change public room list to use defer.gatherResultsErik Johnston2015-05-011-5/+13
| | | |
* | | | This api now no longer returns an arrayDavid Baker2015-05-011-1/+1
| | | |
* | | | Don't wait for storage of access_tokenErik Johnston2015-05-011-1/+1
| | | |
* | | | Cache latest_event_ids_in_roomErik Johnston2015-05-011-1/+4
| | | |
* | | | Don't lock user_ips table for upsert.Erik Johnston2015-05-012-4/+10
| | | |
* | | | Fix bug where we reconnected to the database on every query.Erik Johnston2015-05-012-1/+2
| | | |
* | | | Split a storage function in two so that we don't have to do extra work.Erik Johnston2015-05-013-8/+14
| | | |
* | | | Remove pointless joinErik Johnston2015-04-301-5/+4
| | | |
* | | | Fix broken SQLErik Johnston2015-04-301-1/+1
| | | |
* | | | Need more yieldErik Johnston2015-04-301-1/+1
| | | |
* | | | Add missing paramErik Johnston2015-04-301-1/+1
| | | |
* | | | More join conditionsErik Johnston2015-04-301-2/+6
| | | |
* | | | Add more conditions on JOINs to make postgres go a little faster.Erik Johnston2015-04-302-4/+6
| | | |
* | | | Fix up get_current_state and get_room_name_and_aliases queries to parse ↵Erik Johnston2015-04-302-32/+30
| |/ / |/| | | | | | | | events in transaction
* | | Add get_rooms_for_user cacheErik Johnston2015-04-301-0/+2
| | |
* | | Undo changes to logger config, ie. remove the access_log_file option: ↵David Baker2015-04-301-16/+0
| | | | | | | | | | | | decision is to support this through log_config rather tan adding an option.
* | | Do access log using python's logging stuff, just under a separate logger nameDavid Baker2015-04-302-14/+39
| | |
* | | Don't use sub queries, it makes postgres sadErik Johnston2015-04-301-11/+5
| | |
* | | SYN-367: Use upsert rather than insert_or_replaceMark Haines2015-04-301-2/+6
| | |
* | | Don't needlessly join on state_eventsErik Johnston2015-04-302-6/+4
| | |
* | | Add an access_logDavid Baker2015-04-303-3/+29
| | | | | | | | | | | | SYN-161 #resolve
* | | Unused importDavid Baker2015-04-301-1/+1
| | |
* | | Doesn't look like this is used anymoreDavid Baker2015-04-301-13/+0
| | |
* | | Make simple query rather than long one and then throw away half the resultsErik Johnston2015-04-302-2/+11
| | |
* | | Correctly decode, for sqlite and postgres, rows from pushers tableErik Johnston2015-04-291-19/+24
| | |
* | | pushkey' are also bytes.Erik Johnston2015-04-291-8/+17
| | |
* | | TypoErik Johnston2015-04-291-1/+1
| | |
* | | Also remove yield from within lock in the other generatorErik Johnston2015-04-291-8/+6
| | |
* | | Fix deadlock in id_generators. No idea why this was an actual deadlock.Erik Johnston2015-04-291-14/+16
| | |
* | | Also log when we've started pushersErik Johnston2015-04-291-0/+2
| | |
* | | Revert previousErik Johnston2015-04-291-5/+1
| | |
* | | Only start pushers when synapse has fully startedErik Johnston2015-04-292-4/+5
| | |
* | | Start pushers on reactor threadErik Johnston2015-04-291-0/+3
| | |
* | | Actually return rowsErik Johnston2015-04-291-0/+2
| | |
* | | Typo, args wrong way roundErik Johnston2015-04-291-4/+1
| | |
* | | Decode buffers in same threadErik Johnston2015-04-291-13/+19
| | |
* | | We store pusher data as bytesErik Johnston2015-04-291-2/+2
| | |
* | | Fix off by one in presence token handlingErik Johnston2015-04-291-1/+1
| | |
* | | Decode the data json in the storage layer (was moved but this part was missed)David Baker2015-04-292-1/+14
| | |
* | | Oops, update the contraint tooDavid Baker2015-04-291-1/+1
| | |
* | | Be more postgressiveDavid Baker2015-04-292-4/+4
| | |
* | | Be postgressiveDavid Baker2015-04-291-4/+3
| | |
* | | Oops, forgot the schema delta fileDavid Baker2015-04-291-0/+10
| | |
* | | txn.execute doesn't return cursorsErik Johnston2015-04-291-4/+4
| | |
* | | txn.execute doesn't return cursorsErik Johnston2015-04-291-2/+2
| | |
* | | Fix invalid SQL to work in postgres landErik Johnston2015-04-291-4/+6
| | |
* | | Accept camelcase + underscores in binding tooDavid Baker2015-04-291-2/+17
|/ /
* | Fix includesDavid Baker2015-04-291-1/+2
| |
* | Accept both camelcase and underscore threepid creds for transitionDavid Baker2015-04-291-4/+19
| |