1
0

Commit Graph

  • 76c5a5c2f6 Merge pull request #55 from matrix-org/profiling Erik Johnston 2015-02-09 15:01:26 +00:00
  • c4ee4ce93e Fix typo Erik Johnston 2015-02-09 15:00:37 +00:00
  • ef995e6946 Add looping_call to Clock Erik Johnston 2015-02-09 14:47:59 +00:00
  • 66fde49f07 Log database time every 10s and log as percentage Erik Johnston 2015-02-09 14:45:15 +00:00
  • 164f6b9256 Fix tests Erik Johnston 2015-02-09 14:23:57 +00:00
  • 75656712e3 Time how long we're spending on the database thread Erik Johnston 2015-02-09 14:22:52 +00:00
  • 784d714a3f Fix server default rule injection (downwards, not upwards!) David Baker 2015-02-09 14:17:52 +00:00
  • ab3c897ce1 Remove unused imports. Kegan Dougal 2015-02-09 14:16:36 +00:00
  • 5a7dd05818 Modify auth.get_user_by_req for authing appservices directly. Kegan Dougal 2015-02-09 14:14:15 +00:00
  • 24cc6979fb Log when we receive a request, when we send a response and how long it took to process it. Erik Johnston 2015-02-09 13:46:22 +00:00
  • ac3183caaa Register a user account for the AS when the AS registers. Add 'sender' column to AS table. Kegan Dougal 2015-02-09 12:03:37 +00:00
  • ecb0f78063 glob *s should probably be non-greedy Matthew Hodgson 2015-02-08 02:37:35 +00:00
  • c2afc2ad90 oops Matthew Hodgson 2015-02-08 00:37:03 +00:00
  • 8be07e0db4 kill off fnmatch in favour of word-boundary based push alerts (untested) Matthew Hodgson 2015-02-08 00:34:11 +00:00
  • b2b29efb75 Merge pull request #53 from matrix-org/default_avatar_identicons Matthew Hodgson 2015-02-07 23:18:24 +00:00
  • 37b6b880ef don't give up if we can't create default avatars during tests Matthew Hodgson 2015-02-07 21:24:08 +00:00
  • adc4310a73 add some options and doc Matthew Hodgson 2015-02-07 21:13:57 +00:00
  • 0c0ae2e886 clean up TurnedToDust's ArchLinux notes a bit Matthew Hodgson 2015-02-07 20:24:46 +00:00
  • 52eb5d6a09 Merge pull request #52 from TurnedToDust/patch-2 Matthew Hodgson 2015-02-07 20:08:34 +00:00
  • 582019f870 ...and here's the actual impl. git fail. Matthew Hodgson 2015-02-07 13:32:14 +00:00
  • f02bf64d0e create identicons for new users by default as default avatars, and provide script to update existing avatarless users Matthew Hodgson 2015-02-07 12:59:09 +00:00
  • e117bc3fc5 thou shalt specify a content-length Matthew Hodgson 2015-02-07 12:56:21 +00:00
  • 34c39398fa i hate weakly typed languages Matthew Hodgson 2015-02-07 12:55:13 +00:00
  • 03c25ebeae Update to README.rst TurnedToDust 2015-02-06 22:28:21 -07:00
  • 73a680b2a8 Add errcodes for appservice registrations. Kegan Dougal 2015-02-06 17:10:04 +00:00
  • af613824e4 Merge branch 'develop' of github.com:matrix-org/synapse into state-chache Erik Johnston 2015-02-06 16:59:00 +00:00
  • 5bf318e9a6 Bug fixes. Erik Johnston 2015-02-06 16:52:22 +00:00
  • b4886264a3 Bugfix cache layer Erik Johnston 2015-02-06 16:17:05 +00:00
  • c4e3029d55 Add cache layer to state group resolution Erik Johnston 2015-02-06 16:08:13 +00:00
  • 20db147ef3 SYN-258: get_recent_events_for_room only accepts stream tokens, convert the topological token to a stream token before passing it to get_recent_events_for_room Mark Haines 2015-02-06 15:58:40 +00:00
  • 55a186485c SYN-258: get_recent_events_for_room only accepts stream tokens, convert the topological token to a stream token before passing it to get_recent_events_for_room Mark Haines 2015-02-06 15:58:40 +00:00
  • cc0532a4bf Explicitly list the RejectedReasons that we can prove Erik Johnston 2015-02-06 15:16:26 +00:00
  • 0cd66885e3 Move delta/v13.sql to delta/v12.sql Erik Johnston 2015-02-06 14:38:04 +00:00
  • e890ce223c Don't query auth if the only difference is events that were rejected due to auth. Erik Johnston 2015-02-06 14:16:50 +00:00
  • c78b5fb1f1 Make seen_ids a set Erik Johnston 2015-02-06 13:52:16 +00:00
  • 0995810273 Pyflakes: unused variable. Kegan Dougal 2015-02-06 11:45:19 +00:00
  • c3ae8def75 Grant ASes the ability to delete aliases in their own namespace. Kegan Dougal 2015-02-06 11:32:07 +00:00
  • e426df8e10 Grant ASes the ability to create alias in their own namespace. Kegan Dougal 2015-02-06 10:57:14 +00:00
  • 9f2573eea1 Return body of response in HttpResponseException Erik Johnston 2015-02-06 10:55:01 +00:00
  • 3737329d9b Handle the fact the list.remove raises if element doesn't exist Erik Johnston 2015-02-06 10:53:18 +00:00
  • 0227618d3c Add m.login.application_service registration procedure. Kegan Dougal 2015-02-05 17:29:27 +00:00
  • 11e6b3d18b Dependency inject ApplicationServiceApi when creating ApplicationServicesHandler. Kegan Dougal 2015-02-05 17:04:59 +00:00
  • a3c6010718 Add delta sql file. Kegan Dougal 2015-02-05 16:48:57 +00:00
  • cab4c73088 Prevent user IDs in AS namespaces being created/deleted by humans. Kegan Dougal 2015-02-05 16:46:56 +00:00
  • e9484d6a95 Prevent aliases in AS namespaces being created/deleted by users. Check with ASes when queried for room aliases via federation. Kegan Dougal 2015-02-05 16:29:56 +00:00
  • c20281ee33 Merge branch 'develop' into application-services Kegan Dougal 2015-02-05 16:11:34 +00:00
  • a93fa42bce priority class now dealt with in namespaced rule_id David Baker 2015-02-05 15:45:16 +00:00
  • fc8bcc809d Merge branch 'develop' into application-services Kegan Dougal 2015-02-05 15:32:45 +00:00
  • 5b99b471b2 Fix unit tests. Kegan Dougal 2015-02-05 15:12:36 +00:00
  • aaf50bf6f3 Give server default rules the 'default' attribute and fix various brokenness. David Baker 2015-02-05 15:11:38 +00:00
  • c163357f38 Add CS extension for masquerading as users within the namespaces specified by the AS. Kegan Dougal 2015-02-05 15:00:33 +00:00
  • 2df41aa138 Server default rules now of all kinds rather than all being at lowest prio. David Baker 2015-02-05 14:46:06 +00:00
  • f90782a658 namespace rule IDs to be unique within their scope and rule type. David Baker 2015-02-05 09:35:21 +00:00
  • 951690e54d Merge branch 'develop' into application-services Kegan Dougal 2015-02-05 14:28:03 +00:00
  • c71456117d Fix user query checks. HS>AS pushing now works. Kegan Dougal 2015-02-05 14:17:08 +00:00
  • 4996398858 Merge branch 'federation_client_retries' of github.com:matrix-org/synapse into develop Erik Johnston 2015-02-05 14:06:13 +00:00
  • f08bd95880 Merge pull request #47 from matrix-org/signature_failures Erik Johnston 2015-02-05 14:03:00 +00:00
  • 8f5b858a1b Merge branch 'develop' of github.com:matrix-org/synapse into federation_client_retries Erik Johnston 2015-02-05 13:50:28 +00:00
  • e9c85a4d5a Connection errors in twisted aren't RuntimeErrors Erik Johnston 2015-02-05 13:50:15 +00:00
  • e1515c3e91 Pass through list of room hosts from room alias query to federation so that it can retry against different room hosts Erik Johnston 2015-02-05 13:43:28 +00:00
  • 0613666d9c Serialize events before sending to ASes Kegan Dougal 2015-02-05 13:42:35 +00:00
  • 131e036402 Fix unit tests. Kegan Dougal 2015-02-05 13:22:20 +00:00
  • 51d63ac329 Glue AS work to general event notifications. Add more exception handling when poking ASes. Kegan Dougal 2015-02-05 13:19:46 +00:00
  • 26a041541b SYN-202: Log as WARN the 404 'Presence information not visible' errors instead of as ERROR since they were spamming the logs Erik Johnston 2015-02-05 13:17:05 +00:00
  • bc658907f0 Add unit test for appservice_handler.query_room_alias_exists Kegan Dougal 2015-02-05 11:54:36 +00:00
  • b932600653 Add unknown room alias check. Call it from directory_handler.get_association Kegan Dougal 2015-02-05 11:47:11 +00:00
  • f0c730252f Add unknown user ID check. Use store.get_aliases_for_room(room_id) when searching for services by alias. Kegan Dougal 2015-02-05 11:25:32 +00:00
  • 6a7e168009 Print out the auth events on failure Erik Johnston 2015-02-05 11:25:20 +00:00
  • 27091f146a Add hs_token column and generate a different token f.e application service. Kegan Dougal 2015-02-05 10:08:12 +00:00
  • a1a4960baf Impl push_bulk function Kegan Dougal 2015-02-05 09:43:22 +00:00
  • 559a26b025 Pin the twisted version so that it doesn't pull in twisted 15. v0.6.1e Erik Johnston 2015-02-04 23:54:53 +00:00
  • d60658c2db Merge pull request #48 from matrix-org/hotfixes-v0.6.1e Matthew Hodgson 2015-02-04 23:53:45 +00:00
  • 77e5ae22a9 Ver bump Erik Johnston 2015-02-04 23:51:34 +00:00
  • 19ebdc321d Pull in python_dependencies.py from develop Erik Johnston 2015-02-04 23:51:02 +00:00
  • 92c43e4a0e Revert "Pull in python_dependencies.py from develop" Erik Johnston 2015-02-04 23:50:25 +00:00
  • 47b1e1491f Pull in python_dependencies.py from develop Erik Johnston 2015-02-04 23:49:40 +00:00
  • 3b5e8125eb Bluntly port changes of README from develop to master Erik Johnston 2015-02-04 23:48:32 +00:00
  • f292ad4b2b Add script to check and auth chain and current state of a room Erik Johnston 2015-02-04 18:09:18 +00:00
  • 543e84fe70 Add SimpleHttpClient.put_json with the same semantics as get_json. Kegan Dougal 2015-02-04 17:39:51 +00:00
  • 6de799422d Mention new pydenticon dep. Erik Johnston 2015-02-04 17:39:38 +00:00
  • 8046df6efa Merge branch 'develop' of github.com:matrix-org/synapse into federation_client_retries Erik Johnston 2015-02-04 17:37:34 +00:00
  • 6d3e4f4d0a Update user/alias query APIs to use new format of SimpleHttpClient.get_json Kegan Dougal 2015-02-04 17:32:44 +00:00
  • 96d4bf9012 Modify API for SimpleHttpClient.get_json and update usages. Kegan Dougal 2015-02-04 17:07:31 +00:00
  • aa8cce58bf Add query_user/alias APIs. Kegan Dougal 2015-02-04 16:44:53 +00:00
  • d45e2302ed Merge branch 'signature_failures' of github.com:matrix-org/synapse into federation_client_retries Erik Johnston 2015-02-04 16:30:15 +00:00
  • ae46f10fc5 Apply sanity to the transport client interface. Convert 'make_join' and 'send_join' to accept iterables of destinations Erik Johnston 2015-02-04 16:28:12 +00:00
  • 2e77ba637a More s/instance_handle/profile_tag/ David Baker 2015-02-04 16:24:15 +00:00
  • ce8bc642ae Merge branch 'develop' into application-services Kegan Dougal 2015-02-04 15:31:02 +00:00
  • 89f2e8fbdf Fix bug in store defer. Add more unit tests. Kegan Dougal 2015-02-04 15:21:03 +00:00
  • 95e2d2d36d When returning lists of servers from alias lookups, put the current server first in the list Erik Johnston 2015-02-04 15:02:23 +00:00
  • 650e32d455 Change context.auth_events to what the auth_events would be bases on context.current_state, rather than based on the auth_events from the event. Erik Johnston 2015-02-04 14:06:42 +00:00
  • ff78eded01 Retry make_join Erik Johnston 2015-02-04 13:55:10 +00:00
  • 525a218b2b Begin to add unit tests for appservice glue and regex testing. Kegan Dougal 2015-02-04 12:24:20 +00:00
  • 17753f0c20 Add stub ApplicationServiceApi and glue it with the handler. Kegan Dougal 2015-02-04 11:19:18 +00:00
  • 03d415a6a2 Brief comment on why we do some things on every call to persist_event and not others Erik Johnston 2015-02-04 10:40:59 +00:00
  • f275ba49bb Fix state resolution to remember join_rules is a type of auth event. Erik Johnston 2015-02-04 10:36:28 +00:00
  • c0462dbf15 Rearrange persist_event so that do all the queries that need to be done before returning early if we have already persisted that event. Erik Johnston 2015-02-04 10:16:51 +00:00
  • 02be8da5e1 Add doc to get_event Erik Johnston 2015-02-03 17:34:07 +00:00
  • dc7bb70f22 s/instance_handle/profile_tag/ David Baker 2015-02-03 16:51:07 +00:00
  • 3c39f42a05 New line Erik Johnston 2015-02-03 16:14:19 +00:00