synapse-old/tests
Daniel Wagner-Hall 6a4b650d8a Attempt to validate macaroons
A couple of weird caveats:
 * If we can't validate your macaroon, we fall back to checking that
   your access token is in the DB, and ignoring the failure
 * Even if we can validate your macaroon, we still have to hit the DB to
   get the access token ID, which we pretend is a device ID all over the
   codebase.

This mostly adds the interesting code, and points out the two pieces we
need to delete (and necessary conditions) in order to fix the above
caveats.
2015-08-26 13:22:23 +01:00
..
api Attempt to validate macaroons 2015-08-26 13:22:23 +01:00
appservice Make the appservice use 'users_in_room' rather than get_room_members since it is cached 2015-05-22 11:01:28 +01:00
federation Make work in both Maria and SQLite. Fix tests 2015-04-01 14:12:33 +01:00
handlers Move token generation to auth handler 2015-08-20 11:35:56 +01:00
metrics Add an .inc_by() method to CounterMetric; implement DistributionMetric a neater way 2015-03-12 16:24:51 +00:00
rest Attempt to validate macaroons 2015-08-26 13:22:23 +01:00
storage Stop looking up "admin", which we never read 2015-08-25 16:29:39 +01:00
util Move all the caches into their own package, synapse.util.caches 2015-08-11 18:00:59 +01:00
__init__.py fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 2014-09-03 17:31:57 +01:00
test_distributor.py Remove call to recently removed function in mock 2015-08-11 16:56:30 +01:00
test_state.py Use dictionary cache to do group -> state fetching 2015-08-05 15:11:42 +01:00
test_test_utils.py Implement .cancel_call_later() in MockClock 2014-12-10 19:26:52 +00:00
test_types.py Replace hs.parse_roomalias with RoomAlias.from_string 2015-01-23 13:21:58 +00:00
unittest.py Don't make @unittest.DEBUG print the huge amount of verbosity generated by the synapse.storage loggers 2015-01-12 18:16:27 +00:00
utils.py Stop looking up "admin", which we never read 2015-08-25 16:29:39 +01:00