| Commit message (Expand) | Author | Age | Files | Lines |
* | Add unique index to room_aliases, remove duplicates on upgrade. Convert some ... | Erik Johnston | 2015-04-17 | 7 | -4/+19 |
* | PEP8 | Erik Johnston | 2015-04-16 | 2 | -5/+0 |
* | Go back to storing JSON in TEXT | Erik Johnston | 2015-04-16 | 11 | -41/+20 |
* | Move encoding and decoding of JSON into storage layer | Erik Johnston | 2015-04-16 | 1 | -20/+6 |
* | Remove mysql/maria support | Erik Johnston | 2015-04-15 | 3 | -53/+1 |
* | Change full_schemas/11 to work with postgres | Erik Johnston | 2015-04-15 | 13 | -84/+90 |
* | Remove debug logging | Erik Johnston | 2015-04-15 | 1 | -2/+0 |
* | Add missing yield | Erik Johnston | 2015-04-15 | 1 | -1/+1 |
* | pushers table requires a unique id. | Erik Johnston | 2015-04-15 | 2 | -3/+11 |
* | Don't pass in removed flag | Erik Johnston | 2015-04-15 | 1 | -1/+0 |
* | Postgres does not allow you to continue using a cursor after a DB exception h... | Erik Johnston | 2015-04-15 | 1 | -11/+14 |
* | Turn off persistance of sent_transactions.response_json | Erik Johnston | 2015-04-15 | 1 | -1/+1 |
* | Add index on events (topological_ordering, stream_ordering) to help with ORDE... | Erik Johnston | 2015-04-15 | 2 | -0/+2 |
* | Use try..finally in contextlib.contextmanager | Erik Johnston | 2015-04-15 | 1 | -3/+5 |
* | Use True for True rather than 1 | Erik Johnston | 2015-04-15 | 1 | -5/+7 |
* | Add missing yield in storage func | Erik Johnston | 2015-04-15 | 1 | -1/+1 |
* | Correctly identify deadlocks | Erik Johnston | 2015-04-15 | 1 | -1/+1 |
* | Add postgres database engine | Erik Johnston | 2015-04-14 | 1 | -0/+44 |
* | Rename user_ips.user -> user_id | Erik Johnston | 2015-04-14 | 3 | -8/+8 |
* | Add support for postgres instead of mysql. Change sql accourdingly. blob + va... | Erik Johnston | 2015-04-14 | 20 | -140/+151 |
* | Correctly increment the _next_id initially | Erik Johnston | 2015-04-14 | 1 | -2/+4 |
* | For backwards compat, make state_groups.id have a type of int, not varchar | Erik Johnston | 2015-04-13 | 2 | -2/+2 |
* | Remove duplicate rows | Erik Johnston | 2015-04-10 | 1 | -0/+9 |
* | Use case sensitive collations | Erik Johnston | 2015-04-10 | 1 | -1/+1 |
* | DROP indexes before recreating them | Erik Johnston | 2015-04-10 | 2 | -1/+9 |
* | Use LONGBLOB and TEXT for arbitary length rows | Erik Johnston | 2015-04-10 | 12 | -34/+34 |
* | Handle the fact that in sqlite binary data might be stored as unicode or bytes | Erik Johnston | 2015-04-10 | 5 | -5/+20 |
* | Bump schema version | Erik Johnston | 2015-04-10 | 1 | -1/+1 |
* | Use unsigned bigint | Erik Johnston | 2015-04-10 | 19 | -50/+50 |
* | SQLite wants INTEGER and not BIGINT for primary keys | Erik Johnston | 2015-04-10 | 6 | -9/+9 |
* | Update full_schemas/16 to match delta files. Add delta/16 scripts | Erik Johnston | 2015-04-10 | 6 | -0/+245 |
* | Revert non-trivial changes to upgrade scripts | Erik Johnston | 2015-04-10 | 3 | -5/+5 |
* | Fix schema again | Erik Johnston | 2015-04-10 | 2 | -3/+3 |
* | Revert non-trivial schema changes and move them to a new schema version. | Erik Johnston | 2015-04-10 | 19 | -27/+636 |
* | Remove unused import | Erik Johnston | 2015-04-09 | 1 | -1/+1 |
* | Remove spurious spaces | Erik Johnston | 2015-04-09 | 15 | -50/+50 |
* | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-09 | 2 | -21/+30 |
|\ |
|
| * | Merge pull request #114 from matrix-org/improve_get_event_cache | Mark Haines | 2015-04-08 | 2 | -21/+30 |
| |\ |
|
| | * | Appease pep8 | Paul "LeoNerd" Evans | 2015-03-26 | 1 | -1/+2 |
| | * | Implement the main getEvent cache using Cache() instead of a custom applicati... | Paul "LeoNerd" Evans | 2015-03-25 | 1 | -12/+7 |
| | * | Use FrozenEvent's reject_reason to decide whether to return it; don't include... | Paul "LeoNerd" Evans | 2015-03-25 | 1 | -10/+14 |
| | * | Store the rejected reason in (Frozen)Event structs | Paul "LeoNerd" Evans | 2015-03-25 | 1 | -2/+8 |
| | * | Indirect invalidations of _get_event_cache via a helper method to keep all us... | Paul "LeoNerd" Evans | 2015-03-25 | 2 | -2/+5 |
* | | | Stream ordering and out of order insertions. | Erik Johnston | 2015-04-09 | 5 | -65/+153 |
* | | | Use generic db exceptions rather than sqlite3 specific ones | Erik Johnston | 2015-04-08 | 2 | -6/+2 |
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-08 | 1 | -1/+2 |
|\| | |
|
| * | | Move database timer logging to seperate logger | Erik Johnston | 2015-04-08 | 1 | -1/+2 |
* | | | Retry transaction, not SQL query | Erik Johnston | 2015-04-08 | 1 | -21/+25 |
* | | | Fix maria engine to correctly recognize deadlocks | Erik Johnston | 2015-04-08 | 1 | -2/+2 |
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-07 | 5 | -207/+429 |
|\| | |
|
| * | | Add same user_id char checks as registration. | Kegan Dougal | 2015-03-31 | 1 | -1/+7 |
| * | | Use a sender localpart instead of a user ID. | Kegan Dougal | 2015-03-31 | 1 | -2/+9 |
| * | | Edit SQL schema to use string IDs not ints. Use token as ID. Update tests. | Kegan Dougal | 2015-03-31 | 2 | -13/+17 |
| * | | Fix tests and missing returns on deferreds. | Kegan Dougal | 2015-03-31 | 1 | -7/+11 |
| * | | Remove more reg/unreg methods. Read config not database for cache. | Kegan Dougal | 2015-03-31 | 1 | -160/+59 |
| * | | Revert "Add another @cached wrapper, this time on get_presence_state()" | Paul "LeoNerd" Evans | 2015-03-27 | 1 | -8/+2 |
| * | | Add another @cached wrapper, this time on get_presence_state() | Paul "LeoNerd" Evans | 2015-03-27 | 1 | -2/+8 |
| * | | Fixes from PR comments | Kegan Dougal | 2015-03-26 | 1 | -2/+2 |
| * | | Merge branch 'develop' into application-services-txn-reliability | Kegan Dougal | 2015-03-26 | 19 | -644/+795 |
| |\| |
|
| | * | Allow a choice of LRU behaviour for Cache() by using LruCache() or OrderedDict() | Paul "LeoNerd" Evans | 2015-03-25 | 1 | -8/+12 |
| | * | Put a cache on get_aliases_for_room | Paul "LeoNerd" Evans | 2015-03-20 | 1 | -2/+8 |
| | * | Remember the 'last seen' time for a given user/IP/device combination and only... | Paul "LeoNerd" Evans | 2015-03-20 | 1 | -2/+30 |
| | * | Pull out the cache logic from the @cached wrapper into its own class we can r... | Paul "LeoNerd" Evans | 2015-03-20 | 1 | -35/+54 |
| | * | func(*EXPR) is valid Python syntax, really... | Paul "LeoNerd" Evans | 2015-03-20 | 1 | -2/+1 |
| * | | Set the service ID as soon as it is known. | Kegan Dougal | 2015-03-16 | 1 | -3/+4 |
| * | | Minor PR comment tweaks. | Kegan Dougal | 2015-03-16 | 2 | -4/+4 |
| * | | Merge branch 'develop' into application-services-txn-reliability | Kegan Dougal | 2015-03-16 | 9 | -54/+83 |
| |\ \ |
|
| * | | | Fix remaining scheduler bugs. Add more informative logging. | Kegan Dougal | 2015-03-10 | 1 | -2/+3 |
| * | | | Remove unused import | Kegan Dougal | 2015-03-09 | 1 | -1/+0 |
| * | | | Bug fixes whilst putting it all together | Kegan Dougal | 2015-03-09 | 1 | -5/+4 |
| * | | | Use event IDs instead of dumping event content in the txns table. | Kegan Dougal | 2015-03-09 | 2 | -7/+9 |
| * | | | Use seconds; start gluing in the AS scheduler into the AS handler. | Kegan Dougal | 2015-03-09 | 1 | -2/+5 |
| * | | | Finish appservice txn storage impl and tests. | Kegan Dougal | 2015-03-09 | 2 | -16/+71 |
| * | | | Implement create_appservice_txn with tests. | Kegan Dougal | 2015-03-09 | 1 | -4/+42 |
| * | | | Partially implement txn store methods with tests. | Kegan Dougal | 2015-03-09 | 1 | -17/+44 |
| * | | | Start implementing ApplicationServiceTransactionStore | Kegan Dougal | 2015-03-06 | 1 | -1/+5 |
| * | | | Merge branch 'develop' into application-services-txn-reliability | Kegan Dougal | 2015-03-06 | 2 | -1/+56 |
| |\ \ \ |
|
| * | | | | Assign the AS ID from the database; replace old placeholder txn id. | Kegan Dougal | 2015-03-06 | 1 | -2/+3 |
| * | | | | Add appservice txns sql schema | Kegan Dougal | 2015-03-06 | 3 | -1/+38 |
| * | | | | Apply clarity and docstrings | Kegan Dougal | 2015-03-06 | 1 | -1/+13 |
| * | | | | Finish synapse.appservice.scheduler implementation. | Kegan Dougal | 2015-03-06 | 1 | -0/+22 |
| * | | | | Flesh out more stub functions. | Kegan Dougal | 2015-03-06 | 1 | -2/+15 |
| * | | | | Add stub ApplicationServiceTransactionStore. Bootstrap Recoverers. Fill in st... | Kegan Dougal | 2015-03-06 | 1 | -0/+28 |
* | | | | | Retry on deadlock | Erik Johnston | 2015-04-07 | 3 | -3/+21 |
* | | | | | PEP8 | Erik Johnston | 2015-04-07 | 5 | -8/+0 |
* | | | | | Fix prepare_sqlite3_database's convert_param_style | Erik Johnston | 2015-04-07 | 1 | -7/+2 |
* | | | | | Bump database version | Erik Johnston | 2015-04-07 | 1 | -1/+1 |
* | | | | | Add index to presence table | Erik Johnston | 2015-04-07 | 1 | -0/+2 |
* | | | | | Don't use multiple UNIQUE constraints; it will cause deadlocks | Erik Johnston | 2015-04-07 | 4 | -15/+17 |
* | | | | | Implement or_ignore flag on inserts | Erik Johnston | 2015-04-07 | 2 | -4/+10 |
* | | | | | Don't use AUTOINCREMENT, use an in memory version | Erik Johnston | 2015-04-07 | 5 | -19/+68 |
* | | | | | Fix unicode support | Erik Johnston | 2015-04-02 | 21 | -160/+189 |
* | | | | | Make work in both Maria and SQLite. Fix tests | Erik Johnston | 2015-04-01 | 24 | -100/+199 |
* | | | | | Fix unicode database support | Erik Johnston | 2015-03-25 | 12 | -24/+52 |
* | | | | | Escape non printing ascii character | Erik Johnston | 2015-03-24 | 1 | -3/+3 |
* | | | | | Don't reinsert into event_edges | Erik Johnston | 2015-03-24 | 1 | -8/+8 |
* | | | | | Fix bugs in transactions storage | Erik Johnston | 2015-03-24 | 1 | -2/+3 |
* | | | | | Don't use room hosts table | Erik Johnston | 2015-03-24 | 1 | -25/+4 |
* | | | | | Don't order by rowid | Erik Johnston | 2015-03-24 | 1 | -1/+1 |
* | | | | | Use _simple_upsert | Erik Johnston | 2015-03-24 | 2 | -5/+7 |
* | | | | | Remove uses of REPLACE and ON CONFLICT IGNORE to make the SQL more portable. | Erik Johnston | 2015-03-23 | 4 | -16/+4 |
* | | | | | Sanitize RoomMemberStore | Erik Johnston | 2015-03-23 | 1 | -63/+61 |
* | | | | | Use 'update or insert' rather than on 'conflict replace' | Erik Johnston | 2015-03-23 | 1 | -10/+17 |
* | | | | | Sanitize TransactionStore | Erik Johnston | 2015-03-23 | 1 | -87/+104 |
* | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-03-20 | 18 | -115/+227 |
|\ \ \ \ \
| | |_|_|/
| |/| | | |
|
| * | | | | PEP8 | Erik Johnston | 2015-03-20 | 1 | -1/+1 |
| * | | | | Merge branch 'develop' of github.com:matrix-org/synapse into store_rearrangement | Erik Johnston | 2015-03-20 | 3 | -14/+30 |
| |\ \ \ \ |
|
| | * | | | | Add the tiniest of tiny one-element caches to get_room_events_max_id() as it'... | Paul "LeoNerd" Evans | 2015-03-20 | 2 | -1/+3 |
| | * | | | | Allow @cached-wrapped functions to have more or fewer than 1 argument; assert... | Paul "LeoNerd" Evans | 2015-03-20 | 1 | -13/+27 |
| * | | | | | Give sensible names for '_simple_...' transactions | Erik Johnston | 2015-03-20 | 13 | -38/+93 |
| * | | | | | Start removing Tables | Erik Johnston | 2015-03-20 | 2 | -26/+29 |
| * | | | | | Tidy up _simple_... methods | Erik Johnston | 2015-03-20 | 2 | -40/+60 |
| * | | | | | Rearrange storage modules | Erik Johnston | 2015-03-20 | 7 | -515/+493 |
| |/ / / / |
|
| * | | | | Clean out event_forward_extremities table when the server rejoins the room | Erik Johnston | 2015-03-18 | 1 | -0/+12 |
| * | | | | @cached() annotate get_user_by_token() - achieves a minor DB performance impr... | Paul "LeoNerd" Evans | 2015-03-17 | 1 | -1/+6 |
| * | | | | Be polite and ensure we use @functools.wraps() when creating a function decor... | Paul "LeoNerd" Evans | 2015-03-17 | 1 | -0/+2 |
* | | | | | Rearrange storage modules | Erik Johnston | 2015-03-20 | 7 | -509/+486 |
* | | | | | Generate transaction id in code | Erik Johnston | 2015-03-20 | 1 | -1/+1 |
* | | | | | decode_result takes an iterable | Erik Johnston | 2015-03-20 | 2 | -2/+5 |
* | | | | | Fix up schemas some more | Erik Johnston | 2015-03-20 | 3 | -3/+3 |
* | | | | | Convert storage layer to be mysql compatible | Erik Johnston | 2015-03-19 | 13 | -101/+171 |
* | | | | | Remove redundant key | Erik Johnston | 2015-03-19 | 1 | -1/+0 |
* | | | | | Fix up schemas to work with mariadb | Erik Johnston | 2015-03-19 | 15 | -84/+82 |
* | | | | | Update schema to work with mariadb | Erik Johnston | 2015-03-18 | 16 | -256/+224 |
|/ / / / |
|
* | | | | Add a metric for the scheduling latency of SQL queries | Paul "LeoNerd" Evans | 2015-03-16 | 1 | -0/+5 |
* | | | | Merge pull request #110 from matrix-org/fix_ban | Erik Johnston | 2015-03-16 | 1 | -1/+1 |
|\ \ \ \
| |_|_|/
|/| | | |
|
| * | | | Copy dict of context.current_state before changing it. | Erik Johnston | 2015-03-16 | 1 | -1/+1 |
| | |/
| |/| |
|
* | | | Bugfix to sql_txn_timer increment - add only the per-TXN duration, not the to... | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -7/+5 |
* | | | Rename the timer metrics exported by synapse.storage to append _time, so the ... | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -3/+3 |
* | | | Rename TimerMetric to DistributionMetric; as it could count more than just time | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -7/+7 |
* | | | Pretend the 'getEvent' cache is just another cache in the set of all the othe... | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -6/+5 |
* | | | Use _ instead of . as a metric namespacing separator, for Prometheus | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -5/+13 |
* | | | Rename Metrics' "keys" to "labels" | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -3/+3 |
* | | | Add TimerMetrics to shadow the PerformanceCounters in synapse.storage; with t... | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -3/+20 |
* | | | Collect per-SQL-verb timer stats on query execution time | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -5/+11 |
* | | | Delete a couple of TODO markers of monitoring stats now done | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -1/+0 |
* | | | Rename CacheCounterMetric to just CacheMetric; add a CallbackMetric component... | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -3/+3 |
* | | | Sprinkle some CacheCounterMetrics around the synapse.storage layer | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -1/+15 |
* | | | Appease pep8 | Paul "LeoNerd" Evans | 2015-03-11 | 1 | -2/+2 |
* | | | Also give _execute() a description | Paul "LeoNerd" Evans | 2015-03-11 | 6 | -12/+10 |
* | | | Add a description to storage layer's _execute_and_decode() | Paul "LeoNerd" Evans | 2015-03-11 | 5 | -6/+9 |
* | | | Add the master push rule for the break-my-push button. Allow server default r... | David Baker | 2015-03-10 | 1 | -22/+5 |
* | | | These aren't defined for redacted events so don't crash | David Baker | 2015-03-10 | 1 | -2/+4 |
|/ / |
|
* | | Schema change as delta in v14 | David Baker | 2015-03-06 | 1 | -0/+0 |
* | | Merge branch 'develop' into pushrules2 | David Baker | 2015-03-04 | 29 | -606/+325 |
|\| |
|
| * | Note that we don't specify execution order | Erik Johnston | 2015-03-04 | 1 | -0/+4 |
| * | s/schema_deltas/applied_schema_deltas/ | Erik Johnston | 2015-03-04 | 2 | -9/+11 |
| * | s/%r/%s/ | Erik Johnston | 2015-03-04 | 1 | -1/+1 |
| * | Add example directory structures in doc | Erik Johnston | 2015-03-04 | 1 | -1/+36 |
| * | Don't assume db conn is a Context Manager. | Erik Johnston | 2015-03-04 | 1 | -1/+5 |
| * | Add unique constraint on schema_version.lock schema. Use conflict clause in sql. | Erik Johnston | 2015-03-04 | 2 | -4/+5 |
| * | Change to use logger in db upgrade script | Erik Johnston | 2015-03-04 | 1 | -1/+4 |
| * | Use context manager with db conn to correctly commit and rollback | Erik Johnston | 2015-03-04 | 1 | -11/+11 |
| * | Actually add full_schemas dir | Erik Johnston | 2015-03-04 | 12 | -0/+645 |
| * | More docs. Rename 'schema/current' to 'schema/full_schemas' | Erik Johnston | 2015-03-04 | 13 | -652/+23 |
| * | Add some docs and remove unused variables | Erik Johnston | 2015-03-04 | 1 | -8/+10 |
| * | SYN-67: Finish up implementing new database schema management | Erik Johnston | 2015-03-04 | 28 | -567/+161 |
| * | SYN-67: Begin changing the way we handle schema versioning | Erik Johnston | 2015-03-02 | 1 | -38/+106 |
* | | Merge branch 'develop' into pushrules2 | David Baker | 2015-03-04 | 6 | -33/+279 |
|\| |
|
| * | Add missing comma | Erik Johnston | 2015-03-02 | 1 | -1/+1 |
| * | We purposefully don't have a version 14 delta script. | Erik Johnston | 2015-03-02 | 1 | -1/+1 |
| * | Merge pull request #93 from matrix-org/application-services-exclusive | Kegsay | 2015-03-02 | 2 | -4/+14 |
| |\ |
|
| | * | Run deltas and bump user_version in upgrade script | Kegan Dougal | 2015-03-02 | 1 | -1/+1 |
| | * | Convert expected format for AS regex to include exclusivity. | Kegan Dougal | 2015-02-27 | 1 | -3/+13 |
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into batched_get_pdu | Erik Johnston | 2015-03-02 | 5 | -91/+279 |
| |\ \ |
|
| | * | | PEP8 | Kegan Dougal | 2015-03-02 | 1 | -1/+1 |
| | * | | Wrap all of get_app_service_rooms in a txn. | Kegan Dougal | 2015-03-02 | 6 | -88/+67 |
| | * | | JOIN state_events rather than parsing unrecognized_keys to pull out member st... | Kegan Dougal | 2015-03-02 | 2 | -11/+5 |
| | * | | Modify _simple_select_list to allow an empty WHERE clause. Use it for get_all... | Kegan Dougal | 2015-03-02 | 4 | -17/+21 |
| | * | | PR tweaks: set earlier on and use 'as json' for compat | Kegan Dougal | 2015-03-02 | 3 | -16/+12 |
| | * | | PEP8 | Kegan Dougal | 2015-02-27 | 1 | -1/+0 |
| | * | | Check for membership invite events correctly. | Kegan Dougal | 2015-02-26 | 1 | -2/+21 |
| | * | | Finish impl to get new events for AS. ASes should now be able to poll /events | Kegan Dougal | 2015-02-26 | 1 | -7/+55 |
| | * | | Finish impl to extract all room IDs an AS may be interested in when polling t... | Kegan Dougal | 2015-02-26 | 2 | -6/+36 |
| | * | | PEP8 and pyflakes | Kegan Dougal | 2015-02-25 | 2 | -6/+3 |
| | * | | Comment unused variables. | Kegan Dougal | 2015-02-25 | 1 | -2/+2 |
| | * | | Fix alias query. | Kegan Dougal | 2015-02-25 | 1 | -6/+5 |
| | * | | Add support for extracting matching room_ids and room_aliases for a given AS. | Kegan Dougal | 2015-02-25 | 3 | -2/+82 |
| | * | | Add stub functions and work out execution flow to implement AS event stream p... | Kegan Dougal | 2015-02-25 | 2 | -0/+40 |
| | |/ |
|
| * | | Revert get_auth_chain changes | Erik Johnston | 2015-02-23 | 1 | -7/+5 |
| * | | Initial stab at implementing a batched get_missing_pdus request | Erik Johnston | 2015-02-19 | 1 | -5/+58 |
* | | | Use if not results rather than len, as per feedback. | David Baker | 2015-03-04 | 1 | -1/+1 |
* | | | s/user_name/user/ as per mjark's comment | David Baker | 2015-03-02 | 1 | -3/+3 |
* | | | Blank lines | David Baker | 2015-03-02 | 1 | -0/+1 |
* | | | Add API for getting/setting enabled-ness of push rules. | David Baker | 2015-02-26 | 1 | -0/+24 |
* | | | whitespace | David Baker | 2015-02-26 | 1 | -1/+2 |
* | | | Add enable/disable overlay for push rules (REST API not yet hooked up) | David Baker | 2015-02-25 | 3 | -0/+39 |
| |/
|/| |
|
* | | Use OrderedDict for @cached backing store, so we can evict the oldest key unb... | Paul "LeoNerd" Evans | 2015-02-23 | 1 | -7/+4 |
* | | Use cache.pop() instead of a separate membership test + del [] | Paul "LeoNerd" Evans | 2015-02-23 | 1 | -2/+1 |
* | | Fix code style warning | Mark Haines | 2015-02-23 | 1 | -1/+1 |
* | | Remove unused import | Mark Haines | 2015-02-23 | 1 | -2/+0 |
* | | Pull the _get_event_cache.setdefault() call out of the try block, as it doesn... | Paul "LeoNerd" Evans | 2015-02-23 | 1 | -1/+2 |
* | | Use the @cached decorator to implement the destination_retry_timings cache | Paul "LeoNerd" Evans | 2015-02-23 | 1 | -9/+5 |
* | | RoomMemberStore no longer needs a _user_rooms_cache member | Paul "LeoNerd" Evans | 2015-02-23 | 1 | -5/+0 |
* | | Allow @cached-wrapped functions to have a prefill method for setting entries | Paul "LeoNerd" Evans | 2015-02-23 | 1 | -8/+15 |
* | | Squash out the now-redundant ApplicationServicesCache object class | Paul "LeoNerd" Evans | 2015-02-23 | 1 | -20/+8 |
* | | Remove a TODO note | Paul "LeoNerd" Evans | 2015-02-19 | 1 | -1/+0 |
* | | Take named arguments to @cached() decorator, add a 'max_entries' limit | Paul "LeoNerd" Evans | 2015-02-19 | 2 | -16/+25 |
* | | Move @cached decorator out into synapse.storage._base; add minimal docs | Paul "LeoNerd" Evans | 2015-02-19 | 2 | -27/+36 |
* | | Pull out the 'get_rooms_for_user' cache logic into a reĆ¼sable @cached decorator | Paul "LeoNerd" Evans | 2015-02-19 | 1 | -24/+29 |
|/ |
|
* | Use absolute path when loading delta sql files | Erik Johnston | 2015-02-17 | 1 | -1/+2 |
* | Bump schema version | Erik Johnston | 2015-02-17 | 2 | -1/+1 |
* | Merge branch 'consumeErrors' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-02-17 | 1 | -1/+1 |
|\ |
|
| * | Use consumeErrors=True on all DeferredLists. | Erik Johnston | 2015-02-17 | 1 | -1/+1 |
* | | Merge branch 'hotfixes-0.7.0e' into develop | David Baker | 2015-02-13 | 1 | -6/+6 |
|\| |
|
| * | Update pushers by app id and pushkey, not user id and pushkey | David Baker | 2015-02-13 | 1 | -6/+6 |
* | | Merge pull request #50 from matrix-org/application-services | Mark Haines | 2015-02-13 | 4 | -0/+315 |
|\ \ |
|
| * \ | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-11 | 3 | -22/+75 |
| |\ \ |
|
| * | | | PEP8-ify | Kegan Dougal | 2015-02-11 | 1 | -3/+0 |
| * | | | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-11 | 2 | -3/+70 |
| |\ \ \ |
|
| * \ \ \ | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-09 | 3 | -24/+36 |
| |\ \ \ \ |
|
| * | | | | | Modify auth.get_user_by_req for authing appservices directly. | Kegan Dougal | 2015-02-09 | 1 | -1/+3 |
| * | | | | | Register a user account for the AS when the AS registers. Add 'sender' column... | Kegan Dougal | 2015-02-09 | 3 | -2/+5 |
| * | | | | | Add delta sql file. | Kegan Dougal | 2015-02-05 | 1 | -0/+33 |
| * | | | | | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-05 | 1 | -2/+5 |
| |\ \ \ \ \ |
|
| * \ \ \ \ \ | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-05 | 4 | -84/+145 |
| |\ \ \ \ \ \ |
|
| * | | | | | | | Add hs_token column and generate a different token f.e application service. | Kegan Dougal | 2015-02-05 | 2 | -5/+13 |
| * | | | | | | | Fix bug in store defer. Add more unit tests. | Kegan Dougal | 2015-02-04 | 1 | -4/+14 |
| * | | | | | | | Add stub ApplicationServiceApi and glue it with the handler. | Kegan Dougal | 2015-02-04 | 1 | -0/+1 |
| * | | | | | | | Add appservice package and move ApplicationService into it. | Kegan Dougal | 2015-02-03 | 1 | -104/+1 |
| * | | | | | | | Implement restricted namespace checks. Begin fleshing out the main hook for n... | Kegan Dougal | 2015-02-03 | 1 | -5/+16 |
| * | | | | | | | Add namespace constants. Add restrict_to option to limit namespace checks. | Kegan Dougal | 2015-02-03 | 1 | -17/+24 |
| * | | | | | | | Everyone loves SQL typos | Kegan Dougal | 2015-02-03 | 1 | -1/+1 |
| * | | | | | | | Implement regex checks for app services. | Kegan Dougal | 2015-02-03 | 1 | -27/+44 |
| * | | | | | | | Add defers in the right places. | Kegan Dougal | 2015-02-02 | 1 | -0/+2 |
| * | | | | | | | Implement txns for AS (un)registration. | Kegan Dougal | 2015-02-02 | 2 | -22/+100 |
| * | | | | | | | Actually merge into develop. | Kegan Dougal | 2015-02-02 | 1 | -8/+1 |
| * | | | | | | | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-02 | 13 | -29/+867 |
| |\ \ \ \ \ \ \ |
|
| * | | | | | | | | Add basic application_services SQL, and hook up parts of the appservice store... | Kegan Dougal | 2015-01-28 | 3 | -11/+111 |
| * | | | | | | | | Remove unused import | Kegan Dougal | 2015-01-28 | 1 | -2/+0 |
| * | | | | | | | | Log when ASes are registered/unregistered. | Kegan Dougal | 2015-01-27 | 1 | -1/+3 |
| * | | | | | | | | Use ApplicationService when registering. | Kegan Dougal | 2015-01-27 | 1 | -10/+6 |
| * | | | | | | | | Add stub methods, TODOs and docstrings for application services. | Kegan Dougal | 2015-01-27 | 1 | -2/+50 |
| * | | | | | | | | Add AS specific classes with docstrings. | Kegan Dougal | 2015-01-27 | 1 | -1/+59 |
| * | | | | | | | | Add appservice handler and store. Glue together rest > handler > store. | Kegan Dougal | 2015-01-27 | 2 | -2/+48 |
* | | | | | | | | | Prepare the database whenever a connection is opened from the db_pool so that... | Mark Haines | 2015-02-13 | 1 | -0/+3 |
| |_|_|_|_|_|_|/
|/| | | | | | | |
|
* | | | | | | | | Merge branch 'fix' of github.com:matrix-org/synapse into hotfixes-v0.7.0a | Erik Johnston | 2015-02-12 | 1 | -7/+6 |
|\ \ \ \ \ \ \ \ |
|
| * | | | | | | | | Get an auth query one at a time | Erik Johnston | 2015-02-12 | 1 | -7/+6 |
* | | | | | | | | | Set database schema version in delta | Erik Johnston | 2015-02-12 | 1 | -0/+2 |
|/ / / / / / / / |
|
* | | | | | | | | Convert get_rooms to use runInteraction so the transacion has a more helpful ... | Erik Johnston | 2015-02-11 | 1 | -30/+37 |
* | | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into use-simplejson | Erik Johnston | 2015-02-11 | 3 | -22/+75 |
|\ \ \ \ \ \ \ \
| | |_|_|_|_|_|/
| |/| | | | | | |
|
| * | | | | | | | Merge branch 'bugs/SYN-264' into develop | Paul "LeoNerd" Evans | 2015-02-11 | 1 | -18/+50 |
| |\ \ \ \ \ \ \ |
|
| | * | | | | | | | Added another TODO note | Paul "LeoNerd" Evans | 2015-02-11 | 1 | -0/+3 |
| | * | | | | | | | Cache the result of a get_rooms_for_user query, to make user_rooms_intersect(... | Paul "LeoNerd" Evans | 2015-02-11 | 1 | -7/+34 |
| | * | | | | | | | First step of making user_rooms_intersect() faster - implement in intersectio... | Paul "LeoNerd" Evans | 2015-02-11 | 1 | -18/+20 |
| | | |_|_|_|_|/
| | |/| | | | | |
|
| * | | | | | | | Invalidate the cache for an event if it is redacted | Mark Haines | 2015-02-11 | 1 | -0/+2 |
| * | | | | | | | Fix formatting | Mark Haines | 2015-02-11 | 1 | -2/+0 |
| * | | | | | | | Add a cache for get_event | Mark Haines | 2015-02-11 | 2 | -3/+24 |
| |/ / / / / / |
|
* | | | | | | | pyflakes | Erik Johnston | 2015-02-11 | 1 | -1/+0 |
* | | | | | | | Don't unfreeze when using FreezeEvent.get_dict, as we are using a JSONEncoder... | Erik Johnston | 2015-02-11 | 1 | -2/+9 |