Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 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 |
|\ | | | | | Application services exclusive flag support | ||||
| * | 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 |
| | | | | | | | | | | Previously you just specified the regex as a string, now it expects a JSON object with a 'regex' key and an 'exclusive' boolean, as per spec. | ||||
* | | 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 ↵ | Kegan Dougal | 2015-03-02 | 2 | -11/+5 |
| | | | | | | | | | | | | state_keys | ||||
| * | | Modify _simple_select_list to allow an empty WHERE clause. Use it for ↵ | Kegan Dougal | 2015-03-02 | 4 | -17/+21 |
| | | | | | | | | | | | | get_all_rooms and get_all_users. | ||||
| * | | 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 ↵ | Kegan Dougal | 2015-02-26 | 2 | -6/+36 |
| | | | | | | | | | | | | the event stream. | ||||
| * | | 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 ↵ | Kegan Dougal | 2015-02-25 | 2 | -0/+40 |
| |/ | | | | | | | polling. | ||||
| * | Use OrderedDict for @cached backing store, so we can evict the oldest key ↵ | Paul "LeoNerd" Evans | 2015-02-23 | 1 | -7/+4 |
| | | | | | | | | unbiased | ||||
| * | 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 ↵ | Paul "LeoNerd" Evans | 2015-02-23 | 1 | -1/+2 |
| | | | | | | | | doesn't need to be there and is confusing | ||||
| * | 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 |
| | | |||||
* | | 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 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 |
| | | | | | | | | | | | | This is so that the DeferredLists actually consume the error instead of propogating down the non-existent errback chain. This should reduce the number of unhandled errors we are seeing. | ||||
* | | 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 |
|\ \ | | | | | | | Application Services | ||||
| * \ | 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 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add logic to map the appservice token to the autogenned appservice user ID. Add unit tests for all forms of get_user_by_req (user/appservice, valid/bad/missing tokens) | ||||
| * | | | | | Register a user account for the AS when the AS registers. Add 'sender' ↵ | Kegan Dougal | 2015-02-09 | 3 | -2/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | column to AS table. | ||||
| * | | | | | 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 ↵ | Kegan Dougal | 2015-02-03 | 1 | -5/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | notifying application services. | ||||
| * | | | | | | | 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 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expose handler.get_services_for_event which manages the checks for all services. | ||||
| * | | | | | | | 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 |
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/__init__.py synapse/storage/__init__.py | ||||
| * | | | | | | | | Add basic application_services SQL, and hook up parts of the appservice ↵ | Kegan Dougal | 2015-01-28 | 3 | -11/+111 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | store to read from it. | ||||
| * | | | | | | | | 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 ↵ | Mark Haines | 2015-02-13 | 1 | -0/+3 |
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | that in-memory databases will work | ||||
* | | | | | | | | 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 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | description | ||||
* | | | | | | | | 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 ↵ | Paul "LeoNerd" Evans | 2015-02-11 | 1 | -7/+34 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | user_rooms_intersect() much lighter in the read-common case | ||||
| | * | | | | | | | First step of making user_rooms_intersect() faster - implement in ↵ | Paul "LeoNerd" Evans | 2015-02-11 | 1 | -18/+20 |
| | | |_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | intersection logic in Python code terms of a DB query that is cacheable per user | ||||
| * | | | | | | | 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 ↵ | Erik Johnston | 2015-02-11 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | JSONEncoder that understands FrozenDict | ||||
* | | | | | | | Blunty replace json with simplejson | Erik Johnston | 2015-02-11 | 4 | -4/+4 |
|/ / / / / / | |||||
* | | | | | | Code-style fixes | Mark Haines | 2015-02-10 | 2 | -4/+6 |
| | | | | | | |||||
* | | | | | | Fix pyflakes | Mark Haines | 2015-02-10 | 1 | -3/+3 |
| | | | | | | |||||
* | | | | | | Add performance counters for different stages of loading events | Mark Haines | 2015-02-10 | 1 | -24/+60 |
| | | | | | | |||||
* | | | | | | Use the transaction 'desc' rather than 'name', increment the txn_ids in | Mark Haines | 2015-02-09 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | txn names | ||||
* | | | | | | Formatting | Mark Haines | 2015-02-09 | 1 | -1/+0 |
| | | | | | | |||||
* | | | | | | Performance counters for database transaction names | Mark Haines | 2015-02-09 | 1 | -1/+31 |
| |_|_|_|/ |/| | | | | |||||
* | | | | | Fix typo | Erik Johnston | 2015-02-09 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Log database time every 10s and log as percentage | Erik Johnston | 2015-02-09 | 1 | -2/+2 |
| | | | | | |||||
* | | | | | Time how long we're spending on the database thread | Erik Johnston | 2015-02-09 | 1 | -0/+25 |
| | | | | | |||||
* | | | | | Move delta/v13.sql to delta/v12.sql | Erik Johnston | 2015-02-06 | 2 | -24/+11 |
| |_|_|/ |/| | | | |||||
* | | | | Give server default rules the 'default' attribute and fix various brokenness. | David Baker | 2015-02-05 | 1 | -2/+5 |
| |_|/ |/| | | |||||
* | | | Merge pull request #47 from matrix-org/signature_failures | Erik Johnston | 2015-02-05 | 1 | -75/+136 |
|\ \ \ | | | | | | | | | Federation fixes. | ||||
| * | | | Brief comment on why we do some things on every call to persist_event and ↵ | Erik Johnston | 2015-02-04 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | not others | ||||
| * | | | Rearrange persist_event so that do all the queries that need to be done ↵ | Erik Johnston | 2015-02-04 | 1 | -71/+74 |
| | | | | | | | | | | | | | | | | before returning early if we have already persisted that event. | ||||
| * | | | Add doc to get_event | Erik Johnston | 2015-02-03 | 1 | -0/+15 |
| | | | | |||||
| * | | | Try to ensure we don't persist an event we have already persisted. In ↵ | Erik Johnston | 2015-02-03 | 1 | -4/+36 |
| | | | | | | | | | | | | | | | | persist_event check if we already have the event, if so then update instead of replacing so that we don't cause a bump of the stream_ordering. | ||||
| * | | | Don't fail an entire request if one of the returned events fails a signature ↵ | Erik Johnston | 2015-02-02 | 1 | -8/+13 |
| | |/ | |/| | | | | | | | check. If an event does fail a signature check, look in the local database and request it from the originator. | ||||
* / | | s/instance_handle/profile_tag/ | David Baker | 2015-02-03 | 3 | -9/+9 |
|/ / | |||||
* | | Merge pull request #43 from matrix-org/rejections | Erik Johnston | 2015-01-30 | 1 | -1/+11 |
|\ \ | | | | | | | Rejections | ||||
| * \ | Merge branch 'develop' of github.com:matrix-org/synapse into rejections | Erik Johnston | 2015-01-30 | 8 | -11/+141 |
| |\ \ | | | | | | | | | | | | | | | | | Conflicts: synapse/storage/schema/im.sql | ||||
| * \ \ | Merge branch 'replication_split' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-01-30 | 1 | -5/+0 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rejections Conflicts: synapse/storage/schema/delta/v12.sql | ||||
| * \ \ \ | Merge branch 'develop' of github.com:matrix-org/synapse into rejections | Erik Johnston | 2015-01-30 | 8 | -6/+562 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/storage/__init__.py synapse/storage/schema/delta/v12.sql | ||||
| * | | | | | Initial implementation of auth conflict resolution | Erik Johnston | 2015-01-29 | 1 | -2/+2 |
| | | | | | | |||||
| * | | | | | Start implementing auth conflict res | Erik Johnston | 2015-01-28 | 2 | -0/+11 |
| | | | | | | |||||
* | | | | | | Merge pull request #41 from matrix-org/client_v2_sync | Mark Haines | 2015-01-30 | 1 | -11/+49 |
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | Client v2 sync | ||||
| * | | | | | Merge branch 'client_v2_filter' into client_v2_sync | Mark Haines | 2015-01-30 | 1 | -4/+0 |
| |\ \ \ \ \ | |||||
| * | | | | | | Fix token formatting | Mark Haines | 2015-01-30 | 1 | -2/+2 |
| | | | | | | | |||||
| * | | | | | | Filter the recent events before applying the limit when doing an incremental ↵ | Mark Haines | 2015-01-30 | 1 | -6/+15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | sync with a gap | ||||
| * | | | | | | Merge branch 'client_v2_filter' into client_v2_sync | Mark Haines | 2015-01-29 | 2 | -5/+6 |
| |\ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ | Merge branch 'client_v2_filter' into client_v2_sync | Mark Haines | 2015-01-29 | 6 | -12/+132 |
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/rest/client/v2_alpha/__init__.py | ||||
| * | | | | | | | | Use get_room_events_stream to get changes to the rooms if the number of ↵ | Mark Haines | 2015-01-29 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes is small | ||||
| * | | | | | | | | Merge branch 'develop' into client_v2_sync | Mark Haines | 2015-01-28 | 7 | -4/+563 |
| |\ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | | Fix Formatting | Mark Haines | 2015-01-27 | 1 | -1/+0 |
| | | | | | | | | | | |||||
| * | | | | | | | | | Start implementing incremental initial sync | Mark Haines | 2015-01-27 | 1 | -9/+32 |
| | |_|_|_|_|_|_|/ | |/| | | | | | | | |||||
* | | | | | | | | | Merge pull request #42 from matrix-org/replication_split | Mark Haines | 2015-01-30 | 1 | -0/+29 |
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|/ | |/| | | | | | | | Replication split | ||||
| * | | | | | | | | Merge branch 'rejections_storage' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-01-30 | 8 | -6/+556 |
| |\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | replication_split | ||||
| * | | | | | | | | Split up replication_layer module into client, server and transaction queue | Erik Johnston | 2015-01-26 | 1 | -1/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into rejections | Erik Johnston | 2015-01-23 | 1 | -2/+3 |
| |\ \ \ \ \ \ \ \ | | | |/ / / / / / | | |/| | | | | | | |||||
| * | | | | | | | | Add storage method have_events | Erik Johnston | 2015-01-23 | 1 | -0/+29 |
| | | | | | | | | | |||||
* | | | | | | | | | Remove merge conflict | Erik Johnston | 2015-01-30 | 1 | -3/+0 |
| | | | | | | | | | |||||
* | | | | | | | | | Remember to add schema file to list | Erik Johnston | 2015-01-30 | 1 | -0/+1 |
| | | | | | | | | | |||||
* | | | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into rejections_storage | Erik Johnston | 2015-01-30 | 4 | -1/+121 |
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/storage/__init__.py | ||||
| * \ \ \ \ \ \ \ \ | Merge pull request #37 from matrix-org/client_v2_filter | Erik Johnston | 2015-01-30 | 4 | -1/+114 |
| |\ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|/ / | | |/| | | | | | | | Client v2 filter | ||||
| | * | | | | | | | | Use 'in' to test if the key exists, remove unused _filters_for_user | Mark Haines | 2015-01-30 | 1 | -4/+0 |
| | | |_|_|_|_|/ / | | |/| | | | | | | |||||
| | * | | | | | | | Merge branch 'develop' into client_v2_filter | Mark Haines | 2015-01-29 | 2 | -5/+6 |
| | |\ \ \ \ \ \ \ | | | |_|_|_|_|/ / | | |/| | | | | / | | | | |_|_|_|/ | | | |/| | | | | |||||
| | * | | | | | | Merge changes from develop | Mark Haines | 2015-01-29 | 8 | -6/+568 |
| | |\ \ \ \ \ \ | |||||
| | * | | | | | | | Move bump schema delta | Mark Haines | 2015-01-29 | 1 | -0/+0 |
| | | | | | | | | | |||||
| | * | | | | | | | Also edit the filter column on the delta SQL | Kegan Dougal | 2015-01-29 | 1 | -1/+1 |
| | | | | | | | | | |||||
| | * | | | | | | | s/definition/filter_json/ since definition is now used to mean a component ↵ | Kegan Dougal | 2015-01-28 | 2 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of the filter, rather than the complete json | ||||
| | * | | | | | | | Add filter JSON sanity checks. | Kegan Dougal | 2015-01-28 | 1 | -2/+2 |
| | | | | | | | | | |||||
| | * | | | | | | | Created schema delta | Paul "LeoNerd" Evans | 2015-01-27 | 2 | -1/+25 |
| | | | | | | | | | |||||
| | * | | | | | | | Initial stab at real SQL storage implementation of user filter definitions | Paul "LeoNerd" Evans | 2015-01-27 | 3 | -14/+60 |
| | | | | | | | | | |||||
| | * | | | | | | | Move storage of user filters into real datastore layer; now have to mock it ↵ | Paul "LeoNerd" Evans | 2015-01-27 | 2 | -1/+48 |
| | | |_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | out in the REST-level tests | ||||
| * | | | | | | | Add room member count condition and default rule to make a noise on rooms of ↵ | David Baker | 2015-01-30 | 1 | -1/+4 |
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | only 2 people. | ||||
* | | | | | | | Be more specific in naming columns in selects. | Erik Johnston | 2015-01-30 | 1 | -1/+1 |
| | | | | | | | |||||
* | | | | | | | Put CREATE rejections into seperate .sql | Erik Johnston | 2015-01-30 | 2 | -7/+21 |
| |_|_|_|/ / |/| | | | | | |||||
* | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into rejections_storage | Erik Johnston | 2015-01-30 | 9 | -8/+559 |
|\| | | | | | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | Conflicts: synapse/storage/__init__.py synapse/storage/schema/delta/v12.sql | ||||
| * | | | | Code style fixes. | Mark Haines | 2015-01-29 | 2 | -5/+6 |
| | |/ / | |/| | | |||||
| * | | | SYN-252: Supply the stream and topological parts in the correct order to the ↵ | Mark Haines | 2015-01-29 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | constructor | ||||
| * | | | Allow the push rule delete method to take more specifiers. | David Baker | 2015-01-28 | 1 | -8/+11 |
| | |/ | |/| | |||||
| * | | Merge pull request #36 from matrix-org/device_id_from_access_token | Mark Haines | 2015-01-28 | 1 | -1/+2 |
| |\ \ | | | | | | | | | Extract the device id and token id from the access token when autheniticating users | ||||
| | * | | Extract the id token of the token when authing users, include the token and ↵ | Mark Haines | 2015-01-28 | 1 | -1/+2 |
| | |/ | | | | | | | | | | device_id in the internal meta data for the event along with the transaction id when sending events | ||||
| * | | Move pushers delta to v12 and bump schema version | David Baker | 2015-01-28 | 2 | -1/+1 |
| | | | |||||
| * | | Use %s instead of + | David Baker | 2015-01-28 | 1 | -2/+2 |
| | | | |||||
| * | | Newline | David Baker | 2015-01-28 | 1 | -0/+1 |
| | | | |||||
| * | | Redundant parens | David Baker | 2015-01-28 | 1 | -1/+1 |
| | | | |||||
| * | | unnecessary newlines | David Baker | 2015-01-28 | 1 | -2/+0 |
| | | | |||||
| * | | More magic commas (including the place I copied it from...) | David Baker | 2015-01-28 | 1 | -4/+4 |
| | | | |||||
| * | | Google doc style | David Baker | 2015-01-28 | 1 | -4/+5 |
| | | | |||||
| * | | Merge branch 'develop' into pushers | David Baker | 2015-01-28 | 1 | -2/+3 |
| |\| | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/events.py synapse/server.py | ||||
| | * | Replace hs.parse_userid with UserID.from_string | Mark Haines | 2015-01-23 | 1 | -2/+3 |
| | | | |||||
| * | | Add brackets to make get room name / alias work | David Baker | 2015-01-26 | 1 | -2/+2 |
| | | | |||||
| * | | Add API to delete push rules. | David Baker | 2015-01-23 | 1 | -0/+9 |
| | | | |||||
| * | | Fix adding rules without before/after & add the rule that we couldn't find ↵ | David Baker | 2015-01-23 | 1 | -3/+5 |
| | | | | | | | | | | | | to the error | ||||
| * | | As yet fairly untested GET API for push rules | David Baker | 2015-01-22 | 1 | -4/+4 |
| | | | |||||
| * | | oops, this is not its own schema file | David Baker | 2015-01-22 | 1 | -1/+0 |
| | | | |||||
| * | | Insufficient newlines | David Baker | 2015-01-22 | 1 | -0/+1 |
| | | | |||||
| * | | Merge branch 'develop' into pushers | David Baker | 2015-01-22 | 3 | -114/+100 |
| |\| | | | | | | | | | | | | | Conflicts: synapse/rest/__init__.py | ||||
| * | | Oops: second part of commit dc938606 | David Baker | 2015-01-22 | 3 | -0/+29 |
| | | | |||||
| * | | Add rest API & store for creating push rules | David Baker | 2015-01-22 | 1 | -0/+196 |
| | | | | | | | | | | | | | | | Also make unrecognised request error look more like synapse errors because it makes it easier to throw them from within rest classes. | ||||
| * | | add instance_handles to pushers so we have a way to refer to them even if ↵ | David Baker | 2015-01-20 | 3 | -21/+27 |
| | | | | | | | | | | | | the push token changes. | ||||
| * | | Require device language when adding a pusher. | David Baker | 2015-01-16 | 3 | -1/+4 |
| | | | | | | | | | | | | | | | Because this seems like it might be useful to do sooner rather than later. | ||||
| * | | Send room name and first alias in notification poke. | David Baker | 2015-01-15 | 1 | -0/+35 |
| | | | |||||
| * | | Honour the 'rejected' return from push gateways | David Baker | 2015-01-13 | 3 | -11/+25 |
| | | | | | | | | | | | | | | | | | | | | | Add a timestamp to push tokens so we know the last time they we got them from the device. Send it to the push gateways so it can determine whether its failure is more recent than the token. Stop and remove pushers that have been rejected. | ||||
| * | | Merge branch 'develop' into pushers | David Baker | 2015-01-13 | 36 | -183/+294 |
| |\ \ | |||||
| * \ \ | Merge branch 'develop' into pushers | David Baker | 2014-12-18 | 12 | -243/+561 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/api/errors.py synapse/server.py synapse/storage/__init__.py | ||||
| * | | | | schema version is now 10 | David Baker | 2014-12-18 | 2 | -1/+1 |
| | | | | | |||||
| * | | | | Merge branch 'master' into pushers | David Baker | 2014-12-18 | 1 | -1/+3 |
| |\ \ \ \ | |||||
| * | | | | | Thank you, pyflakes | David Baker | 2014-12-18 | 1 | -1/+0 |
| | | | | | | |||||
| * | | | | | ...and bump SCHEMA_VERSION | David Baker | 2014-12-18 | 1 | -1/+1 |
| | | | | | | |||||
| * | | | | | Rename the pusher SQL delta to v9 which the next free one | David Baker | 2014-12-18 | 1 | -0/+0 |
| | | | | | | |||||
| * | | | | | after a few rethinks, a working implementation of pushers. | David Baker | 2014-12-18 | 4 | -30/+104 |
| | | | | | | |||||
| * | | | | | Update to app_id / app_instance_id (partially) and mangle to be PEP8 compliant. | David Baker | 2014-12-03 | 3 | -26/+38 |
| | | | | | | |||||
| * | | | | | Merge branch 'develop' into pushers | David Baker | 2014-12-02 | 6 | -24/+90 |
| |\ \ \ \ \ | |||||
| * | | | | | | More work on pushers. Attempt to do HTTP pokes. Not sure if the actual HTTP ↵ | David Baker | 2014-11-21 | 3 | -4/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | pokes work or not yet but the retry semantics are pretty good. | ||||
| * | | | | | | Merge branch 'develop' into pushers | David Baker | 2014-11-20 | 7 | -23/+28 |
| |\ \ \ \ \ \ | |||||
| * | | | | | | | Start creating a module to do generic notifications (just prints them to ↵ | David Baker | 2014-11-19 | 4 | -2/+158 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stdout currently!) | ||||
* | | | | | | | | Add support for storing rejected events in EventContext and data stores | Erik Johnston | 2015-01-22 | 5 | -11/+82 |
| |_|_|_|_|_|/ |/| | | | | | | |||||
* | | | | | | | Remove unused functions | Mark Haines | 2015-01-13 | 2 | -13/+0 |
| | | | | | | | |||||
* | | | | | | | get_room_events isn't called anywhere | Mark Haines | 2015-01-13 | 1 | -30/+0 |
| | | | | | | | |||||
* | | | | | | | Fix stream token ordering | Mark Haines | 2015-01-13 | 1 | -72/+101 |
| |_|_|_|_|/ |/| | | | | | |||||
* | | | | | | SYN-178: Fix off by one. | Kegan Dougal | 2015-01-12 | 1 | -2/+6 |
| | | | | | | |||||
* | | | | | | Use time.time() instead of time.clock() | Erik Johnston | 2015-01-06 | 1 | -4/+4 |
| | | | | | | |||||
* | | | | | | Only fetch the columns we need. | Erik Johnston | 2015-01-06 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | Add delta and bump DB version | Erik Johnston | 2015-01-06 | 2 | -1/+17 |
| | | | | | | |||||
* | | | | | | Add index on transaction_id to sent_transcations | Erik Johnston | 2015-01-06 | 2 | -4/+1 |
| | | | | | | |||||
* | | | | | | Actually time that function | Erik Johnston | 2015-01-06 | 1 | -0/+1 |
| | | | | | | |||||
* | | | | | | Time how long calls to _get_destination_retry_timings take | Erik Johnston | 2015-01-06 | 1 | -0/+3 |
| | | | | | | |||||
* | | | | | | Don't include None's in _get_events_txn | Erik Johnston | 2015-01-06 | 1 | -1/+3 |
| | | | | | | |||||
* | | | | | | Merge branch 'erikj-perf' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-01-06 | 1 | -21/+49 |
|\ \ \ \ \ \ | |||||
| * | | | | | | Name 'user_rooms_intersect' transaction | Erik Johnston | 2015-01-06 | 1 | -16/+18 |
| | | | | | | | |||||
| * | | | | | | We don't need the full events for get_rooms_for_user_where_membership_is | Erik Johnston | 2015-01-06 | 1 | -5/+31 |
| | | | | | | | |||||
* | | | | | | | Merge pull request #28 from matrix-org/erikj-perf | Mark Haines | 2015-01-06 | 4 | -103/+113 |
|\| | | | | | | | | | | | | | | | | | | | | Database performance improvements. | ||||
| * | | | | | | PEP8 | Erik Johnston | 2015-01-06 | 2 | -3/+4 |
| | | | | | | | |||||
| * | | | | | | Remove debug lines | Erik Johnston | 2015-01-06 | 1 | -7/+0 |
| | | | | | | | |||||
| * | | | | | | Don't do batching when getting events. | Erik Johnston | 2015-01-06 | 1 | -35/+4 |
| | | | | | | | |||||
| * | | | | | | Only fetch prev_content when a client is streaming/paginating. Use ↵ | Erik Johnston | 2015-01-06 | 2 | -86/+92 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | transactions for event streams. | ||||
| * | | | | | | Temporarily turn off 'redacted_because' and 'prev_content' keys | Erik Johnston | 2015-01-06 | 1 | -0/+2 |
| | | | | | | | |||||
| * | | | | | | More debug logging | Erik Johnston | 2015-01-06 | 1 | -0/+4 |
| | | | | | | | |||||
| * | | | | | | Add some debug logging | Erik Johnston | 2015-01-06 | 1 | -0/+12 |
| | | | | | | | |||||
| * | | | | | | Reformat | Erik Johnston | 2015-01-06 | 1 | -13/+14 |
| | | | | | | | |||||
| * | | | | | | Add RoomMemberStore.get_users_in_room, so that we can get the list of joined ↵ | Erik Johnston | 2015-01-06 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | users without having to retrieve the full events | ||||
| * | | | | | | Merge branch 'hotfixes-v0.6.0' of github.com:matrix-org/synapse into erikj-perf | Erik Johnston | 2014-12-19 | 1 | -4/+4 |
| |\ \ \ \ \ \ | |||||
| * | | | | | | | Test some ideas that might help performance a bit | Erik Johnston | 2014-12-17 | 3 | -21/+30 |
| | | | | | | | | |||||
* | | | | | | | | Update copyright notices | Mark Haines | 2015-01-06 | 35 | -31/+87 |
| |/ / / / / / |/| | | | | | | |||||
* | | | | | | | Look for name, topic in the event content rather than the event itself when ↵ | Mark Haines | 2014-12-19 | 1 | -4/+4 |
|/ / / / / / | | | | | | | | | | | | | | | | | | | persisting room name and topic events | ||||
* | | | | | | Use _get_events_txn instead of _parse_events_txn | Erik Johnston | 2014-12-16 | 1 | -7/+1 |
| | | | | | | |||||
* | | | | | | Merge branch 'hotfixes-v0.5.4a' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-12-16 | 1 | -8/+8 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | release-v0.6.0 | ||||
| * | | | | | | Fix bug where we did not send the full auth chain to people that joined over ↵ | Erik Johnston | 2014-12-16 | 1 | -8/+8 |
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | federation | ||||
* | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.6.0 | Erik Johnston | 2014-12-16 | 1 | -80/+0 |
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | Conflicts: synapse/state.py | ||||
| * | | | | | Merge branch 'release-v0.6.0' into develop | Mark Haines | 2014-12-16 | 2 | -2/+70 |
| |\ \ \ \ \ | |||||
| * | | | | | | Remove send_message since nothing was calling it. Remove Snapshot because ↵ | Mark Haines | 2014-12-16 | 1 | -80/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | only send_message was using it | ||||
* | | | | | | | Use is_outlier() so that we don't get AttributeError | Erik Johnston | 2014-12-16 | 1 | -3/+1 |
| | | | | | | | |||||
* | | | | | | | Don't assume an event exists | Erik Johnston | 2014-12-16 | 1 | -2/+4 |
| |/ / / / / |/| | | | | | |||||
* | | | | | | Fix upgrade script to run all the missing deltas. | Erik Johnston | 2014-12-16 | 1 | -1/+57 |
| | | | | | | |||||
* | | | | | | Do run all deltas up to missing delta 10 | Erik Johnston | 2014-12-16 | 1 | -4/+4 |
| | | | | | | |||||
* | | | | | | Make failure to run appropraite upgrade scripts more helpful. | Erik Johnston | 2014-12-16 | 1 | -0/+12 |
| | | | | | | |||||
* | | | | | | Bump database version | Erik Johnston | 2014-12-16 | 1 | -1/+1 |
|/ / / / / | |||||
* | | | | | Update upgrade script | Erik Johnston | 2014-12-16 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Persist internal_metadata | Erik Johnston | 2014-12-16 | 3 | -3/+10 |
| | | | | | |||||
* | | | | | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 1 | -10/+6 |
| | | | | | |||||
* | | | | | Use frozenutils | Erik Johnston | 2014-12-15 | 1 | -2/+1 |
| | | | | | |||||
* | | | | | Fix bug where we ignored event_edge_hashes table | Erik Johnston | 2014-12-15 | 3 | -7/+6 |
| | | | | | |||||
* | | | | | Store json as UTF-8 and not bytes | Erik Johnston | 2014-12-12 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Pyflakes | Erik Johnston | 2014-12-12 | 1 | -1/+0 |
| | | | | | |||||
* | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-11 | 3 | -1/+202 |
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: setup.py | ||||
| * \ \ \ \ | Merge branch 'develop' into media_repository | Mark Haines | 2014-12-10 | 5 | -3/+136 |
| |\ \ \ \ \ | |||||
| * \ \ \ \ \ | Merge branch 'develop' into media_repository | Mark Haines | 2014-12-10 | 6 | -20/+83 |
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | |||||
| * | | | | | | Get the code actually working | Mark Haines | 2014-12-10 | 1 | -6/+8 |
| | | | | | | | |||||
| * | | | | | | Thumbnail uploaded and cached images | Mark Haines | 2014-12-10 | 1 | -6/+6 |
| | | | | | | | |||||
| * | | | | | | Add a method field to thumbnail storage | Mark Haines | 2014-12-05 | 2 | -7/+12 |
| | | | | | | | |||||
| * | | | | | | Implement download support for media_repository | Mark Haines | 2014-12-04 | 1 | -3/+7 |
| | | | | | | | |||||
| * | | | | | | Fix pyflakes and pep8 warnings | Mark Haines | 2014-12-02 | 1 | -2/+1 |
| | | | | | | | |||||
| * | | | | | | Get uploads working with new media repo | Mark Haines | 2014-12-02 | 2 | -2/+11 |
| | | | | | | | |||||
| * | | | | | | Write the upload portion of version 1 of the media repository | Mark Haines | 2014-12-02 | 2 | -0/+182 |
| | | | | | | | |||||
* | | | | | | | Fix public room joining by making sure replaces_state never points to itself. | Erik Johnston | 2014-12-11 | 1 | -2/+4 |
| | | | | | | | |||||
* | | | | | | | Fix prev_content | Erik Johnston | 2014-12-11 | 1 | -0/+6 |
| | | | | | | | |||||
* | | | | | | | Fix redactions. Fix 'age' key | Erik Johnston | 2014-12-11 | 1 | -24/+36 |
| | | | | | | | |||||
* | | | | | | | Remove dead code | Erik Johnston | 2014-12-10 | 1 | -25/+0 |
| | | | | | | | |||||
* | | | | | | | Fix bug where we clobbered old state group values | Erik Johnston | 2014-12-10 | 2 | -2/+4 |
| | | | | | | | |||||
* | | | | | | | Fix bug when uploading state with empty state_key | Erik Johnston | 2014-12-10 | 2 | -1/+5 |
| | | | | | | |